Permalink
Browse files

removing assets

  • Loading branch information...
1 parent 46e6b23 commit 6d8324343d444fabbd1e14f9f23a48b6bdf199b2 @fermion fermion committed Dec 20, 2011
Showing with 0 additions and 170 deletions.
  1. +0 −5 public/assets/application-5fd52112727518dbb9c411acd363ba81.js
  2. BIN public/assets/application-5fd52112727518dbb9c411acd363ba81.js.gz
  3. +0 −1 public/assets/application-60ff844acbe7295deb5ae54f06bf8bd9.css
  4. BIN public/assets/application-60ff844acbe7295deb5ae54f06bf8bd9.css.gz
  5. +0 −1 public/assets/application.css
  6. BIN public/assets/application.css.gz
  7. +0 −5 public/assets/application.js
  8. BIN public/assets/application.js.gz
  9. +0 −6 public/assets/backbone.min-f0545aab7a89eecf83fe4af0641e1e1c.js
  10. BIN public/assets/backbone.min-f0545aab7a89eecf83fe4af0641e1e1c.js.gz
  11. +0 −6 public/assets/backbone.min.js
  12. BIN public/assets/backbone.min.js.gz
  13. 0 public/assets/dashboard-1c9609bc58b1e77c196de29021583379.css
  14. BIN public/assets/dashboard-1c9609bc58b1e77c196de29021583379.css.gz
  15. +0 −1 public/assets/dashboard-d6c03004c3644316b353c7381326118a.js
  16. BIN public/assets/dashboard-d6c03004c3644316b353c7381326118a.js.gz
  17. 0 public/assets/dashboard.css
  18. BIN public/assets/dashboard.css.gz
  19. +0 −1 public/assets/dashboard.js
  20. BIN public/assets/dashboard.js.gz
  21. 0 public/assets/ie-1c9609bc58b1e77c196de29021583379.css
  22. BIN public/assets/ie-1c9609bc58b1e77c196de29021583379.css.gz
  23. 0 public/assets/ie.css
  24. BIN public/assets/ie.css.gz
  25. +0 −26 public/assets/manifest.yml
  26. +0 −4 public/assets/modernizr.custom-9173fb0a42819727f38dfc0bbbeb3bde.js
  27. BIN public/assets/modernizr.custom-9173fb0a42819727f38dfc0bbbeb3bde.js.gz
  28. +0 −4 public/assets/modernizr.custom.js
  29. BIN public/assets/modernizr.custom.js.gz
  30. 0 public/assets/print-1c9609bc58b1e77c196de29021583379.css
  31. BIN public/assets/print-1c9609bc58b1e77c196de29021583379.css.gz
  32. 0 public/assets/print.css
  33. BIN public/assets/print.css.gz
  34. +0 −8 public/assets/rails-7e00d2017b4a3a64e0a9a092c514df0a.js
  35. BIN public/assets/rails-7e00d2017b4a3a64e0a9a092c514df0a.js.gz
  36. +0 −1 public/assets/rails-behaviors-d6e77eb838380405e78024c15dd190e3.rb
  37. +0 −1 public/assets/rails-behaviors.rb
  38. BIN public/assets/rails-e4b51606cd77fda2615e7439907bfc92.png
  39. +0 −8 public/assets/rails.js
  40. BIN public/assets/rails.js.gz
  41. BIN public/assets/rails.png
  42. +0 −1 public/assets/rails/accept-3b3573fcae90e7b2c409735ec34b8417.js
  43. BIN public/assets/rails/accept-3b3573fcae90e7b2c409735ec34b8417.js.gz
  44. +0 −1 public/assets/rails/accept.js
  45. BIN public/assets/rails/accept.js.gz
  46. +0 −1 public/assets/rails/beforesend-7aa41079bf42ed4918cfbfc3341b2560.js
  47. BIN public/assets/rails/beforesend-7aa41079bf42ed4918cfbfc3341b2560.js.gz
  48. +0 −1 public/assets/rails/beforesend.js
  49. BIN public/assets/rails/beforesend.js.gz
  50. +0 −23 public/assets/rails/behaviors-23b6818609a3164b9962b625e06820cb.rb
  51. +0 −23 public/assets/rails/behaviors.rb
  52. +0 −1 public/assets/rails/confirm-4b55445b0a3ce11333ad73b3cd6f5dce.js
  53. BIN public/assets/rails/confirm-4b55445b0a3ce11333ad73b3cd6f5dce.js.gz
  54. +0 −1 public/assets/rails/confirm.js
  55. BIN public/assets/rails/confirm.js.gz
  56. +0 −1 public/assets/rails/csrf-bb5020cfde96b011c1376c54d2577352.js
  57. BIN public/assets/rails/csrf-bb5020cfde96b011c1376c54d2577352.js.gz
  58. +0 −1 public/assets/rails/csrf.js
  59. BIN public/assets/rails/csrf.js.gz
  60. +0 −1 public/assets/rails/disable-838a500f2c1456243ae086dddd1f8409.js
  61. BIN public/assets/rails/disable-838a500f2c1456243ae086dddd1f8409.js.gz
  62. +0 −1 public/assets/rails/disable.js
  63. BIN public/assets/rails/disable.js.gz
  64. +0 −1 public/assets/rails/method-66ebe91c119263be1e347abfa046f1b0.js
  65. BIN public/assets/rails/method-66ebe91c119263be1e347abfa046f1b0.js.gz
  66. +0 −1 public/assets/rails/method.js
  67. BIN public/assets/rails/method.js.gz
  68. +0 −1 public/assets/rails/remote-dba9d27f2361f96b5985eae2212506a6.js
  69. BIN public/assets/rails/remote-dba9d27f2361f96b5985eae2212506a6.js.gz
  70. +0 −1 public/assets/rails/remote.js
  71. BIN public/assets/rails/remote.js.gz
  72. +0 −1 public/assets/rails/remote_submit-7120d631e998fa83c058994dfdc52e50.js
  73. BIN public/assets/rails/remote_submit-7120d631e998fa83c058994dfdc52e50.js.gz
  74. +0 −1 public/assets/rails/remote_submit.js
  75. BIN public/assets/rails/remote_submit.js.gz
  76. +0 −1 public/assets/screen-60ff844acbe7295deb5ae54f06bf8bd9.css
  77. BIN public/assets/screen-60ff844acbe7295deb5ae54f06bf8bd9.css.gz
  78. +0 −1 public/assets/screen.css
  79. BIN public/assets/screen.css.gz
  80. +0 −1 public/assets/sessions-a63123147e67760616b46be435a44188.css
  81. BIN public/assets/sessions-a63123147e67760616b46be435a44188.css.gz
  82. +0 −1 public/assets/sessions-d6c03004c3644316b353c7381326118a.js
  83. BIN public/assets/sessions-d6c03004c3644316b353c7381326118a.js.gz
  84. +0 −1 public/assets/sessions.css
  85. BIN public/assets/sessions.css.gz
  86. +0 −1 public/assets/sessions.js
  87. BIN public/assets/sessions.js.gz
  88. +0 −8 public/assets/underscore.min-225efbcec73dc547e368958dfe23bda4.js
  89. BIN public/assets/underscore.min-225efbcec73dc547e368958dfe23bda4.js.gz
  90. +0 −8 public/assets/underscore.min.js
  91. BIN public/assets/underscore.min.js.gz
  92. +0 −4 public/assets/zepto.min-638522b4bc32354b032dfd1ac06fae5a.js
  93. BIN public/assets/zepto.min-638522b4bc32354b032dfd1ac06fae5a.js.gz
  94. +0 −4 public/assets/zepto.min.js
  95. BIN public/assets/zepto.min.js.gz
View
5 public/assets/application-5fd52112727518dbb9c411acd363ba81.js
@@ -1,5 +0,0 @@
-// Zepto.js
-// (c) 2010, 2011 Thomas Fuchs
-// Zepto.js may be freely distributed under the MIT license.
-(function(a){String.prototype.trim===a&&(String.prototype.trim=function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")}),Array.prototype.reduce===a&&(Array.prototype.reduce=function(b){if(this===void 0||this===null)throw new TypeError;var c=Object(this),d=c.length>>>0,e=0,f;if(typeof b!="function")throw new TypeError;if(d==0&&arguments.length==1)throw new TypeError;if(arguments.length>=2)f=arguments[1];else do{if(e in c){f=c[e++];break}if(++e>=d)throw new TypeError}while(!0);while(e<d)e in c&&(f=b.call(a,f,c[e],e,c)),e++;return f})})();var Zepto=function(){function a(a){return{}.toString.call(a)=="[object Function]"}function b(a){return a instanceof Object}function c(a){return a instanceof Array}function d(a){return typeof a.length=="number"}function e(a){return a.filter(function(a){return a!==t&&a!==null})}function f(a){return a.length>0?[].concat.apply([],a):a}function g(a){return a.replace(/-+(.)?/g,function(a,b){return b?b.toUpperCase():""})}function h(a){return a.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function i(a){return a.filter(function(a,b,c){return c.indexOf(a)==b})}function j(a){return a in B?B[a]:B[a]=new RegExp("(^|\\s)"+a+"(\\s|$)")}function k(a,b){return typeof b=="number"&&!D[h(a)]?b+"px":b}function l(a){var b,c;return A[a]||(b=z.createElement(a),z.body.appendChild(b),c=C(b,"").getPropertyValue("display"),b.parentNode.removeChild(b),c=="none"&&(c="block"),A[a]=c),A[a]}function m(a,b){b===t&&E.test(a)&&RegExp.$1,b in J||(b="*");var c=J[b];return c.innerHTML=""+a,y.call(c.childNodes)}function n(a,b){return a=a||x,a.__proto__=n.prototype,a.selector=b||"",a}function o(b,d){if(!b)return n();if(d!==t)return o(d).find(b);if(a(b))return o(z).ready(b);if(b instanceof n)return b;var f;return c(b)?f=e(b):F.indexOf(b.nodeType)>=0||b===window?(f=[b],b=null):E.test(b)?(f=m(b.trim(),RegExp.$1),b=null):b.nodeType&&b.nodeType==3?f=[b]:f=v(z,b),n(f,b)}function p(a,b){return b===t?o(a):o(a).filter(b)}function q(b,c,d,e){return a(c)?c.call(b,d,e):c}function r(a,b,c){var d=a%2?b:b.parentNode;d&&d.insertBefore(c,a?a==1?d.firstChild:a==2?b:null:b.nextSibling)}function s(a,b){b(a);for(var c in a.childNodes)s(a.childNodes[c],b)}var t,u,v,w,x=[],y=x.slice,z=window.document,A={},B={},C=z.defaultView.getComputedStyle,D={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},E=/^\s*<(\w+)[^>]*>/,F=[1,9,11],G=["after","prepend","before","append"],H=z.createElement("table"),I=z.createElement("tr"),J={tr:z.createElement("tbody"),tbody:H,thead:H,tfoot:H,td:I,th:I,"*":z.createElement("div")},K=/complete|loaded|interactive/,L=/^\.([\w-]+)$/,M=/^#([\w-]+)$/,N=/^[\w-]+$/;return o.extend=function(a){return y.call(arguments,1).forEach(function(b){for(u in b)a[u]=b[u]}),a},o.qsa=v=function(a,b){var c;return a===z&&M.test(b)?(c=a.getElementById(RegExp.$1))?[c]:x:y.call(L.test(b)?a.getElementsByClassName(RegExp.$1):N.test(b)?a.getElementsByTagName(b):a.querySelectorAll(b))},o.isFunction=a,o.isObject=b,o.isArray=c,o.map=function(a,b){var c,e=[],g,h;if(d(a))for(g=0;g<a.length;g++)c=b(a[g],g),c!=null&&e.push(c);else for(h in a)c=b(a[h],h),c!=null&&e.push(c);return f(e)},o.each=function(a,b){var c,e;if(d(a)){for(c=0;c<a.length;c++)if(b(c,a[c])===!1)return a}else for(e in a)if(b(e,a[e])===!1)return a;return a},o.fn={forEach:x.forEach,reduce:x.reduce,push:x.push,indexOf:x.indexOf,concat:x.concat,map:function(a){return o.map(this,function(b,c){return a.call(b,c,b)})},slice:function(){return o(y.apply(this,arguments))},ready:function(a){return K.test(z.readyState)?a(o):z.addEventListener("DOMContentLoaded",function(){a(o)},!1),this},get:function(a){return a===t?this:this[a]},size:function(){return this.length},remove:function(){return this.each(function(){this.parentNode!=null&&this.parentNode.removeChild(this)})},each:function(a){return this.forEach(function(b,c){a.call(b,c,b)}),this},filter:function(a){return o([].filter.call(this,function(b){return b.parentNode&&v(b.parentNode,a).indexOf(b)>=0}))},end:function(){return this.prevObject||o()},andSelf:function(){return this.add(this.prevObject||o())},add:function(a,b){return o(i(this.concat(o(a,b))))},is:function(a){return this.length>0&&o(this[0]).filter(a).length>0},not:function(b){var c=[];if(a(b)&&b.call!==t)this.each(function(a){b.call(this,a)||c.push(this)});else{var e=typeof b=="string"?this.filter(b):d(b)&&a(b.item)?y.call(b):o(b);this.forEach(function(a){e.indexOf(a)<0&&c.push(a)})}return o(c)},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){var a=this[0];return a&&!b(a)?a:o(a)},last:function(){var a=this[this.length-1];return a&&!b(a)?a:o(a)},find:function(a){var b;return this.length==1?b=v(this[0],a):b=this.map(function(){return v(this,a)}),o(b)},closest:function(a,b){var c=this[0],d=v(b||z,a);d.length||(c=null);while(c&&d.indexOf(c)<0)c=c!==b&&c!==z&&c.parentNode;return o(c)},parents:function(a){var b=[],c=this;while(c.length>0)c=o.map(c,function(a){if((a=a.parentNode)&&a!==z&&b.indexOf(a)<0)return b.push(a),a});return p(b,a)},parent:function(a){return p(i(this.pluck("parentNode")),a)},children:function(a){return p(this.map(function(){return y.call(this.children)}),a)},siblings:function(a){return p(this.map(function(a,b){return y.call(b.parentNode.children).filter(function(a){return a!==b})}),a)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(a){return this.map(function(){return this[a]})},show:function(){return this.each(function(){this.style.display=="none"&&(this.style.display=null),C(this,"").getPropertyValue("display")=="none"&&(this.style.display=l(this.nodeName))})},replaceWith:function(a){return this.each(function(){o(this).before(a).remove()})},wrap:function(a){return this.each(function(){o(this).wrapAll(o(a)[0].cloneNode(!1))})},wrapAll:function(a){return this[0]&&(o(this[0]).before(a=o(a)),a.append(this)),this},unwrap:function(){return this.parent().each(function(){o(this).replaceWith(o(this).children())}),this},hide:function(){return this.css("display","none")},toggle:function(a){return(a===t?this.css("display")=="none":a)?this.show():this.hide()},prev:function(){return o(this.pluck("previousElementSibling"))},next:function(){return o(this.pluck("nextElementSibling"))},html:function(a){return a===t?this.length>0?this[0].innerHTML:null:this.each(function(b){var c=this.innerHTML;o(this).empty().append(q(this,a,b,c))})},text:function(a){return a===t?this.length>0?this[0].textContent:null:this.each(function(){this.textContent=a})},attr:function(a,c){var d;return typeof a=="string"&&c===t?this.length==0?t:a=="value"&&this[0].nodeName=="INPUT"?this.val():!(d=this[0].getAttribute(a))&&a in this[0]?this[0][a]:d:this.each(function(d){if(b(a))for(u in a)this.setAttribute(u,a[u]);else this.setAttribute(a,q(this,c,d,this.getAttribute(a)))})},removeAttr:function(a){return this.each(function(){this.removeAttribute(a)})},data:function(a,b){return this.attr("data-"+a,b)},val:function(a){return a===t?this.length>0?this[0].value:null:this.each(function(b){this.value=q(this,a,b,this.value)})},offset:function(){if(this.length==0)return null;var a=this[0].getBoundingClientRect();return{left:a.left+window.pageXOffset,top:a.top+window.pageYOffset,width:a.width,height:a.height}},css:function(a,b){if(b===t&&typeof a=="string")return this.length==0?t:this[0].style[g(a)]||C(this[0],"").getPropertyValue(a);var c="";for(u in a)c+=h(u)+":"+k(u,a[u])+";";return typeof a=="string"&&(c=h(a)+":"+k(a,b)),this.each(function(){this.style.cssText+=";"+c})},index:function(a){return a?this.indexOf(o(a)[0]):this.parent().children().indexOf(this[0])},hasClass:function(a){return this.length<1?!1:j(a).test(this[0].className)},addClass:function(a){return this.each(function(b){w=[];var c=this.className,d=q(this,a,b,c);d.split(/\s+/g).forEach(function(a){o(this).hasClass(a)||w.push(a)},this),w.length&&(this.className+=(c?" ":"")+w.join(" "))})},removeClass:function(a){return this.each(function(b){if(a===t)return this.className="";w=this.className,q(this,a,b,w).split(/\s+/g).forEach(function(a){w=w.replace(j(a)," ")}),this.className=w.trim()})},toggleClass:function(a,b){return this.each(function(c){var d=q(this,a,c,this.className);(b===t?!o(this).hasClass(d):b)?o(this).addClass(d):o(this).removeClass(d)})}},"filter,add,not,eq,first,last,find,closest,parents,parent,children,siblings".split(",").forEach(function(a){var b=o.fn[a];o.fn[a]=function(){var a=b.apply(this,arguments);return a.prevObject=this,a}}),["width","height"].forEach(function(a){o.fn[a]=function(b){var c,d=a.replace(/./,function(a){return a[0].toUpperCase()});return b===t?this[0]==window?window["inner"+d]:this[0]==z?z.documentElement["offset"+d]:(c=this.offset())&&c[a]:this.each(function(c){var d=o(this);d.css(a,q(this,b,c,d[a]()))})}}),G.forEach(function(a,c){o.fn[a]=function(a){var d=b(a)?a:m(a);if(!("length"in d)||d.nodeType)d=[d];if(d.length<1)return this;var e=this.length,f=e>1,g=c<2;return this.each(function(a,b){for(var h=0;h<d.length;h++){var i=d[g?d.length-h-1:h];s(i,function(a){a.nodeName!=null&&a.nodeName.toUpperCase()==="SCRIPT"&&(!a.type||a.type==="text/javascript")&&window.eval.call(window,a.innerHTML)}),f&&a<e-1&&(i=i.cloneNode(!0)),r(c,b,i)}})};var d=c%2?a+"To":"insert"+(c?"Before":"After");o.fn[d]=function(b){return o(b)[a](this),this}}),n.prototype=o.fn,o}();window.Zepto=Zepto,"$"in window||(window.$=Zepto),function(a){function b(a){return a._zid||(a._zid=m++)}function c(a,c,f,g){c=d(c);if(c.ns)var h=e(c.ns);return(l[b(a)]||[]).filter(function(a){return a&&(!c.e||a.e==c.e)&&(!c.ns||h.test(a.ns))&&(!f||a.fn==f)&&(!g||a.sel==g)})}function d(a){var b=(""+a).split(".");return{e:b[0],ns:b.slice(1).sort().join(" ")}}function e(a){return new RegExp("(?:^| )"+a.replace(" "," .* ?")+"(?: |$)")}function f(b,c,d){a.isObject(b)?a.each(b,d):b.split(/\s/).forEach(function(a){d(a,c)})}function g(c,e,g,h,i){var j=b(c),k=l[j]||(l[j]=[]);f(e,g,function(b,e){var f=i&&i(e,b),g=f||e,j=function(a){var b=g.apply(c,[a].concat(a.data));return b===!1&&a.preventDefault(),b},l=a.extend(d(b),{fn:e,proxy:j,sel:h,del:f,i:k.length});k.push(l),c.addEventListener(l.e,j,!1)})}function h(a,d,e,g){var h=b(a);f(d||"",e,function(b,d){c(a,b,d,g).forEach(function(b){delete l[h][b.i],a.removeEventListener(b.e,b.proxy,!1)})})}function i(b){var c=a.extend({originalEvent:b},b);return a.each(q,function(a,d){c[a]=function(){return this[d]=o,b[a].apply(b,arguments)},c[d]=p}),c}function j(a){if(!("defaultPrevented"in a)){a.defaultPrevented=!1;var b=a.preventDefault;a.preventDefault=function(){this.defaultPrevented=!0,b.call(this)}}}var k=a.qsa,l={},m=1,n={};n.click=n.mousedown=n.mouseup=n.mousemove="MouseEvents",a.event={add:g,remove:h},a.fn.bind=function(a,b){return this.each(function(){g(this,a,b)})},a.fn.unbind=function(a,b){return this.each(function(){h(this,a,b)})},a.fn.one=function(a,b){return this.each(function(c,d){g(this,a,b,null,function(a,b){return function(){var c=a.apply(d,arguments);return h(d,b,a),c}})})};var o=function(){return!0},p=function(){return!1},q={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};a.fn.delegate=function(b,c,d){return this.each(function(e,f){g(f,c,d,b,function(c){return function(d){var e,g=a(d.target).closest(b,f).get(0);if(g)return e=a.extend(i(d),{currentTarget:g,liveFired:f}),c.apply(g,[e].concat([].slice.call(arguments,1)))}})})},a.fn.undelegate=function(a,b,c){return this.each(function(){h(this,b,c,a)})},a.fn.live=function(b,c){return a(document.body).delegate(this.selector,b,c),this},a.fn.die=function(b,c){return a(document.body).undelegate(this.selector,b,c),this},a.fn.on=function(b,c,d){return c===undefined||a.isFunction(c)?this.bind(b,c):this.delegate(c,b,d)},a.fn.off=function(b,c,d){return c===undefined||a.isFunction(c)?this.unbind(b,c):this.undelegate(c,b,d)},a.fn.trigger=function(b,c){return typeof b=="string"&&(b=a.Event(b)),j(b),b.data=c,this.each(function(){this.dispatchEvent(b)})},a.fn.triggerHandler=function(b,d){var e,f;return this.each(function(g,h){e=i(typeof b=="string"?a.Event(b):b),e.data=d,e.target=h,a.each(c(h,b.type||b),function(a,b){f=b.proxy(e);if(e.isImmediatePropagationStopped())return!1})}),f},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout change select keydown keypress keyup error".split(" ").forEach(function(b){a.fn[b]=function(a){return this.bind(b,a)}}),["focus","blur"].forEach(function(b){a.fn[b]=function(a){if(a)this.bind(b,a);else if(this.length)try{this.get(0)[b]()}catch(c){}return this}}),a.Event=function(a,b){var c=document.createEvent(n[a]||"Events"),d=!0;if(b)for(var e in b)e=="bubbles"?d=!!b[e]:c[e]=b[e];return c.initEvent(a,d,!0,null,null,null,null,null,null,null,null,null,null,null,null),c}}(Zepto),function(a){function b(a){var b=this.os={},c=this.browser={},d=a.match(/WebKit\/([\d.]+)/),e=a.match(/(Android)\s+([\d.]+)/),f=a.match(/(iPad).*OS\s([\d_]+)/),g=!f&&a.match(/(iPhone\sOS)\s([\d_]+)/),h=a.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),i=h&&a.match(/TouchPad/),j=a.match(/(BlackBerry).*Version\/([\d.]+)/);d&&(c.version=d[1]),c.webkit=!!d,e&&(b.android=!0,b.version=e[2]),g&&(b.ios=!0,b.version=g[2].replace(/_/g,"."),b.iphone=!0),f&&(b.ios=!0,b.version=f[2].replace(/_/g,"."),b.ipad=!0),h&&(b.webos=!0,b.version=h[2]),i&&(b.touchpad=!0),j&&(b.blackberry=!0,b.version=j[2])}b.call(a,navigator.userAgent),a.__detect=b}(Zepto),function(a,b){function c(a){return a.toLowerCase()}function d(a){return f?f+a:c(a)}var e="",f,g,h,i={Webkit:"webkit",Moz:"",O:"o",ms:"MS"},j=window.document,k=j.createElement("div"),l=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;a.each(i,function(a,d){if(k.style[a+"TransitionProperty"]!==b)return e="-"+c(a)+"-",f=d,!1}),a.fx={off:f===b&&k.style.transitionProperty===b,cssPrefix:e,transitionEnd:d("TransitionEnd"),animationEnd:d("AnimationEnd")},a.fn.animate=function(b,c,d,e){return a.isObject(c)&&(d=c.easing,e=c.complete,c=c.duration),c&&(c/=1e3),this.anim(b,c,d,e)},a.fn.anim=function(c,d,f,g){var h,i={},j,k=this,m,n=a.fx.transitionEnd;d===b&&(d=.4),a.fx.off&&(d=0);if(typeof c=="string")i[e+"animation-name"]=c,i[e+"animation-duration"]=d+"s",n=a.fx.animationEnd;else{for(j in c)l.test(j)?(h||(h=[]),h.push(j+"("+c[j]+")")):i[j]=c[j];h&&(i[e+"transform"]=h.join(" ")),a.fx.off||(i[e+"transition"]="all "+d+"s "+(f||""))}return m=function(){var b={};b[e+"transition"]=b[e+"animation-name"]="none",a(this).css(b),g&&g.call(this)},d>0&&this.one(n,m),setTimeout(function(){k.css(i),d<=0&&setTimeout(function(){k.each(function(){m.call(this)})},0)},0),this},k=null}(Zepto),function(a){function b(b,c,d){var e=a.Event(c);return a(b).trigger(e,d),!e.defaultPrevented}function c(a,c,d,e){if(a.global)return b(c||n,d,e)}function d(b){b.global&&a.active++===0&&c(b,null,"ajaxStart")}function e(b){b.global&&!--a.active&&c(b,null,"ajaxStop")}function f(a,b){var d=b.context;if(b.beforeSend.call(d,a,b)===!1||c(b,d,"ajaxBeforeSend",[a,b])===!1)return!1;c(b,d,"ajaxSend",[a,b])}function g(a,b,d){var e=d.context,f="success";d.success.call(e,a,f,b),c(d,e,"ajaxSuccess",[b,d,a]),i(f,b,d)}function h(a,b,d,e){var f=e.context;e.error.call(f,d,b,a),c(e,f,"ajaxError",[d,e,a]),i(b,d,e)}function i(a,b,d){var f=d.context;d.complete.call(f,b,a),c(d,f,"ajaxComplete",[b,d]),e(d)}function j(){}function k(b,c,d,e){var f=a.isArray(c);a.each(c,function(c,g){e&&(c=d?e:e+"["+(f?"":c)+"]"),!e&&f?b.add(g.name,g.value):(d?a.isArray(g):m(g))?k(b,g,d,c):b.add(c,g)})}var l=0,m=a.isObject,n=window.document,o,p;a.active=0,a.ajaxJSONP=function(b){var c="jsonp"+ ++l,d=n.createElement("script"),e=function(){a(d).remove(),c in window&&(window[c]=j),i(f,b,"abort")},f={abort:e},h;return window[c]=function(e){clearTimeout(h),a(d).remove(),delete window[c],g(e,f,b)},d.src=b.url.replace(/=\?/,"="+c),a("head").append(d),b.timeout>0&&(h=setTimeout(function(){f.abort(),i(f,b,"timeout")},b.timeout)),f},a.ajaxSettings={type:"GET",beforeSend:j,success:j,error:j,complete:j,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript",json:"application/json",xml:"application/xml, text/xml",html:"text/html",text:"text/plain"},crossDomain:!1,timeout:0},a.ajax=function(b){var c=a.extend({},b||{});for(o in a.ajaxSettings)c[o]===undefined&&(c[o]=a.ajaxSettings[o]);d(c),c.crossDomain||(c.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(c.url)&&RegExp.$2!=window.location.host);if(/=\?/.test(c.url))return a.ajaxJSONP(c);c.url||(c.url=window.location.toString()),c.data&&!c.contentType&&(c.contentType="application/x-www-form-urlencoded"),m(c.data)&&(c.data=a.param(c.data));if(c.type.match(/get/i)&&c.data){var e=c.data;c.url.match(/\?.*=/)?e="&"+e:e[0]!="?"&&(e="?"+e),c.url+=e}var i=c.accepts[c.dataType],k={},l=/^([\w-]+:)\/\//.test(c.url)?RegExp.$1:window.location.protocol,n=a.ajaxSettings.xhr(),q;c.crossDomain||(k["X-Requested-With"]="XMLHttpRequest"),i&&(k.Accept=i),c.headers=a.extend(k,c.headers||{}),n.onreadystatechange=function(){if(n.readyState==4){clearTimeout(q);var a,b=!1;if(n.status>=200&&n.status<300||n.status==0&&l=="file:"){if(i=="application/json"&&!/^\s*$/.test(n.responseText))try{a=JSON.parse(n.responseText)}catch(d){b=d}else a=n.responseText;b?h(b,"parsererror",n,c):g(a,n,c)}else h(null,"error",n,c)}},n.open(c.type,c.url,!0),c.contentType&&(c.headers["Content-Type"]=c.contentType);for(p in c.headers)n.setRequestHeader(p,c.headers[p]);return f(n,c)===!1?(n.abort(),!1):(c.timeout>0&&(q=setTimeout(function(){n.onreadystatechange=j,n.abort(),h(null,"timeout",n,c)},c.timeout)),n.send(c.data),n)},a.get=function(b,c){return a.ajax({url:b,success:c})},a.post=function(b,c,d,e){return a.isFunction(c)&&(e=e||d,d=c,c=null),a.ajax({type:"POST",url:b,data:c,success:d,dataType:e})},a.getJSON=function(b,c){return a.ajax({url:b,success:c,dataType:"json"})},a.fn.load=function(b,c){if(!this.length)return this;var d=this,e=b.split(/\s/),f;return e.length>1&&(b=e[0],f=e[1]),a.get(b,function(b){d.html(f?a(n.createElement("div")).html(b).find(f).html():b),c&&c.call(d)}),this};var q=encodeURIComponent;a.param=function(a,b){var c=[];return c.add=function(a,b){this.push(q(a)+"="+q(b))},k(c,a,b),c.join("&").replace("%20","+")}}(Zepto),function(a){a.fn.serializeArray=function(){var b=[],c;return a(Array.prototype.slice.call(this.get(0).elements)).each(function(){c=a(this);var d=c.attr("type");!this.disabled&&d!="submit"&&d!="reset"&&d!="button"&&(d!="radio"&&d!="checkbox"||this.checked)&&b.push({name:c.attr("name"),value:c.val()})}),b},a.fn.serialize=function(){var a=[];return this.serializeArray().forEach(function(b){a.push(encodeURIComponent(b.name)+"="+encodeURIComponent(b.value))}),a.join("&")},a.fn.submit=function(b){if(b)this.bind("submit",b);else if(this.length){var c=a.Event("submit");this.eq(0).trigger(c),c.defaultPrevented||this.get(0).submit()}return this}}(Zepto),function(a){function b(a){return"tagName"in a?a:a.parentNode}function c(a,b,c,d){var e=Math.abs(a-b),f=Math.abs(c-d);return e>=f?a-b>0?"Left":"Right":c-d>0?"Up":"Down"}function d(){e.last&&Date.now()-e.last>=g&&(a(e.target).trigger("longTap"),e={})}var e={},f,g=750;a(document).ready(function(){a(document.body).bind("touchstart",function(a){var c=Date.now(),h=c-(e.last||c);e.target=b(a.touches[0].target),f&&clearTimeout(f),e.x1=a.touches[0].pageX,e.y1=a.touches[0].pageY,h>0&&h<=250&&(e.isDoubleTap=!0),e.last=c,setTimeout(d,g)}).bind("touchmove",function(a){e.x2=a.touches[0].pageX,e.y2=a.touches[0].pageY}).bind("touchend",function(b){e.isDoubleTap?(a(e.target).trigger("doubleTap"),e={}):e.x2>0||e.y2>0?((Math.abs(e.x1-e.x2)>30||Math.abs(e.y1-e.y2)>30)&&a(e.target).trigger("swipe")&&a(e.target).trigger("swipe"+c(e.x1,e.x2,e.y1,e.y2)),e.x1=e.x2=e.y1=e.y2=e.last=0):"last"in e&&(f=setTimeout(function(){f=null,a(e.target).trigger("tap"),e={}},250))}).bind("touchcancel",function(){e={}})}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","longTap"].forEach(function(b){a.fn[b]=function(a){return this.bind(b,a)}})}(Zepto),$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}}),$(document).bind("ajaxBeforeSend",function(a,b,c){if(!c.dataType)return b.setRequestHeader("Accept","*/*;q=0.5, "+c.accepts.script)}),$(document).delegate("a[data-confirm]","click",function(a){var b;if(b=$(this).attr("data-confirm"))if(!confirm(b))return a.stopImmediatePropagation(),!1}),$(document).bind("ajaxBeforeSend",function(a,b,c){var d;if(c.crossDomain)return;if(c.type==="GET")return;if(d=$('meta[name="csrf-token"]').attr("content"))return b.setRequestHeader("X-CSRF-Token",d)}),$(document).delegate("form","submit",function(a){var b,c,d,e;b=$(this);if(b.is("form[data-remote]"))return;if(b.attr("method").toUpperCase()==="GET")return;d=$('meta[name="csrf-param"]').attr("content"),e=$('meta[name="csrf-token"]').attr("content"),d!=null&&e!=null&&(b.find("input[name="+d+"]")[0]||(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",e),b.prepend(c)))}),$(document).delegate("form","submit",function(){var a,b,c,d,e,f,g,h,i;h=$(this).find("input[type=submit][data-disable-with]");for(d=0,f=h.length;d<f;d++)b=h[d],b=$(b),b.attr("data-enable-with",b.val()||"Submit"),(c=b.attr("data-disable-with"))&&b.val(c),b[0].disabled=!0;i=$(this).find("button[type=submit][data-disable-with]");for(e=0,g=i.length;e<g;e++)a=i[e],a=$(a),a.attr("data-enable-with",a.html()||""),(c=a.attr("data-disable-with"))&&a.html(c),a[0].disabled=!0}),$(document).delegate("form","ajaxComplete",function(){var a,b,c,d,e,f,g,h;g=$(this).find("input[type=submit][data-enable-with]");for(c=0,e=g.length;c<e;c++)b=g[c],$(b).val($(b).attr("data-enable-with")),b.disabled=!1;h=$(this).find("button[type=submit][data-enable-with]");for(d=0,f=h.length;d<f;d++)a=h[d],$(a).html($(a).attr("data-enable-with")),a.disabled=!1}),$(document).delegate("a[data-method]","click",function(a){var b,c,d,e;b=$(this);if(b.is("a[data-remote]"))return;e=b.attr("data-method").toLowerCase();if(e==="get")return;return c=document.createElement("form"),c.method="POST",c.action=b.attr("href"),c.style.display="none",e!=="post"&&(d=document.createElement("input"),d.setAttribute("type","hidden"),d.setAttribute("name","_method"),d.setAttribute("value",e),c.appendChild(d)),document.body.appendChild(c),$(c).submit(),a.preventDefault(),!1}),$(document).delegate("a[data-remote]","click",function(a){var b,c,d,e,f;c=$(this),d={},d.context=this;if(e=c.attr("data-method"))d.type=e;if(f=c.attr("href"))d.url=f;if(b=c.attr("data-type"))d.dataType=b;return $.ajax(d),a.preventDefault(),!1}),$(document).delegate("form[data-remote]","submit",function(a){var b,c,d,e,f,g;d=$(this),e={},e.context=this;if(f=d.attr("method"))e.type=f;if(g=d.attr("action"))e.url=g;if(b=d.serializeArray())e.data=b;if(c=d.attr("data-type"))e.dataType=c;return $.ajax(e),a.preventDefault(),!1}),function(){var a;a="form[data-remote] input[type=submit],\nform[data-remote] button[type=submit],\nform[data-remote] button:not([type])",$(document).delegate(a,"click",function(){var a,b,c,d,e,f;e=$(this),b=e.closest("form"),c=b.find(".js-submit-button-value"),(d=e.attr("name"))?(a=e.is("input[type=submit]")?"Submit":"",f=e.val()||a,c[0]?(c.attr("name",d),c.attr("value",f)):(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",f),c.setAttribute("class","js-submit-button-value"),b.prepend(c))):c.remove()})}.call(this),function(){function a(b,c,d){if(b===c)return b!==0||1/b==1/c;if(b==null||c==null)return b===c;b._chain&&(b=b._wrapped),c._chain&&(c=c._wrapped);if(b.isEqual&&w.isFunction(b.isEqual))return b.isEqual(c);if(c.isEqual&&w.isFunction(c.isEqual))return c.isEqual(b);var e=j.call(b);if(e!=j.call(c))return!1;switch(e){case"[object String]":return b==String(c);case"[object Number]":return b!=+b?c!=+c:b==0?1/b==1/c:b==+c;case"[object Date]":case"[object Boolean]":return+b==+c;case"[object RegExp]":return b.source==c.source&&b.global==c.global&&b.multiline==c.multiline&&b.ignoreCase==c.ignoreCase}if(typeof b!="object"||typeof c!="object")return!1;for(var f=d.length;f--;)if(d[f]==b)return!0;d.push(b);var f=0,g=!0;if(e=="[object Array]"){if(f=b.length,g=f==c.length)for(;f--;)if(!(g=f in b==f in c&&a(b[f],c[f],d)))break}else{if("constructor"in b!="constructor"in c||b.constructor!=c.constructor)return!1;for(var h in b)if(k.call(b,h)&&(f++,!(g=k.call(c,h)&&a(b[h],c[h],d))))break;if(g){for(h in c)if(k.call(c,h)&&!(f--))break;g=!f}}return d.pop(),g}var b=this,c=b._,d={},e=Array.prototype,f=Object.prototype,g=e.slice,h=e.concat,i=e.unshift,j=f.toString,k=f.hasOwnProperty,l=e.forEach,m=e.map,n=e.reduce,o=e.reduceRight,p=e.filter,q=e.every,r=e.some,s=e.indexOf,t=e.lastIndexOf,f=Array.isArray,u=Object.keys,v=Function.prototype.bind,w=function(a){return new B(a)};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=w),exports._=w):typeof define=="function"&&define.amd?define("underscore",function(){return w}):b._=w,w.VERSION="1.2.3";var x=w.each=w.forEach=function(a,b,c){if(a!=null)if(l&&a.forEach===l)a.forEach(b,c);else if(a.length===+a.length){for(var e=0,f=a.length;e<f;e++)if(e in a&&b.call(c,a[e],e,a)===d)break}else for(e in a)if(k.call(a,e)&&b.call(c,a[e],e,a)===d)break};w.map=function(a,b,c){var d=[];return a==null?d:m&&a.map===m?a.map(b,c):(x(a,function(a,e,f){d[d.length]=b.call(c,a,e,f)}),d)},w.reduce=w.foldl=w.inject=function(a,b,c,d){var e=arguments.length>2;a==null&&(a=[]);if(n&&a.reduce===n)return d&&(b=w.bind(b,d)),e?a.reduce(b,c):a.reduce(b);x(a,function(a,f,g){e?c=b.call(d,c,a,f,g):(c=a,e=!0)});if(!e)throw new TypeError("Reduce of empty array with no initial value");return c},w.reduceRight=w.foldr=function(a,b,c,d){var e=arguments.length>2;a==null&&(a=[]);if(o&&a.reduceRight===o)return d&&(b=w.bind(b,d)),e?a.reduceRight(b,c):a.reduceRight(b);var f=w.toArray(a).reverse();return d&&!e&&(b=w.bind(b,d)),e?w.reduce(f,b,c,d):w.reduce(f,b)},w.find=w.detect=function(a,b,c){var d;return y(a,function(a,e,f){if(b.call(c,a,e,f))return d=a,!0}),d},w.filter=w.select=function(a,b,c){var d=[];return a==null?d:p&&a.filter===p?a.filter(b,c):(x(a,function(a,e,f){b.call(c,a,e,f)&&(d[d.length]=a)}),d)},w.reject=function(a,b,c){var d=[];return a==null?d:(x(a,function(a,e,f){b.call(c,a,e,f)||(d[d.length]=a)}),d)},w.every=w.all=function(a,b,c){var e=!0;return a==null?e:q&&a.every===q?a.every(b,c):(x(a,function(a,f,g){if(!(e=e&&b.call(c,a,f,g)))return d}),e)};var y=w.some=w.any=function(a,b,c){b||(b=w.identity);var e=!1;return a==null?e:r&&a.some===r?a.some(b,c):(x(a,function(a,f,g){if(e||(e=b.call(c,a,f,g)))return d}),!!e)};w.include=w.contains=function(a,b){var c=!1;return a==null?c:s&&a.indexOf===s?a.indexOf(b)!=-1:c=y(a,function(a){return a===b})},w.invoke=function(a,b){var c=g.call(arguments,2);return w.map(a,function(a){return(b.call?b||a:a[b]).apply(a,c)})},w.pluck=function(a,b){return w.map(a,function(a){return a[b]})},w.max=function(a,b,c){if(!b&&w.isArray(a))return Math.max.apply(Math,a);if(!b&&w.isEmpty(a))return-Infinity;var d={computed:-Infinity};return x(a,function(a,e,f){e=b?b.call(c,a,e,f):a,e>=d.computed&&(d={value:a,computed:e})}),d.value},w.min=function(a,b,c){if(!b&&w.isArray(a))return Math.min.apply(Math,a);if(!b&&w.isEmpty(a))return Infinity;var d={computed:Infinity};return x(a,function(a,e,f){e=b?b.call(c,a,e,f):a,e<d.computed&&(d={value:a,computed:e})}),d.value},w.shuffle=function(a){var b=[],c;return x(a,function(a,d){d==0?b[0]=a:(c=Math.floor(Math.random()*(d+1)),b[d]=b[c],b[c]=a)}),b},w.sortBy=function(a,b,c){return w.pluck(w.map(a,function(a,d,e){return{value:a,criteria:b.call(c,a,d,e)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")},w.groupBy=function(a,b){var c={},d=w.isFunction(b)?b:function(a){return a[b]};return x(a,function(a,b){var e=d(a,b);(c[e]||(c[e]=[])).push(a)}),c},w.sortedIndex=function(a,b,c){c||(c=w.identity);for(var d=0,e=a.length;d<e;){var f=d+e>>1;c(a[f])<c(b)?d=f+1:e=f}return d},w.toArray=function(a){return a?a.toArray?a.toArray():w.isArray(a)?g.call(a):w.isArguments(a)?g.call(a):w.values(a):[]},w.size=function(a){return w.toArray(a).length},w.first=w.head=function(a,b,c){return b!=null&&!c?g.call(a,0,b):a[0]},w.initial=function(a,b,c){return g.call(a,0,a.length-(b==null||c?1:b))},w.last=function(a,b,c){return b!=null&&!c?g.call(a,Math.max(a.length-b,0)):a[a.length-1]},w.rest=w.tail=function(a,b,c){return g.call(a,b==null||c?1:b)},w.compact=function(a){return w.filter(a,function(a){return!!a})},w.flatten=function(a,b){return w.reduce(a,function(a,c){return w.isArray(c)?a.concat(b?c:w.flatten(c)):(a[a.length]=c,a)},[])},w.without=function(a){return w.difference(a,g.call(arguments,1))},w.uniq=w.unique=function(a,b,c){var c=c?w.map(a,c):a,d=[];return w.reduce(c,function(c,e,f){if(0==f||(b===!0?w.last(c)!=e:!w.include(c,e)))c[c.length]=e,d[d.length]=a[f];return c},[]),d},w.union=function(){return w.uniq(w.flatten(arguments,!0))},w.intersection=w.intersect=function(a){var b=g.call(arguments,1);return w.filter(w.uniq(a),function(a){return w.every(b,function(b){return w.indexOf(b,a)>=0})})},w.difference=function(a){var b=w.flatten(g.call(arguments,1));return w.filter(a,function(a){return!w.include(b,a)})},w.zip=function(){for(var a=g.call(arguments),b=w.max(w.pluck(a,"length")),c=Array(b),d=0;d<b;d++)c[d]=w.pluck(a,""+d);return c},w.indexOf=function(a,b,c){if(a==null)return-1;var d;if(c)return c=w.sortedIndex(a,b),a[c]===b?c:-1;if(s&&a.indexOf===s)return a.indexOf(b);for(c=0,d=a.length;c<d;c++)if(c in a&&a[c]===b)return c;return-1},w.lastIndexOf=function(a,b){if(a==null)return-1;if(t&&a.lastIndexOf===t)return a.lastIndexOf(b);for(var c=a.length;c--;)if(c in a&&a[c]===b)return c;return-1},w.range=function(a,b,c){arguments.length<=1&&(b=a||0,a=0);for(var c=arguments[2]||1,d=Math.max(Math.ceil((b-a)/c),0),e=0,f=Array(d);e<d;)f[e++]=a,a+=c;return f};var z=function(){};w.bind=function(a,b){var c,d;if(a.bind===v&&v)return v.apply(a,g.call(arguments,1));if(!w.isFunction(a))throw new TypeError;return d=g.call(arguments,2),c=function(){if(this instanceof c){z.prototype=a.prototype;var e=new z,f=a.apply(e,d.concat(g.call(arguments)));return Object(f)===f?f:e}return a.apply(b,d.concat(g.call(arguments)))}},w.bindAll=function(a){var b=g.call(arguments,1);return b.length==0&&(b=w.functions(a)),x(b,function(b){a[b]=w.bind(a[b],a)}),a},w.memoize=function(a,b){var c={};return b||(b=w.identity),function(){var d=b.apply(this,arguments);return k.call(c,d)?c[d]:c[d]=a.apply(this,arguments)}},w.delay=function(a,b){var c=g.call(arguments,2);return setTimeout(function(){return a.apply(a,c)},b)},w.defer=function(a){return w.delay.apply(w,[a,1].concat(g.call(arguments,1)))},w.throttle=function(a,b){var c,d,e,f,g,h=w.debounce(function(){g=f=!1},b);return function(){c=this,d=arguments;var i;e||(e=setTimeout(function(){e=null,g&&a.apply(c,d),h()},b)),f?g=!0:a.apply(c,d),h(),f=!0}},w.debounce=function(a,b){var c;return function(){var d=this,e=arguments;clearTimeout(c),c=setTimeout(function(){c=null,a.apply(d,e)},b)}},w.once=function(a){var b=!1,c;return function(){return b?c:(b=!0,c=a.apply(this,arguments))}},w.wrap=function(a,b){return function(){var c=h.apply([a],arguments);return b.apply(this,c)}},w.compose=function(){var a=arguments;return function(){for(var b=arguments,c=a.length-1;c>=0;c--)b=[a[c].apply(this,b)];return b[0]}},w.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}},w.keys=u||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var b=[],c;for(c in a)k.call(a,c)&&(b[b.length]=c);return b},w.values=function(a){return w.map(a,w.identity)},w.functions=w.methods=function(a){var b=[],c;for(c in a)w.isFunction(a[c])&&b.push(c);return b.sort()},w.extend=function(a){return x(g.call(arguments,1),function(b){for(var c in b)b[c]!==void 0&&(a[c]=b[c])}),a},w.defaults=function(a){return x(g.call(arguments,1),function(b){for(var c in b)a[c]==null&&(a[c]=b[c])}),a},w.clone=function(a){return w.isObject(a)?w.isArray(a)?a.slice():w.extend({},a):a},w.tap=function(a,b){return b(a),a},w.isEqual=function(b,c){return a(b,c,[])},w.isEmpty=function(a){if(w.isArray(a)||w.isString(a))return a.length===0;for(var b in a)if(k.call(a,b))return!1;return!0},w.isElement=function(a){return!!a&&a.nodeType==1},w.isArray=f||function(a){return j.call(a)=="[object Array]"},w.isObject=function(a){return a===Object
-(a)},w.isArguments=function(a){return j.call(a)=="[object Arguments]"},w.isArguments(arguments)||(w.isArguments=function(a){return!!a&&!!k.call(a,"callee")}),w.isFunction=function(a){return j.call(a)=="[object Function]"},w.isString=function(a){return j.call(a)=="[object String]"},w.isNumber=function(a){return j.call(a)=="[object Number]"},w.isNaN=function(a){return a!==a},w.isBoolean=function(a){return a===!0||a===!1||j.call(a)=="[object Boolean]"},w.isDate=function(a){return j.call(a)=="[object Date]"},w.isRegExp=function(a){return j.call(a)=="[object RegExp]"},w.isNull=function(a){return a===null},w.isUndefined=function(a){return a===void 0},w.noConflict=function(){return b._=c,this},w.identity=function(a){return a},w.times=function(a,b,c){for(var d=0;d<a;d++)b.call(c,d)},w.escape=function(a){return(""+a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")},w.mixin=function(a){x(w.functions(a),function(b){D(b,w[b]=a[b])})};var A=0;w.uniqueId=function(a){var b=A++;return a?a+b:b},w.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},w.template=function(a,b){var c=w.templateSettings,c="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(c.escape,function(a,b){return"',_.escape("+b.replace(/\\'/g,"'")+"),'"}).replace(c.interpolate,function(a,b){return"',"+b.replace(/\\'/g,"'")+",'"}).replace(c.evaluate||null,function(a,b){return"');"+b.replace(/\\'/g,"'").replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",d=new Function("obj","_",c);return b?d(b,w):function(a){return d.call(this,a,w)}};var B=function(a){this._wrapped=a};w.prototype=B.prototype;var C=function(a,b){return b?w(a).chain():a},D=function(a,b){B.prototype[a]=function(){var a=g.call(arguments);return i.call(a,this._wrapped),C(b.apply(w,a),this._chain)}};w.mixin(w),x("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=e[a];B.prototype[a]=function(){return b.apply(this._wrapped,arguments),C(this._wrapped,this._chain)}}),x(["concat","join","slice"],function(a){var b=e[a];B.prototype[a]=function(){return C(b.apply(this._wrapped,arguments),this._chain)}}),B.prototype.chain=function(){return this._chain=!0,this},B.prototype.value=function(){return this._wrapped}}.call(this),function(){var a=this,b=a.Backbone,c;c=typeof exports!="undefined"?exports:a.Backbone={},c.VERSION="0.5.3";var d=a._;!d&&typeof require!="undefined"&&(d=require("underscore")._);var e=a.jQuery||a.Zepto;c.noConflict=function(){return a.Backbone=b,this},c.emulateHTTP=!1,c.emulateJSON=!1,c.Events={bind:function(a,b,c){var d=this._callbacks||(this._callbacks={});return(d[a]||(d[a]=[])).push([b,c]),this},unbind:function(a,b){var c;if(a){if(c=this._callbacks)if(b){c=c[a];if(!c)return this;for(var d=0,e=c.length;d<e;d++)if(c[d]&&b===c[d][0]){c[d]=null;break}}else c[a]=[]}else this._callbacks={};return this},trigger:function(a){var b,c,d,e,f=2;if(!(c=this._callbacks))return this;for(;f--;)if(b=f?a:"all",b=c[b])for(var g=0,h=b.length;g<h;g++)(d=b[g])?(e=f?Array.prototype.slice.call(arguments,1):arguments,d[0].apply(d[1]||this,e)):(b.splice(g,1),g--,h--);return this}},c.Model=function(a,b){var c;a||(a={});if(c=this.defaults)d.isFunction(c)&&(c=c.call(this)),a=d.extend({},c,a);this.attributes={},this._escapedAttributes={},this.cid=d.uniqueId("c"),this.set(a,{silent:!0}),this._changed=!1,this._previousAttributes=d.clone(this.attributes),b&&b.collection&&(this.collection=b.collection),this.initialize(a,b)},d.extend(c.Model.prototype,c.Events,{_previousAttributes:null,_changed:!1,idAttribute:"id",initialize:function(){},toJSON:function(){return d.clone(this.attributes)},get:function(a){return this.attributes[a]},escape:function(a){var b;return(b=this._escapedAttributes[a])?b:(b=this.attributes[a],this._escapedAttributes[a]=(b==null?"":""+b).replace(/&(?!\w+;|#\d+;|#x[\da-f]+;)/gi,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;"))},has:function(a){return this.attributes[a]!=null},set:function(a,b){b||(b={});if(!a)return this;a.attributes&&(a=a.attributes);var c=this.attributes,e=this._escapedAttributes;if(!b.silent&&this.validate&&!this._performValidation(a,b))return!1;this.idAttribute in a&&(this.id=a[this.idAttribute]);var f=this._changing;this._changing=!0;for(var g in a){var h=a[g];d.isEqual(c[g],h)||(c[g]=h,delete e[g],this._changed=!0,b.silent||this.trigger("change:"+g,this,h,b))}return!f&&!b.silent&&this._changed&&this.change(b),this._changing=!1,this},unset:function(a,b){if(a in this.attributes){b||(b={});var c={};return c[a]=void 0,!b.silent&&this.validate&&!this._performValidation(c,b)?!1:(delete this.attributes[a],delete this._escapedAttributes[a],a==this.idAttribute&&delete this.id,this._changed=!0,b.silent||(this.trigger("change:"+a,this,void 0,b),this.change(b)),this)}return this},clear:function(a){a||(a={});var b,c=this.attributes,d={};for(b in c)d[b]=void 0;if(!a.silent&&this.validate&&!this._performValidation(d,a))return!1;this.attributes={},this._escapedAttributes={},this._changed=!0;if(!a.silent){for(b in c)this.trigger("change:"+b,this,void 0,a);this.change(a)}return this},fetch:function(a){a||(a={});var b=this,d=a.success;return a.success=function(c,e,f){if(!b.set(b.parse(c,f),a))return!1;d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"read",this,a)},save:function(a,b){b||(b={});if(a&&!this.set(a,b))return!1;var d=this,e=b.success;b.success=function(a,c,f){if(!d.set(d.parse(a,f),b))return!1;e&&e(d,a,f)},b.error=s(b.error,d,b);var f=this.isNew()?"create":"update";return(this.sync||c.sync).call(this,f,this,b)},destroy:function(a){a||(a={});if(this.isNew())return this.trigger("destroy",this,this.collection,a);var b=this,d=a.success;return a.success=function(c){b.trigger("destroy",b,b.collection,a),d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"delete",this,a)},url:function(){var a=q(this.collection)||this.urlRoot||r();return this.isNew()?a:a+(a.charAt(a.length-1)=="/"?"":"/")+encodeURIComponent(this.id)},parse:function(a){return a},clone:function(){return new this.constructor(this)},isNew:function(){return this.id==null},change:function(a){this.trigger("change",this,a),this._previousAttributes=d.clone(this.attributes),this._changed=!1},hasChanged:function(a){return a?this._previousAttributes[a]!=this.attributes[a]:this._changed},changedAttributes:function(a){a||(a=this.attributes);var b=this._previousAttributes,c=!1,e;for(e in a)d.isEqual(b[e],a[e])||(c=c||{},c[e]=a[e]);return c},previous:function(a){return!a||!this._previousAttributes?null:this._previousAttributes[a]},previousAttributes:function(){return d.clone(this._previousAttributes)},_performValidation:function(a,b){var c=this.validate(a);return c?(b.error?b.error(this,c,b):this.trigger("error",this,c,b),!1):!0}}),c.Collection=function(a,b){b||(b={}),b.comparator&&(this.comparator=b.comparator),d.bindAll(this,"_onModelEvent","_removeReference"),this._reset(),a&&this.reset(a,{silent:!0}),this.initialize.apply(this,arguments)},d.extend(c.Collection.prototype,c.Events,{model:c.Model,initialize:function(){},toJSON:function(){return this.map(function(a){return a.toJSON()})},add:function(a,b){if(d.isArray(a))for(var c=0,e=a.length;c<e;c++)this._add(a[c],b);else this._add(a,b);return this},remove:function(a,b){if(d.isArray(a))for(var c=0,e=a.length;c<e;c++)this._remove(a[c],b);else this._remove(a,b);return this},get:function(a){return a==null?null:this._byId[a.id!=null?a.id:a]},getByCid:function(a){return a&&this._byCid[a.cid||a]},at:function(a){return this.models[a]},sort:function(a){a||(a={});if(!this.comparator)throw Error("Cannot sort a set without a comparator");return this.models=this.sortBy(this.comparator),a.silent||this.trigger("reset",this,a),this},pluck:function(a){return d.map(this.models,function(b){return b.get(a)})},reset:function(a,b){return a||(a=[]),b||(b={}),this.each(this._removeReference),this._reset(),this.add(a,{silent:!0}),b.silent||this.trigger("reset",this,b),this},fetch:function(a){a||(a={});var b=this,d=a.success;return a.success=function(c,e,f){b[a.add?"add":"reset"](b.parse(c,f),a),d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"read",this,a)},create:function(a,b){var c=this;b||(b={}),a=this._prepareModel(a,b);if(!a)return!1;var d=b.success;return b.success=function(a,e,f){c.add(a,b),d&&d(a,e,f)},a.save(null,b),a},parse:function(a){return a},chain:function(){return d(this.models).chain()},_reset:function(){this.length=0,this.models=[],this._byId={},this._byCid={}},_prepareModel:function(a,b){if(a instanceof c.Model)a.collection||(a.collection=this);else{var d=a;a=new this.model(d,{collection:this}),a.validate&&!a._performValidation(d,b)&&(a=!1)}return a},_add:function(a,b){b||(b={}),a=this._prepareModel(a,b);if(!a)return!1;var c=this.getByCid(a);if(c)throw Error(["Can't add the same model to a set twice",c.id]);return this._byId[a.id]=a,this._byCid[a.cid]=a,this.models.splice(b.at!=null?b.at:this.comparator?this.sortedIndex(a,this.comparator):this.length,0,a),a.bind("all",this._onModelEvent),this.length++,b.silent||a.trigger("add",a,this,b),a},_remove:function(a,b){return b||(b={}),a=this.getByCid(a)||this.get(a),a?(delete this._byId[a.id],delete this._byCid[a.cid],this.models.splice(this.indexOf(a),1),this.length--,b.silent||a.trigger("remove",a,this,b),this._removeReference(a),a):null},_removeReference:function(a){this==a.collection&&delete a.collection,a.unbind("all",this._onModelEvent)},_onModelEvent:function(a,b,c,d){(a=="add"||a=="remove")&&c!=this||(a=="destroy"&&this._remove(b,d),b&&a==="change:"+b.idAttribute&&(delete this._byId[b.previous(b.idAttribute)],this._byId[b.id]=b),this.trigger.apply(this,arguments))}}),d.each(["forEach","each","map","reduce","reduceRight","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","sortBy","sortedIndex","toArray","size","first","rest","last","without","indexOf","lastIndexOf","isEmpty","groupBy"],function(a){c.Collection.prototype[a]=function(){return d[a].apply(d,[this.models].concat(d.toArray(arguments)))}}),c.Router=function(a){a||(a={}),a.routes&&(this.routes=a.routes),this._bindRoutes(),this.initialize.apply(this,arguments)};var f=/:([\w\d]+)/g,g=/\*([\w\d]+)/g,h=/[-[\]{}()+?.,\\^$|#\s]/g;d.extend(c.Router.prototype,c.Events,{initialize:function(){},route:function(a,b,e){c.history||(c.history=new c.History),d.isRegExp(a)||(a=this._routeToRegExp(a)),c.history.route(a,d.bind(function(c){c=this._extractParameters(a,c),e.apply(this,c),this.trigger.apply(this,["route:"+b].concat(c))},this))},navigate:function(a,b){c.history.navigate(a,b)},_bindRoutes:function(){if(this.routes){var a=[],b;for(b in this.routes)a.unshift([b,this.routes[b]]);b=0;for(var c=a.length;b<c;b++)this.route(a[b][0],a[b][1],this[a[b][1]])}},_routeToRegExp:function(a){return a=a.replace(h,"\\$&").replace(f,"([^/]*)").replace(g,"(.*?)"),RegExp("^"+a+"$")},_extractParameters:function(a,b){return a.exec(b).slice(1)}}),c.History=function(){this.handlers=[],d.bindAll(this,"checkUrl")};var i=/^#*/,j=/msie [\w.]+/,k=!1;d.extend(c.History.prototype,{interval:50,getFragment:function(a,b){if(a==null)if(this._hasPushState||b){a=window.location.pathname;var c=window.location.search;c&&(a+=c),a.indexOf(this.options.root)==0&&(a=a.substr(this.options.root.length))}else a=window.location.hash;return decodeURIComponent(a.replace(i,""))},start:function(a){if(k)throw Error("Backbone.history has already been started");this.options=d.extend({},{root:"/"},this.options,a),this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.options.pushState||!window.history||!window.history.pushState),a=this.getFragment();var b=document.documentMode;if(b=j.exec(navigator.userAgent.toLowerCase())&&(!b||b<=7))this.iframe=e('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow,this.navigate(a);this._hasPushState?e(window).bind("popstate",this.checkUrl):"onhashchange"in window&&!b?e(window).bind("hashchange",this.checkUrl):setInterval(this.checkUrl,this.interval),this.fragment=a,k=!0,a=window.location,b=a.pathname==this.options.root;if(this._wantsPushState&&!this._hasPushState&&!b)return this.fragment=this.getFragment(null,!0),window.location.replace(this.options.root+"#"+this.fragment),!0;this._wantsPushState&&this._hasPushState&&b&&a.hash&&(this.fragment=a.hash.replace(i,""),window.history.replaceState({},document.title,a.protocol+"//"+a.host+this.options.root+this.fragment));if(!this.options.silent)return this.loadUrl()},route:function(a,b){this.handlers.unshift({route:a,callback:b})},checkUrl:function(){var a=this.getFragment();a==this.fragment&&this.iframe&&(a=this.getFragment(this.iframe.location.hash));if(a==this.fragment||a==decodeURIComponent(this.fragment))return!1;this.iframe&&this.navigate(a),this.loadUrl()||this.loadUrl(window.location.hash)},loadUrl:function(a){var b=this.fragment=this.getFragment(a);return d.any(this.handlers,function(a){if(a.route.test(b))return a.callback(b),!0})},navigate:function(a,b){var c=(a||"").replace(i,"");if(this.fragment!=c&&this.fragment!=decodeURIComponent(c)){if(this._hasPushState){var d=window.location;c.indexOf(this.options.root)!=0&&(c=this.options.root+c),this.fragment=c,window.history.pushState({},document.title,d.protocol+"//"+d.host+c)}else if(window.location.hash=this.fragment=c,this.iframe&&c!=this.getFragment(this.iframe.location.hash))this.iframe.document.open().close(),this.iframe.location.hash=c;b&&this.loadUrl(a)}}}),c.View=function(a){this.cid=d.uniqueId("view"),this._configure(a||{}),this._ensureElement(),this.delegateEvents(),this.initialize.apply(this,arguments)};var l=/^(\S+)\s*(.*)$/,m=["model","collection","el","id","attributes","className","tagName"];d.extend(c.View.prototype,c.Events,{tagName:"div",$:function(a){return e(a,this.el)},initialize:function(){},render:function(){return this},remove:function(){return e(this.el).remove(),this},make:function(a,b,c){return a=document.createElement(a),b&&e(a).attr(b),c&&e(a).html(c),a},delegateEvents:function(a){if(a||(a=this.events))for(var b in d.isFunction(a)&&(a=a.call(this)),e(this.el).unbind(".delegateEvents"+this.cid),a){var c=this[a[b]];if(!c)throw Error('Event "'+a[b]+'" does not exist');var f=b.match(l),g=f[1];f=f[2],c=d.bind(c,this),g+=".delegateEvents"+this.cid,f===""?e(this.el).bind(g,c):e(this.el).delegate(f,g,c)}},_configure:function(a){this.options&&(a=d.extend({},this.options,a));for(var b=0,c=m.length;b<c;b++){var e=m[b];a[e]&&(this[e]=a[e])}this.options=a},_ensureElement:function(){if(this.el)d.isString(this.el)&&(this.el=e(this.el).get(0));else{var a=this.attributes||{};this.id&&(a.id=this.id),this.className&&(a["class"]=this.className),this.el=this.make(this.tagName,a)}}}),c.Model.extend=c.Collection.extend=c.Router.extend=c.View.extend=function(a,b){var c=p(this,a,b);return c.extend=this.extend,c};var n={create:"POST",update:"PUT","delete":"DELETE",read:"GET"};c.sync=function(a,b,f){var g=n[a];return f=d.extend({type:g,dataType:"json"},f),f.url||(f.url=q(b)||r()),!f.data&&b&&(a=="create"||a=="update")&&(f.contentType="application/json",f.data=JSON.stringify(b.toJSON())),c.emulateJSON&&(f.contentType="application/x-www-form-urlencoded",f.data=f.data?{model:f.data}:{}),c.emulateHTTP&&(g==="PUT"||g==="DELETE")&&(c.emulateJSON&&(f.data._method=g),f.type="POST",f.beforeSend=function(a){a.setRequestHeader("X-HTTP-Method-Override",g)}),f.type!=="GET"&&!c.emulateJSON&&(f.processData=!1),e.ajax(f)};var o=function(){},p=function(a,b,c){var e;return e=b&&b.hasOwnProperty("constructor")?b.constructor:function(){return a.apply(this,arguments)},d.extend(e,a),o.prototype=a.prototype,e.prototype=new o,b&&d.extend(e.prototype,b),c&&d.extend(e,c),e.prototype.constructor=e,e.__super__=a.prototype,e},q=function(a){return!a||!a.url?null:d.isFunction(a.url)?a.url():a.url},r=function(){throw Error('A "url" property or function must be specified')},s=function(a,b,c){return function(d){a?a(b,d,c):b.trigger("error",b,d,c)}}}.call(this),function(){}.call(this),window.Modernizr=function(a,b,c){function d(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+v.join(c+" ")+c).split(" ");return e(d,b)}function e(a,b){for(var d in a)if(q[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function f(a,b){return!!~(""+a).indexOf(b)}function g(a,b){return typeof a===b}function h(a,b){return i(u.join(a+";")+(b||""))}function i(a){q.cssText=a}var j="2.0.6",k={},l=!0,m=b.documentElement,n=b.head||b.getElementsByTagName("head")[0],o="modernizr",p=b.createElement(o),q=p.style,r,s=":)",t=Object.prototype.toString,u=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),v="Webkit Moz O ms Khtml".split(" "),w={},x={},y={},z=[],A=function(a,c,d,e){var f,g,h,i=b.createElement("div");if(parseInt(d,10))while(d--)h=b.createElement("div"),h.id=e?e[d]:o+(d+1),i.appendChild(h);return f=["&shy;","<style>",a,"</style>"].join(""),i.id=o,i.innerHTML+=f,m.appendChild(i),g=c(i,a),i.parentNode.removeChild(i),!!g},B=function(){function a(a,e){e=e||b.createElement(d[a]||"div"),a="on"+a;var f=a in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(a,""),f=g(e[a],"function"),g(e[a],c)||(e[a]=c),e.removeAttribute(a))),e=null,f}var d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return a}(),C,D={}.hasOwnProperty,E;!g(D,c)&&!g(D.call,c)?E=function(a,b){return D.call(a,b)}:E=function(a,b){return b in a&&g(a.constructor.prototype[b],c)};var F=function(c,d){var e=c.join(""),f=d.length;A(e,function(c,d){var e=b.styleSheets[b.styleSheets.length-1],g=e.cssRules&&e.cssRules[0]?e.cssRules[0].cssText:e.cssText||"",h=c.childNodes,i={};while(f--)i[h[f].id]=h[f];k.touch="ontouchstart"in a||i.touch.offsetTop===9,k.generatedcontent=i.generatedcontent.offsetHeight>=1,k.fontface=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0},f,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",u.join("touch-enabled),("),o,")","{#touch{top:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',s,'";visibility:hidden}'].join("")],["fontface","touch","generatedcontent"]);w.flexbox=function(){function a(a,b,c,d){a.style.cssText=u.join(b+":"+c+";")+(d||"")}function c(a,b,c,d){b+=":",a.style.cssText=(b+u.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");c(d,"display","box","width:42px;padding:0;"),a(e,"box-flex","1","width:10px;"),d.appendChild(e),m.appendChild(d);var f=e.offsetWidth===42;return d.removeChild(e),m.removeChild(d),f},w.touch=function(){return k.touch},w.hashchange=function(){return B("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},w.history=function(){return!!a.history&&!!history.pushState},w.rgba=function(){return i("background-color:rgba(150,255,150,.5)"),f(q.backgroundColor,"rgba")},w.multiplebgs=function(){return i("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(q.background)},w.boxshadow=function(){return d("boxShadow")},w.textshadow=function(){return b.createElement("div").style.textShadow===""},w.opacity=function(){return h("opacity:.55"),/^0.55$/.test(q.opacity)},w.cssanimations=function(){return d("animationName")},w.csscolumns=function(){return d("columnCount")},w.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return i((a+u.join(b+a)+u.join(c+a)).slice(0,-a.length)),f(q.backgroundImage,"gradient")},w.csstransitions=function(){return d("transitionProperty")},w.fontface=function(){return k.fontface},w.generatedcontent=function(){return k.generatedcontent},w.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}},w.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}},w.applicationcache=function(){return!!a.applicationCache};for(var G in w)E(w,G)&&(C=G.toLowerCase(),k[C]=w[G](),z.push((k[C]?"":"no-")+C));return i(""),p=r=null,a.attachEvent&&function(){var a=b.createElement("div");return a.innerHTML="<elem></elem>",a.childNodes.length!==1}()&&function(a,b){function d(a){var b=-1;while(++b<h)a.createElement(g[b])}a.iepp=a.iepp||{};var e=a.iepp,f=e.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",g=f.split("|"),h=g.length,i=new RegExp("(^|\\s)("+f+")","gi"),j=new RegExp("<(/*)("+f+")","gi"),k=/^\s*[\{\}]\s*$/,l=new RegExp("(^|[^\\n]*?\\s)("+f+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),m=b.createDocumentFragment(),n=b.documentElement,o=n.firstChild,p=b.createElement("body"),q=b.createElement("style"),r=/print|all/,s;e.getCSS=function(a,b){if(a+""===c)return"";var d=-1,f=a.length,g,h=[];while(++d<f){g=a[d];if(g.disabled)continue;b=g.media||b,r.test(b)&&h.push(e.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},e.parseCSS=function(a){var b=[],c;while((c=l.exec(a))!=null)b.push(((k.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(i,"$1.iepp_$2")+c[4]);return b.join("\n")},e.writeHTML=function(){var a=-1;s=s||b.body;while(++a<h){var c=b.getElementsByTagName(g[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+g[a])}m.appendChild(s),n.appendChild(p),p.className=s.className,p.id=s.id,p.innerHTML=s.innerHTML.replace(j,"<$1font")},e._beforePrint=function(){q.styleSheet.cssText=e.parseCSS(e.getCSS(b.styleSheets,"all")),e.writeHTML()},e.restoreHTML=function(){p.innerHTML="",n.removeChild(p),n.appendChild(s)},e._afterPrint=function(){e.restoreHTML(),q.styleSheet.cssText=""},d(b),d(m),e.disablePP||(o.insertBefore(q,o.firstChild),q.media="print",q.className="iepp-printshim",a.attachEvent("onbeforeprint",e._beforePrint),a.attachEvent("onafterprint",e._afterPrint))}(a,b),k._version=j,k._prefixes=u,k._domPrefixes=v,k.hasEvent=B,k.testProp=function(a){return e([a])},k.testAllProps=d,k.testStyles=A,m.className=m.className.replace(/\bno-js\b/,"")+(l?" js "+z.join(" "):""),k}(this,this.document),function(a,b,c){function d(a){return!a||a=="loaded"||a=="complete"}function e(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&h()}function f(a){var c=b.createElement("script"),f;c.src=a.s,c.onreadystatechange=c.onload=function(){!f&&d(c.readyState)&&(f=1,e(),c.onload=c.onreadystatechange=null)},m(function(){f||(f=1,e())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function g(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e&&(w||r)){var f=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,e()):f(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){e()},0)):f(a)}},0)};f(c)}else c.onload=function(){d||(d=1,m(function(){e()},0))},a.e&&c.onload();m(function(){d||(d=1,e())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function h(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?g(a):f(a)},0):(a(),e()):q=0}function i(a,c,f,g,i,j){function k(){!o&&d(l.readyState)&&(r.r=o=1,!q&&e(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:f,s:c,e:j};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=f),l.onload=l.onreadystatechange=k,a=="img"?l.onerror=k:a=="script"&&(l.onerror=function(){r.e=r.r=1,h()}),p.splice(g,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,e())},H.errorTimeout)}function j(a,b,c){var d=b=="c"?z:y;return q=0,b=b||"j",C(a)?i(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&h()),this}function k(){var a=H;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function b(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function d(a,d,e,f,g){var h=b(a),i=h.autoCallback;if(!h.bypass){d&&(d=D(d)?d:d[a]||d[f]||d[a.split("/").pop().split("?")[0]]);if(h.instead)return h.instead(a,d,e,f,g);e.load(h.url,h.forceCSS||!h.forceJS&&/css$/.test(h.url)?"c":c,h.noexec),(D(d)||D(i))&&e.load(function(){k(),d&&d(h.origUrl,g,f),i&&i(h.origUrl,g,f)})}}function e(a,b){function c(a){if(C(a))d(a,h,b,0,e);else if(B(a))for(i in a)a.hasOwnProperty(i)&&d(a[i],h,b,i,e)}var e=!!a.test,f=e?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var f,g,h=this.yepnope.loader;if(C(a))d(a,0,h,0);else if(A(a))for(f=0;f<a.length;f++)g=a[f],C(g)?d(g,0,h,0):A(g)?H(g):B(g)&&e(g,h);else B(a)&&e(a,h)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=k()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(){}.call(this),function(){}.call(this)
View
BIN public/assets/application-5fd52112727518dbb9c411acd363ba81.js.gz
Binary file not shown.
View
1 public/assets/application-60ff844acbe7295deb5ae54f06bf8bd9.css
@@ -1 +0,0 @@
-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}body{font-family:"Open Sans",Helvetica,Arial,sans-serif;text-shadow:#aaa 0px 0px 1px}body .clear{clear:both;float:none}body section.main{-moz-box-shadow:0px 0px 5px #333;-webkit-box-shadow:0px 0px 5px #333;-o-box-shadow:0px 0px 5px #333;box-shadow:0px 0px 5px #333;width:1000px;margin:10px auto 0;-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}body section.main header{padding:10px}body section.main header > *{display:inline-block}body section.main header .right{display:inline;float:right}body section.main .content{padding:10px}body section.main footer{font-size:14px;text-align:right;padding:5px 10px}
View
BIN public/assets/application-60ff844acbe7295deb5ae54f06bf8bd9.css.gz
Binary file not shown.
View
1 public/assets/application.css
@@ -1 +0,0 @@
-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}body{font-family:"Open Sans",Helvetica,Arial,sans-serif;text-shadow:#aaa 0px 0px 1px}body .clear{clear:both;float:none}body section.main{-moz-box-shadow:0px 0px 5px #333;-webkit-box-shadow:0px 0px 5px #333;-o-box-shadow:0px 0px 5px #333;box-shadow:0px 0px 5px #333;width:1000px;margin:10px auto 0;-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}body section.main header{padding:10px}body section.main header > *{display:inline-block}body section.main header .right{display:inline;float:right}body section.main .content{padding:10px}body section.main footer{font-size:14px;text-align:right;padding:5px 10px}
View
BIN public/assets/application.css.gz
Binary file not shown.
View
5 public/assets/application.js
@@ -1,5 +0,0 @@
-// Zepto.js
-// (c) 2010, 2011 Thomas Fuchs
-// Zepto.js may be freely distributed under the MIT license.
-(function(a){String.prototype.trim===a&&(String.prototype.trim=function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")}),Array.prototype.reduce===a&&(Array.prototype.reduce=function(b){if(this===void 0||this===null)throw new TypeError;var c=Object(this),d=c.length>>>0,e=0,f;if(typeof b!="function")throw new TypeError;if(d==0&&arguments.length==1)throw new TypeError;if(arguments.length>=2)f=arguments[1];else do{if(e in c){f=c[e++];break}if(++e>=d)throw new TypeError}while(!0);while(e<d)e in c&&(f=b.call(a,f,c[e],e,c)),e++;return f})})();var Zepto=function(){function a(a){return{}.toString.call(a)=="[object Function]"}function b(a){return a instanceof Object}function c(a){return a instanceof Array}function d(a){return typeof a.length=="number"}function e(a){return a.filter(function(a){return a!==t&&a!==null})}function f(a){return a.length>0?[].concat.apply([],a):a}function g(a){return a.replace(/-+(.)?/g,function(a,b){return b?b.toUpperCase():""})}function h(a){return a.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function i(a){return a.filter(function(a,b,c){return c.indexOf(a)==b})}function j(a){return a in B?B[a]:B[a]=new RegExp("(^|\\s)"+a+"(\\s|$)")}function k(a,b){return typeof b=="number"&&!D[h(a)]?b+"px":b}function l(a){var b,c;return A[a]||(b=z.createElement(a),z.body.appendChild(b),c=C(b,"").getPropertyValue("display"),b.parentNode.removeChild(b),c=="none"&&(c="block"),A[a]=c),A[a]}function m(a,b){b===t&&E.test(a)&&RegExp.$1,b in J||(b="*");var c=J[b];return c.innerHTML=""+a,y.call(c.childNodes)}function n(a,b){return a=a||x,a.__proto__=n.prototype,a.selector=b||"",a}function o(b,d){if(!b)return n();if(d!==t)return o(d).find(b);if(a(b))return o(z).ready(b);if(b instanceof n)return b;var f;return c(b)?f=e(b):F.indexOf(b.nodeType)>=0||b===window?(f=[b],b=null):E.test(b)?(f=m(b.trim(),RegExp.$1),b=null):b.nodeType&&b.nodeType==3?f=[b]:f=v(z,b),n(f,b)}function p(a,b){return b===t?o(a):o(a).filter(b)}function q(b,c,d,e){return a(c)?c.call(b,d,e):c}function r(a,b,c){var d=a%2?b:b.parentNode;d&&d.insertBefore(c,a?a==1?d.firstChild:a==2?b:null:b.nextSibling)}function s(a,b){b(a);for(var c in a.childNodes)s(a.childNodes[c],b)}var t,u,v,w,x=[],y=x.slice,z=window.document,A={},B={},C=z.defaultView.getComputedStyle,D={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},E=/^\s*<(\w+)[^>]*>/,F=[1,9,11],G=["after","prepend","before","append"],H=z.createElement("table"),I=z.createElement("tr"),J={tr:z.createElement("tbody"),tbody:H,thead:H,tfoot:H,td:I,th:I,"*":z.createElement("div")},K=/complete|loaded|interactive/,L=/^\.([\w-]+)$/,M=/^#([\w-]+)$/,N=/^[\w-]+$/;return o.extend=function(a){return y.call(arguments,1).forEach(function(b){for(u in b)a[u]=b[u]}),a},o.qsa=v=function(a,b){var c;return a===z&&M.test(b)?(c=a.getElementById(RegExp.$1))?[c]:x:y.call(L.test(b)?a.getElementsByClassName(RegExp.$1):N.test(b)?a.getElementsByTagName(b):a.querySelectorAll(b))},o.isFunction=a,o.isObject=b,o.isArray=c,o.map=function(a,b){var c,e=[],g,h;if(d(a))for(g=0;g<a.length;g++)c=b(a[g],g),c!=null&&e.push(c);else for(h in a)c=b(a[h],h),c!=null&&e.push(c);return f(e)},o.each=function(a,b){var c,e;if(d(a)){for(c=0;c<a.length;c++)if(b(c,a[c])===!1)return a}else for(e in a)if(b(e,a[e])===!1)return a;return a},o.fn={forEach:x.forEach,reduce:x.reduce,push:x.push,indexOf:x.indexOf,concat:x.concat,map:function(a){return o.map(this,function(b,c){return a.call(b,c,b)})},slice:function(){return o(y.apply(this,arguments))},ready:function(a){return K.test(z.readyState)?a(o):z.addEventListener("DOMContentLoaded",function(){a(o)},!1),this},get:function(a){return a===t?this:this[a]},size:function(){return this.length},remove:function(){return this.each(function(){this.parentNode!=null&&this.parentNode.removeChild(this)})},each:function(a){return this.forEach(function(b,c){a.call(b,c,b)}),this},filter:function(a){return o([].filter.call(this,function(b){return b.parentNode&&v(b.parentNode,a).indexOf(b)>=0}))},end:function(){return this.prevObject||o()},andSelf:function(){return this.add(this.prevObject||o())},add:function(a,b){return o(i(this.concat(o(a,b))))},is:function(a){return this.length>0&&o(this[0]).filter(a).length>0},not:function(b){var c=[];if(a(b)&&b.call!==t)this.each(function(a){b.call(this,a)||c.push(this)});else{var e=typeof b=="string"?this.filter(b):d(b)&&a(b.item)?y.call(b):o(b);this.forEach(function(a){e.indexOf(a)<0&&c.push(a)})}return o(c)},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){var a=this[0];return a&&!b(a)?a:o(a)},last:function(){var a=this[this.length-1];return a&&!b(a)?a:o(a)},find:function(a){var b;return this.length==1?b=v(this[0],a):b=this.map(function(){return v(this,a)}),o(b)},closest:function(a,b){var c=this[0],d=v(b||z,a);d.length||(c=null);while(c&&d.indexOf(c)<0)c=c!==b&&c!==z&&c.parentNode;return o(c)},parents:function(a){var b=[],c=this;while(c.length>0)c=o.map(c,function(a){if((a=a.parentNode)&&a!==z&&b.indexOf(a)<0)return b.push(a),a});return p(b,a)},parent:function(a){return p(i(this.pluck("parentNode")),a)},children:function(a){return p(this.map(function(){return y.call(this.children)}),a)},siblings:function(a){return p(this.map(function(a,b){return y.call(b.parentNode.children).filter(function(a){return a!==b})}),a)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(a){return this.map(function(){return this[a]})},show:function(){return this.each(function(){this.style.display=="none"&&(this.style.display=null),C(this,"").getPropertyValue("display")=="none"&&(this.style.display=l(this.nodeName))})},replaceWith:function(a){return this.each(function(){o(this).before(a).remove()})},wrap:function(a){return this.each(function(){o(this).wrapAll(o(a)[0].cloneNode(!1))})},wrapAll:function(a){return this[0]&&(o(this[0]).before(a=o(a)),a.append(this)),this},unwrap:function(){return this.parent().each(function(){o(this).replaceWith(o(this).children())}),this},hide:function(){return this.css("display","none")},toggle:function(a){return(a===t?this.css("display")=="none":a)?this.show():this.hide()},prev:function(){return o(this.pluck("previousElementSibling"))},next:function(){return o(this.pluck("nextElementSibling"))},html:function(a){return a===t?this.length>0?this[0].innerHTML:null:this.each(function(b){var c=this.innerHTML;o(this).empty().append(q(this,a,b,c))})},text:function(a){return a===t?this.length>0?this[0].textContent:null:this.each(function(){this.textContent=a})},attr:function(a,c){var d;return typeof a=="string"&&c===t?this.length==0?t:a=="value"&&this[0].nodeName=="INPUT"?this.val():!(d=this[0].getAttribute(a))&&a in this[0]?this[0][a]:d:this.each(function(d){if(b(a))for(u in a)this.setAttribute(u,a[u]);else this.setAttribute(a,q(this,c,d,this.getAttribute(a)))})},removeAttr:function(a){return this.each(function(){this.removeAttribute(a)})},data:function(a,b){return this.attr("data-"+a,b)},val:function(a){return a===t?this.length>0?this[0].value:null:this.each(function(b){this.value=q(this,a,b,this.value)})},offset:function(){if(this.length==0)return null;var a=this[0].getBoundingClientRect();return{left:a.left+window.pageXOffset,top:a.top+window.pageYOffset,width:a.width,height:a.height}},css:function(a,b){if(b===t&&typeof a=="string")return this.length==0?t:this[0].style[g(a)]||C(this[0],"").getPropertyValue(a);var c="";for(u in a)c+=h(u)+":"+k(u,a[u])+";";return typeof a=="string"&&(c=h(a)+":"+k(a,b)),this.each(function(){this.style.cssText+=";"+c})},index:function(a){return a?this.indexOf(o(a)[0]):this.parent().children().indexOf(this[0])},hasClass:function(a){return this.length<1?!1:j(a).test(this[0].className)},addClass:function(a){return this.each(function(b){w=[];var c=this.className,d=q(this,a,b,c);d.split(/\s+/g).forEach(function(a){o(this).hasClass(a)||w.push(a)},this),w.length&&(this.className+=(c?" ":"")+w.join(" "))})},removeClass:function(a){return this.each(function(b){if(a===t)return this.className="";w=this.className,q(this,a,b,w).split(/\s+/g).forEach(function(a){w=w.replace(j(a)," ")}),this.className=w.trim()})},toggleClass:function(a,b){return this.each(function(c){var d=q(this,a,c,this.className);(b===t?!o(this).hasClass(d):b)?o(this).addClass(d):o(this).removeClass(d)})}},"filter,add,not,eq,first,last,find,closest,parents,parent,children,siblings".split(",").forEach(function(a){var b=o.fn[a];o.fn[a]=function(){var a=b.apply(this,arguments);return a.prevObject=this,a}}),["width","height"].forEach(function(a){o.fn[a]=function(b){var c,d=a.replace(/./,function(a){return a[0].toUpperCase()});return b===t?this[0]==window?window["inner"+d]:this[0]==z?z.documentElement["offset"+d]:(c=this.offset())&&c[a]:this.each(function(c){var d=o(this);d.css(a,q(this,b,c,d[a]()))})}}),G.forEach(function(a,c){o.fn[a]=function(a){var d=b(a)?a:m(a);if(!("length"in d)||d.nodeType)d=[d];if(d.length<1)return this;var e=this.length,f=e>1,g=c<2;return this.each(function(a,b){for(var h=0;h<d.length;h++){var i=d[g?d.length-h-1:h];s(i,function(a){a.nodeName!=null&&a.nodeName.toUpperCase()==="SCRIPT"&&(!a.type||a.type==="text/javascript")&&window.eval.call(window,a.innerHTML)}),f&&a<e-1&&(i=i.cloneNode(!0)),r(c,b,i)}})};var d=c%2?a+"To":"insert"+(c?"Before":"After");o.fn[d]=function(b){return o(b)[a](this),this}}),n.prototype=o.fn,o}();window.Zepto=Zepto,"$"in window||(window.$=Zepto),function(a){function b(a){return a._zid||(a._zid=m++)}function c(a,c,f,g){c=d(c);if(c.ns)var h=e(c.ns);return(l[b(a)]||[]).filter(function(a){return a&&(!c.e||a.e==c.e)&&(!c.ns||h.test(a.ns))&&(!f||a.fn==f)&&(!g||a.sel==g)})}function d(a){var b=(""+a).split(".");return{e:b[0],ns:b.slice(1).sort().join(" ")}}function e(a){return new RegExp("(?:^| )"+a.replace(" "," .* ?")+"(?: |$)")}function f(b,c,d){a.isObject(b)?a.each(b,d):b.split(/\s/).forEach(function(a){d(a,c)})}function g(c,e,g,h,i){var j=b(c),k=l[j]||(l[j]=[]);f(e,g,function(b,e){var f=i&&i(e,b),g=f||e,j=function(a){var b=g.apply(c,[a].concat(a.data));return b===!1&&a.preventDefault(),b},l=a.extend(d(b),{fn:e,proxy:j,sel:h,del:f,i:k.length});k.push(l),c.addEventListener(l.e,j,!1)})}function h(a,d,e,g){var h=b(a);f(d||"",e,function(b,d){c(a,b,d,g).forEach(function(b){delete l[h][b.i],a.removeEventListener(b.e,b.proxy,!1)})})}function i(b){var c=a.extend({originalEvent:b},b);return a.each(q,function(a,d){c[a]=function(){return this[d]=o,b[a].apply(b,arguments)},c[d]=p}),c}function j(a){if(!("defaultPrevented"in a)){a.defaultPrevented=!1;var b=a.preventDefault;a.preventDefault=function(){this.defaultPrevented=!0,b.call(this)}}}var k=a.qsa,l={},m=1,n={};n.click=n.mousedown=n.mouseup=n.mousemove="MouseEvents",a.event={add:g,remove:h},a.fn.bind=function(a,b){return this.each(function(){g(this,a,b)})},a.fn.unbind=function(a,b){return this.each(function(){h(this,a,b)})},a.fn.one=function(a,b){return this.each(function(c,d){g(this,a,b,null,function(a,b){return function(){var c=a.apply(d,arguments);return h(d,b,a),c}})})};var o=function(){return!0},p=function(){return!1},q={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};a.fn.delegate=function(b,c,d){return this.each(function(e,f){g(f,c,d,b,function(c){return function(d){var e,g=a(d.target).closest(b,f).get(0);if(g)return e=a.extend(i(d),{currentTarget:g,liveFired:f}),c.apply(g,[e].concat([].slice.call(arguments,1)))}})})},a.fn.undelegate=function(a,b,c){return this.each(function(){h(this,b,c,a)})},a.fn.live=function(b,c){return a(document.body).delegate(this.selector,b,c),this},a.fn.die=function(b,c){return a(document.body).undelegate(this.selector,b,c),this},a.fn.on=function(b,c,d){return c===undefined||a.isFunction(c)?this.bind(b,c):this.delegate(c,b,d)},a.fn.off=function(b,c,d){return c===undefined||a.isFunction(c)?this.unbind(b,c):this.undelegate(c,b,d)},a.fn.trigger=function(b,c){return typeof b=="string"&&(b=a.Event(b)),j(b),b.data=c,this.each(function(){this.dispatchEvent(b)})},a.fn.triggerHandler=function(b,d){var e,f;return this.each(function(g,h){e=i(typeof b=="string"?a.Event(b):b),e.data=d,e.target=h,a.each(c(h,b.type||b),function(a,b){f=b.proxy(e);if(e.isImmediatePropagationStopped())return!1})}),f},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout change select keydown keypress keyup error".split(" ").forEach(function(b){a.fn[b]=function(a){return this.bind(b,a)}}),["focus","blur"].forEach(function(b){a.fn[b]=function(a){if(a)this.bind(b,a);else if(this.length)try{this.get(0)[b]()}catch(c){}return this}}),a.Event=function(a,b){var c=document.createEvent(n[a]||"Events"),d=!0;if(b)for(var e in b)e=="bubbles"?d=!!b[e]:c[e]=b[e];return c.initEvent(a,d,!0,null,null,null,null,null,null,null,null,null,null,null,null),c}}(Zepto),function(a){function b(a){var b=this.os={},c=this.browser={},d=a.match(/WebKit\/([\d.]+)/),e=a.match(/(Android)\s+([\d.]+)/),f=a.match(/(iPad).*OS\s([\d_]+)/),g=!f&&a.match(/(iPhone\sOS)\s([\d_]+)/),h=a.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),i=h&&a.match(/TouchPad/),j=a.match(/(BlackBerry).*Version\/([\d.]+)/);d&&(c.version=d[1]),c.webkit=!!d,e&&(b.android=!0,b.version=e[2]),g&&(b.ios=!0,b.version=g[2].replace(/_/g,"."),b.iphone=!0),f&&(b.ios=!0,b.version=f[2].replace(/_/g,"."),b.ipad=!0),h&&(b.webos=!0,b.version=h[2]),i&&(b.touchpad=!0),j&&(b.blackberry=!0,b.version=j[2])}b.call(a,navigator.userAgent),a.__detect=b}(Zepto),function(a,b){function c(a){return a.toLowerCase()}function d(a){return f?f+a:c(a)}var e="",f,g,h,i={Webkit:"webkit",Moz:"",O:"o",ms:"MS"},j=window.document,k=j.createElement("div"),l=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;a.each(i,function(a,d){if(k.style[a+"TransitionProperty"]!==b)return e="-"+c(a)+"-",f=d,!1}),a.fx={off:f===b&&k.style.transitionProperty===b,cssPrefix:e,transitionEnd:d("TransitionEnd"),animationEnd:d("AnimationEnd")},a.fn.animate=function(b,c,d,e){return a.isObject(c)&&(d=c.easing,e=c.complete,c=c.duration),c&&(c/=1e3),this.anim(b,c,d,e)},a.fn.anim=function(c,d,f,g){var h,i={},j,k=this,m,n=a.fx.transitionEnd;d===b&&(d=.4),a.fx.off&&(d=0);if(typeof c=="string")i[e+"animation-name"]=c,i[e+"animation-duration"]=d+"s",n=a.fx.animationEnd;else{for(j in c)l.test(j)?(h||(h=[]),h.push(j+"("+c[j]+")")):i[j]=c[j];h&&(i[e+"transform"]=h.join(" ")),a.fx.off||(i[e+"transition"]="all "+d+"s "+(f||""))}return m=function(){var b={};b[e+"transition"]=b[e+"animation-name"]="none",a(this).css(b),g&&g.call(this)},d>0&&this.one(n,m),setTimeout(function(){k.css(i),d<=0&&setTimeout(function(){k.each(function(){m.call(this)})},0)},0),this},k=null}(Zepto),function(a){function b(b,c,d){var e=a.Event(c);return a(b).trigger(e,d),!e.defaultPrevented}function c(a,c,d,e){if(a.global)return b(c||n,d,e)}function d(b){b.global&&a.active++===0&&c(b,null,"ajaxStart")}function e(b){b.global&&!--a.active&&c(b,null,"ajaxStop")}function f(a,b){var d=b.context;if(b.beforeSend.call(d,a,b)===!1||c(b,d,"ajaxBeforeSend",[a,b])===!1)return!1;c(b,d,"ajaxSend",[a,b])}function g(a,b,d){var e=d.context,f="success";d.success.call(e,a,f,b),c(d,e,"ajaxSuccess",[b,d,a]),i(f,b,d)}function h(a,b,d,e){var f=e.context;e.error.call(f,d,b,a),c(e,f,"ajaxError",[d,e,a]),i(b,d,e)}function i(a,b,d){var f=d.context;d.complete.call(f,b,a),c(d,f,"ajaxComplete",[b,d]),e(d)}function j(){}function k(b,c,d,e){var f=a.isArray(c);a.each(c,function(c,g){e&&(c=d?e:e+"["+(f?"":c)+"]"),!e&&f?b.add(g.name,g.value):(d?a.isArray(g):m(g))?k(b,g,d,c):b.add(c,g)})}var l=0,m=a.isObject,n=window.document,o,p;a.active=0,a.ajaxJSONP=function(b){var c="jsonp"+ ++l,d=n.createElement("script"),e=function(){a(d).remove(),c in window&&(window[c]=j),i(f,b,"abort")},f={abort:e},h;return window[c]=function(e){clearTimeout(h),a(d).remove(),delete window[c],g(e,f,b)},d.src=b.url.replace(/=\?/,"="+c),a("head").append(d),b.timeout>0&&(h=setTimeout(function(){f.abort(),i(f,b,"timeout")},b.timeout)),f},a.ajaxSettings={type:"GET",beforeSend:j,success:j,error:j,complete:j,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript",json:"application/json",xml:"application/xml, text/xml",html:"text/html",text:"text/plain"},crossDomain:!1,timeout:0},a.ajax=function(b){var c=a.extend({},b||{});for(o in a.ajaxSettings)c[o]===undefined&&(c[o]=a.ajaxSettings[o]);d(c),c.crossDomain||(c.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(c.url)&&RegExp.$2!=window.location.host);if(/=\?/.test(c.url))return a.ajaxJSONP(c);c.url||(c.url=window.location.toString()),c.data&&!c.contentType&&(c.contentType="application/x-www-form-urlencoded"),m(c.data)&&(c.data=a.param(c.data));if(c.type.match(/get/i)&&c.data){var e=c.data;c.url.match(/\?.*=/)?e="&"+e:e[0]!="?"&&(e="?"+e),c.url+=e}var i=c.accepts[c.dataType],k={},l=/^([\w-]+:)\/\//.test(c.url)?RegExp.$1:window.location.protocol,n=a.ajaxSettings.xhr(),q;c.crossDomain||(k["X-Requested-With"]="XMLHttpRequest"),i&&(k.Accept=i),c.headers=a.extend(k,c.headers||{}),n.onreadystatechange=function(){if(n.readyState==4){clearTimeout(q);var a,b=!1;if(n.status>=200&&n.status<300||n.status==0&&l=="file:"){if(i=="application/json"&&!/^\s*$/.test(n.responseText))try{a=JSON.parse(n.responseText)}catch(d){b=d}else a=n.responseText;b?h(b,"parsererror",n,c):g(a,n,c)}else h(null,"error",n,c)}},n.open(c.type,c.url,!0),c.contentType&&(c.headers["Content-Type"]=c.contentType);for(p in c.headers)n.setRequestHeader(p,c.headers[p]);return f(n,c)===!1?(n.abort(),!1):(c.timeout>0&&(q=setTimeout(function(){n.onreadystatechange=j,n.abort(),h(null,"timeout",n,c)},c.timeout)),n.send(c.data),n)},a.get=function(b,c){return a.ajax({url:b,success:c})},a.post=function(b,c,d,e){return a.isFunction(c)&&(e=e||d,d=c,c=null),a.ajax({type:"POST",url:b,data:c,success:d,dataType:e})},a.getJSON=function(b,c){return a.ajax({url:b,success:c,dataType:"json"})},a.fn.load=function(b,c){if(!this.length)return this;var d=this,e=b.split(/\s/),f;return e.length>1&&(b=e[0],f=e[1]),a.get(b,function(b){d.html(f?a(n.createElement("div")).html(b).find(f).html():b),c&&c.call(d)}),this};var q=encodeURIComponent;a.param=function(a,b){var c=[];return c.add=function(a,b){this.push(q(a)+"="+q(b))},k(c,a,b),c.join("&").replace("%20","+")}}(Zepto),function(a){a.fn.serializeArray=function(){var b=[],c;return a(Array.prototype.slice.call(this.get(0).elements)).each(function(){c=a(this);var d=c.attr("type");!this.disabled&&d!="submit"&&d!="reset"&&d!="button"&&(d!="radio"&&d!="checkbox"||this.checked)&&b.push({name:c.attr("name"),value:c.val()})}),b},a.fn.serialize=function(){var a=[];return this.serializeArray().forEach(function(b){a.push(encodeURIComponent(b.name)+"="+encodeURIComponent(b.value))}),a.join("&")},a.fn.submit=function(b){if(b)this.bind("submit",b);else if(this.length){var c=a.Event("submit");this.eq(0).trigger(c),c.defaultPrevented||this.get(0).submit()}return this}}(Zepto),function(a){function b(a){return"tagName"in a?a:a.parentNode}function c(a,b,c,d){var e=Math.abs(a-b),f=Math.abs(c-d);return e>=f?a-b>0?"Left":"Right":c-d>0?"Up":"Down"}function d(){e.last&&Date.now()-e.last>=g&&(a(e.target).trigger("longTap"),e={})}var e={},f,g=750;a(document).ready(function(){a(document.body).bind("touchstart",function(a){var c=Date.now(),h=c-(e.last||c);e.target=b(a.touches[0].target),f&&clearTimeout(f),e.x1=a.touches[0].pageX,e.y1=a.touches[0].pageY,h>0&&h<=250&&(e.isDoubleTap=!0),e.last=c,setTimeout(d,g)}).bind("touchmove",function(a){e.x2=a.touches[0].pageX,e.y2=a.touches[0].pageY}).bind("touchend",function(b){e.isDoubleTap?(a(e.target).trigger("doubleTap"),e={}):e.x2>0||e.y2>0?((Math.abs(e.x1-e.x2)>30||Math.abs(e.y1-e.y2)>30)&&a(e.target).trigger("swipe")&&a(e.target).trigger("swipe"+c(e.x1,e.x2,e.y1,e.y2)),e.x1=e.x2=e.y1=e.y2=e.last=0):"last"in e&&(f=setTimeout(function(){f=null,a(e.target).trigger("tap"),e={}},250))}).bind("touchcancel",function(){e={}})}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","longTap"].forEach(function(b){a.fn[b]=function(a){return this.bind(b,a)}})}(Zepto),$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}}),$(document).bind("ajaxBeforeSend",function(a,b,c){if(!c.dataType)return b.setRequestHeader("Accept","*/*;q=0.5, "+c.accepts.script)}),$(document).delegate("a[data-confirm]","click",function(a){var b;if(b=$(this).attr("data-confirm"))if(!confirm(b))return a.stopImmediatePropagation(),!1}),$(document).bind("ajaxBeforeSend",function(a,b,c){var d;if(c.crossDomain)return;if(c.type==="GET")return;if(d=$('meta[name="csrf-token"]').attr("content"))return b.setRequestHeader("X-CSRF-Token",d)}),$(document).delegate("form","submit",function(a){var b,c,d,e;b=$(this);if(b.is("form[data-remote]"))return;if(b.attr("method").toUpperCase()==="GET")return;d=$('meta[name="csrf-param"]').attr("content"),e=$('meta[name="csrf-token"]').attr("content"),d!=null&&e!=null&&(b.find("input[name="+d+"]")[0]||(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",e),b.prepend(c)))}),$(document).delegate("form","submit",function(){var a,b,c,d,e,f,g,h,i;h=$(this).find("input[type=submit][data-disable-with]");for(d=0,f=h.length;d<f;d++)b=h[d],b=$(b),b.attr("data-enable-with",b.val()||"Submit"),(c=b.attr("data-disable-with"))&&b.val(c),b[0].disabled=!0;i=$(this).find("button[type=submit][data-disable-with]");for(e=0,g=i.length;e<g;e++)a=i[e],a=$(a),a.attr("data-enable-with",a.html()||""),(c=a.attr("data-disable-with"))&&a.html(c),a[0].disabled=!0}),$(document).delegate("form","ajaxComplete",function(){var a,b,c,d,e,f,g,h;g=$(this).find("input[type=submit][data-enable-with]");for(c=0,e=g.length;c<e;c++)b=g[c],$(b).val($(b).attr("data-enable-with")),b.disabled=!1;h=$(this).find("button[type=submit][data-enable-with]");for(d=0,f=h.length;d<f;d++)a=h[d],$(a).html($(a).attr("data-enable-with")),a.disabled=!1}),$(document).delegate("a[data-method]","click",function(a){var b,c,d,e;b=$(this);if(b.is("a[data-remote]"))return;e=b.attr("data-method").toLowerCase();if(e==="get")return;return c=document.createElement("form"),c.method="POST",c.action=b.attr("href"),c.style.display="none",e!=="post"&&(d=document.createElement("input"),d.setAttribute("type","hidden"),d.setAttribute("name","_method"),d.setAttribute("value",e),c.appendChild(d)),document.body.appendChild(c),$(c).submit(),a.preventDefault(),!1}),$(document).delegate("a[data-remote]","click",function(a){var b,c,d,e,f;c=$(this),d={},d.context=this;if(e=c.attr("data-method"))d.type=e;if(f=c.attr("href"))d.url=f;if(b=c.attr("data-type"))d.dataType=b;return $.ajax(d),a.preventDefault(),!1}),$(document).delegate("form[data-remote]","submit",function(a){var b,c,d,e,f,g;d=$(this),e={},e.context=this;if(f=d.attr("method"))e.type=f;if(g=d.attr("action"))e.url=g;if(b=d.serializeArray())e.data=b;if(c=d.attr("data-type"))e.dataType=c;return $.ajax(e),a.preventDefault(),!1}),function(){var a;a="form[data-remote] input[type=submit],\nform[data-remote] button[type=submit],\nform[data-remote] button:not([type])",$(document).delegate(a,"click",function(){var a,b,c,d,e,f;e=$(this),b=e.closest("form"),c=b.find(".js-submit-button-value"),(d=e.attr("name"))?(a=e.is("input[type=submit]")?"Submit":"",f=e.val()||a,c[0]?(c.attr("name",d),c.attr("value",f)):(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",f),c.setAttribute("class","js-submit-button-value"),b.prepend(c))):c.remove()})}.call(this),function(){function a(b,c,d){if(b===c)return b!==0||1/b==1/c;if(b==null||c==null)return b===c;b._chain&&(b=b._wrapped),c._chain&&(c=c._wrapped);if(b.isEqual&&w.isFunction(b.isEqual))return b.isEqual(c);if(c.isEqual&&w.isFunction(c.isEqual))return c.isEqual(b);var e=j.call(b);if(e!=j.call(c))return!1;switch(e){case"[object String]":return b==String(c);case"[object Number]":return b!=+b?c!=+c:b==0?1/b==1/c:b==+c;case"[object Date]":case"[object Boolean]":return+b==+c;case"[object RegExp]":return b.source==c.source&&b.global==c.global&&b.multiline==c.multiline&&b.ignoreCase==c.ignoreCase}if(typeof b!="object"||typeof c!="object")return!1;for(var f=d.length;f--;)if(d[f]==b)return!0;d.push(b);var f=0,g=!0;if(e=="[object Array]"){if(f=b.length,g=f==c.length)for(;f--;)if(!(g=f in b==f in c&&a(b[f],c[f],d)))break}else{if("constructor"in b!="constructor"in c||b.constructor!=c.constructor)return!1;for(var h in b)if(k.call(b,h)&&(f++,!(g=k.call(c,h)&&a(b[h],c[h],d))))break;if(g){for(h in c)if(k.call(c,h)&&!(f--))break;g=!f}}return d.pop(),g}var b=this,c=b._,d={},e=Array.prototype,f=Object.prototype,g=e.slice,h=e.concat,i=e.unshift,j=f.toString,k=f.hasOwnProperty,l=e.forEach,m=e.map,n=e.reduce,o=e.reduceRight,p=e.filter,q=e.every,r=e.some,s=e.indexOf,t=e.lastIndexOf,f=Array.isArray,u=Object.keys,v=Function.prototype.bind,w=function(a){return new B(a)};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=w),exports._=w):typeof define=="function"&&define.amd?define("underscore",function(){return w}):b._=w,w.VERSION="1.2.3";var x=w.each=w.forEach=function(a,b,c){if(a!=null)if(l&&a.forEach===l)a.forEach(b,c);else if(a.length===+a.length){for(var e=0,f=a.length;e<f;e++)if(e in a&&b.call(c,a[e],e,a)===d)break}else for(e in a)if(k.call(a,e)&&b.call(c,a[e],e,a)===d)break};w.map=function(a,b,c){var d=[];return a==null?d:m&&a.map===m?a.map(b,c):(x(a,function(a,e,f){d[d.length]=b.call(c,a,e,f)}),d)},w.reduce=w.foldl=w.inject=function(a,b,c,d){var e=arguments.length>2;a==null&&(a=[]);if(n&&a.reduce===n)return d&&(b=w.bind(b,d)),e?a.reduce(b,c):a.reduce(b);x(a,function(a,f,g){e?c=b.call(d,c,a,f,g):(c=a,e=!0)});if(!e)throw new TypeError("Reduce of empty array with no initial value");return c},w.reduceRight=w.foldr=function(a,b,c,d){var e=arguments.length>2;a==null&&(a=[]);if(o&&a.reduceRight===o)return d&&(b=w.bind(b,d)),e?a.reduceRight(b,c):a.reduceRight(b);var f=w.toArray(a).reverse();return d&&!e&&(b=w.bind(b,d)),e?w.reduce(f,b,c,d):w.reduce(f,b)},w.find=w.detect=function(a,b,c){var d;return y(a,function(a,e,f){if(b.call(c,a,e,f))return d=a,!0}),d},w.filter=w.select=function(a,b,c){var d=[];return a==null?d:p&&a.filter===p?a.filter(b,c):(x(a,function(a,e,f){b.call(c,a,e,f)&&(d[d.length]=a)}),d)},w.reject=function(a,b,c){var d=[];return a==null?d:(x(a,function(a,e,f){b.call(c,a,e,f)||(d[d.length]=a)}),d)},w.every=w.all=function(a,b,c){var e=!0;return a==null?e:q&&a.every===q?a.every(b,c):(x(a,function(a,f,g){if(!(e=e&&b.call(c,a,f,g)))return d}),e)};var y=w.some=w.any=function(a,b,c){b||(b=w.identity);var e=!1;return a==null?e:r&&a.some===r?a.some(b,c):(x(a,function(a,f,g){if(e||(e=b.call(c,a,f,g)))return d}),!!e)};w.include=w.contains=function(a,b){var c=!1;return a==null?c:s&&a.indexOf===s?a.indexOf(b)!=-1:c=y(a,function(a){return a===b})},w.invoke=function(a,b){var c=g.call(arguments,2);return w.map(a,function(a){return(b.call?b||a:a[b]).apply(a,c)})},w.pluck=function(a,b){return w.map(a,function(a){return a[b]})},w.max=function(a,b,c){if(!b&&w.isArray(a))return Math.max.apply(Math,a);if(!b&&w.isEmpty(a))return-Infinity;var d={computed:-Infinity};return x(a,function(a,e,f){e=b?b.call(c,a,e,f):a,e>=d.computed&&(d={value:a,computed:e})}),d.value},w.min=function(a,b,c){if(!b&&w.isArray(a))return Math.min.apply(Math,a);if(!b&&w.isEmpty(a))return Infinity;var d={computed:Infinity};return x(a,function(a,e,f){e=b?b.call(c,a,e,f):a,e<d.computed&&(d={value:a,computed:e})}),d.value},w.shuffle=function(a){var b=[],c;return x(a,function(a,d){d==0?b[0]=a:(c=Math.floor(Math.random()*(d+1)),b[d]=b[c],b[c]=a)}),b},w.sortBy=function(a,b,c){return w.pluck(w.map(a,function(a,d,e){return{value:a,criteria:b.call(c,a,d,e)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")},w.groupBy=function(a,b){var c={},d=w.isFunction(b)?b:function(a){return a[b]};return x(a,function(a,b){var e=d(a,b);(c[e]||(c[e]=[])).push(a)}),c},w.sortedIndex=function(a,b,c){c||(c=w.identity);for(var d=0,e=a.length;d<e;){var f=d+e>>1;c(a[f])<c(b)?d=f+1:e=f}return d},w.toArray=function(a){return a?a.toArray?a.toArray():w.isArray(a)?g.call(a):w.isArguments(a)?g.call(a):w.values(a):[]},w.size=function(a){return w.toArray(a).length},w.first=w.head=function(a,b,c){return b!=null&&!c?g.call(a,0,b):a[0]},w.initial=function(a,b,c){return g.call(a,0,a.length-(b==null||c?1:b))},w.last=function(a,b,c){return b!=null&&!c?g.call(a,Math.max(a.length-b,0)):a[a.length-1]},w.rest=w.tail=function(a,b,c){return g.call(a,b==null||c?1:b)},w.compact=function(a){return w.filter(a,function(a){return!!a})},w.flatten=function(a,b){return w.reduce(a,function(a,c){return w.isArray(c)?a.concat(b?c:w.flatten(c)):(a[a.length]=c,a)},[])},w.without=function(a){return w.difference(a,g.call(arguments,1))},w.uniq=w.unique=function(a,b,c){var c=c?w.map(a,c):a,d=[];return w.reduce(c,function(c,e,f){if(0==f||(b===!0?w.last(c)!=e:!w.include(c,e)))c[c.length]=e,d[d.length]=a[f];return c},[]),d},w.union=function(){return w.uniq(w.flatten(arguments,!0))},w.intersection=w.intersect=function(a){var b=g.call(arguments,1);return w.filter(w.uniq(a),function(a){return w.every(b,function(b){return w.indexOf(b,a)>=0})})},w.difference=function(a){var b=w.flatten(g.call(arguments,1));return w.filter(a,function(a){return!w.include(b,a)})},w.zip=function(){for(var a=g.call(arguments),b=w.max(w.pluck(a,"length")),c=Array(b),d=0;d<b;d++)c[d]=w.pluck(a,""+d);return c},w.indexOf=function(a,b,c){if(a==null)return-1;var d;if(c)return c=w.sortedIndex(a,b),a[c]===b?c:-1;if(s&&a.indexOf===s)return a.indexOf(b);for(c=0,d=a.length;c<d;c++)if(c in a&&a[c]===b)return c;return-1},w.lastIndexOf=function(a,b){if(a==null)return-1;if(t&&a.lastIndexOf===t)return a.lastIndexOf(b);for(var c=a.length;c--;)if(c in a&&a[c]===b)return c;return-1},w.range=function(a,b,c){arguments.length<=1&&(b=a||0,a=0);for(var c=arguments[2]||1,d=Math.max(Math.ceil((b-a)/c),0),e=0,f=Array(d);e<d;)f[e++]=a,a+=c;return f};var z=function(){};w.bind=function(a,b){var c,d;if(a.bind===v&&v)return v.apply(a,g.call(arguments,1));if(!w.isFunction(a))throw new TypeError;return d=g.call(arguments,2),c=function(){if(this instanceof c){z.prototype=a.prototype;var e=new z,f=a.apply(e,d.concat(g.call(arguments)));return Object(f)===f?f:e}return a.apply(b,d.concat(g.call(arguments)))}},w.bindAll=function(a){var b=g.call(arguments,1);return b.length==0&&(b=w.functions(a)),x(b,function(b){a[b]=w.bind(a[b],a)}),a},w.memoize=function(a,b){var c={};return b||(b=w.identity),function(){var d=b.apply(this,arguments);return k.call(c,d)?c[d]:c[d]=a.apply(this,arguments)}},w.delay=function(a,b){var c=g.call(arguments,2);return setTimeout(function(){return a.apply(a,c)},b)},w.defer=function(a){return w.delay.apply(w,[a,1].concat(g.call(arguments,1)))},w.throttle=function(a,b){var c,d,e,f,g,h=w.debounce(function(){g=f=!1},b);return function(){c=this,d=arguments;var i;e||(e=setTimeout(function(){e=null,g&&a.apply(c,d),h()},b)),f?g=!0:a.apply(c,d),h(),f=!0}},w.debounce=function(a,b){var c;return function(){var d=this,e=arguments;clearTimeout(c),c=setTimeout(function(){c=null,a.apply(d,e)},b)}},w.once=function(a){var b=!1,c;return function(){return b?c:(b=!0,c=a.apply(this,arguments))}},w.wrap=function(a,b){return function(){var c=h.apply([a],arguments);return b.apply(this,c)}},w.compose=function(){var a=arguments;return function(){for(var b=arguments,c=a.length-1;c>=0;c--)b=[a[c].apply(this,b)];return b[0]}},w.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}},w.keys=u||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var b=[],c;for(c in a)k.call(a,c)&&(b[b.length]=c);return b},w.values=function(a){return w.map(a,w.identity)},w.functions=w.methods=function(a){var b=[],c;for(c in a)w.isFunction(a[c])&&b.push(c);return b.sort()},w.extend=function(a){return x(g.call(arguments,1),function(b){for(var c in b)b[c]!==void 0&&(a[c]=b[c])}),a},w.defaults=function(a){return x(g.call(arguments,1),function(b){for(var c in b)a[c]==null&&(a[c]=b[c])}),a},w.clone=function(a){return w.isObject(a)?w.isArray(a)?a.slice():w.extend({},a):a},w.tap=function(a,b){return b(a),a},w.isEqual=function(b,c){return a(b,c,[])},w.isEmpty=function(a){if(w.isArray(a)||w.isString(a))return a.length===0;for(var b in a)if(k.call(a,b))return!1;return!0},w.isElement=function(a){return!!a&&a.nodeType==1},w.isArray=f||function(a){return j.call(a)=="[object Array]"},w.isObject=function(a){return a===Object
-(a)},w.isArguments=function(a){return j.call(a)=="[object Arguments]"},w.isArguments(arguments)||(w.isArguments=function(a){return!!a&&!!k.call(a,"callee")}),w.isFunction=function(a){return j.call(a)=="[object Function]"},w.isString=function(a){return j.call(a)=="[object String]"},w.isNumber=function(a){return j.call(a)=="[object Number]"},w.isNaN=function(a){return a!==a},w.isBoolean=function(a){return a===!0||a===!1||j.call(a)=="[object Boolean]"},w.isDate=function(a){return j.call(a)=="[object Date]"},w.isRegExp=function(a){return j.call(a)=="[object RegExp]"},w.isNull=function(a){return a===null},w.isUndefined=function(a){return a===void 0},w.noConflict=function(){return b._=c,this},w.identity=function(a){return a},w.times=function(a,b,c){for(var d=0;d<a;d++)b.call(c,d)},w.escape=function(a){return(""+a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")},w.mixin=function(a){x(w.functions(a),function(b){D(b,w[b]=a[b])})};var A=0;w.uniqueId=function(a){var b=A++;return a?a+b:b},w.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},w.template=function(a,b){var c=w.templateSettings,c="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(c.escape,function(a,b){return"',_.escape("+b.replace(/\\'/g,"'")+"),'"}).replace(c.interpolate,function(a,b){return"',"+b.replace(/\\'/g,"'")+",'"}).replace(c.evaluate||null,function(a,b){return"');"+b.replace(/\\'/g,"'").replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",d=new Function("obj","_",c);return b?d(b,w):function(a){return d.call(this,a,w)}};var B=function(a){this._wrapped=a};w.prototype=B.prototype;var C=function(a,b){return b?w(a).chain():a},D=function(a,b){B.prototype[a]=function(){var a=g.call(arguments);return i.call(a,this._wrapped),C(b.apply(w,a),this._chain)}};w.mixin(w),x("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=e[a];B.prototype[a]=function(){return b.apply(this._wrapped,arguments),C(this._wrapped,this._chain)}}),x(["concat","join","slice"],function(a){var b=e[a];B.prototype[a]=function(){return C(b.apply(this._wrapped,arguments),this._chain)}}),B.prototype.chain=function(){return this._chain=!0,this},B.prototype.value=function(){return this._wrapped}}.call(this),function(){var a=this,b=a.Backbone,c;c=typeof exports!="undefined"?exports:a.Backbone={},c.VERSION="0.5.3";var d=a._;!d&&typeof require!="undefined"&&(d=require("underscore")._);var e=a.jQuery||a.Zepto;c.noConflict=function(){return a.Backbone=b,this},c.emulateHTTP=!1,c.emulateJSON=!1,c.Events={bind:function(a,b,c){var d=this._callbacks||(this._callbacks={});return(d[a]||(d[a]=[])).push([b,c]),this},unbind:function(a,b){var c;if(a){if(c=this._callbacks)if(b){c=c[a];if(!c)return this;for(var d=0,e=c.length;d<e;d++)if(c[d]&&b===c[d][0]){c[d]=null;break}}else c[a]=[]}else this._callbacks={};return this},trigger:function(a){var b,c,d,e,f=2;if(!(c=this._callbacks))return this;for(;f--;)if(b=f?a:"all",b=c[b])for(var g=0,h=b.length;g<h;g++)(d=b[g])?(e=f?Array.prototype.slice.call(arguments,1):arguments,d[0].apply(d[1]||this,e)):(b.splice(g,1),g--,h--);return this}},c.Model=function(a,b){var c;a||(a={});if(c=this.defaults)d.isFunction(c)&&(c=c.call(this)),a=d.extend({},c,a);this.attributes={},this._escapedAttributes={},this.cid=d.uniqueId("c"),this.set(a,{silent:!0}),this._changed=!1,this._previousAttributes=d.clone(this.attributes),b&&b.collection&&(this.collection=b.collection),this.initialize(a,b)},d.extend(c.Model.prototype,c.Events,{_previousAttributes:null,_changed:!1,idAttribute:"id",initialize:function(){},toJSON:function(){return d.clone(this.attributes)},get:function(a){return this.attributes[a]},escape:function(a){var b;return(b=this._escapedAttributes[a])?b:(b=this.attributes[a],this._escapedAttributes[a]=(b==null?"":""+b).replace(/&(?!\w+;|#\d+;|#x[\da-f]+;)/gi,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;"))},has:function(a){return this.attributes[a]!=null},set:function(a,b){b||(b={});if(!a)return this;a.attributes&&(a=a.attributes);var c=this.attributes,e=this._escapedAttributes;if(!b.silent&&this.validate&&!this._performValidation(a,b))return!1;this.idAttribute in a&&(this.id=a[this.idAttribute]);var f=this._changing;this._changing=!0;for(var g in a){var h=a[g];d.isEqual(c[g],h)||(c[g]=h,delete e[g],this._changed=!0,b.silent||this.trigger("change:"+g,this,h,b))}return!f&&!b.silent&&this._changed&&this.change(b),this._changing=!1,this},unset:function(a,b){if(a in this.attributes){b||(b={});var c={};return c[a]=void 0,!b.silent&&this.validate&&!this._performValidation(c,b)?!1:(delete this.attributes[a],delete this._escapedAttributes[a],a==this.idAttribute&&delete this.id,this._changed=!0,b.silent||(this.trigger("change:"+a,this,void 0,b),this.change(b)),this)}return this},clear:function(a){a||(a={});var b,c=this.attributes,d={};for(b in c)d[b]=void 0;if(!a.silent&&this.validate&&!this._performValidation(d,a))return!1;this.attributes={},this._escapedAttributes={},this._changed=!0;if(!a.silent){for(b in c)this.trigger("change:"+b,this,void 0,a);this.change(a)}return this},fetch:function(a){a||(a={});var b=this,d=a.success;return a.success=function(c,e,f){if(!b.set(b.parse(c,f),a))return!1;d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"read",this,a)},save:function(a,b){b||(b={});if(a&&!this.set(a,b))return!1;var d=this,e=b.success;b.success=function(a,c,f){if(!d.set(d.parse(a,f),b))return!1;e&&e(d,a,f)},b.error=s(b.error,d,b);var f=this.isNew()?"create":"update";return(this.sync||c.sync).call(this,f,this,b)},destroy:function(a){a||(a={});if(this.isNew())return this.trigger("destroy",this,this.collection,a);var b=this,d=a.success;return a.success=function(c){b.trigger("destroy",b,b.collection,a),d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"delete",this,a)},url:function(){var a=q(this.collection)||this.urlRoot||r();return this.isNew()?a:a+(a.charAt(a.length-1)=="/"?"":"/")+encodeURIComponent(this.id)},parse:function(a){return a},clone:function(){return new this.constructor(this)},isNew:function(){return this.id==null},change:function(a){this.trigger("change",this,a),this._previousAttributes=d.clone(this.attributes),this._changed=!1},hasChanged:function(a){return a?this._previousAttributes[a]!=this.attributes[a]:this._changed},changedAttributes:function(a){a||(a=this.attributes);var b=this._previousAttributes,c=!1,e;for(e in a)d.isEqual(b[e],a[e])||(c=c||{},c[e]=a[e]);return c},previous:function(a){return!a||!this._previousAttributes?null:this._previousAttributes[a]},previousAttributes:function(){return d.clone(this._previousAttributes)},_performValidation:function(a,b){var c=this.validate(a);return c?(b.error?b.error(this,c,b):this.trigger("error",this,c,b),!1):!0}}),c.Collection=function(a,b){b||(b={}),b.comparator&&(this.comparator=b.comparator),d.bindAll(this,"_onModelEvent","_removeReference"),this._reset(),a&&this.reset(a,{silent:!0}),this.initialize.apply(this,arguments)},d.extend(c.Collection.prototype,c.Events,{model:c.Model,initialize:function(){},toJSON:function(){return this.map(function(a){return a.toJSON()})},add:function(a,b){if(d.isArray(a))for(var c=0,e=a.length;c<e;c++)this._add(a[c],b);else this._add(a,b);return this},remove:function(a,b){if(d.isArray(a))for(var c=0,e=a.length;c<e;c++)this._remove(a[c],b);else this._remove(a,b);return this},get:function(a){return a==null?null:this._byId[a.id!=null?a.id:a]},getByCid:function(a){return a&&this._byCid[a.cid||a]},at:function(a){return this.models[a]},sort:function(a){a||(a={});if(!this.comparator)throw Error("Cannot sort a set without a comparator");return this.models=this.sortBy(this.comparator),a.silent||this.trigger("reset",this,a),this},pluck:function(a){return d.map(this.models,function(b){return b.get(a)})},reset:function(a,b){return a||(a=[]),b||(b={}),this.each(this._removeReference),this._reset(),this.add(a,{silent:!0}),b.silent||this.trigger("reset",this,b),this},fetch:function(a){a||(a={});var b=this,d=a.success;return a.success=function(c,e,f){b[a.add?"add":"reset"](b.parse(c,f),a),d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"read",this,a)},create:function(a,b){var c=this;b||(b={}),a=this._prepareModel(a,b);if(!a)return!1;var d=b.success;return b.success=function(a,e,f){c.add(a,b),d&&d(a,e,f)},a.save(null,b),a},parse:function(a){return a},chain:function(){return d(this.models).chain()},_reset:function(){this.length=0,this.models=[],this._byId={},this._byCid={}},_prepareModel:function(a,b){if(a instanceof c.Model)a.collection||(a.collection=this);else{var d=a;a=new this.model(d,{collection:this}),a.validate&&!a._performValidation(d,b)&&(a=!1)}return a},_add:function(a,b){b||(b={}),a=this._prepareModel(a,b);if(!a)return!1;var c=this.getByCid(a);if(c)throw Error(["Can't add the same model to a set twice",c.id]);return this._byId[a.id]=a,this._byCid[a.cid]=a,this.models.splice(b.at!=null?b.at:this.comparator?this.sortedIndex(a,this.comparator):this.length,0,a),a.bind("all",this._onModelEvent),this.length++,b.silent||a.trigger("add",a,this,b),a},_remove:function(a,b){return b||(b={}),a=this.getByCid(a)||this.get(a),a?(delete this._byId[a.id],delete this._byCid[a.cid],this.models.splice(this.indexOf(a),1),this.length--,b.silent||a.trigger("remove",a,this,b),this._removeReference(a),a):null},_removeReference:function(a){this==a.collection&&delete a.collection,a.unbind("all",this._onModelEvent)},_onModelEvent:function(a,b,c,d){(a=="add"||a=="remove")&&c!=this||(a=="destroy"&&this._remove(b,d),b&&a==="change:"+b.idAttribute&&(delete this._byId[b.previous(b.idAttribute)],this._byId[b.id]=b),this.trigger.apply(this,arguments))}}),d.each(["forEach","each","map","reduce","reduceRight","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","sortBy","sortedIndex","toArray","size","first","rest","last","without","indexOf","lastIndexOf","isEmpty","groupBy"],function(a){c.Collection.prototype[a]=function(){return d[a].apply(d,[this.models].concat(d.toArray(arguments)))}}),c.Router=function(a){a||(a={}),a.routes&&(this.routes=a.routes),this._bindRoutes(),this.initialize.apply(this,arguments)};var f=/:([\w\d]+)/g,g=/\*([\w\d]+)/g,h=/[-[\]{}()+?.,\\^$|#\s]/g;d.extend(c.Router.prototype,c.Events,{initialize:function(){},route:function(a,b,e){c.history||(c.history=new c.History),d.isRegExp(a)||(a=this._routeToRegExp(a)),c.history.route(a,d.bind(function(c){c=this._extractParameters(a,c),e.apply(this,c),this.trigger.apply(this,["route:"+b].concat(c))},this))},navigate:function(a,b){c.history.navigate(a,b)},_bindRoutes:function(){if(this.routes){var a=[],b;for(b in this.routes)a.unshift([b,this.routes[b]]);b=0;for(var c=a.length;b<c;b++)this.route(a[b][0],a[b][1],this[a[b][1]])}},_routeToRegExp:function(a){return a=a.replace(h,"\\$&").replace(f,"([^/]*)").replace(g,"(.*?)"),RegExp("^"+a+"$")},_extractParameters:function(a,b){return a.exec(b).slice(1)}}),c.History=function(){this.handlers=[],d.bindAll(this,"checkUrl")};var i=/^#*/,j=/msie [\w.]+/,k=!1;d.extend(c.History.prototype,{interval:50,getFragment:function(a,b){if(a==null)if(this._hasPushState||b){a=window.location.pathname;var c=window.location.search;c&&(a+=c),a.indexOf(this.options.root)==0&&(a=a.substr(this.options.root.length))}else a=window.location.hash;return decodeURIComponent(a.replace(i,""))},start:function(a){if(k)throw Error("Backbone.history has already been started");this.options=d.extend({},{root:"/"},this.options,a),this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.options.pushState||!window.history||!window.history.pushState),a=this.getFragment();var b=document.documentMode;if(b=j.exec(navigator.userAgent.toLowerCase())&&(!b||b<=7))this.iframe=e('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow,this.navigate(a);this._hasPushState?e(window).bind("popstate",this.checkUrl):"onhashchange"in window&&!b?e(window).bind("hashchange",this.checkUrl):setInterval(this.checkUrl,this.interval),this.fragment=a,k=!0,a=window.location,b=a.pathname==this.options.root;if(this._wantsPushState&&!this._hasPushState&&!b)return this.fragment=this.getFragment(null,!0),window.location.replace(this.options.root+"#"+this.fragment),!0;this._wantsPushState&&this._hasPushState&&b&&a.hash&&(this.fragment=a.hash.replace(i,""),window.history.replaceState({},document.title,a.protocol+"//"+a.host+this.options.root+this.fragment));if(!this.options.silent)return this.loadUrl()},route:function(a,b){this.handlers.unshift({route:a,callback:b})},checkUrl:function(){var a=this.getFragment();a==this.fragment&&this.iframe&&(a=this.getFragment(this.iframe.location.hash));if(a==this.fragment||a==decodeURIComponent(this.fragment))return!1;this.iframe&&this.navigate(a),this.loadUrl()||this.loadUrl(window.location.hash)},loadUrl:function(a){var b=this.fragment=this.getFragment(a);return d.any(this.handlers,function(a){if(a.route.test(b))return a.callback(b),!0})},navigate:function(a,b){var c=(a||"").replace(i,"");if(this.fragment!=c&&this.fragment!=decodeURIComponent(c)){if(this._hasPushState){var d=window.location;c.indexOf(this.options.root)!=0&&(c=this.options.root+c),this.fragment=c,window.history.pushState({},document.title,d.protocol+"//"+d.host+c)}else if(window.location.hash=this.fragment=c,this.iframe&&c!=this.getFragment(this.iframe.location.hash))this.iframe.document.open().close(),this.iframe.location.hash=c;b&&this.loadUrl(a)}}}),c.View=function(a){this.cid=d.uniqueId("view"),this._configure(a||{}),this._ensureElement(),this.delegateEvents(),this.initialize.apply(this,arguments)};var l=/^(\S+)\s*(.*)$/,m=["model","collection","el","id","attributes","className","tagName"];d.extend(c.View.prototype,c.Events,{tagName:"div",$:function(a){return e(a,this.el)},initialize:function(){},render:function(){return this},remove:function(){return e(this.el).remove(),this},make:function(a,b,c){return a=document.createElement(a),b&&e(a).attr(b),c&&e(a).html(c),a},delegateEvents:function(a){if(a||(a=this.events))for(var b in d.isFunction(a)&&(a=a.call(this)),e(this.el).unbind(".delegateEvents"+this.cid),a){var c=this[a[b]];if(!c)throw Error('Event "'+a[b]+'" does not exist');var f=b.match(l),g=f[1];f=f[2],c=d.bind(c,this),g+=".delegateEvents"+this.cid,f===""?e(this.el).bind(g,c):e(this.el).delegate(f,g,c)}},_configure:function(a){this.options&&(a=d.extend({},this.options,a));for(var b=0,c=m.length;b<c;b++){var e=m[b];a[e]&&(this[e]=a[e])}this.options=a},_ensureElement:function(){if(this.el)d.isString(this.el)&&(this.el=e(this.el).get(0));else{var a=this.attributes||{};this.id&&(a.id=this.id),this.className&&(a["class"]=this.className),this.el=this.make(this.tagName,a)}}}),c.Model.extend=c.Collection.extend=c.Router.extend=c.View.extend=function(a,b){var c=p(this,a,b);return c.extend=this.extend,c};var n={create:"POST",update:"PUT","delete":"DELETE",read:"GET"};c.sync=function(a,b,f){var g=n[a];return f=d.extend({type:g,dataType:"json"},f),f.url||(f.url=q(b)||r()),!f.data&&b&&(a=="create"||a=="update")&&(f.contentType="application/json",f.data=JSON.stringify(b.toJSON())),c.emulateJSON&&(f.contentType="application/x-www-form-urlencoded",f.data=f.data?{model:f.data}:{}),c.emulateHTTP&&(g==="PUT"||g==="DELETE")&&(c.emulateJSON&&(f.data._method=g),f.type="POST",f.beforeSend=function(a){a.setRequestHeader("X-HTTP-Method-Override",g)}),f.type!=="GET"&&!c.emulateJSON&&(f.processData=!1),e.ajax(f)};var o=function(){},p=function(a,b,c){var e;return e=b&&b.hasOwnProperty("constructor")?b.constructor:function(){return a.apply(this,arguments)},d.extend(e,a),o.prototype=a.prototype,e.prototype=new o,b&&d.extend(e.prototype,b),c&&d.extend(e,c),e.prototype.constructor=e,e.__super__=a.prototype,e},q=function(a){return!a||!a.url?null:d.isFunction(a.url)?a.url():a.url},r=function(){throw Error('A "url" property or function must be specified')},s=function(a,b,c){return function(d){a?a(b,d,c):b.trigger("error",b,d,c)}}}.call(this),function(){}.call(this),window.Modernizr=function(a,b,c){function d(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+v.join(c+" ")+c).split(" ");return e(d,b)}function e(a,b){for(var d in a)if(q[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function f(a,b){return!!~(""+a).indexOf(b)}function g(a,b){return typeof a===b}function h(a,b){return i(u.join(a+";")+(b||""))}function i(a){q.cssText=a}var j="2.0.6",k={},l=!0,m=b.documentElement,n=b.head||b.getElementsByTagName("head")[0],o="modernizr",p=b.createElement(o),q=p.style,r,s=":)",t=Object.prototype.toString,u=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),v="Webkit Moz O ms Khtml".split(" "),w={},x={},y={},z=[],A=function(a,c,d,e){var f,g,h,i=b.createElement("div");if(parseInt(d,10))while(d--)h=b.createElement("div"),h.id=e?e[d]:o+(d+1),i.appendChild(h);return f=["&shy;","<style>",a,"</style>"].join(""),i.id=o,i.innerHTML+=f,m.appendChild(i),g=c(i,a),i.parentNode.removeChild(i),!!g},B=function(){function a(a,e){e=e||b.createElement(d[a]||"div"),a="on"+a;var f=a in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(a,""),f=g(e[a],"function"),g(e[a],c)||(e[a]=c),e.removeAttribute(a))),e=null,f}var d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return a}(),C,D={}.hasOwnProperty,E;!g(D,c)&&!g(D.call,c)?E=function(a,b){return D.call(a,b)}:E=function(a,b){return b in a&&g(a.constructor.prototype[b],c)};var F=function(c,d){var e=c.join(""),f=d.length;A(e,function(c,d){var e=b.styleSheets[b.styleSheets.length-1],g=e.cssRules&&e.cssRules[0]?e.cssRules[0].cssText:e.cssText||"",h=c.childNodes,i={};while(f--)i[h[f].id]=h[f];k.touch="ontouchstart"in a||i.touch.offsetTop===9,k.generatedcontent=i.generatedcontent.offsetHeight>=1,k.fontface=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0},f,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",u.join("touch-enabled),("),o,")","{#touch{top:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',s,'";visibility:hidden}'].join("")],["fontface","touch","generatedcontent"]);w.flexbox=function(){function a(a,b,c,d){a.style.cssText=u.join(b+":"+c+";")+(d||"")}function c(a,b,c,d){b+=":",a.style.cssText=(b+u.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");c(d,"display","box","width:42px;padding:0;"),a(e,"box-flex","1","width:10px;"),d.appendChild(e),m.appendChild(d);var f=e.offsetWidth===42;return d.removeChild(e),m.removeChild(d),f},w.touch=function(){return k.touch},w.hashchange=function(){return B("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},w.history=function(){return!!a.history&&!!history.pushState},w.rgba=function(){return i("background-color:rgba(150,255,150,.5)"),f(q.backgroundColor,"rgba")},w.multiplebgs=function(){return i("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(q.background)},w.boxshadow=function(){return d("boxShadow")},w.textshadow=function(){return b.createElement("div").style.textShadow===""},w.opacity=function(){return h("opacity:.55"),/^0.55$/.test(q.opacity)},w.cssanimations=function(){return d("animationName")},w.csscolumns=function(){return d("columnCount")},w.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return i((a+u.join(b+a)+u.join(c+a)).slice(0,-a.length)),f(q.backgroundImage,"gradient")},w.csstransitions=function(){return d("transitionProperty")},w.fontface=function(){return k.fontface},w.generatedcontent=function(){return k.generatedcontent},w.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}},w.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}},w.applicationcache=function(){return!!a.applicationCache};for(var G in w)E(w,G)&&(C=G.toLowerCase(),k[C]=w[G](),z.push((k[C]?"":"no-")+C));return i(""),p=r=null,a.attachEvent&&function(){var a=b.createElement("div");return a.innerHTML="<elem></elem>",a.childNodes.length!==1}()&&function(a,b){function d(a){var b=-1;while(++b<h)a.createElement(g[b])}a.iepp=a.iepp||{};var e=a.iepp,f=e.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",g=f.split("|"),h=g.length,i=new RegExp("(^|\\s)("+f+")","gi"),j=new RegExp("<(/*)("+f+")","gi"),k=/^\s*[\{\}]\s*$/,l=new RegExp("(^|[^\\n]*?\\s)("+f+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),m=b.createDocumentFragment(),n=b.documentElement,o=n.firstChild,p=b.createElement("body"),q=b.createElement("style"),r=/print|all/,s;e.getCSS=function(a,b){if(a+""===c)return"";var d=-1,f=a.length,g,h=[];while(++d<f){g=a[d];if(g.disabled)continue;b=g.media||b,r.test(b)&&h.push(e.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},e.parseCSS=function(a){var b=[],c;while((c=l.exec(a))!=null)b.push(((k.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(i,"$1.iepp_$2")+c[4]);return b.join("\n")},e.writeHTML=function(){var a=-1;s=s||b.body;while(++a<h){var c=b.getElementsByTagName(g[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+g[a])}m.appendChild(s),n.appendChild(p),p.className=s.className,p.id=s.id,p.innerHTML=s.innerHTML.replace(j,"<$1font")},e._beforePrint=function(){q.styleSheet.cssText=e.parseCSS(e.getCSS(b.styleSheets,"all")),e.writeHTML()},e.restoreHTML=function(){p.innerHTML="",n.removeChild(p),n.appendChild(s)},e._afterPrint=function(){e.restoreHTML(),q.styleSheet.cssText=""},d(b),d(m),e.disablePP||(o.insertBefore(q,o.firstChild),q.media="print",q.className="iepp-printshim",a.attachEvent("onbeforeprint",e._beforePrint),a.attachEvent("onafterprint",e._afterPrint))}(a,b),k._version=j,k._prefixes=u,k._domPrefixes=v,k.hasEvent=B,k.testProp=function(a){return e([a])},k.testAllProps=d,k.testStyles=A,m.className=m.className.replace(/\bno-js\b/,"")+(l?" js "+z.join(" "):""),k}(this,this.document),function(a,b,c){function d(a){return!a||a=="loaded"||a=="complete"}function e(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&h()}function f(a){var c=b.createElement("script"),f;c.src=a.s,c.onreadystatechange=c.onload=function(){!f&&d(c.readyState)&&(f=1,e(),c.onload=c.onreadystatechange=null)},m(function(){f||(f=1,e())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function g(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e&&(w||r)){var f=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,e()):f(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){e()},0)):f(a)}},0)};f(c)}else c.onload=function(){d||(d=1,m(function(){e()},0))},a.e&&c.onload();m(function(){d||(d=1,e())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function h(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?g(a):f(a)},0):(a(),e()):q=0}function i(a,c,f,g,i,j){function k(){!o&&d(l.readyState)&&(r.r=o=1,!q&&e(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:f,s:c,e:j};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=f),l.onload=l.onreadystatechange=k,a=="img"?l.onerror=k:a=="script"&&(l.onerror=function(){r.e=r.r=1,h()}),p.splice(g,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,e())},H.errorTimeout)}function j(a,b,c){var d=b=="c"?z:y;return q=0,b=b||"j",C(a)?i(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&h()),this}function k(){var a=H;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function b(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function d(a,d,e,f,g){var h=b(a),i=h.autoCallback;if(!h.bypass){d&&(d=D(d)?d:d[a]||d[f]||d[a.split("/").pop().split("?")[0]]);if(h.instead)return h.instead(a,d,e,f,g);e.load(h.url,h.forceCSS||!h.forceJS&&/css$/.test(h.url)?"c":c,h.noexec),(D(d)||D(i))&&e.load(function(){k(),d&&d(h.origUrl,g,f),i&&i(h.origUrl,g,f)})}}function e(a,b){function c(a){if(C(a))d(a,h,b,0,e);else if(B(a))for(i in a)a.hasOwnProperty(i)&&d(a[i],h,b,i,e)}var e=!!a.test,f=e?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var f,g,h=this.yepnope.loader;if(C(a))d(a,0,h,0);else if(A(a))for(f=0;f<a.length;f++)g=a[f],C(g)?d(g,0,h,0):A(g)?H(g):B(g)&&e(g,h);else B(a)&&e(a,h)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=k()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(){}.call(this),function(){}.call(this)
View
BIN public/assets/application.js.gz
Binary file not shown.
View
6 public/assets/backbone.min-f0545aab7a89eecf83fe4af0641e1e1c.js
@@ -1,6 +0,0 @@
-// Backbone.js 0.5.3
-// (c) 2010 Jeremy Ashkenas, DocumentCloud Inc.
-// Backbone may be freely distributed under the MIT license.
-// For all details and documentation:
-// http://documentcloud.github.com/backbone
-((function(){var a=this,b=a.Backbone,c;c=typeof exports!="undefined"?exports:a.Backbone={},c.VERSION="0.5.3";var d=a._;!d&&typeof require!="undefined"&&(d=require("underscore")._);var e=a.jQuery||a.Zepto;c.noConflict=function(){return a.Backbone=b,this},c.emulateHTTP=!1,c.emulateJSON=!1,c.Events={bind:function(a,b,c){var d=this._callbacks||(this._callbacks={});return(d[a]||(d[a]=[])).push([b,c]),this},unbind:function(a,b){var c;if(a){if(c=this._callbacks)if(b){c=c[a];if(!c)return this;for(var d=0,e=c.length;d<e;d++)if(c[d]&&b===c[d][0]){c[d]=null;break}}else c[a]=[]}else this._callbacks={};return this},trigger:function(a){var b,c,d,e,f=2;if(!(c=this._callbacks))return this;for(;f--;)if(b=f?a:"all",b=c[b])for(var g=0,h=b.length;g<h;g++)(d=b[g])?(e=f?Array.prototype.slice.call(arguments,1):arguments,d[0].apply(d[1]||this,e)):(b.splice(g,1),g--,h--);return this}},c.Model=function(a,b){var c;a||(a={});if(c=this.defaults)d.isFunction(c)&&(c=c.call(this)),a=d.extend({},c,a);this.attributes={},this._escapedAttributes={},this.cid=d.uniqueId("c"),this.set(a,{silent:!0}),this._changed=!1,this._previousAttributes=d.clone(this.attributes),b&&b.collection&&(this.collection=b.collection),this.initialize(a,b)},d.extend(c.Model.prototype,c.Events,{_previousAttributes:null,_changed:!1,idAttribute:"id",initialize:function(){},toJSON:function(){return d.clone(this.attributes)},get:function(a){return this.attributes[a]},escape:function(a){var b;return(b=this._escapedAttributes[a])?b:(b=this.attributes[a],this._escapedAttributes[a]=(b==null?"":""+b).replace(/&(?!\w+;|#\d+;|#x[\da-f]+;)/gi,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;"))},has:function(a){return this.attributes[a]!=null},set:function(a,b){b||(b={});if(!a)return this;a.attributes&&(a=a.attributes);var c=this.attributes,e=this._escapedAttributes;if(!b.silent&&this.validate&&!this._performValidation(a,b))return!1;this.idAttribute in a&&(this.id=a[this.idAttribute]);var f=this._changing;this._changing=!0;for(var g in a){var h=a[g];d.isEqual(c[g],h)||(c[g]=h,delete e[g],this._changed=!0,b.silent||this.trigger("change:"+g,this,h,b))}return!f&&!b.silent&&this._changed&&this.change(b),this._changing=!1,this},unset:function(a,b){if(a in this.attributes){b||(b={});var c={};return c[a]=void 0,!b.silent&&this.validate&&!this._performValidation(c,b)?!1:(delete this.attributes[a],delete this._escapedAttributes[a],a==this.idAttribute&&delete this.id,this._changed=!0,b.silent||(this.trigger("change:"+a,this,void 0,b),this.change(b)),this)}return this},clear:function(a){a||(a={});var b,c=this.attributes,d={};for(b in c)d[b]=void 0;if(!a.silent&&this.validate&&!this._performValidation(d,a))return!1;this.attributes={},this._escapedAttributes={},this._changed=!0;if(!a.silent){for(b in c)this.trigger("change:"+b,this,void 0,a);this.change(a)}return this},fetch:function(a){a||(a={});var b=this,d=a.success;return a.success=function(c,e,f){if(!b.set(b.parse(c,f),a))return!1;d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"read",this,a)},save:function(a,b){b||(b={});if(a&&!this.set(a,b))return!1;var d=this,e=b.success;b.success=function(a,c,f){if(!d.set(d.parse(a,f),b))return!1;e&&e(d,a,f)},b.error=s(b.error,d,b);var f=this.isNew()?"create":"update";return(this.sync||c.sync).call(this,f,this,b)},destroy:function(a){a||(a={});if(this.isNew())return this.trigger("destroy",this,this.collection,a);var b=this,d=a.success;return a.success=function(c){b.trigger("destroy",b,b.collection,a),d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"delete",this,a)},url:function(){var a=q(this.collection)||this.urlRoot||r();return this.isNew()?a:a+(a.charAt(a.length-1)=="/"?"":"/")+encodeURIComponent(this.id)},parse:function(a){return a},clone:function(){return new this.constructor(this)},isNew:function(){return this.id==null},change:function(a){this.trigger("change",this,a),this._previousAttributes=d.clone(this.attributes),this._changed=!1},hasChanged:function(a){return a?this._previousAttributes[a]!=this.attributes[a]:this._changed},changedAttributes:function(a){a||(a=this.attributes);var b=this._previousAttributes,c=!1,e;for(e in a)d.isEqual(b[e],a[e])||(c=c||{},c[e]=a[e]);return c},previous:function(a){return!a||!this._previousAttributes?null:this._previousAttributes[a]},previousAttributes:function(){return d.clone(this._previousAttributes)},_performValidation:function(a,b){var c=this.validate(a);return c?(b.error?b.error(this,c,b):this.trigger("error",this,c,b),!1):!0}}),c.Collection=function(a,b){b||(b={}),b.comparator&&(this.comparator=b.comparator),d.bindAll(this,"_onModelEvent","_removeReference"),this._reset(),a&&this.reset(a,{silent:!0}),this.initialize.apply(this,arguments)},d.extend(c.Collection.prototype,c.Events,{model:c.Model,initialize:function(){},toJSON:function(){return this.map(function(a){return a.toJSON()})},add:function(a,b){if(d.isArray(a))for(var c=0,e=a.length;c<e;c++)this._add(a[c],b);else this._add(a,b);return this},remove:function(a,b){if(d.isArray(a))for(var c=0,e=a.length;c<e;c++)this._remove(a[c],b);else this._remove(a,b);return this},get:function(a){return a==null?null:this._byId[a.id!=null?a.id:a]},getByCid:function(a){return a&&this._byCid[a.cid||a]},at:function(a){return this.models[a]},sort:function(a){a||(a={});if(!this.comparator)throw Error("Cannot sort a set without a comparator");return this.models=this.sortBy(this.comparator),a.silent||this.trigger("reset",this,a),this},pluck:function(a){return d.map(this.models,function(b){return b.get(a)})},reset:function(a,b){return a||(a=[]),b||(b={}),this.each(this._removeReference),this._reset(),this.add(a,{silent:!0}),b.silent||this.trigger("reset",this,b),this},fetch:function(a){a||(a={});var b=this,d=a.success;return a.success=function(c,e,f){b[a.add?"add":"reset"](b.parse(c,f),a),d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"read",this,a)},create:function(a,b){var c=this;b||(b={}),a=this._prepareModel(a,b);if(!a)return!1;var d=b.success;return b.success=function(a,e,f){c.add(a,b),d&&d(a,e,f)},a.save(null,b),a},parse:function(a){return a},chain:function(){return d(this.models).chain()},_reset:function(){this.length=0,this.models=[],this._byId={},this._byCid={}},_prepareModel:function(a,b){if(a instanceof c.Model)a.collection||(a.collection=this);else{var d=a;a=new this.model(d,{collection:this}),a.validate&&!a._performValidation(d,b)&&(a=!1)}return a},_add:function(a,b){b||(b={}),a=this._prepareModel(a,b);if(!a)return!1;var c=this.getByCid(a);if(c)throw Error(["Can't add the same model to a set twice",c.id]);return this._byId[a.id]=a,this._byCid[a.cid]=a,this.models.splice(b.at!=null?b.at:this.comparator?this.sortedIndex(a,this.comparator):this.length,0,a),a.bind("all",this._onModelEvent),this.length++,b.silent||a.trigger("add",a,this,b),a},_remove:function(a,b){return b||(b={}),a=this.getByCid(a)||this.get(a),a?(delete this._byId[a.id],delete this._byCid[a.cid],this.models.splice(this.indexOf(a),1),this.length--,b.silent||a.trigger("remove",a,this,b),this._removeReference(a),a):null},_removeReference:function(a){this==a.collection&&delete a.collection,a.unbind("all",this._onModelEvent)},_onModelEvent:function(a,b,c,d){(a=="add"||a=="remove")&&c!=this||(a=="destroy"&&this._remove(b,d),b&&a==="change:"+b.idAttribute&&(delete this._byId[b.previous(b.idAttribute)],this._byId[b.id]=b),this.trigger.apply(this,arguments))}}),d.each(["forEach","each","map","reduce","reduceRight","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","sortBy","sortedIndex","toArray","size","first","rest","last","without","indexOf","lastIndexOf","isEmpty","groupBy"],function(a){c.Collection.prototype[a]=function(){return d[a].apply(d,[this.models].concat(d.toArray(arguments)))}}),c.Router=function(a){a||(a={}),a.routes&&(this.routes=a.routes),this._bindRoutes(),this.initialize.apply(this,arguments)};var f=/:([\w\d]+)/g,g=/\*([\w\d]+)/g,h=/[-[\]{}()+?.,\\^$|#\s]/g;d.extend(c.Router.prototype,c.Events,{initialize:function(){},route:function(a,b,e){c.history||(c.history=new c.History),d.isRegExp(a)||(a=this._routeToRegExp(a)),c.history.route(a,d.bind(function(c){c=this._extractParameters(a,c),e.apply(this,c),this.trigger.apply(this,["route:"+b].concat(c))},this))},navigate:function(a,b){c.history.navigate(a,b)},_bindRoutes:function(){if(this.routes){var a=[],b;for(b in this.routes)a.unshift([b,this.routes[b]]);b=0;for(var c=a.length;b<c;b++)this.route(a[b][0],a[b][1],this[a[b][1]])}},_routeToRegExp:function(a){return a=a.replace(h,"\\$&").replace(f,"([^/]*)").replace(g,"(.*?)"),RegExp("^"+a+"$")},_extractParameters:function(a,b){return a.exec(b).slice(1)}}),c.History=function(){this.handlers=[],d.bindAll(this,"checkUrl")};var i=/^#*/,j=/msie [\w.]+/,k=!1;d.extend(c.History.prototype,{interval:50,getFragment:function(a,b){if(a==null)if(this._hasPushState||b){a=window.location.pathname;var c=window.location.search;c&&(a+=c),a.indexOf(this.options.root)==0&&(a=a.substr(this.options.root.length))}else a=window.location.hash;return decodeURIComponent(a.replace(i,""))},start:function(a){if(k)throw Error("Backbone.history has already been started");this.options=d.extend({},{root:"/"},this.options,a),this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.options.pushState||!window.history||!window.history.pushState),a=this.getFragment();var b=document.documentMode;if(b=j.exec(navigator.userAgent.toLowerCase())&&(!b||b<=7))this.iframe=e('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow,this.navigate(a);this._hasPushState?e(window).bind("popstate",this.checkUrl):"onhashchange"in window&&!b?e(window).bind("hashchange",this.checkUrl):setInterval(this.checkUrl,this.interval),this.fragment=a,k=!0,a=window.location,b=a.pathname==this.options.root;if(this._wantsPushState&&!this._hasPushState&&!b)return this.fragment=this.getFragment(null,!0),window.location.replace(this.options.root+"#"+this.fragment),!0;this._wantsPushState&&this._hasPushState&&b&&a.hash&&(this.fragment=a.hash.replace(i,""),window.history.replaceState({},document.title,a.protocol+"//"+a.host+this.options.root+this.fragment));if(!this.options.silent)return this.loadUrl()},route:function(a,b){this.handlers.unshift({route:a,callback:b})},checkUrl:function(){var a=this.getFragment();a==this.fragment&&this.iframe&&(a=this.getFragment(this.iframe.location.hash));if(a==this.fragment||a==decodeURIComponent(this.fragment))return!1;this.iframe&&this.navigate(a),this.loadUrl()||this.loadUrl(window.location.hash)},loadUrl:function(a){var b=this.fragment=this.getFragment(a);return d.any(this.handlers,function(a){if(a.route.test(b))return a.callback(b),!0})},navigate:function(a,b){var c=(a||"").replace(i,"");if(this.fragment!=c&&this.fragment!=decodeURIComponent(c)){if(this._hasPushState){var d=window.location;c.indexOf(this.options.root)!=0&&(c=this.options.root+c),this.fragment=c,window.history.pushState({},document.title,d.protocol+"//"+d.host+c)}else if(window.location.hash=this.fragment=c,this.iframe&&c!=this.getFragment(this.iframe.location.hash))this.iframe.document.open().close(),this.iframe.location.hash=c;b&&this.loadUrl(a)}}}),c.View=function(a){this.cid=d.uniqueId("view"),this._configure(a||{}),this._ensureElement(),this.delegateEvents(),this.initialize.apply(this,arguments)};var l=/^(\S+)\s*(.*)$/,m=["model","collection","el","id","attributes","className","tagName"];d.extend(c.View.prototype,c.Events,{tagName:"div",$:function(a){return e(a,this.el)},initialize:function(){},render:function(){return this},remove:function(){return e(this.el).remove(),this},make:function(a,b,c){return a=document.createElement(a),b&&e(a).attr(b),c&&e(a).html(c),a},delegateEvents:function(a){if(a||(a=this.events))for(var b in d.isFunction(a)&&(a=a.call(this)),e(this.el).unbind(".delegateEvents"+this.cid),a){var c=this[a[b]];if(!c)throw Error('Event "'+a[b]+'" does not exist');var f=b.match(l),g=f[1];f=f[2],c=d.bind(c,this),g+=".delegateEvents"+this.cid,f===""?e(this.el).bind(g,c):e(this.el).delegate(f,g,c)}},_configure:function(a){this.options&&(a=d.extend({},this.options,a));for(var b=0,c=m.length;b<c;b++){var e=m[b];a[e]&&(this[e]=a[e])}this.options=a},_ensureElement:function(){if(this.el)d.isString(this.el)&&(this.el=e(this.el).get(0));else{var a=this.attributes||{};this.id&&(a.id=this.id),this.className&&(a["class"]=this.className),this.el=this.make(this.tagName,a)}}}),c.Model.extend=c.Collection.extend=c.Router.extend=c.View.extend=function(a,b){var c=p(this,a,b);return c.extend=this.extend,c};var n={create:"POST",update:"PUT","delete":"DELETE",read:"GET"};c.sync=function(a,b,f){var g=n[a];return f=d.extend({type:g,dataType:"json"},f),f.url||(f.url=q(b)||r()),!f.data&&b&&(a=="create"||a=="update")&&(f.contentType="application/json",f.data=JSON.stringify(b.toJSON())),c.emulateJSON&&(f.contentType="application/x-www-form-urlencoded",f.data=f.data?{model:f.data}:{}),c.emulateHTTP&&(g==="PUT"||g==="DELETE")&&(c.emulateJSON&&(f.data._method=g),f.type="POST",f.beforeSend=function(a){a.setRequestHeader("X-HTTP-Method-Override",g)}),f.type!=="GET"&&!c.emulateJSON&&(f.processData=!1),e.ajax(f)};var o=function(){},p=function(a,b,c){var e;return e=b&&b.hasOwnProperty("constructor")?b.constructor:function(){return a.apply(this,arguments)},d.extend(e,a),o.prototype=a.prototype,e.prototype=new o,b&&d.extend(e.prototype,b),c&&d.extend(e,c),e.prototype.constructor=e,e.__super__=a.prototype,e},q=function(a){return!a||!a.url?null:d.isFunction(a.url)?a.url():a.url},r=function(){throw Error('A "url" property or function must be specified')},s=function(a,b,c){return function(d){a?a(b,d,c):b.trigger("error",b,d,c)}}})).call(this)
View
BIN public/assets/backbone.min-f0545aab7a89eecf83fe4af0641e1e1c.js.gz
Binary file not shown.
View
6 public/assets/backbone.min.js
@@ -1,6 +0,0 @@
-// Backbone.js 0.5.3
-// (c) 2010 Jeremy Ashkenas, DocumentCloud Inc.
-// Backbone may be freely distributed under the MIT license.
-// For all details and documentation:
-// http://documentcloud.github.com/backbone
-((function(){var a=this,b=a.Backbone,c;c=typeof exports!="undefined"?exports:a.Backbone={},c.VERSION="0.5.3";var d=a._;!d&&typeof require!="undefined"&&(d=require("underscore")._);var e=a.jQuery||a.Zepto;c.noConflict=function(){return a.Backbone=b,this},c.emulateHTTP=!1,c.emulateJSON=!1,c.Events={bind:function(a,b,c){var d=this._callbacks||(this._callbacks={});return(d[a]||(d[a]=[])).push([b,c]),this},unbind:function(a,b){var c;if(a){if(c=this._callbacks)if(b){c=c[a];if(!c)return this;for(var d=0,e=c.length;d<e;d++)if(c[d]&&b===c[d][0]){c[d]=null;break}}else c[a]=[]}else this._callbacks={};return this},trigger:function(a){var b,c,d,e,f=2;if(!(c=this._callbacks))return this;for(;f--;)if(b=f?a:"all",b=c[b])for(var g=0,h=b.length;g<h;g++)(d=b[g])?(e=f?Array.prototype.slice.call(arguments,1):arguments,d[0].apply(d[1]||this,e)):(b.splice(g,1),g--,h--);return this}},c.Model=function(a,b){var c;a||(a={});if(c=this.defaults)d.isFunction(c)&&(c=c.call(this)),a=d.extend({},c,a);this.attributes={},this._escapedAttributes={},this.cid=d.uniqueId("c"),this.set(a,{silent:!0}),this._changed=!1,this._previousAttributes=d.clone(this.attributes),b&&b.collection&&(this.collection=b.collection),this.initialize(a,b)},d.extend(c.Model.prototype,c.Events,{_previousAttributes:null,_changed:!1,idAttribute:"id",initialize:function(){},toJSON:function(){return d.clone(this.attributes)},get:function(a){return this.attributes[a]},escape:function(a){var b;return(b=this._escapedAttributes[a])?b:(b=this.attributes[a],this._escapedAttributes[a]=(b==null?"":""+b).replace(/&(?!\w+;|#\d+;|#x[\da-f]+;)/gi,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;"))},has:function(a){return this.attributes[a]!=null},set:function(a,b){b||(b={});if(!a)return this;a.attributes&&(a=a.attributes);var c=this.attributes,e=this._escapedAttributes;if(!b.silent&&this.validate&&!this._performValidation(a,b))return!1;this.idAttribute in a&&(this.id=a[this.idAttribute]);var f=this._changing;this._changing=!0;for(var g in a){var h=a[g];d.isEqual(c[g],h)||(c[g]=h,delete e[g],this._changed=!0,b.silent||this.trigger("change:"+g,this,h,b))}return!f&&!b.silent&&this._changed&&this.change(b),this._changing=!1,this},unset:function(a,b){if(a in this.attributes){b||(b={});var c={};return c[a]=void 0,!b.silent&&this.validate&&!this._performValidation(c,b)?!1:(delete this.attributes[a],delete this._escapedAttributes[a],a==this.idAttribute&&delete this.id,this._changed=!0,b.silent||(this.trigger("change:"+a,this,void 0,b),this.change(b)),this)}return this},clear:function(a){a||(a={});var b,c=this.attributes,d={};for(b in c)d[b]=void 0;if(!a.silent&&this.validate&&!this._performValidation(d,a))return!1;this.attributes={},this._escapedAttributes={},this._changed=!0;if(!a.silent){for(b in c)this.trigger("change:"+b,this,void 0,a);this.change(a)}return this},fetch:function(a){a||(a={});var b=this,d=a.success;return a.success=function(c,e,f){if(!b.set(b.parse(c,f),a))return!1;d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"read",this,a)},save:function(a,b){b||(b={});if(a&&!this.set(a,b))return!1;var d=this,e=b.success;b.success=function(a,c,f){if(!d.set(d.parse(a,f),b))return!1;e&&e(d,a,f)},b.error=s(b.error,d,b);var f=this.isNew()?"create":"update";return(this.sync||c.sync).call(this,f,this,b)},destroy:function(a){a||(a={});if(this.isNew())return this.trigger("destroy",this,this.collection,a);var b=this,d=a.success;return a.success=function(c){b.trigger("destroy",b,b.collection,a),d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"delete",this,a)},url:function(){var a=q(this.collection)||this.urlRoot||r();return this.isNew()?a:a+(a.charAt(a.length-1)=="/"?"":"/")+encodeURIComponent(this.id)},parse:function(a){return a},clone:function(){return new this.constructor(this)},isNew:function(){return this.id==null},change:function(a){this.trigger("change",this,a),this._previousAttributes=d.clone(this.attributes),this._changed=!1},hasChanged:function(a){return a?this._previousAttributes[a]!=this.attributes[a]:this._changed},changedAttributes:function(a){a||(a=this.attributes);var b=this._previousAttributes,c=!1,e;for(e in a)d.isEqual(b[e],a[e])||(c=c||{},c[e]=a[e]);return c},previous:function(a){return!a||!this._previousAttributes?null:this._previousAttributes[a]},previousAttributes:function(){return d.clone(this._previousAttributes)},_performValidation:function(a,b){var c=this.validate(a);return c?(b.error?b.error(this,c,b):this.trigger("error",this,c,b),!1):!0}}),c.Collection=function(a,b){b||(b={}),b.comparator&&(this.comparator=b.comparator),d.bindAll(this,"_onModelEvent","_removeReference"),this._reset(),a&&this.reset(a,{silent:!0}),this.initialize.apply(this,arguments)},d.extend(c.Collection.prototype,c.Events,{model:c.Model,initialize:function(){},toJSON:function(){return this.map(function(a){return a.toJSON()})},add:function(a,b){if(d.isArray(a))for(var c=0,e=a.length;c<e;c++)this._add(a[c],b);else this._add(a,b);return this},remove:function(a,b){if(d.isArray(a))for(var c=0,e=a.length;c<e;c++)this._remove(a[c],b);else this._remove(a,b);return this},get:function(a){return a==null?null:this._byId[a.id!=null?a.id:a]},getByCid:function(a){return a&&this._byCid[a.cid||a]},at:function(a){return this.models[a]},sort:function(a){a||(a={});if(!this.comparator)throw Error("Cannot sort a set without a comparator");return this.models=this.sortBy(this.comparator),a.silent||this.trigger("reset",this,a),this},pluck:function(a){return d.map(this.models,function(b){return b.get(a)})},reset:function(a,b){return a||(a=[]),b||(b={}),this.each(this._removeReference),this._reset(),this.add(a,{silent:!0}),b.silent||this.trigger("reset",this,b),this},fetch:function(a){a||(a={});var b=this,d=a.success;return a.success=function(c,e,f){b[a.add?"add":"reset"](b.parse(c,f),a),d&&d(b,c)},a.error=s(a.error,b,a),(this.sync||c.sync).call(this,"read",this,a)},create:function(a,b){var c=this;b||(b={}),a=this._prepareModel(a,b);if(!a)return!1;var d=b.success;return b.success=function(a,e,f){c.add(a,b),d&&d(a,e,f)},a.save(null,b),a},parse:function(a){return a},chain:function(){return d(this.models).chain()},_reset:function(){this.length=0,this.models=[],this._byId={},this._byCid={}},_prepareModel:function(a,b){if(a instanceof c.Model)a.collection||(a.collection=this);else{var d=a;a=new this.model(d,{collection:this}),a.validate&&!a._performValidation(d,b)&&(a=!1)}return a},_add:function(a,b){b||(b={}),a=this._prepareModel(a,b);if(!a)return!1;var c=this.getByCid(a);if(c)throw Error(["Can't add the same model to a set twice",c.id]);return this._byId[a.id]=a,this._byCid[a.cid]=a,this.models.splice(b.at!=null?b.at:this.comparator?this.sortedIndex(a,this.comparator):this.length,0,a),a.bind("all",this._onModelEvent),this.length++,b.silent||a.trigger("add",a,this,b),a},_remove:function(a,b){return b||(b={}),a=this.getByCid(a)||this.get(a),a?(delete this._byId[a.id],delete this._byCid[a.cid],this.models.splice(this.indexOf(a),1),this.length--,b.silent||a.trigger("remove",a,this,b),this._removeReference(a),a):null},_removeReference:function(a){this==a.collection&&delete a.collection,a.unbind("all",this._onModelEvent)},_onModelEvent:function(a,b,c,d){(a=="add"||a=="remove")&&c!=this||(a=="destroy"&&this._remove(b,d),b&&a==="change:"+b.idAttribute&&(delete this._byId[b.previous(b.idAttribute)],this._byId[b.id]=b),this.trigger.apply(this,arguments))}}),d.each(["forEach","each","map","reduce","reduceRight","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","sortBy","sortedIndex","toArray","size","first","rest","last","without","indexOf","lastIndexOf","isEmpty","groupBy"],function(a){c.Collection.prototype[a]=function(){return d[a].apply(d,[this.models].concat(d.toArray(arguments)))}}),c.Router=function(a){a||(a={}),a.routes&&(this.routes=a.routes),this._bindRoutes(),this.initialize.apply(this,arguments)};var f=/:([\w\d]+)/g,g=/\*([\w\d]+)/g,h=/[-[\]{}()+?.,\\^$|#\s]/g;d.extend(c.Router.prototype,c.Events,{initialize:function(){},route:function(a,b,e){c.history||(c.history=new c.History),d.isRegExp(a)||(a=this._routeToRegExp(a)),c.history.route(a,d.bind(function(c){c=this._extractParameters(a,c),e.apply(this,c),this.trigger.apply(this,["route:"+b].concat(c))},this))},navigate:function(a,b){c.history.navigate(a,b)},_bindRoutes:function(){if(this.routes){var a=[],b;for(b in this.routes)a.unshift([b,this.routes[b]]);b=0;for(var c=a.length;b<c;b++)this.route(a[b][0],a[b][1],this[a[b][1]])}},_routeToRegExp:function(a){return a=a.replace(h,"\\$&").replace(f,"([^/]*)").replace(g,"(.*?)"),RegExp("^"+a+"$")},_extractParameters:function(a,b){return a.exec(b).slice(1)}}),c.History=function(){this.handlers=[],d.bindAll(this,"checkUrl")};var i=/^#*/,j=/msie [\w.]+/,k=!1;d.extend(c.History.prototype,{interval:50,getFragment:function(a,b){if(a==null)if(this._hasPushState||b){a=window.location.pathname;var c=window.location.search;c&&(a+=c),a.indexOf(this.options.root)==0&&(a=a.substr(this.options.root.length))}else a=window.location.hash;return decodeURIComponent(a.replace(i,""))},start:function(a){if(k)throw Error("Backbone.history has already been started");this.options=d.extend({},{root:"/"},this.options,a),this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.options.pushState||!window.history||!window.history.pushState),a=this.getFragment();var b=document.documentMode;if(b=j.exec(navigator.userAgent.toLowerCase())&&(!b||b<=7))this.iframe=e('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow,this.navigate(a);this._hasPushState?e(window).bind("popstate",this.checkUrl):"onhashchange"in window&&!b?e(window).bind("hashchange",this.checkUrl):setInterval(this.checkUrl,this.interval),this.fragment=a,k=!0,a=window.location,b=a.pathname==this.options.root;if(this._wantsPushState&&!this._hasPushState&&!b)return this.fragment=this.getFragment(null,!0),window.location.replace(this.options.root+"#"+this.fragment),!0;this._wantsPushState&&this._hasPushState&&b&&a.hash&&(this.fragment=a.hash.replace(i,""),window.history.replaceState({},document.title,a.protocol+"//"+a.host+this.options.root+this.fragment));if(!this.options.silent)return this.loadUrl()},route:function(a,b){this.handlers.unshift({route:a,callback:b})},checkUrl:function(){var a=this.getFragment();a==this.fragment&&this.iframe&&(a=this.getFragment(this.iframe.location.hash));if(a==this.fragment||a==decodeURIComponent(this.fragment))return!1;this.iframe&&this.navigate(a),this.loadUrl()||this.loadUrl(window.location.hash)},loadUrl:function(a){var b=this.fragment=this.getFragment(a);return d.any(this.handlers,function(a){if(a.route.test(b))return a.callback(b),!0})},navigate:function(a,b){var c=(a||"").replace(i,"");if(this.fragment!=c&&this.fragment!=decodeURIComponent(c)){if(this._hasPushState){var d=window.location;c.indexOf(this.options.root)!=0&&(c=this.options.root+c),this.fragment=c,window.history.pushState({},document.title,d.protocol+"//"+d.host+c)}else if(window.location.hash=this.fragment=c,this.iframe&&c!=this.getFragment(this.iframe.location.hash))this.iframe.document.open().close(),this.iframe.location.hash=c;b&&this.loadUrl(a)}}}),c.View=function(a){this.cid=d.uniqueId("view"),this._configure(a||{}),this._ensureElement(),this.delegateEvents(),this.initialize.apply(this,arguments)};var l=/^(\S+)\s*(.*)$/,m=["model","collection","el","id","attributes","className","tagName"];d.extend(c.View.prototype,c.Events,{tagName:"div",$:function(a){return e(a,this.el)},initialize:function(){},render:function(){return this},remove:function(){return e(this.el).remove(),this},make:function(a,b,c){return a=document.createElement(a),b&&e(a).attr(b),c&&e(a).html(c),a},delegateEvents:function(a){if(a||(a=this.events))for(var b in d.isFunction(a)&&(a=a.call(this)),e(this.el).unbind(".delegateEvents"+this.cid),a){var c=this[a[b]];if(!c)throw Error('Event "'+a[b]+'" does not exist');var f=b.match(l),g=f[1];f=f[2],c=d.bind(c,this),g+=".delegateEvents"+this.cid,f===""?e(this.el).bind(g,c):e(this.el).delegate(f,g,c)}},_configure:function(a){this.options&&(a=d.extend({},this.options,a));for(var b=0,c=m.length;b<c;b++){var e=m[b];a[e]&&(this[e]=a[e])}this.options=a},_ensureElement:function(){if(this.el)d.isString(this.el)&&(this.el=e(this.el).get(0));else{var a=this.attributes||{};this.id&&(a.id=this.id),this.className&&(a["class"]=this.className),this.el=this.make(this.tagName,a)}}}),c.Model.extend=c.Collection.extend=c.Router.extend=c.View.extend=function(a,b){var c=p(this,a,b);return c.extend=this.extend,c};var n={create:"POST",update:"PUT","delete":"DELETE",read:"GET"};c.sync=function(a,b,f){var g=n[a];return f=d.extend({type:g,dataType:"json"},f),f.url||(f.url=q(b)||r()),!f.data&&b&&(a=="create"||a=="update")&&(f.contentType="application/json",f.data=JSON.stringify(b.toJSON())),c.emulateJSON&&(f.contentType="application/x-www-form-urlencoded",f.data=f.data?{model:f.data}:{}),c.emulateHTTP&&(g==="PUT"||g==="DELETE")&&(c.emulateJSON&&(f.data._method=g),f.type="POST",f.beforeSend=function(a){a.setRequestHeader("X-HTTP-Method-Override",g)}),f.type!=="GET"&&!c.emulateJSON&&(f.processData=!1),e.ajax(f)};var o=function(){},p=function(a,b,c){var e;return e=b&&b.hasOwnProperty("constructor")?b.constructor:function(){return a.apply(this,arguments)},d.extend(e,a),o.prototype=a.prototype,e.prototype=new o,b&&d.extend(e.prototype,b),c&&d.extend(e,c),e.prototype.constructor=e,e.__super__=a.prototype,e},q=function(a){return!a||!a.url?null:d.isFunction(a.url)?a.url():a.url},r=function(){throw Error('A "url" property or function must be specified')},s=function(a,b,c){return function(d){a?a(b,d,c):b.trigger("error",b,d,c)}}})).call(this)
View
BIN public/assets/backbone.min.js.gz
Binary file not shown.
View
0 public/assets/dashboard-1c9609bc58b1e77c196de29021583379.css
No changes.
View
BIN public/assets/dashboard-1c9609bc58b1e77c196de29021583379.css.gz
Binary file not shown.
View
1 public/assets/dashboard-d6c03004c3644316b353c7381326118a.js
@@ -1 +0,0 @@
-((function(){})).call(this)
View
BIN public/assets/dashboard-d6c03004c3644316b353c7381326118a.js.gz
Binary file not shown.
View
0 public/assets/dashboard.css
No changes.
View
BIN public/assets/dashboard.css.gz
Binary file not shown.
View
1 public/assets/dashboard.js
@@ -1 +0,0 @@
-((function(){})).call(this)
View
BIN public/assets/dashboard.js.gz
Binary file not shown.
View
0 public/assets/ie-1c9609bc58b1e77c196de29021583379.css
No changes.
View
BIN public/assets/ie-1c9609bc58b1e77c196de29021583379.css.gz
Binary file not shown.
View
0 public/assets/ie.css
No changes.
View
BIN public/assets/ie.css.gz
Binary file not shown.
View
26 public/assets/manifest.yml
@@ -1,26 +0,0 @@
----
-rails-behaviors.rb: rails-behaviors-d6e77eb838380405e78024c15dd190e3.rb
-rails.js: rails-7e00d2017b4a3a64e0a9a092c514df0a.js
-rails/accept.js: rails/accept-3b3573fcae90e7b2c409735ec34b8417.js
-rails/beforesend.js: rails/beforesend-7aa41079bf42ed4918cfbfc3341b2560.js
-rails/behaviors.rb: rails/behaviors-23b6818609a3164b9962b625e06820cb.rb
-rails/confirm.js: rails/confirm-4b55445b0a3ce11333ad73b3cd6f5dce.js
-rails/csrf.js: rails/csrf-bb5020cfde96b011c1376c54d2577352.js
-rails/disable.js: rails/disable-838a500f2c1456243ae086dddd1f8409.js
-rails/method.js: rails/method-66ebe91c119263be1e347abfa046f1b0.js
-rails/remote.js: rails/remote-dba9d27f2361f96b5985eae2212506a6.js
-rails/remote_submit.js: rails/remote_submit-7120d631e998fa83c058994dfdc52e50.js
-rails.png: rails-e4b51606cd77fda2615e7439907bfc92.png
-application.js: application-5fd52112727518dbb9c411acd363ba81.js
-backbone.min.js: backbone.min-f0545aab7a89eecf83fe4af0641e1e1c.js
-dashboard.js: dashboard-d6c03004c3644316b353c7381326118a.js
-modernizr.custom.js: modernizr.custom-9173fb0a42819727f38dfc0bbbeb3bde.js
-sessions.js: sessions-d6c03004c3644316b353c7381326118a.js
-underscore.min.js: underscore.min-225efbcec73dc547e368958dfe23bda4.js
-zepto.min.js: zepto.min-638522b4bc32354b032dfd1ac06fae5a.js
-application.css: application-60ff844acbe7295deb5ae54f06bf8bd9.css
-dashboard.css: dashboard-1c9609bc58b1e77c196de29021583379.css
-ie.css: ie-1c9609bc58b1e77c196de29021583379.css
-print.css: print-1c9609bc58b1e77c196de29021583379.css
-screen.css: screen-60ff844acbe7295deb5ae54f06bf8bd9.css
-sessions.css: sessions-a63123147e67760616b46be435a44188.css
View
4 public/assets/modernizr.custom-9173fb0a42819727f38dfc0bbbeb3bde.js
@@ -1,4 +0,0 @@
-/* Modernizr 2.0.6 (Custom Build) | MIT & BSD
- * Build: http://www.modernizr.com/download/#-fontface-boxshadow-flexbox-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-csstransitions-applicationcache-hashchange-history-localstorage-sessionstorage-touch-iepp-cssclasses-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
- */
-window.Modernizr=function(a,b,c){function d(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+v.join(c+" ")+c).split(" ");return e(d,b)}function e(a,b){for(var d in a)if(q[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function f(a,b){return!!~(""+a).indexOf(b)}function g(a,b){return typeof a===b}function h(a,b){return i(u.join(a+";")+(b||""))}function i(a){q.cssText=a}var j="2.0.6",k={},l=!0,m=b.documentElement,n=b.head||b.getElementsByTagName("head")[0],o="modernizr",p=b.createElement(o),q=p.style,r,s=":)",t=Object.prototype.toString,u=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),v="Webkit Moz O ms Khtml".split(" "),w={},x={},y={},z=[],A=function(a,c,d,e){var f,g,h,i=b.createElement("div");if(parseInt(d,10))while(d--)h=b.createElement("div"),h.id=e?e[d]:o+(d+1),i.appendChild(h);return f=["&shy;","<style>",a,"</style>"].join(""),i.id=o,i.innerHTML+=f,m.appendChild(i),g=c(i,a),i.parentNode.removeChild(i),!!g},B=function(){function a(a,e){e=e||b.createElement(d[a]||"div"),a="on"+a;var f=a in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(a,""),f=g(e[a],"function"),g(e[a],c)||(e[a]=c),e.removeAttribute(a))),e=null,f}var d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return a}(),C,D={}.hasOwnProperty,E;!g(D,c)&&!g(D.call,c)?E=function(a,b){return D.call(a,b)}:E=function(a,b){return b in a&&g(a.constructor.prototype[b],c)};var F=function(c,d){var e=c.join(""),f=d.length;A(e,function(c,d){var e=b.styleSheets[b.styleSheets.length-1],g=e.cssRules&&e.cssRules[0]?e.cssRules[0].cssText:e.cssText||"",h=c.childNodes,i={};while(f--)i[h[f].id]=h[f];k.touch="ontouchstart"in a||i.touch.offsetTop===9,k.generatedcontent=i.generatedcontent.offsetHeight>=1,k.fontface=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0},f,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",u.join("touch-enabled),("),o,")","{#touch{top:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',s,'";visibility:hidden}'].join("")],["fontface","touch","generatedcontent"]);w.flexbox=function(){function a(a,b,c,d){a.style.cssText=u.join(b+":"+c+";")+(d||"")}function c(a,b,c,d){b+=":",a.style.cssText=(b+u.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");c(d,"display","box","width:42px;padding:0;"),a(e,"box-flex","1","width:10px;"),d.appendChild(e),m.appendChild(d);var f=e.offsetWidth===42;return d.removeChild(e),m.removeChild(d),f},w.touch=function(){return k.touch},w.hashchange=function(){return B("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},w.history=function(){return!!a.history&&!!history.pushState},w.rgba=function(){return i("background-color:rgba(150,255,150,.5)"),f(q.backgroundColor,"rgba")},w.multiplebgs=function(){return i("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(q.background)},w.boxshadow=function(){return d("boxShadow")},w.textshadow=function(){return b.createElement("div").style.textShadow===""},w.opacity=function(){return h("opacity:.55"),/^0.55$/.test(q.opacity)},w.cssanimations=function(){return d("animationName")},w.csscolumns=function(){return d("columnCount")},w.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return i((a+u.join(b+a)+u.join(c+a)).slice(0,-a.length)),f(q.backgroundImage,"gradient")},w.csstransitions=function(){return d("transitionProperty")},w.fontface=function(){return k.fontface},w.generatedcontent=function(){return k.generatedcontent},w.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}},w.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}},w.applicationcache=function(){return!!a.applicationCache};for(var G in w)E(w,G)&&(C=G.toLowerCase(),k[C]=w[G](),z.push((k[C]?"":"no-")+C));return i(""),p=r=null,a.attachEvent&&function(){var a=b.createElement("div");return a.innerHTML="<elem></elem>",a.childNodes.length!==1}()&&function(a,b){function d(a){var b=-1;while(++b<h)a.createElement(g[b])}a.iepp=a.iepp||{};var e=a.iepp,f=e.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",g=f.split("|"),h=g.length,i=new RegExp("(^|\\s)("+f+")","gi"),j=new RegExp("<(/*)("+f+")","gi"),k=/^\s*[\{\}]\s*$/,l=new RegExp("(^|[^\\n]*?\\s)("+f+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),m=b.createDocumentFragment(),n=b.documentElement,o=n.firstChild,p=b.createElement("body"),q=b.createElement("style"),r=/print|all/,s;e.getCSS=function(a,b){if(a+""===c)return"";var d=-1,f=a.length,g,h=[];while(++d<f){g=a[d];if(g.disabled)continue;b=g.media||b,r.test(b)&&h.push(e.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},e.parseCSS=function(a){var b=[],c;while((c=l.exec(a))!=null)b.push(((k.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(i,"$1.iepp_$2")+c[4]);return b.join("\n")},e.writeHTML=function(){var a=-1;s=s||b.body;while(++a<h){var c=b.getElementsByTagName(g[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+g[a])}m.appendChild(s),n.appendChild(p),p.className=s.className,p.id=s.id,p.innerHTML=s.innerHTML.replace(j,"<$1font")},e._beforePrint=function(){q.styleSheet.cssText=e.parseCSS(e.getCSS(b.styleSheets,"all")),e.writeHTML()},e.restoreHTML=function(){p.innerHTML="",n.removeChild(p),n.appendChild(s)},e._afterPrint=function(){e.restoreHTML(),q.styleSheet.cssText=""},d(b),d(m),e.disablePP||(o.insertBefore(q,o.firstChild),q.media="print",q.className="iepp-printshim",a.attachEvent("onbeforeprint",e._beforePrint),a.attachEvent("onafterprint",e._afterPrint))}(a,b),k._version=j,k._prefixes=u,k._domPrefixes=v,k.hasEvent=B,k.testProp=function(a){return e([a])},k.testAllProps=d,k.testStyles=A,m.className=m.className.replace(/\bno-js\b/,"")+(l?" js "+z.join(" "):""),k}(this,this.document),function(a,b,c){function d(a){return!a||a=="loaded"||a=="complete"}function e(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&h()}function f(a){var c=b.createElement("script"),f;c.src=a.s,c.onreadystatechange=c.onload=function(){!f&&d(c.readyState)&&(f=1,e(),c.onload=c.onreadystatechange=null)},m(function(){f||(f=1,e())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function g(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e&&(w||r)){var f=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,e()):f(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){e()},0)):f(a)}},0)};f(c)}else c.onload=function(){d||(d=1,m(function(){e()},0))},a.e&&c.onload();m(function(){d||(d=1,e())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function h(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?g(a):f(a)},0):(a(),e()):q=0}function i(a,c,f,g,i,j){function k(){!o&&d(l.readyState)&&(r.r=o=1,!q&&e(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:f,s:c,e:j};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=f),l.onload=l.onreadystatechange=k,a=="img"?l.onerror=k:a=="script"&&(l.onerror=function(){r.e=r.r=1,h()}),p.splice(g,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,e())},H.errorTimeout)}function j(a,b,c){var d=b=="c"?z:y;return q=0,b=b||"j",C(a)?i(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&h()),this}function k(){var a=H;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function b(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function d(a,d,e,f,g){var h=b(a),i=h.autoCallback;if(!h.bypass){d&&(d=D(d)?d:d[a]||d[f]||d[a.split("/").pop().split("?")[0]]);if(h.instead)return h.instead(a,d,e,f,g);e.load(h.url,h.forceCSS||!h.forceJS&&/css$/.test(h.url)?"c":c,h.noexec),(D(d)||D(i))&&e.load(function(){k(),d&&d(h.origUrl,g,f),i&&i(h.origUrl,g,f)})}}function e(a,b){function c(a){if(C(a))d(a,h,b,0,e);else if(B(a))for(i in a)a.hasOwnProperty(i)&&d(a[i],h,b,i,e)}var e=!!a.test,f=e?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var f,g,h=this.yepnope.loader;if(C(a))d(a,0,h,0);else if(A(a))for(f=0;f<a.length;f++)g=a[f],C(g)?d(g,0,h,0):A(g)?H(g):B(g)&&e(g,h);else B(a)&&e(a,h)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=k()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}
View
BIN public/assets/modernizr.custom-9173fb0a42819727f38dfc0bbbeb3bde.js.gz
Binary file not shown.
View
4 public/assets/modernizr.custom.js
@@ -1,4 +0,0 @@
-/* Modernizr 2.0.6 (Custom Build) | MIT & BSD
- * Build: http://www.modernizr.com/download/#-fontface-boxshadow-flexbox-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-csstransitions-applicationcache-hashchange-history-localstorage-sessionstorage-touch-iepp-cssclasses-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
- */
-window.Modernizr=function(a,b,c){function d(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+v.join(c+" ")+c).split(" ");return e(d,b)}function e(a,b){for(var d in a)if(q[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function f(a,b){return!!~(""+a).indexOf(b)}function g(a,b){return typeof a===b}function h(a,b){return i(u.join(a+";")+(b||""))}function i(a){q.cssText=a}var j="2.0.6",k={},l=!0,m=b.documentElement,n=b.head||b.getElementsByTagName("head")[0],o="modernizr",p=b.createElement(o),q=p.style,r,s=":)",t=Object.prototype.toString,u=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),v="Webkit Moz O ms Khtml".split(" "),w={},x={},y={},z=[],A=function(a,c,d,e){var f,g,h,i=b.createElement("div");if(parseInt(d,10))while(d--)h=b.createElement("div"),h.id=e?e[d]:o+(d+1),i.appendChild(h);return f=["&shy;","<style>",a,"</style>"].join(""),i.id=o,i.innerHTML+=f,m.appendChild(i),g=c(i,a),i.parentNode.removeChild(i),!!g},B=function(){function a(a,e){e=e||b.createElement(d[a]||"div"),a="on"+a;var f=a in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(a,""),f=g(e[a],"function"),g(e[a],c)||(e[a]=c),e.removeAttribute(a))),e=null,f}var d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return a}(),C,D={}.hasOwnProperty,E;!g(D,c)&&!g(D.call,c)?E=function(a,b){return D.call(a,b)}:E=function(a,b){return b in a&&g(a.constructor.prototype[b],c)};var F=function(c,d){var e=c.join(""),f=d.length;A(e,function(c,d){var e=b.styleSheets[b.styleSheets.length-1],g=e.cssRules&&e.cssRules[0]?e.cssRules[0].cssText:e.cssText||"",h=c.childNodes,i={};while(f--)i[h[f].id]=h[f];k.touch="ontouchstart"in a||i.touch.offsetTop===9,k.generatedcontent=i.generatedcontent.offsetHeight>=1,k.fontface=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0},f,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",u.join("touch-enabled),("),o,")","{#touch{top:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',s,'";visibility:hidden}'].join("")],["fontface","touch","generatedcontent"]);w.flexbox=function(){function a(a,b,c,d){a.style.cssText=u.join(b+":"+c+";")+(d||"")}function c(a,b,c,d){b+=":",a.style.cssText=(b+u.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");c(d,"display","box","width:42px;padding:0;"),a(e,"box-flex","1","width:10px;"),d.appendChild(e),m.appendChild(d);var f=e.offsetWidth===42;return d.removeChild(e),m.removeChild(d),f},w.touch=function(){return k.touch},w.hashchange=function(){return B("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},w.history=function(){return!!a.history&&!!history.pushState},w.rgba=function(){return i("background-color:rgba(150,255,150,.5)"),f(q.backgroundColor,"rgba")},w.multiplebgs=function(){return i("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(q.background)},w.boxshadow=function(){return d("boxShadow")},w.textshadow=function(){return b.createElement("div").style.textShadow===""},w.opacity=function(){return h("opacity:.55"),/^0.55$/.test(q.opacity)},w.cssanimations=function(){return d("animationName")},w.csscolumns=function(){return d("columnCount")},w.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return i((a+u.join(b+a)+u.join(c+a)).slice(0,-a.length)),f(q.backgroundImage,"gradient")},w.csstransitions=function(){return d("transitionProperty")},w.fontface=function(){return k.fontface},w.generatedcontent=function(){return k.generatedcontent},w.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}},w.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}},w.applicationcache=function(){return!!a.applicationCache};for(var G in w)E(w,G)&&(C=G.toLowerCase(),k[C]=w[G](),z.push((k[C]?"":"no-")+C));return i(""),p=r=null,a.attachEvent&&function(){var a=b.createElement("div");return a.innerHTML="<elem></elem>",a.childNodes.length!==1}()&&function(a,b){function d(a){var b=-1;while(++b<h)a.createElement(g[b])}a.iepp=a.iepp||{};var e=a.iepp,f=e.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",g=f.split("|"),h=g.length,i=new RegExp("(^|\\s)("+f+")","gi"),j=new RegExp("<(/*)("+f+")","gi"),k=/^\s*[\{\}]\s*$/,l=new RegExp("(^|[^\\n]*?\\s)("+f+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),m=b.createDocumentFragment(),n=b.documentElement,o=n.firstChild,p=b.createElement("body"),q=b.createElement("style"),r=/print|all/,s;e.getCSS=function(a,b){if(a+""===c)return"";var d=-1,f=a.length,g,h=[];while(++d<f){g=a[d];if(g.disabled)continue;b=g.media||b,r.test(b)&&h.push(e.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},e.parseCSS=function(a){var b=[],c;while((c=l.exec(a))!=null)b.push(((k.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(i,"$1.iepp_$2")+c[4]);return b.join("\n")},e.writeHTML=function(){var a=-1;s=s||b.body;while(++a<h){var c=b.getElementsByTagName(g[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+g[a])}m.appendChild(s),n.appendChild(p),p.className=s.className,p.id=s.id,p.innerHTML=s.innerHTML.replace(j,"<$1font")},e._beforePrint=function(){q.styleSheet.cssText=e.parseCSS(e.getCSS(b.styleSheets,"all")),e.writeHTML()},e.restoreHTML=function(){p.innerHTML="",n.removeChild(p),n.appendChild(s)},e._afterPrint=function(){e.restoreHTML(),q.styleSheet.cssText=""},d(b),d(m),e.disablePP||(o.insertBefore(q,o.firstChild),q.media="print",q.className="iepp-printshim",a.attachEvent("onbeforeprint",e._beforePrint),a.attachEvent("onafterprint",e._afterPrint))}(a,b),k._version=j,k._prefixes=u,k._domPrefixes=v,k.hasEvent=B,k.testProp=function(a){return e([a])},k.testAllProps=d,k.testStyles=A,m.className=m.className.replace(/\bno-js\b/,"")+(l?" js "+z.join(" "):""),k}(this,this.document),function(a,b,c){function d(a){return!a||a=="loaded"||a=="complete"}function e(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&h()}function f(a){var c=b.createElement("script"),f;c.src=a.s,c.onreadystatechange=c.onload=function(){!f&&d(c.readyState)&&(f=1,e(),c.onload=c.onreadystatechange=null)},m(function(){f||(f=1,e())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function g(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e&&(w||r)){var f=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,e()):f(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){e()},0)):f(a)}},0)};f(c)}else c.onload=function(){d||(d=1,m(function(){e()},0))},a.e&&c.onload();m(function(){d||(d=1,e())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function h(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?g(a):f(a)},0):(a(),e()):q=0}function i(a,c,f,g,i,j){function k(){!o&&d(l.readyState)&&(r.r=o=1,!q&&e(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:f,s:c,e:j};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=f),l.onload=l.onreadystatechange=k,a=="img"?l.onerror=k:a=="script"&&(l.onerror=function(){r.e=r.r=1,h()}),p.splice(g,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,e())},H.errorTimeout)}function j(a,b,c){var d=b=="c"?z:y;return q=0,b=b||"j",C(a)?i(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&h()),this}function k(){var a=H;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function b(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function d(a,d,e,f,g){var h=b(a),i=h.autoCallback;if(!h.bypass){d&&(d=D(d)?d:d[a]||d[f]||d[a.split("/").pop().split("?")[0]]);if(h.instead)return h.instead(a,d,e,f,g);e.load(h.url,h.forceCSS||!h.forceJS&&/css$/.test(h.url)?"c":c,h.noexec),(D(d)||D(i))&&e.load(function(){k(),d&&d(h.origUrl,g,f),i&&i(h.origUrl,g,f)})}}function e(a,b){function c(a){if(C(a))d(a,h,b,0,e);else if(B(a))for(i in a)a.hasOwnProperty(i)&&d(a[i],h,b,i,e)}var e=!!a.test,f=e?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var f,g,h=this.yepnope.loader;if(C(a))d(a,0,h,0);else if(A(a))for(f=0;f<a.length;f++)g=a[f],C(g)?d(g,0,h,0):A(g)?H(g):B(g)&&e(g,h);else B(a)&&e(a,h)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=k()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}
View
BIN public/assets/modernizr.custom.js.gz
Binary file not shown.
View
0 public/assets/print-1c9609bc58b1e77c196de29021583379.css
No changes.
View
BIN public/assets/print-1c9609bc58b1e77c196de29021583379.css.gz
Binary file not shown.
View
0 public/assets/print.css
No changes.
View
BIN public/assets/print.css.gz
Binary file not shown.
View
8 public/assets/rails-7e00d2017b4a3a64e0a9a092c514df0a.js
@@ -1,8 +0,0 @@
-/**
- * Rails Behaviors v0.1.1
- * https://github.com/josh/rails-behaviors
- *
- * Copyright 2011, Joshua Peek
- * Released under the MIT License
- */
-$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}}),$(document).bind("ajaxBeforeSend",function(a,b,c){if(!c.dataType)return b.setRequestHeader("Accept","*/*;q=0.5, "+c.accepts.script)}),$(document).delegate("a[data-confirm]","click",function(a){var b;if(b=$(this).attr("data-confirm"))if(!confirm(b))return a.stopImmediatePropagation(),!1}),$(document).bind("ajaxBeforeSend",function(a,b,c){var d;if(c.crossDomain)return;if(c.type==="GET")return;if(d=$('meta[name="csrf-token"]').attr("content"))return b.setRequestHeader("X-CSRF-Token",d)}),$(document).delegate("form","submit",function(a){var b,c,d,e;b=$(this);if(b.is("form[data-remote]"))return;if(b.attr("method").toUpperCase()==="GET")return;d=$('meta[name="csrf-param"]').attr("content"),e=$('meta[name="csrf-token"]').attr("content"),d!=null&&e!=null&&(b.find("input[name="+d+"]")[0]||(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",e),b.prepend(c)))}),$(document).delegate("form","submit",function(){var a,b,c,d,e,f,g,h,i;h=$(this).find("input[type=submit][data-disable-with]");for(d=0,f=h.length;d<f;d++)b=h[d],b=$(b),b.attr("data-enable-with",b.val()||"Submit"),(c=b.attr("data-disable-with"))&&b.val(c),b[0].disabled=!0;i=$(this).find("button[type=submit][data-disable-with]");for(e=0,g=i.length;e<g;e++)a=i[e],a=$(a),a.attr("data-enable-with",a.html()||""),(c=a.attr("data-disable-with"))&&a.html(c),a[0].disabled=!0}),$(document).delegate("form","ajaxComplete",function(){var a,b,c,d,e,f,g,h;g=$(this).find("input[type=submit][data-enable-with]");for(c=0,e=g.length;c<e;c++)b=g[c],$(b).val($(b).attr("data-enable-with")),b.disabled=!1;h=$(this).find("button[type=submit][data-enable-with]");for(d=0,f=h.length;d<f;d++)a=h[d],$(a).html($(a).attr("data-enable-with")),a.disabled=!1}),$(document).delegate("a[data-method]","click",function(a){var b,c,d,e;b=$(this);if(b.is("a[data-remote]"))return;e=b.attr("data-method").toLowerCase();if(e==="get")return;return c=document.createElement("form"),c.method="POST",c.action=b.attr("href"),c.style.display="none",e!=="post"&&(d=document.createElement("input"),d.setAttribute("type","hidden"),d.setAttribute("name","_method"),d.setAttribute("value",e),c.appendChild(d)),document.body.appendChild(c),$(c).submit(),a.preventDefault(),!1}),$(document).delegate("a[data-remote]","click",function(a){var b,c,d,e,f;c=$(this),d={},d.context=this;if(e=c.attr("data-method"))d.type=e;if(f=c.attr("href"))d.url=f;if(b=c.attr("data-type"))d.dataType=b;return $.ajax(d),a.preventDefault(),!1}),$(document).delegate("form[data-remote]","submit",function(a){var b,c,d,e,f,g;d=$(this),e={},e.context=this;if(f=d.attr("method"))e.type=f;if(g=d.attr("action"))e.url=g;if(b=d.serializeArray())e.data=b;if(c=d.attr("data-type"))e.dataType=c;return $.ajax(e),a.preventDefault(),!1}),function(){var a;a="form[data-remote] input[type=submit],\nform[data-remote] button[type=submit],\nform[data-remote] button:not([type])",$(document).delegate(a,"click",function(){var a,b,c,d,e,f;e=$(this),b=e.closest("form"),c=b.find(".js-submit-button-value"),(d=e.attr("name"))?(a=e.is("input[type=submit]")?"Submit":"",f=e.val()||a,c[0]?(c.attr("name",d),c.attr("value",f)):(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",f),c.setAttribute("class","js-submit-button-value"),b.prepend(c))):c.remove()})}.call(this)
View
BIN public/assets/rails-7e00d2017b4a3a64e0a9a092c514df0a.js.gz
Binary file not shown.
View
1 public/assets/rails-behaviors-d6e77eb838380405e78024c15dd190e3.rb
@@ -1 +0,0 @@
-require 'rails/behaviors'
View
1 public/assets/rails-behaviors.rb
@@ -1 +0,0 @@
-require 'rails/behaviors'
View
BIN public/assets/rails-e4b51606cd77fda2615e7439907bfc92.png
Deleted file not rendered
View
8 public/assets/rails.js
@@ -1,8 +0,0 @@
-/**
- * Rails Behaviors v0.1.1
- * https://github.com/josh/rails-behaviors
- *
- * Copyright 2011, Joshua Peek
- * Released under the MIT License
- */
-$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}}),$(document).bind("ajaxBeforeSend",function(a,b,c){if(!c.dataType)return b.setRequestHeader("Accept","*/*;q=0.5, "+c.accepts.script)}),$(document).delegate("a[data-confirm]","click",function(a){var b;if(b=$(this).attr("data-confirm"))if(!confirm(b))return a.stopImmediatePropagation(),!1}),$(document).bind("ajaxBeforeSend",function(a,b,c){var d;if(c.crossDomain)return;if(c.type==="GET")return;if(d=$('meta[name="csrf-token"]').attr("content"))return b.setRequestHeader("X-CSRF-Token",d)}),$(document).delegate("form","submit",function(a){var b,c,d,e;b=$(this);if(b.is("form[data-remote]"))return;if(b.attr("method").toUpperCase()==="GET")return;d=$('meta[name="csrf-param"]').attr("content"),e=$('meta[name="csrf-token"]').attr("content"),d!=null&&e!=null&&(b.find("input[name="+d+"]")[0]||(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",e),b.prepend(c)))}),$(document).delegate("form","submit",function(){var a,b,c,d,e,f,g,h,i;h=$(this).find("input[type=submit][data-disable-with]");for(d=0,f=h.length;d<f;d++)b=h[d],b=$(b),b.attr("data-enable-with",b.val()||"Submit"),(c=b.attr("data-disable-with"))&&b.val(c),b[0].disabled=!0;i=$(this).find("button[type=submit][data-disable-with]");for(e=0,g=i.length;e<g;e++)a=i[e],a=$(a),a.attr("data-enable-with",a.html()||""),(c=a.attr("data-disable-with"))&&a.html(c),a[0].disabled=!0}),$(document).delegate("form","ajaxComplete",function(){var a,b,c,d,e,f,g,h;g=$(this).find("input[type=submit][data-enable-with]");for(c=0,e=g.length;c<e;c++)b=g[c],$(b).val($(b).attr("data-enable-with")),b.disabled=!1;h=$(this).find("button[type=submit][data-enable-with]");for(d=0,f=h.length;d<f;d++)a=h[d],$(a).html($(a).attr("data-enable-with")),a.disabled=!1}),$(document).delegate("a[data-method]","click",function(a){var b,c,d,e;b=$(this);if(b.is("a[data-remote]"))return;e=b.attr("data-method").toLowerCase();if(e==="get")return;return c=document.createElement("form"),c.method="POST",c.action=b.attr("href"),c.style.display="none",e!=="post"&&(d=document.createElement("input"),d.setAttribute("type","hidden"),d.setAttribute("name","_method"),d.setAttribute("value",e),c.appendChild(d)),document.body.appendChild(c),$(c).submit(),a.preventDefault(),!1}),$(document).delegate("a[data-remote]","click",function(a){var b,c,d,e,f;c=$(this),d={},d.context=this;if(e=c.attr("data-method"))d.type=e;if(f=c.attr("href"))d.url=f;if(b=c.attr("data-type"))d.dataType=b;return $.ajax(d),a.preventDefault(),!1}),$(document).delegate("form[data-remote]","submit",function(a){var b,c,d,e,f,g;d=$(this),e={},e.context=this;if(f=d.attr("method"))e.type=f;if(g=d.attr("action"))e.url=g;if(b=d.serializeArray())e.data=b;if(c=d.attr("data-type"))e.dataType=c;return $.ajax(e),a.preventDefault(),!1}),function(){var a;a="form[data-remote] input[type=submit],\nform[data-remote] button[type=submit],\nform[data-remote] button:not([type])",$(document).delegate(a,"click",function(){var a,b,c,d,e,f;e=$(this),b=e.closest("form"),c=b.find(".js-submit-button-value"),(d=e.attr("name"))?(a=e.is("input[type=submit]")?"Submit":"",f=e.val()||a,c[0]?(c.attr("name",d),c.attr("value",f)):(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",f),c.setAttribute("class","js-submit-button-value"),b.prepend(c))):c.remove()})}.call(this)
View
BIN public/assets/rails.js.gz
Binary file not shown.
View
BIN public/assets/rails.png
Deleted file not rendered
View
1 public/assets/rails/accept-3b3573fcae90e7b2c409735ec34b8417.js
@@ -1 +0,0 @@
-$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}}),$(document).bind("ajaxBeforeSend",function(a,b,c){if(!c.dataType)return b.setRequestHeader("Accept","*/*;q=0.5, "+c.accepts.script)})
View
BIN public/assets/rails/accept-3b3573fcae90e7b2c409735ec34b8417.js.gz
Binary file not shown.
View
1 public/assets/rails/accept.js
@@ -1 +0,0 @@
-$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}}),$(document).bind("ajaxBeforeSend",function(a,b,c){if(!c.dataType)return b.setRequestHeader("Accept","*/*;q=0.5, "+c.accepts.script)})
View
BIN public/assets/rails/accept.js.gz
Binary file not shown.
View
1 public/assets/rails/beforesend-7aa41079bf42ed4918cfbfc3341b2560.js
@@ -1 +0,0 @@
-$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}})
View
BIN public/assets/rails/beforesend-7aa41079bf42ed4918cfbfc3341b2560.js.gz
Binary file not shown.
View
1 public/assets/rails/beforesend.js
@@ -1 +0,0 @@
-$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}})
View
BIN public/assets/rails/beforesend.js.gz
Binary file not shown.
View
23 public/assets/rails/behaviors-23b6818609a3164b9962b625e06820cb.rb
@@ -1,23 +0,0 @@
-module Rails
- module Behaviors
- PATH = File.expand_path("../..", __FILE__)
- VERSION = File.readlines("#{PATH}/rails.js")[1][/v([\d\.]+)$/,1]
-
- # Exposes JS load path for Sprockets.
- #
- # Assets.append_path Rails::Behaviors.path
- #
- def self.path
- PATH
- end
-
- # BS for Rails
- if defined? ::Rails::Railtie
- class Railtie < ::Rails::Railtie
- initializer "rails.behaviors" do |app|
- app.assets.append_path Behaviors.path
- end
- end
- end
- end
-end
View
23 public/assets/rails/behaviors.rb
@@ -1,23 +0,0 @@
-module Rails
- module Behaviors
- PATH = File.expand_path("../..", __FILE__)
- VERSION = File.readlines("#{PATH}/rails.js")[1][/v([\d\.]+)$/,1]
-
- # Exposes JS load path for Sprockets.
- #
- # Assets.append_path Rails::Behaviors.path
- #
- def self.path
- PATH
- end
-
- # BS for Rails
- if defined? ::Rails::Railtie
- class Railtie < ::Rails::Railtie
- initializer "rails.behaviors" do |app|
- app.assets.append_path Behaviors.path
- end
- end
- end
- end
-end
View
1 public/assets/rails/confirm-4b55445b0a3ce11333ad73b3cd6f5dce.js
@@ -1 +0,0 @@
-$(document).delegate("a[data-confirm]","click",function(a){var b;if(b=$(this).attr("data-confirm"))if(!confirm(b))return a.stopImmediatePropagation(),!1})
View
BIN public/assets/rails/confirm-4b55445b0a3ce11333ad73b3cd6f5dce.js.gz
Binary file not shown.
View
1 public/assets/rails/confirm.js
@@ -1 +0,0 @@
-$(document).delegate("a[data-confirm]","click",function(a){var b;if(b=$(this).attr("data-confirm"))if(!confirm(b))return a.stopImmediatePropagation(),!1})
View
BIN public/assets/rails/confirm.js.gz
Binary file not shown.
View
1 public/assets/rails/csrf-bb5020cfde96b011c1376c54d2577352.js
@@ -1 +0,0 @@
-$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}}),$(document).bind("ajaxBeforeSend",function(a,b,c){var d;if(c.crossDomain)return;if(c.type==="GET")return;if(d=$('meta[name="csrf-token"]').attr("content"))return b.setRequestHeader("X-CSRF-Token",d)}),$(document).delegate("form","submit",function(a){var b,c,d,e;b=$(this);if(b.is("form[data-remote]"))return;if(b.attr("method").toUpperCase()==="GET")return;d=$('meta[name="csrf-param"]').attr("content"),e=$('meta[name="csrf-token"]').attr("content"),d!=null&&e!=null&&(b.find("input[name="+d+"]")[0]||(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",e),b.prepend(c)))})
View
BIN public/assets/rails/csrf-bb5020cfde96b011c1376c54d2577352.js.gz
Binary file not shown.
View
1 public/assets/rails/csrf.js
@@ -1 +0,0 @@
-$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}}),$(document).bind("ajaxBeforeSend",function(a,b,c){var d;if(c.crossDomain)return;if(c.type==="GET")return;if(d=$('meta[name="csrf-token"]').attr("content"))return b.setRequestHeader("X-CSRF-Token",d)}),$(document).delegate("form","submit",function(a){var b,c,d,e;b=$(this);if(b.is("form[data-remote]"))return;if(b.attr("method").toUpperCase()==="GET")return;d=$('meta[name="csrf-param"]').attr("content"),e=$('meta[name="csrf-token"]').attr("content"),d!=null&&e!=null&&(b.find("input[name="+d+"]")[0]||(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",e),b.prepend(c)))})
View
BIN public/assets/rails/csrf.js.gz
Binary file not shown.
View
1 public/assets/rails/disable-838a500f2c1456243ae086dddd1f8409.js
@@ -1 +0,0 @@
-$(document).delegate("form","submit",function(){var a,b,c,d,e,f,g,h,i;h=$(this).find("input[type=submit][data-disable-with]");for(d=0,f=h.length;d<f;d++)b=h[d],b=$(b),b.attr("data-enable-with",b.val()||"Submit"),(c=b.attr("data-disable-with"))&&b.val(c),b[0].disabled=!0;i=$(this).find("button[type=submit][data-disable-with]");for(e=0,g=i.length;e<g;e++)a=i[e],a=$(a),a.attr("data-enable-with",a.html()||""),(c=a.attr("data-disable-with"))&&a.html(c),a[0].disabled=!0}),$(document).delegate("form","ajaxComplete",function(){var a,b,c,d,e,f,g,h;g=$(this).find("input[type=submit][data-enable-with]");for(c=0,e=g.length;c<e;c++)b=g[c],$(b).val($(b).attr("data-enable-with")),b.disabled=!1;h=$(this).find("button[type=submit][data-enable-with]");for(d=0,f=h.length;d<f;d++)a=h[d],$(a).html($(a).attr("data-enable-with")),a.disabled=!1})
View
BIN public/assets/rails/disable-838a500f2c1456243ae086dddd1f8409.js.gz
Binary file not shown.
View
1 public/assets/rails/disable.js
@@ -1 +0,0 @@
-$(document).delegate("form","submit",function(){var a,b,c,d,e,f,g,h,i;h=$(this).find("input[type=submit][data-disable-with]");for(d=0,f=h.length;d<f;d++)b=h[d],b=$(b),b.attr("data-enable-with",b.val()||"Submit"),(c=b.attr("data-disable-with"))&&b.val(c),b[0].disabled=!0;i=$(this).find("button[type=submit][data-disable-with]");for(e=0,g=i.length;e<g;e++)a=i[e],a=$(a),a.attr("data-enable-with",a.html()||""),(c=a.attr("data-disable-with"))&&a.html(c),a[0].disabled=!0}),$(document).delegate("form","ajaxComplete",function(){var a,b,c,d,e,f,g,h;g=$(this).find("input[type=submit][data-enable-with]");for(c=0,e=g.length;c<e;c++)b=g[c],$(b).val($(b).attr("data-enable-with")),b.disabled=!1;h=$(this).find("button[type=submit][data-enable-with]");for(d=0,f=h.length;d<f;d++)a=h[d],$(a).html($(a).attr("data-enable-with")),a.disabled=!1})
View
BIN public/assets/rails/disable.js.gz
Binary file not shown.
View
1 public/assets/rails/method-66ebe91c119263be1e347abfa046f1b0.js
@@ -1 +0,0 @@
-$(document).delegate("a[data-method]","click",function(a){var b,c,d,e;b=$(this);if(b.is("a[data-remote]"))return;e=b.attr("data-method").toLowerCase();if(e==="get")return;return c=document.createElement("form"),c.method="POST",c.action=b.attr("href"),c.style.display="none",e!=="post"&&(d=document.createElement("input"),d.setAttribute("type","hidden"),d.setAttribute("name","_method"),d.setAttribute("value",e),c.appendChild(d)),document.body.appendChild(c),$(c).submit(),a.preventDefault(),!1})
View
BIN public/assets/rails/method-66ebe91c119263be1e347abfa046f1b0.js.gz
Binary file not shown.
View
1 public/assets/rails/method.js
@@ -1 +0,0 @@
-$(document).delegate("a[data-method]","click",function(a){var b,c,d,e;b=$(this);if(b.is("a[data-remote]"))return;e=b.attr("data-method").toLowerCase();if(e==="get")return;return c=document.createElement("form"),c.method="POST",c.action=b.attr("href"),c.style.display="none",e!=="post"&&(d=document.createElement("input"),d.setAttribute("type","hidden"),d.setAttribute("name","_method"),d.setAttribute("value",e),c.appendChild(d)),document.body.appendChild(c),$(c).submit(),a.preventDefault(),!1})
View
BIN public/assets/rails/method.js.gz
Binary file not shown.
View
1 public/assets/rails/remote-dba9d27f2361f96b5985eae2212506a6.js
@@ -1 +0,0 @@
-$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}}),$(document).delegate("a[data-remote]","click",function(a){var b,c,d,e,f;c=$(this),d={},d.context=this;if(e=c.attr("data-method"))d.type=e;if(f=c.attr("href"))d.url=f;if(b=c.attr("data-type"))d.dataType=b;return $.ajax(d),a.preventDefault(),!1}),$(document).delegate("form[data-remote]","submit",function(a){var b,c,d,e,f,g;d=$(this),e={},e.context=this;if(f=d.attr("method"))e.type=f;if(g=d.attr("action"))e.url=g;if(b=d.serializeArray())e.data=b;if(c=d.attr("data-type"))e.dataType=c;return $.ajax(e),a.preventDefault(),!1})
View
BIN public/assets/rails/remote-dba9d27f2361f96b5985eae2212506a6.js.gz
Binary file not shown.
View
1 public/assets/rails/remote.js
@@ -1 +0,0 @@
-$.ajaxSetup&&$.ajaxSetup({beforeSend:function(a,b){var c,d;if(!b.global)return;return c=b.context||document,d=$.Event("ajaxBeforeSend"),$(c).trigger(d,[a,b]),d.result}}),$(document).delegate("a[data-remote]","click",function(a){var b,c,d,e,f;c=$(this),d={},d.context=this;if(e=c.attr("data-method"))d.type=e;if(f=c.attr("href"))d.url=f;if(b=c.attr("data-type"))d.dataType=b;return $.ajax(d),a.preventDefault(),!1}),$(document).delegate("form[data-remote]","submit",function(a){var b,c,d,e,f,g;d=$(this),e={},e.context=this;if(f=d.attr("method"))e.type=f;if(g=d.attr("action"))e.url=g;if(b=d.serializeArray())e.data=b;if(c=d.attr("data-type"))e.dataType=c;return $.ajax(e),a.preventDefault(),!1})
View
BIN public/assets/rails/remote.js.gz
Binary file not shown.
View
1 public/assets/rails/remote_submit-7120d631e998fa83c058994dfdc52e50.js
@@ -1 +0,0 @@
-((function(){var a;a="form[data-remote] input[type=submit],\nform[data-remote] button[type=submit],\nform[data-remote] button:not([type])",$(document).delegate(a,"click",function(){var a,b,c,d,e,f;e=$(this),b=e.closest("form"),c=b.find(".js-submit-button-value"),(d=e.attr("name"))?(a=e.is("input[type=submit]")?"Submit":"",f=e.val()||a,c[0]?(c.attr("name",d),c.attr("value",f)):(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",f),c.setAttribute("class","js-submit-button-value"),b.prepend(c))):c.remove()})})).call(this)
View
BIN public/assets/rails/remote_submit-7120d631e998fa83c058994dfdc52e50.js.gz
Binary file not shown.
View
1 public/assets/rails/remote_submit.js
@@ -1 +0,0 @@
-((function(){var a;a="form[data-remote] input[type=submit],\nform[data-remote] button[type=submit],\nform[data-remote] button:not([type])",$(document).delegate(a,"click",function(){var a,b,c,d,e,f;e=$(this),b=e.closest("form"),c=b.find(".js-submit-button-value"),(d=e.attr("name"))?(a=e.is("input[type=submit]")?"Submit":"",f=e.val()||a,c[0]?(c.attr("name",d),c.attr("value",f)):(c=document.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name",d),c.setAttribute("value",f),c.setAttribute("class","js-submit-button-value"),b.prepend(c))):c.remove()})})).call(this)
View
BIN public/assets/rails/remote_submit.js.gz
Binary file not shown.
View
1 public/assets/screen-60ff844acbe7295deb5ae54f06bf8bd9.css
@@ -1 +0,0 @@
-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}body{font-family:"Open Sans",Helvetica,Arial,sans-serif;text-shadow:#aaa 0px 0px 1px}body .clear{clear:both;float:none}body section.main{-moz-box-shadow:0px 0px 5px #333;-webkit-box-shadow:0px 0px 5px #333;-o-box-shadow:0px 0px 5px #333;box-shadow:0px 0px 5px #333;width:1000px;margin:10px auto 0;-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}body section.main header{padding:10px}body section.main header > *{display:inline-block}body section.main header .right{display:inline;float:right}body section.main .content{padding:10px}body section.main footer{font-size:14px;text-align:right;padding:5px 10px}
View
BIN public/assets/screen-60ff844acbe7295deb5ae54f06bf8bd9.css.gz
Binary file not shown.
View
1 public/assets/screen.css
@@ -1 +0,0 @@
-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}body{font-family:"Open Sans",Helvetica,Arial,sans-serif;text-shadow:#aaa 0px 0px 1px}body .clear{clear:both;float:none}body section.main{-moz-box-shadow:0px 0px 5px #333;-webkit-box-shadow:0px 0px 5px #333;-o-box-shadow:0px 0px 5px #333;box-shadow:0px 0px 5px #333;width:1000px;margin:10px auto 0;-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}body section.main header{padding:10px}body section.main header > *{display:inline-block}body section.main header .right{display:inline;float:right}body section.main .content{padding:10px}body section.main footer{font-size:14px;text-align:right;padding:5px 10px}
View
BIN public/assets/screen.css.gz
Binary file not shown.
View
1 public/assets/sessions-a63123147e67760616b46be435a44188.css
@@ -1 +0,0 @@
-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}body{font-family:"Open Sans",Helvetica,Arial,sans-serif;text-shadow:#aaa 0px 0px 1px}body section.main{width:1000px;margin:auto}body section.main section{width:400px;margin:150px auto 0;padding:15px;border:1px solid #ddd;background-color:#ccc;-moz-box-shadow:0px 0px 5px #333;-webkit-box-shadow:0px 0px 5px #333;-o-box-shadow:0px 0px 5px #333;box-shadow:0px 0px 5px #333;-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}body section.main section h1{font-size:22px;padding:20px 0}body section.main section form .field label{display:block}body section.main section form .field input{font-size:16px;width:100%;margin:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}#flash{width:100%}#flash div{text-align:center;padding:10px 0}#flash div.alert,#flash div.error{border-top:1px solid red;border-bottom:1px solid red;border-left:none;border-right:none;background-color:pink}
View
BIN public/assets/sessions-a63123147e67760616b46be435a44188.css.gz
Binary file not shown.
View
1 public/assets/sessions-d6c03004c3644316b353c7381326118a.js
@@ -1 +0,0 @@
-((function(){})).call(this)
View
BIN public/assets/sessions-d6c03004c3644316b353c7381326118a.js.gz
Binary file not shown.
View
1 public/assets/sessions.css
@@ -1 +0,0 @@
-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}body{font-family:"Open Sans",Helvetica,Arial,sans-serif;text-shadow:#aaa 0px 0px 1px}body section.main{width:1000px;margin:auto}body section.main section{width:400px;margin:150px auto 0;padding:15px;border:1px solid #ddd;background-color:#ccc;-moz-box-shadow:0px 0px 5px #333;-webkit-box-shadow:0px 0px 5px #333;-o-box-shadow:0px 0px 5px #333;box-shadow:0px 0px 5px #333;-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}body section.main section h1{font-size:22px;padding:20px 0}body section.main section form .field label{display:block}body section.main section form .field input{font-size:16px;width:100%;margin:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}#flash{width:100%}#flash div{text-align:center;padding:10px 0}#flash div.alert,#flash div.error{border-top:1px solid red;border-bottom:1px solid red;border-left:none;border-right:none;background-color:pink}
View
BIN public/assets/sessions.css.gz
Binary file not shown.
View
1 public/assets/sessions.js
@@ -1 +0,0 @@
-((function(){})).call(this)
View
BIN public/assets/sessions.js.gz
Binary file not shown.
View
8 public/assets/underscore.min-225efbcec73dc547e368958dfe23bda4.js
@@ -1,8 +0,0 @@
-// Underscore.js 1.2.3
-// (c) 2009-2011 Jeremy Ashkenas, DocumentCloud Inc.
-// Underscore is freely distributable under the MIT license.
-// Portions of Underscore are inspired or borrowed from Prototype,
-// Oliver Steele's Functional, and John Resig's Micro-Templating.
-// For all details and documentation:
-// http://documentcloud.github.com/underscore
-((function(){function a(b,c,d){if(b===c)return b!==0||1/b==1/c;if(b==null||c==null)return b===c;b._chain&&(b=b._wrapped),c._chain&&(c=c._wrapped);if(b.isEqual&&w.isFunction(b.isEqual))return b.isEqual(c);if(c.isEqual&&w.isFunction(c.isEqual))return c.isEqual(b);var e=j.call(b);if(e!=j.call(c))return!1;switch(e){case"[object String]":return b==String(c);case"[object Number]":return b!=+b?c!=+c:b==0?1/b==1/c:b==+c;case"[object Date]":case"[object Boolean]":return+b==+c;case"[object RegExp]":return b.source==c.source&&b.global==c.global&&b.multiline==c.multiline&&b.ignoreCase==c.ignoreCase}if(typeof b!="object"||typeof c!="object")return!1;for(var f=d.length;f--;)if(d[f]==b)return!0;d.push(b);var f=0,g=!0;if(e=="[object Array]"){if(f=b.length,g=f==c.length)for(;f--;)if(!(g=f in b==f in c&&a(b[f],c[f],d)))break}else{if("constructor"in b!="constructor"in c||b.constructor!=c.constructor)return!1;for(var h in b)if(k.call(b,h)&&(f++,!(g=k.call(c,h)&&a(b[h],c[h],d))))break;if(g){for(h in c)if(k.call(c,h)&&!(f--))break;g=!f}}return d.pop(),g}var b=this,c=b._,d={},e=Array.prototype,f=Object.prototype,g=e.slice,h=e.concat,i=e.unshift,j=f.toString,k=f.hasOwnProperty,l=e.forEach,m=e.map,n=e.reduce,o=e.reduceRight,p=e.filter,q=e.every,r=e.some,s=e.indexOf,t=e.lastIndexOf,f=Array.isArray,u=Object.keys,v=Function.prototype.bind,w=function(a){return new B(a)};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=w),exports._=w):typeof define=="function"&&define.amd?define("underscore",function(){return w}):b._=w,w.VERSION="1.2.3";var x=w.each=w.forEach=function(a,b,c){if(a!=null)if(l&&a.forEach===l)a.forEach(b,c);else if(a.length===+a.length){for(var e=0,f=a.length;e<f;e++)if(e in a&&b.call(c,a[e],e,a)===d)break}else for(e in a)if(k.call(a,e)&&b.call(c,a[e],e,a)===d)break};w.map=function(a,b,c){var d=[];return a==null?d:m&&a.map===m?a.map(b,c):(x(a,function(a,e,f){d[d.length]=b.call(c,a,e,f)}),d)},w.reduce=w.foldl=w.inject=function(a,b,c,d){var e=arguments.length>2;a==null&&(a=[]);if(n&&a.reduce===n)return d&&(b=w.bind(b,d)),e?a.reduce(b,c):a.reduce(b);x(a,function(a,f,g){e?c=b.call(d,c,a,f,g):(c=a,e=!0)});if(!e)throw new TypeError("Reduce of empty array with no initial value");return c},w.reduceRight=w.foldr=function(a,b,c,d){var e=arguments.length>2;a==null&&(a=[]);if(o&&a.reduceRight===o)return d&&(b=w.bind(b,d)),e?a.reduceRight(b,c):a.reduceRight(b);var f=w.toArray(a).reverse();return d&&!e&&(b=w.bind(b,d)),e?w.reduce(f,b,c,d):w.reduce(f,b)},w.find=w.detect=function(a,b,c){var d;return y(a,function(a,e,f){if(b.call(c,a,e,f))return d=a,!0}),d},w.filter=w.select=function(a,b,c){var d=[];return a==null?d:p&&a.filter===p?a.filter(b,c):(x(a,function(a,e,f){b.call(c,a,e,f)&&(d[d.length]=a)}),d)},w.reject=function(a,b,c){var d=[];return a==null?d:(x(a,function(a,e,f){b.call(c,a,e,f)||(d[d.length]=a)}),d)},w.every=w.all=function(a,b,c){var e=!0;return a==null?e:q&&a.every===q?a.every(b,c):(x(a,function(a,f,g){if(!(e=e&&b.call(c,a,f,g)))return d}),e)};var y=w.some=w.any=function(a,b,c){b||(b=w.identity);var e=!1;return a==null?e:r&&a.some===r?a.some(b,c):(x(a,function(a,f,g){if(e||(e=b.call(c,a,f,g)))return d}),!!e)};w.include=w.contains=function(a,b){var c=!1;return a==null?c:s&&a.indexOf===s?a.indexOf(b)!=-1:c=y(a,function(a){return a===b})},w.invoke=function(a,b){var c=g.call(arguments,2);return w.map(a,function(a){return(b.call?b||a:a[b]).apply(a,c)})},w.pluck=function(a,b){return w.map(a,function(a){return a[b]})},w.max=function(a,b,c){if(!b&&w.isArray(a))return Math.max.apply(Math,a);if(!b&&w.isEmpty(a))return-Infinity;var d={computed:-Infinity};return x(a,function(a,e,f){e=b?b.call(c,a,e,f):a,e>=d.computed&&(d={value:a,computed:e})}),d.value},w.min=function(a,b,c){if(!b&&w.isArray(a))return Math.min.apply(Math,a);if(!b&&w.isEmpty(a))return Infinity;var d={computed:Infinity};return x(a,function(a,e,f){e=b?b.call(c,a,e,f):a,e<d.computed&&(d={value:a,computed:e})}),d.value},w.shuffle=function(a){var b=[],c;return x(a,function(a,d){d==0?b[0]=a:(c=Math.floor(Math.random()*(d+1)),b[d]=b[c],b[c]=a)}),b},w.sortBy=function(a,b,c){return w.pluck(w.map(a,function(a,d,e){return{value:a,criteria:b.call(c,a,d,e)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")},w.groupBy=function(a,b){var c={},d=w.isFunction(b)?b:function(a){return a[b]};return x(a,function(a,b){var e=d(a,b);(c[e]||(c[e]=[])).push(a)}),c},w.sortedIndex=function(a,b,c){c||(c=w.identity);for(var d=0,e=a.length;d<e;){var f=d+e>>1;c(a[f])<c(b)?d=f+1:e=f}return d},w.toArray=function(a){return a?a.toArray?a.toArray():w.isArray(a)?g.call(a):w.isArguments(a)?g.call(a):w.values(a):[]},w.size=function(a){return w.toArray(a).length},w.first=w.head=function(a,b,c){return b!=null&&!c?g.call(a,0,b):a[0]},w.initial=function(a,b,c){return g.call(a,0,a.length-(b==null||c?1:b))},w.last=function(a,b,c){return b!=null&&!c?g.call(a,Math.max(a.length-b,0)):a[a.length-1]},w.rest=w.tail=function(a,b,c){return g.call(a,b==null||c?1:b)},w.compact=function(a){return w.filter(a,function(a){return!!a})},w.flatten=function(a,b){return w.reduce(a,function(a,c){return w.isArray(c)?a.concat(b?c:w.flatten(c)):(a[a.length]=c,a)},[])},w.without=function(a){return w.difference(a,g.call(arguments,1))},w.uniq=w.unique=function(a,b,c){var c=c?w.map(a,c):a,d=[];return w.reduce(c,function(c,e,f){if(0==f||(b===!0?w.last(c)!=e:!w.include(c,e)))c[c.length]=e,d[d.length]=a[f];return c},[]),d},w.union=function(){return w.uniq(w.flatten(arguments,!0))},w.intersection=w.intersect=function(a){var b=g.call(arguments,1);return w.filter(w.uniq(a),function(a){return w.every(b,function(b){return w.indexOf(b,a)>=0})})},w.difference=function(a){var b=w.flatten(g.call(arguments,1));return w.filter(a,function(a){return!w.include(b,a)})},w.zip=function(){for(var a=g.call(arguments),b=w.max(w.pluck(a,"length")),c=Array(b),d=0;d<b;d++)c[d]=w.pluck(a,""+d);return c},w.indexOf=function(a,b,c){if(a==null)return-1;var d;if(c)return c=w.sortedIndex(a,b),a[c]===b?c:-1;if(s&&a.indexOf===s)return a.indexOf(b);for(c=0,d=a.length;c<d;c++)if(c in a&&a[c]===b)return c;return-1},w.lastIndexOf=function(a,b){if(a==null)return-1;if(t&&a.lastIndexOf===t)return a.lastIndexOf(b);for(var c=a.length;c--;)if(c in a&&a[c]===b)return c;return-1},w.range=function(a,b,c){arguments.length<=1&&(b=a||0,a=0);for(var c=arguments[2]||1,d=Math.max(Math.ceil((b-a)/c),0),e=0,f=Array(d);e<d;)f[e++]=a,a+=c;return f};var z=function(){};w.bind=function(a,b){var c,d;if(a.bind===v&&v)return v.apply(a,g.call(arguments,1));if(!w.isFunction(a))throw new TypeError;return d=g.call(arguments,2),c=function(){if(this instanceof c){z.prototype=a.prototype;var e=new z,f=a.apply(e,d.concat(g.call(arguments)));return Object(f)===f?f:e}return a.apply(b,d.concat(g.call(arguments)))}},w.bindAll=function(a){var b=g.call(arguments,1);return b.length==0&&(b=w.functions(a)),x(b,function(b){a[b]=w.bind(a[b],a)}),a},w.memoize=function(a,b){var c={};return b||(b=w.identity),function(){var d=b.apply(this,arguments);return k.call(c,d)?c[d]:c[d]=a.apply(this,arguments)}},w.delay=function(a,b){var c=g.call(arguments,2);return setTimeout(function(){return a.apply(a,c)},b)},w.defer=function(a){return w.delay.apply(w,[a,1].concat(g.call(arguments,1)))},w.throttle=function(a,b){var c,d,e,f,g,h=w.debounce(function(){g=f=!1},b);return function(){c=this,d=arguments;var i;e||(e=setTimeout(function(){e=null,g&&a.apply(c,d),h()},b)),f?g=!0:a.apply(c,d),h(),f=!0}},w.debounce=function(a,b){var c;return function(){var d=this,e=arguments;clearTimeout(c),c=setTimeout(function(){c=null,a.apply(d,e)},b)}},w.once=function(a){var b=!1,c;return function(){return b?c:(b=!0,c=a.apply(this,arguments))}},w.wrap=function(a,b){return function(){var c=h.apply([a],arguments);return b.apply(this,c)}},w.compose=function(){var a=arguments;return function(){for(var b=arguments,c=a.length-1;c>=0;c--)b=[a[c].apply(this,b)];return b[0]}},w.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}},w.keys=u||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var b=[],c;for(c in a)k.call(a,c)&&(b[b.length]=c);return b},w.values=function(a){return w.map(a,w.identity)},w.functions=w.methods=function(a){var b=[],c;for(c in a)w.isFunction(a[c])&&b.push(c);return b.sort()},w.extend=function(a){return x(g.call(arguments,1),function(b){for(var c in b)b[c]!==void 0&&(a[c]=b[c])}),a},w.defaults=function(a){return x(g.call(arguments,1),function(b){for(var c in b)a[c]==null&&(a[c]=b[c])}),a},w.clone=function(a){return w.isObject(a)?w.isArray(a)?a.slice():w.extend({},a):a},w.tap=function(a,b){return b(a),a},w.isEqual=function(b,c){return a(b,c,[])},w.isEmpty=function(a){if(w.isArray(a)||w.isString(a))return a.length===0;for(var b in a)if(k.call(a,b))return!1;return!0},w.isElement=function(a){return!!a&&a.nodeType==1},w.isArray=f||function(a){return j.call(a)=="[object Array]"},w.isObject=function(a){return a===Object(a)},w.isArguments=function(a){return j.call(a)=="[object Arguments]"},w.isArguments(arguments)||(w.isArguments=function(a){return!!a&&!!k.call(a,"callee")}),w.isFunction=function(a){return j.call(a)=="[object Function]"},w.isString=function(a){return j.call(a)=="[object String]"},w.isNumber=function(a){return j.call(a)=="[object Number]"},w.isNaN=function(a){return a!==a},w.isBoolean=function(a){return a===!0||a===!1||j.call(a)=="[object Boolean]"},w.isDate=function(a){return j.call(a)=="[object Date]"},w.isRegExp=function(a){return j.call(a)=="[object RegExp]"},w.isNull=function(a){return a===null},w.isUndefined=function(a){return a===void 0},w.noConflict=function(){return b._=c,this},w.identity=function(a){return a},w.times=function(a,b,c){for(var d=0;d<a;d++)b.call(c,d)},w.escape=function(a){return(""+a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")},w.mixin=function(a){x(w.functions(a),function(b){D(b,w[b]=a[b])})};var A=0;w.uniqueId=function(a){var b=A++;return a?a+b:b},w.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},w.template=function(a,b){var c=w.templateSettings,c="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(c.escape,function(a,b){return"',_.escape("+b.replace(/\\'/g,"'")+"),'"}).replace(c.interpolate,function(a,b){return"',"+b.replace(/\\'/g,"'")+",'"}).replace(c.evaluate||null,function(a,b){return"');"+b.replace(/\\'/g,"'").replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",d=new Function("obj","_",c);return b?d(b,w):function(a){return d.call(this,a,w)}};var B=function(a){this._wrapped=a};w.prototype=B.prototype;var C=function(a,b){return b?w(a).chain():a},D=function(a,b){B.prototype[a]=function(){var a=g.call(arguments);return i.call(a,this._wrapped),C(b.apply(w,a),this._chain)}};w.mixin(w),x("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=e[a];B.prototype[a]=function(){return b.apply(this._wrapped,arguments),C(this._wrapped,this._chain)}}),x(["concat","join","slice"],function(a){var b=e[a];B.prototype[a]=function(){return C(b.apply(this._wrapped,arguments),this._chain)}}),B.prototype.chain=function(){return this._chain=!0,this},B.prototype.value=function(){return this._wrapped}})).call(this)
View
BIN public/assets/underscore.min-225efbcec73dc547e368958dfe23bda4.js.gz
Binary file not shown.
View
8 public/assets/underscore.min.js
@@ -1,8 +0,0 @@
-// Underscore.js 1.2.3
-// (c) 2009-2011 Jeremy Ashkenas, DocumentCloud Inc.
-// Underscore is freely distributable under the MIT license.
-// Portions of Underscore are inspired or borrowed from Prototype,
-// Oliver Steele's Functional, and John Resig's Micro-Templating.
-// For all details and documentation:
-// http://documentcloud.github.com/underscore
-((function(){function a(b,c,d){if(b===c)return b!==0||1/b==1/c;if(b==null||c==null)return b===c;b._chain&&(b=b._wrapped),c._chain&&(c=c._wrapped);if(b.isEqual&&w.isFunction(b.isEqual))return b.isEqual(c);if(c.isEqual&&w.isFunction(c.isEqual))return c.isEqual(b);var e=j.call(b);if(e!=j.call(c))return!1;switch(e){case"[object String]":return b==String(c);case"[object Number]":return b!=+b?c!=+c:b==0?1/b==1/c:b==+c;case"[object Date]":case"[object Boolean]":return+b==+c;case"[object RegExp]":return b.source==c.source&&b.global==c.global&&b.multiline==c.multiline&&b.ignoreCase==c.ignoreCase}if(typeof b!="object"||typeof c!="object")return!1;for(var f=d.length;f--;)if(d[f]==b)return!0;d.push(b);var f=0,g=!0;if(e=="[object Array]"){if(f=b.length,g=f==c.length)for(;f--;)if(!(g=f in b==f in c&&a(b[f],c[f],d)))break}else{if("constructor"in b!="constructor"in c||b.constructor!=c.constructor)return!1;for(var h in b)if(k.call(b,h)&&(f++,!(g=k.call(c,h)&&a(b[h],c[h],d))))break;if(g){for(h in c)if(k.call(c,h)&&!(f--))break;g=!f}}return d.pop(),g}var b=this,c=b._,d={},e=Array.prototype,f=Object.prototype,g=e.slice,h=e.concat,i=e.unshift,j=f.toString,k=f.hasOwnProperty,l=e.forEach,m=e.map,n=e.reduce,o=e.reduceRight,p=e.filter,q=e.every,r=e.some,s=e.indexOf,t=e.lastIndexOf,f=Array.isArray,u=Object.keys,v=Function.prototype.bind,w=function(a){return new B(a)};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=w),exports._=w):typeof define=="function"&&define.amd?define("underscore",function(){return w}):b._=w,w.VERSION="1.2.3";var x=w.each=w.forEach=function(a,b,c){if(a!=null)if(l&&a.forEach===l)a.forEach(b,c);else if(a.length===+a.length){for(var e=0,f=a.length;e<f;e++)if(e in a&&b.call(c,a[e],e,a)===d)break}else for(e in a)if(k.call(a,e)&&b.call(c,a[e],e,a)===d)break};w.map=function(a,b,c){var d=[];return a==null?d:m&&a.map===m?a.map(b,c):(x(a,function(a,e,f){d[d.length]=b.call(c,a,e,f)}),d)},w.reduce=w.foldl=w.inject=function(a,b,c,d){var e=arguments.length>2;a==null&&(a=[]);if(n&&a.reduce===n)return d&&(b=w.bind(b,d)),e?a.reduce(b,c):a.reduce(b);x(a,function(a,f,g){e?c=b.call(d,c,a,f,g):(c=a,e=!0)});if(!e)throw new TypeError("Reduce of empty array with no initial value");return c},w.reduceRight=w.foldr=function(a,b,c,d){var e=arguments.length>2;a==null&&(a=[]);if(o&&a.reduceRight===o)return d&&(b=w.bind(b,d)),e?a.reduceRight(b,c):a.reduceRight(b);var f=w.toArray(a).reverse();return d&&!e&&(b=w.bind(b,d)),e?w.reduce(f,b,c,d):w.reduce(f,b)},w.find=w.detect=function(a,b,c){var d;return y(a,function(a,e,f){if(b.call(c,a,e,f))return d=a,!0}),d},w.filter=w.select=function(a,b,c){var d=[];return a==null?d:p&&a.filter===p?a.filter(b,c):(x(a,function(a,e,f){b.call(c,a,e,f)&&(d[d.length]=a)}),d)},w.reject=function(a,b,c){var d=[];return a==null?d:(x(a,function(a,e,f){b.call(c,a,e,f)||(d[d.length]=a)}),d)},w.every=w.all=function(a,b,c){var e=!0;return a==null?e:q&&a.every===q?a.every(b,c):(x(a,function(a,f,g){if(!(e=e&&b.call(c,a,f,g)))return d}),e)};var y=w.some=w.any=function(a,b,c){b||(b=w.identity);var e=!1;return a==null?e:r&&a.some===r?a.some(b,c):(x(a,function(a,f,g){if(e||(e=b.call(c,a,f,g)))return d}),!!e)};w.include=w.contains=function(a,b){var c=!1;return a==null?c:s&&a.indexOf===s?a.indexOf(b)!=-1:c=y(a,function(a){return a===b})},w.invoke=function(a,b){var c=g.call(arguments,2);return w.map(a,function(a){return(b.call?b||a:a[b]).apply(a,c)})},w.pluck=function(a,b){return w.map(a,function(a){return a[b]})},w.max=function(a,b,c){if(!b&&w.isArray(a))return Math.max.apply(Math,a);if(!b&&w.isEmpty(a))return-Infinity;var d={computed:-Infinity};return x(a,function(a,e,f){e=b?b.call(c,a,e,f):a,e>=d.computed&&(d={value:a,computed:e})}),d.value},w.min=function(a,b,c){if(!b&&w.isArray(a))return Math.min.apply(Math,a);if(!b&&w.isEmpty(a))return Infinity;var d={computed:Infinity};return x(a,function(a,e,f){e=b?b.call(c,a,e,f):a,e<d.computed&&(d={value:a,computed:e})}),d.value},w.shuffle=function(a){var b=[],c;return x(a,function(a,d){d==0?b[0]=a:(c=Math.floor(Math.random()*(d+1)),b[d]=b[c],b[c]=a)}),b},w.sortBy=function(a,b,c){return w.pluck(w.map(a,function(a,d,e){return{value:a,criteria:b.call(c,a,d,e)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")},w.groupBy=function(a,b){var c={},d=w.isFunction(b)?b:function(a){return a[b]};return x(a,function(a,b){var e=d(a,b);(c[e]||(c[e]=[])).push(a)}),c},w.sortedIndex=function(a,b,c){c||(c=w.identity);for(var d=0,e=a.length;d<e;){var f=d+e>>1;c(a[f])<c(b)?d=f+1:e=f}return d},w.toArray=function(a){return a?a.toArray?a.toArray():w.isArray(a)?g.call(a):w.isArguments(a)?g.call(a):w.values(a):[]},w.size=function(a){return w.toArray(a).length},w.first=w.head=function(a,b,c){return b!=null&&!c?g.call(a,0,b):a[0]},w.initial=function(a,b,c){return g.call(a,0,a.length-(b==null||c?1:b))},w.last=function(a,b,c){return b!=null&&!c?g.call(a,Math.max(a.length-b,0)):a[a.length-1]},w.rest=w.tail=function(a,b,c){return g.call(a,b==null||c?1:b)},w.compact=function(a){return w.filter(a,function(a){return!!a})},w.flatten=function(a,b){return w.reduce(a,function(a,c){return w.isArray(c)?a.concat(b?c:w.flatten(c)):(a[a.length]=c,a)},[])},w.without=function(a){return w.difference(a,g.call(arguments,1))},w.uniq=w.unique=function(a,b,c){var c=c?w.map(a,c):a,d=[];return w.reduce(c,function(c,e,f){if(0==f||(b===!0?w.last(c)!=e:!w.include(c,e)))c[c.length]=e,d[d.length]=a[f];return c},[]),d},w.union=function(){return w.uniq(w.flatten(arguments,!0))},w.intersection=w.intersect=function(a){var b=g.call(arguments,1);return w.filter(w.uniq(a),function(a){return w.every(b,function(b){return w.indexOf(b,a)>=0})})},w.difference=function(a){var b=w.flatten(g.call(arguments,1));return w.filter(a,function(a){return!w.include(b,a)})},w.zip=function(){for(var a=g.call(arguments),b=w.max(w.pluck(a,"length")),c=Array(b),d=0;d<b;d++)c[d]=w.pluck(a,""+d);return c},w.indexOf=function(a,b,c){if(a==null)return-1;var d;if(c)return c=w.sortedIndex(a,b),a[c]===b?c:-1;if(s&&a.indexOf===s)return a.indexOf(b);for(c=0,d=a.length;c<d;c++)if(c in a&&a[c]===b)return c;return-1},w.lastIndexOf=function(a,b){if(a==null)return-1;if(t&&a.lastIndexOf===t)return a.lastIndexOf(b);for(var c=a.length;c--;)if(c in a&&a[c]===b)return c;return-1},w.range=function(a,b,c){arguments.length<=1&&(b=a||0,a=0);for(var c=arguments[2]||1,d=Math.max(Math.ceil((b-a)/c),0),e=0,f=Array(d);e<d;)f[e++]=a,a+=c;return f};var z=function(){};w.bind=function(a,b){var c,d;if(a.bind===v&&v)return v.apply(a,g.call(arguments,1));if(!w.isFunction(a))throw new TypeError;return d=g.call(arguments,2),c=function(){if(this instanceof c){z.prototype=a.prototype;var e=new z,f=a.apply(e,d.concat(g.call(arguments)));return Object(f)===f?f:e}return a.apply(b,d.concat(g.call(arguments)))}},w.bindAll=function(a){var b=g.call(arguments,1);return b.length==0&&(b=w.functions(a)),x(b,function(b){a[b]=w.bind(a[b],a)}),a},w.memoize=function(a,b){var c={};return b||(b=w.identity),function(){var d=b.apply(this,arguments);return k.call(c,d)?c[d]:c[d]=a.apply(this,arguments)}},w.delay=function(a,b){var c=g.call(arguments,2);return setTimeout(function(){return a.apply(a,c)},b)},w.defer=function(a){return w.delay.apply(w,[a,1].concat(g.call(arguments,1)))},w.throttle=function(a,b){var c,d,e,f,g,h=w.debounce(function(){g=f=!1},b);return function(){c=this,d=arguments;var i;e||(e=setTimeout(function(){e=null,g&&a.apply(c,d),h()},b)),f?g=!0:a.apply(c,d),h(),f=!0}},w.debounce=function(a,b){var c;return function(){var d=this,e=arguments;clearTimeout(c),c=setTimeout(function(){c=null,a.apply(d,e)},b)}},w.once=function(a){var b=!1,c;return function(){return b?c:(b=!0,c=a.apply(this,arguments))}},w.wrap=function(a,b){return function(){var c=h.apply([a],arguments);return b.apply(this,c)}},w.compose=function(){var a=arguments;return function(){for(var b=arguments,c=a.length-1;c>=0;c--)b=[a[c].apply(this,b)];return b[0]}},w.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}},w.keys=u||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var b=[],c;for(c in a)k.call(a,c)&&(b[b.length]=c);return b},w.values=function(a){return w.map(a,w.identity)},w.functions=w.methods=function(a){var b=[],c;for(c in a)w.isFunction(a[c])&&b.push(c);return b.sort()},w.extend=function(a){return x(g.call(arguments,1),function(b){for(var c in b)b[c]!==void 0&&(a[c]=b[c])}),a},w.defaults=function(a){return x(g.call(arguments,1),function(b){for(var c in b)a[c]==null&&(a[c]=b[c])}),a},w.clone=function(a){return w.isObject(a)?w.isArray(a)?a.slice():w.extend({},a):a},w.tap=function(a,b){return b(a),a},w.isEqual=function(b,c){return a(b,c,[])},w.isEmpty=function(a){if(w.isArray(a)||w.isString(a))return a.length===0;for(var b in a)if(k.call(a,b))return!1;return!0},w.isElement=function(a){return!!a&&a.nodeType==1},w.isArray=f||function(a){return j.call(a)=="[object Array]"},w.isObject=function(a){return a===Object(a)},w.isArguments=function(a){return j.call(a)=="[object Arguments]"},w.isArguments(arguments)||(w.isArguments=function(a){return!!a&&!!k.call(a,"callee")}),w.isFunction=function(a){return j.call(a)=="[object Function]"},w.isString=function(a){return j.call(a)=="[object String]"},w.isNumber=function(a){return j.call(a)=="[object Number]"},w.isNaN=function(a){return a!==a},w.isBoolean=function(a){return a===!0||a===!1||j.call(a)=="[object Boolean]"},w.isDate=function(a){return j.call(a)=="[object Date]"},w.isRegExp=function(a){return j.call(a)=="[object RegExp]"},w.isNull=function(a){return a===null},w.isUndefined=function(a){return a===void 0},w.noConflict=function(){return b._=c,this},w.identity=function(a){return a},w.times=function(a,b,c){for(var d=0;d<a;d++)b.call(c,d)},w.escape=function(a){return(""+a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")},w.mixin=function(a){x(w.functions(a),function(b){D(b,w[b]=a[b])})};var A=0;w.uniqueId=function(a){var b=A++;return a?a+b:b},w.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},w.template=function(a,b){var c=w.templateSettings,c="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(c.escape,function(a,b){return"',_.escape("+b.replace(/\\'/g,"'")+"),'"}).replace(c.interpolate,function(a,b){return"',"+b.replace(/\\'/g,"'")+",'"}).replace(c.evaluate||null,function(a,b){return"');"+b.replace(/\\'/g,"'").replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",d=new Function("obj","_",c);return b?d(b,w):function(a){return d.call(this,a,w)}};var B=function(a){this._wrapped=a};w.prototype=B.prototype;var C=function(a,b){return b?w(a).chain():a},D=function(a,b){B.prototype[a]=function(){var a=g.call(arguments);return i.call(a,this._wrapped),C(b.apply(w,a),this._chain)}};w.mixin(w),x("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=e[a];B.prototype[a]=function(){return b.apply(this._wrapped,arguments),C(this._wrapped,this._chain)}}),x(["concat","join","slice"],function(a){var b=e[a];B.prototype[a]=function(){return C(b.apply(this._wrapped,arguments),this._chain)}}),B.prototype.chain=function(){return this._chain=!0,this},B.prototype.value=function(){return this._wrapped}})).call(this)
View
BIN public/assets/underscore.min.js.gz
Binary file not shown.
View
4 public/assets/zepto.min-638522b4bc32354b032dfd1ac06fae5a.js
@@ -1,4 +0,0 @@
-// Zepto.js
-// (c) 2010, 2011 Thomas Fuchs
-// Zepto.js may be freely distributed under the MIT license.
-(function(a){String.prototype.trim===a&&(String.prototype.trim=function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")}),Array.prototype.reduce===a&&(Array.prototype.reduce=function(b){if(this===void 0||this===null)throw new TypeError;var c=Object(this),d=c.length>>>0,e=0,f;if(typeof b!="function")throw new TypeError;if(d==0&&arguments.length==1)throw new TypeError;if(arguments.length>=2)f=arguments[1];else do{if(e in c){f=c[e++];break}if(++e>=d)throw new TypeError}while(!0);while(e<d)e in c&&(f=b.call(a,f,c[e],e,c)),e++;return f})})();var Zepto=function(){function a(a){return{}.toString.call(a)=="[object Function]"}function b(a){return a instanceof Object}function c(a){return a instanceof Array}function d(a){return typeof a.length=="number"}function e(a){return a.filter(function(a){return a!==t&&a!==null})}function f(a){return a.length>0?[].concat.apply([],a):a}function g(a){return a.replace(/-+(.)?/g,function(a,b){return b?b.toUpperCase():""})}function h(a){return a.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function i(a){return a.filter(function(a,b,c){return c.indexOf(a)==b})}function j(a){return a in B?B[a]:B[a]=new RegExp("(^|\\s)"+a+"(\\s|$)")}function k(a,b){return typeof b=="number"&&!D[h(a)]?b+"px":b}function l(a){var b,c;return A[a]||(b=z.createElement(a),z.body.appendChild(b),c=C(b,"").getPropertyValue("display"),b.parentNode.removeChild(b),c=="none"&&(c="block"),A[a]=c),A[a]}function m(a,b){b===t&&E.test(a)&&RegExp.$1,b in J||(b="*");var c=J[b];return c.innerHTML=""+a,y.call(c.childNodes)}function n(a,b){return a=a||x,a.__proto__=n.prototype,a.selector=b||"",a}function o(b,d){if(!b)return n();if(d!==t)return o(d).find(b);if(a(b))return o(z).ready(b);if(b instanceof n)return b;var f;return c(b)?f=e(b):F.indexOf(b.nodeType)>=0||b===window?(f=[b],b=null):E.test(b)?(f=m(b.trim(),RegExp.$1),b=null):b.nodeType&&b.nodeType==3?f=[b]:f=v(z,b),n(f,b)}function p(a,b){return b===t?o(a):o(a).filter(b)}function q(b,c,d,e){return a(c)?c.call(b,d,e):c}function r(a,b,c){var d=a%2?b:b.parentNode;d&&d.insertBefore(c,a?a==1?d.firstChild:a==2?b:null:b.nextSibling)}function s(a,b){b(a);for(var c in a.childNodes)s(a.childNodes[c],b)}var t,u,v,w,x=[],y=x.slice,z=window.document,A={},B={},C=z.defaultView.getComputedStyle,D={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},E=/^\s*<(\w+)[^>]*>/,F=[1,9,11],G=["after","prepend","before","append"],H=z.createElement("table"),I=z.createElement("tr"),J={tr:z.createElement("tbody"),tbody:H,thead:H,tfoot:H,td:I,th:I,"*":z.createElement("div")},K=/complete|loaded|interactive/,L=/^\.([\w-]+)$/,M=/^#([\w-]+)$/,N=/^[\w-]+$/;return o.extend=function(a){return y.call(arguments,1).forEach(function(b){for(u in b)a[u]=b[u]}),a},o.qsa=v=function(a,b){var c;return a===z&&M.test(b)?(c=a.getElementById(RegExp.$1))?[c]:x:y.call(L.test(b)?a.getElementsByClassName(RegExp.$1):N.test(b)?a.getElementsByTagName(b):a.querySelectorAll(b))},o.isFunction=a,o.isObject=b,o.isArray=c,o.map=function(a,b){var c,e=[],g,h;if(d(a))for(g=0;g<a.length;g++)c=b(a[g],g),c!=null&&e.push(c);else for(h in a)c=b(a[h],h),c!=null&&e.push(c);return f(e)},o.each=function(a,b){var c,e;if(d(a)){for(c=0;c<a.length;c++)if(b(c,a[c])===!1)return a}else for(e in a)if(b(e,a[e])===!1)return a;return a},o.fn={forEach:x.forEach,reduce:x.reduce,push:x.push,indexOf:x.indexOf,concat:x.concat,map:function(a){return o.map(this,function(b,c){return a.call(b,c,b)})},slice:function(){return o(y.apply(this,arguments))},ready:function(a){return K.test(z.readyState)?a(o):z.addEventListener("DOMContentLoaded",function(){a(o)},!1),this},get:function(a){return a===t?this:this[a]},size:function(){return this.length},remove:function(){return this.each(function(){this.parentNode!=null&&this.parentNode.removeChild(this)})},each:function(a){return this.forEach(function(b,c){a.call(b,c,b)}),this},filter:function(a){return o([].filter.call(this,function(b){return b.parentNode&&v(b.parentNode,a).indexOf(b)>=0}))},end:function(){return this.prevObject||o()},andSelf:function(){return this.add(this.prevObject||o())},add:function(a,b){return o(i(this.concat(o(a,b))))},is:function(a){return this.length>0&&o(this[0]).filter(a).length>0},not:function(b){var c=[];if(a(b)&&b.call!==t)this.each(function(a){b.call(this,a)||c.push(this)});else{var e=typeof b=="string"?this.filter(b):d(b)&&a(b.item)?y.call(b):o(b);this.forEach(function(a){e.indexOf(a)<0&&c.push(a)})}return o(c)},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){var a=this[0];return a&&!b(a)?a:o(a)},last:function(){var a=this[this.length-1];return a&&!b(a)?a:o(a)},find:function(a){var b;return this.length==1?b=v(this[0],a):b=this.map(function(){return v(this,a)}),o(b)},closest:function(a,b){var c=this[0],d=v(b||z,a);d.length||(c=null);while(c&&d.indexOf(c)<0)c=c!==b&&c!==z&&c.parentNode;return o(c)},parents:function(a){var b=[],c=this;while(c.length>0)c=o.map(c,function(a){if((a=a.parentNode)&&a!==z&&b.indexOf(a)<0)return b.push(a),a});return p(b,a)},parent:function(a){return p(i(this.pluck("parentNode")),a)},children:function(a){return p(this.map(function(){return y.call(this.children)}),a)},siblings:function(a){return p(this.map(function(a,b){return y.call(b.parentNode.children).filter(function(a){return a!==b})}),a)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(a){return this.map(function(){return this[a]})},show:function(){return this.each(function(){this.style.display=="none"&&(this.style.display=null),C(this,"").getPropertyValue("display")=="none"&&(this.style.display=l(this.nodeName))})},replaceWith:function(a){return this.each(function(){o(this).before(a).remove()})},wrap:function(a){return this.each(function(){o(this).wrapAll(o(a)[0].cloneNode(!1))})},wrapAll:function(a){return this[0]&&(o(this[0]).before(a=o(a)),a.append(this)),this},unwrap:function(){return this.parent().each(function(){o(this).replaceWith(o(this).children())}),this},hide:function(){return this.css("display","none")},toggle:function(a){return(a===t?this.css("display")=="none":a)?this.show():this.hide()},prev:function(){return o(this.pluck("previousElementSibling"))},next:function(){return o(this.pluck("nextElementSibling"))},html:function(a){return a===t?this.length>0?this[0].innerHTML:null:this.each(function(b){var c=this.innerHTML;o(this).empty().append(q(this,a,b,c))})},text:function(a){return a===t?this.length>0?this[0].textContent:null:this.each(function(){this.textContent=a})},attr:function(a,c){var d;return typeof a=="string"&&c===t?this.length==0?t:a=="value"&&this[0].nodeName=="INPUT"?this.val():!(d=this[0].getAttribute(a))&&a in this[0]?this[0][a]:d:this.each(function(d){if(b(a))for(u in a)this.setAttribute(u,a[u]);else this.setAttribute(a,q(this,c,d,this.getAttribute(a)))})},removeAttr:function(a){return this.each(function(){this.removeAttribute(a)})},data:function(a,b){return this.attr("data-"+a,b)},val:function(a){return a===t?this.length>0?this[0].value:null:this.each(function(b){this.value=q(this,a,b,this.value)})},offset:function(){if(this.length==0)return null;var a=this[0].getBoundingClientRect();return{left:a.left+window.pageXOffset,top:a.top+window.pageYOffset,width:a.width,height:a.height}},css:function(a,b){if(b===t&&typeof a=="string")return this.length==0?t:this[0].style[g(a)]||C(this[0],"").getPropertyValue(a);var c="";for(u in a)c+=h(u)+":"+k(u,a[u])+";";return typeof a=="string"&&(c=h(a)+":"+k(a,b)),this.each(function(){this.style.cssText+=";"+c})},index:function(a){return a?this.indexOf(o(a)[0]):this.parent().children().indexOf(this[0])},hasClass:function(a){return this.length<1?!1:j(a).test(this[0].className)},addClass:function(a){return this.each(function(b){w=[];var c=this.className,d=q(this,a,b,c);d.split(/\s+/g).forEach(function(a){o(this).hasClass(a)||w.push(a)},this),w.length&&(this.className+=(c?" ":"")+w.join(" "))})},removeClass:function(a){return this.each(function(b){if(a===t)return this.className="";w=this.className,q(this,a,b,w).split(/\s+/g).forEach(function(a){w=w.replace(j(a)," ")}),this.className=w.trim()})},toggleClass:function(a,b){return this.each(function(c){var d=q(this,a,c,this.className);(b===t?!o(this).hasClass(d):b)?o(this).addClass(d):o(this).removeClass(d)})}},"filter,add,not,eq,first,last,find,closest,parents,parent,children,siblings".split(",").forEach(function(a){var b=o.fn[a];o.fn[a]=function(){var a=b.apply(this,arguments);return a.prevObject=this,a}}),["width","height"].forEach(function(a){o.fn[a]=function(b){var c,d=a.replace(/./,function(a){return a[0].toUpperCase()});return b===t?this[0]==window?window["inner"+d]:this[0]==z?z.documentElement["offset"+d]:(c=this.offset())&&c[a]:this.each(function(c){var d=o(this);d.css(a,q(this,b,c,d[a]()))})}}),G.forEach(function(a,c){o.fn[a]=function(a){var d=b(a)?a:m(a);if(!("length"in d)||d.nodeType)d=[d];if(d.length<1)return this;var e=this.length,f=e>1,g=c<2;return this.each(function(a,b){for(var h=0;h<d.length;h++){var i=d[g?d.length-h-1:h];s(i,function(a){a.nodeName!=null&&a.nodeName.toUpperCase()==="SCRIPT"&&(!a.type||a.type==="text/javascript")&&window.eval.call(window,a.innerHTML)}),f&&a<e-1&&(i=i.cloneNode(!0)),r(c,b,i)}})};var d=c%2?a+"To":"insert"+(c?"Before":"After");o.fn[d]=function(b){return o(b)[a](this),this}}),n.prototype=o.fn,o}();window.Zepto=Zepto,"$"in window||(window.$=Zepto),function(a){function b(a){return a._zid||(a._zid=m++)}function c(a,c,f,g){c=d(c);if(c.ns)var h=e(c.ns);return(l[b(a)]||[]).filter(function(a){return a&&(!c.e||a.e==c.e)&&(!c.ns||h.test(a.ns))&&(!f||a.fn==f)&&(!g||a.sel==g)})}function d(a){var b=(""+a).split(".");return{e:b[0],ns:b.slice(1).sort().join(" ")}}function e(a){return new RegExp("(?:^| )"+a.replace(" "," .* ?")+"(?: |$)")}function f(b,c,d){a.isObject(b)?a.each(b,d):b.split(/\s/).forEach(function(a){d(a,c)})}function g(c,e,g,h,i){var j=b(c),k=l[j]||(l[j]=[]);f(e,g,function(b,e){var f=i&&i(e,b),g=f||e,j=function(a){var b=g.apply(c,[a].concat(a.data));return b===!1&&a.preventDefault(),b},l=a.extend(d(b),{fn:e,proxy:j,sel:h,del:f,i:k.length});k.push(l),c.addEventListener(l.e,j,!1)})}function h(a,d,e,g){var h=b(a);f(d||"",e,function(b,d){c(a,b,d,g).forEach(function(b){delete l[h][b.i],a.removeEventListener(b.e,b.proxy,!1)})})}function i(b){var c=a.extend({originalEvent:b},b);return a.each(q,function(a,d){c[a]=function(){return this[d]=o,b[a].apply(b,arguments)},c[d]=p}),c}function j(a){if(!("defaultPrevented"in a)){a.defaultPrevented=!1;var b=a.preventDefault;a.preventDefault=function(){this.defaultPrevented=!0,b.call(this)}}}var k=a.qsa,l={},m=1,n={};n.click=n.mousedown=n.mouseup=n.mousemove="MouseEvents",a.event={add:g,remove:h},a.fn.bind=function(a,b){return this.each(function(){g(this,a,b)})},a.fn.unbind=function(a,b){return this.each(function(){h(this,a,b)})},a.fn.one=function(a,b){return this.each(function(c,d){g(this,a,b,null,function(a,b){return function(){var c=a.apply(d,arguments);return h(d,b,a),c}})})};var o=function(){return!0},p=function(){return!1},q={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};a.fn.delegate=function(b,c,d){return this.each(function(e,f){g(f,c,d,b,function(c){return function(d){var e,g=a(d.target).closest(b,f).get(0);if(g)return e=a.extend(i(d),{currentTarget:g,liveFired:f}),c.apply(g,[e].concat([].slice.call(arguments,1)))}})})},a.fn.undelegate=function(a,b,c){return this.each(function(){h(this,b,c,a)})},a.fn.live=function(b,c){return a(document.body).delegate(this.selector,b,c),this},a.fn.die=function(b,c){return a(document.body).undelegate(this.selector,b,c),this},a.fn.on=function(b,c,d){return c===undefined||a.isFunction(c)?this.bind(b,c):this.delegate(c,b,d)},a.fn.off=function(b,c,d){return c===undefined||a.isFunction(c)?this.unbind(b,c):this.undelegate(c,b,d)},a.fn.trigger=function(b,c){return typeof b=="string"&&(b=a.Event(b)),j(b),b.data=c,this.each(function(){this.dispatchEvent(b)})},a.fn.triggerHandler=function(b,d){var e,f;return this.each(function(g,h){e=i(typeof b=="string"?a.Event(b):b),e.data=d,e.target=h,a.each(c(h,b.type||b),function(a,b){f=b.proxy(e);if(e.isImmediatePropagationStopped())return!1})}),f},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout change select keydown keypress keyup error".split(" ").forEach(function(b){a.fn[b]=function(a){return this.bind(b,a)}}),["focus","blur"].forEach(function(b){a.fn[b]=function(a){if(a)this.bind(b,a);else if(this.length)try{this.get(0)[b]()}catch(c){}return this}}),a.Event=function(a,b){var c=document.createEvent(n[a]||"Events"),d=!0;if(b)for(var e in b)e=="bubbles"?d=!!b[e]:c[e]=b[e];return c.initEvent(a,d,!0,null,null,null,null,null,null,null,null,null,null,null,null),c}}(Zepto),function(a){function b(a){var b=this.os={},c=this.browser={},d=a.match(/WebKit\/([\d.]+)/),e=a.match(/(Android)\s+([\d.]+)/),f=a.match(/(iPad).*OS\s([\d_]+)/),g=!f&&a.match(/(iPhone\sOS)\s([\d_]+)/),h=a.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),i=h&&a.match(/TouchPad/),j=a.match(/(BlackBerry).*Version\/([\d.]+)/);d&&(c.version=d[1]),c.webkit=!!d,e&&(b.android=!0,b.version=e[2]),g&&(b.ios=!0,b.version=g[2].replace(/_/g,"."),b.iphone=!0),f&&(b.ios=!0,b.version=f[2].replace(/_/g,"."),b.ipad=!0),h&&(b.webos=!0,b.version=h[2]),i&&(b.touchpad=!0),j&&(b.blackberry=!0,b.version=j[2])}b.call(a,navigator.userAgent),a.__detect=b}(Zepto),function(a,b){function c(a){return a.toLowerCase()}function d(a){return f?f+a:c(a)}var e="",f,g,h,i={Webkit:"webkit",Moz:"",O:"o",ms:"MS"},j=window.document,k=j.createElement("div"),l=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;a.each(i,function(a,d){if(k.style[a+"TransitionProperty"]!==b)return e="-"+c(a)+"-",f=d,!1}),a.fx={off:f===b&&k.style.transitionProperty===b,cssPrefix:e,transitionEnd:d("TransitionEnd"),animationEnd:d("AnimationEnd")},a.fn.animate=function(b,c,d,e){return a.isObject(c)&&(d=c.easing,e=c.complete,c=c.duration),c&&(c/=1e3),this.anim(b,c,d,e)},a.fn.anim=function(c,d,f,g){var h,i={},j,k=this,m,n=a.fx.transitionEnd;d===b&&(d=.4),a.fx.off&&(d=0);if(typeof c=="string")i[e+"animation-name"]=c,i[e+"animation-duration"]=d+"s",n=a.fx.animationEnd;else{for(j in c)l.test(j)?(h||(h=[]),h.push(j+"("+c[j]+")")):i[j]=c[j];h&&(i[e+"transform"]=h.join(" ")),a.fx.off||(i[e+"transition"]="all "+d+"s "+(f||""))}return m=function(){var b={};b[e+"transition"]=b[e+"animation-name"]="none",a(this).css(b),g&&g.call(this)},d>0&&this.one(n,m),setTimeout(function(){k.css(i),d<=0&&setTimeout(function(){k.each(function(){m.call(this)})},0)},0),this},k=null}(Zepto),function(a){function b(b,c,d){var e=a.Event(c);return a(b).trigger(e,d),!e.defaultPrevented}function c(a,c,d,e){if(a.global)return b(c||n,d,e)}function d(b){b.global&&a.active++===0&&c(b,null,"ajaxStart")}function e(b){b.global&&!--a.active&&c(b,null,"ajaxStop")}function f(a,b){var d=b.context;if(b.beforeSend.call(d,a,b)===!1||c(b,d,"ajaxBeforeSend",[a,b])===!1)return!1;c(b,d,"ajaxSend",[a,b])}function g(a,b,d){var e=d.context,f="success";d.success.call(e,a,f,b),c(d,e,"ajaxSuccess",[b,d,a]),i(f,b,d)}function h(a,b,d,e){var f=e.context;e.error.call(f,d,b,a),c(e,f,"ajaxError",[d,e,a]),i(b,d,e)}function i(a,b,d){var f=d.context;d.complete.call(f,b,a),c(d,f,"ajaxComplete",[b,d]),e(d)}function j(){}function k(b,c,d,e){var f=a.isArray(c);a.each(c,function(c,g){e&&(c=d?e:e+"["+(f?"":c)+"]"),!e&&f?b.add(g.name,g.value):(d?a.isArray(g):m(g))?k(b,g,d,c):b.add(c,g)})}var l=0,m=a.isObject,n=window.document,o,p;a.active=0,a.ajaxJSONP=function(b){var c="jsonp"+ ++l,d=n.createElement("script"),e=function(){a(d).remove(),c in window&&(window[c]=j),i(f,b,"abort")},f={abort:e},h;return window[c]=function(e){clearTimeout(h),a(d).remove(),delete window[c],g(e,f,b)},d.src=b.url.replace(/=\?/,"="+c),a("head").append(d),b.timeout>0&&(h=setTimeout(function(){f.abort(),i(f,b,"timeout")},b.timeout)),f},a.ajaxSettings={type:"GET",beforeSend:j,success:j,error:j,complete:j,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript",json:"application/json",xml:"application/xml, text/xml",html:"text/html",text:"text/plain"},crossDomain:!1,timeout:0},a.ajax=function(b){var c=a.extend({},b||{});for(o in a.ajaxSettings)c[o]===undefined&&(c[o]=a.ajaxSettings[o]);d(c),c.crossDomain||(c.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(c.url)&&RegExp.$2!=window.location.host);if(/=\?/.test(c.url))return a.ajaxJSONP(c);c.url||(c.url=window.location.toString()),c.data&&!c.contentType&&(c.contentType="application/x-www-form-urlencoded"),m(c.data)&&(c.data=a.param(c.data));if(c.type.match(/get/i)&&c.data){var e=c.data;c.url.match(/\?.*=/)?e="&"+e:e[0]!="?"&&(e="?"+e),c.url+=e}var i=c.accepts[c.dataType],k={},l=/^([\w-]+:)\/\//.test(c.url)?RegExp.$1:window.location.protocol,n=a.ajaxSettings.xhr(),q;c.crossDomain||(k["X-Requested-With"]="XMLHttpRequest"),i&&(k.Accept=i),c.headers=a.extend(k,c.headers||{}),n.onreadystatechange=function(){if(n.readyState==4){clearTimeout(q);var a,b=!1;if(n.status>=200&&n.status<300||n.status==0&&l=="file:"){if(i=="application/json"&&!/^\s*$/.test(n.responseText))try{a=JSON.parse(n.responseText)}catch(d){b=d}else a=n.responseText;b?h(b,"parsererror",n,c):g(a,n,c)}else h(null,"error",n,c)}},n.open(c.type,c.url,!0),c.contentType&&(c.headers["Content-Type"]=c.contentType);for(p in c.headers)n.setRequestHeader(p,c.headers[p]);return f(n,c)===!1?(n.abort(),!1):(c.timeout>0&&(q=setTimeout(function(){n.onreadystatechange=j,n.abort(),h(null,"timeout",n,c)},c.timeout)),n.send(c.data),n)},a.get=function(b,c){return a.ajax({url:b,success:c})},a.post=function(b,c,d,e){return a.isFunction(c)&&(e=e||d,d=c,c=null),a.ajax({type:"POST",url:b,data:c,success:d,dataType:e})},a.getJSON=function(b,c){return a.ajax({url:b,success:c,dataType:"json"})},a.fn.load=function(b,c){if(!this.length)return this;var d=this,e=b.split(/\s/),f;return e.length>1&&(b=e[0],f=e[1]),a.get(b,function(b){d.html(f?a(n.createElement("div")).html(b).find(f).html():b),c&&c.call(d)}),this};var q=encodeURIComponent;a.param=function(a,b){var c=[];return c.add=function(a,b){this.push(q(a)+"="+q(b))},k(c,a,b),c.join("&").replace("%20","+")}}(Zepto),function(a){a.fn.serializeArray=function(){var b=[],c;return a(Array.prototype.slice.call(this.get(0).elements)).each(function(){c=a(this);var d=c.attr("type");!this.disabled&&d!="submit"&&d!="reset"&&d!="button"&&(d!="radio"&&d!="checkbox"||this.checked)&&b.push({name:c.attr("name"),value:c.val()})}),b},a.fn.serialize=function(){var a=[];return this.serializeArray().forEach(function(b){a.push(encodeURIComponent(b.name)+"="+encodeURIComponent(b.value))}),a.join("&")},a.fn.submit=function(b){if(b)this.bind("submit",b);else if(this.length){var c=a.Event("submit");this.eq(0).trigger(c),c.defaultPrevented||this.get(0).submit()}return this}}(Zepto),function(a){function b(a){return"tagName"in a?a:a.parentNode}function c(a,b,c,d){var e=Math.abs(a-b),f=Math.abs(c-d);return e>=f?a-b>0?"Left":"Right":c-d>0?"Up":"Down"}function d(){e.last&&Date.now()-e.last>=g&&(a(e.target).trigger("longTap"),e={})}var e={},f,g=750;a(document).ready(function(){a(document.body).bind("touchstart",function(a){var c=Date.now(),h=c-(e.last||c);e.target=b(a.touches[0].target),f&&clearTimeout(f),e.x1=a.touches[0].pageX,e.y1=a.touches[0].pageY,h>0&&h<=250&&(e.isDoubleTap=!0),e.last=c,setTimeout(d,g)}).bind("touchmove",function(a){e.x2=a.touches[0].pageX,e.y2=a.touches[0].pageY}).bind("touchend",function(b){e.isDoubleTap?(a(e.target).trigger("doubleTap"),e={}):e.x2>0||e.y2>0?((Math.abs(e.x1-e.x2)>30||Math.abs(e.y1-e.y2)>30)&&a(e.target).trigger("swipe")&&a(e.target).trigger("swipe"+c(e.x1,e.x2,e.y1,e.y2)),e.x1=e.x2=e.y1=e.y2=e.last=0):"last"in e&&(f=setTimeout(function(){f=null,a(e.target).trigger("tap"),e={}},250))}).bind("touchcancel",function(){e={}})}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","longTap"].forEach(function(b){a.fn[b]=function(a){return this.bind(b,a)}})}(Zepto)
View
BIN public/assets/zepto.min-638522b4bc32354b032dfd1ac06fae5a.js.gz
Binary file not shown.
View
4 public/assets/zepto.min.js
@@ -1,4 +0,0 @@
-// Zepto.js
-// (c) 2010, 2011 Thomas Fuchs
-// Zepto.js may be freely distributed under the MIT license.
-(function(a){String.prototype.trim===a&&(String.prototype.trim=function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")}),Array.prototype.reduce===a&&(Array.prototype.reduce=function(b){if(this===void 0||this===null)throw new TypeError;var c=Object(this),d=c.length>>>0,e=0,f;if(typeof b!="function")throw new TypeError;if(d==0&&arguments.length==1)throw new TypeError;if(arguments.length>=2)f=arguments[1];else do{if(e in c){f=c[e++];break}if(++e>=d)throw new TypeError}while(!0);while(e<d)e in c&&(f=b.call(a,f,c[e],e,c)),e++;return f})})();var Zepto=function(){function a(a){return{}.toString.call(a)=="[object Function]"}function b(a){return a instanceof Object}function c(a){return a instanceof Array}function d(a){return typeof a.length=="number"}function e(a){return a.filter(function(a){return a!==t&&a!==null})}function f(a){return a.length>0?[].concat.apply([],a):a}function g(a){return a.replace(/-+(.)?/g,function(a,b){return b?b.toUpperCase():""})}function h(a){return a.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function i(a){return a.filter(function(a,b,c){return c.indexOf(a)==b})}function j(a){return a in B?B[a]:B[a]=new RegExp("(^|\\s)"+a+"(\\s|$)")}function k(a,b){return typeof b=="number"&&!D[h(a)]?b+"px":b}function l(a){var b,c;return A[a]||(b=z.createElement(a),z.body.appendChild(b),c=C(b,"").getPropertyValue("display"),b.parentNode.removeChild(b),c=="none"&&(c="block"),A[a]=c),A[a]}function m(a,b){b===t&&E.test(a)&&RegExp.$1,b in J||(b="*");var c=J[b];return c.innerHTML=""+a,y.call(c.childNodes)}function n(a,b){return a=a||x,a.__proto__=n.prototype,a.selector=b||"",a}function o(b,d){if(!b)return n();if(d!==t)return o(d).find(b);if(a(b))return o(z).ready(b);if(b instanceof n)return b;var f;return c(b)?f=e(b):F.indexOf(b.nodeType)>=0||b===window?(f=[b],b=null):E.test(b)?(f=m(b.trim(),RegExp.$1),b=null):b.nodeType&&b.nodeType==3?f=[b]:f=v(z,b),n(f,b)}function p(a,b){return b===t?o(a):o(a).filter(b)}function q(b,c,d,e){return a(c)?c.call(b,d,e):c}function r(a,b,c){var d=a%2?b:b.parentNode;d&&d.insertBefore(c,a?a==1?d.firstChild:a==2?b:null:b.nextSibling)}function s(a,b){b(a);for(var c in a.childNodes)s(a.childNodes[c],b)}var t,u,v,w,x=[],y=x.slice,z=window.document,A={},B={},C=z.defaultView.getComputedStyle,D={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},E=/^\s*<(\w+)[^>]*>/,F=[1,9,11],G=["after","prepend","before","append"],H=z.createElement("table"),I=z.createElement("tr"),J={tr:z.createElement("tbody"),tbody:H,thead:H,tfoot:H,td:I,th:I,"*":z.createElement("div")},K=/complete|loaded|interactive/,L=/^\.([\w-]+)$/,M=/^#([\w-]+)$/,N=/^[\w-]+$/;return o.extend=function(a){return y.call(arguments,1).forEach(function(b){for(u in b)a[u]=b[u]}),a},o.qsa=v=function(a,b){var c;return a===z&&M.test(b)?(c=a.getElementById(RegExp.$1))?[c]:x:y.call(L.test(b)?a.getElementsByClassName(RegExp.$1):N.test(b)?a.getElementsByTagName(b):a.querySelectorAll(b))},o.isFunction=a,o.isObject=b,o.isArray=c,o.map=function(a,b){var c,e=[],g,h;if(d(a))for(g=0;g<a.length;g++)c=b(a[g],g),c!=null&&e.push(c);else for(h in a)c=b(a[h],h),c!=null&&e.push(c);return f(e)},o.each=function(a,b){var c,e;if(d(a)){for(c=0;c<a.length;c++)if(b(c,a[c])===!1)return a}else for(e in a)if(b(e,a[e])===!1)return a;return a},o.fn={forEach:x.forEach,reduce:x.reduce,push:x.push,indexOf:x.indexOf,concat:x.concat,map:function(a){return o.map(this,function(b,c){return a.call(b,c,b)})},slice:function(){return o(y.apply(this,arguments))},ready:function(a){return K.test(z.readyState)?a(o):z.addEventListener("DOMContentLoaded",function(){a(o)},!1),this},get:function(a){return a===t?this:this[a]},size:function(){return this.length},remove:function(){return this.each(function(){this.parentNode!=null&&this.parentNode.removeChild(this)})},each:function(a){return this.forEach(function(b,c){a.call(b,c,b)}),this},filter:function(a){return o([].filter.call(this,function(b){return b.parentNode&&v(b.parentNode,a).indexOf(b)>=0}))},end:function(){return this.prevObject||o()},andSelf:function(){return this.add(this.prevObject||o())},add:function(a,b){return o(i(this.concat(o(a,b))))},is:function(a){return this.length>0&&o(this[0]).filter(a).length>0},not:function(b){var c=[];if(a(b)&&b.call!==t)this.each(function(a){b.call(this,a)||c.push(this)});else{var e=typeof b=="string"?this.filter(b):d(b)&&a(b.item)?y.call(b):o(b);this.forEach(function(a){e.indexOf(a)<0&&c.push(a)})}return o(c)},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){var a=this[0];return a&&!b(a)?a:o(a)},last:function(){var a=this[this.length-1];return a&&!b(a)?a:o(a)},find:function(a){var b;return this.length==1?b=v(this[0],a):b=this.map(function(){return v(this,a)}),o(b)},closest:function(a,b){var c=this[0],d=v(b||z,a);d.length||(c=null);while(c&&d.indexOf(c)<0)c=c!==b&&c!==z&&c.parentNode;return o(c)},parents:function(a){var b=[],c=this;while(c.length>0)c=o.map(c,function(a){if((a=a.parentNode)&&a!==z&&b.indexOf(a)<0)return b.push(a),a});return p(b,a)},parent:function(a){return p(i(this.pluck("parentNode")),a)},children:function(a){return p(this.map(function(){return y.call(this.children)}),a)},siblings:function(a){return p(this.map(function(a,b){return y.call(b.parentNode.children).filter(function(a){return a!==b})}),a)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(a){return this.map(function(){return this[a]})},show:function(){return this.each(function(){this.style.display=="none"&&(this.style.display=null),C(this,"").getPropertyValue("display")=="none"&&(this.style.display=l(this.nodeName))})},replaceWith:function(a){return this.each(function(){o(this).before(a).remove()})},wrap:function(a){return this.each(function(){o(this).wrapAll(o(a)[0].cloneNode(!1))})},wrapAll:function(a){return this[0]&&(o(this[0]).before(a=o(a)),a.append(this)),this},unwrap:function(){return this.parent().each(function(){o(this).replaceWith(o(this).children())}),this},hide:function(){return this.css("display","none")},toggle:function(a){return(a===t?this.css("display")=="none":a)?this.show():this.hide()},prev:function(){return o(this.pluck("previousElementSibling"))},next:function(){return o(this.pluck("nextElementSibling"))},html:function(a){return a===t?this.length>0?this[0].innerHTML:null:this.each(function(b){var c=this.innerHTML;o(this).empty().append(q(this,a,b,c))})},text:function(a){return a===t?this.length>0?this[0].textContent:null:this.each(function(){this.textContent=a})},attr:function(a,c){var d;return typeof a=="string"&&c===t?this.length==0?t:a=="value"&&this[0].nodeName=="INPUT"?this.val():!(d=this[0].getAttribute(a))&&a in this[0]?this[0][a]:d:this.each(function(d){if(b(a))for(u in a)this.setAttribute(u,a[u]);else this.setAttribute(a,q(this,c,d,this.getAttribute(a)))})},removeAttr:function(a){return this.each(function(){this.removeAttribute(a)})},data:function(a,b){return this.attr("data-"+a,b)},val:function(a){return a===t?this.length>0?this[0].value:null:this.each(function(b){this.value=q(this,a,b,this.value)})},offset:function(){if(this.length==0)return null;var a=this[0].getBoundingClientRect();return{left:a.left+window.pageXOffset,top:a.top+window.pageYOffset,width:a.width,height:a.height}},css:function(a,b){if(b===t&&typeof a=="string")return this.length==0?t:this[0].style[g(a)]||C(this[0],"").getPropertyValue(a);var c="";for(u in a)c+=h(u)+":"+k(u,a[u])+";";return typeof a=="string"&&(c=h(a)+":"+k(a,b)),this.each(function(){this.style.cssText+=";"+c})},index:function(a){return a?this.indexOf(o(a)[0]):this.parent().children().indexOf(this[0])},hasClass:function(a){return this.length<1?!1:j(a).test(this[0].className)},addClass:function(a){return this.each(function(b){w=[];var c=this.className,d=q(this,a,b,c);d.split(/\s+/g).forEach(function(a){o(this).hasClass(a)||w.push(a)},this),w.length&&(this.className+=(c?" ":"")+w.join(" "))})},removeClass:function(a){return this.each(function(b){if(a===t)return this.className="";w=this.className,q(this,a,b,w).split(/\s+/g).forEach(function(a){w=w.replace(j(a)," ")}),this.className=w.trim()})},toggleClass:function(a,b){return this.each(function(c){var d=q(this,a,c,this.className);(b===t?!o(this).hasClass(d):b)?o(this).addClass(d):o(this).removeClass(d)})}},"filter,add,not,eq,first,last,find,closest,parents,parent,children,siblings".split(",").forEach(function(a){var b=o.fn[a];o.fn[a]=function(){var a=b.apply(this,arguments);return a.prevObject=this,a}}),["width","height"].forEach(function(a){o.fn[a]=function(b){var c,d=a.replace(/./,function(a){return a[0].toUpperCase()});return b===t?this[0]==window?window["inner"+d]:this[0]==z?z.documentElement["offset"+d]:(c=this.offset())&&c[a]:this.each(function(c){var d=o(this);d.css(a,q(this,b,c,d[a]()))})}}),G.forEach(function(a,c){o.fn[a]=function(a){var d=b(a)?a:m(a);if(!("length"in d)||d.nodeType)d=[d];if(d.length<1)return this;var e=this.length,f=e>1,g=c<2;return this.each(function(a,b){for(var h=0;h<d.length;h++){var i=d[g?d.length-h-1:h];s(i,function(a){a.nodeName!=null&&a.nodeName.toUpperCase()==="SCRIPT"&&(!a.type||a.type==="text/javascript")&&window.eval.call(window,a.innerHTML)}),f&&a<e-1&&(i=i.cloneNode(!0)),r(c,b,i)}})};var d=c%2?a+"To":"insert"+(c?"Before":"After");o.fn[d]=function(b){return o(b)[a](this),this}}),n.prototype=o.fn,o}();window.Zepto=Zepto,"$"in window||(window.$=Zepto),function(a){function b(a){return a._zid||(a._zid=m++)}function c(a,c,f,g){c=d(c);if(c.ns)var h=e(c.ns);return(l[b(a)]||[]).filter(function(a){return a&&(!c.e||a.e==c.e)&&(!c.ns||h.test(a.ns))&&(!f||a.fn==f)&&(!g||a.sel==g)})}function d(a){var b=(""+a).split(".");return{e:b[0],ns:b.slice(1).sort().join(" ")}}function e(a){return new RegExp("(?:^| )"+a.replace(" "," .* ?")+"(?: |$)")}function f(b,c,d){a.isObject(b)?a.each(b,d):b.split(/\s/).forEach(function(a){d(a,c)})}function g(c,e,g,h,i){var j=b(c),k=l[j]||(l[j]=[]);f(e,g,function(b,e){var f=i&&i(e,b),g=f||e,j=function(a){var b=g.apply(c,[a].concat(a.data));return b===!1&&a.preventDefault(),b},l=a.extend(d(b),{fn:e,proxy:j,sel:h,del:f,i:k.length});k.push(l),c.addEventListener(l.e,j,!1)})}function h(a,d,e,g){var h=b(a);f(d||"",e,function(b,d){c(a,b,d,g).forEach(function(b){delete l[h][b.i],a.removeEventListener(b.e,b.proxy,!1)})})}function i(b){var c=a.extend({originalEvent:b},b);return a.each(q,function(a,d){c[a]=function(){return this[d]=o,b[a].apply(b,arguments)},c[d]=p}),c}function j(a){if(!("defaultPrevented"in a)){a.defaultPrevented=!1;var b=a.preventDefault;a.preventDefault=function(){this.defaultPrevented=!0,b.call(this)}}}var k=a.qsa,l={},m=1,n={};n.click=n.mousedown=n.mouseup=n.mousemove="MouseEvents",a.event={add:g,remove:h},a.fn.bind=function(a,b){return this.each(function(){g(this,a,b)})},a.fn.unbind=function(a,b){return this.each(function(){h(this,a,b)})},a.fn.one=function(a,b){return this.each(function(c,d){g(this,a,b,null,function(a,b){return function(){var c=a.apply(d,arguments);return h(d,b,a),c}})})};var o=function(){return!0},p=function(){return!1},q={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};a.fn.delegate=function(b,c,d){return this.each(function(e,f){g(f,c,d,b,function(c){return function(d){var e,g=a(d.target).closest(b,f).get(0);if(g)return e=a.extend(i(d),{currentTarget:g,liveFired:f}),c.apply(g,[e].concat([].slice.call(arguments,1)))}})})},a.fn.undelegate=function(a,b,c){return this.each(function(){h(this,b,c,a)})},a.fn.live=function(b,c){return a(document.body).delegate(this.selector,b,c),this},a.fn.die=function(b,c){return a(document.body).undelegate(this.selector,b,c),this},a.fn.on=function(b,c,d){return c===undefined||a.isFunction(c)?this.bind(b,c):this.delegate(c,b,d)},a.fn.off=function(b,c,d){return c===undefined||a.isFunction(c)?this.unbind(b,c):this.undelegate(c,b,d)},a.fn.trigger=function(b,c){return typeof b=="string"&&(b=a.Event(b)),j(b),b.data=c,this.each(function(){this.dispatchEvent(b)})},a.fn.triggerHandler=function(b,d){var e,f;return this.each(function(g,h){e=i(typeof b=="string"?a.Event(b):b),e.data=d,e.target=h,a.each(c(h,b.type||b),function(a,b){f=b.proxy(e);if(e.isImmediatePropagationStopped())return!1})}),f},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout change select keydown keypress keyup error".split(" ").forEach(function(b){a.fn[b]=function(a){return this.bind(b,a)}}),["focus","blur"].forEach(function(b){a.fn[b]=function(a){if(a)this.bind(b,a);else if(this.length)try{this.get(0)[b]()}catch(c){}return this}}),a.Event=function(a,b){var c=document.createEvent(n[a]||"Events"),d=!0;if(b)for(var e in b)e=="bubbles"?d=!!b[e]:c[e]=b[e];return c.initEvent(a,d,!0,null,null,null,null,null,null,null,null,null,null,null,null),c}}(Zepto),function(a){function b(a){var b=this.os={},c=this.browser={},d=a.match(/WebKit\/([\d.]+)/),e=a.match(/(Android)\s+([\d.]+)/),f=a.match(/(iPad).*OS\s([\d_]+)/),g=!f&&a.match(/(iPhone\sOS)\s([\d_]+)/),h=a.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),i=h&&a.match(/TouchPad/),j=a.match(/(BlackBerry).*Version\/([\d.]+)/);d&&(c.version=d[1]),c.webkit=!!d,e&&(b.android=!0,b.version=e[2]),g&&(b.ios=!0,b.version=g[2].replace(/_/g,"."),b.iphone=!0),f&&(b.ios=!0,b.version=f[2].replace(/_/g,"."),b.ipad=!0),h&&(b.webos=!0,b.version=h[2]),i&&(b.touchpad=!0),j&&(b.blackberry=!0,b.version=j[2])}b.call(a,navigator.userAgent),a.__detect=b}(Zepto),function(a,b){function c(a){return a.toLowerCase()}function d(a){return f?f+a:c(a)}var e="",f,g,h,i={Webkit:"webkit",Moz:"",O:"o",ms:"MS"},j=window.document,k=j.createElement("div"),l=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;a.each(i,function(a,d){if(k.style[a+"TransitionProperty"]!==b)return e="-"+c(a)+"-",f=d,!1}),a.fx={off:f===b&&k.style.transitionProperty===b,cssPrefix:e,transitionEnd:d("TransitionEnd"),animationEnd:d("AnimationEnd")},a.fn.animate=function(b,c,d,e){return a.isObject(c)&&(d=c.easing,e=c.complete,c=c.duration),c&&(c/=1e3),this.anim(b,c,d,e)},a.fn.anim=function(c,d,f,g){var h,i={},j,k=this,m,n=a.fx.transitionEnd;d===b&&(d=.4),a.fx.off&&(d=0);if(typeof c=="string")i[e+"animation-name"]=c,i[e+"animation-duration"]=d+"s",n=a.fx.animationEnd;else{for(j in c)l.test(j)?(h||(h=[]),h.push(j+"("+c[j]+")")):i[j]=c[j];h&&(i[e+"transform"]=h.join(" ")),a.fx.off||(i[e+"transition"]="all "+d+"s "+(f||""))}return m=function(){var b={};b[e+"transition"]=b[e+"animation-name"]="none",a(this).css(b),g&&g.call(this)},d>0&&this.one(n,m),setTimeout(function(){k.css(i),d<=0&&setTimeout(function(){k.each(function(){m.call(this)})},0)},0),this},k=null}(Zepto),function(a){function b(b,c,d){var e=a.Event(c);return a(b).trigger(e,d),!e.defaultPrevented}function c(a,c,d,e){if(a.global)return b(c||n,d,e)}function d(b){b.global&&a.active++===0&&c(b,null,"ajaxStart")}function e(b){b.global&&!--a.active&&c(b,null,"ajaxStop")}function f(a,b){var d=b.context;if(b.beforeSend.call(d,a,b)===!1||c(b,d,"ajaxBeforeSend",[a,b])===!1)return!1;c(b,d,"ajaxSend",[a,b])}function g(a,b,d){var e=d.context,f="success";d.success.call(e,a,f,b),c(d,e,"ajaxSuccess",[b,d,a]),i(f,b,d)}function h(a,b,d,e){var f=e.context;e.error.call(f,d,b,a),c(e,f,"ajaxError",[d,e,a]),i(b,d,e)}function i(a,b,d){var f=d.context;d.complete.call(f,b,a),c(d,f,"ajaxComplete",[b,d]),e(d)}function j(){}function k(b,c,d,e){var f=a.isArray(c);a.each(c,function(c,g){e&&(c=d?e:e+"["+(f?"":c)+"]"),!e&&f?b.add(g.name,g.value):(d?a.isArray(g):m(g))?k(b,g,d,c):b.add(c,g)})}var l=0,m=a.isObject,n=window.document,o,p;a.active=0,a.ajaxJSONP=function(b){var c="jsonp"+ ++l,d=n.createElement("script"),e=function(){a(d).remove(),c in window&&(window[c]=j),i(f,b,"abort")},f={abort:e},h;return window[c]=function(e){clearTimeout(h),a(d).remove(),delete window[c],g(e,f,b)},d.src=b.url.replace(/=\?/,"="+c),a("head").append(d),b.timeout>0&&(h=setTimeout(function(){f.abort(),i(f,b,"timeout")},b.timeout)),f},a.ajaxSettings={type:"GET",beforeSend:j,success:j,error:j,complete:j,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript",json:"application/json",xml:"application/xml, text/xml",html:"text/html",text:"text/plain"},crossDomain:!1,timeout:0},a.ajax=function(b){var c=a.extend({},b||{});for(o in a.ajaxSettings)c[o]===undefined&&(c[o]=a.ajaxSettings[o]);d(c),c.crossDomain||(c.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(c.url)&&RegExp.$2!=window.location.host);if(/=\?/.test(c.url))return a.ajaxJSONP(c);c.url||(c.url=window.location.toString()),c.data&&!c.contentType&&(c.contentType="application/x-www-form-urlencoded"),m(c.data)&&(c.data=a.param(c.data));if(c.type.match(/get/i)&&c.data){var e=c.data;c.url.match(/\?.*=/)?e="&"+e:e[0]!="?"&&(e="?"+e),c.url+=e}var i=c.accepts[c.dataType],k={},l=/^([\w-]+:)\/\//.test(c.url)?RegExp.$1:window.location.protocol,n=a.ajaxSettings.xhr(),q;c.crossDomain||(k["X-Requested-With"]="XMLHttpRequest"),i&&(k.Accept=i),c.headers=a.extend(k,c.headers||{}),n.onreadystatechange=function(){if(n.readyState==4){clearTimeout(q);var a,b=!1;if(n.status>=200&&n.status<300||n.status==0&&l=="file:"){if(i=="application/json"&&!/^\s*$/.test(n.responseText))try{a=JSON.parse(n.responseText)}catch(d){b=d}else a=n.responseText;b?h(b,"parsererror",n,c):g(a,n,c)}else h(null,"error",n,c)}},n.open(c.type,c.url,!0),c.contentType&&(c.headers["Content-Type"]=c.contentType);for(p in c.headers)n.setRequestHeader(p,c.headers[p]);return f(n,c)===!1?(n.abort(),!1):(c.timeout>0&&(q=setTimeout(function(){n.onreadystatechange=j,n.abort(),h(null,"timeout",n,c)},c.timeout)),n.send(c.data),n)},a.get=function(b,c){return a.ajax({url:b,success:c})},a.post=function(b,c,d,e){return a.isFunction(c)&&(e=e||d,d=c,c=null),a.ajax({type:"POST",url:b,data:c,success:d,dataType:e})},a.getJSON=function(b,c){return a.ajax({url:b,success:c,dataType:"json"})},a.fn.load=function(b,c){if(!this.length)return this;var d=this,e=b.split(/\s/),f;return e.length>1&&(b=e[0],f=e[1]),a.get(b,function(b){d.html(f?a(n.createElement("div")).html(b).find(f).html():b),c&&c.call(d)}),this};var q=encodeURIComponent;a.param=function(a,b){var c=[];return c.add=function(a,b){this.push(q(a)+"="+q(b))},k(c,a,b),c.join("&").replace("%20","+")}}(Zepto),function(a){a.fn.serializeArray=function(){var b=[],c;return a(Array.prototype.slice.call(this.get(0).elements)).each(function(){c=a(this);var d=c.attr("type");!this.disabled&&d!="submit"&&d!="reset"&&d!="button"&&(d!="radio"&&d!="checkbox"||this.checked)&&b.push({name:c.attr("name"),value:c.val()})}),b},a.fn.serialize=function(){var a=[];return this.serializeArray().forEach(function(b){a.push(encodeURIComponent(b.name)+"="+encodeURIComponent(b.value))}),a.join("&")},a.fn.submit=function(b){if(b)this.bind("submit",b);else if(this.length){var c=a.Event("submit");this.eq(0).trigger(c),c.defaultPrevented||this.get(0).submit()}return this}}(Zepto),function(a){function b(a){return"tagName"in a?a:a.parentNode}function c(a,b,c,d){var e=Math.abs(a-b),f=Math.abs(c-d);return e>=f?a-b>0?"Left":"Right":c-d>0?"Up":"Down"}function d(){e.last&&Date.now()-e.last>=g&&(a(e.target).trigger("longTap"),e={})}var e={},f,g=750;a(document).ready(function(){a(document.body).bind("touchstart",function(a){var c=Date.now(),h=c-(e.last||c);e.target=b(a.touches[0].target),f&&clearTimeout(f),e.x1=a.touches[0].pageX,e.y1=a.touches[0].pageY,h>0&&h<=250&&(e.isDoubleTap=!0),e.last=c,setTimeout(d,g)}).bind("touchmove",function(a){e.x2=a.touches[0].pageX,e.y2=a.touches[0].pageY}).bind("touchend",function(b){e.isDoubleTap?(a(e.target).trigger("doubleTap"),e={}):e.x2>0||e.y2>0?((Math.abs(e.x1-e.x2)>30||Math.abs(e.y1-e.y2)>30)&&a(e.target).trigger("swipe")&&a(e.target).trigger("swipe"+c(e.x1,e.x2,e.y1,e.y2)),e.x1=e.x2=e.y1=e.y2=e.last=0):"last"in e&&(f=setTimeout(function(){f=null,a(e.target).trigger("tap"),e={}},250))}).bind("touchcancel",function(){e={}})}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","longTap"].forEach(function(b){a.fn[b]=function(a){return this.bind(b,a)}})}(Zepto)
View
BIN public/assets/zepto.min.js.gz
Binary file not shown.

0 comments on commit 6d83243

Please sign in to comment.