lungojs-rails 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ pkg/*
2
+ tmp
3
+ spec/support/*/Gemfile.lock
4
+ spec/support/*/public/javascripts
5
+ *.gem
6
+ .rvmrc
7
+ .bundle
8
+ imports/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in lungojs-rails.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Lleïr Borràs Metje
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,56 @@
1
+ # LungJS-rails
2
+
3
+ Lungo.js for Rails!
4
+
5
+ This gem provides:
6
+
7
+ * Lungo.js current stable version
8
+ * Lungo.js current development version
9
+
10
+ ## Installation
11
+
12
+ Apps generated with Rails 3.1 or later include lungojs-rails in the Gemfile by default. So just make a new app:
13
+
14
+ ```sh
15
+ rails new myapp
16
+ ```
17
+
18
+ If upgrading from an older version of rails, or for rails 3.0 apps,
19
+ add the lungojs-rails gem to your Gemfile.
20
+
21
+ ```ruby
22
+ gem "lungojs-rails"
23
+ ```
24
+
25
+ And run `bundle install`. The rest of the installation depends on
26
+ whether the asset pipeline is being used.
27
+
28
+
29
+ ### Rails 3.0
30
+
31
+ To invoke the generator, run:
32
+
33
+ ```sh
34
+ rails generate lungojs:install
35
+ ```
36
+
37
+ ### Rails 3.1 or greater (with asset pipeline *enabled*)
38
+
39
+ The Lungo.js files will be added to the asset pipeline and available for you to use. If they're not already in `app/assets/javascripts/application.js` by default, add these line:
40
+
41
+ ```js
42
+ //= require lungo.js
43
+ ```
44
+
45
+ You're done!
46
+
47
+ ## Contributing
48
+
49
+ Feel free to open an issue ticket if you find something that could be improved. A couple notes:
50
+
51
+ * If the Lungo.js scripts are outdated (i.e. maybe a new version of Lungo.js was released yesterday), feel free to open an issue and prod us to get that thing updated. However, for security reasons, we won't be accepting pull requests with updated Lungo.js scripts.
52
+
53
+ ## Acknowledgements
54
+
55
+
56
+ Copyright [Lleïr Borràs Metje]<lleir@llegeix.me>, released under the MIT License.
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
@@ -0,0 +1,15 @@
1
+ var App = (function(lng, undefined) {
2
+
3
+ //Define your LungoJS Application Instance
4
+ /*
5
+ lng.App.init({
6
+ name: 'Select a name for your app',
7
+ version: '1.1'
8
+ });
9
+ */
10
+
11
+ return {
12
+
13
+ };
14
+
15
+ })(LUNGO);
@@ -0,0 +1,7 @@
1
+ App.Data = (function(lng, app, undefined) {
2
+
3
+ return {
4
+
5
+ }
6
+
7
+ })(LUNGO, App);
@@ -0,0 +1,7 @@
1
+ App.Events = (function(lng, app, undefined) {
2
+
3
+ return {
4
+
5
+ }
6
+
7
+ })(LUNGO, App);
@@ -0,0 +1,7 @@
1
+ App.Services = (function(lng, app, undefined) {
2
+
3
+ return {
4
+
5
+ }
6
+
7
+ })(LUNGO, App);
@@ -0,0 +1,7 @@
1
+ App.View = (function(lng, app, undefined) {
2
+
3
+ return{
4
+
5
+ }
6
+
7
+ })(LUNGO, App);
@@ -0,0 +1,50 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require 'rails'
3
+
4
+ # Supply generator for Rails 3.0.x or if asset pipeline is not enabled
5
+ if ::Rails.version < "3.1" || !::Rails.application.config.assets.enabled
6
+ module Lungojs
7
+ module Generators
8
+ class InstallGenerator < ::Rails::Generators::Base
9
+
10
+ desc "This generator installs Lungo.js #{Jquery::Rails::LUNGO_JS_VERSION}"
11
+ source_root File.expand_path('../../../../../vendor/assets', __FILE__)
12
+
13
+ def copy_lungojs
14
+ say_status("copying", "Lungo.js (#{Lungojs::Rails::LUNGO_JS_VERSION})", :green)
15
+ copy_file "javascripts/lungo-1.2.js", "public/javascripts/lungo-1.2.js"
16
+ copy_file "stylesheets/lungo-1.2.css", "public/stylesheets/lungo-1.2.js"
17
+ copy_file "stylesheets/lungo.theme.default.css", "public/stylesheets/lungo.theme.default.js"
18
+ copy_file "stylesheets/lungo.theme.default.font.css", "public/stylesheets/lungo.theme.default.font.js"
19
+ end
20
+
21
+ def copy_app
22
+ say_status("copying", "app (#{Lungojs::Rails::LUNGO_JS_VERSION})", :green)
23
+ directory 'app', 'public/javascripts/app'
24
+ end
25
+ end
26
+ end
27
+ end
28
+ else
29
+ module Lungojs
30
+ module Generators
31
+ class InstallGenerator < ::Rails::Generators::Base
32
+ desc "Just show instructions so people will know what to do when mistakenly using generator for Rails 3.1 apps"
33
+
34
+ def do_nothing
35
+ say_status("deprecated", "You are using Rails 3.1 with the asset pipeline enabled, so this generator is not needed.")
36
+ say_status("", "The necessary files are already in your asset pipeline.")
37
+ say_status("", "Just add `//= require lungojs` to your app/assets/javascripts/application.js")
38
+ say_status("", "If you upgraded your app from Rails 3.0 and still have lungo.js in your javascripts, be sure to remove them.")
39
+ say_status("", "If you do not want the asset pipeline enabled, you may turn it off in application.rb and re-run this generator.")
40
+ # ok, nothing
41
+ end
42
+
43
+ def copy_app
44
+ say_status("copying", "app (#{Lungojs::Rails::LUNGO_JS_VERSION})", :green)
45
+ directory 'app', 'public/javascripts/app'
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,3 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require 'lungojs/rails'
3
+ p 'asdadd'
@@ -0,0 +1,8 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require 'lungojs/rails/engine'
3
+ require 'lungojs/rails/version'
4
+
5
+ module Lungojs
6
+ module Rails
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ # -*- encoding: utf-8 -*-
2
+ module Lungojs
3
+ module Rails
4
+ class Engine < ::Rails::Engine
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ # -*- encoding: utf-8 -*-
2
+ module Lungojs
3
+ module Rails
4
+ VERSION = "0.0.2"
5
+ LUNGO_JS = "1.2"
6
+ end
7
+ end
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/lungojs/rails/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.name = "lungojs-rails"
6
+ gem.authors = ["Lleïr Borràs Metje"]
7
+ gem.email = ["lleir@llgeix.me"]
8
+ gem.description = %q{This gem provides Lungo.js for your Rails 3 application.}
9
+ gem.summary = %q{Use Lungo.js with Rails 3"}
10
+ gem.homepage = "http://rubygems.org/gems/lungojs-rails"
11
+
12
+ gem.required_rubygems_version = ">= 1.3.6"
13
+ gem.rubyforge_project = "lungojs-rails"
14
+
15
+ gem.add_dependency "railties", ">= 3.2.0", "< 5.0"
16
+ gem.add_dependency "thor", "~> 0.14"
17
+
18
+ gem.files = `git ls-files`.split($\)
19
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
20
+ gem.require_path = "lib"
21
+
22
+ gem.version = Lungojs::Rails::VERSION
23
+ gem.platform = Gem::Platform::RUBY
24
+ end
@@ -0,0 +1,91 @@
1
+ /**
2
+ *
3
+ * /$$
4
+ * | $$
5
+ * | $$ /$$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$
6
+ * | $$ | $$ | $$| $$__ $$ /$$__ $$ /$$__ $$
7
+ * | $$ | $$ | $$| $$ \ $$| $$ \ $$| $$ \ $$
8
+ * | $$ | $$ | $$| $$ | $$| $$ | $$| $$ | $$
9
+ * | $$$$$$$$| $$$$$$/| $$ | $$| $$$$$$$| $$$$$$/
10
+ * |________/ \______/ |__/ |__/ \____ $$ \______/
11
+ * /$$ \ $$
12
+ * | $$$$$$/
13
+ * \______/
14
+ *
15
+ * @copyright 2011-2012 TapQuo Inc (c)
16
+ * @license http://www.github.com/tapquo/lungo/blob/master/LICENSE.txt
17
+ * @version 1.2
18
+ * @link https://github.com/TapQuo/Lungo.js
19
+ *
20
+ * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
21
+ * @author Guillermo Pascual <pasku@tapquo.com> || @pasku1
22
+ */
23
+
24
+ var Quo=function(){function a(j,b){j=j||h;j.__proto__=a.prototype;j.selector=b||"";return j}function f(j){if(j){var b=f.getDomainSelector(j);return a(b,j)}else return a()}var h=[];f.extend=function(j){Array.prototype.slice.call(arguments,1).forEach(function(b){for(key in b)j[key]=b[key]});return j};a.prototype=f.fn={};return f}();window.Quo=Quo;"$$"in window||(window.$$=Quo);
25
+ (function(a){function f(b){return b.filter(function(g){return g!==undefined&&g!==null})}var h=Object.prototype,j=[];a.toType=function(b){return h.toString.call(b).match(/\s([a-z|A-Z]+)/)[1].toLowerCase()};a.isOwnProperty=function(b,g){return h.hasOwnProperty.call(b,g)};a.getDomainSelector=function(b){var g=null,c=[1,9,11],e=a.toType(b);if(e==="array")g=f(b);else if(e==="string")g=a.query(document,b);else if(c.indexOf(b.nodeType)>=0||b===window)g=[b];return g};a.map=function(b,g){var c=[],e;if(a.toType(b)===
26
+ "array")for(e=0;e<b.length;e++){var i=g(b[e],e);i!=null&&c.push(i)}else for(e in b){i=g(b[e],e);i!=null&&c.push(i)}return c.length>0?[].concat.apply([],c):c};a.each=function(b,g){var c;if(a.toType(b)==="array")for(c=0;c<b.length;c++){if(g.call(b[c],c,b[c])===false)break}else for(c in b)if(g.call(b[c],c,b[c])===false)break;return b};a.mix=function(){for(var b={},g=0,c=arguments.length;g<c;g++){var e=arguments[g],i;for(i in e)if(a.isOwnProperty(e,i)&&e[i]!==undefined)b[i]=e[i]}return b};a.fn.forEach=
27
+ j.forEach;a.fn.indexOf=j.indexOf;a.fn.map=function(b){return a.map(this,function(g,c){return b.call(g,c,g)})};a.fn.instance=function(b){return this.map(function(){return this[b]})};a.fn.filter=function(b){return a([].filter.call(this,function(g){return g.parentNode&&a.query(g.parentNode,b).indexOf(g)>=0}))}})(Quo);
28
+ (function(a){a.fn.attr=function(f,h){return a.toType(f)==="string"&&h===undefined?this[0].getAttribute(f):this.each(function(){this.setAttribute(f,h)})};a.fn.data=function(f,h){return this.attr("data-"+f,h)};a.fn.val=function(f){return a.toType(f)==="string"?this.each(function(){this.value=f}):this.length>0?this[0].value:null};a.fn.show=function(){return this.style("display","block")};a.fn.hide=function(){return this.style("display","none")};a.fn.height=function(){return this.offset().height};a.fn.width=
29
+ function(){return this.offset().width};a.fn.offset=function(){var f=this[0].getBoundingClientRect();return{left:f.left+window.pageXOffset,top:f.top+window.pageYOffset,width:f.width,height:f.height}};a.fn.remove=function(){return this.each(function(){this.parentNode!=null&&this.parentNode.removeChild(this)})}})(Quo);
30
+ (function(a){var f=/WebKit\/([\d.]+)/,h={android:/(Android)\s+([\d.]+)/,ipad:/(iPad).*OS\s([\d_]+)/,iphone:/(iPhone\sOS)\s([\d_]+)/,blackberry:/(BlackBerry).*Version\/([\d.]+)/,webos:/(webOS|hpwOS)[\s\/]([\d.]+)/},j=null;a.isMobile=function(){j=j||b();return j.isMobile};a.environment=function(){return j=j||b()};a.isOnline=function(){return navigator.onLine};var b=function(){var g=navigator.userAgent,c={},e=g.match(f);c.browser=e?e[0]:g;var i;for(os in h)if(e=g.match(h[os])){i={name:os==="iphone"||
31
+ os==="ipad"?"ios":os,version:e[2].replace("_",".")};break}c.os=i;c.isMobile=c.os?true:false;c.screen={width:window.innerWidth,height:window.innerHeight};return c}})(Quo);
32
+ (function(a){a.fn.text=function(f){return!f?this[0].textContent:this.each(function(){this.textContent=f})};a.fn.html=function(f){return a.toType(f)==="string"?this.each(function(){this.innerHTML=f}):this[0].innerHTML};a.fn.append=function(f){return this.each(function(){if(a.toType(f)==="string"){if(f){var h=document.createElement();h.innerHTML=f;this.appendChild(h.firstChild)}}else this.insertBefore(f)})};a.fn.prepend=function(f){return this.each(function(){if(a.toType(f)==="string")this.innerHTML=
33
+ f+this.innerHTML;else{var h=this.parentNode;h.insertBefore(f,h.firstChild)}})};a.fn.empty=function(){return this.each(function(){this.innerHTML=null})}})(Quo);
34
+ (function(a){a.query=function(j,b){var g=document.querySelectorAll(b);return g=Array.prototype.slice.call(g)};a.fn.parent=function(j){var b=j?f(this):this.instance("parentNode");return h(b,j)};a.fn.siblings=function(j){var b=this.map(function(g,c){return Array.prototype.slice.call(c.parentNode.children).filter(function(e){return e!==c})});return h(b,j)};a.fn.children=function(j){var b=this.map(function(){return Array.prototype.slice.call(this.children)});return h(b,j)};a.fn.get=function(j){return j===
35
+ undefined?this:this[j]};a.fn.first=function(){return a(this[0])};a.fn.last=function(){return a(this[this.length-1])};a.fn.closest=function(j,b){var g=this[0],c=a(j);for(c.length||(g=null);g&&c.indexOf(g)<0;)g=g!==b&&g!==document&&g.parentNode;return a(g)};a.fn.each=function(j){this.forEach(function(b,g){j.call(b,g,b)});return this};var f=function(j){for(var b=[];j.length>0;)j=a.map(j,function(g){if((g=g.parentNode)&&g!==document&&b.indexOf(g)<0){b.push(g);return g}});return b},h=function(j,b){return b===
36
+ undefined?a(j):a(j).filter(b)}})(Quo);
37
+ (function(a){function f(h,j){return j.split(/\s+/g).indexOf(h)>=0}a.fn.addClass=function(h){return this.each(function(){f(h,this.className)||(this.className+=" "+h)})};a.fn.removeClass=function(h){return this.each(function(){if(f(h,this.className))this.className=this.className.replace(h," ").replace(/\s+/gi," ")})};a.fn.toggleClass=function(h){return this.each(function(){if(f(h,this.className))this.className=this.className.replace(h," ");else this.className+=" "+h})};a.fn.hasClass=function(h){return f(h,
38
+ this[0].className)};a.fn.style=function(h,j){return!j?this[0].style[h]||document.defaultView.getComputedStyle(this[0],"")[h]:this.each(function(){this.style[h]=j})}})(Quo);
39
+ (function(a){function f(e,i){if(i.contentType)i.headers["Content-Type"]=i.contentType;if(i.dataType)i.headers.Accept=g[i.dataType];for(header in i.headers)e.setRequestHeader(header,i.headers[header])}function h(e,i){e.onreadystatechange={};e.abort();i.error.call(i.context,"QuoJS \u00bb $$.ajax : timeout exceeded",e,i)}function j(e,i){var d=e.responseText;if(d)if(i.dataType===b.MIME)try{d=JSON.parse(d)}catch(k){d=k;i.error.call(i.context,"Parse Error",e,i)}else if(i.dataType==="xml")d=e.responseXML;
40
+ return d}var b={TYPE:"GET",MIME:"json"},g={script:"text/javascript, application/javascript",json:"application/json",xml:"application/xml, text/xml",html:"text/html",text:"text/plain"},c=0;a.ajaxSettings={type:b.TYPE,async:true,success:{},error:{},context:null,dataType:b.MIME,headers:{},xhr:function(){return new window.XMLHttpRequest},crossDomain:false,timeout:0};a.ajax=function(e){var i=a.mix(a.ajaxSettings,e);if(/=\?/.test(i.url))return a.jsonp(i);var d=i.xhr();d.onreadystatechange=function(){if(d.readyState===
41
+ 4){clearTimeout(k);if(d.status===200||d.status===0){if(i.async){var m=j(d,i);i.success.call(i.context,m,d)}}else i.error.call(i.context,"QuoJS \u00bb $$.ajax",d,i)}};d.open(i.type,i.url,i.async);f(d,i);if(i.timeout>0)var k=setTimeout(function(){h(d,i)},i.timeout);d.send(i.data);return i.async?d:j(d,i)};a.jsonp=function(e){var i="jsonp"+ ++c,d=document.createElement("script"),k={abort:function(){a(d).remove();if(i in window)window[i]={}}},m;window[i]=function(n){clearTimeout(m);a(d).remove();delete window[i];
42
+ e.success.call(e.context,n,k)};d.src=e.url.replace(/=\?/,"="+i);a("head").append(d);if(e.timeout>0)m=setTimeout(function(){h(k,e)},e.timeout);return k};a.get=function(e,i,d,k){e+=a.serializeParameters(i);return a.ajax({url:e,success:d,dataType:k})};a.post=function(e,i,d,k){return a.ajax({type:"POST",url:e,data:i,success:d,dataType:k,contentType:"application/x-www-form-urlencoded"})};a.json=function(e,i,d){e+=a.serializeParameters(i);return a.ajax({url:e,success:d,dataType:b.MIME})};a.serializeParameters=
43
+ function(e){var i="?",d;for(d in e)if(e.hasOwnProperty(d)){if(i!=="?")i+="&";i+=d+"="+e[d]}return i==="?"?"":i}})(Quo);
44
+ (function(a){var f={touch:"touchstart",tap:"tap"},h=/complete|loaded|interactive/;["touch","tap"].forEach(function(j){a.fn[j]=function(b){a(document.body).delegate(this.selector,f[j],b);return this}});a.fn.on=function(j,b,g){return b===undefined||a.toType(b)==="function"?this.bind(j,b):this.delegate(b,j,g)};a.fn.off=function(j,b,g){return b===undefined||a.toType(b)==="function"?this.unbind(j,b):this.undelegate(b,j,g)};a.fn.ready=function(j){h.test(document.readyState)?j(a):document.addEventListener("DOMContentLoaded",
45
+ function(){j(a)},false);return this}})(Quo);
46
+ (function(a){function f(k,m,n,r,s){m=(a.isMobile()?m:d[m])||m;var v=k._id||(k._id=c++);v=e[v]||(e[v]=[]);s=s&&s(n,m);m={event:m,callback:n,selector:r,proxy:j(s,n,k),delegate:s,index:v.length};v.push(m);k.addEventListener(m.event,m.proxy,false)}function h(k,m,n,r){m=(a.isMobile()?m:d[m])||m;var s=k._id||(k._id=c++);b(s,m,n,r).forEach(function(v){delete e[s][v.index];k.removeEventListener(v.event,v.proxy,false)})}function j(k,m,n){m=k||m;return function(r){var s=m.apply(n,[r].concat(r.data));s===false&&
47
+ r.preventDefault();return s}}function b(k,m,n,r){return(e[k]||[]).filter(function(s){return s&&(!m||s.event==m)&&(!n||s.fn==n)&&(!r||s.selector==r)})}function g(k){var m=a.extend({originalEvent:k},k);a.each(i,function(n,r){m[n]=function(){this[r]=function(){return true};return k[n].apply(k,arguments)};m[r]=function(){return false}});return m}var c=1,e={},i={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"},d={touchstart:"mousedown",
48
+ touchmove:"mousemove",touchend:"mouseup",tap:"click",doubletap:"dblclick",orientationchange:"resize"};a.Event=function(k){var m=document.createEvent("Events");m.initEvent(k,true,true,null,null,null,null,null,null,null,null,null,null,null,null);return m};a.fn.bind=function(k,m){return this.each(function(){f(this,k,m)})};a.fn.unbind=function(k,m){return this.each(function(){h(this,k,m)})};a.fn.delegate=function(k,m,n){return this.each(function(r,s){f(s,m,n,k,function(v){return function(z){var y=a(z.target).closest(k,
49
+ s).get(0);if(y){var l=a.extend(g(z),{currentTarget:y,liveFired:s});return v.apply(y,[l].concat([].slice.call(arguments,1)))}}})})};a.fn.undelegate=function(k,m,n){return this.each(function(){h(this,m,n,k)})};a.fn.trigger=function(k){if(a.toType(k)==="string")k=a.Event(k);return this.each(function(){this.dispatchEvent(k)})}})(Quo);
50
+ (function(a){function f(d){var k=Date.now(),m=k-(c.last||k);d=a.isMobile()?d.touches[0]:d;e&&clearTimeout(e);c={el:a("tagName"in d.target?d.target:d.target.parentNode),x1:d.pageX,y1:d.pageY,isDoubleTap:m>0&&m<=250?true:false,last:k};setTimeout(g,i)}function h(d){d=a.isMobile()?d.touches[0]:d;c.x2=d.pageX;c.y2=d.pageY}function j(){if(c.isDoubleTap){c.el.trigger("doubleTap");c={}}else if(c.x2>0||c.y2>0){(Math.abs(c.x1-c.x2)>30||Math.abs(c.y1-c.y2)>30)&&c.el.trigger("swipe")&&c.el.trigger("swipe"+(Math.abs(c.x1-
51
+ c.x2)>=Math.abs(c.y1-c.y2)?c.x1-c.x2>0?"Left":"Right":c.y1-c.y2>0?"Up":"Down"));c.x1=c.x2=c.y1=c.y2=c.last=0;c={}}else{c.el!==undefined&&c.el.trigger("tap");e=setTimeout(function(){e=null;c={}},250)}}function b(){c={};clearTimeout(e)}function g(){if(c.last&&Date.now()-c.last>=i){c.el.trigger("longTap");c={}}}var c={},e,i=750;["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","longTap"].forEach(function(d){a.fn[d]=function(k){return this.on(d,k)}});a(document).ready(function(){var d=
52
+ a(document.body);d.bind("touchstart",f);d.bind("touchmove",h);d.bind("touchend",j);d.bind("touchcancel",b)})})(Quo);(function(){var a=Math,f=/webkit/i.test(navigator.appVersion)?"webkit":/firefox/i.test(navigator.userAgent)?"Moz":"opera"in window?"O":"";/android/gi.test(navigator.appVersion);var h=/iphone|ipad/gi.test(navigator.appVersion),j=/playbook/gi.test(navigator.appVersion),b=/hp-tablet/gi.test(navigator.appVersion),g="WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix,c="ontouchstart"in window&&!b,e=f+"Transform"in document.documentElement.style,i=h||j,d=function(){return window.requestAnimationFrame||
53
+ window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(l){return setTimeout(l,17)}}(),k=window.cancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout,m="onorientationchange"in window?"orientationchange":"resize",n=c?"touchstart":"mousedown",
54
+ r=c?"touchmove":"mousemove",s=c?"touchend":"mouseup",v=c?"touchcancel":"mouseup",z="translate"+(g?"3d(":"("),y=g?",0)":")";h=function(l,p){var o=document,t;this.wrapper=typeof l=="object"?l:o.getElementById(l);this.wrapper.style.overflow="hidden";this.scroller=this.wrapper.children[0];this.options={hScroll:true,vScroll:true,x:0,y:0,bounce:true,bounceLock:false,momentum:true,lockDirection:true,useTransform:true,useTransition:false,onRefresh:null,onBeforeScrollStart:function(q){for(var u=q.target;u.nodeType!=
55
+ 1;)u=u.parentNode;u.tagName!="SELECT"&&u.tagName!="INPUT"&&u.tagName!="TEXTAREA"&&q.preventDefault()},onScrollStart:null,onBeforeScrollMove:null,onScrollMove:null,onBeforeScrollEnd:null,onScrollEnd:null,onTouchEnd:null,onDestroy:null};for(t in p)this.options[t]=p[t];this.x=this.options.x;this.y=this.options.y;this.options.useTransform=e?this.options.useTransform:false;this.options.hScrollbar=this.options.hScroll&&this.options.hScrollbar;this.options.vScrollbar=this.options.vScroll&&this.options.vScrollbar;
56
+ this.options.useTransition=i&&this.options.useTransition;this.scroller.style[f+"TransitionProperty"]=this.options.useTransform?"-"+f.toLowerCase()+"-transform":"top left";this.scroller.style[f+"TransitionDuration"]="0";this.scroller.style[f+"TransformOrigin"]="0 0";if(this.options.useTransition)this.scroller.style[f+"TransitionTimingFunction"]="cubic-bezier(0.33,0.66,0.66,1)";if(this.options.useTransform)this.scroller.style[f+"Transform"]=z+this.x+"px,"+this.y+"px"+y;else this.scroller.style.cssText+=
57
+ ";position:absolute;top:"+this.y+"px;left:"+this.x+"px";this.refresh();this._bind(m,window);this._bind(n);c||this._bind("mouseout",this.wrapper)};h.prototype={enabled:true,x:0,y:0,steps:[],scale:1,handleEvent:function(l){switch(l.type){case n:if(!c&&l.button!==0)break;this._start(l);break;case r:this._move(l);break;case s:case v:this._end(l);break;case m:this._resize();break;case "mouseout":this._mouseout(l);break;case "webkitTransitionEnd":this._transitionEnd(l)}},_resize:function(){this.refresh()},
58
+ _pos:function(l,p){l=this.hScroll?l:0;p=this.vScroll?p:0;if(this.options.useTransform)this.scroller.style[f+"Transform"]=z+l+"px,"+p+"px"+y+" scale("+this.scale+")";else{l>>=0;p>>=0;this.scroller.style.left=l+"px";this.scroller.style.top=p+"px"}this.x=l;this.y=p},_start:function(l){var p=c?l.touches[0]:l,o,t;if(this.enabled){this.options.onBeforeScrollStart&&this.options.onBeforeScrollStart.call(this,l);this.options.useTransition&&this._transitionTime(0);this.zoomed=this.animating=this.moved=false;
59
+ this.dirY=this.dirX=this.absDistY=this.absDistX=this.distY=this.distX=0;if(this.options.momentum){if(this.options.useTransform){o=getComputedStyle(this.scroller,null)[f+"Transform"].replace(/[^0-9-.,]/g,"").split(",");t=o[4]*1;o=o[5]*1}else{t=getComputedStyle(this.scroller,null).left.replace(/[^0-9-]/g,"")*1;o=getComputedStyle(this.scroller,null).top.replace(/[^0-9-]/g,"")*1}if(t!=this.x||o!=this.y){this.options.useTransition?this._unbind("webkitTransitionEnd"):k(this.aniTime);this.steps=[];this._pos(t,
60
+ o)}}this.startX=this.x;this.startY=this.y;this.pointX=p.pageX;this.pointY=p.pageY;this.startTime=l.timeStamp||Date.now();this.options.onScrollStart&&this.options.onScrollStart.call(this,l);this._bind(r);this._bind(s);this._bind(v)}},_move:function(l){var p=c?l.touches[0]:l,o=p.pageX-this.pointX,t=p.pageY-this.pointY,q=this.x+o,u=this.y+t,w=l.timeStamp||Date.now();this.options.onBeforeScrollMove&&this.options.onBeforeScrollMove.call(this,l);this.pointX=p.pageX;this.pointY=p.pageY;if(q>0||q<this.maxScrollX)q=
61
+ this.options.bounce?this.x+o/2:q>=0||this.maxScrollX>=0?0:this.maxScrollX;if(u>0||u<this.maxScrollY)u=this.options.bounce?this.y+t/2:u>=0||this.maxScrollY>=0?0:this.maxScrollY;if(this.absDistX<6&&this.absDistY<6){this.distX+=o;this.distY+=t;this.absDistX=a.abs(this.distX);this.absDistY=a.abs(this.distY)}else{if(this.options.lockDirection)if(this.absDistX>this.absDistY+5){u=this.y;t=0}else if(this.absDistY>this.absDistX+5){q=this.x;o=0}this.moved=true;this._pos(q,u);this.dirX=o>0?-1:o<0?1:0;this.dirY=
62
+ t>0?-1:t<0?1:0;if(w-this.startTime>300){this.startTime=w;this.startX=this.x;this.startY=this.y}this.options.onScrollMove&&this.options.onScrollMove.call(this,l)}},_end:function(l){if(!(c&&l.touches.length!=0)){var p=c?l.changedTouches[0]:l,o,t,q={dist:0,time:0},u={dist:0,time:0},w=(l.timeStamp||Date.now())-this.startTime;o=this.x;t=this.y;this._unbind(r);this._unbind(s);this._unbind(v);this.options.onBeforeScrollEnd&&this.options.onBeforeScrollEnd.call(this,l);if(this.moved){if(w<300&&this.options.momentum){q=
63
+ o?this._momentum(o-this.startX,w,-this.x,this.scrollerW-this.wrapperW+this.x,this.options.bounce?this.wrapperW:0):q;u=t?this._momentum(t-this.startY,w,-this.y,this.maxScrollY<0?this.scrollerH-this.wrapperH+this.y:0,this.options.bounce?this.wrapperH:0):u;o=this.x+q.dist;t=this.y+u.dist;if(this.x>0&&o>0||this.x<this.maxScrollX&&o<this.maxScrollX)q={dist:0,time:0};if(this.y>0&&t>0||this.y<this.maxScrollY&&t<this.maxScrollY)u={dist:0,time:0}}if(q.dist||u.dist){p=a.max(a.max(q.time,u.time),10);this.scrollTo(o>>
64
+ 0,t>>0,p)}else this._resetPos(200)}else{if(c){for(o=p.target;o.nodeType!=1;)o=o.parentNode;if(o.tagName!="SELECT"&&o.tagName!="INPUT"&&o.tagName!="TEXTAREA"){t=document.createEvent("MouseEvents");t.initMouseEvent("click",true,true,l.view,1,p.screenX,p.screenY,p.clientX,p.clientY,l.ctrlKey,l.altKey,l.shiftKey,l.metaKey,0,null);t._fake=true;o.dispatchEvent(t)}}this._resetPos(200)}this.options.onTouchEnd&&this.options.onTouchEnd.call(this,l)}},_resetPos:function(l){var p=this.x>=0?0:this.x<this.maxScrollX?
65
+ this.maxScrollX:this.x,o=this.y>=0||this.maxScrollY>0?0:this.y<this.maxScrollY?this.maxScrollY:this.y;if(p==this.x&&o==this.y){if(this.moved){this.options.onScrollEnd&&this.options.onScrollEnd.call(this);this.moved=false}}else this.scrollTo(p,o,l||0)},_mouseout:function(l){var p=l.relatedTarget;if(p)for(;p=p.parentNode;)if(p==this.wrapper)return;this._end(l)},_transitionEnd:function(l){if(l.target==this.scroller){this._unbind("webkitTransitionEnd");this._startAni()}},_startAni:function(){var l=this,
66
+ p=l.x,o=l.y,t=Date.now(),q,u,w;if(!l.animating)if(l.steps.length){q=l.steps.shift();if(q.x==p&&q.y==o)q.time=0;l.animating=true;l.moved=true;if(l.options.useTransition){l._transitionTime(q.time);l._pos(q.x,q.y);l.animating=false;q.time?l._bind("webkitTransitionEnd"):l._resetPos(0)}else{w=function(){var x=Date.now();if(x>=t+q.time){l._pos(q.x,q.y);l.animating=false;l.options.onAnimationEnd&&l.options.onAnimationEnd.call(l);l._startAni()}else{x=(x-t)/q.time-1;u=a.sqrt(1-x*x);x=(q.x-p)*u+p;l._pos(x,
67
+ (q.y-o)*u+o);if(l.animating)l.aniTime=d(w)}};w()}}else l._resetPos(400)},_transitionTime:function(l){this.scroller.style[f+"TransitionDuration"]=l+"ms"},_momentum:function(l,p,o,t,q){p=a.abs(l)/p;var u=p*p/0.0012,w=0;w=0;if(l>0&&u>o){w=q/(6/(u/p*6.0E-4));o+=w;p=p*o/u;u=o}else if(l<0&&u>t){w=q/(6/(u/p*6.0E-4));t+=w;p=p*t/u;u=t}u*=l<0?-1:1;w=p/6.0E-4;return{dist:u,time:w>>0}},_offset:function(l){for(var p=-l.offsetLeft,o=-l.offsetTop;l=l.offsetParent;){p-=l.offsetLeft;o-=l.offsetTop}return{left:p,top:o}},
68
+ _bind:function(l,p,o){(p||this.scroller).addEventListener(l,this,!!o)},_unbind:function(l,p,o){(p||this.scroller).removeEventListener(l,this,!!o)},destroy:function(){this.scroller.style[f+"Transform"]="";this._unbind(m,window);this._unbind(n);this._unbind(r);this._unbind(s);this._unbind(v);this._unbind("mouseout",this.wrapper);this.options.useTransition&&this._unbind("webkitTransitionEnd");this.options.onDestroy&&this.options.onDestroy.call(this)},refresh:function(){var l;this.wrapperW=this.wrapper.clientWidth;
69
+ this.wrapperH=this.wrapper.clientHeight;this.scrollerW=this.scroller.offsetWidth;this.scrollerH=this.scroller.offsetHeight;this.maxScrollX=this.wrapperW-this.scrollerW;this.maxScrollY=this.wrapperH-this.scrollerH;this.dirY=this.dirX=0;this.hScroll=this.options.hScroll&&this.maxScrollX<0;this.vScroll=this.options.vScroll&&(!this.options.bounceLock&&!this.hScroll||this.scrollerH>this.wrapperH);l=this._offset(this.wrapper);this.wrapperOffsetLeft=-l.left;this.wrapperOffsetTop=-l.top;this.scroller.style[f+
70
+ "TransitionDuration"]="0";this._resetPos(200)},scrollTo:function(l,p,o,t){var q=l;this.stop();q.length||(q=[{x:l,y:p,time:o,relative:t}]);l=0;for(p=q.length;l<p;l++){if(q[l].relative){q[l].x=this.x-q[l].x;q[l].y=this.y-q[l].y}this.steps.push({x:q[l].x,y:q[l].y,time:q[l].time||0})}this._startAni()},scrollToElement:function(l,p){var o;if(l=l.nodeType?l:this.scroller.querySelector(l)){o=this._offset(l);o.left+=this.wrapperOffsetLeft;o.top+=this.wrapperOffsetTop;o.left=o.left>0?0:o.left<this.maxScrollX?
71
+ this.maxScrollX:o.left;o.top=o.top>0?0:o.top<this.maxScrollY?this.maxScrollY:o.top;p=p===undefined?a.max(a.abs(o.left)*2,a.abs(o.top)*2):p;this.scrollTo(o.left,o.top,p)}},disable:function(){this.stop();this._resetPos(0);this.enabled=false;this._unbind(r);this._unbind(s);this._unbind(v)},enable:function(){this.enabled=true},stop:function(){k(this.aniTime);this.steps=[];this.animating=this.moved=false}};if(typeof exports!=="undefined")exports.iScroll=h;else window.iScroll=h})();
72
+ var LUNGO=LUNGO||{};LUNGO.VERSION="1.2";LUNGO.Attributes||(LUNGO.Attributes={});LUNGO.Data||(LUNGO.Data={});LUNGO.Sugar||(LUNGO.Sugar={});LUNGO.View||(LUNGO.View={});LUNGO.Device||(LUNGO.Device={});LUNGO.ready||(LUNGO.ready=Quo().ready);LUNGO.Constants={ELEMENT:{SECTION:"section",ARTICLE:"article",ASIDE:"aside",BODY:"body",DIV:"div",LIST:"<ul></ul>",SPAN:"<span>&nbsp;</span>"},CLASS:{ACTIVE:"active",ASIDE:"aside",SHOW:"show",SHOW_REVOKE:"show-revoke",HIDE:"hide",HIDE_REVOKE:"hide-revoke",CURRENT:"current",RIGHT:"onright",LEFT:"onleft",HORIZONTAL:"horizontal",FLOW:"flow"},TRIGGER:{LOAD:"load",UNLOAD:"unload"},ATTRIBUTE:{ID:"id",HREF:"href",TITLE:"title",ARTICLE:"article",CLASS:"class",WIDTH:"width",HEIGHT:"height",PIXEL:"px",PERCENT:"%",
73
+ TARGET:"target",FIRST:"first",LAST:"last",EMPTY:""},BINDING:{START:"{{",END:"}}",KEY:"value",PARSER:/\{{.*?\}}/gi},ERROR:{CREATE_SCROLL:"ERROR: Impossible to create a <scroll> without ID.",BINDING_DATA_TYPE:"ERROR: Processing the type of binding data.",BINDING_TEMPLATE:"ERROR: Binding Template not exists >> ",BINDING_LIST:"ERROR: Processing parameters for list binding.",DATABASE:"ERROR: Connecting to Data.Sql.",ROUTER:"ERROR: The target does not exists >>",LOADING_RESOURCE:"ERROR: Loading resource."}};LUNGO.App=function(a){var f={id:1,name:"lungo_app",version:1,icon:""};return{init:function(h){f=a.Core.mix(f,h);a.Boot()},get:function(h){return f[h]}}}(LUNGO);LUNGO.Core=function(a,f){var h=Array.prototype,j=function(c,e){return f.isOwnProperty(c,e)},b=function(c){return f.toType(c)},g=function(c){return h.slice.call(c,0)};return{log:function(c,e){a.Core.isMobile()||console[c===1?"log":c===2?"warn":"error"](e)},execute:function(){var c=g(arguments),e=c.shift();b(e)==="function"&&e.apply(null,c)},bind:function(c,e){return function(){return e.apply(c,g(arguments))}},mix:function(){for(var c=c||{},e=0,i=arguments.length;e<i;e++){var d=arguments[e],k;for(k in d)if(j(d,
74
+ k))c[k]=d[k]}return c},isOwnProperty:j,toType:b,toArray:g,isMobile:function(){return f.isMobile()},environment:function(){return f.environment()},orderByProperty:function(c,e,i){var d=i==="desc"?-1:1;return c.sort(function(k,m){return k[e]<m[e]?-d:k[e]>m[e]?d:0})},parseUrl:function(c){var e=c.lastIndexOf("#");if(e>0)c=c.substring(e);else if(e===-1)c="#"+c;return c},findByProperty:function(c,e,i){for(var d=null,k=0,m=c.length;k<m;k++){var n=c[k];if(n[e]==i){d=n;break}}return d}}}(LUNGO,Quo);LUNGO.dom=function(a){return $$(a)};LUNGO.Service=function(a,f){var h={MINUTE:"minute",HOUR:"hour",DAY:"day"},j=function(b,g){var c=false,e=a.Data.Storage.persistent("lungojs_service_cache");if(e){e=e[b];c=(new Date).getTime();e=(new Date(e)).getTime();var i=c-e;c=g.split(" ");e=c[1];i=i/1E3/60;if(e.indexOf(h.HOUR)>=0)i/=60;else if(e.indexOf(h.DAY)>=0)i=i/60/24;c=i<c[0]?true:false}return c};return{get:function(b,g,c,e){return f.get(b,g,c,e)},post:function(b,g,c,e){return f.post(b,g,c,e)},json:function(b,g,c){return f.json(b,g,c)},cache:function(b,
75
+ g,c,e,i){var d=b+f.serializeParameters(g);if(j(d,c)){if(b=a.Data.Storage.persistent(d))return e.call(e,b)}else return f.get(b,g,function(k){var m=a.Data.Storage.persistent("lungojs_service_cache")||{};m[d]=new Date;a.Data.Storage.persistent("lungojs_service_cache",m);a.Data.Storage.persistent(d,k);e.call(e,k)},i)},Settings:f.ajaxSettings}}(LUNGO,Quo);LUNGO.Fallback=function(a){var f=a.Constants.CLASS,h=function(){a.dom(this).addClass(f.ACTIVE)},j=function(){a.dom(this).removeClass(f.ACTIVE)};return{androidButtons:function(){environment=a.Core.environment();if(environment.isMobile&&environment.os.name==="android"){a.dom(document.body).on("touchstart",".button",h);a.dom(document.body).on("touchend",".button",j)}},androidInputs:function(b,g){environment=a.Core.environment();if(environment.isMobile&&environment.os.name==="android"&&environment.os.version<
76
+ "4")for(var c=a.dom(b+" input, "+b+" textarea, "+b+" select"),e=0,i=c.length;e<i;e++)g?c[e].removeAttribute("disabled"):c[e].setAttribute("disabled","disabled")},positionFixed:function(b){environment=a.Core.environment();environment.isMobile&&environment.os.name==="ios"&&environment.os.version>="4.2"&&b.style("position","fixed")}}}(LUNGO);LUNGO.Router=function(a){var f=a.Constants.CLASS,h=a.Constants.ELEMENT,j=a.Constants.ERROR,b=a.Constants.TRIGGER,g=function(c){var e=false;if(a.dom(c).length>0)e=true;else a.Core.log(3,j.ROUTER+c);return e};return{section:function(c){c=a.Core.parseUrl(c);var e=a.Router.History.current(),i=h.SECTION+c;if(g(i)){a.dom(e).removeClass(f.HIDE_REVOKE).removeClass(f.SHOW).addClass(f.HIDE);a.dom(i).removeClass(f.SHOW_REVOKE).addClass(f.SHOW).trigger(b.LOAD);a.Router.History.add(c)}},article:function(c,e){c=
77
+ a.Core.parseUrl(c);e=a.Core.parseUrl(e);var i=h.SECTION+c+" "+h.ARTICLE+e;if(g(i)){a.dom(i).trigger(b.LOAD);a.View.Article.show(c,e)}},aside:function(c,e){c=a.Core.parseUrl(c);e=a.Core.parseUrl(e);var i=h.ASIDE+e;if(g(i))a.dom(i).hasClass(f.CURRENT)?a.View.Aside.hide(c,e):a.View.Aside.show(c,e)},back:function(){var c=h.SECTION+a.Router.History.current();a.dom(c).removeClass(f.SHOW).addClass(f.SHOW_REVOKE).trigger(b.UNLOAD);a.Router.History.removeLast();a.dom(a.Router.History.current()).removeClass(f.HIDE).addClass(f.HIDE_REVOKE).addClass(f.SHOW)}}}(LUNGO);LUNGO.Router.History=function(){var a=[],f=function(){return a[a.length-1]};return{add:function(h){h!==f()&&a.push(h)},current:f,removeLast:function(){a.length-=1}}}();LUNGO.View.Article=function(a){var f=a.Constants.ELEMENT,h=a.Constants.CLASS,j=a.Constants.ATTRIBUTE,b=a.Constants.TRIGGER,g={NAVIGATION_ITEM:'a[href][data-target="article"]',REFERENCE_LINK:" a[href][data-article]"},c=function(e,i){for(var d=a.dom(f.SECTION+e+g.REFERENCE_LINK),k=0,m=d.length;k<m;k++){var n=a.dom(d[k]);n.data(j.ARTICLE)===i?n.show():n.hide()}};return{show:function(e,i){var d=a.dom(e+" "+g.NAVIGATION_ITEM);d.removeClass(h.CURRENT);for(var k=0,m=d.length;k<m;k++){var n=a.dom(d[k]);if(a.Core.parseUrl(n.attr(j.HREF))===
78
+ i){n.addClass(h.CURRENT);var r=e;(n=n.data(j.TITLE))&&a.dom(r+" header .title, "+r+" footer .title").text(n)}}c(e,i.replace("#",""));d=e+" "+f.ARTICLE+"."+h.CURRENT;k="#"+a.dom(d).attr(j.ID);a.dom(d).removeClass(h.CURRENT).trigger(b.UNLOAD);a.Fallback.androidInputs(k,false);a.dom(i).addClass(h.CURRENT);a.Fallback.androidInputs(i,true)},showReferenceLinks:c}}(LUNGO);LUNGO.View.Resize=function(a){var f=a.Constants.ATTRIBUTE;return{toolbars:function(){for(var h=".toolbar nav, .groupbar",j=a.dom(h),b=0,g=j.length;b<g;b++){h=a.dom(j[b]);var c=h.children();h=100/h.children().length;c.style(f.WIDTH,h+f.PERCENT)}}}}(LUNGO);LUNGO.View.Template=function(a){var f=a.Constants.ERROR,h={};return{create:function(j,b){h[j]=b},exists:function(j){return h[j]?true:false},get:function(j){return h[j]},render:function(j,b,g,c){if(a.View.Template.exists(b)){j=a.dom(j);b=this.markup(b,g);j.html(b);a.Core.execute(c)}else a.Core.log(3,f.BINDING_TEMPLATE+b)},markup:function(j,b){return a.View.Template.Binding.create(j,b)}}}(LUNGO);LUNGO.View.Template.Binding=function(a){var f=a.Constants.BINDING,h=a.Constants.ERROR,j=function(b,g){var c,e;for(e in b)if(a.Core.isOwnProperty(b,e)&&b[e]!==null){c=RegExp(f.START+e+f.END,"g");g=g.replace(c,b[e])}return g.replace(f.PARSER,"")};return{create:function(b,g){var c;var e=a.View.Template.get(b),i=a.Core.toType(g);if(i==="array"){c="";i=0;for(var d=g.length;i<d;i++)c+=j(g[i],e);c=c}else if(i==="object")c=j(g,e);else a.Core.log(3,h.BINDING_DATA_TYPE);return c},dataAttribute:function(b,g){var c=
79
+ b.data(g.tag);if(c){c=g.html.replace(f.START+f.KEY+f.END,c);b.prepend(c)}}}}(LUNGO);LUNGO.View.Template.List=function(a){var f=a.Constants.ERROR,h=a.Constants.ATTRIBUTE,j=function(b,g){var c=a.dom(b).attr(h.ID);a.View.Scroll.init(c);if(g)a.View.Scroll[g===h.FIRST?h.FIRST:h.LAST](c)};return{create:function(b){b.container=a.dom(b.el).children().first();var g=false,c=!!b.container.length>0,e=a.View.Template.exists(b.template);if(c&&e){c=a.Core.toType(b.data);if(c==="array"||c==="object")g=true}else a.Core.log(3,f.BINDING_LIST);if(g){if(b.order&&b.order.field&&b.order.type)b.data=a.Core.orderByProperty(b.data,
80
+ b.order.field,b.order.type);b.data=b.data;a.View.Template.render(b.container.selector,b.template,b.data);j(b.el)}},append:function(b){var g=a.View.Template.markup(b.template,b.data);a.dom(b.el).children().first().append(g);j(b.el,h.LAST)},prepend:function(b){var g=a.View.Template.markup(b.template,b.data);a.dom(b.el).children().first().prepend(g);j(b.el,h.FIRST)}}}(LUNGO);LUNGO.View.Scroll=function(a){var f=a.Constants.CLASS,h=a.Constants.ATTRIBUTE,j=a.Constants.ERROR,b={hScroll:false,vScroll:false,useTransition:true,momentum:true,lockDirection:true,fixedScrollbar:true,fadeScrollbar:true,hideScrollbar:true},g=function(d){if(a.Data.Cache.exists("scrolls")&&a.Data.Cache.get("scrolls",d)){a.Data.Cache.get("scrolls",d).destroy();a.Data.Cache.remove("scrolls",d)}},c=function(d){d=a.dom("#"+d);var k=d.children().first();if(k.length===0){d.html("<div></div>");k=d.children().first()}return k},
81
+ e=function(d,k){var m=a.dom("#"+d),n=m[0];if(i(a.dom(n))?n.clientWidth<n.scrollWidth:n.clientHeight<n.scrollHeight){n=k;m=i(m)?"hScroll":"vScroll";n||(n={});n[m]=true;m=k=n=a.Core.mix(b,n);a.Data.Cache.exists("scrolls")||a.Data.Cache.set("scrolls",{});n=a.Data.Cache.get("scrolls");if(n[d])n[d].refresh();else n[d]=new iScroll(d,m);a.Data.Cache.set("scrolls",n)}else g(d)},i=function(d){return d.hasClass(f.HORIZONTAL)?true:false};return{init:function(d,k){d?e(d,k):a.Core.log(3,j.CREATE_SCROLL)},remove:g,
82
+ refresh:function(d,k){e(d,k)},html:function(d,k){c(d).html(k);e(d)},append:function(d,k){c(d).append(k);e(d)},first:function(d){var k=a.Data.Cache.get("scrolls");k[d]&&k[d].scrollTo(0,0,250)},last:function(d){var k=a.Data.Cache.get("scrolls",d);if(k){d=a.dom("#"+d).first();var m=0,n=0;if(i(d))m=-(d.children().first()[h.WIDTH]()-d[h.WIDTH]());else n=-(d.children().first()[h.HEIGHT]()-d[h.HEIGHT]());k.scrollTo(m,n,250)}}}}(LUNGO);LUNGO.View.Aside=function(a){var f=a.Constants.ELEMENT,h=a.Constants.CLASS,j=a.Constants.ATTRIBUTE;return{show:function(b,g){var c=a.dom(f.ASIDE+g),e=c.attr(j.CLASS)||"";a.dom(f.SECTION+b).addClass(e).addClass(h.ASIDE);c.addClass(h.CURRENT)},hide:function(b,g){a.dom(f.ASIDE+g);a.dom(f.SECTION+b).removeClass(h.ASIDE).removeClass(h.RIGHT);setTimeout(function(){a.dom(f.ASIDE+g+"."+h.CURRENT).removeClass(h.CURRENT)},300)}}}(LUNGO);LUNGO.View.Element=function(a){var f=a.Constants.ATTRIBUTE,h=a.Constants.BINDING,j={BUBBLE:".bubble.count",PROGRESS_VALUE:" .value",PROGRESS_PERCENTAGE:" .labels span:last-child",PROGRESS_DESCRIPTION:" .labels span:first-child"};return{count:function(b,g){var c=a.dom(b);if(c)if(g>0){var e=c.children(j.BUBBLE);if(e.length>0)e.html(g);else{e=LUNGO.Attributes.Data.Count.html.replace(h.START+h.KEY+h.END,g);c.append(e)}}else c.children(j.BUBBLE).remove()},progress:function(b,g,c,e){if(a.dom(b)){g+=f.PERCENT;
83
+ a.dom(b+j.PROGRESS_VALUE).style(f.WIDTH,g);g=g;a.dom(b+j.PROGRESS_PERCENTAGE).html(c?g:f.EMPTY);a.dom(b+j.PROGRESS_DESCRIPTION).html(c?e:f.EMPTY)}}}}(LUNGO);LUNGO.Attributes.Data={Search:{tag:"search",selector:".list",html:'<li class="search {{value}}"><input type="search" placeholder="Search..."><a href="#" class="button" data-icon="search"></a></li>'},Count:{tag:"count",selector:"*",html:'<span class="bubble count">{{value}}</span>'},Search:{tag:"search",selector:"*",html:'<input type="search" placeholder="{{value}}"/><a href="#" class="button" data-icon="search"></a>'},Progress:{tag:"progress",selector:"*",html:'<div class="progress" id="yeal"> <span class="labels"><span></span><span></span></span> <span class="bar"><span class="value" style="width:{{value}};"><span class="glow"></span></span></span> </div>'},
84
+ Label:{tag:"label",selector:"a",html:"<abbr>{{value}}</abbr>"},Icon:{tag:"icon",selector:"*",html:'<span class="icon {{value}}"></span>'},Image:{tag:"image",selector:"*",html:'<img src="{{value}}" class="icon" />'},Title:{tag:"title",selector:"header, footer, article",html:'<span class="title">{{value}}</span>'},Back:{tag:"back",selector:"header, footer",html:'<a href="#back" data-target="section" class="onleft button default"><span class="icon {{value}}"></span></a>'}};LUNGO.Data.Cache=function(a,f){var h={},j=function(g){return arguments.length===1?h[g]:h[arguments[0]]?h[arguments[0]][arguments[1]]:f},b=function(g){return h[g]?true:false};return{set:function(g,c){h[g]=b(g)?a.Core.mix(j(g),c):c},get:j,remove:function(g){if(arguments.length===1)delete h[g];else delete h[arguments[0]][arguments[1]]},exists:b}}(LUNGO);LUNGO.Data.Sql=function(a){var f=a.Constants.ERROR,h={name:"lungo_db",version:"1.0",size:65536,schema:[]},j=null,b=function(d,k){a.Core.log(1,"lng.Data.Sql >> "+d);j.transaction(function(m){m.executeSql(d,[],function(n,r){c(k,r)},function(n){n.executedQuery=d;i.apply(null,arguments)})})},g=function(d,k){var m="",n;for(n in d)if(a.Core.isOwnProperty(d,n)){var r=d[n];if(m)m+=" "+k+" ";m+=n+"=";m+=isNaN(r)?'"'+r+'"':r}return m},c=function(d,k){a.Core.toType(d)==="function"&&setTimeout(d,100,k)},e=function(d,
85
+ k){var m="",n="",r;for(r in k)if(a.Core.isOwnProperty(k,r)){var s=k[r];m+=m?", "+r:r;if(n)n+=", ";n+=isNaN(s)?'"'+s+'"':s}b("INSERT INTO "+d+" ("+m+") VALUES ("+n+")")},i=function(d,k){a.Core.log(3,"lng.Data.Sql >> "+k.code+": "+k.message+" \n Executed query: "+d.executedQuery)};return{init:function(d){h=a.Core.mix(h,d);if(j=openDatabase(h.name,h.version,h.name,h.size)){d=h.schema;var k=d.length;if(k)for(var m=0;m<k;m++){var n=d[m];n.drop===true&&b("DROP TABLE IF EXISTS "+n.name);var r=n.name;n=n.fields;
86
+ var s="",v=void 0;for(v in n)if(a.Core.isOwnProperty(n,v)){if(s)s+=", ";s+=v+" "+n[v]}b("CREATE TABLE IF NOT EXISTS "+r+" ("+s+");")}}else a.Core.log(3,f.DATABASE)},select:function(d,k,m){k=k?" WHERE "+g(k,"AND"):"";b("SELECT * FROM "+d+k,function(n){for(var r=[],s=0,v=n.rows.length;s<v;s++)r.push(n.rows.item(s));c(m,r)})},insert:function(d,k){if(a.Core.toType(k)==="object")e(d,k);else for(row in k)e(d,k[row])},update:function(d,k,m){d="UPDATE "+d+" SET "+g(k,",");if(m)d+=" WHERE "+g(m,"AND");b(d)},
87
+ drop:function(d,k){var m=k?" WHERE "+g(k,"AND"):"";b("DELETE FROM "+d+m+";")},execute:b}}(LUNGO);LUNGO.Data.Storage=function(){var a={PERSISTENT:"localStorage",SESSION:"sessionStorage"},f=function(h,j,b){h=window[h];if(b){h=h;b=b;b=JSON.stringify(b);h.setItem(j,b)}else{b=b;b=h.getItem(j);return JSON.parse(b)}};return{session:function(h,j){return f(a.SESSION,h,j)},persistent:function(h,j){return f(a.PERSISTENT,h,j)}}}(LUNGO);LUNGO.Boot=function(a){return function(){a.Boot.Resources.start();a.Boot.Layout.start();a.Boot.Events.start();a.Boot.Data.start();a.Boot.Section.start();a.Boot.Article.start();a.Boot.Stats.start()}}(LUNGO);LUNGO.Boot.Resources=function(a,f){var h=a.Constants.ELEMENT,j=a.Constants.ERROR,b={SECTION:"sections",TEMPLATE:"templates",SCRIPT:"scripts"},g=function(c){return f.ajax({url:c,async:false,dataType:"html",error:function(){console.error("[ERROR] Loading url",arguments)}})};return{start:function(){var c=a.App.get("resources");for(resource_key in c){var e=resource_key,i=c[resource_key];for(index in i){var d=/http/.test(i[index])?i[index]:"app/"+e+"/"+i[index];try{var k=g(d);switch(e){case b.SECTION:d=
88
+ k;a.Core.toType(d)==="string"&&a.dom(h.BODY).append(d);break;case b.TEMPLATE:d=k;var m=document.createElement(h.DIV);m.innerHTML=d;var n=a.dom(m.firstChild).data("template");n&&a.View.Template.create(n,d)}}catch(r){a.Core.log(3,j.LOADING_RESOURCE+" "+r)}}}}}}(LUNGO,Quo);LUNGO.Boot.Stats=function(a){var f=function(){a.Service.post("http://www.lungojs.com/stats/",{name:a.App.get("name"),version:a.App.get("version"),icon:a.App.get("icon")},function(){})};return{start:function(){a.Core.isMobile()&&f()}}}(LUNGO);LUNGO.Boot.Layout=function(a){var f=null,h=null,j=a.Constants.ELEMENT,b=a.Constants.ATTRIBUTE,g=function(){if(!location.hash||!f.addEventListener){f.scrollTo(0,1);var c=1,e=setInterval(function(){if(h.body){clearInterval(e);c="scrollTop"in h.body?h.body.scrollTop:1;f.scrollTo(0,c===1?0:1)}},15);f.addEventListener("load",function(){setTimeout(function(){f.scrollTo(0,c===1?0:1)},0)},false)}};return{start:function(){if(a.Core.isMobile()){f=window;h=f.document;if(f.innerHeight==356){a.dom(j.BODY).style(b.HEIGHT,
89
+ 416+b.PIXEL);g()}}}}}(LUNGO);LUNGO.Boot.Article=function(a){var f=a.Constants.ATTRIBUTE,h=a.Constants.ELEMENT,j={LIST_IN_ARTICLE:"article.list, aside.list",SCROLL_IN_ARTICLE:".scrollable",CHECKBOX_IN_ARTICLE:".checkbox, .radio"},b=function(i,d){for(var k=a.dom(i),m=0,n=k.length;m<n;m++){var r=a.dom(k[m]);a.Core.execute(d,r)}},g=function(i){if(i.children().length===0){i.attr(f.ID);i.append(h.LIST)}},c=function(i){i=i.attr(f.ID);a.View.Scroll.init(i)},e=function(i){i.append(h.SPAN)};return{start:function(){b(j.LIST_IN_ARTICLE,
90
+ g);b(j.SCROLL_IN_ARTICLE,c);b(j.CHECKBOX_IN_ARTICLE,e)}}}(LUNGO);LUNGO.Boot.Data=function(a){return{start:function(){var f=a.Attributes.Data,h;for(h in f)if(a.Core.isOwnProperty(f,h))for(var j=f[h],b=a.dom(j.selector),g=0,c=b.length;g<c;g++){var e=a.dom(b[g]);a.View.Template.Binding.dataAttribute(e,j)}}}}(LUNGO);LUNGO.Boot.Events=function(a){var f=a.Constants.ATTRIBUTE,h=a.Constants.CLASS,j=a.Constants.ELEMENT,b={HREF_TARGET:"a[href][data-target]",HREF_TARGET_FROM_ASIDE:"aside a[href][data-target]"},g=function(){a.View.Resize.toolbars()},c=function(){var i=a.dom(this),d="#"+i.parent(j.ASIDE).attr(f.ID),k="#"+a.dom("section.aside, section.current").first().attr(f.ID);if(i.data(f.TARGET)===j.ARTICLE){a.dom(j.ASIDE+d+" "+b.HREF_TARGET).removeClass(h.CURRENT);i.addClass(h.CURRENT)}window.innerWidth<768&&a.View.Aside.hide(k,
91
+ d)},e=function(i){var d=a.dom(this);switch(d.data(f.TARGET)){case j.SECTION:d=d.attr(f.HREF);d=a.Core.parseUrl(d);d==="#back"?a.Router.back():a.Router.section(d);break;case j.ARTICLE:var k=a.Router.History.current();d=d.attr(f.HREF);a.Router.article(k,d);break;case j.ASIDE:k=a.Router.History.current();d=d.attr(f.HREF);a.Router.aside(k,d)}i.preventDefault()};return{start:function(){a.dom(window).on("resize",g);a.dom(b.HREF_TARGET_FROM_ASIDE).tap(c);a.dom(b.HREF_TARGET).tap(e);a.Fallback.androidButtons()}}}(LUNGO);LUNGO.Boot.Section=function(a){var f=a.Constants.ELEMENT,h=a.Constants.CLASS,j=a.Constants.ATTRIBUTE;return{start:function(){var b=a.dom(f.SECTION),g=b.first(),c="#"+g.attr(j.ID);g.addClass(h.CURRENT);a.Router.History.add(c);a.Fallback.positionFixed(b);g=0;for(c=b.length;g<c;g++){var e=a.dom(b[g]),i=e.children(f.ARTICLE).first();i.addClass(h.CURRENT);i=i.attr(j.ID);e="#"+e.attr(j.ID);a.View.Article.showReferenceLinks(e,i)}a.View.Resize.toolbars()}}}(LUNGO);
@@ -0,0 +1,258 @@
1
+ /**
2
+ *
3
+ * /$$
4
+ * | $$
5
+ * | $$ /$$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$
6
+ * | $$ | $$ | $$| $$__ $$ /$$__ $$ /$$__ $$
7
+ * | $$ | $$ | $$| $$ \ $$| $$ \ $$| $$ \ $$
8
+ * | $$ | $$ | $$| $$ | $$| $$ | $$| $$ | $$
9
+ * | $$$$$$$$| $$$$$$/| $$ | $$| $$$$$$$| $$$$$$/
10
+ * |________/ \______/ |__/ |__/ \____ $$ \______/
11
+ * /$$ \ $$
12
+ * | $$$$$$/
13
+ * \______/
14
+ *
15
+ * @copyright 2011-2012 TapQuo Inc (c)
16
+ * @license http://www.github.com/tapquo/lungo/blob/master/LICENSE.txt
17
+ * @version 1.2
18
+ * @link https://github.com/TapQuo/Lungo.js
19
+ *
20
+ * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
21
+ * @author Guillermo Pascual <pasku@tapquo.com> || @pasku1
22
+ */
23
+
24
+ a,abbr,address,article,aside,audio,b,blockquote,body,caption,cite,code,dd,del,dfn,dialog,div,dl,dt,em,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{border:0;margin:0;outline:0;padding:0;font-size:100%;}
25
+ a{color:#fff;text-decoration:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);}
26
+ a:hover{opacity:1;}
27
+ html{height:100%;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
28
+ body{margin:0;padding:0;width:100%;height:100%;min-height:100%;overflow:hidden;font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:1.231;-webkit-touch-callout:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;}
29
+ b,strong{font-weight:bold;}
30
+ img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;font-size:0;}
31
+ table{border-collapse:collapse;border-spacing:0;}
32
+ th,td,caption{vertical-align:top;font-weight:normal;text-align:left;}
33
+ *{margin:0;padding:0;-webkit-user-select:none;-webkit-tap-highlight-color:rgba(255, 255, 255, 0);}
34
+ section{position:absolute;left:0px;top:0px;width:100%;height:100%;z-index:1;-webkit-transform:translate3d(100%, 0, 0);-moz-transform:translate3d(100%, 0, 0);-o-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);-webkit-backface-visibility:hidden;-webkit-transition:-webkit-transform 250ms cubic-bezier(0.39, 0.575, 0.565, 1);}section:first-child,section.show{-webkit-transform:translate3d(0%, 0, 0);-moz-transform:translate3d(0%, 0, 0);-o-transform:translate3d(0%, 0, 0);transform:translate3d(0%, 0, 0);}
35
+ section.hide{-webkit-transform:translate3d(-100%, 0, 0);-moz-transform:translate3d(-100%, 0, 0);-o-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);}
36
+ section.pop{-webkit-transform:scale(0.5);-moz-transform:scale(0.5);-o-transform:scale(0.5);transform:scale(0.5);z-index:0;opacity:0;-webkit-transition:all 250ms cubic-bezier(0.39, 0.575, 0.565, 1);}section.pop:first-child,section.pop.show{z-index:1;-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1);opacity:1;}
37
+ section.pop.hide{z-index:0;-webkit-transform:scale(1.2);-moz-transform:scale(1.2);-o-transform:scale(1.2);transform:scale(1.2);opacity:0;}
38
+ section.flow{-webkit-transform:translate3d(100%, 0, 0) scale(0.7);-moz-transform:translate3d(100%, 0, 0) scale(0.7);-o-transform:translate3d(100%, 0, 0) scale(0.7);transform:translate3d(100%, 0, 0) scale(0.7);}section.flow:first-child,section.flow.show{-webkit-animation:flow-show 350ms 500ms cubic-bezier(0.39, 0.575, 0.565, 1) forwards;}
39
+ section.flow.show-revoke{-webkit-animation:flow-show-revoke 350ms cubic-bezier(0.39, 0.575, 0.565, 1) forwards;}
40
+ section.flow.hide{-webkit-animation:flow-hide 350ms cubic-bezier(0.39, 0.575, 0.565, 1) forwards;}
41
+ section.flow.hide-revoke{-webkit-animation:flow-hide-revoke 350ms 500ms cubic-bezier(0.39, 0.575, 0.565, 1) forwards;}
42
+ @-webkit-keyframes flow-show {
43
+ 0% { -webkit-transform: translateX(100%) scale(.7); }
44
+ 50% { -webkit-transform: translateX(0%) scale(.7);}
45
+ 100% { -webkit-transform: translateX(0%) scale(1);}
46
+ }
47
+
48
+ @-webkit-keyframes flow-show-revoke {
49
+ 0% { -webkit-transform: translateX(0%) scale(1); }
50
+ 50% { -webkit-transform: translateX(0%) scale(.7);}
51
+ 100% { -webkit-transform: translateX(100%) scale(.7);}
52
+ }
53
+
54
+ @-webkit-keyframes flow-hide {
55
+ 0% { -webkit-transform: translateX(0%) scale(1); }
56
+ 50% { -webkit-transform: translateX(0%) scale(.7); }
57
+ 100% { -webkit-transform: translateX(-100%) scale(.7); }
58
+ }
59
+
60
+ @-webkit-keyframes flow-hide-revoke {
61
+ 0% { -webkit-transform: translateX(-100%) scale(.7); }
62
+ 50% { -webkit-transform: translateX(0%) scale(.7);}
63
+ 100% { -webkit-transform: translateX(0%) scale(1);}
64
+ }
65
+ header,footer{position:absolute;left:0px;width:100%;height:38px;display:block;z-index:2;line-height:39px;}
66
+ header{top:0px;}header .onleft{margin-left:4px !important;}
67
+ header .onright{margin-right:4px !important;}
68
+ footer{bottom:0px;}
69
+ header .title,footer .title{margin:0 4px;float:left;z-index:-1;font-size:15px;font-weight:bold;}
70
+ header .title{position:absolute;left:0px;right:0px;text-align:center;display:inline-block;}
71
+ section header a.button,section footer a.button{margin:3px 1px 0px;}
72
+ nav{height:inherit;text-align:center;}nav a{padding:0 6px;z-index:1000;float:left;}nav a .icon{position:relative;top:3px;font-size:24px;display:inline-block;}
73
+ nav a img{width:16px;height:16px;top:-1px !important;}
74
+ nav a abbr{position:relative;margin-left:2px;display:none;}
75
+ nav a.current abbr,nav a.active abbr{display:inline;}
76
+ nav .bubble{position:relative;top:-8px;left:-8px;margin-right:-20px;}
77
+ .toolbar{height:48px;display:block;}.toolbar nav{display:block;}
78
+ .toolbar a{padding:0;}
79
+ .toolbar .icon{display:block;top:0px;font-size:32px;line-height:48px;}
80
+ .toolbar.with-labels .icon{line-height:36px;padding-bottom:12px;}
81
+ .toolbar .bubble{top:-52px;left:4px;}
82
+ .toolbar abbr{position:absolute;top:32px;width:inherit;height:14px;margin-left:0px;display:block !important;font-size:11px;line-height:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
83
+ .groupbar{position:absolute;top:39px;height:28px;width:100%;padding:4px 0 2px;display:block;line-height:28px;z-index:2;}.groupbar a{padding:0px;}
84
+ section.aside{-webkit-transform:translate3d(256px, 0, 0);-moz-transform:translate3d(256px, 0, 0);-o-transform:translate3d(256px, 0, 0);transform:translate3d(256px, 0, 0);}section.aside.onright{-webkit-transform:translate3d(-256px, 0, 0);-moz-transform:translate3d(-256px, 0, 0);-o-transform:translate3d(-256px, 0, 0);transform:translate3d(-256px, 0, 0);}
85
+ aside{position:absolute;width:inherit;height:inherit;top:0px;visibility:hidden;z-index:0;width:256px;max-width:256px;}aside.onright{right:0px;}
86
+ aside.current{visibility:visible;}
87
+ aside .title{line-height:40px;font-size:15px;font-weight:bold;height:40px;}
88
+ aside a{display:block;width:244px;height:40px;font-size:15px;line-height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
89
+ aside .bubble{float:right;font-size:11px;}
90
+ aside .title,aside a,aside .anchor{padding:0 6px;}
91
+ aside a .bubble,aside .title .bubble{margin-top:13px;}
92
+ aside .anchor .bubble{margin-top:2px;}
93
+ aside .icon{width:24px;float:left;margin:8px 4px 0 0;font-size:24px;line-height:24px;text-align:center;}
94
+ aside .anchor{font-weight:bold;line-height:19px;}
95
+ @media handheld, only screen and (min-width: 768px){[data-target="aside"]{display:none !important;} section.aside{width:auto !important;left:256px !important;right:0px !important;-webkit-transform:translate3d(0px, 0, 0);-moz-transform:translate3d(0px, 0, 0);-o-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0);-webkit-transition:none;}}
96
+ article{position:absolute;width:100% !important;height:auto;top:0px;bottom:0px;visibility:hidden;z-index:0;}article.current{visibility:visible;z-index:1;}
97
+ article .title{font-size:1.1em;margin:0px 0 4px;}article .title .icon{margin-right:4px;}
98
+ article .text{margin:4px 0 8px;display:block;font-size:0.9em;font-weight:normal;line-height:1.4em;}
99
+ header:not(.extended)~article{top:40px;}
100
+ header.extended~article{top:75px;}
101
+ footer:not(.toolbar)~article{bottom:40px;}
102
+ footer.toolbar~article{bottom:48px;}
103
+ @media handheld, only screen and (min-width: 768px){article.aside{-webkit-transform:translate3d(0px, 0, 0);-moz-transform:translate3d(0px, 0, 0);-o-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0);}}
104
+ .list{font-size:1.15em;}.list a{display:block;}
105
+ .list li:not(.toolbar){padding:8px 6px 8px 8px;list-style-type:none;}.list li:not(.toolbar) .icon,.list li:not(.toolbar) img{float:left;width:32px;height:32px;margin-right:6px;font-size:36px;font-weight:normal;}
106
+ .list .icon,.list img{display:inline-block;}
107
+ .list small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:0.85em;}
108
+ .list li.anchor{font-size:0.85em;padding:4px 4px 3px;}.list li.anchor .icon{width:14px !important;height:14px !important;margin-right:2px !important;font-size:1.6em !important;line-height:14px !important;}
109
+ .list li.anchor .bubble{display:none;}
110
+ .list .tip{font-size:0.85em;font-weight:bold;}
111
+ .list .search input{width:88%;}
112
+ .list .search a{float:right;height:30px;margin:0px;padding:0px;}.list .search a icon{height:12px;width:30px;margin:0px;font-size:1.2em;font-weight:normal;}
113
+ .list .onright{font-size:0.75em;line-height:16px;}
114
+ .list .onright .icon,.list small .icon{font-size:1.4em !important;line-height:16px;height:14px !important;width:14px !important;margin-right:0px !important;}
115
+ .scrollable{position:absolute;display:block;}
116
+ .scroll{overflow:scroll;-webkit-overflow-scrolling:touch;}
117
+ .onleft{float:left;}
118
+ .onright{float:right;}
119
+ .indented >*{padding:10px;}
120
+ .indented.rounded ul{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;}
121
+ .indented.rounded li:first-child{-webkit-border-radius:4px 4px 0px 0px;-moz-border-radius:4px 4px 0px 0px;border-radius:4px 4px 0px 0px;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;}
122
+ .indented.rounded li:last-child{-webkit-border-radius:0px 0px 4px 4px;-moz-border-radius:0px 0px 4px 4px;border-radius:0px 0px 4px 4px;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;}
123
+ .margin-top-4{margin-top:4px;}
124
+ .hidden{display:none;}
125
+ .semi-opacity{opacity:0.5;}
126
+ .size32{font-size:32px;height:32px;width:32px;line-height:32px;}
127
+ .mini{font-size:20px !important;height:16px !important;width:16px !important;line-height:16px !important;}
128
+ .framed{border:2px solid #fff;}
129
+ .round{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;}
130
+ .bubble{padding:2px 3px 1px;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;font-size:0.8em;font-weight:bold;line-height:1.0em;}
131
+ .splash{text-align:center;font-size:1.2em;}
132
+ .splash img{max-width:206px;margin:92px auto 32px;}
133
+ .splash h1{margin:92px auto 16px;font-size:2.2em;font-weight:bold;}
134
+ .splash .button.big{margin-top:16px;}
135
+ .splash .copyright{position:fixed;width:100%;bottom:8px;left:0px;font-size:0.8em;font-style:normal;}
136
+ a.button{display:inline-block;height:30px;padding:0 9px 0 8px;color:#fff !important;outline:none;background:#5a5a5a;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;line-height:31px;text-align:center;text-decoration:none;}a.button:active,a.button.active{background:#4b4b4b;}
137
+ a.button:disabled,a.button.disabled{background:rgba(255, 255, 255, 0.2);color:#999 !important;}
138
+ a.button .icon{position:relative;top:3px;height:16px;width:16px;font-size:22px;line-height:17px;}
139
+ a.button img{top:0px !important;}
140
+ a.button.big{width:100%;height:40px;padding:0px;margin-bottom:4px;font-size:16px;line-height:42px;}a.button.big .icon{margin-right:4px;font-size:24px;height:18px;width:18px;}
141
+ a.button.big img{}
142
+
143
+ label{font-size:0.8em;line-height:27px;}
144
+ input:not([type=checkbox]),textarea,select{display:inline-block;padding:5px;width:95%;margin-bottom:2px;outline:none;-webkit-appearance:none;border-radius:0px;font-size:15px;line-height:15px;font-weight:bold;-webkit-user-select:text;}
145
+ input[type=search]{width:86%;}input[type=search] +.button{float:right;padding:0px;width:32px;height:30px;}input[type=search] +.button .icon{font-size:22px !important;line-height:30px;}
146
+ select{width:100%;height:29px;}
147
+ label.select{position:relative;display:inline-block;width:100%;padding-top:2px;}
148
+ .select:after{text-align:center;position:absolute;top:0;right:0;bottom:0;height:29px;width:29px;content:"▼";pointer-events:none;line-height:32px;margin-top:2px;}
149
+ .no-pointer-events .select:after{content:none;}
150
+ input[type="checkbox"],input[type="radio"]{width:82px;height:27px;z-index:2;}
151
+ input[type="checkbox"]+span::after,input[type="radio"]+span::after{content:"OFF";}
152
+ input[type="checkbox"]:checked+span::after,input[type="radio"]:checked+span::after{content:"ON";}
153
+ input[type="checkbox"]+span,input[type="radio"]+span,input[type="checkbox"]+span::before,input[type="radio"]+span::before,input[type="checkbox"]+span::after,input[type="radio"]+span::after{display:inline-block;}
154
+ input[type="checkbox"]+span::before,input[type="radio"]+span::before,input[type="checkbox"]+span::after,input[type="radio"]+span::after,input[type="checkbox"]:checked+span::before,input[type="radio"]:checked+span::before,input[type="checkbox"]:checked+span::after,input[type="radio"]:checked+span::after{top:0;}
155
+ input[type="checkbox"]+span::after,input[type="radio"]+span::after,input[type="checkbox"]:checked+span::before,input[type="radio"]:checked+span::before{right:0;}
156
+ input[type="checkbox"]+span::before,input[type="radio"]+span::before,input[type="checkbox"]:checked+span::after,input[type="radio"]:checked+span::after{left:0;}
157
+ input[type="checkbox"],input[type="radio"],input[type="checkbox"]+span::before,input[type="radio"]+span::before,input[type="checkbox"]+span::after,input[type="radio"]+span::after{position:absolute;}
158
+ input[type="checkbox"],input[type="radio"]{-webkit-opacity:0;opacity:0;}
159
+ input[type="checkbox"]+span,input[type="radio"]+span{width:82px;height:27px;position:relative;font-size:11px;line-height:29px;font-weight:bold;text-transform:uppercase;text-indent:-9999px;}
160
+ input[type="checkbox"]+span::before,input[type="radio"]+span::before{content:"";width:41px;height:27px;}
161
+ input[type="checkbox"]+span::after,input[type="radio"]+span::after{text-indent:0;width:41px;height:27px;text-align:center;box-shadow:0px 1px 0px #fff, 0px 2px 0px #d2d2d2;}
162
+ input[type="checkbox"]:checked+span::before,input[type="radio"]:checked+span::before{left:auto;}
163
+ input[type="checkbox"]:checked+span::after,input[type="radio"]:checked+span::after{height:27px;}
164
+ input[type="range"]{-webkit-appearance:none;height:3px;width:100%;outline:none;border-radius:1px;position:relative;padding:0px;margin:0px;margin-bottom:4px !important;border:0;cursor:ew-resize;}input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;position:relative;z-index:1;width:24px;height:24px;border-radius:12px;}
165
+ .progress{width:100%;}.progress .labels{display:block;}.progress .labels span:last-child{float:right;}
166
+ .progress .bar{height:3px;display:block;}.progress .bar .value{display:block;height:inherit;width:0%;-webkit-transition:width 500ms cubic-bezier(0.39, 0.575, 0.565, 1);}.progress .bar .value .glow{float:right;height:inherit;width:3px;}
167
+ @media screen and (-webkit-min-device-pixel-ratio:0){.custom-select select{padding-right:30px;}}
168
+ a.grey,.grey{background-color:#cccccc;}
169
+ a.grey:active,a.grey.active{background-color:#b5b5b5;}
170
+ a.black,.grey{background-color:#000000;}
171
+ a.black:active,a.black.active{background-color:#000000;}
172
+ a.red,.red{background-color:#e33100;}
173
+ a.red:active,a.red.active{background-color:#c5280f;}
174
+ a.lightgreen,.lightgreen{background-color:#91bd09;}
175
+ a.lightgreen:active,a.lightgreen.active{background-color:#7ea41a;}
176
+ a.green,.green{background-color:#009600;}
177
+ a.green:active,a.green.active{background-color:#00770e;}
178
+ a.blue,.blue{background-color:#237fd7;}
179
+ a.blue:active,a.blue.active{background-color:#1a69b6;}
180
+ a.arcticblue,.arcticblue{background-color:#2daebf;}
181
+ a.arcticblue:active,a.arcticblue.active{background-color:#238e9e;}
182
+ a.orange,.orange{background-color:#ff5c00;}
183
+ a.orange:active,a.orange.active{background-color:#da4e15;}
184
+ a.purple,.purple{background-color:#7b658d;}
185
+ a.purple:active,a.purple.active{background-color:#574765;}
186
+ a.magenta,.magenta{background-color:#a9014b;}
187
+ a.magenta:active,a.magenta.active{background-color:#831239;}
188
+ a.pink,.pink{background-color:#ff007f;}
189
+ a.pink:active,a.pink.active{background-color:#de2870;}
190
+ a.yellow,.yellow{background-color:#ffb515;}
191
+ a.yellow:active,a.yellow.active{background-color:#dfa020;}
192
+ a.twitter,.twitter:not(span){background-color:#35cdff;}
193
+ a.twitter:active,a.twitter.active{background-color:#2bafda;}
194
+ a.facebook,.facebook:not(span){background-color:#3b5998;}
195
+ a.facebook:active,a.facebook.active{background-color:#2c4579;}
196
+ li.grey{box-shadow:inset 3px 0px 0px #cccccc;}
197
+ li.black{box-shadow:inset 3px 0px 0px #000000;}
198
+ li.red{box-shadow:inset 3px 0px 0px #e33100;}
199
+ li.lightgreen{box-shadow:inset 3px 0px 0px #91bd09;}
200
+ li.green{box-shadow:inset 3px 0px 0px #009600;}
201
+ li.blue{box-shadow:inset 3px 0px 0px #237fd7;}
202
+ li.arcticblue{box-shadow:inset 3px 0px 0px #2daebf;}
203
+ li.orange{box-shadow:inset 3px 0px 0px #ff5c00;}
204
+ li.purple{box-shadow:inset 3px 0px 0px #7b658d;}
205
+ li.magenta{box-shadow:inset 3px 0px 0px #a9014b;}
206
+ li.pink{box-shadow:inset 3px 0px 0px #ff007f;}
207
+ li.yellow{box-shadow:inset 3px 0px 0px #ffb515;}
208
+ li.twitter{box-shadow:inset 3px 0px 0px #35cdff;}
209
+ li.facebook{box-shadow:inset 3px 0px 0px #3b5998;}
210
+ @font-face{font-family:'icon';src:url(data:font/truetype;charset=utf-8;base64,AAEAAAAOAIAAAwBgRkZUTWAhvtMAAADsAAAAHEdERUYAbQAEAAABCAAAACBPUy8yVVRa1QAAASgAAABWY21hcPmgmJsAAAGAAAABkmN2dCAAIQJ5AAADFAAAAARnYXNw//8AAwAAAxgAAAAIZ2x5Zvcv6zEAAAMgAAAYCGhlYWT9/ZNDAAAbKAAAADZoaGVhC0sIdAAAG2AAAAAkaG10eLbNBCgAABuEAAAA/mxvY2HgXtoKAAAchAAAAIJtYXhwAKoBFAAAHQgAAAAgbmFtZRbhNaQAAB0oAAABQHBvc3Q11jR1AAAeaAAAAOIAAAABAAAAAMmJbzEAAAAAy0wn0AAAAADLTCfRAAEAAAAOAAAAGAAAAAAAAgABAAEAPwABAAQAAAACAAAAAQMWAZAABQAAAooCuwAAAIwCigK7AAAB3wAxAQIAAAIABQkAAAAAAAAAAAABAAAAAAAAAAAAAAAAUGZFZABAADD7BALu/wYAWgK8AAAAAAABAAAAAAAAAAAAAwAAAAMAAAAcAAEAAAAAAIwAAwABAAAAHAAEAHAAAAAYABAAAwAIADkAWgBsAKoAswC5AVIgFCEi4AD7BP//AAAAMABBAGEAqgCyALkBUiATISLgAPsB////0//M/8b/if+C/33+5eAl3xggOwU7AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAADBAUGBwgJCgsMAAAAAAAAAA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmAAAAAAAAJygpKissLS4vMDEyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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kHdW5pRTAwMAd1bmlGQjAxB3VuaUZCMDIHdW5pRkIwMwd1bmlGQjA0AAA=) format('truetype');font-weight:normal;font-style:normal;}.icon{color:inherit;font-weight:normal !important;line-height:normal;font-family:'icon';}
211
+ .icon.map:before{content:'0';}
212
+ .icon.clock:before{content:'1';}
213
+ .icon.calendar:before{content:'2';}
214
+ .icon.message:before{content:'3';}
215
+ .icon.chat:before{content:'4';}
216
+ .icon.user:before{content:'5';}
217
+ .icon.group:before{content:'6';}
218
+ .icon.loading:before{content:'7';}
219
+ .icon.refresh:before{content:'8';}
220
+ .icon.search:before{content:'9';}
221
+ .icon.pushpin:before{content:'A';}
222
+ .icon.star:before{content:'B';}
223
+ .icon.heart:before{content:'C';}
224
+ .icon.warning:before{content:'D';}
225
+ .icon.add:before{content:'E';}
226
+ .icon.remove:before{content:'F';}
227
+ .icon.question:before{content:'G';}
228
+ .icon.info:before{content:'H';}
229
+ .icon.check:before{content:'I';}
230
+ .icon.substract:before{content:'J';}
231
+ .icon.close:before{content:'K';}
232
+ .icon.plus:before{content:'L';}
233
+ .icon.up:before{content:'M';}
234
+ .icon.down:before{content:'N';}
235
+ .icon.left:before{content:'O';}
236
+ .icon.right:before{content:'P';}
237
+ .icon.home:before{content:'Q';}
238
+ .icon.pencil:before{content:'R';}
239
+ .icon.edit:before{content:'S';}
240
+ .icon.picture:before{content:'T';}
241
+ .icon.camera:before{content:'U';}
242
+ .icon.music:before{content:'V';}
243
+ .icon.wifi:before{content:'W';}
244
+ .icon.file:before{content:'X';}
245
+ .icon.files:before{content:'Y';}
246
+ .icon.folder:before{content:'Z';}
247
+ .icon.key:before{content:'a';}
248
+ .icon.settings:before{content:'b';}
249
+ .icon.chart:before{content:'c';}
250
+ .icon.trash:before{content:'d';}
251
+ .icon.target:before{content:'e';}
252
+ .icon.items:before{content:'f';}
253
+ .icon.download:before{content:'g';}
254
+ .icon.upload:before{content:'h';}
255
+ .icon.basket:before{content:'i';}
256
+ .icon.phone:before{content:'j';}
257
+ .icon.mail:before{content:'k';}
258
+ .icon.tag:before{content:'l';}