o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1316013611.0143621ëO: @value{I" class:EFI"BundledAsset; FI"id; F"%c2426d7da1a86a4f30c59d8b68e01ab4I"logical_path; FI"jquery.mobile.min.js; FI" pathname; FI"`/Users/tscolari/Projetos/jquery-mobile-rails/vendor/assets/javascripts/jquery.mobile.min.js; FI"content_type; FI"application/javascript; FI" mtime; FI"2011-09-08T17:06:26-03:00; FI" body; FI"-/*! * jQuery Mobile v1.0b3 * http://jquerymobile.com/ * * Copyright 2010, jQuery Project * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license */ (function(a,d){if(a.cleanData){var b=a.cleanData;a.cleanData=function(c){for(var e=0,d;(d=c[e])!=null;e++)a(d).triggerHandler("remove");b(c)}}else{var c=a.fn.remove;a.fn.remove=function(b,e){return this.each(function(){e||(!b||a.filter(b,[this]).length)&&a("*",this).add([this]).each(function(){a(this).triggerHandler("remove")});return c.call(a(this),b,e)})}}a.widget=function(c,b,d){var h=c.split(".")[0],j,c=c.split(".")[1];j=h+"-"+c;if(!d)d=b,b=a.Widget;a.expr[":"][j]=function(b){return!!a.data(b, c)};a[h]=a[h]||{};a[h][c]=function(a,c){arguments.length&&this._createWidget(a,c)};b=new b;b.options=a.extend(!0,{},b.options);a[h][c].prototype=a.extend(!0,b,{namespace:h,widgetName:c,widgetEventPrefix:a[h][c].prototype.widgetEventPrefix||c,widgetBaseClass:j},d);a.widget.bridge(c,a[h][c])};a.widget.bridge=function(c,b){a.fn[c]=function(g){var h=typeof g==="string",j=Array.prototype.slice.call(arguments,1),l=this,g=!h&&j.length?a.extend.apply(null,[!0,g].concat(j)):g;if(h&&g.charAt(0)==="_")return l; h?this.each(function(){var b=a.data(this,c);if(!b)throw"cannot call methods on "+c+" prior to initialization; attempted to call method '"+g+"'";if(!a.isFunction(b[g]))throw"no such method '"+g+"' for "+c+" widget instance";var e=b[g].apply(b,j);if(e!==b&&e!==d)return l=e,!1}):this.each(function(){var d=a.data(this,c);d?d.option(g||{})._init():a.data(this,c,new b(g,this))});return l}};a.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"", options:{disabled:!1},_createWidget:function(c,b){a.data(b,this.widgetName,this);this.element=a(b);this.options=a.extend(!0,{},this.options,this._getCreateOptions(),c);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){var c={};a.metadata&&(c=a.metadata.get(element)[this.widgetName]);return c},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName); this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(c,b){var g=c;if(arguments.length===0)return a.extend({},this.options);if(typeof c==="string"){if(b===d)return this.options[c];g={};g[c]=b}this._setOptions(g);return this},_setOptions:function(c){var b=this;a.each(c,function(a,c){b._setOption(a,c)});return this},_setOption:function(a,c){this.options[a]=c;a==="disabled"&& this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(c,b,d){var h=this.options[c],b=a.Event(b);b.type=(c===this.widgetEventPrefix?c:this.widgetEventPrefix+c).toLowerCase();d=d||{};if(b.originalEvent)for(var c=a.event.props.length,j;c;)j=a.event.props[--c],b[j]=b.originalEvent[j];this.element.trigger(b, d);return!(a.isFunction(h)&&h.call(this.element[0],b,d)===!1||b.isDefaultPrevented())}}})(jQuery);(function(a,d){a.widget("mobile.widget",{_getCreateOptions:function(){var b=this.element,c={};a.each(this.options,function(a){var e=b.jqmData(a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()}));e!==d&&(c[a]=e)});return c}})})(jQuery); (function(a){a(window);var d=a("html");a.mobile.media=function(){var b={},c=a("
"),f=a("").append(c);return function(a){if(!(a in b)){var g=document.createElement("style"),h="@media "+a+" { #jquery-mediatest { position:absolute; } }";g.type="text/css";g.styleSheet?g.styleSheet.cssText=h:g.appendChild(document.createTextNode(h));d.prepend(f).prepend(g);b[a]=c.css("position")==="absolute";f.add(g).remove()}return b[a]}}()})(jQuery); (function(a,d){function b(a){var c=a.charAt(0).toUpperCase()+a.substr(1),a=(a+" "+e.join(c+" ")+c).split(" "),b;for(b in a)if(f[a[b]]!==d)return!0}var c=a("").prependTo("html"),f=c[0].style,e=["Webkit","Moz","O"],g="palmGetResource"in window,h=window.blackberry;a.mobile.browser={};a.mobile.browser.ie=function(){for(var a=3,c=document.createElement("div"),b=c.all||[];c.innerHTML="<\!--[if gt IE "+ ++a+"]>
",b[0];);return a>4?a:!a}();a.extend(a.support,{orientation:"orientation"in window,touch:"ontouchend"in document,cssTransitions:"WebKitTransitionEvent"in window,pushState:"pushState"in history&&"replaceState"in history,mediaquery:a.mobile.media("only all"),cssPseudoElement:!!b("content"),touchOverflow:!!b("overflowScrolling"),boxShadow:!!b("boxShadow")&&!h,scrollTop:("pageXOffset"in window||"scrollTop"in document.documentElement||"scrollTop"in c[0])&&!g,dynamicBaseTag:function(){var b=location.protocol+"//"+location.host+location.pathname+"ui-dir/",d=a("head base"),f=null, e="",g;d.length?e=d.attr("href"):d=f=a("",{href:b}).appendTo("head");g=a("").prependTo(c)[0].href;d[0].href=e?e:location.pathname;f&&f.remove();return g.indexOf(b)===0}(),eventCapture:"addEventListener"in document});c.remove();g=function(){var a=window.navigator.userAgent;return a.indexOf("Nokia")>-1&&(a.indexOf("Symbian/3")>-1||a.indexOf("Series60/5")>-1)&&a.indexOf("AppleWebKit")>-1&&a.match(/(BrowserNG|NokiaBrowser)\/7\.[0-3]/)}();a.mobile.ajaxBlacklist=window.blackberry&& !window.WebKitPoint||window.operamini&&Object.prototype.toString.call(window.operamini)==="[object OperaMini]"||g;g&&a(function(){a("head link[rel=stylesheet]").attr("rel","alternate stylesheet").attr("rel","stylesheet")});a.support.boxShadow||a("html").addClass("ui-mobile-nosupport-boxshadow")})(jQuery); (function(a,d,b,c){function f(a){for(;a&&typeof a.originalEvent!=="undefined";)a=a.originalEvent;return a}function e(c){for(var b={},d,f;c;){d=a.data(c,o);for(f in d)if(d[f])b[f]=b.hasVirtualBinding=!0;c=c.parentNode}return b}function g(){v&&(clearTimeout(v),v=0);v=setTimeout(function(){B=v=0;x.length=0;r=!1;z=!0},a.vmouse.resetTimerDuration)}function h(b,d,r){var e,g;if(!(g=r&&r[b])){if(r=!r)a:{for(r=d.target;r;){if((g=a.data(r,o))&&(!b||g[b]))break a;r=r.parentNode}r=null}g=r}if(g){e=d;var r=e.type, i,z;e=a.Event(e);e.type=b;g=e.originalEvent;i=a.event.props;if(g)for(z=i.length;z;)b=i[--z],e[b]=g[b];if(r.search(/^touch/)!==-1&&(b=f(g),r=b.touches,b=b.changedTouches,r=r&&r.length?r[0]:b&&b.length?b[0]:c)){g=0;for(len=y.length;gr||Math.abs(b.pageY-u)>r;flags=e(c.target);w&&!d&&h("vmousecancel",c,flags);h("vmousemove",c,flags);g()}}function p(a){if(!z){z= !0;var c=e(a.target),b;h("vmouseup",a,c);if(!w&&(b=h("vclick",a,c))&&b.isDefaultPrevented())b=f(a).changedTouches[0],x.push({touchID:B,x:b.clientX,y:b.clientY}),r=!0;h("vmouseout",a,c);w=!1;g()}}function k(c){var c=a.data(c,o),b;if(c)for(b in c)if(c[b])return!0;return!1}function i(){}function m(c){var b=c.substr(1);return{setup:function(){k(this)||a.data(this,o,{});a.data(this,o)[c]=!0;q[c]=(q[c]||0)+1;q[c]===1&&C.bind(b,j);a(this).bind(b,i);if(E)q.touchstart=(q.touchstart||0)+1,q.touchstart===1&& C.bind("touchstart",l).bind("touchend",p).bind("touchmove",s).bind("scroll",n)},teardown:function(){--q[c];q[c]||C.unbind(b,j);E&&(--q.touchstart,q.touchstart||C.unbind("touchstart",l).unbind("touchmove",s).unbind("touchend",p).unbind("scroll",n));var d=a(this),r=a.data(this,o);r&&(r[c]=!1);d.unbind(b,i);k(this)||d.removeData(o)}}}var o="virtualMouseBindings",A="virtualTouchID",d="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),y="clientX clientY pageX pageY screenX screenY".split(" "), q={},v=0,t=0,u=0,w=!1,x=[],r=!1,z=!1,E=a.support.eventCapture,C=a(b),G=1,B=0;a.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(var D=0;Da.event.special.swipe.scrollSupressionThreshold&& c.preventDefault()}}var e=d.originalEvent.touches?d.originalEvent.touches[0]:d,p={time:(new Date).getTime(),coords:[e.pageX,e.pageY],origin:a(d.target)},k;c.bind(h,f).one(g,function(){c.unbind(h,f);p&&k&&k.time-p.timea.event.special.swipe.horizontalDistanceThreshold&&Math.abs(p.coords[1]-k.coords[1])k.coords[0]?"swipeleft":"swiperight"); p=k=b})})}};(function(a,c){function b(){var a=f();a!==e&&(e=a,d.trigger("orientationchange"))}var d=a(c),f,e;a.event.special.orientationchange={setup:function(){if(a.support.orientation)return!1;e=f();d.bind("throttledresize",b)},teardown:function(){if(a.support.orientation)return!1;d.unbind("throttledresize",b)},add:function(a){var c=a.handler;a.handler=function(a){a.orientation=f();return c.apply(this,arguments)}}};a.event.special.orientationchange.orientation=f=function(){var a=document.documentElement; return a&&a.clientWidth/a.clientHeight<1.1?"portrait":"landscape"}})(jQuery,d);(function(){a.event.special.throttledresize={setup:function(){a(this).bind("resize",c)},teardown:function(){a(this).unbind("resize",c)}};var c=function(){f=(new Date).getTime();e=f-b;e>=250?(b=f,a(this).trigger("throttledresize")):(d&&clearTimeout(d),d=setTimeout(c,250-e))},b=0,d,f,e})();a.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(c,b){a.event.special[c]={setup:function(){a(this).bind(b, a.noop)}}})})(jQuery,this); (function(a,d,b){function c(a){a=a||location.href;return"#"+a.replace(/^[^#]*#?(.*)$/,"$1")}var f="hashchange",e=document,g,h=a.event.special,j=e.documentMode,l="on"+f in d&&(j===b||j>7);a.fn[f]=function(a){return a?this.bind(f,a):this.trigger(f)};a.fn[f].delay=50;h[f]=a.extend(h[f],{setup:function(){if(l)return!1;a(g.start)},teardown:function(){if(l)return!1;a(g.stop)}});g=function(){function g(){var b=c(),e=o(k);if(b!==k)j(k=b,e),a(d).trigger(f);else if(e!==k)location.href=location.href.replace(/#.*/, "")+e;p=setTimeout(g,a.fn[f].delay)}var h={},p,k=c(),i=function(a){return a},j=i,o=i;h.start=function(){p||g()};h.stop=function(){p&&clearTimeout(p);p=b};a.browser.msie&&!l&&function(){var b,d;h.start=function(){if(!b)d=(d=a.fn[f].src)&&d+c(),b=a('