var wijmo;define([],function(){$(document).ready(function(){function u(e,t,n){var r="-webkit-transform",i="translate3d(0,0,0)",s,o;try{s=e.css(r),o=!s||!s.match(/^\s*none\s*$/i),e.css(r,o?i:s+" "+i)}catch(u){}try{return t.apply(this,n)}finally{e.css(r,s)}}function f(e,t,n,r){var i=!1,s,o,u=$.speed(t,n,r),a=this;if(!e)return!1;for(var f in e)s=e[f],f==="height"?s==="hide"?(this.css("display","none"),i=!0,u.complete()):s==="show"&&(this.css("display",""),i=!0,u.complete()):f==="width"?s==="hide"?(this.css("display","none"),i=!0,u.complete()):s==="show"&&(this.css("display",""),i=!0,u.complete()):f==="left"&&(o=this.css("left").replace("px","")*1,typeof s=="string"&&(s.indexOf("-=")===0?o-=s.replace("-=","")*1:s.indexOf("+=")===0&&(o+=s.replace("+=","")*1)),i=!0,this.css("-webkit-perspective",1e3),this.css("-webkit-backface-visibility","hidden"),h(this[0],o,u.duration,"linear",u.complete));return i}function l(e,t,n,r){o&&(n||(n="ease"),b(e,"opacity",t,n),p(e,0),e.addEventListener("webkitTransitionEnd",$.proxy(function(){w(e),e.style.display="none",p(e,1),r&&r()},this),!1))}function c(e,t,n,r){o&&(n||(n="ease"),b(e,"opacity",t,n),p(e,1),e.addEventListener("webkitTransitionEnd",$.proxy(function(){w(e),e.style.display==="none"&&(e.style.display=""),r&&r()},this),!1))}function h(e,t,n,r,i){o&&(y(e,n,r),d(e,t),e.___animationEndHandler=i,e.___internalEndHandler=$.proxy(E,{}),e.addEventListener("webkitTransitionEnd",e.___internalEndHandler,!1))}function p(e,t){var n;o&&(n=e.style||e,n.opacity=t)}function d(e,t){var n;o?(e.___translateX=t,n=e.style||e,n.webkitTransform="translateX("+t+"px)"):e.style.left=t+"px"}function v(e,t){var n;o?(e.___translateY=t,n=e.style||e,n.webkitTransform="translateY("+t+"px)"):e.style.top=t+"px"}function m(e){var t,n,r,i,s;if(!e)return 0;if(o){t=e.style||e,n=t.webkitTransform;if(typeof n=="string"){r=new RegExp("translate(3d|X|)\\(-*(\\d+)"),i=r.exec(n);if(i){s=parseFloat(i[1]);if(isFinite(s))return s}}}else{var s=parseInt($(e).css("left"));if(isFinite(s))return s}return 0}function g(e){var t,n,r,i,s;if(!e)return 0;if(o){t=e.style||e,n=t.webkitTransform;if(typeof n=="string"){r=new RegExp("translate(3d|X|)\\(.*,\\s*-*(\\d+)"),i=r.exec(n);if(i){s=parseFloat(i[1]);if(isFinite(s))return s}}}else{var s=parseInt(jQuery(e).css("top"));if(isFinite(s))return s}return 0}function y(e,t,n){n||(n="ease"),b(e,"-webkit-transform",t,n)}function b(e,t,n,r){if(o){var i=e.style;i.webkitTransitionProperty=t,i.webkitTransitionDuration=n+"ms",i.webkitTransitionTimingFunction=r}}function w(e){if(o){var t=e.style;t.webkitTransitionProperty="none";var n=e.___internalEndHandler;n&&(delete e.___internalEndHandler,e.removeEventListener("webkitTransitionEnd",n,!1))}}function E(e){try{var t,n;switch(e.type){case"webkitTransitionEnd":t=e.target,t&&(w(t),t.___animationEndHandler&&(n=t.___animationEndHandler,t.___animationEndHandler=null,n(e)))}}catch(r){window.console&&window.console.log&&window.console.log("[ew219290] error: "+(r.message?r.message:r)+", event: "+e)}return!0}var e=window.navigator.userAgent,t=e.match(new RegExp("android ((1\\.)|(2\\.([^345]+)))","i")),n=window.WebKitCSSMatrix?!t:!1,r=typeof e=="string"&&!!e.match(/applewebkit/),i="ontouchend"in document,s=document.createElement("div"),o;s.setAttribute("style","transition:top 1s ease;-webkit-transition:top 1s ease;-moz-transition:top 1s ease;-o-transition:top 1s ease;"),document.body.appendChild(s),o=!!(s.style.transition||s.style.webkitTransition||s.style.MozTransition||s.style.OTransitionDuration),s.parentNode.removeChild(s),s=null;var a=jQuery.fn.animate;jQuery.fn.animate=function(e,t,n,i){if(!r||!f.apply(this,arguments))return u.call(this,this,function(){return a.apply(this,arguments)},arguments)}})});