product.vip.js 128 KB
!function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){n(29)},,function(e,t,n){var i,r;(function(e){/*!
	 * jQuery JavaScript Library v1.9.1
	 * http://jquery.com/
	 *
	 * Includes Sizzle.js
	 * http://sizzlejs.com/
	 *
	 * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
	 * Released under the MIT license
	 * http://jquery.org/license
	 *
	 * Date: 2013-2-4
	 */
!function(o,s){function a(e){var t=e.length,n=de.type(e);return de.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function l(e){var t=Se[e]={};return de.each(e.match(ge)||[],function(e,n){t[n]=!0}),t}function u(e,t,n,i){if(de.acceptData(e)){var r,o,a=de.expando,l="string"==typeof t,u=e.nodeType,c=u?de.cache:e,f=u?e[a]:e[a]&&a;if(f&&c[f]&&(i||c[f].data)||!l||n!==s)return f||(u?e[a]=f=re.pop()||de.guid++:f=a),c[f]||(c[f]={},u||(c[f].toJSON=de.noop)),"object"!=typeof t&&"function"!=typeof t||(i?c[f]=de.extend(c[f],t):c[f].data=de.extend(c[f].data,t)),r=c[f],i||(r.data||(r.data={}),r=r.data),n!==s&&(r[de.camelCase(t)]=n),l?(o=r[t],null==o&&(o=r[de.camelCase(t)])):o=r,o}}function c(e,t,n){if(de.acceptData(e)){var i,r,o,s=e.nodeType,a=s?de.cache:e,l=s?e[de.expando]:de.expando;if(a[l]){if(t&&(o=n?a[l]:a[l].data)){de.isArray(t)?t=t.concat(de.map(t,de.camelCase)):t in o?t=[t]:(t=de.camelCase(t),t=t in o?[t]:t.split(" "));for(i=0,r=t.length;r>i;i++)delete o[t[i]];if(!(n?p:de.isEmptyObject)(o))return}(n||(delete a[l].data,p(a[l])))&&(s?de.cleanData([e],!0):de.support.deleteExpando||a!=a.window?delete a[l]:a[l]=null)}}}function f(e,t,n){if(n===s&&1===e.nodeType){var i="data-"+t.replace(_e,"-$1").toLowerCase();if(n=e.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:De.test(n)?de.parseJSON(n):n}catch(r){}de.data(e,t,n)}else n=s}return n}function p(e){var t;for(t in e)if(("data"!==t||!de.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function d(){return!0}function h(){return!1}function g(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function m(e,t,n){if(t=t||0,de.isFunction(t))return de.grep(e,function(e,i){var r=!!t.call(e,i,e);return r===n});if(t.nodeType)return de.grep(e,function(e){return e===t===n});if("string"==typeof t){var i=de.grep(e,function(e){return 1===e.nodeType});if(Ve.test(t))return de.filter(t,i,!n);t=de.filter(t,i)}return de.grep(e,function(e){return de.inArray(e,t)>=0===n})}function v(e){var t=Je.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function y(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function b(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function x(e){var t=ut.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function w(e,t){for(var n,i=0;null!=(n=e[i]);i++)de._data(n,"globalEval",!t||de._data(t[i],"globalEval"))}function T(e,t){if(1===t.nodeType&&de.hasData(e)){var n,i,r,o=de._data(e),s=de._data(t,o),a=o.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,r=a[n].length;r>i;i++)de.event.add(t,n,a[n][i])}s.data&&(s.data=de.extend({},s.data))}}function C(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!de.support.noCloneEvent&&t[de.expando]){r=de._data(t);for(i in r.events)de.removeEvent(t,i,r.handle);t.removeAttribute(de.expando)}"script"===n&&t.text!==e.text?(b(t).text=e.text,x(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),de.support.html5Clone&&e.innerHTML&&!de.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&st.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function A(e,t){var n,i,r=0,o=typeof e.getElementsByTagName!==K?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==K?e.querySelectorAll(t||"*"):s;if(!o)for(o=[],n=e.childNodes||e;null!=(i=n[r]);r++)!t||de.nodeName(i,t)?o.push(i):de.merge(o,A(i,t));return t===s||t&&de.nodeName(e,t)?de.merge([e],o):o}function E(e){st.test(e.type)&&(e.defaultChecked=e.checked)}function N(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,r=Dt.length;r--;)if(t=Dt[r]+n,t in e)return t;return i}function k(e,t){return e=t||e,"none"===de.css(e,"display")||!de.contains(e.ownerDocument,e)}function S(e,t){for(var n,i,r,o=[],s=0,a=e.length;a>s;s++)i=e[s],i.style&&(o[s]=de._data(i,"olddisplay"),n=i.style.display,t?(o[s]||"none"!==n||(i.style.display=""),""===i.style.display&&k(i)&&(o[s]=de._data(i,"olddisplay",L(i.nodeName)))):o[s]||(r=k(i),(n&&"none"!==n||!r)&&de._data(i,"olddisplay",r?n:de.css(i,"display"))));for(s=0;a>s;s++)i=e[s],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[s]||"":"none"));return e}function D(e,t,n){var i=Tt.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function _(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,s=0;4>o;o+=2)"margin"===n&&(s+=de.css(e,n+St[o],!0,r)),i?("content"===n&&(s-=de.css(e,"padding"+St[o],!0,r)),"margin"!==n&&(s-=de.css(e,"border"+St[o]+"Width",!0,r))):(s+=de.css(e,"padding"+St[o],!0,r),"padding"!==n&&(s+=de.css(e,"border"+St[o]+"Width",!0,r)));return s}function j(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=gt(e),s=de.support.boxSizing&&"border-box"===de.css(e,"boxSizing",!1,o);if(0>=r||null==r){if(r=mt(e,t,o),(0>r||null==r)&&(r=e.style[t]),Ct.test(r))return r;i=s&&(de.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+_(e,t,n||(s?"border":"content"),i,o)+"px"}function L(e){var t=Z,n=Et[e];return n||(n=H(e,t),"none"!==n&&n||(ht=(ht||de("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(ht[0].contentWindow||ht[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=H(e,t),ht.detach()),Et[e]=n),n}function H(e,t){var n=de(t.createElement(e)).appendTo(t.body),i=de.css(n[0],"display");return n.remove(),i}function F(e,t,n,i){var r;if(de.isArray(t))de.each(t,function(t,r){n||jt.test(e)?i(e,r):F(e+"["+("object"==typeof r?t:"")+"]",r,n,i)});else if(n||"object"!==de.type(t))i(e,t);else for(r in t)F(e+"["+r+"]",t[r],n,i)}function M(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(ge)||[];if(de.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function O(e,t,n,i){function r(a){var l;return o[a]=!0,de.each(e[a]||[],function(e,a){var u=a(t,n,i);return"string"!=typeof u||s||o[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var o={},s=e===Vt;return r(t.dataTypes[0])||!o["*"]&&r("*")}function P(e,t){var n,i,r=de.ajaxSettings.flatOptions||{};for(i in t)t[i]!==s&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&de.extend(!0,e,n),e}function q(e,t,n){var i,r,o,a,l=e.contents,u=e.dataTypes,c=e.responseFields;for(a in c)a in n&&(t[c[a]]=n[a]);for(;"*"===u[0];)u.shift(),r===s&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in l)if(l[a]&&l[a].test(r)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}i||(i=a)}o=o||i}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function R(e,t){var n,i,r,o,s={},a=0,l=e.dataTypes.slice(),u=l[0];if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l[1])for(r in e.converters)s[r.toLowerCase()]=e.converters[r];for(;i=l[++a];)if("*"!==i){if("*"!==u&&u!==i){if(r=s[u+" "+i]||s["* "+i],!r)for(n in s)if(o=n.split(" "),o[1]===i&&(r=s[u+" "+o[0]]||s["* "+o[0]])){r===!0?r=s[n]:s[n]!==!0&&(i=o[0],l.splice(a--,0,i));break}if(r!==!0)if(r&&e["throws"])t=r(t);else try{t=r(t)}catch(c){return{state:"parsererror",error:r?c:"No conversion from "+u+" to "+i}}}u=i}return{state:"success",data:t}}function I(){try{return new o.XMLHttpRequest}catch(e){}}function B(){try{return new o.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function z(){return setTimeout(function(){rn=s}),rn=de.now()}function W(e,t){de.each(t,function(t,n){for(var i=(cn[t]||[]).concat(cn["*"]),r=0,o=i.length;o>r;r++)if(i[r].call(e,t,n))return})}function X(e,t,n){var i,r,o=0,s=un.length,a=de.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=rn||z(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,o=1-i,s=0,l=u.tweens.length;l>s;s++)u.tweens[s].run(o);return a.notifyWith(e,[u,o,n]),1>o&&l?n:(a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:de.extend({},t),opts:de.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:rn||z(),duration:n.duration,tweens:[],createTween:function(t,n){var i=de.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return t?a.resolveWith(e,[u,t]):a.rejectWith(e,[u,t]),this}}),c=u.props;for($(c,u.opts.specialEasing);s>o;o++)if(i=un[o].call(u,e,c,u.opts))return i;return W(u,c),de.isFunction(u.opts.start)&&u.opts.start.call(e,u),de.fx.timer(de.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function $(e,t){var n,i,r,o,s;for(r in e)if(i=de.camelCase(r),o=t[i],n=e[r],de.isArray(n)&&(o=n[1],n=e[r]=n[0]),r!==i&&(e[i]=n,delete e[r]),s=de.cssHooks[i],s&&"expand"in s){n=s.expand(n),delete e[i];for(r in n)r in e||(e[r]=n[r],t[r]=o)}else t[i]=o}function U(e,t,n){var i,r,o,s,a,l,u,c,f,p=this,d=e.style,h={},g=[],m=e.nodeType&&k(e);n.queue||(c=de._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,f=c.empty.fire,c.empty.fire=function(){c.unqueued||f()}),c.unqueued++,p.always(function(){p.always(function(){c.unqueued--,de.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===de.css(e,"display")&&"none"===de.css(e,"float")&&(de.support.inlineBlockNeedsLayout&&"inline"!==L(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",de.support.shrinkWrapBlocks||p.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(r in t)if(s=t[r],sn.exec(s)){if(delete t[r],l=l||"toggle"===s,s===(m?"hide":"show"))continue;g.push(r)}if(o=g.length){a=de._data(e,"fxshow")||de._data(e,"fxshow",{}),"hidden"in a&&(m=a.hidden),l&&(a.hidden=!m),m?de(e).show():p.done(function(){de(e).hide()}),p.done(function(){var t;de._removeData(e,"fxshow");for(t in h)de.style(e,t,h[t])});for(r=0;o>r;r++)i=g[r],u=p.createTween(i,m?a[i]:0),h[i]=a[i]||de.style(e,i),i in a||(a[i]=u.start,m&&(u.end=u.start,u.start="width"===i||"height"===i?1:0))}}function Y(e,t,n,i,r){return new Y.prototype.init(e,t,n,i,r)}function V(e,t){var n,i={height:e},r=0;for(t=t?1:0;4>r;r+=2-t)n=St[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Q(e){return de.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var G,J,K=typeof s,Z=o.document,ee=o.location,te=o.jQuery,ne=o.$,ie={},re=[],oe="1.9.1",se=re.concat,ae=re.push,le=re.slice,ue=re.indexOf,ce=ie.toString,fe=ie.hasOwnProperty,pe=oe.trim,de=function(e,t){return new de.fn.init(e,t,J)},he=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ge=/\S+/g,me=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ve=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,ye=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,be=/^[\],:{}\s]*$/,xe=/(?:^|:|,)(?:\s*\[)+/g,we=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,Te=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,Ce=/^-ms-/,Ae=/-([\da-z])/gi,Ee=function(e,t){return t.toUpperCase()},Ne=function(e){(Z.addEventListener||"load"===e.type||"complete"===Z.readyState)&&(ke(),de.ready())},ke=function(){Z.addEventListener?(Z.removeEventListener("DOMContentLoaded",Ne,!1),o.removeEventListener("load",Ne,!1)):(Z.detachEvent("onreadystatechange",Ne),o.detachEvent("onload",Ne))};de.fn=de.prototype={jquery:oe,constructor:de,init:function(e,t,n){var i,r;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ve.exec(e),!i||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof de?t[0]:t,de.merge(this,de.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:Z,!0)),ye.test(i[1])&&de.isPlainObject(t))for(i in t)de.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if(r=Z.getElementById(i[2]),r&&r.parentNode){if(r.id!==i[2])return n.find(e);this.length=1,this[0]=r}return this.context=Z,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):de.isFunction(e)?n.ready(e):(e.selector!==s&&(this.selector=e.selector,this.context=e.context),de.makeArray(e,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return le.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=de.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return de.each(this,e,t)},ready:function(e){return de.ready.promise().done(e),this},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(de.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:ae,sort:[].sort,splice:[].splice},de.fn.init.prototype=de.fn,de.extend=de.fn.extend=function(){var e,t,n,i,r,o,a=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},l=2),"object"==typeof a||de.isFunction(a)||(a={}),u===l&&(a=this,--l);u>l;l++)if(null!=(r=arguments[l]))for(i in r)e=a[i],n=r[i],a!==n&&(c&&n&&(de.isPlainObject(n)||(t=de.isArray(n)))?(t?(t=!1,o=e&&de.isArray(e)?e:[]):o=e&&de.isPlainObject(e)?e:{},a[i]=de.extend(c,o,n)):n!==s&&(a[i]=n));return a},de.extend({noConflict:function(e){return o.$===de&&(o.$=ne),e&&o.jQuery===de&&(o.jQuery=te),de},isReady:!1,readyWait:1,holdReady:function(e){e?de.readyWait++:de.ready(!0)},ready:function(e){if(e===!0?!--de.readyWait:!de.isReady){if(!Z.body)return setTimeout(de.ready);de.isReady=!0,e!==!0&&--de.readyWait>0||(G.resolveWith(Z,[de]),de.fn.trigger&&de(Z).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===de.type(e)},isArray:Array.isArray||function(e){return"array"===de.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):"object"==typeof e||"function"==typeof e?ie[ce.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==de.type(e)||e.nodeType||de.isWindow(e))return!1;try{if(e.constructor&&!fe.call(e,"constructor")&&!fe.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}var n;for(n in e);return n===s||fe.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||Z;var i=ye.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=de.buildFragment([e],t,r),r&&de(r).remove(),de.merge([],i.childNodes))},parseJSON:function(e){return o.JSON&&o.JSON.parse?o.JSON.parse(e):null===e?e:"string"==typeof e&&(e=de.trim(e),e&&be.test(e.replace(we,"@").replace(Te,"]").replace(xe,"")))?new Function("return "+e)():void de.error("Invalid JSON: "+e)},parseXML:function(e){var t,n;if(!e||"string"!=typeof e)return null;try{o.DOMParser?(n=new DOMParser,t=n.parseFromString(e,"text/xml")):(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(i){t=s}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||de.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&de.trim(e)&&(o.execScript||function(e){o.eval.call(o,e)})(e)},camelCase:function(e){return e.replace(Ce,"ms-").replace(Ae,Ee)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var i,r=0,o=e.length,s=a(e);if(n){if(s)for(;o>r&&(i=t.apply(e[r],n),i!==!1);r++);else for(r in e)if(i=t.apply(e[r],n),i===!1)break}else if(s)for(;o>r&&(i=t.call(e[r],r,e[r]),i!==!1);r++);else for(r in e)if(i=t.call(e[r],r,e[r]),i===!1)break;return e},trim:pe&&!pe.call("\ufeff ")?function(e){return null==e?"":pe.call(e)}:function(e){return null==e?"":(e+"").replace(me,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?de.merge(n,"string"==typeof e?[e]:e):ae.call(n,e)),n},inArray:function(e,t,n){var i;if(t){if(ue)return ue.call(t,e,n);for(i=t.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){var n=t.length,i=e.length,r=0;if("number"==typeof n)for(;n>r;r++)e[i++]=t[r];else for(;t[r]!==s;)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){var i,r=[],o=0,s=e.length;for(n=!!n;s>o;o++)i=!!t(e[o],o),n!==i&&r.push(e[o]);return r},map:function(e,t,n){var i,r=0,o=e.length,s=a(e),l=[];if(s)for(;o>r;r++)i=t(e[r],r,n),null!=i&&(l[l.length]=i);else for(r in e)i=t(e[r],r,n),null!=i&&(l[l.length]=i);return se.apply([],l)},guid:1,proxy:function(e,t){var n,i,r;return"string"==typeof t&&(r=e[t],t=e,e=r),de.isFunction(e)?(n=le.call(arguments,2),i=function(){return e.apply(t||this,n.concat(le.call(arguments)))},i.guid=e.guid=e.guid||de.guid++,i):s},access:function(e,t,n,i,r,o,a){var l=0,u=e.length,c=null==n;if("object"===de.type(n)){r=!0;for(l in n)de.access(e,t,l,n[l],!0,o,a)}else if(i!==s&&(r=!0,de.isFunction(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(de(e),n)})),t))for(;u>l;l++)t(e[l],n,a?i:i.call(e[l],l,t(e[l],n)));return r?e:c?t.call(e):u?t(e[0],n):o},now:function(){return(new Date).getTime()}}),de.ready.promise=function(e){if(!G)if(G=de.Deferred(),"complete"===Z.readyState)setTimeout(de.ready);else if(Z.addEventListener)Z.addEventListener("DOMContentLoaded",Ne,!1),o.addEventListener("load",Ne,!1);else{Z.attachEvent("onreadystatechange",Ne),o.attachEvent("onload",Ne);var t=!1;try{t=null==o.frameElement&&Z.documentElement}catch(n){}t&&t.doScroll&&!function i(){if(!de.isReady){try{t.doScroll("left")}catch(e){return setTimeout(i,50)}ke(),de.ready()}}()}return G.promise(e)},de.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){ie["[object "+t+"]"]=t.toLowerCase()}),J=de(Z);var Se={};de.Callbacks=function(e){e="string"==typeof e?Se[e]||l(e):de.extend({},e);var t,n,i,r,o,a,u=[],c=!e.once&&[],f=function(s){for(n=e.memory&&s,i=!0,o=a||0,a=0,r=u.length,t=!0;u&&r>o;o++)if(u[o].apply(s[0],s[1])===!1&&e.stopOnFalse){n=!1;break}t=!1,u&&(c?c.length&&f(c.shift()):n?u=[]:p.disable())},p={add:function(){if(u){var i=u.length;!function o(t){de.each(t,function(t,n){var i=de.type(n);"function"===i?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==i&&o(n)})}(arguments),t?r=u.length:n&&(a=i,f(n))}return this},remove:function(){return u&&de.each(arguments,function(e,n){for(var i;(i=de.inArray(n,u,i))>-1;)u.splice(i,1),t&&(r>=i&&r--,o>=i&&o--)}),this},has:function(e){return e?de.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=c=n=s,this},disabled:function(){return!u},lock:function(){return c=s,n||p.disable(),this},locked:function(){return!c},fireWith:function(e,n){return n=n||[],n=[e,n.slice?n.slice():n],!u||i&&!c||(t?c.push(n):f(n)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},de.extend({Deferred:function(e){var t=[["resolve","done",de.Callbacks("once memory"),"resolved"],["reject","fail",de.Callbacks("once memory"),"rejected"],["notify","progress",de.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return de.Deferred(function(n){de.each(t,function(t,o){var s=o[0],a=de.isFunction(e[t])&&e[t];r[o[1]](function(){var e=a&&a.apply(this,arguments);e&&de.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?de.extend(e,i):i}},r={};return i.pipe=i.then,de.each(t,function(e,o){var s=o[2],a=o[3];i[o[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=s.fireWith}),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,o=le.call(arguments),s=o.length,a=1!==s||e&&de.isFunction(e.promise)?s:0,l=1===a?e:de.Deferred(),u=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?le.call(arguments):r,i===t?l.notifyWith(n,i):--a||l.resolveWith(n,i)}};if(s>1)for(t=new Array(s),n=new Array(s),i=new Array(s);s>r;r++)o[r]&&de.isFunction(o[r].promise)?o[r].promise().done(u(r,i,o)).fail(l.reject).progress(u(r,n,t)):--a;return a||l.resolveWith(i,o),l.promise()}}),de.support=function(){var e,t,n,i,r,s,a,l,u,c,f=Z.createElement("div");if(f.setAttribute("className","t"),f.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=f.getElementsByTagName("*"),n=f.getElementsByTagName("a")[0],!t||!n||!t.length)return{};r=Z.createElement("select"),a=r.appendChild(Z.createElement("option")),i=f.getElementsByTagName("input")[0],n.style.cssText="top:1px;float:left;opacity:.5",e={getSetAttribute:"t"!==f.className,leadingWhitespace:3===f.firstChild.nodeType,tbody:!f.getElementsByTagName("tbody").length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.5/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:!!i.value,optSelected:a.selected,enctype:!!Z.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==Z.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===Z.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},i.checked=!0,e.noCloneChecked=i.cloneNode(!0).checked,r.disabled=!0,e.optDisabled=!a.disabled;try{delete f.test}catch(p){e.deleteExpando=!1}i=Z.createElement("input"),i.setAttribute("value",""),e.input=""===i.getAttribute("value"),i.value="t",i.setAttribute("type","radio"),e.radioValue="t"===i.value,i.setAttribute("checked","t"),i.setAttribute("name","t"),s=Z.createDocumentFragment(),s.appendChild(i),e.appendChecked=i.checked,e.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,f.attachEvent&&(f.attachEvent("onclick",function(){e.noCloneEvent=!1}),f.cloneNode(!0).click());for(c in{submit:!0,change:!0,focusin:!0})f.setAttribute(l="on"+c,"t"),e[c+"Bubbles"]=l in o||f.attributes[l].expando===!1;return f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===f.style.backgroundClip,de(function(){var t,n,i,r="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",s=Z.getElementsByTagName("body")[0];s&&(t=Z.createElement("div"),t.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(t).appendChild(f),f.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=f.getElementsByTagName("td"),i[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",e.reliableHiddenOffsets=u&&0===i[0].offsetHeight,f.innerHTML="",f.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",e.boxSizing=4===f.offsetWidth,e.doesNotIncludeMarginInBodyOffset=1!==s.offsetTop,o.getComputedStyle&&(e.pixelPosition="1%"!==(o.getComputedStyle(f,null)||{}).top,e.boxSizingReliable="4px"===(o.getComputedStyle(f,null)||{width:"4px"}).width,n=f.appendChild(Z.createElement("div")),n.style.cssText=f.style.cssText=r,n.style.marginRight=n.style.width="0",f.style.width="1px",e.reliableMarginRight=!parseFloat((o.getComputedStyle(n,null)||{}).marginRight)),typeof f.style.zoom!==K&&(f.innerHTML="",f.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=3===f.offsetWidth,f.style.display="block",f.innerHTML="<div></div>",f.firstChild.style.width="5px",e.shrinkWrapBlocks=3!==f.offsetWidth,e.inlineBlockNeedsLayout&&(s.style.zoom=1)),s.removeChild(t),t=f=i=n=null)}),t=r=s=a=n=i=null,e}();var De=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,_e=/([A-Z])/g;de.extend({cache:{},expando:"jQuery"+(oe+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?de.cache[e[de.expando]]:e[de.expando],!!e&&!p(e)},data:function(e,t,n){return u(e,t,n)},removeData:function(e,t){return c(e,t)},_data:function(e,t,n){return u(e,t,n,!0)},_removeData:function(e,t){return c(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&de.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),de.fn.extend({data:function(e,t){var n,i,r=this[0],o=0,a=null;if(e===s){if(this.length&&(a=de.data(r),1===r.nodeType&&!de._data(r,"parsedAttrs"))){for(n=r.attributes;o<n.length;o++)i=n[o].name,i.indexOf("data-")||(i=de.camelCase(i.slice(5)),f(r,i,a[i]));de._data(r,"parsedAttrs",!0)}return a}return"object"==typeof e?this.each(function(){de.data(this,e)}):de.access(this,function(t){return t===s?r?f(r,e,de.data(r,e)):null:void this.each(function(){de.data(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){de.removeData(this,e)})}}),de.extend({queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=de._data(e,t),n&&(!i||de.isArray(n)?i=de._data(e,t,de.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=de.queue(e,t),i=n.length,r=n.shift(),o=de._queueHooks(e,t),s=function(){de.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),o.cur=r,r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return de._data(e,n)||de._data(e,n,{empty:de.Callbacks("once memory").add(function(){de._removeData(e,t+"queue"),de._removeData(e,n)})})}}),de.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?de.queue(this[0],e):t===s?this:this.each(function(){var n=de.queue(this,e,t);de._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&de.dequeue(this,e)})},dequeue:function(e){return this.each(function(){de.dequeue(this,e)})},delay:function(e,t){return e=de.fx?de.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=de.Deferred(),o=this,a=this.length,l=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=s),e=e||"fx";a--;)n=de._data(o[a],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(l));return l(),r.promise(t)}});var je,Le,He=/[\t\r\n]/g,Fe=/\r/g,Me=/^(?:input|select|textarea|button|object)$/i,Oe=/^(?:a|area)$/i,Pe=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,qe=/^(?:checked|selected)$/i,Re=de.support.getSetAttribute,Ie=de.support.input;de.fn.extend({attr:function(e,t){return de.access(this,de.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){de.removeAttr(this,e)})},prop:function(e,t){return de.access(this,de.prop,e,t,arguments.length>1)},removeProp:function(e){return e=de.propFix[e]||e,this.each(function(){try{this[e]=s,delete this[e]}catch(t){}})},addClass:function(e){var t,n,i,r,o,s=0,a=this.length,l="string"==typeof e&&e;if(de.isFunction(e))return this.each(function(t){de(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(ge)||[];a>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(He," "):" ")){for(o=0;r=t[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");n.className=de.trim(i)}return this},removeClass:function(e){var t,n,i,r,o,s=0,a=this.length,l=0===arguments.length||"string"==typeof e&&e;if(de.isFunction(e))return this.each(function(t){de(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(ge)||[];a>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(He," "):"")){for(o=0;r=t[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");n.className=e?de.trim(i):""}return this},toggleClass:function(e,t){var n=typeof e,i="boolean"==typeof t;return de.isFunction(e)?this.each(function(n){de(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var r,o=0,s=de(this),a=t,l=e.match(ge)||[];r=l[o++];)a=i?a:!s.hasClass(r),s[a?"addClass":"removeClass"](r);else n!==K&&"boolean"!==n||(this.className&&de._data(this,"__className__",this.className),this.className=this.className||e===!1?"":de._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(He," ").indexOf(t)>=0)return!0;return!1},val:function(e){var t,n,i,r=this[0];{if(arguments.length)return i=de.isFunction(e),this.each(function(t){var r,o=de(this);1===this.nodeType&&(r=i?e.call(this,t,o.val()):e,null==r?r="":"number"==typeof r?r+="":de.isArray(r)&&(r=de.map(r,function(e){return null==e?"":e+""})),n=de.valHooks[this.type]||de.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,r,"value")!==s||(this.value=r))});if(r)return n=de.valHooks[r.type]||de.valHooks[r.nodeName.toLowerCase()],n&&"get"in n&&(t=n.get(r,"value"))!==s?t:(t=r.value,"string"==typeof t?t.replace(Fe,""):null==t?"":t)}}}),de.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.type||0>r,s=o?null:[],a=o?r+1:i.length,l=0>r?a:o?r:0;a>l;l++)if(n=i[l],(n.selected||l===r)&&(de.support.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!de.nodeName(n.parentNode,"optgroup"))){if(t=de(n).val(),o)return t;s.push(t)}return s},set:function(e,t){var n=de.makeArray(t);return de(e).find("option").each(function(){this.selected=de.inArray(de(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attr:function(e,t,n){var i,r,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return typeof e.getAttribute===K?de.prop(e,t,n):(r=1!==a||!de.isXMLDoc(e),r&&(t=t.toLowerCase(),i=de.attrHooks[t]||(Pe.test(t)?Le:je)),n===s?i&&r&&"get"in i&&null!==(o=i.get(e,t))?o:(typeof e.getAttribute!==K&&(o=e.getAttribute(t)),null==o?s:o):null!==n?i&&r&&"set"in i&&(o=i.set(e,n,t))!==s?o:(e.setAttribute(t,n+""),n):void de.removeAttr(e,t))},removeAttr:function(e,t){var n,i,r=0,o=t&&t.match(ge);if(o&&1===e.nodeType)for(;n=o[r++];)i=de.propFix[n]||n,Pe.test(n)?!Re&&qe.test(n)?e[de.camelCase("default-"+n)]=e[i]=!1:e[i]=!1:de.attr(e,n,""),e.removeAttribute(Re?n:i)},attrHooks:{type:{set:function(e,t){if(!de.support.radioValue&&"radio"===t&&de.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,t,n){var i,r,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return o=1!==a||!de.isXMLDoc(e),o&&(t=de.propFix[t]||t,r=de.propHooks[t]),n!==s?r&&"set"in r&&(i=r.set(e,n,t))!==s?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=e.getAttributeNode("tabindex");return t&&t.specified?parseInt(t.value,10):Me.test(e.nodeName)||Oe.test(e.nodeName)&&e.href?0:s}}}}),Le={get:function(e,t){var n=de.prop(e,t),i="boolean"==typeof n&&e.getAttribute(t),r="boolean"==typeof n?Ie&&Re?null!=i:qe.test(t)?e[de.camelCase("default-"+t)]:!!i:e.getAttributeNode(t);
return r&&r.value!==!1?t.toLowerCase():s},set:function(e,t,n){return t===!1?de.removeAttr(e,n):Ie&&Re||!qe.test(n)?e.setAttribute(!Re&&de.propFix[n]||n,n):e[de.camelCase("default-"+n)]=e[n]=!0,n}},Ie&&Re||(de.attrHooks.value={get:function(e,t){var n=e.getAttributeNode(t);return de.nodeName(e,"input")?e.defaultValue:n&&n.specified?n.value:s},set:function(e,t,n){return de.nodeName(e,"input")?void(e.defaultValue=t):je&&je.set(e,t,n)}}),Re||(je=de.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&("id"===t||"name"===t||"coords"===t?""!==n.value:n.specified)?n.value:s},set:function(e,t,n){var i=e.getAttributeNode(n);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(n)),i.value=t+="","value"===n||t===e.getAttribute(n)?t:s}},de.attrHooks.contenteditable={get:je.get,set:function(e,t,n){je.set(e,""===t?!1:t,n)}},de.each(["width","height"],function(e,t){de.attrHooks[t]=de.extend(de.attrHooks[t],{set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}})})),de.support.hrefNormalized||(de.each(["href","src","width","height"],function(e,t){de.attrHooks[t]=de.extend(de.attrHooks[t],{get:function(e){var n=e.getAttribute(t,2);return null==n?s:n}})}),de.each(["href","src"],function(e,t){de.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),de.support.style||(de.attrHooks.style={get:function(e){return e.style.cssText||s},set:function(e,t){return e.style.cssText=t+""}}),de.support.optSelected||(de.propHooks.selected=de.extend(de.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),de.support.enctype||(de.propFix.enctype="encoding"),de.support.checkOn||de.each(["radio","checkbox"],function(){de.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),de.each(["radio","checkbox"],function(){de.valHooks[this]=de.extend(de.valHooks[this],{set:function(e,t){return de.isArray(t)?e.checked=de.inArray(de(e).val(),t)>=0:void 0}})});var Be=/^(?:input|select|textarea)$/i,ze=/^key/,We=/^(?:mouse|contextmenu)|click/,Xe=/^(?:focusinfocus|focusoutblur)$/,$e=/^([^.]*)(?:\.(.+)|)$/;de.event={global:{},add:function(e,t,n,i,r){var o,a,l,u,c,f,p,d,h,g,m,v=de._data(e);if(v){for(n.handler&&(u=n,n=u.handler,r=u.selector),n.guid||(n.guid=de.guid++),(a=v.events)||(a=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof de===K||e&&de.event.triggered===e.type?s:de.event.dispatch.apply(f.elem,arguments)},f.elem=e),t=(t||"").match(ge)||[""],l=t.length;l--;)o=$e.exec(t[l])||[],h=m=o[1],g=(o[2]||"").split(".").sort(),c=de.event.special[h]||{},h=(r?c.delegateType:c.bindType)||h,c=de.event.special[h]||{},p=de.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&de.expr.match.needsContext.test(r),namespace:g.join(".")},u),(d=a[h])||(d=a[h]=[],d.delegateCount=0,c.setup&&c.setup.call(e,i,g,f)!==!1||(e.addEventListener?e.addEventListener(h,f,!1):e.attachEvent&&e.attachEvent("on"+h,f))),c.add&&(c.add.call(e,p),p.handler.guid||(p.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,p):d.push(p),de.event.global[h]=!0;e=null}},remove:function(e,t,n,i,r){var o,s,a,l,u,c,f,p,d,h,g,m=de.hasData(e)&&de._data(e);if(m&&(c=m.events)){for(t=(t||"").match(ge)||[""],u=t.length;u--;)if(a=$e.exec(t[u])||[],d=g=a[1],h=(a[2]||"").split(".").sort(),d){for(f=de.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,p=c[d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=p.length;o--;)s=p[o],!r&&g!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(p.splice(o,1),s.selector&&p.delegateCount--,f.remove&&f.remove.call(e,s));l&&!p.length&&(f.teardown&&f.teardown.call(e,h,m.handle)!==!1||de.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)de.event.remove(e,d+t[u],n,i,!0);de.isEmptyObject(c)&&(delete m.handle,de._removeData(e,"events"))}},trigger:function(e,t,n,i){var r,a,l,u,c,f,p,d=[n||Z],h=fe.call(e,"type")?e.type:e,g=fe.call(e,"namespace")?e.namespace.split("."):[];if(l=f=n=n||Z,3!==n.nodeType&&8!==n.nodeType&&!Xe.test(h+de.event.triggered)&&(h.indexOf(".")>=0&&(g=h.split("."),h=g.shift(),g.sort()),a=h.indexOf(":")<0&&"on"+h,e=e[de.expando]?e:new de.Event(h,"object"==typeof e&&e),e.isTrigger=!0,e.namespace=g.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=s,e.target||(e.target=n),t=null==t?[e]:de.makeArray(t,[e]),c=de.event.special[h]||{},i||!c.trigger||c.trigger.apply(n,t)!==!1)){if(!i&&!c.noBubble&&!de.isWindow(n)){for(u=c.delegateType||h,Xe.test(u+h)||(l=l.parentNode);l;l=l.parentNode)d.push(l),f=l;f===(n.ownerDocument||Z)&&d.push(f.defaultView||f.parentWindow||o)}for(p=0;(l=d[p++])&&!e.isPropagationStopped();)e.type=p>1?u:c.bindType||h,r=(de._data(l,"events")||{})[e.type]&&de._data(l,"handle"),r&&r.apply(l,t),r=a&&l[a],r&&de.acceptData(l)&&r.apply&&r.apply(l,t)===!1&&e.preventDefault();if(e.type=h,!i&&!e.isDefaultPrevented()&&(!c._default||c._default.apply(n.ownerDocument,t)===!1)&&("click"!==h||!de.nodeName(n,"a"))&&de.acceptData(n)&&a&&n[h]&&!de.isWindow(n)){f=n[a],f&&(n[a]=null),de.event.triggered=h;try{n[h]()}catch(m){}de.event.triggered=s,f&&(n[a]=f)}return e.result}},dispatch:function(e){e=de.event.fix(e);var t,n,i,r,o,a=[],l=le.call(arguments),u=(de._data(this,"events")||{})[e.type]||[],c=de.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){for(a=de.event.handlers.call(this,e,u),t=0;(r=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(i.namespace)||(e.handleObj=i,e.data=i.data,n=((de.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,l),n!==s&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,o,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],o=0;l>o;o++)i=t[o],n=i.selector+" ",r[n]===s&&(r[n]=i.needsContext?de(n,this).index(u)>=0:de.find(n,this,null,[u]).length),r[n]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return l<t.length&&a.push({elem:this,handlers:t.slice(l)}),a},fix:function(e){if(e[de.expando])return e;var t,n,i,r=e.type,o=e,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=We.test(r)?this.mouseHooks:ze.test(r)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,e=new de.Event(o),t=i.length;t--;)n=i[t],e[n]=o[n];return e.target||(e.target=o.srcElement||Z),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=e.target.ownerDocument||Z,r=i.documentElement,n=i.body,e.pageX=t.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||o===s||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){return de.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0}},focus:{trigger:function(){if(this!==Z.activeElement&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===Z.activeElement&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},beforeunload:{postDispatch:function(e){e.result!==s&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,i){var r=de.extend(new de.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?de.event.trigger(r,null,t):de.event.dispatch.call(t,r),r.isDefaultPrevented()&&n.preventDefault()}},de.removeEvent=Z.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&(typeof e[i]===K&&(e[i]=null),e.detachEvent(i,n))},de.Event=function(e,t){return this instanceof de.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?d:h):this.type=e,t&&de.extend(this,t),this.timeStamp=e&&e.timeStamp||de.now(),void(this[de.expando]=!0)):new de.Event(e,t)},de.Event.prototype={isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=d,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=d,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=d,this.stopPropagation()}},de.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){de.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||de.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),de.support.submitBubbles||(de.event.special.submit={setup:function(){return de.nodeName(this,"form")?!1:void de.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=de.nodeName(t,"input")||de.nodeName(t,"button")?t.form:s;n&&!de._data(n,"submitBubbles")&&(de.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),de._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&de.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return de.nodeName(this,"form")?!1:void de.event.remove(this,"._submit")}}),de.support.changeBubbles||(de.event.special.change={setup:function(){return Be.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(de.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),de.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),de.event.simulate("change",this,e,!0)})),!1):void de.event.add(this,"beforeactivate._change",function(e){var t=e.target;Be.test(t.nodeName)&&!de._data(t,"changeBubbles")&&(de.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||de.event.simulate("change",this.parentNode,e,!0)}),de._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return de.event.remove(this,"._change"),!Be.test(this.nodeName)}}),de.support.focusinBubbles||de.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,i=function(e){de.event.simulate(t,e.target,de.event.fix(e),!0)};de.event.special[t]={setup:function(){0===n++&&Z.addEventListener(e,i,!0)},teardown:function(){0===--n&&Z.removeEventListener(e,i,!0)}}}),de.fn.extend({on:function(e,t,n,i,r){var o,a;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=s);for(o in e)this.on(o,t,n,e[o],r);return this}if(null==n&&null==i?(i=t,n=t=s):null==i&&("string"==typeof t?(i=n,n=s):(i=n,n=t,t=s)),i===!1)i=h;else if(!i)return this;return 1===r&&(a=i,i=function(e){return de().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=de.guid++)),this.each(function(){de.event.add(this,e,i,n,t)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,de(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=s),n===!1&&(n=h),this.each(function(){de.event.remove(this,e,n,t)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){de.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?de.event.trigger(e,t,n,!0):void 0}}),/*!
	 * Sizzle CSS Selector Engine
	 * Copyright 2012 jQuery Foundation and other contributors
	 * Released under the MIT license
	 * http://sizzlejs.com/
	 */
function(e,t){function n(e){return he.test(e+"")}function i(){var e,t=[];return e=function(n,i){return t.push(n+=" ")>A.cacheLength&&delete e[t.shift()],e[n]=i}}function r(e){return e[R]=!0,e}function o(e){var t=j.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}}function s(e,t,n,i){var r,o,s,a,l,u,c,d,h,g;if((t?t.ownerDocument||t:I)!==j&&_(t),t=t||j,n=n||[],!e||"string"!=typeof e)return n;if(1!==(a=t.nodeType)&&9!==a)return[];if(!H&&!i){if(r=ge.exec(e))if(s=r[1]){if(9===a){if(o=t.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&P(t,o)&&o.id===s)return n.push(o),n}else{if(r[2])return J.apply(n,K.call(t.getElementsByTagName(e),0)),n;if((s=r[3])&&B.getByClassName&&t.getElementsByClassName)return J.apply(n,K.call(t.getElementsByClassName(s),0)),n}if(B.qsa&&!F.test(e)){if(c=!0,d=R,h=t,g=9===a&&e,1===a&&"object"!==t.nodeName.toLowerCase()){for(u=f(e),(c=t.getAttribute("id"))?d=c.replace(ye,"\\$&"):t.setAttribute("id",d),d="[id='"+d+"'] ",l=u.length;l--;)u[l]=d+p(u[l]);h=pe.test(e)&&t.parentNode||t,g=u.join(",")}if(g)try{return J.apply(n,K.call(h.querySelectorAll(g),0)),n}catch(m){}finally{c||t.removeAttribute("id")}}}return x(e.replace(se,"$1"),t,n,i)}function a(e,t){var n=t&&e,i=n&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function l(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return r(function(t){return t=+t,r(function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function f(e,t){var n,i,r,o,a,l,u,c=$[e+" "];if(c)return t?0:c.slice(0);for(a=e,l=[],u=A.preFilter;a;){n&&!(i=ae.exec(a))||(i&&(a=a.slice(i[0].length)||a),l.push(r=[])),n=!1,(i=le.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(se," ")}),a=a.slice(n.length));for(o in A.filter)!(i=fe[o].exec(a))||u[o]&&!(i=u[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?s.error(e):$(e,l).slice(0)}function p(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function d(e,t,n){var i=t.dir,r=n&&"parentNode"===i,o=W++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,o)}:function(t,n,s){var a,l,u,c=z+" "+o;if(s){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,s))return!0}else for(;t=t[i];)if(1===t.nodeType||r)if(u=t[R]||(t[R]={}),(l=u[i])&&l[0]===c){if((a=l[1])===!0||a===C)return a===!0}else if(l=u[i]=[c],l[1]=e(t,n,s)||C,l[1]===!0)return!0}}function h(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function g(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,u=null!=t;l>a;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),u&&t.push(a)));return s}function m(e,t,n,i,o,s){return i&&!i[R]&&(i=m(i)),o&&!o[R]&&(o=m(o,s)),r(function(r,s,a,l){var u,c,f,p=[],d=[],h=s.length,m=r||b(t||"*",a.nodeType?[a]:a,[]),v=!e||!r&&t?m:g(m,p,e,a,l),y=n?o||(r?e:h||i)?[]:s:v;if(n&&n(v,y,a,l),i)for(u=g(y,d),i(u,[],a,l),c=u.length;c--;)(f=u[c])&&(y[d[c]]=!(v[d[c]]=f));if(r){if(o||e){if(o){for(u=[],c=y.length;c--;)(f=y[c])&&u.push(v[c]=f);o(null,y=[],u,l)}for(c=y.length;c--;)(f=y[c])&&(u=o?Z.call(r,f):p[c])>-1&&(r[u]=!(s[u]=f))}}else y=g(y===s?y.splice(h,y.length):y),o?o(null,s,y,l):J.apply(s,y)})}function v(e){for(var t,n,i,r=e.length,o=A.relative[e[0].type],s=o||A.relative[" "],a=o?1:0,l=d(function(e){return e===t},s,!0),u=d(function(e){return Z.call(t,e)>-1},s,!0),c=[function(e,n,i){return!o&&(i||n!==D)||((t=n).nodeType?l(e,n,i):u(e,n,i))}];r>a;a++)if(n=A.relative[e[a].type])c=[d(h(c),n)];else{if(n=A.filter[e[a].type].apply(null,e[a].matches),n[R]){for(i=++a;r>i&&!A.relative[e[i].type];i++);return m(a>1&&h(c),a>1&&p(e.slice(0,a-1)).replace(se,"$1"),n,i>a&&v(e.slice(a,i)),r>i&&v(e=e.slice(i)),r>i&&p(e))}c.push(n)}return h(c)}function y(e,t){var n=0,i=t.length>0,o=e.length>0,a=function(r,a,l,u,c){var f,p,d,h=[],m=0,v="0",y=r&&[],b=null!=c,x=D,w=r||o&&A.find.TAG("*",c&&a.parentNode||a),T=z+=null==x?1:Math.random()||.1;for(b&&(D=a!==j&&a,C=n);null!=(f=w[v]);v++){if(o&&f){for(p=0;d=e[p++];)if(d(f,a,l)){u.push(f);break}b&&(z=T,C=++n)}i&&((f=!d&&f)&&m--,r&&y.push(f))}if(m+=v,i&&v!==m){for(p=0;d=t[p++];)d(y,h,a,l);if(r){if(m>0)for(;v--;)y[v]||h[v]||(h[v]=G.call(u));h=g(h)}J.apply(u,h),b&&!r&&h.length>0&&m+t.length>1&&s.uniqueSort(u)}return b&&(z=T,D=x),y};return i?r(a):a}function b(e,t,n){for(var i=0,r=t.length;r>i;i++)s(e,t[i],n);return n}function x(e,t,n,i){var r,o,s,a,l,u=f(e);if(!i&&1===u.length){if(o=u[0]=u[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&9===t.nodeType&&!H&&A.relative[o[1].type]){if(t=A.find.ID(s.matches[0].replace(xe,we),t)[0],!t)return n;e=e.slice(o.shift().value.length)}for(r=fe.needsContext.test(e)?0:o.length;r--&&(s=o[r],!A.relative[a=s.type]);)if((l=A.find[a])&&(i=l(s.matches[0].replace(xe,we),pe.test(o[0].type)&&t.parentNode||t))){if(o.splice(r,1),e=i.length&&p(o),!e)return J.apply(n,K.call(i,0)),n;break}}return k(e,u)(i,t,H,n,pe.test(e)),n}function w(){}var T,C,A,E,N,k,S,D,_,j,L,H,F,M,O,P,q,R="sizzle"+-new Date,I=e.document,B={},z=0,W=0,X=i(),$=i(),U=i(),Y=typeof t,V=1<<31,Q=[],G=Q.pop,J=Q.push,K=Q.slice,Z=Q.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ne=te.replace("w","w#"),ie="([*^$|!~]?=)",re="\\["+ee+"*("+te+")"+ee+"*(?:"+ie+ee+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ne+")|)|)"+ee+"*\\]",oe=":("+te+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+re.replace(3,8)+")*)|.*)\\)|)",se=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=new RegExp("^"+ee+"*,"+ee+"*"),le=new RegExp("^"+ee+"*([\\x20\\t\\r\\n\\f>+~])"+ee+"*"),ue=new RegExp(oe),ce=new RegExp("^"+ne+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),NAME:new RegExp("^\\[name=['\"]?("+te+")['\"]?\\]"),TAG:new RegExp("^("+te.replace("w","w*")+")"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},pe=/[\x20\t\r\n\f]*[+~]/,he=/^[^{]+\{\s*\[native code/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ye=/'|\\/g,be=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,xe=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,we=function(e,t){var n="0x"+t-65536;return n!==n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)};try{K.call(I.documentElement.childNodes,0)[0].nodeType}catch(Te){K=function(e){for(var t,n=[];t=this[e++];)n.push(t);return n}}N=s.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},_=s.setDocument=function(e){var i=e?e.ownerDocument||e:I;return i!==j&&9===i.nodeType&&i.documentElement?(j=i,L=i.documentElement,H=N(i),B.tagNameNoComments=o(function(e){return e.appendChild(i.createComment("")),!e.getElementsByTagName("*").length}),B.attributes=o(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),B.getByClassName=o(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),B.getByName=o(function(e){e.id=R+0,e.innerHTML="<a name='"+R+"'></a><div name='"+R+"'></div>",L.insertBefore(e,L.firstChild);var t=i.getElementsByName&&i.getElementsByName(R).length===2+i.getElementsByName(R+0).length;return B.getIdNotName=!i.getElementById(R),L.removeChild(e),t}),A.attrHandle=o(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==Y&&"#"===e.firstChild.getAttribute("href")})?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},B.getIdNotName?(A.find.ID=function(e,t){if(typeof t.getElementById!==Y&&!H){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},A.filter.ID=function(e){var t=e.replace(xe,we);return function(e){return e.getAttribute("id")===t}}):(A.find.ID=function(e,n){if(typeof n.getElementById!==Y&&!H){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==Y&&i.getAttributeNode("id").value===e?[i]:t:[]}},A.filter.ID=function(e){var t=e.replace(xe,we);return function(e){var n=typeof e.getAttributeNode!==Y&&e.getAttributeNode("id");return n&&n.value===t}}),A.find.TAG=B.tagNameNoComments?function(e,t){return typeof t.getElementsByTagName!==Y?t.getElementsByTagName(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},A.find.NAME=B.getByName&&function(e,t){return typeof t.getElementsByName!==Y?t.getElementsByName(name):void 0},A.find.CLASS=B.getByClassName&&function(e,t){return typeof t.getElementsByClassName===Y||H?void 0:t.getElementsByClassName(e)},M=[],F=[":focus"],(B.qsa=n(i.querySelectorAll))&&(o(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||F.push("\\["+ee+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||F.push(":checked")}),o(function(e){e.innerHTML="<input type='hidden' i=''/>",e.querySelectorAll("[i^='']").length&&F.push("[*^$]="+ee+"*(?:\"\"|'')"),e.querySelectorAll(":enabled").length||F.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),F.push(",.*:")})),(B.matchesSelector=n(O=L.matchesSelector||L.mozMatchesSelector||L.webkitMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(e){B.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),M.push("!=",oe)}),F=new RegExp(F.join("|")),M=new RegExp(M.join("|")),P=n(L.contains)||L.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},q=L.compareDocumentPosition?function(e,t){var n;return e===t?(S=!0,0):(n=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t))?1&n||e.parentNode&&11===e.parentNode.nodeType?e===i||P(I,e)?-1:t===i||P(I,t)?1:0:4&n?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var n,r=0,o=e.parentNode,s=t.parentNode,l=[e],u=[t];if(e===t)return S=!0,0;if(!o||!s)return e===i?-1:t===i?1:o?-1:s?1:0;if(o===s)return a(e,t);for(n=e;n=n.parentNode;)l.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;l[r]===u[r];)r++;return r?a(l[r],u[r]):l[r]===I?-1:u[r]===I?1:0},S=!1,[0,0].sort(q),B.detectDuplicates=S,j):j},s.matches=function(e,t){return s(e,null,null,t)},s.matchesSelector=function(e,t){if((e.ownerDocument||e)!==j&&_(e),t=t.replace(be,"='$1']"),B.matchesSelector&&!H&&(!M||!M.test(t))&&!F.test(t))try{var n=O.call(e,t);if(n||B.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return s(t,j,null,[e]).length>0},s.contains=function(e,t){return(e.ownerDocument||e)!==j&&_(e),P(e,t)},s.attr=function(e,t){var n;return(e.ownerDocument||e)!==j&&_(e),H||(t=t.toLowerCase()),(n=A.attrHandle[t])?n(e):H||B.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))&&e[t]===!0?t:n&&n.specified?n.value:null},s.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},s.uniqueSort=function(e){var t,n=[],i=1,r=0;if(S=!B.detectDuplicates,e.sort(q),S){for(;t=e[i];i++)t===e[i-1]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return e},E=s.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=E(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i];i++)n+=E(t);return n},A=s.selectors={cacheLength:50,createPseudo:r,match:fe,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,we),e[3]=(e[4]||e[5]||"").replace(xe,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||s.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&s.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return fe.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&ue.test(n)&&(t=f(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(xe,we).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=X[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&X(e,function(e){return t.test(e.className||typeof e.getAttribute!==Y&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=s.attr(i,e);return null==r?"!="===t:t?(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r+" ").indexOf(n)>-1:"|="===t?r===n||r.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,p,d,h,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a;if(m){if(o){for(;g;){for(f=t;f=f[g];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&y){for(c=m[R]||(m[R]={}),u=c[e]||[],d=u[0]===z&&u[1],p=u[0]===z&&u[2],f=d&&m.childNodes[d];f=++d&&f&&f[g]||(p=d=0)||h.pop();)if(1===f.nodeType&&++p&&f===t){c[e]=[z,d,p];break}}else if(y&&(u=(t[R]||(t[R]={}))[e])&&u[0]===z)p=u[1];else for(;(f=++d&&f&&f[g]||(p=d=0)||h.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++p||(y&&((f[R]||(f[R]={}))[e]=[z,p]),f!==t)););return p-=r,p===i||p%i===0&&p/i>=0}}},PSEUDO:function(e,t){var n,i=A.pseudos[e]||A.setFilters[e.toLowerCase()]||s.error("unsupported pseudo: "+e);return i[R]?i(t):i.length>1?(n=[e,e,"",t],A.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,n){for(var r,o=i(e,t),s=o.length;s--;)r=Z.call(e,o[s]),e[r]=!(n[r]=o[s])}):function(e){return i(e,0,n)}):i}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(se,"$1"));return i[R]?r(function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),!n.pop()}}),has:r(function(e){return function(t){return s(e,t).length>0}}),contains:r(function(e){return function(t){return(t.textContent||t.innerText||E(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||s.error("unsupported lang: "+e),e=e.replace(xe,we).toLowerCase(),function(t){var n;do if(n=H?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===L},focus:function(e){return e===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!A.pseudos.empty(e)},header:function(e){return ve.test(e.nodeName)},input:function(e){return me.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[0>n?n+t:n]}),even:c(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e}),gt:c(function(e,t,n){for(var i=0>n?n+t:n;++i<t;)e.push(i);return e})}};for(T in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})A.pseudos[T]=l(T);for(T in{submit:!0,reset:!0})A.pseudos[T]=u(T);k=s.compile=function(e,t){var n,i=[],r=[],o=U[e+" "];if(!o){for(t||(t=f(e)),n=t.length;n--;)o=v(t[n]),o[R]?i.push(o):r.push(o);o=U(e,y(r,i))}return o},A.pseudos.nth=A.pseudos.eq,A.filters=w.prototype=A.pseudos,A.setFilters=new w,_(),s.attr=de.attr,de.find=s,de.expr=s.selectors,de.expr[":"]=de.expr.pseudos,de.unique=s.uniqueSort,de.text=s.getText,de.isXMLDoc=s.isXML,de.contains=s.contains}(o);var Ue=/Until$/,Ye=/^(?:parents|prev(?:Until|All))/,Ve=/^.[^:#\[\.,]*$/,Qe=de.expr.match.needsContext,Ge={children:!0,contents:!0,next:!0,prev:!0};de.fn.extend({find:function(e){var t,n,i,r=this.length;if("string"!=typeof e)return i=this,this.pushStack(de(e).filter(function(){for(t=0;r>t;t++)if(de.contains(i[t],this))return!0}));for(n=[],t=0;r>t;t++)de.find(e,this[t],n);return n=this.pushStack(r>1?de.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=de(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(de.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(m(this,e,!1))},filter:function(e){return this.pushStack(m(this,e,!0))},is:function(e){return!!e&&("string"==typeof e?Qe.test(e)?de(e,this.context).index(this[0])>=0:de.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var n,i=0,r=this.length,o=[],s=Qe.test(e)||"string"!=typeof e?de(e,t||this.context):0;r>i;i++)for(n=this[i];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(s?s.index(n)>-1:de.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}return this.pushStack(o.length>1?de.unique(o):o)},index:function(e){return e?"string"==typeof e?de.inArray(this[0],de(e)):de.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?de(e,t):de.makeArray(e&&e.nodeType?[e]:e),i=de.merge(this.get(),n);return this.pushStack(de.unique(i))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),de.fn.andSelf=de.fn.addBack,de.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return de.dir(e,"parentNode")},parentsUntil:function(e,t,n){return de.dir(e,"parentNode",n)},next:function(e){return g(e,"nextSibling")},prev:function(e){return g(e,"previousSibling")},nextAll:function(e){return de.dir(e,"nextSibling")},prevAll:function(e){return de.dir(e,"previousSibling")},nextUntil:function(e,t,n){return de.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return de.dir(e,"previousSibling",n)},siblings:function(e){return de.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return de.sibling(e.firstChild)},contents:function(e){return de.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:de.merge([],e.childNodes)}},function(e,t){de.fn[e]=function(n,i){var r=de.map(this,t,n);return Ue.test(e)||(i=n),i&&"string"==typeof i&&(r=de.filter(i,r)),r=this.length>1&&!Ge[e]?de.unique(r):r,this.length>1&&Ye.test(e)&&(r=r.reverse()),this.pushStack(r)}}),de.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?de.find.matchesSelector(t[0],e)?[t[0]]:[]:de.find.matches(e,t)},dir:function(e,t,n){for(var i=[],r=e[t];r&&9!==r.nodeType&&(n===s||1!==r.nodeType||!de(r).is(n));)1===r.nodeType&&i.push(r),r=r[t];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Je="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ke=/ jQuery\d+="(?:null|\d+)"/g,Ze=new RegExp("<(?:"+Je+")[\\s/>]","i"),et=/^\s+/,tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,nt=/<([\w:]+)/,it=/<tbody/i,rt=/<|&#?\w+;/,ot=/<(?:script|style|link)/i,st=/^(?:checkbox|radio)$/i,at=/checked\s*(?:[^=]|=\s*.checked.)/i,lt=/^$|\/(?:java|ecma)script/i,ut=/^true\/(.*)/,ct=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ft={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:de.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},pt=v(Z),dt=pt.appendChild(Z.createElement("div"));ft.optgroup=ft.option,ft.tbody=ft.tfoot=ft.colgroup=ft.caption=ft.thead,ft.th=ft.td,de.fn.extend({text:function(e){return de.access(this,function(e){return e===s?de.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Z).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(de.isFunction(e))return this.each(function(t){de(this).wrapAll(e.call(this,t))});if(this[0]){var t=de(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return de.isFunction(e)?this.each(function(t){de(this).wrapInner(e.call(this,t))}):this.each(function(){var t=de(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=de.isFunction(e);return this.each(function(n){de(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){de.nodeName(this,"body")||de(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||this.insertBefore(e,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,i=0;null!=(n=this[i]);i++)(!e||de.filter(e,[n]).length>0)&&(t||1!==n.nodeType||de.cleanData(A(n)),n.parentNode&&(t&&de.contains(n.ownerDocument,n)&&w(A(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&de.cleanData(A(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&de.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return de.clone(this,e,t)})},html:function(e){return de.access(this,function(e){var t=this[0]||{},n=0,i=this.length;if(e===s)return 1===t.nodeType?t.innerHTML.replace(Ke,""):s;if("string"==typeof e&&!ot.test(e)&&(de.support.htmlSerialize||!Ze.test(e))&&(de.support.leadingWhitespace||!et.test(e))&&!ft[(nt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(tt,"<$1></$2>");try{for(;i>n;n++)t=this[n]||{},1===t.nodeType&&(de.cleanData(A(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){var t=de.isFunction(e);return t||"string"==typeof e||(e=de(e).not(this).detach()),this.domManip([e],!0,function(e){var t=this.nextSibling,n=this.parentNode;n&&(de(this).remove(),n.insertBefore(e,t))})},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=se.apply([],e);var i,r,o,a,l,u,c=0,f=this.length,p=this,d=f-1,h=e[0],g=de.isFunction(h);if(g||!(1>=f||"string"!=typeof h||de.support.checkClone)&&at.test(h))return this.each(function(i){var r=p.eq(i);g&&(e[0]=h.call(this,i,t?r.html():s)),r.domManip(e,t,n)});if(f&&(u=de.buildFragment(e,this[0].ownerDocument,!1,this),i=u.firstChild,1===u.childNodes.length&&(u=i),i)){for(t=t&&de.nodeName(i,"tr"),a=de.map(A(u,"script"),b),o=a.length;f>c;c++)r=u,c!==d&&(r=de.clone(r,!0,!0),o&&de.merge(a,A(r,"script"))),n.call(t&&de.nodeName(this[c],"table")?y(this[c],"tbody"):this[c],r,c);if(o)for(l=a[a.length-1].ownerDocument,de.map(a,x),c=0;o>c;c++)r=a[c],lt.test(r.type||"")&&!de._data(r,"globalEval")&&de.contains(l,r)&&(r.src?de.ajax({url:r.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):de.globalEval((r.text||r.textContent||r.innerHTML||"").replace(ct,"")));u=i=null}return this}}),de.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){de.fn[e]=function(e){for(var n,i=0,r=[],o=de(e),s=o.length-1;s>=i;i++)n=i===s?this:this.clone(!0),de(o[i])[t](n),ae.apply(r,n.get());return this.pushStack(r)}}),de.extend({clone:function(e,t,n){var i,r,o,s,a,l=de.contains(e.ownerDocument,e);if(de.support.html5Clone||de.isXMLDoc(e)||!Ze.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(dt.innerHTML=e.outerHTML,dt.removeChild(o=dt.firstChild)),!(de.support.noCloneEvent&&de.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||de.isXMLDoc(e)))for(i=A(o),a=A(e),s=0;null!=(r=a[s]);++s)i[s]&&C(r,i[s]);if(t)if(n)for(a=a||A(e),i=i||A(o),s=0;null!=(r=a[s]);s++)T(r,i[s]);else T(e,o);return i=A(o,"script"),i.length>0&&w(i,!l&&A(e,"script")),i=a=r=null,o},buildFragment:function(e,t,n,i){for(var r,o,s,a,l,u,c,f=e.length,p=v(t),d=[],h=0;f>h;h++)if(o=e[h],o||0===o)if("object"===de.type(o))de.merge(d,o.nodeType?[o]:o);else if(rt.test(o)){for(a=a||p.appendChild(t.createElement("div")),l=(nt.exec(o)||["",""])[1].toLowerCase(),c=ft[l]||ft._default,a.innerHTML=c[1]+o.replace(tt,"<$1></$2>")+c[2],r=c[0];r--;)a=a.lastChild;if(!de.support.leadingWhitespace&&et.test(o)&&d.push(t.createTextNode(et.exec(o)[0])),!de.support.tbody)for(o="table"!==l||it.test(o)?"<table>"!==c[1]||it.test(o)?0:a:a.firstChild,r=o&&o.childNodes.length;r--;)de.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(de.merge(d,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=p.lastChild}else d.push(t.createTextNode(o));for(a&&p.removeChild(a),de.support.appendChecked||de.grep(A(d,"input"),E),h=0;o=d[h++];)if((!i||-1===de.inArray(o,i))&&(s=de.contains(o.ownerDocument,o),a=A(p.appendChild(o),"script"),s&&w(a),n))for(r=0;o=a[r++];)lt.test(o.type||"")&&n.push(o);return a=null,p},cleanData:function(e,t){for(var n,i,r,o,s=0,a=de.expando,l=de.cache,u=de.support.deleteExpando,c=de.event.special;null!=(n=e[s]);s++)if((t||de.acceptData(n))&&(r=n[a],o=r&&l[r])){if(o.events)for(i in o.events)c[i]?de.event.remove(n,i):de.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[a]:typeof n.removeAttribute!==K?n.removeAttribute(a):n[a]=null,re.push(r))}}});var ht,gt,mt,vt=/alpha\([^)]*\)/i,yt=/opacity\s*=\s*([^)]*)/,bt=/^(top|right|bottom|left)$/,xt=/^(none|table(?!-c[ea]).+)/,wt=/^margin/,Tt=new RegExp("^("+he+")(.*)$","i"),Ct=new RegExp("^("+he+")(?!px)[a-z%]+$","i"),At=new RegExp("^([+-])=("+he+")","i"),Et={BODY:"block"},Nt={position:"absolute",visibility:"hidden",display:"block"},kt={letterSpacing:0,fontWeight:400},St=["Top","Right","Bottom","Left"],Dt=["Webkit","O","Moz","ms"];de.fn.extend({css:function(e,t){return de.access(this,function(e,t,n){var i,r,o={},a=0;if(de.isArray(t)){for(r=gt(e),i=t.length;i>a;a++)o[t[a]]=de.css(e,t[a],!1,r);return o}return n!==s?de.style(e,t,n):de.css(e,t)},e,t,arguments.length>1)},show:function(){return S(this,!0)},hide:function(){return S(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:k(this))?de(this).show():de(this).hide()})}}),de.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=mt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":de.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,l=de.camelCase(t),u=e.style;if(t=de.cssProps[l]||(de.cssProps[l]=N(u,l)),a=de.cssHooks[t]||de.cssHooks[l],n===s)return a&&"get"in a&&(r=a.get(e,!1,i))!==s?r:u[t];if(o=typeof n,"string"===o&&(r=At.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(de.css(e,t)),o="number"),!(null==n||"number"===o&&isNaN(n)||("number"!==o||de.cssNumber[l]||(n+="px"),de.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,i))===s)))try{u[t]=n}catch(c){}}},css:function(e,t,n,i){var r,o,a,l=de.camelCase(t);return t=de.cssProps[l]||(de.cssProps[l]=N(e.style,l)),a=de.cssHooks[t]||de.cssHooks[l],a&&"get"in a&&(o=a.get(e,!0,n)),o===s&&(o=mt(e,t,i)),"normal"===o&&t in kt&&(o=kt[t]),""===n||n?(r=parseFloat(o),n===!0||de.isNumeric(r)?r||0:o):o},swap:function(e,t,n,i){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];r=n.apply(e,i||[]);for(o in t)e.style[o]=s[o];return r}}),o.getComputedStyle?(gt=function(e){return o.getComputedStyle(e,null)},mt=function(e,t,n){var i,r,o,a=n||gt(e),l=a?a.getPropertyValue(t)||a[t]:s,u=e.style;return a&&(""!==l||de.contains(e.ownerDocument,e)||(l=de.style(e,t)),Ct.test(l)&&wt.test(t)&&(i=u.width,r=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=a.width,u.width=i,u.minWidth=r,u.maxWidth=o)),l}):Z.documentElement.currentStyle&&(gt=function(e){return e.currentStyle},mt=function(e,t,n){var i,r,o,a=n||gt(e),l=a?a[t]:s,u=e.style;return null==l&&u&&u[t]&&(l=u[t]),Ct.test(l)&&!bt.test(t)&&(i=u.left,r=e.runtimeStyle,o=r&&r.left,o&&(r.left=e.currentStyle.left),u.left="fontSize"===t?"1em":l,l=u.pixelLeft+"px",u.left=i,o&&(r.left=o)),""===l?"auto":l}),de.each(["height","width"],function(e,t){de.cssHooks[t]={get:function(e,n,i){return n?0===e.offsetWidth&&xt.test(de.css(e,"display"))?de.swap(e,Nt,function(){return j(e,t,i)}):j(e,t,i):void 0},set:function(e,n,i){var r=i&&gt(e);return D(e,n,i?_(e,t,i,de.support.boxSizing&&"border-box"===de.css(e,"boxSizing",!1,r),r):0)}}}),de.support.opacity||(de.cssHooks.opacity={get:function(e,t){return yt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=de.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===de.trim(o.replace(vt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=vt.test(o)?o.replace(vt,r):o+" "+r)}}),de(function(){de.support.reliableMarginRight||(de.cssHooks.marginRight={get:function(e,t){return t?de.swap(e,{display:"inline-block"},mt,[e,"marginRight"]):void 0}}),!de.support.pixelPosition&&de.fn.position&&de.each(["top","left"],function(e,t){de.cssHooks[t]={get:function(e,n){return n?(n=mt(e,t),Ct.test(n)?de(e).position()[t]+"px":n):void 0}}})}),de.expr&&de.expr.filters&&(de.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!de.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||de.css(e,"display"))},de.expr.filters.visible=function(e){return!de.expr.filters.hidden(e)}),de.each({margin:"",padding:"",border:"Width"},function(e,t){de.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[e+St[i]+t]=o[i]||o[i-2]||o[0];return r}},wt.test(e)||(de.cssHooks[e+t].set=D)});var _t=/%20/g,jt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;
de.fn.extend({serialize:function(){return de.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=de.prop(this,"elements");return e?de.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!de(this).is(":disabled")&&Ft.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!st.test(e))}).map(function(e,t){var n=de(this).val();return null==n?null:de.isArray(n)?de.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}}),de.param=function(e,t){var n,i=[],r=function(e,t){t=de.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===s&&(t=de.ajaxSettings&&de.ajaxSettings.traditional),de.isArray(e)||e.jquery&&!de.isPlainObject(e))de.each(e,function(){r(this.name,this.value)});else for(n in e)F(n,e[n],t,r);return i.join("&").replace(_t,"+")},de.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){de.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),de.fn.hover=function(e,t){return this.mouseenter(e).mouseleave(t||e)};var Mt,Ot,Pt=de.now(),qt=/\?/,Rt=/#.*$/,It=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,zt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wt=/^(?:GET|HEAD)$/,Xt=/^\/\//,$t=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Ut=de.fn.load,Yt={},Vt={},Qt="*/".concat("*");try{Ot=ee.href}catch(Gt){Ot=Z.createElement("a"),Ot.href="",Ot=Ot.href}Mt=$t.exec(Ot.toLowerCase())||[],de.fn.load=function(e,t,n){if("string"!=typeof e&&Ut)return Ut.apply(this,arguments);var i,r,o,a=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),de.isFunction(t)?(n=t,t=s):t&&"object"==typeof t&&(o="POST"),a.length>0&&de.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){r=arguments,a.html(i?de("<div>").append(de.parseHTML(e)).find(i):e)}).complete(n&&function(e,t){a.each(n,r||[e.responseText,t,e])}),this},de.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){de.fn[t]=function(e){return this.on(t,e)}}),de.each(["get","post"],function(e,t){de[t]=function(e,n,i,r){return de.isFunction(n)&&(r=r||i,i=n,n=s),de.ajax({url:e,type:t,dataType:r,data:n,success:i})}}),de.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot,type:"GET",isLocal:zt.test(Mt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":o.String,"text html":!0,"text json":de.parseJSON,"text xml":de.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?P(P(e,de.ajaxSettings),t):P(de.ajaxSettings,e)},ajaxPrefilter:M(Yt),ajaxTransport:M(Vt),ajax:function(e,t){function n(e,t,n,i){var r,f,y,b,w,C=t;2!==x&&(x=2,l&&clearTimeout(l),c=s,a=i||"",T.readyState=e>0?4:0,n&&(b=q(p,T,n)),e>=200&&300>e||304===e?(p.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(de.lastModified[o]=w),w=T.getResponseHeader("etag"),w&&(de.etag[o]=w)),204===e?(r=!0,C="nocontent"):304===e?(r=!0,C="notmodified"):(r=R(p,b),C=r.state,f=r.data,y=r.error,r=!y)):(y=C,!e&&C||(C="error",0>e&&(e=0))),T.status=e,T.statusText=(t||C)+"",r?g.resolveWith(d,[f,C,T]):g.rejectWith(d,[T,C,y]),T.statusCode(v),v=s,u&&h.trigger(r?"ajaxSuccess":"ajaxError",[T,p,r?f:y]),m.fireWith(d,[T,C]),u&&(h.trigger("ajaxComplete",[T,p]),--de.active||de.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=s),t=t||{};var i,r,o,a,l,u,c,f,p=de.ajaxSetup({},t),d=p.context||p,h=p.context&&(d.nodeType||d.jquery)?de(d):de.event,g=de.Deferred(),m=de.Callbacks("once memory"),v=p.statusCode||{},y={},b={},x=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!f)for(f={};t=Bt.exec(a);)f[t[1].toLowerCase()]=t[2];t=f[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)v[t]=[v[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),n(0,t),this}};if(g.promise(T).complete=m.add,T.success=T.done,T.error=T.fail,p.url=((e||p.url||Ot)+"").replace(Rt,"").replace(Xt,Mt[1]+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=de.trim(p.dataType||"*").toLowerCase().match(ge)||[""],null==p.crossDomain&&(i=$t.exec(p.url.toLowerCase()),p.crossDomain=!(!i||i[1]===Mt[1]&&i[2]===Mt[2]&&(i[3]||("http:"===i[1]?80:443))==(Mt[3]||("http:"===Mt[1]?80:443)))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=de.param(p.data,p.traditional)),O(Yt,p,t,T),2===x)return T;u=p.global,u&&0===de.active++&&de.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Wt.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(qt.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=It.test(o)?o.replace(It,"$1_="+Pt++):o+(qt.test(o)?"&":"?")+"_="+Pt++)),p.ifModified&&(de.lastModified[o]&&T.setRequestHeader("If-Modified-Since",de.lastModified[o]),de.etag[o]&&T.setRequestHeader("If-None-Match",de.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||t.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Qt+"; q=0.01":""):p.accepts["*"]);for(r in p.headers)T.setRequestHeader(r,p.headers[r]);if(p.beforeSend&&(p.beforeSend.call(d,T,p)===!1||2===x))return T.abort();w="abort";for(r in{success:1,error:1,complete:1})T[r](p[r]);if(c=O(Vt,p,t,T)){T.readyState=1,u&&h.trigger("ajaxSend",[T,p]),p.async&&p.timeout>0&&(l=setTimeout(function(){T.abort("timeout")},p.timeout));try{x=1,c.send(y,n)}catch(C){if(!(2>x))throw C;n(-1,C)}}else n(-1,"No Transport");return T},getScript:function(e,t){return de.get(e,s,t,"script")},getJSON:function(e,t,n){return de.get(e,t,n,"json")}}),de.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return de.globalEval(e),e}}}),de.ajaxPrefilter("script",function(e){e.cache===s&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),de.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=Z.head||de("head")[0]||Z.documentElement;return{send:function(i,r){t=Z.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||r(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(s,!0)}}}});var Jt=[],Kt=/(=)\?(?=&|$)|\?\?/;de.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Jt.pop()||de.expando+"_"+Pt++;return this[e]=!0,e}}),de.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,a,l=e.jsonp!==!1&&(Kt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");return l||"jsonp"===e.dataTypes[0]?(i=e.jsonpCallback=de.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,l?e[l]=e[l].replace(Kt,"$1"+i):e.jsonp!==!1&&(e.url+=(qt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||de.error(i+" was not called"),a[0]},e.dataTypes[0]="json",r=o[i],o[i]=function(){a=arguments},n.always(function(){o[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,Jt.push(i)),a&&de.isFunction(r)&&r(a[0]),a=r=s}),"script"):void 0});var Zt,en,tn=0,nn=o.ActiveXObject&&function(){var e;for(e in Zt)Zt[e](s,!0)};de.ajaxSettings.xhr=o.ActiveXObject?function(){return!this.isLocal&&I()||B()}:I,en=de.ajaxSettings.xhr(),de.support.cors=!!en&&"withCredentials"in en,en=de.support.ajax=!!en,en&&de.ajaxTransport(function(e){if(!e.crossDomain||de.support.cors){var t;return{send:function(n,i){var r,a,l=e.xhr();if(e.username?l.open(e.type,e.url,e.async,e.username,e.password):l.open(e.type,e.url,e.async),e.xhrFields)for(a in e.xhrFields)l[a]=e.xhrFields[a];e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");try{for(a in n)l.setRequestHeader(a,n[a])}catch(u){}l.send(e.hasContent&&e.data||null),t=function(n,o){var a,u,c,f;try{if(t&&(o||4===l.readyState))if(t=s,r&&(l.onreadystatechange=de.noop,nn&&delete Zt[r]),o)4!==l.readyState&&l.abort();else{f={},a=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(f.text=l.responseText);try{c=l.statusText}catch(p){c=""}a||!e.isLocal||e.crossDomain?1223===a&&(a=204):a=f.text?200:404}}catch(d){o||i(-1,d)}f&&i(a,c,f,u)},e.async?4===l.readyState?setTimeout(t):(r=++tn,nn&&(Zt||(Zt={},de(o).unload(nn)),Zt[r]=t),l.onreadystatechange=t):t()},abort:function(){t&&t(s,!0)}}}});var rn,on,sn=/^(?:toggle|show|hide)$/,an=new RegExp("^(?:([+-])=|)("+he+")([a-z%]*)$","i"),ln=/queueHooks$/,un=[U],cn={"*":[function(e,t){var n,i,r=this.createTween(e,t),o=an.exec(t),s=r.cur(),a=+s||0,l=1,u=20;if(o){if(n=+o[2],i=o[3]||(de.cssNumber[e]?"":"px"),"px"!==i&&a){a=de.css(r.elem,e,!0)||n||1;do l=l||".5",a/=l,de.style(r.elem,e,a+i);while(l!==(l=r.cur()/s)&&1!==l&&--u)}r.unit=i,r.start=a,r.end=o[1]?a+(o[1]+1)*n:n}return r}]};de.Animation=de.extend(X,{tweener:function(e,t){de.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,r=e.length;r>i;i++)n=e[i],cn[n]=cn[n]||[],cn[n].unshift(t)},prefilter:function(e,t){t?un.unshift(e):un.push(e)}}),de.Tween=Y,Y.prototype={constructor:Y,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(de.cssNumber[n]?"":"px")},cur:function(){var e=Y.propHooks[this.prop];return e&&e.get?e.get(this):Y.propHooks._default.get(this)},run:function(e){var t,n=Y.propHooks[this.prop];return this.options.duration?this.pos=t=de.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Y.propHooks._default.set(this),this}},Y.prototype.init.prototype=Y.prototype,Y.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=de.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){de.fx.step[e.prop]?de.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[de.cssProps[e.prop]]||de.cssHooks[e.prop])?de.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Y.propHooks.scrollTop=Y.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},de.each(["toggle","show","hide"],function(e,t){var n=de.fn[t];de.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(V(t,!0),e,i,r)}}),de.fn.extend({fadeTo:function(e,t,n,i){return this.filter(k).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=de.isEmptyObject(e),o=de.speed(t,n,i),s=function(){var t=X(this,de.extend({},e),o);s.finish=function(){t.stop(!0)},(r||de._data(this,"finish"))&&t.stop(!0)};return s.finish=s,r||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=s),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=de.timers,s=de._data(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&ln.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||de.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=de._data(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=de.timers,s=i?i.length:0;for(n.finish=!0,de.queue(this,e,[]),r&&r.cur&&r.cur.finish&&r.cur.finish.call(this),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;s>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),de.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){de.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),de.speed=function(e,t,n){var i=e&&"object"==typeof e?de.extend({},e):{complete:n||!n&&t||de.isFunction(e)&&e,duration:e,easing:n&&t||t&&!de.isFunction(t)&&t};return i.duration=de.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in de.fx.speeds?de.fx.speeds[i.duration]:de.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){de.isFunction(i.old)&&i.old.call(this),i.queue&&de.dequeue(this,i.queue)},i},de.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},de.timers=[],de.fx=Y.prototype.init,de.fx.tick=function(){var e,t=de.timers,n=0;for(rn=de.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||de.fx.stop(),rn=s},de.fx.timer=function(e){e()&&de.timers.push(e)&&de.fx.start()},de.fx.interval=13,de.fx.start=function(){on||(on=setInterval(de.fx.tick,de.fx.interval))},de.fx.stop=function(){clearInterval(on),on=null},de.fx.speeds={slow:600,fast:200,_default:400},de.fx.step={},de.expr&&de.expr.filters&&(de.expr.filters.animated=function(e){return de.grep(de.timers,function(t){return e===t.elem}).length}),de.fn.offset=function(e){if(arguments.length)return e===s?this:this.each(function(t){de.offset.setOffset(this,e,t)});var t,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;if(o)return t=o.documentElement,de.contains(t,r)?(typeof r.getBoundingClientRect!==K&&(i=r.getBoundingClientRect()),n=Q(o),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i},de.offset={setOffset:function(e,t,n){var i=de.css(e,"position");"static"===i&&(e.style.position="relative");var r,o,s=de(e),a=s.offset(),l=de.css(e,"top"),u=de.css(e,"left"),c=("absolute"===i||"fixed"===i)&&de.inArray("auto",[l,u])>-1,f={},p={};c?(p=s.position(),r=p.top,o=p.left):(r=parseFloat(l)||0,o=parseFloat(u)||0),de.isFunction(t)&&(t=t.call(e,n,a)),null!=t.top&&(f.top=t.top-a.top+r),null!=t.left&&(f.left=t.left-a.left+o),"using"in t?t.using.call(e,f):s.css(f)}},de.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===de.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),de.nodeName(e[0],"html")||(n=e.offset()),n.top+=de.css(e[0],"borderTopWidth",!0),n.left+=de.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-de.css(i,"marginTop",!0),left:t.left-n.left-de.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Z.documentElement;e&&!de.nodeName(e,"html")&&"static"===de.css(e,"position");)e=e.offsetParent;return e||Z.documentElement})}}),de.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);de.fn[e]=function(i){return de.access(this,function(e,i,r){var o=Q(e);return r===s?o?t in o?o[t]:o.document.documentElement[i]:e[i]:void(o?o.scrollTo(n?de(o).scrollLeft():r,n?r:de(o).scrollTop()):e[i]=r)},e,i,arguments.length,null)}}),de.each({Height:"height",Width:"width"},function(e,t){de.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){de.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||r===!0?"margin":"border");return de.access(this,function(t,n,i){var r;return de.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):i===s?de.css(t,n,a):de.style(t,n,i,a)},t,o?i:s,o,null)}})}),o.jQuery=o.$=de,e&&e.exports?e.exports=de:n(4)&&n(4).jQuery&&(i=[],r=function(){return de}.apply(t,i),!(r!==s&&(e.exports=r)))}(window)}).call(t,n(3)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){(function(t){e.exports=t}).call(t,{})},,function(e,t,n){var i=n(2);n(7),e.exports=function(e,t){var n,r={effect:"fadeIn",effect_speed:10,placeholder:"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==",skip_invisible:!1},o=arguments.length;!function(){switch(o){case 0:n=i("img.lazy");break;case 1:e instanceof i?n=e:(n=i("img.lazy"),i.extend(r,e));break;case 2:n=e,r=i.extend(r,t)}}(),n.lazyload(r)}},function(e,t,n){var i=n(2);!function(e,t,n,i){var r=e(t);e.fn.lazyload=function(o){function s(){var t=0;l.each(function(){var n=e(this);if(!u.skip_invisible||n.is(":visible"))if(e.abovethetop(this,u)||e.leftofbegin(this,u));else if(e.belowthefold(this,u)||e.rightoffold(this,u)){if(++t>u.failure_limit)return!1}else n.trigger("appear"),t=0})}var a,l=this,u={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null,yasPath:"/web/",yasImgDomain:"http://analytics.yhurl.com/yas.gif",placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC",try_again_css:null};return o&&(i!==o.failurelimit&&(o.failure_limit=o.failurelimit,delete o.failurelimit),i!==o.effectspeed&&(o.effect_speed=o.effectspeed,delete o.effectspeed),e.extend(u,o)),a=u.container===i||u.container===t?r:e(u.container),0===u.event.indexOf("scroll")&&a.bind(u.event,function(){return s()}),this.each(function(){var t=this,n=e(t);t.loaded=!1,n.attr("src")!==i&&n.attr("src")!==!1&&""!==n.attr("src")||n.is("img")&&n.attr("src",u.placeholder),n.one("appear",function(){if(n.timerid&&clearTimeout(n.timerid),!this.loaded){if(u.appear){var i=l.length;u.appear.call(t,i,u)}e("<img />").bind("error abort",function(){n.attr("src",u.placeholder),o({info:"error"})}).bind("load",function(){if(!n.loadtimeout){clearTimeout(n.timerid),n.attr("pfmrpt");var i=n.attr("data-"+u.data_attribute);n.hide(),n.is("img")?n.attr("src",i):n.css("background-image","url('"+i+"')"),n[u.effect](u.effect_speed),t.loaded=!0;var r=e.grep(l,function(e){return!e.loaded});if(l=e(r),u.load){var o=l.length;u.load.call(t,o,u)}}}).attr("src",n.attr("data-"+u.data_attribute)),n.src=n.attr("data-"+u.data_attribute),n.attr("pfmrpt")&&_yas&&_yas.add;var r=function(e){n.loadtimeout=!0,n.attr("pfmrpt")&&_yas&&_yas.add&&e.info,n.attr("src",""),setTimeout(function(){n.attr("src",n.src)},50)},o=function(t){n.loadtimeout=!0,n.attr("pfmrpt")&&_yas&&_yas.add&&t.info;var i=n.width(),o=n.height();if(u.try_again_css)var s=e("<div class="+u.try_again_css+" style='width:"+i+"px;height:"+o+"px;'></div>");else var s=e("<div style='background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC) ;text-align: center;position:relative;width:"+i+"px;height:"+o+"px;background-size:100%;'>加载失败</div>");s.addClass(n.attr("class")),n.replaceWith(s),n.timerid=setTimeout(r,5e3)}}}),0!==u.event.indexOf("scroll")&&n.bind(u.event,function(){t.loaded||n.trigger("appear")})}),r.bind("resize",function(){s()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&r.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(n).ready(function(){s()}),this},e.belowthefold=function(n,o){var s;return s=o.container===i||o.container===t?(t.innerHeight?t.innerHeight:r.height())+r.scrollTop():e(o.container).offset().top+e(o.container).height(),s<=e(n).offset().top-o.threshold},e.rightoffold=function(n,o){var s;return s=o.container===i||o.container===t?r.width()+r.scrollLeft():e(o.container).offset().left+e(o.container).width(),s<=e(n).offset().left-o.threshold},e.abovethetop=function(n,o){var s;return s=o.container===i||o.container===t?r.scrollTop():e(o.container).offset().top,s>=e(n).offset().top+o.threshold+e(n).height()},e.leftofbegin=function(n,o){var s;return s=o.container===i||o.container===t?r.scrollLeft():e(o.container).offset().left,s>=e(n).offset().left+o.threshold+e(n).width()},e.inviewport=function(t,n){return!(e.rightoffold(t,n)||e.leftofbegin(t,n)||e.belowthefold(t,n)||e.abovethetop(t,n))}}(i,window,document)},,,function(e,t,n){function i(e){var t,n,i=document.cookie;return document.cookie&&""!==document.cookie&&(n=i.indexOf(e+"="),n>-1&&(n+=e.length+1,t=decodeURIComponent(p.trim(i.substring(n,i.indexOf(";",n)))))),t}function r(e,t,n){var i,r,o,s,a="";"undefined"!=typeof t&&(n=n||{},null===t&&(t="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(s=new Date,s.setTime(s.getTime()+24*n.expires*60*60*1e3)):s=n.expires,a="; expires="+s.toUTCString()),i=n.path?"; path="+n.path:"",r=n.domain?"; domain="+n.domain:"",o=n.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(t),a,i,r,o].join(""))}function o(){var e=!!navigator.cookieEnabled;return"undefined"!=typeof navigator.cookieEnabled||e||(document.cookie="testcookie",e=-1!==document.cookie.indexOf("testcookie")),e}function s(){var e,t=i("_UID");return"undefined"==typeof t?0:(e=t.split("::"),"undefined"==typeof e||e.length<4?0:e)}function a(){var e=s();return 0===e?0:e[1]}function l(){var e=i("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function u(){var e;0!==h.length&&(e=Math.min(p(window).height(),window.screen.availHeight),p("body").height()<=e-parseInt(h.css("height"),0)?h.addClass("bottom"):h.removeClass("bottom"))}function c(e){var t=p(e).outerHeight();e&&h.css("margin-bottom",t+"px")}function f(e){return e.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")}var p=n(2),d=n(11),h=p("#yoho-footer"),g=p(".yoho-page"),m=p(".yoho-header");!function(){var e,t=h.children(".op-row"),n=p(".back-to-top"),i=s();u(),0===i?t.prepend('<a href="http://m.yohobuy.com/signin.html?refer='+location.href+'">登录</a><span class="sep-line">|</span><a href="http://m.yohobuy.com/reg.html">注册</a>'):t.prepend('<span>Hi,</span><a class="user-name" href="http://m.yohobuy.com/home?tmp='+Math.random()+'">'+i[0]+'</a><a href="http://m.yohobuy.com/passport/signout/index">退出</a>'),n.length>0&&(e=new d(n[0]),e.on("tap",function(e){return p(window).scrollTop(0),e.srcEvent.preventDefault(),!1})),h.removeClass("hide")}(),function(e,t,n,i,r){var o=t.createElement(n),s=t.getElementsByTagName(n)[0];e.YohoAcquisitionObject=r,e[r]=function(){e[r].p=arguments},o.async=1,o.src=i,s.parentNode.insertBefore(o,s)}(window,document,"script","http://cdn.yoho.cn/yas-jssdk/1.0.17/yas.js","_yas"),function(){var e=a();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.17","yohobuy_m",e,"","")}(),m.on("touchstart","a",function(){m.find("a").removeClass("highlight"),p(this).addClass("highlight")}).on("touchend touchcancel","a",function(){p(this).removeClass("highlight")}),g.on("touchstart",".tap-hightlight",function(){p(this).siblings(".tap-hightlight").removeClass("highlight"),p(this).addClass("highlight")}).on("touchend touchcancel",".tap-hightlight",function(){p(this).removeClass("highlight")}),p(".nav-home").on("touchstart",function(){p(".homebuttom").toggleClass("hide")}),function(){var e,t,n=0,i="webkit moz ms o".split(" "),r=window.requestAnimationFrame,o=window.cancelAnimationFrame;for(t=0;t<i.length&&(!r||!o);t++)e=i[t],r=r||window[e+"RequestAnimationFrame"],o=o||window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"];r&&o||(r=function(e){var t=(new Date).getTime(),i=Math.max(0,16-(t-n)),r=window.setTimeout(function(){e(t+i)},i);return n=t+i,r},o=function(e){window.clearTimeout(e)}),window.requestAnimationFrame=r,window.cancelAnimationFrame=o}(),p.extend({queryString:function(){var e,t,n=[],i=window.location.href.slice(window.location.href.indexOf("?")+1).split("&");for(t=0;t<i.length;t++)e=i[t].split("="),n.push(e[0]),n[e[0]]=e[1];return n}}),11===h.find(".user-name").text().length&&h.find(".user-name").html(f(h.find(".user-name").text())),window.cookie=i,window.setCookie=r,window.isCookiesEnabled=o,window.getUser=s,window.getUid=a,window.getShoppingKey=l,window.rePosFooter=u,window.reMarginFooter=c},function(e,t,n){var i;/*! Hammer.JS - v2.0.7 - 2016-04-22
	 * http://hammerjs.github.io/
	 *
	 * Copyright (c) 2016 Jorik Tangelder;
	 * Licensed under the MIT license */
!function(r,o,s,a){"use strict";function l(e,t,n){return setTimeout(d(e,n),t)}function u(e,t,n){return Array.isArray(e)?(c(e,n[t],n),!0):!1}function c(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==a)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function f(e,t,n){var i="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),e.apply(this,arguments)}}function p(e,t,n){var i,r=t.prototype;i=e.prototype=Object.create(r),i.constructor=e,i._super=r,n&&ge(i,n)}function d(e,t){return function(){return e.apply(t,arguments)}}function h(e,t){return typeof e==ye?e.apply(t?t[0]||a:a,t):e}function g(e,t){return e===a?t:e}function m(e,t,n){c(x(t),function(t){e.addEventListener(t,n,!1)})}function v(e,t,n){c(x(t),function(t){e.removeEventListener(t,n,!1)})}function y(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function b(e,t){return e.indexOf(t)>-1}function x(e){return e.trim().split(/\s+/g)}function w(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function T(e){return Array.prototype.slice.call(e,0)}function C(e,t,n){for(var i=[],r=[],o=0;o<e.length;){var s=t?e[o][t]:e[o];w(r,s)<0&&i.push(e[o]),r[o]=s,o++}return n&&(i=t?i.sort(function(e,n){return e[t]>n[t]}):i.sort()),i}function A(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),o=0;o<me.length;){if(n=me[o],i=n?n+r:t,i in e)return i;o++}return a}function E(){return Ae++}function N(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}function k(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){h(e.options.enable,[e])&&n.handler(t)},this.init()}function S(e){var t,n=e.options.inputClass;return new(t=n?n:ke?z:Se?$:Ne?Y:B)(e,D)}function D(e,t,n){var i=n.pointers.length,r=n.changedPointers.length,o=t&Fe&&i-r===0,s=t&(Oe|Pe)&&i-r===0;n.isFirst=!!o,n.isFinal=!!s,o&&(e.session={}),n.eventType=t,_(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function _(e,t){var n=e.session,i=t.pointers,r=i.length;n.firstInput||(n.firstInput=H(t)),r>1&&!n.firstMultiple?n.firstMultiple=H(t):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,a=s?s.center:o.center,l=t.center=F(i);t.timeStamp=we(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=q(a,l),t.distance=P(a,l),j(n,t),t.offsetDirection=O(t.deltaX,t.deltaY);var u=M(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=u.x,t.overallVelocityY=u.y,t.overallVelocity=xe(u.x)>xe(u.y)?u.x:u.y,t.scale=s?I(s.pointers,i):1,t.rotation=s?R(s.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,L(n,t);var c=e.element;y(t.srcEvent.target,c)&&(c=t.srcEvent.target),t.target=c}function j(e,t){var n=t.center,i=e.offsetDelta||{},r=e.prevDelta||{},o=e.prevInput||{};t.eventType!==Fe&&o.eventType!==Oe||(r=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=r.x+(n.x-i.x),t.deltaY=r.y+(n.y-i.y)}function L(e,t){var n,i,r,o,s=e.lastInterval||t,l=t.timeStamp-s.timeStamp;if(t.eventType!=Pe&&(l>He||s.velocity===a)){var u=t.deltaX-s.deltaX,c=t.deltaY-s.deltaY,f=M(l,u,c);i=f.x,r=f.y,n=xe(f.x)>xe(f.y)?f.x:f.y,o=O(u,c),e.lastInterval=t}else n=s.velocity,i=s.velocityX,r=s.velocityY,o=s.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=o}function H(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:be(e.pointers[n].clientX),clientY:be(e.pointers[n].clientY)},n++;return{timeStamp:we(),pointers:t,center:F(t),deltaX:e.deltaX,deltaY:e.deltaY}}function F(e){var t=e.length;if(1===t)return{x:be(e[0].clientX),y:be(e[0].clientY)};for(var n=0,i=0,r=0;t>r;)n+=e[r].clientX,i+=e[r].clientY,r++;return{x:be(n/t),y:be(i/t)}}function M(e,t,n){return{x:t/e||0,y:n/e||0}}function O(e,t){return e===t?qe:xe(e)>=xe(t)?0>e?Re:Ie:0>t?Be:ze}function P(e,t,n){n||(n=Ue);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(i*i+r*r)}function q(e,t,n){n||(n=Ue);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return 180*Math.atan2(r,i)/Math.PI}function R(e,t){return q(t[1],t[0],Ye)+q(e[1],e[0],Ye)}function I(e,t){return P(t[0],t[1],Ye)/P(e[0],e[1],Ye)}function B(){this.evEl=Qe,this.evWin=Ge,this.pressed=!1,k.apply(this,arguments)}function z(){this.evEl=Ze,this.evWin=et,k.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function W(){this.evTarget=nt,this.evWin=it,this.started=!1,k.apply(this,arguments)}function X(e,t){var n=T(e.touches),i=T(e.changedTouches);return t&(Oe|Pe)&&(n=C(n.concat(i),"identifier",!0)),[n,i]}function $(){this.evTarget=ot,this.targetIds={},k.apply(this,arguments)}function U(e,t){var n=T(e.touches),i=this.targetIds;if(t&(Fe|Me)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=T(e.changedTouches),a=[],l=this.target;if(o=n.filter(function(e){return y(e.target,l)}),t===Fe)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<s.length;)i[s[r].identifier]&&a.push(s[r]),t&(Oe|Pe)&&delete i[s[r].identifier],r++;return a.length?[C(o.concat(a),"identifier",!0),a]:void 0}function Y(){k.apply(this,arguments);var e=d(this.handler,this);this.touch=new $(this.manager,e),this.mouse=new B(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function V(e,t){e&Fe?(this.primaryTouch=t.changedPointers[0].identifier,Q.call(this,t)):e&(Oe|Pe)&&Q.call(this,t)}function Q(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var i=this.lastTouches,r=function(){var e=i.indexOf(n);e>-1&&i.splice(e,1)};setTimeout(r,st)}}function G(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(t-r.x),s=Math.abs(n-r.y);if(at>=o&&at>=s)return!0}return!1}function J(e,t){this.manager=e,this.set(t)}function K(e){if(b(e,dt))return dt;var t=b(e,ht),n=b(e,gt);return t&&n?dt:t||n?t?ht:gt:b(e,pt)?pt:ft}function Z(){if(!ut)return!1;var e={},t=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){e[n]=t?r.CSS.supports("touch-action",n):!0}),e}function ee(e){this.options=ge({},this.defaults,e||{}),this.id=E(),this.manager=null,this.options.enable=g(this.options.enable,!0),this.state=vt,this.simultaneous={},this.requireFail=[]}function te(e){return e&Tt?"cancel":e&xt?"end":e&bt?"move":e&yt?"start":""}function ne(e){return e==ze?"down":e==Be?"up":e==Re?"left":e==Ie?"right":""}function ie(e,t){var n=t.manager;return n?n.get(e):e}function re(){ee.apply(this,arguments)}function oe(){re.apply(this,arguments),this.pX=null,this.pY=null}function se(){re.apply(this,arguments)}function ae(){ee.apply(this,arguments),this._timer=null,this._input=null}function le(){re.apply(this,arguments)}function ue(){re.apply(this,arguments)}function ce(){ee.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function fe(e,t){return t=t||{},t.recognizers=g(t.recognizers,fe.defaults.preset),new pe(e,t)}function pe(e,t){this.options=ge({},fe.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=S(this),this.touchAction=new J(this,this.options.touchAction),de(this,!0),c(this.options.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function de(e,t){var n=e.element;if(n.style){var i;c(e.options.cssProps,function(r,o){i=A(n.style,o),t?(e.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=e.oldCssProps[i]||""}),t||(e.oldCssProps={})}}function he(e,t){var n=o.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}var ge,me=["","webkit","Moz","MS","ms","o"],ve=o.createElement("div"),ye="function",be=Math.round,xe=Math.abs,we=Date.now;ge="function"!=typeof Object.assign?function(e){if(e===a||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==a&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t}:Object.assign;var Te=f(function(e,t,n){for(var i=Object.keys(t),r=0;r<i.length;)(!n||n&&e[i[r]]===a)&&(e[i[r]]=t[i[r]]),r++;return e},"extend","Use `assign`."),Ce=f(function(e,t){return Te(e,t,!0)},"merge","Use `assign`."),Ae=1,Ee=/mobile|tablet|ip(ad|hone|od)|android/i,Ne="ontouchstart"in r,ke=A(r,"PointerEvent")!==a,Se=Ne&&Ee.test(navigator.userAgent),De="touch",_e="pen",je="mouse",Le="kinect",He=25,Fe=1,Me=2,Oe=4,Pe=8,qe=1,Re=2,Ie=4,Be=8,ze=16,We=Re|Ie,Xe=Be|ze,$e=We|Xe,Ue=["x","y"],Ye=["clientX","clientY"];k.prototype={handler:function(){},init:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(N(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&v(this.element,this.evEl,this.domHandler),this.evTarget&&v(this.target,this.evTarget,this.domHandler),this.evWin&&v(N(this.element),this.evWin,this.domHandler)}};var Ve={mousedown:Fe,mousemove:Me,mouseup:Oe},Qe="mousedown",Ge="mousemove mouseup";p(B,k,{handler:function(e){var t=Ve[e.type];t&Fe&&0===e.button&&(this.pressed=!0),t&Me&&1!==e.which&&(t=Oe),this.pressed&&(t&Oe&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:je,srcEvent:e}))}});var Je={pointerdown:Fe,pointermove:Me,pointerup:Oe,pointercancel:Pe,pointerout:Pe},Ke={2:De,3:_e,4:je,5:Le},Ze="pointerdown",et="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(Ze="MSPointerDown",et="MSPointerMove MSPointerUp MSPointerCancel"),p(z,k,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=Je[i],o=Ke[e.pointerType]||e.pointerType,s=o==De,a=w(t,e.pointerId,"pointerId");r&Fe&&(0===e.button||s)?0>a&&(t.push(e),a=t.length-1):r&(Oe|Pe)&&(n=!0),0>a||(t[a]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(a,1))}});var tt={touchstart:Fe,touchmove:Me,touchend:Oe,touchcancel:Pe},nt="touchstart",it="touchstart touchmove touchend touchcancel";p(W,k,{handler:function(e){var t=tt[e.type];if(t===Fe&&(this.started=!0),this.started){var n=X.call(this,e,t);t&(Oe|Pe)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:De,srcEvent:e})}}});var rt={touchstart:Fe,touchmove:Me,touchend:Oe,touchcancel:Pe},ot="touchstart touchmove touchend touchcancel";p($,k,{handler:function(e){var t=rt[e.type],n=U.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:De,srcEvent:e})}});var st=2500,at=25;p(Y,k,{handler:function(e,t,n){var i=n.pointerType==De,r=n.pointerType==je;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)V.call(this,t,n);else if(r&&G.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var lt=A(ve.style,"touchAction"),ut=lt!==a,ct="compute",ft="auto",pt="manipulation",dt="none",ht="pan-x",gt="pan-y",mt=Z();J.prototype={set:function(e){e==ct&&(e=this.compute()),ut&&this.manager.element.style&&mt[e]&&(this.manager.element.style[lt]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return c(this.manager.recognizers,function(t){h(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),K(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)return void t.preventDefault();var i=this.actions,r=b(i,dt)&&!mt[dt],o=b(i,gt)&&!mt[gt],s=b(i,ht)&&!mt[ht];if(r){var a=1===e.pointers.length,l=e.distance<2,u=e.deltaTime<250;if(a&&l&&u)return}return s&&o?void 0:r||o&&n&We||s&&n&Xe?this.preventSrc(t):void 0},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var vt=1,yt=2,bt=4,xt=8,wt=xt,Tt=16,Ct=32;ee.prototype={defaults:{},set:function(e){return ge(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(u(e,"recognizeWith",this))return this;var t=this.simultaneous;return e=ie(e,this),t[e.id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return u(e,"dropRecognizeWith",this)?this:(e=ie(e,this),delete this.simultaneous[e.id],this)},requireFailure:function(e){if(u(e,"requireFailure",this))return this;var t=this.requireFail;return e=ie(e,this),-1===w(t,e)&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(u(e,"dropRequireFailure",this))return this;e=ie(e,this);var t=w(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){function t(t){n.manager.emit(t,e)}var n=this,i=this.state;xt>i&&t(n.options.event+te(i)),t(n.options.event),e.additionalEvent&&t(e.additionalEvent),i>=xt&&t(n.options.event+te(i))},tryEmit:function(e){return this.canEmit()?this.emit(e):void(this.state=Ct)},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(Ct|vt)))return!1;e++}return!0},recognize:function(e){var t=ge({},e);return h(this.options.enable,[this,t])?(this.state&(wt|Tt|Ct)&&(this.state=vt),this.state=this.process(t),void(this.state&(yt|bt|xt|Tt)&&this.tryEmit(t))):(this.reset(),void(this.state=Ct))},process:function(e){},getTouchAction:function(){},reset:function(){}},p(re,ee,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=t&(yt|bt),r=this.attrTest(e);return i&&(n&Pe||!r)?t|Tt:i||r?n&Oe?t|xt:t&yt?t|bt:yt:Ct}}),p(oe,re,{defaults:{event:"pan",threshold:10,pointers:1,direction:$e},getTouchAction:function(){var e=this.options.direction,t=[];return e&We&&t.push(gt),e&Xe&&t.push(ht),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,r=e.direction,o=e.deltaX,s=e.deltaY;return r&t.direction||(t.direction&We?(r=0===o?qe:0>o?Re:Ie,n=o!=this.pX,i=Math.abs(e.deltaX)):(r=0===s?qe:0>s?Be:ze,n=s!=this.pY,i=Math.abs(e.deltaY))),e.direction=r,n&&i>t.threshold&&r&t.direction},attrTest:function(e){return re.prototype.attrTest.call(this,e)&&(this.state&yt||!(this.state&yt)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ne(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),p(se,re,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[dt]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&yt)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),p(ae,ee,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[ft]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!i||!n||e.eventType&(Oe|Pe)&&!r)this.reset();else if(e.eventType&Fe)this.reset(),this._timer=l(function(){this.state=wt,this.tryEmit()},t.time,this);else if(e.eventType&Oe)return wt;return Ct},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===wt&&(e&&e.eventType&Oe?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=we(),this.manager.emit(this.options.event,this._input)))}}),p(le,re,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[dt]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&yt)}}),p(ue,re,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:We|Xe,pointers:1},getTouchAction:function(){return oe.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(We|Xe)?t=e.overallVelocity:n&We?t=e.overallVelocityX:n&Xe&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&xe(t)>this.options.velocity&&e.eventType&Oe},emit:function(e){var t=ne(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),p(ce,ee,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[pt]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),e.eventType&Fe&&0===this.count)return this.failTimeout();if(i&&r&&n){if(e.eventType!=Oe)return this.failTimeout();var o=this.pTime?e.timeStamp-this.pTime<t.interval:!0,s=!this.pCenter||P(this.pCenter,e.center)<t.posThreshold;this.pTime=e.timeStamp,this.pCenter=e.center,s&&o?this.count+=1:this.count=1,this._input=e;var a=this.count%t.taps;if(0===a)return this.hasRequireFailures()?(this._timer=l(function(){this.state=wt,this.tryEmit()},t.interval,this),yt):wt}return Ct},failTimeout:function(){return this._timer=l(function(){this.state=Ct},this.options.interval,this),Ct},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==wt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),fe.VERSION="2.0.7",fe.defaults={domEvents:!1,touchAction:ct,enable:!0,inputTarget:null,inputClass:null,preset:[[le,{enable:!1}],[se,{enable:!1},["rotate"]],[ue,{direction:We}],[oe,{direction:We},["swipe"]],[ce],[ce,{event:"doubletap",taps:2},["tap"]],[ae]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var At=1,Et=2;pe.prototype={set:function(e){return ge(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?Et:At},recognize:function(e){var t=this.session;if(!t.stopped){this.touchAction.preventDefaults(e);var n,i=this.recognizers,r=t.curRecognizer;(!r||r&&r.state&wt)&&(r=t.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],t.stopped===Et||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(e),!r&&n.state&(yt|bt|xt)&&(r=t.curRecognizer=n),o++}},get:function(e){if(e instanceof ee)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(u(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(u(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=w(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==a&&t!==a){var n=this.handlers;return c(x(e),function(e){n[e]=n[e]||[],n[e].push(t)}),this}},off:function(e,t){if(e!==a){var n=this.handlers;return c(x(e),function(e){t?n[e]&&n[e].splice(w(n[e],t),1):delete n[e]}),this}},emit:function(e,t){this.options.domEvents&&he(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&de(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},ge(fe,{INPUT_START:Fe,INPUT_MOVE:Me,INPUT_END:Oe,INPUT_CANCEL:Pe,STATE_POSSIBLE:vt,STATE_BEGAN:yt,STATE_CHANGED:bt,STATE_ENDED:xt,STATE_RECOGNIZED:wt,STATE_CANCELLED:Tt,STATE_FAILED:Ct,DIRECTION_NONE:qe,DIRECTION_LEFT:Re,DIRECTION_RIGHT:Ie,DIRECTION_UP:Be,DIRECTION_DOWN:ze,DIRECTION_HORIZONTAL:We,DIRECTION_VERTICAL:Xe,DIRECTION_ALL:$e,Manager:pe,Input:k,TouchAction:J,TouchInput:$,MouseInput:B,PointerEventInput:z,TouchMouseInput:Y,SingleTouchInput:W,Recognizer:ee,AttrRecognizer:re,Tap:ce,Pan:oe,Swipe:ue,Pinch:se,Rotate:le,Press:ae,on:m,off:v,each:c,merge:Ce,extend:Te,assign:ge,inherit:p,bindFn:d,prefixed:A});var Nt="undefined"!=typeof r?r:"undefined"!=typeof self?self:{};Nt.Hammer=fe,i=function(){return fe}.call(t,n,t,e),!(i!==a&&(e.exports=i))}(window,document,"Hammer")},,function(e,t,n){function i(e,t){var n,i;"undefined"!=typeof e&&(n=e.toString(),i=t&&t>0?t:2e3,r.text(n).show(),o=setTimeout(function(){"block"===r.css("display")&&r.hide()},i))}var r,o,s=n(2);!function(){var e='<div id="yoho-tip" class="yoho-tip"></div>';s(".yoho-page").append(e),r=s("#yoho-tip"),r.on("touchend",function(){r.hide(),clearTimeout(o)})}(),t.show=i},function(e,t,n){function i(e){var t='<div class="loading-mask hide"><div class="loading"><div></div><div></div><div></div></div></div>';u=!0,e||(e=l),e.append(t),s=e.children(".loading-mask")}function r(){u||(i(),u=!0),s.removeClass("hide")}function o(){s.addClass("hide")}var s,a=n(2),l=a(".yoho-page"),u=!1;t.init=i,t.showLoadingMask=r,t.hideLoadingMask=o},,function(e,t){t.init=function(){Element.prototype.getText=function(){return void 0==this.innerText?this.textContent:this.innerText},Element.prototype.setText=function(e){void 0==this.innerText?this.textContent=e||"":this.innerText=e||""},Element.prototype.getFinalStyle=function(e,t){var n;return n=window.getComputedStyle?window.getComputedStyle(this,null)[e]:this.currentStyle[e],void 0!=t&&(n=n*t+"px"),n.substring(0,n.toString().length-2)},Element.prototype.mlellipsis=function(e){var t=this.getText(),n=this.getAttribute("title");null==n?this.setAttribute("title",t):this.setText(n);var i=this.getFinalStyle("fontSize");if(/msie/i.test(navigator.userAgent))var r=this.getFinalStyle("lineHeight",i);else var r=this.getFinalStyle("lineHeight");var o=this.clientHeight;"norm"==r?(r=Number(1.5*i),this.setAttribute("style","line-height:"+r+"px")):r=Number(r);var s=Math.floor(e*r);if(o>=s){for(t=this.getText();3*s<this.clientHeight;)this.setText(t.substring(0,t.length/2)),t=this.getText();for(;s<this.clientHeight;)t=this.getText(),this.setText(t.replace(/(\s)*([a-zA-Z0-9]+|\W)(\.\.\.)?$/,"..."))}},Element.prototype.getTextLineNumber=function(e){var t=this.getText(),n=this.getAttribute("title");null==n?this.setAttribute("title",t):this.setText(n);var i=this.getFinalStyle("fontSize");if(/msie/i.test(navigator.userAgent))var r=this.getFinalStyle("lineHeight",i);else var r=this.getFinalStyle("lineHeight");var o=this.clientHeight;return"norm"==r?(r=Number(1.5*i),this.setAttribute("style","line-height:"+r+"px")):r=Number(r),o/r}}},function(e,t,n){function i(){p.addClass("hide")}function r(){p.removeClass("hide")}function o(){var e=g(".filter-body .classify");e.on("touchstart",".shower",function(){e.removeClass("highlight"),g(this).addClass("highlight")}).on("touchend touchcancel",".shower",function(){g(this).removeClass("highlight")})}function s(){var e=g(".filter-body .sub-item");e.on("touchstart",function(){e.removeClass("highlight"),g(this).addClass("highlight")}).on("touchend touchcancel",function(){g(this).removeClass("highlight")})}function a(e){e.hasClass("active")||(e.siblings(".active").removeClass("active"),e.addClass("active"))}function l(e){var t,n,i=e.closest(".sub-classify"),r=i.siblings(".shower");return e.hasClass("chosed")?i:(i.children(".chosed").removeClass("chosed"),e.addClass("chosed"),t=g.trim(e.html()),n=g.trim(r.html()),r.html(n.substring(0,n.indexOf("</span>")+7)+t.substring(0,t.indexOf("<i"))),0===e.index()?r.addClass("default"):r.removeClass("default"),i)}function u(e){var t,n=e.data("id");t=l(e),d&&d({type:t.data("type"),id:n}),h&&h(),i()}function c(e){var t;d=e.fCbFn,h=e.hCbFn,window.missStatus=e.missStatus,o(),s(),p=g(".filter-mask"),t=new m(p[0]),t.on("tap",function(e){var t,n=g(e.target);e.preventDefault(),n.closest(".filter-body").length>0?(t=n.closest(".sub-item"),t.length>0?(t=n.closest("li"),u(t)):(t=n.closest(".classify-item"),e.srcEvent.stopPropagation(),a(t))):(i(),h&&h())})}function f(){"undefined"!=typeof p&&(g(".sub-classify").each(function(){l(g(this).children(":first-child"))}),a(g(".classify > :first-child")))}var p,d,h,g=n(2),m=n(11);t.initFilter=c,t.showFilter=r,t.hideFilter=i,t.resetFilter=f},function(e,t,n){var i=n(2),r={};i(".query-param").each(function(){var e=i(this);r[e.data("attr")]=e.val()}),e.exports=r},function(e,t,n){var i=n(2),r=i("#suspend-cart");i.ajax({type:"GET",url:"/cart/index/count",success:function(e){var t;200===e.code&&(t=e.data.cart_goods_count,t>99&&(t="99+"),0===t&&i(".cart-count").remove(),r.find(".cart-count").html(t).removeClass("hide"))}})},,,,,,,,,,function(e,t,n){function i(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),n=window.location.search.substr(1).match(t);return null!==n?n[2]:null}function r(e){var t;return e.hasClass("new")?t="newest":e.hasClass("price")?t="price":e.hasClass("discount")?t="discount":e.hasClass("sale")?t="sale":e.hasClass("all")&&(t="all"),t}function o(e){var t,n,i,o,s,u={};if(!a){if(e){for(n in A)A.hasOwnProperty(n)&&(A[n].reload=!0);switch(C.children(".active").removeClass("active"),E.addClass("active"),e.type){case"gender":t={gender:e.id};break;case"brand":t={brand:e.id};break;case"sort":t={sort:e.id};break;case"color":t={color:e.id};break;case"size":t={size:e.id};break;case"price":t={price:e.id};break;case"discount":t={discount:e.id};break;case"p_d":t={p_d:e.id}}l.extend(T,t)}if(o=r(E),i=A[o],s=i.page+1,i.reload)s=1;else if(i.end)return;l(".sale-vip-page").length>0?T.saleType=2:l(".sale-channel-page").length>0&&(T.saleType=3),l.extend(u,T,{type:o,order:i.order,page:s}),a=!0,d.showLoadingMask(),l.ajax({type:"GET",url:"/product/sale/search",data:u,success:function(e){var t,n;switch(o){case"newest":t=g;break;case"price":t=v;break;case"discount":t=m;break;case"sale":t=b;break;case"all":t=y}t.hasClass("hide")&&(t.siblings().addClass("hide"),t.removeClass("hide")),""===e?(i.end=!0,i.reload&&t.html(w)):i.reload?(t.html(e),c(t.find(".lazy"))):(n=t.find(".good-info").length,t.append(e),c(t.find(".good-info:gt("+(n-1)+") .lazy"))),i.reload=!1,i.page=s,a=!1,d.hideLoadingMask(),window.rePosFooter(),l(".good-detail-text .name").each(function(){var e=l(this),t=e.find("a");t[0].mlellipsis(2)})},error:function(){f.show("网络断开连接了~"),a=!1,d.hideLoadingMask()}})}}function s(){l(window).scrollTop()+x>l(document).height()-.25*h.height()-50&&"undefined"!=typeof E&&o()}var a,l=n(2),u=n(16),c=n(6),f=n(13),p=n(17),d=n(14),h=l("#goods-container"),g=h.find(".new-goods"),m=h.find(".discount-goods"),v=h.find(".price-goods"),y=h.find(".all-goods"),b=h.find(".sale-goods"),x=l(window).height(),w='<p class="no-result">未找到相关搜索结果</p>',T=n(18),C=l("#list-nav"),A={all:{order:1,reload:!0,page:0,end:!1},newest:{order:1,reload:!0,page:0,end:!1},price:{order:1,reload:!0,page:0,end:!1},discount:{order:1,reload:!0,page:0,end:!1},sale:{order:0,reload:!0,page:0,end:!1}},E=C.find(".active");n(19),n(10),u.init(),c(l("img.lazy")),l.extend(T,{yhChannel:i("channel")}),l.ajax({type:"GET",url:"/product/sale/filter",data:T,success:function(e){h.append(e),p.initFilter({fCbFn:o,hCbFn:function(){E.addClass("active"),E.siblings(".filter").removeClass("active")},missStatus:!0})}}),c(l(".lazy")),C.bind("contextmenu",function(){return!1}),C.on("touchend touchcancel",function(e){var t,n,i,s=l(e.target).closest("li");if(e.preventDefault(),"undefined"!=typeof s&&0!==s.length){if(s.hasClass("filter"))s.hasClass("active")?(p.hideFilter(),E.addClass("active"),s.removeClass("active")):(E=s.siblings(".active"),E.removeClass("active"),s.addClass("active"),p.showFilter());else{if(n=r(s),t=A[n],s.hasClass("active")){if(s.hasClass("new")||s.hasClass("sale")||s.hasClass("all"))return;(s.hasClass("price")||s.hasClass("discount"))&&(s.find(".icon > .iconfont").toggleClass("cur"),E=s,t.reload=!0,t.order=0===t.order?1:0)}else{if(i=s.siblings(".active"),E=s,i.hasClass("filter"))p.hideFilter();else switch(h.children(".container:not(.hide)").addClass("hide"),n){case"newest":g.removeClass("hide");break;case"price":v.removeClass("hide");break;case"discount":m.removeClass("hide");break;case"sale":b.removeClass("hide");break;case"all":y.removeClass("hide")}i.removeClass("active"),s.addClass("active")}t.reload&&o()}e.stopPropagation()}}),l(window).scroll(function(){window.requestAnimationFrame(s)}),o(),C.on("touchstart","li",function(){l(this).addClass("bytouch")}).on("touchend touchcancel",function(){C.find("li").removeClass("bytouch")})}]);