From 671753bb947d47687d230f02f0909cc00f19346e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 29 Mar 2016 15:03:09 -0400 Subject: [PATCH 01/76] add letsencrypt --- bin/walnut.js | 66 +++++++++++++++++++++++++++++++++++++++++- boot/master.js | 1 + boot/worker.js | 47 +++++++++++++++++++++++++++--- lib/insecure-server.js | 12 ++++++-- lib/local-server.js | 15 +++++++--- lib/sni-server.js | 17 +++++++++-- package.json | 1 + 7 files changed, 144 insertions(+), 15 deletions(-) mode change 120000 => 100755 bin/walnut.js diff --git a/bin/walnut.js b/bin/walnut.js deleted file mode 120000 index f26d3ff..0000000 --- a/bin/walnut.js +++ /dev/null @@ -1 +0,0 @@ -walnut \ No newline at end of file diff --git a/bin/walnut.js b/bin/walnut.js new file mode 100755 index 0000000..03ea920 --- /dev/null +++ b/bin/walnut.js @@ -0,0 +1,65 @@ +#!/usr/bin/env node +'use strict'; + +require('../walnut.js'); +/* +var c = require('console-plus'); +console.log = c.log; +console.error = c.error; +*/ + +function eagerLoad() { + var PromiseA = require('bluebird').Promise; + var promise = PromiseA.resolve(); + + [ 'express' + , 'request' + , 'sqlite3' + , 'body-parser' + , 'urlrouter' + , 'express-lazy' + , 'connect-send-error' + , 'underscore.string' + , 'secret-utils' + , 'connect-cors' + , 'uuid' + , 'connect-recase' + , 'escape-string-regexp' + , 'connect-query' + , 'recase' + ].forEach(function (name/*, i*/) { + promise = promise.then(function () { + return new PromiseA(function (resolve/*, reject*/) { + setTimeout(function () { + require(name); + resolve(); + }, 4); + }); + }); + }); + + [ function () { + require('body-parser').json(); + } + /* + // do not use urlencoded as it enables csrf + , function () { + require('body-parser').urlencoded(); + } + */ + ].forEach(function (fn) { + promise = promise.then(function (thing) { + return new PromiseA(function (resolve) { + setTimeout(function () { + resolve(fn(thing)); + }, 4); + }); + }); + }); + + promise.then(function () { + console.log('Eager Loading Complete'); + }); +} + +setTimeout(eagerLoad, 100); diff --git a/boot/master.js b/boot/master.js index 7aec33a..563b7b1 100644 --- a/boot/master.js +++ b/boot/master.js @@ -63,6 +63,7 @@ cluster.on('online', function (worker) { , 'org.oauth3.consumer': config['org.oauth3.consumer'] , 'org.oauth3.provider': config['org.oauth3.provider'] , keys: config.keys + , letsencrypt: config.letsencrypt } }; worker.send(info); diff --git a/boot/worker.js b/boot/worker.js index 1e039fd..c03e202 100644 --- a/boot/worker.js +++ b/boot/worker.js @@ -4,9 +4,9 @@ module.exports.create = function (opts) { var id = '0'; var promiseApp; - function createAndBindInsecure(message, cb) { + function createAndBindInsecure(lex, message, cb) { // TODO conditional if 80 is being served by caddy - require('../lib/insecure-server').create(message.conf.externalPort, message.conf.insecurePort, message, function (err, webserver) { + require('../lib/insecure-server').create(lex, message.conf.externalPort, message.conf.insecurePort, message, function (err, webserver) { console.info("#" + id + " Listening on http://" + webserver.address().address + ":" + webserver.address().port, '\n'); // we are returning the promise result to the caller @@ -14,9 +14,48 @@ module.exports.create = function (opts) { }); } + function createLe(conf) { + var LEX = require('letsencrypt-express'); + var lex = LEX.create({ + configDir: conf.letsencrypt.configDir // i.e. __dirname + '/letsencrypt.config' + , approveRegistration: function (hostname, cb) { + cb(null, { + domains: [hostname] // TODO handle www and bare on the same cert + , email: conf.letsencrypt.email + , agreeTos: conf.letsencrypt.agreeTos + }); + /* + letsencrypt.getConfig({ domains: [domain] }, function (err, config) { + if (!(config && config.checkpoints >= 0)) { + cb(err, null); + return; + } + + cb(null, { + email: config.email + // can't remember which it is, but the pyconf is different that the regular variable + , agreeTos: config.tos || config.agree || config.agreeTos + , server: config.server || LE.productionServerUrl + , domains: config.domains || [domain] + }); + }); + */ + } + }); + //var letsencrypt = lex.letsencrypt; + + return lex; + } + function createAndBindServers(message, cb) { + var lex; + + if (message.conf.letsencrypt) { + lex = createLe(message.conf); + } + // NOTE that message.conf[x] will be overwritten when the next message comes in - require('../lib/local-server').create(message.conf.certPaths, message.conf.localPort, message, function (err, webserver) { + require('../lib/local-server').create(lex, message.conf.certPaths, message.conf.localPort, message, function (err, webserver) { if (err) { console.error('[ERROR] worker.js'); console.error(err.stack); @@ -27,7 +66,7 @@ module.exports.create = function (opts) { // we don't need time to pass, just to be able to return process.nextTick(function () { - createAndBindInsecure(message, cb); + createAndBindInsecure(lex, message, cb); }); // we are returning the promise result to the caller diff --git a/lib/insecure-server.js b/lib/insecure-server.js index 359fed9..1166aab 100644 --- a/lib/insecure-server.js +++ b/lib/insecure-server.js @@ -1,6 +1,6 @@ 'use strict'; -module.exports.create = function (securePort, insecurePort, info, serverCallback) { +module.exports.create = function (lex, securePort, insecurePort, info, serverCallback) { var PromiseA = require('bluebird').Promise; var appPromise; //var app; @@ -42,7 +42,7 @@ module.exports.create = function (securePort, insecurePort, info, serverCallback // http://evothings.com/is-it-possible-to-secure-micro-controllers-used-within-iot/ // needs ECDSA? - console.warn('HARD-CODED HTTPS EXCEPTION in insecure-server.js'); + console.warn('HARD-CODED HTTPS EXCEPTION in insecure-server.js for redirect-www.org'); if (/redirect-www.org$/.test(host) && useAppInsecurely(req, res)) { return true; } @@ -103,7 +103,13 @@ module.exports.create = function (securePort, insecurePort, info, serverCallback appPromise = serverCallback(null, insecureServer); } }); - insecureServer.on('request', redirectHttps); + + if (lex) { + var LEX = require('letsencrypt-express'); + insecureServer.on('request', LEX.createAcmeResponder(lex, redirectHttps)); + } else { + insecureServer.on('request', redirectHttps); + } return PromiseA.resolve(insecureServer); }; diff --git a/lib/local-server.js b/lib/local-server.js index 37d776d..e088213 100644 --- a/lib/local-server.js +++ b/lib/local-server.js @@ -2,7 +2,7 @@ // Note the odd use of callbacks (instead of promises) here // It's to avoid loading bluebird yet (see sni-server.js for explanation) -module.exports.create = function (certPaths, port, info, serverCallback) { +module.exports.create = function (lex, certPaths, port, info, serverCallback) { function initServer(err, server) { var app; var promiseApp; @@ -29,7 +29,7 @@ module.exports.create = function (certPaths, port, info, serverCallback) { */ // Get up and listening as absolutely quickly as possible - server.on('request', function (req, res) { + function onRequest(req, res) { // this is a hot piece of code, so we cache the result if (app) { app(req, res); @@ -41,11 +41,18 @@ module.exports.create = function (certPaths, port, info, serverCallback) { app = _app; app(req, res); }); - }); + } + + if (lex) { + var LEX = require('letsencrypt-express'); + server.on('request', LEX.createAcmeResponder(lex, onRequest)); + } else { + server.on('request', onRequest); + } } if (certPaths) { - require('./sni-server').create(certPaths, initServer); + require('./sni-server').create(lex, certPaths, initServer); } else { initServer(null, require('http').createServer()); } diff --git a/lib/sni-server.js b/lib/sni-server.js index 8e30e5e..e1c48e4 100644 --- a/lib/sni-server.js +++ b/lib/sni-server.js @@ -5,9 +5,10 @@ // require everything as lazily as possible until our server // is actually listening on the socket. Bluebird is heavy. // Even the built-in modules can take dozens of milliseconds to require -module.exports.create = function (certPaths, serverCallback) { +module.exports.create = function (lex, certPaths, serverCallback) { // Recognize that this secureContexts cache is local to this CPU core var secureContexts = {}; + var ciphers = 'ECDH+AESGCM:DH+AESGCM:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS:!AES256'; function createSecureServer() { var domainname = 'www.example.com'; @@ -21,7 +22,7 @@ module.exports.create = function (certPaths, serverCallback) { // https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/ // https://nodejs.org/api/tls.html // removed :ECDH+AES256:DH+AES256 and added :!AES256 because AES-256 wastes CPU - , ciphers: 'ECDH+AESGCM:DH+AESGCM:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS:!AES256' + , ciphers: ciphers , honorCipherOrder: true }; @@ -43,5 +44,15 @@ module.exports.create = function (certPaths, serverCallback) { serverCallback(null, require('https').createServer(secureOpts)); } - createSecureServer(); + function createLeServer() { + lex.httpsOptions.ciphers = ciphers; + lex.httpsOptions.honorCipherOrder = true; + serverCallback(null, require('https').createServer(lex.httpsOptions)); + } + + if (lex) { + createLeServer(); + } else { + createSecureServer(); + } }; diff --git a/package.json b/package.json index 4a7abed..acdd50a 100644 --- a/package.json +++ b/package.json @@ -81,6 +81,7 @@ "json-storage": "2.x", "jsonwebtoken": "^5.4.0", "lodash": "2.x", + "letsencrypt-express": "1.1.x", "masterquest-sqlite3": "git://github.com/coolaj86/masterquest-sqlite3.git", "media-typer": "^0.3.0", "methods": "^1.1.1", From 3a86624b8bc2bbaef99b3308b195ab46f28a6c48 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 31 Mar 2016 02:39:15 -0400 Subject: [PATCH 02/76] minor refactor --- boot/master.js | 129 +++++++++++++++++++++-------------------- lib/insecure-server.js | 32 +++++----- lib/master.js | 30 +++------- 3 files changed, 86 insertions(+), 105 deletions(-) diff --git a/boot/master.js b/boot/master.js index 5442a39..0f058da 100644 --- a/boot/master.js +++ b/boot/master.js @@ -14,52 +14,7 @@ var cluster = require('cluster'); //var minWorkers = 2; var numCores = 2; // Math.max(minWorkers, require('os').cpus().length); var workers = []; -var config = { - externalPort: 443 // world accessible -, externalPortInsecure: 80 // world accessible -// TODO externalInsecurePort? -, locked: false // TODO XXX -, ipcKey: null - // XXX - // TODO needs mappings from db - // TODO autoconfig Caddy caddy - // XXX -, caddy: { - conf: __dirname + '/Caddyfile' - , bin: '/usr/local/bin/caddy' - , sitespath: path.join(__dirname, 'sites-enabled') - } -, redirects: [ - { "ip": false, "id": "*", "value": false } // default no-www - - , { "ip": false, "id": "daplie.domains", "value": null } - , { "ip": false, "id": "*.daplie.domains", "value": false } - , { "ip": false, "id": "no.daplie.domains", "value": false } - , { "ip": false, "id": "*.no.daplie.domains", "value": false } - , { "ip": false, "id": "ns2.daplie.domains", "value": false } - - , { "ip": true, "id": "maybe.daplie.domains", "value": null } - , { "ip": true, "id": "*.maybe.daplie.domains", "value": null } - - , { "ip": true, "id": "www.daplie.domains", "value": null } - , { "ip": true, "id": "yes.daplie.domains", "value": true } - , { "ip": true, "id": "*.yes.daplie.domains", "value": true } - , { "ip": true, "id": "ns1.daplie.domains", "value": false } - ] - // TODO use sqlite3 or autogenerate ? -, privkey: require('fs').readFileSync(__dirname + '/../../' + '/nsx.redirect-www.org.key.pem', 'ascii') -, pubkey: require('fs').readFileSync(__dirname + '/../../' + '/nsx.redirect-www.org.key.pem.pub', 'ascii') -// keys -// letsencrypt -// com.example.provider -// com.example.consumer -}; -var useCaddy = require('fs').existsSync(config.caddy.bin); -var state = {}; -var caddy; - -config.localPort = process.argv[2] || (useCaddy ? 4080 : 443); // system / local network -config.insecurePort = process.argv[3] || (useCaddy ? 80 : 80); // meh +var state = { firstRun: true }; function fork() { if (workers.length < numCores) { @@ -71,10 +26,39 @@ cluster.on('online', function (worker) { console.info('[MASTER] Worker ' + worker.process.pid + ' is online'); fork(); + var config = { + externalPort: 443 // world accessible + , externalPortInsecure: 80 // world accessible + // TODO externalInsecurePort? + , locked: false // TODO XXX + // XXX + // TODO needs mappings from db + // TODO autoconfig Caddy caddy + // XXX + , caddy: { + conf: __dirname + '/Caddyfile' + , bin: '/usr/local/bin/caddy' + , sitespath: path.join(__dirname, 'sites-enabled') + } + }; + var useCaddy = require('fs').existsSync(config.caddy.bin); + var caddy; + + config.localPort = process.argv[2] || (useCaddy ? 4080 : 443); // system / local network + config.insecurePort = process.argv[3] || (useCaddy ? 80 : 80); // meh + if (state.firstRun) { + state.firstRun = false; + if (useCaddy) { + caddy = require('../lib/spawn-caddy').create(config); + // relies on { localPort, locked } + caddy.spawn(config); + } + } + // TODO XXX Should these be configurable? If so, where? var certPaths = [ - path.join(__dirname, 'certs', 'live') - , path.join(__dirname, 'letsencrypt', 'live') + path.join(__dirname, '..', '..', 'certs', 'live') + , path.join(__dirname, '..', '..', 'letsencrypt', 'live') ]; // TODO communicate config with environment vars? var info = { @@ -84,16 +68,10 @@ cluster.on('online', function (worker) { , externalPort: config.externalPort , localPort: config.localPort , insecurePort: config.insecurePort - , trustProxy: useCaddy ? true : false , certPaths: useCaddy ? null : certPaths - , ipcKey: null - // TODO let this load after server is listening - , 'org.oauth3.consumer': config['org.oauth3.consumer'] - , 'org.oauth3.provider': config['org.oauth3.provider'] - , keys: config.keys + , trustProxy: useCaddy ? true : false } }; - worker.send(info); function touchMaster(msg) { if ('walnut.webserver.listening' !== msg.type) { @@ -105,17 +83,48 @@ cluster.on('online', function (worker) { // calls init if init has not been called state.caddy = caddy; state.workers = workers; - require('../lib/master').touch(config, state).then(function () { + require('../lib/master').touch(config, state).then(function (results) { + //var memstore = results.memstore; + var sqlstore = results.sqlstore; info.type = 'walnut.webserver.onrequest'; - info.conf.ipcKey = config.ipcKey; + // TODO let this load after server is listening + info.conf['org.oauth3.consumer'] = config['org.oauth3.consumer']; + info.conf['org.oauth3.provider'] = config['org.oauth3.provider']; + info.conf.keys = config.keys; info.conf.memstoreSock = config.memstoreSock; info.conf.sqlite3Sock = config.sqlite3Sock; // TODO get this from db config instead info.conf.privkey = config.privkey; info.conf.pubkey = config.pubkey; + info.conf.redirects = [ + { "ip": false, "id": "*", "value": false } // default no-www + + , { "ip": false, "id": "daplie.domains", "value": null } + , { "ip": false, "id": "*.daplie.domains", "value": false } + , { "ip": false, "id": "no.daplie.domains", "value": false } + , { "ip": false, "id": "*.no.daplie.domains", "value": false } + , { "ip": false, "id": "ns2.daplie.domains", "value": false } + + , { "ip": true, "id": "maybe.daplie.domains", "value": null } + , { "ip": true, "id": "*.maybe.daplie.domains", "value": null } + + , { "ip": true, "id": "www.daplie.domains", "value": null } + , { "ip": true, "id": "yes.daplie.domains", "value": true } + , { "ip": true, "id": "*.yes.daplie.domains", "value": true } + , { "ip": true, "id": "ns1.daplie.domains", "value": false } + ]; + // TODO use sqlite3 or autogenerate ? + info.conf.privkey = require('fs').readFileSync(__dirname + '/../../' + '/nsx.redirect-www.org.key.pem', 'ascii'); + info.conf.pubkey = require('fs').readFileSync(__dirname + '/../../' + '/nsx.redirect-www.org.key.pem.pub', 'ascii'); + // keys + // letsencrypt + // com.example.provider + // com.example.consumer worker.send(info); }); } + + worker.send(info); worker.on('message', touchMaster); }); @@ -136,9 +145,3 @@ cluster.on('exit', function (worker, code, signal) { }); fork(); - -if (useCaddy) { - caddy = require('../lib/spawn-caddy').create(config); - // relies on { localPort, locked } - caddy.spawn(config); -} diff --git a/lib/insecure-server.js b/lib/insecure-server.js index afb2a28..1dc5837 100644 --- a/lib/insecure-server.js +++ b/lib/insecure-server.js @@ -21,36 +21,30 @@ module.exports.create = function (securePort, insecurePort, info, serverCallback } function redirectHttps(req, res) { + if (req.headers.host && /^\/.well-known\/acme-challenge/.test(req.url) && useAppInsecurely(req, res)) { + return true; + } + // TODO + // XXX NOTE: info.conf.redirects may or may not be loaded at first + // the object will be modified when the config is loaded + if (!redirectives && info.redirects || info.conf.redirects) { + redirectives = require('./hostname-redirects').compile(info.redirects || info.conf.redirects); + } + if (require('./no-www').scrubTheDub(req, res, redirectives)) { + return true; + } + // Let it do this once they visit the https site // res.setHeader('Strict-Transport-Security', 'max-age=10886400; includeSubDomains; preload'); var host = req.headers.host || ''; var url = req.url; - // TODO - // XXX NOTE: info.conf.redirects may or may not be loaded at first - // the object will be modified when the config is loaded - if (!redirectives && info.conf.redirects) { - redirectives = require('./hostname-redirects').compile(info.conf.redirects); - } - if (require('./no-www').scrubTheDub(req, res, redirectives)) { - return true; - } - // TODO // allow exceptions for the case of arduino and whatnot that cannot handle https? // http://evothings.com/is-it-possible-to-secure-micro-controllers-used-within-iot/ // needs ECDSA? - console.warn('HARD-CODED HTTPS EXCEPTION in insecure-server.js'); - if (/redirect-www.org$/.test(host) && useAppInsecurely(req, res)) { - return true; - } - if (/^\/.well-known\/acme-challenge/.test(req.url) && useAppInsecurely(req, res)) { - console.log('exception for acme-challenge'); - return true; - } - var escapeHtml = require('escape-html'); var newLocation = 'https://' + host.replace(/:\d+/, ':' + securePort) + url diff --git a/lib/master.js b/lib/master.js index 80ea606..5b79575 100644 --- a/lib/master.js +++ b/lib/master.js @@ -2,12 +2,10 @@ var cluster = require('cluster'); var PromiseA = require('bluebird'); -var memstore; -var sqlstore; // TODO // var rootMasterKey; -function init(conf/*, state*/) { +function init(conf, state) { if (!conf.ipcKey) { conf.ipcKey = require('crypto').randomBytes(16).toString('base64'); } @@ -46,27 +44,20 @@ function init(conf/*, state*/) { , store: cluster.isMaster && null //new require('express-session/session/memory')() // TODO implement , key: conf.ipcKey - }).then(function (_memstore) { - memstore = _memstore; - return memstore; }) , sqlite3.createServer({ verbose: null , sock: conf.sqlite3Sock , ipcKey: conf.ipcKey - }).then(function (_sqlstore) { - sqlstore = _sqlstore; - return sqlstore; }) - ]).then(function (/*args*/) { - return conf; - /* - { + ]).then(function (args) { + state.memstore = args[0]; + state.sqlstore = args[1]; + return { conf: conf - , memstore: memstore // args[0] - , sqlstore: sqlstore // args[1] + , memstore: args[0] + , sqlstore: args[1] }; - */ }); return promise; @@ -83,13 +74,6 @@ function touch(conf, state) { conf.initialized = true; return conf; }); - - /* - setInterval(function () { - console.log('SIGUSR1 to caddy'); - return caddy.update(caddyConf); - }, 10 * 60 * 1000); - */ } module.exports.init = init; From d792404d673502e9b19bff7cd0359087fc6ee662 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 9 Apr 2016 19:14:00 -0400 Subject: [PATCH 03/76] refactoring to use fs config --- bin/walnut.js | 5 +- boot/local-server.js | 59 ++++++ boot/master.js | 77 +++---- boot/worker.js | 150 ++++++++++---- install.sh | 20 +- lib/apis.js | 250 +++++++++++++++++++++++ lib/bootstrap.js | 306 ++++++++++++++++++++++++++++ lib/insecure-server.js | 113 ----------- lib/ip-checker.js | 138 +++++++++++++ lib/local-server.js | 15 +- lib/main.js | 297 +++++++++++++++++++++++++++ lib/master.js | 26 ++- lib/package-server-apis.js | 215 ++++++++++++++++++++ lib/package-server-static.js | 87 ++++++++ lib/package-server.js | 296 +-------------------------- lib/worker.js | 379 +++++++++++++++-------------------- setup-dev-deps.sh | 13 ++ 17 files changed, 1708 insertions(+), 738 deletions(-) create mode 100644 boot/local-server.js create mode 100644 lib/apis.js create mode 100644 lib/bootstrap.js delete mode 100644 lib/insecure-server.js create mode 100644 lib/ip-checker.js create mode 100644 lib/main.js create mode 100644 lib/package-server-apis.js create mode 100644 lib/package-server-static.js create mode 100644 setup-dev-deps.sh diff --git a/bin/walnut.js b/bin/walnut.js index 03ea920..313e1df 100755 --- a/bin/walnut.js +++ b/bin/walnut.js @@ -62,4 +62,7 @@ function eagerLoad() { }); } -setTimeout(eagerLoad, 100); +// this isn't relevant to do in the master process, duh +if (false) { + setTimeout(eagerLoad, 100); +} diff --git a/boot/local-server.js b/boot/local-server.js new file mode 100644 index 0000000..ae203ee --- /dev/null +++ b/boot/local-server.js @@ -0,0 +1,59 @@ +'use strict'; + +// Note the odd use of callbacks (instead of promises) here +// It's to avoid loading bluebird yet (see sni-server.js for explanation) +module.exports.create = function (lex, certPaths, port, conf, serverCallback) { + function initServer(err, server) { + var app; + var promiseApp; + + if (err) { + serverCallback(err); + return; + } + + server.on('error', serverCallback); + server.listen(port, function () { + // is it even theoritically possible for + // a request to come in before this callback has fired? + // I'm assuming this event must fire before any request event + promiseApp = serverCallback(null, server); + }); + /* + server.listen(port, '::::', function () { + // is it even theoritically possible for + // a request to come in before this callback has fired? + // I'm assuming this event must fire before any request event + promiseApp = serverCallback(null, server); + }); + */ + + // Get up and listening as absolutely quickly as possible + function onRequest(req, res) { + // this is a hot piece of code, so we cache the result + if (app) { + app(req, res); + return; + } + + promiseApp.then(function (_app) { + console.log('[Server]', req.method, req.host || req.headers['x-forwarded-host'] || req.headers.host, req.url); + app = _app; + app(req, res); + }); + } + + if (lex) { + var LEX = require('letsencrypt-express'); + server.on('request', LEX.createAcmeResponder(lex, onRequest)); + } else { + server.on('request', onRequest); + } + } + + if (certPaths) { + require('../lib/sni-server').create(lex, certPaths, initServer); + } else { + initServer(null, require('http').createServer()); + } +}; diff --git a/boot/master.js b/boot/master.js index b8e23c8..8bdfc27 100644 --- a/boot/master.js +++ b/boot/master.js @@ -25,28 +25,44 @@ var workers = []; var state = { firstRun: true }; // TODO Should these be configurable? If so, where? // TODO communicate config with environment vars? +var walnut = tryConf( + path.join('..', '..', 'config.walnut') +, { externalPort: 443 + , externalInsecurePort: 80 + , certspath: path.join(__dirname, '..', '..', 'certs', 'live') + } +); var caddy = tryConf( - path.join('..', '..', 'config.caddy.json') -, { conf: null // __dirname + '/Caddyfile' + path.join('..', '..', 'config.caddy') +, { conf: path.join(__dirname, '..', '..', 'Caddyfile') , bin: null // '/usr/local/bin/caddy' , sitespath: null // path.join(__dirname, 'sites-enabled') , locked: false // true } ); -var useCaddy = require('fs').existsSync(caddy.bin); +var letsencrypt = tryConf( + path.join('..', '..', 'config.letsencrypt') +, { configDir: path.join(__dirname, '..', '..', 'letsencrypt') + , email: null + , agreeTos: false + } +); +var useCaddy = caddy.bin && require('fs').existsSync(caddy.bin); var info = { type: 'walnut.init' , conf: { protocol: useCaddy ? 'http' : 'https' - , externalPort: 443 - , externalPortInsecure: 80 // TODO externalInsecurePort - , localPort: process.argv[2] || (useCaddy ? 4080 : 443) // system / local network - , insecurePort: process.argv[3] || (useCaddy ? 80 : 80) // meh + , externalPort: walnut.externalPort + , externalPortInsecure: walnut.externalInsecurePort // TODO externalInsecurePort + , localPort: walnut.localPort || (useCaddy ? 4080 : 443) // system / local network + , insecurePort: walnut.insecurePort || (useCaddy ? 80 : 80) // meh , certPaths: useCaddy ? null : [ - path.join(__dirname, '..', '..', 'certs', 'live') - , path.join(__dirname, '..', '..', 'letsencrypt', 'live') + walnut.certspath + , path.join(letsencrypt.configDir, 'live') ] , trustProxy: useCaddy ? true : false + , lexConf: letsencrypt + , varpath: path.join(__dirname, '..', '..', 'var') } }; @@ -67,6 +83,7 @@ cluster.on('online', function (worker) { // relies on { localPort, locked } caddy.spawn(caddy); } + // TODO dyndns in master? } function touchMaster(msg) { @@ -76,47 +93,11 @@ cluster.on('online', function (worker) { return; } - // calls init if init has not been called state.caddy = caddy; state.workers = workers; - require('../lib/master').touch(info.conf, state).then(function (results) { - //var memstore = results.memstore; - var sqlstore = results.sqlstore; - info.type = 'walnut.webserver.onrequest'; - // TODO let this load after server is listening - info.conf['org.oauth3.consumer'] = results['org.oauth3.consumer']; - info.conf['org.oauth3.provider'] = results['org.oauth3.provider']; - info.conf.keys = results.keys; - //info.conf.memstoreSock = config.memstoreSock; - //info.conf.sqlite3Sock = config.sqlite3Sock; - // TODO get this from db config instead - //info.conf.privkey = config.privkey; - //info.conf.pubkey = config.pubkey; - info.conf.redirects = [ - { "ip": false, "id": "*", "value": false } // default no-www - - , { "ip": false, "id": "daplie.domains", "value": null } - , { "ip": false, "id": "*.daplie.domains", "value": false } - , { "ip": false, "id": "no.daplie.domains", "value": false } - , { "ip": false, "id": "*.no.daplie.domains", "value": false } - , { "ip": false, "id": "ns2.daplie.domains", "value": false } - - , { "ip": true, "id": "maybe.daplie.domains", "value": null } - , { "ip": true, "id": "*.maybe.daplie.domains", "value": null } - - , { "ip": true, "id": "www.daplie.domains", "value": null } - , { "ip": true, "id": "yes.daplie.domains", "value": true } - , { "ip": true, "id": "*.yes.daplie.domains", "value": true } - , { "ip": true, "id": "ns1.daplie.domains", "value": false } - ]; - // TODO use sqlite3 or autogenerate ? - info.conf.privkey = require('fs').readFileSync(__dirname + '/../../' + '/nsx.redirect-www.org.key.pem', 'ascii'); - info.conf.pubkey = require('fs').readFileSync(__dirname + '/../../' + '/nsx.redirect-www.org.key.pem.pub', 'ascii'); - // keys - // letsencrypt - // com.example.provider - // com.example.consumer - worker.send(info); + // calls init if init has not been called + require('../lib/master').touch(info.conf, state).then(function (newConf) { + worker.send({ type: 'walnut.webserver.onrequest', conf: newConf }); }); } diff --git a/boot/worker.js b/boot/worker.js index d5d58c9..45dd6c5 100644 --- a/boot/worker.js +++ b/boot/worker.js @@ -4,25 +4,93 @@ module.exports.create = function (opts) { var id = '0'; var promiseApp; - function createAndBindInsecure(lex, message, cb) { + function createAndBindInsecure(lex, conf, getOrCreateHttpApp) { // TODO conditional if 80 is being served by caddy - require('../lib/insecure-server').create(lex, message.conf.externalPort, message.conf.insecurePort, message, function (err, webserver) { - console.info("#" + id + " Listening on http://" + webserver.address().address + ":" + webserver.address().port, '\n'); - // we are returning the promise result to the caller - return cb(null, webserver, null, message); + var appPromise = null; + var app = null; + var http = require('http'); + var insecureServer = http.createServer(); + + function onRequest(req, res) { + if (app) { + app(req, res); + return; + } + + if (!appPromise) { + res.setHeader('Content-Type', 'application/json; charset=utf-8'); + res.end('{ "error": { "code": "E_SANITY_FAIL", "message": "should have an express app, but didn\'t" } }'); + return; + } + + appPromise.then(function (_app) { + appPromise = null; + app = _app; + app(req, res); + }); + } + + insecureServer.listen(conf.insecurePort, function () { + console.info("#" + id + " Listening on http://" + + insecureServer.address().address + ":" + insecureServer.address().port, '\n'); + appPromise = getOrCreateHttpApp(null, insecureServer); + + if (!appPromise) { + throw new Error('appPromise returned nothing'); + } + }); + + insecureServer.on('request', onRequest); + } + + function walkLe(domainname) { + var PromiseA = require('bluebird'); + var fs = PromiseA.promisifyAll(require('fs')); + var path = require('path'); + var parts = domainname.split('.'); //.replace(/^www\./, '').split('.'); + var configname = parts.join('.') + '.json'; + var configpath = path.join(__dirname, '..', '..', 'config', configname); + + if (parts.length < 2) { + return PromiseA.resolve(null); + } + + // TODO configpath a la varpath + return fs.readFileAsync(configpath, 'utf8').then(function (text) { + var data = JSON.parse(text); + data.name = configname; + return data; + }, function (/*err*/) { + parts.shift(); + return walkLe(parts.join('.')); }); } - function createLe(conf) { + function createLe(lexConf, conf) { var LEX = require('letsencrypt-express'); var lex = LEX.create({ - configDir: conf.letsencrypt.configDir // i.e. __dirname + '/letsencrypt.config' + configDir: lexConf.configDir // i.e. __dirname + '/letsencrypt.config' , approveRegistration: function (hostname, cb) { - cb(null, { - domains: [hostname] // TODO handle www and bare on the same cert - , email: conf.letsencrypt.email - , agreeTos: conf.letsencrypt.agreeTos + // TODO cache/report unauthorized + if (!hostname) { + cb(new Error("[lex.approveRegistration] undefined hostname"), null); + return; + } + + walkLe(hostname).then(function (leAuth) { + // TODO should still check dns for hostname (and mx for email) + if (leAuth && leAuth.email && leAuth.agreeTos) { + cb(null, { + domains: [hostname] // TODO handle www and bare on the same cert + , email: leAuth.email + , agreeTos: leAuth.agreeTos + }); + } + else { + // TODO report unauthorized + cb(new Error("Valid LetsEncrypt config with email and agreeTos not found for '" + hostname + "'"), null); + } }); /* letsencrypt.getConfig({ domains: [domain] }, function (err, config) { @@ -42,81 +110,92 @@ module.exports.create = function (opts) { */ } }); - //var letsencrypt = lex.letsencrypt; + conf.letsencrypt = lex.letsencrypt; + conf.lex = lex; + conf.walkLe = walkLe; return lex; } - function createAndBindServers(message, cb) { + function createAndBindServers(conf, getOrCreateHttpApp) { var lex; - if (message.conf.letsencrypt) { - lex = createLe(message.conf); + if (conf.lexConf) { + lex = createLe(conf.lexConf, conf); } // NOTE that message.conf[x] will be overwritten when the next message comes in - require('../lib/local-server').create(lex, message.conf.certPaths, message.conf.localPort, message, function (err, webserver) { + require('./local-server').create(lex, conf.certPaths, conf.localPort, conf, function (err, webserver) { if (err) { console.error('[ERROR] worker.js'); console.error(err.stack); throw err; } - console.info("#" + id + " Listening on " + message.conf.protocol + "://" + webserver.address().address + ":" + webserver.address().port, '\n'); + console.info("#" + id + " Listening on " + conf.protocol + "://" + webserver.address().address + ":" + webserver.address().port, '\n'); // we don't need time to pass, just to be able to return process.nextTick(function () { - createAndBindInsecure(lex, message, cb); + createAndBindInsecure(lex, conf, getOrCreateHttpApp); }); // we are returning the promise result to the caller - return cb(null, null, webserver, message); + return getOrCreateHttpApp(null, null, webserver, conf); }); } // // Worker Mode // - function waitForConfig(message) { - if ('walnut.init' !== message.type) { + function waitForConfig(realMessage) { + if ('walnut.init' !== realMessage.type) { console.warn('[Worker] 0 got unexpected message:'); - console.warn(message); + console.warn(realMessage); return; } + var conf = realMessage.conf; process.removeListener('message', waitForConfig); // NOTE: this callback must return a promise for an express app - createAndBindServers(message, function (err, insecserver, webserver, oldMessage) { - // TODO deep merge new message into old message - Object.keys(message.conf).forEach(function (key) { - oldMessage.conf[key] = message.conf[key]; - }); + + function getExpressApp(err, insecserver, webserver/*, newMessage*/) { var PromiseA = require('bluebird'); + if (promiseApp) { return promiseApp; } + promiseApp = new PromiseA(function (resolve) { - function initWebServer(srvmsg) { + function initHttpApp(srvmsg) { if ('walnut.webserver.onrequest' !== srvmsg.type) { - console.warn('[Worker] 1 got unexpected message:'); + console.warn('[Worker] [onrequest] unexpected message:'); console.warn(srvmsg); return; } - process.removeListener('message', initWebServer); + process.removeListener('message', initHttpApp); - resolve(require('../lib/worker').create(webserver, srvmsg.conf)); + if (srvmsg.conf) { + Object.keys(srvmsg.conf).forEach(function (key) { + conf[key] = srvmsg.conf[key]; + }); + } + + resolve(require('../lib/worker').create(webserver, conf)); } process.send({ type: 'walnut.webserver.listening' }); - process.on('message', initWebServer); + process.on('message', initHttpApp); }).then(function (app) { console.info('[Worker Ready]'); return app; }); + return promiseApp; - }); + } + + createAndBindServers(conf, getExpressApp); } // @@ -124,11 +203,13 @@ module.exports.create = function (opts) { // if (opts) { // NOTE: this callback must return a promise for an express app - createAndBindServers(opts, function (err, insecserver, webserver/*, message*/) { + createAndBindServers(opts, function (err, insecserver, webserver/*, conf*/) { var PromiseA = require('bluebird'); + if (promiseApp) { return promiseApp; } + promiseApp = new PromiseA(function (resolve) { opts.getConfig(function (srvmsg) { resolve(require('../lib/worker').create(webserver, srvmsg)); @@ -137,6 +218,7 @@ module.exports.create = function (opts) { console.info('[Standalone Ready]'); return app; }); + return promiseApp; }); } else { diff --git a/install.sh b/install.sh index f91b31e..25934bf 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -sudo mkdir -p /srv/walnut/{certs,core,letsencrypt,lib} +sudo mkdir -p /srv/walnut/{certs,core,letsencrypt,lib,config} sudo mkdir -p /srv/walnut/packages/{api,pages,services} sudo chown -R $(whoami):$(whoami) /srv/walnut @@ -9,11 +9,23 @@ git clone https://github.com/Daplie/walnut.git /srv/walnut/core pushd /srv/walnut/core npm install -sudo rsync -av /srv/walnut/core/etc/init/walnut.conf /etc/init/walnut.conf -rsync -av /srv/walnut/core/etc/letsencrypt/ /srv/walnut/certs/ - popd + +sudo rsync -a /srv/walnut/core/etc/init/walnut.conf /etc/init/walnut.conf +rsync -a /srv/walnut/core/etc/letsencrypt/ /srv/walnut/certs/ mv /srv/walnut/core/node_modules /srv/walnut +echo -n "Enter an email address to use for LetsEncrypt and press [ENTER]: " +read LE_EMAIL +node -e " + 'use strict'; + + require('fs').writeFileSync('/srv/walnut/config.letsencrypt.json', JSON.stringify({ + configDir: '/srv/walnut/letsencrypt' + , email: '$LE_EMAIL' + , agreeTos: true + }, null, ' ')); +" + sudo service walnut stop sudo service walnut start diff --git a/lib/apis.js b/lib/apis.js new file mode 100644 index 0000000..a9dcaee --- /dev/null +++ b/lib/apis.js @@ -0,0 +1,250 @@ +'use strict'; + +module.exports.create = function (xconfx, apiFactories, apiDeps) { + var PromiseA = apiDeps.Promise; + var express = require('express'); + var fs = PromiseA.promisifyAll(require('fs')); + var path = require('path'); + var localCache = { apis: {}, pkgs: {} }; + + // TODO xconfx.apispath + xconfx.apispath = path.join(__dirname, '..', '..', 'packages', 'apis'); + + function notConfigured(req, res) { + res.send({ error: { message: "api '" + req.apiId + "' not configured for domain '" + req.experienceId + "'" } }); + } + + function loadApi(conf, pkgConf, pkgDeps, packagedApi) { + function handlePromise(p) { + return p.then(function (api) { + packagedApi._api = api; + return api; + }); + } + + if (!packagedApi._promise_api) { + packagedApi._promise_api = getApi(conf, pkgConf, pkgDeps, packagedApi); + } + + return handlePromise(packagedApi._promise_api); + } + + function getApi(conf, pkgConf, pkgDeps, packagedApi) { + var PromiseA = pkgDeps.Promise; + var path = require('path'); + var pkgpath = path.join(pkgConf.apipath, packagedApi.id/*, (packagedApi.api.version || '')*/); + + // TODO needs some version stuff (which would also allow hot-loading of updates) + // TODO version could be tied to sha256sum + + return new PromiseA(function (resolve, reject) { + var myApp; + var ursa; + var promise; + + // TODO dynamic requires are a no-no + // can we statically generate a require-er? on each install? + // module.exports = { {{pkgpath}}: function () { return require({{pkgpath}}) } } + // requirer[pkgpath]() + myApp = pkgDeps.express(); + myApp.disable('x-powered-by'); + if (pkgDeps.app.get('trust proxy')) { + myApp.set('trust proxy', pkgDeps.app.get('trust proxy')); + } + if (!pkgConf.pubkey) { + /* + return ursa.createPrivateKey(pem, password, encoding); + var pem = myKey.toPrivatePem(); + return jwt.verifyAsync(token, myKey.toPublicPem(), { ignoreExpiration: false && true }).then(function (decoded) { + }); + */ + ursa = require('ursa'); + pkgConf.keypair = ursa.createPrivateKey(pkgConf.privkey, 'ascii'); + pkgConf.pubkey = ursa.createPublicKey(pkgConf.pubkey, 'ascii'); //conf.keypair.toPublicKey(); + } + + try { + packagedApi._apipkg = require(path.join(pkgpath, 'package.json')); + packagedApi._apiname = packagedApi._apipkg.name; + if (packagedApi._apipkg.walnut) { + pkgpath += '/' + packagedApi._apipkg.walnut; + } + promise = PromiseA.resolve(require(pkgpath).create(pkgConf, pkgDeps, myApp)); + } catch(e) { + reject(e); + return; + } + + promise.then(function () { + // TODO give pub/priv pair for app and all public keys + // packagedApi._api = require(pkgpath).create(pkgConf, pkgDeps, myApp); + packagedApi._api = require('express-lazy')(); + packagedApi._api_app = myApp; + + //require('./oauth3-auth').inject(conf, packagedApi._api, pkgConf, pkgDeps); + pkgDeps.getOauth3Controllers = + packagedApi._getOauth3Controllers = require('oauthcommon/example-oauthmodels').create(conf).getControllers; + require('oauthcommon').inject(packagedApi._getOauth3Controllers, packagedApi._api, pkgConf, pkgDeps); + + // DEBUG + // + /* + packagedApi._api.use('/', function (req, res, next) { + console.log('[DEBUG pkgApiApp]', req.method, req.hostname, req.url); + next(); + }); + //*/ + + // TODO fix backwards compat + + // /api/com.example.foo (no change) + packagedApi._api.use('/', packagedApi._api_app); + + // /api/com.example.foo => /api + packagedApi._api.use('/', function (req, res, next) { + var priorUrl = req.url; + req.url = '/api' + req.url.slice(('/api/' + packagedApi.id).length); + // console.log('api mangle 3:', req.url); + packagedApi._api_app(req, res, function (err) { + req.url = priorUrl; + next(err); + }); + }); + + // /api/com.example.foo => / + packagedApi._api.use('/api/' + packagedApi.id, function (req, res, next) { + // console.log('api mangle 2:', '/api/' + packagedApi.id, req.url); + // console.log(packagedApi._api_app.toString()); + packagedApi._api_app(req, res, next); + }); + + resolve(packagedApi._api); + }, reject); + }); + } + + // Read packages/apis/sub.sld.tld (forward dns) to find list of apis as tld.sld.sub (reverse dns) + // TODO packages/allowed_apis/sub.sld.tld (?) + // TODO auto-register org.oauth3.consumer for primaryDomain (and all sites?) + function loadApiHandler() { + return function handler(req, res, next) { + var name = req.experienceId; + var apiId = req.apiId; + var packagepath = path.join(xconfx.apispath, name); + + return fs.readFileAsync(packagepath, 'utf8').then(function (text) { + return text.trim().split(/\n/); + }, function () { + return []; + }).then(function (apis) { + return function (req, res, next) { + var apipath; + + if (!apis.some(function (api) { + if (api === apiId) { + return true; + } + })) { + if (req.experienceId === ('api.' + xconfx.setupDomain) && 'org.oauth3.consumer' === apiId) { + // fallthrough + } else { + return null; + } + } + + apipath = path.join(xconfx.apispath, apiId); + + if (!localCache.pkgs[apiId]) { + return fs.readFileAsync(path.join(apipath, 'package.json'), 'utf8').then(function (text) { + var pkg = JSON.parse(text); + var deps = {}; + var myApp; + + if (pkg.walnut) { + apipath = path.join(apipath, pkg.walnut); + } + + Object.keys(apiDeps).forEach(function (key) { + deps[key] = apiDeps[key]; + }); + Object.keys(apiFactories).forEach(function (key) { + deps[key] = apiFactories[key]; + }); + + // TODO pull db stuff from package.json somehow and pass allowed data models as deps + // + // how can we tell which of these would be correct? + // deps.memstore = apiFactories.memstoreFactory.create(apiId); + // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId); + // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId + apiId); + + // let's go with this one for now and the api can choose to scope or not to scope + deps.memstore = apiFactories.memstoreFactory.create(apiId); + + console.log('DEBUG apipath', apipath); + myApp = express(); + // + // TODO handle /accounts/:accountId + // + return PromiseA.resolve(require(apipath).create({}/*pkgConf*/, deps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { + localCache.pkgs[apiId] = { pkg: pkg, handler: handler || myApp, createdAt: Date.now() }; + localCache.pkgs[apiId].handler(req, res, next); + }); + }); + } + else { + localCache.pkgs[apiId].handler(req, res, next); + // TODO expire require cache + /* + if (Date.now() - localCache.pkgs[apiId].createdAt < (5 * 60 * 1000)) { + return; + } + */ + } + }; + }, function (/*err*/) { + return null; + }).then(function (handler) { + + // keep object reference intact + // DO NOT cache non-existant api + if (handler) { + localCache.apis[name].handler = handler; + } else { + handler = notConfigured; + } + handler(req, res, next); + }); + }; + } + + return function (req, res, next) { + var experienceId = req.hostname + req.url.replace(/\/api\/.*/, '/').replace(/\/+/g, '#').replace(/#$/, ''); + var apiId = req.url.replace(/.*\/api\//, '').replace(/\/.*/, ''); + + Object.defineProperty(req, 'experienceId', { + enumerable: true + , configurable: false + , writable: false + // TODO this identifier may need to be non-deterministic as to transfer if a domain name changes but is still the "same" app + // (i.e. a company name change. maybe auto vs manual register - just like oauth3?) + // NOTE: probably best to alias the name logically + , value: experienceId + }); + Object.defineProperty(req, 'apiId', { + enumerable: true + , configurable: false + , writable: false + , value: apiId + }); + + if (!localCache.apis[experienceId]) { + localCache.apis[experienceId] = { handler: loadApiHandler(experienceId), createdAt: Date.now() }; + } + + localCache.apis[experienceId].handler(req, res, next); + if (Date.now() - localCache.apis[experienceId].createdAt > (5 * 60 * 1000)) { + localCache.apis[experienceId] = { handler: loadApiHandler(experienceId), createdAt: Date.now() }; + } + }; +}; diff --git a/lib/bootstrap.js b/lib/bootstrap.js new file mode 100644 index 0000000..f12a9a8 --- /dev/null +++ b/lib/bootstrap.js @@ -0,0 +1,306 @@ +'use strict'; + +// +// IMPORTANT !!! +// +// None of this is authenticated or encrypted +// + +module.exports.create = function (app, xconfx, models) { + var PromiseA = require('bluebird'); + var path = require('path'); + var fs = PromiseA.promisifyAll(require('fs')); + var dns = PromiseA.promisifyAll(require('dns')); + + function isInitialized() { + // TODO read from file only, not db + return models.ComDaplieWalnutConfig.get('config').then(function (conf) { + if (!conf || !conf.primaryDomain || !conf.primaryEmail) { + console.log('DEBUG incomplete conf', conf); + return false; + } + + xconfx.primaryDomain = xconfx.primaryDomain || conf.primaryDomain; + + var configname = conf.primaryDomain + '.json'; + var configpath = path.join(__dirname, '..', '..', 'config', configname); + + return fs.readFileAsync(configpath, 'utf8').then(function (text) { + return JSON.parse(text); + }, function (/*err*/) { + console.log('DEBUG not exists leconf', configpath); + return false; + }).then(function (data) { + if (!data || !data.email || !data.agreeTos) { + console.log('DEBUG incomplete leconf', data); + return false; + } + + return true; + }); + }); + } + + function initialize() { + var express = require('express'); + var getIpAddresses = require('./ip-checker').getExternalAddresses; + var resolve; + + function errorIfNotApi(req, res, next) { + // if it's not an ip address + if (/[a-z]+/.test(req.headers.host)) { + if (!/^api\./.test(req.headers.host)) { + console.log('req.headers.host'); + console.log(req.headers.host); + res.send({ error: { message: "no api. subdomain prefix" } }); + return; + } + } + + next(); + } + + function errorIfApi(req, res, next) { + if (!/^api\./.test(req.headers.host)) { + next(); + return; + } + + // has api. hostname prefix + + // doesn't have /api url prefix + if (!/^\/api\//.test(req.url)) { + res.send({ error: { message: "missing /api/ url prefix" } }); + return; + } + + res.send({ error: { code: 'E_NO_IMPL', message: "not implemented" } }); + } + + function getConfig(req, res) { + getIpAddresses().then(function (inets) { + var results = { + hostname: require('os').hostname() + , inets: inets.addresses.map(function (a) { + a.time = undefined; + return a; + }) + }; + //res.send({ inets: require('os').networkInterfaces() }); + res.send(results); + }); + } + + function verifyIps(inets, hostname) { + var map = {}; + var arr = []; + + inets.forEach(function (addr) { + if (!map[addr.family]) { + map[addr.family] = true; + if (4 === addr.family) { + arr.push(dns.resolve4Async(hostname).then(function (arr) { + return arr; + }, function (/*err*/) { + return []; + })); + } + if (6 === addr.family) { + arr.push(dns.resolve6Async(hostname).then(function (arr) { + return arr; + }, function (/*err*/) { + return []; + })); + } + } + }); + + return PromiseA.all(arr).then(function (fams) { + console.log('DEBUG hostname', hostname); + var ips = []; + + fams.forEach(function (addrs) { + console.log('DEBUG ipv46'); + console.log(addrs); + addrs.forEach(function (addr) { + inets.forEach(function (a) { + if (a.address === addr) { + a.time = undefined; + ips.push(a); + } + }); + }); + console.log(''); + }); + + return ips; + }); + } + + function setConfig(req, res) { + var config = req.body; + var results = {}; + + return PromiseA.resolve().then(function () { + if (!config.agreeTos && !config.tls) { + return PromiseA.reject(new Error("To enable encryption you must agree to the LetsEncrypt terms of service")); + } + + if (!config.domain) { + return PromiseA.reject(new Error("You must specify a valid domain name")); + } + config.domain = config.domain.replace(/^www\./, ''); + + return getIpAddresses().then(function (inet) { + if (!inet.addresses.length) { + return PromiseA.reject(new Error("no ip addresses")); + } + + results.inets = inet.addresses.map(function (a) { + a.time = undefined; + return a; + }); + + results.resolutions = []; + return PromiseA.all([ + // for static content + verifyIps(inet.addresses, config.domain).then(function (ips) { + results.resolutions.push({ hostname: config.domain, ips: ips }); + }) + // for redirects + , verifyIps(inet.addresses, 'www.' + config.domain).then(function (ips) { + results.resolutions.push({ hostname: 'www.' + config.domain, ips: ips }); + }) + // for api + , verifyIps(inet.addresses, 'api.' + config.domain).then(function (ips) { + results.resolutions.push({ hostname: 'api.' + config.domain, ips: ips }); + }) + // for protected assets + , verifyIps(inet.addresses, 'assets.' + config.domain).then(function (ips) { + results.resolutions.push({ hostname: 'assets.' + config.domain, ips: ips }); + }) + // for the cloud management + , verifyIps(inet.addresses, 'cloud.' + config.domain).then(function (ips) { + results.resolutions.push({ hostname: 'cloud.' + config.domain, ips: ips }); + }) + , verifyIps(inet.addresses, 'api.cloud.' + config.domain).then(function (ips) { + results.resolutions.push({ hostname: 'api.cloud.' + config.domain, ips: ips }); + }) + ]).then(function () { + if (!results.resolutions[0].ips.length) { + results.error = { message: "bare domain could not be resolved to this device" }; + } + else if (!results.resolutions[2].ips.length) { + results.error = { message: "api subdomain could not be resolved to this device" }; + } + /* + else if (!results.resolutions[1].ips.length) { + results.error = { message: "" } + } + else if (!results.resolutions[3].ips.length) { + results.error = { message: "" } + } + else if (!results.resolutions[4].ips.length || !results.resolutions[4].ips.length) { + results.error = { message: "cloud and api.cloud subdomains should be set up" }; + } + */ + }); + }); + }).then(function () { + if (results.error) { + return; + } + + var configname = config.domain + '.json'; + var configpath = path.join(__dirname, '..', '..', 'config', configname); + var leAuth = { + agreeTos: true + , email: config.email // TODO check email + , domain: config.domain + , createdAt: Date.now() + }; + + return dns.resolveMxAsync(config.email.replace(/.*@/, '')).then(function (/*addrs*/) { + // TODO allow private key to be uploaded + return fs.writeFileAsync(configpath, JSON.stringify(leAuth, null, ' '), 'utf8').then(function () { + return models.ComDaplieWalnutConfig.upsert('config', { + letsencrypt: leAuth + , primaryDomain: config.domain + , primaryEmail: config.email + }); + }); + }, function () { + return PromiseA.reject(new Error("invalid email address (MX record lookup failed)")); + }); + }).then(function () { + if (!results.error && results.inets && resolve) { + resolve(); + resolve = null; + } + res.send(results); + }, function (err) { + console.error('Error lib/bootstrap.js'); + console.error(err.stack || err); + res.send({ error: { message: err.message || err.toString() } }); + }); + } + + var CORS = require('connect-cors'); + var cors = CORS({ credentials: true, headers: [ + 'X-Requested-With' + , 'X-HTTP-Method-Override' + , 'Content-Type' + , 'Accept' + , 'Authorization' + ], methods: [ "GET", "POST", "PATCH", "PUT", "DELETE" ] }); + + app.use('/', function (req, res, next) { + return isInitialized().then(function (initialized) { + if (!initialized) { + next(); + return; + } + + resolve(true); + + // force page refresh + // TODO goto top of routes? + res.statusCode = 302; + res.setHeader('Location', req.url); + res.end(); + }); + }); + app.use('/api', errorIfNotApi); + // NOTE Allows CORS access to API with ?access_token= + // TODO Access-Control-Max-Age: 600 + // TODO How can we help apps handle this? token? + // TODO allow apps to configure trustedDomains, auth, etc + app.use('/api', cors); + app.get('/api/com.daplie.walnut.init', getConfig); + app.post('/api/com.daplie.walnut.init', setConfig); + app.use('/', errorIfApi); + app.use('/', express.static(path.join(__dirname, '..', '..', 'packages', 'pages', 'com.daplie.walnut.init'))); + + return new PromiseA(function (_resolve) { + resolve = _resolve; + }); + } + + return isInitialized().then(function (initialized) { + if (initialized) { + return true; + } + + return initialize(); + }, function (err) { + console.error('FATAL ERROR:'); + console.error(err.stack || err); + app.use('/', function (req, res) { + res.send({ + error: { + message: "Unrecoverable Error Requires manual server update: " + (err.message || err.toString()) + } + }); + }); + }); +}; diff --git a/lib/insecure-server.js b/lib/insecure-server.js deleted file mode 100644 index 2ac96a5..0000000 --- a/lib/insecure-server.js +++ /dev/null @@ -1,113 +0,0 @@ -'use strict'; - -module.exports.create = function (lex, securePort, insecurePort, info, serverCallback) { - var PromiseA = require('bluebird').Promise; - var appPromise; - //var app; - var http = require('http'); - var redirectives; - - function useAppInsecurely(req, res) { - if (!appPromise) { - return false; - } - - appPromise.then(function (app) { - req._WALNUT_SECURITY_EXCEPTION = true; - app(req, res); - }); - - return true; - } - - function redirectHttps(req, res) { - if (req.headers.host && /^\/.well-known\/acme-challenge/.test(req.url) && useAppInsecurely(req, res)) { - return true; - } - // TODO - // XXX NOTE: info.conf.redirects may or may not be loaded at first - // the object will be modified when the config is loaded - if (!redirectives && info.redirects || info.conf.redirects) { - redirectives = require('./hostname-redirects').compile(info.redirects || info.conf.redirects); - } - if (require('./no-www').scrubTheDub(req, res, redirectives)) { - return true; - } - - // Let it do this once they visit the https site - // res.setHeader('Strict-Transport-Security', 'max-age=10886400; includeSubDomains; preload'); - - var host = req.headers.host || ''; - var url = req.url; - - // TODO - // allow exceptions for the case of arduino and whatnot that cannot handle https? - // http://evothings.com/is-it-possible-to-secure-micro-controllers-used-within-iot/ - // needs ECDSA? - - var escapeHtml = require('escape-html'); - var newLocation = 'https://' - + host.replace(/:\d+/, ':' + securePort) + url - ; - var safeLocation = escapeHtml(newLocation); - - var metaRedirect = '' - + '\n' - + '\n' - + ' \n' - + ' \n' - + '\n' - + '\n' - + '

You requested an insecure resource. Please use this instead: \n' - + ' ' + safeLocation + '

\n' - + '\n' - + '\n' - ; - - // DO NOT HTTP REDIRECT - /* - res.setHeader('Location', newLocation); - res.statusCode = 302; - */ - - // BAD NEWS BEARS - // - // When people are experimenting with the API and posting tutorials - // they'll use cURL and they'll forget to prefix with https:// - // If we allow that, then many users will be sending private tokens - // and such with POSTs in clear text and, worse, it will work! - // To minimize this, we give browser users a mostly optimal experience, - // but people experimenting with the API get a message letting them know - // that they're doing it wrong and thus forces them to ensure they encrypt. - res.setHeader('Content-Type', 'text/html; charset=utf-8'); - res.end(metaRedirect); - } - - // TODO localhost-only server shutdown mechanism - // that closes all sockets, waits for them to finish, - // and then hands control over completely to respawned server - - // - // Redirect HTTP to HTTPS - // - // This simply redirects from the current insecure location to the encrypted location - // - var insecureServer; - insecureServer = http.createServer(); - insecureServer.listen(insecurePort, function () { - console.log("\nListening on http://localhost:" + insecureServer.address().port); - console.log("(handling any explicit redirects and redirecting all other traffic to https)\n"); - if (serverCallback) { - appPromise = serverCallback(null, insecureServer); - } - }); - - if (lex) { - var LEX = require('letsencrypt-express'); - insecureServer.on('request', LEX.createAcmeResponder(lex, redirectHttps)); - } else { - insecureServer.on('request', redirectHttps); - } - - return PromiseA.resolve(insecureServer); -}; diff --git a/lib/ip-checker.js b/lib/ip-checker.js new file mode 100644 index 0000000..e3b94d4 --- /dev/null +++ b/lib/ip-checker.js @@ -0,0 +1,138 @@ +"use strict"; + +var PromiseA = require('bluebird').Promise; +var ifaces = require('os').networkInterfaces(); +var dns = PromiseA.promisifyAll(require('dns')); +var https = require('https'); + +function getExternalAddresses() { + var iftypes = {}; + var ipv4check = 'api.ipify.org'; + var ipv6check = 'myexternalip.com'; + + Object.keys(ifaces).forEach(function (ifname) { + ifaces[ifname].forEach(function (iface) { + // local addresses + if (iface.internal) { + return; + } + // auto address space + if (/^(fe80:|169\.)/.test(iface.address)) { + return; + } + /* + if (/^(fe80:|10\.|192\.168|172\.1[6-9]|172\.2[0-9]|172\.3[0-1])/.test(iface.address)) { + return; + } + */ + + iftypes[iface.family] = true; + }); + }); + + console.log(iftypes); + + var now = Date.now(); + + return PromiseA.all([ + dns.lookupAsync(ipv4check, { family: 4/*, all: true*/ }).then(function (ans) { + iftypes.IPv4 = { address: ans[0], family: ans[1], time: Date.now() - now }; + }).error(function () { + //console.log('no ipv4', Date.now() - now); + iftypes.IPv4 = false; + }) + // curl -6 https://myexternalip.com/raw + , dns.lookupAsync(ipv6check, { family: 6/*, all: true*/ }).then(function (ans) { + iftypes.IPv6 = { address: ans[0], family: ans[1], time: Date.now() - now }; + }).error(function (err) { + console.error('Error ip-checker.js'); + console.error(err.stack || err); + //console.log('no ipv6', Date.now() - now); + iftypes.IPv6 = false; + }) + ]).then(function () { + var requests = []; + + if (iftypes.IPv4) { + requests.push(new PromiseA(function (resolve) { + var req = https.request({ + method: 'GET' + , hostname: iftypes.IPv4.address + , port: 443 + , headers: { + Host: ipv4check + } + , path: '/' + //, family: 4 + // TODO , localAddress: <> + }, function (res) { + var result = ''; + + res.on('error', function (/*err*/) { + resolve(null); + }); + + res.on('data', function (chunk) { + result += chunk.toString('utf8'); + }); + + res.on('end', function () { + resolve({ address: result, family: 4/*, wan: result === iftypes.IPv4.localAddress*/, time: iftypes.IPv4.time }); + }); + }); + + req.on('error', function () { + resolve(null); + }); + req.end(); + })); + } + + if (iftypes.IPv6) { + requests.push(new PromiseA(function (resolve) { + var req = https.request({ + method: 'GET' + , hostname: iftypes.IPv6.address + , port: 443 + , headers: { + Host: ipv6check + } + , path: '/raw' + //, family: 6 + // TODO , localAddress: <> + }, function (res) { + var result = ''; + + res.on('error', function (/*err*/) { + resolve(null); + }); + + res.on('data', function (chunk) { + result += chunk.toString('utf8').trim(); + }); + res.on('end', function () { + resolve({ address: result, family: 6/*, wan: result === iftypes.IPv6.localAaddress*/, time: iftypes.IPv4.time }); + }); + }); + + req.on('error', function () { + resolve(null); + }); + req.end(); + })); + } + + return PromiseA.all(requests).then(function (ips) { + ips = ips.filter(function (ip) { + return ip; + }); + + return { + addresses: ips + , time: Date.now() - now + }; + }); + }); +} + +exports.getExternalAddresses = getExternalAddresses; diff --git a/lib/local-server.js b/lib/local-server.js index e088213..37d776d 100644 --- a/lib/local-server.js +++ b/lib/local-server.js @@ -2,7 +2,7 @@ // Note the odd use of callbacks (instead of promises) here // It's to avoid loading bluebird yet (see sni-server.js for explanation) -module.exports.create = function (lex, certPaths, port, info, serverCallback) { +module.exports.create = function (certPaths, port, info, serverCallback) { function initServer(err, server) { var app; var promiseApp; @@ -29,7 +29,7 @@ module.exports.create = function (lex, certPaths, port, info, serverCallback) { */ // Get up and listening as absolutely quickly as possible - function onRequest(req, res) { + server.on('request', function (req, res) { // this is a hot piece of code, so we cache the result if (app) { app(req, res); @@ -41,18 +41,11 @@ module.exports.create = function (lex, certPaths, port, info, serverCallback) { app = _app; app(req, res); }); - } - - if (lex) { - var LEX = require('letsencrypt-express'); - server.on('request', LEX.createAcmeResponder(lex, onRequest)); - } else { - server.on('request', onRequest); - } + }); } if (certPaths) { - require('./sni-server').create(lex, certPaths, initServer); + require('./sni-server').create(certPaths, initServer); } else { initServer(null, require('http').createServer()); } diff --git a/lib/main.js b/lib/main.js new file mode 100644 index 0000000..febe97c --- /dev/null +++ b/lib/main.js @@ -0,0 +1,297 @@ +'use strict'; + +module.exports.create = function (app, xconfx, apiFactories, apiDeps) { + var PromiseA = require('bluebird'); + var path = require('path'); + var fs = PromiseA.promisifyAll(require('fs')); + // NOTE: each process has its own cache + var localCache = { le: {}, statics: {} }; + var express = require('express'); + var apiApp; + var setupDomain = xconfx.setupDomain = ('cloud.' + xconfx.primaryDomain); + var setupApp; + + function redirectHttpsHelper(req, res) { + var host = req.hostname || req.headers.host || ''; + var url = req.url; + + // TODO + // allow exceptions for the case of arduino and whatnot that cannot handle https? + // http://evothings.com/is-it-possible-to-secure-micro-controllers-used-within-iot/ + // needs ECDSA? + + var escapeHtml = require('escape-html'); + var newLocation = 'https://' + + host.replace(/:\d+/, ':' + xconfx.externalPort) + url + ; + var safeLocation = escapeHtml(newLocation); + + var metaRedirect = '' + + '\n' + + '\n' + + ' \n' + + ' \n' + + '\n' + + '\n' + + '

You requested an insecure resource. Please use this instead: \n' + + ' ' + safeLocation + '

\n' + + '\n' + + '\n' + ; + + // DO NOT HTTP REDIRECT + /* + res.setHeader('Location', newLocation); + res.statusCode = 302; + */ + + // BAD NEWS BEARS + // + // When people are experimenting with the API and posting tutorials + // they'll use cURL and they'll forget to prefix with https:// + // If we allow that, then many users will be sending private tokens + // and such with POSTs in clear text and, worse, it will work! + // To minimize this, we give browser users a mostly optimal experience, + // but people experimenting with the API get a message letting them know + // that they're doing it wrong and thus forces them to ensure they encrypt. + res.setHeader('Content-Type', 'text/html; charset=utf-8'); + res.end(metaRedirect); + } + + function redirectHttps(req, res) { + if (localCache.le[req.hostname]) { + if (localCache.le[req.hostname].conf) { + redirectHttpsHelper(req, res); + return; + } + else { + // TODO needs IPC to expire cache + redirectSetup(req.hostname, req, res); + return; + /* + if (Date.now() - localCache.le[req.hostname].createdAt < (5 * 60 * 1000)) { + // TODO link to dbconf.primaryDomain + res.send({ error: { message: "Security Error: Encryption for '" + req.hostname + "' has not been configured." + + " Please use the management interface to set up ACME / Let's Encrypt (or another solution)." } }); + return; + } + */ + } + } + + return xconfx.walkLe(req.hostname).then(function (leAuth) { + if (!leAuth) { + redirectSetup(req.hostname, req, res); + return; + } + + localCache.le[req.hostname] = { conf: leAuth, createdAt: Date.now() }; + redirectHttps(req, res); + }); + } + + function disallowSymLinks(req, res) { + res.end( + "Symbolic Links are not supported on all platforms and are therefore disallowed." + + " Instead, simply create a file of the same name as the link with a single line of text" + + " which should be the relative or absolute path to the target directory." + ); + } + + function disallowNonFiles(req, res) { + res.end( + "Pipes, Blocks, Sockets, FIFOs, and other such nonsense are not permitted." + + " Instead please create a directory from which to read or create a file " + + " with a single line of text which should be the target directory to read from." + ); + } + + function securityError(req, res) { + res.end("Security Error: Link points outside of packages/pages"); + } + + function notConfigured(req, res, next) { + if (setupDomain !== req.hostname) { + redirectSetup(req.hostname, req, res); + return; + } + + if (!setupApp) { + setupApp = express.static(path.join(xconfx.staticpath, 'com.daplie.walnut')); + } + setupApp(req, res, function () { + if ('/' === req.url) { + res.end('Sanity Fail: Configurator not found'); + return; + } + next(); + }); + } + + function loadHandler(name) { + return function handler(req, res, next) { + var packagepath = path.join(xconfx.staticpath, name); + + return fs.lstatAsync(packagepath).then(function (stat) { + if (stat.isSymbolicLink()) { + return disallowSymLinks; + } + + if (stat.isDirectory()) { + return express.static(packagepath); + } + + if (!stat.isFile()) { + return disallowNonFiles; + } + + return fs.readFileAsync(packagepath, 'utf8').then(function (text) { + // TODO allow cascading + text = text.trim().split(/\n/)[0]; + + // TODO rerun the above, disallowing link-style (or count or memoize to prevent infinite loop) + // TODO make safe + packagepath = path.resolve(xconfx.staticpath, text); + if (0 !== packagepath.indexOf(xconfx.staticpath)) { + return securityError; + } + + return express.static(packagepath); + }); + }, function (/*err*/) { + return notConfigured; + }).then(function (handler) { + + // keep object reference intact + localCache.statics[name].handler = handler; + handler(req, res, next); + }); + }; + } + + function staticHelper(appId, opts) { + // TODO inter-process cache expirey + // TODO add to xconfx.staticpath + xconfx.staticpath = path.join(__dirname, '..', '..', 'packages', 'pages'); + return fs.readdirAsync(xconfx.staticpath).then(function (nodes) { + if (opts && opts.clear) { + localCache.statics = {}; + } + + // longest to shortest + function shortToLong(a, b) { + return b.length - a.length; + } + nodes.sort(shortToLong); + + nodes.forEach(function (name) { + if (!localCache.statics[name]) { + localCache.statics[name] = { handler: loadHandler(name), createdAt: Date.now() }; + } + }); + + // Secure Matching + // apple.com#blah# apple.com#blah# + // apple.com.us# apple.com#foo# + // apple.com# apple.com#foo# + nodes.some(function (name) { + if (0 === (name + '#').indexOf(appId + '#')) { + if (appId !== name) { + localCache.statics[appId] = localCache.statics[name]; + } + return true; + } + }); + + if (!localCache.statics[appId]) { + localCache.statics[appId] = { handler: notConfigured, createdAt: Date.now() }; + } + + localCache.staticsKeys = Object.keys(localCache.statics).sort(shortToLong); + return localCache.statics[appId]; + }); + } + + function redirectSetup(reason, req, res/*, next*/) { + var url = 'https://cloud.' + xconfx.primaryDomain; + + if (443 !== xconfx.externalPort) { + url += ':' + xconfx.externalPort; + } + + url += '#referrer=' + reason; + + res.statusCode = 302; + res.setHeader('Location', url); + res.end(); + } + + function serveStatic(req, res, next) { + // If we get this far we can be pretty confident that + // the domain was already set up because it's encrypted + var appId = req.hostname + req.url.replace(/\/+/g, '#').replace(/#$/, ''); + var appIdParts = appId.split('#'); + var appIdPart; + + if (!req.secure) { + // did not come from https + if (/\.(appcache|manifest)\b/.test(req.url)) { + require('./unbrick-appcache').unbrick(req, res); + return; + } + return redirectHttps(req, res); + } + + // TODO configuration for allowing www + if (/^www\./.test(req.hostname)) { + // NOTE: acme responder and appcache unbricker must come before scrubTheDub + if (/\.(appcache|manifest)\b/.test(req.url)) { + require('./unbrick-appcache').unbrick(req, res); + return; + } + require('./no-www').scrubTheDub(req, res); + return; + } + /* + if (!redirectives && config.redirects) { + redirectives = require('./hostname-redirects').compile(config.redirects); + } + */ + + // TODO assets.example.com/sub/assets/com.example.xyz/ + if (/^api\./.test(req.hostname) && /\/api(\/|$)/.test(req.url)) { + // supports api.example.com/sub/app/api/com.example.xyz/ + if (!apiApp) { + apiApp = require('./apis').create(xconfx, apiFactories, apiDeps); + } + apiApp(req, res, next); + return; + } + + while (appIdParts.length) { + // TODO needs IPC to expire cache + appIdPart = appIdParts.join('#'); + if (localCache.statics[appIdPart]) { + break; + } + // TODO test via staticsKeys + + appIdParts.pop(); + } + + if (!appIdPart || !localCache.statics[appIdPart]) { + return staticHelper(appId).then(function () { + localCache.statics[appId].handler(req, res, next); + }); + } + + localCache.statics[appIdPart].handler(req, res, next); + if (Date.now() - localCache.statics[appIdPart].createdAt > (5 * 60 * 1000)) { + staticHelper(appId, { clear: true }); + } + } + + app.use('/', serveStatic); + + return PromiseA.resolve(); +}; diff --git a/lib/master.js b/lib/master.js index 5b79575..916f1a6 100644 --- a/lib/master.js +++ b/lib/master.js @@ -2,18 +2,17 @@ var cluster = require('cluster'); var PromiseA = require('bluebird'); -// TODO -// var rootMasterKey; function init(conf, state) { + var newConf = {}; if (!conf.ipcKey) { - conf.ipcKey = require('crypto').randomBytes(16).toString('base64'); + conf.ipcKey = newConf.ipcKey = require('crypto').randomBytes(16).toString('base64'); } if (!conf.sqlite3Sock) { - conf.sqlite3Sock = '/tmp/sqlite3.' + require('crypto').randomBytes(4).toString('hex') + '.sock'; + conf.sqlite3Sock = newConf.sqlite3Sock = '/tmp/sqlite3.' + require('crypto').randomBytes(4).toString('hex') + '.sock'; } if (!conf.memstoreSock) { - conf.memstoreSock = '/tmp/memstore.' + require('crypto').randomBytes(4).toString('hex') + '.sock'; + conf.memstoreSock = newConf.memstoreSock = '/tmp/memstore.' + require('crypto').randomBytes(4).toString('hex') + '.sock'; } try { @@ -49,15 +48,14 @@ function init(conf, state) { verbose: null , sock: conf.sqlite3Sock , ipcKey: conf.ipcKey - }) + })/*.then(function () { + var sqlite3 = require('sqlite3-cluster/client'); + return sqliet3.createClientFactory(...); + })*/ ]).then(function (args) { state.memstore = args[0]; - state.sqlstore = args[1]; - return { - conf: conf - , memstore: args[0] - , sqlstore: args[1] - }; + //state.sqlstore = args[1]; + return newConf; }); return promise; @@ -69,10 +67,10 @@ function touch(conf, state) { } // TODO if no xyz worker, start on xyz worker (unlock, for example) - return state.initialize.then(function () { + return state.initialize.then(function (newConf) { // TODO conf.locked = true|false; conf.initialized = true; - return conf; + return newConf; }); } diff --git a/lib/package-server-apis.js b/lib/package-server-apis.js new file mode 100644 index 0000000..945933b --- /dev/null +++ b/lib/package-server-apis.js @@ -0,0 +1,215 @@ +'use strict'; + +var escapeStringRegexp = require('escape-string-regexp'); +//var apiHandlers = {}; + +function getApi(conf, pkgConf, pkgDeps, packagedApi) { + var PromiseA = pkgDeps.Promise; + var path = require('path'); + var pkgpath = path.join(pkgConf.apipath, packagedApi.id/*, (packagedApi.api.version || '')*/); + + // TODO needs some version stuff (which would also allow hot-loading of updates) + // TODO version could be tied to sha256sum + + return new PromiseA(function (resolve, reject) { + var myApp; + var ursa; + var promise; + + // TODO dynamic requires are a no-no + // can we statically generate a require-er? on each install? + // module.exports = { {{pkgpath}}: function () { return require({{pkgpath}}) } } + // requirer[pkgpath]() + myApp = pkgDeps.express(); + myApp.disable('x-powered-by'); + if (pkgDeps.app.get('trust proxy')) { + myApp.set('trust proxy', pkgDeps.app.get('trust proxy')); + } + if (!pkgConf.pubkey) { + /* + return ursa.createPrivateKey(pem, password, encoding); + var pem = myKey.toPrivatePem(); + return jwt.verifyAsync(token, myKey.toPublicPem(), { ignoreExpiration: false && true }).then(function (decoded) { + }); + */ + ursa = require('ursa'); + pkgConf.keypair = ursa.createPrivateKey(pkgConf.privkey, 'ascii'); + pkgConf.pubkey = ursa.createPublicKey(pkgConf.pubkey, 'ascii'); //conf.keypair.toPublicKey(); + } + + try { + packagedApi._apipkg = require(path.join(pkgpath, 'package.json')); + packagedApi._apiname = packagedApi._apipkg.name; + if (packagedApi._apipkg.walnut) { + pkgpath += '/' + packagedApi._apipkg.walnut; + } + promise = PromiseA.resolve(require(pkgpath).create(pkgConf, pkgDeps, myApp)); + } catch(e) { + reject(e); + return; + } + + promise.then(function () { + // TODO give pub/priv pair for app and all public keys + // packagedApi._api = require(pkgpath).create(pkgConf, pkgDeps, myApp); + packagedApi._api = require('express-lazy')(); + packagedApi._api_app = myApp; + + //require('./oauth3-auth').inject(conf, packagedApi._api, pkgConf, pkgDeps); + pkgDeps.getOauth3Controllers = + packagedApi._getOauth3Controllers = require('oauthcommon/example-oauthmodels').create(conf).getControllers; + require('oauthcommon').inject(packagedApi._getOauth3Controllers, packagedApi._api, pkgConf, pkgDeps); + + // DEBUG + // + /* + packagedApi._api.use('/', function (req, res, next) { + console.log('[DEBUG pkgApiApp]', req.method, req.hostname, req.url); + next(); + }); + //*/ + + // TODO fix backwards compat + + // /api/com.example.foo (no change) + packagedApi._api.use('/', packagedApi._api_app); + + // /api/com.example.foo => /api + packagedApi._api.use('/', function (req, res, next) { + var priorUrl = req.url; + req.url = '/api' + req.url.slice(('/api/' + packagedApi.id).length); + // console.log('api mangle 3:', req.url); + packagedApi._api_app(req, res, function (err) { + req.url = priorUrl; + next(err); + }); + }); + + // /api/com.example.foo => / + packagedApi._api.use('/api/' + packagedApi.id, function (req, res, next) { + // console.log('api mangle 2:', '/api/' + packagedApi.id, req.url); + // console.log(packagedApi._api_app.toString()); + packagedApi._api_app(req, res, next); + }); + + resolve(packagedApi._api); + }, reject); + }); +} + +function loadApi(conf, pkgConf, pkgDeps, packagedApi) { + function handlePromise(p) { + return p.then(function (api) { + packagedApi._api = api; + return api; + }); + } + + if (!packagedApi._promise_api) { + packagedApi._promise_api = getApi(conf, pkgConf, pkgDeps, packagedApi); + } + + return handlePromise(packagedApi._promise_api); +} + +function runApi(opts, router, req, res, next) { + var path = require('path'); + var pkgConf = opts.config; + var pkgDeps = opts.deps; + //var Services = opts.Services; + var packagedApi; + var pathname; + + // TODO compile packagesMap + // TODO people may want to use the framework in a non-framework way (i.e. to conceal the module name) + router.packagedApis.some(function (_packagedApi) { + // console.log('[DEBUG _packagedApi.id]', _packagedApi.id); + pathname = router.pathname; + if ('/' === pathname) { + pathname = ''; + } + // TODO allow for special apis that do not follow convention (.well_known, webfinger, oauth3.html, etc) + if (!_packagedApi._api_re) { + _packagedApi._api_re = new RegExp(escapeStringRegexp(pathname + '/api/' + _packagedApi.id) + '\/([\\w\\.\\-]+)(\\/|\\?|$)'); + //console.log('[api re 2]', _packagedApi._api_re); + } + if (_packagedApi._api_re.test(req.url)) { + packagedApi = _packagedApi; + return true; + } + }); + + if (!packagedApi) { + console.log("[ODD] no api for '" + req.url + "'"); + next(); + return; + } + + // Reaching this point means that there are APIs for this pathname + // it is important to identify this host + pathname (example.com/foo) as the app + Object.defineProperty(req, 'experienceId', { + enumerable: true + , configurable: false + , writable: false + // TODO this identifier may need to be non-deterministic as to transfer if a domain name changes but is still the "same" app + // (i.e. a company name change. maybe auto vs manual register - just like oauth3?) + // NOTE: probably best to alias the name logically + , value: (path.join(req.hostname, pathname || '')).replace(/\/$/, '') + }); + Object.defineProperty(req, 'escapedExperienceId', { + enumerable: true + , configurable: false + , writable: false + // TODO this identifier may need to be non-deterministic as to transfer if a domain name changes but is still the "same" app + // (i.e. a company name change. maybe auto vs manual register - just like oauth3?) + // NOTE: probably best to alias the name logically + , value: req.experienceId.replace(/\//g, ':') + }); + // packageId should mean hash(api.id + host + path) - also called "api" + Object.defineProperty(req, 'packageId', { + enumerable: true + , configurable: false + , writable: false + // TODO this identifier may need to be non-deterministic as to transfer if a domain name changes but is still the "same" app + // (i.e. a company name change. maybe auto vs manual register - just like oauth3?) + // NOTE: probably best to alias the name logically + , value: packagedApi.domain.id + }); + Object.defineProperty(req, 'appConfig', { + enumerable: true + , configurable: false + , writable: false + , value: {} // TODO just the app-scoped config + }); + Object.defineProperty(req, 'appDeps', { + enumerable: true + , configurable: false + , writable: false + , value: {} // TODO app-scoped deps + // i.e. when we need to use things such as stripe id + // without exposing them to the app + }); + + // + // TODO user authentication should go right about here + // + + // + // TODO freeze objects for passing them into app + // + + if (packagedApi._api) { + packagedApi._api(req, res, next); + return; + } + + // console.log("[DEBUG pkgpath]", pkgConf.apipath, packagedApi.id); + loadApi(opts.conf, pkgConf, pkgDeps, packagedApi).then(function (api) { + api(req, res, next); + }, function (err) { + console.error('[App Promise Error]'); + next(err); + }); +} + +module.exports.runApi = runApi; diff --git a/lib/package-server-static.js b/lib/package-server-static.js new file mode 100644 index 0000000..44997c7 --- /dev/null +++ b/lib/package-server-static.js @@ -0,0 +1,87 @@ +'use strict'; + +var staticHandlers = {}; + +function loadPages(pkgConf, packagedPage, req, res, next) { + var PromiseA = require('bluebird'); + var fs = require('fs'); + var path = require('path'); + var pkgpath = path.join(pkgConf.pagespath, (packagedPage.package || packagedPage.id), (packagedPage.version || '')); + + // TODO special cases for /.well_known/ and similar (oauth3.html, oauth3.json, webfinger, etc) + + function handlePromise(p) { + p.then(function (app) { + app(req, res, next); + packagedPage._page = app; + }, function (err) { + console.error('[App Promise Error]'); + next(err); + }); + } + + if (staticHandlers[pkgpath]) { + packagedPage._page = staticHandlers[pkgpath]; + packagedPage._page(req, res, next); + return; + } + + if (!packagedPage._promise_page) { + packagedPage._promise_page = new PromiseA(function (resolve, reject) { + fs.exists(pkgpath, function (exists) { + var staticServer; + + if (!exists) { + reject(new Error("package '" + pkgpath + "' is registered but does not exist")); + return; + } + + //console.log('[static mount]', pkgpath); + // https://github.com/expressjs/serve-static/issues/54 + // https://github.com/pillarjs/send/issues/91 + // https://example.com/.well-known/acme-challenge/xxxxxxxxxxxxxxx + staticServer = require('serve-static')(pkgpath, { dotfiles: undefined }); + resolve(staticServer); + }); + }); + } + + handlePromise(packagedPage._promise_page); +} + +function layerItUp(pkgConf, router, req, res, next) { + var nexti = -1; + // Layers exist so that static apps can use them like a virtual filesystem + // i.e. oauth3.html isn't in *your* app but you may use it and want it mounted at /.well-known/oauth3.html + // or perhaps some dynamic content (like application cache) + function nextify(err) { + var packagedPage; + nexti += 1; + + if (err) { + next(err); + return; + } + + // shortest to longest + //route = packages.pop(); + // longest to shortest + packagedPage = router.packagedPages[nexti]; + if (!packagedPage) { + next(); + return; + } + + if (packagedPage._page) { + packagedPage._page(req, res, nextify); + return; + } + + // could attach to req.{ pkgConf, pkgDeps, Services} + loadPages(pkgConf, packagedPage, req, res, next); + } + + nextify(); +} + +module.exports.layerItUp = layerItUp; diff --git a/lib/package-server.js b/lib/package-server.js index d1451c0..6a2488b 100644 --- a/lib/package-server.js +++ b/lib/package-server.js @@ -1,8 +1,8 @@ 'use strict'; var escapeStringRegexp = require('escape-string-regexp'); -var staticHandlers = {}; -//var apiHandlers = {}; +var runApi = require('./package-server-apis').runApi; +var layerItUp = require('./package-server-static').layerItUp; function compileVhosts(vhostsMap) { var results = { @@ -62,297 +62,6 @@ function compileVhosts(vhostsMap) { return results; } -function loadPages(pkgConf, packagedPage, req, res, next) { - var PromiseA = require('bluebird'); - var fs = require('fs'); - var path = require('path'); - var pkgpath = path.join(pkgConf.pagespath, (packagedPage.package || packagedPage.id), (packagedPage.version || '')); - - // TODO special cases for /.well_known/ and similar (oauth3.html, oauth3.json, webfinger, etc) - - function handlePromise(p) { - p.then(function (app) { - app(req, res, next); - packagedPage._page = app; - }, function (err) { - console.error('[App Promise Error]'); - next(err); - }); - } - - if (staticHandlers[pkgpath]) { - packagedPage._page = staticHandlers[pkgpath]; - packagedPage._page(req, res, next); - return; - } - - if (!packagedPage._promise_page) { - packagedPage._promise_page = new PromiseA(function (resolve, reject) { - fs.exists(pkgpath, function (exists) { - var staticServer; - - if (!exists) { - reject(new Error("package '" + pkgpath + "' is registered but does not exist")); - return; - } - - //console.log('[static mount]', pkgpath); - // https://github.com/expressjs/serve-static/issues/54 - // https://github.com/pillarjs/send/issues/91 - // https://example.com/.well-known/acme-challenge/xxxxxxxxxxxxxxx - staticServer = require('serve-static')(pkgpath, { dotfiles: undefined }); - resolve(staticServer); - }); - }); - } - - handlePromise(packagedPage._promise_page); -} - -function getApi(conf, pkgConf, pkgDeps, packagedApi) { - var PromiseA = pkgDeps.Promise; - var path = require('path'); - var pkgpath = path.join(pkgConf.apipath, packagedApi.id/*, (packagedApi.api.version || '')*/); - - // TODO needs some version stuff (which would also allow hot-loading of updates) - // TODO version could be tied to sha256sum - - return new PromiseA(function (resolve, reject) { - var myApp; - var ursa; - var promise; - - // TODO dynamic requires are a no-no - // can we statically generate a require-er? on each install? - // module.exports = { {{pkgpath}}: function () { return require({{pkgpath}}) } } - // requirer[pkgpath]() - myApp = pkgDeps.express(); - myApp.disable('x-powered-by'); - if (pkgDeps.app.get('trust proxy')) { - myApp.set('trust proxy', pkgDeps.app.get('trust proxy')); - } - if (!pkgConf.pubkey) { - /* - return ursa.createPrivateKey(pem, password, encoding); - var pem = myKey.toPrivatePem(); - return jwt.verifyAsync(token, myKey.toPublicPem(), { ignoreExpiration: false && true }).then(function (decoded) { - }); - */ - ursa = require('ursa'); - pkgConf.keypair = ursa.createPrivateKey(pkgConf.privkey, 'ascii'); - pkgConf.pubkey = ursa.createPublicKey(pkgConf.pubkey, 'ascii'); //conf.keypair.toPublicKey(); - } - - try { - packagedApi._apipkg = require(path.join(pkgpath, 'package.json')); - packagedApi._apiname = packagedApi._apipkg.name; - if (packagedApi._apipkg.walnut) { - pkgpath += '/' + packagedApi._apipkg.walnut; - } - promise = PromiseA.resolve(require(pkgpath).create(pkgConf, pkgDeps, myApp)); - } catch(e) { - reject(e); - return; - } - - promise.then(function () { - // TODO give pub/priv pair for app and all public keys - // packagedApi._api = require(pkgpath).create(pkgConf, pkgDeps, myApp); - packagedApi._api = require('express-lazy')(); - packagedApi._api_app = myApp; - - //require('./oauth3-auth').inject(conf, packagedApi._api, pkgConf, pkgDeps); - pkgDeps.getOauth3Controllers = - packagedApi._getOauth3Controllers = require('oauthcommon/example-oauthmodels').create(conf).getControllers; - require('oauthcommon').inject(packagedApi._getOauth3Controllers, packagedApi._api, pkgConf, pkgDeps); - - // DEBUG - // - /* - packagedApi._api.use('/', function (req, res, next) { - console.log('[DEBUG pkgApiApp]', req.method, req.hostname, req.url); - next(); - }); - //*/ - - // TODO fix backwards compat - - // /api/com.example.foo (no change) - packagedApi._api.use('/', packagedApi._api_app); - - // /api/com.example.foo => /api - packagedApi._api.use('/', function (req, res, next) { - var priorUrl = req.url; - req.url = '/api' + req.url.slice(('/api/' + packagedApi.id).length); - // console.log('api mangle 3:', req.url); - packagedApi._api_app(req, res, function (err) { - req.url = priorUrl; - next(err); - }); - }); - - // /api/com.example.foo => / - packagedApi._api.use('/api/' + packagedApi.id, function (req, res, next) { - // console.log('api mangle 2:', '/api/' + packagedApi.id, req.url); - // console.log(packagedApi._api_app.toString()); - packagedApi._api_app(req, res, next); - }); - - resolve(packagedApi._api); - }, reject); - }); -} - -function loadApi(conf, pkgConf, pkgDeps, packagedApi) { - function handlePromise(p) { - return p.then(function (api) { - packagedApi._api = api; - return api; - }); - } - - if (!packagedApi._promise_api) { - packagedApi._promise_api = getApi(conf, pkgConf, pkgDeps, packagedApi); - } - - return handlePromise(packagedApi._promise_api); -} - -function layerItUp(pkgConf, router, req, res, next) { - var nexti = -1; - // Layers exist so that static apps can use them like a virtual filesystem - // i.e. oauth3.html isn't in *your* app but you may use it and want it mounted at /.well-known/oauth3.html - // or perhaps some dynamic content (like application cache) - function nextify(err) { - var packagedPage; - nexti += 1; - - if (err) { - next(err); - return; - } - - // shortest to longest - //route = packages.pop(); - // longest to shortest - packagedPage = router.packagedPages[nexti]; - if (!packagedPage) { - next(); - return; - } - - if (packagedPage._page) { - packagedPage._page(req, res, nextify); - return; - } - - // could attach to req.{ pkgConf, pkgDeps, Services} - loadPages(pkgConf, packagedPage, req, res, next); - } - - nextify(); -} - -function runApi(opts, router, req, res, next) { - var path = require('path'); - var pkgConf = opts.config; - var pkgDeps = opts.deps; - //var Services = opts.Services; - var packagedApi; - var pathname; - - // TODO compile packagesMap - // TODO people may want to use the framework in a non-framework way (i.e. to conceal the module name) - router.packagedApis.some(function (_packagedApi) { - // console.log('[DEBUG _packagedApi.id]', _packagedApi.id); - pathname = router.pathname; - if ('/' === pathname) { - pathname = ''; - } - // TODO allow for special apis that do not follow convention (.well_known, webfinger, oauth3.html, etc) - if (!_packagedApi._api_re) { - _packagedApi._api_re = new RegExp(escapeStringRegexp(pathname + '/api/' + _packagedApi.id) + '\/([\\w\\.\\-]+)(\\/|\\?|$)'); - //console.log('[api re 2]', _packagedApi._api_re); - } - if (_packagedApi._api_re.test(req.url)) { - packagedApi = _packagedApi; - return true; - } - }); - - if (!packagedApi) { - console.log("[ODD] no api for '" + req.url + "'"); - next(); - return; - } - - // Reaching this point means that there are APIs for this pathname - // it is important to identify this host + pathname (example.com/foo) as the app - Object.defineProperty(req, 'experienceId', { - enumerable: true - , configurable: false - , writable: false - // TODO this identifier may need to be non-deterministic as to transfer if a domain name changes but is still the "same" app - // (i.e. a company name change. maybe auto vs manual register - just like oauth3?) - // NOTE: probably best to alias the name logically - , value: (path.join(req.hostname, pathname || '')).replace(/\/$/, '') - }); - Object.defineProperty(req, 'escapedExperienceId', { - enumerable: true - , configurable: false - , writable: false - // TODO this identifier may need to be non-deterministic as to transfer if a domain name changes but is still the "same" app - // (i.e. a company name change. maybe auto vs manual register - just like oauth3?) - // NOTE: probably best to alias the name logically - , value: req.experienceId.replace(/\//g, ':') - }); - // packageId should mean hash(api.id + host + path) - also called "api" - Object.defineProperty(req, 'packageId', { - enumerable: true - , configurable: false - , writable: false - // TODO this identifier may need to be non-deterministic as to transfer if a domain name changes but is still the "same" app - // (i.e. a company name change. maybe auto vs manual register - just like oauth3?) - // NOTE: probably best to alias the name logically - , value: packagedApi.domain.id - }); - Object.defineProperty(req, 'appConfig', { - enumerable: true - , configurable: false - , writable: false - , value: {} // TODO just the app-scoped config - }); - Object.defineProperty(req, 'appDeps', { - enumerable: true - , configurable: false - , writable: false - , value: {} // TODO app-scoped deps - // i.e. when we need to use things such as stripe id - // without exposing them to the app - }); - - // - // TODO user authentication should go right about here - // - - // - // TODO freeze objects for passing them into app - // - - if (packagedApi._api) { - packagedApi._api(req, res, next); - return; - } - - // console.log("[DEBUG pkgpath]", pkgConf.apipath, packagedApi.id); - loadApi(opts.conf, pkgConf, pkgDeps, packagedApi).then(function (api) { - api(req, res, next); - }, function (err) { - console.error('[App Promise Error]'); - next(err); - }); -} - function mapToApp(opts, req, res, next) { // opts = { config, deps, services } var vhost; @@ -450,6 +159,5 @@ function mapToApp(opts, req, res, next) { return runApi(opts, router, req, res, next); } -module.exports.runApi = runApi; module.exports.compileVhosts = compileVhosts; module.exports.mapToApp = mapToApp; diff --git a/lib/worker.js b/lib/worker.js index dea2221..08cc48c 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -1,137 +1,50 @@ 'use strict'; -module.exports.create = function (webserver, conf, state) { +module.exports.create = function (webserver, xconfx, state) { + console.log('DEBUG create worker'); + if (!state) { state = {}; } var PromiseA = state.Promise || require('bluebird'); - var path = require('path'); - //var vhostsdir = path.join(__dirname, 'vhosts'); - var express = require('express-lazy'); - var app = express(); var memstore; var sqlstores = {}; - var models = {}; var systemFactory = require('sqlite3-cluster/client').createClientFactory({ - dirname: path.join(__dirname, '..', '..', 'var') // TODO conf - , prefix: 'com.example.' + dirname: xconfx.varpath + , prefix: 'com.daplie.walnut.' //, dbname: 'config' , suffix: '' , ext: '.sqlite3' - , sock: conf.sqlite3Sock - , ipcKey: conf.ipcKey + , sock: xconfx.sqlite3Sock + , ipcKey: xconfx.ipcKey }); + /* var clientFactory = require('sqlite3-cluster/client').createClientFactory({ algorithm: 'aes' , bits: 128 , mode: 'cbc' - , dirname: path.join(__dirname, '..', '..', 'var') // TODO conf - , prefix: 'com.example.' + , dirname: xconfx.varpath // TODO conf + , prefix: 'com.daplie.walnut.' //, dbname: 'cluster' , suffix: '' , ext: '.sqlcipher' - , sock: conf.sqlite3Sock - , ipcKey: conf.ipcKey + , sock: xconfx.sqlite3Sock + , ipcKey: xconfx.ipcKey }); - var cstore = require('cluster-store'); - var redirectives; - - app.disable('x-powered-by'); - if (conf.trustProxy) { - console.info('[Trust Proxy]'); - app.set('trust proxy', ['loopback']); - //app.set('trust proxy', function (ip) { console.log('[ip]', ip); return true; }); - } else { - console.info('[DO NOT trust proxy]'); - // TODO make sure the gzip module loads if there isn't a proxy gzip-ing for us - // app.use(compression()) - } - - /* - function unlockDevice(conf, state) { - return require('./lib/unlock-device').create().then(function (result) { - result.promise.then(function (_rootMasterKey) { - process.send({ - type: 'walnut.keys.root' - conf: { - rootMasterKey: _rootMasterkey - } - }); - conf.locked = false; - if (state.caddy) { - state.caddy.update(conf); - } - conf.rootMasterKey = _rootMasterKey; - }); - - return result.app; - }); - } */ - - // TODO handle insecure to actual redirect - // blog.coolaj86.com -> coolaj86.com/blog - // hmm... that won't really matter with hsts - // I guess I just needs letsencrypt - - function scrubTheDub(req, res, next) { - var host = req.hostname; - - if (!host || 'string' !== typeof host) { - next(); - return; - } - - // TODO test if this is even necessary - host = host.toLowerCase(); - - // TODO this should be hot loadable / changeable - if (!redirectives && conf.redirects) { - redirectives = require('./hostname-redirects').compile(conf.redirects); - } - - if (!/^www\./.test(host) && !redirectives) { - next(); - return; - } - - // TODO misnomer, handles all exact redirects - if (!require('./no-www').scrubTheDub(req, res, redirectives)) { - next(); - return; - } - } - - function caddyBugfix(req, res, next) { - // workaround for Caddy - // https://github.com/mholt/caddy/issues/341 - if (app.get('trust proxy')) { - if (req.headers['x-forwarded-proto']) { - req.headers['x-forwarded-proto'] = (req.headers['x-forwarded-proto'] || '').split(/,\s+/g)[0] || undefined; - } - if (req.headers['x-forwarded-host']) { - req.headers['x-forwarded-host'] = (req.headers['x-forwarded-host'] || '').split(/,\s+/g)[0] || undefined; - } - } - - next(); - } - - // TODO misnomer, this can handle nowww, yeswww, and exact hostname redirects - app.use('/', scrubTheDub); - app.use('/', caddyBugfix); + var cstore = require('cluster-store'); return PromiseA.all([ // TODO security on memstore // TODO memstoreFactory.create cstore.create({ - sock: conf.memstoreSock - , connect: conf.memstoreSock + sock: xconfx.memstoreSock + , connect: xconfx.memstoreSock // TODO implement - , key: conf.ipcKey + , key: xconfx.ipcKey }).then(function (_memstore) { - memstore = _memstore; + memstore = PromiseA.promisifyAll(_memstore); return memstore; }) // TODO mark a device as lost, stolen, missing in DNS records @@ -140,101 +53,127 @@ module.exports.create = function (webserver, conf, state) { init: true , dbname: 'config' }) - , clientFactory.create({ - init: true - , key: '00000000000000000000000000000000' - // TODO only complain if the values are different - //, algo: 'aes' - , dbname: 'auth' - }) - , clientFactory.create({ - init: false - , dbname: 'system' - }) ]).then(function (args) { memstore = args[0]; sqlstores.config = args[1]; - sqlstores.auth = args[2]; - sqlstores.system = args[3]; - sqlstores.create = clientFactory.create; - return require('../lib/schemes-config').create(sqlstores.config).then(function (tables) { - models.Config = tables; - return models.Config.Config.get().then(function (vhostsMap) { - // TODO the core needs to be replacable in one shot - // rm -rf /tmp/walnut/; tar xvf -C /tmp/walnut/; mv /srv/walnut /srv/walnut.{{version}}; mv /tmp/walnut /srv/ - // this means that any packages must be outside, perhaps /srv/walnut/{boot,core,packages} - var pkgConf = { - pagespath: path.join(__dirname, '..', '..', 'packages', 'pages') + path.sep - , apipath: path.join(__dirname, '..', '..', 'packages', 'apis') + path.sep - , servicespath: path.join(__dirname, '..', '..', 'packages', 'services') - , vhostsMap: vhostsMap - , vhostPatterns: null - , server: webserver - , externalPort: conf.externalPort - , privkey: conf.privkey - , pubkey: conf.pubkey - , redirects: conf.redirects - , apiPrefix: '/api' - , 'org.oauth3.consumer': conf['org.oauth3.consumer'] - , 'org.oauth3.provider': conf['org.oauth3.provider'] - , keys: conf.keys - }; - var pkgDeps = { - memstore: memstore - , sqlstores: sqlstores - , clientSqlFactory: clientFactory - , systemSqlFactory: systemFactory - //, handlePromise: require('./lib/common').promisableRequest; - //, handleRejection: require('./lib/common').rejectableRequest; - //, localPort: conf.localPort - , Promise: PromiseA - , express: express - , app: app - //, oauthmodels: require('oauthcommon/example-oauthmodels').create(conf) - }; - var Services = require('./services-loader').create(pkgConf, { - memstore: memstore - , sqlstores: sqlstores - , clientSqlFactory: clientFactory - , systemSqlFactory: systemFactory - , Promise: PromiseA - }); - var recase = require('connect-recase')({ - // TODO allow explicit and or default flag - explicit: false - , default: 'snake' - , prefixes: ['/api'] - // TODO allow exclude - //, exclusions: [config.oauthPrefix] - , exceptions: {} - //, cancelParam: 'camel' - }); + var wrap = require('masterquest-sqlite3'); + var dir = [ + { tablename: 'com_daplie_walnut_config' + , idname: 'id' + , unique: [ 'id' ] + , indices: [ 'createdAt', 'updatedAt' ] + } + , { tablename: 'com_daplie_walnut_redirects' + , idname: 'id' // blog.example.com:sample.net/blog + , unique: [ 'id' ] + , indices: [ 'createdAt', 'updatedAt' ] + } + ]; - function handlePackages(req, res, next) { - // TODO move to caddy parser? - if (/(^|\.)proxyable\./.test(req.hostname)) { - // device-id-12345678.proxyable.myapp.mydomain.com => myapp.mydomain.com - // proxyable.myapp.mydomain.com => myapp.mydomain.com - // TODO myapp.mydomain.com.example.proxyable.com => myapp.mydomain.com - req.hostname = req.hostname.replace(/.*\.?proxyable\./, ''); - } - - require('./package-server').mapToApp({ - config: pkgConf - , deps: pkgDeps - , services: Services - , conf: conf - }, req, res, next); + function scopeMemstore(expId) { + var scope = expId + '|'; + return { + getAsync: function (id) { + return memstore.getAsync(scope + id); + } + , setAsync: function (id, data) { + return memstore.setAsync(scope + id, data); + } + , touchAsync: function (id, data) { + return memstore.touchAsync(scope + id, data); + } + , destroyAsync: function (id) { + return memstore.destroyAsync(scope + id); } - // TODO recase + // helpers + , allAsync: function () { + return memstore.allASync().then(function (db) { + return Object.keys(db).filter(function (key) { + return 0 === key.indexOf(scope); + }).map(function (key) { + return db[key]; + }); + }); + } + , lengthAsync: function () { + return memstore.allASync().then(function (db) { + return Object.keys(db).filter(function (key) { + return 0 === key.indexOf(scope); + }).length; + }); + } + , clearAsync: function () { + return memstore.allASync().then(function (db) { + return Object.keys(db).filter(function (key) { + return 0 === key.indexOf(scope); + }).map(function (key) { + return memstore.destroyAsync(key); + }); + }).then(function () { + return null; + }); + } + }; + } - // - // Generic Template API - // - app - .use('/api', require('body-parser').json({ + return wrap.wrap(sqlstores.config, dir).then(function (models) { + return models.ComDaplieWalnutConfig.find(null, { limit: 100 }).then(function (results) { + return models.ComDaplieWalnutConfig.find(null, { limit: 10000 }).then(function (redirects) { + var express = require('express-lazy'); + var app = express(); + var recase = require('connect-recase')({ + // TODO allow explicit and or default flag + explicit: false + , default: 'snake' + , prefixes: ['/api'] + // TODO allow exclude + //, exclusions: [config.oauthPrefix] + , exceptions: {} + //, cancelParam: 'camel' + }); + var bootstrapApp; + var mainApp; + var apiDeps = { + models: models + // TODO don't let packages use this directly + , Promise: PromiseA + }; + var apiFactories = { + memstoreFactory: { create: scopeMemstore } + , systemSqlFactory: systemFactory + }; + + function log(req, res, next) { + console.log('[worker/log]', req.method, req.headers.host, req.url); + next(); + } + + function setupMain() { + mainApp = express(); + require('./main').create(mainApp, xconfx, apiFactories, apiDeps).then(function () { + // TODO process.send({}); + }); + } + + if (!bootstrapApp) { + bootstrapApp = express(); + require('./bootstrap').create(bootstrapApp, xconfx, models).then(function () { + // TODO process.send({}); + setupMain(); + }); + } + + process.on('message', function (data) { + if ('com.daplie.walnut.bootstrap' === data.type) { + setupMain(); + } + }); + + app.disable('x-powered-by'); + app.use('/', log); + app.use('/api', require('body-parser').json({ strict: true // only objects and arrays , inflate: true // limited to due performance issues with JSON.parse and JSON.stringify @@ -244,38 +183,40 @@ module.exports.create = function (webserver, conf, state) { , reviver: undefined , type: 'json' , verify: undefined - })) - // DO NOT allow urlencoded at any point, it is expressly forbidden - //.use(require('body-parser').urlencoded({ - // extended: true - //, inflate: true - //, limit: 100 * 1024 - //, type: 'urlencoded' - //, verify: undefined - //})) - .use(require('connect-send-error').error()) - ; + })); + app.use('/api', recase); - app.use('/api', recase); + app.use('/', function (req, res) { + if (!req.secure) { + // did not come from https + if (/\.(appcache|manifest)\b/.test(req.url)) { + require('./unbrick-appcache').unbrick(req, res); + return; + } + } - app.use('/', handlePackages); - app.use('/', function (err, req, res, next) { - console.error('[Error Handler]'); - console.error(err.stack); - if (req.xhr) { - res.send({ error: { message: "kinda unknownish error" } }); - } else { - res.send('ERRORError'); - } + if (xconfx.lex && /\.well-known\/acme-challenge\//.test(req.url)) { + var LEX = require('letsencrypt-express'); + xconfx.lex.debug = true; + xconfx.acmeResponder = xconfx.acmeResponder || LEX.createAcmeResponder(xconfx.lex/*, next*/); + xconfx.acmeResponder(req, res); + return; + } - // sadly express uses arity checking - // so the fourth parameter must exist - if (false) { - next(); - } + // TODO check https://letsencrypt.status.io to see if https certification is not available + + if (mainApp) { + mainApp(req, res); + return; + } + else { + bootstrapApp(req, res); + return; + } + }); + + return app; }); - - return app; }); }); }); diff --git a/setup-dev-deps.sh b/setup-dev-deps.sh new file mode 100644 index 0000000..9656e17 --- /dev/null +++ b/setup-dev-deps.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +pushd node_modules/authentication-microservice/ || git clone git@github.com:coolaj86/node-authentication-microservice node_modules/authentication-microservice + git pull +popd + +pushd node_modules/oauthclient-microservice/ || git clone git@github.com:OAuth3/node-oauth3clients.git node_modules/oauthclient-microservice + git pull +popd + +pushd node_modules/oauthcommon/ || git clone git@github.com:coolaj86/node-oauthcommon.git node_modules/oauthcommon + git pull +popd From e24dd9bac6c7b9fadb6cf7dc00c668be0c0024e4 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 7 Jun 2016 10:49:26 -0400 Subject: [PATCH 04/76] little fixes (typos, missing config, etc) --- boot/master.js | 1 + boot/worker.js | 3 +++ install.sh | 4 +++- lib/apis.js | 4 +++- lib/main.js | 10 ++++++++++ lib/worker.js | 16 ++++++++++++---- package.json | 3 ++- 7 files changed, 34 insertions(+), 7 deletions(-) diff --git a/boot/master.js b/boot/master.js index 8bdfc27..7a97b83 100644 --- a/boot/master.js +++ b/boot/master.js @@ -63,6 +63,7 @@ var info = { , trustProxy: useCaddy ? true : false , lexConf: letsencrypt , varpath: path.join(__dirname, '..', '..', 'var') + , etcpath: path.join(__dirname, '..', '..', 'etc') } }; diff --git a/boot/worker.js b/boot/worker.js index 45dd6c5..8a599fb 100644 --- a/boot/worker.js +++ b/boot/worker.js @@ -46,6 +46,9 @@ module.exports.create = function (opts) { function walkLe(domainname) { var PromiseA = require('bluebird'); + if (!domainname) { + return PromiseA.reject(new Error('no domainname given for walkLe')); + } var fs = PromiseA.promisifyAll(require('fs')); var path = require('path'); var parts = domainname.split('.'); //.replace(/^www\./, '').split('.'); diff --git a/install.sh b/install.sh index 25934bf..4eb6c3d 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,8 @@ #!/bin/bash -sudo mkdir -p /srv/walnut/{certs,core,letsencrypt,lib,config} +sudo mkdir -p /srv/walnut/{certs,core,letsencrypt,lib,etc,config} +sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer +sudo mkdir -p /srv/walnut/etc/org.oauth3.provider sudo mkdir -p /srv/walnut/packages/{api,pages,services} sudo chown -R $(whoami):$(whoami) /srv/walnut diff --git a/lib/apis.js b/lib/apis.js index a9dcaee..24c1263 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -186,7 +186,9 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { // // TODO handle /accounts/:accountId // - return PromiseA.resolve(require(apipath).create({}/*pkgConf*/, deps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { + return PromiseA.resolve(require(apipath).create({ + etcpath: xconfx.etcpath + }/*pkgConf*/, deps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { localCache.pkgs[apiId] = { pkg: pkg, handler: handler || myApp, createdAt: Date.now() }; localCache.pkgs[apiId].handler(req, res, next); }); diff --git a/lib/main.js b/lib/main.js index febe97c..ae14a8e 100644 --- a/lib/main.js +++ b/lib/main.js @@ -87,6 +87,16 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { localCache.le[req.hostname] = { conf: leAuth, createdAt: Date.now() }; redirectHttps(req, res); + }, function (err) { + console.error('[Error] lib/main.js walkLe'); + if (err.stack) { + console.error(err.stack); + } + else { + console.error(new Error('getstack').stack); + console.error(err); + } + res.send({ error: { message: "failed to get tls certificate for '" + (req.hostname || '') + "'" } }); }); } diff --git a/lib/worker.js b/lib/worker.js index 08cc48c..2c606d6 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -89,7 +89,7 @@ module.exports.create = function (webserver, xconfx, state) { // helpers , allAsync: function () { - return memstore.allASync().then(function (db) { + return memstore.allAsync().then(function (db) { return Object.keys(db).filter(function (key) { return 0 === key.indexOf(scope); }).map(function (key) { @@ -98,14 +98,14 @@ module.exports.create = function (webserver, xconfx, state) { }); } , lengthAsync: function () { - return memstore.allASync().then(function (db) { + return memstore.allAsync().then(function (db) { return Object.keys(db).filter(function (key) { return 0 === key.indexOf(scope); }).length; }); } , clearAsync: function () { - return memstore.allASync().then(function (db) { + return memstore.allAsync().then(function (db) { return Object.keys(db).filter(function (key) { return 0 === key.indexOf(scope); }).map(function (key) { @@ -145,8 +145,16 @@ module.exports.create = function (webserver, xconfx, state) { , systemSqlFactory: systemFactory }; + var hostsmap = {}; function log(req, res, next) { - console.log('[worker/log]', req.method, req.headers.host, req.url); + var hostname = (req.hostname || req.headers.host || '').split(':').shift(); + console.log('[worker/log]', req.method, hostname, req.url); + if (hostname && !hostsmap[hostname]) { + hostsmap[hostname] = true; + require('fs').writeFile( + require('path').join(__dirname, '..', '..', 'var', 'hostnames', hostname) + , hostname, function () {}); + } next(); } diff --git a/package.json b/package.json index d29ba9e..43b765b 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "app-scoped-ids": "^1.0.1", "authcodes": "git://github.com/Daplie/authcodes.git", "authenticator": "^1.0.0", - "bluebird": "2.x", + "bluebird": "3.x", "body-parser": "1.x", "btoa": "1.x", "bytes": "^1.0.0", @@ -75,6 +75,7 @@ "finalhandler": "^0.3.4", "foreachasync": "5.x", "fresh": "^0.2.4", + "http2": "^3.3.2", "human-readable-ids": "1.x", "inherits": "^2.0.1", "ipify": "^1.0.5", From 7525b7d0a71ba2b20e697bc6cf82b7dd37b4d30a Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 8 Jun 2016 14:05:10 -0400 Subject: [PATCH 05/76] add CORS to main api --- lib/apis.js | 61 ++++++++++++++++++++++++++++-------------------- lib/bootstrap.js | 7 +++--- lib/main.js | 45 ++++++++++++++++++++++++----------- 3 files changed, 70 insertions(+), 43 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index 24c1263..a1a79ca 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -220,33 +220,44 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { }; } + var CORS = require('connect-cors'); + var cors = CORS({ credentials: true, headers: [ + 'X-Requested-With' + , 'X-HTTP-Method-Override' + , 'Content-Type' + , 'Accept' + , 'Authorization' + ], methods: [ "GET", "POST", "PATCH", "PUT", "DELETE" ] }); + return function (req, res, next) { - var experienceId = req.hostname + req.url.replace(/\/api\/.*/, '/').replace(/\/+/g, '#').replace(/#$/, ''); - var apiId = req.url.replace(/.*\/api\//, '').replace(/\/.*/, ''); + cors(req, res, function () { + var experienceId = req.hostname + req.url.replace(/\/api\/.*/, '/').replace(/\/+/g, '#').replace(/#$/, ''); + var apiId = req.url.replace(/.*\/api\//, '').replace(/\/.*/, ''); - Object.defineProperty(req, 'experienceId', { - enumerable: true - , configurable: false - , writable: false - // TODO this identifier may need to be non-deterministic as to transfer if a domain name changes but is still the "same" app - // (i.e. a company name change. maybe auto vs manual register - just like oauth3?) - // NOTE: probably best to alias the name logically - , value: experienceId + Object.defineProperty(req, 'experienceId', { + enumerable: true + , configurable: false + , writable: false + // TODO this identifier may need to be non-deterministic as to transfer if a domain name changes but is still the "same" app + // (i.e. a company name change. maybe auto vs manual register - just like oauth3?) + // NOTE: probably best to alias the name logically + , value: experienceId + }); + Object.defineProperty(req, 'apiId', { + enumerable: true + , configurable: false + , writable: false + , value: apiId + }); + + if (!localCache.apis[experienceId]) { + localCache.apis[experienceId] = { handler: loadApiHandler(experienceId), createdAt: Date.now() }; + } + + localCache.apis[experienceId].handler(req, res, next); + if (Date.now() - localCache.apis[experienceId].createdAt > (5 * 60 * 1000)) { + localCache.apis[experienceId] = { handler: loadApiHandler(experienceId), createdAt: Date.now() }; + } }); - Object.defineProperty(req, 'apiId', { - enumerable: true - , configurable: false - , writable: false - , value: apiId - }); - - if (!localCache.apis[experienceId]) { - localCache.apis[experienceId] = { handler: loadApiHandler(experienceId), createdAt: Date.now() }; - } - - localCache.apis[experienceId].handler(req, res, next); - if (Date.now() - localCache.apis[experienceId].createdAt > (5 * 60 * 1000)) { - localCache.apis[experienceId] = { handler: loadApiHandler(experienceId), createdAt: Date.now() }; - } }; }; diff --git a/lib/bootstrap.js b/lib/bootstrap.js index f12a9a8..540e55e 100644 --- a/lib/bootstrap.js +++ b/lib/bootstrap.js @@ -48,10 +48,9 @@ module.exports.create = function (app, xconfx, models) { function errorIfNotApi(req, res, next) { // if it's not an ip address - if (/[a-z]+/.test(req.headers.host)) { - if (!/^api\./.test(req.headers.host)) { - console.log('req.headers.host'); - console.log(req.headers.host); + if (/[a-z]+/.test(req.hostname || req.headers.host)) { + if (!/^api\./.test(req.hostname || req.headers.host)) { + console.warn('not API req.headers.host:', req.hostname || req.headers.host); res.send({ error: { message: "no api. subdomain prefix" } }); return; } diff --git a/lib/main.js b/lib/main.js index ae14a8e..0f4d708 100644 --- a/lib/main.js +++ b/lib/main.js @@ -10,6 +10,8 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { var apiApp; var setupDomain = xconfx.setupDomain = ('cloud.' + xconfx.primaryDomain); var setupApp; + var CORS; + var cors; function redirectHttpsHelper(req, res) { var host = req.hostname || req.headers.host || ''; @@ -58,6 +60,20 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { res.end(metaRedirect); } + function redirectSetup(reason, req, res/*, next*/) { + var url = 'https://cloud.' + xconfx.primaryDomain; + + if (443 !== xconfx.externalPort) { + url += ':' + xconfx.externalPort; + } + + url += '#referrer=' + reason; + + res.statusCode = 302; + res.setHeader('Location', url); + res.end(); + } + function redirectHttps(req, res) { if (localCache.le[req.hostname]) { if (localCache.le[req.hostname].conf) { @@ -222,20 +238,6 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { }); } - function redirectSetup(reason, req, res/*, next*/) { - var url = 'https://cloud.' + xconfx.primaryDomain; - - if (443 !== xconfx.externalPort) { - url += ':' + xconfx.externalPort; - } - - url += '#referrer=' + reason; - - res.statusCode = 302; - res.setHeader('Location', url); - res.end(); - } - function serveStatic(req, res, next) { // If we get this far we can be pretty confident that // the domain was already set up because it's encrypted @@ -274,6 +276,21 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { if (!apiApp) { apiApp = require('./apis').create(xconfx, apiFactories, apiDeps); } + + if (/^OPTIONS$/i.test(req.method)) { + if (!cors) { + CORS = require('connect-cors'); + cors = CORS({ credentials: true, headers: [ + 'X-Requested-With' + , 'X-HTTP-Method-Override' + , 'Content-Type' + , 'Accept' + , 'Authorization' + ], methods: [ "GET", "POST", "PATCH", "PUT", "DELETE" ] }); + } + cors(req, res, apiApp); + } + apiApp(req, res, next); return; } From 54fe53dbfb7ec0f9a84952eb65e38d1198077c7e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 4 May 2017 23:09:56 -0600 Subject: [PATCH 06/76] removed letsencrypt and other --- boot/local-server.js | 59 ---------- boot/master.js | 40 +------ boot/worker.js | 271 ++++++++++++++----------------------------- lib/main.js | 99 +--------------- lib/master.js | 16 ++- lib/sni-server.js | 58 --------- lib/spawn-caddy.js | 159 ------------------------- lib/worker.js | 13 +-- walnut.js | 8 +- 9 files changed, 116 insertions(+), 607 deletions(-) delete mode 100644 boot/local-server.js delete mode 100644 lib/sni-server.js delete mode 100644 lib/spawn-caddy.js diff --git a/boot/local-server.js b/boot/local-server.js deleted file mode 100644 index ae203ee..0000000 --- a/boot/local-server.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; - -// Note the odd use of callbacks (instead of promises) here -// It's to avoid loading bluebird yet (see sni-server.js for explanation) -module.exports.create = function (lex, certPaths, port, conf, serverCallback) { - function initServer(err, server) { - var app; - var promiseApp; - - if (err) { - serverCallback(err); - return; - } - - server.on('error', serverCallback); - server.listen(port, function () { - // is it even theoritically possible for - // a request to come in before this callback has fired? - // I'm assuming this event must fire before any request event - promiseApp = serverCallback(null, server); - }); - /* - server.listen(port, '::::', function () { - // is it even theoritically possible for - // a request to come in before this callback has fired? - // I'm assuming this event must fire before any request event - promiseApp = serverCallback(null, server); - }); - */ - - // Get up and listening as absolutely quickly as possible - function onRequest(req, res) { - // this is a hot piece of code, so we cache the result - if (app) { - app(req, res); - return; - } - - promiseApp.then(function (_app) { - console.log('[Server]', req.method, req.host || req.headers['x-forwarded-host'] || req.headers.host, req.url); - app = _app; - app(req, res); - }); - } - - if (lex) { - var LEX = require('letsencrypt-express'); - server.on('request', LEX.createAcmeResponder(lex, onRequest)); - } else { - server.on('request', onRequest); - } - } - - if (certPaths) { - require('../lib/sni-server').create(lex, certPaths, initServer); - } else { - initServer(null, require('http').createServer()); - } -}; diff --git a/boot/master.js b/boot/master.js index 7a97b83..495732c 100644 --- a/boot/master.js +++ b/boot/master.js @@ -29,39 +29,17 @@ var walnut = tryConf( path.join('..', '..', 'config.walnut') , { externalPort: 443 , externalInsecurePort: 80 - , certspath: path.join(__dirname, '..', '..', 'certs', 'live') } ); -var caddy = tryConf( - path.join('..', '..', 'config.caddy') -, { conf: path.join(__dirname, '..', '..', 'Caddyfile') - , bin: null // '/usr/local/bin/caddy' - , sitespath: null // path.join(__dirname, 'sites-enabled') - , locked: false // true - } -); -var letsencrypt = tryConf( - path.join('..', '..', 'config.letsencrypt') -, { configDir: path.join(__dirname, '..', '..', 'letsencrypt') - , email: null - , agreeTos: false - } -); -var useCaddy = caddy.bin && require('fs').existsSync(caddy.bin); + var info = { type: 'walnut.init' , conf: { - protocol: useCaddy ? 'http' : 'https' - , externalPort: walnut.externalPort - , externalPortInsecure: walnut.externalInsecurePort // TODO externalInsecurePort - , localPort: walnut.localPort || (useCaddy ? 4080 : 443) // system / local network - , insecurePort: walnut.insecurePort || (useCaddy ? 80 : 80) // meh - , certPaths: useCaddy ? null : [ - walnut.certspath - , path.join(letsencrypt.configDir, 'live') - ] - , trustProxy: useCaddy ? true : false - , lexConf: letsencrypt + protocol: 'http' + , externalPort: walnut.externalPort || 443 + , externalPortInsecure: walnut.externalInsecurePort || 80 // TODO externalInsecurePort + , localPort: walnut.localPort || 4080 // system / local network + , trustProxy: true , varpath: path.join(__dirname, '..', '..', 'var') , etcpath: path.join(__dirname, '..', '..', 'etc') } @@ -79,11 +57,6 @@ cluster.on('online', function (worker) { if (state.firstRun) { state.firstRun = false; - if (useCaddy) { - caddy = require('../lib/spawn-caddy').create(caddy); - // relies on { localPort, locked } - caddy.spawn(caddy); - } // TODO dyndns in master? } @@ -94,7 +67,6 @@ cluster.on('online', function (worker) { return; } - state.caddy = caddy; state.workers = workers; // calls init if init has not been called require('../lib/master').touch(info.conf, state).then(function (newConf) { diff --git a/boot/worker.js b/boot/worker.js index 8a599fb..3b1223a 100644 --- a/boot/worker.js +++ b/boot/worker.js @@ -1,168 +1,15 @@ 'use strict'; -module.exports.create = function (opts) { +module.exports.create = function () { var id = '0'; var promiseApp; - function createAndBindInsecure(lex, conf, getOrCreateHttpApp) { - // TODO conditional if 80 is being served by caddy - - var appPromise = null; - var app = null; - var http = require('http'); - var insecureServer = http.createServer(); - - function onRequest(req, res) { - if (app) { - app(req, res); - return; - } - - if (!appPromise) { - res.setHeader('Content-Type', 'application/json; charset=utf-8'); - res.end('{ "error": { "code": "E_SANITY_FAIL", "message": "should have an express app, but didn\'t" } }'); - return; - } - - appPromise.then(function (_app) { - appPromise = null; - app = _app; - app(req, res); - }); - } - - insecureServer.listen(conf.insecurePort, function () { - console.info("#" + id + " Listening on http://" - + insecureServer.address().address + ":" + insecureServer.address().port, '\n'); - appPromise = getOrCreateHttpApp(null, insecureServer); - - if (!appPromise) { - throw new Error('appPromise returned nothing'); - } - }); - - insecureServer.on('request', onRequest); - } - - function walkLe(domainname) { - var PromiseA = require('bluebird'); - if (!domainname) { - return PromiseA.reject(new Error('no domainname given for walkLe')); - } - var fs = PromiseA.promisifyAll(require('fs')); - var path = require('path'); - var parts = domainname.split('.'); //.replace(/^www\./, '').split('.'); - var configname = parts.join('.') + '.json'; - var configpath = path.join(__dirname, '..', '..', 'config', configname); - - if (parts.length < 2) { - return PromiseA.resolve(null); - } - - // TODO configpath a la varpath - return fs.readFileAsync(configpath, 'utf8').then(function (text) { - var data = JSON.parse(text); - data.name = configname; - return data; - }, function (/*err*/) { - parts.shift(); - return walkLe(parts.join('.')); - }); - } - - function createLe(lexConf, conf) { - var LEX = require('letsencrypt-express'); - var lex = LEX.create({ - configDir: lexConf.configDir // i.e. __dirname + '/letsencrypt.config' - , approveRegistration: function (hostname, cb) { - // TODO cache/report unauthorized - if (!hostname) { - cb(new Error("[lex.approveRegistration] undefined hostname"), null); - return; - } - - walkLe(hostname).then(function (leAuth) { - // TODO should still check dns for hostname (and mx for email) - if (leAuth && leAuth.email && leAuth.agreeTos) { - cb(null, { - domains: [hostname] // TODO handle www and bare on the same cert - , email: leAuth.email - , agreeTos: leAuth.agreeTos - }); - } - else { - // TODO report unauthorized - cb(new Error("Valid LetsEncrypt config with email and agreeTos not found for '" + hostname + "'"), null); - } - }); - /* - letsencrypt.getConfig({ domains: [domain] }, function (err, config) { - if (!(config && config.checkpoints >= 0)) { - cb(err, null); - return; - } - - cb(null, { - email: config.email - // can't remember which it is, but the pyconf is different that the regular variable - , agreeTos: config.tos || config.agree || config.agreeTos - , server: config.server || LE.productionServerUrl - , domains: config.domains || [domain] - }); - }); - */ - } - }); - conf.letsencrypt = lex.letsencrypt; - conf.lex = lex; - conf.walkLe = walkLe; - - return lex; - } - - function createAndBindServers(conf, getOrCreateHttpApp) { - var lex; - - if (conf.lexConf) { - lex = createLe(conf.lexConf, conf); - } - - // NOTE that message.conf[x] will be overwritten when the next message comes in - require('./local-server').create(lex, conf.certPaths, conf.localPort, conf, function (err, webserver) { - if (err) { - console.error('[ERROR] worker.js'); - console.error(err.stack); - throw err; - } - - console.info("#" + id + " Listening on " + conf.protocol + "://" + webserver.address().address + ":" + webserver.address().port, '\n'); - - // we don't need time to pass, just to be able to return - process.nextTick(function () { - createAndBindInsecure(lex, conf, getOrCreateHttpApp); - }); - - // we are returning the promise result to the caller - return getOrCreateHttpApp(null, null, webserver, conf); - }); - } - // // Worker Mode // - function waitForConfig(realMessage) { - if ('walnut.init' !== realMessage.type) { - console.warn('[Worker] 0 got unexpected message:'); - console.warn(realMessage); - return; - } - - var conf = realMessage.conf; - process.removeListener('message', waitForConfig); - + function createAndBind(conf) { // NOTE: this callback must return a promise for an express app - - function getExpressApp(err, insecserver, webserver/*, newMessage*/) { + function getOrCreateHttpApp(err, insecserver, webserver/*, newMessage*/) { var PromiseA = require('bluebird'); if (promiseApp) { @@ -198,41 +45,93 @@ module.exports.create = function (opts) { return promiseApp; } - createAndBindServers(conf, getExpressApp); - } - - // - // Standalone Mode - // - if (opts) { - // NOTE: this callback must return a promise for an express app - createAndBindServers(opts, function (err, insecserver, webserver/*, conf*/) { - var PromiseA = require('bluebird'); - - if (promiseApp) { - return promiseApp; + function serverCallback(err, webserver) { + if (err) { + console.error('[ERROR] worker.js'); + console.error(err.stack); + throw err; } - promiseApp = new PromiseA(function (resolve) { - opts.getConfig(function (srvmsg) { - resolve(require('../lib/worker').create(webserver, srvmsg)); - }); - }).then(function (app) { - console.info('[Standalone Ready]'); - return app; - }); + console.info("#" + id + " Listening on " + conf.protocol + "://" + webserver.address().address + ":" + webserver.address().port, '\n'); - return promiseApp; - }); - } else { - // we are in cluster mode, as opposed to standalone mode - id = require('cluster').worker.id.toString(); - // We have to wait to get the configuration from the master process - // before we can start our webserver - console.info('[Worker #' + id + '] online!'); - process.on('message', waitForConfig); + // we are returning the promise result to the caller + return getOrCreateHttpApp(null, null, webserver, conf); + } + + // Note the odd use of callbacks (instead of promises) here + // It's to avoid loading bluebird yet (see sni-server.js for explanation) + function localServerCreate(port) { + function initServer(err, server) { + var app; + var promiseApp; + + if (err) { + serverCallback(err); + return; + } + + server.on('error', serverCallback); + server.listen(port, function () { + // is it even theoritically possible for + // a request to come in before this callback has fired? + // I'm assuming this event must fire before any request event + promiseApp = serverCallback(null, server); + }); + /* + server.listen(port, '::::', function () { + // is it even theoritically possible for + // a request to come in before this callback has fired? + // I'm assuming this event must fire before any request event + promiseApp = serverCallback(null, server); + }); + */ + + // Get up and listening as absolutely quickly as possible + function onRequest(req, res) { + // this is a hot piece of code, so we cache the result + if (app) { + app(req, res); + return; + } + + promiseApp.then(function (_app) { + console.log('[Server]', req.method, req.host || req.headers['x-forwarded-host'] || req.headers.host, req.url); + app = _app; + app(req, res); + }); + } + + server.on('request', onRequest); + } + + initServer(null, require('http').createServer()); + } + + // NOTE that message.conf[x] will be overwritten when the next message comes in + localServerCreate(conf.localPort); } + function waitForConfig(realMessage) { + console.log('realMessage', realMessage); + if ('walnut.init' !== realMessage.type) { + console.warn('[Worker] 0 got unexpected message:'); + console.warn(realMessage); + return; + } + + var conf = realMessage.conf; + process.removeListener('message', waitForConfig); + + createAndBind(conf); + } + + // we are in cluster mode, as opposed to standalone mode + id = require('cluster').worker.id.toString(); + // We have to wait to get the configuration from the master process + // before we can start our webserver + console.info('[Worker #' + id + '] online!'); + process.on('message', waitForConfig); + // // Debugging // diff --git a/lib/main.js b/lib/main.js index 0f4d708..ee74a48 100644 --- a/lib/main.js +++ b/lib/main.js @@ -13,54 +13,8 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { var CORS; var cors; - function redirectHttpsHelper(req, res) { - var host = req.hostname || req.headers.host || ''; - var url = req.url; - - // TODO - // allow exceptions for the case of arduino and whatnot that cannot handle https? - // http://evothings.com/is-it-possible-to-secure-micro-controllers-used-within-iot/ - // needs ECDSA? - - var escapeHtml = require('escape-html'); - var newLocation = 'https://' - + host.replace(/:\d+/, ':' + xconfx.externalPort) + url - ; - var safeLocation = escapeHtml(newLocation); - - var metaRedirect = '' - + '\n' - + '\n' - + ' \n' - + ' \n' - + '\n' - + '\n' - + '

You requested an insecure resource. Please use this instead: \n' - + ' ' + safeLocation + '

\n' - + '\n' - + '\n' - ; - - // DO NOT HTTP REDIRECT - /* - res.setHeader('Location', newLocation); - res.statusCode = 302; - */ - - // BAD NEWS BEARS - // - // When people are experimenting with the API and posting tutorials - // they'll use cURL and they'll forget to prefix with https:// - // If we allow that, then many users will be sending private tokens - // and such with POSTs in clear text and, worse, it will work! - // To minimize this, we give browser users a mostly optimal experience, - // but people experimenting with the API get a message letting them know - // that they're doing it wrong and thus forces them to ensure they encrypt. - res.setHeader('Content-Type', 'text/html; charset=utf-8'); - res.end(metaRedirect); - } - function redirectSetup(reason, req, res/*, next*/) { + console.log('xconfx', xconfx); var url = 'https://cloud.' + xconfx.primaryDomain; if (443 !== xconfx.externalPort) { @@ -74,48 +28,6 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { res.end(); } - function redirectHttps(req, res) { - if (localCache.le[req.hostname]) { - if (localCache.le[req.hostname].conf) { - redirectHttpsHelper(req, res); - return; - } - else { - // TODO needs IPC to expire cache - redirectSetup(req.hostname, req, res); - return; - /* - if (Date.now() - localCache.le[req.hostname].createdAt < (5 * 60 * 1000)) { - // TODO link to dbconf.primaryDomain - res.send({ error: { message: "Security Error: Encryption for '" + req.hostname + "' has not been configured." - + " Please use the management interface to set up ACME / Let's Encrypt (or another solution)." } }); - return; - } - */ - } - } - - return xconfx.walkLe(req.hostname).then(function (leAuth) { - if (!leAuth) { - redirectSetup(req.hostname, req, res); - return; - } - - localCache.le[req.hostname] = { conf: leAuth, createdAt: Date.now() }; - redirectHttps(req, res); - }, function (err) { - console.error('[Error] lib/main.js walkLe'); - if (err.stack) { - console.error(err.stack); - } - else { - console.error(new Error('getstack').stack); - console.error(err); - } - res.send({ error: { message: "failed to get tls certificate for '" + (req.hostname || '') + "'" } }); - }); - } - function disallowSymLinks(req, res) { res.end( "Symbolic Links are not supported on all platforms and are therefore disallowed." @@ -245,15 +157,6 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { var appIdParts = appId.split('#'); var appIdPart; - if (!req.secure) { - // did not come from https - if (/\.(appcache|manifest)\b/.test(req.url)) { - require('./unbrick-appcache').unbrick(req, res); - return; - } - return redirectHttps(req, res); - } - // TODO configuration for allowing www if (/^www\./.test(req.hostname)) { // NOTE: acme responder and appcache unbricker must come before scrubTheDub diff --git a/lib/master.js b/lib/master.js index 916f1a6..ca78a57 100644 --- a/lib/master.js +++ b/lib/master.js @@ -2,17 +2,27 @@ var cluster = require('cluster'); var PromiseA = require('bluebird'); +var path = require('path'); +var os = require('os'); function init(conf, state) { var newConf = {}; + + function rand(n) { + var HEX = 16; + var BASE_36 = 36; + var rnd = require('crypto').randomBytes(n || 16).toString('hex'); + return parseInt(rnd, HEX).toString(BASE_36); + } + if (!conf.ipcKey) { - conf.ipcKey = newConf.ipcKey = require('crypto').randomBytes(16).toString('base64'); + conf.ipcKey = newConf.ipcKey = rand(16); } if (!conf.sqlite3Sock) { - conf.sqlite3Sock = newConf.sqlite3Sock = '/tmp/sqlite3.' + require('crypto').randomBytes(4).toString('hex') + '.sock'; + conf.sqlite3Sock = newConf.sqlite3Sock = path.join(os.tmpdir(), 'sqlite3.' + rand(8) + '.sock'); } if (!conf.memstoreSock) { - conf.memstoreSock = newConf.memstoreSock = '/tmp/memstore.' + require('crypto').randomBytes(4).toString('hex') + '.sock'; + conf.memstoreSock = newConf.memstoreSock = path.join(os.tmpdir(), 'memstore.' + rand(8) + '.sock'); } try { diff --git a/lib/sni-server.js b/lib/sni-server.js deleted file mode 100644 index e1c48e4..0000000 --- a/lib/sni-server.js +++ /dev/null @@ -1,58 +0,0 @@ -'use strict'; - -// Note the odd use of callbacks here. -// We're targetting low-power platforms and so we're trying to -// require everything as lazily as possible until our server -// is actually listening on the socket. Bluebird is heavy. -// Even the built-in modules can take dozens of milliseconds to require -module.exports.create = function (lex, certPaths, serverCallback) { - // Recognize that this secureContexts cache is local to this CPU core - var secureContexts = {}; - var ciphers = 'ECDH+AESGCM:DH+AESGCM:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS:!AES256'; - - function createSecureServer() { - var domainname = 'www.example.com'; - var fs = require('fs'); - var secureOpts = { - // TODO create backup file just in case this one is ever corrupted - // NOTE synchronous is faster in this case of initialization - // NOTE certsPath[0] must be the default (LE) directory (another may be used for OV and EV certs) - key: fs.readFileSync(certPaths[0] + '/' + domainname + '/privkey.pem', 'ascii') - , cert: fs.readFileSync(certPaths[0] + '/' + domainname + '/fullchain.pem', 'ascii') - // https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/ - // https://nodejs.org/api/tls.html - // removed :ECDH+AES256:DH+AES256 and added :!AES256 because AES-256 wastes CPU - , ciphers: ciphers - , honorCipherOrder: true - }; - - secureContexts['www.example.com'] = require('tls').createSecureContext(secureOpts); - secureContexts['example.com'] = secureContexts['www.example.com']; - - //SNICallback is passed the domain name, see NodeJS docs on TLS - secureOpts.SNICallback = function (domainname, cb) { - // NOTE: '*.proxyable.*' domains will be truncated - require('./load-certs').load(secureContexts, certPaths, domainname).then(function (context) { - cb(null, context); - }, function (err) { - console.error('[SNI Callback]'); - console.error(err.stack); - cb(err); - }); - }; - - serverCallback(null, require('https').createServer(secureOpts)); - } - - function createLeServer() { - lex.httpsOptions.ciphers = ciphers; - lex.httpsOptions.honorCipherOrder = true; - serverCallback(null, require('https').createServer(lex.httpsOptions)); - } - - if (lex) { - createLeServer(); - } else { - createSecureServer(); - } -}; diff --git a/lib/spawn-caddy.js b/lib/spawn-caddy.js deleted file mode 100644 index 195f9d4..0000000 --- a/lib/spawn-caddy.js +++ /dev/null @@ -1,159 +0,0 @@ -'use strict'; - -function tplCaddyfile(caddyConf) { - var contents = []; - - caddyConf.domains.forEach(function (hostname) { - var content = ""; - var pagesname = hostname; - - // TODO prefix - content += "https://" + hostname + " {\n" - + " gzip\n" - + " tls " - + "/srv/walnut/certs/live/" + hostname + "/fullchain.pem " - + "/srv/walnut/certs/live/" + hostname + "/privkey.pem\n" - ; - - if (caddyConf.locked) { - content += " root /srv/walnut/init.public/\n"; - } else { - content += " root " + caddyConf.sitespath + "/" + pagesname + "/\n"; - } - - content += - " proxy /api http://localhost:" + caddyConf.localPort.toString() + " {\n" - + " proxy_header Host {host}\n" - + " proxy_header X-Forwarded-Host {host}\n" - + " proxy_header X-Forwarded-Proto {scheme}\n" - // # TODO internal - + " }\n" - + "}"; - - contents.push(content); - }); - - return contents.join('\n\n'); -} - -module.exports.tplCaddyfile = tplCaddyfile; -module.exports.create = function (caddyConf) { - var spawn = require('child_process').spawn; - var caddyBin = caddyConf.bin; - var caddyfilePath = caddyConf.conf; - // TODO put up a booting / lock screen on boot - // and wait for all to be grabbed from db - // NOTE caddy cannot yet support multiple roots - // (needed for example.com/appname instead of appname.example.com) - var caddy; - var fs = require('fs'); - - // TODO this should be expanded to include proxies a la proxydyn - function writeCaddyfile(caddyConf, cb) { - fs.readdir(caddyConf.sitespath, function (err, nodes) { - if (err) { - if (cb) { - cb(err); - return; - } - console.error('[writeCaddyFile] 0'); - console.error(err.stack); - throw err; - } - - caddyConf.domains = nodes.filter(function (node) { - return /\./.test(node) && !/(^\.)|([\/\:\\])/.test(node); - }); - - var contents = tplCaddyfile(caddyConf); - fs.writeFile(caddyfilePath, contents, 'utf8', function (err) { - if (err) { - if (cb) { - cb(err); - return; - } - console.error('[writeCaddyFile] 1'); - console.error(err.stack); - throw err; - } - - if (cb) { cb(null); } - }); - }); - } - - function spawnCaddy(caddyConf, cb) { - console.log('[CADDY] start'); - writeCaddyfile(caddyfilePath, function (err) { - if (err) { - console.error('[writeCaddyfile]'); - console.error(err.stack); - throw err; - } - if (caddy) { - caddy.kill('SIGUSR1'); - return caddy; - - // TODO caddy.kill('SIGKILL'); if SIGTERM fails - // https://github.com/mholt/caddy/issues/107 - // SIGUSR1 - - //caddy.kill('SIGTERM'); - } - - try { - require('child_process').execSync('killall caddy'); - } catch(e) { - // ignore - // Command failed: killall caddy - // caddy: no process found - } - caddy = spawn(caddyBin, ['-conf', caddyfilePath], { stdio: ['ignore', 'pipe', 'pipe'] }); - caddy.stdout.on('data', function (str) { - console.error('[Caddy]', str.toString('utf8')); - }); - - caddy.stderr.on('data', function (errstr) { - console.error('[Caddy]', errstr.toString('utf8')); - }); - - caddy.on('close', function (code, signal) { - // TODO catch if caddy doesn't exist - console.log('[Caddy]'); - console.log(code, signal); - caddy = null; - setTimeout(function () { - spawnCaddy(caddyConf); - }, 1 * 1000); - }); - - try { - if ('function' === typeof cb) { cb(null, caddy); } - } catch(e) { - console.error('ERROR: [spawn-caddy.js]'); - console.error(e.stack); - } - }); - } - - function sighup() { - if (caddy) { - caddy.kill('SIGUSR1'); - return; - } - - // sudo kill -s SIGUSR1 `cat caddy.pid` - fs.readFileAsync('/srv/walnut/caddy.pid', 'utf8').then(function (pid) { - console.log('[caddy] pid', pid); - caddy = spawn('/bin/kill', ['-s', 'SIGUSR1', pid]); - }); - } - - return { - spawn: spawnCaddy - , update: function (caddyConf) { - return writeCaddyfile(caddyConf, sighup); - } - , sighup: sighup - }; -}; diff --git a/lib/worker.js b/lib/worker.js index 2c606d6..5b73aca 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -70,11 +70,13 @@ module.exports.create = function (webserver, xconfx, state) { , indices: [ 'createdAt', 'updatedAt' ] } ]; + console.log('config directive', dir); function scopeMemstore(expId) { var scope = expId + '|'; return { getAsync: function (id) { + id = id.replace(/\|/, ); return memstore.getAsync(scope + id); } , setAsync: function (id, data) { @@ -194,20 +196,15 @@ module.exports.create = function (webserver, xconfx, state) { })); app.use('/api', recase); + app.set('trust proxy', ['loopback', 'linklocal', 'uniquelocal']); app.use('/', function (req, res) { - if (!req.secure) { + if (!(req.encrypted || req.secure)) { // did not come from https if (/\.(appcache|manifest)\b/.test(req.url)) { require('./unbrick-appcache').unbrick(req, res); return; } - } - - if (xconfx.lex && /\.well-known\/acme-challenge\//.test(req.url)) { - var LEX = require('letsencrypt-express'); - xconfx.lex.debug = true; - xconfx.acmeResponder = xconfx.acmeResponder || LEX.createAcmeResponder(xconfx.lex/*, next*/); - xconfx.acmeResponder(req, res); + res.end("Connection is not encrypted. That's no bueno or, as we say in Hungarian, nem szabad!"); return; } diff --git a/walnut.js b/walnut.js index 9aea314..eeb2b0f 100644 --- a/walnut.js +++ b/walnut.js @@ -4,6 +4,9 @@ var cluster = require('cluster'); var crypto; var stacks = {}; +function realRandom() { + return parseFloat(('0.' + (parseInt(crypto.randomBytes(8).toString('hex'), 16))).replace(/(^0)|(0$)/g, '')); +} Math.random = function () { var err = new Error("Math.random() was used"); @@ -16,7 +19,8 @@ Math.random = function () { crypto = require('crypto'); } - return parseFloat(('0.' + (parseInt(crypto.randomBytes(8).toString('hex'), 16))).replace(/(^0)|(0$)/g, '')); + Math.random = realRandom; + return realRandom(); }; if (cluster.isMaster) { @@ -26,5 +30,5 @@ if (cluster.isMaster) { alternately we could use this and then check require.main cluster.setupMaster({ exec : "app.js", }); */ - require('./boot/worker').create(null); + require('./boot/worker').create(null, null); } From 64629ef402af2efe409f1c006d2aece36958a786 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 4 May 2017 23:10:24 -0600 Subject: [PATCH 07/76] add .jshintrc --- .jshintrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .jshintrc diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..63801ce --- /dev/null +++ b/.jshintrc @@ -0,0 +1,16 @@ +{ "node": true +, "browser": true +, "jquery": true +, "strict": true +, "indent": 2 +, "onevar": true +, "laxcomma": true +, "laxbreak": true +, "eqeqeq": true +, "immed": true +, "undef": true +, "unused": true +, "latedef": true +, "curly": true +, "trailing": true +} From 2b1da8dc20ff7aaf9f07f02aa55f40172964c305 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 4 May 2017 23:12:29 -0600 Subject: [PATCH 08/76] remove symlink --- bin/walnut | 1 - 1 file changed, 1 deletion(-) delete mode 120000 bin/walnut diff --git a/bin/walnut b/bin/walnut deleted file mode 120000 index b8f03e9..0000000 --- a/bin/walnut +++ /dev/null @@ -1 +0,0 @@ -walnut.js \ No newline at end of file From 9467269cd710125b1cac769bcc2b81c9c7a3fa00 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 4 May 2017 23:13:27 -0600 Subject: [PATCH 09/76] rollback syntax error --- lib/worker.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/worker.js b/lib/worker.js index 5b73aca..dee1167 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -76,7 +76,6 @@ module.exports.create = function (webserver, xconfx, state) { var scope = expId + '|'; return { getAsync: function (id) { - id = id.replace(/\|/, ); return memstore.getAsync(scope + id); } , setAsync: function (id, data) { From c0bab90b895a9badd4f4ea418edf82ebb1e76392 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 4 May 2017 23:43:20 -0600 Subject: [PATCH 10/76] bail on install --- install.sh | 3 +++ lib/load-certs.js | 68 ----------------------------------------------- 2 files changed, 3 insertions(+), 68 deletions(-) delete mode 100644 lib/load-certs.js diff --git a/install.sh b/install.sh index 4eb6c3d..e8f78d4 100644 --- a/install.sh +++ b/install.sh @@ -1,5 +1,8 @@ #!/bin/bash +echo "no install yet" +exit 1 + sudo mkdir -p /srv/walnut/{certs,core,letsencrypt,lib,etc,config} sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer sudo mkdir -p /srv/walnut/etc/org.oauth3.provider diff --git a/lib/load-certs.js b/lib/load-certs.js deleted file mode 100644 index c35ffe2..0000000 --- a/lib/load-certs.js +++ /dev/null @@ -1,68 +0,0 @@ -'use strict'; - -function loadCerts(secureContexts, certPaths, domainname, prevdomainname) { - var PromiseA = require('bluebird'); - var fs = PromiseA.promisifyAll(require('fs')); - var path = require('path'); - - if (/(^|\.)proxyable\./.test(domainname)) { - // device-id-12345678.proxyable.myapp.mydomain.com => myapp.mydomain.com - // proxyable.myapp.mydomain.com => myapp.mydomain.com - // TODO myapp.mydomain.com.proxyable.com => myapp.mydomain.com - domainname = domainname.replace(/.*\.?proxyable\./, ''); - } - - if (secureContexts[domainname]) { - return PromiseA.resolve(secureContexts[domainname]); - } - - return PromiseA.some(certPaths.map(function (pathname) { - return PromiseA.all([ - fs.readFileAsync(path.join(pathname, domainname, 'privkey.pem'), 'ascii') - , fs.readFileAsync(path.join(pathname, domainname, 'fullchain.pem'), 'ascii') - ]); - }), 1).then(function (some) { - var one = some[0]; - secureContexts[domainname] = require('tls').createSecureContext({ - key: one[0] - , cert: one[1] - // https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/ - // https://nodejs.org/api/tls.html - // removed :ECDH+AES256:DH+AES256 and added :!AES256 because AES-256 wastes CPU - , ciphers: 'ECDH+AESGCM:DH+AESGCM:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS:!AES256' - , honorCipherOrder: true - }); - - // guard against race condition on Promise.some - if (prevdomainname && !secureContexts[prevdomainname]) { - // TODO XXX make sure that letsencrypt www. domains handle the bare domains also (and vice versa) - secureContexts[prevdomainname] = secureContexts[domainname]; - } - - return secureContexts[domainname]; - }, function (/*err*/) { - // AggregateError means both promises failed - // TODO check ENOENT - - // test "is this server <>?" - // try letsencrypt - // fail with www.example.com - if (/^www\./i.test(domainname)) { - return loadCerts(secureContexts, certPaths, domainname.replace(/^www\./i, ''), domainname); - } - - return (secureContexts['www.example.com'] || secureContexts['example.com']); - }).then(function (ctx) { - // TODO generate some self-signed certs? - if (!ctx) { - console.error("[loadCerts()] Could not load default HTTPS certificates!!!"); - return PromiseA.reject({ - message: "No default certificates for https" - , code: 'E_NO_DEFAULT_CERTS' - }); - } - - return ctx; - }); -} -module.exports.load = loadCerts; From f8ce89c6e7f204d82513a016e339b9a21ceb9813 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 5 May 2017 14:03:02 -0600 Subject: [PATCH 11/76] add some installer stuff --- README.md | 6 ++ .../LaunchDaemons/com.daplie.walnut.web.plist | 52 ++++++++++++++ dist/etc/systemd/system/walnut.service | 68 +++++++++++++++++++ dist/etc/tmpfiles.d/walnut.conf | 12 ++++ 4 files changed, 138 insertions(+) create mode 100644 dist/Library/LaunchDaemons/com.daplie.walnut.web.plist create mode 100644 dist/etc/systemd/system/walnut.service create mode 100644 dist/etc/tmpfiles.d/walnut.conf diff --git a/README.md b/README.md index 378a0d8..fb38413 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,12 @@ walnut Small, light, and secure iot application framework. +```bash +curl https://git.daplie.com/Daplie/daplie-snippets/raw/master/install.sh | bash + +daplie-install-cloud +``` + Features ------ diff --git a/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist b/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist new file mode 100644 index 0000000..4c9a382 --- /dev/null +++ b/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist @@ -0,0 +1,52 @@ + + + + + Label + WALNUT + ProgramArguments + + /usr/local/bin/walnut + --config + /etc/walnut/walnut.yml + + EnvironmentVariables + + WALNUT_PATH + /opt/walnut + + + UserName + root + GroupName + wheel + InitGroups + + + RunAtLoad + + KeepAlive + + Crashed + + SuccessfulExit + + + + SoftResourceLimits + + NumberOfFiles + 8192 + + HardResourceLimits + + + WorkingDirectory + /srv/www + + StandardErrorPath + /var/log/walnut/error.log + StandardOutPath + /var/log/walnut/info.log + + diff --git a/dist/etc/systemd/system/walnut.service b/dist/etc/systemd/system/walnut.service new file mode 100644 index 0000000..061e113 --- /dev/null +++ b/dist/etc/systemd/system/walnut.service @@ -0,0 +1,68 @@ +[Unit] +Description=WALNUT IoT App Infrastructure +Documentation=https://git.daplie.com/Daplie/walnut.js +After=network-online.target +Wants=network-online.target systemd-networkd-wait-online.service + +[Service] +# Restart on crash (bad signal), and on 'clean' failure (error exit code) +# Allow up to 3 restarts within 10 seconds +# (it's unlikely that a user or properly-running script will do this) +Restart=on-failure +StartLimitInterval=10 +StartLimitBurst=3 + +# The v8 VM will output a "clean" for JavaScript errors. +# If we knew we were never going to accidentally exit cleanly +# we would use on-abnormal: +; Restart=on-abnormal + +# User and group the process will run as +# (www-data is the de facto standard on most systems) +User=www-data +Group=www-data + +# If we need to pass environment variables in the future +; Environment=GOLDILOCKS_PATH=/opt/walnut + +# Set a sane working directory, sane flags, and specify how to reload the config file +WorkingDirectory=/srv/www +ExecStart=/usr/local/bin/walnut --config=/etc/walnut/walnut.yml +ExecReload=/bin/kill -USR1 $MAINPID + +# Limit the number of file descriptors and processes; see `man systemd.exec` for more limit settings. +# We don't expected to use more than this. +LimitNOFILE=1048576 +LimitNPROC=64 + +# Use private /tmp and /var/tmp, which are discarded after the process stops. +PrivateTmp=true +# Use a minimal /dev +PrivateDevices=true +# Hide /home, /root, and /run/user. Nobody will steal your SSH-keys. +ProtectHome=true +# Make /usr, /boot, /etc and possibly some more folders read-only. +ProtectSystem=full +# … except TLS/SSL, ACME, and Let's Encrypt certificates +# and /var/log/, because we want a place where logs can go. +# This merely retains r/w access rights, it does not add any new. Must still be writable on the host! +ReadWriteDirectories=/etc/walnut /etc/acme /etc/letsencrypt /etc/ssl /var/log/walnut /var/walnut /opt/walnut /srv/www + +# Note: in v231 and above ReadWritePaths has been renamed to ReadWriteDirectories +; ReadWritePaths=/etc/walnut /var/log/walnut +; +# The following additional security directives only work with systemd v229 or later. +# They further retrict privileges that can be gained. +# Note that you may have to add capabilities required by any plugins in use. +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_BIND_SERVICE +NoNewPrivileges=true + +# Caveat: Some plugins need additional capabilities. +# For example "upload" needs CAP_LEASE +; CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_LEASE +; AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_LEASE +; NoNewPrivileges=true + +[Install] +WantedBy=multi-user.target diff --git a/dist/etc/tmpfiles.d/walnut.conf b/dist/etc/tmpfiles.d/walnut.conf new file mode 100644 index 0000000..3f16a3d --- /dev/null +++ b/dist/etc/tmpfiles.d/walnut.conf @@ -0,0 +1,12 @@ +# /etc/tmpfiles.d/walnut.conf +# See https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html + +# Type Path Mode UID GID Age Argument +d /etc/walnut 0755 www-data www-data - - +d /etc/ssl/walnut 0750 www-data www-data - - +d /srv/walnut 0775 www-data www-data - - +d /srv/www 0775 www-data www-data - - +d /opt/walnut 0775 www-data www-data - - +d /var/walnut 0775 www-data www-data - - +d /var/log/walnut 0750 www-data www-data - - +#d /run/walnut 0755 www-data www-data - - From 41bf8559a858efd6e161e80ea57583daa5c77c62 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 6 May 2017 03:33:40 -0600 Subject: [PATCH 12/76] WIP installer --- install.sh | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 170 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index e8f78d4..622ac71 100644 --- a/install.sh +++ b/install.sh @@ -3,21 +3,20 @@ echo "no install yet" exit 1 -sudo mkdir -p /srv/walnut/{certs,core,letsencrypt,lib,etc,config} +sudo mkdir -p /srv/walnut/{core,lib,etc,config,node_modules} +ln -sf ../node_modules /srv/walnut/core/node_modules sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer sudo mkdir -p /srv/walnut/etc/org.oauth3.provider sudo mkdir -p /srv/walnut/packages/{api,pages,services} sudo chown -R $(whoami):$(whoami) /srv/walnut -#git clone git@github.com:Daplie/walnut.git -git clone https://github.com/Daplie/walnut.git /srv/walnut/core +#git clone git@git.daplie.com:Daplie/walnut.js.git +#git clone https://git.daplie.com/Daplie/walnut.js.git /srv/walnut/core pushd /srv/walnut/core npm install popd -sudo rsync -a /srv/walnut/core/etc/init/walnut.conf /etc/init/walnut.conf -rsync -a /srv/walnut/core/etc/letsencrypt/ /srv/walnut/certs/ mv /srv/walnut/core/node_modules /srv/walnut echo -n "Enter an email address to use for LetsEncrypt and press [ENTER]: " @@ -32,5 +31,169 @@ node -e " }, null, ' ')); " -sudo service walnut stop -sudo service walnut start +############################### +# # +# http_get # +# boilerplate for curl / wget # +# # +############################### + +# See https://git.daplie.com/Daplie/daplie-snippets/blob/master/bash/http-get.sh + +http_curl_opts="-fsSL" +http_wget_opts="--quiet" + +http_bin="" +http_opts="" +http_out="" + +detect_http_bin() +{ + if type -p curl >/dev/null 2>&1; then + http_bin="curl" + http_opts="$http_curl_opts" + http_out="-o" + #curl -fsSL "$url" -o "$PREFIX/tmp/$pkg" + elif type -p wget >/dev/null 2>&1; then + http_bin="wget" + http_opts="$http_wget_opts" + http_out="-O" + #wget --quiet "$url" -O "$PREFIX/tmp/$pkg" + else + echo "Aborted, could not find curl or wget" + return 7 + fi +} + +http_get() +{ + if [ -e "$2" ]; then + rsync -a "$2" "$1" + elif type -p curl >/dev/null 2>&1; then + $http_bin $http_curl_opts $http_out "$2" "$1" + elif type -p wget >/dev/null 2>&1; then + $http_bin $http_wget_opts $http_out "$2" "$1" + else + echo "Aborted, could not find curl or wget" + return 7 + fi +} + +dap_dl() +{ + $http_bin $http_opts $http_out "$2" "$1" +} + +dap_dl_bash() +{ + dap_url=$1 + #dap_args=$2 + rm -rf dap-tmp-runner.sh + $http_bin $http_opts $http_out dap-tmp-runner.sh "$dap_url"; bash dap-tmp-runner.sh; rm dap-tmp-runner.sh +} + +detect_http_bin + +## END HTTP_GET ## + +################################# +# # +# linux and osx system services # +# # +################################# + +# Use $PREFIX for compatibility with Termux on Android + +# Not every platform has or needs sudo +sudo_cmd="" +((EUID)) && [[ -z "$ANDROID_ROOT" ]] && sudo_cmd="sudo" + +my_app_name=goldilocks +my_app_pkg_name=com.daplie.goldilocks.web +my_app_dir=$(mktemp -d) +installer_base="https://git.daplie.com/Daplie/goldilocks.js/raw/master" # add "/dist" as needed + +my_app_systemd_service="etc/systemd/system/${my_app_name}.service" +my_app_systemd_tmpfiles="etc/tmpfiles.d/${my_app_name}.conf" +my_app_launchd_service="Library/LaunchDaemons/${my_app_pkg_name}.plist" +my_app_upstart_service="etc/init/${my_app_pkg_name}.conf" + +install_for_systemd() +{ + echo "" + echo "Installing as systemd service" + echo "" + + dap_dl "$installer_base/$my_app_system_service" "$my_app_dir/$my_app_system_service" + $sudo_cmd mv "$my_app_dir/$my_app_system_service" "$PREFIX/$my_app_system_service" + $sudo_cmd chown -R root:root "$PREFIX/$my_app_system_service" + $sudo_cmd chmod 644 "$PREFIX/$my_app_system_service" + + dap_dl "$installer_base/$my_app_system_tmpfiles" "$my_app_dir/$my_app_system_tmpfiles" + $sudo_cmd mv "$my_app_dir/$my_app_system_tmpfiles" "$PREFIX/$my_app_system_tmpfiles" + $sudo_cmd chown -R root:root "$PREFIX/$my_app_system_tmpfiles" + $sudo_cmd chmod 644 "$PREFIX/$my_app_system_tmpfiles" + + $sudo_cmd systemctl stop "${my_app_name}.service" >/dev/null 2>/dev/null + $sudo_cmd systemctl daemon-reload + $sudo_cmd systemctl start "${my_app_name}.service" + $sudo_cmd systemctl enable "${my_app_name}.service" + + echo "$my_app_name started with systemctl" +} + +install_for_launchd() +{ + echo "" + echo "Installing as launchd service" + echo "" + + # See http://www.launchd.info/ + dap_dl "$installer_base/$my_app_launchd_service" "$my_app_dir/$my_app_launchd_service" + $sudo_cmd mv "$my_app_dir/$my_app_launchd_service" "$PREFIX/$my_app_launchd_service" + $sudo_cmd chown root:wheel "$PREFIX/$my_app_launchd_service" + $sudo_cmd chmod 0644 "$PREFIX/$my_app_launchd_service" + $sudo_cmd launchctl unload -w "$PREFIX/$my_app_launchd_service" >/dev/null 2>/dev/null + $sudo_cmd launchctl load -w "$PREFIX/$my_app_launchd_service" + + echo "$my_app_name started with launchd" +} + +install_for_upstart() +{ + echo "" + echo "Installing as upstart service" + echo "" + + dap_dl "$installer_base/$my_app_upstart_service" "$my_app_dir/$my_app_upstart_service" + $sudo_cmd mv "$my_app_dir/$my_app_upstart_service" "$PREFIX/$my_app_upstart_service" + $sudo_cmd chown root:wheel "$PREFIX/$my_app_upstart_service" + $sudo_cmd chmod 0644 "$PREFIX/$my_app_upstart_service" + + echo "$my_app_name started with upstart" +} + +install_service() +{ + installable="" + if [ -d "$PREFIX/etc/systemd/system" ]; then + install_for_systemd + installable="true" + fi + if [ -d "/Library/LaunchDaemons" ]; then + install_for_launchd + installable="true" + fi + if [ -d "$PREFIX/etc/init" ]; then + install_for_upstart + installable="true" + fi + if [ -z "$installable" ]; then + echo "" + echo "Unknown system service init type. You must install as a system service manually." + echo '(please file a bug with the output of "uname -a")' + echo "" + fi +} + +install_service From a09a56c179870cf0801d67b054ef02edcaaf7e63 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 8 May 2017 21:05:33 -0600 Subject: [PATCH 13/76] add exec bit --- install.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 install.sh diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 From 9828a19f8cedb23a4dd8e32d7a7997d15971cfd0 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 10:27:47 -0600 Subject: [PATCH 14/76] update installer --- .../LaunchDaemons/com.daplie.walnut.web.plist | 1 + dist/etc/systemd/system/walnut.service | 4 +- install.sh | 221 +++++++++--------- uninstall.sh | 48 ++++ 4 files changed, 165 insertions(+), 109 deletions(-) create mode 100755 uninstall.sh diff --git a/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist b/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist index 4c9a382..1ca54ef 100644 --- a/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist +++ b/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist @@ -6,6 +6,7 @@ WALNUT ProgramArguments + /usr/local/bin/node /usr/local/bin/walnut --config /etc/walnut/walnut.yml diff --git a/dist/etc/systemd/system/walnut.service b/dist/etc/systemd/system/walnut.service index 061e113..5cce166 100644 --- a/dist/etc/systemd/system/walnut.service +++ b/dist/etc/systemd/system/walnut.service @@ -27,7 +27,7 @@ Group=www-data # Set a sane working directory, sane flags, and specify how to reload the config file WorkingDirectory=/srv/www -ExecStart=/usr/local/bin/walnut --config=/etc/walnut/walnut.yml +ExecStart=/usr/local/bin/node /usr/local/bin/walnut --config=/etc/walnut/walnut.yml ExecReload=/bin/kill -USR1 $MAINPID # Limit the number of file descriptors and processes; see `man systemd.exec` for more limit settings. @@ -46,7 +46,7 @@ ProtectSystem=full # … except TLS/SSL, ACME, and Let's Encrypt certificates # and /var/log/, because we want a place where logs can go. # This merely retains r/w access rights, it does not add any new. Must still be writable on the host! -ReadWriteDirectories=/etc/walnut /etc/acme /etc/letsencrypt /etc/ssl /var/log/walnut /var/walnut /opt/walnut /srv/www +ReadWriteDirectories=/etc/walnut /var/log/walnut /var/walnut /opt/walnut /srv/www # Note: in v231 and above ReadWritePaths has been renamed to ReadWriteDirectories ; ReadWritePaths=/etc/walnut /var/log/walnut diff --git a/install.sh b/install.sh index 622ac71..17d169a 100755 --- a/install.sh +++ b/install.sh @@ -1,35 +1,19 @@ #!/bin/bash -echo "no install yet" -exit 1 +set -e +set -u -sudo mkdir -p /srv/walnut/{core,lib,etc,config,node_modules} -ln -sf ../node_modules /srv/walnut/core/node_modules -sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer -sudo mkdir -p /srv/walnut/etc/org.oauth3.provider -sudo mkdir -p /srv/walnut/packages/{api,pages,services} -sudo chown -R $(whoami):$(whoami) /srv/walnut - -#git clone git@git.daplie.com:Daplie/walnut.js.git -#git clone https://git.daplie.com/Daplie/walnut.js.git /srv/walnut/core - -pushd /srv/walnut/core -npm install -popd - -mv /srv/walnut/core/node_modules /srv/walnut - -echo -n "Enter an email address to use for LetsEncrypt and press [ENTER]: " -read LE_EMAIL -node -e " - 'use strict'; - - require('fs').writeFileSync('/srv/walnut/config.letsencrypt.json', JSON.stringify({ - configDir: '/srv/walnut/letsencrypt' - , email: '$LE_EMAIL' - , agreeTos: true - }, null, ' ')); -" +# something or other about android and tmux using PREFIX +#: "${PREFIX:=''}" +MY_ROOT="" +if [ -z "${PREFIX-}" ]; then + MY_ROOT="" +else + MY_ROOT="$PREFIX" +fi +# Not every platform has or needs sudo, gotta save them O(1)s... +sudo_cmd="" +((EUID)) && [[ -z "$ANDROID_ROOT" ]] && sudo_cmd="sudo" ############################### # # @@ -40,39 +24,20 @@ node -e " # See https://git.daplie.com/Daplie/daplie-snippets/blob/master/bash/http-get.sh -http_curl_opts="-fsSL" -http_wget_opts="--quiet" - -http_bin="" +http_get="" http_opts="" http_out="" -detect_http_bin() +detect_http_get() { if type -p curl >/dev/null 2>&1; then - http_bin="curl" - http_opts="$http_curl_opts" + http_get="curl" + http_opts="-fsSL" http_out="-o" - #curl -fsSL "$url" -o "$PREFIX/tmp/$pkg" elif type -p wget >/dev/null 2>&1; then - http_bin="wget" - http_opts="$http_wget_opts" + http_get="wget" + http_opts="--quiet" http_out="-O" - #wget --quiet "$url" -O "$PREFIX/tmp/$pkg" - else - echo "Aborted, could not find curl or wget" - return 7 - fi -} - -http_get() -{ - if [ -e "$2" ]; then - rsync -a "$2" "$1" - elif type -p curl >/dev/null 2>&1; then - $http_bin $http_curl_opts $http_out "$2" "$1" - elif type -p wget >/dev/null 2>&1; then - $http_bin $http_wget_opts $http_out "$2" "$1" else echo "Aborted, could not find curl or wget" return 7 @@ -81,7 +46,7 @@ http_get() dap_dl() { - $http_bin $http_opts $http_out "$2" "$1" + $http_get $http_opts $http_out "$2" "$1" } dap_dl_bash() @@ -89,57 +54,46 @@ dap_dl_bash() dap_url=$1 #dap_args=$2 rm -rf dap-tmp-runner.sh - $http_bin $http_opts $http_out dap-tmp-runner.sh "$dap_url"; bash dap-tmp-runner.sh; rm dap-tmp-runner.sh + $http_get $http_opts $http_out dap-tmp-runner.sh "$dap_url"; bash dap-tmp-runner.sh; rm dap-tmp-runner.sh } -detect_http_bin +detect_http_get ## END HTTP_GET ## -################################# -# # -# linux and osx system services # -# # -################################# -# Use $PREFIX for compatibility with Termux on Android -# Not every platform has or needs sudo -sudo_cmd="" -((EUID)) && [[ -z "$ANDROID_ROOT" ]] && sudo_cmd="sudo" - -my_app_name=goldilocks -my_app_pkg_name=com.daplie.goldilocks.web -my_app_dir=$(mktemp -d) -installer_base="https://git.daplie.com/Daplie/goldilocks.js/raw/master" # add "/dist" as needed - -my_app_systemd_service="etc/systemd/system/${my_app_name}.service" -my_app_systemd_tmpfiles="etc/tmpfiles.d/${my_app_name}.conf" -my_app_launchd_service="Library/LaunchDaemons/${my_app_pkg_name}.plist" -my_app_upstart_service="etc/init/${my_app_pkg_name}.conf" +################### +# # +# Install service # +# # +################### install_for_systemd() { echo "" echo "Installing as systemd service" echo "" + mkdir -p $(dirname "$my_app_dir/$my_app_systemd_service") + dap_dl "$installer_base/$my_app_systemd_service" "$my_app_dir/$my_app_systemd_service" + $sudo_cmd mv "$my_app_dir/$my_app_systemd_service" "$MY_ROOT/$my_app_systemd_service" + $sudo_cmd chown -R root:root "$MY_ROOT/$my_app_systemd_service" + $sudo_cmd chmod 644 "$MY_ROOT/$my_app_systemd_service" - dap_dl "$installer_base/$my_app_system_service" "$my_app_dir/$my_app_system_service" - $sudo_cmd mv "$my_app_dir/$my_app_system_service" "$PREFIX/$my_app_system_service" - $sudo_cmd chown -R root:root "$PREFIX/$my_app_system_service" - $sudo_cmd chmod 644 "$PREFIX/$my_app_system_service" - - dap_dl "$installer_base/$my_app_system_tmpfiles" "$my_app_dir/$my_app_system_tmpfiles" - $sudo_cmd mv "$my_app_dir/$my_app_system_tmpfiles" "$PREFIX/$my_app_system_tmpfiles" - $sudo_cmd chown -R root:root "$PREFIX/$my_app_system_tmpfiles" - $sudo_cmd chmod 644 "$PREFIX/$my_app_system_tmpfiles" + mkdir -p $(dirname "$my_app_dir/$my_app_systemd_tmpfiles") + dap_dl "$installer_base/$my_app_systemd_tmpfiles" "$my_app_dir/$my_app_systemd_tmpfiles" + $sudo_cmd mv "$my_app_dir/$my_app_systemd_tmpfiles" "$MY_ROOT/$my_app_systemd_tmpfiles" + $sudo_cmd chown -R root:root "$MY_ROOT/$my_app_systemd_tmpfiles" + $sudo_cmd chmod 644 "$MY_ROOT/$my_app_systemd_tmpfiles" $sudo_cmd systemctl stop "${my_app_name}.service" >/dev/null 2>/dev/null $sudo_cmd systemctl daemon-reload $sudo_cmd systemctl start "${my_app_name}.service" $sudo_cmd systemctl enable "${my_app_name}.service" - echo "$my_app_name started with systemctl" + echo "$my_app_name started with systemctl, check its status like so" + echo " $sudo_cmd systemctl status $my_app_name" + echo " $sudo_cmd journalctl -xe -u goldilocks" } install_for_launchd() @@ -147,36 +101,38 @@ install_for_launchd() echo "" echo "Installing as launchd service" echo "" - # See http://www.launchd.info/ + mkdir -p $(dirname "$my_app_dir/$my_app_launchd_service") dap_dl "$installer_base/$my_app_launchd_service" "$my_app_dir/$my_app_launchd_service" - $sudo_cmd mv "$my_app_dir/$my_app_launchd_service" "$PREFIX/$my_app_launchd_service" - $sudo_cmd chown root:wheel "$PREFIX/$my_app_launchd_service" - $sudo_cmd chmod 0644 "$PREFIX/$my_app_launchd_service" - $sudo_cmd launchctl unload -w "$PREFIX/$my_app_launchd_service" >/dev/null 2>/dev/null - $sudo_cmd launchctl load -w "$PREFIX/$my_app_launchd_service" + $sudo_cmd mv "$my_app_dir/$my_app_launchd_service" "$MY_ROOT/$my_app_launchd_service" + $sudo_cmd chown root:wheel "$MY_ROOT/$my_app_launchd_service" + $sudo_cmd chmod 0644 "$MY_ROOT/$my_app_launchd_service" + $sudo_cmd launchctl unload -w "$MY_ROOT/$my_app_launchd_service" >/dev/null 2>/dev/null + $sudo_cmd launchctl load -w "$MY_ROOT/$my_app_launchd_service" echo "$my_app_name started with launchd" } -install_for_upstart() +install_etc_config() { - echo "" - echo "Installing as upstart service" - echo "" + if [ ! -e "$MY_ROOT/$my_app_etc_config" ]; then + $sudo_cmd mkdir -p $(dirname "$MY_ROOT/$my_app_etc_config") + mkdir -p $(dirname "$my_app_dir/$my_app_etc_config") + dap_dl "$installer_base/$my_app_etc_config" "$my_app_dir/$my_app_etc_config" + $sudo_cmd mv "$my_app_dir/$my_app_etc_config" "$MY_ROOT/$my_app_etc_config" + fi - dap_dl "$installer_base/$my_app_upstart_service" "$my_app_dir/$my_app_upstart_service" - $sudo_cmd mv "$my_app_dir/$my_app_upstart_service" "$PREFIX/$my_app_upstart_service" - $sudo_cmd chown root:wheel "$PREFIX/$my_app_upstart_service" - $sudo_cmd chmod 0644 "$PREFIX/$my_app_upstart_service" - - echo "$my_app_name started with upstart" + $sudo_cmd chown -R www-data:www-data $(dirname "$MY_ROOT/$my_app_etc_config") + $sudo_cmd chmod 775 $(dirname "$MY_ROOT/$my_app_etc_config") + $sudo_cmd chmod 664 "$MY_ROOT/$my_app_etc_config" } install_service() { + install_etc_config + installable="" - if [ -d "$PREFIX/etc/systemd/system" ]; then + if [ -d "$MY_ROOT/etc/systemd/system" ]; then install_for_systemd installable="true" fi @@ -184,10 +140,6 @@ install_service() install_for_launchd installable="true" fi - if [ -d "$PREFIX/etc/init" ]; then - install_for_upstart - installable="true" - fi if [ -z "$installable" ]; then echo "" echo "Unknown system service init type. You must install as a system service manually." @@ -196,4 +148,59 @@ install_service() fi } +## END SERVICE_INSTALL ## + +# Create dirs, set perms +create_skeleton() +{ + $sudo_cmd mkdir -p /srv/www + $sudo_cmd mkdir -p /var/log/$my_app_name + $sudo_cmd mkdir -p /etc/$my_app_name + $sudo_cmd mkdir -p /var/$my_app_name + $sudo_cmd mkdir -p /srv/$my_app_name + $sudo_cmd mkdir -p /opt/$my_app_name +} + +# Unistall +install_uninstaller() +{ + dap_dl "https://git.daplie.com/Daplie/walnut.js/raw/master/uninstall.sh" "./walnut-uninstall" + $sudo_cmd chmod 755 "./walnut-uninstall" + $sudo_cmd chown root:root "./walnut-uninstall" + $sudo_cmd mv "./walnut-uninstall" "/usr/local/bin/uninstall-walnut" +} + + +# Dependencies +dap_dl_bash "https://git.daplie.com/coolaj86/node-install-script/raw/master/setup-min.sh" + +# Install +# npm install -g 'git+https://git@git.daplie.com/Daplie/walnut.js.git#fs-nosql' + +my_app_name=walnut +my_app_pkg_name=com.daplie.walnut.web +my_app_dir=$(mktemp -d) +installer_base="https://git.daplie.com/Daplie/walnut.js/raw/master/dist" + +my_app_etc_config="etc/${my_app_name}/${my_app_name}.yml" +my_app_systemd_service="etc/systemd/system/${my_app_name}.service" +my_app_systemd_tmpfiles="etc/tmpfiles.d/${my_app_name}.conf" +my_app_launchd_service="Library/LaunchDaemons/${my_app_pkg_name}.plist" + +# Install +#git clone git@git.daplie.com:Daplie/walnut.js.git +#git clone https://git.daplie.com/Daplie/walnut.js.git /srv/walnut/core +sudo mkdir -p /srv/walnut/{core,lib,etc,config,node_modules} +ln -sf ../node_modules /srv/walnut/core/node_modules +sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer +sudo mkdir -p /srv/walnut/etc/org.oauth3.provider +sudo mkdir -p /srv/walnut/packages/{api,pages,services} +sudo chown -R $(whoami):$(whoami) /srv/walnut + +pushd /srv/walnut/core + npm install +popd + +create_skeleton +install_uninstaller install_service diff --git a/uninstall.sh b/uninstall.sh new file mode 100755 index 0000000..15d964a --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,48 @@ +#!/bin/bash + +# something or other about android and tmux using PREFIX +#: "${PREFIX:=''}" +MY_ROOT="" +if [ -z "${PREFIX-}" ]; then + MY_ROOT="" +else + MY_ROOT="$PREFIX" +fi +# Not every platform has or needs sudo, gotta save them O(1)s... +sudo_cmd="" +((EUID)) && [[ -z "$ANDROID_ROOT" ]] && sudo_cmd="sudo" + +# you don't want any oopsies when an rm -rf is involved... +set -e +set -u + +my_app_name=walnut +my_app_pkg_name=com.daplie.$my_app_name.web + +my_app_etc_config="etc/${my_app_name}/${my_app_name}.yml" +my_app_systemd_service="etc/systemd/system/${my_app_name}.service" +my_app_systemd_tmpfiles="etc/tmpfiles.d/${my_app_name}.conf" +my_app_launchd_service="Library/LaunchDaemons/${my_app_pkg_name}.plist" +my_app_upstart_service="etc/init.d/${my_app_name}.conf" + + +$sudo_cmd rm -f /usr/local/bin/$my_app_name +$sudo_cmd rm -rf /usr/local/lib/node_modules/$my_app_name +$sudo_cmd rm -f /usr/local/bin/uninstall-$my_app_name + +$sudo_cmd rm -f "$MY_ROOT/$my_app_etc_config" +$sudo_cmd rmdir -p $(dirname "$MY_ROOT/$my_app_etc_config") 2>/dev/null || true +$sudo_cmd rm -f "$MY_ROOT/$my_app_systemd_service" +$sudo_cmd rm -f "$MY_ROOT/$my_app_systemd_tmpfiles" +$sudo_cmd rm -f "$MY_ROOT/$my_app_launchd_service" +$sudo_cmd rm -f "$MY_ROOT/$my_app_upstart_service" + +$sudo_cmd rm -rf /opt/$my_app_name +$sudo_cmd rm -rf /var/log/$my_app_name + +# TODO flag for --purge +#rm -rf /etc/$my_app_name + +# TODO trap uninstall function + +echo "uninstall complete: $my_app_name" From a8ed9b3185e20f956ffb5fe36237e2203cfaa82c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 10:29:29 -0600 Subject: [PATCH 15/76] check definition of ANDROID_ROOT --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 17d169a..f4c81f3 100755 --- a/install.sh +++ b/install.sh @@ -13,7 +13,7 @@ else fi # Not every platform has or needs sudo, gotta save them O(1)s... sudo_cmd="" -((EUID)) && [[ -z "$ANDROID_ROOT" ]] && sudo_cmd="sudo" +((EUID)) && [[ -z "${ANDROID_ROOT-}" ]] && sudo_cmd="sudo" ############################### # # From 355dc2f6f8d26cc8a17b65998dcdfc79e7cc9946 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 10:34:00 -0600 Subject: [PATCH 16/76] remove node_modules if present --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index f4c81f3..0a2109e 100755 --- a/install.sh +++ b/install.sh @@ -191,6 +191,7 @@ my_app_launchd_service="Library/LaunchDaemons/${my_app_pkg_name}.plist" #git clone git@git.daplie.com:Daplie/walnut.js.git #git clone https://git.daplie.com/Daplie/walnut.js.git /srv/walnut/core sudo mkdir -p /srv/walnut/{core,lib,etc,config,node_modules} +rm -rf /srv/walnut/core/node_modules ln -sf ../node_modules /srv/walnut/core/node_modules sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer sudo mkdir -p /srv/walnut/etc/org.oauth3.provider From f6461c49eebe76a178058147d4dd6b22ec9146b7 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 17:00:52 +0000 Subject: [PATCH 17/76] get cluster from git --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 43b765b..b34ac8a 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "jsonwebtoken": "^5.4.0", "lodash": "2.x", "letsencrypt-express": "1.1.x", - "masterquest-sqlite3": "git://github.com/coolaj86/node-masterquest-sqlite3.git", + "masterquest-sqlite3": "git://git.daplie.com/coolaj86/node-masterquest-sqlite3.git", "media-typer": "^0.3.0", "methods": "^1.1.1", "mime": "^1.3.4", @@ -114,7 +114,7 @@ "serve-favicon": "2.x", "serve-static": "1.x", "sqlite3": "3.x", - "sqlite3-cluster": "^1.1.1", + "sqlite3-cluster": "git://git.daplie.com/coolaj86/sqlite3-cluster.git", "ssl-root-cas": "1.x", "twilio": "1.x", "type-is": "^1.6.1", From cfdfaadca3665f27bf582567b17342e71bd40e28 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 17:48:24 +0000 Subject: [PATCH 18/76] update git deps --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b34ac8a..0437dab 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "body-parser": "1.x", "btoa": "1.x", "bytes": "^1.0.0", - "cluster-store": "^1.0.0", + "cluster-store": "git+https://git.daplie.com/coolaj86/cluster-store.git", "compression": "1.x", "connect": "3.x", "connect-cors": "0.5.x", @@ -84,7 +84,7 @@ "jsonwebtoken": "^5.4.0", "lodash": "2.x", "letsencrypt-express": "1.1.x", - "masterquest-sqlite3": "git://git.daplie.com/coolaj86/node-masterquest-sqlite3.git", + "masterquest-sqlite3": "git+https://git.daplie.com/coolaj86/node-masterquest-sqlite3.git", "media-typer": "^0.3.0", "methods": "^1.1.1", "mime": "^1.3.4", @@ -114,7 +114,7 @@ "serve-favicon": "2.x", "serve-static": "1.x", "sqlite3": "3.x", - "sqlite3-cluster": "git://git.daplie.com/coolaj86/sqlite3-cluster.git", + "sqlite3-cluster": "git+https://git.daplie.com/coolaj86/sqlite3-cluster.git#v2", "ssl-root-cas": "1.x", "twilio": "1.x", "type-is": "^1.6.1", From 873d53f9a275cfa695369ac019baa61414ce3739 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 18:13:25 +0000 Subject: [PATCH 19/76] change default port to 3000 --- boot/master.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/master.js b/boot/master.js index 495732c..9ed50ea 100644 --- a/boot/master.js +++ b/boot/master.js @@ -38,7 +38,7 @@ var info = { protocol: 'http' , externalPort: walnut.externalPort || 443 , externalPortInsecure: walnut.externalInsecurePort || 80 // TODO externalInsecurePort - , localPort: walnut.localPort || 4080 // system / local network + , localPort: walnut.localPort || 3000 // system / local network , trustProxy: true , varpath: path.join(__dirname, '..', '..', 'var') , etcpath: path.join(__dirname, '..', '..', 'etc') From 0228723bba10eb841cf7d44fb259a34f048289d8 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 18:42:24 +0000 Subject: [PATCH 20/76] fix http get vs rsync --- install.sh | 69 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 47 insertions(+), 22 deletions(-) diff --git a/install.sh b/install.sh index 0a2109e..c2b96a2 100755 --- a/install.sh +++ b/install.sh @@ -24,20 +24,39 @@ sudo_cmd="" # See https://git.daplie.com/Daplie/daplie-snippets/blob/master/bash/http-get.sh -http_get="" +http_curl_opts="-fsSL" +http_wget_opts="--quiet" + +http_bin="" http_opts="" http_out="" -detect_http_get() +detect_http_bin() { if type -p curl >/dev/null 2>&1; then - http_get="curl" - http_opts="-fsSL" + http_bin="curl" + http_opts="$http_curl_opts" http_out="-o" + #curl -fsSL "$url" -o "$PREFIX/tmp/$pkg" elif type -p wget >/dev/null 2>&1; then - http_get="wget" - http_opts="--quiet" + http_bin="wget" + http_opts="$http_wget_opts" http_out="-O" + #wget --quiet "$url" -O "$PREFIX/tmp/$pkg" + else + echo "Aborted, could not find curl or wget" + return 7 + fi +} + +http_get() +{ + if [ -e "$1" ]; then + rsync -a "$1" "$2" + elif type -p curl >/dev/null 2>&1; then + $http_bin $http_curl_opts $http_out "$2" "$1" + elif type -p wget >/dev/null 2>&1; then + $http_bin $http_wget_opts $http_out "$2" "$1" else echo "Aborted, could not find curl or wget" return 7 @@ -46,7 +65,7 @@ detect_http_get() dap_dl() { - $http_get $http_opts $http_out "$2" "$1" + http_get "$1" "$2" } dap_dl_bash() @@ -54,10 +73,10 @@ dap_dl_bash() dap_url=$1 #dap_args=$2 rm -rf dap-tmp-runner.sh - $http_get $http_opts $http_out dap-tmp-runner.sh "$dap_url"; bash dap-tmp-runner.sh; rm dap-tmp-runner.sh + $http_bin $http_opts $http_out dap-tmp-runner.sh "$dap_url"; bash dap-tmp-runner.sh; rm dap-tmp-runner.sh } -detect_http_get +detect_http_bin ## END HTTP_GET ## @@ -146,6 +165,7 @@ install_service() echo '(please file a bug with the output of "uname -a")' echo "" fi + echo "" } ## END SERVICE_INSTALL ## @@ -180,7 +200,8 @@ dap_dl_bash "https://git.daplie.com/coolaj86/node-install-script/raw/master/setu my_app_name=walnut my_app_pkg_name=com.daplie.walnut.web my_app_dir=$(mktemp -d) -installer_base="https://git.daplie.com/Daplie/walnut.js/raw/master/dist" +#installer_base="https://git.daplie.com/Daplie/walnut.js/raw/master/dist" +installer_base="./dist" my_app_etc_config="etc/${my_app_name}/${my_app_name}.yml" my_app_systemd_service="etc/systemd/system/${my_app_name}.service" @@ -188,20 +209,24 @@ my_app_systemd_tmpfiles="etc/tmpfiles.d/${my_app_name}.conf" my_app_launchd_service="Library/LaunchDaemons/${my_app_pkg_name}.plist" # Install -#git clone git@git.daplie.com:Daplie/walnut.js.git -#git clone https://git.daplie.com/Daplie/walnut.js.git /srv/walnut/core -sudo mkdir -p /srv/walnut/{core,lib,etc,config,node_modules} -rm -rf /srv/walnut/core/node_modules -ln -sf ../node_modules /srv/walnut/core/node_modules -sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer -sudo mkdir -p /srv/walnut/etc/org.oauth3.provider -sudo mkdir -p /srv/walnut/packages/{api,pages,services} -sudo chown -R $(whoami):$(whoami) /srv/walnut +install_my_app() +{ + #git clone git@git.daplie.com:Daplie/walnut.js.git + #git clone https://git.daplie.com/Daplie/walnut.js.git /srv/walnut/core + sudo mkdir -p /srv/walnut/{core,lib,etc,config,node_modules} + rm -rf /srv/walnut/core/node_modules + ln -sf ../node_modules /srv/walnut/core/node_modules + sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer + sudo mkdir -p /srv/walnut/etc/org.oauth3.provider + sudo mkdir -p /srv/walnut/packages/{api,pages,services} + sudo chown -R $(whoami):$(whoami) /srv/walnut -pushd /srv/walnut/core - npm install -popd + pushd /srv/walnut/core + npm install + popd +} +install_my_app create_skeleton install_uninstaller install_service From 25e644bb5dd230ecd1834d9621100cb819463795 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 18:46:10 +0000 Subject: [PATCH 21/76] use correct path for walnut --- dist/Library/LaunchDaemons/com.daplie.walnut.web.plist | 2 +- dist/etc/systemd/system/walnut.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist b/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist index 1ca54ef..748869d 100644 --- a/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist +++ b/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist @@ -7,7 +7,7 @@ ProgramArguments /usr/local/bin/node - /usr/local/bin/walnut + /srv/walnut/core/bin/walnut.js --config /etc/walnut/walnut.yml diff --git a/dist/etc/systemd/system/walnut.service b/dist/etc/systemd/system/walnut.service index 5cce166..5f20e71 100644 --- a/dist/etc/systemd/system/walnut.service +++ b/dist/etc/systemd/system/walnut.service @@ -27,7 +27,7 @@ Group=www-data # Set a sane working directory, sane flags, and specify how to reload the config file WorkingDirectory=/srv/www -ExecStart=/usr/local/bin/node /usr/local/bin/walnut --config=/etc/walnut/walnut.yml +ExecStart=/usr/local/bin/node /srv/walnut/core/bin/walnut.js --config=/etc/walnut/walnut.yml ExecReload=/bin/kill -USR1 $MAINPID # Limit the number of file descriptors and processes; see `man systemd.exec` for more limit settings. From e855e159f91e384cebc9fa4c1d34024843cf625b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 10 May 2017 23:26:25 +0000 Subject: [PATCH 22/76] update deps and add a bunch of debug logging --- boot/master.js | 1 + lib/master.js | 22 ++++++++++++++++------ lib/worker.js | 16 +++++++++++++++- package.json | 2 +- 4 files changed, 33 insertions(+), 8 deletions(-) diff --git a/boot/master.js b/boot/master.js index 9ed50ea..f96e7de 100644 --- a/boot/master.js +++ b/boot/master.js @@ -71,6 +71,7 @@ cluster.on('online', function (worker) { // calls init if init has not been called require('../lib/master').touch(info.conf, state).then(function (newConf) { worker.send({ type: 'walnut.webserver.onrequest', conf: newConf }); + newConf.addWorker(worker); }); } diff --git a/lib/master.js b/lib/master.js index ca78a57..69c757c 100644 --- a/lib/master.js +++ b/lib/master.js @@ -46,13 +46,20 @@ function init(conf, state) { var cstore = require('cluster-store'); var sqlite3 = require('sqlite3-cluster/server'); + var cstoreOpts = { + sock: conf.memstoreSock + , serve: cluster.isMaster && conf.memstoreSock + , store: cluster.isMaster && null //new require('express-session/session/memory')() + // TODO implement + , key: conf.ipcKey + }; + var cstorePromise = cstore.create(cstoreOpts); var promise = PromiseA.all([ - cstore.create({ - sock: conf.memstoreSock - , serve: cluster.isMaster && conf.memstoreSock - , store: cluster.isMaster && null //new require('express-session/session/memory')() - // TODO implement - , key: conf.ipcKey + cstorePromise.then(function (store) { + console.log('[walnut] [master] cstore created'); + //console.log(cstoreOpts); + //console.log(store); + return store; }) , sqlite3.createServer({ verbose: null @@ -65,6 +72,9 @@ function init(conf, state) { ]).then(function (args) { state.memstore = args[0]; //state.sqlstore = args[1]; + newConf.addWorker = function (w) { + return cstorePromise.addWorker(w); + }; return newConf; }); diff --git a/lib/worker.js b/lib/worker.js index dee1167..21c0fc1 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -1,6 +1,8 @@ 'use strict'; module.exports.create = function (webserver, xconfx, state) { + console.log('[worker] create'); + xconfx.debug = true; console.log('DEBUG create worker'); if (!state) { @@ -35,6 +37,7 @@ module.exports.create = function (webserver, xconfx, state) { */ var cstore = require('cluster-store'); + console.log('[worker] creating data stores...'); return PromiseA.all([ // TODO security on memstore // TODO memstoreFactory.create @@ -44,6 +47,7 @@ module.exports.create = function (webserver, xconfx, state) { // TODO implement , key: xconfx.ipcKey }).then(function (_memstore) { + console.log('[worker] cstore created'); memstore = PromiseA.promisifyAll(_memstore); return memstore; }) @@ -52,8 +56,12 @@ module.exports.create = function (webserver, xconfx, state) { , systemFactory.create({ init: true , dbname: 'config' + }).then(function (sysdb) { + console.log('[worker] sysdb created'); + return sysdb; }) ]).then(function (args) { + console.log('[worker] database factories created'); memstore = args[0]; sqlstores.config = args[1]; @@ -70,7 +78,6 @@ module.exports.create = function (webserver, xconfx, state) { , indices: [ 'createdAt', 'updatedAt' ] } ]; - console.log('config directive', dir); function scopeMemstore(expId) { var scope = expId + '|'; @@ -120,8 +127,11 @@ module.exports.create = function (webserver, xconfx, state) { } return wrap.wrap(sqlstores.config, dir).then(function (models) { + console.log('[worker] database wrapped'); return models.ComDaplieWalnutConfig.find(null, { limit: 100 }).then(function (results) { + console.log('[worker] config query complete'); return models.ComDaplieWalnutConfig.find(null, { limit: 10000 }).then(function (redirects) { + console.log('[worker] configuring express'); var express = require('express-lazy'); var app = express(); var recase = require('connect-recase')({ @@ -160,15 +170,19 @@ module.exports.create = function (webserver, xconfx, state) { } function setupMain() { + if (xconfx.debug) { console.log('[main] setup'); } mainApp = express(); require('./main').create(mainApp, xconfx, apiFactories, apiDeps).then(function () { + if (xconfx.debug) { console.log('[main] ready'); } // TODO process.send({}); }); } if (!bootstrapApp) { + if (xconfx.debug) { console.log('[bootstrap] setup'); } bootstrapApp = express(); require('./bootstrap').create(bootstrapApp, xconfx, models).then(function () { + if (xconfx.debug) { console.log('[bootstrap] ready'); } // TODO process.send({}); setupMain(); }); diff --git a/package.json b/package.json index 0437dab..269f7df 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "body-parser": "1.x", "btoa": "1.x", "bytes": "^1.0.0", - "cluster-store": "git+https://git.daplie.com/coolaj86/cluster-store.git", + "cluster-store": "git+https://git.daplie.com/Daplie/cluster-store.git#v2", "compression": "1.x", "connect": "3.x", "connect-cors": "0.5.x", From 69ce868660c974ea88dd7e0f4dc8b7a73232b640 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 11 May 2017 00:57:50 +0000 Subject: [PATCH 23/76] remove letsencrypt --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 269f7df..258bc7d 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,6 @@ "json-storage": "2.x", "jsonwebtoken": "^5.4.0", "lodash": "2.x", - "letsencrypt-express": "1.1.x", "masterquest-sqlite3": "git+https://git.daplie.com/coolaj86/node-masterquest-sqlite3.git", "media-typer": "^0.3.0", "methods": "^1.1.1", From 1e5fd8484f6ac1a69a1526eae1017c3cd5856d1e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 11 May 2017 01:11:31 +0000 Subject: [PATCH 24/76] more strict API prefix checking (and better error) --- lib/bootstrap.js | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/lib/bootstrap.js b/lib/bootstrap.js index 540e55e..671fc9e 100644 --- a/lib/bootstrap.js +++ b/lib/bootstrap.js @@ -47,13 +47,18 @@ module.exports.create = function (app, xconfx, models) { var resolve; function errorIfNotApi(req, res, next) { - // if it's not an ip address - if (/[a-z]+/.test(req.hostname || req.headers.host)) { - if (!/^api\./.test(req.hostname || req.headers.host)) { - console.warn('not API req.headers.host:', req.hostname || req.headers.host); - res.send({ error: { message: "no api. subdomain prefix" } }); - return; - } + var hostname = req.hostname || req.headers.host; + + if (!/^api\.[a-z0-9\-]+/.test(hostname)) { + res.send({ error: + { message: "API access is restricted to proper 'api'-prefixed lowercase subdomains." + + " The HTTP 'Host' header must exist and must begin with 'api.' as in 'api.example.com'." + + " For development you may test with api.localhost.daplie.me (or any domain by modifying your /etc/hosts)" + , code: 'E_NOT_API' + , _hostname: hostname + } + }); + return; } next(); From 39b77ba37ffb5628432b156c6aa87f9d00974397 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 15 May 2017 18:11:49 +0000 Subject: [PATCH 25/76] add empty walnut.yml --- dist/etc/walnut/walnut.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 dist/etc/walnut/walnut.yml diff --git a/dist/etc/walnut/walnut.yml b/dist/etc/walnut/walnut.yml new file mode 100644 index 0000000..e69de29 From 5bfac31af4a54fa855cbc9487cb62a5f4ad554a2 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 15 May 2017 18:16:10 +0000 Subject: [PATCH 26/76] use my_app_name --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c2b96a2..b18a436 100755 --- a/install.sh +++ b/install.sh @@ -112,7 +112,7 @@ install_for_systemd() echo "$my_app_name started with systemctl, check its status like so" echo " $sudo_cmd systemctl status $my_app_name" - echo " $sudo_cmd journalctl -xe -u goldilocks" + echo " $sudo_cmd journalctl -xe -u $my_app_name" } install_for_launchd() From d45361005b534e53c94a2693bc6c94c234f20753 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 15 May 2017 18:16:54 +0000 Subject: [PATCH 27/76] use correct owner --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b18a436..1bd97b8 100755 --- a/install.sh +++ b/install.sh @@ -219,7 +219,8 @@ install_my_app() sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer sudo mkdir -p /srv/walnut/etc/org.oauth3.provider sudo mkdir -p /srv/walnut/packages/{api,pages,services} - sudo chown -R $(whoami):$(whoami) /srv/walnut + #sudo chown -R $(whoami):$(whoami) /srv/walnut + sudo chown -R www-data:www-data /srv/walnut pushd /srv/walnut/core npm install From 0db9ba98a7d37ffa8f32ed4b2a2bc0fd4551dacb Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 15 May 2017 18:21:07 +0000 Subject: [PATCH 28/76] add group perms --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 1bd97b8..38a7486 100755 --- a/install.sh +++ b/install.sh @@ -221,6 +221,7 @@ install_my_app() sudo mkdir -p /srv/walnut/packages/{api,pages,services} #sudo chown -R $(whoami):$(whoami) /srv/walnut sudo chown -R www-data:www-data /srv/walnut + sudo chmod -R ug+Xrw /srv/walnut pushd /srv/walnut/core npm install From 171ddc9394bd506bddbc30f9dc58ad6897da9dd2 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 17 May 2017 19:50:15 -0500 Subject: [PATCH 29/76] add com.daplie.walnut.init --- lib/com.daplie.walnut.init/css/bootstrap.css | 6961 ++++++++++++ lib/com.daplie.walnut.init/index.html | 33 + lib/com.daplie.walnut.init/js/index.js | 110 + lib/com.daplie.walnut.init/js/jquery-2.2.2.js | 9842 +++++++++++++++++ 4 files changed, 16946 insertions(+) create mode 100644 lib/com.daplie.walnut.init/css/bootstrap.css create mode 100644 lib/com.daplie.walnut.init/index.html create mode 100644 lib/com.daplie.walnut.init/js/index.js create mode 100644 lib/com.daplie.walnut.init/js/jquery-2.2.2.js diff --git a/lib/com.daplie.walnut.init/css/bootstrap.css b/lib/com.daplie.walnut.init/css/bootstrap.css new file mode 100644 index 0000000..b1ebc6e --- /dev/null +++ b/lib/com.daplie.walnut.init/css/bootstrap.css @@ -0,0 +1,6961 @@ +@import url("https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700"); +/*! + * bootswatch v3.3.6 + * Homepage: http://bootswatch.com + * Copyright 2012-2016 Thomas Park + * Licensed under MIT + * Based on Bootstrap +*/ +/*! + * Bootstrap v3.3.6 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ +html { + font-family: sans-serif; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; +} +body { + margin: 0; +} +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} +audio, +canvas, +progress, +video { + display: inline-block; + vertical-align: baseline; +} +audio:not([controls]) { + display: none; + height: 0; +} +[hidden], +template { + display: none; +} +a { + background-color: transparent; +} +a:active, +a:hover { + outline: 0; +} +abbr[title] { + border-bottom: 1px dotted; +} +b, +strong { + font-weight: bold; +} +dfn { + font-style: italic; +} +h1 { + font-size: 2em; + margin: 0.67em 0; +} +mark { + background: #ff0; + color: #000; +} +small { + font-size: 80%; +} +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sup { + top: -0.5em; +} +sub { + bottom: -0.25em; +} +img { + border: 0; +} +svg:not(:root) { + overflow: hidden; +} +figure { + margin: 1em 40px; +} +hr { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} +pre { + overflow: auto; +} +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} +button, +input, +optgroup, +select, +textarea { + color: inherit; + font: inherit; + margin: 0; +} +button { + overflow: visible; +} +button, +select { + text-transform: none; +} +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; +} +button[disabled], +html input[disabled] { + cursor: default; +} +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} +input { + line-height: normal; +} +input[type="checkbox"], +input[type="radio"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 0; +} +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} +input[type="search"] { + -webkit-appearance: textfield; + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; +} +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} +legend { + border: 0; + padding: 0; +} +textarea { + overflow: auto; +} +optgroup { + font-weight: bold; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +td, +th { + padding: 0; +} +/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ +@media print { + *, + *:before, + *:after { + background: transparent !important; + color: #000 !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; + text-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="#"]:after, + a[href^="javascript:"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + .navbar { + display: none; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #fff !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); +} +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + font-style: normal; + font-weight: normal; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.glyphicon-asterisk:before { + content: "\002a"; +} +.glyphicon-plus:before { + content: "\002b"; +} +.glyphicon-euro:before, +.glyphicon-eur:before { + content: "\20ac"; +} +.glyphicon-minus:before { + content: "\2212"; +} +.glyphicon-cloud:before { + content: "\2601"; +} +.glyphicon-envelope:before { + content: "\2709"; +} +.glyphicon-pencil:before { + content: "\270f"; +} +.glyphicon-glass:before { + content: "\e001"; +} +.glyphicon-music:before { + content: "\e002"; +} +.glyphicon-search:before { + content: "\e003"; +} +.glyphicon-heart:before { + content: "\e005"; +} +.glyphicon-star:before { + content: "\e006"; +} +.glyphicon-star-empty:before { + content: "\e007"; +} +.glyphicon-user:before { + content: "\e008"; +} +.glyphicon-film:before { + content: "\e009"; +} +.glyphicon-th-large:before { + content: "\e010"; +} +.glyphicon-th:before { + content: "\e011"; +} +.glyphicon-th-list:before { + content: "\e012"; +} +.glyphicon-ok:before { + content: "\e013"; +} +.glyphicon-remove:before { + content: "\e014"; +} +.glyphicon-zoom-in:before { + content: "\e015"; +} +.glyphicon-zoom-out:before { + content: "\e016"; +} +.glyphicon-off:before { + content: "\e017"; +} +.glyphicon-signal:before { + content: "\e018"; +} +.glyphicon-cog:before { + content: "\e019"; +} +.glyphicon-trash:before { + content: "\e020"; +} +.glyphicon-home:before { + content: "\e021"; +} +.glyphicon-file:before { + content: "\e022"; +} +.glyphicon-time:before { + content: "\e023"; +} +.glyphicon-road:before { + content: "\e024"; +} +.glyphicon-download-alt:before { + content: "\e025"; +} +.glyphicon-download:before { + content: "\e026"; +} +.glyphicon-upload:before { + content: "\e027"; +} +.glyphicon-inbox:before { + content: "\e028"; +} +.glyphicon-play-circle:before { + content: "\e029"; +} +.glyphicon-repeat:before { + content: "\e030"; +} +.glyphicon-refresh:before { + content: "\e031"; +} +.glyphicon-list-alt:before { + content: "\e032"; +} +.glyphicon-lock:before { + content: "\e033"; +} +.glyphicon-flag:before { + content: "\e034"; +} +.glyphicon-headphones:before { + content: "\e035"; +} +.glyphicon-volume-off:before { + content: "\e036"; +} +.glyphicon-volume-down:before { + content: "\e037"; +} +.glyphicon-volume-up:before { + content: "\e038"; +} +.glyphicon-qrcode:before { + content: "\e039"; +} +.glyphicon-barcode:before { + content: "\e040"; +} +.glyphicon-tag:before { + content: "\e041"; +} +.glyphicon-tags:before { + content: "\e042"; +} +.glyphicon-book:before { + content: "\e043"; +} +.glyphicon-bookmark:before { + content: "\e044"; +} +.glyphicon-print:before { + content: "\e045"; +} +.glyphicon-camera:before { + content: "\e046"; +} +.glyphicon-font:before { + content: "\e047"; +} +.glyphicon-bold:before { + content: "\e048"; +} +.glyphicon-italic:before { + content: "\e049"; +} +.glyphicon-text-height:before { + content: "\e050"; +} +.glyphicon-text-width:before { + content: "\e051"; +} +.glyphicon-align-left:before { + content: "\e052"; +} +.glyphicon-align-center:before { + content: "\e053"; +} +.glyphicon-align-right:before { + content: "\e054"; +} +.glyphicon-align-justify:before { + content: "\e055"; +} +.glyphicon-list:before { + content: "\e056"; +} +.glyphicon-indent-left:before { + content: "\e057"; +} +.glyphicon-indent-right:before { + content: "\e058"; +} +.glyphicon-facetime-video:before { + content: "\e059"; +} +.glyphicon-picture:before { + content: "\e060"; +} +.glyphicon-map-marker:before { + content: "\e062"; +} +.glyphicon-adjust:before { + content: "\e063"; +} +.glyphicon-tint:before { + content: "\e064"; +} +.glyphicon-edit:before { + content: "\e065"; +} +.glyphicon-share:before { + content: "\e066"; +} +.glyphicon-check:before { + content: "\e067"; +} +.glyphicon-move:before { + content: "\e068"; +} +.glyphicon-step-backward:before { + content: "\e069"; +} +.glyphicon-fast-backward:before { + content: "\e070"; +} +.glyphicon-backward:before { + content: "\e071"; +} +.glyphicon-play:before { + content: "\e072"; +} +.glyphicon-pause:before { + content: "\e073"; +} +.glyphicon-stop:before { + content: "\e074"; +} +.glyphicon-forward:before { + content: "\e075"; +} +.glyphicon-fast-forward:before { + content: "\e076"; +} +.glyphicon-step-forward:before { + content: "\e077"; +} +.glyphicon-eject:before { + content: "\e078"; +} +.glyphicon-chevron-left:before { + content: "\e079"; +} +.glyphicon-chevron-right:before { + content: "\e080"; +} +.glyphicon-plus-sign:before { + content: "\e081"; +} +.glyphicon-minus-sign:before { + content: "\e082"; +} +.glyphicon-remove-sign:before { + content: "\e083"; +} +.glyphicon-ok-sign:before { + content: "\e084"; +} +.glyphicon-question-sign:before { + content: "\e085"; +} +.glyphicon-info-sign:before { + content: "\e086"; +} +.glyphicon-screenshot:before { + content: "\e087"; +} +.glyphicon-remove-circle:before { + content: "\e088"; +} +.glyphicon-ok-circle:before { + content: "\e089"; +} +.glyphicon-ban-circle:before { + content: "\e090"; +} +.glyphicon-arrow-left:before { + content: "\e091"; +} +.glyphicon-arrow-right:before { + content: "\e092"; +} +.glyphicon-arrow-up:before { + content: "\e093"; +} +.glyphicon-arrow-down:before { + content: "\e094"; +} +.glyphicon-share-alt:before { + content: "\e095"; +} +.glyphicon-resize-full:before { + content: "\e096"; +} +.glyphicon-resize-small:before { + content: "\e097"; +} +.glyphicon-exclamation-sign:before { + content: "\e101"; +} +.glyphicon-gift:before { + content: "\e102"; +} +.glyphicon-leaf:before { + content: "\e103"; +} +.glyphicon-fire:before { + content: "\e104"; +} +.glyphicon-eye-open:before { + content: "\e105"; +} +.glyphicon-eye-close:before { + content: "\e106"; +} +.glyphicon-warning-sign:before { + content: "\e107"; +} +.glyphicon-plane:before { + content: "\e108"; +} +.glyphicon-calendar:before { + content: "\e109"; +} +.glyphicon-random:before { + content: "\e110"; +} +.glyphicon-comment:before { + content: "\e111"; +} +.glyphicon-magnet:before { + content: "\e112"; +} +.glyphicon-chevron-up:before { + content: "\e113"; +} +.glyphicon-chevron-down:before { + content: "\e114"; +} +.glyphicon-retweet:before { + content: "\e115"; +} +.glyphicon-shopping-cart:before { + content: "\e116"; +} +.glyphicon-folder-close:before { + content: "\e117"; +} +.glyphicon-folder-open:before { + content: "\e118"; +} +.glyphicon-resize-vertical:before { + content: "\e119"; +} +.glyphicon-resize-horizontal:before { + content: "\e120"; +} +.glyphicon-hdd:before { + content: "\e121"; +} +.glyphicon-bullhorn:before { + content: "\e122"; +} +.glyphicon-bell:before { + content: "\e123"; +} +.glyphicon-certificate:before { + content: "\e124"; +} +.glyphicon-thumbs-up:before { + content: "\e125"; +} +.glyphicon-thumbs-down:before { + content: "\e126"; +} +.glyphicon-hand-right:before { + content: "\e127"; +} +.glyphicon-hand-left:before { + content: "\e128"; +} +.glyphicon-hand-up:before { + content: "\e129"; +} +.glyphicon-hand-down:before { + content: "\e130"; +} +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} +.glyphicon-globe:before { + content: "\e135"; +} +.glyphicon-wrench:before { + content: "\e136"; +} +.glyphicon-tasks:before { + content: "\e137"; +} +.glyphicon-filter:before { + content: "\e138"; +} +.glyphicon-briefcase:before { + content: "\e139"; +} +.glyphicon-fullscreen:before { + content: "\e140"; +} +.glyphicon-dashboard:before { + content: "\e141"; +} +.glyphicon-paperclip:before { + content: "\e142"; +} +.glyphicon-heart-empty:before { + content: "\e143"; +} +.glyphicon-link:before { + content: "\e144"; +} +.glyphicon-phone:before { + content: "\e145"; +} +.glyphicon-pushpin:before { + content: "\e146"; +} +.glyphicon-usd:before { + content: "\e148"; +} +.glyphicon-gbp:before { + content: "\e149"; +} +.glyphicon-sort:before { + content: "\e150"; +} +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} +.glyphicon-sort-by-order:before { + content: "\e153"; +} +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} +.glyphicon-unchecked:before { + content: "\e157"; +} +.glyphicon-expand:before { + content: "\e158"; +} +.glyphicon-collapse-down:before { + content: "\e159"; +} +.glyphicon-collapse-up:before { + content: "\e160"; +} +.glyphicon-log-in:before { + content: "\e161"; +} +.glyphicon-flash:before { + content: "\e162"; +} +.glyphicon-log-out:before { + content: "\e163"; +} +.glyphicon-new-window:before { + content: "\e164"; +} +.glyphicon-record:before { + content: "\e165"; +} +.glyphicon-save:before { + content: "\e166"; +} +.glyphicon-open:before { + content: "\e167"; +} +.glyphicon-saved:before { + content: "\e168"; +} +.glyphicon-import:before { + content: "\e169"; +} +.glyphicon-export:before { + content: "\e170"; +} +.glyphicon-send:before { + content: "\e171"; +} +.glyphicon-floppy-disk:before { + content: "\e172"; +} +.glyphicon-floppy-saved:before { + content: "\e173"; +} +.glyphicon-floppy-remove:before { + content: "\e174"; +} +.glyphicon-floppy-save:before { + content: "\e175"; +} +.glyphicon-floppy-open:before { + content: "\e176"; +} +.glyphicon-credit-card:before { + content: "\e177"; +} +.glyphicon-transfer:before { + content: "\e178"; +} +.glyphicon-cutlery:before { + content: "\e179"; +} +.glyphicon-header:before { + content: "\e180"; +} +.glyphicon-compressed:before { + content: "\e181"; +} +.glyphicon-earphone:before { + content: "\e182"; +} +.glyphicon-phone-alt:before { + content: "\e183"; +} +.glyphicon-tower:before { + content: "\e184"; +} +.glyphicon-stats:before { + content: "\e185"; +} +.glyphicon-sd-video:before { + content: "\e186"; +} +.glyphicon-hd-video:before { + content: "\e187"; +} +.glyphicon-subtitles:before { + content: "\e188"; +} +.glyphicon-sound-stereo:before { + content: "\e189"; +} +.glyphicon-sound-dolby:before { + content: "\e190"; +} +.glyphicon-sound-5-1:before { + content: "\e191"; +} +.glyphicon-sound-6-1:before { + content: "\e192"; +} +.glyphicon-sound-7-1:before { + content: "\e193"; +} +.glyphicon-copyright-mark:before { + content: "\e194"; +} +.glyphicon-registration-mark:before { + content: "\e195"; +} +.glyphicon-cloud-download:before { + content: "\e197"; +} +.glyphicon-cloud-upload:before { + content: "\e198"; +} +.glyphicon-tree-conifer:before { + content: "\e199"; +} +.glyphicon-tree-deciduous:before { + content: "\e200"; +} +.glyphicon-cd:before { + content: "\e201"; +} +.glyphicon-save-file:before { + content: "\e202"; +} +.glyphicon-open-file:before { + content: "\e203"; +} +.glyphicon-level-up:before { + content: "\e204"; +} +.glyphicon-copy:before { + content: "\e205"; +} +.glyphicon-paste:before { + content: "\e206"; +} +.glyphicon-alert:before { + content: "\e209"; +} +.glyphicon-equalizer:before { + content: "\e210"; +} +.glyphicon-king:before { + content: "\e211"; +} +.glyphicon-queen:before { + content: "\e212"; +} +.glyphicon-pawn:before { + content: "\e213"; +} +.glyphicon-bishop:before { + content: "\e214"; +} +.glyphicon-knight:before { + content: "\e215"; +} +.glyphicon-baby-formula:before { + content: "\e216"; +} +.glyphicon-tent:before { + content: "\26fa"; +} +.glyphicon-blackboard:before { + content: "\e218"; +} +.glyphicon-bed:before { + content: "\e219"; +} +.glyphicon-apple:before { + content: "\f8ff"; +} +.glyphicon-erase:before { + content: "\e221"; +} +.glyphicon-hourglass:before { + content: "\231b"; +} +.glyphicon-lamp:before { + content: "\e223"; +} +.glyphicon-duplicate:before { + content: "\e224"; +} +.glyphicon-piggy-bank:before { + content: "\e225"; +} +.glyphicon-scissors:before { + content: "\e226"; +} +.glyphicon-bitcoin:before { + content: "\e227"; +} +.glyphicon-btc:before { + content: "\e227"; +} +.glyphicon-xbt:before { + content: "\e227"; +} +.glyphicon-yen:before { + content: "\00a5"; +} +.glyphicon-jpy:before { + content: "\00a5"; +} +.glyphicon-ruble:before { + content: "\20bd"; +} +.glyphicon-rub:before { + content: "\20bd"; +} +.glyphicon-scale:before { + content: "\e230"; +} +.glyphicon-ice-lolly:before { + content: "\e231"; +} +.glyphicon-ice-lolly-tasted:before { + content: "\e232"; +} +.glyphicon-education:before { + content: "\e233"; +} +.glyphicon-option-horizontal:before { + content: "\e234"; +} +.glyphicon-option-vertical:before { + content: "\e235"; +} +.glyphicon-menu-hamburger:before { + content: "\e236"; +} +.glyphicon-modal-window:before { + content: "\e237"; +} +.glyphicon-oil:before { + content: "\e238"; +} +.glyphicon-grain:before { + content: "\e239"; +} +.glyphicon-sunglasses:before { + content: "\e240"; +} +.glyphicon-text-size:before { + content: "\e241"; +} +.glyphicon-text-color:before { + content: "\e242"; +} +.glyphicon-text-background:before { + content: "\e243"; +} +.glyphicon-object-align-top:before { + content: "\e244"; +} +.glyphicon-object-align-bottom:before { + content: "\e245"; +} +.glyphicon-object-align-horizontal:before { + content: "\e246"; +} +.glyphicon-object-align-left:before { + content: "\e247"; +} +.glyphicon-object-align-vertical:before { + content: "\e248"; +} +.glyphicon-object-align-right:before { + content: "\e249"; +} +.glyphicon-triangle-right:before { + content: "\e250"; +} +.glyphicon-triangle-left:before { + content: "\e251"; +} +.glyphicon-triangle-bottom:before { + content: "\e252"; +} +.glyphicon-triangle-top:before { + content: "\e253"; +} +.glyphicon-console:before { + content: "\e254"; +} +.glyphicon-superscript:before { + content: "\e255"; +} +.glyphicon-subscript:before { + content: "\e256"; +} +.glyphicon-menu-left:before { + content: "\e257"; +} +.glyphicon-menu-right:before { + content: "\e258"; +} +.glyphicon-menu-down:before { + content: "\e259"; +} +.glyphicon-menu-up:before { + content: "\e260"; +} +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +html { + font-size: 10px; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} +body { + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.42857143; + color: #666666; + background-color: #ffffff; +} +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} +a { + color: #3399f3; + text-decoration: none; +} +a:hover, +a:focus { + color: #3399f3; + text-decoration: underline; +} +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +figure { + margin: 0; +} +img { + vertical-align: middle; +} +.img-responsive, +.thumbnail > img, +.thumbnail a > img, +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + max-width: 100%; + height: auto; +} +.img-rounded { + border-radius: 6px; +} +.img-thumbnail { + padding: 4px; + line-height: 1.42857143; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + display: inline-block; + max-width: 100%; + height: auto; +} +.img-circle { + border-radius: 50%; +} +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} +[role="button"] { + cursor: pointer; +} +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: #2d2d2d; +} +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} +h1, +.h1, +h2, +.h2, +h3, +.h3 { + margin-top: 20px; + margin-bottom: 10px; +} +h1 small, +.h1 small, +h2 small, +.h2 small, +h3 small, +.h3 small, +h1 .small, +.h1 .small, +h2 .small, +.h2 .small, +h3 .small, +.h3 .small { + font-size: 65%; +} +h4, +.h4, +h5, +.h5, +h6, +.h6 { + margin-top: 10px; + margin-bottom: 10px; +} +h4 small, +.h4 small, +h5 small, +.h5 small, +h6 small, +.h6 small, +h4 .small, +.h4 .small, +h5 .small, +.h5 .small, +h6 .small, +.h6 .small { + font-size: 75%; +} +h1, +.h1 { + font-size: 36px; +} +h2, +.h2 { + font-size: 30px; +} +h3, +.h3 { + font-size: 24px; +} +h4, +.h4 { + font-size: 18px; +} +h5, +.h5 { + font-size: 14px; +} +h6, +.h6 { + font-size: 12px; +} +p { + margin: 0 0 10px; +} +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 300; + line-height: 1.4; +} +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} +small, +.small { + font-size: 85%; +} +mark, +.mark { + background-color: #fcf8e3; + padding: .2em; +} +.text-left { + text-align: left; +} +.text-right { + text-align: right; +} +.text-center { + text-align: center; +} +.text-justify { + text-align: justify; +} +.text-nowrap { + white-space: nowrap; +} +.text-lowercase { + text-transform: lowercase; +} +.text-uppercase { + text-transform: uppercase; +} +.text-capitalize { + text-transform: capitalize; +} +.text-muted { + color: #999999; +} +.text-primary { + color: #446e9b; +} +a.text-primary:hover, +a.text-primary:focus { + color: #345578; +} +.text-success { + color: #468847; +} +a.text-success:hover, +a.text-success:focus { + color: #356635; +} +.text-info { + color: #3a87ad; +} +a.text-info:hover, +a.text-info:focus { + color: #2d6987; +} +.text-warning { + color: #c09853; +} +a.text-warning:hover, +a.text-warning:focus { + color: #a47e3c; +} +.text-danger { + color: #b94a48; +} +a.text-danger:hover, +a.text-danger:focus { + color: #953b39; +} +.bg-primary { + color: #fff; + background-color: #446e9b; +} +a.bg-primary:hover, +a.bg-primary:focus { + background-color: #345578; +} +.bg-success { + background-color: #dff0d8; +} +a.bg-success:hover, +a.bg-success:focus { + background-color: #c1e2b3; +} +.bg-info { + background-color: #d9edf7; +} +a.bg-info:hover, +a.bg-info:focus { + background-color: #afd9ee; +} +.bg-warning { + background-color: #fcf8e3; +} +a.bg-warning:hover, +a.bg-warning:focus { + background-color: #f7ecb5; +} +.bg-danger { + background-color: #f2dede; +} +a.bg-danger:hover, +a.bg-danger:focus { + background-color: #e4b9b9; +} +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} +.list-unstyled { + padding-left: 0; + list-style: none; +} +.list-inline { + padding-left: 0; + list-style: none; + margin-left: -5px; +} +.list-inline > li { + display: inline-block; + padding-left: 5px; + padding-right: 5px; +} +dl { + margin-top: 0; + margin-bottom: 20px; +} +dt, +dd { + line-height: 1.42857143; +} +dt { + font-weight: bold; +} +dd { + margin-left: 0; +} +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + clear: left; + text-align: right; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } +} +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} +.initialism { + font-size: 90%; + text-transform: uppercase; +} +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + font-size: 17.5px; + border-left: 5px solid #eeeeee; +} +blockquote p:last-child, +blockquote ul:last-child, +blockquote ol:last-child { + margin-bottom: 0; +} +blockquote footer, +blockquote small, +blockquote .small { + display: block; + font-size: 80%; + line-height: 1.42857143; + color: #999999; +} +blockquote footer:before, +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} +.blockquote-reverse, +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; + text-align: right; +} +.blockquote-reverse footer:before, +blockquote.pull-right footer:before, +.blockquote-reverse small:before, +blockquote.pull-right small:before, +.blockquote-reverse .small:before, +blockquote.pull-right .small:before { + content: ''; +} +.blockquote-reverse footer:after, +blockquote.pull-right footer:after, +.blockquote-reverse small:after, +blockquote.pull-right small:after, +.blockquote-reverse .small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.42857143; +} +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + background-color: #f9f2f4; + border-radius: 4px; +} +kbd { + padding: 2px 4px; + font-size: 90%; + color: #ffffff; + background-color: #333333; + border-radius: 3px; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); +} +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: bold; + -webkit-box-shadow: none; + box-shadow: none; +} +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.42857143; + word-break: break-all; + word-wrap: break-word; + color: #333333; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} +.container { + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px; +} +@media (min-width: 768px) { + .container { + width: 750px; + } +} +@media (min-width: 992px) { + .container { + width: 970px; + } +} +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} +.container-fluid { + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px; +} +.row { + margin-left: -15px; + margin-right: -15px; +} +.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { + position: relative; + min-height: 1px; + padding-left: 15px; + padding-right: 15px; +} +.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { + float: left; +} +.col-xs-12 { + width: 100%; +} +.col-xs-11 { + width: 91.66666667%; +} +.col-xs-10 { + width: 83.33333333%; +} +.col-xs-9 { + width: 75%; +} +.col-xs-8 { + width: 66.66666667%; +} +.col-xs-7 { + width: 58.33333333%; +} +.col-xs-6 { + width: 50%; +} +.col-xs-5 { + width: 41.66666667%; +} +.col-xs-4 { + width: 33.33333333%; +} +.col-xs-3 { + width: 25%; +} +.col-xs-2 { + width: 16.66666667%; +} +.col-xs-1 { + width: 8.33333333%; +} +.col-xs-pull-12 { + right: 100%; +} +.col-xs-pull-11 { + right: 91.66666667%; +} +.col-xs-pull-10 { + right: 83.33333333%; +} +.col-xs-pull-9 { + right: 75%; +} +.col-xs-pull-8 { + right: 66.66666667%; +} +.col-xs-pull-7 { + right: 58.33333333%; +} +.col-xs-pull-6 { + right: 50%; +} +.col-xs-pull-5 { + right: 41.66666667%; +} +.col-xs-pull-4 { + right: 33.33333333%; +} +.col-xs-pull-3 { + right: 25%; +} +.col-xs-pull-2 { + right: 16.66666667%; +} +.col-xs-pull-1 { + right: 8.33333333%; +} +.col-xs-pull-0 { + right: auto; +} +.col-xs-push-12 { + left: 100%; +} +.col-xs-push-11 { + left: 91.66666667%; +} +.col-xs-push-10 { + left: 83.33333333%; +} +.col-xs-push-9 { + left: 75%; +} +.col-xs-push-8 { + left: 66.66666667%; +} +.col-xs-push-7 { + left: 58.33333333%; +} +.col-xs-push-6 { + left: 50%; +} +.col-xs-push-5 { + left: 41.66666667%; +} +.col-xs-push-4 { + left: 33.33333333%; +} +.col-xs-push-3 { + left: 25%; +} +.col-xs-push-2 { + left: 16.66666667%; +} +.col-xs-push-1 { + left: 8.33333333%; +} +.col-xs-push-0 { + left: auto; +} +.col-xs-offset-12 { + margin-left: 100%; +} +.col-xs-offset-11 { + margin-left: 91.66666667%; +} +.col-xs-offset-10 { + margin-left: 83.33333333%; +} +.col-xs-offset-9 { + margin-left: 75%; +} +.col-xs-offset-8 { + margin-left: 66.66666667%; +} +.col-xs-offset-7 { + margin-left: 58.33333333%; +} +.col-xs-offset-6 { + margin-left: 50%; +} +.col-xs-offset-5 { + margin-left: 41.66666667%; +} +.col-xs-offset-4 { + margin-left: 33.33333333%; +} +.col-xs-offset-3 { + margin-left: 25%; +} +.col-xs-offset-2 { + margin-left: 16.66666667%; +} +.col-xs-offset-1 { + margin-left: 8.33333333%; +} +.col-xs-offset-0 { + margin-left: 0%; +} +@media (min-width: 768px) { + .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666667%; + } + .col-sm-10 { + width: 83.33333333%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666667%; + } + .col-sm-7 { + width: 58.33333333%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666667%; + } + .col-sm-4 { + width: 33.33333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.66666667%; + } + .col-sm-1 { + width: 8.33333333%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666667%; + } + .col-sm-pull-10 { + right: 83.33333333%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666667%; + } + .col-sm-pull-7 { + right: 58.33333333%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666667%; + } + .col-sm-pull-4 { + right: 33.33333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.66666667%; + } + .col-sm-pull-1 { + right: 8.33333333%; + } + .col-sm-pull-0 { + right: auto; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666667%; + } + .col-sm-push-10 { + left: 83.33333333%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666667%; + } + .col-sm-push-7 { + left: 58.33333333%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666667%; + } + .col-sm-push-4 { + left: 33.33333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.66666667%; + } + .col-sm-push-1 { + left: 8.33333333%; + } + .col-sm-push-0 { + left: auto; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666667%; + } + .col-sm-offset-10 { + margin-left: 83.33333333%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666667%; + } + .col-sm-offset-7 { + margin-left: 58.33333333%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.66666667%; + } + .col-sm-offset-1 { + margin-left: 8.33333333%; + } + .col-sm-offset-0 { + margin-left: 0%; + } +} +@media (min-width: 992px) { + .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666667%; + } + .col-md-10 { + width: 83.33333333%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666667%; + } + .col-md-7 { + width: 58.33333333%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666667%; + } + .col-md-4 { + width: 33.33333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.66666667%; + } + .col-md-1 { + width: 8.33333333%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666667%; + } + .col-md-pull-10 { + right: 83.33333333%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666667%; + } + .col-md-pull-7 { + right: 58.33333333%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666667%; + } + .col-md-pull-4 { + right: 33.33333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.66666667%; + } + .col-md-pull-1 { + right: 8.33333333%; + } + .col-md-pull-0 { + right: auto; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666667%; + } + .col-md-push-10 { + left: 83.33333333%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666667%; + } + .col-md-push-7 { + left: 58.33333333%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666667%; + } + .col-md-push-4 { + left: 33.33333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.66666667%; + } + .col-md-push-1 { + left: 8.33333333%; + } + .col-md-push-0 { + left: auto; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666667%; + } + .col-md-offset-10 { + margin-left: 83.33333333%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666667%; + } + .col-md-offset-7 { + margin-left: 58.33333333%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.66666667%; + } + .col-md-offset-1 { + margin-left: 8.33333333%; + } + .col-md-offset-0 { + margin-left: 0%; + } +} +@media (min-width: 1200px) { + .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666667%; + } + .col-lg-10 { + width: 83.33333333%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666667%; + } + .col-lg-7 { + width: 58.33333333%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666667%; + } + .col-lg-4 { + width: 33.33333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.66666667%; + } + .col-lg-1 { + width: 8.33333333%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666667%; + } + .col-lg-pull-10 { + right: 83.33333333%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666667%; + } + .col-lg-pull-7 { + right: 58.33333333%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666667%; + } + .col-lg-pull-4 { + right: 33.33333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.66666667%; + } + .col-lg-pull-1 { + right: 8.33333333%; + } + .col-lg-pull-0 { + right: auto; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666667%; + } + .col-lg-push-10 { + left: 83.33333333%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666667%; + } + .col-lg-push-7 { + left: 58.33333333%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666667%; + } + .col-lg-push-4 { + left: 33.33333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.66666667%; + } + .col-lg-push-1 { + left: 8.33333333%; + } + .col-lg-push-0 { + left: auto; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666667%; + } + .col-lg-offset-10 { + margin-left: 83.33333333%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666667%; + } + .col-lg-offset-7 { + margin-left: 58.33333333%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.66666667%; + } + .col-lg-offset-1 { + margin-left: 8.33333333%; + } + .col-lg-offset-0 { + margin-left: 0%; + } +} +table { + background-color: transparent; +} +caption { + padding-top: 8px; + padding-bottom: 8px; + color: #999999; + text-align: left; +} +th { + text-align: left; +} +.table { + width: 100%; + max-width: 100%; + margin-bottom: 20px; +} +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.42857143; + vertical-align: top; + border-top: 1px solid #dddddd; +} +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} +.table .table { + background-color: #ffffff; +} +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} +.table-bordered { + border: 1px solid #dddddd; +} +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} +.table-striped > tbody > tr:nth-of-type(odd) { + background-color: #f9f9f9; +} +.table-hover > tbody > tr:hover { + background-color: #f5f5f5; +} +table col[class*="col-"] { + position: static; + float: none; + display: table-column; +} +table td[class*="col-"], +table th[class*="col-"] { + position: static; + float: none; + display: table-cell; +} +.table > thead > tr > td.active, +.table > tbody > tr > td.active, +.table > tfoot > tr > td.active, +.table > thead > tr > th.active, +.table > tbody > tr > th.active, +.table > tfoot > tr > th.active, +.table > thead > tr.active > td, +.table > tbody > tr.active > td, +.table > tfoot > tr.active > td, +.table > thead > tr.active > th, +.table > tbody > tr.active > th, +.table > tfoot > tr.active > th { + background-color: #f5f5f5; +} +.table-hover > tbody > tr > td.active:hover, +.table-hover > tbody > tr > th.active:hover, +.table-hover > tbody > tr.active:hover > td, +.table-hover > tbody > tr:hover > .active, +.table-hover > tbody > tr.active:hover > th { + background-color: #e8e8e8; +} +.table > thead > tr > td.success, +.table > tbody > tr > td.success, +.table > tfoot > tr > td.success, +.table > thead > tr > th.success, +.table > tbody > tr > th.success, +.table > tfoot > tr > th.success, +.table > thead > tr.success > td, +.table > tbody > tr.success > td, +.table > tfoot > tr.success > td, +.table > thead > tr.success > th, +.table > tbody > tr.success > th, +.table > tfoot > tr.success > th { + background-color: #dff0d8; +} +.table-hover > tbody > tr > td.success:hover, +.table-hover > tbody > tr > th.success:hover, +.table-hover > tbody > tr.success:hover > td, +.table-hover > tbody > tr:hover > .success, +.table-hover > tbody > tr.success:hover > th { + background-color: #d0e9c6; +} +.table > thead > tr > td.info, +.table > tbody > tr > td.info, +.table > tfoot > tr > td.info, +.table > thead > tr > th.info, +.table > tbody > tr > th.info, +.table > tfoot > tr > th.info, +.table > thead > tr.info > td, +.table > tbody > tr.info > td, +.table > tfoot > tr.info > td, +.table > thead > tr.info > th, +.table > tbody > tr.info > th, +.table > tfoot > tr.info > th { + background-color: #d9edf7; +} +.table-hover > tbody > tr > td.info:hover, +.table-hover > tbody > tr > th.info:hover, +.table-hover > tbody > tr.info:hover > td, +.table-hover > tbody > tr:hover > .info, +.table-hover > tbody > tr.info:hover > th { + background-color: #c4e3f3; +} +.table > thead > tr > td.warning, +.table > tbody > tr > td.warning, +.table > tfoot > tr > td.warning, +.table > thead > tr > th.warning, +.table > tbody > tr > th.warning, +.table > tfoot > tr > th.warning, +.table > thead > tr.warning > td, +.table > tbody > tr.warning > td, +.table > tfoot > tr.warning > td, +.table > thead > tr.warning > th, +.table > tbody > tr.warning > th, +.table > tfoot > tr.warning > th { + background-color: #fcf8e3; +} +.table-hover > tbody > tr > td.warning:hover, +.table-hover > tbody > tr > th.warning:hover, +.table-hover > tbody > tr.warning:hover > td, +.table-hover > tbody > tr:hover > .warning, +.table-hover > tbody > tr.warning:hover > th { + background-color: #faf2cc; +} +.table > thead > tr > td.danger, +.table > tbody > tr > td.danger, +.table > tfoot > tr > td.danger, +.table > thead > tr > th.danger, +.table > tbody > tr > th.danger, +.table > tfoot > tr > th.danger, +.table > thead > tr.danger > td, +.table > tbody > tr.danger > td, +.table > tfoot > tr.danger > td, +.table > thead > tr.danger > th, +.table > tbody > tr.danger > th, +.table > tfoot > tr.danger > th { + background-color: #f2dede; +} +.table-hover > tbody > tr > td.danger:hover, +.table-hover > tbody > tr > th.danger:hover, +.table-hover > tbody > tr.danger:hover > td, +.table-hover > tbody > tr:hover > .danger, +.table-hover > tbody > tr.danger:hover > th { + background-color: #ebcccc; +} +.table-responsive { + overflow-x: auto; + min-height: 0.01%; +} +@media screen and (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-y: hidden; + -ms-overflow-style: -ms-autohiding-scrollbar; + border: 1px solid #dddddd; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} +fieldset { + padding: 0; + margin: 0; + border: 0; + min-width: 0; +} +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #666666; + border: 0; + border-bottom: 1px solid #e5e5e5; +} +label { + display: inline-block; + max-width: 100%; + margin-bottom: 5px; + font-weight: bold; +} +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + line-height: normal; +} +input[type="file"] { + display: block; +} +input[type="range"] { + display: block; + width: 100%; +} +select[multiple], +select[size] { + height: auto; +} +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +output { + display: block; + padding-top: 9px; + font-size: 14px; + line-height: 1.42857143; + color: #666666; +} +.form-control { + display: block; + width: 100%; + height: 38px; + padding: 8px 12px; + font-size: 14px; + line-height: 1.42857143; + color: #666666; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; + -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; +} +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); +} +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} +.form-control:-ms-input-placeholder { + color: #999999; +} +.form-control::-webkit-input-placeholder { + color: #999999; +} +.form-control::-ms-expand { + border: 0; + background-color: transparent; +} +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + background-color: #eeeeee; + opacity: 1; +} +.form-control[disabled], +fieldset[disabled] .form-control { + cursor: not-allowed; +} +textarea.form-control { + height: auto; +} +input[type="search"] { + -webkit-appearance: none; +} +@media screen and (-webkit-min-device-pixel-ratio: 0) { + input[type="date"].form-control, + input[type="time"].form-control, + input[type="datetime-local"].form-control, + input[type="month"].form-control { + line-height: 38px; + } + input[type="date"].input-sm, + input[type="time"].input-sm, + input[type="datetime-local"].input-sm, + input[type="month"].input-sm, + .input-group-sm input[type="date"], + .input-group-sm input[type="time"], + .input-group-sm input[type="datetime-local"], + .input-group-sm input[type="month"] { + line-height: 30px; + } + input[type="date"].input-lg, + input[type="time"].input-lg, + input[type="datetime-local"].input-lg, + input[type="month"].input-lg, + .input-group-lg input[type="date"], + .input-group-lg input[type="time"], + .input-group-lg input[type="datetime-local"], + .input-group-lg input[type="month"] { + line-height: 54px; + } +} +.form-group { + margin-bottom: 15px; +} +.radio, +.checkbox { + position: relative; + display: block; + margin-top: 10px; + margin-bottom: 10px; +} +.radio label, +.checkbox label { + min-height: 20px; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + position: absolute; + margin-left: -20px; + margin-top: 4px \9; +} +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} +.radio-inline, +.checkbox-inline { + position: relative; + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + vertical-align: middle; + font-weight: normal; + cursor: pointer; +} +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"].disabled, +input[type="checkbox"].disabled, +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"] { + cursor: not-allowed; +} +.radio-inline.disabled, +.checkbox-inline.disabled, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} +.radio.disabled label, +.checkbox.disabled label, +fieldset[disabled] .radio label, +fieldset[disabled] .checkbox label { + cursor: not-allowed; +} +.form-control-static { + padding-top: 9px; + padding-bottom: 9px; + margin-bottom: 0; + min-height: 34px; +} +.form-control-static.input-lg, +.form-control-static.input-sm { + padding-left: 0; + padding-right: 0; +} +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-sm { + height: 30px; + line-height: 30px; +} +textarea.input-sm, +select[multiple].input-sm { + height: auto; +} +.form-group-sm .form-control { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.form-group-sm select.form-control { + height: 30px; + line-height: 30px; +} +.form-group-sm textarea.form-control, +.form-group-sm select[multiple].form-control { + height: auto; +} +.form-group-sm .form-control-static { + height: 30px; + min-height: 32px; + padding: 6px 10px; + font-size: 12px; + line-height: 1.5; +} +.input-lg { + height: 54px; + padding: 14px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.input-lg { + height: 54px; + line-height: 54px; +} +textarea.input-lg, +select[multiple].input-lg { + height: auto; +} +.form-group-lg .form-control { + height: 54px; + padding: 14px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +.form-group-lg select.form-control { + height: 54px; + line-height: 54px; +} +.form-group-lg textarea.form-control, +.form-group-lg select[multiple].form-control { + height: auto; +} +.form-group-lg .form-control-static { + height: 54px; + min-height: 38px; + padding: 15px 16px; + font-size: 18px; + line-height: 1.3333333; +} +.has-feedback { + position: relative; +} +.has-feedback .form-control { + padding-right: 47.5px; +} +.form-control-feedback { + position: absolute; + top: 0; + right: 0; + z-index: 2; + display: block; + width: 38px; + height: 38px; + line-height: 38px; + text-align: center; + pointer-events: none; +} +.input-lg + .form-control-feedback, +.input-group-lg + .form-control-feedback, +.form-group-lg .form-control + .form-control-feedback { + width: 54px; + height: 54px; + line-height: 54px; +} +.input-sm + .form-control-feedback, +.input-group-sm + .form-control-feedback, +.form-group-sm .form-control + .form-control-feedback { + width: 30px; + height: 30px; + line-height: 30px; +} +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline, +.has-success.radio label, +.has-success.checkbox label, +.has-success.radio-inline label, +.has-success.checkbox-inline label { + color: #468847; +} +.has-success .form-control { + border-color: #468847; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.has-success .form-control:focus { + border-color: #356635; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; +} +.has-success .input-group-addon { + color: #468847; + border-color: #468847; + background-color: #dff0d8; +} +.has-success .form-control-feedback { + color: #468847; +} +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline, +.has-warning.radio label, +.has-warning.checkbox label, +.has-warning.radio-inline label, +.has-warning.checkbox-inline label { + color: #c09853; +} +.has-warning .form-control { + border-color: #c09853; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.has-warning .form-control:focus { + border-color: #a47e3c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; +} +.has-warning .input-group-addon { + color: #c09853; + border-color: #c09853; + background-color: #fcf8e3; +} +.has-warning .form-control-feedback { + color: #c09853; +} +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline, +.has-error.radio label, +.has-error.checkbox label, +.has-error.radio-inline label, +.has-error.checkbox-inline label { + color: #b94a48; +} +.has-error .form-control { + border-color: #b94a48; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.has-error .form-control:focus { + border-color: #953b39; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; +} +.has-error .input-group-addon { + color: #b94a48; + border-color: #b94a48; + background-color: #f2dede; +} +.has-error .form-control-feedback { + color: #b94a48; +} +.has-feedback label ~ .form-control-feedback { + top: 25px; +} +.has-feedback label.sr-only ~ .form-control-feedback { + top: 0; +} +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #a6a6a6; +} +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-static { + display: inline-block; + } + .form-inline .input-group { + display: inline-table; + vertical-align: middle; + } + .form-inline .input-group .input-group-addon, + .form-inline .input-group .input-group-btn, + .form-inline .input-group .form-control { + width: auto; + } + .form-inline .input-group > .form-control { + width: 100%; + } + .form-inline .control-label { + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio label, + .form-inline .checkbox label { + padding-left: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + position: relative; + margin-left: 0; + } + .form-inline .has-feedback .form-control-feedback { + top: 0; + } +} +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + margin-top: 0; + margin-bottom: 0; + padding-top: 9px; +} +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 29px; +} +.form-horizontal .form-group { + margin-left: -15px; + margin-right: -15px; +} +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + margin-bottom: 0; + padding-top: 9px; + } +} +.form-horizontal .has-feedback .form-control-feedback { + right: 15px; +} +@media (min-width: 768px) { + .form-horizontal .form-group-lg .control-label { + padding-top: 15px; + font-size: 18px; + } +} +@media (min-width: 768px) { + .form-horizontal .form-group-sm .control-label { + padding-top: 6px; + font-size: 12px; + } +} +.btn { + display: inline-block; + margin-bottom: 0; + font-weight: normal; + text-align: center; + vertical-align: middle; + -ms-touch-action: manipulation; + touch-action: manipulation; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + white-space: nowrap; + padding: 8px 12px; + font-size: 14px; + line-height: 1.42857143; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.btn:focus, +.btn:active:focus, +.btn.active:focus, +.btn.focus, +.btn:active.focus, +.btn.active.focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn:hover, +.btn:focus, +.btn.focus { + color: #ffffff; + text-decoration: none; +} +.btn:active, +.btn.active { + outline: 0; + background-image: none; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} +a.btn.disabled, +fieldset[disabled] a.btn { + pointer-events: none; +} +.btn-default { + color: #ffffff; + background-color: #474949; + border-color: #474949; +} +.btn-default:focus, +.btn-default.focus { + color: #ffffff; + background-color: #2e2f2f; + border-color: #080808; +} +.btn-default:hover { + color: #ffffff; + background-color: #2e2f2f; + border-color: #292a2a; +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + color: #ffffff; + background-color: #2e2f2f; + border-color: #292a2a; +} +.btn-default:active:hover, +.btn-default.active:hover, +.open > .dropdown-toggle.btn-default:hover, +.btn-default:active:focus, +.btn-default.active:focus, +.open > .dropdown-toggle.btn-default:focus, +.btn-default:active.focus, +.btn-default.active.focus, +.open > .dropdown-toggle.btn-default.focus { + color: #ffffff; + background-color: #1c1d1d; + border-color: #080808; +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + background-image: none; +} +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled.focus, +.btn-default[disabled].focus, +fieldset[disabled] .btn-default.focus { + background-color: #474949; + border-color: #474949; +} +.btn-default .badge { + color: #474949; + background-color: #ffffff; +} +.btn-primary { + color: #ffffff; + background-color: #446e9b; + border-color: #446e9b; +} +.btn-primary:focus, +.btn-primary.focus { + color: #ffffff; + background-color: #345578; + border-color: #1d2f42; +} +.btn-primary:hover { + color: #ffffff; + background-color: #345578; + border-color: #315070; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #345578; + border-color: #315070; +} +.btn-primary:active:hover, +.btn-primary.active:hover, +.open > .dropdown-toggle.btn-primary:hover, +.btn-primary:active:focus, +.btn-primary.active:focus, +.open > .dropdown-toggle.btn-primary:focus, +.btn-primary:active.focus, +.btn-primary.active.focus, +.open > .dropdown-toggle.btn-primary.focus { + color: #ffffff; + background-color: #2a435f; + border-color: #1d2f42; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + background-image: none; +} +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled.focus, +.btn-primary[disabled].focus, +fieldset[disabled] .btn-primary.focus { + background-color: #446e9b; + border-color: #446e9b; +} +.btn-primary .badge { + color: #446e9b; + background-color: #ffffff; +} +.btn-success { + color: #ffffff; + background-color: #3cb521; + border-color: #3cb521; +} +.btn-success:focus, +.btn-success.focus { + color: #ffffff; + background-color: #2e8a19; + border-color: #18490d; +} +.btn-success:hover { + color: #ffffff; + background-color: #2e8a19; + border-color: #2b8118; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #2e8a19; + border-color: #2b8118; +} +.btn-success:active:hover, +.btn-success.active:hover, +.open > .dropdown-toggle.btn-success:hover, +.btn-success:active:focus, +.btn-success.active:focus, +.open > .dropdown-toggle.btn-success:focus, +.btn-success:active.focus, +.btn-success.active.focus, +.open > .dropdown-toggle.btn-success.focus { + color: #ffffff; + background-color: #246c14; + border-color: #18490d; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + background-image: none; +} +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled.focus, +.btn-success[disabled].focus, +fieldset[disabled] .btn-success.focus { + background-color: #3cb521; + border-color: #3cb521; +} +.btn-success .badge { + color: #3cb521; + background-color: #ffffff; +} +.btn-info { + color: #ffffff; + background-color: #3399f3; + border-color: #3399f3; +} +.btn-info:focus, +.btn-info.focus { + color: #ffffff; + background-color: #0e80e5; + border-color: #09589d; +} +.btn-info:hover { + color: #ffffff; + background-color: #0e80e5; + border-color: #0d7bdc; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #0e80e5; + border-color: #0d7bdc; +} +.btn-info:active:hover, +.btn-info.active:hover, +.open > .dropdown-toggle.btn-info:hover, +.btn-info:active:focus, +.btn-info.active:focus, +.open > .dropdown-toggle.btn-info:focus, +.btn-info:active.focus, +.btn-info.active.focus, +.open > .dropdown-toggle.btn-info.focus { + color: #ffffff; + background-color: #0c6dc4; + border-color: #09589d; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + background-image: none; +} +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled.focus, +.btn-info[disabled].focus, +fieldset[disabled] .btn-info.focus { + background-color: #3399f3; + border-color: #3399f3; +} +.btn-info .badge { + color: #3399f3; + background-color: #ffffff; +} +.btn-warning { + color: #ffffff; + background-color: #d47500; + border-color: #d47500; +} +.btn-warning:focus, +.btn-warning.focus { + color: #ffffff; + background-color: #a15900; + border-color: #552f00; +} +.btn-warning:hover { + color: #ffffff; + background-color: #a15900; + border-color: #975300; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #a15900; + border-color: #975300; +} +.btn-warning:active:hover, +.btn-warning.active:hover, +.open > .dropdown-toggle.btn-warning:hover, +.btn-warning:active:focus, +.btn-warning.active:focus, +.open > .dropdown-toggle.btn-warning:focus, +.btn-warning:active.focus, +.btn-warning.active.focus, +.open > .dropdown-toggle.btn-warning.focus { + color: #ffffff; + background-color: #7d4500; + border-color: #552f00; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + background-image: none; +} +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled.focus, +.btn-warning[disabled].focus, +fieldset[disabled] .btn-warning.focus { + background-color: #d47500; + border-color: #d47500; +} +.btn-warning .badge { + color: #d47500; + background-color: #ffffff; +} +.btn-danger { + color: #ffffff; + background-color: #cd0200; + border-color: #cd0200; +} +.btn-danger:focus, +.btn-danger.focus { + color: #ffffff; + background-color: #9a0200; + border-color: #4e0100; +} +.btn-danger:hover { + color: #ffffff; + background-color: #9a0200; + border-color: #900100; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #9a0200; + border-color: #900100; +} +.btn-danger:active:hover, +.btn-danger.active:hover, +.open > .dropdown-toggle.btn-danger:hover, +.btn-danger:active:focus, +.btn-danger.active:focus, +.open > .dropdown-toggle.btn-danger:focus, +.btn-danger:active.focus, +.btn-danger.active.focus, +.open > .dropdown-toggle.btn-danger.focus { + color: #ffffff; + background-color: #760100; + border-color: #4e0100; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + background-image: none; +} +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled.focus, +.btn-danger[disabled].focus, +fieldset[disabled] .btn-danger.focus { + background-color: #cd0200; + border-color: #cd0200; +} +.btn-danger .badge { + color: #cd0200; + background-color: #ffffff; +} +.btn-link { + color: #3399f3; + font-weight: normal; + border-radius: 0; +} +.btn-link, +.btn-link:active, +.btn-link.active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} +.btn-link:hover, +.btn-link:focus { + color: #3399f3; + text-decoration: underline; + background-color: transparent; +} +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} +.btn-lg, +.btn-group-lg > .btn { + padding: 14px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +.btn-sm, +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-xs, +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-block { + display: block; + width: 100%; +} +.btn-block + .btn-block { + margin-top: 5px; +} +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + -o-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} +.fade.in { + opacity: 1; +} +.collapse { + display: none; +} +.collapse.in { + display: block; +} +tr.collapse.in { + display: table-row; +} +tbody.collapse.in { + display: table-row-group; +} +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition-property: height, visibility; + -o-transition-property: height, visibility; + transition-property: height, visibility; + -webkit-transition-duration: 0.35s; + -o-transition-duration: 0.35s; + transition-duration: 0.35s; + -webkit-transition-timing-function: ease; + -o-transition-timing-function: ease; + transition-timing-function: ease; +} +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px dashed; + border-top: 4px solid \9; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} +.dropup, +.dropdown { + position: relative; +} +.dropdown-toggle:focus { + outline: 0; +} +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + list-style: none; + font-size: 14px; + text-align: left; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + -webkit-background-clip: padding-box; + background-clip: padding-box; +} +.dropdown-menu.pull-right { + right: 0; + left: auto; +} +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.42857143; + color: #333333; + white-space: nowrap; +} +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + text-decoration: none; + color: #ffffff; + background-color: #446e9b; +} +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + outline: 0; + background-color: #446e9b; +} +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + cursor: not-allowed; +} +.open > .dropdown-menu { + display: block; +} +.open > a { + outline: 0; +} +.dropdown-menu-right { + left: auto; + right: 0; +} +.dropdown-menu-left { + left: 0; + right: auto; +} +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.42857143; + color: #999999; + white-space: nowrap; +} +.dropdown-backdrop { + position: fixed; + left: 0; + right: 0; + bottom: 0; + top: 0; + z-index: 990; +} +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px dashed; + border-bottom: 4px solid \9; + content: ""; +} +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 2px; +} +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + left: auto; + right: 0; + } + .navbar-right .dropdown-menu-left { + left: 0; + right: auto; + } +} +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} +.btn-toolbar { + margin-left: -5px; +} +.btn-toolbar .btn, +.btn-toolbar .btn-group, +.btn-toolbar .input-group { + float: left; +} +.btn-toolbar > .btn, +.btn-toolbar > .btn-group, +.btn-toolbar > .input-group { + margin-left: 5px; +} +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} +.btn-group > .btn:first-child { + margin-left: 0; +} +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} +.btn-group > .btn-group { + float: left; +} +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} +.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} +.btn-group > .btn + .dropdown-toggle { + padding-left: 8px; + padding-right: 8px; +} +.btn-group > .btn-lg + .dropdown-toggle { + padding-left: 12px; + padding-right: 12px; +} +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} +.btn .caret { + margin-left: 0; +} +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} +.btn-group-vertical > .btn-group > .btn { + float: none; +} +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-top-left-radius: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} +.btn-group-justified { + display: table; + width: 100%; + table-layout: fixed; + border-collapse: separate; +} +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + float: none; + display: table-cell; + width: 1%; +} +.btn-group-justified > .btn-group .btn { + width: 100%; +} +.btn-group-justified > .btn-group .dropdown-menu { + left: auto; +} +[data-toggle="buttons"] > .btn input[type="radio"], +[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], +[data-toggle="buttons"] > .btn input[type="checkbox"], +[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} +.input-group { + position: relative; + display: table; + border-collapse: separate; +} +.input-group[class*="col-"] { + float: none; + padding-left: 0; + padding-right: 0; +} +.input-group .form-control { + position: relative; + z-index: 2; + float: left; + width: 100%; + margin-bottom: 0; +} +.input-group .form-control:focus { + z-index: 3; +} +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 54px; + padding: 14px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 54px; + line-height: 54px; +} +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn, +select[multiple].input-group-lg > .form-control, +select[multiple].input-group-lg > .input-group-addon, +select[multiple].input-group-lg > .input-group-btn > .btn { + height: auto; +} +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn, +select[multiple].input-group-sm > .form-control, +select[multiple].input-group-sm > .input-group-addon, +select[multiple].input-group-sm > .input-group-btn > .btn { + height: auto; +} +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} +.input-group-addon { + padding: 8px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #666666; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} +.input-group-addon.input-lg { + padding: 14px 16px; + font-size: 18px; + border-radius: 6px; +} +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} +.input-group-addon:first-child { + border-right: 0; +} +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child), +.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} +.input-group-addon:last-child { + border-left: 0; +} +.input-group-btn { + position: relative; + font-size: 0; + white-space: nowrap; +} +.input-group-btn > .btn { + position: relative; +} +.input-group-btn > .btn + .btn { + margin-left: -1px; +} +.input-group-btn > .btn:hover, +.input-group-btn > .btn:focus, +.input-group-btn > .btn:active { + z-index: 2; +} +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group { + margin-right: -1px; +} +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group { + z-index: 2; + margin-left: -1px; +} +.nav { + margin-bottom: 0; + padding-left: 0; + list-style: none; +} +.nav > li { + position: relative; + display: block; +} +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} +.nav > li.disabled > a { + color: #999999; +} +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + background-color: transparent; + cursor: not-allowed; +} +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #3399f3; +} +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.nav > li > a > img { + max-width: none; +} +.nav-tabs { + border-bottom: 1px solid #dddddd; +} +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.42857143; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #666666; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; + cursor: default; +} +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} +.nav-tabs.nav-justified > li { + float: none; +} +.nav-tabs.nav-justified > li > a { + text-align: center; + margin-bottom: 5px; +} +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} +.nav-pills > li { + float: left; +} +.nav-pills > li > a { + border-radius: 4px; +} +.nav-pills > li + li { + margin-left: 2px; +} +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #446e9b; +} +.nav-stacked > li { + float: none; +} +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} +.nav-justified { + width: 100%; +} +.nav-justified > li { + float: none; +} +.nav-justified > li > a { + text-align: center; + margin-bottom: 5px; +} +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} +.nav-tabs-justified { + border-bottom: 0; +} +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} +.tab-content > .tab-pane { + display: none; +} +.tab-content > .active { + display: block; +} +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} +.navbar-collapse { + overflow-x: visible; + padding-right: 15px; + padding-left: 15px; + border-top: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} +.navbar-collapse.in { + overflow-y: auto; +} +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-left: 0; + padding-right: 0; + } +} +.navbar-fixed-top .navbar-collapse, +.navbar-fixed-bottom .navbar-collapse { + max-height: 340px; +} +@media (max-device-width: 480px) and (orientation: landscape) { + .navbar-fixed-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + max-height: 200px; + } +} +.container > .navbar-header, +.container-fluid > .navbar-header, +.container > .navbar-collapse, +.container-fluid > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .container > .navbar-header, + .container-fluid > .navbar-header, + .container > .navbar-collapse, + .container-fluid > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; + height: 50px; +} +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} +.navbar-brand > img { + display: block; +} +@media (min-width: 768px) { + .navbar > .container .navbar-brand, + .navbar > .container-fluid .navbar-brand { + margin-left: -15px; + } +} +.navbar-toggle { + position: relative; + float: right; + margin-right: 15px; + padding: 9px 10px; + margin-top: 8px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} +.navbar-toggle:focus { + outline: 0; +} +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} +.navbar-nav { + margin: 7.5px -15px; +} +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } +} +.navbar-form { + margin-left: -15px; + margin-right: -15px; + padding: 10px 15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + margin-top: 6px; + margin-bottom: 6px; +} +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .navbar-form .form-control-static { + display: inline-block; + } + .navbar-form .input-group { + display: inline-table; + vertical-align: middle; + } + .navbar-form .input-group .input-group-addon, + .navbar-form .input-group .input-group-btn, + .navbar-form .input-group .form-control { + width: auto; + } + .navbar-form .input-group > .form-control { + width: 100%; + } + .navbar-form .control-label { + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .radio label, + .navbar-form .checkbox label { + padding-left: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + position: relative; + margin-left: 0; + } + .navbar-form .has-feedback .form-control-feedback { + top: 0; + } +} +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } + .navbar-form .form-group:last-child { + margin-bottom: 0; + } +} +@media (min-width: 768px) { + .navbar-form { + width: auto; + border: 0; + margin-left: 0; + margin-right: 0; + padding-top: 0; + padding-bottom: 0; + -webkit-box-shadow: none; + box-shadow: none; + } +} +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + margin-bottom: 0; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.navbar-btn { + margin-top: 6px; + margin-bottom: 6px; +} +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-left: 15px; + margin-right: 15px; + } +} +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + margin-right: -15px; + } + .navbar-right ~ .navbar-right { + margin-right: 0; + } +} +.navbar-default { + background-color: #eeeeee; + border-color: #dddddd; +} +.navbar-default .navbar-brand { + color: #777777; +} +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #3399f3; + background-color: transparent; +} +.navbar-default .navbar-text { + color: #777777; +} +.navbar-default .navbar-nav > li > a { + color: #777777; +} +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #3399f3; + background-color: transparent; +} +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #3399f3; + background-color: transparent; +} +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} +.navbar-default .navbar-toggle { + border-color: #dddddd; +} +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #dddddd; +} +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + background-color: transparent; + color: #3399f3; +} +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #3399f3; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #3399f3; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} +.navbar-default .navbar-link { + color: #777777; +} +.navbar-default .navbar-link:hover { + color: #3399f3; +} +.navbar-default .btn-link { + color: #777777; +} +.navbar-default .btn-link:hover, +.navbar-default .btn-link:focus { + color: #3399f3; +} +.navbar-default .btn-link[disabled]:hover, +fieldset[disabled] .navbar-default .btn-link:hover, +.navbar-default .btn-link[disabled]:focus, +fieldset[disabled] .navbar-default .btn-link:focus { + color: #444444; +} +.navbar-inverse { + background-color: #446e9b; + border-color: #345578; +} +.navbar-inverse .navbar-brand { + color: #dddddd; +} +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} +.navbar-inverse .navbar-text { + color: #dddddd; +} +.navbar-inverse .navbar-nav > li > a { + color: #dddddd; +} +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: transparent; +} +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} +.navbar-inverse .navbar-toggle { + border-color: #345578; +} +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #345578; +} +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #395c82; +} +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + background-color: transparent; + color: #ffffff; +} +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #345578; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #345578; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #dddddd; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} +.navbar-inverse .navbar-link { + color: #dddddd; +} +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} +.navbar-inverse .btn-link { + color: #dddddd; +} +.navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link:focus { + color: #ffffff; +} +.navbar-inverse .btn-link[disabled]:hover, +fieldset[disabled] .navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link[disabled]:focus, +fieldset[disabled] .navbar-inverse .btn-link:focus { + color: #cccccc; +} +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} +.breadcrumb > li { + display: inline-block; +} +.breadcrumb > li + li:before { + content: "/\00a0"; + padding: 0 5px; + color: #cccccc; +} +.breadcrumb > .active { + color: #999999; +} +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} +.pagination > li { + display: inline; +} +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 8px 12px; + line-height: 1.42857143; + text-decoration: none; + color: #3399f3; + background-color: #ffffff; + border: 1px solid #dddddd; + margin-left: -1px; +} +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-bottom-right-radius: 4px; + border-top-right-radius: 4px; +} +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + z-index: 2; + color: #3399f3; + background-color: #eeeeee; + border-color: #dddddd; +} +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 3; + color: #999999; + background-color: #f5f5f5; + border-color: #dddddd; + cursor: default; +} +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + background-color: #ffffff; + border-color: #dddddd; + cursor: not-allowed; +} +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 14px 16px; + font-size: 18px; + line-height: 1.3333333; +} +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-bottom-right-radius: 6px; + border-top-right-radius: 6px; +} +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; +} +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-bottom-right-radius: 3px; + border-top-right-radius: 3px; +} +.pager { + padding-left: 0; + margin: 20px 0; + list-style: none; + text-align: center; +} +.pager li { + display: inline; +} +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} +.pager .next > a, +.pager .next > span { + float: right; +} +.pager .previous > a, +.pager .previous > span { + float: left; +} +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + background-color: #ffffff; + cursor: not-allowed; +} +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} +a.label:hover, +a.label:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} +.label:empty { + display: none; +} +.btn .label { + position: relative; + top: -1px; +} +.label-default { + background-color: #474949; +} +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #2e2f2f; +} +.label-primary { + background-color: #446e9b; +} +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #345578; +} +.label-success { + background-color: #3cb521; +} +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #2e8a19; +} +.label-info { + background-color: #3399f3; +} +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #0e80e5; +} +.label-warning { + background-color: #d47500; +} +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #a15900; +} +.label-danger { + background-color: #cd0200; +} +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #9a0200; +} +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + color: #ffffff; + line-height: 1; + vertical-align: middle; + white-space: nowrap; + text-align: center; + background-color: #3399f3; + border-radius: 10px; +} +.badge:empty { + display: none; +} +.btn .badge { + position: relative; + top: -1px; +} +.btn-xs .badge, +.btn-group-xs > .btn .badge { + top: 0; + padding: 1px 5px; +} +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} +.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #3399f3; + background-color: #ffffff; +} +.list-group-item > .badge { + float: right; +} +.list-group-item > .badge + .badge { + margin-right: 5px; +} +.nav-pills > li > a > .badge { + margin-left: 3px; +} +.jumbotron { + padding-top: 30px; + padding-bottom: 30px; + margin-bottom: 30px; + color: inherit; + background-color: #eeeeee; +} +.jumbotron h1, +.jumbotron .h1 { + color: inherit; +} +.jumbotron p { + margin-bottom: 15px; + font-size: 21px; + font-weight: 200; +} +.jumbotron > hr { + border-top-color: #d5d5d5; +} +.container .jumbotron, +.container-fluid .jumbotron { + border-radius: 6px; + padding-left: 15px; + padding-right: 15px; +} +.jumbotron .container { + max-width: 100%; +} +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron, + .container-fluid .jumbotron { + padding-left: 60px; + padding-right: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +} +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.42857143; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: border 0.2s ease-in-out; + -o-transition: border 0.2s ease-in-out; + transition: border 0.2s ease-in-out; +} +.thumbnail > img, +.thumbnail a > img { + margin-left: auto; + margin-right: auto; +} +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #3399f3; +} +.thumbnail .caption { + padding: 9px; + color: #666666; +} +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} +.alert h4 { + margin-top: 0; + color: inherit; +} +.alert .alert-link { + font-weight: bold; +} +.alert > p, +.alert > ul { + margin-bottom: 0; +} +.alert > p + p { + margin-top: 5px; +} +.alert-dismissable, +.alert-dismissible { + padding-right: 35px; +} +.alert-dismissable .close, +.alert-dismissible .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} +.alert-success { + background-color: #dff0d8; + border-color: #d6e9c6; + color: #468847; +} +.alert-success hr { + border-top-color: #c9e2b3; +} +.alert-success .alert-link { + color: #356635; +} +.alert-info { + background-color: #d9edf7; + border-color: #bce8f1; + color: #3a87ad; +} +.alert-info hr { + border-top-color: #a6e1ec; +} +.alert-info .alert-link { + color: #2d6987; +} +.alert-warning { + background-color: #fcf8e3; + border-color: #fbeed5; + color: #c09853; +} +.alert-warning hr { + border-top-color: #f8e5be; +} +.alert-warning .alert-link { + color: #a47e3c; +} +.alert-danger { + background-color: #f2dede; + border-color: #eed3d7; + color: #b94a48; +} +.alert-danger hr { + border-top-color: #e6c1c7; +} +.alert-danger .alert-link { + color: #953b39; +} +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@-o-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +.progress { + overflow: hidden; + height: 20px; + margin-bottom: 20px; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} +.progress-bar { + float: left; + width: 0%; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #446e9b; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + -o-transition: width 0.6s ease; + transition: width 0.6s ease; +} +.progress-striped .progress-bar, +.progress-bar-striped { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + -webkit-background-size: 40px 40px; + background-size: 40px 40px; +} +.progress.active .progress-bar, +.progress-bar.active { + -webkit-animation: progress-bar-stripes 2s linear infinite; + -o-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} +.progress-bar-success { + background-color: #3cb521; +} +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} +.progress-bar-info { + background-color: #3399f3; +} +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} +.progress-bar-warning { + background-color: #d47500; +} +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} +.progress-bar-danger { + background-color: #cd0200; +} +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} +.media { + margin-top: 15px; +} +.media:first-child { + margin-top: 0; +} +.media, +.media-body { + zoom: 1; + overflow: hidden; +} +.media-body { + width: 10000px; +} +.media-object { + display: block; +} +.media-object.img-thumbnail { + max-width: none; +} +.media-right, +.media > .pull-right { + padding-left: 10px; +} +.media-left, +.media > .pull-left { + padding-right: 10px; +} +.media-left, +.media-right, +.media-body { + display: table-cell; + vertical-align: top; +} +.media-middle { + vertical-align: middle; +} +.media-bottom { + vertical-align: bottom; +} +.media-heading { + margin-top: 0; + margin-bottom: 5px; +} +.media-list { + padding-left: 0; + list-style: none; +} +.list-group { + margin-bottom: 20px; + padding-left: 0; +} +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} +a.list-group-item, +button.list-group-item { + color: #555555; +} +a.list-group-item .list-group-item-heading, +button.list-group-item .list-group-item-heading { + color: #333333; +} +a.list-group-item:hover, +button.list-group-item:hover, +a.list-group-item:focus, +button.list-group-item:focus { + text-decoration: none; + color: #555555; + background-color: #f5f5f5; +} +button.list-group-item { + width: 100%; + text-align: left; +} +.list-group-item.disabled, +.list-group-item.disabled:hover, +.list-group-item.disabled:focus { + background-color: #eeeeee; + color: #999999; + cursor: not-allowed; +} +.list-group-item.disabled .list-group-item-heading, +.list-group-item.disabled:hover .list-group-item-heading, +.list-group-item.disabled:focus .list-group-item-heading { + color: inherit; +} +.list-group-item.disabled .list-group-item-text, +.list-group-item.disabled:hover .list-group-item-text, +.list-group-item.disabled:focus .list-group-item-text { + color: #999999; +} +.list-group-item.active, +.list-group-item.active:hover, +.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #446e9b; + border-color: #446e9b; +} +.list-group-item.active .list-group-item-heading, +.list-group-item.active:hover .list-group-item-heading, +.list-group-item.active:focus .list-group-item-heading, +.list-group-item.active .list-group-item-heading > small, +.list-group-item.active:hover .list-group-item-heading > small, +.list-group-item.active:focus .list-group-item-heading > small, +.list-group-item.active .list-group-item-heading > .small, +.list-group-item.active:hover .list-group-item-heading > .small, +.list-group-item.active:focus .list-group-item-heading > .small { + color: inherit; +} +.list-group-item.active .list-group-item-text, +.list-group-item.active:hover .list-group-item-text, +.list-group-item.active:focus .list-group-item-text { + color: #c5d5e6; +} +.list-group-item-success { + color: #468847; + background-color: #dff0d8; +} +a.list-group-item-success, +button.list-group-item-success { + color: #468847; +} +a.list-group-item-success .list-group-item-heading, +button.list-group-item-success .list-group-item-heading { + color: inherit; +} +a.list-group-item-success:hover, +button.list-group-item-success:hover, +a.list-group-item-success:focus, +button.list-group-item-success:focus { + color: #468847; + background-color: #d0e9c6; +} +a.list-group-item-success.active, +button.list-group-item-success.active, +a.list-group-item-success.active:hover, +button.list-group-item-success.active:hover, +a.list-group-item-success.active:focus, +button.list-group-item-success.active:focus { + color: #fff; + background-color: #468847; + border-color: #468847; +} +.list-group-item-info { + color: #3a87ad; + background-color: #d9edf7; +} +a.list-group-item-info, +button.list-group-item-info { + color: #3a87ad; +} +a.list-group-item-info .list-group-item-heading, +button.list-group-item-info .list-group-item-heading { + color: inherit; +} +a.list-group-item-info:hover, +button.list-group-item-info:hover, +a.list-group-item-info:focus, +button.list-group-item-info:focus { + color: #3a87ad; + background-color: #c4e3f3; +} +a.list-group-item-info.active, +button.list-group-item-info.active, +a.list-group-item-info.active:hover, +button.list-group-item-info.active:hover, +a.list-group-item-info.active:focus, +button.list-group-item-info.active:focus { + color: #fff; + background-color: #3a87ad; + border-color: #3a87ad; +} +.list-group-item-warning { + color: #c09853; + background-color: #fcf8e3; +} +a.list-group-item-warning, +button.list-group-item-warning { + color: #c09853; +} +a.list-group-item-warning .list-group-item-heading, +button.list-group-item-warning .list-group-item-heading { + color: inherit; +} +a.list-group-item-warning:hover, +button.list-group-item-warning:hover, +a.list-group-item-warning:focus, +button.list-group-item-warning:focus { + color: #c09853; + background-color: #faf2cc; +} +a.list-group-item-warning.active, +button.list-group-item-warning.active, +a.list-group-item-warning.active:hover, +button.list-group-item-warning.active:hover, +a.list-group-item-warning.active:focus, +button.list-group-item-warning.active:focus { + color: #fff; + background-color: #c09853; + border-color: #c09853; +} +.list-group-item-danger { + color: #b94a48; + background-color: #f2dede; +} +a.list-group-item-danger, +button.list-group-item-danger { + color: #b94a48; +} +a.list-group-item-danger .list-group-item-heading, +button.list-group-item-danger .list-group-item-heading { + color: inherit; +} +a.list-group-item-danger:hover, +button.list-group-item-danger:hover, +a.list-group-item-danger:focus, +button.list-group-item-danger:focus { + color: #b94a48; + background-color: #ebcccc; +} +a.list-group-item-danger.active, +button.list-group-item-danger.active, +a.list-group-item-danger.active:hover, +button.list-group-item-danger.active:hover, +a.list-group-item-danger.active:focus, +button.list-group-item-danger.active:focus { + color: #fff; + background-color: #b94a48; + border-color: #b94a48; +} +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} +.panel-body { + padding: 15px; +} +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} +.panel-title > a, +.panel-title > small, +.panel-title > .small, +.panel-title > small > a, +.panel-title > .small > a { + color: inherit; +} +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .list-group, +.panel > .panel-collapse > .list-group { + margin-bottom: 0; +} +.panel > .list-group .list-group-item, +.panel > .panel-collapse > .list-group .list-group-item { + border-width: 1px 0; + border-radius: 0; +} +.panel > .list-group:first-child .list-group-item:first-child, +.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { + border-top: 0; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.panel > .list-group:last-child .list-group-item:last-child, +.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { + border-bottom: 0; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} +.list-group + .panel-footer { + border-top-width: 0; +} +.panel > .table, +.panel > .table-responsive > .table, +.panel > .panel-collapse > .table { + margin-bottom: 0; +} +.panel > .table caption, +.panel > .table-responsive > .table caption, +.panel > .panel-collapse > .table caption { + padding-left: 15px; + padding-right: 15px; +} +.panel > .table:first-child, +.panel > .table-responsive:first-child > .table:first-child { + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { + border-top-left-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { + border-top-right-radius: 3px; +} +.panel > .table:last-child, +.panel > .table-responsive:last-child > .table:last-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { + border-bottom-right-radius: 3px; +} +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive, +.panel > .table + .panel-body, +.panel > .table-responsive + .panel-body { + border-top: 1px solid #dddddd; +} +.panel > .table > tbody:first-child > tr:first-child th, +.panel > .table > tbody:first-child > tr:first-child td { + border-top: 0; +} +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} +.panel > .table-bordered > thead > tr:first-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, +.panel > .table-bordered > tbody > tr:first-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, +.panel > .table-bordered > thead > tr:first-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, +.panel > .table-bordered > tbody > tr:first-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { + border-bottom: 0; +} +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { + border-bottom: 0; +} +.panel > .table-responsive { + border: 0; + margin-bottom: 0; +} +.panel-group { + margin-bottom: 20px; +} +.panel-group .panel { + margin-bottom: 0; + border-radius: 4px; +} +.panel-group .panel + .panel { + margin-top: 5px; +} +.panel-group .panel-heading { + border-bottom: 0; +} +.panel-group .panel-heading + .panel-collapse > .panel-body, +.panel-group .panel-heading + .panel-collapse > .list-group { + border-top: 1px solid #dddddd; +} +.panel-group .panel-footer { + border-top: 0; +} +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} +.panel-default { + border-color: #dddddd; +} +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} +.panel-default > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #dddddd; +} +.panel-default > .panel-heading .badge { + color: #f5f5f5; + background-color: #333333; +} +.panel-default > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #dddddd; +} +.panel-primary { + border-color: #446e9b; +} +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #446e9b; + border-color: #446e9b; +} +.panel-primary > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #446e9b; +} +.panel-primary > .panel-heading .badge { + color: #446e9b; + background-color: #ffffff; +} +.panel-primary > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #446e9b; +} +.panel-success { + border-color: #d6e9c6; +} +.panel-success > .panel-heading { + color: #468847; + background-color: #dff0d8; + border-color: #d6e9c6; +} +.panel-success > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #d6e9c6; +} +.panel-success > .panel-heading .badge { + color: #dff0d8; + background-color: #468847; +} +.panel-success > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #d6e9c6; +} +.panel-info { + border-color: #bce8f1; +} +.panel-info > .panel-heading { + color: #3a87ad; + background-color: #d9edf7; + border-color: #bce8f1; +} +.panel-info > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #bce8f1; +} +.panel-info > .panel-heading .badge { + color: #d9edf7; + background-color: #3a87ad; +} +.panel-info > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #bce8f1; +} +.panel-warning { + border-color: #fbeed5; +} +.panel-warning > .panel-heading { + color: #c09853; + background-color: #fcf8e3; + border-color: #fbeed5; +} +.panel-warning > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #fbeed5; +} +.panel-warning > .panel-heading .badge { + color: #fcf8e3; + background-color: #c09853; +} +.panel-warning > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #fbeed5; +} +.panel-danger { + border-color: #eed3d7; +} +.panel-danger > .panel-heading { + color: #b94a48; + background-color: #f2dede; + border-color: #eed3d7; +} +.panel-danger > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #eed3d7; +} +.panel-danger > .panel-heading .badge { + color: #f2dede; + background-color: #b94a48; +} +.panel-danger > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #eed3d7; +} +.embed-responsive { + position: relative; + display: block; + height: 0; + padding: 0; + overflow: hidden; +} +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object, +.embed-responsive video { + position: absolute; + top: 0; + left: 0; + bottom: 0; + height: 100%; + width: 100%; + border: 0; +} +.embed-responsive-16by9 { + padding-bottom: 56.25%; +} +.embed-responsive-4by3 { + padding-bottom: 75%; +} +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} +.well-lg { + padding: 24px; + border-radius: 6px; +} +.well-sm { + padding: 9px; + border-radius: 3px; +} +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} +.modal-open { + overflow: hidden; +} +.modal { + display: none; + overflow: hidden; + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1050; + -webkit-overflow-scrolling: touch; + outline: 0; +} +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + -o-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + -o-transform: translate(0, 0); + transform: translate(0, 0); +} +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} +.modal-dialog { + position: relative; + width: auto; + margin: 10px; +} +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + -webkit-background-clip: padding-box; + background-clip: padding-box; + outline: 0; +} +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000000; +} +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} +.modal-header { + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} +.modal-header .close { + margin-top: -2px; +} +.modal-title { + margin: 0; + line-height: 1.42857143; +} +.modal-body { + position: relative; + padding: 20px; +} +.modal-footer { + padding: 20px; + text-align: right; + border-top: 1px solid #e5e5e5; +} +.modal-footer .btn + .btn { + margin-left: 5px; + margin-bottom: 0; +} +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} +@media (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } + .modal-sm { + width: 300px; + } +} +@media (min-width: 992px) { + .modal-lg { + width: 900px; + } +} +.tooltip { + position: absolute; + z-index: 1070; + display: block; + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-style: normal; + font-weight: normal; + letter-spacing: normal; + line-break: auto; + line-height: 1.42857143; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + white-space: normal; + word-break: normal; + word-spacing: normal; + word-wrap: normal; + font-size: 12px; + opacity: 0; + filter: alpha(opacity=0); +} +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} +.tooltip.top { + margin-top: -3px; + padding: 5px 0; +} +.tooltip.right { + margin-left: 3px; + padding: 0 5px; +} +.tooltip.bottom { + margin-top: 3px; + padding: 5px 0; +} +.tooltip.left { + margin-left: -3px; + padding: 0 5px; +} +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + background-color: #000000; + border-radius: 4px; +} +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-width: 5px 5px 0; + border-top-color: #000000; +} +.tooltip.top-left .tooltip-arrow { + bottom: 0; + right: 5px; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000000; +} +.tooltip.top-right .tooltip-arrow { + bottom: 0; + left: 5px; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000000; +} +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-width: 5px 5px 5px 0; + border-right-color: #000000; +} +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-width: 5px 0 5px 5px; + border-left-color: #000000; +} +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000000; +} +.tooltip.bottom-left .tooltip-arrow { + top: 0; + right: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000000; +} +.tooltip.bottom-right .tooltip-arrow { + top: 0; + left: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000000; +} +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: none; + max-width: 276px; + padding: 1px; + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-style: normal; + font-weight: normal; + letter-spacing: normal; + line-break: auto; + line-height: 1.42857143; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + white-space: normal; + word-break: normal; + word-spacing: normal; + word-wrap: normal; + font-size: 14px; + background-color: #ffffff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); +} +.popover.top { + margin-top: -10px; +} +.popover.right { + margin-left: 10px; +} +.popover.bottom { + margin-top: 10px; +} +.popover.left { + margin-left: -10px; +} +.popover-title { + margin: 0; + padding: 8px 14px; + font-size: 14px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} +.popover-content { + padding: 9px 14px; +} +.popover > .arrow, +.popover > .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.popover > .arrow { + border-width: 11px; +} +.popover > .arrow:after { + border-width: 10px; + content: ""; +} +.popover.top > .arrow { + left: 50%; + margin-left: -11px; + border-bottom-width: 0; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + bottom: -11px; +} +.popover.top > .arrow:after { + content: " "; + bottom: 1px; + margin-left: -10px; + border-bottom-width: 0; + border-top-color: #ffffff; +} +.popover.right > .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-left-width: 0; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); +} +.popover.right > .arrow:after { + content: " "; + left: 1px; + bottom: -10px; + border-left-width: 0; + border-right-color: #ffffff; +} +.popover.bottom > .arrow { + left: 50%; + margin-left: -11px; + border-top-width: 0; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + top: -11px; +} +.popover.bottom > .arrow:after { + content: " "; + top: 1px; + margin-left: -10px; + border-top-width: 0; + border-bottom-color: #ffffff; +} +.popover.left > .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-right-width: 0; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); +} +.popover.left > .arrow:after { + content: " "; + right: 1px; + border-right-width: 0; + border-left-color: #ffffff; + bottom: -10px; +} +.carousel { + position: relative; +} +.carousel-inner { + position: relative; + overflow: hidden; + width: 100%; +} +.carousel-inner > .item { + display: none; + position: relative; + -webkit-transition: 0.6s ease-in-out left; + -o-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + line-height: 1; +} +@media all and (transform-3d), (-webkit-transform-3d) { + .carousel-inner > .item { + -webkit-transition: -webkit-transform 0.6s ease-in-out; + -o-transition: -o-transform 0.6s ease-in-out; + transition: transform 0.6s ease-in-out; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-perspective: 1000px; + perspective: 1000px; + } + .carousel-inner > .item.next, + .carousel-inner > .item.active.right { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + left: 0; + } + .carousel-inner > .item.prev, + .carousel-inner > .item.active.left { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + left: 0; + } + .carousel-inner > .item.next.left, + .carousel-inner > .item.prev.right, + .carousel-inner > .item.active { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + left: 0; + } +} +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} +.carousel-inner > .active { + left: 0; +} +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} +.carousel-inner > .next { + left: 100%; +} +.carousel-inner > .prev { + left: -100%; +} +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} +.carousel-inner > .active.left { + left: -100%; +} +.carousel-inner > .active.right { + left: 100%; +} +.carousel-control { + position: absolute; + top: 0; + left: 0; + bottom: 0; + width: 15%; + opacity: 0.5; + filter: alpha(opacity=50); + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + background-color: rgba(0, 0, 0, 0); +} +.carousel-control.left { + background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); + background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); + background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001))); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} +.carousel-control.right { + left: auto; + right: 0; + background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); + background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); + background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5))); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} +.carousel-control:hover, +.carousel-control:focus { + outline: 0; + color: #ffffff; + text-decoration: none; + opacity: 0.9; + filter: alpha(opacity=90); +} +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + margin-top: -10px; + z-index: 5; + display: inline-block; +} +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; + margin-left: -10px; +} +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; + margin-right: -10px; +} +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + line-height: 1; + font-family: serif; +} +.carousel-control .icon-prev:before { + content: '\2039'; +} +.carousel-control .icon-next:before { + content: '\203a'; +} +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + margin-left: -30%; + padding-left: 0; + list-style: none; + text-align: center; +} +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + border: 1px solid #ffffff; + border-radius: 10px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); +} +.carousel-indicators .active { + margin: 0; + width: 12px; + height: 12px; + background-color: #ffffff; +} +.carousel-caption { + position: absolute; + left: 15%; + right: 15%; + bottom: 20px; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} +.carousel-caption .btn { + text-shadow: none; +} +@media screen and (min-width: 768px) { + .carousel-control .glyphicon-chevron-left, + .carousel-control .glyphicon-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -10px; + font-size: 30px; + } + .carousel-control .glyphicon-chevron-left, + .carousel-control .icon-prev { + margin-left: -10px; + } + .carousel-control .glyphicon-chevron-right, + .carousel-control .icon-next { + margin-right: -10px; + } + .carousel-caption { + left: 20%; + right: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} +.clearfix:before, +.clearfix:after, +.dl-horizontal dd:before, +.dl-horizontal dd:after, +.container:before, +.container:after, +.container-fluid:before, +.container-fluid:after, +.row:before, +.row:after, +.form-horizontal .form-group:before, +.form-horizontal .form-group:after, +.btn-toolbar:before, +.btn-toolbar:after, +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after, +.nav:before, +.nav:after, +.navbar:before, +.navbar:after, +.navbar-header:before, +.navbar-header:after, +.navbar-collapse:before, +.navbar-collapse:after, +.pager:before, +.pager:after, +.panel-body:before, +.panel-body:after, +.modal-header:before, +.modal-header:after, +.modal-footer:before, +.modal-footer:after { + content: " "; + display: table; +} +.clearfix:after, +.dl-horizontal dd:after, +.container:after, +.container-fluid:after, +.row:after, +.form-horizontal .form-group:after, +.btn-toolbar:after, +.btn-group-vertical > .btn-group:after, +.nav:after, +.navbar:after, +.navbar-header:after, +.navbar-collapse:after, +.pager:after, +.panel-body:after, +.modal-header:after, +.modal-footer:after { + clear: both; +} +.center-block { + display: block; + margin-left: auto; + margin-right: auto; +} +.pull-right { + float: right !important; +} +.pull-left { + float: left !important; +} +.hide { + display: none !important; +} +.show { + display: block !important; +} +.invisible { + visibility: hidden; +} +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} +.hidden { + display: none !important; +} +.affix { + position: fixed; +} +@-ms-viewport { + width: device-width; +} +.visible-xs, +.visible-sm, +.visible-md, +.visible-lg { + display: none !important; +} +.visible-xs-block, +.visible-xs-inline, +.visible-xs-inline-block, +.visible-sm-block, +.visible-sm-inline, +.visible-sm-inline-block, +.visible-md-block, +.visible-md-inline, +.visible-md-inline-block, +.visible-lg-block, +.visible-lg-inline, +.visible-lg-inline-block { + display: none !important; +} +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table !important; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} +@media (max-width: 767px) { + .visible-xs-block { + display: block !important; + } +} +@media (max-width: 767px) { + .visible-xs-inline { + display: inline !important; + } +} +@media (max-width: 767px) { + .visible-xs-inline-block { + display: inline-block !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table !important; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-block { + display: block !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-inline { + display: inline !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-inline-block { + display: inline-block !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table !important; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-block { + display: block !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-inline { + display: inline !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-inline-block { + display: inline-block !important; + } +} +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table !important; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} +@media (min-width: 1200px) { + .visible-lg-block { + display: block !important; + } +} +@media (min-width: 1200px) { + .visible-lg-inline { + display: inline !important; + } +} +@media (min-width: 1200px) { + .visible-lg-inline-block { + display: inline-block !important; + } +} +@media (max-width: 767px) { + .hidden-xs { + display: none !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm { + display: none !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md { + display: none !important; + } +} +@media (min-width: 1200px) { + .hidden-lg { + display: none !important; + } +} +.visible-print { + display: none !important; +} +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table !important; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } +} +.visible-print-block { + display: none !important; +} +@media print { + .visible-print-block { + display: block !important; + } +} +.visible-print-inline { + display: none !important; +} +@media print { + .visible-print-inline { + display: inline !important; + } +} +.visible-print-inline-block { + display: none !important; +} +@media print { + .visible-print-inline-block { + display: inline-block !important; + } +} +@media print { + .hidden-print { + display: none !important; + } +} +.navbar { + background-image: -webkit-linear-gradient(#ffffff, #eeeeee 50%, #e4e4e4); + background-image: -o-linear-gradient(#ffffff, #eeeeee 50%, #e4e4e4); + background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), color-stop(50%, #eeeeee), to(#e4e4e4)); + background-image: linear-gradient(#ffffff, #eeeeee 50%, #e4e4e4); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe4e4e4', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #d5d5d5; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3); +} +.navbar-inverse { + background-image: -webkit-linear-gradient(#6d94bf, #446e9b 50%, #3e648d); + background-image: -o-linear-gradient(#6d94bf, #446e9b 50%, #3e648d); + background-image: -webkit-gradient(linear, left top, left bottom, from(#6d94bf), color-stop(50%, #446e9b), to(#3e648d)); + background-image: linear-gradient(#6d94bf, #446e9b 50%, #3e648d); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6d94bf', endColorstr='#ff3e648d', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #345578; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); +} +.navbar-inverse .badge { + background-color: #fff; + color: #446e9b; +} +.navbar .badge { + text-shadow: none; +} +.navbar-nav > li > a, +.navbar-nav > li > a:hover { + padding-top: 17px; + padding-bottom: 13px; + -webkit-transition: color ease-in-out 0.2s; + -o-transition: color ease-in-out 0.2s; + transition: color ease-in-out 0.2s; +} +.navbar-brand, +.navbar-brand:hover { + -webkit-transition: color ease-in-out 0.2s; + -o-transition: color ease-in-out 0.2s; + transition: color ease-in-out 0.2s; +} +.navbar .caret, +.navbar .caret:hover { + -webkit-transition: border-color ease-in-out 0.2s; + -o-transition: border-color ease-in-out 0.2s; + transition: border-color ease-in-out 0.2s; +} +.navbar .dropdown-menu { + text-shadow: none; +} +.btn { + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); +} +.btn-default { + background-image: -webkit-linear-gradient(#6d7070, #474949 50%, #3d3f3f); + background-image: -o-linear-gradient(#6d7070, #474949 50%, #3d3f3f); + background-image: -webkit-gradient(linear, left top, left bottom, from(#6d7070), color-stop(50%, #474949), to(#3d3f3f)); + background-image: linear-gradient(#6d7070, #474949 50%, #3d3f3f); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6d7070', endColorstr='#ff3d3f3f', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #2e2f2f; +} +.btn-default:hover { + background-image: -webkit-linear-gradient(#636565, #3d3f3f 50%, #333434); + background-image: -o-linear-gradient(#636565, #3d3f3f 50%, #333434); + background-image: -webkit-gradient(linear, left top, left bottom, from(#636565), color-stop(50%, #3d3f3f), to(#333434)); + background-image: linear-gradient(#636565, #3d3f3f 50%, #333434); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff636565', endColorstr='#ff333434', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #242525; +} +.btn-primary { + background-image: -webkit-linear-gradient(#6d94bf, #446e9b 50%, #3e648d); + background-image: -o-linear-gradient(#6d94bf, #446e9b 50%, #3e648d); + background-image: -webkit-gradient(linear, left top, left bottom, from(#6d94bf), color-stop(50%, #446e9b), to(#3e648d)); + background-image: linear-gradient(#6d94bf, #446e9b 50%, #3e648d); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6d94bf', endColorstr='#ff3e648d', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #345578; +} +.btn-primary:hover { + background-image: -webkit-linear-gradient(#5f8ab9, #3e648d 50%, #385a7f); + background-image: -o-linear-gradient(#5f8ab9, #3e648d 50%, #385a7f); + background-image: -webkit-gradient(linear, left top, left bottom, from(#5f8ab9), color-stop(50%, #3e648d), to(#385a7f)); + background-image: linear-gradient(#5f8ab9, #3e648d 50%, #385a7f); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5f8ab9', endColorstr='#ff385a7f', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #2e4b69; +} +.btn-success { + background-image: -webkit-linear-gradient(#61dd45, #3cb521 50%, #36a41e); + background-image: -o-linear-gradient(#61dd45, #3cb521 50%, #36a41e); + background-image: -webkit-gradient(linear, left top, left bottom, from(#61dd45), color-stop(50%, #3cb521), to(#36a41e)); + background-image: linear-gradient(#61dd45, #3cb521 50%, #36a41e); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff61dd45', endColorstr='#ff36a41e', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #2e8a19; +} +.btn-success:hover { + background-image: -webkit-linear-gradient(#52da34, #36a41e 50%, #31921b); + background-image: -o-linear-gradient(#52da34, #36a41e 50%, #31921b); + background-image: -webkit-gradient(linear, left top, left bottom, from(#52da34), color-stop(50%, #36a41e), to(#31921b)); + background-image: linear-gradient(#52da34, #36a41e 50%, #31921b); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52da34', endColorstr='#ff31921b', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #287916; +} +.btn-info { + background-image: -webkit-linear-gradient(#7bbdf7, #3399f3 50%, #208ff2); + background-image: -o-linear-gradient(#7bbdf7, #3399f3 50%, #208ff2); + background-image: -webkit-gradient(linear, left top, left bottom, from(#7bbdf7), color-stop(50%, #3399f3), to(#208ff2)); + background-image: linear-gradient(#7bbdf7, #3399f3 50%, #208ff2); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7bbdf7', endColorstr='#ff208ff2', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #0e80e5; +} +.btn-info:hover { + background-image: -webkit-linear-gradient(#68b3f6, #208ff2 50%, #0e86ef); + background-image: -o-linear-gradient(#68b3f6, #208ff2 50%, #0e86ef); + background-image: -webkit-gradient(linear, left top, left bottom, from(#68b3f6), color-stop(50%, #208ff2), to(#0e86ef)); + background-image: linear-gradient(#68b3f6, #208ff2 50%, #0e86ef); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff68b3f6', endColorstr='#ff0e86ef', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #0c75d2; +} +.btn-warning { + background-image: -webkit-linear-gradient(#ff9c21, #d47500 50%, #c06a00); + background-image: -o-linear-gradient(#ff9c21, #d47500 50%, #c06a00); + background-image: -webkit-gradient(linear, left top, left bottom, from(#ff9c21), color-stop(50%, #d47500), to(#c06a00)); + background-image: linear-gradient(#ff9c21, #d47500 50%, #c06a00); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff9c21', endColorstr='#ffc06a00', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #a15900; +} +.btn-warning:hover { + background-image: -webkit-linear-gradient(#ff930d, #c06a00 50%, #ab5e00); + background-image: -o-linear-gradient(#ff930d, #c06a00 50%, #ab5e00); + background-image: -webkit-gradient(linear, left top, left bottom, from(#ff930d), color-stop(50%, #c06a00), to(#ab5e00)); + background-image: linear-gradient(#ff930d, #c06a00 50%, #ab5e00); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff930d', endColorstr='#ffab5e00', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #8d4e00; +} +.btn-danger { + background-image: -webkit-linear-gradient(#ff1d1b, #cd0200 50%, #b90200); + background-image: -o-linear-gradient(#ff1d1b, #cd0200 50%, #b90200); + background-image: -webkit-gradient(linear, left top, left bottom, from(#ff1d1b), color-stop(50%, #cd0200), to(#b90200)); + background-image: linear-gradient(#ff1d1b, #cd0200 50%, #b90200); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff1d1b', endColorstr='#ffb90200', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #9a0200; +} +.btn-danger:hover { + background-image: -webkit-linear-gradient(#ff0906, #b90200 50%, #a40200); + background-image: -o-linear-gradient(#ff0906, #b90200 50%, #a40200); + background-image: -webkit-gradient(linear, left top, left bottom, from(#ff0906), color-stop(50%, #b90200), to(#a40200)); + background-image: linear-gradient(#ff0906, #b90200 50%, #a40200); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff0906', endColorstr='#ffa40200', GradientType=0); + -webkit-filter: none; + filter: none; + border: 1px solid #860100; +} +.btn-link { + text-shadow: none; +} +.btn:active, +.btn.active { + background-image: none; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} +.panel-primary .panel-title { + color: #fff; +} diff --git a/lib/com.daplie.walnut.init/index.html b/lib/com.daplie.walnut.init/index.html new file mode 100644 index 0000000..a5e6e13 --- /dev/null +++ b/lib/com.daplie.walnut.init/index.html @@ -0,0 +1,33 @@ + + + + WALNUT + + + +

Welcome to WALNUT

+

Your server has no security certificates. + In order to continue we need to know what email address and domain the certificates should be issued to: +

+
+
+ +
 
+
+ + +
+ + +
+ +
+ +
+ + + + diff --git a/lib/com.daplie.walnut.init/js/index.js b/lib/com.daplie.walnut.init/js/index.js new file mode 100644 index 0000000..c913e17 --- /dev/null +++ b/lib/com.daplie.walnut.init/js/index.js @@ -0,0 +1,110 @@ +$(function () { + 'use strict'; + + var apiHostname = window.location.hostname.replace(/^www\./, ''); + var hostname = window.location.hostname.replace(/^www\./, ''); + var baseUrl; + + $.http = $.ajax; + if (/[a-z]+/.test(apiHostname)) { + apiHostname = 'api.' + apiHostname; + } + else { + apiHostname = ''; + } + baseUrl = window.location.protocol.replace(/:$/, '') + + '://' + apiHostname + + window.location.host.replace(/^www\./, '').replace(/.[^:]+(:(\d+))?/, '$2') + ; + + function readConfig() { + $('input.js-domain').val(hostname); + + return $.http({ + method: 'GET' + , url: baseUrl + '/api/com.daplie.walnut.init' + , headers: { + "Accept" : "application/json; charset=utf-8" + } + }).then(function (results) { + results.le = results.le || {}; + $('input.js-agree-tos').prop('checked', results.le.agreeTos); + $('input.js-email').val(results.le.email || results.email); + $('.js-devicename').text(results.hostname); + $('.js-inets').text( + results.inets.map(function (a) { + return 'IPv' + a.family + ' ' + a.address; + }).join('\n') + + '\n\n' + + '# set this device to your account\n' + + "daplie devices:set -d '" + results.hostname + "'" + + " -a '" + results.inets.map(function (a) { return a.address; }).join() + "'\n" + + '\n' + + '# attach this device to the necessary subdomains\n' + + "daplie devices:attach -d '" + results.hostname + "'" + + " -n '" + ($('input.js-domain').val() || '<>') + "'\n" + + "daplie devices:attach -d '" + results.hostname + "'" + + " -n 'www." + ($('input.js-domain').val() || '<>') + "'\n" + + "daplie devices:attach -d '" + results.hostname + "'" + + " -n 'api." + ($('input.js-domain').val() || '<>') + "'\n" + + "daplie devices:attach -d '" + results.hostname + "'" + + " -n 'assets." + ($('input.js-domain').val() || '<>') + "'\n" + + "daplie devices:attach -d '" + results.hostname + "'" + + " -n 'cloud." + ($('input.js-domain').val() || '<>') + "'\n" + + "daplie devices:attach -d '" + results.hostname + "'" + + " -n 'api.cloud." + ($('input.js-domain').val() || '<>') + "'" + ); + }); + } + + readConfig(); + + $('body').on('submit', 'form.js-form-le', function (ev) { + ev.preventDefault(); + + var data = { + domain: $('input.js-domain').val() + , email: $('input.js-email').val() + , agreeTos: $('input.js-agree-tos').prop('checked') + }; + + if (!data.domain) { + window.alert("Please enter the primary domain of this device."); + return; + } + if (!data.email) { + window.alert("Please enter the email of the owner of this device."); + return; + } + if (!data.agreeTos) { + window.alert("Please click to agree to the Let's Encrypt Subscriber Agreement. This server cannot function without encryption. Currently you must use Let's Encrypt. In the future we will enable other options."); + return; + } + + $.http({ + method: 'POST' + , url: baseUrl + '/api/com.daplie.walnut.init' + , headers: { + "Accept" : "application/json; charset=utf-8" + , "Content-Type": "application/json; charset=utf-8" + } + , data: JSON.stringify(data) + }).then(function (data) { + var d; + if (data.error) { + d = $.Deferred(); + d.reject(new Error(data.error.message)); + return d.promise(); + } + return data; + }).then(function (data) { + console.log('Result:'); + console.log(data); + window.alert('Hoo hoo! That tickles! ' + JSON.stringify(data)); + }, function (err) { + console.error('Error POSTing form:'); + console.error(err); + window.alert("Check the console! There's a big, fat error!"); + }); + }); +}); diff --git a/lib/com.daplie.walnut.init/js/jquery-2.2.2.js b/lib/com.daplie.walnut.init/js/jquery-2.2.2.js new file mode 100644 index 0000000..f942984 --- /dev/null +++ b/lib/com.daplie.walnut.init/js/jquery-2.2.2.js @@ -0,0 +1,9842 @@ +/*! + * jQuery JavaScript Library v2.2.2 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2016-03-17T17:51Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Support: Firefox 18+ +// Can't be in strict mode, several libs including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +//"use strict"; +var arr = []; + +var document = window.document; + +var slice = arr.slice; + +var concat = arr.concat; + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var support = {}; + + + +var + version = "2.2.2", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Support: Android<4.1 + // Make sure we trim BOM and NBSP + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return just the one element from the set + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return all the elements in a clean array + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = jQuery.isArray( copy ) ) ) ) { + + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray( src ) ? src : []; + + } else { + clone = src && jQuery.isPlainObject( src ) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isFunction: function( obj ) { + return jQuery.type( obj ) === "function"; + }, + + isArray: Array.isArray, + + isWindow: function( obj ) { + return obj != null && obj === obj.window; + }, + + isNumeric: function( obj ) { + + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + // adding 1 corrects loss of precision from parseFloat (#15100) + var realStringObj = obj && obj.toString(); + return !jQuery.isArray( obj ) && ( realStringObj - parseFloat( realStringObj ) + 1 ) >= 0; + }, + + isPlainObject: function( obj ) { + var key; + + // Not plain objects: + // - Any object or value whose internal [[Class]] property is not "[object Object]" + // - DOM nodes + // - window + if ( jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call( obj, "constructor" ) && + !hasOwn.call( obj.constructor.prototype || {}, "isPrototypeOf" ) ) { + return false; + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android<4.0, iOS<6 (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + globalEval: function( code ) { + var script, + indirect = eval; + + code = jQuery.trim( code ); + + if ( code ) { + + // If the code includes a valid, prologue position + // strict mode pragma, execute code by injecting a + // script tag into the document. + if ( code.indexOf( "use strict" ) === 1 ) { + script = document.createElement( "script" ); + script.text = code; + document.head.appendChild( script ).parentNode.removeChild( script ); + } else { + + // Otherwise, avoid the DOM node creation, insertion + // and removal by using an indirect global eval + + indirect( code ); + } + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Support: IE9-11+ + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // Support: Android<4.1 + trim: function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var tmp, args, proxy; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: Date.now, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +// JSHint would error on this code due to the Symbol not being defined in ES5. +// Defining this global in .jshintrc would create a danger of using the global +// unguarded in another place, it seems safer to just disable JSHint for these +// three lines. +/* jshint ignore: start */ +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} +/* jshint ignore: end */ + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: iOS 8.2 (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.2.1 + * http://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-10-17 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf as it's faster than native + // http://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox<24 + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, nidselect, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { + + // ID selector + if ( (m = match[1]) ) { + + // Document context + if ( nodeType === 9 ) { + if ( (elem = context.getElementById( m )) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && (elem = newContext.getElementById( m )) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( (m = match[3]) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !compilerCache[ selector + " " ] && + (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + + if ( nodeType !== 1 ) { + newContext = context; + newSelector = selector; + + // qSA looks outside Element context, which is not what we want + // Thanks to Andrew Dupont for this workaround technique + // Support: IE <=8 + // Exclude object elements + } else if ( context.nodeName.toLowerCase() !== "object" ) { + + // Capture the context ID, setting it first if necessary + if ( (nid = context.getAttribute( "id" )) ) { + nid = nid.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", (nid = expando) ); + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + nidselect = ridentifier.test( nid ) ? "#" + nid : "[id='" + nid + "']"; + while ( i-- ) { + groups[i] = nidselect + " " + toSelector( groups[i] ); + } + newSelector = groups.join( "," ); + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, parent, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9-11, Edge + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + if ( (parent = document.defaultView) && parent.top !== parent ) { + // Support: IE 11 + if ( parent.addEventListener ) { + parent.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", unloadHandler ); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( document.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var m = context.getElementById( id ); + return m ? [ m ] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + docElem.appendChild( div ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( div.querySelectorAll("[msallowcapture^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !div.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push("~="); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibing-combinator selector` fails + if ( !div.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push(".#.+[+~]"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === document ? -1 : + b === document ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + !compilerCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch (e) {} + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[6] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] ) { + match[2] = match[4] || match[5] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + // Use previously-cached element index if available + if ( useCache ) { + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + // Don't keep the element (issue #299) + input[0] = null; + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); + + if ( (oldCache = uniqueCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context === document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + if ( !context && elem.ownerDocument !== document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context || document, xml) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( (selector = compiled.selector || selector) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ ); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + } ); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, + len = this.length, + ret = [], + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + // Support: Blackberry 4.6 + // gEBID returns nodes no longer in the document (#6963) + if ( elem && elem.parentNode ) { + + // Inject the element directly into the jQuery object + this.length = 1; + this[ 0 ] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( pos ? + pos.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + return elem.contentDocument || jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnotwhite = ( /\S+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( jQuery.isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && jQuery.type( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks( "once memory" ), "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), "rejected" ], + [ "notify", "progress", jQuery.Callbacks( "memory" ) ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this === promise ? newDefer.promise() : this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( function() { + + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || + ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. + // If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + } else if ( !( --remaining ) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // Add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .progress( updateFunc( i, progressContexts, progressValues ) ) + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ); + } else { + --remaining; + } + } + } + + // If we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +} ); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.triggerHandler ) { + jQuery( document ).triggerHandler( "ready" ); + jQuery( document ).off( "ready" ); + } + } +} ); + +/** + * The ready event handler and self cleanup method + */ +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called + // after the browser event has already occurred. + // Support: IE9-10 only + // Older IE sometimes signals "interactive" too soon + if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + + } else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); + } + } + return readyList.promise( obj ); +}; + +// Kick off the DOM ready check even if the user does not +jQuery.ready.promise(); + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + len ? fn( elems[ 0 ], key ) : emptyGet; +}; +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + /* jshint -W018 */ + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + register: function( owner, initial ) { + var value = initial || {}; + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable, non-writable property + // configurability must be true to allow the property to be + // deleted with the delete operator + } else { + Object.defineProperty( owner, this.expando, { + value: value, + writable: true, + configurable: true + } ); + } + return owner[ this.expando ]; + }, + cache: function( owner ) { + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( !acceptData( owner ) ) { + return {}; + } + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + if ( typeof data === "string" ) { + cache[ data ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ prop ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + owner[ this.expando ] && owner[ this.expando ][ key ]; + }, + access: function( owner, key, value ) { + var stored; + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + stored = this.get( owner, key ); + + return stored !== undefined ? + stored : this.get( owner, jQuery.camelCase( key ) ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, name, camel, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key === undefined ) { + this.register( owner ); + + } else { + + // Support array or space separated string of keys + if ( jQuery.isArray( key ) ) { + + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = key.concat( key.map( jQuery.camelCase ) ); + } else { + camel = jQuery.camelCase( key ); + + // Try the string as a key before any manipulation + if ( key in cache ) { + name = [ key, camel ]; + } else { + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + name = camel; + name = name in cache ? + [ name ] : ( name.match( rnotwhite ) || [] ); + } + } + + i = name.length; + + while ( i-- ) { + delete cache[ name[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <= 35-45+ + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://code.google.com/p/chromium/issues/detail?id=378607 + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE11+ + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = jQuery.camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data, camelKey; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // with the key as-is + data = dataUser.get( elem, key ) || + + // Try to find dashed key if it exists (gh-2779) + // This is for 2.2.x only + dataUser.get( elem, key.replace( rmultiDash, "-$&" ).toLowerCase() ); + + if ( data !== undefined ) { + return data; + } + + camelKey = jQuery.camelCase( key ); + + // Attempt to get data from the cache + // with the key camelized + data = dataUser.get( elem, camelKey ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, camelKey, undefined ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + camelKey = jQuery.camelCase( key ); + this.each( function() { + + // First, attempt to store a copy or reference of any + // data that might've been store with a camelCased key. + var data = dataUser.get( this, camelKey ); + + // For HTML5 data-* attribute interop, we have to + // store property names with dashes in a camelCase form. + // This might not apply to all properties...* + dataUser.set( this, camelKey, value ); + + // *... In the case of properties that might _actually_ + // have dashes, we need to also store a copy of that + // unchanged property. + if ( key.indexOf( "-" ) > -1 && data !== undefined ) { + dataUser.set( this, key, value ); + } + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || + !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, + scale = 1, + maxIterations = 20, + currentValue = tween ? + function() { return tween.cur(); } : + function() { return jQuery.css( elem, prop, "" ); }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + do { + + // If previous iteration zeroed out, double until we get *something*. + // Use string for doubling so we don't accidentally see scale as unchanged below + scale = scale || ".5"; + + // Adjust and apply + initialInUnit = initialInUnit / scale; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Update scale, tolerating zero or NaN from tween.cur() + // Break the loop if scale is unchanged or perfect, or if we've just had enough. + } while ( + scale !== ( scale = currentValue() / initial ) && scale !== 1 && --maxIterations + ); + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([\w:-]+)/ ); + +var rscriptType = ( /^$|\/(?:java|ecma)script/i ); + + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // Support: IE9 + option: [ 1, "" ], + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +// Support: IE9 +wrapMap.optgroup = wrapMap.option; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + + +function getAll( context, tag ) { + + // Support: IE9-11+ + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret = typeof context.getElementsByTagName !== "undefined" ? + context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== "undefined" ? + context.querySelectorAll( tag || "*" ) : + []; + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], ret ) : + ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, contains, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + + // Support: Android<4.1, PhantomJS<2 + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android<4.1, PhantomJS<2 + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0-4.3, Safari<=5.1 + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Safari<=5.1, Android<4.2 + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<=11+ + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +} )(); + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE9 +// See #13393 for more info +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = {}; + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, j, ret, matched, handleObj, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or 2) have namespace(s) + // a subset or equal to those in the bound event (both can have no namespace). + if ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, matches, sel, handleObj, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Support (at least): Chrome, IE9 + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // + // Support: Firefox<=42+ + // Avoid non-left-click in FF but don't block IE radio events (#3861, gh-2343) + if ( delegateCount && cur.nodeType && + ( event.type !== "click" || isNaN( event.button ) || event.button < 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && ( cur.disabled !== true || event.type !== "click" ) ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push( { elem: cur, handlers: matches } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: this, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: ( "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase " + + "metaKey relatedTarget shiftKey target timeStamp view which" ).split( " " ), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split( " " ), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: ( "button buttons clientX clientY offsetX offsetY pageX pageY " + + "screenX screenY toElement" ).split( " " ), + filter: function( event, original ) { + var eventDoc, doc, body, + button = original.button; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - + ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - + ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: Cordova 2.5 (WebKit) (#13255) + // All events should have a target; Cordova deviceready doesn't + if ( !event.target ) { + event.target = document; + } + + // Support: Safari 6.0+, Chrome<28 + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + this.focus(); + return false; + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( this.type === "checkbox" && this.click && jQuery.nodeName( this, "input" ) ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android<4.0 + src.returnValue === false ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://code.google.com/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi, + + // Support: IE 10-11, Edge 10240+ + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName( "tbody" )[ 0 ] || + elem.appendChild( elem.ownerDocument.createElement( "tbody" ) ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + + if ( match ) { + elem.type = match[ 1 ]; + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.access( src ); + pdataCur = dataPriv.set( dest, pdataOld ); + events = pdataOld.events; + + if ( events ) { + delete pdataCur.handle; + pdataCur.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( isFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android<4.1, PhantomJS<2 + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( node.textContent.replace( rcleanScript, "" ) ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && jQuery.contains( node.ownerDocument, node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html.replace( rxhtmlTag, "<$1>" ); + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = jQuery.contains( elem.ownerDocument, elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <= 35-45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <= 35-45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + + // Keep domManip exposed until 3.0 (gh-2225) + domManip: domManip, + + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: QtWebKit + // .get() because push.apply(_, arraylike) throws + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); + + +var iframe, + elemdisplay = { + + // Support: Firefox + // We have to pre-define these values for FF (#10227) + HTML: "block", + BODY: "block" + }; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ + +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + display = jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = ( iframe || jQuery( "' + + '" width="1px" height="1px" frameborder="0">' + ); + + $('body').append($iframe); + }); + + // TODO periodically garbage collect expired handlers from window object + return promise; + }; + + oauth3.openWindow = function (url, state, opts) { + var promise = new oauth3.PromiseA(function (resolve, reject) { + var winref; + var tok; + + function cleanup() { + delete window['__oauth3_' + state]; + clearTimeout(tok); + tok = null; + // this is last in case the window self-closes synchronously + // (should never happen, but that's a negotiable implementation detail) + //winref.close(); + } + + window['__oauth3_' + state] = function (params) { + //console.info('[popup] (or window) complete', params); + resolve(params); + cleanup(); + }; + + tok = setTimeout(function () { + var err = new Error("the windowed request did not complete within 3 minutes"); + err.code = "E_TIMEOUT"; + reject(err); + cleanup(); + }, opts.timeout || 3 * 60 * 1000); + + // TODO allow size changes (via directive even) + winref = window.open(url, 'oauth3-login-' + state, 'height=720,width=620'); + if (!winref) { + reject("TODO: open the iframe first and discover oauth3 directives before popup"); + cleanup(); + } + }); + + // TODO periodically garbage collect expired handlers from window object + return promise; + }; + + oauth3.logout = function (providerUri, opts) { + opts = opts || {}; + + // Oauth3.init({ logout: function () {} }); + //return Oauth3.logout(); + + var state = parseInt(Math.random().toString().replace('0.', ''), 10).toString('36'); + var url = providerUri.replace(/\/$/, '') + (opts.providerOauth3Html || '/oauth3.html'); + var redirectUri = opts.redirectUri + || (window.location.protocol + '//' + (window.location.host + window.location.pathname) + 'oauth3.html') + ; + var params = { + // logout=true for all logins/accounts + // logout=app-scoped-login-id for a single login + action: 'logout' + // TODO specify specific accounts / logins to delete from session + , accounts: true + , logins: true + , redirect_uri: redirectUri + , state: state + }; + + //console.log('DEBUG oauth3.logout NIX insertIframe'); + //console.log(url, params.redirect_uri); + //console.log(state); + //console.log(params); // redirect_uri + //console.log(opts); + + if (url === params.redirect_uri) { + return oauth3.PromiseA.resolve(); + } + + url += '#' + oauth3.querystringify(params); + + return oauth3.insertIframe(url, state, opts); + }; + + oauth3.stringifyscope = function (scope) { + if (Array.isArray(scope)) { + scope = scope.join(' '); + } + return scope; + }; + + oauth3.querystringify = function (params) { + var qs = []; + + Object.keys(params).forEach(function (key) { + if ('scope' === key) { + params[key] = oauth3.stringifyscope(params[key]); + } + qs.push(encodeURIComponent(key) + '=' + encodeURIComponent(params[key])); + }); + + return qs.join('&'); + }; + + oauth3.createState = function () { + // TODO mo' betta' random function + // maybe gather some entropy from mouse / keyboard events? + // (probably not, just use webCrypto or be sucky) + return parseInt(Math.random().toString().replace('0.', ''), 10).toString('36'); + }; + + oauth3.normalizeProviderUri = function (providerUri) { + // tested with + // example.com + // example.com/ + // http://example.com + // https://example.com/ + providerUri = providerUri + .replace(/^(https?:\/\/)?/, 'https://') + .replace(/\/?$/, '') + ; + + return providerUri; + }; + + oauth3._discoverHelper = function (providerUri, opts) { + opts = opts || {}; + var state = oauth3.createState(); + var params; + var url; + + params = { + action: 'directives' + , state: state + // TODO this should be configurable (i.e. I want a dev vs production oauth3.html) + , redirect_uri: window.location.protocol + '//' + window.location.host + + window.location.pathname + 'oauth3.html' + }; + + url = providerUri + '/oauth3.html#' + oauth3.querystringify(params); + + return oauth3.insertIframe(url, state, opts).then(function (directives) { + return directives; + }, function (err) { + return oauth3.PromiseA.reject(err); + }); + }; + + oauth3.discover = function (providerUri, opts) { + opts = opts || {}; + + console.log('DEBUG oauth3.discover', providerUri); + console.log(opts); + if (opts.directives) { + return oauth3.PromiseA.resolve(opts.directives); + } + + var promise; + var promise2; + var directives; + var updatedAt; + var fresh; + + providerUri = oauth3.normalizeProviderUri(providerUri); + try { + directives = JSON.parse(localStorage.getItem('oauth3.' + providerUri + '.directives')); + console.log('DEBUG oauth3.discover cache', directives); + updatedAt = localStorage.getItem('oauth3.' + providerUri + '.directives.updated_at'); + console.log('DEBUG oauth3.discover updatedAt', updatedAt); + updatedAt = new Date(updatedAt).valueOf(); + console.log('DEBUG oauth3.discover updatedAt', updatedAt); + } catch(e) { + // ignore + } + + fresh = (Date.now() - updatedAt) < (24 * 60 * 60 * 1000); + + if (directives) { + promise = oauth3.PromiseA.resolve(directives); + + if (fresh) { + //console.log('[local] [fresh directives]', directives); + return promise; + } + } + + promise2 = oauth3._discoverHelper(providerUri, opts).then(function (params) { + console.log('DEBUG oauth3._discoverHelper', params); + var err; + + if (!params.directives) { + err = new Error(params.error_description || "Unknown error when discoving provider '" + providerUri + "'"); + err.code = params.error || "E_UNKNOWN_ERROR"; + return oauth3.PromiseA.reject(err); + } + + try { + directives = JSON.parse(atob(params.directives)); + console.log('DEBUG oauth3._discoverHelper directives', directives); + } catch(e) { + err = new Error(params.error_description || "could not parse directives for provider '" + providerUri + "'"); + err.code = params.error || "E_PARSE_DIRECTIVE"; + return oauth3.PromiseA.reject(err); + } + + if ( + (directives.authorization_dialog && directives.authorization_dialog.url) + || (directives.access_token && directives.access_token.url) + ) { + // TODO lint directives + localStorage.setItem('oauth3.' + providerUri + '.directives', JSON.stringify(directives)); + localStorage.setItem('oauth3.' + providerUri + '.directives.updated_at', new Date().toISOString()); + + return oauth3.PromiseA.resolve(directives); + } else { + // ignore + console.error("the directives provided by '" + providerUri + "' were invalid."); + params.error = params.error || "E_INVALID_DIRECTIVE"; + params.error_description = params.error_description + || "directives did not include authorization_dialog.url"; + err = new Error(params.error_description || "Unknown error when discoving provider '" + providerUri + "'"); + err.code = params.error; + return oauth3.PromiseA.reject(err); + } + }); + + return promise || promise2; + }; + + oauth3.authorizationRedirect = function (providerUri, authorizationRedirect, opts) { + //console.log('[authorizationRedirect]'); + // + // Example Authorization Redirect - from Browser to Consumer API + // (for generating a session securely on your own server) + // + // i.e. GET https://<>.com/api/org.oauth3.consumer/authorization_redirect/<>.com + // + // GET https://myapp.com/api/org.oauth3.consumer/authorization_redirect/`encodeURIComponent('example.com')` + // &scope=`encodeURIComponent('profile.login profile.email')` + // + // (optional) + // &state=`Math.random()` + // &redirect_uri=`encodeURIComponent('https://myapp.com/oauth3.html')` + // + // NOTE: This is not a request sent to the provider, but rather a request sent to the + // consumer (your own API) which then sets some state and redirects. + // This will initiate the `authorization_code` request on your server + // + opts = opts || {}; + + return oauth3.discover(providerUri, opts).then(function (directive) { + if (!directive) { + throw new Error("Developer Error: directive should exist when discovery is successful"); + } + + var scope = opts.scope || directive.authn_scope; + + var state = Math.random().toString().replace(/^0\./, ''); + var params = {}; + var slimProviderUri = encodeURIComponent(providerUri.replace(/^(https?|spdy):\/\//, '')); + + params.state = state; + if (scope) { + params.scope = scope; + } + if (opts.redirectUri) { + // this is really only for debugging + params.redirect_uri = opts.redirectUri; + } + // Note: the type check is necessary because we allow 'true' + // as an automatic mechanism when it isn't necessary to specify + if ('string' !== typeof authorizationRedirect) { + // TODO oauth3.json for self? + authorizationRedirect = 'https://' + window.location.host + + '/api/org.oauth3.consumer/authorization_redirect/:provider_uri'; + } + authorizationRedirect = authorizationRedirect + .replace(/!(provider_uri)/, slimProviderUri) + .replace(/:provider_uri/, slimProviderUri) + .replace(/#{provider_uri}/, slimProviderUri) + .replace(/{{provider_uri}}/, slimProviderUri) + ; + + return oauth3.PromiseA.resolve({ + url: authorizationRedirect + '?' + oauth3.querystringify(params) + , method: 'GET' + , state: state // this becomes browser_state + , params: params // includes scope, final redirect_uri? + }); + }); + }; + + oauth3.authorizationCode = function (/*providerUri, scope, redirectUri, clientId*/) { + // + // Example Authorization Code Request + // (not for use in the browser) + // + // GET https://example.com/api/org.oauth3.provider/authorization_dialog + // ?response_type=code + // &scope=`encodeURIComponent('profile.login profile.email')` + // &state=`Math.random()` + // &client_id=xxxxxxxxxxx + // &redirect_uri=`encodeURIComponent('https://myapp.com/oauth3.html')` + // + // NOTE: `redirect_uri` itself may also contain URI-encoded components + // + // NOTE: This probably shouldn't be done in the browser because the server + // needs to initiate the state. If it is done in a browser, the browser + // should probably request 'state' from the server beforehand + // + + throw new Error("not implemented"); + }; + + oauth3.implicitGrant = function (providerUri, opts) { + //console.log('[implicitGrant]'); + // + // Example Implicit Grant Request + // (for generating a browser-only session, not a session on your server) + // + // GET https://example.com/api/org.oauth3.provider/authorization_dialog + // ?response_type=token + // &scope=`encodeURIComponent('profile.login profile.email')` + // &state=`Math.random()` + // &client_id=xxxxxxxxxxx + // &redirect_uri=`encodeURIComponent('https://myapp.com/oauth3.html')` + // + // NOTE: `redirect_uri` itself may also contain URI-encoded components + // + + opts = opts || {}; + var type = 'authorization_dialog'; + var responseType = 'token'; + + return oauth3.discover(providerUri, opts).then(function (directive) { + var redirectUri = opts.redirectUri; + var scope = opts.scope || directive.authn_scope; + var clientId = opts.appId; + var args = directive[type]; + var uri = args.url; + var state = Math.random().toString().replace(/^0\./, ''); + var params = {}; + var loc; + var result; + + params.state = state; + params.response_type = responseType; + if (scope) { + if (Array.isArray(scope)) { + scope = scope.join(' '); + } + params.scope = scope; + } + if (clientId) { + // In OAuth3 client_id is optional for implicit grant + params.client_id = clientId; + } + if (!redirectUri) { + loc = window.location; + redirectUri = loc.protocol + '//' + loc.host + loc.pathname; + if ('/' !== redirectUri[redirectUri.length - 1]) { + redirectUri += '/'; + } + redirectUri += 'oauth3.html'; + } + params.redirect_uri = redirectUri; + + uri += '?' + oauth3.querystringify(params); + + result = { + url: uri + , state: state + , method: args.method + , query: params + }; + return oauth3.PromiseA.resolve(result); + }); + }; + + oauth3.resourceOwnerPassword = function (providerUri, username, passphrase, opts) { + // + // Example Resource Owner Password Request + // (generally for 1st party and direct-partner mobile apps, and webapps) + // + // POST https://example.com/api/org.oauth3.provider/access_token + // { "grant_type": "password", "client_id": "<>", "scope": "<>" + // , "username": "<>", "password": "password" } + // + opts = opts || {}; + var type = 'access_token'; + var grantType = 'password'; + + return oauth3.discover(providerUri, opts).then(function (directive) { + var scope = opts.scope || directive.authn_scope; + var clientId = opts.appId; + var clientAgreeTos = opts.clientAgreeTos; + var clientUri = opts.clientUri; + var args = directive[type]; + var params = { + "grant_type": grantType + , "username": username + , "password": passphrase + //, "totp": opts.totp + }; + var uri = args.url; + var body; + if (opts.totp) { + params.totp = opts.totp; + } + + if (clientId) { + params.clientId = clientId; + } + if (clientUri) { + params.clientUri = clientUri; + params.clientAgreeTos = clientAgreeTos; + if (!clientAgreeTos) { + throw new Error('Developer Error: missing clientAgreeTos uri'); + } + } + + if (scope) { + if (Array.isArray(scope)) { + scope = scope.join(' '); + } + params.scope = scope; + } + + if ('GET' === args.method.toUpperCase()) { + uri += '?' + oauth3.querystringify(params); + } else { + body = params; + } + + return { + url: uri + , method: args.method + , data: body + }; + }); + }; + + exports.OAUTH3 = oauth3.oauth3 = oauth3.OAUTH3 = oauth3; + exports.oauth3 = exports.OAUTH3; + + if ('undefined' !== typeof module) { + module.exports = oauth3; + } +}('undefined' !== typeof exports ? exports : window)); diff --git a/daplie-scripts/therapy-session.js b/daplie-scripts/therapy-session.js new file mode 100644 index 0000000..e24bb10 --- /dev/null +++ b/daplie-scripts/therapy-session.js @@ -0,0 +1,907 @@ +(function (exports) { + 'use strict'; + + var TherapySession; + var Oauth3 = (exports.OAUTH3 || require('./oauth3')); + + // + // Pure convenience / utility funcs + // + function createSession() { + return { logins: [], accounts: [] }; + } + function removeItem(array, item) { + var i = array.indexOf(item); + + if (-1 !== i) { + array.splice(i, 1); + } + } + + var TLogins = {}; + var TAccounts = {}; + var InternalApi; + var api; + + function create(opts) { + var myInstance = {}; + var conf = { + session: createSession() + , sessionKey: opts.namespace + '.' + opts.sessionKey // 'session' + , cache: opts.cache + , config: opts.config + , usernameMinLength: opts.usernameMinLength + , secretMinLength: opts.secretMinLength + }; + + Object.keys(TherapySession.api).forEach(function (key) { + myInstance[key] = function () { + var args = Array.prototype.slice.call(arguments); + args.unshift(conf); + return TherapySession.api[key].apply(null, args); + }; + }); + + myInstance.getId = TherapySession.getId; + myInstance.openAuthorizationDialog = function () { + // TODO guarantee that this happens assignment happens before initialization? + return (opts.invokeLogin || opts.config.invokeLogin).apply(null, arguments); + }; + myInstance.usernameMinLength = opts.usernameMinLength; + myInstance.secretMinLength = opts.secretMinLength; + myInstance.api = api; + + myInstance._conf = conf; + + return myInstance; + } + + // TODO track and compare granted scopes locally + function save(conf, updates) { + // TODO make sure session.logins[0] is most recent + api.updateSession(conf, updates.login, updates.accounts); + + // TODO should this be done by the LocalApiStorage? + // TODO how to have different accounts selected in different tabs? + localStorage.setItem(conf.sessionKey, JSON.stringify(conf.session)); + return Oauth3.PromiseA.resolve(conf.session); + } + + function restore(conf) { + // Being very careful not to trigger a false onLogin or onLogout via $watch + var storedSession; + + if (conf.session.token) { + return api.sanityCheckAccounts(conf); + // return Oauth3.PromiseA.resolve(conf.session); + } + + storedSession = JSON.parse(localStorage.getItem(conf.sessionKey) || null) || createSession(); + + if (storedSession.token) { + conf.session = storedSession; + return api.sanityCheckAccounts(conf); + //return Oauth3.PromiseA.resolve(conf.session); + } else { + return Oauth3.PromiseA.reject(new Error("No Session")); + } + } + + function destroy(conf) { + conf.session = createSession(); + localStorage.removeItem(conf.sessionKey); + return conf.cache.destroy(conf).then(function (session) { + return session; + }); + } + + function accounts(conf, login) { + return Oauth3.request({ + url: conf.config.apiBaseUri + conf.config.apiPrefix + '/accounts' + , method: 'GET' + , headers: { 'Authorization': 'Bearer ' + login.token } + }).then(function (resp) { + var accounts = resp.data && (resp.data.accounts || resp.data.result || resp.data.results) + || resp.data || { error: { message: "Unknown Error when retrieving accounts" } } + ; + + if (accounts.error) { + console.error("[ERROR] couldn't fetch accounts", accounts); + return Oauth3.PromiseA.reject(new Error("Could not verify login:" + accounts.error.message)); + } + + if (!Array.isArray(accounts)) { + console.error("[Uknown ERROR] couldn't fetch accounts, no proper error", accounts); + // TODO destroy(conf); + return Oauth3.PromiseA.reject(new Error("could not verify login")); // destroy(conf); + } + + return accounts; + }); + } + + // TODO move to LocalApiLogin? + function testLoginAccounts(conf, login) { + // TODO cache this also, but with a shorter shelf life? + return TherapySession.api.accounts(conf, login).then(function (accounts) { + return { login: login, accounts: accounts }; + }, function (err) { + console.error("[Error] couldn't get accounts (might not be linked)"); + console.warn(err); + return { login: login, accounts: [] }; + }); + } + + function logout(conf) { + console.log('DEBUG logout', conf); + return Oauth3.logout(conf.config.providerUri, {}).then(function () { + console.log('DEBUG Oauth3.logout'); + return destroy(conf); + }, function () { + return destroy(conf); + }); + } + + function backgroundLogin(conf, opts) { + opts = opts || {}; + + opts.background = true; + return TherapySession.api.login(conf, opts); + } + + function login(conf, opts) { + console.log('##### DEBUG TherapySession'); + console.log(conf); + console.log(opts); + // this should work first party and third party + var promise; + var providerUri = (opts && opts.providerUri) || conf.config.providerUri; + + opts = opts || {}; + //opts.redirectUri = conf.config.appUri + '/oauth3.html'; + + // TODO note that this must be called on a click event + // otherwise the browser will block the popup + function forceLogin() { + opts.appId = opts.appId || conf.config.appId; + opts.clientUri = opts.clientUri || conf.config.clientUri; + opts.clientAgreeTos = opts.clientAgreeTos || conf.config.clientAgreeTos; + var username = opts.username; + // TODO why is login modifying the opts? + return Oauth3.login(providerUri, opts).then(function (params) { + return TLogins.getLoginFromTokenParams(conf, providerUri, username, params).then(function (login) { + return testLoginAccounts(conf, login).then(function (updates) { + return save(conf, updates); + }); + }); + }); + } + + if (!opts.force) { + promise = restore(conf, opts.scope); + } else { + promise = Oauth3.PromiseA.reject(); + } + + // TODO check for scope in session + return promise.then(function (session) { + if (!session.appScopedId || opts && opts.force) { + return forceLogin(); + } + + var promise = Oauth3.PromiseA.resolve(); + + // TODO check expirey + session.logins.forEach(function (login) { + promise = promise.then(function () { + return testLoginAccounts(conf, login).then(function (updates) { + return save(conf, updates); + }); + }); + }); + + return promise; + }, forceLogin).then(function (session) { + // testLoginAccounts().then(save); + return session; + }); + } + + function requireSession(conf, opts) { + var promise = Oauth3.PromiseA.resolve(opts); + + // TODO create middleware stack + return promise.then(function () { + return TLogins.requireLogin(conf, opts); + }).then(function () { + return TAccounts.requireAccount(conf, opts); + }); + // .then(selectAccount).then(verifyAccount) + } + + function onLogin(conf, _scope, fn) { + // This is better than using a promise.notify + // because the watches will unwatch when the controller is destroyed + _scope.__stsessionshared__ = conf; + _scope.$watch('__stsessionshared__.session', function (newValue, oldValue) { + if (newValue.accountId && oldValue.accountId !== newValue.accountId) { + fn(conf.session); + } + }, true); + } + + function onLogout(conf, _scope, fn) { + _scope.__stsessionshared__ = conf; + _scope.$watch('__stsessionshared__.session', function (newValue, oldValue) { + if (!newValue.accountId && oldValue.accountId) { + fn(null); + } + }, true); + } + + + function getToken(conf, accountId) { + var session = conf.session; + var logins = []; + var login; + accountId = TAccounts.getId(accountId) || accountId; + + // search logins first because we know we're actually + // logged in with said login, y'know? + session.logins.forEach(function (login) { + login.accounts.forEach(function (account) { + if (TAccounts.getId(account) === accountId) { + logins.push(login); + } + }); + }); + + login = logins.sort(function (a, b) { + // b - a // most recent first + return (new Date(b.expiresAt).value || 0) - (new Date(a.expiresAt).value || 0); + })[0]; + + return login && login.token; + } + + // this should be done at every login + // even an existing login may gain new accounts + function addAccountsToSession(conf, login, accounts) { + var now = Date.now(); + + login.accounts = accounts.map(function (account) { + account.addedAt = account.addedAt || now; + return { + id: TAccounts.getId(account) + , addedAt: now + }; + }); + + accounts.forEach(function (newAccount) { + if (!conf.session.accounts.some(function (other, i) { + if (TAccounts.getId(other) === TAccounts.getId(newAccount)) { + conf.session.accounts[i] = newAccount; + return true; + } + })) { + conf.session.accounts.push(newAccount); + } + }); + + conf.session.accounts.sort(function (a, b) { + return b.addedAt - a.addedAt; + }); + } + + // this should be done on login and logout + // an old login may have lost or gained accounts + function pruneAccountsFromSession(conf) { + var session = conf.session; + var accounts = session.accounts.slice(0); + + // remember, you can't modify an array while it's in-loop + // well, you can... but it would be bad! + accounts.forEach(function (account) { + if (!session.logins.some(function (login) { + return login.accounts.some(function (a) { + return TAccounts.getId(a) === TAccounts.getId(account); + }); + })) { + removeItem(session.accounts, account); + } + }); + } + + function refreshCurrentAccount(conf) { + var session = conf.session; + + // select a default session + if (1 === session.accounts.length) { + session.accountId = TAccounts.getId(session.accounts[0]); + session.id = session.accountId; + session.appScopedId = session.accountId; + session.token = session.accountId && api.getToken(conf, session.accountId) || null; + session.userVerifiedAt = session.accounts[0].userVerifiedAt; + return; + } + + if (!session.logins.some(function (account) { + if (session.accountId === TAccounts.getId(account)) { + session.accountId = TAccounts.getId(account); + session.id = session.accountId; + session.appScopedId = session.accountId; + session.token = session.accountId && api.getToken(conf, session.accountId) || null; + session.userVerifiedAt = account.userVerifiedAt; + } + })) { + session.accountId = null; + session.id = null; + session.appScopedId = null; + session.token = null; + session.userVerifiedAt = null; + } + } + + function updateSession(conf, login, accounts) { + var session = conf.session; + + login.addedAt = login.addedAt || Date.now(); + + // sanity check login + if (0 === accounts.length) { + login.selectedAccountId = null; + } + else if (1 === accounts.length) { + login.selectedAccountId = TAccounts.getId(accounts[0]); + } + else if (accounts.length >= 1) { + login.selectedAccountId = null; + } + else { + throw new Error("[SANITY CHECK FAILED] bad account length'"); + } + + api.addAccountsToSession(conf, login, accounts); + + // update login if it exists + // (or add it if it doesn't) + if (!session.logins.some(function (other, i) { + if ((login.loginId && other.loginId === login.loginId) || (other.token === login.token)) { + session.logins[i] = login; + return true; + } + })) { + session.logins.push(login); + } + + api.pruneAccountsFromSession(conf); + + api.refreshCurrentAccount(conf); + + session.logins.sort(function (a, b) { + return b.addedAt - a.addedAt; + }); + } + + function sanityCheckAccounts(conf) { + var promise; + var session = conf.session; + + // XXX this is just a bugfix for previously deployed code + // it probably only affects about 10 users and can be deleted + // at some point in the future (or left as a sanity check) + + if (session.accounts.every(function (account) { + if (account.appScopedId) { + return true; + } + })) { + return Oauth3.PromiseA.resolve(session); + } + + promise = Oauth3.PromiseA.resolve(); + session.logins.forEach(function (login) { + promise = promise.then(function () { + return testLoginAccounts(conf, login).then(function (updates) { + return save(conf, updates); + }); + }); + }); + + return promise.then(function (session) { + return session; + }, function () { + // this is just bad news... + return conf.cache.destroy(conf).then(function () { + window.alert("Sorry, but an error occurred which can only be fixed by logging you out" + + " and refreshing the page.\n\nThis will happen automatically.\n\nIf you get this" + + " message even after the page refreshes, please contact support@betopool.com." + ); + window.location.reload(); + return Oauth3.PromiseA.reject(new Error("A session error occured. You must log out and log back in.")); + }); + }); + } + + // TODO is this more logins or accounts or session? session? + function handleOrphanLogins(conf) { + var promise; + var session = conf.session; + + promise = Oauth3.PromiseA.resolve(); + + if (session.logins.some(function (login) { + return !login.accounts.length; + })) { + if (session.accounts.length > 1) { + throw new Error("[Not Implemented] can't yet attach new social logins when more than one local account is in the session." + + " Please logout and sign back in with your Local Account only. Then attach the other login."); + } + session.logins.forEach(function (login) { + if (!login.accounts.length) { + promise = promise.then(function () { + return TAccounts.attachLoginToAccount(conf, session.accounts[0], login); + }); + } + }); + } + + return promise.then(function () { + return session; + }); + } + + TLogins.getLoginFromTokenParams = function (conf, providerUri, username, params) { + var err; + var accessToken; + var refreshToken; + var expiresAt; + var match; + var data; + var login; + var now = Date.now(); + + if (!params) { + err = new Error("[Developer Error] No params were passed to the token parser"); + err.code = 'E_DEV_ERROR'; + err.uri = 'https://oauth3.org/docs/errors/#E_DEV_ERROR'; + return Oauth3.PromiseA.reject(err); + } + + console.log('[DEBUG] params', params); + + accessToken = (params.oauth3_token || params.oauth3Token || params.jwt || params.access_token || params.accessToken || params.token); + refreshToken = (params.oauth3Refresh || params.oauth3_refresh || params.jwt_refresh || params.refresh_token || params.refreshToken); + + if (!accessToken) { + if (!(params.error || params.error_description)) { + err = new Error("[Server Error] The server did not grant access nor give an error message"); + err.code = "E_SERVER_ERROR"; + err.uri = params.error_uri || ''; + return Oauth3.PromiseA.reject(err); + } + + err = new Error(params.error_description || ": invalid username or secret"); + err.code = params.error || "_access_denied"; + err.uri = params.error_uri || ''; + return Oauth3.PromiseA.reject(err); + } + + // JWT <>.<>.<> + // pass yada.yada.yada + // fail yada yada.yada + // fail y?da.yada.yada + match = accessToken.match(/^[A-Za-z0-9+=_\/\-]+\.([A-Za-z0-9+=_\/\-]+)\.[A-Za-z0-9+=_\/\-]+$/); + if (match) { + try { + data = JSON.parse(atob(match[1])); + } catch(e) { + data = {}; + } + } else { + data = {}; + } + + // TODO support fewer expiry methods + expiresAt = [ + params.expires_at, params.expiresAt, params.expires_in, params.expiresIn, params.expires, data.exp + ].map(function (exp) { + exp = parseInt(exp, 10) || 0; + var year = 365 * 24 * 60 * 60 * 1000; + var min = now - (1 * year); + var max = now + (2 * year); + + // date of expiration, already in ms + if (exp > min && exp < max) { + return exp; + } + // date of expiration in seconds + if (exp > (min / 1000) && exp < (max / 1000)) { + return exp * 1000; + } + // time remaining in seconds + if (exp > 1 && exp < (2 * year)) { + return now + (exp * 1000); + } + }).filter(function (exp) { + return exp; + })[0] || (Date.now() + 1 * 60 * 60 * 1000); + + // TODO drop prefixes everywhere + providerUri = providerUri.replace(/^(https?:\/\/)?(www\.)?/, ''); + login = { + token: accessToken + , refreshToken: refreshToken + , expiresAt: expiresAt + , appScopedId: params.app_scoped_id || params.appScopedId + || data.idx || data.usr || username + || null + , loginId: params.loginId || params.login_id + || data.id || data.usr + , accountId: params.accountId || params.account_id + || data.acx || data.acc + // TODO app_name in oauth3.json "AJ on Facebook" + , comment: data.sub || data.com || + ( + (username && (username + ' via ') || '') + + (providerUri) + ) + , loginType: ('password' === data.grt || username) ? 'localaccount' : null + , providerUri: providerUri + }; + + return Oauth3.PromiseA.resolve(login); + }; + + TLogins.requireLogin = function (conf, opts) { + return restore(conf).then(function (session) { + return session; + }, function (/*err*/) { + + return conf.config.invokeLogin(opts); + }); + }; + + TLogins.create = function (conf, username, type, secret, kdf, mfa) { + // secret is optional (for server-side requirement checking) + // kdf is mandatory ( + return Oauth3.request({ + url: conf.config.apiBaseUri + '/api' + + '/org.oauth3.provider' + + '/logins/' + , method: 'POST' + , data: { + id: username + , type: type + , secret: secret + , kdf: kdf + , mfa: mfa + } + }); + }; + + TLogins.softTestUsername = function (conf, username) { + if ('string' !== typeof username) { + throw new Error("[Developer Error] username should be a string"); + } + + /* + if (!/^[0-9a-z\.\-_]+$/i.test(username)) { + // TODO validate this is true on the server + return new Error("Only alphanumeric characters, '-', '_', and '.' are allowed in usernames."); + } + */ + + if (!/^[^@]+@[^\.]+\.[^\.]+$/i.test(username)) { + // TODO validate this is true on the server + return new Error("You must use an email address."); + } + + if (username.length < conf.usernameMinLength) { + // TODO validate this is true on the server + return new Error('Username too short. Use at least ' + + conf.usernameMinLength + ' characters.'); + } + + return true; + }; + + TLogins.getMeta = function (conf, username) { + // TODO support username as type + var type = null; + + // TODO update backend to /api/promoonlyonline/username/:username? + return Oauth3.request({ + url: conf.config.apiBaseUri + '/api' + + '/org.oauth3.provider' + + '/logins/meta/' + type + '/' + username + , method: 'GET' + }).then(function (resp) { + if (!resp.data.kdf) { + return Oauth3.PromiseA.reject(new Error("metadata for username does not exist")); + } + + return resp.data; + }, function (err) { + if (/does not exist/.test(err.message)) { + return Oauth3.PromiseA.reject(err); + } + + throw err; + }); + }; + + TLogins.meta = function (conf, username, type) { + // TODO support username as type + + // TODO update backend to /api/promoonlyonline/username/:username? + return Oauth3.request({ + url: conf.config.apiBaseUri + '/api' + + '/org.oauth3.provider' + + '/logins/meta/' + type + '/' + username + , method: 'GET' + }).then(function (resp) { + // TODO better check + if (!resp.data.salt) { + return Oauth3.PromiseA.reject(new Error("data for username does not exist")); + } + + return resp.data; + }, function (err) { + if (/does not exist/.test(err.message)) { + return Oauth3.PromiseA.reject(err); + } + + throw err; + }); + }; + + TLogins.hardTestUsername = function (conf, username) { + // TODO support username as type + var type = null; + + // TODO update backend to /api/promoonlyonline/username/:username? + return Oauth3.request({ + url: conf.config.apiBaseUri + '/api' + + '/org.oauth3.provider' + + '/logins/check/' + type + '/' + username + , method: 'GET' + }).then(function (result) { + if (!result.data.exists) { + return Oauth3.PromiseA.reject(new Error("username does not exist")); + } + }, function (err) { + if (/does not exist/.test(err.message)) { + return Oauth3.PromiseA.reject(err); + } + + throw err; + }); + }; + + TAccounts.getId = function (o, p) { + // object + if (!o) { + return null; + } + // prefix + if (!p) { + return o.appScopedId || o.app_scoped_id || o.id || null; + } else { + return o[p + 'AppScopedId'] || o[p + '_app_scoped_id'] || o[p + 'Id'] || o[p + '_id'] || null; + } + }; + + TAccounts.realCreateAccount = function (conf, login) { + return Oauth3.request({ + url: conf.config.apiBaseUri + '/api' + + '/org.oauth3.provider' + + '/accounts' + , method: 'POST' + , data: { account: {} + , logins: [{ + // TODO make appScopedIds even for root app + id: login.appScopedId || login.app_scoped_id || login.loginId || login.login_id || login.id + , token: login.token || login.accessToken || login.accessToken + }] + } + , headers: { + Authorization: 'Bearer ' + login.token + } + }).then(function (resp) { + return resp.data; + }, function (err) { + return Oauth3.PromiseA.reject(err); + }); + }; + + // TODO move to LocalApiLogin ? + TAccounts.attachLoginToAccount = function (conf, account, newLogin) { + var url = conf.config.apiBaseUri + '/api' + + '/org.oauth3.provider' + + '/accounts/' + account.appScopedId + '/logins'; + var token = TherapySession.api.getToken(conf, account); + + return Oauth3.request({ + url: url + , method: 'POST' + , data: { logins: [{ + id: newLogin.appScopedId || newLogin.app_scoped_id || newLogin.loginId || newLogin.login_id || newLogin.id + , token: newLogin.token || newLogin.accessToken || newLogin.access_token + }] } + , headers: { 'Authorization': 'Bearer ' + token } + }).then(function (resp) { + if (!resp.data) { + return Oauth3.PromiseA.reject(new Error("no response when linking login to account")); + } + if (resp.data.error) { + return Oauth3.PromiseA.reject(resp.data.error); + } + + // return nothing + }, function (err) { + console.error('[Error] failed to attach login to account'); + console.warn(err.message); + console.warn(err.stack); + return Oauth3.PromiseA.reject(err); + }); + }; + + TAccounts.requireAccountHelper = function (conf) { + var session = conf.session; + var promise; + var locallogins; + var err; + + if (session.accounts.length) { + return Oauth3.PromiseA.resolve(session); + } + + if (!session.logins.length) { + console.error("doesn't have any logins"); + return Oauth3.PromiseA.reject(new Error("[Developer Error] do not call requireAccount when you have not called requireLogin.")); + } + + locallogins = session.logins.filter(function (login) { + return 'localaccount' === login.loginType; + }); + + if (!locallogins.length) { + console.error("no local accounts"); + err = new Error("Login with your Local Account at least once before linking other accounts."); + err.code = "E_NO_LOCAL_ACCOUNT"; + return Oauth3.PromiseA.reject(err); + } + + // at this point we have a valid locallogin, but still no localaccount + promise = Oauth3.PromiseA.resolve(); + + locallogins.forEach(function (login) { + promise = promise.then(function () { + return TAccounts.realCreateAccount(conf, login).then(function (account) { + login.accounts.push(account); + return save(conf, { login: login, accounts: login.accounts }); + }); + }); + }); + + return promise.then(function (session) { + return session; + }); + }; + + TAccounts.requireAccount = function (conf) { + return TAccounts.requireAccountHelper(conf).then(function () { + return api.handleOrphanLogins(conf); + }); + }; + + // TODO move to LocalApiAccount ? + TAccounts.cloneAccount = function (conf, account) { + // retrieve the most fresh token of all associated logins + var token = TherapySession.api.getToken(conf, account); + var id = TAccounts.getId(account); + // We don't want to modify the original object and end up + // with potentially whole stakes in the local storage session key + account = JSON.parse(JSON.stringify(account)); + + account.token = token; + account.accountId = account.accountId || account.appScopedId || id; + account.appScopedId = account.appScopedId || id; + + return account; + }; + + // TODO check for account and account create if not exists in requireSession + // TODO move to LocalApiAccount ? + TAccounts.selectAccount = function (conf, accountId) { + var session = conf.session; + // needs to return the account with a valid login + var account; + if (!accountId) { + accountId = session.accountId; + } + + if (!session.accounts.some(function (a) { + if (!accountId || accountId === TAccounts.getId(a)) { + account = a; + return true; + } + })) { + account = session.accounts[0]; + } + + if (!account) { + console.error("Developer Error: require session before selecting an account"); + console.error(session); + throw new Error("Developer Error: require session before selecting an account"); + } + + account = TAccounts.cloneAccount(conf, account); + session.accountId = account.accountId; + session.id = account.accountId; + session.appScopedId = account.accountId; + session.token = account.token; + + // XXX really? + conf.account = account; + return account; + }; + + InternalApi = { + accounts: accounts + , login: login + , getToken: getToken + }; + + api = { + save: save + , restore: restore + , checkSession: restore + , destroy: destroy + , require: requireSession + , accounts: accounts + , requireSession: requireSession + , getToken: getToken + , addAccountsToSession: addAccountsToSession + , pruneAccountsFromSession: pruneAccountsFromSession + , refreshCurrentAccount: refreshCurrentAccount + , updateSession: updateSession + , sanityCheckAccounts: sanityCheckAccounts + , handleOrphanLogins: handleOrphanLogins + , validateUsername: TLogins.softTestUsername + , checkUsername: TLogins.hardTestUsername + , getMeta: TLogins.meta + , createLogin: TLogins.create + , login: login + // this is intended for the resourceOwnerPassword strategy + , backgroundLogin: backgroundLogin + , logout: logout + , onLogin: onLogin + , onLogout: onLogout + , requireAccount: TAccounts.requireAccount + , selectAccount: TAccounts.selectAccount // TODO nix this 'un + , account: TAccounts.selectAccount + , testLoginAccounts: testLoginAccounts + , cloneAccount: TAccounts.cloneAccount + //, getId: TAccounts.getId + }; + + TherapySession = { + create: create + , api: api + , getId: TAccounts.getId + }; + + // XXX + // These are underscore prefixed because they aren't official API yet + // I need more time to figure out the proper separation + TherapySession._logins = TLogins; + TherapySession._accounts = TAccounts; + + exports.TherapySession = TherapySession.TherapySession = TherapySession; + + if ('undefined' !== typeof module) { + module.exports = TherapySession; + } +}('undefined' !== typeof exports ? exports : window)); diff --git a/favicon.ico b/favicon.ico new file mode 100755 index 0000000000000000000000000000000000000000..20d61131971fd471dd9448420a8b2782706de5e6 GIT binary patch literal 1150 zcma)5NmCO+6mHg_9H2aS$i?NN-t?v?e?k6&XK(xksgf! z0;a*k4I$93^)^tiEf*mK0`$~MRR@cu-Nds}z*8Y1K|ISvwwZF*N)?CnNN;P&JttIV z?QARS#2-9ocq&k)%bQ`QX5P|RdX$EvK|JX%;0ezeOJtnV%Q2A|#FJ?^KPu$>L&x#?>X@dZEXK87tYGp_4{Gy2wJPfP+54cC>er=bT%u7w!cY z=yYTVv21z-2fP9=_=K^S8|?%4f92shXU-RhX_;Xh@(L0O6<9hRgy&z8GhDXhJA$u+ zCZpqIB~YNLm`q_59b$ky^a)OJqvx?Vd!Mey!+y0hujH>OWXGI&V$ z<1Qng8)12EnC_|LI2rf?T9xLaPHr0Z+OKLo+nQ4dF6$n%bmSn~x*I2aMXV|U!>581 y-XhV~Ce4$4R&<)ZA{2h-0ty*f*GdS4D$n0-2R(6{D%MlDnRu=v;uel>;WbK*Z&wwfaZUU>whse|7Q&dzyV+a zu>aRt03ZO{eexJqtnMct)u@3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G_90{pfq7D4I*$k?byOV zR|epi%oIJ{ou`5zS!-_dnxOa{uNv)(luMo^5TCOItq}2}sxCztLEzBGS)Mf6dzaw< z!GweAgvFYJu&mH(Vl9HJBV%=Jz~~i%nDGIF9ncTET-AQ=fv{L11&K_;ei!iht(!De;ym|y7ksL|^5Ko~B-vSh80++s?unD}bZaYa@ zPH4M$&fw;xEGN3_H1vHW><%-+dg7dfW)F8$bB+h7sThoOtteO(v{&-+iK}r$%G))# z*Nhx^!ZMj1VeG?EkWg+0CYQSX1t96fV9^3c+9C393LU&CHsFCa1q99$`zTMsEWwLc zxsw1|A?k8-m8HCrk6;K7dhNDJN3R9iws%6vTq_}PtR2CZ8TG;ltZ4I}sU+^s8`P3F5QxrypG1-{ zGlr^7$Wsy(lo=xfC~BpKfg<2z4OEeEF@~x{Pi7O#CvqMJy+f+}=CB_$&IuEslB@s# J000000038FvZ??8 literal 0 HcmV?d00001 diff --git a/fonts/fontawesome-webfont.svg b/fonts/fontawesome-webfont.svg new file mode 100644 index 0000000..1ee89d4 --- /dev/null +++ b/fonts/fontawesome-webfont.svg @@ -0,0 +1,565 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/fonts/fontawesome-webfont.ttf b/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000000000000000000000000000000000000..ed9372f8ea0fbaa04f42630a48887e4b38945345 GIT binary patch literal 122092 zcmd4434B!5**|{Ix!dgfl1wJaOfpLr43K1!03i%vhk$H~0%AZ>1W{BF#BEfHg1Dg~ zwN;~5E8SkZ*k5bKH{JB@BDJlxn{VIPR@=8#3)a_G$lUzD&$%7=1)JAy`JUYOIplAXB>t_7*Iu<{Xb3e)N)PT^F23}di`1q$X6@od}71qtve>K^LHZuNj(0UOE14*ZP}4s-;vnA z&qW=pH?Q5Xg&*KiiGBN1C?C6Q?dJ8(SMPcS`R_=QoZE8wRa^ga_4FwcdvT^D1s~qN ze%(cx%a(srVz2!k~2Yw6lI@+5s`MAXMPnb-Ae^d_ixKJS6(G$rP%+V0YfOHiC3A2!ZR_E!?@AdN$4M4 zXU`!=si>r|KAbN^Evl4|Vp5-UNcw{G73l@(7cpCGeC+&qO-)rzZ*uUc>uA-{uA_^N zt~q+y(HoB5dGz6|jbpB3RmYl+bsbxDY|XLDj@@wV&SMWB`@*s3 zj~zMon`7@BGv0N*TlH?&|45iaNxbE$;kQVm-Xb0K9E~5%9$kF2_vn_RxubUhDn z{ch;Oq4S2$9a=s#W2kw+{$GFiudn^){r^1ipU?iP+7tCuc*;Fxp0Fq633>t^zsKkC zdK8cB;U4CZ+(T}|op%qqPq>e}KXCuu{Wtgf?*DPW=l-kvUH38fQTJcmZ#!uQ|DXJ0 zfUV-I7{@E=SNab(X=?xf@K4vuENaARD?e>x2%pMNk}gT@ac^Aq z#=Qfq-^gy^eOuJn@hzHkT)d+=Y$7v}hVi^1Nqbz)NtMV1bmomWhXPt{ye8G!))M!! zRHn6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Su?ry8j2p&Q&b{ literal 0 HcmV?d00001 diff --git a/fonts/fontawesome-webfont.woff b/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000000000000000000000000000000000000..8b280b98fa2fa261aa4b0f8fd061f772073ef83e GIT binary patch literal 71508 zcmZ5nV|4D$*R5?Ex4gZzZQRDW*e6!Y`lf83hk~Nu?WKPbw z$cl;r0RsU60b?owA^c}IF8;@VcK`n-Dyk&?;~@N_0s@oxffm+O;DEKhs~r$9)PHpee?SD11cGOyZ*Bae z4g6eR%Fp?I83BO{cD9aAK)^6sKtOOeKtSkOn_2=~F2)8XKYb?}eDah2Y!_cIIg6f>yjDm`nA8I88jTK`Etu#QEh}Z80tget%U_elKV2rT2HKk-F?ythpkmrA%jOJ?v$L#hV~Mgd5*Wf!EI$l(g+8dJ zU2TXWntYJ^!9UE;oD|7;mOmz|)Ttu%a+j4_$_V4ng~@ZXg9TC}EyASK`Ha8%8A$^e zi9S&hSfNA727+-vhN?gMrauOvKYE_Ej=8#wqkG5LJU7|qI}Wy!7X@e%&~M0YcxF5= zeM+XH>{Q>?Tx1W1g>O_nwt>lya{e0?Klk%zEP}YMb$CI0DlIO)v_E$lKc%wSHc64k zr%t4S#nD?rsR!4@`&xm37zoRQVJaaF1j+w~*@FmEDi^I(YV!ireya@Hww*4ESZG?X zeSZ!&HGP&fc~|mj65rqPJ$I#!l9J|qer*#nUT=EwJa0Kp@f>p_IBIf4tq8l?p$r=b zIK+$yxIv*WY^ZRzC_`neQ8^T|zaiQye;3JrzmjCU6vP~#_3X#Q;7PUM8BneuNgKxr zV2jL`+9be{fBf~VYjuSjbIX^%w#(v`uW}W0WWU0=yK+@a!Sz4+g()qv8*S%m>NuiZ zKEGJUnTvpMW(E;`QL___k#ROO8mNge(Z1lLlX1np{a0^(gvD zYFanA9@KN%JFsU`T<>-}coVjp<`TwK20AkSC=R;!0zjx|J;;Se!3?ZgZvpxwKCuvj z>m|V(Wc47&+tCJ4zy*X)mlKw_loJv`YYP>8DUn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+eblC%*=VfDjk2 s5Dz~y_=AIE->Yx(e?7q7(fpm|hyVKl-{}1uzylx(GAggjrHq6A1BFR+egFUf literal 0 HcmV?d00001 diff --git a/images/app-icon-64px.png b/images/app-icon-64px.png new file mode 100644 index 0000000000000000000000000000000000000000..2c89800887c1dbdf24f744360ab40f16c58d5595 GIT binary patch literal 3596 zcmYLMc|26@`#v!k`-Ehf#*#D`j4e#4ku~9^j4kVAeK8no#URRzD9cNju`e0nl{HI3 zrXqxt7on7qFeF>H@9FdV<9E(;&i#3wbMEtep8LA5>)a3dFDp}i9tj=*0Qk+#jBG)B z@y`Y21n+dekQvZGe6W^S0H}Y!yYImP_NDP=ww3^JQyu`~5&_^hI25-C0O4o=SaJsd z%p(9e8BA@n(E}fFdRmwo0Y`t%qRz@paF)~NM%ZgnlPk_HSK#*9hpRP9^uzcdyo4EE zV)>k<_66>DapW4KJ$J8C9gP&NT)9kNl$TrNJ{mE2zo9z)gVUg|6t17)z2)JfF_~Mx z@lgCM;?>Aq={g~292@84L{RLhfHlEJOML8=F_PW(D!b)~W$#7yR2mI#BNRgz?_}N% zA9}{5-s0WKeqP??FZ&}pnV5FkG!1%dYk9;OCF+>%Wg}voPP7uo|BxWo7%6;9gjFCZ zLS&l+ok~n1BE0VpA}Q(;sU~}Oy4_#h;S%g1bgcW&Esl_StVzEcQjY~M zPpEZlesFFLnKuav30W6Ji4Mrz>0WC@QcMh?AMQlSCldvRbUo`G&~Smhii(QEVCE1_ zkUBIZCJ17d?4nOi}aysgEM~m<#6y36gSj!ng zA=rmE997hFuaNQshiad(x@Pwl@(I5;p5XR}D+_B+#Vss&!wqhWxz=qHmLv8E%2TLY z9N5>5{sak|%N%!R<}}6lhWP~qwluZ0QXOh=x7+xj3IO~i5 ze|9~!&Lk1``YBa)AoP-(o11e?%z=ZsIk%IOQ%1Mb@1j@pST{F9?V$IbS42d_w|UVU zrCBtZi(kWkvHwj?B9psP&>OL165U)>8xCn8yPC|P|hz$8XBpO zur>_|Q8P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kP!sNryvug@r6NiB$d!xn~?$WEq>*Rl}18`NCiR2@FO^QQuY?C$huk{1|-)uao$+ zViOfyTTZX%#i}zB?_Bye$Ad@ph~?w#!ch{bTf>8cE(j^9ZA8r8%8O#DLzw9Ugo|Bs zI7ugZXU(Jd`E!Hsz2*$DZ+f&-j9+9}k3#w6y-W>_vGiIM!p=*wFdchN8gAKj@uzZ( z1*z{BiAjGYdGI{yCb)q*6K3oXcEcmg3xf~!0u7*!R?}2gLo1_ouc@nHG<7j*y2@y6 z3>v+EMfT5b?f)GD2{-(_qyNtVt){GY?wZ;;jJhrceNGvz13GjbLcW3yfVr`iQLUkS G!v6rP50U}^ literal 0 HcmV?d00001 diff --git a/images/avatar-128px.png b/images/avatar-128px.png new file mode 100644 index 0000000000000000000000000000000000000000..4d7792b4020cf0df3821c51a262f8332cb3acd49 GIT binary patch literal 1306 zcmV+#1?BpQP)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00002 zVoOIv0RM-N%)bBt1T{%SK~#9!?V5{rqA(DK`~J@rK!mEbYA;9EYjs<#N-x$6lC^8Q zbtRC0#&CLi4&MVXA4wpSnVebQ%vmmw3*-X1KrWCAbnX(WF0>XQU zfcR2AT@VZi0`3D8e#bLm3~+(M5PSc3W|Kz@4T%fL9|A%bbrUkr!5?{(? z6`TZApo=enJri&eFac3n5aY}6#-xBfqQ;jpD4G)xr8m03_6k}B*a&p!@ueI?+Y%(; z&N%|B3Ni$UfVkXn1fpNY1Xwcw&H*CeOn3rsz99jR{1ey{)_^$x1Vm-c6Ns9I1g1a`z9A<*RtObksyiz{$%Xc69UKf{6k;gCR; zwHNI`b|d6h>@Ruo!-gS&!i*=dESZ@C%j)w4rbuE8z-+3UGM0Z}IpK?I(U!NV#2YzCgpPytaUCZ^#v_F%j~ z(WLzghG@AE7H~+DFh`CAGy%(-;_(+~eS}n|D?g#}mks=>ltSgjGZ-H%j!*@5pTZ1@ z|4Mj&VzFBI_uA|%npY{0Bv#9Xwp<<#@ggZhU`KVFk|Az`Yht^AEFhd(O3Cu|irh9L z3KVZAtCXW^w3^(4djLzI*bKCba2qs93b=r9f$$#+ZU+4VyEcUnNZV-*IFykDgf}3i zBtGVzA)kX@K=@;3kt!Mkzh$j}C=n8o zW2PmofmWbQY!>}bplxRB1WK$*{TFlH5nUtTpD_L(v*4d1;Eqp?FXhWu&R??-P?t_s0-|a3AMlB~m8=pdoSX)!Q8q9X0{kYGhK;It zry2ovr&LD|8v)noHgrhfA_B}SD+sD4jzWOlt=H2*1f0k01Rfngz-L_BLQ&kSi3xC< zgb<2mZd`zUTL7V}7qIWM6o}s_hzYoGSAfHls}m5V3{rtFR)6{($Pakx<%+1sEMQzyWMpxP%w5TS2HhY1YEE+$L0C>NAL&Y zROi`c4bGYX001R)MObuXVRU6WV{&C-bY%cCFflYOF)%GKIaD$+IyE#pF*GeOH##sd zsp}VR0000bbVXQnWMOn=I&E)cX=ZrmIxsdZFgQ9eFk0lS QWB>pF07*qoM6N<$f>wwb6951J literal 0 HcmV?d00001 diff --git a/images/avatar-256px.png b/images/avatar-256px.png new file mode 100644 index 0000000000000000000000000000000000000000..900033ac0e674f78015eacd16ac87ef6a60e12c2 GIT binary patch literal 3045 zcmcImdpJ~U7k~GjEgMsYWada`#x+T7zuVast8p^_vq97TPSYI18dzU?{B_s{po_uuzC`+4_TYrpGV@4MFf`>lP>$3&snb~5j{FgDq{5W-2 z`p!OX1^35-P&}Ap%`J{}q0x3+d&=Sm=?#d3oTuJg$-gTz^i!9|q)ks>zI)9~*MYBs zG$u#l2?$%sH3Xml&;VcofB}G$0m;}f00{VhefVGTZns`T-W7XPa4TGw_lA~`Ldnhx z+!A$l^~&+BV&Oq|?X8*Z=}ia%?gx&0R%GAqpP(0f?N@%-)D)wtsv0@D?5`1{5g5h;3Z{1`O-vN? z0#2p-@wn(JI7A(fT<*S03R_k&i(b# z5*jw=DQWV?)Fg?4wQEzXEjl|p88Qs0t?z4NlsLO%LH=Il+M}1bHGRbll)w85C-uOG zkWES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w42@_!6E1bVZ;gSWq|;lw_T5X2~Y=4V!-f_v2nJjn3$-{{rjPiK74j literal 0 HcmV?d00001 diff --git a/images/daplie-logo-circle.png b/images/daplie-logo-circle.png new file mode 100644 index 0000000000000000000000000000000000000000..0aba61f6587b5098e8e9f94c696eaea72bfbc6f1 GIT binary patch literal 19763 zcmZ^~1C;Jivo_eaPTRI^+qP}C%JHkA_OD4jB;r z-sOPYy!vr*Q?D!sCCwAI)!_5Rf3ONjspP3cB-|DMxTo3^+J4|Y#G@yV&@=+19nlW4 z;1VEms$5bUr$v{nwNf9F4gY0f`mlw2!VPLAQJ}lT?wa;ea=*zkTGZ@PQ2d!=b70qg z@Orp-JSC4m?2cd2_ZVA7@~^Y$lp1Cr={tSLBKJpo=pEH1iv=(UK4xZlmkfSPaG+nQ z+!5|Zc38iMRx0*c&ZLlc*g1R7@>hlB*mQA3@dac2+N)X;PCO$KOf`3@F^KTKifx?l zXS}78J=OL@zbYoXm2li!8l8&pM)E)3yab!m(kwIAKlu)&i8DZOL0YA2Rz2pA6zwe- z6}(+5AMK#y+CL(4)?wCTi9;3sPBMXLj_6E$vKOfh$-&9Wo^la5=5M7goLjD|N;B)l z6ZOH2BV#Qv9D=*$)@%S~u1E-n>%((YQUL{(O;KD{PQi>UH$pJG@jM9_avIKnuUX4v z6StZ>_;nkCo9&7cdOdbVNR=dFnh_HqyG!bjI7Aw~_{-UGsSP)J&Uk0z`H7!(p5_QI zc)BxB+yM2i#(QzT-v9Xx-R3JX$BHH&068#((2@cA@L5m)w}IxdQJB8RyZP!8S(dl5 zzjCYcWf|tSy0SGQ@sqDLtY1yi#NIq%ftO!AAsl0hP=CnG$7kO02h`I&rk%`qhIRt6+{axu@{$2ka%k&`0QR`i*gV={e zHzs%G=*;BlI@n8Rg;}m!Uxl$WrbWj~YEqg(vR-mzJb#%EUdm(^l1-*^BH4Ti-UN>6?ESQvEZv! zay8uJusI)Cm$QIlJM?~5fz%K9-umn9!Cw!nC)=Ja8}YvH@*T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kv;xTD^XN$F?NPk;B3aYzS+BV4wZMz13jj6#^9}rUc!s3J z0ackXS5Pw-I8h8Ff5?x*#m`#NnYCiKA}DueC&Q-*KxUd zt4&ncP2BoA_YhEPu18P+AkDzvOY^%E&nb;lbo7gZ{lnBPR6m}Fj%xa1r+llkj>{45 z>sctD!dIWi@vDwIIlmV_qel?AR*1b*fQmvEEdPN@-Nv!Ambo~XZf~Heeij3CcX?Nb zv1dbqGny`%llSK>hMJQb*2%-f#^C<{MCfHhfc?LIG2S?pLYEMc-?D| z3dWGizJR|FKMBulEz9Do+^#}?)x*kZcR=Yud@mdYF!ipZkqNVQZpajW1^z+&jQ~ya zMEaHMm%!Uy4Fi&aG=~?VqB)iGX@nV%XHd-=VQ_VDzzp}*qW~vPHZ30~)s1ZPz!sO@ zrFNS=+3qzHek;#b + + + + + + + + + + Daplie Connect - Sign on to the Web + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+
+

Sign on to the Web!

+

A single-puprose sign-in to share an identity without being tied to a social network.

+ + +
+ +
+
+
+
+ + + + +
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+

Sorry, we don't have any apps for that yet.

+ Are you a developer? Would you like to create one? +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/oauth3.html b/oauth3.html new file mode 100644 index 0000000..8a6360c --- /dev/null +++ b/oauth3.html @@ -0,0 +1,9 @@ + + + + + + +

Redirecting...

+ + diff --git a/oauth3.js b/oauth3.js new file mode 100644 index 0000000..f2fba71 --- /dev/null +++ b/oauth3.js @@ -0,0 +1,326 @@ +(function () { + 'use strict'; + + console.log('[DAPLIE oauth3.js]'); + console.log(window.location); + + var iter = 0; + + function main() { + + var rpc = {}; + //var myself = location.protocol + '//' + location.host + location.pathname; + var incoming; + var forwarding = {}; + var anchor; + var err; + var browserState; + var browserCallback; + var action; + + function parseParams() { + var params = {}; + + function parseParamsString(str) { + str.substr(1).split('&').filter(function (el) { return el; }).forEach(function (pair) { + pair = pair.split('='); + var key = decodeURIComponent(pair[0]); + var val = decodeURIComponent(pair[1]); + + if (params[key]) { + console.warn("overwriting key '" + key + "' '" + params[key] + "'"); + } + params[key] = val; + }); + } + + anchor = document.createElement('a'); + anchor.href = window.location.href; + + parseParamsString(anchor.search); + parseParamsString(anchor.hash); + + return params; + } + + function querystringify(params) { + var arr = []; + + Object.keys(params).forEach(function (k) { + arr.push(encodeURIComponent(k) + '=' + encodeURIComponent(params[k])); + }); + + return arr.join('&'); + } + + function phoneAway(/*redirectURi, params*/) { + // TODO test for ? / # + window.location.href = incoming.redirect_uri + '#' + querystringify(forwarding); + } + + function lintAndSetRedirectable(browserState, params) { + if (!params.redirect_uri) { + window.alert('redirect_uri not defined'); + err = new Error('redirect_uri not defined'); + console.error(err.message); + console.warn(err.stack); + params.redirect_uri = document.referer; + return false; + } + + if (!browserState) { + forwarding.error = "E_NO_BROWSER_STATE"; + forwarding.error_description = "you must specify a state parameter"; + return false; + } + + localStorage.setItem('oauth3.states.' + browserState, JSON.stringify(params)); + return true; + } + + function redirectCallback() { + var redirect_uri = incoming.redirect_uri; + forwarding.callback = browserState; + forwarding.action = 'close'; + + var url = redirect_uri + '#' + querystringify(forwarding); + + console.log('[debug] redirect_uri + params:', url); + window.location.href = url; + setTimeout(function () { + if (iter >= 3) { + console.log("dancing way too much... stopping now"); + return; + } + iter += 1; + console.log("I'm dancing by myse-e-elf"); + // in case I'm redirecting to myself + main(); + }, 0); + } + + rpc = {}; + + // Act as a provider and log the user out + rpc.logout = function (browserState, incoming) { + var url; + if (!lintAndSetRedirectable(browserState, incoming)) { + // TODO fail + } + + localStorage.setItem('oauth3.states.' + browserState, JSON.stringify(incoming)); + url = '/#/logout/' + browserState; + + // TODO specify specific account or all? + window.location.href = url; + setTimeout(function () { + // in case I'm redirecting to myself + main(); + }, 0); + }; + + // Act as a provider and inform the consumer the logout is complete + rpc.logout_callback = function (browserState/*, incoming*/) { + // TODO pass redirect_uri and state through here so we can avoid localStorage + var forwarding = {}; + var originalRequest; + + if (!browserState) { + forwarding.error = "E_NO_BROWSER_STATE"; + forwarding.error_description = "you must specify a state parameter"; + if (incoming.redirect_uri) { + phoneAway(incoming.redirect_uri, forwarding); + } + return; + } + + originalRequest = JSON.parse(localStorage.getItem('oauth3.states.' + browserState)); + forwarding.action = 'close'; + forwarding.state = browserState; + //phoneAway(originalRequest.redirect_uri, forwarding); + window.location.href = originalRequest.redirect_uri + '#' + querystringify(forwarding); + }; + + rpc.directives = function (browserState, incoming) { + if (!lintAndSetRedirectable(browserState, incoming)) { + phoneAway(); + return; + } + + var updatedAt = new Date(localStorage.getItem('oauth3.directives.updated_at')).valueOf(); + var fresh = (Date.now() - updatedAt) < (24 * 60 * 60 * 1000); + var directives = localStorage.getItem('oauth3.directives'); + var redirected = false; + + function redirectIf() { + if (redirected) { + return; + } + + redirected = true; + redirectCallback(); + } + + if (directives) { + forwarding.directives = directives; + redirectIf(); + if (fresh) { + return; + } + } + + var req = new XMLHttpRequest(); + req.open('GET', 'oauth3.json', true); + req.addEventListener('readystatechange', function () { + if (4 !== req.readyState) { + return; + } + + if (200 !== req.status) { + forwarding.error = "E_STATUS_" + req.status; + forwarding.error_description = "expected 200 OK json or text response for oauth3.json but got '" + req.status + "'"; + redirectIf(); + return; + } + + try { + directives = btoa(JSON.stringify(JSON.parse(req.responseText))); + forwarding.directives = directives; + forwarding.callback = browserState; + localStorage.setItem('oauth3.directives', directives); + localStorage.setItem('oauth3.directives.updated_at', new Date().toISOString()); + } catch(e) { + forwarding.error = "E_PARSE_JSON"; + forwarding.error_description = e.message; + console.error(forwarding.error); + console.error(forwarding.error_description); + console.error(req.responseText); + } + + redirectIf(); + }); + req.send(); + }; + + // the provider is contacting me + rpc.close = function (browserState, incoming) { + incoming.callback = browserState; + catchAll(); + }; + // the provider is contacting me + rpc.redirect = function (/*browserState, incoming*/) { + catchAll(); + }; + + function catchAll() { + function phoneHome() { + if (browserCallback === 'completeLogin') { + // Deprecated + (window.opener||window.parent).completeLogin(null, null, incoming); + } else { + console.log('I would be closed by my parent now'); + (window.opener||window.parent)['__oauth3_' + browserCallback](incoming); + } + } + + if (!(incoming.browser_state || incoming.state)) { + window.alert("callback URLs should include 'browser_state' (authorization code)" + + " or 'state' (implicit grant))"); + } + + setTimeout(function () { + // opener is for popup window, new tab + // parent is for iframe + phoneHome(); + }, 10); + + // iOS Webview (namely Chrome) workaround + setTimeout(function () { + console.log('I would close now'); + window.open('', '_self', ''); + window.close(); + }, 50); + + setTimeout(function () { + var i; + var len = localStorage.length; + var key; + var json; + var fresh; + + for (i = 0; i < len; i += 1) { + key = localStorage.key(i); + // TODO check updatedAt + if (/^oauth3\./.test(key)) { + try { + json = localStorage.getItem(key); + if (json) { + json = JSON.parse(json); + } + } catch (e) { + // ignore + json = null; + } + + fresh = json && (Date.now() - json.updatedAt < (5 * 60 * 1000)); + + if (!fresh) { + localStorage.removeItem(key); + } + } + } + forwarding.updatedAt = Date.now(); + localStorage.setItem('oauth3.' + (forwarding.browser_state || forwarding.state), JSON.stringify(forwarding)); + }, 0); + + } + + function parseAction(params) { + if (params.action) { + return params.action; + } + + if (params.close) { + return 'close'; + } + if (params.logout_callback) { + return 'logout_callback'; + } + if (params.logout) { + return 'logout'; + } + if (params.callback) { + return 'close'; + } + if (params.directives) { + return 'directives'; + } + + return 'redirect'; + } + + incoming = parseParams(); + browserState = incoming.browser_state || incoming.state; + action = parseAction(incoming); + forwarding.url = window.location.href; + forwarding.browser_state = browserState; + forwarding.state = browserState; + + if (!incoming.provider_uri) { + browserCallback = incoming.callback || browserState; + } else { + // deprecated + browserCallback = 'completeLogin'; + } + + console.log('[debug]', action, incoming); + + if (rpc[action]) { + rpc[action](browserState, incoming); + } else { + window.alert('unsupported action'); + } + } + + main(); +}()); diff --git a/oauth3.json b/oauth3.json new file mode 100644 index 0000000..a4cdde2 --- /dev/null +++ b/oauth3.json @@ -0,0 +1,22 @@ +{ "[DEBUG] source uri": "com.daplie.connect" +, "authorization_dialog": { + "method": "GET" + , "url": "https://hellabit.com/#/authorization_dialog/" + , "XurlX2": "https://daplie.com/connect/#/authorization_dialog/" + , "XurlX": "https://oauth3.org/api/oauth3/authorization_dialog" + , "XtodoX": "hmmm... should this be dynamically generated? it must change per app, right?" + } +, "access_token": { + "method": "POST" + , "url": "https://oauth3.org/api/org.oauth3.provider/access_token" + } +, "accounts": { + "method": "GET" + , "url": "https://oauth3.org/api/org.oauth3.provider/accounts" + } +, "profile": { + "method": "GET" + , "url": "https://oauth3.org/api/org.oauth3.accounts/:account_id/me" + } +, "authn_scope": "oauth3_authn" +} diff --git a/scripts/client-config.js b/scripts/client-config.js new file mode 100644 index 0000000..8a33721 --- /dev/null +++ b/scripts/client-config.js @@ -0,0 +1,52 @@ +window.StClientConfig = { + "webhookPrefix": "/webhooks" +, "snakeApi": true +, "superUserApi": "/api/superuser" +, "adminApi": "/api/admin" +, "userApi": "/api/user" +, "publicApi": "/api/public" +, "loginConfig": { + "usernameMinLen": 4 + , "secretMinLen": 8 + } +, "testProfiles": [ + { "role": "superuser" + , "token": "xxxxxxxx-test-xxxx-xxxx-root-xxxxxx" + } + , { "role": "admin" + , "token": "xxxxxxxx-test-xxxx-xxxx-admin-xxxxxx" + } + , { "role": "user" + , "token": "xxxxxxxx-test-xxxx-xxxx-user-xxxxxxx" + } + , { "role": "guest" + , "token": "xxxxxxxx-test-xxxx-xxxx-guest-xxxxxx" + } + ] +, "useSplash": false +, "stripe": { + "publicKey": "pk_test_hwX1wzG4OMEv9esujApHjxI7" + , "storeName": "Business Name Here" + , "storeLogo": null + } +, "loginProviders": { + "facebook": "/facebook/connect" + , "google": "/google/connect" + , "twitter": "/twitter/authn/connect" + , "tumblr": "/tumblr/connect" + , "ldsconnect": "/ldsconnect/connect" + , "loopback": "/loopback/connect" + } +, "oauth2": [ + { "provider": "loopback" + , "id": "pub_test_key_1" + , "explicitUrl": "/loopback/connect" + , "authorizeUrl": "https://local.daplie.com:4443/oauth/dialog/authorize" + , "redirectUrl": "https://local.foobar3000.com:4443/loopback-close.html" + } + ] +, "facebook": { + "appId": 1567954453472218 + } +, "googleAnalyticsUa": 'UA-61342537-1' +}; diff --git a/scripts/client-config.production.js b/scripts/client-config.production.js new file mode 100644 index 0000000..3e290f1 --- /dev/null +++ b/scripts/client-config.production.js @@ -0,0 +1,65 @@ +var baseUrl = localStorage.getItem('baseUrl'); + +if (!baseUrl) { + baseUrl = window.location.protocol + '//' + window.location.host.replace('ldsconnect.org', 'lds.io'); + //baseUrl += window.location.pathname; +} +console.info("baseUrl is set to '" + baseUrl + "'"); +console.log("Set to default by running `localStorage.removeItem('baseUrl')`"); +console.log("Need to test a dev environment? `localStorage.setItem('baseUrl', 'https://example.com:8080')`"); + +window.StClientConfig = { + "webhookPrefix": "/webhooks" +, "oauthPrefix": baseUrl + "/api/oauth3" +, "sessionPrefix": baseUrl + "/session" +, "apiPrefix": baseUrl + "/api" +, "snakeApi": true +, "superUserApi": "/api/superuser" +, "adminApi": "/api/admin" +, "userApi": "/api/user" +, "publicApi": "/api/public" +, "loginConfig": { + "usernameMinLen": 4 + , "secretMinLen": 8 + } +, "testProfiles": [ + { "role": "superuser" + , "token": "xxxxxxxx-test-xxxx-xxxx-root-xxxxxx" + } + , { "role": "admin" + , "token": "xxxxxxxx-test-xxxx-xxxx-admin-xxxxxx" + } + , { "role": "user" + , "token": "xxxxxxxx-test-xxxx-xxxx-user-xxxxxxx" + } + , { "role": "guest" + , "token": "xxxxxxxx-test-xxxx-xxxx-guest-xxxxxx" + } + ] +, "useSplash": false +, "stripe": { + "publicKey": "pk_test_hwX1wzG4OMEv9esujApHjxI7" + , "storeName": "Business Name Here" + , "storeLogo": null + } +, "loginProviders": { + "facebook": "/facebook/connect" + , "google": "/google/connect" + , "twitter": "/twitter/authn/connect" + , "tumblr": "/tumblr/connect" + , "ldsconnect": "/ldsconnect/connect" + , "loopback": "/loopback/connect" + } +, "oauth2": [ + { "provider": "loopback" + , "id": "pub_test_key_1" + , "explicitUrl": "/loopback/connect" + , "authorizeUrl": "https://local.daplie.com:4443/oauth/dialog/authorize" + , "redirectUrl": "https://local.foobar3000.com:4443/loopback-close.html" + } + ] +, "facebook": { + "appId": 1567954453472218 + } +, "googleAnalyticsUa": 'UA-61342537-1' +}; diff --git a/scripts/client-config.sample.js b/scripts/client-config.sample.js new file mode 100644 index 0000000..0a3e662 --- /dev/null +++ b/scripts/client-config.sample.js @@ -0,0 +1,51 @@ +window.StClientConfig = { + "webhookPrefix": "/webhooks" +, "snakeApi": true +, "superUserApi": "/api/superuser" +, "adminApi": "/api/admin" +, "userApi": "/api/user" +, "publicApi": "/api/public" +, "loginConfig": { + "usernameMinLen": 4 + , "secretMinLen": 8 + } +, "testProfiles": [ + { "role": "superuser" + , "token": "xxxxxxxx-test-xxxx-xxxx-root-xxxxxx" + } + , { "role": "admin" + , "token": "xxxxxxxx-test-xxxx-xxxx-admin-xxxxxx" + } + , { "role": "user" + , "token": "xxxxxxxx-test-xxxx-xxxx-user-xxxxxxx" + } + , { "role": "guest" + , "token": "xxxxxxxx-test-xxxx-xxxx-guest-xxxxxx" + } + ] +, "useSplash": false +, "stripe": { + "publicKey": "pk_test_hwX1wzG4OMEv9esujApHjxI7" + , "storeName": "Business Name Here" + , "storeLogo": null + } +, "loginProviders": { + "facebook": "/facebook/connect" + , "twitter": "/twitter/authn/connect" + , "tumblr": "/tumblr/connect" + , "ldsconnect": "/ldsconnect/connect" + , "loopback": "/loopback/connect" + } +, "oauth2": [ + { "provider": "loopback" + , "id": "pub_test_key_1" + , "explicitUrl": "/loopback/connect" + , "authorizeUrl": "https://local.daplie.com:4443/oauth/dialog/authorize" + , "redirectUrl": "https://local.foobar3000.com:4443/loopback-close.html" + } + ] +, "facebook": { + "appId": "921604161225759" + } +, "googleAnalyticsUa": 'UA-00000000-1' +}; diff --git a/scripts/controllers/authorization-dialog.js b/scripts/controllers/authorization-dialog.js new file mode 100644 index 0000000..aac6fc3 --- /dev/null +++ b/scripts/controllers/authorization-dialog.js @@ -0,0 +1,347 @@ +'use strict'; + +/** + * @ngdoc function + * @name yololiumApp.controller:OauthCtrl + * @description + * # OauthCtrl + * Controller of the yololiumApp + */ +angular.module('yololiumApp') + .controller('AuthorizationDialogController', [ + '$window' + , '$location' + , '$stateParams' + , '$q' + , '$timeout' + , '$scope' + , '$http' + , 'DaplieApiConfig' + , 'DaplieApiSession' + , 'DaplieApiRequest' + , function ( + $window + , $location + , $stateParams + , $q + , $timeout + , $scope + , $http + , LdsApiConfig + , LdsApiSession + , LdsApiRequest + ) { + + var scope = this; + + function isIframe () { + try { + return window.self !== window.top; + } catch (e) { + return true; + } + } + + // TODO move into config + var scopeMessages = { + directories: "View directories" + , me: "View your own Account" + , '*': "Use the Full Developer API" + }; + + function updateAccepted() { + scope.acceptedString = scope.pendingScope.filter(function (obj) { + return obj.acceptable && obj.accepted; + }).map(function (obj) { + return obj.value; + }).join(' '); + + return scope.acceptedString; + } + + function scopeStrToObj(value, accepted) { + // TODO parse subresource (dns:example.com:cname) + return { + accepted: accepted + , acceptable: !!scopeMessages[value] + , name: scopeMessages[value] || 'Invalid Scope \'' + value + '\'' + , value: value + }; + } + + function requestSelectedAccount(account, query, origin) { + // TODO Desired Process + // * check locally + // * if permissions pass, sign a jwt and post to server + // * if permissions fail, get from server (posting public key), then sign jwt + // * redirect to authorization_code_callback?code= or oauth3.html#token= + return $http.get( + LdsApiConfig.providerUri + '/api/org.oauth3.accounts/:account_id/grants/:client_id' + .replace(/:account_id/g, account.accountId) + .replace(/:client_id/g, query.client_id) + , { headers: { Authorization: "Bearer " + account.token } } + ).then(function (resp) { + var err; + + if (!resp.data) { + err = new Error("[Uknown Error] got no response (not even an error)"); + console.error(err.stack); + throw err; + } + + if (resp.data.error) { + console.error('[authorization-dialog] resp.data'); + err = new Error(resp.data.error.message || resp.data.error_description); + console.error(err.stack); + scope.error = resp.data.error; + scope.rawResponse = resp.data; + return $q.reject(err); + } + + return resp.data; + }); + } + + scope.chooseAccount = function (/*profile*/) { + $window.alert("user switching not yet implemented"); + }; + scope.updateScope = function () { + updateAccepted(); + }; + + function parseScope(scope) { + return (scope||'').split(/[\s,]/g) + } + function getNewPermissions(grant, query) { + var grantedArr = parseScope(grant.scope); + var requestedArr = parseScope(query.scope||''); + + return requestedArr.filter(function (scope) { + return -1 === grantedArr.indexOf(scope); + }); + } + + function generateToken(account, grant, query) { + var err = new Error("generateToken not yet implemented"); + throw err; + } + + function generateCode(account, grant, query) { + var err = new Error("generateCode not yet implemented"); + throw err; + } + + function getAccountPermissions(account, query, origin) { + return requestSelectedAccount(account, query, origin).then(function (grants) { + var grant = grants[query.client_id] || grants; + var grantedArr = parseScope(grant.scope); + var pendingArr = getNewPermissions(grant, query); + + var grantedObj = grantedArr.map(scopeStrToObj); + // '!' is a debug scope that ensures the permission dialog will be activated + // also could be used for switch user + var pendingObj = pendingArr.filter(function (v) { return '!' !== v; }).map(scopeStrToObj); + + scope.client = grant.client; + + if (!scope.client.title) { + scope.client.title = scope.client.name || 'Missing App Title'; + } + + scope.selectedAccountId = account.accountId; + + if (!checkRedirect(grant, query)) { + location.href = 'https://oauth3.org/docs/errors#E_REDIRECT_ATTACK'; + return; + } + + // key generation in browser + // possible iframe vulns? + if (pendingArr.length) { + if (scope.iframe) { + location.href = query.redirect_uri + '#error=access_denied&error_description=' + + encodeURIComponent("You're requesting permission in an iframe, but the permissions have not yet been granted") + + '&error_uri=' + encodeURIComponent('https://oauth3.org/docs/errors/#E_IFRAME_DENIED'); + return; + } + + updateAccepted(); + return grant; + } + else if ('token' === query.response_type) { + generateToken(account, grant, query).then(function (token) { + location.href = query.redirect_uri + '#token=' + token; + }); + return; + } + else if ('code' === query.response_type) { + // NOTE + // A client secret may never be exposed in a client + // A code always requires a secret + // Therefore this redirect_uri will always be to a server, not a local page + generateCode(account, grant, query).then(function () { + location.href = query.redirect_uri + '?code=' + code; + }); + return; + } else { + location.href = query.redirect_uri + '#error=E_UNKNOWN_RESPONSE_TYPE&error_description=' + + encodeURIComponent("The '?response_type=' parameter must be set to either 'token' or 'code'.") + + '&error_uri=' + encodeURIComponent('https://oauth3.org/docs/errors/#E_UNKNOWN_RESPONSE_TYPE'); + return; + } + }); + } + + function redirectToFailure() { + var redirectUri = $location.search().redirect_uri; + + var parser = document.createElement('a'); + parser.href = redirectUri; + if (parser.search) { + parser.search += '&'; + } else { + parser.search += '?'; + } + parser.search += 'error=E_NO_SESSION'; + redirectUri = parser.href; + + window.location.href = redirectUri; + } + + function initAccount(session, query, origin) { + return LdsApiRequest.getAccountSummaries(session).then(function (accounts) { + var account = LdsApiSession.selectAccount(session); + var profile; + + scope.accounts = accounts.map(function (account) { + return account.profile.me; + }); + accounts.some(function (a) { + if (LdsApiSession.getId(a) === LdsApiSession.getId(account)) { + profile = a.profile; + a.selected = true; + return true; + } + }); + + if (profile.me.photos[0]) { + if (!profile.me.photos[0].appScopedId) { + // TODO fix API to ensure corrent id + profile.me.photos[0].appScopedId = profile.me.appScopedId || profile.me.app_scoped_id; + } + } + profile.me.photo = profile.me.photos[0] && LdsApiRequest.photoUrl(account, profile.me.photos[0], 'medium'); + scope.account = profile.me; + + scope.token = $stateParams.token; + + /* + scope.accounts.push({ + displayName: 'Login as a different user' + , new: true + }); + */ + + //return determinePermissions(session, account); + return getAccountPermissions(account, query, origin).then(function () { + // do nothing? + scope.selectedAccount = session; //.account; + scope.previousAccount = session; //.account; + scope.updateScope(); + }, function (err) { + if (/logged in/.test(err.message)) { + return LdsApiSession.destroy().then(function () { + init(); + }); + } + + if ('E_INVALID_TRANSACTION' === err.code) { + window.alert(err.message); + return; + } + + console.warn("[ldsconnect.org] [authorization-dialog] ERROR somewhere in oauth process"); + console.warn(err); + window.alert(err.message); + }); + }); + } + + function init() { + scope.iframe = isIframe(); + var query = $location.search(); + var referrer = $window.document.referer || $window.document.origin; + // TODO XXX this should be drawn from site-specific config + var apiHost = 'https://oauth3.org'; + + // if the client didn't specify an id the client is the referrer + if (!query.client_id) { + // if we were redirect here by our own apiHost we can trust the host as the client_id + // (and it will be checked against allowed urls anyway) + if (referrer === apiHost) { + query.client_id = ('https://' + query.host); + } else { + query.client_id = referrer; + } + } + + // TODO XXX to allow or to disallow mounted apps, that is the question + // https://example.com/blah/ -> example.com/blah + query.client_id = query.client_id.replace(/^https?:\/\//i, '').replace(/\/$/, ''); + + if (scope.iframe) { + return LdsApiSession.checkSession().then(function (session) { + if (session.accounts.length) { + // TODO make sure this fails / notifies + return initAccount(session, query, origin); + } else { + // TODO also notify to bring to front + redirectToFailure(); + } + }); + } + + // session means both login(s) and account(s) + return LdsApiSession.requireSession( + // role + null + // TODO login opts (these are hypothetical) + , { close: false + , options: ['login', 'create'] + , default: 'login' + } + // TODO account opts + , { verify: ['email', 'phone'] + } + , { clientId: query.clientId + } + ).then(function (session) { + initAccount(session, query, origin) + }); + } + + init(); + + // I couldn't figure out how to get angular to bubble the event + // and the oauth2orize framework didn't seem to work with json form uploads + // so I dropped down to quick'n'dirty jQuery to get it all to work + scope.hackFormSubmit = function (opts) { + scope.submitting = true; + scope.cancelHack = !opts.allow; + scope.authorizationDecisionUri = LdsApiConfig.providerUri + '/api/oauth3/authorization_decision'; + scope.updateScope(); + + $window.jQuery('form.js-hack-hidden-form').attr('action', scope.authorizationDecisionUri); + + // give time for the apply to take place + $timeout(function () { + $window.jQuery('form.js-hack-hidden-form').submit(); + }, 50); + }; + scope.allowHack = function () { + scope.hackFormSubmit({ allow: true }); + }; + scope.rejectHack = function () { + scope.hackFormSubmit({ allow: false }); + }; + }]); diff --git a/scripts/controllers/lds-account.js b/scripts/controllers/lds-account.js new file mode 100644 index 0000000..5cf4edb --- /dev/null +++ b/scripts/controllers/lds-account.js @@ -0,0 +1,55 @@ +'use strict'; + +angular.module('yololiumApp') + .controller('LdsAccountController', [ + '$scope' + , '$q' + , '$timeout' + , '$http' + , '$modalInstance' + , 'realLdsAccount' + , 'DaplieApiConfig' + , 'DaplieApiSession' + , 'mySession' + , 'myProfile' + , 'myOptions' + , function ( + $scope + , $q + , $timeout + , $http + , $modalInstance + , LdsAccount // prevent circular reference + , DaplieApiConfig + , DaplieApiSession + , account // session doubles as account + , profile + //, opts + ) { + var scope = this; + + scope.me = profile.me; + + console.log("DEBUG xyz-account profile", profile); + + scope.markAsChecked = function () { + console.log('DEBUG mark as checked account'); + console.log(account); + return $http.post( + DaplieApiConfig.providerUri + '/api/io.lds/accounts/' + account.id + '/mark-as-checked' + , null + , { headers: { 'Authorization': 'Bearer ' + account.token } } + ).then(function (resp) { + if (!resp.data || resp.data.error || !resp.data.success) { + scope.flashMessage = (resp.data && resp.data.error) || "Failed to mark account as checked."; + scope.flashMessageClass = 'alert-danger'; + return; + } + + account.userVerifiedAt = new Date().toISOString(); + + // pass back anything? + return $modalInstance.close(); + }); + }; + }]); diff --git a/scripts/controllers/login-v3.js b/scripts/controllers/login-v3.js new file mode 100644 index 0000000..fc0cf22 --- /dev/null +++ b/scripts/controllers/login-v3.js @@ -0,0 +1,402 @@ +'use strict'; + +angular.module('yololiumApp') + .controller('LoginController3', [ + '$scope' + , '$q' + , '$timeout' + , '$modalInstance' + , 'Oauth3' + , 'DaplieApiSession' + , 'DaplieApiRequest' + , 'LdsAccount' + , 'myLoginOptions' + , function ( + $scope + , $q + , $timeout + , $modalInstance + , Oauth3 + , Oauth3ApiSession + , Oauth3ApiRequest + , LdsAccount + , opts + ) { + opts = opts || {}; + var scope = this; + var secretMinLen = scope.secretMinLength = Oauth3ApiSession.secretMinLength; + //var usernameMinLen = Oauth3ApiSession.usernameMinLength; + var mySession; + + scope.hideSocial = opts.hideSocial; + scope.flashMessage = opts.flashMessage; + scope.flashMessageClass = opts.flashMessageClass; + + scope.delta = { localLogin: {} }; + + function onDaplieLogin(oauth3Session) { + console.log('DEBUG onLogin'); + console.log(oauth3Session); + // TODO if there is not a default account, show user-switching screen + // this will close both on user/pass and social login + scope.flashMessage = "You've logged in. Please wait while we download some ward and stake data..."; + scope.flashMessageClass = 'alert-info'; + return Oauth3ApiRequest.profile(oauth3Session).then(function (profile) { + console.log('DEBUG profile'); + console.log(profile); + + $modalInstance.close(oauth3Session); + /* + return LdsAccount.verifyAccount(ldsSession, profile).then(function () { + scope.flashMessage = "Done!"; + scope.flashMessageClass = 'alert-success'; + console.log('DEBUG verifiedAccount'); + $modalInstance.close(ldsSession); + }); + */ + }); + } + + function handleLoginException(err) { + scope.formState = 'login'; + + console.error("[Uknown Error] Either 'resource owner password' or 'delegated' login"); + console.warn(err.stack); + scope.flashMessage = err.message || err.code; + scope.flashMessageClass = "alert-danger"; + } + + function handleSuccess(session) { + return Oauth3ApiSession.requireAccount(session).then(onDaplieLogin, function (err) { + if ('E_NO_LDSACCOUNT' !== err.code) { + throw err; + } + + scope.hideSocial = true; + scope.flashMessage = err.message; + scope.flashMessageClass = "alert-warning"; + }).catch(handleLoginException); + } + + function handleLoginError(err) { + console.error('handleLoginError'); + console.error(err); + console.warn(err.stack); + if (!err.message) { + throw err; + } + + scope.formState = 'login'; + + scope.flashMessage = err.message || err.code; + scope.flashMessageClass = "alert-warning"; + + throw err; + } + + scope.loginStrategies = [ + { label: 'Facebook' + , name: 'facebook' + , faImage: "" + , faClass: "fa-facebook" + , btnClass: "btn-facebook" + , login: function () { + var providerUri = (window.location.host + window.location.pathname).replace(/\/$/g, ''); + var providerApiUri = 'https://oauth3.org'; + + return Oauth3ApiSession.login({ + providerUri: providerUri // 'daplie.com/connect' + , scope: [ 'email' ] + , redirectUri: 'https://' + providerUri + '/oauth3.html' + , popup: true + // TODO XXX use whatever variable it is for apiHost + , authorizationRedirect: providerApiUri + '/api/org.oauth3.consumer/authorization_redirect/facebook.com' + }).then(handleSuccess, handleLoginError).catch(handleLoginException); + } + } + , { label: 'Google+' + , name: 'google' + , faImage: "" + , faClass: "fa-google-plus" + , btnClass: "btn-google-plus" + , login: function () { + return Oauth3ApiSession.logins.authorizationRedirect({ + providerUri: 'google.com' + , scope: [ 'https://www.googleapis.com/auth/plus.login' ] + , redirectUri: 'https://beta.ldsconnect.org/oauth3.html' + , popup: true + }).then(handleSuccess, handleLoginError).catch(handleLoginException); + } + } + + /* + , { label: 'LDS.org Account' + , faImage: "images/moroni-128px.png" + , faClass: "" + , btnClass: "openid" + , login: scope.loginWithLdsconnect + } + */ + ]; + + scope.hideSocial = opts.hideSocial; + scope.flashMessage = opts.flashMessage; + scope.flashMessageClass = opts.flashMessageClass; + + // This dialog is opened to update necessary account details + // It should be passed options to inform the dialog which + // missing fields are necessary to show at this time + // + // Examples: + // we want to get facebook but haven't connected yet, so we should show the connection dialog + // we just logged in for the first time and don't have an account or a local login + function onLogout() { + scope.session = null; + scope.account = null; + scope.accounts = null; + } + + function onLogin(session) { + // session is always ensured as part of login + mySession = session; + + var defaultAction = ''; + var emails = []; + + scope.account = scope.account || mySession.account || {}; + if (scope.account.id) { + defaultAction = 'update'; + } + + scope.formAction = scope.formAction || defaultAction; + + scope.account = scope.account || {}; + scope.delta = scope.delta || {}; + scope.deltaEmail = { type: 'email' }; + scope.deltaPhone = { type: 'phone' }; + scope.delta.localLogin = scope.delta.localLogin || {}; + scope.logins = mySession.logins.map(function (login) { + return { + comment: ('local' === (login.provider || login.type)) ? (login.uid || 'username') : login.provider + , id: login.id + , uid: login.uid + , provider: login.provider + , type: login.type + , link: true + }; + }); + + mySession.logins.some(function (login) { + if ('local' === (login.type || login.provider)) { + scope.account.localLoginId = login.id; + scope.delta.localLogin.id = login.id; + } + }); + + // login is always ensured prior to account + mySession.logins.forEach(function (l) { + (l.emails||[]).forEach(function (email) { + if (email && email.value) { + emails.push(email); + } + }); + }); + + // TODO combo box for creating new logins + scope.emails = emails; + scope.deltaEmail.node = (emails[0] || {}).value; + + if (!scope.deltaEmail.node) { + mySession.logins.some(function (login) { + scope.deltaEmail.node = (login.emails && login.emails[0] || {}).value; + return scope.deltaEmail.node; + }); + } + + /* + if (mySession.logins.length) { + scope.formAction = 'create'; + } + */ + + // TODO check mySession + if (mySession.logins.length >= 2) { + scope.recoverable = true; + } + } + + scope.checkTotp = function (nodeObj) { + var tokenLen = 6; + var len = (nodeObj.totp||'').replace(/\D/g, '').length; + + if (len === tokenLen) { + nodeObj.totpMessage = 'So far, so good.'; + return; + } + + nodeObj.totpMessage = 'Token is too short ' + + len + '/' + tokenLen + + ' (needs to be ' + tokenLen + '+ digits)' + ; + }; + scope.checkSecret = function (nodeObj) { + var len = (nodeObj.secret||'').length; + var meetsLen = (len >= secretMinLen); + + if (meetsLen) { + nodeObj.secretMessage = 'Login when ready, captain!'; + return; + } + + nodeObj.secretMessage = 'Passphrase is too short ' + + len + '/' + secretMinLen + + ' (needs to be ' + secretMinLen + '+ characters)' + ; + }; + + scope.submitLogin = function (nodeObj) { + var promise; + scope.flashMessage = ""; + scope.flashMessageClass = "alert-danger"; + + if (scope._loginPromise) { + promise = scope._loginPromise; + } else { + promise = $q.when(); + } + + // TODO this must be implemented in all platforms + nodeObj.secret = nodeObj.secret.trim(); + + console.log('submitLogin nodeObj', nodeObj); + if ('create' === scope.formState) { + nodeObj.kdf = 'PBKDF2'; + nodeObj.bits = 128; + nodeObj.algo = 'SHA-256'; + nodeObj.iter = Math.floor(Math.random() * 100) + 1001; + } + + promise = window.getProofOfSecret(nodeObj); + + if ('create' === scope.formState) { + // TODO redo soft check + // TODO move to OAuth3 + return promise.then(function (kdf) { + kdf.secret = null; + //console.log('Oauth3.logins', Object.keys(Oauth3.logins)); + return Oauth3ApiSession.createLogin(kdf.node, kdf.type || 'email', null, { + kdf: kdf.kdf + , algo: kdf.algo + //, hash: kdf.algo + , iter: kdf.iter + , bits: kdf.bits + , salt: kdf.salt + , proof: kdf.proof + //, shadow: kdf.proof + }, null); + }); + } + + return promise.then(function (kdf) { + // TODO change the state to authenticating for social logins as well + scope.formState = 'authenticating'; + // ALL THE SCOPES!!! + // TODO + //return Oauth3.requests.resourceOwnerPassword('https://daplie.com/connect', nodeObj.node, kdf.proof, { scope: '*', appId: 'ID__b5db805e27cc27a0ee8eddf42f46' }).then(function (session) { + return Oauth3ApiSession.login({ + username: nodeObj.node + //, usernameType: nodeObj.nodeType + , password: kdf.proof + , totp: nodeObj.totp + //, mfa: kdf.mfa + , scope: '*' + }).then(function (session) { + console.log('[session]', session); + if (session.error) { + throw new Error("no oauth3 session"); + } + return Oauth3ApiSession.requireAccount(session).then(onDaplieLogin); + }, handleLoginError).catch(handleLoginException); + }); + }; + + scope.checkLdsLogin = function (nodeObj) { + var username; + var myPromise; + var nameError; + + scope.formState = 'login'; + nodeObj.claimable = false; + nodeObj.message = ''; + scope.flashMessage = ''; + scope.flashMessageClass = "alert-warning"; + username = nodeObj.node; + + $timeout.cancel(scope._loginTimeout); + + if (!username || 'null' === username || 'undefined' === username) { + myPromise = false; + scope.formState = 'invalid'; + nodeObj.message = ''; + return; + } + + // returns true or error object + nameError = Oauth3ApiSession.validateUsername(nodeObj.node); + if (nameError.message) { + myPromise = false; + scope.formState = 'invalid'; + nodeObj.message = nameError.message; + return; + } + + nodeObj.message = 'Checking username...'; + myPromise = scope._loginTimeout = $timeout(function () { + scope._loginPromise = Oauth3ApiSession.getMeta(nodeObj.node, nodeObj.type || 'email').then(function (kdf) { + // kdf + nodeObj.kdf = kdf.kdf; + nodeObj.algo = kdf.algo; + nodeObj.bits = kdf.bits; + nodeObj.iter = kdf.iter; + nodeObj.salt = kdf.salt; + scope.showTotp = kdf.totpEnabledAt || kdf.totpEnabled || kdf.totp; + + myPromise = false; + nodeObj.message = "'" + username + "' is already registered." + + ' Welcome back!' + ; + scope.formState = 'login'; + }, function () { + // TODO test that error is simply not exists + // and not a server error + if (myPromise !== scope._loginTimeout) { + return; + } + + scope.formState = 'create'; + nodeObj.message = "'" + username + "' is available!"; + }).catch(function (err) { + nodeObj.message = ''; + + scope.formState = 'login'; + scope.flashMessage = "[Uknown Error] " + err.message + + " (might need to wait a minute and try again)"; + scope.flashMessageClass = "alert-danger"; + throw err; + }); + }, 250); + + return scope._loginTimeout; + }; + + // + // Begin + // + //Oauth3ApiSession.onLogin($scope, onDaplieLogin); + Oauth3ApiSession.onLogout($scope, onLogout); + //Oauth3ApiSession.checkSession().then(onDaplieLogin, onLogout); + if (false) { + // prevent lint warnings until I figure out how I'll use this + onLogin(); + } + }]); diff --git a/scripts/controllers/my-account.js b/scripts/controllers/my-account.js new file mode 100644 index 0000000..2915886 --- /dev/null +++ b/scripts/controllers/my-account.js @@ -0,0 +1,47 @@ +'use strict'; + +angular.module('yololiumApp') + .controller('MyAccountController', [ + '$scope' + , '$location' + , '$http' + , 'DaplieApiConfig' + , 'DaplieApiSession' + , 'DaplieApiRequest' + //, 'LdsAccount' + , function ($scope, $location, $http, DaplieApiConfig, DaplieApiSession, DaplieApiRequest, LdsAccount) { + var scope = this; + + function init(session) { + if (!session || session.message) { + scope.session = null; + scope.account = null; + scope.accounts = null; + $location.url('/'); + return; + } + + scope.session = session; + scope.accounts = session.accounts; + scope.account = DaplieApiSession.account(session); + + console.log('session', session); + return DaplieApiRequest.profile(session).then(function (profile) { + return LdsAccount.verifyAccount(session, profile); + }); + } + + scope.showLoginModal = function () { + // TODO profile manager + return DaplieApiSession.openAuthorizationDialog(); + }; + + scope.logout = function () { + // TODO which token(s) to destroy? + return DaplieApiSession.logout(); + }; + + DaplieApiSession.checkSession().then(init, init).catch(init); + DaplieApiSession.onLogin($scope, init); + DaplieApiSession.onLogout($scope, init); + }]); diff --git a/scripts/controllers/nav.js b/scripts/controllers/nav.js new file mode 100644 index 0000000..d8e09db --- /dev/null +++ b/scripts/controllers/nav.js @@ -0,0 +1,38 @@ +'use strict'; + +angular.module('yololiumApp') + .controller('NavController', [ + '$scope' + , '$http' + , 'DaplieApiConfig' + , 'DaplieApiSession' + , function ($scope, $http, DaplieApiConfig, DaplieApiSession) { + var scope = this; + + function init(session) { + if (!session || session.message) { + scope.session = null; + scope.account = null; + scope.accounts = null; + return; + } + + scope.session = session; + scope.accounts = session.accounts; + scope.account = DaplieApiSession.account(session); + } + + scope.showLoginModal = function () { + // TODO profile manager + return DaplieApiSession.openAuthorizationDialog(); + }; + + scope.logout = function () { + // TODO which token(s) to destroy? + return DaplieApiSession.logout(); + }; + + DaplieApiSession.checkSession().then(init, init).catch(init); + DaplieApiSession.onLogin($scope, init); + DaplieApiSession.onLogout($scope, init); + }]); diff --git a/scripts/controllers/verify-contact-details.js b/scripts/controllers/verify-contact-details.js new file mode 100644 index 0000000..1c57150 --- /dev/null +++ b/scripts/controllers/verify-contact-details.js @@ -0,0 +1,103 @@ +'use strict'; + +angular.module('yololiumApp') + .controller('VerifyContactDetailsController', [ + '$scope' + , '$q' + , '$modalInstance' + , 'myLdsAccount' + , 'ldsAccountObject' + , 'ldsAccountOptions' + , function ( + $scope + , $q + , $modalInstance + , myLdsAccount + , account + /* + , opts + */ + ) { + var scope = this; + + scope.phone = account.phone; + scope.email = account.email; + + scope.codes = {}; + scope.validationErrorMessages = {}; + + scope.codes.phone = localStorage.getItem('phoneCode'); + scope.codes.email = localStorage.getItem('emailCode'); + + scope.sendCode = function (type, node) { + // TODO needs to get expire time (and store in localStorage) + myLdsAccount.getCode(account, type, node).then(function (data) { + scope.codes[type] = data.uuid; + localStorage.setItem(type + 'Code', data.uuid); + }, function (err) { + window.alert(err.message || 'unknown error'); + }); + }; + + //scope.validateCode = function (type, node, uuid, code); + scope.validateCode = function (code) { + var type; + var node; + var uuid; + var rePhoneCode = /^\s*(\d{3})[-\s]*(\d{3})\s*$/; + var reEmailCode = /^\s*(\w+)[-\s]+(\w+)[-\s]+(\d+)\s*$/; + var m; + code = code.trim(); + + if (rePhoneCode.test(code)) { + m = code.match(rePhoneCode); + type = 'phone'; + node = account.phone; + uuid = scope.codes[type]; + code = m[1] + '-' + m[2]; + } else if (reEmailCode.test(code)) { + m = code.match(reEmailCode); + type = 'email'; + node = account.email; + uuid = scope.codes[type]; + code = m[1] + '-' + m[2] + '-' + m[3]; + } else { + throw new Error("unexpected code type"); + } + + function showError(err) { + console.error("[ERROR] in verify contact:"); + console.log(err); + scope.validationErrorMessages[type] = err.message + || (type + ' code validation failed, Double check and try again') + ; + } + + return myLdsAccount.validateCode(account, type, node, uuid, code).then(function (data) { + if (data.error) { + scope.validationErrorMessages[type] = "Code didn't validate"; + showError(data.error); + return; + } + + if (!data.validated) { + console.error("[ERROR] in verify contact validate:"); + console.error(data); + scope.validationErrorMessages[type] = "Code didn't validate"; + showError({ message: "Code didn't validate" }); + return; + } + + scope.validationErrorMessages[type] = ''; + localStorage.removeItem(type + 'Code'); + + scope[type + 'Verified'] = true; + account[type + 'VerifiedAt'] = new Date().toISOString(); + }, showError); + }; + + scope.verifyAccount = function () { + // TODO refresh session StSession.get({ expire: true }) + $modalInstance.close(); + }; + }]); diff --git a/scripts/daplie-pbkdf2.js b/scripts/daplie-pbkdf2.js new file mode 100644 index 0000000..15048f5 --- /dev/null +++ b/scripts/daplie-pbkdf2.js @@ -0,0 +1,141 @@ +(function () { + 'use strict'; + + var hashMap = { + 'md5': 'MD5' + , 'sha1': 'SHA-1' + , 'sha256': 'SHA-256' + , 'sha384': 'SHA-384' + , 'sha512': 'SHA-512' + //, 'sha3': 'SHA-3' + }; + + function getForgeProof(nodeObj) { + return new Promise(function (resolve, reject) { + var kdf = { + node: nodeObj.node + , type: nodeObj.type + , kdf: 'PBKDF2' + , algo: nodeObj.algo || 'SHA-256' + , bits: nodeObj.bits || 128 + , iter: nodeObj.iter || Math.floor(Math.random() * 100) + 1001 + , salt: null + }; + + // generate a password-based 16-byte key + // note an optional message digest can be passed as the final parameter + if (nodeObj.salt) { + kdf.salt = Unibabel.bufferToBinaryString(Unibabel.hexToBuffer(nodeObj.salt)); + } else { + // uses binary string + kdf.salt = forge.random.getBytesSync(16); + } + + // kdf.proof = forge.pkcs5.pbkdf2(nodeObj.secret, kdf.salt, kdf.iter, kdf.byteLen); + + // generate key asynchronously + forge.pkcs5.pbkdf2( + nodeObj.secret + , kdf.salt + , kdf.iter // 100 + , (kdf.bits / 8) // 16 + , kdf.algo.replace(/\-/g, '').toLowerCase() // sha256 + , function(err, derivedKey) { + // do something w/derivedKey + if (err) { + reject(err); + return; + } + + kdf.salt = Unibabel.bufferToHex(Unibabel.binaryStringToBuffer(kdf.salt)); + kdf.proof = Unibabel.bufferToHex(Unibabel.binaryStringToBuffer(derivedKey)); + + resolve(kdf); + }); + }); + } + + function getWebCryptoProof(nodeObj) { + if (!window.crypto) { + return new Promise(function (resolve, reject) { + reject(new Error("Web Crypto Not Implemented")); + }); + } + + var crypto = window.crypto; + var Unibabel = window.Unibabel; + var kdf = { + node: nodeObj.node + , type: nodeObj.type + , kdf: 'PBKDF2' + , algo: hashMap[nodeObj.algo] || (nodeObj.algo || 'SHA-256').toUpperCase().replace(/SHA-?/, 'SHA-') + , bits: nodeObj.bits || 128 + , iter: nodeObj.iter || Math.floor(Math.random() * 100) + 1001 + , salt: null + }; + + // generate a password-based 16-byte key + // note an optional message digest can be passed as the final parameter + if (nodeObj.salt) { + kdf.salt = Unibabel.hexToBuffer(nodeObj.salt); + } else { + // uses binary string + kdf.salt = crypto.getRandomValues(new Uint8Array(16)); + } + // 100 - probably safe even on a browser running from a raspberry pi using pure js ployfill + // 10000 - no noticeable speed decrease on my MBP + // 100000 - you can notice + // 1000000 - annoyingly long + // something a browser on a raspberry pi or old phone could do + var aesname = "AES-CBC"; // AES-CTR is also popular + var extractable = true; + + // First, create a PBKDF2 "key" containing the passphrase + return crypto.subtle.importKey( + "raw", + Unibabel.utf8ToBuffer(nodeObj.secret), + { "name": kdf.kdf }, + false, + ["deriveKey"]). + // Derive a key from the password + then(function (passphraseKey) { + var keyconf = { + "name": kdf.kdf + , "salt": kdf.salt + , "iterations": kdf.iter + , "hash": kdf.algo + }; + return crypto.subtle.deriveKey( + keyconf + , passphraseKey + // required to be 128 or 256 bits + , { "name": aesname, "length": kdf.bits } // Key we want + , extractable // Extractble + , [ "encrypt", "decrypt" ] // For new key + ); + }). + // Export it so we can display it + then(function (aesKey) { + return crypto.subtle.exportKey("raw", aesKey).then(function (arrbuf) { + kdf.salt = Unibabel.bufferToHex(kdf.salt); + kdf.proof = Unibabel.bufferToHex(new Uint8Array(arrbuf)); + + return kdf; + }); + }); + /*. + catch(function (err) { + window.alert("Key derivation failed: " + err.message); + }); + */ + } + + // kdf, algo, iter, bits, secret + window.getProofOfSecret = function (opts) { + return getWebCryptoProof(opts).then(function (data) { + return data; + }, function (err) { + return getForgeProof(opts); + }); + }; +}()); diff --git a/scripts/daplie.js b/scripts/daplie.js new file mode 100644 index 0000000..2415b9e --- /dev/null +++ b/scripts/daplie.js @@ -0,0 +1,243 @@ +'use strict'; + +window.addEventListener('error', function (err) { + console.error("Uncaught Exception:"); + console.log(err); +}); + +// TODO where to place this? +var urlPrefix = './'; // or '/' + +angular.module('yololiumApp', [ + 'ui.bootstrap' +, 'ui.router' +, 'oauth3' +, 'daplie' +, 'steve' +/* + 'ngSanitize' +*/ +]).config([ + '$urlRouterProvider' + , '$stateProvider' + , '$httpProvider' + , 'stConfig' + , function ($urlRouterProvider, $stateProvider, $httpProvider, StApi) { + var rootTemplate = $('.ui-view-body').html(); + + // https://daplie.com/connect/#/authorization_dialog/state=9124678613152355&response_type=token&scope=*&client_id=ID__1a503bda47a3fe3a00543166333f&redirect_uri=https://oauth3.org/oauth3.html%3Fprovider_uri=https%253A%252F%252Foauth3.org&origin=&referer=https://oauth3.org/&host=oauth3.org + //$urlRouterProvider.otherwise('/'); + $stateProvider + .state('root', { + url: '/' + , views: { + body: { + template: rootTemplate + , controller: [ + '$scope' + , 'DaplieApiSession' + , 'DaplieApiRequest' + , function ($scope, DaplieApiSession, DaplieApiRequest) { + var MC = this; + + MC.urlsafe = function (name) { + return name.toLowerCase().replace(/[^\-\w]/, '').replace(/s$/, ''); + }; + + function prefetch(session) { + console.log('DEBUG prefetch'); + // Prefetching + return DaplieApiRequest.profile(session).then(function (profile) { + console.log('DEBUG profile'); + console.log(profile); + //DaplieApiRequest.stake(session, profile.homeStakeAppScopedId); + //DaplieApiRequest.ward(session, profile.homeStakeAppScopedId, profile.homeWardAppScopedId); + }); + } + + DaplieApiSession.checkSession(prefetch); + DaplieApiSession.onLogin($scope, prefetch); + }] + , controllerAs: 'MC' + } + } + }) + + .state('logout', { + url: '/logout/:browserState' + , views: { + body: { + template: '' + // DestroySessionController + , controller: [ + '$window' + , '$stateParams' + , 'DaplieApiSession' + , function ($window, $stateParams, DaplieApiSession) { + DaplieApiSession.destroy().then(function () { + var state = $stateParams.browserState; + $window.location.href = '/oauth3.html#logout_callback=true&state=' + state; + }); + }] + , controllerAs: 'DSC' + } + } + + }) + + /* + .state('authorization-dialog', { + url: '/authorization_dialog/{query:.+}' + , views: { + body: { + templateUrl: urlPrefix + 'views/authorization-dialog.html' + , controller: 'AuthorizationDialogController as ADC' + } + } + }) + */ + .state('authorization-dialog', { + url: '/authorization_dialog/' + , views: { + body: { + templateUrl: urlPrefix + 'views/authorization-dialog.html' + , controller: 'AuthorizationDialogController as ADC' + } + } + }) + + .state('account', { + url: '/account/' + , views: { + body: { + templateUrl: urlPrefix + 'views/my-account.html' + , controller: 'MyAccountController as MAC' + } + } + }) + ; + + // send creds + $httpProvider.defaults.withCredentials = true; + // alternatively, register the interceptor via an anonymous factory? + $httpProvider.interceptors.push([ '$q', function($q) { + var recase = window.Recase.create({ exceptions: {} }); + + function isApiUrl(url) { + // TODO provide a list of known-good API urls in StApi and loop + return !/^https?:\/\//.test(url) + || url.match(StApi.apiPrefix) + || url.match(StApi.oauthPrefix) + ; + } + + return { + 'request': function (config) { + if (config.data + && isApiUrl(config.url) + && /json/.test(config.headers['Content-Type']) + ) { + config.data = recase.snakeCopy(config.data); + } + + return config; + } + , 'requestError': function (rejection) { + return rejection; + } + , 'response': function (response) { + var config = response.config; + var err; + + // our own API is snake_case (to match webApi / ruby convention) + // but we convert to camelCase for javascript convention + if (isApiUrl(config.url) && /json/.test(response.headers('Content-Type'))) { + response.data = recase.camelCopy(response.data); + if ('string' === typeof response.data.error) { + err = new Error(response.data.errorDescription); + err.code = response.data.error; + err.uri = response.data.errorUri; + return $q.reject(err); + } + if ('object' === typeof response.data.error) { + err = new Error(response.data.error.message); + err.code = response.data.error.code; + err.uri = response.data.error.uri; + /* + Object.keys(response.data.error).forEach(function (key) { + err[key] = response.data.error[key]; + }); + */ + return $q.reject(err); + } + } + return response; + } + , 'responseError': function (rejection) { + return rejection; + } + }; + }]); + +}]).run([ + '$rootScope' + , '$timeout' + , '$q' + , '$http' + , '$modal' + , 'DaplieApi' + , 'DaplieApiSession' + , function ($rootScope, $timeout, $q, $http, $modal, DaplieApi, DaplieApiSession) { + + return DaplieApi.init({ + //appId: 'TEST_ID_871a371debefb91c919ca848' + //appId: 'ID__b5db805e27cc27a0ee8eddf42f46' + appId: 'oauth3.org' + , appVersion: '2.1.0' + , clientUri: 'oauth3.org' + , clientAgreeTos: 'oauth3.org/tos/draft' + , invokeLogin: function (opts) { + console.info('login invoked'); + return $modal.open({ + templateUrl: urlPrefix + 'views/login-v3.html' + , controller: 'LoginController3 as LC' + , backdrop: 'static' + , keyboard: true + , resolve: { + myLoginOptions: [function () { + return opts; + }] + } + }).result; + } + }).then(function (DaplieApiConfig) { + $rootScope.R = {}; + // attach after angular is initialized so that angular errors + // don't annoy developers that forgot bower install + window.addEventListener('error', function (err) { + window.alert('Uncaught Exception: ' + (err.message || 'unknown error')); + }); + + // TODO get from config + $http.get((DaplieApiConfig.apiBaseUri || DaplieApiConfig.providerUri) + + '/api/org.oauth3.provider' + '/public/apps' + ).then(function (resp) { + $rootScope.R.ready = true; + $rootScope.R.apps = resp.data.result.filter(function (app) { + return app.live; + }); + }); + + // normally we'd do a background login here, but daplie.com/connect is already + // is the provider, so no sense in doing that... + return DaplieApiSession.checkSession().then(function () { + $rootScope.rootReady = true; + $rootScope.rootDeveloperMode = DaplieApiConfig.developerMode; + $rootScope.R.dev = $rootScope.rootDeveloperMode; + }, function () { + $rootScope.rootReady = true; + $rootScope.rootDeveloperMode = DaplieApiConfig.developerMode; + $rootScope.R.dev = $rootScope.rootDeveloperMode; + }); + }); +}]); diff --git a/scripts/ga.js b/scripts/ga.js new file mode 100644 index 0000000..55b182d --- /dev/null +++ b/scripts/ga.js @@ -0,0 +1,8 @@ +(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ +(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), +m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) +})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + +//ga('create', window.StClientConfig.googleAnalyticsUa, 'auto'); +ga('create', 'UA-39329678-2', 'auto'); +ga('send', 'pageview'); diff --git a/scripts/pbkdf2.forge.test.js b/scripts/pbkdf2.forge.test.js new file mode 100644 index 0000000..4d17204 --- /dev/null +++ b/scripts/pbkdf2.forge.test.js @@ -0,0 +1,49 @@ +(function () { + 'use strict'; + + // getProofOfSecret(salt, secret, iter) + function getProofOfSecret(nodeObj) { + // TODO test correctness + console.info('TODO test correctness of getProofOfSecret'); + var d = $q.defer(); + var kdf = { + node: nodeObj.node + , type: nodeObj.type + , kdf: 'PBKDF2' + , algo: 'SHA-256' + }; + + // generate a password-based 16-byte key + // note an optional message digest can be passed as the final parameter + if (nodeObj.salt) { + kdf.salt = Unibabel.bufferToBinaryString(Unibabel.hexToBuffer(nodeObj.salt)); + } else { + // uses binary string + kdf.salt = forge.random.getBytesSync(32); + } + kdf.iter = nodeObj.iter || Math.floor(Math.random() * 1000) + 1000; + kdf.byteLen = nodeObj.byteLen || 16; + + console.log('kdf.salt', kdf.salt); + + // kdf.proof = forge.pkcs5.pbkdf2(nodeObj.secret, kdf.salt, kdf.iter, kdf.byteLen); + + // generate key asynchronously + // note an optional message digest can be passed before the callback + forge.pkcs5.pbkdf2(nodeObj.secret, kdf.salt, kdf.iter, kdf.byteLen, 'sha256', function(err, derivedKey) { + // do something w/derivedKey + if (err) { + d.reject(err); + return; + } + + kdf.salt = Unibabel.bufferToHex(Unibabel.binaryStringToBuffer(kdf.salt)); + kdf.proof = Unibabel.bufferToHex(Unibabel.binaryStringToBuffer(derivedKey)); + console.log('kdf', kdf); + d.resolve(kdf); + }); + + return d.promise; + } + +}()); diff --git a/scripts/pbkdf2.webcrypto.test.js b/scripts/pbkdf2.webcrypto.test.js new file mode 100644 index 0000000..1ea26b5 --- /dev/null +++ b/scripts/pbkdf2.webcrypto.test.js @@ -0,0 +1,76 @@ +(function () { + 'use strict'; + + var crypto = window.crypto; + var Unibabel = window.Unibabel; + + function deriveKey(saltHex, passphrase, iter) { + var keyLenBits = 128; + var kdfname = "PBKDF2"; + var aesname = "AES-CBC"; // AES-CTR is also popular + // 100 - probably safe even on a browser running from a raspberry pi using pure js ployfill + // 10000 - no noticeable speed decrease on my MBP + // 100000 - you can notice + // 1000000 - annoyingly long + var iterations = iter || 100; // something a browser on a raspberry pi or old phone could do + var hashname = "SHA-256"; + var extractable = true; + + console.log(''); + console.log('passphrase', passphrase); + console.log('salt (hex)', saltHex); + //console.log('salt (hex)', Unibabel.bufferToHex(saltBuf)); + console.log('iterations', iterations); + console.log('keyLen (bytes)', keyLenBits / 8); + console.log('digest', hashname); + + // First, create a PBKDF2 "key" containing the password + return crypto.subtle.importKey( + "raw", + Unibabel.utf8ToBuffer(passphrase), + { "name": kdfname }, + false, + ["deriveKey"]). + // Derive a key from the password + then(function (passphraseKey) { + return crypto.subtle.deriveKey( + { "name": kdfname + , "salt": Unibabel.hexToBuffer(saltHex) + , "iterations": iterations + , "hash": hashname + } + , passphraseKey + // required to be 128 or 256 bits + , { "name": aesname, "length": keyLenBits } // Key we want + , extractable // Extractble + , [ "encrypt", "decrypt" ] // For new key + ); + }). + // Export it so we can display it + then(function (aesKey) { + return crypto.subtle.exportKey("raw", aesKey).then(function (arrbuf) { + return new Uint8Array(arrbuf); + }); + }). + catch(function (err) { + window.alert("Key derivation failed: " + err.message); + }); + } + + function test() { + // Part of the salt is application-specific (same on iOS, Android, and Web) + var saltHex = '942c2db750b5f57f330226b2b498c6d3'; + var passphrase = 'Pizzas are like children'; + //var passphrase = "I'm a ☢ ☃ who speaks 中国语文!"; + var iter = 1672; + + // NOTE: the salt will be truncated to the length of the hash algo being used + return deriveKey(saltHex, passphrase, iter).then(function (keyBuf) { + var hexKey = Unibabel.bufferToHex(keyBuf); + console.log('[TEST] hexKey'); + console.log(hexKey); + }); + } + + test(); +}()); diff --git a/scripts/services/lds-account.js b/scripts/services/lds-account.js new file mode 100644 index 0000000..5ea099a --- /dev/null +++ b/scripts/services/lds-account.js @@ -0,0 +1,141 @@ +'use strict'; + +/** + * @ngdoc service + * @name yololiumApp.LdsAccount + * @description + * # LdsAccount + * Service in the yololiumApp. + */ +angular.module('yololiumApp') + .service('LdsAccount', [ + '$q' + , '$http' + , '$modal' + , 'DaplieApiConfig' + , 'DaplieApiRequest' + , function LdsAccount($q, $http, $modal, DaplieApiConfig, DaplieApiRequest) { + // AngularJS will instantiate a singleton by calling "new" on this function + + var me = this; + + /* + function getWardClerkInfo(session, opts) { + // TODO check to see if this user is in the system + // if so, present them with the information to get + // their record number from the ward clerk + return $http.get(StApi.apiPrefix + '/ldsconnectv2/request-mrn/:emailOrPhone')q.when(); + } + */ + + me.showVerificationModal = function (account, opts) { + return $modal.open({ + templateUrl: '/views/verify-contact-details.html' + , controller: 'VerifyContactDetailsController as VCDC' + , backdrop: 'static' + , keyboard: false + , resolve: { + myLdsAccount: function () { + return me; + } + , ldsAccountObject: function () { + return account; + } + , ldsAccountOptions: function () { + return opts; + } + } + }).result; + }; + + me.showAccountModal = function (session, profile, opts) { + return DaplieApiRequest.profile(session).then(function () { + return $modal.open({ + templateUrl: '/views/lds-account.html' + , controller: 'LdsAccountController as LAC' + , backdrop: 'static' + , keyboard: false + , resolve: { + realLdsAccount: function () { + return me; + } + , mySession: function () { + return session; + } + , myProfile: function () { + return profile; + } + , myOptions: function () { + return opts; + } + } + }).result; + }); + }; + + me.verifyAccount = function (account, profile, opts) { + var recheckTime = (3 * 30 * 24 * 60 * 60 * 1000); + + var fresh; + + // TODO ISO timestamps + fresh = Date.now() - (new Date(account.userVerifiedAt).valueOf()) < recheckTime; + if (fresh) { + return $q.when(account); + } + + //opts.ldsStaleLoginInfo = login; + //return true; + // ask the user to re-verify their info + return me.showAccountModal(account, profile, opts).then(function () { + return me.verifyAccount(account, profile, opts); + }); + }; + + me.getCode = function (account, type, node) { + return $http.post(DaplieApiConfig.providerUri + '/api/ldsio/' + account.id + '/verify/code', { + type: type + , node: node + }).then(function (result) { + if (result.data.error) { + return $q.reject(result.data.error); + } + return result.data; + }); + }; + + me.validateCode = function (account, type, node, uuid, code) { + return $http.post(DaplieApiConfig.providerUri + '/api/ldsio/' + account.id + '/verify/code/validate', { + type: type + , node: node + , uuid: uuid + , code: code + }).then(function (result) { + if (result.data.error) { + return $q.reject(result.data.error); + } + + return result.data; + }); + }; + + me.isFresh = function (iso) { + var now = Date.now(); + var date = new Date(iso).valueOf(); + // 3 months - 3 days + var staleTime = (3 * 30 * 24 * 60 * 60 * 1000) - (3 * 24 * 60 * 60 * 1000); + var fresh = date && (now - date < staleTime); + + return fresh; + }; + + me.ensureVerified = function (account, opts) { + if (me.isFresh(account.emailVerifiedAt) && me.isFresh(account.phoneVerifiedAt)) { + return $q.when(); + } + + return me.showVerificationModal(account, opts); + }; + + return me; + }]); diff --git a/scripts/services/st-api.js b/scripts/services/st-api.js new file mode 100644 index 0000000..24cac68 --- /dev/null +++ b/scripts/services/st-api.js @@ -0,0 +1,32 @@ +'use strict'; + +/** + * @ngdoc service + * @name steve.StApi + * @description + * # StApi + * Service in the steve. + */ +(function () { + + var x = window.StClientConfig + ; + + x.googleAnalyticsToken = window.googleAnalyticsToken || 'UA-XXXXXXXX-1'; + // window.StApi + + x.loginConfig = x.loginConfig || { requireLocalLogin: true, minLogins: 1 }; + x.accountConfig = x.accountConfig || {}; + + angular.module('steve', []) + .constant('stConfig', x) + .service('StApi', function StApi() { + // AngularJS will instantiate a singleton by calling "new" on this function + var me = this + ; + + Object.keys(x).forEach(function (k) { + me[k] = x[k]; + }); + }); +}()); diff --git a/styles/bootstrap-social.min.css b/styles/bootstrap-social.min.css new file mode 100644 index 0000000..0bedcbe --- /dev/null +++ b/styles/bootstrap-social.min.css @@ -0,0 +1 @@ +.btn-social{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-social>:first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)}.btn-social.btn-lg{padding-left:61px}.btn-social.btn-lg :first-child{line-height:45px;width:45px;font-size:1.8em}.btn-social.btn-sm{padding-left:38px}.btn-social.btn-sm :first-child{line-height:28px;width:28px;font-size:1.4em}.btn-social.btn-xs{padding-left:30px}.btn-social.btn-xs :first-child{line-height:20px;width:20px;font-size:1.2em}.btn-social-icon{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:34px;width:34px;padding:0}.btn-social-icon>:first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)}.btn-social-icon.btn-lg{padding-left:61px}.btn-social-icon.btn-lg :first-child{line-height:45px;width:45px;font-size:1.8em}.btn-social-icon.btn-sm{padding-left:38px}.btn-social-icon.btn-sm :first-child{line-height:28px;width:28px;font-size:1.4em}.btn-social-icon.btn-xs{padding-left:30px}.btn-social-icon.btn-xs :first-child{line-height:20px;width:20px;font-size:1.2em}.btn-social-icon :first-child{border:0;text-align:center;width:100%!important}.btn-social-icon.btn-lg{height:45px;width:45px;padding-left:0;padding-right:0}.btn-social-icon.btn-sm{height:30px;width:30px;padding-left:0;padding-right:0}.btn-social-icon.btn-xs{height:22px;width:22px;padding-left:0;padding-right:0}.btn-adn{color:#fff;background-color:#d87a68;border-color:rgba(0,0,0,0.2)}.btn-adn:hover,.btn-adn:focus,.btn-adn:active,.btn-adn.active,.open>.dropdown-toggle.btn-adn{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)}.btn-adn:active,.btn-adn.active,.open>.dropdown-toggle.btn-adn{background-image:none}.btn-adn.disabled,.btn-adn[disabled],fieldset[disabled] .btn-adn,.btn-adn.disabled:hover,.btn-adn[disabled]:hover,fieldset[disabled] .btn-adn:hover,.btn-adn.disabled:focus,.btn-adn[disabled]:focus,fieldset[disabled] .btn-adn:focus,.btn-adn.disabled:active,.btn-adn[disabled]:active,fieldset[disabled] .btn-adn:active,.btn-adn.disabled.active,.btn-adn[disabled].active,fieldset[disabled] .btn-adn.active{background-color:#d87a68;border-color:rgba(0,0,0,0.2)}.btn-adn .badge{color:#d87a68;background-color:#fff}.btn-bitbucket{color:#fff;background-color:#205081;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:hover,.btn-bitbucket:focus,.btn-bitbucket:active,.btn-bitbucket.active,.open>.dropdown-toggle.btn-bitbucket{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:active,.btn-bitbucket.active,.open>.dropdown-toggle.btn-bitbucket{background-image:none}.btn-bitbucket.disabled,.btn-bitbucket[disabled],fieldset[disabled] .btn-bitbucket,.btn-bitbucket.disabled:hover,.btn-bitbucket[disabled]:hover,fieldset[disabled] .btn-bitbucket:hover,.btn-bitbucket.disabled:focus,.btn-bitbucket[disabled]:focus,fieldset[disabled] .btn-bitbucket:focus,.btn-bitbucket.disabled:active,.btn-bitbucket[disabled]:active,fieldset[disabled] .btn-bitbucket:active,.btn-bitbucket.disabled.active,.btn-bitbucket[disabled].active,fieldset[disabled] .btn-bitbucket.active{background-color:#205081;border-color:rgba(0,0,0,0.2)}.btn-bitbucket .badge{color:#205081;background-color:#fff}.btn-dropbox{color:#fff;background-color:#1087dd;border-color:rgba(0,0,0,0.2)}.btn-dropbox:hover,.btn-dropbox:focus,.btn-dropbox:active,.btn-dropbox.active,.open>.dropdown-toggle.btn-dropbox{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)}.btn-dropbox:active,.btn-dropbox.active,.open>.dropdown-toggle.btn-dropbox{background-image:none}.btn-dropbox.disabled,.btn-dropbox[disabled],fieldset[disabled] .btn-dropbox,.btn-dropbox.disabled:hover,.btn-dropbox[disabled]:hover,fieldset[disabled] .btn-dropbox:hover,.btn-dropbox.disabled:focus,.btn-dropbox[disabled]:focus,fieldset[disabled] .btn-dropbox:focus,.btn-dropbox.disabled:active,.btn-dropbox[disabled]:active,fieldset[disabled] .btn-dropbox:active,.btn-dropbox.disabled.active,.btn-dropbox[disabled].active,fieldset[disabled] .btn-dropbox.active{background-color:#1087dd;border-color:rgba(0,0,0,0.2)}.btn-dropbox .badge{color:#1087dd;background-color:#fff}.btn-facebook{color:#fff;background-color:#3b5998;border-color:rgba(0,0,0,0.2)}.btn-facebook:hover,.btn-facebook:focus,.btn-facebook:active,.btn-facebook.active,.open>.dropdown-toggle.btn-facebook{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)}.btn-facebook:active,.btn-facebook.active,.open>.dropdown-toggle.btn-facebook{background-image:none}.btn-facebook.disabled,.btn-facebook[disabled],fieldset[disabled] .btn-facebook,.btn-facebook.disabled:hover,.btn-facebook[disabled]:hover,fieldset[disabled] .btn-facebook:hover,.btn-facebook.disabled:focus,.btn-facebook[disabled]:focus,fieldset[disabled] .btn-facebook:focus,.btn-facebook.disabled:active,.btn-facebook[disabled]:active,fieldset[disabled] .btn-facebook:active,.btn-facebook.disabled.active,.btn-facebook[disabled].active,fieldset[disabled] .btn-facebook.active{background-color:#3b5998;border-color:rgba(0,0,0,0.2)}.btn-facebook .badge{color:#3b5998;background-color:#fff}.btn-flickr{color:#fff;background-color:#ff0084;border-color:rgba(0,0,0,0.2)}.btn-flickr:hover,.btn-flickr:focus,.btn-flickr:active,.btn-flickr.active,.open>.dropdown-toggle.btn-flickr{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)}.btn-flickr:active,.btn-flickr.active,.open>.dropdown-toggle.btn-flickr{background-image:none}.btn-flickr.disabled,.btn-flickr[disabled],fieldset[disabled] .btn-flickr,.btn-flickr.disabled:hover,.btn-flickr[disabled]:hover,fieldset[disabled] .btn-flickr:hover,.btn-flickr.disabled:focus,.btn-flickr[disabled]:focus,fieldset[disabled] .btn-flickr:focus,.btn-flickr.disabled:active,.btn-flickr[disabled]:active,fieldset[disabled] .btn-flickr:active,.btn-flickr.disabled.active,.btn-flickr[disabled].active,fieldset[disabled] .btn-flickr.active{background-color:#ff0084;border-color:rgba(0,0,0,0.2)}.btn-flickr .badge{color:#ff0084;background-color:#fff}.btn-foursquare{color:#fff;background-color:#f94877;border-color:rgba(0,0,0,0.2)}.btn-foursquare:hover,.btn-foursquare:focus,.btn-foursquare:active,.btn-foursquare.active,.open>.dropdown-toggle.btn-foursquare{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)}.btn-foursquare:active,.btn-foursquare.active,.open>.dropdown-toggle.btn-foursquare{background-image:none}.btn-foursquare.disabled,.btn-foursquare[disabled],fieldset[disabled] .btn-foursquare,.btn-foursquare.disabled:hover,.btn-foursquare[disabled]:hover,fieldset[disabled] .btn-foursquare:hover,.btn-foursquare.disabled:focus,.btn-foursquare[disabled]:focus,fieldset[disabled] .btn-foursquare:focus,.btn-foursquare.disabled:active,.btn-foursquare[disabled]:active,fieldset[disabled] .btn-foursquare:active,.btn-foursquare.disabled.active,.btn-foursquare[disabled].active,fieldset[disabled] .btn-foursquare.active{background-color:#f94877;border-color:rgba(0,0,0,0.2)}.btn-foursquare .badge{color:#f94877;background-color:#fff}.btn-github{color:#fff;background-color:#444;border-color:rgba(0,0,0,0.2)}.btn-github:hover,.btn-github:focus,.btn-github:active,.btn-github.active,.open>.dropdown-toggle.btn-github{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)}.btn-github:active,.btn-github.active,.open>.dropdown-toggle.btn-github{background-image:none}.btn-github.disabled,.btn-github[disabled],fieldset[disabled] .btn-github,.btn-github.disabled:hover,.btn-github[disabled]:hover,fieldset[disabled] .btn-github:hover,.btn-github.disabled:focus,.btn-github[disabled]:focus,fieldset[disabled] .btn-github:focus,.btn-github.disabled:active,.btn-github[disabled]:active,fieldset[disabled] .btn-github:active,.btn-github.disabled.active,.btn-github[disabled].active,fieldset[disabled] .btn-github.active{background-color:#444;border-color:rgba(0,0,0,0.2)}.btn-github .badge{color:#444;background-color:#fff}.btn-google-plus{color:#fff;background-color:#dd4b39;border-color:rgba(0,0,0,0.2)}.btn-google-plus:hover,.btn-google-plus:focus,.btn-google-plus:active,.btn-google-plus.active,.open>.dropdown-toggle.btn-google-plus{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)}.btn-google-plus:active,.btn-google-plus.active,.open>.dropdown-toggle.btn-google-plus{background-image:none}.btn-google-plus.disabled,.btn-google-plus[disabled],fieldset[disabled] .btn-google-plus,.btn-google-plus.disabled:hover,.btn-google-plus[disabled]:hover,fieldset[disabled] .btn-google-plus:hover,.btn-google-plus.disabled:focus,.btn-google-plus[disabled]:focus,fieldset[disabled] .btn-google-plus:focus,.btn-google-plus.disabled:active,.btn-google-plus[disabled]:active,fieldset[disabled] .btn-google-plus:active,.btn-google-plus.disabled.active,.btn-google-plus[disabled].active,fieldset[disabled] .btn-google-plus.active{background-color:#dd4b39;border-color:rgba(0,0,0,0.2)}.btn-google-plus .badge{color:#dd4b39;background-color:#fff}.btn-instagram{color:#fff;background-color:#3f729b;border-color:rgba(0,0,0,0.2)}.btn-instagram:hover,.btn-instagram:focus,.btn-instagram:active,.btn-instagram.active,.open>.dropdown-toggle.btn-instagram{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)}.btn-instagram:active,.btn-instagram.active,.open>.dropdown-toggle.btn-instagram{background-image:none}.btn-instagram.disabled,.btn-instagram[disabled],fieldset[disabled] .btn-instagram,.btn-instagram.disabled:hover,.btn-instagram[disabled]:hover,fieldset[disabled] .btn-instagram:hover,.btn-instagram.disabled:focus,.btn-instagram[disabled]:focus,fieldset[disabled] .btn-instagram:focus,.btn-instagram.disabled:active,.btn-instagram[disabled]:active,fieldset[disabled] .btn-instagram:active,.btn-instagram.disabled.active,.btn-instagram[disabled].active,fieldset[disabled] .btn-instagram.active{background-color:#3f729b;border-color:rgba(0,0,0,0.2)}.btn-instagram .badge{color:#3f729b;background-color:#fff}.btn-linkedin{color:#fff;background-color:#007bb6;border-color:rgba(0,0,0,0.2)}.btn-linkedin:hover,.btn-linkedin:focus,.btn-linkedin:active,.btn-linkedin.active,.open>.dropdown-toggle.btn-linkedin{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)}.btn-linkedin:active,.btn-linkedin.active,.open>.dropdown-toggle.btn-linkedin{background-image:none}.btn-linkedin.disabled,.btn-linkedin[disabled],fieldset[disabled] .btn-linkedin,.btn-linkedin.disabled:hover,.btn-linkedin[disabled]:hover,fieldset[disabled] .btn-linkedin:hover,.btn-linkedin.disabled:focus,.btn-linkedin[disabled]:focus,fieldset[disabled] .btn-linkedin:focus,.btn-linkedin.disabled:active,.btn-linkedin[disabled]:active,fieldset[disabled] .btn-linkedin:active,.btn-linkedin.disabled.active,.btn-linkedin[disabled].active,fieldset[disabled] .btn-linkedin.active{background-color:#007bb6;border-color:rgba(0,0,0,0.2)}.btn-linkedin .badge{color:#007bb6;background-color:#fff}.btn-microsoft{color:#fff;background-color:#2672ec;border-color:rgba(0,0,0,0.2)}.btn-microsoft:hover,.btn-microsoft:focus,.btn-microsoft:active,.btn-microsoft.active,.open>.dropdown-toggle.btn-microsoft{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)}.btn-microsoft:active,.btn-microsoft.active,.open>.dropdown-toggle.btn-microsoft{background-image:none}.btn-microsoft.disabled,.btn-microsoft[disabled],fieldset[disabled] .btn-microsoft,.btn-microsoft.disabled:hover,.btn-microsoft[disabled]:hover,fieldset[disabled] .btn-microsoft:hover,.btn-microsoft.disabled:focus,.btn-microsoft[disabled]:focus,fieldset[disabled] .btn-microsoft:focus,.btn-microsoft.disabled:active,.btn-microsoft[disabled]:active,fieldset[disabled] .btn-microsoft:active,.btn-microsoft.disabled.active,.btn-microsoft[disabled].active,fieldset[disabled] .btn-microsoft.active{background-color:#2672ec;border-color:rgba(0,0,0,0.2)}.btn-microsoft .badge{color:#2672ec;background-color:#fff}.btn-openid{color:#fff;background-color:#f7931e;border-color:rgba(0,0,0,0.2)}.btn-openid:hover,.btn-openid:focus,.btn-openid:active,.btn-openid.active,.open>.dropdown-toggle.btn-openid{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)}.btn-openid:active,.btn-openid.active,.open>.dropdown-toggle.btn-openid{background-image:none}.btn-openid.disabled,.btn-openid[disabled],fieldset[disabled] .btn-openid,.btn-openid.disabled:hover,.btn-openid[disabled]:hover,fieldset[disabled] .btn-openid:hover,.btn-openid.disabled:focus,.btn-openid[disabled]:focus,fieldset[disabled] .btn-openid:focus,.btn-openid.disabled:active,.btn-openid[disabled]:active,fieldset[disabled] .btn-openid:active,.btn-openid.disabled.active,.btn-openid[disabled].active,fieldset[disabled] .btn-openid.active{background-color:#f7931e;border-color:rgba(0,0,0,0.2)}.btn-openid .badge{color:#f7931e;background-color:#fff}.btn-pinterest{color:#fff;background-color:#cb2027;border-color:rgba(0,0,0,0.2)}.btn-pinterest:hover,.btn-pinterest:focus,.btn-pinterest:active,.btn-pinterest.active,.open>.dropdown-toggle.btn-pinterest{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)}.btn-pinterest:active,.btn-pinterest.active,.open>.dropdown-toggle.btn-pinterest{background-image:none}.btn-pinterest.disabled,.btn-pinterest[disabled],fieldset[disabled] .btn-pinterest,.btn-pinterest.disabled:hover,.btn-pinterest[disabled]:hover,fieldset[disabled] .btn-pinterest:hover,.btn-pinterest.disabled:focus,.btn-pinterest[disabled]:focus,fieldset[disabled] .btn-pinterest:focus,.btn-pinterest.disabled:active,.btn-pinterest[disabled]:active,fieldset[disabled] .btn-pinterest:active,.btn-pinterest.disabled.active,.btn-pinterest[disabled].active,fieldset[disabled] .btn-pinterest.active{background-color:#cb2027;border-color:rgba(0,0,0,0.2)}.btn-pinterest .badge{color:#cb2027;background-color:#fff}.btn-reddit{color:#000;background-color:#eff7ff;border-color:rgba(0,0,0,0.2)}.btn-reddit:hover,.btn-reddit:focus,.btn-reddit:active,.btn-reddit.active,.open>.dropdown-toggle.btn-reddit{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)}.btn-reddit:active,.btn-reddit.active,.open>.dropdown-toggle.btn-reddit{background-image:none}.btn-reddit.disabled,.btn-reddit[disabled],fieldset[disabled] .btn-reddit,.btn-reddit.disabled:hover,.btn-reddit[disabled]:hover,fieldset[disabled] .btn-reddit:hover,.btn-reddit.disabled:focus,.btn-reddit[disabled]:focus,fieldset[disabled] .btn-reddit:focus,.btn-reddit.disabled:active,.btn-reddit[disabled]:active,fieldset[disabled] .btn-reddit:active,.btn-reddit.disabled.active,.btn-reddit[disabled].active,fieldset[disabled] .btn-reddit.active{background-color:#eff7ff;border-color:rgba(0,0,0,0.2)}.btn-reddit .badge{color:#eff7ff;background-color:#000}.btn-soundcloud{color:#fff;background-color:#f50;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:hover,.btn-soundcloud:focus,.btn-soundcloud:active,.btn-soundcloud.active,.open>.dropdown-toggle.btn-soundcloud{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:active,.btn-soundcloud.active,.open>.dropdown-toggle.btn-soundcloud{background-image:none}.btn-soundcloud.disabled,.btn-soundcloud[disabled],fieldset[disabled] .btn-soundcloud,.btn-soundcloud.disabled:hover,.btn-soundcloud[disabled]:hover,fieldset[disabled] .btn-soundcloud:hover,.btn-soundcloud.disabled:focus,.btn-soundcloud[disabled]:focus,fieldset[disabled] .btn-soundcloud:focus,.btn-soundcloud.disabled:active,.btn-soundcloud[disabled]:active,fieldset[disabled] .btn-soundcloud:active,.btn-soundcloud.disabled.active,.btn-soundcloud[disabled].active,fieldset[disabled] .btn-soundcloud.active{background-color:#f50;border-color:rgba(0,0,0,0.2)}.btn-soundcloud .badge{color:#f50;background-color:#fff}.btn-tumblr{color:#fff;background-color:#2c4762;border-color:rgba(0,0,0,0.2)}.btn-tumblr:hover,.btn-tumblr:focus,.btn-tumblr:active,.btn-tumblr.active,.open>.dropdown-toggle.btn-tumblr{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)}.btn-tumblr:active,.btn-tumblr.active,.open>.dropdown-toggle.btn-tumblr{background-image:none}.btn-tumblr.disabled,.btn-tumblr[disabled],fieldset[disabled] .btn-tumblr,.btn-tumblr.disabled:hover,.btn-tumblr[disabled]:hover,fieldset[disabled] .btn-tumblr:hover,.btn-tumblr.disabled:focus,.btn-tumblr[disabled]:focus,fieldset[disabled] .btn-tumblr:focus,.btn-tumblr.disabled:active,.btn-tumblr[disabled]:active,fieldset[disabled] .btn-tumblr:active,.btn-tumblr.disabled.active,.btn-tumblr[disabled].active,fieldset[disabled] .btn-tumblr.active{background-color:#2c4762;border-color:rgba(0,0,0,0.2)}.btn-tumblr .badge{color:#2c4762;background-color:#fff}.btn-twitter{color:#fff;background-color:#55acee;border-color:rgba(0,0,0,0.2)}.btn-twitter:hover,.btn-twitter:focus,.btn-twitter:active,.btn-twitter.active,.open>.dropdown-toggle.btn-twitter{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)}.btn-twitter:active,.btn-twitter.active,.open>.dropdown-toggle.btn-twitter{background-image:none}.btn-twitter.disabled,.btn-twitter[disabled],fieldset[disabled] .btn-twitter,.btn-twitter.disabled:hover,.btn-twitter[disabled]:hover,fieldset[disabled] .btn-twitter:hover,.btn-twitter.disabled:focus,.btn-twitter[disabled]:focus,fieldset[disabled] .btn-twitter:focus,.btn-twitter.disabled:active,.btn-twitter[disabled]:active,fieldset[disabled] .btn-twitter:active,.btn-twitter.disabled.active,.btn-twitter[disabled].active,fieldset[disabled] .btn-twitter.active{background-color:#55acee;border-color:rgba(0,0,0,0.2)}.btn-twitter .badge{color:#55acee;background-color:#fff}.btn-vimeo{color:#fff;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2)}.btn-vimeo:hover,.btn-vimeo:focus,.btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)}.btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{background-image:none}.btn-vimeo.disabled,.btn-vimeo[disabled],fieldset[disabled] .btn-vimeo,.btn-vimeo.disabled:hover,.btn-vimeo[disabled]:hover,fieldset[disabled] .btn-vimeo:hover,.btn-vimeo.disabled:focus,.btn-vimeo[disabled]:focus,fieldset[disabled] .btn-vimeo:focus,.btn-vimeo.disabled:active,.btn-vimeo[disabled]:active,fieldset[disabled] .btn-vimeo:active,.btn-vimeo.disabled.active,.btn-vimeo[disabled].active,fieldset[disabled] .btn-vimeo.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2)}.btn-vimeo .badge{color:#1ab7ea;background-color:#fff}.btn-vk{color:#fff;background-color:#587ea3;border-color:rgba(0,0,0,0.2)}.btn-vk:hover,.btn-vk:focus,.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)}.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{background-image:none}.btn-vk.disabled,.btn-vk[disabled],fieldset[disabled] .btn-vk,.btn-vk.disabled:hover,.btn-vk[disabled]:hover,fieldset[disabled] .btn-vk:hover,.btn-vk.disabled:focus,.btn-vk[disabled]:focus,fieldset[disabled] .btn-vk:focus,.btn-vk.disabled:active,.btn-vk[disabled]:active,fieldset[disabled] .btn-vk:active,.btn-vk.disabled.active,.btn-vk[disabled].active,fieldset[disabled] .btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2)}.btn-vk .badge{color:#587ea3;background-color:#fff}.btn-yahoo{color:#fff;background-color:#720e9e;border-color:rgba(0,0,0,0.2)}.btn-yahoo:hover,.btn-yahoo:focus,.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)}.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{background-image:none}.btn-yahoo.disabled,.btn-yahoo[disabled],fieldset[disabled] .btn-yahoo,.btn-yahoo.disabled:hover,.btn-yahoo[disabled]:hover,fieldset[disabled] .btn-yahoo:hover,.btn-yahoo.disabled:focus,.btn-yahoo[disabled]:focus,fieldset[disabled] .btn-yahoo:focus,.btn-yahoo.disabled:active,.btn-yahoo[disabled]:active,fieldset[disabled] .btn-yahoo:active,.btn-yahoo.disabled.active,.btn-yahoo[disabled].active,fieldset[disabled] .btn-yahoo.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2)}.btn-yahoo .badge{color:#720e9e;background-color:#fff} \ No newline at end of file diff --git a/styles/bootstrap.cerulean.min.css b/styles/bootstrap.cerulean.min.css new file mode 100644 index 0000000..968758d --- /dev/null +++ b/styles/bootstrap.cerulean.min.css @@ -0,0 +1,7 @@ +/*! + * bootswatch v3.3.2 + * Homepage: http://bootswatch.com + * Copyright 2012-2015 Thomas Park + * Licensed under MIT + * Based on Bootstrap +*//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,*:before,*:after{background:transparent !important;color:#000 !important;-webkit-box-shadow:none !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff !important}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table td,.table th{background-color:#fff !important}.table-bordered th,.table-bordered td{border:1px solid #ddd !important}}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before,.glyphicon-eur:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#555555;background-color:#ffffff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#2fa4e7;text-decoration:none}a:hover,a:focus{color:#157ab5;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#ffffff;border:1px solid #dddddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eeeeee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:#317eac}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999999}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}mark,.mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#999999}.text-primary{color:#2fa4e7}a.text-primary:hover{color:#178acc}.text-success{color:#468847}a.text-success:hover{color:#356635}.text-info{color:#3a87ad}a.text-info:hover{color:#2d6987}.text-warning{color:#c09853}a.text-warning:hover{color:#a47e3c}.text-danger{color:#b94a48}a.text-danger:hover{color:#953b39}.bg-primary{color:#fff;background-color:#2fa4e7}a.bg-primary:hover{background-color:#178acc}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eeeeee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:bold}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eeeeee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#999999}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0;text-align:right}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#ffffff;background-color:#333333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25)}kbd kbd{padding:0;font-size:100%;font-weight:bold;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333333;background-color:#f5f5f5;border:1px solid #cccccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0%}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0%}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0%}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0%}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#999999;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #dddddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #dddddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #dddddd}.table .table{background-color:#ffffff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:0.01%}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #dddddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#555555;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}input[type="range"]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:9px;font-size:14px;line-height:1.42857143;color:#555555}.form-control{display:block;width:100%;height:38px;padding:8px 12px;font-size:14px;line-height:1.42857143;color:#555555;background-color:#ffffff;background-image:none;border:1px solid #cccccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control::-moz-placeholder{color:#999999;opacity:1}.form-control:-ms-input-placeholder{color:#999999}.form-control::-webkit-input-placeholder{color:#999999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eeeeee;opacity:1}textarea.form-control{height:auto}input[type="search"]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type="date"],input[type="time"],input[type="datetime-local"],input[type="month"]{line-height:38px}input[type="date"].input-sm,input[type="time"].input-sm,input[type="datetime-local"].input-sm,input[type="month"].input-sm,.input-group-sm input[type="date"],.input-group-sm input[type="time"],.input-group-sm input[type="datetime-local"],.input-group-sm input[type="month"]{line-height:30px}input[type="date"].input-lg,input[type="time"].input-lg,input[type="datetime-local"].input-lg,input[type="month"].input-lg,.input-group-lg input[type="date"],.input-group-lg input[type="time"],.input-group-lg input[type="datetime-local"],.input-group-lg input[type="month"]{line-height:54px}}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{position:absolute;margin-left:-20px;margin-top:4px \9}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:normal;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"].disabled,input[type="checkbox"].disabled,fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"]{cursor:not-allowed}.radio-inline.disabled,.checkbox-inline.disabled,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,.checkbox.disabled label,fieldset[disabled] .radio label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static{padding-top:9px;padding-bottom:9px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.form-group-sm .form-control{height:30px;line-height:30px}textarea.form-group-sm .form-control,select[multiple].form-group-sm .form-control{height:auto}.form-group-sm .form-control-static{height:30px;padding:5px 10px;font-size:12px;line-height:1.5}.input-lg{height:54px;padding:14px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:54px;line-height:54px}textarea.input-lg,select[multiple].input-lg{height:auto}.form-group-lg .form-control{height:54px;padding:14px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.form-group-lg .form-control{height:54px;line-height:54px}textarea.form-group-lg .form-control,select[multiple].form-group-lg .form-control{height:auto}.form-group-lg .form-control-static{height:54px;padding:14px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:47.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:38px;height:38px;line-height:38px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback{width:54px;height:54px;line-height:54px}.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline,.has-success.radio label,.has-success.checkbox label,.has-success.radio-inline label,.has-success.checkbox-inline label{color:#468847}.has-success .form-control{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.has-success .input-group-addon{color:#468847;border-color:#468847;background-color:#dff0d8}.has-success .form-control-feedback{color:#468847}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline,.has-warning.radio label,.has-warning.checkbox label,.has-warning.radio-inline label,.has-warning.checkbox-inline label{color:#c09853}.has-warning .form-control{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.has-warning .input-group-addon{color:#c09853;border-color:#c09853;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#c09853}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline,.has-error.radio label,.has-error.checkbox label,.has-error.radio-inline label,.has-error.checkbox-inline label{color:#b94a48}.has-error .form-control{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.has-error .input-group-addon{color:#b94a48;border-color:#b94a48;background-color:#f2dede}.has-error .form-control-feedback{color:#b94a48}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#959595}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:9px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:29px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}@media (min-width:768px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:9px}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:19.6666662px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px}}.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:8px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn.active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#555555;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#555555;background-color:#ffffff;border-color:rgba(0,0,0,0.1)}.btn-default:hover,.btn-default:focus,.btn-default.focus,.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#555555;background-color:#e6e6e6;border-color:rgba(0,0,0,0.1)}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled.focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default.focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#ffffff;border-color:rgba(0,0,0,0.1)}.btn-default .badge{color:#ffffff;background-color:#555555}.btn-primary{color:#ffffff;background-color:#2fa4e7;border-color:#2fa4e7}.btn-primary:hover,.btn-primary:focus,.btn-primary.focus,.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#ffffff;background-color:#178acc;border-color:#1684c2}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled.focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#2fa4e7;border-color:#2fa4e7}.btn-primary .badge{color:#2fa4e7;background-color:#ffffff}.btn-success{color:#ffffff;background-color:#73a839;border-color:#73a839}.btn-success:hover,.btn-success:focus,.btn-success.focus,.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#ffffff;background-color:#59822c;border-color:#547a29}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled.focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success.focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#73a839;border-color:#73a839}.btn-success .badge{color:#73a839;background-color:#ffffff}.btn-info{color:#ffffff;background-color:#033c73;border-color:#033c73}.btn-info:hover,.btn-info:focus,.btn-info.focus,.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#ffffff;background-color:#022241;border-color:#011d37}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled.focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info.focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#033c73;border-color:#033c73}.btn-info .badge{color:#033c73;background-color:#ffffff}.btn-warning{color:#ffffff;background-color:#dd5600;border-color:#dd5600}.btn-warning:hover,.btn-warning:focus,.btn-warning.focus,.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#ffffff;background-color:#aa4200;border-color:#a03e00}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled.focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning.focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#dd5600;border-color:#dd5600}.btn-warning .badge{color:#dd5600;background-color:#ffffff}.btn-danger{color:#ffffff;background-color:#c71c22;border-color:#c71c22}.btn-danger:hover,.btn-danger:focus,.btn-danger.focus,.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#ffffff;background-color:#9a161a;border-color:#911419}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled.focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger.focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#c71c22;border-color:#c71c22}.btn-danger .badge{color:#c71c22;background-color:#ffffff}.btn-link{color:#2fa4e7;font-weight:normal;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#157ab5;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999999;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:14px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1}.collapse{display:none;visibility:hidden}.collapse.in{display:block;visibility:visible}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height, visibility;-o-transition-property:height, visibility;transition-property:height, visibility;-webkit-transition-duration:0.35s;-o-transition-duration:0.35s;transition-duration:0.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropup,.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#ffffff;border:1px solid #cccccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);-webkit-background-clip:padding-box;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.42857143;color:#333333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#ffffff;background-color:#2fa4e7}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#ffffff;text-decoration:none;outline:0;background-color:#2fa4e7}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#999999;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle="buttons"]>.btn input[type="radio"],[data-toggle="buttons"]>.btn-group>.btn input[type="radio"],[data-toggle="buttons"]>.btn input[type="checkbox"],[data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:54px;padding:14px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:54px;line-height:54px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:8px 12px;font-size:14px;font-weight:normal;line-height:1;color:#555555;text-align:center;background-color:#eeeeee;border:1px solid #cccccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:14px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eeeeee}.nav>li.disabled>a{color:#999999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999999;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eeeeee;border-color:#2fa4e7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #dddddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555555;background-color:#ffffff;border:1px solid #dddddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #dddddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #dddddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#ffffff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#ffffff;background-color:#2fa4e7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #dddddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #dddddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#ffffff}}.tab-content>.tab-pane{display:none;visibility:hidden}.tab-content>.active{display:block;visibility:visible}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block !important;visibility:visible !important;height:auto !important;padding-bottom:0;overflow:visible !important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:200px}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px;height:50px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);margin-top:6px;margin-bottom:6px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn,.navbar-form .input-group .form-control{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .radio label,.navbar-form .checkbox label{padding-left:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:6px;margin-bottom:6px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}}@media (min-width:768px){.navbar-left{float:left !important}.navbar-right{float:right !important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#2fa4e7;border-color:#1995dc}.navbar-default .navbar-brand{color:#ffffff}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#ffffff;background-color:none}.navbar-default .navbar-text{color:#dddddd}.navbar-default .navbar-nav>li>a{color:#ffffff}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#ffffff;background-color:#178acc}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#ffffff;background-color:#178acc}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#dddddd;background-color:transparent}.navbar-default .navbar-toggle{border-color:#178acc}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#178acc}.navbar-default .navbar-toggle .icon-bar{background-color:#ffffff}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#1995dc}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#178acc;color:#ffffff}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#ffffff}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#ffffff;background-color:#178acc}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#ffffff;background-color:#178acc}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#dddddd;background-color:transparent}}.navbar-default .navbar-link{color:#ffffff}.navbar-default .navbar-link:hover{color:#ffffff}.navbar-default .btn-link{color:#ffffff}.navbar-default .btn-link:hover,.navbar-default .btn-link:focus{color:#ffffff}.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:hover,.navbar-default .btn-link[disabled]:focus,fieldset[disabled] .navbar-default .btn-link:focus{color:#dddddd}.navbar-inverse{background-color:#033c73;border-color:#022f5a}.navbar-inverse .navbar-brand{color:#ffffff}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#ffffff;background-color:none}.navbar-inverse .navbar-text{color:#ffffff}.navbar-inverse .navbar-nav>li>a{color:#ffffff}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#ffffff;background-color:#022f5a}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#ffffff;background-color:#022f5a}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#cccccc;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#022f5a}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#022f5a}.navbar-inverse .navbar-toggle .icon-bar{background-color:#ffffff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#022a50}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#022f5a;color:#ffffff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#022f5a}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#022f5a}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#ffffff}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#ffffff;background-color:#022f5a}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#ffffff;background-color:#022f5a}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#cccccc;background-color:transparent}}.navbar-inverse .navbar-link{color:#ffffff}.navbar-inverse .navbar-link:hover{color:#ffffff}.navbar-inverse .btn-link{color:#ffffff}.navbar-inverse .btn-link:hover,.navbar-inverse .btn-link:focus{color:#ffffff}.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:hover,.navbar-inverse .btn-link[disabled]:focus,fieldset[disabled] .navbar-inverse .btn-link:focus{color:#cccccc}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#cccccc}.breadcrumb>.active{color:#999999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:8px 12px;line-height:1.42857143;text-decoration:none;color:#2fa4e7;background-color:#ffffff;border:1px solid #dddddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{color:#157ab5;background-color:#eeeeee;border-color:#dddddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#999999;background-color:#f5f5f5;border-color:#dddddd;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999999;background-color:#ffffff;border-color:#dddddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:14px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#ffffff;border:1px solid #dddddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eeeeee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999999;background-color:#ffffff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#ffffff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{color:#ffffff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#2fa4e7}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#178acc}.label-success{background-color:#73a839}.label-success[href]:hover,.label-success[href]:focus{background-color:#59822c}.label-info{background-color:#033c73}.label-info[href]:hover,.label-info[href]:focus{background-color:#022241}.label-warning{background-color:#dd5600}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#aa4200}.label-danger{background-color:#c71c22}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#9a161a}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;color:#ffffff;line-height:1;vertical-align:baseline;white-space:nowrap;text-align:center;background-color:#2fa4e7;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#ffffff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#2fa4e7;background-color:#ffffff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px 15px;margin-bottom:30px;color:inherit;background-color:#eeeeee}.jumbotron h1,.jumbotron .h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding:48px 0}.container .jumbotron,.container-fluid .jumbotron{padding-left:60px;padding-right:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#ffffff;border:1px solid #dddddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#2fa4e7}.thumbnail .caption{padding:9px;color:#555555}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#356635}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#2d6987}.alert-warning{background-color:#fcf8e3;border-color:#fbeed5;color:#c09853}.alert-warning hr{border-top-color:#f8e5be}.alert-warning .alert-link{color:#a47e3c}.alert-danger{background-color:#f2dede;border-color:#eed3d7;color:#b94a48}.alert-danger hr{border-top-color:#e6c1c7}.alert-danger .alert-link{color:#953b39}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0%;height:100%;font-size:12px;line-height:20px;color:#ffffff;text-align:center;background-color:#2fa4e7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#73a839}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-info{background-color:#033c73}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-warning{background-color:#dd5600}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-danger{background-color:#c71c22}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-left,.media-right,.media-body{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#ffffff;border:1px solid #dddddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item{color:#555555}a.list-group-item .list-group-item-heading{color:#333333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;color:#555555;background-color:#f5f5f5}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{background-color:#eeeeee;color:#999999;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#999999}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#ffffff;background-color:#2fa4e7;border-color:#2fa4e7}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#e6f4fc}.list-group-item-success{color:#468847;background-color:#dff0d8}a.list-group-item-success{color:#468847}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus{color:#468847;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus{color:#fff;background-color:#468847;border-color:#468847}.list-group-item-info{color:#3a87ad;background-color:#d9edf7}a.list-group-item-info{color:#3a87ad}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus{color:#3a87ad;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus{color:#fff;background-color:#3a87ad;border-color:#3a87ad}.list-group-item-warning{color:#c09853;background-color:#fcf8e3}a.list-group-item-warning{color:#c09853}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus{color:#c09853;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus{color:#fff;background-color:#c09853;border-color:#c09853}.list-group-item-danger{color:#b94a48;background-color:#f2dede}a.list-group-item-danger{color:#b94a48}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus{color:#b94a48;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus{color:#fff;background-color:#b94a48;border-color:#b94a48}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#ffffff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a,.panel-title>small,.panel-title>.small,.panel-title>small>a,.panel-title>.small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #dddddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table caption,.panel>.table-responsive>.table caption,.panel>.panel-collapse>.table caption{padding-left:15px;padding-right:15px}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #dddddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body,.panel-group .panel-heading+.panel-collapse>.list-group{border-top:1px solid #dddddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #dddddd}.panel-default{border-color:#dddddd}.panel-default>.panel-heading{color:#555555;background-color:#f5f5f5;border-color:#dddddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#dddddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#555555}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#dddddd}.panel-primary{border-color:#dddddd}.panel-primary>.panel-heading{color:#ffffff;background-color:#2fa4e7;border-color:#dddddd}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#dddddd}.panel-primary>.panel-heading .badge{color:#2fa4e7;background-color:#ffffff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#dddddd}.panel-success{border-color:#dddddd}.panel-success>.panel-heading{color:#468847;background-color:#73a839;border-color:#dddddd}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#dddddd}.panel-success>.panel-heading .badge{color:#73a839;background-color:#468847}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#dddddd}.panel-info{border-color:#dddddd}.panel-info>.panel-heading{color:#3a87ad;background-color:#033c73;border-color:#dddddd}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#dddddd}.panel-info>.panel-heading .badge{color:#033c73;background-color:#3a87ad}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#dddddd}.panel-warning{border-color:#dddddd}.panel-warning>.panel-heading{color:#c09853;background-color:#dd5600;border-color:#dddddd}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#dddddd}.panel-warning>.panel-heading .badge{color:#dd5600;background-color:#c09853}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#dddddd}.panel-danger{border-color:#dddddd}.panel-danger>.panel-heading{color:#b94a48;background-color:#c71c22;border-color:#dddddd}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#dddddd}.panel-danger>.panel-heading .badge{color:#c71c22;background-color:#b94a48}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#dddddd}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive iframe,.embed-responsive embed,.embed-responsive object,.embed-responsive video{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;border:0}.embed-responsive.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000000;text-decoration:none;cursor:pointer;opacity:0.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);-o-transform:translate(0, -25%);transform:translate(0, -25%);-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#ffffff;border:1px solid #999999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);-webkit-background-clip:padding-box;background-clip:padding-box;outline:0}.modal-backdrop{position:absolute;top:0;right:0;left:0;background-color:#000000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:0.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.42857143px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:20px}.modal-footer{padding:20px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;visibility:visible;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:normal;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:0.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;text-decoration:none;background-color:rgba(0,0,0,0.9);border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:rgba(0,0,0,0.9)}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:rgba(0,0,0,0.9)}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:rgba(0,0,0,0.9)}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:rgba(0,0,0,0.9)}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:rgba(0,0,0,0.9)}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:rgba(0,0,0,0.9)}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:rgba(0,0,0,0.9)}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:rgba(0,0,0,0.9)}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:normal;line-height:1.42857143;text-align:left;background-color:#ffffff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #cccccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);white-space:normal}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999999;border-top-color:rgba(0,0,0,0.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#ffffff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999999;border-right-color:rgba(0,0,0,0.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#ffffff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999999;border-bottom-color:rgba(0,0,0,0.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#ffffff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999999;border-left-color:rgba(0,0,0,0.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#ffffff;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000}.carousel-inner>.item.next,.carousel-inner>.item.active.right{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);left:0}.carousel-inner>.item.prev,.carousel-inner>.item.active.left{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);left:0}.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right,.carousel-inner>.item.active{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:0.5;filter:alpha(opacity=50);font-size:20px;color:#ffffff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-control.left{background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-image:-webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.5)), to(rgba(0,0,0,0.0001)));background-image:linear-gradient(to right, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-image:-webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.0001)), to(rgba(0,0,0,0.5)));background-image:linear-gradient(to right, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:0;color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%;margin-left:-10px}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%;margin-right:-10px}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;line-height:1;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #ffffff;border-radius:10px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0)}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#ffffff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#ffffff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.clearfix:after,.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important;visibility:hidden !important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none !important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none !important}@media (max-width:767px){.visible-xs{display:block !important}table.visible-xs{display:table}tr.visible-xs{display:table-row !important}th.visible-xs,td.visible-xs{display:table-cell !important}}@media (max-width:767px){.visible-xs-block{display:block !important}}@media (max-width:767px){.visible-xs-inline{display:inline !important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block !important}table.visible-sm{display:table}tr.visible-sm{display:table-row !important}th.visible-sm,td.visible-sm{display:table-cell !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block !important}table.visible-md{display:table}tr.visible-md{display:table-row !important}th.visible-md,td.visible-md{display:table-cell !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block !important}}@media (min-width:1200px){.visible-lg{display:block !important}table.visible-lg{display:table}tr.visible-lg{display:table-row !important}th.visible-lg,td.visible-lg{display:table-cell !important}}@media (min-width:1200px){.visible-lg-block{display:block !important}}@media (min-width:1200px){.visible-lg-inline{display:inline !important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block !important}}@media (max-width:767px){.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important}}.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table}tr.visible-print{display:table-row !important}th.visible-print,td.visible-print{display:table-cell !important}}.visible-print-block{display:none !important}@media print{.visible-print-block{display:block !important}}.visible-print-inline{display:none !important}@media print{.visible-print-inline{display:inline !important}}.visible-print-inline-block{display:none !important}@media print{.visible-print-inline-block{display:inline-block !important}}@media print{.hidden-print{display:none !important}}.navbar{background-image:-webkit-linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);background-image:-o-linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);background-image:-webkit-gradient(linear, left top, left bottom, from(#54b4eb), color-stop(60%, #2fa4e7), to(#1d9ce5));background-image:linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff54b4eb', endColorstr='#ff1d9ce5', GradientType=0);border-bottom:1px solid #178acc;-webkit-filter:none;filter:none;-webkit-box-shadow:0 1px 10px rgba(0,0,0,0.1);box-shadow:0 1px 10px rgba(0,0,0,0.1)}.navbar-default .badge{background-color:#fff;color:#2fa4e7}.navbar-inverse{background-image:-webkit-linear-gradient(#04519b, #044687 60%, #033769);background-image:-o-linear-gradient(#04519b, #044687 60%, #033769);background-image:-webkit-gradient(linear, left top, left bottom, from(#04519b), color-stop(60%, #044687), to(#033769));background-image:linear-gradient(#04519b, #044687 60%, #033769);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff04519b', endColorstr='#ff033769', GradientType=0);-webkit-filter:none;filter:none;border-bottom:1px solid #022241}.navbar-inverse .badge{background-color:#fff;color:#033c73}.navbar .navbar-nav>li>a,.navbar-brand{text-shadow:0 1px 0 rgba(0,0,0,0.1)}@media (max-width:767px){.navbar .dropdown-header{color:#fff}}.btn{text-shadow:0 1px 0 rgba(0,0,0,0.1)}.btn .caret{border-top-color:#fff}.btn-default{background-image:-webkit-linear-gradient(#fff, #fff 60%, #f5f5f5);background-image:-o-linear-gradient(#fff, #fff 60%, #f5f5f5);background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(60%, #fff), to(#f5f5f5));background-image:linear-gradient(#fff, #fff 60%, #f5f5f5);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff5f5f5', GradientType=0);-webkit-filter:none;filter:none;border-bottom:1px solid #e6e6e6}.btn-default:hover{color:#555555}.btn-default .caret{border-top-color:#555555}.btn-default{background-image:-webkit-linear-gradient(#fff, #fff 60%, #f5f5f5);background-image:-o-linear-gradient(#fff, #fff 60%, #f5f5f5);background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(60%, #fff), to(#f5f5f5));background-image:linear-gradient(#fff, #fff 60%, #f5f5f5);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff5f5f5', GradientType=0);-webkit-filter:none;filter:none;border-bottom:1px solid #e6e6e6}.btn-primary{background-image:-webkit-linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);background-image:-o-linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);background-image:-webkit-gradient(linear, left top, left bottom, from(#54b4eb), color-stop(60%, #2fa4e7), to(#1d9ce5));background-image:linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff54b4eb', endColorstr='#ff1d9ce5', GradientType=0);-webkit-filter:none;filter:none;border-bottom:1px solid #178acc}.btn-success{background-image:-webkit-linear-gradient(#88c149, #73a839 60%, #699934);background-image:-o-linear-gradient(#88c149, #73a839 60%, #699934);background-image:-webkit-gradient(linear, left top, left bottom, from(#88c149), color-stop(60%, #73a839), to(#699934));background-image:linear-gradient(#88c149, #73a839 60%, #699934);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff88c149', endColorstr='#ff699934', GradientType=0);-webkit-filter:none;filter:none;border-bottom:1px solid #59822c}.btn-info{background-image:-webkit-linear-gradient(#04519b, #033c73 60%, #02325f);background-image:-o-linear-gradient(#04519b, #033c73 60%, #02325f);background-image:-webkit-gradient(linear, left top, left bottom, from(#04519b), color-stop(60%, #033c73), to(#02325f));background-image:linear-gradient(#04519b, #033c73 60%, #02325f);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff04519b', endColorstr='#ff02325f', GradientType=0);-webkit-filter:none;filter:none;border-bottom:1px solid #022241}.btn-warning{background-image:-webkit-linear-gradient(#ff6707, #dd5600 60%, #c94e00);background-image:-o-linear-gradient(#ff6707, #dd5600 60%, #c94e00);background-image:-webkit-gradient(linear, left top, left bottom, from(#ff6707), color-stop(60%, #dd5600), to(#c94e00));background-image:linear-gradient(#ff6707, #dd5600 60%, #c94e00);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff6707', endColorstr='#ffc94e00', GradientType=0);-webkit-filter:none;filter:none;border-bottom:1px solid #aa4200}.btn-danger{background-image:-webkit-linear-gradient(#e12b31, #c71c22 60%, #b5191f);background-image:-o-linear-gradient(#e12b31, #c71c22 60%, #b5191f);background-image:-webkit-gradient(linear, left top, left bottom, from(#e12b31), color-stop(60%, #c71c22), to(#b5191f));background-image:linear-gradient(#e12b31, #c71c22 60%, #b5191f);background-repeat:no-repeat;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe12b31', endColorstr='#ffb5191f', GradientType=0);-webkit-filter:none;filter:none;border-bottom:1px solid #9a161a}.panel-primary .panel-heading,.panel-success .panel-heading,.panel-warning .panel-heading,.panel-danger .panel-heading,.panel-info .panel-heading,.panel-primary .panel-title,.panel-success .panel-title,.panel-warning .panel-title,.panel-danger .panel-title,.panel-info .panel-title{color:#fff} \ No newline at end of file diff --git a/styles/card.css b/styles/card.css new file mode 100644 index 0000000..bff4d23 --- /dev/null +++ b/styles/card.css @@ -0,0 +1,39 @@ +.cc-entry-fields { + margin: 10px auto; + width: 350px; +} +.cc-entry-field { + font: normal 14px/17px Arial; + padding: 8px; + float: left; +} +.cc-entry-field[name=number], +.cc-entry-field[name=name] { + width: 175px; + border: 1px solid #ccc; +} +.cc-entry-field[name=name] { + border-left: none; +} +.cc-entry-field[name=expiry], +.cc-entry-field[name=cvc] { + width: 87px; + border: 1px solid #ccc; + border-top: none; +} +.cc-entry-field[name=cvc] { + border-left: none; + width: 88px; +} +.cc-entry-field[name=submit] { + width: 175px; + background-color: #008cba; + color: #fff; + border: 1px solid #008cba; + border-top: none; + box-shadow: none; +} +.cc-entry-field[name=submit]:hover, +.cc-entry-field[name=submit]:focus { + background-color: #19ACDD; +} \ No newline at end of file diff --git a/styles/font-awesome.min.css b/styles/font-awesome.min.css new file mode 100644 index 0000000..449d6ac --- /dev/null +++ b/styles/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.0.3 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.0.3');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.3333333333333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.2857142857142858em;text-align:center}.fa-ul{padding-left:0;margin-left:2.142857142857143em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;top:.14285714285714285em;text-align:center}.fa-li.fa-lg{left:-1.8571428571428572em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0,mirror=1);-webkit-transform:scale(-1,1);-moz-transform:scale(-1,1);-ms-transform:scale(-1,1);-o-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2,mirror=1);-webkit-transform:scale(1,-1);-moz-transform:scale(1,-1);-ms-transform:scale(1,-1);-o-transform:scale(1,-1);transform:scale(1,-1)}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-asc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-desc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-reply-all:before{content:"\f122"}.fa-mail-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"} \ No newline at end of file diff --git a/styles/less.css b/styles/less.css new file mode 100644 index 0000000..d834a0d --- /dev/null +++ b/styles/less.css @@ -0,0 +1,540 @@ +.italic { + font-style: italic !important; +} +.bold, +.strong { + font-weight: bold !important; +} +.normal { + font-weight: normal !important; + text-transform: none !important; +} +.underline { + text-decoration: underline; +} +.lowercase { + text-transform: lowercase; +} +.capitalize { + text-transform: capitalize; +} +.uppercase { + text-transform: uppercase; +} +.tal, +.ta-left { + text-align: left !important; +} +.tac, +.ta-center { + text-align: center !important; +} +.tar, +.ta-right { + text-align: right !important; +} +.vab { + vertical-align: bottom; +} +.f10 { + font-size: 10px !important; +} +.f11 { + font-size: 11px !important; +} +.f12 { + font-size: 12px !important; + line-height: 18px; +} +.f14 { + font-size: 14px !important; +} +.f16 { + font-size: 16px !important; +} +.f18 { + font-size: 18px !important; +} +.f22 { + font-size: 22px !important; +} +.f26 { + font-size: 26px !important; +} +.o1 { + opacity: .1 !important; +} +.o2 { + opacity: .2 !important; +} +.o3 { + opacity: .3 !important; +} +.o4 { + opacity: .4 !important; +} +.o5 { + opacity: .5 !important; +} +.o6 { + opacity: .6 !important; +} +.o7 { + opacity: .7 !important; +} +.o8 { + opacity: .8 !important; +} +.o9 { + opacity: .9 !important; +} +.pad0 { + padding: 0 !important; +} +.pad10 { + padding: 10px !important; +} +.pad10tb { + padding-top: 10px !important; + padding-bottom: 10px !important; +} +.pad10t { + padding-top: 10px !important; +} +.pad10b { + padding-bottom: 10px !important; +} +.pad10lr { + padding-left: 10px !important; + padding-right: 10px !important; +} +.pad10l { + padding-left: 10px !important; +} +.pad10r { + padding-right: 10px !important; +} +.pad20 { + padding: 20px !important; +} +.pad20tb { + padding-top: 20px !important; + padding-bottom: 20px !important; +} +.pad20t { + padding-top: 20px !important; +} +.pad20b { + padding-bottom: 20px !important; +} +.pad20lr { + padding-left: 20px !important; + padding-right: 20px !important; +} +.pad20l { + padding-left: 20px !important; +} +.pad20r { + padding-right: 20px !important; +} +.pad30 { + padding: 30px !important; +} +.pad30tb { + padding-top: 30px !important; + padding-bottom: 30px !important; +} +.pad30t { + padding-top: 30px !important; +} +.pad30b { + padding-bottom: 30px !important; +} +.pad30lr { + padding-left: 30px !important; + padding-right: 30px !important; +} +.pad30l { + padding-left: 30px !important; +} +.pad30r { + padding-right: 30px !important; +} +.pad40 { + padding: 40px !important; +} +.pad40tb { + padding-top: 40px !important; + padding-bottom: 40px !important; +} +.pad40t { + padding-top: 40px !important; +} +.pad40b { + padding-bottom: 40px !important; +} +.pad40lr { + padding-left: 40px !important; + padding-right: 40px !important; +} +.pad40l { + padding-left: 40px !important; +} +.pad40r { + padding-right: 40px !important; +} +.mar0 { + margin: 0 !important; +} +.mar0a { + margin: 0 auto !important; +} +.mara { + margin-left: auto !important; + margin-right: auto !important; +} +.mar10 { + margin: 10px !important; +} +.mar10tb { + margin-top: 10px !important; + margin-bottom: 10px !important; +} +.mar10t { + margin-top: 10px !important; +} +.mar10b { + margin-bottom: 10px !important; +} +.mar10lr { + margin-left: 10px !important; + margin-right: 10px !important; +} +.mar10l { + margin-left: 10px !important; +} +.mar10r { + margin-right: 10px !important; +} +.mar20 { + margin: 20px !important; +} +.mar20tb { + margin-top: 20px !important; + margin-bottom: 20px !important; +} +.mar20t { + margin-top: 20px !important; +} +.mar20b { + margin-bottom: 20px !important; +} +.mar20lr { + margin-left: 20px !important; + margin-right: 20px !important; +} +.mar20l { + margin-left: 20px !important; +} +.mar20r { + margin-right: 20px !important; +} +.mar30 { + margin: 30px !important; +} +.mar30tb { + margin-top: 30px !important; + margin-bottom: 30px !important; +} +.mar30t { + margin-top: 30px !important; +} +.mar30b { + margin-bottom: 30px !important; +} +.mar30lr { + margin-left: 30px !important; + margin-right: 30px !important; +} +.mar30l { + margin-left: 30px !important; +} +.mar30r { + margin-right: 30px !important; +} +.mar50t { + margin-top: 50px !important; +} +.mar50b { + margin-bottom: 50px !important; +} +.max30 { + max-width: 30px !important; +} +.max50 { + max-width: 50px !important; +} +.max100 { + max-width: 100px !important; +} +.max200 { + max-width: 200px !important; +} +.max300 { + max-width: 300px !important; +} +.max350 { + max-width: 350px !important; +} +.max400 { + max-width: 400px !important; +} +.max500 { + max-width: 500px !important; +} +.max600 { + max-width: 600px !important; +} +.max768 { + max-width: 768px !important; +} +.max992 { + max-width: 992px !important; +} +.max1100 { + max-width: 1100px !important; +} +.maxfull { + max-width: 100% !important; +} +.full { + width: 100%; +} +.overflow { + overflow: auto; +} +.fr { + float: right !important; +} +.fl { + float: left; +} +.fn { + float: none; +} +.d-b, +.block { + display: block; +} +.d-i, +.inline { + display: inline; +} +.d-ib { + display: inline-block; +} +.d-n, +.none { + display: none !important; +} +.pr { + position: relative; +} +.pb { + position: absolute; + bottom: 0; +} +.pal { + left: 0; +} +.par { + right: 0; +} +.ps { + position: static; +} +.pointer { + cursor: pointer; +} +.hidden { + position: absolute !important; + left: -10000px; + top: -10000px; + visibility: hidden; +} +.ir { + display: block; + text-indent: -999em; + overflow: hidden; + background-repeat: no-repeat; + text-align: left; + direction: ltr; +} +.visuallyhidden { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} +.invisible { + visibility: hidden; +} +.clearfix:before, +.clearfix:after { + content: "\0020"; + display: block; + height: 0; + visibility: hidden; +} +.clearfix:after { + clear: both; +} +.clearfix { + zoom: 1; +} +.no-border { + border: none !important; +} +/*------------------------------------*\ +* +* #VARIABLES +* +\*------------------------------------*/ +/*------------------------------------*\ +* +* #MIXINS +* +\*------------------------------------*/ +/*------------------------------------*\ + + #INPUT FOR LABEL TO BE PLACEHOLDER + +\*------------------------------------*/ +.j-input { + position: relative; +} +.j-input input { + background-color: transparent; + z-index: 1; +} +.j-input label { + font-weight: normal; + position: absolute; + left: 12px; + top: 0; + margin-top: 12px; + background-color: white; + color: $grayLight; + padding: 0 5px; + -webkit-transition: all 0.15s ease-in-out; + transition: all 0.15s ease-in-out; + line-height: initial; + z-index: 0; +} +.j-input input:focus + label, +.j-input input.filled + label { + z-index: 2; + margin-top: -7px; + font-size: 12px; + color: #ccc; +} +body { + overflow-x: hidden; +} +/*------------------------------------*\ +* +* FOR GIVING APPS PERMISSION TO USE +* YOUR ACCOUNT INFORMATION +* +\*------------------------------------*/ +.authorization-dialog { + background-color: white; + min-height: 600px; +} +.authorization-dialog .authorization-card { + width: 320px; + margin: 0 auto; + background-color: white; + border-radius: 5px; + padding: 40px; + text-align: center; +} +.authorization-dialog .agent { + text-align: center; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + font-size: 10px; + margin-bottom: 20px; + float: left; +} +.authorization-dialog .agent img { + display: block; + width: 100%; + margin: 0 auto 10px; +} +.authorization-dialog .agent span { + color: #999999; +} +.authorization-dialog .choose-account { + height: 30px; + margin-bottom: 20px; +} +.authorization-dialog .app-name { + color: #1e9ce5; +} +.authorization-dialog .permission-request { + font-size: 16px; + text-align: center; + margin-bottom: 20px; + clear: both; +} +.authorization-dialog .permission-list { + text-align: left; + padding-left: 15px; + font-size: 14px; + margin-top: 10px; +} +.authorization-dialog .permission-list .checkbox { + min-height: 0; + padding: 0; +} +.authorization-dialog .actions .btn { + margin-left: 10px; +} +.authorization-dialog .actions .btn:first-child { + margin-left: 0; +} +@media only screen and (min-width: 600px) { + .authorization-dialog { + background-color: #f7f7f7; + padding: 50px; + } +} +.landing-page .jumbotron { + background: #000000 url(../images/confectionary.png) repeat; + background-size: cover; + color: grey; +} +.landing-page .media-body { + height: 128px; + position: relative; +} +.landing-page .media-body a { + display: block; + float: left; +} +.landing-page .media-body a.link { + display: none; +} +.landing-page .media-body .desc { + color: #999999; +} +.landing-page .media-body .btn { + position: absolute; + bottom: 0; +} diff --git a/styles/style.css b/styles/style.css new file mode 100644 index 0000000..1ed5500 --- /dev/null +++ b/styles/style.css @@ -0,0 +1,41 @@ +.ng-hide { + display: none; +} +.ng-show { +} + +.aj-pad-top { + padding-top: 50px; +} + +.aj-max-width { + width: 100%; +} + +.aj-landing-page { + min-height: 800px; +} + +.aj-badge-pad { + margin-right: 1em; +} + +.aj-app-container { + height: 150px; +} + +.aj-app-object { + width: 128px; +} + +.aj-built-with-footer { + text-decoration: none; color: #F778A1; font-size: 1.3em; +} + +.aj-navbar { + margin-bottom: 0; border-top-width: 0; +} + +.aj-main-logo { + position: relative; top: -6px; right: 8px; +} diff --git a/views/authorization-dialog.html b/views/authorization-dialog.html new file mode 100644 index 0000000..a8cfb2e --- /dev/null +++ b/views/authorization-dialog.html @@ -0,0 +1,77 @@ + +
+ + + + + + + +
+
+
+
+
+
{{ ADC.error.message }}
+
+
{{ ADC.rawResponse | json }}
+
+
+
+
The application provided invalid scope. +
    +
  • +
    {{ invalid | json }}
    +
  • +
+
+
+
+
+
{{ ADC.account.name || 'Fetching User...' }}
+
{{ ADC.client.title || 'Fetching App...' }}
+
+ +
+
+
You'll love {{ ADC.client.title || "App Name" }}
because it can help you... +
    +
    + +
    +
    + +
    +
+
+
+
+
You can sign in to {{ ADC.client.title || "App Name" }}.
No member data will be shared.
+
+
+
+
Checking Permissions...
+
+
+
+

To prevent click-jacking the user may not interact with the authorize dialog in an iFrame.

+

If you supply no scope, or the scope has already been granted, you will receive a token.

+

Otherwise the error callback will be called.

+
+
+
+ + +
+

+

+

+
* In accordance with the LDS.org Privacy Policy, apps may not store any member data. The data is delivered directly to your browser only.

If you believe an app is violating this policy, please report it to abuse@daplie.com.
+
+
+
+
diff --git a/views/lds-account.html b/views/lds-account.html new file mode 100644 index 0000000..ea58e40 --- /dev/null +++ b/views/lds-account.html @@ -0,0 +1,28 @@ + +
+ + +
\ No newline at end of file diff --git a/views/login-v3.html b/views/login-v3.html new file mode 100644 index 0000000..95ae26e --- /dev/null +++ b/views/login-v3.html @@ -0,0 +1,81 @@ + +
+ + +
diff --git a/views/my-account.html b/views/my-account.html new file mode 100644 index 0000000..9f9f3c2 --- /dev/null +++ b/views/my-account.html @@ -0,0 +1,4 @@ + +

+
{{ MAC | json }}
+
\ No newline at end of file diff --git a/views/nav.html b/views/nav.html new file mode 100644 index 0000000..0911612 --- /dev/null +++ b/views/nav.html @@ -0,0 +1,21 @@ + + + diff --git a/views/verify-contact-details.html b/views/verify-contact-details.html new file mode 100644 index 0000000..61eec28 --- /dev/null +++ b/views/verify-contact-details.html @@ -0,0 +1,80 @@ + +
+ + +
\ No newline at end of file From 566c184d413fd36b3170731e2b030c973954d874 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 19 May 2017 00:57:34 -0500 Subject: [PATCH 34/76] add subtree script --- add-subtree.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 add-subtree.sh diff --git a/add-subtree.sh b/add-subtree.sh new file mode 100644 index 0000000..9c71298 --- /dev/null +++ b/add-subtree.sh @@ -0,0 +1,5 @@ +# add +git subtree add --prefix lib/com.daplie.walnut ../../ns1.daplie.me/walnut.bak/packages/pages/com.daplie.walnut/ master --squash + +# update +git subtree pull --prefix lib/com.daplie.walnut ../../ns1.daplie.me/walnut.bak/packages/pages/com.daplie.walnut/ master --squash From 5d27a81bacffce55e6670cec5724c368d88557b8 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 19 May 2017 06:15:14 +0000 Subject: [PATCH 35/76] load the config --- lib/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index ee74a48..eb9dcfd 100644 --- a/lib/main.js +++ b/lib/main.js @@ -55,7 +55,8 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { } if (!setupApp) { - setupApp = express.static(path.join(xconfx.staticpath, 'com.daplie.walnut')); + //setupApp = express.static(path.join(xconfx.staticpath, 'com.daplie.walnut')); + setupApp = express.static(path.join('lib', 'com.daplie.walnut')); } setupApp(req, res, function () { if ('/' === req.url) { From 9d157c12a2143609c958c8243aa0651e810ec83a Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 19 May 2017 07:40:20 +0000 Subject: [PATCH 36/76] add shortcut to loading any static app --- lib/main.js | 87 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 77 insertions(+), 10 deletions(-) diff --git a/lib/main.js b/lib/main.js index eb9dcfd..495a556 100644 --- a/lib/main.js +++ b/lib/main.js @@ -69,6 +69,8 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { function loadHandler(name) { return function handler(req, res, next) { + // path.join('packages/pages', 'com.daplie.hello') // package name (used as file-link) + // path.join('packages/pages', 'domain.tld#hello') // dynamic exact url match var packagepath = path.join(xconfx.staticpath, name); return fs.lstatAsync(packagepath).then(function (stat) { @@ -84,8 +86,18 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { return disallowNonFiles; } + // path.join('packages/pages', 'domain.tld#hello') // a file (not folder) which contains a list of roots + // may look like this: + // + // com.daplie.hello + // tld.domain.app + // + // this is basically a 'recursive mount' to signify that 'com.daplie.hello' should be tried first + // and if no file matches that 'tld.domain.app' may be tried next, and so on + // + // this may well become a .htaccess type of situation allowing for redirects and such return fs.readFileAsync(packagepath, 'utf8').then(function (text) { - // TODO allow cascading + // TODO allow cascading multiple lines text = text.trim().split(/\n/)[0]; // TODO rerun the above, disallowing link-style (or count or memoize to prevent infinite loop) @@ -95,6 +107,8 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { return securityError; } + // instead of actually creating new instances of express.static + // this same effect could be managed by internally re-writing the url (and restoring it) return express.static(packagepath); }); }, function (/*err*/) { @@ -109,22 +123,27 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { } function staticHelper(appId, opts) { + console.log('[staticHelper]', appId); // TODO inter-process cache expirey // TODO add to xconfx.staticpath xconfx.staticpath = path.join(__dirname, '..', '..', 'packages', 'pages'); + + // Reads in each of the static apps as 'nodes' return fs.readdirAsync(xconfx.staticpath).then(function (nodes) { if (opts && opts.clear) { localCache.statics = {}; } - // longest to shortest + // Order from longest (index length - 1) to shortest (index 0) function shortToLong(a, b) { return b.length - a.length; } nodes.sort(shortToLong); nodes.forEach(function (name) { + console.log('[all apps]', name); if (!localCache.statics[name]) { + console.log('[load this app]', name); localCache.statics[name] = { handler: loadHandler(name), createdAt: Date.now() }; } }); @@ -151,10 +170,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { }); } - function serveStatic(req, res, next) { - // If we get this far we can be pretty confident that - // the domain was already set up because it's encrypted - var appId = req.hostname + req.url.replace(/\/+/g, '#').replace(/#$/, ''); + function serveStaticHelper(appId, opts, req, res, next) { var appIdParts = appId.split('#'); var appIdPart; @@ -168,13 +184,14 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { require('./no-www').scrubTheDub(req, res); return; } + /* if (!redirectives && config.redirects) { redirectives = require('./hostname-redirects').compile(config.redirects); } */ - // TODO assets.example.com/sub/assets/com.example.xyz/ + // If this looks like an API, we shouldn't be here if (/^api\./.test(req.hostname) && /\/api(\/|$)/.test(req.url)) { // supports api.example.com/sub/app/api/com.example.xyz/ if (!apiApp) { @@ -199,8 +216,18 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { return; } + /* + // TODO assets.example.com/sub/assets/com.example.xyz/ + if (/^assets\./.test(req.hostname) && /\/assets(\/|$)/.test(req.url)) { + ... + } + */ + + // There may be some app folders named 'apple.com', 'apple.com#foo', and 'apple.com#foo#bar' + // Here we're sorting an appId broken into parts like [ 'apple.com', 'foo', 'bar' ] + // and wer're checking to see if this is perhaps '/' of 'apple.com/foo/bar' or '/foo/bar' of 'apple.com', etc while (appIdParts.length) { - // TODO needs IPC to expire cache + // TODO needs IPC to expire cache when an API says the app mounts have been updated appIdPart = appIdParts.join('#'); if (localCache.statics[appIdPart]) { break; @@ -211,18 +238,58 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { } if (!appIdPart || !localCache.statics[appIdPart]) { - return staticHelper(appId).then(function () { - localCache.statics[appId].handler(req, res, next); + console.log('[serveStaticHelper] appId', appId); + return staticHelper(appId).then(function (webapp) { + //localCache.statics[appId].handler(req, res, next); + webapp.handler(req, res, next); }); } + console.log('[serveStaticHelper] appIdPart', appIdPart); + if (opts && opts.rewrite && -1 !== req.url.indexOf(appIdPart.replace(/#/, '/').replace(/\/$/, ''))) { + console.log('[staticHelper ReWrite]', req.url.slice(req.url.indexOf(appIdPart.replace(/#/, '/').replace(/\/$/, '')) + appIdPart.replace(/\/$/, '').length)); + req.url = req.url.slice(req.url.indexOf(appIdPart.replace(/#/, '/').replace(/\/$/, '')) + appIdPart.replace(/\/$/, '').length); + if (0 !== req.url.indexOf('/')) { + req.url = '/' + req.url; + } + } localCache.statics[appIdPart].handler(req, res, next); if (Date.now() - localCache.statics[appIdPart].createdAt > (5 * 60 * 1000)) { staticHelper(appId, { clear: true }); } } + function serveStatic(req, res, next) { + // We convert the URL that was sent in the browser bar from + // 'https://domain.tld/foo/bar' to 'domain.tld#foo#bar' + var appId = req.hostname + req.url.replace(/\/+/g, '#').replace(/#$/, ''); + serveStaticHelper(appId, null, req, res, next); + } + + function serveApps(req, res, next) { + var appId = req.url.slice(1).replace(/\/+/g, '#').replace(/#$/, ''); + + if (/^apps\./.test(req.hostname)) { + appId = appId.replace(/^apps#/, ''); + } else if (/\bapps#/.test(appId)) { + appId = appId.replace(/.*\bapps#/, ''); + } else { + next(); + return; + } + + console.log('[serveApps] appId', appId); + serveStaticHelper(appId, { rewrite: true }, req, res, next); + } + + // TODO set header 'X-ExperienceId: domain.tld/sub/path' + // This would let an app know whether its app is 'domain.tld' with a path of '/sub/path' + // or if its app is 'domain.tld/sub' with a path of '/path' + + // TODO handle assets.example.com/sub/assets/com.example.xyz/ + app.use('/', serveStatic); + app.use('/', serveApps); return PromiseA.resolve(); }; From 7159151352701dc4f469c80b258fa3ca79701ec1 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 19 May 2017 07:45:41 +0000 Subject: [PATCH 37/76] document how packages are accessed --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index a0c01df..a700c7a 100644 --- a/README.md +++ b/README.md @@ -101,3 +101,17 @@ Once you run the app the initialization files will appear in these locations ``` Deleting those files will rese + +Accessing static apps +--------------------- + +Static apps are stored in `packages/pages` + +``` +# App ID as files with a list of packages they should load +/srv/walnut/packages/pages/ # https://domain.tld/path +/srv/walnut/packages/pages/ # https://domain.tld and https://domain.tld/foo match + +# packages are directories with reverse dns name # used for debugging +/srv/walnut/packages/pages/ # matches apps./ and /apps/ +``` From 71819be2664127af45342fba688b9894e2ce36a4 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 19 May 2017 07:53:52 +0000 Subject: [PATCH 38/76] update uri matching, set header --- lib/main.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/main.js b/lib/main.js index 495a556..6576d02 100644 --- a/lib/main.js +++ b/lib/main.js @@ -174,6 +174,8 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { var appIdParts = appId.split('#'); var appIdPart; + res.setHeader('X-Walnut-Uri', appId.replace(/#/g, '/')); + // TODO configuration for allowing www if (/^www\./.test(req.hostname)) { // NOTE: acme responder and appcache unbricker must come before scrubTheDub @@ -246,9 +248,8 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { } console.log('[serveStaticHelper] appIdPart', appIdPart); - if (opts && opts.rewrite && -1 !== req.url.indexOf(appIdPart.replace(/#/, '/').replace(/\/$/, ''))) { - console.log('[staticHelper ReWrite]', req.url.slice(req.url.indexOf(appIdPart.replace(/#/, '/').replace(/\/$/, '')) + appIdPart.replace(/\/$/, '').length)); - req.url = req.url.slice(req.url.indexOf(appIdPart.replace(/#/, '/').replace(/\/$/, '')) + appIdPart.replace(/\/$/, '').length); + if (opts && opts.rewrite && -1 !== req.url.indexOf(appIdPart.replace(/#/g, '/').replace(/\/$/, ''))) { + req.url = req.url.slice(req.url.indexOf(appIdPart.replace(/#/g, '/').replace(/\/$/, '')) + appIdPart.replace(/(\/|#)$/, '').length); if (0 !== req.url.indexOf('/')) { req.url = '/' + req.url; } From 3d5eaf94bd76c8bbab67ef39fef18d567b9bb7a7 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 19 May 2017 07:56:31 +0000 Subject: [PATCH 39/76] note inconsistency in header --- lib/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/main.js b/lib/main.js index 6576d02..44fa4e4 100644 --- a/lib/main.js +++ b/lib/main.js @@ -174,6 +174,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { var appIdParts = appId.split('#'); var appIdPart; + // TODO for //apps/ the Uri should be / res.setHeader('X-Walnut-Uri', appId.replace(/#/g, '/')); // TODO configuration for allowing www From c1735d5c030ee74e883ffe478fd75142f2159ed4 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 19 May 2017 23:37:28 +0000 Subject: [PATCH 40/76] WIP load apis by file structure --- install.sh | 2 +- lib/apis.js | 338 ++++++++++++------------------- lib/bootstrap.js | 40 +--- lib/com.daplie.walnut/index.html | 2 +- lib/main.js | 65 +++--- lib/worker.js | 38 +++- 6 files changed, 211 insertions(+), 274 deletions(-) diff --git a/install.sh b/install.sh index 38a7486..0252334 100755 --- a/install.sh +++ b/install.sh @@ -218,7 +218,7 @@ install_my_app() ln -sf ../node_modules /srv/walnut/core/node_modules sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer sudo mkdir -p /srv/walnut/etc/org.oauth3.provider - sudo mkdir -p /srv/walnut/packages/{api,pages,services} + sudo mkdir -p /srv/walnut/packages/{client-api-grants,rest,api,pages,services} #sudo chown -R $(whoami):$(whoami) /srv/walnut sudo chown -R www-data:www-data /srv/walnut sudo chmod -R ug+Xrw /srv/walnut diff --git a/lib/apis.js b/lib/apis.js index a1a79ca..ec28efe 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -5,219 +5,109 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { var express = require('express'); var fs = PromiseA.promisifyAll(require('fs')); var path = require('path'); - var localCache = { apis: {}, pkgs: {} }; + var localCache = { rests: {}, pkgs: {} }; // TODO xconfx.apispath - xconfx.apispath = path.join(__dirname, '..', '..', 'packages', 'apis'); + xconfx.restPath = path.join(__dirname, '..', '..', 'packages', 'rest'); + xconfx.appApiGrantsPath = path.join(__dirname, '..', '..', 'packages', 'client-api-grants'); function notConfigured(req, res) { - res.send({ error: { message: "api '" + req.apiId + "' not configured for domain '" + req.experienceId + "'" } }); + res.send({ error: { message: "api '" + req.pkgId + "' not configured for domain '" + req.experienceId + "'" } }); } - function loadApi(conf, pkgConf, pkgDeps, packagedApi) { - function handlePromise(p) { - return p.then(function (api) { - packagedApi._api = api; - return api; - }); - } - - if (!packagedApi._promise_api) { - packagedApi._promise_api = getApi(conf, pkgConf, pkgDeps, packagedApi); - } - - return handlePromise(packagedApi._promise_api); + /* + function isThisPkgInstalled(myConf, pkgId) { } + */ - function getApi(conf, pkgConf, pkgDeps, packagedApi) { - var PromiseA = pkgDeps.Promise; - var path = require('path'); - var pkgpath = path.join(pkgConf.apipath, packagedApi.id/*, (packagedApi.api.version || '')*/); + function isThisClientAllowedToUseThisPkg(myConf, clientUrih, pkgId) { + var appApiGrantsPath = path.join(myConf.appApiGrantsPath, clientUrih); - // TODO needs some version stuff (which would also allow hot-loading of updates) - // TODO version could be tied to sha256sum - - return new PromiseA(function (resolve, reject) { - var myApp; - var ursa; - var promise; - - // TODO dynamic requires are a no-no - // can we statically generate a require-er? on each install? - // module.exports = { {{pkgpath}}: function () { return require({{pkgpath}}) } } - // requirer[pkgpath]() - myApp = pkgDeps.express(); - myApp.disable('x-powered-by'); - if (pkgDeps.app.get('trust proxy')) { - myApp.set('trust proxy', pkgDeps.app.get('trust proxy')); - } - if (!pkgConf.pubkey) { - /* - return ursa.createPrivateKey(pem, password, encoding); - var pem = myKey.toPrivatePem(); - return jwt.verifyAsync(token, myKey.toPublicPem(), { ignoreExpiration: false && true }).then(function (decoded) { - }); - */ - ursa = require('ursa'); - pkgConf.keypair = ursa.createPrivateKey(pkgConf.privkey, 'ascii'); - pkgConf.pubkey = ursa.createPublicKey(pkgConf.pubkey, 'ascii'); //conf.keypair.toPublicKey(); - } - - try { - packagedApi._apipkg = require(path.join(pkgpath, 'package.json')); - packagedApi._apiname = packagedApi._apipkg.name; - if (packagedApi._apipkg.walnut) { - pkgpath += '/' + packagedApi._apipkg.walnut; + return fs.readFileAsync(appApiGrantsPath, 'utf8').then(function (text) { + return text.trim().split(/\n/); + }, function (/*err*/) { + return []; + }).then(function (apis) { + if (!apis.some(function (api) { + if (api === pkgId) { + return true; } - promise = PromiseA.resolve(require(pkgpath).create(pkgConf, pkgDeps, myApp)); - } catch(e) { - reject(e); - return; + })) { + if (clientUrih === ('api.' + xconfx.setupDomain) && 'org.oauth3.consumer' === pkgId) { + // fallthrough + return true; + } else { + return null; + } + } + }); + } + + function loadRestHelper(myConf, pkgId) { + var pkgPath = path.join(myConf.restPath, pkgId); + + return fs.readFileAsync(path.join(pkgPath, 'package.json'), 'utf8').then(function (text) { + var pkg = JSON.parse(text); + var deps = {}; + var myApp; + + if (pkg.walnut) { + pkgPath = path.join(pkgPath, pkg.walnut); } - promise.then(function () { - // TODO give pub/priv pair for app and all public keys - // packagedApi._api = require(pkgpath).create(pkgConf, pkgDeps, myApp); - packagedApi._api = require('express-lazy')(); - packagedApi._api_app = myApp; + Object.keys(apiDeps).forEach(function (key) { + deps[key] = apiDeps[key]; + }); + Object.keys(apiFactories).forEach(function (key) { + deps[key] = apiFactories[key]; + }); - //require('./oauth3-auth').inject(conf, packagedApi._api, pkgConf, pkgDeps); - pkgDeps.getOauth3Controllers = - packagedApi._getOauth3Controllers = require('oauthcommon/example-oauthmodels').create(conf).getControllers; - require('oauthcommon').inject(packagedApi._getOauth3Controllers, packagedApi._api, pkgConf, pkgDeps); + // TODO pull db stuff from package.json somehow and pass allowed data models as deps + // + // how can we tell which of these would be correct? + // deps.memstore = apiFactories.memstoreFactory.create(pkgId); + // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId); + // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId + pkgId); - // DEBUG - // - /* - packagedApi._api.use('/', function (req, res, next) { - console.log('[DEBUG pkgApiApp]', req.method, req.hostname, req.url); - next(); - }); - //*/ + // let's go with this one for now and the api can choose to scope or not to scope + deps.memstore = apiFactories.memstoreFactory.create(pkgId); - // TODO fix backwards compat - - // /api/com.example.foo (no change) - packagedApi._api.use('/', packagedApi._api_app); - - // /api/com.example.foo => /api - packagedApi._api.use('/', function (req, res, next) { - var priorUrl = req.url; - req.url = '/api' + req.url.slice(('/api/' + packagedApi.id).length); - // console.log('api mangle 3:', req.url); - packagedApi._api_app(req, res, function (err) { - req.url = priorUrl; - next(err); - }); - }); - - // /api/com.example.foo => / - packagedApi._api.use('/api/' + packagedApi.id, function (req, res, next) { - // console.log('api mangle 2:', '/api/' + packagedApi.id, req.url); - // console.log(packagedApi._api_app.toString()); - packagedApi._api_app(req, res, next); - }); - - resolve(packagedApi._api); - }, reject); + console.log('DEBUG pkgPath', pkgPath); + myApp = express(); + // + // TODO handle /accounts/:accountId + // + return PromiseA.resolve(require(pkgPath).create({ + etcpath: xconfx.etcpath + }/*pkgConf*/, deps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { + localCache.pkgs[pkgId] = { pkg: pkg, handler: handler || myApp, createdAt: Date.now() }; + return localCache.pkgs[pkgId]; + }); }); } // Read packages/apis/sub.sld.tld (forward dns) to find list of apis as tld.sld.sub (reverse dns) // TODO packages/allowed_apis/sub.sld.tld (?) // TODO auto-register org.oauth3.consumer for primaryDomain (and all sites?) - function loadApiHandler() { - return function handler(req, res, next) { - var name = req.experienceId; - var apiId = req.apiId; - var packagepath = path.join(xconfx.apispath, name); + function loadRestHandler(myConf, pkgId) { + return PromiseA.resolve().then(function () { + if (!localCache.pkgs[pkgId]) { + return loadRestHelper(myConf, pkgId); + } - return fs.readFileAsync(packagepath, 'utf8').then(function (text) { - return text.trim().split(/\n/); - }, function () { - return []; - }).then(function (apis) { - return function (req, res, next) { - var apipath; - - if (!apis.some(function (api) { - if (api === apiId) { - return true; - } - })) { - if (req.experienceId === ('api.' + xconfx.setupDomain) && 'org.oauth3.consumer' === apiId) { - // fallthrough - } else { - return null; - } - } - - apipath = path.join(xconfx.apispath, apiId); - - if (!localCache.pkgs[apiId]) { - return fs.readFileAsync(path.join(apipath, 'package.json'), 'utf8').then(function (text) { - var pkg = JSON.parse(text); - var deps = {}; - var myApp; - - if (pkg.walnut) { - apipath = path.join(apipath, pkg.walnut); - } - - Object.keys(apiDeps).forEach(function (key) { - deps[key] = apiDeps[key]; - }); - Object.keys(apiFactories).forEach(function (key) { - deps[key] = apiFactories[key]; - }); - - // TODO pull db stuff from package.json somehow and pass allowed data models as deps - // - // how can we tell which of these would be correct? - // deps.memstore = apiFactories.memstoreFactory.create(apiId); - // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId); - // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId + apiId); - - // let's go with this one for now and the api can choose to scope or not to scope - deps.memstore = apiFactories.memstoreFactory.create(apiId); - - console.log('DEBUG apipath', apipath); - myApp = express(); - // - // TODO handle /accounts/:accountId - // - return PromiseA.resolve(require(apipath).create({ - etcpath: xconfx.etcpath - }/*pkgConf*/, deps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { - localCache.pkgs[apiId] = { pkg: pkg, handler: handler || myApp, createdAt: Date.now() }; - localCache.pkgs[apiId].handler(req, res, next); - }); - }); - } - else { - localCache.pkgs[apiId].handler(req, res, next); - // TODO expire require cache - /* - if (Date.now() - localCache.pkgs[apiId].createdAt < (5 * 60 * 1000)) { - return; - } - */ - } - }; - }, function (/*err*/) { - return null; - }).then(function (handler) { - - // keep object reference intact - // DO NOT cache non-existant api - if (handler) { - localCache.apis[name].handler = handler; - } else { - handler = notConfigured; - } - handler(req, res, next); - }); - }; + return localCache.pkgs[pkgId]; + // TODO expire require cache + /* + if (Date.now() - localCache.pkgs[pkgId].createdAt < (5 * 60 * 1000)) { + return; + } + */ + }, function (/*err*/) { + // TODO what kind of errors might we want to handle? + return null; + }).then(function (restPkg) { + return restPkg; + }); } var CORS = require('connect-cors'); @@ -228,36 +118,78 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { , 'Accept' , 'Authorization' ], methods: [ "GET", "POST", "PATCH", "PUT", "DELETE" ] }); + var staleAfter = (5 * 60 * 1000); return function (req, res, next) { cors(req, res, function () { - var experienceId = req.hostname + req.url.replace(/\/api\/.*/, '/').replace(/\/+/g, '#').replace(/#$/, ''); - var apiId = req.url.replace(/.*\/api\//, '').replace(/\/.*/, ''); + var clientUrih = req.hostname + req.url.replace(/\/api\/.*/, '/').replace(/\/+/g, '#').replace(/#$/, ''); + var pkgId = req.url.replace(/.*\/api\//, '').replace(/\/.*/, ''); + var now = Date.now(); + var hasBeenHandled = false; + // Existing (Deprecated) Object.defineProperty(req, 'experienceId', { enumerable: true , configurable: false + , writable: false + , value: clientUrih + }); + Object.defineProperty(req, 'pkgId', { + enumerable: true + , configurable: false + , writable: false + , value: pkgId + }); + + // New + Object.defineProperty(req, 'clientUrih', { + enumerable: true + , configurable: false , writable: false // TODO this identifier may need to be non-deterministic as to transfer if a domain name changes but is still the "same" app // (i.e. a company name change. maybe auto vs manual register - just like oauth3?) // NOTE: probably best to alias the name logically - , value: experienceId + , value: clientUrih }); - Object.defineProperty(req, 'apiId', { + Object.defineProperty(req, 'pkgId', { enumerable: true , configurable: false , writable: false - , value: apiId + , value: pkgId }); - if (!localCache.apis[experienceId]) { - localCache.apis[experienceId] = { handler: loadApiHandler(experienceId), createdAt: Date.now() }; - } + // TODO cache permission (although the FS is already cached, NBD) + return isThisClientAllowedToUseThisPkg(xconfx, clientUrih, pkgId).then(function (yes) { + if (!yes) { + notConfigured(req, res); + return null; + } - localCache.apis[experienceId].handler(req, res, next); - if (Date.now() - localCache.apis[experienceId].createdAt > (5 * 60 * 1000)) { - localCache.apis[experienceId] = { handler: loadApiHandler(experienceId), createdAt: Date.now() }; - } + if (localCache.rests[pkgId]) { + localCache.rests[pkgId].handler(req, res, next); + hasBeenHandled = true; + } + + if (now - localCache.rests[pkgId].createdAt > staleAfter) { + localCache.rests[pkgId] = null; + } + + if (!localCache.rests[pkgId]) { + //return doesThisPkgExist + + return loadRestHandler(xconfx, pkgId).then(function (myHandler) { + if (!myHandler) { + notConfigured(req, res); + return; + } + + localCache.rests[pkgId] = { handler: myHandler.handle, createdAt: now }; + if (!hasBeenHandled) { + myHandler.handle(req, res, next); + } + }); + } + }); }); }; }; diff --git a/lib/bootstrap.js b/lib/bootstrap.js index 5d9bdbd..621e886 100644 --- a/lib/bootstrap.js +++ b/lib/bootstrap.js @@ -40,41 +40,6 @@ module.exports.create = function (app, xconfx, models) { var getIpAddresses = require('./ip-checker').getExternalAddresses; var resolveInit; - function errorIfNotApi(req, res, next) { - var hostname = req.hostname || req.headers.host; - - if (!/^api\.[a-z0-9\-]+/.test(hostname)) { - res.send({ error: - { message: "API access is restricted to proper 'api'-prefixed lowercase subdomains." - + " The HTTP 'Host' header must exist and must begin with 'api.' as in 'api.example.com'." - + " For development you may test with api.localhost.daplie.me (or any domain by modifying your /etc/hosts)" - , code: 'E_NOT_API' - , _hostname: hostname - } - }); - return; - } - - next(); - } - - function errorIfApi(req, res, next) { - if (!/^api\./.test(req.headers.host)) { - next(); - return; - } - - // has api. hostname prefix - - // doesn't have /api url prefix - if (!/^\/api\//.test(req.url)) { - res.send({ error: { message: "missing /api/ url prefix" } }); - return; - } - - res.send({ error: { code: 'E_NO_IMPL', message: "not implemented" } }); - } - function getConfig(req, res) { getIpAddresses().then(function (inets) { var results = { @@ -191,7 +156,7 @@ module.exports.create = function (app, xconfx, models) { return; } - // init is always considered to be + // init is always considered to be resolveInit(true); // TODO feed this request back through the route stack from the top to avoid forced refresh? @@ -200,7 +165,7 @@ module.exports.create = function (app, xconfx, models) { res.end(""); }); }); - app.use('/api', errorIfNotApi); + // NOTE Allows CORS access to API with ?access_token= // TODO Access-Control-Max-Age: 600 // TODO How can we help apps handle this? token? @@ -208,7 +173,6 @@ module.exports.create = function (app, xconfx, models) { app.use('/api', cors); app.get('/api/com.daplie.walnut.init', getConfig); app.post('/api/com.daplie.walnut.init', setConfig); - app.use('/', errorIfApi); // TODO use package loader //app.use('/', express.static(path.join(__dirname, '..', '..', 'packages', 'pages', 'com.daplie.walnut.init'))); diff --git a/lib/com.daplie.walnut/index.html b/lib/com.daplie.walnut/index.html index 07707b1..40a1121 100644 --- a/lib/com.daplie.walnut/index.html +++ b/lib/com.daplie.walnut/index.html @@ -9,7 +9,7 @@ Daplie Connect - Sign on to the Web - + diff --git a/lib/main.js b/lib/main.js index 44fa4e4..540db0d 100644 --- a/lib/main.js +++ b/lib/main.js @@ -1,19 +1,19 @@ 'use strict'; -module.exports.create = function (app, xconfx, apiFactories, apiDeps) { +module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi) { var PromiseA = require('bluebird'); var path = require('path'); var fs = PromiseA.promisifyAll(require('fs')); // NOTE: each process has its own cache var localCache = { le: {}, statics: {} }; var express = require('express'); - var apiApp; var setupDomain = xconfx.setupDomain = ('cloud.' + xconfx.primaryDomain); + var apiApp; var setupApp; var CORS; var cors; - function redirectSetup(reason, req, res/*, next*/) { + function redirectSetup(reason, req, res) { console.log('xconfx', xconfx); var url = 'https://cloud.' + xconfx.primaryDomain; @@ -94,7 +94,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { // // this is basically a 'recursive mount' to signify that 'com.daplie.hello' should be tried first // and if no file matches that 'tld.domain.app' may be tried next, and so on - // + // // this may well become a .htaccess type of situation allowing for redirects and such return fs.readFileAsync(packagepath, 'utf8').then(function (text) { // TODO allow cascading multiple lines @@ -134,7 +134,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { localCache.statics = {}; } - // Order from longest (index length - 1) to shortest (index 0) + // Order from longest (index length - 1) to shortest (index 0) function shortToLong(a, b) { return b.length - a.length; } @@ -194,31 +194,6 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { } */ - // If this looks like an API, we shouldn't be here - if (/^api\./.test(req.hostname) && /\/api(\/|$)/.test(req.url)) { - // supports api.example.com/sub/app/api/com.example.xyz/ - if (!apiApp) { - apiApp = require('./apis').create(xconfx, apiFactories, apiDeps); - } - - if (/^OPTIONS$/i.test(req.method)) { - if (!cors) { - CORS = require('connect-cors'); - cors = CORS({ credentials: true, headers: [ - 'X-Requested-With' - , 'X-HTTP-Method-Override' - , 'Content-Type' - , 'Accept' - , 'Authorization' - ], methods: [ "GET", "POST", "PATCH", "PUT", "DELETE" ] }); - } - cors(req, res, apiApp); - } - - apiApp(req, res, next); - return; - } - /* // TODO assets.example.com/sub/assets/com.example.xyz/ if (/^assets\./.test(req.hostname) && /\/assets(\/|$)/.test(req.url)) { @@ -290,6 +265,36 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps) { // TODO handle assets.example.com/sub/assets/com.example.xyz/ + app.use('/api', function (req, res, next) { + // If this doesn't look like an API we can move along + if (!/^api\./.test(req.hostname) && !/\/api(\/|$)/.test(req.url)) { + next(); + return; + } + + // supports api.example.com/sub/app/api/com.example.xyz/ + if (!apiApp) { + apiApp = require('./apis').create(xconfx, apiFactories, apiDeps); + } + + if (/^OPTIONS$/i.test(req.method)) { + if (!cors) { + CORS = require('connect-cors'); + cors = CORS({ credentials: true, headers: [ + 'X-Requested-With' + , 'X-HTTP-Method-Override' + , 'Content-Type' + , 'Accept' + , 'Authorization' + ], methods: [ "GET", "POST", "PATCH", "PUT", "DELETE" ] }); + } + cors(req, res, apiApp); + } + + apiApp(req, res, next); + return; + }); + app.use('/', errorIfApi); app.use('/', serveStatic); app.use('/', serveApps); diff --git a/lib/worker.js b/lib/worker.js index 152b9ce..e1c1cff 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -180,7 +180,7 @@ module.exports.create = function (webserver, xconfx, state) { function setupMain() { if (xconfx.debug) { console.log('[main] setup'); } mainApp = express(); - require('./main').create(mainApp, xconfx, apiFactories, apiDeps).then(function () { + require('./main').create(mainApp, xconfx, apiFactories, apiDeps, errorIfApi).then(function () { if (xconfx.debug) { console.log('[main] ready'); } // TODO process.send({}); }); @@ -202,6 +202,41 @@ module.exports.create = function (webserver, xconfx, state) { } }); + function errorIfNotApi(req, res, next) { + var hostname = req.hostname || req.headers.host; + + if (!/^api\.[a-z0-9\-]+/.test(hostname)) { + res.send({ error: + { message: "API access is restricted to proper 'api'-prefixed lowercase subdomains." + + " The HTTP 'Host' header must exist and must begin with 'api.' as in 'api.example.com'." + + " For development you may test with api.localhost.daplie.me (or any domain by modifying your /etc/hosts)" + , code: 'E_NOT_API' + , _hostname: hostname + } + }); + return; + } + + next(); + } + + function errorIfApi(req, res, next) { + if (!/^api\./.test(req.headers.host)) { + next(); + return; + } + + // has api. hostname prefix + + // doesn't have /api url prefix + if (!/^\/api\//.test(req.url)) { + res.send({ error: { message: "missing /api/ url prefix" } }); + return; + } + + res.send({ error: { code: 'E_NO_IMPL', message: "not implemented" } }); + } + app.disable('x-powered-by'); app.use('/', log); app.use('/api', require('body-parser').json({ @@ -218,6 +253,7 @@ module.exports.create = function (webserver, xconfx, state) { app.use('/api', recase); app.set('trust proxy', ['loopback', 'linklocal', 'uniquelocal']); + app.use('/api', errorIfNotApi); app.use('/', function (req, res) { if (!(req.encrypted || req.secure)) { // did not come from https From 032ebe0302a89278cb978fd96ed62bdf0cdefa6a Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 20 May 2017 00:09:48 +0000 Subject: [PATCH 41/76] WIP loads API if allowed --- lib/apis.js | 30 ++++++++++++++++++------------ lib/main.js | 5 +++-- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index ec28efe..b88419c 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -12,7 +12,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { xconfx.appApiGrantsPath = path.join(__dirname, '..', '..', 'packages', 'client-api-grants'); function notConfigured(req, res) { - res.send({ error: { message: "api '" + req.pkgId + "' not configured for domain '" + req.experienceId + "'" } }); + res.send({ error: { message: "api package '" + req.pkgId + "' not configured for client uri '" + req.experienceId + "'" } }); } /* @@ -23,23 +23,28 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { function isThisClientAllowedToUseThisPkg(myConf, clientUrih, pkgId) { var appApiGrantsPath = path.join(myConf.appApiGrantsPath, clientUrih); + console.log('sanity exists?', appApiGrantsPath);; return fs.readFileAsync(appApiGrantsPath, 'utf8').then(function (text) { + console.log('sanity', text); return text.trim().split(/\n/); - }, function (/*err*/) { + }, function (rer) { +console.error(rer); return []; }).then(function (apis) { - if (!apis.some(function (api) { + if (apis.some(function (api) { if (api === pkgId) { + console.log(api, pkgId, api === pkgId); return true; } })) { + return true; + } if (clientUrih === ('api.' + xconfx.setupDomain) && 'org.oauth3.consumer' === pkgId) { // fallthrough return true; } else { return null; } - } }); } @@ -122,8 +127,9 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { return function (req, res, next) { cors(req, res, function () { - var clientUrih = req.hostname + req.url.replace(/\/api\/.*/, '/').replace(/\/+/g, '#').replace(/#$/, ''); - var pkgId = req.url.replace(/.*\/api\//, '').replace(/\/.*/, ''); + console.log('[sanity check]', req.url); + var clientUrih = req.hostname.replace(/^api\./, '') + req.url.replace(/\/api\/.*/, '/').replace(/\/+/g, '#').replace(/#$/, ''); + var pkgId = req.url.replace(/.*\/api\//, '').replace(/^\//, '').replace(/\/$/, ''); var now = Date.now(); var hasBeenHandled = false; @@ -134,7 +140,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { , writable: false , value: clientUrih }); - Object.defineProperty(req, 'pkgId', { + Object.defineProperty(req, 'apiId', { enumerable: true , configurable: false , writable: false @@ -168,10 +174,10 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { if (localCache.rests[pkgId]) { localCache.rests[pkgId].handler(req, res, next); hasBeenHandled = true; - } - if (now - localCache.rests[pkgId].createdAt > staleAfter) { - localCache.rests[pkgId] = null; + if (now - localCache.rests[pkgId].createdAt > staleAfter) { + localCache.rests[pkgId] = null; + } } if (!localCache.rests[pkgId]) { @@ -183,9 +189,9 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { return; } - localCache.rests[pkgId] = { handler: myHandler.handle, createdAt: now }; + localCache.rests[pkgId] = { handler: myHandler.handler, createdAt: now }; if (!hasBeenHandled) { - myHandler.handle(req, res, next); + myHandler.handler(req, res, next); } }); } diff --git a/lib/main.js b/lib/main.js index 540db0d..338123f 100644 --- a/lib/main.js +++ b/lib/main.js @@ -265,9 +265,10 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi // TODO handle assets.example.com/sub/assets/com.example.xyz/ - app.use('/api', function (req, res, next) { + app.use('/', function (req, res, next) { // If this doesn't look like an API we can move along - if (!/^api\./.test(req.hostname) && !/\/api(\/|$)/.test(req.url)) { + if (!/\/api(\/|$)/.test(req.url)) { + // /^api\./.test(req.hostname) && next(); return; } From 3cf54f2b9a66e5ab291f560245b5d476e13fd3f4 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 20 May 2017 04:34:17 +0000 Subject: [PATCH 42/76] load sites separately from packages --- install.sh | 2 +- lib/main.js | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/install.sh b/install.sh index 0252334..41a9af3 100755 --- a/install.sh +++ b/install.sh @@ -218,7 +218,7 @@ install_my_app() ln -sf ../node_modules /srv/walnut/core/node_modules sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer sudo mkdir -p /srv/walnut/etc/org.oauth3.provider - sudo mkdir -p /srv/walnut/packages/{client-api-grants,rest,api,pages,services} + sudo mkdir -p /srv/walnut/packages/{client-api-grants,rest,api,pages,services,sites} #sudo chown -R $(whoami):$(whoami) /srv/walnut sudo chown -R www-data:www-data /srv/walnut sudo chmod -R ug+Xrw /srv/walnut diff --git a/lib/main.js b/lib/main.js index 338123f..c0fe00f 100644 --- a/lib/main.js +++ b/lib/main.js @@ -25,7 +25,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi res.statusCode = 302; res.setHeader('Location', url); - res.end(); + res.end("The static pages for '" + reason + "' are not listed in '" + path.join(xconfx.sitespath, reason) + "'"); } function disallowSymLinks(req, res) { @@ -67,19 +67,19 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi }); } - function loadHandler(name) { + function loadSiteHandler(name) { return function handler(req, res, next) { // path.join('packages/pages', 'com.daplie.hello') // package name (used as file-link) // path.join('packages/pages', 'domain.tld#hello') // dynamic exact url match - var packagepath = path.join(xconfx.staticpath, name); + var sitepath = path.join(xconfx.sitespath, name); - return fs.lstatAsync(packagepath).then(function (stat) { + return fs.lstatAsync(sitepath).then(function (stat) { if (stat.isSymbolicLink()) { return disallowSymLinks; } if (stat.isDirectory()) { - return express.static(packagepath); + return express.static(sitepath); } if (!stat.isFile()) { @@ -96,13 +96,13 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi // and if no file matches that 'tld.domain.app' may be tried next, and so on // // this may well become a .htaccess type of situation allowing for redirects and such - return fs.readFileAsync(packagepath, 'utf8').then(function (text) { + return fs.readFileAsync(sitepath, 'utf8').then(function (text) { // TODO allow cascading multiple lines text = text.trim().split(/\n/)[0]; // TODO rerun the above, disallowing link-style (or count or memoize to prevent infinite loop) // TODO make safe - packagepath = path.resolve(xconfx.staticpath, text); + var packagepath = path.resolve(xconfx.staticpath, text); if (0 !== packagepath.indexOf(xconfx.staticpath)) { return securityError; } @@ -127,9 +127,10 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi // TODO inter-process cache expirey // TODO add to xconfx.staticpath xconfx.staticpath = path.join(__dirname, '..', '..', 'packages', 'pages'); + xconfx.sitespath = path.join(__dirname, '..', '..', 'packages', 'sites'); - // Reads in each of the static apps as 'nodes' - return fs.readdirAsync(xconfx.staticpath).then(function (nodes) { + // Reads in each of the sites directives as 'nodes' + return fs.readdirAsync(xconfx.sitespath).then(function (nodes) { if (opts && opts.clear) { localCache.statics = {}; } @@ -144,7 +145,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi console.log('[all apps]', name); if (!localCache.statics[name]) { console.log('[load this app]', name); - localCache.statics[name] = { handler: loadHandler(name), createdAt: Date.now() }; + localCache.statics[name] = { handler: loadSiteHandler(name), createdAt: Date.now() }; } }); From da008ea6583d519b82247761c1be4f84e1ecac56 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 20 May 2017 04:51:44 +0000 Subject: [PATCH 43/76] fix api naming convention --- lib/apis.js | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index b88419c..7058167 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -12,7 +12,11 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { xconfx.appApiGrantsPath = path.join(__dirname, '..', '..', 'packages', 'client-api-grants'); function notConfigured(req, res) { - res.send({ error: { message: "api package '" + req.pkgId + "' not configured for client uri '" + req.experienceId + "'" } }); + var msg = "api package '" + req.pkgId + "' not configured for client uri '" + req.experienceId + "'" + + ". To configure it place a new line '" + req.pkgId + "' in the file '/srv/walnut/packages/client-api-grants/" + req.experienceId + "'" + ; + + res.send({ error: { message: msg } }); } /* @@ -23,12 +27,14 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { function isThisClientAllowedToUseThisPkg(myConf, clientUrih, pkgId) { var appApiGrantsPath = path.join(myConf.appApiGrantsPath, clientUrih); - console.log('sanity exists?', appApiGrantsPath);; + console.log('sanity exists?', appApiGrantsPath); return fs.readFileAsync(appApiGrantsPath, 'utf8').then(function (text) { console.log('sanity', text); return text.trim().split(/\n/); - }, function (rer) { -console.error(rer); + }, function (err) { + if ('ENOENT' !== err.code) { + console.error(err); + } return []; }).then(function (apis) { if (apis.some(function (api) { @@ -128,8 +134,17 @@ console.error(rer); return function (req, res, next) { cors(req, res, function () { console.log('[sanity check]', req.url); + // Canonical client names + // example.com should use api.example.com/api for all requests + // sub.example.com/api should resolve to sub.example.com + // example.com/subpath/api should resolve to example.com#subapp + // sub.example.com/subpath/api should resolve to sub.example.com#subapp var clientUrih = req.hostname.replace(/^api\./, '') + req.url.replace(/\/api\/.*/, '/').replace(/\/+/g, '#').replace(/#$/, ''); - var pkgId = req.url.replace(/.*\/api\//, '').replace(/^\//, '').replace(/\/$/, ''); + // Canonical package names + // '/api/com.daplie.hello/hello' should resolve to 'com.daplie.hello' + // '/subapp/api/com.daplie.hello/hello' should also 'com.daplie.hello' + // '/subapp/api/com.daplie.hello/' may exist... must be a small api + var pkgId = req.url.replace(/.*\/api\//, '').replace(/^\//, '').replace(/\/.*/, ''); var now = Date.now(); var hasBeenHandled = false; From 0696ba8084470c060d967d56fb2ffe08243cb820 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 20 May 2017 05:16:01 +0000 Subject: [PATCH 44/76] remove API prefix --- lib/apis.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/apis.js b/lib/apis.js index 7058167..2d1e659 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -27,7 +27,6 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { function isThisClientAllowedToUseThisPkg(myConf, clientUrih, pkgId) { var appApiGrantsPath = path.join(myConf.appApiGrantsPath, clientUrih); - console.log('sanity exists?', appApiGrantsPath); return fs.readFileAsync(appApiGrantsPath, 'utf8').then(function (text) { console.log('sanity', text); return text.trim().split(/\n/); @@ -57,6 +56,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { function loadRestHelper(myConf, pkgId) { var pkgPath = path.join(myConf.restPath, pkgId); + // TODO should not require package.json. Should work with files alone. return fs.readFileAsync(path.join(pkgPath, 'package.json'), 'utf8').then(function (text) { var pkg = JSON.parse(text); var deps = {}; @@ -85,6 +85,13 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { console.log('DEBUG pkgPath', pkgPath); myApp = express(); + myApp.use('/', function preHandler(req, res, next) { + req.originalUrl = req.originalUrl || req.url; + // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' + req.url = req.url.replace(/\/api\//, '').replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/'); + console.log('[prehandler] req.url', req.url); + next(); + }); // // TODO handle /accounts/:accountId // From 911c783c5e9fb4d8c68db4604ed34086e0ebf6d9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 22 May 2017 17:17:55 +0000 Subject: [PATCH 45/76] add examples --- README.md | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 104 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a700c7a..a8f2539 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,40 @@ POST https://api./api/com.daplie.walnut.init { "domain": "" } ``` +The following domains are required to point to WALNUT server + +``` + +www. + +api. +assets. + +cloud. +api.cloud. +``` + +Example `/etc/goldilocks/goldilocks.yml`: +```yml +tls: + email: domains@example.com + servernames: + - example.com + - www.example.com + - api.example.com + - assets.example.com + - cloud.example.com + - api.cloud.example.com + +http: + trust_proxy: true + modules: + - name: proxy + domains: + - '*' + address: '127.0.0.1:3000' +``` + Resetting the Initialization ---------------------------- @@ -109,9 +143,75 @@ Static apps are stored in `packages/pages` ``` # App ID as files with a list of packages they should load -/srv/walnut/packages/pages/ # https://domain.tld/path -/srv/walnut/packages/pages/ # https://domain.tld and https://domain.tld/foo match +# note that '#' is used in place of '/' because files and folders may not contain '/' in their names +/srv/walnut/packages/sites/ # https://domain.tld/path +/srv/walnut/packages/sites/ # https://domain.tld and https://domain.tld/foo match -# packages are directories with reverse dns name # used for debugging -/srv/walnut/packages/pages/ # matches apps./ and /apps/ +# packages are directories with reverse dns name # For the sake of debugging these packages can be accessed directly, without a site by +/srv/walnut/packages/pages/ # matches apps./ and /apps/ +``` + +Accessing REST APIs +------------------- + +``` +# Apps are granted access to use a package by listing it in the grants file by the name of the app url (domain.tld) +/srv/walnut/packages/client-api-grants/ # matches api./api/ and contains a list of allowed REST APIs + # the REST apis themselves are submatched as api./api/ + +# packages are directories with reverse dns name, a package.json, and an index.js +/srv/walnut/packages/rest/ +``` + +Example tree with contents: + +Here `com.example.hello` is a package with a REST API and a static page +and `foobar.me` is a WALNUT-configured domain (smithfam.net, etc). + +``` +/srv/walnut/packages/ +├── api +├── client-api-grants +│ └── cloud.foobar.me +│ ''' +│ com.example.hello # refers to /srv/walnut/packages/rest/com.example.hello +│ ''' +│ +├── pages +│ └── com.example.hello +│ └── index.html +│ ''' +│ +│ com.example.hello +│ +│

com.example.hello

+│ +│ +│ ''' +│ +├── rest +│ └── com.example.hello +│ ├── package.json +│ └── index.js +│ ''' +│ 'use strict'; +│ +│ module.exports.create = function (conf, deps, app) { +│ +│ app.use('/', function (req, res) { +│ console.log('[com.example.hello] req.url', req.url); +│ res.send({ message: 'hello' }); +│ }); +│ +│ return deps.Promise.resolve(); +│ }; +│ +│ ''' +│ +├── services +└── sites + └── daplie.me + ''' + com.example.hello # refers to /srv/walnut/packages/pages/com.example.hello + ''' ``` From e8ecde4b623e291ce1c9409312cf093483094a53 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 22 May 2017 17:22:32 +0000 Subject: [PATCH 46/76] separate packages from permissions --- README.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a8f2539..3325e1f 100644 --- a/README.md +++ b/README.md @@ -168,15 +168,12 @@ Example tree with contents: Here `com.example.hello` is a package with a REST API and a static page and `foobar.me` is a WALNUT-configured domain (smithfam.net, etc). + +The packages: + ``` /srv/walnut/packages/ ├── api -├── client-api-grants -│ └── cloud.foobar.me -│ ''' -│ com.example.hello # refers to /srv/walnut/packages/rest/com.example.hello -│ ''' -│ ├── pages │ └── com.example.hello │ └── index.html @@ -208,7 +205,19 @@ and `foobar.me` is a WALNUT-configured domain (smithfam.net, etc). │ │ ''' │ -├── services +└── services +``` + +The permissions: + +``` +/srv/walnut/packages/ +├── client-api-grants +│ └── cloud.foobar.me +│ ''' +│ com.example.hello # refers to /srv/walnut/packages/rest/com.example.hello +│ ''' +│ └── sites └── daplie.me ''' From 74fa3f2e14271a7accec71cb72917b64d5f13192 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 24 May 2017 04:27:52 +0000 Subject: [PATCH 47/76] partial updates --- lib/apis.js | 41 +++++++++++++++++++++++++++++++++++------ lib/main.js | 48 +++++++++++++++++++++++++++++++++++++----------- lib/worker.js | 5 +++++ 3 files changed, 77 insertions(+), 17 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index 2d1e659..d8f9da3 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -2,7 +2,8 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { var PromiseA = apiDeps.Promise; - var express = require('express'); + //var express = require('express'); + var express = require('express-lazy'); var fs = PromiseA.promisifyAll(require('fs')); var path = require('path'); var localCache = { rests: {}, pkgs: {} }; @@ -59,7 +60,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { // TODO should not require package.json. Should work with files alone. return fs.readFileAsync(path.join(pkgPath, 'package.json'), 'utf8').then(function (text) { var pkg = JSON.parse(text); - var deps = {}; + var pkgDeps = {}; var myApp; if (pkg.walnut) { @@ -67,10 +68,10 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { } Object.keys(apiDeps).forEach(function (key) { - deps[key] = apiDeps[key]; + pkgDeps[key] = apiDeps[key]; }); Object.keys(apiFactories).forEach(function (key) { - deps[key] = apiFactories[key]; + pkgDeps[key] = apiFactories[key]; }); // TODO pull db stuff from package.json somehow and pass allowed data models as deps @@ -81,10 +82,38 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId + pkgId); // let's go with this one for now and the api can choose to scope or not to scope - deps.memstore = apiFactories.memstoreFactory.create(pkgId); + pkgDeps.memstore = apiFactories.memstoreFactory.create(pkgId); console.log('DEBUG pkgPath', pkgPath); myApp = express(); + +/* + var pkgConf = { + pagespath: path.join(__dirname, '..', '..', 'packages', 'pages') + path.sep + , apipath: path.join(__dirname, '..', '..', 'packages', 'apis') + path.sep + , servicespath: path.join(__dirname, '..', '..', 'packages', 'services') + , vhostsMap: vhostsMap + , vhostPatterns: null + , server: webserver + , externalPort: info.conf.externalPort + , primaryNameserver: info.conf.primaryNameserver + , nameservers: info.conf.nameservers + , privkey: info.conf.privkey + , pubkey: info.conf.pubkey + , redirects: info.conf.redirects + , apiPrefix: '/api' + , 'org.oauth3.consumer': info.conf['org.oauth3.consumer'] + , 'org.oauth3.provider': info.conf['org.oauth3.provider'] + , keys: info.conf.keys + }; +*/ + + var _getOauth3Controllers = pkgDeps.getOauth3Controllers = require('oauthcommon/example-oauthmodels').create( + { sqlite3Sock: xconfx.sqlite3Sock, ipcKey: xconfx.ipcKey } + ).getControllers; + //require('oauthcommon').inject(packagedApi._getOauth3Controllers, packagedApi._api, pkgConf, pkgDeps); + require('oauthcommon').inject(_getOauth3Controllers, myApp/*, pkgConf, pkgDeps*/); + myApp.use('/', function preHandler(req, res, next) { req.originalUrl = req.originalUrl || req.url; // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' @@ -97,7 +126,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { // return PromiseA.resolve(require(pkgPath).create({ etcpath: xconfx.etcpath - }/*pkgConf*/, deps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { + }/*pkgConf*/, pkgDeps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { localCache.pkgs[pkgId] = { pkg: pkg, handler: handler || myApp, createdAt: Date.now() }; return localCache.pkgs[pkgId]; }); diff --git a/lib/main.js b/lib/main.js index c0fe00f..67f46bf 100644 --- a/lib/main.js +++ b/lib/main.js @@ -50,8 +50,11 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi function notConfigured(req, res, next) { if (setupDomain !== req.hostname) { - redirectSetup(req.hostname, req, res); - return; + console.log('[notConfigured] req.hostname', req.hostname); + if (/\.html\b/.test(req.url)) { + redirectSetup(req.hostname, req, res); + return; + } } if (!setupApp) { @@ -73,6 +76,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi // path.join('packages/pages', 'domain.tld#hello') // dynamic exact url match var sitepath = path.join(xconfx.sitespath, name); + console.log('sitepath', sitepath); return fs.lstatAsync(sitepath).then(function (stat) { if (stat.isSymbolicLink()) { return disallowSymLinks; @@ -141,22 +145,44 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi } nodes.sort(shortToLong); - nodes.forEach(function (name) { - console.log('[all apps]', name); - if (!localCache.statics[name]) { - console.log('[load this app]', name); - localCache.statics[name] = { handler: loadSiteHandler(name), createdAt: Date.now() }; + nodes = nodes.filter(function (pkgName) { + console.log('[all apps]', pkgName); + // load the apps that match this id's domain and could match the path + // domain.daplie.me matches domain.daplie.me + // daplie.me#path#to#thing matches daplie.me + // daplie.me does NOT match daplie.me#path#to#thing + var reqParts = appId.split('#'); + var pkgParts = pkgName.split('#'); + var reqDomain = reqParts.shift(); + var pkgDomain = pkgParts.shift(); + var reqPath = reqParts.join('#'); + var pkgPath = pkgParts.join('#'); + if (reqPath.length) { + reqPath += '#'; } + if (pkgPath.length) { + pkgPath += '#'; + } + if (!(reqDomain === pkgDomain && 0 === reqPath.indexOf(pkgPath))) { + return false; + } + if (!localCache.statics[pkgName]) { + console.log('[load this app]', pkgName); + localCache.statics[pkgName] = { handler: loadSiteHandler(pkgName), createdAt: Date.now() }; + } + return true; }); // Secure Matching // apple.com#blah# apple.com#blah# // apple.com.us# apple.com#foo# // apple.com# apple.com#foo# - nodes.some(function (name) { - if (0 === (name + '#').indexOf(appId + '#')) { - if (appId !== name) { - localCache.statics[appId] = localCache.statics[name]; + console.log('nodes', nodes); + nodes.some(function (pkgName) { + console.log('pkgName, appId', pkgName, appId); + if (0 === (appId + '#').indexOf(pkgName + '#')) { + if (appId !== pkgName) { + localCache.statics[appId] = localCache.statics[pkgName]; } return true; } diff --git a/lib/worker.js b/lib/worker.js index e1c1cff..6a9fe44 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -188,6 +188,11 @@ module.exports.create = function (webserver, xconfx, state) { if (!bootstrapApp) { if (xconfx.debug) { console.log('[bootstrap] setup'); } + if (xconfx.primaryDomain) { + bootstrapApp = true; + setupMain(); + return; + } bootstrapApp = express(); require('./bootstrap').create(bootstrapApp, xconfx, models).then(function () { if (xconfx.debug) { console.log('[bootstrap] ready'); } From 19ffff4fcd2f53386fb710903310155370f01a1b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 24 May 2017 05:25:11 +0000 Subject: [PATCH 48/76] correct urls --- lib/apis.js | 9 ++++++++- lib/worker.js | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/apis.js b/lib/apis.js index d8f9da3..0655657 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -115,7 +115,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { require('oauthcommon').inject(_getOauth3Controllers, myApp/*, pkgConf, pkgDeps*/); myApp.use('/', function preHandler(req, res, next) { - req.originalUrl = req.originalUrl || req.url; + req.walnutOriginalUrl = req.url; // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' req.url = req.url.replace(/\/api\//, '').replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/'); console.log('[prehandler] req.url', req.url); @@ -127,6 +127,13 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { return PromiseA.resolve(require(pkgPath).create({ etcpath: xconfx.etcpath }/*pkgConf*/, pkgDeps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { + + myApp.use('/', function postHandler(req, res, next) { + req.url = req.walnutOriginalUrl; + console.log('[posthandler] req.url', req.url); + next(); + }); + localCache.pkgs[pkgId] = { pkg: pkg, handler: handler || myApp, createdAt: Date.now() }; return localCache.pkgs[pkgId]; }); diff --git a/lib/worker.js b/lib/worker.js index 6a9fe44..a3520f2 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -235,6 +235,7 @@ module.exports.create = function (webserver, xconfx, state) { // doesn't have /api url prefix if (!/^\/api\//.test(req.url)) { + console.log('[walnut/worker api] req.url', req.url); res.send({ error: { message: "missing /api/ url prefix" } }); return; } From 5ee8449af6f7212117e5a2554e557f2a3402cc30 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 24 May 2017 05:44:23 +0000 Subject: [PATCH 49/76] fix CORS issue --- lib/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/main.js b/lib/main.js index 67f46bf..6cbca02 100644 --- a/lib/main.js +++ b/lib/main.js @@ -317,6 +317,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi ], methods: [ "GET", "POST", "PATCH", "PUT", "DELETE" ] }); } cors(req, res, apiApp); + return; } apiApp(req, res, next); From 52a6627e84c2cfe06b7a57166c3e885fa8a56a8f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 24 May 2017 06:23:40 +0000 Subject: [PATCH 50/76] add missing res.error --- lib/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index 6cbca02..da83127 100644 --- a/lib/main.js +++ b/lib/main.js @@ -177,7 +177,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi // apple.com#blah# apple.com#blah# // apple.com.us# apple.com#foo# // apple.com# apple.com#foo# - console.log('nodes', nodes); + console.log('[lib/main.js] nodes', nodes); nodes.some(function (pkgName) { console.log('pkgName, appId', pkgName, appId); if (0 === (appId + '#').indexOf(pkgName + '#')) { @@ -292,6 +292,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi // TODO handle assets.example.com/sub/assets/com.example.xyz/ + app.use('/api', require('connect-send-error').error()); app.use('/', function (req, res, next) { // If this doesn't look like an API we can move along if (!/\/api(\/|$)/.test(req.url)) { From 648c136fcf8ae0f695781ef13f3c8ebbeb24fb24 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 24 May 2017 07:34:34 +0000 Subject: [PATCH 51/76] add mailer --- lib/apis.js | 74 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 53 insertions(+), 21 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index 0655657..fb65f9a 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -11,6 +11,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { // TODO xconfx.apispath xconfx.restPath = path.join(__dirname, '..', '..', 'packages', 'rest'); xconfx.appApiGrantsPath = path.join(__dirname, '..', '..', 'packages', 'client-api-grants'); + xconfx.appConfigPath = path.join(__dirname, '..', '..', 'var'); function notConfigured(req, res) { var msg = "api package '" + req.pkgId + "' not configured for client uri '" + req.experienceId + "'" @@ -54,6 +55,12 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { }); } + function getSiteConfig(clientUrih) { + return fs.readFileAsync(path.join(xconfx.appConfigPath, clientUrih + '.json'), 'utf8').then(function (text) { + return JSON.parse(text); + }).then(function (data) { return data; }, function (/*err*/) { return {}; }); + } + function loadRestHelper(myConf, pkgId) { var pkgPath = path.join(myConf.restPath, pkgId); @@ -229,30 +236,55 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { return null; } - if (localCache.rests[pkgId]) { - localCache.rests[pkgId].handler(req, res, next); - hasBeenHandled = true; + return getSiteConfig(clientUrih).then(function (siteConfig) { + /* + Object.defineProperty(req, 'siteConfig', { + enumerable: true + , configurable: false + , writable: false + , value: siteConfig + }); + */ + Object.defineProperty(req, 'getSiteMailer', { + enumerable: true + , configurable: false + , writable: false + , value: function getSiteMailer() { + var nodemailer = require('nodemailer'); + var transport = require('nodemailer-mailgun-transport'); + //var mailconf = require('../../../com.daplie.mailer/config.mailgun'); + var mailconf = siteConfig['mailgun.org']; + var mailer = PromiseA.promisifyAll(nodemailer.createTransport(transport(mailconf))); - if (now - localCache.rests[pkgId].createdAt > staleAfter) { - localCache.rests[pkgId] = null; - } - } - - if (!localCache.rests[pkgId]) { - //return doesThisPkgExist - - return loadRestHandler(xconfx, pkgId).then(function (myHandler) { - if (!myHandler) { - notConfigured(req, res); - return; - } - - localCache.rests[pkgId] = { handler: myHandler.handler, createdAt: now }; - if (!hasBeenHandled) { - myHandler.handler(req, res, next); + return mailer; } }); - } + + if (localCache.rests[pkgId]) { + localCache.rests[pkgId].handler(req, res, next); + hasBeenHandled = true; + + if (now - localCache.rests[pkgId].createdAt > staleAfter) { + localCache.rests[pkgId] = null; + } + } + + if (!localCache.rests[pkgId]) { + //return doesThisPkgExist + + return loadRestHandler(xconfx, pkgId).then(function (myHandler) { + if (!myHandler) { + notConfigured(req, res); + return; + } + + localCache.rests[pkgId] = { handler: myHandler.handler, createdAt: now }; + if (!hasBeenHandled) { + myHandler.handler(req, res, next); + } + }); + } + }); }); }); }; From 65deaf3a853d52f0603ae20e7ee6c7cfb1765ba4 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 25 May 2017 17:43:51 +0000 Subject: [PATCH 52/76] reset permissions --- install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 41a9af3..0647bc4 100755 --- a/install.sh +++ b/install.sh @@ -141,7 +141,8 @@ install_etc_config() $sudo_cmd mv "$my_app_dir/$my_app_etc_config" "$MY_ROOT/$my_app_etc_config" fi - $sudo_cmd chown -R www-data:www-data $(dirname "$MY_ROOT/$my_app_etc_config") + $sudo_cmd chown -R www-data:www-data $(dirname "$MY_ROOT/$my_app_etc_config") || true + $sudo_cmd chown -R _www:_www $(dirname "$MY_ROOT/$my_app_etc_config") || true $sudo_cmd chmod 775 $(dirname "$MY_ROOT/$my_app_etc_config") $sudo_cmd chmod 664 "$MY_ROOT/$my_app_etc_config" } @@ -220,11 +221,16 @@ install_my_app() sudo mkdir -p /srv/walnut/etc/org.oauth3.provider sudo mkdir -p /srv/walnut/packages/{client-api-grants,rest,api,pages,services,sites} #sudo chown -R $(whoami):$(whoami) /srv/walnut - sudo chown -R www-data:www-data /srv/walnut + sudo chown -R www-data:www-data /srv/walnut || true + sudo chown -R _www:_www /srv/walnut || true sudo chmod -R ug+Xrw /srv/walnut pushd /srv/walnut/core + sudo chown -R $(whoami) /srv/walnut + #sudo --user www-data --group www-data npm install npm install + sudo chown -R www-data /srv/walnut || true + sudo chown -R _www /srv/walnut || true popd } From 4e0b996acde474c070dbdbba6142a17fa0e098a9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 25 May 2017 18:26:14 +0000 Subject: [PATCH 53/76] reset permissions --- install.sh | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index 0647bc4..db56956 100755 --- a/install.sh +++ b/install.sh @@ -72,8 +72,8 @@ dap_dl_bash() { dap_url=$1 #dap_args=$2 - rm -rf dap-tmp-runner.sh - $http_bin $http_opts $http_out dap-tmp-runner.sh "$dap_url"; bash dap-tmp-runner.sh; rm dap-tmp-runner.sh + rm -rf /tmp/dap-tmp-runner.sh + $http_bin $http_opts $http_out /tmp/dap-tmp-runner.sh "$dap_url"; bash /tmp/dap-tmp-runner.sh; rm /tmp/dap-tmp-runner.sh } detect_http_bin @@ -149,6 +149,7 @@ install_etc_config() install_service() { + echo "install etc config" install_etc_config installable="" @@ -185,6 +186,7 @@ create_skeleton() # Unistall install_uninstaller() { + echo "install uninstaller" dap_dl "https://git.daplie.com/Daplie/walnut.js/raw/master/uninstall.sh" "./walnut-uninstall" $sudo_cmd chmod 755 "./walnut-uninstall" $sudo_cmd chown root:root "./walnut-uninstall" @@ -220,21 +222,20 @@ install_my_app() sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer sudo mkdir -p /srv/walnut/etc/org.oauth3.provider sudo mkdir -p /srv/walnut/packages/{client-api-grants,rest,api,pages,services,sites} - #sudo chown -R $(whoami):$(whoami) /srv/walnut - sudo chown -R www-data:www-data /srv/walnut || true - sudo chown -R _www:_www /srv/walnut || true - sudo chmod -R ug+Xrw /srv/walnut pushd /srv/walnut/core - sudo chown -R $(whoami) /srv/walnut - #sudo --user www-data --group www-data npm install npm install - sudo chown -R www-data /srv/walnut || true - sudo chown -R _www /srv/walnut || true popd } +sudo mkdir -p /srv/walnut +sudo chown -R $(whoami) /srv/walnut + install_my_app create_skeleton install_uninstaller install_service + +sudo chown -R www-data:www-data /srv/walnut || true +sudo chown -R _www:_www /srv/walnut || true +sudo chmod -R ug+Xrw /srv/walnut From 66589782fed507e2a060aaaf1ac182fd68a591e2 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 25 May 2017 18:57:24 +0000 Subject: [PATCH 54/76] set installer base correctly --- install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index db56956..a0a9f01 100755 --- a/install.sh +++ b/install.sh @@ -134,6 +134,7 @@ install_for_launchd() install_etc_config() { + #echo "install etc config $MY_ROOT / $my_app_etc_config" if [ ! -e "$MY_ROOT/$my_app_etc_config" ]; then $sudo_cmd mkdir -p $(dirname "$MY_ROOT/$my_app_etc_config") mkdir -p $(dirname "$my_app_dir/$my_app_etc_config") @@ -149,8 +150,8 @@ install_etc_config() install_service() { - echo "install etc config" install_etc_config + #echo "install service" installable="" if [ -d "$MY_ROOT/etc/systemd/system" ]; then @@ -186,7 +187,7 @@ create_skeleton() # Unistall install_uninstaller() { - echo "install uninstaller" + #echo "install uninstaller" dap_dl "https://git.daplie.com/Daplie/walnut.js/raw/master/uninstall.sh" "./walnut-uninstall" $sudo_cmd chmod 755 "./walnut-uninstall" $sudo_cmd chown root:root "./walnut-uninstall" @@ -204,7 +205,8 @@ my_app_name=walnut my_app_pkg_name=com.daplie.walnut.web my_app_dir=$(mktemp -d) #installer_base="https://git.daplie.com/Daplie/walnut.js/raw/master/dist" -installer_base="./dist" +#installer_base="$( dirname "${BASH_SOURCE[0]}" )/dist" +installer_base="/srv/walnut/core/dist" my_app_etc_config="etc/${my_app_name}/${my_app_name}.yml" my_app_systemd_service="etc/systemd/system/${my_app_name}.service" From 172f7f3bc494f442456bdf92c99bf41adcb9ef7b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 25 May 2017 15:43:50 -0600 Subject: [PATCH 55/76] load correct path and document package loading --- lib/com.daplie.walnut/index.html | 17 +++++++++++++++++ lib/main.js | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/lib/com.daplie.walnut/index.html b/lib/com.daplie.walnut/index.html index 40a1121..a139eb0 100644 --- a/lib/com.daplie.walnut/index.html +++ b/lib/com.daplie.walnut/index.html @@ -36,6 +36,23 @@ + + + +
HTML packages go in /srv/walnut/packages/pages
+REST packages go in /srv/walnut/packages/rest
+API packages go in /srv/walnut/packages/api
+
+There are two ways to set up a site.
+
+The first is to create a site package yourself by adding files.
+/srv/walnut/packages/sites/example.com/index.html
+
+The other is by providing a single text file of the name of the site with the name of the package to load
+/srv/walnut/packages/sites/example.com => com.example
+ + + diff --git a/lib/main.js b/lib/main.js index da83127..de18e68 100644 --- a/lib/main.js +++ b/lib/main.js @@ -59,7 +59,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi if (!setupApp) { //setupApp = express.static(path.join(xconfx.staticpath, 'com.daplie.walnut')); - setupApp = express.static(path.join('lib', 'com.daplie.walnut')); + setupApp = express.static(path.join(__dirname, 'com.daplie.walnut')); } setupApp(req, res, function () { if ('/' === req.url) { From 6cfee0b20bd9ff927b83d817182b015b5f4b8cb7 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 25 May 2017 17:23:39 -0600 Subject: [PATCH 56/76] fix redirect matching --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index de18e68..46f0ad0 100644 --- a/lib/main.js +++ b/lib/main.js @@ -51,7 +51,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi function notConfigured(req, res, next) { if (setupDomain !== req.hostname) { console.log('[notConfigured] req.hostname', req.hostname); - if (/\.html\b/.test(req.url)) { + if ('/' === req.url[req.url.length - 1] || /\.html\b/.test(req.url)) { redirectSetup(req.hostname, req, res); return; } From 3d0170368e7c7afe58d92dcba39e282581a6237e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 26 May 2017 20:23:17 +0000 Subject: [PATCH 57/76] extend getSiteConfig to use directory --- README.md | 2 +- lib/apis.js | 10 +++++++--- package.json | 1 + 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3325e1f..8880adc 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ Once you run the app the initialization files will appear in these locations ``` /srv/walnut/var/com.daplie.walnut.config.sqlite3 -/srv/walnut/config/.json +/srv/walnut/config//config.json ``` Deleting those files will rese diff --git a/lib/apis.js b/lib/apis.js index fb65f9a..2203928 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -2,6 +2,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { var PromiseA = apiDeps.Promise; + var mkdirpAsync = PromiseA.promisify(require('mkdirp')); //var express = require('express'); var express = require('express-lazy'); var fs = PromiseA.promisifyAll(require('fs')); @@ -56,9 +57,12 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { } function getSiteConfig(clientUrih) { - return fs.readFileAsync(path.join(xconfx.appConfigPath, clientUrih + '.json'), 'utf8').then(function (text) { - return JSON.parse(text); - }).then(function (data) { return data; }, function (/*err*/) { return {}; }); + var siteConfigPath = path.join(xconfx.appConfigPath, clientUrih); + return mkdirpAsync(siteConfigPath).then(function () { + return fs.readFileAsync(path.join(siteConfigPath, 'config.json'), 'utf8').then(function (text) { + return JSON.parse(text); + }).then(function (data) { return data; }, function (/*err*/) { return {}; }); + }); } function loadRestHelper(myConf, pkgId) { diff --git a/package.json b/package.json index 9d06ed8..efa3ca0 100644 --- a/package.json +++ b/package.json @@ -89,6 +89,7 @@ "mime": "^1.3.4", "mime-db": "^1.8.0", "mime-types": "^2.0.10", + "mkdirp": "^0.5.1", "ms": "^0.7.0", "native-dns": "^0.7.0", "negotiator": "^0.5.1", From 8dcd1461bdc8359ff14a0876a884484151ceb2b2 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 26 May 2017 20:55:18 +0000 Subject: [PATCH 58/76] add getSitePackageConfig --- lib/apis.js | 170 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 97 insertions(+), 73 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index 2203928..827e51d 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -56,7 +56,17 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { }); } + function getSitePackageConfig(clientUrih, pkgId) { + var siteConfigPath = path.join(xconfx.appConfigPath, clientUrih); + return mkdirpAsync(siteConfigPath).then(function () { + return fs.readFileAsync(path.join(siteConfigPath, pkgId + '.json'), 'utf8').then(function (text) { + return JSON.parse(text); + }).then(function (data) { return data; }, function (/*err*/) { return {}; }); + }); + } + function getSiteConfig(clientUrih) { + // TODO test if the requesting package has permission to the root-level site config var siteConfigPath = path.join(xconfx.appConfigPath, clientUrih); return mkdirpAsync(siteConfigPath).then(function () { return fs.readFileAsync(path.join(siteConfigPath, 'config.json'), 'utf8').then(function (text) { @@ -65,7 +75,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { }); } - function loadRestHelper(myConf, pkgId) { + function loadRestHelper(myConf, clientUrih, pkgId) { var pkgPath = path.join(myConf.restPath, pkgId); // TODO should not require package.json. Should work with files alone. @@ -99,24 +109,24 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { myApp = express(); /* - var pkgConf = { - pagespath: path.join(__dirname, '..', '..', 'packages', 'pages') + path.sep - , apipath: path.join(__dirname, '..', '..', 'packages', 'apis') + path.sep - , servicespath: path.join(__dirname, '..', '..', 'packages', 'services') - , vhostsMap: vhostsMap - , vhostPatterns: null - , server: webserver - , externalPort: info.conf.externalPort - , primaryNameserver: info.conf.primaryNameserver - , nameservers: info.conf.nameservers - , privkey: info.conf.privkey - , pubkey: info.conf.pubkey - , redirects: info.conf.redirects - , apiPrefix: '/api' - , 'org.oauth3.consumer': info.conf['org.oauth3.consumer'] - , 'org.oauth3.provider': info.conf['org.oauth3.provider'] - , keys: info.conf.keys - }; + var pkgConf = { + pagespath: path.join(__dirname, '..', '..', 'packages', 'pages') + path.sep + , apipath: path.join(__dirname, '..', '..', 'packages', 'apis') + path.sep + , servicespath: path.join(__dirname, '..', '..', 'packages', 'services') + , vhostsMap: vhostsMap + , vhostPatterns: null + , server: webserver + , externalPort: info.conf.externalPort + , primaryNameserver: info.conf.primaryNameserver + , nameservers: info.conf.nameservers + , privkey: info.conf.privkey + , pubkey: info.conf.pubkey + , redirects: info.conf.redirects + , apiPrefix: '/api' + , 'org.oauth3.consumer': info.conf['org.oauth3.consumer'] + , 'org.oauth3.provider': info.conf['org.oauth3.provider'] + , keys: info.conf.keys + }; */ var _getOauth3Controllers = pkgDeps.getOauth3Controllers = require('oauthcommon/example-oauthmodels').create( @@ -125,13 +135,52 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { //require('oauthcommon').inject(packagedApi._getOauth3Controllers, packagedApi._api, pkgConf, pkgDeps); require('oauthcommon').inject(_getOauth3Controllers, myApp/*, pkgConf, pkgDeps*/); - myApp.use('/', function preHandler(req, res, next) { - req.walnutOriginalUrl = req.url; - // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' - req.url = req.url.replace(/\/api\//, '').replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/'); - console.log('[prehandler] req.url', req.url); + myApp.use('/public', function preHandler(req, res, next) { + // TODO authenticate or use guest user next(); }); + + myApp.use('/', function preHandler(req, res, next) { + return getSiteConfig(clientUrih).then(function (siteConfig) { + /* + Object.defineProperty(req, 'siteConfig', { + enumerable: true + , configurable: false + , writable: false + , value: siteConfig + }); + */ + Object.defineProperty(req, 'getSiteMailer', { + enumerable: true + , configurable: false + , writable: false + , value: function getSiteMailerProp() { + var nodemailer = require('nodemailer'); + var transport = require('nodemailer-mailgun-transport'); + //var mailconf = require('../../../com.daplie.mailer/config.mailgun'); + var mailconf = siteConfig['mailgun.org']; + var mailer = PromiseA.promisifyAll(nodemailer.createTransport(transport(mailconf))); + + return mailer; + } + }); + + Object.defineProperty(req, 'getSitePackageConfig', { + enumerable: true + , configurable: false + , writable: false + , value: function getSitePackageConfigProp() { + return getSitePackageConfig(clientUrih, pkgId); + } + }); + + req._walnutOriginalUrl = req.url; + // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' + req.url = req.url.replace(/\/api\//, '').replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/'); + console.log('[prehandler] req.url', req.url); + next(); + }); + }); // // TODO handle /accounts/:accountId // @@ -140,7 +189,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { }/*pkgConf*/, pkgDeps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { myApp.use('/', function postHandler(req, res, next) { - req.url = req.walnutOriginalUrl; + req.url = req._walnutOriginalUrl; console.log('[posthandler] req.url', req.url); next(); }); @@ -154,10 +203,10 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { // Read packages/apis/sub.sld.tld (forward dns) to find list of apis as tld.sld.sub (reverse dns) // TODO packages/allowed_apis/sub.sld.tld (?) // TODO auto-register org.oauth3.consumer for primaryDomain (and all sites?) - function loadRestHandler(myConf, pkgId) { + function loadRestHandler(myConf, clientUrih, pkgId) { return PromiseA.resolve().then(function () { if (!localCache.pkgs[pkgId]) { - return loadRestHelper(myConf, pkgId); + return loadRestHelper(myConf, clientUrih, pkgId); } return localCache.pkgs[pkgId]; @@ -240,55 +289,30 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { return null; } - return getSiteConfig(clientUrih).then(function (siteConfig) { - /* - Object.defineProperty(req, 'siteConfig', { - enumerable: true - , configurable: false - , writable: false - , value: siteConfig - }); - */ - Object.defineProperty(req, 'getSiteMailer', { - enumerable: true - , configurable: false - , writable: false - , value: function getSiteMailer() { - var nodemailer = require('nodemailer'); - var transport = require('nodemailer-mailgun-transport'); - //var mailconf = require('../../../com.daplie.mailer/config.mailgun'); - var mailconf = siteConfig['mailgun.org']; - var mailer = PromiseA.promisifyAll(nodemailer.createTransport(transport(mailconf))); + if (localCache.rests[pkgId]) { + localCache.rests[pkgId].handler(req, res, next); + hasBeenHandled = true; - return mailer; + if (now - localCache.rests[pkgId].createdAt > staleAfter) { + localCache.rests[pkgId] = null; + } + } + + if (!localCache.rests[pkgId]) { + //return doesThisPkgExist + + return loadRestHandler(xconfx, clientUrih, pkgId).then(function (myHandler) { + if (!myHandler) { + notConfigured(req, res); + return; + } + + localCache.rests[pkgId] = { handler: myHandler.handler, createdAt: now }; + if (!hasBeenHandled) { + myHandler.handler(req, res, next); } }); - - if (localCache.rests[pkgId]) { - localCache.rests[pkgId].handler(req, res, next); - hasBeenHandled = true; - - if (now - localCache.rests[pkgId].createdAt > staleAfter) { - localCache.rests[pkgId] = null; - } - } - - if (!localCache.rests[pkgId]) { - //return doesThisPkgExist - - return loadRestHandler(xconfx, pkgId).then(function (myHandler) { - if (!myHandler) { - notConfigured(req, res); - return; - } - - localCache.rests[pkgId] = { handler: myHandler.handler, createdAt: now }; - if (!hasBeenHandled) { - myHandler.handler(req, res, next); - } - }); - } - }); + } }); }); }; From 72032b644b8dd9d338dc5120ee0d2bb1aa8634bc Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 26 May 2017 21:10:23 +0000 Subject: [PATCH 59/76] add getSiteConfig --- lib/apis.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/apis.js b/lib/apis.js index 827e51d..a210b8f 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -165,6 +165,15 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { } }); + Object.defineProperty(req, 'getSiteConfig', { + enumerable: true + , configurable: false + , writable: false + , value: function getSiteMailerProp(section) { + return PromiseA.resolve((siteConfig || {})[section]); + } + }); + Object.defineProperty(req, 'getSitePackageConfig', { enumerable: true , configurable: false From 69a18ad7d417eacaaa06ea275cdf764eaba4d94c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 26 May 2017 22:06:21 +0000 Subject: [PATCH 60/76] add getSiteStore --- lib/apis.js | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/lib/apis.js b/lib/apis.js index a210b8f..7bce80f 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -75,6 +75,37 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { }); } + var modelsCache = {}; + function getSiteStore(clientUrih, pkgId, dir) { + if (modelsCache[clientUrih]) { + return modelsCache[clientUrih]; + } + + // DB scopes: + // system (global) + // experience (per domain) + // api (per api) + // account (per user account) + // client (per 3rd party client) + + // scope Experience to db + // scope Api by table + // scope Account and Client by column + modelsCache[clientUrih] = apiFactories.systemSqlFactory.create({ + init: true + , dbname: clientUrih // '#' is a valid file name character + }).then(function (db) { + var wrap = require('masterquest-sqlite3'); + + return wrap.wrap(db, dir).then(function (models) { + modelsCache[clientUrih] = PromiseA.resolve(models); + return models; + }); + }); + + return modelsCache[clientUrih]; + } + function loadRestHelper(myConf, clientUrih, pkgId) { var pkgPath = path.join(myConf.restPath, pkgId); @@ -183,6 +214,26 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { } }); + Object.defineProperty(req, 'getSiteStore', { + enumerable: true + , configurable: false + , writable: false + , value: function getSiteStoreProp() { + var restPath = path.join(myConf.restPath, pkgId); + var apiPath = path.join(myConf.apiPath, pkgId); + var dir; + + // TODO usage package.json as a falback if the standard location is not used + try { + dir = require(path.join(apiPath, 'models.js')); + } catch(e) { + dir = require(path.join(restPath, 'models.js')); + } + + return getSiteStore(clientUrih, pkgId, dir); + } + }); + req._walnutOriginalUrl = req.url; // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' req.url = req.url.replace(/\/api\//, '').replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/'); From 064f4ca9035539bd2f621e8e9015df6d2a521516 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 26 May 2017 23:09:49 +0000 Subject: [PATCH 61/76] support text linked packages --- lib/apis.js | 251 +++++++++++++++++++++++++--------------------------- 1 file changed, 121 insertions(+), 130 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index 7bce80f..249c051 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -108,155 +108,146 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { function loadRestHelper(myConf, clientUrih, pkgId) { var pkgPath = path.join(myConf.restPath, pkgId); + var pkgLinks = []; + pkgLinks.push(pkgId); - // TODO should not require package.json. Should work with files alone. - return fs.readFileAsync(path.join(pkgPath, 'package.json'), 'utf8').then(function (text) { - var pkg = JSON.parse(text); - var pkgDeps = {}; - var myApp; - - if (pkg.walnut) { - pkgPath = path.join(pkgPath, pkg.walnut); + // TODO allow recursion, but catch cycles + return fs.lstatAsync(pkgPath).then(function (stat) { + if (!stat.isFile()) { + return; } - Object.keys(apiDeps).forEach(function (key) { - pkgDeps[key] = apiDeps[key]; - }); - Object.keys(apiFactories).forEach(function (key) { - pkgDeps[key] = apiFactories[key]; + return fs.readFileAsync(pkgPath, 'utf8').then(function (text) { + pkgId = text.trim(); + pkgPath = path.join(myConf.restPath, pkgId); }); + }, function () { + // ignore error + return; + }).then(function () { + // TODO should not require package.json. Should work with files alone. + return fs.readFileAsync(path.join(pkgPath, 'package.json'), 'utf8').then(function (text) { + var pkg = JSON.parse(text); + var pkgDeps = {}; + var myApp; - // TODO pull db stuff from package.json somehow and pass allowed data models as deps - // - // how can we tell which of these would be correct? - // deps.memstore = apiFactories.memstoreFactory.create(pkgId); - // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId); - // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId + pkgId); + if (pkg.walnut) { + pkgPath = path.join(pkgPath, pkg.walnut); + } - // let's go with this one for now and the api can choose to scope or not to scope - pkgDeps.memstore = apiFactories.memstoreFactory.create(pkgId); + Object.keys(apiDeps).forEach(function (key) { + pkgDeps[key] = apiDeps[key]; + }); + Object.keys(apiFactories).forEach(function (key) { + pkgDeps[key] = apiFactories[key]; + }); - console.log('DEBUG pkgPath', pkgPath); - myApp = express(); + // TODO pull db stuff from package.json somehow and pass allowed data models as deps + // + // how can we tell which of these would be correct? + // deps.memstore = apiFactories.memstoreFactory.create(pkgId); + // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId); + // deps.memstore = apiFactories.memstoreFactory.create(req.experienceId + pkgId); -/* - var pkgConf = { - pagespath: path.join(__dirname, '..', '..', 'packages', 'pages') + path.sep - , apipath: path.join(__dirname, '..', '..', 'packages', 'apis') + path.sep - , servicespath: path.join(__dirname, '..', '..', 'packages', 'services') - , vhostsMap: vhostsMap - , vhostPatterns: null - , server: webserver - , externalPort: info.conf.externalPort - , primaryNameserver: info.conf.primaryNameserver - , nameservers: info.conf.nameservers - , privkey: info.conf.privkey - , pubkey: info.conf.pubkey - , redirects: info.conf.redirects - , apiPrefix: '/api' - , 'org.oauth3.consumer': info.conf['org.oauth3.consumer'] - , 'org.oauth3.provider': info.conf['org.oauth3.provider'] - , keys: info.conf.keys - }; -*/ + // let's go with this one for now and the api can choose to scope or not to scope + pkgDeps.memstore = apiFactories.memstoreFactory.create(pkgId); - var _getOauth3Controllers = pkgDeps.getOauth3Controllers = require('oauthcommon/example-oauthmodels').create( - { sqlite3Sock: xconfx.sqlite3Sock, ipcKey: xconfx.ipcKey } - ).getControllers; - //require('oauthcommon').inject(packagedApi._getOauth3Controllers, packagedApi._api, pkgConf, pkgDeps); - require('oauthcommon').inject(_getOauth3Controllers, myApp/*, pkgConf, pkgDeps*/); + console.log('DEBUG pkgPath', pkgPath); + myApp = express(); - myApp.use('/public', function preHandler(req, res, next) { - // TODO authenticate or use guest user - next(); - }); + var _getOauth3Controllers = pkgDeps.getOauth3Controllers = require('oauthcommon/example-oauthmodels').create( + { sqlite3Sock: xconfx.sqlite3Sock, ipcKey: xconfx.ipcKey } + ).getControllers; + //require('oauthcommon').inject(packagedApi._getOauth3Controllers, packagedApi._api, pkgConf, pkgDeps); + require('oauthcommon').inject(_getOauth3Controllers, myApp/*, pkgConf, pkgDeps*/); - myApp.use('/', function preHandler(req, res, next) { - return getSiteConfig(clientUrih).then(function (siteConfig) { - /* - Object.defineProperty(req, 'siteConfig', { - enumerable: true - , configurable: false - , writable: false - , value: siteConfig - }); - */ - Object.defineProperty(req, 'getSiteMailer', { - enumerable: true - , configurable: false - , writable: false - , value: function getSiteMailerProp() { - var nodemailer = require('nodemailer'); - var transport = require('nodemailer-mailgun-transport'); - //var mailconf = require('../../../com.daplie.mailer/config.mailgun'); - var mailconf = siteConfig['mailgun.org']; - var mailer = PromiseA.promisifyAll(nodemailer.createTransport(transport(mailconf))); + myApp.use('/public', function preHandler(req, res, next) { + // TODO authenticate or use guest user + next(); + }); - return mailer; - } - }); + myApp.use('/', function preHandler(req, res, next) { + return getSiteConfig(clientUrih).then(function (siteConfig) { + Object.defineProperty(req, 'getSiteMailer', { + enumerable: true + , configurable: false + , writable: false + , value: function getSiteMailerProp() { + var nodemailer = require('nodemailer'); + var transport = require('nodemailer-mailgun-transport'); + //var mailconf = require('../../../com.daplie.mailer/config.mailgun'); + var mailconf = siteConfig['mailgun.org']; + var mailer = PromiseA.promisifyAll(nodemailer.createTransport(transport(mailconf))); - Object.defineProperty(req, 'getSiteConfig', { - enumerable: true - , configurable: false - , writable: false - , value: function getSiteMailerProp(section) { - return PromiseA.resolve((siteConfig || {})[section]); - } - }); - - Object.defineProperty(req, 'getSitePackageConfig', { - enumerable: true - , configurable: false - , writable: false - , value: function getSitePackageConfigProp() { - return getSitePackageConfig(clientUrih, pkgId); - } - }); - - Object.defineProperty(req, 'getSiteStore', { - enumerable: true - , configurable: false - , writable: false - , value: function getSiteStoreProp() { - var restPath = path.join(myConf.restPath, pkgId); - var apiPath = path.join(myConf.apiPath, pkgId); - var dir; - - // TODO usage package.json as a falback if the standard location is not used - try { - dir = require(path.join(apiPath, 'models.js')); - } catch(e) { - dir = require(path.join(restPath, 'models.js')); + return mailer; } + }); - return getSiteStore(clientUrih, pkgId, dir); - } + Object.defineProperty(req, 'getSiteConfig', { + enumerable: true + , configurable: false + , writable: false + , value: function getSiteMailerProp(section) { + return PromiseA.resolve((siteConfig || {})[section]); + } + }); + + Object.defineProperty(req, 'getSitePackageConfig', { + enumerable: true + , configurable: false + , writable: false + , value: function getSitePackageConfigProp() { + return getSitePackageConfig(clientUrih, pkgId); + } + }); + + Object.defineProperty(req, 'getSiteStore', { + enumerable: true + , configurable: false + , writable: false + , value: function getSiteStoreProp() { + var restPath = path.join(myConf.restPath, pkgId); + var apiPath = path.join(myConf.apiPath, pkgId); + var dir; + + // TODO usage package.json as a falback if the standard location is not used + try { + dir = require(path.join(apiPath, 'models.js')); + } catch(e) { + dir = require(path.join(restPath, 'models.js')); + } + + return getSiteStore(clientUrih, pkgId, dir); + } + }); + + req._walnutOriginalUrl = req.url; + // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' + req.url = req.url.replace(/\/api\//, '').replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/'); + console.log('[prehandler] req.url', req.url); + next(); + }); + }); + // + // TODO handle /accounts/:accountId + // + return PromiseA.resolve(require(pkgPath).create({ + etcpath: xconfx.etcpath + }/*pkgConf*/, pkgDeps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { + + myApp.use('/', function postHandler(req, res, next) { + req.url = req._walnutOriginalUrl; + console.log('[posthandler] req.url', req.url); + next(); }); - req._walnutOriginalUrl = req.url; - // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' - req.url = req.url.replace(/\/api\//, '').replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/'); - console.log('[prehandler] req.url', req.url); - next(); + localCache.pkgs[pkgId] = { pkgId: pkgId, pkg: pkg, handler: handler || myApp, createdAt: Date.now() }; + pkgLinks.forEach(function (pkgLink) { + localCache.pkgs[pkgLink] = localCache.pkgs[pkgId]; + }); + return localCache.pkgs[pkgId]; }); }); - // - // TODO handle /accounts/:accountId - // - return PromiseA.resolve(require(pkgPath).create({ - etcpath: xconfx.etcpath - }/*pkgConf*/, pkgDeps/*pkgDeps*/, myApp/*myApp*/)).then(function (handler) { - - myApp.use('/', function postHandler(req, res, next) { - req.url = req._walnutOriginalUrl; - console.log('[posthandler] req.url', req.url); - next(); - }); - - localCache.pkgs[pkgId] = { pkg: pkg, handler: handler || myApp, createdAt: Date.now() }; - return localCache.pkgs[pkgId]; - }); }); } From d27442f18206a137fa86ffffdab76466fb8c49c3 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 27 May 2017 01:17:50 +0000 Subject: [PATCH 62/76] add missing api dir --- lib/apis.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/apis.js b/lib/apis.js index 249c051..fc51f49 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -11,6 +11,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { // TODO xconfx.apispath xconfx.restPath = path.join(__dirname, '..', '..', 'packages', 'rest'); + xconfx.apiPath = path.join(__dirname, '..', '..', 'packages', 'api'); xconfx.appApiGrantsPath = path.join(__dirname, '..', '..', 'packages', 'client-api-grants'); xconfx.appConfigPath = path.join(__dirname, '..', '..', 'var'); From 41ca197500f46627f789b39cfe093a5902e4d44d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 29 May 2017 17:08:32 +0000 Subject: [PATCH 63/76] add other mailers --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index efa3ca0..ec415c1 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,8 @@ "json-storage": "2.x", "jsonwebtoken": "^5.4.0", "lodash": "2.x", + "mailchimp-api-v3": "^1.7.0", + "mandrill-api": "^1.0.45", "masterquest-sqlite3": "git+https://git.daplie.com/node/masterquest-sqlite3.git", "media-typer": "^0.3.0", "methods": "^1.1.1", From a379a3c2013c3ba1971aea82497f9df10edd056c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 29 May 2017 17:32:44 +0000 Subject: [PATCH 64/76] add stripe and promises --- lib/apis.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/apis.js b/lib/apis.js index fc51f49..46aced2 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -155,6 +155,8 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { console.log('DEBUG pkgPath', pkgPath); myApp = express(); + myApp.handlePromise = require('./lib/common').promisableRequest; + myApp.handleRejection = require('./lib/common').rejectableRequest; var _getOauth3Controllers = pkgDeps.getOauth3Controllers = require('oauthcommon/example-oauthmodels').create( { sqlite3Sock: xconfx.sqlite3Sock, ipcKey: xconfx.ipcKey } @@ -222,6 +224,9 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { } }); + req.Stripe = require('stripe')(siteConfig['stripe.com'].live.secret); + req.StripeTest = require('stripe')(siteConfig['stripe.com'].test.secret); + req._walnutOriginalUrl = req.url; // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' req.url = req.url.replace(/\/api\//, '').replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/'); From c740607c9890211eb73ac51ee2966ae4a4d99353 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 29 May 2017 17:35:52 +0000 Subject: [PATCH 65/76] stub for abstract payments --- lib/apis.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/apis.js b/lib/apis.js index 46aced2..d9f237e 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -224,6 +224,15 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { } }); + /* + Object.defineProperty(req, 'getSitePayments', { + enumerable: true + , configurable: false + , writable: false + , value: function getSitePaymentsProp() { + } + }); + */ req.Stripe = require('stripe')(siteConfig['stripe.com'].live.secret); req.StripeTest = require('stripe')(siteConfig['stripe.com'].test.secret); From 5ff3e8ecca3af2246103675199c531106f71e5fa Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 29 May 2017 17:43:58 +0000 Subject: [PATCH 66/76] comment on stripe tenants --- lib/apis.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/apis.js b/lib/apis.js index d9f237e..adab8a3 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -233,6 +233,8 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { } }); */ + // TODO allow third-party clients stripe ids destination + // https://stripe.com/docs/connect/payments-fees req.Stripe = require('stripe')(siteConfig['stripe.com'].live.secret); req.StripeTest = require('stripe')(siteConfig['stripe.com'].test.secret); From 7a9ea3fef8a081288505653eaea9e616ade75f27 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 29 May 2017 18:29:05 +0000 Subject: [PATCH 67/76] define properties for mailers and stripe --- lib/apis.js | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index adab8a3..5950d35 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -169,6 +169,11 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { next(); }); + // TODO delete these caches when config changes + var _stripe; + var _stripe_test; + var _mandrill; + var _mailchimp; myApp.use('/', function preHandler(req, res, next) { return getSiteConfig(clientUrih).then(function (siteConfig) { Object.defineProperty(req, 'getSiteMailer', { @@ -235,8 +240,54 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { */ // TODO allow third-party clients stripe ids destination // https://stripe.com/docs/connect/payments-fees - req.Stripe = require('stripe')(siteConfig['stripe.com'].live.secret); - req.StripeTest = require('stripe')(siteConfig['stripe.com'].test.secret); + Object.defineProperty(req, 'Stripe', { + enumerable: true + , configurable: false + , writable: false + , get: function () { + _stripe = _stripe || require('stripe')(siteConfig['stripe.com'].live.secret); + return _stripe; + } + }); + + Object.defineProperty(req, 'StripeTest', { + enumerable: true + , configurable: false + , writable: false + , get: function () { + _stripe_test = _stripe_test || require('stripe')(siteConfig['stripe.com'].test.secret); + return _stripe_test; + } + }); + + Object.defineProperty(req, 'Mandrill', { + enumerable: true + , configurable: false + , writable: false + , get: function () { + if (!_mandrill) { + var Mandrill = require('mandrill-api/mandrill'); + _mandrill = new Mandrill.Mandrill(siteConfig['mandrill.com'].apiKey); + _mandrill.messages.sendTemplateAsync = function (opts) { + return new PromiseA(function (resolve, reject) { + _mandrill.messages.sendTemplate(opts, resolve, reject); + }); + }; + } + return _mandrill; + } + }); + + Object.defineProperty(req, 'Mailchimp', { + enumerable: true + , configurable: false + , writable: false + , get: function () { + var Mailchimp = require('mailchimp-api-v3'); + _mailchimp = _mailchimp || new Mailchimp(siteConfig['mailchimp.com'].apiKey); + return _stripe_test; + } + }); req._walnutOriginalUrl = req.url; // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' @@ -245,6 +296,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { next(); }); }); + // // TODO handle /accounts/:accountId // From a2dcd45403d725872ffd8b873ee2bdc53a04b4e5 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 29 May 2017 18:35:59 +0000 Subject: [PATCH 68/76] typo fixes --- lib/apis.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index 5950d35..b807721 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -155,8 +155,8 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { console.log('DEBUG pkgPath', pkgPath); myApp = express(); - myApp.handlePromise = require('./lib/common').promisableRequest; - myApp.handleRejection = require('./lib/common').rejectableRequest; + myApp.handlePromise = require('./common').promisableRequest; + myApp.handleRejection = require('./common').rejectableRequest; var _getOauth3Controllers = pkgDeps.getOauth3Controllers = require('oauthcommon/example-oauthmodels').create( { sqlite3Sock: xconfx.sqlite3Sock, ipcKey: xconfx.ipcKey } @@ -243,7 +243,6 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { Object.defineProperty(req, 'Stripe', { enumerable: true , configurable: false - , writable: false , get: function () { _stripe = _stripe || require('stripe')(siteConfig['stripe.com'].live.secret); return _stripe; @@ -253,7 +252,6 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { Object.defineProperty(req, 'StripeTest', { enumerable: true , configurable: false - , writable: false , get: function () { _stripe_test = _stripe_test || require('stripe')(siteConfig['stripe.com'].test.secret); return _stripe_test; @@ -263,7 +261,6 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { Object.defineProperty(req, 'Mandrill', { enumerable: true , configurable: false - , writable: false , get: function () { if (!_mandrill) { var Mandrill = require('mandrill-api/mandrill'); @@ -281,7 +278,6 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { Object.defineProperty(req, 'Mailchimp', { enumerable: true , configurable: false - , writable: false , get: function () { var Mailchimp = require('mailchimp-api-v3'); _mailchimp = _mailchimp || new Mailchimp(siteConfig['mailchimp.com'].apiKey); From f07780ac4e69c316a95e5f7f5f6e8d516eac6a0f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 29 May 2017 21:39:52 +0000 Subject: [PATCH 69/76] add app.grantsRequired --- lib/apis.js | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/lib/apis.js b/lib/apis.js index b807721..e7970a7 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -157,6 +157,44 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { myApp = express(); myApp.handlePromise = require('./common').promisableRequest; myApp.handleRejection = require('./common').rejectableRequest; + myApp.grantsRequired = function (grants) { + if (!Array.isArray(grants)) { + throw new Error("Usage: app.grantsRequired([ 'name|altname|altname2', 'othergrant' ])"); + } + + if (!grants.length) { + return function (req, res, next) { + next(); + }; + } + + return function (req, res, next) { + if (!(req.oauth3 || req.oauth3.token)) { + // TODO some error generator for standard messages + res.send({ error: { message: "You must be logged in", code: "E_NO_AUTHN" } }); + return; + } + if ('string' !== req.oauth3.token.scp) { + res.send({ error: { message: "Token must contain a grants string in 'scp'", code: "E_NO_GRANTS" } }); + return; + } + + // every grant in the array must be present + if (!grants.every(function (grant) { + var scopes = grant.split(/\|/g); + return scopes.some(function (scp) { + return req.oauth3.token.scp.split(/[,\s]+/mg).some(function (s) { + return scp === s; + }); + }); + })) { + res.send({ error: { message: "Token does not contain valid grants: '" + grants + "'", code: "E_NO_GRANTS" } }); + return; + } + + next(); + }; + }; var _getOauth3Controllers = pkgDeps.getOauth3Controllers = require('oauthcommon/example-oauthmodels').create( { sqlite3Sock: xconfx.sqlite3Sock, ipcKey: xconfx.ipcKey } From 1ae97267a0556b64981ad5901b0a33a8fb8b2827 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 30 May 2017 01:21:43 +0000 Subject: [PATCH 70/76] typo fix --- lib/apis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apis.js b/lib/apis.js index e7970a7..6ffe6ec 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -174,7 +174,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { res.send({ error: { message: "You must be logged in", code: "E_NO_AUTHN" } }); return; } - if ('string' !== req.oauth3.token.scp) { + if ('string' !== typeof req.oauth3.token.scp) { res.send({ error: { message: "Token must contain a grants string in 'scp'", code: "E_NO_GRANTS" } }); return; } From 68e48800c3c766a2cc14d733c79ed21feaaeef72 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 30 May 2017 01:39:21 +0000 Subject: [PATCH 71/76] allow multiple db wraps --- lib/apis.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index 6ffe6ec..057bf2c 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -78,8 +78,11 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { var modelsCache = {}; function getSiteStore(clientUrih, pkgId, dir) { - if (modelsCache[clientUrih]) { - return modelsCache[clientUrih]; + if (!modelsCache[clientUrih]) { + modelsCache[clientUrih] = apiFactories.systemSqlFactory.create({ + init: true + , dbname: clientUrih // '#' is a valid file name character + }); } // DB scopes: @@ -92,19 +95,14 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { // scope Experience to db // scope Api by table // scope Account and Client by column - modelsCache[clientUrih] = apiFactories.systemSqlFactory.create({ - init: true - , dbname: clientUrih // '#' is a valid file name character - }).then(function (db) { + return modelsCache[clientUrih].then(function (db) { var wrap = require('masterquest-sqlite3'); return wrap.wrap(db, dir).then(function (models) { - modelsCache[clientUrih] = PromiseA.resolve(models); + //modelsCache[clientUrih] = PromiseA.resolve(models); return models; }); }); - - return modelsCache[clientUrih]; } function loadRestHelper(myConf, clientUrih, pkgId) { From 614eb960d487e2392d413f4aacf16c87d20ba5e8 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 30 May 2017 17:29:14 +0000 Subject: [PATCH 72/76] clientApiUri --- lib/apis.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/apis.js b/lib/apis.js index 057bf2c..2443ef2 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -395,6 +395,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { // example.com/subpath/api should resolve to example.com#subapp // sub.example.com/subpath/api should resolve to sub.example.com#subapp var clientUrih = req.hostname.replace(/^api\./, '') + req.url.replace(/\/api\/.*/, '/').replace(/\/+/g, '#').replace(/#$/, ''); + var clientApiUri = req.hostname + req.url.replace(/\/api\/.*/, '/').replace(/\/$/, ''); // Canonical package names // '/api/com.daplie.hello/hello' should resolve to 'com.daplie.hello' // '/subapp/api/com.daplie.hello/hello' should also 'com.daplie.hello' @@ -410,6 +411,12 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { , writable: false , value: clientUrih }); + Object.defineProperty(req, 'clientApiUri', { + enumerable: true + , configurable: false + , writable: false + , value: clientApiUri + }); Object.defineProperty(req, 'apiId', { enumerable: true , configurable: false From 98188ed093f95fbac0ddeab6d4178ca7d8e8f70a Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 30 May 2017 17:31:29 +0000 Subject: [PATCH 73/76] add stripe --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index ec415c1..167ab39 100644 --- a/package.json +++ b/package.json @@ -118,6 +118,7 @@ "sqlite3": "3.x", "sqlite3-cluster": "git+https://git.daplie.com/coolaj86/sqlite3-cluster.git#v2", "ssl-root-cas": "1.x", + "stripe": "^4.22.0", "twilio": "1.x", "type-is": "^1.6.1", "underscore.string": "2.x", From 2299af2b01e8a15586bd5dcbf96cb5baafb441ad Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 31 May 2017 00:40:44 +0000 Subject: [PATCH 74/76] chimney --- lib/apis.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/apis.js b/lib/apis.js index 2443ef2..5f57b35 100644 --- a/lib/apis.js +++ b/lib/apis.js @@ -32,7 +32,6 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { var appApiGrantsPath = path.join(myConf.appApiGrantsPath, clientUrih); return fs.readFileAsync(appApiGrantsPath, 'utf8').then(function (text) { - console.log('sanity', text); return text.trim().split(/\n/); }, function (err) { if ('ENOENT' !== err.code) { @@ -42,7 +41,6 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { }).then(function (apis) { if (apis.some(function (api) { if (api === pkgId) { - console.log(api, pkgId, api === pkgId); return true; } })) { @@ -324,7 +322,6 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { req._walnutOriginalUrl = req.url; // "/path/api/com.example/hello".replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/') => '/hello' req.url = req.url.replace(/\/api\//, '').replace(/.*\/api\//, '').replace(/([^\/]*\/+)/, '/'); - console.log('[prehandler] req.url', req.url); next(); }); }); @@ -338,7 +335,6 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { myApp.use('/', function postHandler(req, res, next) { req.url = req._walnutOriginalUrl; - console.log('[posthandler] req.url', req.url); next(); }); @@ -388,7 +384,6 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) { return function (req, res, next) { cors(req, res, function () { - console.log('[sanity check]', req.url); // Canonical client names // example.com should use api.example.com/api for all requests // sub.example.com/api should resolve to sub.example.com From 4f221be940696a2c522a0f13e02752789a51b236 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 31 May 2017 00:55:32 +0000 Subject: [PATCH 75/76] update README and branch with v1 --- README.md | 18 +++++++++++++++++- install.sh | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8880adc..34bbab1 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,27 @@ walnut Small, light, and secure iot application framework. ```bash -curl https://git.daplie.com/Daplie/daplie-snippets/raw/master/install.sh | bash +curl https://daplie.me/install-scripts | bash daplie-install-cloud ``` +If the pretty url isn't working, for whatever reason, you also try the direct one + +```bash +# curl https://git.daplie.com/Daplie/daplie-snippets/raw/master/install.sh | bash +# daplie-install-cloud +``` + +You could also, of course, try installing from the repository directly +(especially if you have goldilocks or some similar already installed) + +```bash +mkdir -p /srv/walnut/ +git clone git@git.daplie.com:Daplie/walnut.js.git /srv/walnut/core +bash /srv/walnut/core/install.sh +``` + Features ------ diff --git a/install.sh b/install.sh index a0a9f01..784a55b 100755 --- a/install.sh +++ b/install.sh @@ -199,7 +199,7 @@ install_uninstaller() dap_dl_bash "https://git.daplie.com/coolaj86/node-install-script/raw/master/setup-min.sh" # Install -# npm install -g 'git+https://git@git.daplie.com/Daplie/walnut.js.git#fs-nosql' +# npm install -g 'git+https://git@git.daplie.com/Daplie/walnut.js.git#v1' my_app_name=walnut my_app_pkg_name=com.daplie.walnut.web From 34ed7bfd935aa5528fd01a70c9e3507bc30f42a1 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 31 May 2017 00:56:02 +0000 Subject: [PATCH 76/76] change branch --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 34bbab1..c9419ec 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,9 @@ You could also, of course, try installing from the repository directly ```bash mkdir -p /srv/walnut/ git clone git@git.daplie.com:Daplie/walnut.js.git /srv/walnut/core +pushd /srv/walnut/core + git checkout v1 +popd bash /srv/walnut/core/install.sh ```