!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=fe.type(e);return"function"!==n&&!fe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t,n){if(fe.isFunction(t))return fe.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return fe.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Ce.test(t))return fe.filter(t,e,n);t=fe.filter(t,e)}return fe.grep(e,function(e){return fe.inArray(e,t)>-1!==n})}function r(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function a(e){var t={};return fe.each(e.match(Ge)||[],function(e,n){t[n]=!0}),t}function o(){ie.addEventListener?(ie.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s)):(ie.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(ie.addEventListener||"load"===e.event.type||"complete"===ie.readyState)&&(o(),fe.ready())}function l(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(He,"-$1").toLowerCase();if(n=e.getAttribute(i),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:De.test(n)?fe.parseJSON(n):n)}catch(e){}fe.data(e,t,n)}else n=void 0}return n}function u(e){var t;for(t in e)if(("data"!==t||!fe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,i){if(ke(e)){var r,a,o=fe.expando,s=e.nodeType,l=s?fe.cache:e,u=s?e[o]:e[o]&&o;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof t)return u||(u=s?e[o]=ne.pop()||fe.guid++:o),l[u]||(l[u]=s?{}:{toJSON:fe.noop}),"object"!=typeof t&&"function"!=typeof t||(i?l[u]=fe.extend(l[u],t):l[u].data=fe.extend(l[u].data,t)),a=l[u],i||(a.data||(a.data={}),a=a.data),void 0!==n&&(a[fe.camelCase(t)]=n),"string"==typeof t?(r=a[t],null==r&&(r=a[fe.camelCase(t)])):r=a,r}}function d(e,t,n){if(ke(e)){var i,r,a=e.nodeType,o=a?fe.cache:e,s=a?e[fe.expando]:fe.expando;if(o[s]){if(t&&(i=n?o[s]:o[s].data)){fe.isArray(t)?t=t.concat(fe.map(t,fe.camelCase)):t in i?t=[t]:(t=fe.camelCase(t),t=t in i?[t]:t.split(" ")),r=t.length;for(;r--;)delete i[t[r]];if(n?!u(i):!fe.isEmptyObject(i))return}(n||(delete o[s].data,u(o[s])))&&(a?fe.cleanData([e],!0):de.deleteExpando||o!=o.window?delete o[s]:o[s]=void 0)}}}function p(e,t,n,i){var r,a=1,o=20,s=i?function(){return i.cur()}:function(){return fe.css(e,t,"")},l=s(),u=n&&n[3]||(fe.cssNumber[t]?"":"px"),c=(fe.cssNumber[t]||"px"!==u&&+l)&&Ne.exec(fe.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do a=a||".5",c/=a,fe.style(e,t,c+u);while(a!==(a=s()/l)&&1!==a&&--o)}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function f(e){var t=Fe.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){var n,i,r=0,a="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!a)for(a=[],n=e.childNodes||e;null!=(i=n[r]);r++)!t||fe.nodeName(i,t)?a.push(i):fe.merge(a,h(i,t));return void 0===t||t&&fe.nodeName(e,t)?fe.merge([e],a):a}function m(e,t){for(var n,i=0;null!=(n=e[i]);i++)fe._data(n,"globalEval",!t||fe._data(t[i],"globalEval"))}function g(e){ze.test(e.type)&&(e.defaultChecked=e.checked)}function v(e,t,n,i,r){for(var a,o,s,l,u,c,d,p=e.length,v=f(t),T=[],y=0;p>y;y++)if(o=e[y],o||0===o)if("object"===fe.type(o))fe.merge(T,o.nodeType?[o]:o);else if(qe.test(o)){for(l=l||v.appendChild(t.createElement("div")),u=(Ve.exec(o)||["",""])[1].toLowerCase(),d=je[u]||je._default,l.innerHTML=d[1]+fe.htmlPrefilter(o)+d[2],a=d[0];a--;)l=l.lastChild;if(!de.leadingWhitespace&&We.test(o)&&T.push(t.createTextNode(We.exec(o)[0])),!de.tbody)for(o="table"!==u||Ue.test(o)?"<table>"!==d[1]||Ue.test(o)?0:l:l.firstChild,a=o&&o.childNodes.length;a--;)fe.nodeName(c=o.childNodes[a],"tbody")&&!c.childNodes.length&&o.removeChild(c);for(fe.merge(T,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=v.lastChild}else T.push(t.createTextNode(o));for(l&&v.removeChild(l),de.appendChecked||fe.grep(h(T,"input"),g),y=0;o=T[y++];)if(i&&fe.inArray(o,i)>-1)r&&r.push(o);else if(s=fe.contains(o.ownerDocument,o),l=h(v.appendChild(o),"script"),s&&m(l),n)for(a=0;o=l[a++];)Xe.test(o.type||"")&&n.push(o);return l=null,v}function T(){return!0}function y(){return!1}function b(){try{return ie.activeElement}catch(e){}}function S(e,t,n,i,r,a){var o,s;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(s in t)S(e,s,n,i,t[s],a);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),r===!1)r=y;else if(!r)return e;return 1===a&&(o=r,r=function(e){return fe().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=fe.guid++)),e.each(function(){fe.event.add(this,t,r,i,n)})}function w(e,t){return fe.nodeName(e,"table")&&fe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function C(e){return e.type=(null!==fe.find.attr(e,"type"))+"/"+e.type,e}function x(e){var t=rt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function M(e,t){if(1===t.nodeType&&fe.hasData(e)){var n,i,r,a=fe._data(e),o=fe._data(t,a),s=a.events;if(s){delete o.handle,o.events={};for(n in s)for(i=0,r=s[n].length;r>i;i++)fe.event.add(t,n,s[n][i])}o.data&&(o.data=fe.extend({},o.data))}}function A(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!de.noCloneEvent&&t[fe.expando]){r=fe._data(t);for(i in r.events)fe.removeEvent(t,i,r.handle);t.removeAttribute(fe.expando)}"script"===n&&t.text!==e.text?(C(t).text=e.text,x(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),de.html5Clone&&e.innerHTML&&!fe.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&ze.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 P(e,t,n,i){t=ae.apply([],t);var r,a,o,s,l,u,c=0,d=e.length,p=d-1,f=t[0],m=fe.isFunction(f);if(m||d>1&&"string"==typeof f&&!de.checkClone&&it.test(f))return e.each(function(r){var a=e.eq(r);m&&(t[0]=f.call(this,r,a.html())),P(a,t,n,i)});if(d&&(u=v(t,e[0].ownerDocument,!1,e,i),r=u.firstChild,1===u.childNodes.length&&(u=r),r||i)){for(s=fe.map(h(u,"script"),C),o=s.length;d>c;c++)a=u,c!==p&&(a=fe.clone(a,!0,!0),o&&fe.merge(s,h(a,"script"))),n.call(e[c],a,c);if(o)for(l=s[s.length-1].ownerDocument,fe.map(s,x),c=0;o>c;c++)a=s[c],Xe.test(a.type||"")&&!fe._data(a,"globalEval")&&fe.contains(l,a)&&(a.src?fe._evalUrl&&fe._evalUrl(a.src):fe.globalEval((a.text||a.textContent||a.innerHTML||"").replace(at,"")));u=r=null}return e}function E(e,t,n){for(var i,r=t?fe.filter(t,e):e,a=0;null!=(i=r[a]);a++)n||1!==i.nodeType||fe.cleanData(h(i)),i.parentNode&&(n&&fe.contains(i.ownerDocument,i)&&m(h(i,"script")),i.parentNode.removeChild(i));return e}function G(e,t){var n=fe(t.createElement(e)).appendTo(t.body),i=fe.css(n[0],"display");return n.detach(),i}function B(e){var t=ie,n=ut[e];return n||(n=G(e,t),"none"!==n&&n||(lt=(lt||fe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(lt[0].contentWindow||lt[0].contentDocument).document,t.write(),t.close(),n=G(e,t),lt.detach()),ut[e]=n),n}function I(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function k(e){if(e in xt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Ct.length;n--;)if(e=Ct[n]+t,e in xt)return e}function D(e,t){for(var n,i,r,a=[],o=0,s=e.length;s>o;o++)i=e[o],i.style&&(a[o]=fe._data(i,"olddisplay"),n=i.style.display,t?(a[o]||"none"!==n||(i.style.display=""),""===i.style.display&&_e(i)&&(a[o]=fe._data(i,"olddisplay",B(i.nodeName)))):(r=_e(i),(n&&"none"!==n||!r)&&fe._data(i,"olddisplay",r?n:fe.css(i,"display"))));for(o=0;s>o;o++)i=e[o],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?a[o]||"":"none"));return e}function H(e,t,n){var i=bt.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function L(e,t,n,i,r){for(var a=n===(i?"border":"content")?4:"width"===t?1:0,o=0;4>a;a+=2)"margin"===n&&(o+=fe.css(e,n+Oe[a],!0,r)),i?("content"===n&&(o-=fe.css(e,"padding"+Oe[a],!0,r)),"margin"!==n&&(o-=fe.css(e,"border"+Oe[a]+"Width",!0,r))):(o+=fe.css(e,"padding"+Oe[a],!0,r),"padding"!==n&&(o+=fe.css(e,"border"+Oe[a]+"Width",!0,r)));return o}function N(t,n,i){var r=!0,a="width"===n?t.offsetWidth:t.offsetHeight,o=ht(t),s=de.boxSizing&&"border-box"===fe.css(t,"boxSizing",!1,o);if(ie.msFullscreenElement&&e.top!==e&&t.getClientRects().length&&(a=Math.round(100*t.getBoundingClientRect()[n])),0>=a||null==a){if(a=mt(t,n,o),(0>a||null==a)&&(a=t.style[n]),dt.test(a))return a;r=s&&(de.boxSizingReliable()||a===t.style[n]),a=parseFloat(a)||0}return a+L(t,n,i||(s?"border":"content"),r,o)+"px"}function O(e,t,n,i,r){return new O.prototype.init(e,t,n,i,r)}function _(){return e.setTimeout(function(){Mt=void 0}),Mt=fe.now()}function R(e,t){var n,i={height:e},r=0;for(t=t?1:0;4>r;r+=2-t)n=Oe[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function z(e,t,n){for(var i,r=(W.tweeners[t]||[]).concat(W.tweeners["*"]),a=0,o=r.length;o>a;a++)if(i=r[a].call(n,t,e))return i}function V(e,t,n){var i,r,a,o,s,l,u,c,d=this,p={},f=e.style,h=e.nodeType&&_e(e),m=fe._data(e,"fxshow");n.queue||(s=fe._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,fe.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],u=fe.css(e,"display"),c="none"===u?fe._data(e,"olddisplay")||B(e.nodeName):u,"inline"===c&&"none"===fe.css(e,"float")&&(de.inlineBlockNeedsLayout&&"inline"!==B(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",de.shrinkWrapBlocks()||d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in t)if(r=t[i],Pt.exec(r)){if(delete t[i],a=a||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;h=!0}p[i]=m&&m[i]||fe.style(e,i)}else u=void 0;if(fe.isEmptyObject(p))"inline"===("none"===u?B(e.nodeName):u)&&(f.display=u);else{m?"hidden"in m&&(h=m.hidden):m=fe._data(e,"fxshow",{}),a&&(m.hidden=!h),h?fe(e).show():d.done(function(){fe(e).hide()}),d.done(function(){var t;fe._removeData(e,"fxshow");for(t in p)fe.style(e,t,p[t])});for(i in p)o=z(h?m[i]:0,i,d),i in m||(m[i]=o.start,h&&(o.end=o.start,o.start="width"===i||"height"===i?1:0))}}function X(e,t){var n,i,r,a,o;for(n in e)if(i=fe.camelCase(n),r=t[i],a=e[n],fe.isArray(a)&&(r=a[1],a=e[n]=a[0]),n!==i&&(e[i]=a,delete e[n]),o=fe.cssHooks[i],o&&"expand"in o){a=o.expand(a),delete e[i];for(n in a)n in e||(e[n]=a[n],t[n]=r)}else t[i]=r}function W(e,t,n){var i,r,a=0,o=W.prefilters.length,s=fe.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Mt||_(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,a=1-i,o=0,l=u.tweens.length;l>o;o++)u.tweens[o].run(a);return s.notifyWith(e,[u,a,n]),1>a&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:fe.extend({},t),opts:fe.extend(!0,{specialEasing:{},easing:fe.easing._default},n),originalProperties:t,originalOptions:n,startTime:Mt||_(),duration:n.duration,tweens:[],createTween:function(t,n){var i=fe.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?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(X(c,u.opts.specialEasing);o>a;a++)if(i=W.prefilters[a].call(u,e,c,u.opts))return fe.isFunction(i.stop)&&(fe._queueHooks(u.elem,u.opts.queue).stop=fe.proxy(i.stop,i)),i;return fe.map(c,z,u),fe.isFunction(u.opts.start)&&u.opts.start.call(e,u),fe.fx.timer(fe.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 F(e){return fe.attr(e,"class")||""}function j(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,a=t.toLowerCase().match(Ge)||[];if(fe.isFunction(n))for(;i=a[r++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function q(e,t,n,i){function r(s){var l;return a[s]=!0,fe.each(e[s]||[],function(e,s){var u=s(t,n,i);return"string"!=typeof u||o||a[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var a={},o=e===Jt;return r(t.dataTypes[0])||!a["*"]&&r("*")}function U(e,t){var n,i,r=fe.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&fe.extend(!0,e,n),e}function $(e,t,n){for(var i,r,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)a=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){a=o;break}i||(i=o)}a=a||i}return a?(a!==l[0]&&l.unshift(a),n[a]):void 0}function Y(e,t,n,i){var r,a,o,s,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=c.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(o=u[l+" "+a]||u["* "+a],!o)for(r in u)if(s=r.split(" "),s[1]===a&&(o=u[l+" "+s[0]]||u["* "+s[0]])){o===!0?o=u[r]:u[r]!==!0&&(a=s[0],c.unshift(s[1]));break}if(o!==!0)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}function K(e){return e.style&&e.style.display||fe.css(e,"display")}function Q(e){for(;e&&1===e.nodeType;){if("none"===K(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function J(e,t,n,i){var r;if(fe.isArray(t))fe.each(t,function(t,r){n||rn.test(e)?i(e,r):J(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==fe.type(t))i(e,t);else for(r in t)J(e+"["+r+"]",t[r],n,i)}function Z(){try{return new e.XMLHttpRequest}catch(e){}}function ee(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function te(e){return fe.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var ne=[],ie=e.document,re=ne.slice,ae=ne.concat,oe=ne.push,se=ne.indexOf,le={},ue=le.toString,ce=le.hasOwnProperty,de={},pe="1.12.3",fe=function(e,t){return new fe.fn.init(e,t)},he=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,me=/^-ms-/,ge=/-([\da-z])/gi,ve=function(e,t){return t.toUpperCase()};fe.fn=fe.prototype={jquery:pe,constructor:fe,selector:"",length:0,toArray:function(){return re.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:re.call(this)},pushStack:function(e){var t=fe.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return fe.each(this,e)},map:function(e){return this.pushStack(fe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(re.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]]:[])},end:function(){return this.prevObject||this.constructor()},push:oe,sort:ne.sort,splice:ne.splice},fe.extend=fe.fn.extend=function(){var e,t,n,i,r,a,o=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[s]||{},s++),"object"==typeof o||fe.isFunction(o)||(o={}),s===l&&(o=this,s--);l>s;s++)if(null!=(r=arguments[s]))for(i in r)e=o[i],n=r[i],o!==n&&(u&&n&&(fe.isPlainObject(n)||(t=fe.isArray(n)))?(t?(t=!1,a=e&&fe.isArray(e)?e:[]):a=e&&fe.isPlainObject(e)?e:{},o[i]=fe.extend(u,a,n)):void 0!==n&&(o[i]=n));return o},fe.extend({expando:"jQuery"+(pe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===fe.type(e)},isArray:Array.isArray||function(e){return"array"===fe.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!fe.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==fe.type(e)||e.nodeType||fe.isWindow(e))return!1;try{if(e.constructor&&!ce.call(e,"constructor")&&!ce.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!de.ownFirst)for(t in e)return ce.call(e,t);for(t in e);return void 0===t||ce.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?le[ue.call(e)]||"object":typeof e},globalEval:function(t){t&&fe.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(me,"ms-").replace(ge,ve)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var i,r=0;if(n(e))for(i=e.length;i>r&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(he,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(n(Object(e))?fe.merge(i,"string"==typeof e?[e]:e):oe.call(i,e)),i},inArray:function(e,t,n){var i;if(t){if(se)return se.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){for(var n=+t.length,i=0,r=e.length;n>i;)e[r++]=t[i++];if(n!==n)for(;void 0!==t[i];)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){for(var i,r=[],a=0,o=e.length,s=!n;o>a;a++)i=!t(e[a],a),i!==s&&r.push(e[a]);return r},map:function(e,t,i){var r,a,o=0,s=[];if(n(e))for(r=e.length;r>o;o++)a=t(e[o],o,i),null!=a&&s.push(a);else for(o in e)a=t(e[o],o,i),null!=a&&s.push(a);return ae.apply([],s)},guid:1,proxy:function(e,t){var n,i,r;return"string"==typeof t&&(r=e[t],t=e,e=r),fe.isFunction(e)?(n=re.call(arguments,2),i=function(){return e.apply(t||this,n.concat(re.call(arguments)))},i.guid=e.guid=e.guid||fe.guid++,i):void 0},now:function(){return+new Date},support:de}),"function"==typeof Symbol&&(fe.fn[Symbol.iterator]=ne[Symbol.iterator]),fe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){le["[object "+t+"]"]=t.toLowerCase()});var Te=function(e){function t(e,t,n,i){var r,a,o,s,l,u,d,f,h=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!i&&((t?t.ownerDocument||t:z)!==k&&I(t),t=t||k,H)){if(11!==m&&(u=ve.exec(e)))if(r=u[1]){if(9===m){if(!(o=t.getElementById(r)))return n;if(o.id===r)return n.push(o),n}else if(h&&(o=h.getElementById(r))&&_(t,o)&&o.id===r)return n.push(o),n}else{if(u[2])return J.apply(n,t.getElementsByTagName(e)),n;if((r=u[3])&&S.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(r)),n}if(S.qsa&&!j[e+" "]&&(!L||!L.test(e))){if(1!==m)h=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ye,"\\$&"):t.setAttribute("id",s=R),d=M(e),a=d.length,l=pe.test(s)?"#"+s:"[id='"+s+"']";a--;)d[a]=l+" "+p(d[a]);f=d.join(","),h=Te.test(e)&&c(t.parentNode)||t}if(f)try{return J.apply(n,h.querySelectorAll(f)),n}catch(e){}finally{s===R&&t.removeAttribute("id")}}}return P(e.replace(se,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[R]=!0,e}function r(e){var t=k.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function o(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||U)-(~e.sourceIndex||U);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return i(function(t){return t=+t,i(function(n,i){for(var r,a=e([],n.length,t),o=a.length;o--;)n[r=a[o]]&&(n[r]=!(i[r]=n[r]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function p(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function f(e,t,n){var i=t.dir,r=n&&"parentNode"===i,a=X++;return t.first?function(t,n,a){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,a)}:function(t,n,o){var s,l,u,c=[V,a];if(o){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,o))return!0}else for(;t=t[i];)if(1===t.nodeType||r){if(u=t[R]||(t[R]={}),l=u[t.uniqueID]||(u[t.uniqueID]={}),(s=l[i])&&s[0]===V&&s[1]===a)return c[2]=s[2];if(l[i]=c,c[2]=e(t,n,o))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 m(e,n,i){for(var r=0,a=n.length;a>r;r++)t(e,n[r],i);return i}function g(e,t,n,i,r){for(var a,o=[],s=0,l=e.length,u=null!=t;l>s;s++)(a=e[s])&&(n&&!n(a,i,r)||(o.push(a),u&&t.push(s)));return o}function v(e,t,n,r,a,o){return r&&!r[R]&&(r=v(r)),a&&!a[R]&&(a=v(a,o)),i(function(i,o,s,l){var u,c,d,p=[],f=[],h=o.length,v=i||m(t||"*",s.nodeType?[s]:s,[]),T=!e||!i&&t?v:g(v,p,e,s,l),y=n?a||(i?e:h||r)?[]:o:T;if(n&&n(T,y,s,l),r)for(u=g(y,f),r(u,[],s,l),c=u.length;c--;)(d=u[c])&&(y[f[c]]=!(T[f[c]]=d));if(i){if(a||e){if(a){for(u=[],c=y.length;c--;)(d=y[c])&&u.push(T[c]=d);a(null,y=[],u,l)}for(c=y.length;c--;)(d=y[c])&&(u=a?ee(i,d):p[c])>-1&&(i[u]=!(o[u]=d))}}else y=g(y===o?y.splice(h,y.length):y),a?a(null,o,y,l):J.apply(o,y)})}function T(e){for(var t,n,i,r=e.length,a=w.relative[e[0].type],o=a||w.relative[" "],s=a?1:0,l=f(function(e){return e===t},o,!0),u=f(function(e){return ee(t,e)>-1},o,!0),c=[function(e,n,i){var r=!a&&(i||n!==E)||((t=n).nodeType?l(e,n,i):u(e,n,i));return t=null,r}];r>s;s++)if(n=w.relative[e[s].type])c=[f(h(c),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[R]){for(i=++s;r>i&&!w.relative[e[i].type];i++);return v(s>1&&h(c),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,i>s&&T(e.slice(s,i)),r>i&&T(e=e.slice(i)),r>i&&p(e))}c.push(n)}return h(c)}function y(e,n){var r=n.length>0,a=e.length>0,o=function(i,o,s,l,u){var c,d,p,f=0,h="0",m=i&&[],v=[],T=E,y=i||a&&w.find.TAG("*",u),b=V+=null==T?1:Math.random()||.1,S=y.length;for(u&&(E=o===k||o||u);h!==S&&null!=(c=y[h]);h++){if(a&&c){for(d=0,o||c.ownerDocument===k||(I(c),s=!H);p=e[d++];)if(p(c,o||k,s)){l.push(c);break}u&&(V=b)}r&&((c=!p&&c)&&f--,i&&m.push(c))}if(f+=h,r&&h!==f){for(d=0;p=n[d++];)p(m,v,o,s);if(i){if(f>0)for(;h--;)m[h]||v[h]||(v[h]=K.call(l));v=g(v)}J.apply(l,v),u&&!i&&v.length>0&&f+n.length>1&&t.uniqueSort(l)}return u&&(V=b,E=T),m};return r?i(o):o}var b,S,w,C,x,M,A,P,E,G,B,I,k,D,H,L,N,O,_,R="sizzle"+1*new Date,z=e.document,V=0,X=0,W=n(),F=n(),j=n(),q=function(e,t){return e===t&&(B=!0),0},U=1<<31,$={}.hasOwnProperty,Y=[],K=Y.pop,Q=Y.push,J=Y.push,Z=Y.slice,ee=function(e,t){for(var n=0,i=e.length;i>n;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",re="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",ae=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",oe=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(ae),pe=new RegExp("^"+ie+"$"),fe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Te=/[+~]/,ye=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),Se=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},we=function(){I()};try{J.apply(Y=Z.call(z.childNodes),z.childNodes),Y[z.childNodes.length].nodeType}catch(e){J={apply:Y.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}S=t.support={},x=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},I=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:z;return i!==k&&9===i.nodeType&&i.documentElement?(k=i,D=k.documentElement,H=!x(k),(n=k.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),S.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),S.getElementsByTagName=r(function(e){return e.appendChild(k.createComment("")),!e.getElementsByTagName("*").length}),S.getElementsByClassName=ge.test(k.getElementsByClassName),S.getById=r(function(e){return D.appendChild(e).id=R,!k.getElementsByName||!k.getElementsByName(R).length}),S.getById?(w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&H){var n=t.getElementById(e);return n?[n]:[]}},w.filter.ID=function(e){var t=e.replace(be,Se);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var t=e.replace(be,Se);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),w.find.TAG=S.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):S.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[r++];)1===n.nodeType&&i.push(n);return i}return a},w.find.CLASS=S.getElementsByClassName&&function(e,t){return"undefined"!=typeof t.getElementsByClassName&&H?t.getElementsByClassName(e):void 0},N=[],L=[],(S.qsa=ge.test(k.querySelectorAll))&&(r(function(e){D.appendChild(e).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||L.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+R+"-]").length||L.push("~="),e.querySelectorAll(":checked").length||L.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||L.push(".#.+[+~]")}),r(function(e){var t=k.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&L.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||L.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),L.push(",.*:")})),(S.matchesSelector=ge.test(O=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&r(function(e){S.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),N.push("!=",ae)}),L=L.length&&new RegExp(L.join("|")),N=N.length&&new RegExp(N.join("|")),t=ge.test(D.compareDocumentPosition),_=t||ge.test(D.contains)?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=t?function(e,t){if(e===t)return B=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!S.sortDetached&&t.compareDocumentPosition(e)===n?e===k||e.ownerDocument===z&&_(z,e)?-1:t===k||t.ownerDocument===z&&_(z,t)?1:G?ee(G,e)-ee(G,t):0:4&n?-1:1)}:function(e,t){if(e===t)return B=!0,0;var n,i=0,r=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!r||!a)return e===k?-1:t===k?1:r?-1:a?1:G?ee(G,e)-ee(G,t):0;if(r===a)return o(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?o(s[i],l[i]):s[i]===z?-1:l[i]===z?1:0},k):k},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==k&&I(e),n=n.replace(ce,"='$1']"),S.matchesSelector&&H&&!j[n+" "]&&(!N||!N.test(n))&&(!L||!L.test(n)))try{var i=O.call(e,n);if(i||S.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return t(n,k,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==k&&I(e),_(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==k&&I(e);var n=w.attrHandle[t.toLowerCase()],i=n&&$.call(w.attrHandle,t.toLowerCase())?n(e,t,!H):void 0;return void 0!==i?i:S.attributes||!H?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,r=0;if(B=!S.detectDuplicates,G=!S.sortStable&&e.slice(0),e.sort(q),B){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return G=null,e},C=t.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+=C(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=C(t);return n},w=t.selectors={cacheLength:50,createPseudo:i,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,Se),e[3]=(e[3]||e[4]||e[5]||"").replace(be,Se),"~="===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]||t.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]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=M(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){var t=e.replace(be,Se).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(r){var a=t.attr(r,e);return null==a?"!="===n:!n||(a+="","="===n?a===i:"!="===n?a!==i:"^="===n?i&&0===a.indexOf(i):"*="===n?i&&a.indexOf(i)>-1:"$="===n?i&&a.slice(-i.length)===i:"~="===n?(" "+a.replace(oe," ")+" ").indexOf(i)>-1:"|="===n&&(a===i||a.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,p,f,h,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),T=!l&&!s,y=!1;if(g){if(a){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?g.firstChild:g.lastChild],o&&T){for(p=g,d=p[R]||(p[R]={}),
c=d[p.uniqueID]||(d[p.uniqueID]={}),u=c[e]||[],f=u[0]===V&&u[1],y=f&&u[2],p=f&&g.childNodes[f];p=++f&&p&&p[m]||(y=f=0)||h.pop();)if(1===p.nodeType&&++y&&p===t){c[e]=[V,f,y];break}}else if(T&&(p=t,d=p[R]||(p[R]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),u=c[e]||[],f=u[0]===V&&u[1],y=f),y===!1)for(;(p=++f&&p&&p[m]||(y=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++y||(T&&(d=p[R]||(p[R]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),c[e]=[V,y]),p!==t)););return y-=r,y===i||y%i===0&&y/i>=0}}},PSEUDO:function(e,n){var r,a=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return a[R]?a(n):a.length>1?(r=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,r=a(e,n),o=r.length;o--;)i=ee(e,r[o]),e[i]=!(t[i]=r[o])}):function(e){return a(e,0,r)}):a}},pseudos:{not:i(function(e){var t=[],n=[],r=A(e.replace(se,"$1"));return r[R]?i(function(e,t,n,i){for(var a,o=r(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(be,Se),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:i(function(e){return pe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,Se).toLowerCase(),function(t){var n;do if(n=H?t.lang:t.getAttribute("xml:lang")||t.getAttribute("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===D},focus:function(e){return e===k.activeElement&&(!k.hasFocus||k.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.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.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"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[0>n?n+t:n]}),even:u(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=0>n?n+t:n;++i<t;)e.push(i);return e})}},w.pseudos.nth=w.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=l(b);return d.prototype=w.filters=w.pseudos,w.setFilters=new d,M=t.tokenize=function(e,n){var i,r,a,o,s,l,u,c=F[e+" "];if(c)return n?0:c.slice(0);for(s=e,l=[],u=w.preFilter;s;){i&&!(r=le.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(a=[])),i=!1,(r=ue.exec(s))&&(i=r.shift(),a.push({value:i,type:r[0].replace(se," ")}),s=s.slice(i.length));for(o in w.filter)!(r=fe[o].exec(s))||u[o]&&!(r=u[o](r))||(i=r.shift(),a.push({value:i,type:o,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?t.error(e):F(e,l).slice(0)},A=t.compile=function(e,t){var n,i=[],r=[],a=j[e+" "];if(!a){for(t||(t=M(e)),n=t.length;n--;)a=T(t[n]),a[R]?i.push(a):r.push(a);a=j(e,y(r,i)),a.selector=e}return a},P=t.select=function(e,t,n,i){var r,a,o,s,l,u="function"==typeof e&&e,d=!i&&M(e=u.selector||e);if(n=n||[],1===d.length){if(a=d[0]=d[0].slice(0),a.length>2&&"ID"===(o=a[0]).type&&S.getById&&9===t.nodeType&&H&&w.relative[a[1].type]){if(t=(w.find.ID(o.matches[0].replace(be,Se),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(r=fe.needsContext.test(e)?0:a.length;r--&&(o=a[r],!w.relative[s=o.type]);)if((l=w.find[s])&&(i=l(o.matches[0].replace(be,Se),Te.test(a[0].type)&&c(t.parentNode)||t))){if(a.splice(r,1),e=i.length&&p(a),!e)return J.apply(n,i),n;break}}return(u||A(e,d))(i,t,!H,n,!t||Te.test(e)&&c(t.parentNode)||t),n},S.sortStable=R.split("").sort(q).join("")===R,S.detectDuplicates=!!B,I(),S.sortDetached=r(function(e){return 1&e.compareDocumentPosition(k.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),S.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||a(te,function(e,t,n){var i;return n?void 0:e[t]===!0?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(e);fe.find=Te,fe.expr=Te.selectors,fe.expr[":"]=fe.expr.pseudos,fe.uniqueSort=fe.unique=Te.uniqueSort,fe.text=Te.getText,fe.isXMLDoc=Te.isXML,fe.contains=Te.contains;var ye=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&fe(e).is(n))break;i.push(e)}return i},be=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Se=fe.expr.match.needsContext,we=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ce=/^.[^:#\[\.,]*$/;fe.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?fe.find.matchesSelector(i,e)?[i]:[]:fe.find.matches(e,fe.grep(t,function(e){return 1===e.nodeType}))},fe.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(fe(e).filter(function(){for(t=0;r>t;t++)if(fe.contains(i[t],this))return!0}));for(t=0;r>t;t++)fe.find(e,i[t],n);return n=this.pushStack(r>1?fe.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(i(this,e||[],!1))},not:function(e){return this.pushStack(i(this,e||[],!0))},is:function(e){return!!i(this,"string"==typeof e&&Se.test(e)?fe(e):e||[],!1).length}});var xe,Me=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Ae=fe.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||xe,"string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Me.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 fe?t[0]:t,fe.merge(this,fe.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:ie,!0)),we.test(i[1])&&fe.isPlainObject(t))for(i in t)fe.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if(r=ie.getElementById(i[2]),r&&r.parentNode){if(r.id!==i[2])return xe.find(e);this.length=1,this[0]=r}return this.context=ie,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):fe.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(fe):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),fe.makeArray(e,this))};Ae.prototype=fe.fn,xe=fe(ie);var Pe=/^(?:parents|prev(?:Until|All))/,Ee={children:!0,contents:!0,next:!0,prev:!0};fe.fn.extend({has:function(e){var t,n=fe(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(fe.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,r=this.length,a=[],o=Se.test(e)||"string"!=typeof e?fe(e,t||this.context):0;r>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&fe.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?fe.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?fe.inArray(this[0],fe(e)):fe.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(fe.uniqueSort(fe.merge(this.get(),fe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),fe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ye(e,"parentNode")},parentsUntil:function(e,t,n){return ye(e,"parentNode",n)},next:function(e){return r(e,"nextSibling")},prev:function(e){return r(e,"previousSibling")},nextAll:function(e){return ye(e,"nextSibling")},prevAll:function(e){return ye(e,"previousSibling")},nextUntil:function(e,t,n){return ye(e,"nextSibling",n)},prevUntil:function(e,t,n){return ye(e,"previousSibling",n)},siblings:function(e){return be((e.parentNode||{}).firstChild,e)},children:function(e){return be(e.firstChild)},contents:function(e){return fe.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:fe.merge([],e.childNodes)}},function(e,t){fe.fn[e]=function(n,i){var r=fe.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=fe.filter(i,r)),this.length>1&&(Ee[e]||(r=fe.uniqueSort(r)),Pe.test(e)&&(r=r.reverse())),this.pushStack(r)}});var Ge=/\S+/g;fe.Callbacks=function(e){e="string"==typeof e?a(e):fe.extend({},e);var t,n,i,r,o=[],s=[],l=-1,u=function(){for(r=e.once,i=t=!0;s.length;l=-1)for(n=s.shift();++l<o.length;)o[l].apply(n[0],n[1])===!1&&e.stopOnFalse&&(l=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(l=o.length-1,s.push(n)),function t(n){fe.each(n,function(n,i){fe.isFunction(i)?e.unique&&c.has(i)||o.push(i):i&&i.length&&"string"!==fe.type(i)&&t(i)})}(arguments),n&&!t&&u()),this},remove:function(){return fe.each(arguments,function(e,t){for(var n;(n=fe.inArray(t,o,n))>-1;)o.splice(n,1),l>=n&&l--}),this},has:function(e){return e?fe.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=!0,n||c.disable(),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},fe.extend({Deferred:function(e){var t=[["resolve","done",fe.Callbacks("once memory"),"resolved"],["reject","fail",fe.Callbacks("once memory"),"rejected"],["notify","progress",fe.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return fe.Deferred(function(n){fe.each(t,function(t,a){var o=fe.isFunction(e[t])&&e[t];r[a[1]](function(){var e=o&&o.apply(this,arguments);e&&fe.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[a[0]+"With"](this===i?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?fe.extend(e,i):i}},r={};return i.pipe=i.then,fe.each(t,function(e,a){var o=a[2],s=a[3];i[a[1]]=o.add,s&&o.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),r[a[0]]=function(){return r[a[0]+"With"](this===r?i:this,arguments),this},r[a[0]+"With"]=o.fireWith}),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,a=re.call(arguments),o=a.length,s=1!==o||e&&fe.isFunction(e.promise)?o:0,l=1===s?e:fe.Deferred(),u=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?re.call(arguments):r,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(o>1)for(t=new Array(o),n=new Array(o),i=new Array(o);o>r;r++)a[r]&&fe.isFunction(a[r].promise)?a[r].promise().progress(u(r,n,t)).done(u(r,i,a)).fail(l.reject):--s;return s||l.resolveWith(i,a),l.promise()}});var Be;fe.fn.ready=function(e){return fe.ready.promise().done(e),this},fe.extend({isReady:!1,readyWait:1,holdReady:function(e){e?fe.readyWait++:fe.ready(!0)},ready:function(e){(e===!0?--fe.readyWait:fe.isReady)||(fe.isReady=!0,e!==!0&&--fe.readyWait>0||(Be.resolveWith(ie,[fe]),fe.fn.triggerHandler&&(fe(ie).triggerHandler("ready"),fe(ie).off("ready"))))}}),fe.ready.promise=function(t){if(!Be)if(Be=fe.Deferred(),"complete"===ie.readyState||"loading"!==ie.readyState&&!ie.documentElement.doScroll)e.setTimeout(fe.ready);else if(ie.addEventListener)ie.addEventListener("DOMContentLoaded",s),e.addEventListener("load",s);else{ie.attachEvent("onreadystatechange",s),e.attachEvent("onload",s);var n=!1;try{n=null==e.frameElement&&ie.documentElement}catch(e){}n&&n.doScroll&&!function t(){if(!fe.isReady){try{n.doScroll("left")}catch(n){return e.setTimeout(t,50)}o(),fe.ready()}}()}return Be.promise(t)},fe.ready.promise();var Ie;for(Ie in fe(de))break;de.ownFirst="0"===Ie,de.inlineBlockNeedsLayout=!1,fe(function(){var e,t,n,i;n=ie.getElementsByTagName("body")[0],n&&n.style&&(t=ie.createElement("div"),i=ie.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",de.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))}),function(){var e=ie.createElement("div");de.deleteExpando=!0;try{delete e.test}catch(e){de.deleteExpando=!1}e=null}();var ke=function(e){var t=fe.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||t!==!0&&e.getAttribute("classid")===t)},De=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,He=/([A-Z])/g;fe.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?fe.cache[e[fe.expando]]:e[fe.expando],!!e&&!u(e)},data:function(e,t,n){return c(e,t,n)},removeData:function(e,t){return d(e,t)},_data:function(e,t,n){return c(e,t,n,!0)},_removeData:function(e,t){return d(e,t,!0)}}),fe.fn.extend({data:function(e,t){var n,i,r,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(r=fe.data(a),1===a.nodeType&&!fe._data(a,"parsedAttrs"))){for(n=o.length;n--;)o[n]&&(i=o[n].name,0===i.indexOf("data-")&&(i=fe.camelCase(i.slice(5)),l(a,i,r[i])));fe._data(a,"parsedAttrs",!0)}return r}return"object"==typeof e?this.each(function(){fe.data(this,e)}):arguments.length>1?this.each(function(){fe.data(this,e,t)}):a?l(a,e,fe.data(a,e)):void 0},removeData:function(e){return this.each(function(){fe.removeData(this,e)})}}),fe.extend({queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=fe._data(e,t),n&&(!i||fe.isArray(n)?i=fe._data(e,t,fe.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=fe.queue(e,t),i=n.length,r=n.shift(),a=fe._queueHooks(e,t),o=function(){fe.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete a.stop,r.call(e,o,a)),!i&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return fe._data(e,n)||fe._data(e,n,{empty:fe.Callbacks("once memory").add(function(){fe._removeData(e,t+"queue"),fe._removeData(e,n)})})}}),fe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?fe.queue(this[0],e):void 0===t?this:this.each(function(){var n=fe.queue(this,e,t);fe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&fe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){fe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=fe.Deferred(),a=this,o=this.length,s=function(){--i||r.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)n=fe._data(a[o],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}}),function(){var e;de.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,i;return n=ie.getElementsByTagName("body")[0],n&&n.style?(t=ie.createElement("div"),i=ie.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(ie.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(i),e):void 0}}();var Le=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ne=new RegExp("^(?:([+-])=|)("+Le+")([a-z%]*)$","i"),Oe=["Top","Right","Bottom","Left"],_e=function(e,t){return e=t||e,"none"===fe.css(e,"display")||!fe.contains(e.ownerDocument,e)},Re=function(e,t,n,i,r,a,o){var s=0,l=e.length,u=null==n;if("object"===fe.type(n)){r=!0;for(s in n)Re(e,t,s,n[s],!0,a,o)}else if(void 0!==i&&(r=!0,fe.isFunction(i)||(o=!0),u&&(o?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(fe(e),n)})),t))for(;l>s;s++)t(e[s],n,o?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):a},ze=/^(?:checkbox|radio)$/i,Ve=/<([\w:-]+)/,Xe=/^$|\/(?:java|ecma)script/i,We=/^\s+/,Fe="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var e=ie.createElement("div"),t=ie.createDocumentFragment(),n=ie.createElement("input");e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",de.leadingWhitespace=3===e.firstChild.nodeType,de.tbody=!e.getElementsByTagName("tbody").length,de.htmlSerialize=!!e.getElementsByTagName("link").length,de.html5Clone="<:nav></:nav>"!==ie.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),de.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",de.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=ie.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),de.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,de.noCloneEvent=!!e.addEventListener,e[fe.expando]=1,de.attributes=!e.getAttribute(fe.expando)}();var je={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.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};je.optgroup=je.option,je.tbody=je.tfoot=je.colgroup=je.caption=je.thead,je.th=je.td;var qe=/<|&#?\w+;/,Ue=/<tbody/i;!function(){var t,n,i=ie.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(de[t]=n in e)||(i.setAttribute(n,"t"),de[t]=i.attributes[n].expando===!1);i=null}();var $e=/^(?:input|select|textarea)$/i,Ye=/^key/,Ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Qe=/^(?:focusinfocus|focusoutblur)$/,Je=/^([^.]*)(?:\.(.+)|)/;fe.event={global:{},add:function(e,t,n,i,r){var a,o,s,l,u,c,d,p,f,h,m,g=fe._data(e);if(g){for(n.handler&&(l=n,n=l.handler,r=l.selector),n.guid||(n.guid=fe.guid++),(o=g.events)||(o=g.events={}),(c=g.handle)||(c=g.handle=function(e){return"undefined"==typeof fe||e&&fe.event.triggered===e.type?void 0:fe.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(Ge)||[""],s=t.length;s--;)a=Je.exec(t[s])||[],f=m=a[1],h=(a[2]||"").split(".").sort(),f&&(u=fe.event.special[f]||{},f=(r?u.delegateType:u.bindType)||f,u=fe.event.special[f]||{},d=fe.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&fe.expr.match.needsContext.test(r),namespace:h.join(".")},l),(p=o[f])||(p=o[f]=[],p.delegateCount=0,u.setup&&u.setup.call(e,i,h,c)!==!1||(e.addEventListener?e.addEventListener(f,c,!1):e.attachEvent&&e.attachEvent("on"+f,c))),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,d):p.push(d),fe.event.global[f]=!0);e=null}},remove:function(e,t,n,i,r){var a,o,s,l,u,c,d,p,f,h,m,g=fe.hasData(e)&&fe._data(e);if(g&&(c=g.events)){for(t=(t||"").match(Ge)||[""],u=t.length;u--;)if(s=Je.exec(t[u])||[],f=m=s[1],h=(s[2]||"").split(".").sort(),f){for(d=fe.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,p=c[f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=a=p.length;a--;)o=p[a],!r&&m!==o.origType||n&&n.guid!==o.guid||s&&!s.test(o.namespace)||i&&i!==o.selector&&("**"!==i||!o.selector)||(p.splice(a,1),o.selector&&p.delegateCount--,d.remove&&d.remove.call(e,o));l&&!p.length&&(d.teardown&&d.teardown.call(e,h,g.handle)!==!1||fe.removeEvent(e,f,g.handle),delete c[f])}else for(f in c)fe.event.remove(e,f+t[u],n,i,!0);fe.isEmptyObject(c)&&(delete g.handle,fe._removeData(e,"events"))}},trigger:function(t,n,i,r){var a,o,s,l,u,c,d,p=[i||ie],f=ce.call(t,"type")?t.type:t,h=ce.call(t,"namespace")?t.namespace.split("."):[];if(s=c=i=i||ie,3!==i.nodeType&&8!==i.nodeType&&!Qe.test(f+fe.event.triggered)&&(f.indexOf(".")>-1&&(h=f.split("."),f=h.shift(),h.sort()),o=f.indexOf(":")<0&&"on"+f,t=t[fe.expando]?t:new fe.Event(f,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:fe.makeArray(n,[t]),u=fe.event.special[f]||{},r||!u.trigger||u.trigger.apply(i,n)!==!1)){if(!r&&!u.noBubble&&!fe.isWindow(i)){for(l=u.delegateType||f,Qe.test(l+f)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(i.ownerDocument||ie)&&p.push(c.defaultView||c.parentWindow||e)}for(d=0;(s=p[d++])&&!t.isPropagationStopped();)t.type=d>1?l:u.bindType||f,a=(fe._data(s,"events")||{})[t.type]&&fe._data(s,"handle"),a&&a.apply(s,n),a=o&&s[o],a&&a.apply&&ke(s)&&(t.result=a.apply(s,n),t.result===!1&&t.preventDefault());if(t.type=f,!r&&!t.isDefaultPrevented()&&(!u._default||u._default.apply(p.pop(),n)===!1)&&ke(i)&&o&&i[f]&&!fe.isWindow(i)){c=i[o],c&&(i[o]=null),fe.event.triggered=f;try{i[f]()}catch(e){}fe.event.triggered=void 0,c&&(i[o]=c)}return t.result}},dispatch:function(e){e=fe.event.fix(e);var t,n,i,r,a,o=[],s=re.call(arguments),l=(fe._data(this,"events")||{})[e.type]||[],u=fe.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,e)!==!1){for(o=fe.event.handlers.call(this,e,l),t=0;(r=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,n=0;(a=r.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(a.namespace)||(e.handleObj=a,e.data=a.data,i=((fe.event.special[a.origType]||{}).handle||a.handler).apply(r.elem,s),void 0!==i&&(e.result=i)===!1&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,a,o=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(i=[],n=0;s>n;n++)a=t[n],r=a.selector+" ",void 0===i[r]&&(i[r]=a.needsContext?fe(r,this).index(l)>-1:fe.find(r,this,null,[l]).length),i[r]&&i.push(a);i.length&&o.push({elem:l,handlers:i})}return s<t.length&&o.push({elem:this,handlers:t.slice(s)}),o},fix:function(e){if(e[fe.expando])return e;var t,n,i,r=e.type,a=e,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=Ke.test(r)?this.mouseHooks:Ye.test(r)?this.keyHooks:{}),i=o.props?this.props.concat(o.props):this.props,e=new fe.Event(a),t=i.length;t--;)n=i[t],e[n]=a[n];return e.target||(e.target=a.srcElement||ie),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,o.filter?o.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail 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,a=t.button,o=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=e.target.ownerDocument||ie,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&&o&&(e.relatedTarget=o===e.target?t.toElement:o),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==b()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===b()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return fe.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return fe.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var i=fe.extend(new fe.Event,n,{type:e,isSimulated:!0});fe.event.trigger(i,null,t),i.isDefaultPrevented()&&n.preventDefault()}},fe.removeEvent=ie.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var i="on"+t;e.detachEvent&&("undefined"==typeof e[i]&&(e[i]=null),e.detachEvent(i,n))},fe.Event=function(e,t){return this instanceof fe.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?T:y):this.type=e,t&&fe.extend(this,t),this.timeStamp=e&&e.timeStamp||fe.now(),void(this[fe.expando]=!0)):new fe.Event(e,t)},fe.Event.prototype={constructor:fe.Event,isDefaultPrevented:y,isPropagationStopped:y,isImmediatePropagationStopped:y,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=T,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=T,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=T,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},fe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){fe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,a=e.handleObj;return r&&(r===i||fe.contains(i,r))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),de.submit||(fe.event.special.submit={setup:function(){return!fe.nodeName(this,"form")&&void fe.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=fe.nodeName(t,"input")||fe.nodeName(t,"button")?fe.prop(t,"form"):void 0;n&&!fe._data(n,"submit")&&(fe.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),fe._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&fe.event.simulate("submit",this.parentNode,e))},teardown:function(){return!fe.nodeName(this,"form")&&void fe.event.remove(this,"._submit")}}),de.change||(fe.event.special.change={setup:function(){return $e.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(fe.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),fe.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),fe.event.simulate("change",this,e)})),!1):void fe.event.add(this,"beforeactivate._change",function(e){var t=e.target;$e.test(t.nodeName)&&!fe._data(t,"change")&&(fe.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||fe.event.simulate("change",this.parentNode,e)}),fe._data(t,"change",!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 fe.event.remove(this,"._change"),!$e.test(this.nodeName)}}),de.focusin||fe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){fe.event.simulate(t,e.target,fe.event.fix(e))};fe.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=fe._data(i,t);r||i.addEventListener(e,n,!0),fe._data(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=fe._data(i,t)-1;r?fe._data(i,t,r):(i.removeEventListener(e,n,!0),fe._removeData(i,t))}}}),fe.fn.extend({on:function(e,t,n,i){return S(this,e,t,n,i)},one:function(e,t,n,i){return S(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,fe(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=void 0),n===!1&&(n=y),this.each(function(){fe.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){fe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?fe.event.trigger(e,t,n,!0):void 0}});var Ze=/ jQuery\d+="(?:null|\d+)"/g,et=new RegExp("<(?:"+Fe+")[\\s/>]","i"),tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,nt=/<script|<style|<link/i,it=/checked\s*(?:[^=]|=\s*.checked.)/i,rt=/^true\/(.*)/,at=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ot=f(ie),st=ot.appendChild(ie.createElement("div"));fe.extend({htmlPrefilter:function(e){return e.replace(tt,"<$1></$2>")},clone:function(e,t,n){var i,r,a,o,s,l=fe.contains(e.ownerDocument,e);if(de.html5Clone||fe.isXMLDoc(e)||!et.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(st.innerHTML=e.outerHTML,st.removeChild(a=st.firstChild)),!(de.noCloneEvent&&de.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||fe.isXMLDoc(e)))for(i=h(a),s=h(e),o=0;null!=(r=s[o]);++o)i[o]&&A(r,i[o]);if(t)if(n)for(s=s||h(e),i=i||h(a),o=0;null!=(r=s[o]);o++)M(r,i[o]);else M(e,a);return i=h(a,"script"),i.length>0&&m(i,!l&&h(e,"script")),i=s=r=null,a},cleanData:function(e,t){for(var n,i,r,a,o=0,s=fe.expando,l=fe.cache,u=de.attributes,c=fe.event.special;null!=(n=e[o]);o++)if((t||ke(n))&&(r=n[s],a=r&&l[r])){if(a.events)for(i in a.events)c[i]?fe.event.remove(n,i):fe.removeEvent(n,i,a.handle);l[r]&&(delete l[r],u||"undefined"==typeof n.removeAttribute?n[s]=void 0:n.removeAttribute(s),ne.push(r))}}}),fe.fn.extend({domManip:P,detach:function(e){return E(this,e,!0)},remove:function(e){return E(this,e)},text:function(e){return Re(this,function(e){return void 0===e?fe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ie).createTextNode(e))},null,e,arguments.length)},append:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.appendChild(e)}})},prepend:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&fe.cleanData(h(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&fe.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return fe.clone(this,e,t)})},html:function(e){return Re(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ze,""):void 0;if("string"==typeof e&&!nt.test(e)&&(de.htmlSerialize||!et.test(e))&&(de.leadingWhitespace||!We.test(e))&&!je[(Ve.exec(e)||["",""])[1].toLowerCase()]){e=fe.htmlPrefilter(e);try{for(;i>n;n++)t=this[n]||{},1===t.nodeType&&(fe.cleanData(h(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return P(this,arguments,function(t){
var n=this.parentNode;fe.inArray(this,e)<0&&(fe.cleanData(h(this)),n&&n.replaceChild(t,this))},e)}}),fe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){fe.fn[e]=function(e){for(var n,i=0,r=[],a=fe(e),o=a.length-1;o>=i;i++)n=i===o?this:this.clone(!0),fe(a[i])[t](n),oe.apply(r,n.get());return this.pushStack(r)}});var lt,ut={HTML:"block",BODY:"block"},ct=/^margin/,dt=new RegExp("^("+Le+")(?!px)[a-z%]+$","i"),pt=function(e,t,n,i){var r,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];r=n.apply(e,i||[]);for(a in t)e.style[a]=o[a];return r},ft=ie.documentElement;!function(){function t(){var t,c,d=ie.documentElement;d.appendChild(l),u.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",n=r=s=!1,i=o=!0,e.getComputedStyle&&(c=e.getComputedStyle(u),n="1%"!==(c||{}).top,s="2px"===(c||{}).marginLeft,r="4px"===(c||{width:"4px"}).width,u.style.marginRight="50%",i="4px"===(c||{marginRight:"4px"}).marginRight,t=u.appendChild(ie.createElement("div")),t.style.cssText=u.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",u.style.width="1px",o=!parseFloat((e.getComputedStyle(t)||{}).marginRight),u.removeChild(t)),u.style.display="none",a=0===u.getClientRects().length,a&&(u.style.display="",u.innerHTML="<table><tr><td></td><td>t</td></tr></table>",t=u.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",a=0===t[0].offsetHeight,a&&(t[0].style.display="",t[1].style.display="none",a=0===t[0].offsetHeight)),d.removeChild(l)}var n,i,r,a,o,s,l=ie.createElement("div"),u=ie.createElement("div");u.style&&(u.style.cssText="float:left;opacity:.5",de.opacity="0.5"===u.style.opacity,de.cssFloat=!!u.style.cssFloat,u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",de.clearCloneStyle="content-box"===u.style.backgroundClip,l=ie.createElement("div"),l.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",u.innerHTML="",l.appendChild(u),de.boxSizing=""===u.style.boxSizing||""===u.style.MozBoxSizing||""===u.style.WebkitBoxSizing,fe.extend(de,{reliableHiddenOffsets:function(){return null==n&&t(),a},boxSizingReliable:function(){return null==n&&t(),r},pixelMarginRight:function(){return null==n&&t(),i},pixelPosition:function(){return null==n&&t(),n},reliableMarginRight:function(){return null==n&&t(),o},reliableMarginLeft:function(){return null==n&&t(),s}}))}();var ht,mt,gt=/^(top|right|bottom|left)$/;e.getComputedStyle?(ht=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},mt=function(e,t,n){var i,r,a,o,s=e.style;return n=n||ht(e),o=n?n.getPropertyValue(t)||n[t]:void 0,""!==o&&void 0!==o||fe.contains(e.ownerDocument,e)||(o=fe.style(e,t)),n&&!de.pixelMarginRight()&&dt.test(o)&&ct.test(t)&&(i=s.width,r=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=i,s.minWidth=r,s.maxWidth=a),void 0===o?o:o+""}):ft.currentStyle&&(ht=function(e){return e.currentStyle},mt=function(e,t,n){var i,r,a,o,s=e.style;return n=n||ht(e),o=n?n[t]:void 0,null==o&&s&&s[t]&&(o=s[t]),dt.test(o)&&!gt.test(t)&&(i=s.left,r=e.runtimeStyle,a=r&&r.left,a&&(r.left=e.currentStyle.left),s.left="fontSize"===t?"1em":o,o=s.pixelLeft+"px",s.left=i,a&&(r.left=a)),void 0===o?o:o+""||"auto"});var vt=/alpha\([^)]*\)/i,Tt=/opacity\s*=\s*([^)]*)/i,yt=/^(none|table(?!-c[ea]).+)/,bt=new RegExp("^("+Le+")(.*)$","i"),St={position:"absolute",visibility:"hidden",display:"block"},wt={letterSpacing:"0",fontWeight:"400"},Ct=["Webkit","O","Moz","ms"],xt=ie.createElement("div").style;fe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=mt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:de.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,a,o,s=fe.camelCase(t),l=e.style;if(t=fe.cssProps[s]||(fe.cssProps[s]=k(s)||s),o=fe.cssHooks[t]||fe.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(e,!1,i))?r:l[t];if(a=typeof n,"string"===a&&(r=Ne.exec(n))&&r[1]&&(n=p(e,t,r),a="number"),null!=n&&n===n&&("number"===a&&(n+=r&&r[3]||(fe.cssNumber[s]?"":"px")),de.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(o&&"set"in o&&void 0===(n=o.set(e,n,i)))))try{l[t]=n}catch(e){}}},css:function(e,t,n,i){var r,a,o,s=fe.camelCase(t);return t=fe.cssProps[s]||(fe.cssProps[s]=k(s)||s),o=fe.cssHooks[t]||fe.cssHooks[s],o&&"get"in o&&(a=o.get(e,!0,n)),void 0===a&&(a=mt(e,t,i)),"normal"===a&&t in wt&&(a=wt[t]),""===n||n?(r=parseFloat(a),n===!0||isFinite(r)?r||0:a):a}}),fe.each(["height","width"],function(e,t){fe.cssHooks[t]={get:function(e,n,i){return n?yt.test(fe.css(e,"display"))&&0===e.offsetWidth?pt(e,St,function(){return N(e,t,i)}):N(e,t,i):void 0},set:function(e,n,i){var r=i&&ht(e);return H(e,n,i?L(e,t,i,de.boxSizing&&"border-box"===fe.css(e,"boxSizing",!1,r),r):0)}}}),de.opacity||(fe.cssHooks.opacity={get:function(e,t){return Tt.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=fe.isNumeric(t)?"alpha(opacity="+100*t+")":"",a=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===fe.trim(a.replace(vt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=vt.test(a)?a.replace(vt,r):a+" "+r)}}),fe.cssHooks.marginRight=I(de.reliableMarginRight,function(e,t){return t?pt(e,{display:"inline-block"},mt,[e,"marginRight"]):void 0}),fe.cssHooks.marginLeft=I(de.reliableMarginLeft,function(e,t){return t?(parseFloat(mt(e,"marginLeft"))||(fe.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-pt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px":void 0}),fe.each({margin:"",padding:"",border:"Width"},function(e,t){fe.cssHooks[e+t]={expand:function(n){for(var i=0,r={},a="string"==typeof n?n.split(" "):[n];4>i;i++)r[e+Oe[i]+t]=a[i]||a[i-2]||a[0];return r}},ct.test(e)||(fe.cssHooks[e+t].set=H)}),fe.fn.extend({css:function(e,t){return Re(this,function(e,t,n){var i,r,a={},o=0;if(fe.isArray(t)){for(i=ht(e),r=t.length;r>o;o++)a[t[o]]=fe.css(e,t[o],!1,i);return a}return void 0!==n?fe.style(e,t,n):fe.css(e,t)},e,t,arguments.length>1)},show:function(){return D(this,!0)},hide:function(){return D(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){_e(this)?fe(this).show():fe(this).hide()})}}),fe.Tween=O,O.prototype={constructor:O,init:function(e,t,n,i,r,a){this.elem=e,this.prop=n,this.easing=r||fe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=a||(fe.cssNumber[n]?"":"px")},cur:function(){var e=O.propHooks[this.prop];return e&&e.get?e.get(this):O.propHooks._default.get(this)},run:function(e){var t,n=O.propHooks[this.prop];return this.options.duration?this.pos=t=fe.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):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=fe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){fe.fx.step[e.prop]?fe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[fe.cssProps[e.prop]]&&!fe.cssHooks[e.prop]?e.elem[e.prop]=e.now:fe.style(e.elem,e.prop,e.now+e.unit)}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},fe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},fe.fx=O.prototype.init,fe.fx.step={};var Mt,At,Pt=/^(?:toggle|show|hide)$/,Et=/queueHooks$/;fe.Animation=fe.extend(W,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return p(n.elem,e,Ne.exec(t),n),n}]},tweener:function(e,t){fe.isFunction(e)?(t=e,e=["*"]):e=e.match(Ge);for(var n,i=0,r=e.length;r>i;i++)n=e[i],W.tweeners[n]=W.tweeners[n]||[],W.tweeners[n].unshift(t)},prefilters:[V],prefilter:function(e,t){t?W.prefilters.unshift(e):W.prefilters.push(e)}}),fe.speed=function(e,t,n){var i=e&&"object"==typeof e?fe.extend({},e):{complete:n||!n&&t||fe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!fe.isFunction(t)&&t};return i.duration=fe.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in fe.fx.speeds?fe.fx.speeds[i.duration]:fe.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){fe.isFunction(i.old)&&i.old.call(this),i.queue&&fe.dequeue(this,i.queue)},i},fe.fn.extend({fadeTo:function(e,t,n,i){return this.filter(_e).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=fe.isEmptyObject(e),a=fe.speed(t,n,i),o=function(){var t=W(this,fe.extend({},e),a);(r||fe._data(this,"finish"))&&t.stop(!0)};return o.finish=o,r||a.queue===!1?this.each(o):this.queue(a.queue,o)},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=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",a=fe.timers,o=fe._data(this);if(r)o[r]&&o[r].stop&&i(o[r]);else for(r in o)o[r]&&o[r].stop&&Et.test(r)&&i(o[r]);for(r=a.length;r--;)a[r].elem!==this||null!=e&&a[r].queue!==e||(a[r].anim.stop(n),t=!1,a.splice(r,1));!t&&n||fe.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=fe._data(this),i=n[e+"queue"],r=n[e+"queueHooks"],a=fe.timers,o=i?i.length:0;for(n.finish=!0,fe.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;o>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),fe.each(["toggle","show","hide"],function(e,t){var n=fe.fn[t];fe.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(R(t,!0),e,i,r)}}),fe.each({slideDown:R("show"),slideUp:R("hide"),slideToggle:R("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){fe.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),fe.timers=[],fe.fx.tick=function(){var e,t=fe.timers,n=0;for(Mt=fe.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||fe.fx.stop(),Mt=void 0},fe.fx.timer=function(e){fe.timers.push(e),e()?fe.fx.start():fe.timers.pop()},fe.fx.interval=13,fe.fx.start=function(){At||(At=e.setInterval(fe.fx.tick,fe.fx.interval))},fe.fx.stop=function(){e.clearInterval(At),At=null},fe.fx.speeds={slow:600,fast:200,_default:400},fe.fn.delay=function(t,n){return t=fe.fx?fe.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}})},function(){var e,t=ie.createElement("input"),n=ie.createElement("div"),i=ie.createElement("select"),r=i.appendChild(ie.createElement("option"));n=ie.createElement("div"),n.setAttribute("className","t"),n.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",de.getSetAttribute="t"!==n.className,de.style=/top/.test(e.getAttribute("style")),de.hrefNormalized="/a"===e.getAttribute("href"),de.checkOn=!!t.value,de.optSelected=r.selected,de.enctype=!!ie.createElement("form").enctype,i.disabled=!0,de.optDisabled=!r.disabled,t=ie.createElement("input"),t.setAttribute("value",""),de.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),de.radioValue="t"===t.value}();var Gt=/\r/g,Bt=/[\x20\t\r\n\f]+/g;fe.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=fe.isFunction(e),this.each(function(n){var r;1===this.nodeType&&(r=i?e.call(this,n,fe(this).val()):e,null==r?r="":"number"==typeof r?r+="":fe.isArray(r)&&(r=fe.map(r,function(e){return null==e?"":e+""})),t=fe.valHooks[this.type]||fe.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=fe.valHooks[r.type]||fe.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(Gt,""):null==n?"":n)):void 0}}),fe.extend({valHooks:{option:{get:function(e){var t=fe.find.attr(e,"value");return null!=t?t:fe.trim(fe.text(e)).replace(Bt," ")}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,a="select-one"===e.type||0>r,o=a?null:[],s=a?r+1:i.length,l=0>r?s:a?r:0;s>l;l++)if(n=i[l],(n.selected||l===r)&&(de.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!fe.nodeName(n.parentNode,"optgroup"))){if(t=fe(n).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var n,i,r=e.options,a=fe.makeArray(t),o=r.length;o--;)if(i=r[o],fe.inArray(fe.valHooks.option.get(i),a)>-1)try{i.selected=n=!0}catch(e){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),r}}}}),fe.each(["radio","checkbox"],function(){fe.valHooks[this]={set:function(e,t){return fe.isArray(t)?e.checked=fe.inArray(fe(e).val(),t)>-1:void 0}},de.checkOn||(fe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var It,kt,Dt=fe.expr.attrHandle,Ht=/^(?:checked|selected)$/i,Lt=de.getSetAttribute,Nt=de.input;fe.fn.extend({attr:function(e,t){return Re(this,fe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){fe.removeAttr(this,e)})}}),fe.extend({attr:function(e,t,n){var i,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"==typeof e.getAttribute?fe.prop(e,t,n):(1===a&&fe.isXMLDoc(e)||(t=t.toLowerCase(),r=fe.attrHooks[t]||(fe.expr.match.bool.test(t)?kt:It)),void 0!==n?null===n?void fe.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=fe.find.attr(e,t),null==i?void 0:i))},attrHooks:{type:{set:function(e,t){if(!de.radioValue&&"radio"===t&&fe.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,r=0,a=t&&t.match(Ge);if(a&&1===e.nodeType)for(;n=a[r++];)i=fe.propFix[n]||n,fe.expr.match.bool.test(n)?Nt&&Lt||!Ht.test(n)?e[i]=!1:e[fe.camelCase("default-"+n)]=e[i]=!1:fe.attr(e,n,""),e.removeAttribute(Lt?n:i)}}),kt={set:function(e,t,n){return t===!1?fe.removeAttr(e,n):Nt&&Lt||!Ht.test(n)?e.setAttribute(!Lt&&fe.propFix[n]||n,n):e[fe.camelCase("default-"+n)]=e[n]=!0,n}},fe.each(fe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Dt[t]||fe.find.attr;Nt&&Lt||!Ht.test(t)?Dt[t]=function(e,t,i){var r,a;return i||(a=Dt[t],Dt[t]=r,r=null!=n(e,t,i)?t.toLowerCase():null,Dt[t]=a),r}:Dt[t]=function(e,t,n){return n?void 0:e[fe.camelCase("default-"+t)]?t.toLowerCase():null}}),Nt&&Lt||(fe.attrHooks.value={set:function(e,t,n){return fe.nodeName(e,"input")?void(e.defaultValue=t):It&&It.set(e,t,n)}}),Lt||(It={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:void 0}},Dt.id=Dt.name=Dt.coords=function(e,t,n){var i;return n?void 0:(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},fe.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:It.set},fe.attrHooks.contenteditable={set:function(e,t,n){It.set(e,""!==t&&t,n)}},fe.each(["width","height"],function(e,t){fe.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}}})),de.style||(fe.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Ot=/^(?:input|select|textarea|button|object)$/i,_t=/^(?:a|area)$/i;fe.fn.extend({prop:function(e,t){return Re(this,fe.prop,e,t,arguments.length>1)},removeProp:function(e){return e=fe.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),fe.extend({prop:function(e,t,n){var i,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&fe.isXMLDoc(e)||(t=fe.propFix[t]||t,r=fe.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=fe.find.attr(e,"tabindex");return t?parseInt(t,10):Ot.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),de.hrefNormalized||fe.each(["href","src"],function(e,t){fe.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),de.optSelected||(fe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),fe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){fe.propFix[this.toLowerCase()]=this}),de.enctype||(fe.propFix.enctype="encoding");var Rt=/[\t\r\n\f]/g;fe.fn.extend({addClass:function(e){var t,n,i,r,a,o,s,l=0;if(fe.isFunction(e))return this.each(function(t){fe(this).addClass(e.call(this,t,F(this)))});if("string"==typeof e&&e)for(t=e.match(Ge)||[];n=this[l++];)if(r=F(n),i=1===n.nodeType&&(" "+r+" ").replace(Rt," ")){for(o=0;a=t[o++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");s=fe.trim(i),r!==s&&fe.attr(n,"class",s)}return this},removeClass:function(e){var t,n,i,r,a,o,s,l=0;if(fe.isFunction(e))return this.each(function(t){fe(this).removeClass(e.call(this,t,F(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Ge)||[];n=this[l++];)if(r=F(n),i=1===n.nodeType&&(" "+r+" ").replace(Rt," ")){for(o=0;a=t[o++];)for(;i.indexOf(" "+a+" ")>-1;)i=i.replace(" "+a+" "," ");s=fe.trim(i),r!==s&&fe.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):fe.isFunction(e)?this.each(function(n){fe(this).toggleClass(e.call(this,n,F(this),t),t)}):this.each(function(){var t,i,r,a;if("string"===n)for(i=0,r=fe(this),a=e.match(Ge)||[];t=a[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||(t=F(this),t&&fe._data(this,"__className__",t),fe.attr(this,"class",t||e===!1?"":fe._data(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+F(n)+" ").replace(Rt," ").indexOf(t)>-1)return!0;return!1}}),fe.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){fe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),fe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var zt=e.location,Vt=fe.now(),Xt=/\?/,Wt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;fe.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,i=null,r=fe.trim(t+"");return r&&!fe.trim(r.replace(Wt,function(e,t,r,a){return n&&t&&(i=0),0===i?e:(n=r||t,i+=!a-!r,"")}))?Function("return "+r)():fe.error("Invalid JSON: "+t)},fe.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(i=new e.DOMParser,n=i.parseFromString(t,"text/xml")):(n=new e.ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(e){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||fe.error("Invalid XML: "+t),n};var Ft=/#.*$/,jt=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ut=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,$t=/^(?:GET|HEAD)$/,Yt=/^\/\//,Kt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Qt={},Jt={},Zt="*/".concat("*"),en=zt.href,tn=Kt.exec(en.toLowerCase())||[];fe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:en,type:"GET",isLocal:Ut.test(tn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":fe.parseJSON,"text xml":fe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?U(U(e,fe.ajaxSettings),t):U(fe.ajaxSettings,e)},ajaxPrefilter:j(Qt),ajaxTransport:j(Jt),ajax:function(t,n){function i(t,n,i,r){var a,d,T,y,S,C=n;2!==b&&(b=2,l&&e.clearTimeout(l),c=void 0,s=r||"",w.readyState=t>0?4:0,a=t>=200&&300>t||304===t,i&&(y=$(p,w,i)),y=Y(p,y,w,a),a?(p.ifModified&&(S=w.getResponseHeader("Last-Modified"),S&&(fe.lastModified[o]=S),S=w.getResponseHeader("etag"),S&&(fe.etag[o]=S)),204===t||"HEAD"===p.type?C="nocontent":304===t?C="notmodified":(C=y.state,d=y.data,T=y.error,a=!T)):(T=C,!t&&C||(C="error",0>t&&(t=0))),w.status=t,w.statusText=(n||C)+"",a?m.resolveWith(f,[d,C,w]):m.rejectWith(f,[w,C,T]),w.statusCode(v),v=void 0,u&&h.trigger(a?"ajaxSuccess":"ajaxError",[w,p,a?d:T]),g.fireWith(f,[w,C]),u&&(h.trigger("ajaxComplete",[w,p]),--fe.active||fe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,a,o,s,l,u,c,d,p=fe.ajaxSetup({},n),f=p.context||p,h=p.context&&(f.nodeType||f.jquery)?fe(f):fe.event,m=fe.Deferred(),g=fe.Callbacks("once memory"),v=p.statusCode||{},T={},y={},b=0,S="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!d)for(d={};t=qt.exec(s);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,T[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)v[t]=[v[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||S;return c&&c.abort(t),i(0,t),this}};if(m.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,p.url=((t||p.url||en)+"").replace(Ft,"").replace(Yt,tn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=fe.trim(p.dataType||"*").toLowerCase().match(Ge)||[""],null==p.crossDomain&&(r=Kt.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===tn[1]&&r[2]===tn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(tn[3]||("http:"===tn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=fe.param(p.data,p.traditional)),q(Qt,p,n,w),2===b)return w;u=fe.event&&p.global,u&&0===fe.active++&&fe.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!$t.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(Xt.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=jt.test(o)?o.replace(jt,"$1_="+Vt++):o+(Xt.test(o)?"&":"?")+"_="+Vt++)),p.ifModified&&(fe.lastModified[o]&&w.setRequestHeader("If-Modified-Since",fe.lastModified[o]),fe.etag[o]&&w.setRequestHeader("If-None-Match",fe.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Zt+"; q=0.01":""):p.accepts["*"]);for(a in p.headers)w.setRequestHeader(a,p.headers[a]);if(p.beforeSend&&(p.beforeSend.call(f,w,p)===!1||2===b))return w.abort();S="abort";for(a in{success:1,error:1,complete:1})w[a](p[a]);if(c=q(Jt,p,n,w)){if(w.readyState=1,u&&h.trigger("ajaxSend",[w,p]),2===b)return w;p.async&&p.timeout>0&&(l=e.setTimeout(function(){w.abort("timeout")},p.timeout));try{b=1,c.send(T,i)}catch(e){if(!(2>b))throw e;i(-1,e)}}else i(-1,"No Transport");return w},getJSON:function(e,t,n){return fe.get(e,t,n,"json")},getScript:function(e,t){return fe.get(e,void 0,t,"script")}}),fe.each(["get","post"],function(e,t){fe[t]=function(e,n,i,r){return fe.isFunction(n)&&(r=r||i,i=n,n=void 0),fe.ajax(fe.extend({url:e,type:t,dataType:r,data:n,success:i},fe.isPlainObject(e)&&e))}}),fe._evalUrl=function(e){return fe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},fe.fn.extend({wrapAll:function(e){if(fe.isFunction(e))return this.each(function(t){fe(this).wrapAll(e.call(this,t))});if(this[0]){var t=fe(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 fe.isFunction(e)?this.each(function(t){fe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=fe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=fe.isFunction(e);return this.each(function(n){fe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){fe.nodeName(this,"body")||fe(this).replaceWith(this.childNodes)}).end()}}),fe.expr.filters.hidden=function(e){return de.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:Q(e)},fe.expr.filters.visible=function(e){return!fe.expr.filters.hidden(e)};var nn=/%20/g,rn=/\[\]$/,an=/\r?\n/g,on=/^(?:submit|button|image|reset|file)$/i,sn=/^(?:input|select|textarea|keygen)/i;fe.param=function(e,t){var n,i=[],r=function(e,t){t=fe.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=fe.ajaxSettings&&fe.ajaxSettings.traditional),fe.isArray(e)||e.jquery&&!fe.isPlainObject(e))fe.each(e,function(){r(this.name,this.value)});else for(n in e)J(n,e[n],t,r);return i.join("&").replace(nn,"+")},fe.fn.extend({serialize:function(){return fe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=fe.prop(this,"elements");return e?fe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!fe(this).is(":disabled")&&sn.test(this.nodeName)&&!on.test(e)&&(this.checked||!ze.test(e))}).map(function(e,t){var n=fe(this).val();return null==n?null:fe.isArray(n)?fe.map(n,function(e){return{name:t.name,value:e.replace(an,"\r\n")}}):{name:t.name,value:n.replace(an,"\r\n")}}).get()}}),fe.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?ee():ie.documentMode>8?Z():/^(get|post|head|put|delete|options)$/i.test(this.type)&&Z()||ee()}:Z;var ln=0,un={},cn=fe.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in un)un[e](void 0,!0)}),de.cors=!!cn&&"withCredentials"in cn,cn=de.ajax=!!cn,cn&&fe.ajaxTransport(function(t){if(!t.crossDomain||de.cors){var n;return{send:function(i,r){var a,o=t.xhr(),s=++ln;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)o[a]=t.xhrFields[a];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)void 0!==i[a]&&o.setRequestHeader(a,i[a]+"");o.send(t.hasContent&&t.data||null),n=function(e,i){var a,l,u;if(n&&(i||4===o.readyState))if(delete un[s],n=void 0,o.onreadystatechange=fe.noop,i)4!==o.readyState&&o.abort();else{u={},a=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{l=o.statusText}catch(e){l=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=u.text?200:404}u&&r(a,l,u,o.getAllResponseHeaders())},t.async?4===o.readyState?e.setTimeout(n):o.onreadystatechange=un[s]=n:n()},abort:function(){n&&n(void 0,!0)}}}}),fe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return fe.globalEval(e),e}}}),fe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),fe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=ie.head||fe("head")[0]||ie.documentElement;return{send:function(i,r){t=ie.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(void 0,!0)}}}});var dn=[],pn=/(=)\?(?=&|$)|\?\?/;fe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=dn.pop()||fe.expando+"_"+Vt++;return this[e]=!0,e}}),fe.ajaxPrefilter("json jsonp",function(t,n,i){var r,a,o,s=t.jsonp!==!1&&(pn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&pn.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(r=t.jsonpCallback=fe.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(pn,"$1"+r):t.jsonp!==!1&&(t.url+=(Xt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||fe.error(r+" was not called"),o[0]},t.dataTypes[0]="json",a=e[r],e[r]=function(){o=arguments},i.always(function(){void 0===a?fe(e).removeProp(r):e[r]=a,t[r]&&(t.jsonpCallback=n.jsonpCallback,dn.push(r)),o&&fe.isFunction(a)&&a(o[0]),o=a=void 0}),"script"):void 0}),fe.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||ie;var i=we.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=v([e],t,r),r&&r.length&&fe(r).remove(),fe.merge([],i.childNodes))};var fn=fe.fn.load;fe.fn.load=function(e,t,n){if("string"!=typeof e&&fn)return fn.apply(this,arguments);var i,r,a,o=this,s=e.indexOf(" ");return s>-1&&(i=fe.trim(e.slice(s,e.length)),e=e.slice(0,s)),fe.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),o.length>0&&fe.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){a=arguments,o.html(i?fe("<div>").append(fe.parseHTML(e)).find(i):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},fe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){fe.fn[t]=function(e){return this.on(t,e)}}),fe.expr.filters.animated=function(e){return fe.grep(fe.timers,function(t){return e===t.elem}).length},fe.offset={setOffset:function(e,t,n){var i,r,a,o,s,l,u,c=fe.css(e,"position"),d=fe(e),p={};"static"===c&&(e.style.position="relative"),s=d.offset(),a=fe.css(e,"top"),l=fe.css(e,"left"),u=("absolute"===c||"fixed"===c)&&fe.inArray("auto",[a,l])>-1,u?(i=d.position(),o=i.top,r=i.left):(o=parseFloat(a)||0,r=parseFloat(l)||0),fe.isFunction(t)&&(t=t.call(e,n,fe.extend({},s))),null!=t.top&&(p.top=t.top-s.top+o),null!=t.left&&(p.left=t.left-s.left+r),"using"in t?t.using.call(e,p):d.css(p)}},fe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){fe.offset.setOffset(this,e,t)});var t,n,i={top:0,left:0},r=this[0],a=r&&r.ownerDocument;return a?(t=a.documentElement,fe.contains(t,r)?("undefined"!=typeof r.getBoundingClientRect&&(i=r.getBoundingClientRect()),n=te(a),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===fe.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),fe.nodeName(e[0],"html")||(n=e.offset()),n.top+=fe.css(e[0],"borderTopWidth",!0),n.left+=fe.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-fe.css(i,"marginTop",!0),
left:t.left-n.left-fe.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!fe.nodeName(e,"html")&&"static"===fe.css(e,"position");)e=e.offsetParent;return e||ft})}}),fe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);fe.fn[e]=function(i){return Re(this,function(e,i,r){var a=te(e);return void 0===r?a?t in a?a[t]:a.document.documentElement[i]:e[i]:void(a?a.scrollTo(n?fe(a).scrollLeft():r,n?r:fe(a).scrollTop()):e[i]=r)},e,i,arguments.length,null)}}),fe.each(["top","left"],function(e,t){fe.cssHooks[t]=I(de.pixelPosition,function(e,n){return n?(n=mt(e,t),dt.test(n)?fe(e).position()[t]+"px":n):void 0})}),fe.each({Height:"height",Width:"width"},function(e,t){fe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){fe.fn[i]=function(i,r){var a=arguments.length&&(n||"boolean"!=typeof i),o=n||(i===!0||r===!0?"margin":"border");return Re(this,function(t,n,i){var r;return fe.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])):void 0===i?fe.css(t,n,o):fe.style(t,n,i,o)},t,a?i:void 0,a,null)}})}),fe.fn.extend({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)}}),fe.fn.size=function(){return this.length},fe.fn.andSelf=fe.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return fe});var hn=e.jQuery,mn=e.$;return fe.noConflict=function(t){return e.$===fe&&(e.$=mn),t&&e.jQuery===fe&&(e.jQuery=hn),fe},t||(e.jQuery=e.$=fe),fe});var AX=AX||{};!function(e){"use strict";e.VERSION="0.0.1",e.debug=!1,e.Class=function(){var e=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},t=function(){this.initPrototype=!0;var n=new this;this.initPrototype=!1;for(var i,r=Array.prototype.slice.call(arguments)||[];i=r.shift();)e(n,i.prototype||i);var a=function(){!a.initPrototype&&this.init&&this.init.apply(this,arguments)};return a.prototype=n,a.prototype.constructor=a,a.extend=t,a},n=new Function;return n.extend=t,n}(),e.Base=e.Class.extend({init:function(e){this._config=e,this.bind(),this.render()},get:function(e){return this._config[e]},set:function(e,t){this._config[e]=t},bind:function(){},render:function(){},destory:function(){}}),"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("AX",[],function(){return e}):"undefined"!=typeof module&&module.exports?module.exports=e:window.AX=e}(AX),function(e,t){e.Storage=function(){var e=function(){try{return!!t.localStorage}catch(e){return!1}};if(e()){var n=t.localStorage,i=function(e){return JSON.stringify(e)},r=function(e){return JSON.parse(e)},a=function(e,t){return void 0==t?s(e):(n.setItem(e,i(t)),t)},o=function(e){return r(n.getItem(e))},s=function(e){n.removeItem(e)},l=function(){n.clear()},u=function(){var e={};return c(function(t,n){e[t]=o(t)}),e},c=function(e){for(var t=0;t<n.length;t++){var i=n.key(t);e(i,o(i))}};return{set:a,get:o,remove:s,clear:l,getAll:u,forEach:c}}}()}(AX,window),function(e){"use strict";AX.Util=AX.Util||{},AX.Util.throttle=function(e,t,n){t||(t=250);var i,r;return function(){var a,o,s;a=n||this,o=+new Date,s=arguments,i&&o<i+t?(clearTimeout(r),r=setTimeout(function(){i=o,e.apply(n,s)},t)):(i=o,e.apply(n,s))}},AX.Util.isElementExist=function(e){return"object"==typeof e&&null!==e},AX.Util.getFileSize=function(e){if(e&&"files"in e){if(null===e.files||0===e.files.length)return 0;for(var t=e.files,n=t.length,i=0,r=0;r<n;r++)i+=t[r].size;return i}},AX.Util.time=AX.Util.time||{},AX.Util.time.now=function(){var e=new Date,t="",n="-",i=":",r=function(e){return e<10?"0"+e:e},a=e.getFullYear(),o=e.getMonth()+1,s=e.getDate(),l=e.getHours(),u=e.getMinutes(),c=e.getSeconds();return l=r(l),u=r(u),c=r(c),t=a+n+o+n+s+" "+l+i+u+i+c}}(window),function(e){e.Util.Template=function(){var e={},t=function(n,i){var r=/\W/.test(n)?new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+n.replace(/[\r\t\n]/g," ").split("<%").join("\t").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split("\t").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');"):e[n]=e[n]||t(document.getElementById(n).innerHTML);return i?r(i):r};return t}()}(AX),function(e,t){e.Util.log=function(n,i){if(t.console){if(!arguments.length)return void console.log(e.VERSION);var i,n;1==arguments.length?(i=arguments[0],n=""):(n="["+arguments[0]+"]",i=arguments[1]);var r,a={timestampStyle:"color: #09a1d3",titleStyle:"color: #e66102",msgStyle:"color: #3e4c59"},o=e.Util.time.now();if("object"==typeof i){var s;return s="%c["+o+"]%c",console.log(s+n+"閳拷",a.timestampStyle,a.titleStyle),void console.dir(i)}r="%c["+o+"]%c"+n+"%c"+i,console.log(r,a.timestampStyle,a.titleStyle,a.msgStyle)}}}(AX,window),function(e){e.Util.textLimit=function(e,t,n){return e.length>t?e.substr(0,t)+n:e},e.Util.replaceSpace=function(e){return e.replace(/ /g,"_")}}(AX),function(){"use strict";function e(t,i){function r(e,t){return function(){return e.apply(t,arguments)}}var a;if(i=i||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=i.touchBoundary||10,this.layer=t,this.tapDelay=i.tapDelay||200,this.tapTimeout=i.tapTimeout||700,!e.notNeeded(t)){for(var o=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],s=this,l=0,u=o.length;l<u;l++)s[o[l]]=r(s[o[l]],s);n&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0)),t.addEventListener("click",this.onClick,!0),t.addEventListener("touchstart",this.onTouchStart,!1),t.addEventListener("touchmove",this.onTouchMove,!1),t.addEventListener("touchend",this.onTouchEnd,!1),t.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(e,n,i){var r=Node.prototype.removeEventListener;"click"===e?r.call(t,e,n.hijacked||n,i):r.call(t,e,n,i)},t.addEventListener=function(e,n,i){var r=Node.prototype.addEventListener;"click"===e?r.call(t,e,n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}),i):r.call(t,e,n,i)}),"function"==typeof t.onclick&&(a=t.onclick,t.addEventListener("click",function(e){a(e)},!1),t.onclick=null)}}var t=navigator.userAgent.indexOf("Windows Phone")>=0,n=navigator.userAgent.indexOf("Android")>0&&!t,i=/iP(ad|hone|od)/.test(navigator.userAgent)&&!t,r=i&&/OS 4_\d(_\d)?/.test(navigator.userAgent),a=i&&/OS [6-7]_\d/.test(navigator.userAgent),o=navigator.userAgent.indexOf("BB10")>0;e.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(i&&"file"===e.type||e.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(e.className)},e.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},e.prototype.sendClick=function(e,t){var n,i;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),i=t.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(e),!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},e.prototype.determineEventType=function(e){return n&&"select"===e.tagName.toLowerCase()?"mousedown":"click"},e.prototype.focus=function(e){var t;i&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.setSelectionRange(t,t)):e.focus()},e.prototype.updateScrollParent=function(e){var t,n;if(t=e.fastClickScrollParent,!t||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},e.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},e.prototype.onTouchStart=function(e){var t,n,a;if(e.targetTouches.length>1)return!0;if(t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0],i){if(a=window.getSelection(),a.rangeCount&&!a.isCollapsed)return!0;if(!r){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,e.timeStamp-this.lastClickTime<this.tapDelay&&e.preventDefault(),!0},e.prototype.touchHasMoved=function(e){var t=e.changedTouches[0],n=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>n||Math.abs(t.pageY-this.touchStartY)>n},e.prototype.onTouchMove=function(e){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0)},e.prototype.findControl=function(e){return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},e.prototype.onTouchEnd=function(e){var t,o,s,l,u,c=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(e.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,o=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,a&&(u=e.changedTouches[0],c=document.elementFromPoint(u.pageX-window.pageXOffset,u.pageY-window.pageYOffset)||c,c.fastClickScrollParent=this.targetElement.fastClickScrollParent),s=c.tagName.toLowerCase(),"label"===s){if(t=this.findControl(c)){if(this.focus(c),n)return!1;c=t}}else if(this.needsFocus(c))return e.timeStamp-o>100||i&&window.top!==window&&"input"===s?(this.targetElement=null,!1):(this.focus(c),this.sendClick(c,e),i&&"select"===s||(this.targetElement=null,e.preventDefault()),!1);return!(!i||r||(l=c.fastClickScrollParent,!l||l.fastClickLastScrollTop===l.scrollTop))||(this.needsClick(c)||(e.preventDefault(),this.sendClick(c,e)),!1)},e.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},e.prototype.onMouse=function(e){return!this.targetElement||(!!e.forwardedTouchEvent||(!e.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),!1))))},e.prototype.onClick=function(e){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===e.target.type&&0===e.detail||(t=this.onMouse(e),t||(this.targetElement=null),t)},e.prototype.destroy=function(){var e=this.layer;n&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},e.notNeeded=function(e){var t,i,r,a;if("undefined"==typeof window.ontouchstart)return!0;if(i=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(t=document.querySelector("meta[name=viewport]")){if(t.content.indexOf("user-scalable=no")!==-1)return!0;if(i>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(o&&(r=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),r[1]>=10&&r[2]>=3&&(t=document.querySelector("meta[name=viewport]")))){if(t.content.indexOf("user-scalable=no")!==-1)return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===e.style.msTouchAction||"manipulation"===e.style.touchAction||(a=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],!!(a>=27&&(t=document.querySelector("meta[name=viewport]"),t&&(t.content.indexOf("user-scalable=no")!==-1||document.documentElement.scrollWidth<=window.outerWidth)))||("none"===e.style.touchAction||"manipulation"===e.style.touchAction))},e.attach=function(t,n){return new e(t,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("FastClick",[],function(){return e}):"undefined"!=typeof module&&module.exports?(module.exports=e.attach,module.exports.FastClick=e):window.FastClick=e}(),define("AccordianMenu",["jquery","AX"],function(e,t){"use strict";var n=(t.Util.log,t.Base.extend({defaults:{$container:null,expand:-1,enable:!0},init:function(t){this._config=e.extend({},this.defaults,t);var n=this.get("$container");null!==n&&(n.hasClass("accordian-menu")||n.addClass("accordian-menu"),this.set("$allTitle",n.children("li").children(".menu-title")),this.set("interaction",n.data("accordianinteraction")),this.bind(),this.render())},update:function(){var t=e("html").data("device"),n=this.get("$container").data("accordiandisabled");if(n)for(var i=n.split("|"),r=0;r<i.length;r++){if(t===i[r]){this.set("enable",!1);break}this.set("enable",!0)}},reset:function(){this.get("$allTitle").each(function(){e(this).hasClass("expand")&&(e(this).removeClass("expand"),e(this).next(".menu-child").slideUp())})},collapse:function(t){if(t.data.update(),t.data.get("enable"))return"exclusive"===t.data.get("interaction")?e(this).hasClass("expand")?t.data.reset():(t.data.reset(),e(this).addClass("expand"),e(this).next(".menu-child").stop(!0,!0).slideDown()):t.data.toggleClass(e(this)),!1},toggleClass:function(e){e.hasClass("expand")?(e.removeClass("expand"),e.next(".menu-child").stop(!0,!0).slideUp()):(e.addClass("expand"),e.next(".menu-child").stop(!0,!0).slideDown())},expandByIndex:function(e){e<0||(this.get("$allTitle").removeClass("expand").eq(e).addClass("expand"),this.render())},bind:function(){var e=this;this.get("$container").off("click.AccordianMenu").on("click.AccordianMenu",".menu-title",e,e.collapse)},render:function(){this.update(),this.get("enable")&&this.get("$allTitle").each(function(){e(this).hasClass("expand")?e(this).next(".menu-child").slideDown():e(this).next(".menu-child").slideUp()})}}));return n}),define("ScreenTest",["jquery"],function(e){"use strict";var t=window,n=e(t),i=e("html"),r={},a={},o={breakPoint:{min:{mobile:320,tablet:768,desktop:980,large:1280},max:{mobile:321,tablet:769,desktop:981,large:1281}},class:{bIsMobileMode:"mobile",bIsTabletMode:"tablet",bIsDesktopMode:"desktop"}},s=function(){t.matchMedia&&(r.bIsMobileMode=t.matchMedia("only screen and (max-width: "+a.breakPoint.max.tablet+"px)").matches,r.bIsTabletMode=t.matchMedia("only screen and (min-width: "+a.breakPoint.min.tablet+"px) and (max-width: "+a.breakPoint.max.desktop+"px)").matches,r.bIsDesktopMode=t.matchMedia("only screen and (min-width: "+a.breakPoint.min.desktop+"px)").matches),l()},l=function(){var e="",t=[];for(var n in a.class)t.push(a.class[n]),r[n]===!0&&(e=a.class[n]);i.removeClass(t.join(" ")),i.addClass(e),i.data("device",e)},u=e.Callbacks(),c=u.add,d=function(t){a=e.extend({},o,t),s(),n.on("resize",function(){s(),u.fire()})};return{screen:r,add:c,init:d}}),define("AutoScroll",["ScreenTest"],function(e){"use strict";var t=function(e){this.o$Container=$(e),this.update()};return t.prototype.update=function(){if(e.screen.bIsDesktopMode)return void this.reset();var t=this.o$Container,n=$(window).height(),i=0;"string"==typeof t.data("top")&&(i=$("."+t.data("top")).height()),"number"==typeof t.data("top")&&(i=t.data("top"));var r=0;t.children().each(function(){r+=$(this).height()});var a=n-i;r+i>n?(t.addClass("scroll-y"),t.innerHeight(a)):(this.reset(),t.data("fullscreen")&&t.css("height",a))},t.prototype.reset=function(){this.o$Container.removeClass("scroll-y"),this.o$Container.css("height","auto")},t}),define("Tab",[],function(){"use strict";var e=function(e){this.$tabNavContainer=e};e.prototype.init=function(){this.eventHandler=this.$tabNavContainer.data("event")||"click",this._bind()},e.prototype._bind=function(){var e=this,r=e.eventHandler+".tab";e.$tabNavContainer.find('[data-toggle="tab"],[data-toggle="link"]').each(function(){$(this).parent("li").hasClass("active")&&n($(this))}),e.$tabNavContainer.on(r,'[data-toggle="tab"],[data-toggle="link"]',e,i),e.$tabNavContainer.on("touchend",'[data-toggle="tab"],[data-toggle="link"]',e,i),e.$tabNavContainer.on("click.tab",'[data-toggle="tab"]',e,t)};var t=function(){return!1},n=function(e){var t=e.attr("data-href")||e.attr("href"),n=/^#\S+/g;if(n.test(t)){var i=$(t);i.closest(".tab-content").hasClass("tab-nav")?i.closest(".tab-content").find(".tab-panel").removeClass("show-md"):i.closest(".tab-content").children(".tab-panel").removeClass("show-md"),i.addClass("show-md")}},i=function(e){e.data.$tabNavContainer.find("li").removeClass("active"),$(this).parent("li").addClass("active"),n($(this))};return e}),define("Dialog",[],function(){"use strict";var e=function(e){this.width=0,this.height=0,this.$link=e};return e.prototype.init=function(){var e=this.$link.attr("href");this.$dialog=$(e),this.$dialogContent=this.$dialog.find(".dialog-content"),this.$closeBtn=this.$dialog.find(".dialog-header .close-btn"),this.$mask=this.$dialog.find(".dialog-mask"),this.width=this.$dialog.data("width"),this.height=this.$dialog.data("height"),this._bind(),this.update()},e.prototype.open=function(){this.$dialog.addClass("open")},e.prototype.update=function(){this.$dialogContent.width(this.width),this.$dialogContent.height(this.height),this.$dialogContent.css("margin-left",-this.width/2),this.$dialogContent.css("margin-top",-this.height/2)},e.prototype._bind=function(){var e=this;this.$link.off("click.Dialog"),this.$link.on("click.Dialog.link",function(t){e.open(),t.preventDefault(),t.stopPropagation()}),this.$closeBtn.on("click.Dialog.closeBtn",function(t){e.close(),t.preventDefault(),t.stopPropagation()}),this.$mask.on("click.Dialog.mask",function(){e.close()})},e.prototype.close=function(){this.$dialog.removeClass("open")},e}),define("AutoHeight",["ScreenTest"],function(e){"use strict";var t=function(e){this.o$Container=$(e),this.aChildDomArr=i($(e)),this.bEnble=!1,this.update(),this.maxHeight=640};t.prototype.update=function(){if(!e.screen.bIsDesktopMode)return this.reset(),void(this.bEnble=!1);this.bEnble=!0;var t,i=this.o$Container,a=this.aChildDomArr,o=i.data("mdheight");if(o)t=o;else{var s=r(a,this.maxHeight);t=n(s)}i.css("height",t),$.each(a,function(){$(this).css("height",t)})},t.prototype.reset=function(){this.bEnble&&(this.o$Container.css("height","auto"),$.each(this.aChildDomArr,function(){$(this).css("height","auto")}))};var n=function(e){return Math.max.apply(null,e)},i=function(e){var t=[],n=e.data("child"),i=n.split("|");return $.each(i,function(n,i){var r=e.find(i);r.length>1?r.each(function(){t.push($(this))}):t.push(r)}),t.push(e),t},r=function(e,t){var n=[];return $.each(e,function(){var e=$(this).innerHeight();e>=t&&(e=t,$(this).addClass("scrollable")),n.push(e)}),n};return t}),function(e,t){e("MobileDetect",[],function(){"use strict";function e(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function n(e,t){var n,i,r=e.length;if(!r||!t)return!1;for(n=t.toLowerCase(),i=0;i<r;++i)if(n===e[i].toLowerCase())return!0;return!1}function i(e){for(var t in e)s.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function r(e,t){this.ua=e||"",this._cache={},this.maxPhoneWidth=t||600}var a={};a.mobileDetectRules={phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b",Samsung:"Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo 3DS",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI)\\b",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K017 |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",
PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris E10)|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bJolla\\b|\\bTP750\\b"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",Tizen:"Tizen",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:"Firefox/[VER]",Fennec:"Fennec/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]","UC Browser":"UC Browser[VER]",MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},a.detectMobileBrowsers={fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i};var o,s=Object.prototype.hasOwnProperty;return a.FALLBACK_PHONE="UnknownPhone",a.FALLBACK_TABLET="UnknownTablet",a.FALLBACK_MOBILE="UnknownMobile",o="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var e,t,n,r,l,u,c=a.mobileDetectRules;for(e in c.props)if(s.call(c.props,e)){for(t=c.props[e],o(t)||(t=[t]),l=t.length,r=0;r<l;++r)n=t[r],u=n.indexOf("[VER]"),u>=0&&(n=n.substring(0,u)+"([\\w._\\+]+)"+n.substring(u+5)),t[r]=new RegExp(n,"i");c.props[e]=t}i(c.oss),i(c.phones),i(c.tablets),i(c.uas),i(c.utils),c.oss0={WindowsPhoneOS:c.oss.WindowsPhoneOS,WindowsMobileOS:c.oss.WindowsMobileOS}}(),a.findMatch=function(e,t){for(var n in e)if(s.call(e,n)&&e[n].test(t))return n;return null},a.findMatches=function(e,t){var n=[];for(var i in e)s.call(e,i)&&e[i].test(t)&&n.push(i);return n},a.getVersionStr=function(e,t){var n,i,r,o,l=a.mobileDetectRules.props;if(s.call(l,e))for(n=l[e],r=n.length,i=0;i<r;++i)if(o=n[i].exec(t),null!==o)return o[1];return null},a.getVersion=function(e,t){var n=a.getVersionStr(e,t);return n?a.prepareVersionNo(n):NaN},a.prepareVersionNo=function(e){var t;return t=e.split(/[a-z._ \/\-]/i),1===t.length&&(e=t[0]),t.length>1&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},a.isMobileFallback=function(e){return a.detectMobileBrowsers.fullPattern.test(e)||a.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},a.isTabletFallback=function(e){return a.detectMobileBrowsers.tabletPattern.test(e)},a.prepareDetectionCache=function(e,n,i){if(e.mobile===t){var o,s,l;return(s=a.findMatch(a.mobileDetectRules.tablets,n))?(e.mobile=e.tablet=s,void(e.phone=null)):(o=a.findMatch(a.mobileDetectRules.phones,n))?(e.mobile=e.phone=o,void(e.tablet=null)):void(a.isMobileFallback(n)?(l=r.isPhoneSized(i),l===t?(e.mobile=a.FALLBACK_MOBILE,e.tablet=e.phone=null):l?(e.mobile=e.phone=a.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=a.FALLBACK_TABLET,e.phone=null)):a.isTabletFallback(n)?(e.mobile=e.tablet=a.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null)}},a.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&e.version("iPad")>=4.3||e.os("iOS")&&e.version("iPhone")>=3.1||e.os("iOS")&&e.version("iPod")>=3.1||e.version("Android")>2.1&&e.is("Webkit")||e.version("Windows Phone OS")>=7||e.is("BlackBerry")&&e.version("BlackBerry")>=6||e.match("Playbook.*Tablet")||e.version("webOS")>=1.4&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&e.version("Firefox")>=12||e.is("Chrome")&&e.is("AndroidOS")&&e.version("Android")>=4||e.is("Skyfire")&&e.version("Skyfire")>=4.1&&e.is("AndroidOS")&&e.version("Android")>=2.3||e.is("Opera")&&e.version("Opera Mobi")>11&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&e.version("Bada")>=2||(e.is("UC Browser")||e.is("Dolfin"))&&e.version("Android")>=2.3||e.match("Kindle Fire")||e.is("Kindle")&&e.version("Kindle")>=3||e.is("AndroidOS")&&e.is("NookTablet")||e.version("Chrome")>=11&&!t||e.version("Safari")>=5&&!t||e.version("Firefox")>=4&&!t||e.version("MSIE")>=7&&!t||e.version("Opera")>=10&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&e.version("BlackBerry")>=5&&e.version("BlackBerry")<6||e.version("Opera Mini")>=5&&e.version("Opera Mini")<=6.5&&(e.version("Android")>=2.3||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||e.version("Opera Mobi")>=11&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile")<=5.2,"C")},a.detectOS=function(e){return a.findMatch(a.mobileDetectRules.oss0,e)||a.findMatch(a.mobileDetectRules.oss,e)},a.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},r.prototype={constructor:r,mobile:function(){return a.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return a.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return a.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===t&&(this._cache.userAgent=a.findMatch(a.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===t&&(this._cache.userAgents=a.findMatches(a.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===t&&(this._cache.os=a.detectOS(this.ua)),this._cache.os},version:function(e){return a.getVersion(e,this.ua)},versionStr:function(e){return a.getVersionStr(e,this.ua)},is:function(t){return n(this.userAgents(),t)||e(t,this.os())||e(t,this.phone())||e(t,this.tablet())||n(a.findMatches(a.mobileDetectRules.utils,this.ua),t)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return r.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===t&&(this._cache.grade=a.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?r.isPhoneSized=function(e){return e<0?t:a.getDeviceSmallerSide()<=e}:r.isPhoneSized=function(){},r._impl=a,r})}(function(e){if("undefined"!=typeof module&&module.exports)return function(e){module.exports=e()};if("function"==typeof define&&define.amd)return define;if("undefined"!=typeof window)return function(e){window.MobileDetect=e()};throw new Error("unknown environment")}()),define("TemporaryHide",["jquery","AX","MobileDetect"],function(e,t,n){"use strict";var i=(t.Util.log,t.Base.extend({defaults:{rules:[]},init:function(t){this._config=e.extend({},this.defaults,t);var i=this.get("rules");0!==i.length&&e.each(i,function(e,t){if("del-xs"===this[1]){var i=new n(window.navigator.userAgent);i.is("iPhone")?this[0].remove():(this[0].prop("disabled",!0),this[0].addClass(this[1]))}else this[0].addClass(this[1])})}}));return i});var QRCode;!function(){function e(e){this.mode=u.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,n=this.data.length;t<n;t++){var i=[],r=this.data.charCodeAt(t);r>65536?(i[0]=240|(1835008&r)>>>18,i[1]=128|(258048&r)>>>12,i[2]=128|(4032&r)>>>6,i[3]=128|63&r):r>2048?(i[0]=224|(61440&r)>>>12,i[1]=128|(4032&r)>>>6,i[2]=128|63&r):r>128?(i[0]=192|(1984&r)>>>6,i[1]=128|63&r):i[0]=r,this.parsedData.push(i)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function t(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function n(e,t){if(void 0==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var i=0;i<e.length-n;i++)this.num[i]=e[i+n]}function i(e,t){this.totalCount=e,this.dataCount=t}function r(){this.buffer=[],this.length=0}function a(){return"undefined"!=typeof CanvasRenderingContext2D}function o(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var n=t.toString().match(/android ([0-9]\.[0-9])/i);n&&n[1]&&(e=parseFloat(n[1]))}return e}function s(e,t){for(var n=1,i=l(e),r=0,a=m.length;r<=a;r++){var o=0;switch(t){case c.L:o=m[r][0];break;case c.M:o=m[r][1];break;case c.Q:o=m[r][2];break;case c.H:o=m[r][3]}if(i<=o)break;n++}if(n>m.length)throw new Error("Too long data");return n}function l(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}e.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;t<n;t++)e.put(this.parsedData[t],8)}},t.prototype={addData:function(t){var n=new e(t);this.dataList.push(n),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++){this.modules[i]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[i][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,n),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var i=-1;i<=7;i++)t+i<=-1||this.moduleCount<=t+i||(0<=n&&n<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=i&&i<=4?this.modules[e+n][t+i]=!0:this.modules[e+n][t+i]=!1)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=p.getLostPoint(this);(0==n||e>i)&&(e=i,t=n)}return t},createMovieClip:function(e,t,n){var i=e.createEmptyMovieClip(t,n),r=1;this.make();for(var a=0;a<this.modules.length;a++)for(var o=a*r,s=0;s<this.modules[a].length;s++){var l=s*r,u=this.modules[a][s];u&&(i.beginFill(0,100),i.moveTo(l,o),i.lineTo(l+r,o),i.lineTo(l+r,o+r),i.lineTo(l,o+r),i.endFill())}return i},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=p.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var i=e[t],r=e[n];if(null==this.modules[i][r])for(var a=-2;a<=2;a++)for(var o=-2;o<=2;o++)a==-2||2==a||o==-2||2==o||0==a&&0==o?this.modules[i+a][r+o]=!0:this.modules[i+a][r+o]=!1}},setupTypeNumber:function(e){for(var t=p.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var i=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(var n=0;n<18;n++){var i=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i}},setupTypeInfo:function(e,t){for(var n=this.errorCorrectLevel<<3|t,i=p.getBCHTypeInfo(n),r=0;r<15;r++){var a=!e&&1==(i>>r&1);r<6?this.modules[r][8]=a:r<8?this.modules[r+1][8]=a:this.modules[this.moduleCount-15+r][8]=a}for(var r=0;r<15;r++){var a=!e&&1==(i>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=a:r<9?this.modules[8][15-r-1+1]=a:this.modules[8][15-r-1]=a}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,i=this.moduleCount-1,r=7,a=0,o=this.moduleCount-1;o>0;o-=2)for(6==o&&o--;;){for(var s=0;s<2;s++)if(null==this.modules[i][o-s]){var l=!1;a<e.length&&(l=1==(e[a]>>>r&1));var u=p.getMask(t,i,o-s);u&&(l=!l),this.modules[i][o-s]=l,r--,r==-1&&(a++,r=7)}if(i+=n,i<0||this.moduleCount<=i){i-=n,n=-n;break}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,n,a){for(var o=i.getRSBlocks(e,n),s=new r,l=0;l<a.length;l++){var u=a[l];s.put(u.mode,4),s.put(u.getLength(),p.getLengthInBits(u.mode,e)),u.write(s)}for(var c=0,l=0;l<o.length;l++)c+=o[l].dataCount;if(s.getLengthInBits()>8*c)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*c+")");for(s.getLengthInBits()+4<=8*c&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;;){if(s.getLengthInBits()>=8*c)break;if(s.put(t.PAD0,8),s.getLengthInBits()>=8*c)break;s.put(t.PAD1,8)}return t.createBytes(s,o)},t.createBytes=function(e,t){for(var i=0,r=0,a=0,o=new Array(t.length),s=new Array(t.length),l=0;l<t.length;l++){var u=t[l].dataCount,c=t[l].totalCount-u;r=Math.max(r,u),a=Math.max(a,c),o[l]=new Array(u);for(var d=0;d<o[l].length;d++)o[l][d]=255&e.buffer[d+i];i+=u;var f=p.getErrorCorrectPolynomial(c),h=new n(o[l],f.getLength()-1),m=h.mod(f);s[l]=new Array(f.getLength()-1);for(var d=0;d<s[l].length;d++){var g=d+m.getLength()-s[l].length;s[l][d]=g>=0?m.get(g):0}}for(var v=0,d=0;d<t.length;d++)v+=t[d].totalCount;for(var T=new Array(v),y=0,d=0;d<r;d++)for(var l=0;l<t.length;l++)d<o[l].length&&(T[y++]=o[l][d]);for(var d=0;d<a;d++)for(var l=0;l<t.length;l++)d<s[l].length&&(T[y++]=s[l][d]);return T};for(var u={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},c={L:1,M:0,Q:3,H:2},d={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},p={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){
for(var t=e<<10;p.getBCHDigit(t)-p.getBCHDigit(p.G15)>=0;)t^=p.G15<<p.getBCHDigit(t)-p.getBCHDigit(p.G15);return(e<<10|t)^p.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;p.getBCHDigit(t)-p.getBCHDigit(p.G18)>=0;)t^=p.G18<<p.getBCHDigit(t)-p.getBCHDigit(p.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return p.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case d.PATTERN000:return(t+n)%2==0;case d.PATTERN001:return t%2==0;case d.PATTERN010:return n%3==0;case d.PATTERN011:return(t+n)%3==0;case d.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case d.PATTERN101:return t*n%2+t*n%3==0;case d.PATTERN110:return(t*n%2+t*n%3)%2==0;case d.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new n([1],0),i=0;i<e;i++)t=t.multiply(new n([1,f.gexp(i)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case u.MODE_NUMBER:return 10;case u.MODE_ALPHA_NUM:return 9;case u.MODE_8BIT_BYTE:return 8;case u.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case u.MODE_NUMBER:return 12;case u.MODE_ALPHA_NUM:return 11;case u.MODE_8BIT_BYTE:return 16;case u.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case u.MODE_NUMBER:return 14;case u.MODE_ALPHA_NUM:return 13;case u.MODE_8BIT_BYTE:return 16;case u.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,i=0;i<t;i++)for(var r=0;r<t;r++){for(var a=0,o=e.isDark(i,r),s=-1;s<=1;s++)if(!(i+s<0||t<=i+s))for(var l=-1;l<=1;l++)r+l<0||t<=r+l||0==s&&0==l||o==e.isDark(i+s,r+l)&&a++;a>5&&(n+=3+a-5)}for(var i=0;i<t-1;i++)for(var r=0;r<t-1;r++){var u=0;e.isDark(i,r)&&u++,e.isDark(i+1,r)&&u++,e.isDark(i,r+1)&&u++,e.isDark(i+1,r+1)&&u++,0!=u&&4!=u||(n+=3)}for(var i=0;i<t;i++)for(var r=0;r<t-6;r++)e.isDark(i,r)&&!e.isDark(i,r+1)&&e.isDark(i,r+2)&&e.isDark(i,r+3)&&e.isDark(i,r+4)&&!e.isDark(i,r+5)&&e.isDark(i,r+6)&&(n+=40);for(var r=0;r<t;r++)for(var i=0;i<t-6;i++)e.isDark(i,r)&&!e.isDark(i+1,r)&&e.isDark(i+2,r)&&e.isDark(i+3,r)&&e.isDark(i+4,r)&&!e.isDark(i+5,r)&&e.isDark(i+6,r)&&(n+=40);for(var c=0,r=0;r<t;r++)for(var i=0;i<t;i++)e.isDark(i,r)&&c++;var d=Math.abs(100*c/t/t-50)/5;return n+=10*d}},f={glog:function(e){if(e<1)throw new Error("glog("+e+")");return f.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return f.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;h<8;h++)f.EXP_TABLE[h]=1<<h;for(var h=8;h<256;h++)f.EXP_TABLE[h]=f.EXP_TABLE[h-4]^f.EXP_TABLE[h-5]^f.EXP_TABLE[h-6]^f.EXP_TABLE[h-8];for(var h=0;h<255;h++)f.LOG_TABLE[f.EXP_TABLE[h]]=h;n.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),i=0;i<this.getLength();i++)for(var r=0;r<e.getLength();r++)t[i+r]^=f.gexp(f.glog(this.get(i))+f.glog(e.get(r)));return new n(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=f.glog(this.get(0))-f.glog(e.get(0)),i=new Array(this.getLength()),r=0;r<this.getLength();r++)i[r]=this.get(r);for(var r=0;r<e.getLength();r++)i[r]^=f.gexp(f.glog(e.get(r))+t);return new n(i,0).mod(e)}},i.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],i.getRSBlocks=function(e,t){var n=i.getRsBlockTable(e,t);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,a=[],o=0;o<r;o++)for(var s=n[3*o+0],l=n[3*o+1],u=n[3*o+2],c=0;c<s;c++)a.push(new i(l,u));return a},i.getRsBlockTable=function(e,t){switch(t){case c.L:return i.RS_BLOCK_TABLE[4*(e-1)+0];case c.M:return i.RS_BLOCK_TABLE[4*(e-1)+1];case c.Q:return i.RS_BLOCK_TABLE[4*(e-1)+2];case c.H:return i.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},r.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var m=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],g=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){function t(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var i in t)t.hasOwnProperty(i)&&n.setAttribute(i,t[i]);return n}var n=this._htOption,i=this._el,r=e.getModuleCount();Math.floor(n.width/r),Math.floor(n.height/r);this.clear();var a=t("svg",{viewBox:"0 0 "+String(r)+" "+String(r),width:"100%",height:"100%",fill:n.colorLight});a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),i.appendChild(a),a.appendChild(t("rect",{fill:n.colorLight,width:"100%",height:"100%"})),a.appendChild(t("rect",{fill:n.colorDark,width:"1",height:"1",id:"template"}));for(var o=0;o<r;o++)for(var s=0;s<r;s++)if(e.isDark(o,s)){var l=t("use",{x:String(s),y:String(o)});l.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),a.appendChild(l)}},e.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},e}(),v="svg"===document.documentElement.tagName.toLowerCase(),T=v?g:a()?function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}function t(e,t){var n=this;if(n._fFail=t,n._fSuccess=e,null===n._bSupportDataURI){var i=document.createElement("img"),r=function(){n._bSupportDataURI=!1,n._fFail&&n._fFail.call(n)},a=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)};return i.onabort=r,i.onerror=r,i.onload=a,void(i.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}n._bSupportDataURI===!0&&n._fSuccess?n._fSuccess.call(n):n._bSupportDataURI===!1&&n._fFail&&n._fFail.call(n)}if(this._android&&this._android<=2.1){var n=1/window.devicePixelRatio,i=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,t,r,a,o,s,l,u,c){if("nodeName"in e&&/img/i.test(e.nodeName))for(var d=arguments.length-1;d>=1;d--)arguments[d]=arguments[d]*n;else"undefined"==typeof u&&(arguments[1]*=n,arguments[2]*=n,arguments[3]*=n,arguments[4]*=n);i.apply(this,arguments)}}var r=function(e,t){this._bIsPainted=!1,this._android=o(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return r.prototype.draw=function(e){var t=this._elImage,n=this._oContext,i=this._htOption,r=e.getModuleCount(),a=i.width/r,o=i.height/r,s=Math.round(a),l=Math.round(o);t.style.display="none",this.clear();for(var u=0;u<r;u++)for(var c=0;c<r;c++){var d=e.isDark(u,c),p=c*a,f=u*o;n.strokeStyle=d?i.colorDark:i.colorLight,n.lineWidth=1,n.fillStyle=d?i.colorDark:i.colorLight,n.fillRect(p,f,a,o),n.strokeRect(Math.floor(p)+.5,Math.floor(f)+.5,s,l),n.strokeRect(Math.ceil(p)-.5,Math.ceil(f)-.5,s,l)}this._bIsPainted=!0},r.prototype.makeImage=function(){this._bIsPainted&&t.call(this,e)},r.prototype.isPainted=function(){return this._bIsPainted},r.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},r.prototype.round=function(e){return e?Math.floor(1e3*e)/1e3:e},r}():function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){for(var t=this._htOption,n=this._el,i=e.getModuleCount(),r=Math.floor(t.width/i),a=Math.floor(t.height/i),o=['<table style="border:0;border-collapse:collapse;">'],s=0;s<i;s++){o.push("<tr>");for(var l=0;l<i;l++)o.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+r+"px;height:"+a+"px;background-color:"+(e.isDark(s,l)?t.colorDark:t.colorLight)+';"></td>');o.push("</tr>")}o.push("</table>"),n.innerHTML=o.join("");var u=n.childNodes[0],c=(t.width-u.offsetWidth)/2,d=(t.height-u.offsetHeight)/2;c>0&&d>0&&(u.style.margin=d+"px "+c+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}();QRCode=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:c.H},"string"==typeof t&&(t={text:t}),t)for(var n in t)this._htOption[n]=t[n];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(T=g),this._android=o(),this._el=e,this._oQRCode=null,this._oDrawing=new T(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},QRCode.prototype.makeCode=function(e){this._oQRCode=new t(s(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},QRCode.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},QRCode.prototype.clear=function(){this._oDrawing.clear()},QRCode.CorrectLevel=c}(),define("plugins/qrcode/qrcode",function(){}),define("QRcodeGen",["jquery","AX","plugins/qrcode/qrcode"],function(e,t){"use strict";var n=(t.Util.log,t.Base.extend({defaults:{$sidebarContainer:e(".common-sidebar"),$QRContainer:e(".qrcode-container"),$QRcodeBtn:e('a[href="#qrcodegen"]')},init:function(t){this._config=e.extend({},this.defaults,t),this.render(),this.bind()},render:function(){var e=window.location.href,t=this.get("$QRContainer");new QRCode(t[0],{text:e,width:90,height:90,colorDark:"#323a45",colorLight:"#ffffff",correctLevel:QRCode.CorrectLevel.H})},bind:function(){var e=this.get("$QRcodeBtn");e.on("mouseleave",function(){e.next(".tab-panel").removeClass("show-md")})}}));return n}),!function(e,t){"function"==typeof define&&(define.amd||define.cmd)?define("WebchatJSSDK",[],function(){return t(e)}):t(e,!0)}(this,function(e,t){function n(t,n,i){e.WeixinJSBridge?WeixinJSBridge.invoke(t,r(n),function(e){o(t,e,i)}):u(t,i)}function i(t,n,i){e.WeixinJSBridge?WeixinJSBridge.on(t,function(e){i&&i.trigger&&i.trigger(e),o(t,e,n)}):i?u(t,i):u(t,n)}function r(e){return e=e||{},e.appId=B.appId,e.verifyAppId=B.appId,e.verifySignType="sha1",e.verifyTimestamp=B.timestamp+"",e.verifyNonceStr=B.nonceStr,e.verifySignature=B.signature,e}function a(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function o(e,t,n){var i,r,a;switch(delete t.err_code,delete t.err_desc,delete t.err_detail,i=t.errMsg,i||(i=t.err_msg,delete t.err_msg,i=s(e,i),t.errMsg=i),n=n||{},n._complete&&(n._complete(t),delete n._complete),i=t.errMsg||"",B.debug&&!n.isInnerInvoke&&alert(JSON.stringify(t)),r=i.indexOf(":"),a=i.substring(r+1)){case"ok":n.success&&n.success(t);break;case"cancel":n.cancel&&n.cancel(t);break;default:n.fail&&n.fail(t)}n.complete&&n.complete(t)}function s(e,t){var n,i,r=e,a=m[r];return a&&(r=a),n="ok",t&&(i=t.indexOf(":"),n=t.substring(i+1),"confirm"==n&&(n="ok"),"failed"==n&&(n="fail"),-1!=n.indexOf("failed_")&&(n=n.substring(7)),-1!=n.indexOf("fail_")&&(n=n.substring(5)),n=n.replace(/_/g," "),n=n.toLowerCase(),("access denied"==n||"no permission to execute"==n)&&(n="permission denied"),"config"==r&&"function not exist"==n&&(n="ok"),""==n&&(n="fail")),t=r+":"+n}function l(e){var t,n,i,r;if(e){for(t=0,n=e.length;n>t;++t)i=e[t],r=h[i],r&&(e[t]=r);return e}}function u(e,t){if(!(!B.debug||t&&t.isInnerInvoke)){var n=m[e];n&&(e=n),t&&t._complete&&delete t._complete,console.log('"'+e+'",',t||"")}}function c(){0!=G.preVerifyState&&(b||S||B.debug||"6.0.2">M||G.systemType<0||A||(A=!0,G.appId=B.appId,G.initTime=E.initEndTime-E.initStartTime,G.preVerifyTime=E.preVerifyEndTime-E.preVerifyStartTime,D.getNetworkType({isInnerInvoke:!0,success:function(e){var t,n;G.networkType=e.networkType,t="http://open.weixin.qq.com/sdk/report?v="+G.version+"&o="+G.preVerifyState+"&s="+G.systemType+"&c="+G.clientVersion+"&a="+G.appId+"&n="+G.networkType+"&i="+G.initTime+"&p="+G.preVerifyTime+"&u="+G.url,n=new Image,n.src=t}})))}function d(){return(new Date).getTime()}function p(t){w&&(e.WeixinJSBridge?t():g.addEventListener&&g.addEventListener("WeixinJSBridgeReady",t,!1))}function f(){D.invoke||(D.invoke=function(t,n,i){e.WeixinJSBridge&&WeixinJSBridge.invoke(t,r(n),i)},D.on=function(t,n){e.WeixinJSBridge&&WeixinJSBridge.on(t,n)})}var h,m,g,v,T,y,b,S,w,C,x,M,A,P,E,G,B,I,k,D;if(!e.jWeixin)return h={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest"},m=function(){var e,t={};for(e in h)t[h[e]]=e;return t}(),g=e.document,v=g.title,T=navigator.userAgent.toLowerCase(),y=navigator.platform.toLowerCase(),b=!(!y.match("mac")&&!y.match("win")),S=-1!=T.indexOf("wxdebugger"),w=-1!=T.indexOf("micromessenger"),C=-1!=T.indexOf("android"),x=-1!=T.indexOf("iphone")||-1!=T.indexOf("ipad"),M=function(){var e=T.match(/micromessenger\/(\d+\.\d+\.\d+)/)||T.match(/micromessenger\/(\d+\.\d+)/);return e?e[1]:""}(),A=!1,P=!1,E={initStartTime:d(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},G={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",preVerifyState:1,systemType:x?1:C?2:-1,clientVersion:M,url:encodeURIComponent(location.href)},B={},I={_completes:[]},k={state:0,data:{}},p(function(){E.initEndTime=d()}),D={config:function(e){B=e,u("config",e);var t=B.check!==!1;p(function(){var e,i,r;if(t)n(h.config,{verifyJsApiList:l(B.jsApiList)},function(){I._complete=function(e){E.preVerifyEndTime=d(),k.state=1,k.data=e},I.success=function(){G.preVerifyState=0},I.fail=function(e){I._fail?I._fail(e):k.state=-1};var e=I._completes;return e.push(function(){c()}),I.complete=function(){for(var t=0,n=e.length;n>t;++t)e[t]();I._completes=[]},I}()),E.preVerifyStartTime=d();else{for(k.state=1,e=I._completes,i=0,r=e.length;r>i;++i)e[i]();I._completes=[]}}),B.beta&&f()},ready:function(e){0!=k.state?e():(I._completes.push(e),!w&&B.debug&&e())},error:function(e){"6.0.2">M||P||(P=!0,-1==k.state?e(k.data):I._fail=e)},checkJsApi:function(e){var t=function(e){var t,n,i=e.checkResult;for(t in i)n=m[t],n&&(i[n]=i[t],delete i[t]);return e};n("checkJsApi",{jsApiList:l(e.jsApiList)},function(){return e._complete=function(e){if(C){var n=e.checkResult;n&&(e.checkResult=JSON.parse(n))}e=t(e)},e}())},onMenuShareTimeline:function(e){i(h.onMenuShareTimeline,{complete:function(){n("shareTimeline",{title:e.title||v,desc:e.title||v,img_url:e.imgUrl||"",link:e.link||location.href,type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareAppMessage:function(e){i(h.onMenuShareAppMessage,{complete:function(){n("sendAppMessage",{title:e.title||v,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareQQ:function(e){i(h.onMenuShareQQ,{complete:function(){n("shareQQ",{title:e.title||v,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareWeibo:function(e){i(h.onMenuShareWeibo,{complete:function(){n("shareWeiboApp",{title:e.title||v,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareQZone:function(e){i(h.onMenuShareQZone,{complete:function(){n("shareQZone",{title:e.title||v,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},startRecord:function(e){n("startRecord",{},e)},stopRecord:function(e){n("stopRecord",{},e)},onVoiceRecordEnd:function(e){i("onVoiceRecordEnd",e)},playVoice:function(e){n("playVoice",{localId:e.localId},e)},pauseVoice:function(e){n("pauseVoice",{localId:e.localId},e)},stopVoice:function(e){n("stopVoice",{localId:e.localId},e)},onVoicePlayEnd:function(e){i("onVoicePlayEnd",e)},uploadVoice:function(e){n("uploadVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadVoice:function(e){n("downloadVoice",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},translateVoice:function(e){n("translateVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},chooseImage:function(e){n("chooseImage",{scene:"1|2",count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"]},function(){return e._complete=function(e){if(C){var t=e.localIds;t&&(e.localIds=JSON.parse(t))}},e}())},previewImage:function(e){n(h.previewImage,{current:e.current,urls:e.urls},e)},uploadImage:function(e){n("uploadImage",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadImage:function(e){n("downloadImage",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},getNetworkType:function(e){var t=function(e){var t,n,i,r=e.errMsg;if(e.errMsg="getNetworkType:ok",t=e.subtype,delete e.subtype,t)e.networkType=t;else switch(n=r.indexOf(":"),i=r.substring(n+1)){case"wifi":case"edge":case"wwan":e.networkType=i;break;default:e.errMsg="getNetworkType:fail"}return e};n("getNetworkType",{},function(){return e._complete=function(e){e=t(e)},e}())},openLocation:function(e){n("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)},getLocation:function(e){e=e||{},n(h.getLocation,{type:e.type||"wgs84"},function(){return e._complete=function(e){delete e.type},e}())},hideOptionMenu:function(e){n("hideOptionMenu",{},e)},showOptionMenu:function(e){n("showOptionMenu",{},e)},closeWindow:function(e){e=e||{},n("closeWindow",{},e)},hideMenuItems:function(e){n("hideMenuItems",{menuList:e.menuList},e)},showMenuItems:function(e){n("showMenuItems",{menuList:e.menuList},e)},hideAllNonBaseMenuItem:function(e){n("hideAllNonBaseMenuItem",{},e)},showAllNonBaseMenuItem:function(e){n("showAllNonBaseMenuItem",{},e)},scanQRCode:function(e){e=e||{},n("scanQRCode",{needResult:e.needResult||0,scanType:e.scanType||["qrCode","barCode"]},function(){return e._complete=function(e){var t,n;x&&(t=e.resultStr,t&&(n=JSON.parse(t),e.resultStr=n&&n.scan_code&&n.scan_code.scan_result))},e}())},openProductSpecificView:function(e){n(h.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)},addCard:function(e){var t,i,r,a,o=e.cardList,s=[];for(t=0,i=o.length;i>t;++t)r=o[t],a={card_id:r.cardId,card_ext:r.cardExt},s.push(a);n(h.addCard,{card_list:s},function(){return e._complete=function(e){var t,n,i,r=e.card_list;if(r){for(r=JSON.parse(r),t=0,n=r.length;n>t;++t)i=r[t],i.cardId=i.card_id,i.cardExt=i.card_ext,i.isSuccess=!!i.is_succ,delete i.card_id,delete i.card_ext,delete i.is_succ;e.cardList=r,delete e.card_list}},e}())},chooseCard:function(e){n("chooseCard",{app_id:B.appId,location_id:e.shopId||"",sign_type:e.signType||"SHA1",card_id:e.cardId||"",card_type:e.cardType||"",card_sign:e.cardSign,time_stamp:e.timestamp+"",nonce_str:e.nonceStr},function(){return e._complete=function(e){e.cardList=e.choose_card_info,delete e.choose_card_info},e}())},openCard:function(e){var t,i,r,a,o=e.cardList,s=[];for(t=0,i=o.length;i>t;++t)r=o[t],a={card_id:r.cardId,code:r.code},s.push(a);n(h.openCard,{card_list:s},e)},chooseWXPay:function(e){n(h.chooseWXPay,a(e),e)}},t&&(e.wx=e.jWeixin=D),D}),define("Webchat",["AX","jquery","WebchatJSSDK","MobileDetect"],function(e,t,n,i){"use strict";var r=e.Util.log,a=e.Base.extend({defaults:{debug:!1,jsSDKAPI:"/api/wechat/JSSdkConfig",jsApiList:["onMenuShareTimeline","onMenuShareAppMessage"],defaultTitle:"Microsoft Azure",defaultDescription:"Microsoft Azure",defaultIconURL:"",defaultType:"link",$content:t(".content"),thumbnailClassName:"webchat-thumbnail"},init:function(e){this.isWebchatBrowser()&&(this._config=t.extend({},this.defaults,e),this.getConfig())},getConfig:function(){var e=this;t.ajax({url:e.get("jsSDKAPI"),dataType:"json"}).done(function(t){e.set("APIData",t),e.validatePermission()}).fail(function(e,t){r("Webchat","Get Webchat API failed."+t)})},validatePermission:function(){var e=this,t=this.get("APIData");r(t),n.config({debug:e.get("debug"),appId:t.AppId,timestamp:t.TimeStamp,nonceStr:t.NonceString,signature:t.Signature,jsApiList:e.get("jsApiList")}),n.ready(function(){e.ready(),r("Webchat","Webchat Ready!")})},checkJSAPI:function(){},isWebchatBrowser:function(){var e=new i(window.navigator.userAgent);return!!e.version("MicroMessenger")},ready:function(){this.bind()},getThumbnail:function(){var e=this,n=t("."+e.get("thumbnailClassName"));if(n.length>0)return n.attr("href");var i=null;if(t.each(e.get("$content").find("img"),function(){if(t(this).width()>300&&t(this).height()>300)return i=t(this),!1}),i){var r=i.attr("src");if(/^\/\/\S+/g.test(r))return window.location.protocol+r}return window.location.origin+this.get("defaultIconURL")},getTitle:function(){var e=t("title").html();return""!==e?e:this.get("defaultTitle")},getDescription:function(){var e=t('meta[name="description"]').attr("content");return""!==e?e:this.get("defaultDescription")},bind:function(){var e=this;n.onMenuShareTimeline({title:e.getTitle(),link:window.location.href,imgUrl:e.getThumbnail(),success:function(){r("Webchat","Share successful.")},cancel:function(){}}),n.onMenuShareAppMessage({title:e.getTitle(),desc:e.getDescription(),link:window.location.href,imgUrl:e.getThumbnail(),type:e.get("defaultType"),dataUrl:"",success:function(){r("Webchat","Share successful.")},cancel:function(){}})}});return a}),function(){function e(e){function t(t,n,i,r,a,o){for(;a>=0&&o>a;a+=e){var s=r?r[a]:a;i=n(i,t[s],s,t)}return i}return function(n,i,r,a){i=y(i,a,4);var o=!A(n)&&T.keys(n),s=(o||n).length,l=e>0?0:s-1;return arguments.length<3&&(r=n[o?o[l]:l],l+=e),t(n,i,r,o,l,s)}}function t(e){return function(t,n,i){n=b(n,i);for(var r=M(t),a=e>0?0:r-1;a>=0&&r>a;a+=e)if(n(t[a],a,t))return a;return-1}}function n(e,t,n){return function(i,r,a){var o=0,s=M(i);if("number"==typeof a)e>0?o=a>=0?a:Math.max(a+s,o):s=a>=0?Math.min(a+1,s):a+s+1;else if(n&&a&&s)return a=n(i,r),i[a]===r?a:-1;if(r!==r)return a=t(c.call(i,o,s),T.isNaN),a>=0?a+o:-1;for(a=e>0?o:s-1;a>=0&&s>a;a+=e)if(i[a]===r)return a;return-1}}function i(e,t){var n=I.length,i=e.constructor,r=T.isFunction(i)&&i.prototype||s,a="constructor";for(T.has(e,a)&&!T.contains(t,a)&&t.push(a);n--;)a=I[n],a in e&&e[a]!==r[a]&&!T.contains(t,a)&&t.push(a)}var r=this,a=r._,o=Array.prototype,s=Object.prototype,l=Function.prototype,u=o.push,c=o.slice,d=s.toString,p=s.hasOwnProperty,f=Array.isArray,h=Object.keys,m=l.bind,g=Object.create,v=function(){},T=function(e){return e instanceof T?e:this instanceof T?void(this._wrapped=e):new T(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=T),exports._=T):r._=T,T.VERSION="1.8.3";var y=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)};case 4:return function(n,i,r,a){return e.call(t,n,i,r,a)}}return function(){return e.apply(t,arguments)}},b=function(e,t,n){return null==e?T.identity:T.isFunction(e)?y(e,t,n):T.isObject(e)?T.matcher(e):T.property(e)};T.iteratee=function(e,t){return b(e,t,1/0)};var S=function(e,t){return function(n){var i=arguments.length;if(2>i||null==n)return n;for(var r=1;i>r;r++)for(var a=arguments[r],o=e(a),s=o.length,l=0;s>l;l++){var u=o[l];t&&void 0!==n[u]||(n[u]=a[u])}return n}},w=function(e){if(!T.isObject(e))return{};if(g)return g(e);v.prototype=e;var t=new v;return v.prototype=null,t},C=function(e){return function(t){return null==t?void 0:t[e]}},x=Math.pow(2,53)-1,M=C("length"),A=function(e){var t=M(e);return"number"==typeof t&&t>=0&&x>=t};T.each=T.forEach=function(e,t,n){t=y(t,n);var i,r;if(A(e))for(i=0,r=e.length;r>i;i++)t(e[i],i,e);else{var a=T.keys(e);for(i=0,r=a.length;r>i;i++)t(e[a[i]],a[i],e)}return e},T.map=T.collect=function(e,t,n){t=b(t,n);for(var i=!A(e)&&T.keys(e),r=(i||e).length,a=Array(r),o=0;r>o;o++){var s=i?i[o]:o;a[o]=t(e[s],s,e)}return a},T.reduce=T.foldl=T.inject=e(1),T.reduceRight=T.foldr=e(-1),T.find=T.detect=function(e,t,n){var i;return i=A(e)?T.findIndex(e,t,n):T.findKey(e,t,n),void 0!==i&&i!==-1?e[i]:void 0},T.filter=T.select=function(e,t,n){var i=[];return t=b(t,n),T.each(e,function(e,n,r){t(e,n,r)&&i.push(e)}),i},T.reject=function(e,t,n){return T.filter(e,T.negate(b(t)),n)},T.every=T.all=function(e,t,n){t=b(t,n);for(var i=!A(e)&&T.keys(e),r=(i||e).length,a=0;r>a;a++){var o=i?i[a]:a;if(!t(e[o],o,e))return!1}return!0},T.some=T.any=function(e,t,n){t=b(t,n);for(var i=!A(e)&&T.keys(e),r=(i||e).length,a=0;r>a;a++){var o=i?i[a]:a;if(t(e[o],o,e))return!0}return!1},T.contains=T.includes=T.include=function(e,t,n,i){return A(e)||(e=T.values(e)),("number"!=typeof n||i)&&(n=0),T.indexOf(e,t,n)>=0},T.invoke=function(e,t){var n=c.call(arguments,2),i=T.isFunction(t);return T.map(e,function(e){var r=i?t:e[t];return null==r?r:r.apply(e,n)})},T.pluck=function(e,t){return T.map(e,T.property(t))},T.where=function(e,t){return T.filter(e,T.matcher(t))},T.findWhere=function(e,t){return T.find(e,T.matcher(t))},T.max=function(e,t,n){var i,r,a=-1/0,o=-1/0;if(null==t&&null!=e){e=A(e)?e:T.values(e);for(var s=0,l=e.length;l>s;s++)i=e[s],i>a&&(a=i)}else t=b(t,n),T.each(e,function(e,n,i){r=t(e,n,i),(r>o||r===-1/0&&a===-1/0)&&(a=e,o=r)});return a},T.min=function(e,t,n){var i,r,a=1/0,o=1/0;if(null==t&&null!=e){e=A(e)?e:T.values(e);for(var s=0,l=e.length;l>s;s++)i=e[s],a>i&&(a=i)}else t=b(t,n),T.each(e,function(e,n,i){r=t(e,n,i),(o>r||1/0===r&&1/0===a)&&(a=e,o=r)});return a},T.shuffle=function(e){for(var t,n=A(e)?e:T.values(e),i=n.length,r=Array(i),a=0;i>a;a++)t=T.random(0,a),t!==a&&(r[a]=r[t]),r[t]=n[a];return r},T.sample=function(e,t,n){return null==t||n?(A(e)||(e=T.values(e)),e[T.random(e.length-1)]):T.shuffle(e).slice(0,Math.max(0,t))},T.sortBy=function(e,t,n){return t=b(t,n),T.pluck(T.map(e,function(e,n,i){return{value:e,index:n,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(i>n||void 0===i)return-1}return e.index-t.index}),"value")};var P=function(e){return function(t,n,i){var r={};return n=b(n,i),T.each(t,function(i,a){var o=n(i,a,t);e(r,i,o)}),r}};T.groupBy=P(function(e,t,n){T.has(e,n)?e[n].push(t):e[n]=[t]}),T.indexBy=P(function(e,t,n){e[n]=t}),T.countBy=P(function(e,t,n){T.has(e,n)?e[n]++:e[n]=1}),T.toArray=function(e){return e?T.isArray(e)?c.call(e):A(e)?T.map(e,T.identity):T.values(e):[]},T.size=function(e){return null==e?0:A(e)?e.length:T.keys(e).length},T.partition=function(e,t,n){t=b(t,n);var i=[],r=[];return T.each(e,function(e,n,a){(t(e,n,a)?i:r).push(e)}),[i,r]},T.first=T.head=T.take=function(e,t,n){return null==e?void 0:null==t||n?e[0]:T.initial(e,e.length-t)},T.initial=function(e,t,n){return c.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},T.last=function(e,t,n){return null==e?void 0:null==t||n?e[e.length-1]:T.rest(e,Math.max(0,e.length-t))},T.rest=T.tail=T.drop=function(e,t,n){return c.call(e,null==t||n?1:t)},T.compact=function(e){return T.filter(e,T.identity)};var E=function(e,t,n,i){for(var r=[],a=0,o=i||0,s=M(e);s>o;o++){var l=e[o];if(A(l)&&(T.isArray(l)||T.isArguments(l))){t||(l=E(l,t,n));var u=0,c=l.length;for(r.length+=c;c>u;)r[a++]=l[u++]}else n||(r[a++]=l)}return r};T.flatten=function(e,t){return E(e,t,!1)},T.without=function(e){return T.difference(e,c.call(arguments,1))},T.uniq=T.unique=function(e,t,n,i){T.isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=b(n,i));for(var r=[],a=[],o=0,s=M(e);s>o;o++){var l=e[o],u=n?n(l,o,e):l;t?(o&&a===u||r.push(l),a=u):n?T.contains(a,u)||(a.push(u),r.push(l)):T.contains(r,l)||r.push(l)}return r},T.union=function(){return T.uniq(E(arguments,!0,!0))},T.intersection=function(e){for(var t=[],n=arguments.length,i=0,r=M(e);r>i;i++){var a=e[i];if(!T.contains(t,a)){for(var o=1;n>o&&T.contains(arguments[o],a);o++);o===n&&t.push(a)}}return t},T.difference=function(e){var t=E(arguments,!0,!0,1);return T.filter(e,function(e){return!T.contains(t,e);
})},T.zip=function(){return T.unzip(arguments)},T.unzip=function(e){for(var t=e&&T.max(e,M).length||0,n=Array(t),i=0;t>i;i++)n[i]=T.pluck(e,i);return n},T.object=function(e,t){for(var n={},i=0,r=M(e);r>i;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n},T.findIndex=t(1),T.findLastIndex=t(-1),T.sortedIndex=function(e,t,n,i){n=b(n,i,1);for(var r=n(t),a=0,o=M(e);o>a;){var s=Math.floor((a+o)/2);n(e[s])<r?a=s+1:o=s}return a},T.indexOf=n(1,T.findIndex,T.sortedIndex),T.lastIndexOf=n(-1,T.findLastIndex),T.range=function(e,t,n){null==t&&(t=e||0,e=0),n=n||1;for(var i=Math.max(Math.ceil((t-e)/n),0),r=Array(i),a=0;i>a;a++,e+=n)r[a]=e;return r};var G=function(e,t,n,i,r){if(!(i instanceof t))return e.apply(n,r);var a=w(e.prototype),o=e.apply(a,r);return T.isObject(o)?o:a};T.bind=function(e,t){if(m&&e.bind===m)return m.apply(e,c.call(arguments,1));if(!T.isFunction(e))throw new TypeError("Bind must be called on a function");var n=c.call(arguments,2),i=function(){return G(e,i,t,this,n.concat(c.call(arguments)))};return i},T.partial=function(e){var t=c.call(arguments,1),n=function(){for(var i=0,r=t.length,a=Array(r),o=0;r>o;o++)a[o]=t[o]===T?arguments[i++]:t[o];for(;i<arguments.length;)a.push(arguments[i++]);return G(e,n,this,this,a)};return n},T.bindAll=function(e){var t,n,i=arguments.length;if(1>=i)throw new Error("bindAll must be passed function names");for(t=1;i>t;t++)n=arguments[t],e[n]=T.bind(e[n],e);return e},T.memoize=function(e,t){var n=function(i){var r=n.cache,a=""+(t?t.apply(this,arguments):i);return T.has(r,a)||(r[a]=e.apply(this,arguments)),r[a]};return n.cache={},n},T.delay=function(e,t){var n=c.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},T.defer=T.partial(T.delay,T,1),T.throttle=function(e,t,n){var i,r,a,o=null,s=0;n||(n={});var l=function(){s=n.leading===!1?0:T.now(),o=null,a=e.apply(i,r),o||(i=r=null)};return function(){var u=T.now();s||n.leading!==!1||(s=u);var c=t-(u-s);return i=this,r=arguments,0>=c||c>t?(o&&(clearTimeout(o),o=null),s=u,a=e.apply(i,r),o||(i=r=null)):o||n.trailing===!1||(o=setTimeout(l,c)),a}},T.debounce=function(e,t,n){var i,r,a,o,s,l=function(){var u=T.now()-o;t>u&&u>=0?i=setTimeout(l,t-u):(i=null,n||(s=e.apply(a,r),i||(a=r=null)))};return function(){a=this,r=arguments,o=T.now();var u=n&&!i;return i||(i=setTimeout(l,t)),u&&(s=e.apply(a,r),a=r=null),s}},T.wrap=function(e,t){return T.partial(t,e)},T.negate=function(e){return function(){return!e.apply(this,arguments)}},T.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}},T.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},T.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=null),n}},T.once=T.partial(T.before,2);var B=!{toString:null}.propertyIsEnumerable("toString"),I=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];T.keys=function(e){if(!T.isObject(e))return[];if(h)return h(e);var t=[];for(var n in e)T.has(e,n)&&t.push(n);return B&&i(e,t),t},T.allKeys=function(e){if(!T.isObject(e))return[];var t=[];for(var n in e)t.push(n);return B&&i(e,t),t},T.values=function(e){for(var t=T.keys(e),n=t.length,i=Array(n),r=0;n>r;r++)i[r]=e[t[r]];return i},T.mapObject=function(e,t,n){t=b(t,n);for(var i,r=T.keys(e),a=r.length,o={},s=0;a>s;s++)i=r[s],o[i]=t(e[i],i,e);return o},T.pairs=function(e){for(var t=T.keys(e),n=t.length,i=Array(n),r=0;n>r;r++)i[r]=[t[r],e[t[r]]];return i},T.invert=function(e){for(var t={},n=T.keys(e),i=0,r=n.length;r>i;i++)t[e[n[i]]]=n[i];return t},T.functions=T.methods=function(e){var t=[];for(var n in e)T.isFunction(e[n])&&t.push(n);return t.sort()},T.extend=S(T.allKeys),T.extendOwn=T.assign=S(T.keys),T.findKey=function(e,t,n){t=b(t,n);for(var i,r=T.keys(e),a=0,o=r.length;o>a;a++)if(i=r[a],t(e[i],i,e))return i},T.pick=function(e,t,n){var i,r,a={},o=e;if(null==o)return a;T.isFunction(t)?(r=T.allKeys(o),i=y(t,n)):(r=E(arguments,!1,!1,1),i=function(e,t,n){return t in n},o=Object(o));for(var s=0,l=r.length;l>s;s++){var u=r[s],c=o[u];i(c,u,o)&&(a[u]=c)}return a},T.omit=function(e,t,n){if(T.isFunction(t))t=T.negate(t);else{var i=T.map(E(arguments,!1,!1,1),String);t=function(e,t){return!T.contains(i,t)}}return T.pick(e,t,n)},T.defaults=S(T.allKeys,!0),T.create=function(e,t){var n=w(e);return t&&T.extendOwn(n,t),n},T.clone=function(e){return T.isObject(e)?T.isArray(e)?e.slice():T.extend({},e):e},T.tap=function(e,t){return t(e),e},T.isMatch=function(e,t){var n=T.keys(t),i=n.length;if(null==e)return!i;for(var r=Object(e),a=0;i>a;a++){var o=n[a];if(t[o]!==r[o]||!(o in r))return!1}return!0};var k=function(e,t,n,i){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return e===t;e instanceof T&&(e=e._wrapped),t instanceof T&&(t=t._wrapped);var r=d.call(e);if(r!==d.call(t))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t}var a="[object Array]"===r;if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var o=e.constructor,s=t.constructor;if(o!==s&&!(T.isFunction(o)&&o instanceof o&&T.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],i=i||[];for(var l=n.length;l--;)if(n[l]===e)return i[l]===t;if(n.push(e),i.push(t),a){if(l=e.length,l!==t.length)return!1;for(;l--;)if(!k(e[l],t[l],n,i))return!1}else{var u,c=T.keys(e);if(l=c.length,T.keys(t).length!==l)return!1;for(;l--;)if(u=c[l],!T.has(t,u)||!k(e[u],t[u],n,i))return!1}return n.pop(),i.pop(),!0};T.isEqual=function(e,t){return k(e,t)},T.isEmpty=function(e){return null==e||(A(e)&&(T.isArray(e)||T.isString(e)||T.isArguments(e))?0===e.length:0===T.keys(e).length)},T.isElement=function(e){return!(!e||1!==e.nodeType)},T.isArray=f||function(e){return"[object Array]"===d.call(e)},T.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},T.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(e){T["is"+e]=function(t){return d.call(t)==="[object "+e+"]"}}),T.isArguments(arguments)||(T.isArguments=function(e){return T.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(T.isFunction=function(e){return"function"==typeof e||!1}),T.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},T.isNaN=function(e){return T.isNumber(e)&&e!==+e},T.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"===d.call(e)},T.isNull=function(e){return null===e},T.isUndefined=function(e){return void 0===e},T.has=function(e,t){return null!=e&&p.call(e,t)},T.noConflict=function(){return r._=a,this},T.identity=function(e){return e},T.constant=function(e){return function(){return e}},T.noop=function(){},T.property=C,T.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},T.matcher=T.matches=function(e){return e=T.extendOwn({},e),function(t){return T.isMatch(t,e)}},T.times=function(e,t,n){var i=Array(Math.max(0,e));t=y(t,n,1);for(var r=0;e>r;r++)i[r]=t(r);return i},T.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},T.now=Date.now||function(){return(new Date).getTime()};var D={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},H=T.invert(D),L=function(e){var t=function(t){return e[t]},n="(?:"+T.keys(e).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(r,t):e}};T.escape=L(D),T.unescape=L(H),T.result=function(e,t,n){var i=null==e?void 0:e[t];return void 0===i&&(i=n),T.isFunction(i)?i.call(e):i};var N=0;T.uniqueId=function(e){var t=++N+"";return e?e+t:t},T.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var O=/(.)^/,_={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},R=/\\|'|\r|\n|\u2028|\u2029/g,z=function(e){return"\\"+_[e]};T.template=function(e,t,n){!t&&n&&(t=n),t=T.defaults({},t,T.templateSettings);var i=RegExp([(t.escape||O).source,(t.interpolate||O).source,(t.evaluate||O).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(i,function(t,n,i,o,s){return a+=e.slice(r,s).replace(R,z),r=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":o&&(a+="';\n"+o+"\n__p+='"),t}),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{var o=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return o.call(this,e,T)},l=t.variable||"obj";return s.source="function("+l+"){\n"+a+"}",s},T.chain=function(e){var t=T(e);return t._chain=!0,t};var V=function(e,t){return e._chain?T(t).chain():t};T.mixin=function(e){T.each(T.functions(e),function(t){var n=T[t]=e[t];T.prototype[t]=function(){var e=[this._wrapped];return u.apply(e,arguments),V(this,n.apply(T,e))}})},T.mixin(T),T.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=o[e];T.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],V(this,n)}}),T.each(["concat","join","slice"],function(e){var t=o[e];T.prototype[e]=function(){return V(this,t.apply(this._wrapped,arguments))}}),T.prototype.value=function(){return this._wrapped},T.prototype.valueOf=T.prototype.toJSON=T.prototype.value,T.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return T})}.call(this),define("Common",["jquery","AX","FastClick","AccordianMenu","ScreenTest","AutoScroll","Tab","Dialog","AutoHeight","TemporaryHide","MobileDetect","QRcodeGen","Webchat","underscore"],function(e,t,n,i,r,a,o,s,l,u,c,d,p,f){"use strict";var h={AJAXRequestPrefix:"api-"},m=!1,g=!1,v=!1,T=window,y=document,b=e(T),S=e(y),w=e("body"),C=t.Util.log,x=function(){r.init(),m=r.screen.bIsMobileMode,g=r.screen.bIsTabletMode,v=r.screen.bIsDesktopMode;var e=r.add;return{add:e}}(),M=function(){var t={},n={selector:".auto-height"},i=function(){e.each(r,function(){this.update()})},r=[],a=function(i){t=e.extend({},n,i),e(t.selector).each(function(){var e=new l(this);r.push(e)})};return{update:i,init:a}}(),A=function(){var e=function(){w.hasClass("no-scroll")||w.addClass("no-scroll")},t=function(){w.hasClass("no-scroll")&&w.removeClass("no-scroll")},n=function(){};return{noScroll:e,scroll:t,init:n}}();!function(){var t=new c(T.navigator.userAgent),n=!!t.version("MicroMessenger");n||v||e("#footer-weixin-id").attr("href","#weixinQRcodeDialog").attr("data-toggle","dialog")}();var P=function(){var t=e(".header"),n=function(){t.removeClass("scroll")},i=function(){t.addClass("scroll")};return i(),{fixed:n,scroll:i}}(),E=function(){var t={},n={openCall:null,closeCall:null},i=e(".search-panel"),r=e(".top-nav .search .icon"),a=!1,o=function(){return e(".nav").hasClass("show")&&e(".nav").removeClass("show"),a?l():s(),!1},s=function(){v&&e("#searchInput").trigger("focus"),i.addClass("show"),P.fixed(),v||r.removeClass("icon-search-thick").addClass("icon-close-sharp"),A.noScroll(),t.openCall&&t.openCall(),a=!0},l=function(){i.removeClass("show"),r.addClass("icon-search-thick").removeClass("icon-close-sharp"),e(".nav").hasClass("show")||P.scroll(),A.scroll(),a=!1,t.closeCall&&t.closeCall()},u=function(i){t=e.extend({},n,i),S.on("click",".search",o),v&&S.on("click",l)};return{open:s,close:l,init:u}}(),G=function(){var t={},n={beforeSearch:null,$input:e("#searchInput"),$searchBtn:e("#searchBtn"),searchRequestUrl:"/searchresults/?query="},i=function(e){var t=/^\s+$/g;return t.test(e)||""===e},r=function(e){var n=t.searchRequestUrl+encodeURIComponent(e);t.beforeSearch&&t.beforeSearch(e),T.location=n},a=function(){b.on("keyup",function(e){"13"==e.keyCode&&s()});var e=t.$input;e.on("focus input click",function(e){e.stopPropagation(),u()})},o=function(){var e=t.$searchBtn;e.on("click",function(e){e.stopPropagation(),s(),u()})},s=function(){var e=t.$input.val();return!i(e)&&void r(e)},l=function(i){t=e.extend({},n,i),a(),o()},u=function(){var e=t.$input,n=t.$searchBtn;t.$searchBtn.find(".icon-search-thick");i(e.val())?n.removeClass("icon-search-thick-active"):n.addClass("icon-search-thick-active")};return{init:l}}(),B=function(){var n=function(){this.defaults={keywordCountLimit:10,localDataName:"searchHistory",$container:e(".search-history ul"),$clearButton:e(".search-history .clear-btn"),searchRequestUrl:"/searchresults/?query="},this.template='<li><a class="text-limit" href="<%=url%>" title="<%=keyword%>"><%=keyword%></a><i class="icon icon-close-sharp"></i></li>'};n.prototype.init=function(t){this.config=e.extend({},this.defaults,t),this.bind(),this.update()},n.prototype.update=function(){this._fGetLocalKeywords(),this.render()},n.prototype.render=function(){var n="",i=this,r=this._fGetLocalKeywords();e.each(r,function(){n+=t.Util.Template(i.template,{url:i.config.searchRequestUrl+encodeURIComponent(this),keyword:f.escape(this)})}),this.config.$container.empty(),this.config.$container.append(n)},n.prototype._find=function(t){var n=this._fGetLocalKeywords();return e.inArray(t,n)},n.prototype.save=function(e){if(this._find(e)==-1){var n=this._fGetLocalKeywords();n.length<this.config.keywordCountLimit?n.unshift(e):(n.pop(),n.unshift(e)),t.Storage.set(this.config.localDataName,n),this.update()}},n.prototype.clearAll=function(e){var n=e.data;return t.Storage.clear(n.config.localDataName),n.update(),!1},n.prototype.remove=function(t){var n=t.data,i=e(t.target).prev("a"),r=i.attr("title");return n.del(r),!1},n.prototype.del=function(e){var n=this._find(e);if(n!==-1){var i=this._fGetLocalKeywords();i.splice(n,1),t.Storage.set(this.config.localDataName,i),this.update()}},n.prototype.bind=function(){var e=this;S.on("click",e.config.$clearButton.selector,e,e.clearAll),e.config.$container.on("click",".icon-close-sharp",e,e.remove)},n.prototype._fGetLocalKeywords=function(){return t.Storage.get(this.config.localDataName)||[]};var i=new n,r=function(){i.init()},a=function(e){i.save(e)};return{save:a,init:r}}(),I=function(){var n={},i={$container:e(".search-panel .hot-tag"),requestUrl:"/"+h.AJAXRequestPrefix+"hotkeywords",requestParam:"topK",keywordsCount:9,searchUrl:"/searchresults/?query=",template:'<a class="btn btn-link btn-default text-limit" href="<%=url%>" title="<%=keyword%>"><%=keyword%></a>'},r=function(i){var r="";return e.each(i,function(){var e=this,i=n.searchUrl+encodeURIComponent(e);r+=t.Util.Template(n.template,{url:i,keyword:f.escape(e)})}),r},a=function(e){n.$container.empty(),n.$container.append(e)},o=function(){var t={};t[n.requestParam]=n.keywordsCount,e.ajax({url:n.requestUrl,method:"POST",data:t,dataType:"json"}).done(function(e){a(r(e))}).fail(function(e){C("Get top search keywords failed.")})},s=function(t){n=e.extend({},i,t),o()};return{init:s}}(),k=function(){var t=e(".nav"),n=e(".nav > ul > li > a"),i=t.find(".sub-menu"),r=function(){return t.hasClass("show")?s():a(),!1},a=function(){t.addClass("show"),P.fixed(),E.close(),A.noScroll(),e(".nav-toggle>.icon").removeClass("icon-navigation-sharp").addClass("icon-close-sharp")},o=function(){t.removeClass("show"),n.removeClass("active"),e(".nav-toggle>.icon").addClass("icon-navigation-sharp").removeClass("icon-close-sharp")},s=function(){o(),P.scroll(),A.scroll()},l=function(){return 0==!e(this).next(".sub-menu").length?(n.removeClass("active"),e(this).addClass("active"),i.removeClass("show"),e(this).next(".sub-menu").addClass("show"),u(e(this).next(".sub-menu")),A.noScroll(),!1):void c()},u=function(e){var t=e.find('[data-toggle="link"]');t.length>0&&t.parent().hasClass("active")&&(t.parent().removeClass("active"),e.find('[data-toggle="tab"]').first().parent().addClass("active"),e.find('[data-toggle="tab"]').first().parent().find(".menu-child").addClass("show-md"))},c=function(){i.removeClass("show"),n.removeClass("active")},d=function(){v&&(n.removeClass("active"),i.removeClass("show"),s(),A.scroll())},p=function(){i.find("dl").each(function(){var t=e(this),n=t.find("dt").length;n%2&&t.addClass("odd-child"),f(t)})},f=function(){i.find(".menu-child").each(function(){var t=e(this);t.on("mousewheel",function(t){if(e(this).hasClass("scrollable")){var n=t.originalEvent,i=n.wheelDelta||-n.detail;this.scrollTop+=30*(i<0?1:-1),t.preventDefault()}})})},h=function(){e(this).prev("dt").toggleClass("mouse-hover")},m=function(){var t=e(this).prev("dt").find("a").attr("href");return T.location=t,!1},g=function(){var e=T.location.href,n={"/home/features/":"product","/pricing/":"price","/solutions/":"solutions","/partnerancasestudy/":"partnerAndCase","/isv-plan/":"partnerAndCase","/starter-guide/":"document","/video-center/":"document","/docs.azure.cn/":"document","/develop/":"document","/blog/":"community","/community/":"community","/support/":"support","/icp/":"support","/projectoxford/":"projectoxford"},i=function(){for(var t in n)if(e.indexOf(t)>-1)return n[t]};i()?t.find(".nav-"+i()).addClass("current"):t.find(".nav-index").addClass("current")},y=function(){S.on("click",".nav-toggle",r),S.on("mouseenter",".nav > ul > li > a",l),S.on("mouseleave",".nav",c),S.on("click",".content, .footer ",d),S.on("mouseover",".nav .sub-menu dl dd",h),S.on("mouseout",".nav .sub-menu dl dd",h),S.on("click",".nav .sub-menu dl dd",m),p(),f(),g()};return{hide:o,open:a,close:s,init:y}}(),D=function(){var t=[],n=function(){e.each(t,function(){this.update()})},i=function(){e(".auto-scroll").each(function(e,n){var i=new a(this);t.push(i)})};return{update:n,init:i}}(),H=function(){var t={},n={$tabNav:e(".tab-nav")},i=function(i){t=e.extend({},n,i),t.$tabNav.each(function(){var t=new o(e(this));t.init()})};return{init:i}}(),L=function(){var t=function(){e('[data-toggle="dialog"]').each(function(){var t=new s(e(this));t.init()})};return{init:t}}(),N=function(){var e=function(){v||n.attach(y.body)};return{init:e}}(),O=function(){var t=[],n=function(){for(var e=0;e<t.length;e++)t[e].render()},r=function(){e(".accordian-menu").each(function(n,r){var a={$container:e(r)},o=new i;o.init(a),t.push(o)})};return{init:r,update:n}}(),_=function(){var t={rules:[[e(".header .nav #nav_documentation_document-overview-video-center"),"hidden-xs hidden-sm"],[e(".header .nav #nav_documentation_icp"),"hidden-xs hidden-sm"],[e(".footer .footer-navigation #footer-calculator-id"),"hidden-xs hidden-sm"],[e(".footer .footer-navigation #footer-casestudy-id"),"hidden-xs hidden-sm"],[e(".footer .footer-navigation #footer-icp-id"),"hidden-xs hidden-sm"]]},n=function(){var e=new u;e.init(t)};return{init:n}}(),R=function(){var t=function(){var t=T.location.href;return t.match(/^((?!\/pricing\/calculator|\/icp\/|\/video-center\/|\/partnerancasestudy\/).)*$/)?new d:void e(".common-sidebar").hide()};return{init:t}}(),z=function(){var t=function(){e.ajaxSetup({beforeSend:function(e,t){var n=this.method||this.type;if("post"==n.toLowerCase())try{var i=JSON.parse(t.data);i.__RequestVerificationToken=getAntiForgeryToken(),t.data=JSON.stringify(i)}catch(e){t.data+="&__RequestVerificationToken="+getAntiForgeryToken()}}})};return{init:t}}();return{init:function(){z.init(),e(y).ready(function(){e(".header .nav").removeClass("loading")}),A.init(),E.init({openCall:k.hide}),k.init(),D.init(),O.init(),M.init(),B.init(),I.init(),G.init({beforeSearch:function(e){B.save(e)}}),H.init(),L.init(),x.add(D.update),x.add(M.update),x.add(O.update),N.init(),_.init(),R.init()}}}),define("Layout",["jquery","AX"],function(e,t){"use strict";var n=t.Util.log,i={},r={defaultLayout:{column:3,layout:"col3"},allClass:"col-md-2 col-md-8 col-md-10 col-md-12 hidden-all",layoutMapping:{threeColumn:{col1:["","col-md-12",""],col2l:["col-md-2","col-md-10",""],col2r:["","col-md-10","col-md-2"],col3:["col-md-2","col-md-8","col-md-2"]},twoColumn:{col2l:["col-md-2","col-md-10"],col2r:["col-md-10","col-md-2"],col1l:["","col-md-12"],col1r:["col-md-12",""]}},hiddenClass:"hidden-all",containerDom:e(".single-page"),equalHeight:!1},a=function(t){n("sLayoutName",t);var r,a=e.map(i.allClass.split(" "),function(e,t){return"."+e}).join(","),s=i.containerDom.find(".row").children(a),l=s.length;switch(l){case 3:r=i.layoutMapping.threeColumn[t];break;case 2:r=i.layoutMapping.twoColumn[t];break;default:r=i.layoutMapping.threeColumn[t]}o(s,r),n(s)},o=function(e,t){for(var n=0;n<t.length;n++)""===t[n]?e.eq(n).removeClass(i.allClass).addClass(i.hiddenClass):e.eq(n).removeClass(i.allClass).addClass(t[n])},s=function(t){i=e.extend({},r,t)};return{init:s,switchLayout:a}}),function(){"use strict";function e(e){e.fn.swiper=function(t){var i;return e(this).each(function(){var e=new n(this,t);i||(i=e)}),i}}var t,n=function(e,r){function o(e){return Math.floor(e)}function s(){var e=C.params.autoplay,t=C.slides.eq(C.activeIndex);t.attr("data-swiper-autoplay")&&(e=t.attr("data-swiper-autoplay")||C.params.autoplay),C.autoplayTimeoutId=setTimeout(function(){C.params.loop?(C.fixLoop(),C._slideNext(),C.emit("onAutoplay",C)):C.isEnd?r.autoplayStopOnLast?C.stopAutoplay():(C._slideTo(0),C.emit("onAutoplay",C)):(C._slideNext(),C.emit("onAutoplay",C))},e)}function l(e,n){var i=t(e.target);if(!i.is(n))if("string"==typeof n)i=i.parents(n);else if(n.nodeType){var r;return i.parents().each(function(e,t){t===n&&(r=n)}),r?n:void 0}if(0!==i.length)return i[0]}function u(e,t){t=t||{};var n=window.MutationObserver||window.WebkitMutationObserver,i=new n(function(e){e.forEach(function(e){C.onResize(!0),C.emit("onObserverUpdate",C,e)})});i.observe(e,{attributes:"undefined"==typeof t.attributes||t.attributes,childList:"undefined"==typeof t.childList||t.childList,characterData:"undefined"==typeof t.characterData||t.characterData}),C.observers.push(i)}function c(e){e.originalEvent&&(e=e.originalEvent);var t=e.keyCode||e.charCode;if(!C.params.allowSwipeToNext&&(C.isHorizontal()&&39===t||!C.isHorizontal()&&40===t))return!1;if(!C.params.allowSwipeToPrev&&(C.isHorizontal()&&37===t||!C.isHorizontal()&&38===t))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===t||39===t||38===t||40===t){var n=!1;if(C.container.parents("."+C.params.slideClass).length>0&&0===C.container.parents("."+C.params.slideActiveClass).length)return;var i={left:window.pageXOffset,top:window.pageYOffset},r=window.innerWidth,a=window.innerHeight,o=C.container.offset();C.rtl&&(o.left=o.left-C.container[0].scrollLeft);for(var s=[[o.left,o.top],[o.left+C.width,o.top],[o.left,o.top+C.height],[o.left+C.width,o.top+C.height]],l=0;l<s.length;l++){var u=s[l];u[0]>=i.left&&u[0]<=i.left+r&&u[1]>=i.top&&u[1]<=i.top+a&&(n=!0)}if(!n)return}C.isHorizontal()?(37!==t&&39!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===t&&!C.rtl||37===t&&C.rtl)&&C.slideNext(),(37===t&&!C.rtl||39===t&&C.rtl)&&C.slidePrev()):(38!==t&&40!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&C.slideNext(),38===t&&C.slidePrev())}}function d(){var e="onwheel",t=e in document;if(!t){var n=document.createElement("div");n.setAttribute(e,"return;"),t="function"==typeof n[e]}return!t&&document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0&&(t=document.implementation.hasFeature("Events.wheel","3.0")),t}function p(e){e.originalEvent&&(e=e.originalEvent);var t=0,n=C.rtl?-1:1,i=f(e);if(C.params.mousewheelForceToAxis)if(C.isHorizontal()){if(!(Math.abs(i.pixelX)>Math.abs(i.pixelY)))return;t=i.pixelX*n}else{if(!(Math.abs(i.pixelY)>Math.abs(i.pixelX)))return;t=i.pixelY}else t=Math.abs(i.pixelX)>Math.abs(i.pixelY)?-i.pixelX*n:-i.pixelY;if(0!==t){if(C.params.mousewheelInvert&&(t=-t),C.params.freeMode){var r=C.getWrapperTranslate()+t*C.params.mousewheelSensitivity,a=C.isBeginning,o=C.isEnd;if(r>=C.minTranslate()&&(r=C.minTranslate()),r<=C.maxTranslate()&&(r=C.maxTranslate()),C.setWrapperTransition(0),C.setWrapperTranslate(r),C.updateProgress(),C.updateActiveIndex(),(!a&&C.isBeginning||!o&&C.isEnd)&&C.updateClasses(),C.params.freeModeSticky?(clearTimeout(C.mousewheel.timeout),C.mousewheel.timeout=setTimeout(function(){C.slideReset()},300)):C.params.lazyLoading&&C.lazy&&C.lazy.load(),C.emit("onScroll",C,e),C.params.autoplay&&C.params.autoplayDisableOnInteraction&&C.stopAutoplay(),0===r||r===C.maxTranslate())return}else{if((new window.Date).getTime()-C.mousewheel.lastScrollTime>60)if(t<0)if(C.isEnd&&!C.params.loop||C.animating){if(C.params.mousewheelReleaseOnEdges)return!0}else C.slideNext(),C.emit("onScroll",C,e);else if(C.isBeginning&&!C.params.loop||C.animating){if(C.params.mousewheelReleaseOnEdges)return!0}else C.slidePrev(),C.emit("onScroll",C,e);C.mousewheel.lastScrollTime=(new window.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function f(e){var t=10,n=40,i=800,r=0,a=0,o=0,s=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(r=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(r=a,a=0),o=r*t,s=a*t,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||s)&&e.deltaMode&&(1===e.deltaMode?(o*=n,s*=n):(o*=i,s*=i)),o&&!r&&(r=o<1?-1:1),s&&!a&&(a=s<1?-1:1),{spinX:r,spinY:a,pixelX:o,pixelY:s}}function h(e,n){e=t(e);var i,r,a,o=C.rtl?-1:1;i=e.attr("data-swiper-parallax")||"0",r=e.attr("data-swiper-parallax-x"),a=e.attr("data-swiper-parallax-y"),r||a?(r=r||"0",a=a||"0"):C.isHorizontal()?(r=i,a="0"):(a=i,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*n*o+"%":r*n*o+"px",a=a.indexOf("%")>=0?parseInt(a,10)*n+"%":a*n+"px",e.transform("translate3d("+r+", "+a+",0px)")}function m(e){return 0!==e.indexOf("on")&&(e=e[0]!==e[0].toUpperCase()?"on"+e[0].toUpperCase()+e.substring(1):"on"+e),e}if(!(this instanceof n))return new n(e,r);var g={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationElementId:"swiper-controller",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},v=r&&r.virtualTranslate;r=r||{};var T={};for(var y in r)if("object"!=typeof r[y]||null===r[y]||(r[y].nodeType||r[y]===window||r[y]===document||"undefined"!=typeof i&&r[y]instanceof i||"undefined"!=typeof jQuery&&r[y]instanceof jQuery))T[y]=r[y];else{T[y]={};for(var b in r[y])T[y][b]=r[y][b]}for(var S in g)if("undefined"==typeof r[S])r[S]=g[S];else if("object"==typeof r[S])for(var w in g[S])"undefined"==typeof r[S][w]&&(r[S][w]=g[S][w]);var C=this;if(C.params=r,C.originalParams=T,C.classNames=[],"undefined"!=typeof t&&"undefined"!=typeof i&&(t=i),("undefined"!=typeof t||(t="undefined"==typeof i?window.Dom7||window.Zepto||window.jQuery:i))&&(C.$=t,C.currentBreakpoint=void 0,C.getActiveBreakpoint=function(){if(!C.params.breakpoints)return!1;var e,t=!1,n=[];for(e in C.params.breakpoints)C.params.breakpoints.hasOwnProperty(e)&&n.push(e);n.sort(function(e,t){return parseInt(e,10)>parseInt(t,10)});for(var i=0;i<n.length;i++)e=n[i],e>=window.innerWidth&&!t&&(t=e);return t||"max"},C.setBreakpoint=function(){var e=C.getActiveBreakpoint();if(e&&C.currentBreakpoint!==e){var t=e in C.params.breakpoints?C.params.breakpoints[e]:C.originalParams,n=C.params.loop&&t.slidesPerView!==C.params.slidesPerView;for(var i in t)C.params[i]=t[i];C.currentBreakpoint=e,n&&C.destroyLoop&&C.reLoop(!0)}},C.params.breakpoints&&C.setBreakpoint(),C.container=t(e),0!==C.container.length)){if(C.container.length>1){var x=[];return C.container.each(function(){x.push(new n(this,r))}),x}C.container[0].swiper=C,C.container.data("swiper",C),C.classNames.push(C.params.containerModifierClass+C.params.direction),C.params.freeMode&&C.classNames.push(C.params.containerModifierClass+"free-mode"),C.support.flexbox||(C.classNames.push(C.params.containerModifierClass+"no-flexbox"),C.params.slidesPerColumn=1),C.params.autoHeight&&C.classNames.push(C.params.containerModifierClass+"autoheight"),(C.params.parallax||C.params.watchSlidesVisibility)&&(C.params.watchSlidesProgress=!0),C.params.touchReleaseOnEdges&&(C.params.resistanceRatio=0),["cube","coverflow","flip"].indexOf(C.params.effect)>=0&&(C.support.transforms3d?(C.params.watchSlidesProgress=!0,C.classNames.push(C.params.containerModifierClass+"3d")):C.params.effect="slide"),"slide"!==C.params.effect&&C.classNames.push(C.params.containerModifierClass+C.params.effect),"cube"===C.params.effect&&(C.params.resistanceRatio=0,C.params.slidesPerView=1,
C.params.slidesPerColumn=1,C.params.slidesPerGroup=1,C.params.centeredSlides=!1,C.params.spaceBetween=0,C.params.virtualTranslate=!0,C.params.setWrapperSize=!1),"fade"!==C.params.effect&&"flip"!==C.params.effect||(C.params.slidesPerView=1,C.params.slidesPerColumn=1,C.params.slidesPerGroup=1,C.params.watchSlidesProgress=!0,C.params.spaceBetween=0,C.params.setWrapperSize=!1,"undefined"==typeof v&&(C.params.virtualTranslate=!0)),C.params.grabCursor&&C.support.touch&&(C.params.grabCursor=!1),C.wrapper=C.container.children("."+C.params.wrapperClass),C.params.pagination&&(C.paginationContainer=t(C.params.pagination),C.params.uniqueNavElements&&"string"==typeof C.params.pagination&&C.paginationContainer.length>1&&1===C.container.find(C.params.pagination).length&&(C.paginationContainer=C.container.find(C.params.pagination)),"bullets"===C.params.paginationType&&C.params.paginationClickable?C.paginationContainer.addClass(C.params.paginationModifierClass+"clickable"):C.params.paginationClickable=!1,C.paginationContainer.addClass(C.params.paginationModifierClass+C.params.paginationType)),(C.params.nextButton||C.params.prevButton)&&(C.params.nextButton&&(C.nextButton=t(C.params.nextButton),C.params.uniqueNavElements&&"string"==typeof C.params.nextButton&&C.nextButton.length>1&&1===C.container.find(C.params.nextButton).length&&(C.nextButton=C.container.find(C.params.nextButton))),C.params.prevButton&&(C.prevButton=t(C.params.prevButton),C.params.uniqueNavElements&&"string"==typeof C.params.prevButton&&C.prevButton.length>1&&1===C.container.find(C.params.prevButton).length&&(C.prevButton=C.container.find(C.params.prevButton)))),C.isHorizontal=function(){return"horizontal"===C.params.direction},C.rtl=C.isHorizontal()&&("rtl"===C.container[0].dir.toLowerCase()||"rtl"===C.container.css("direction")),C.rtl&&C.classNames.push(C.params.containerModifierClass+"rtl"),C.rtl&&(C.wrongRTL="-webkit-box"===C.wrapper.css("display")),C.params.slidesPerColumn>1&&C.classNames.push(C.params.containerModifierClass+"multirow"),C.device.android&&C.classNames.push(C.params.containerModifierClass+"android"),C.container.addClass(C.classNames.join(" ")),C.translate=0,C.progress=0,C.velocity=0,C.lockSwipeToNext=function(){C.params.allowSwipeToNext=!1,C.params.allowSwipeToPrev===!1&&C.params.grabCursor&&C.unsetGrabCursor()},C.lockSwipeToPrev=function(){C.params.allowSwipeToPrev=!1,C.params.allowSwipeToNext===!1&&C.params.grabCursor&&C.unsetGrabCursor()},C.lockSwipes=function(){C.params.allowSwipeToNext=C.params.allowSwipeToPrev=!1,C.params.grabCursor&&C.unsetGrabCursor()},C.unlockSwipeToNext=function(){C.params.allowSwipeToNext=!0,C.params.allowSwipeToPrev===!0&&C.params.grabCursor&&C.setGrabCursor()},C.unlockSwipeToPrev=function(){C.params.allowSwipeToPrev=!0,C.params.allowSwipeToNext===!0&&C.params.grabCursor&&C.setGrabCursor()},C.unlockSwipes=function(){C.params.allowSwipeToNext=C.params.allowSwipeToPrev=!0,C.params.grabCursor&&C.setGrabCursor()},C.setGrabCursor=function(e){C.container[0].style.cursor="move",C.container[0].style.cursor=e?"-webkit-grabbing":"-webkit-grab",C.container[0].style.cursor=e?"-moz-grabbin":"-moz-grab",C.container[0].style.cursor=e?"grabbing":"grab"},C.unsetGrabCursor=function(){C.container[0].style.cursor=""},C.params.grabCursor&&C.setGrabCursor(),C.imagesToLoad=[],C.imagesLoaded=0,C.loadImage=function(e,t,n,i,r,a){function o(){a&&a()}var s;e.complete&&r?o():t?(s=new window.Image,s.onload=o,s.onerror=o,i&&(s.sizes=i),n&&(s.srcset=n),t&&(s.src=t)):o()},C.preloadImages=function(){function e(){"undefined"!=typeof C&&null!==C&&(void 0!==C.imagesLoaded&&C.imagesLoaded++,C.imagesLoaded===C.imagesToLoad.length&&(C.params.updateOnImagesReady&&C.update(),C.emit("onImagesReady",C)))}C.imagesToLoad=C.container.find("img");for(var t=0;t<C.imagesToLoad.length;t++)C.loadImage(C.imagesToLoad[t],C.imagesToLoad[t].currentSrc||C.imagesToLoad[t].getAttribute("src"),C.imagesToLoad[t].srcset||C.imagesToLoad[t].getAttribute("srcset"),C.imagesToLoad[t].sizes||C.imagesToLoad[t].getAttribute("sizes"),!0,e)},C.autoplayTimeoutId=void 0,C.autoplaying=!1,C.autoplayPaused=!1,C.startAutoplay=function(){return"undefined"==typeof C.autoplayTimeoutId&&(!!C.params.autoplay&&(!C.autoplaying&&(C.autoplaying=!0,C.emit("onAutoplayStart",C),void s())))},C.stopAutoplay=function(e){C.autoplayTimeoutId&&(C.autoplayTimeoutId&&clearTimeout(C.autoplayTimeoutId),C.autoplaying=!1,C.autoplayTimeoutId=void 0,C.emit("onAutoplayStop",C))},C.pauseAutoplay=function(e){C.autoplayPaused||(C.autoplayTimeoutId&&clearTimeout(C.autoplayTimeoutId),C.autoplayPaused=!0,0===e?(C.autoplayPaused=!1,s()):C.wrapper.transitionEnd(function(){C&&(C.autoplayPaused=!1,C.autoplaying?s():C.stopAutoplay())}))},C.minTranslate=function(){return-C.snapGrid[0]},C.maxTranslate=function(){return-C.snapGrid[C.snapGrid.length-1]},C.updateAutoHeight=function(){var e=[],t=0;if("auto"!==C.params.slidesPerView&&C.params.slidesPerView>1)for(a=0;a<Math.ceil(C.params.slidesPerView);a++){var n=C.activeIndex+a;if(n>C.slides.length)break;e.push(C.slides.eq(n)[0])}else e.push(C.slides.eq(C.activeIndex)[0]);for(a=0;a<e.length;a++)if("undefined"!=typeof e[a]){var i=e[a].offsetHeight;t=i>t?i:t}t&&C.wrapper.css("height",t+"px")},C.updateContainerSize=function(){var e,t;e="undefined"!=typeof C.params.width?C.params.width:C.container[0].clientWidth,t="undefined"!=typeof C.params.height?C.params.height:C.container[0].clientHeight,0===e&&C.isHorizontal()||0===t&&!C.isHorizontal()||(e=e-parseInt(C.container.css("padding-left"),10)-parseInt(C.container.css("padding-right"),10),t=t-parseInt(C.container.css("padding-top"),10)-parseInt(C.container.css("padding-bottom"),10),C.width=e,C.height=t,C.size=C.isHorizontal()?C.width:C.height)},C.updateSlidesSize=function(){C.slides=C.wrapper.children("."+C.params.slideClass),C.snapGrid=[],C.slidesGrid=[],C.slidesSizesGrid=[];var e,t=C.params.spaceBetween,n=-C.params.slidesOffsetBefore,i=0,r=0;if("undefined"!=typeof C.size){"string"==typeof t&&t.indexOf("%")>=0&&(t=parseFloat(t.replace("%",""))/100*C.size),C.virtualSize=-t,C.rtl?C.slides.css({marginLeft:"",marginTop:""}):C.slides.css({marginRight:"",marginBottom:""});var a;C.params.slidesPerColumn>1&&(a=Math.floor(C.slides.length/C.params.slidesPerColumn)===C.slides.length/C.params.slidesPerColumn?C.slides.length:Math.ceil(C.slides.length/C.params.slidesPerColumn)*C.params.slidesPerColumn,"auto"!==C.params.slidesPerView&&"row"===C.params.slidesPerColumnFill&&(a=Math.max(a,C.params.slidesPerView*C.params.slidesPerColumn)));var s,l=C.params.slidesPerColumn,u=a/l,c=u-(C.params.slidesPerColumn*u-C.slides.length);for(e=0;e<C.slides.length;e++){s=0;var d=C.slides.eq(e);if(C.params.slidesPerColumn>1){var p,f,h;"column"===C.params.slidesPerColumnFill?(f=Math.floor(e/l),h=e-f*l,(f>c||f===c&&h===l-1)&&++h>=l&&(h=0,f++),p=f+h*a/l,d.css({"-webkit-box-ordinal-group":p,"-moz-box-ordinal-group":p,"-ms-flex-order":p,"-webkit-order":p,order:p})):(h=Math.floor(e/u),f=e-h*u),d.css("margin-"+(C.isHorizontal()?"top":"left"),0!==h&&C.params.spaceBetween&&C.params.spaceBetween+"px").attr("data-swiper-column",f).attr("data-swiper-row",h)}"none"!==d.css("display")&&("auto"===C.params.slidesPerView?(s=C.isHorizontal()?d.outerWidth(!0):d.outerHeight(!0),C.params.roundLengths&&(s=o(s))):(s=(C.size-(C.params.slidesPerView-1)*t)/C.params.slidesPerView,C.params.roundLengths&&(s=o(s)),C.isHorizontal()?C.slides[e].style.width=s+"px":C.slides[e].style.height=s+"px"),C.slides[e].swiperSlideSize=s,C.slidesSizesGrid.push(s),C.params.centeredSlides?(n=n+s/2+i/2+t,0===e&&(n=n-C.size/2-t),Math.abs(n)<.001&&(n=0),r%C.params.slidesPerGroup===0&&C.snapGrid.push(n),C.slidesGrid.push(n)):(r%C.params.slidesPerGroup===0&&C.snapGrid.push(n),C.slidesGrid.push(n),n=n+s+t),C.virtualSize+=s+t,i=s,r++)}C.virtualSize=Math.max(C.virtualSize,C.size)+C.params.slidesOffsetAfter;var m;if(C.rtl&&C.wrongRTL&&("slide"===C.params.effect||"coverflow"===C.params.effect)&&C.wrapper.css({width:C.virtualSize+C.params.spaceBetween+"px"}),C.support.flexbox&&!C.params.setWrapperSize||(C.isHorizontal()?C.wrapper.css({width:C.virtualSize+C.params.spaceBetween+"px"}):C.wrapper.css({height:C.virtualSize+C.params.spaceBetween+"px"})),C.params.slidesPerColumn>1&&(C.virtualSize=(s+C.params.spaceBetween)*a,C.virtualSize=Math.ceil(C.virtualSize/C.params.slidesPerColumn)-C.params.spaceBetween,C.isHorizontal()?C.wrapper.css({width:C.virtualSize+C.params.spaceBetween+"px"}):C.wrapper.css({height:C.virtualSize+C.params.spaceBetween+"px"}),C.params.centeredSlides)){for(m=[],e=0;e<C.snapGrid.length;e++)C.snapGrid[e]<C.virtualSize+C.snapGrid[0]&&m.push(C.snapGrid[e]);C.snapGrid=m}if(!C.params.centeredSlides){for(m=[],e=0;e<C.snapGrid.length;e++)C.snapGrid[e]<=C.virtualSize-C.size&&m.push(C.snapGrid[e]);C.snapGrid=m,Math.floor(C.virtualSize-C.size)-Math.floor(C.snapGrid[C.snapGrid.length-1])>1&&C.snapGrid.push(C.virtualSize-C.size)}0===C.snapGrid.length&&(C.snapGrid=[0]),0!==C.params.spaceBetween&&(C.isHorizontal()?C.rtl?C.slides.css({marginLeft:t+"px"}):C.slides.css({marginRight:t+"px"}):C.slides.css({marginBottom:t+"px"})),C.params.watchSlidesProgress&&C.updateSlidesOffset()}},C.updateSlidesOffset=function(){for(var e=0;e<C.slides.length;e++)C.slides[e].swiperSlideOffset=C.isHorizontal()?C.slides[e].offsetLeft:C.slides[e].offsetTop},C.updateSlidesProgress=function(e){if("undefined"==typeof e&&(e=C.translate||0),0!==C.slides.length){"undefined"==typeof C.slides[0].swiperSlideOffset&&C.updateSlidesOffset();var t=-e;C.rtl&&(t=e),C.slides.removeClass(C.params.slideVisibleClass);for(var n=0;n<C.slides.length;n++){var i=C.slides[n],r=(t+(C.params.centeredSlides?C.minTranslate():0)-i.swiperSlideOffset)/(i.swiperSlideSize+C.params.spaceBetween);if(C.params.watchSlidesVisibility){var a=-(t-i.swiperSlideOffset),o=a+C.slidesSizesGrid[n],s=a>=0&&a<C.size||o>0&&o<=C.size||a<=0&&o>=C.size;s&&C.slides.eq(n).addClass(C.params.slideVisibleClass)}i.progress=C.rtl?-r:r}}},C.updateProgress=function(e){"undefined"==typeof e&&(e=C.translate||0);var t=C.maxTranslate()-C.minTranslate(),n=C.isBeginning,i=C.isEnd;0===t?(C.progress=0,C.isBeginning=C.isEnd=!0):(C.progress=(e-C.minTranslate())/t,C.isBeginning=C.progress<=0,C.isEnd=C.progress>=1),C.isBeginning&&!n&&C.emit("onReachBeginning",C),C.isEnd&&!i&&C.emit("onReachEnd",C),C.params.watchSlidesProgress&&C.updateSlidesProgress(e),C.emit("onProgress",C,C.progress)},C.updateActiveIndex=function(){var e,t,n,i=C.rtl?C.translate:-C.translate;for(t=0;t<C.slidesGrid.length;t++)"undefined"!=typeof C.slidesGrid[t+1]?i>=C.slidesGrid[t]&&i<C.slidesGrid[t+1]-(C.slidesGrid[t+1]-C.slidesGrid[t])/2?e=t:i>=C.slidesGrid[t]&&i<C.slidesGrid[t+1]&&(e=t+1):i>=C.slidesGrid[t]&&(e=t);C.params.normalizeSlideIndex&&(e<0||"undefined"==typeof e)&&(e=0),n=Math.floor(e/C.params.slidesPerGroup),n>=C.snapGrid.length&&(n=C.snapGrid.length-1),e!==C.activeIndex&&(C.snapIndex=n,C.previousIndex=C.activeIndex,C.activeIndex=e,C.updateClasses(),C.updateRealIndex())},C.updateRealIndex=function(){C.realIndex=C.slides.eq(C.activeIndex).attr("data-swiper-slide-index")||C.activeIndex},C.updateClasses=function(){C.slides.removeClass(C.params.slideActiveClass+" "+C.params.slideNextClass+" "+C.params.slidePrevClass+" "+C.params.slideDuplicateActiveClass+" "+C.params.slideDuplicateNextClass+" "+C.params.slideDuplicatePrevClass);var e=C.slides.eq(C.activeIndex);e.addClass(C.params.slideActiveClass),r.loop&&(e.hasClass(C.params.slideDuplicateClass)?C.wrapper.children("."+C.params.slideClass+":not(."+C.params.slideDuplicateClass+')[data-swiper-slide-index="'+C.realIndex+'"]').addClass(C.params.slideDuplicateActiveClass):C.wrapper.children("."+C.params.slideClass+"."+C.params.slideDuplicateClass+'[data-swiper-slide-index="'+C.realIndex+'"]').addClass(C.params.slideDuplicateActiveClass));var n=e.next("."+C.params.slideClass).addClass(C.params.slideNextClass);C.params.loop&&0===n.length&&(n=C.slides.eq(0),n.addClass(C.params.slideNextClass));var i=e.prev("."+C.params.slideClass).addClass(C.params.slidePrevClass);if(C.params.loop&&0===i.length&&(i=C.slides.eq(-1),i.addClass(C.params.slidePrevClass)),r.loop&&(n.hasClass(C.params.slideDuplicateClass)?C.wrapper.children("."+C.params.slideClass+":not(."+C.params.slideDuplicateClass+')[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(C.params.slideDuplicateNextClass):C.wrapper.children("."+C.params.slideClass+"."+C.params.slideDuplicateClass+'[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(C.params.slideDuplicateNextClass),i.hasClass(C.params.slideDuplicateClass)?C.wrapper.children("."+C.params.slideClass+":not(."+C.params.slideDuplicateClass+')[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(C.params.slideDuplicatePrevClass):C.wrapper.children("."+C.params.slideClass+"."+C.params.slideDuplicateClass+'[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(C.params.slideDuplicatePrevClass)),C.paginationContainer&&C.paginationContainer.length>0){var a,o=C.params.loop?Math.ceil((C.slides.length-2*C.loopedSlides)/C.params.slidesPerGroup):C.snapGrid.length;if(C.params.loop?(a=Math.ceil((C.activeIndex-C.loopedSlides)/C.params.slidesPerGroup),a>C.slides.length-1-2*C.loopedSlides&&(a-=C.slides.length-2*C.loopedSlides),a>o-1&&(a-=o),a<0&&"bullets"!==C.params.paginationType&&(a=o+a)):a="undefined"!=typeof C.snapIndex?C.snapIndex:C.activeIndex||0,"bullets"===C.params.paginationType&&C.bullets&&C.bullets.length>0&&(C.bullets.removeClass(C.params.bulletActiveClass),C.paginationContainer.length>1?C.bullets.each(function(){t(this).index()===a&&t(this).addClass(C.params.bulletActiveClass)}):C.bullets.eq(a).addClass(C.params.bulletActiveClass)),"fraction"===C.params.paginationType&&(C.paginationContainer.find("."+C.params.paginationCurrentClass).text(a+1),C.paginationContainer.find("."+C.params.paginationTotalClass).text(o)),"progress"===C.params.paginationType){var s=(a+1)/o,l=s,u=1;C.isHorizontal()||(u=s,l=1),C.paginationContainer.find("."+C.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX("+l+") scaleY("+u+")").transition(C.params.speed)}"custom"===C.params.paginationType&&C.params.paginationCustomRender&&(C.paginationContainer.html(C.params.paginationCustomRender(C,a+1,o)),C.emit("onPaginationRendered",C,C.paginationContainer[0]))}C.params.loop||(C.params.prevButton&&C.prevButton&&C.prevButton.length>0&&(C.isBeginning?(C.prevButton.addClass(C.params.buttonDisabledClass),C.params.a11y&&C.a11y&&C.a11y.disable(C.prevButton)):(C.prevButton.removeClass(C.params.buttonDisabledClass),C.params.a11y&&C.a11y&&C.a11y.enable(C.prevButton))),C.params.nextButton&&C.nextButton&&C.nextButton.length>0&&(C.isEnd?(C.nextButton.addClass(C.params.buttonDisabledClass),C.params.a11y&&C.a11y&&C.a11y.disable(C.nextButton)):(C.nextButton.removeClass(C.params.buttonDisabledClass),C.params.a11y&&C.a11y&&C.a11y.enable(C.nextButton))))},C.updatePagination=function(){if(C.params.pagination&&C.paginationContainer&&C.paginationContainer.length>0){var e="";if("bullets"===C.params.paginationType){for(var t=C.params.loop?Math.ceil((C.slides.length-2*C.loopedSlides)/C.params.slidesPerGroup):C.snapGrid.length,n=0;n<t;n++)e+=C.params.paginationBulletRender?C.params.paginationBulletRender(C,n,C.params.bulletClass):"<"+C.params.paginationElement+' class="'+C.params.bulletClass+'" id="'+C.params.paginationElementId+"-"+ +n+'"></'+C.params.paginationElement+">";C.paginationContainer.html(e),C.bullets=C.paginationContainer.find("."+C.params.bulletClass),C.params.paginationClickable&&C.params.a11y&&C.a11y&&C.a11y.initPagination()}"fraction"===C.params.paginationType&&(e=C.params.paginationFractionRender?C.params.paginationFractionRender(C,C.params.paginationCurrentClass,C.params.paginationTotalClass):'<span class="'+C.params.paginationCurrentClass+'"></span> / <span class="'+C.params.paginationTotalClass+'"></span>',C.paginationContainer.html(e)),"progress"===C.params.paginationType&&(e=C.params.paginationProgressRender?C.params.paginationProgressRender(C,C.params.paginationProgressbarClass):'<span class="'+C.params.paginationProgressbarClass+'"></span>',C.paginationContainer.html(e)),"custom"!==C.params.paginationType&&C.emit("onPaginationRendered",C,C.paginationContainer[0])}},C.update=function(e){function t(){C.rtl?-C.translate:C.translate;i=Math.min(Math.max(C.translate,C.maxTranslate()),C.minTranslate()),C.setWrapperTranslate(i),C.updateActiveIndex(),C.updateClasses()}if(C.updateContainerSize(),C.updateSlidesSize(),C.updateProgress(),C.updatePagination(),C.updateClasses(),C.params.scrollbar&&C.scrollbar&&C.scrollbar.set(),e){var n,i;C.controller&&C.controller.spline&&(C.controller.spline=void 0),C.params.freeMode?(t(),C.params.autoHeight&&C.updateAutoHeight()):(n=("auto"===C.params.slidesPerView||C.params.slidesPerView>1)&&C.isEnd&&!C.params.centeredSlides?C.slideTo(C.slides.length-1,0,!1,!0):C.slideTo(C.activeIndex,0,!1,!0),n||t())}else C.params.autoHeight&&C.updateAutoHeight()},C.onResize=function(e){C.params.breakpoints&&C.setBreakpoint();var t=C.params.allowSwipeToPrev,n=C.params.allowSwipeToNext;C.params.allowSwipeToPrev=C.params.allowSwipeToNext=!0,C.updateContainerSize(),C.updateSlidesSize(),("auto"===C.params.slidesPerView||C.params.freeMode||e)&&C.updatePagination(),C.params.scrollbar&&C.scrollbar&&C.scrollbar.set(),C.controller&&C.controller.spline&&(C.controller.spline=void 0);var i=!1;if(C.params.freeMode){var r=Math.min(Math.max(C.translate,C.maxTranslate()),C.minTranslate());C.setWrapperTranslate(r),C.updateActiveIndex(),C.updateClasses(),C.params.autoHeight&&C.updateAutoHeight()}else C.updateClasses(),i=("auto"===C.params.slidesPerView||C.params.slidesPerView>1)&&C.isEnd&&!C.params.centeredSlides?C.slideTo(C.slides.length-1,0,!1,!0):C.slideTo(C.activeIndex,0,!1,!0);C.params.lazyLoading&&!i&&C.lazy&&C.lazy.load(),C.params.allowSwipeToPrev=t,C.params.allowSwipeToNext=n},C.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?C.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(C.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),C.touchEvents={start:C.support.touch||!C.params.simulateTouch?"touchstart":C.touchEventsDesktop.start,move:C.support.touch||!C.params.simulateTouch?"touchmove":C.touchEventsDesktop.move,end:C.support.touch||!C.params.simulateTouch?"touchend":C.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===C.params.touchEventsTarget?C.container:C.wrapper).addClass("swiper-wp8-"+C.params.direction),C.initEvents=function(e){var t=e?"off":"on",n=e?"removeEventListener":"addEventListener",i="container"===C.params.touchEventsTarget?C.container[0]:C.wrapper[0],a=C.support.touch?i:document,o=!!C.params.nested;if(C.browser.ie)i[n](C.touchEvents.start,C.onTouchStart,!1),a[n](C.touchEvents.move,C.onTouchMove,o),a[n](C.touchEvents.end,C.onTouchEnd,!1);else{if(C.support.touch){var s=!("touchstart"!==C.touchEvents.start||!C.support.passiveListener||!C.params.passiveListeners)&&{passive:!0,capture:!1};i[n](C.touchEvents.start,C.onTouchStart,s),i[n](C.touchEvents.move,C.onTouchMove,o),i[n](C.touchEvents.end,C.onTouchEnd,s)}(r.simulateTouch&&!C.device.ios&&!C.device.android||r.simulateTouch&&!C.support.touch&&C.device.ios)&&(i[n]("mousedown",C.onTouchStart,!1),document[n]("mousemove",C.onTouchMove,o),document[n]("mouseup",C.onTouchEnd,!1))}window[n]("resize",C.onResize),C.params.nextButton&&C.nextButton&&C.nextButton.length>0&&(C.nextButton[t]("click",C.onClickNext),C.params.a11y&&C.a11y&&C.nextButton[t]("keydown",C.a11y.onEnterKey)),C.params.prevButton&&C.prevButton&&C.prevButton.length>0&&(C.prevButton[t]("click",C.onClickPrev),C.params.a11y&&C.a11y&&C.prevButton[t]("keydown",C.a11y.onEnterKey)),C.params.pagination&&C.params.paginationClickable&&(C.paginationContainer[t]("click","."+C.params.bulletClass,C.onClickIndex),C.params.a11y&&C.a11y&&C.paginationContainer[t]("keydown","."+C.params.bulletClass,C.a11y.onEnterKey)),(C.params.preventClicks||C.params.preventClicksPropagation)&&i[n]("click",C.preventClicks,!0)},C.attachEvents=function(){C.initEvents()},C.detachEvents=function(){C.initEvents(!0)},C.allowClick=!0,C.preventClicks=function(e){C.allowClick||(C.params.preventClicks&&e.preventDefault(),C.params.preventClicksPropagation&&C.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},C.onClickNext=function(e){e.preventDefault(),C.isEnd&&!C.params.loop||C.slideNext()},C.onClickPrev=function(e){e.preventDefault(),C.isBeginning&&!C.params.loop||C.slidePrev()},C.onClickIndex=function(e){e.preventDefault();var n=t(this).index()*C.params.slidesPerGroup;C.params.loop&&(n+=C.loopedSlides),C.slideTo(n)},C.updateClickedSlide=function(e){var n=l(e,"."+C.params.slideClass),i=!1;if(n)for(var r=0;r<C.slides.length;r++)C.slides[r]===n&&(i=!0);if(!n||!i)return C.clickedSlide=void 0,void(C.clickedIndex=void 0);if(C.clickedSlide=n,C.clickedIndex=t(n).index(),C.params.slideToClickedSlide&&void 0!==C.clickedIndex&&C.clickedIndex!==C.activeIndex){var a,o=C.clickedIndex;if(C.params.loop){if(C.animating)return;a=t(C.clickedSlide).attr("data-swiper-slide-index"),C.params.centeredSlides?o<C.loopedSlides-C.params.slidesPerView/2||o>C.slides.length-C.loopedSlides+C.params.slidesPerView/2?(C.fixLoop(),o=C.wrapper.children("."+C.params.slideClass+'[data-swiper-slide-index="'+a+'"]:not(.'+C.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){C.slideTo(o)},0)):C.slideTo(o):o>C.slides.length-C.params.slidesPerView?(C.fixLoop(),o=C.wrapper.children("."+C.params.slideClass+'[data-swiper-slide-index="'+a+'"]:not(.'+C.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){C.slideTo(o)},0)):C.slideTo(o)}else C.slideTo(o)}};var M,A,P,E,G,B,I,k,D,H,L="input, select, textarea, button, video",N=Date.now(),O=[];C.animating=!1,C.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var _,R;C.onTouchStart=function(e){if(e.originalEvent&&(e=e.originalEvent),_="touchstart"===e.type,_||!("which"in e)||3!==e.which){if(C.params.noSwiping&&l(e,"."+C.params.noSwipingClass))return void(C.allowClick=!0);if(!C.params.swipeHandler||l(e,C.params.swipeHandler)){var n=C.touches.currentX="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i=C.touches.currentY="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY;if(!(C.device.ios&&C.params.iOSEdgeSwipeDetection&&n<=C.params.iOSEdgeSwipeThreshold)){if(M=!0,A=!1,P=!0,G=void 0,R=void 0,C.touches.startX=n,C.touches.startY=i,E=Date.now(),C.allowClick=!0,C.updateContainerSize(),C.swipeDirection=void 0,C.params.threshold>0&&(k=!1),"touchstart"!==e.type){var r=!0;t(e.target).is(L)&&(r=!1),document.activeElement&&t(document.activeElement).is(L)&&document.activeElement.blur(),r&&e.preventDefault()}C.emit("onTouchStart",C,e)}}}},C.onTouchMove=function(e){if(e.originalEvent&&(e=e.originalEvent),!_||"mousemove"!==e.type){if(e.preventedByNestedSwiper)return C.touches.startX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,void(C.touches.startY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY);if(C.params.onlyExternal)return C.allowClick=!1,void(M&&(C.touches.startX=C.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,C.touches.startY=C.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,E=Date.now()));if(_&&C.params.touchReleaseOnEdges&&!C.params.loop)if(C.isHorizontal()){if(C.touches.currentX<C.touches.startX&&C.translate<=C.maxTranslate()||C.touches.currentX>C.touches.startX&&C.translate>=C.minTranslate())return}else if(C.touches.currentY<C.touches.startY&&C.translate<=C.maxTranslate()||C.touches.currentY>C.touches.startY&&C.translate>=C.minTranslate())return;if(_&&document.activeElement&&e.target===document.activeElement&&t(e.target).is(L))return A=!0,void(C.allowClick=!1);if(P&&C.emit("onTouchMove",C,e),!(e.targetTouches&&e.targetTouches.length>1)){if(C.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,C.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,"undefined"==typeof G){var n;C.isHorizontal()&&C.touches.currentY===C.touches.startY||!C.isHorizontal()&&C.touches.currentX!==C.touches.startX?G=!1:(n=180*Math.atan2(Math.abs(C.touches.currentY-C.touches.startY),Math.abs(C.touches.currentX-C.touches.startX))/Math.PI,G=C.isHorizontal()?n>C.params.touchAngle:90-n>C.params.touchAngle)}if(G&&C.emit("onTouchMoveOpposite",C,e),"undefined"==typeof R&&C.browser.ieTouch&&(C.touches.currentX===C.touches.startX&&C.touches.currentY===C.touches.startY||(R=!0)),M){if(G)return void(M=!1);if(R||!C.browser.ieTouch){C.allowClick=!1,C.emit("onSliderMove",C,e),e.preventDefault(),C.params.touchMoveStopPropagation&&!C.params.nested&&e.stopPropagation(),A||(r.loop&&C.fixLoop(),I=C.getWrapperTranslate(),C.setWrapperTransition(0),C.animating&&C.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),C.params.autoplay&&C.autoplaying&&(C.params.autoplayDisableOnInteraction?C.stopAutoplay():C.pauseAutoplay()),H=!1,!C.params.grabCursor||C.params.allowSwipeToNext!==!0&&C.params.allowSwipeToPrev!==!0||C.setGrabCursor(!0)),A=!0;var i=C.touches.diff=C.isHorizontal()?C.touches.currentX-C.touches.startX:C.touches.currentY-C.touches.startY;i*=C.params.touchRatio,C.rtl&&(i=-i),C.swipeDirection=i>0?"prev":"next",B=i+I;var a=!0;if(i>0&&B>C.minTranslate()?(a=!1,C.params.resistance&&(B=C.minTranslate()-1+Math.pow(-C.minTranslate()+I+i,C.params.resistanceRatio))):i<0&&B<C.maxTranslate()&&(a=!1,C.params.resistance&&(B=C.maxTranslate()+1-Math.pow(C.maxTranslate()-I-i,C.params.resistanceRatio))),a&&(e.preventedByNestedSwiper=!0),!C.params.allowSwipeToNext&&"next"===C.swipeDirection&&B<I&&(B=I),!C.params.allowSwipeToPrev&&"prev"===C.swipeDirection&&B>I&&(B=I),C.params.threshold>0){if(!(Math.abs(i)>C.params.threshold||k))return void(B=I);if(!k)return k=!0,C.touches.startX=C.touches.currentX,C.touches.startY=C.touches.currentY,B=I,void(C.touches.diff=C.isHorizontal()?C.touches.currentX-C.touches.startX:C.touches.currentY-C.touches.startY)}C.params.followFinger&&((C.params.freeMode||C.params.watchSlidesProgress)&&C.updateActiveIndex(),C.params.freeMode&&(0===O.length&&O.push({position:C.touches[C.isHorizontal()?"startX":"startY"],time:E}),O.push({position:C.touches[C.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),C.updateProgress(B),C.setWrapperTranslate(B))}}}}},C.onTouchEnd=function(e){if(e.originalEvent&&(e=e.originalEvent),P&&C.emit("onTouchEnd",C,e),P=!1,M){C.params.grabCursor&&A&&M&&(C.params.allowSwipeToNext===!0||C.params.allowSwipeToPrev===!0)&&C.setGrabCursor(!1);var n=Date.now(),i=n-E;if(C.allowClick&&(C.updateClickedSlide(e),C.emit("onTap",C,e),i<300&&n-N>300&&(D&&clearTimeout(D),D=setTimeout(function(){C&&(C.params.paginationHide&&C.paginationContainer.length>0&&!t(e.target).hasClass(C.params.bulletClass)&&C.paginationContainer.toggleClass(C.params.paginationHiddenClass),C.emit("onClick",C,e))},300)),i<300&&n-N<300&&(D&&clearTimeout(D),C.emit("onDoubleTap",C,e))),N=Date.now(),setTimeout(function(){C&&(C.allowClick=!0)},0),!M||!A||!C.swipeDirection||0===C.touches.diff||B===I)return void(M=A=!1);M=A=!1;var r;if(r=C.params.followFinger?C.rtl?C.translate:-C.translate:-B,C.params.freeMode){if(r<-C.minTranslate())return void C.slideTo(C.activeIndex);if(r>-C.maxTranslate())return void(C.slides.length<C.snapGrid.length?C.slideTo(C.snapGrid.length-1):C.slideTo(C.slides.length-1));if(C.params.freeModeMomentum){if(O.length>1){var a=O.pop(),o=O.pop(),s=a.position-o.position,l=a.time-o.time;C.velocity=s/l,C.velocity=C.velocity/2,Math.abs(C.velocity)<C.params.freeModeMinimumVelocity&&(C.velocity=0),(l>150||(new window.Date).getTime()-a.time>300)&&(C.velocity=0)}else C.velocity=0;C.velocity=C.velocity*C.params.freeModeMomentumVelocityRatio,O.length=0;var u=1e3*C.params.freeModeMomentumRatio,c=C.velocity*u,d=C.translate+c;C.rtl&&(d=-d);var p,f=!1,h=20*Math.abs(C.velocity)*C.params.freeModeMomentumBounceRatio;if(d<C.maxTranslate())C.params.freeModeMomentumBounce?(d+C.maxTranslate()<-h&&(d=C.maxTranslate()-h),p=C.maxTranslate(),f=!0,H=!0):d=C.maxTranslate();else if(d>C.minTranslate())C.params.freeModeMomentumBounce?(d-C.minTranslate()>h&&(d=C.minTranslate()+h),p=C.minTranslate(),f=!0,H=!0):d=C.minTranslate();else if(C.params.freeModeSticky){var m,g=0;for(g=0;g<C.snapGrid.length;g+=1)if(C.snapGrid[g]>-d){m=g;break}d=Math.abs(C.snapGrid[m]-d)<Math.abs(C.snapGrid[m-1]-d)||"next"===C.swipeDirection?C.snapGrid[m]:C.snapGrid[m-1],C.rtl||(d=-d)}if(0!==C.velocity)u=C.rtl?Math.abs((-d-C.translate)/C.velocity):Math.abs((d-C.translate)/C.velocity);else if(C.params.freeModeSticky)return void C.slideReset();C.params.freeModeMomentumBounce&&f?(C.updateProgress(p),C.setWrapperTransition(u),C.setWrapperTranslate(d),C.onTransitionStart(),C.animating=!0,C.wrapper.transitionEnd(function(){C&&H&&(C.emit("onMomentumBounce",C),C.setWrapperTransition(C.params.speed),C.setWrapperTranslate(p),C.wrapper.transitionEnd(function(){C&&C.onTransitionEnd()}))})):C.velocity?(C.updateProgress(d),C.setWrapperTransition(u),C.setWrapperTranslate(d),C.onTransitionStart(),C.animating||(C.animating=!0,C.wrapper.transitionEnd(function(){C&&C.onTransitionEnd()}))):C.updateProgress(d),C.updateActiveIndex()}return void((!C.params.freeModeMomentum||i>=C.params.longSwipesMs)&&(C.updateProgress(),C.updateActiveIndex()))}var v,T=0,y=C.slidesSizesGrid[0];for(v=0;v<C.slidesGrid.length;v+=C.params.slidesPerGroup)"undefined"!=typeof C.slidesGrid[v+C.params.slidesPerGroup]?r>=C.slidesGrid[v]&&r<C.slidesGrid[v+C.params.slidesPerGroup]&&(T=v,y=C.slidesGrid[v+C.params.slidesPerGroup]-C.slidesGrid[v]):r>=C.slidesGrid[v]&&(T=v,y=C.slidesGrid[C.slidesGrid.length-1]-C.slidesGrid[C.slidesGrid.length-2]);var b=(r-C.slidesGrid[T])/y;if(i>C.params.longSwipesMs){if(!C.params.longSwipes)return void C.slideTo(C.activeIndex);"next"===C.swipeDirection&&(b>=C.params.longSwipesRatio?C.slideTo(T+C.params.slidesPerGroup):C.slideTo(T)),"prev"===C.swipeDirection&&(b>1-C.params.longSwipesRatio?C.slideTo(T+C.params.slidesPerGroup):C.slideTo(T))}else{if(!C.params.shortSwipes)return void C.slideTo(C.activeIndex);"next"===C.swipeDirection&&C.slideTo(T+C.params.slidesPerGroup),"prev"===C.swipeDirection&&C.slideTo(T)}}},C._slideTo=function(e,t){return C.slideTo(e,t,!0,!0)},C.slideTo=function(e,t,n,i){"undefined"==typeof n&&(n=!0),"undefined"==typeof e&&(e=0),e<0&&(e=0),C.snapIndex=Math.floor(e/C.params.slidesPerGroup),C.snapIndex>=C.snapGrid.length&&(C.snapIndex=C.snapGrid.length-1);var r=-C.snapGrid[C.snapIndex];if(C.params.autoplay&&C.autoplaying&&(i||!C.params.autoplayDisableOnInteraction?C.pauseAutoplay(t):C.stopAutoplay()),C.updateProgress(r),C.params.normalizeSlideIndex)for(var a=0;a<C.slidesGrid.length;a++)-Math.floor(100*r)>=Math.floor(100*C.slidesGrid[a])&&(e=a);return!(!C.params.allowSwipeToNext&&r<C.translate&&r<C.minTranslate())&&(!(!C.params.allowSwipeToPrev&&r>C.translate&&r>C.maxTranslate()&&(C.activeIndex||0)!==e)&&("undefined"==typeof t&&(t=C.params.speed),C.previousIndex=C.activeIndex||0,C.activeIndex=e,C.updateRealIndex(),C.rtl&&-r===C.translate||!C.rtl&&r===C.translate?(C.params.autoHeight&&C.updateAutoHeight(),C.updateClasses(),"slide"!==C.params.effect&&C.setWrapperTranslate(r),!1):(C.updateClasses(),C.onTransitionStart(n),0===t||C.browser.lteIE9?(C.setWrapperTranslate(r),C.setWrapperTransition(0),C.onTransitionEnd(n)):(C.setWrapperTranslate(r),C.setWrapperTransition(t),C.animating||(C.animating=!0,C.wrapper.transitionEnd(function(){C&&C.onTransitionEnd(n)}))),!0)))},C.onTransitionStart=function(e){"undefined"==typeof e&&(e=!0),C.params.autoHeight&&C.updateAutoHeight(),C.lazy&&C.lazy.onTransitionStart(),e&&(C.emit("onTransitionStart",C),C.activeIndex!==C.previousIndex&&(C.emit("onSlideChangeStart",C),C.activeIndex>C.previousIndex?C.emit("onSlideNextStart",C):C.emit("onSlidePrevStart",C)))},C.onTransitionEnd=function(e){
C.animating=!1,C.setWrapperTransition(0),"undefined"==typeof e&&(e=!0),C.lazy&&C.lazy.onTransitionEnd(),e&&(C.emit("onTransitionEnd",C),C.activeIndex!==C.previousIndex&&(C.emit("onSlideChangeEnd",C),C.activeIndex>C.previousIndex?C.emit("onSlideNextEnd",C):C.emit("onSlidePrevEnd",C))),C.params.history&&C.history&&C.history.setHistory(C.params.history,C.activeIndex),C.params.hashnav&&C.hashnav&&C.hashnav.setHash()},C.slideNext=function(e,t,n){if(C.params.loop){if(C.animating)return!1;C.fixLoop();C.container[0].clientLeft;return C.slideTo(C.activeIndex+C.params.slidesPerGroup,t,e,n)}return C.slideTo(C.activeIndex+C.params.slidesPerGroup,t,e,n)},C._slideNext=function(e){return C.slideNext(!0,e,!0)},C.slidePrev=function(e,t,n){if(C.params.loop){if(C.animating)return!1;C.fixLoop();C.container[0].clientLeft;return C.slideTo(C.activeIndex-1,t,e,n)}return C.slideTo(C.activeIndex-1,t,e,n)},C._slidePrev=function(e){return C.slidePrev(!0,e,!0)},C.slideReset=function(e,t,n){return C.slideTo(C.activeIndex,t,e)},C.disableTouchControl=function(){return C.params.onlyExternal=!0,!0},C.enableTouchControl=function(){return C.params.onlyExternal=!1,!0},C.setWrapperTransition=function(e,t){C.wrapper.transition(e),"slide"!==C.params.effect&&C.effects[C.params.effect]&&C.effects[C.params.effect].setTransition(e),C.params.parallax&&C.parallax&&C.parallax.setTransition(e),C.params.scrollbar&&C.scrollbar&&C.scrollbar.setTransition(e),C.params.control&&C.controller&&C.controller.setTransition(e,t),C.emit("onSetTransition",C,e)},C.setWrapperTranslate=function(e,t,n){var i=0,r=0,a=0;C.isHorizontal()?i=C.rtl?-e:e:r=e,C.params.roundLengths&&(i=o(i),r=o(r)),C.params.virtualTranslate||(C.support.transforms3d?C.wrapper.transform("translate3d("+i+"px, "+r+"px, "+a+"px)"):C.wrapper.transform("translate("+i+"px, "+r+"px)")),C.translate=C.isHorizontal()?i:r;var s,l=C.maxTranslate()-C.minTranslate();s=0===l?0:(e-C.minTranslate())/l,s!==C.progress&&C.updateProgress(e),t&&C.updateActiveIndex(),"slide"!==C.params.effect&&C.effects[C.params.effect]&&C.effects[C.params.effect].setTranslate(C.translate),C.params.parallax&&C.parallax&&C.parallax.setTranslate(C.translate),C.params.scrollbar&&C.scrollbar&&C.scrollbar.setTranslate(C.translate),C.params.control&&C.controller&&C.controller.setTranslate(C.translate,n),C.emit("onSetTranslate",C,C.translate)},C.getTranslate=function(e,t){var n,i,r,a;return"undefined"==typeof t&&(t="x"),C.params.virtualTranslate?C.rtl?-C.translate:C.translate:(r=window.getComputedStyle(e,null),window.WebKitCSSMatrix?(i=r.transform||r.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),a=new window.WebKitCSSMatrix("none"===i?"":i)):(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=a.toString().split(",")),"x"===t&&(i=window.WebKitCSSMatrix?a.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=window.WebKitCSSMatrix?a.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),C.rtl&&i&&(i=-i),i||0)},C.getWrapperTranslate=function(e){return"undefined"==typeof e&&(e=C.isHorizontal()?"x":"y"),C.getTranslate(C.wrapper[0],e)},C.observers=[],C.initObservers=function(){if(C.params.observeParents)for(var e=C.container.parents(),t=0;t<e.length;t++)u(e[t]);u(C.container[0],{childList:!1}),u(C.wrapper[0],{attributes:!1})},C.disconnectObservers=function(){for(var e=0;e<C.observers.length;e++)C.observers[e].disconnect();C.observers=[]},C.createLoop=function(){C.wrapper.children("."+C.params.slideClass+"."+C.params.slideDuplicateClass).remove();var e=C.wrapper.children("."+C.params.slideClass);"auto"!==C.params.slidesPerView||C.params.loopedSlides||(C.params.loopedSlides=e.length),C.loopedSlides=parseInt(C.params.loopedSlides||C.params.slidesPerView,10),C.loopedSlides=C.loopedSlides+C.params.loopAdditionalSlides,C.loopedSlides>e.length&&(C.loopedSlides=e.length);var n,i=[],r=[];for(e.each(function(n,a){var o=t(this);n<C.loopedSlides&&r.push(a),n<e.length&&n>=e.length-C.loopedSlides&&i.push(a),o.attr("data-swiper-slide-index",n)}),n=0;n<r.length;n++)C.wrapper.append(t(r[n].cloneNode(!0)).addClass(C.params.slideDuplicateClass));for(n=i.length-1;n>=0;n--)C.wrapper.prepend(t(i[n].cloneNode(!0)).addClass(C.params.slideDuplicateClass))},C.destroyLoop=function(){C.wrapper.children("."+C.params.slideClass+"."+C.params.slideDuplicateClass).remove(),C.slides.removeAttr("data-swiper-slide-index")},C.reLoop=function(e){var t=C.activeIndex-C.loopedSlides;C.destroyLoop(),C.createLoop(),C.updateSlidesSize(),e&&C.slideTo(t+C.loopedSlides,0,!1)},C.fixLoop=function(){var e;C.activeIndex<C.loopedSlides?(e=C.slides.length-3*C.loopedSlides+C.activeIndex,e+=C.loopedSlides,C.slideTo(e,0,!1,!0)):("auto"===C.params.slidesPerView&&C.activeIndex>=2*C.loopedSlides||C.activeIndex>C.slides.length-2*C.params.slidesPerView)&&(e=-C.slides.length+C.activeIndex+C.loopedSlides,e+=C.loopedSlides,C.slideTo(e,0,!1,!0))},C.appendSlide=function(e){if(C.params.loop&&C.destroyLoop(),"object"==typeof e&&e.length)for(var t=0;t<e.length;t++)e[t]&&C.wrapper.append(e[t]);else C.wrapper.append(e);C.params.loop&&C.createLoop(),C.params.observer&&C.support.observer||C.update(!0)},C.prependSlide=function(e){C.params.loop&&C.destroyLoop();var t=C.activeIndex+1;if("object"==typeof e&&e.length){for(var n=0;n<e.length;n++)e[n]&&C.wrapper.prepend(e[n]);t=C.activeIndex+e.length}else C.wrapper.prepend(e);C.params.loop&&C.createLoop(),C.params.observer&&C.support.observer||C.update(!0),C.slideTo(t,0,!1)},C.removeSlide=function(e){C.params.loop&&(C.destroyLoop(),C.slides=C.wrapper.children("."+C.params.slideClass));var t,n=C.activeIndex;if("object"==typeof e&&e.length){for(var i=0;i<e.length;i++)t=e[i],C.slides[t]&&C.slides.eq(t).remove(),t<n&&n--;n=Math.max(n,0)}else t=e,C.slides[t]&&C.slides.eq(t).remove(),t<n&&n--,n=Math.max(n,0);C.params.loop&&C.createLoop(),C.params.observer&&C.support.observer||C.update(!0),C.params.loop?C.slideTo(n+C.loopedSlides,0,!1):C.slideTo(n,0,!1)},C.removeAllSlides=function(){for(var e=[],t=0;t<C.slides.length;t++)e.push(t);C.removeSlide(e)},C.effects={fade:{setTranslate:function(){for(var e=0;e<C.slides.length;e++){var t=C.slides.eq(e),n=t[0].swiperSlideOffset,i=-n;C.params.virtualTranslate||(i-=C.translate);var r=0;C.isHorizontal()||(r=i,i=0);var a=C.params.fade.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:a}).transform("translate3d("+i+"px, "+r+"px, 0px)")}},setTransition:function(e){if(C.slides.transition(e),C.params.virtualTranslate&&0!==e){var t=!1;C.slides.transitionEnd(function(){if(!t&&C){t=!0,C.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],n=0;n<e.length;n++)C.wrapper.trigger(e[n])}})}}},flip:{setTranslate:function(){for(var e=0;e<C.slides.length;e++){var n=C.slides.eq(e),i=n[0].progress;C.params.flip.limitRotation&&(i=Math.max(Math.min(n[0].progress,1),-1));var r=n[0].swiperSlideOffset,a=-180*i,o=a,s=0,l=-r,u=0;if(C.isHorizontal()?C.rtl&&(o=-o):(u=l,l=0,s=-o,o=0),n[0].style.zIndex=-Math.abs(Math.round(i))+C.slides.length,C.params.flip.slideShadows){var c=C.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),d=C.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");0===c.length&&(c=t('<div class="swiper-slide-shadow-'+(C.isHorizontal()?"left":"top")+'"></div>'),n.append(c)),0===d.length&&(d=t('<div class="swiper-slide-shadow-'+(C.isHorizontal()?"right":"bottom")+'"></div>'),n.append(d)),c.length&&(c[0].style.opacity=Math.max(-i,0)),d.length&&(d[0].style.opacity=Math.max(i,0))}n.transform("translate3d("+l+"px, "+u+"px, 0px) rotateX("+s+"deg) rotateY("+o+"deg)")}},setTransition:function(e){if(C.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),C.params.virtualTranslate&&0!==e){var n=!1;C.slides.eq(C.activeIndex).transitionEnd(function(){if(!n&&C&&t(this).hasClass(C.params.slideActiveClass)){n=!0,C.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=0;i<e.length;i++)C.wrapper.trigger(e[i])}})}}},cube:{setTranslate:function(){var e,n=0;C.params.cube.shadow&&(C.isHorizontal()?(e=C.wrapper.find(".swiper-cube-shadow"),0===e.length&&(e=t('<div class="swiper-cube-shadow"></div>'),C.wrapper.append(e)),e.css({height:C.width+"px"})):(e=C.container.find(".swiper-cube-shadow"),0===e.length&&(e=t('<div class="swiper-cube-shadow"></div>'),C.container.append(e))));for(var i=0;i<C.slides.length;i++){var r=C.slides.eq(i),a=90*i,o=Math.floor(a/360);C.rtl&&(a=-a,o=Math.floor(-a/360));var s=Math.max(Math.min(r[0].progress,1),-1),l=0,u=0,c=0;i%4===0?(l=4*-o*C.size,c=0):(i-1)%4===0?(l=0,c=4*-o*C.size):(i-2)%4===0?(l=C.size+4*o*C.size,c=C.size):(i-3)%4===0&&(l=-C.size,c=3*C.size+4*C.size*o),C.rtl&&(l=-l),C.isHorizontal()||(u=l,l=0);var d="rotateX("+(C.isHorizontal()?0:-a)+"deg) rotateY("+(C.isHorizontal()?a:0)+"deg) translate3d("+l+"px, "+u+"px, "+c+"px)";if(s<=1&&s>-1&&(n=90*i+90*s,C.rtl&&(n=90*-i-90*s)),r.transform(d),C.params.cube.slideShadows){var p=C.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),f=C.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===p.length&&(p=t('<div class="swiper-slide-shadow-'+(C.isHorizontal()?"left":"top")+'"></div>'),r.append(p)),0===f.length&&(f=t('<div class="swiper-slide-shadow-'+(C.isHorizontal()?"right":"bottom")+'"></div>'),r.append(f)),p.length&&(p[0].style.opacity=Math.max(-s,0)),f.length&&(f[0].style.opacity=Math.max(s,0))}}if(C.wrapper.css({"-webkit-transform-origin":"50% 50% -"+C.size/2+"px","-moz-transform-origin":"50% 50% -"+C.size/2+"px","-ms-transform-origin":"50% 50% -"+C.size/2+"px","transform-origin":"50% 50% -"+C.size/2+"px"}),C.params.cube.shadow)if(C.isHorizontal())e.transform("translate3d(0px, "+(C.width/2+C.params.cube.shadowOffset)+"px, "+-C.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+C.params.cube.shadowScale+")");else{var h=Math.abs(n)-90*Math.floor(Math.abs(n)/90),m=1.5-(Math.sin(2*h*Math.PI/360)/2+Math.cos(2*h*Math.PI/360)/2),g=C.params.cube.shadowScale,v=C.params.cube.shadowScale/m,T=C.params.cube.shadowOffset;e.transform("scale3d("+g+", 1, "+v+") translate3d(0px, "+(C.height/2+T)+"px, "+-C.height/2/v+"px) rotateX(-90deg)")}var y=C.isSafari||C.isUiWebView?-C.size/2:0;C.wrapper.transform("translate3d(0px,0,"+y+"px) rotateX("+(C.isHorizontal()?0:n)+"deg) rotateY("+(C.isHorizontal()?-n:0)+"deg)")},setTransition:function(e){C.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),C.params.cube.shadow&&!C.isHorizontal()&&C.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var e=C.translate,n=C.isHorizontal()?-e+C.width/2:-e+C.height/2,i=C.isHorizontal()?C.params.coverflow.rotate:-C.params.coverflow.rotate,r=C.params.coverflow.depth,a=0,o=C.slides.length;a<o;a++){var s=C.slides.eq(a),l=C.slidesSizesGrid[a],u=s[0].swiperSlideOffset,c=(n-u-l/2)/l*C.params.coverflow.modifier,d=C.isHorizontal()?i*c:0,p=C.isHorizontal()?0:i*c,f=-r*Math.abs(c),h=C.isHorizontal()?0:C.params.coverflow.stretch*c,m=C.isHorizontal()?C.params.coverflow.stretch*c:0;Math.abs(m)<.001&&(m=0),Math.abs(h)<.001&&(h=0),Math.abs(f)<.001&&(f=0),Math.abs(d)<.001&&(d=0),Math.abs(p)<.001&&(p=0);var g="translate3d("+m+"px,"+h+"px,"+f+"px)  rotateX("+p+"deg) rotateY("+d+"deg)";if(s.transform(g),s[0].style.zIndex=-Math.abs(Math.round(c))+1,C.params.coverflow.slideShadows){var v=C.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),T=C.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===v.length&&(v=t('<div class="swiper-slide-shadow-'+(C.isHorizontal()?"left":"top")+'"></div>'),s.append(v)),0===T.length&&(T=t('<div class="swiper-slide-shadow-'+(C.isHorizontal()?"right":"bottom")+'"></div>'),s.append(T)),v.length&&(v[0].style.opacity=c>0?c:0),T.length&&(T[0].style.opacity=-c>0?-c:0)}}if(C.browser.ie){var y=C.wrapper[0].style;y.perspectiveOrigin=n+"px 50%"}},setTransition:function(e){C.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},C.lazy={initialImageLoaded:!1,loadImageInSlide:function(e,n){if("undefined"!=typeof e&&("undefined"==typeof n&&(n=!0),0!==C.slides.length)){var i=C.slides.eq(e),r=i.find("."+C.params.lazyLoadingClass+":not(."+C.params.lazyStatusLoadedClass+"):not(."+C.params.lazyStatusLoadingClass+")");!i.hasClass(C.params.lazyLoadingClass)||i.hasClass(C.params.lazyStatusLoadedClass)||i.hasClass(C.params.lazyStatusLoadingClass)||(r=r.add(i[0])),0!==r.length&&r.each(function(){var e=t(this);e.addClass(C.params.lazyStatusLoadingClass);var r=e.attr("data-background"),a=e.attr("data-src"),o=e.attr("data-srcset"),s=e.attr("data-sizes");C.loadImage(e[0],a||r,o,s,!1,function(){if(r?(e.css("background-image",'url("'+r+'")'),e.removeAttr("data-background")):(o&&(e.attr("srcset",o),e.removeAttr("data-srcset")),s&&(e.attr("sizes",s),e.removeAttr("data-sizes")),a&&(e.attr("src",a),e.removeAttr("data-src"))),e.addClass(C.params.lazyStatusLoadedClass).removeClass(C.params.lazyStatusLoadingClass),i.find("."+C.params.lazyPreloaderClass+", ."+C.params.preloaderClass).remove(),C.params.loop&&n){var t=i.attr("data-swiper-slide-index");if(i.hasClass(C.params.slideDuplicateClass)){var l=C.wrapper.children('[data-swiper-slide-index="'+t+'"]:not(.'+C.params.slideDuplicateClass+")");C.lazy.loadImageInSlide(l.index(),!1)}else{var u=C.wrapper.children("."+C.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]');C.lazy.loadImageInSlide(u.index(),!1)}}C.emit("onLazyImageReady",C,i[0],e[0])}),C.emit("onLazyImageLoad",C,i[0],e[0])})}},load:function(){var e,n=C.params.slidesPerView;if("auto"===n&&(n=0),C.lazy.initialImageLoaded||(C.lazy.initialImageLoaded=!0),C.params.watchSlidesVisibility)C.wrapper.children("."+C.params.slideVisibleClass).each(function(){C.lazy.loadImageInSlide(t(this).index())});else if(n>1)for(e=C.activeIndex;e<C.activeIndex+n;e++)C.slides[e]&&C.lazy.loadImageInSlide(e);else C.lazy.loadImageInSlide(C.activeIndex);if(C.params.lazyLoadingInPrevNext)if(n>1||C.params.lazyLoadingInPrevNextAmount&&C.params.lazyLoadingInPrevNextAmount>1){var i=C.params.lazyLoadingInPrevNextAmount,r=n,a=Math.min(C.activeIndex+r+Math.max(i,r),C.slides.length),o=Math.max(C.activeIndex-Math.max(r,i),0);for(e=C.activeIndex+n;e<a;e++)C.slides[e]&&C.lazy.loadImageInSlide(e);for(e=o;e<C.activeIndex;e++)C.slides[e]&&C.lazy.loadImageInSlide(e)}else{var s=C.wrapper.children("."+C.params.slideNextClass);s.length>0&&C.lazy.loadImageInSlide(s.index());var l=C.wrapper.children("."+C.params.slidePrevClass);l.length>0&&C.lazy.loadImageInSlide(l.index())}},onTransitionStart:function(){C.params.lazyLoading&&(C.params.lazyLoadingOnTransitionStart||!C.params.lazyLoadingOnTransitionStart&&!C.lazy.initialImageLoaded)&&C.lazy.load()},onTransitionEnd:function(){C.params.lazyLoading&&!C.params.lazyLoadingOnTransitionStart&&C.lazy.load()}},C.scrollbar={isTouched:!1,setDragPosition:function(e){var t=C.scrollbar,n=C.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY,i=n-t.track.offset()[C.isHorizontal()?"left":"top"]-t.dragSize/2,r=-C.minTranslate()*t.moveDivider,a=-C.maxTranslate()*t.moveDivider;i<r?i=r:i>a&&(i=a),i=-i/t.moveDivider,C.updateProgress(i),C.setWrapperTranslate(i,!0)},dragStart:function(e){var t=C.scrollbar;t.isTouched=!0,e.preventDefault(),e.stopPropagation(),t.setDragPosition(e),clearTimeout(t.dragTimeout),t.track.transition(0),C.params.scrollbarHide&&t.track.css("opacity",1),C.wrapper.transition(100),t.drag.transition(100),C.emit("onScrollbarDragStart",C)},dragMove:function(e){var t=C.scrollbar;t.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),C.wrapper.transition(0),t.track.transition(0),t.drag.transition(0),C.emit("onScrollbarDragMove",C))},dragEnd:function(e){var t=C.scrollbar;t.isTouched&&(t.isTouched=!1,C.params.scrollbarHide&&(clearTimeout(t.dragTimeout),t.dragTimeout=setTimeout(function(){t.track.css("opacity",0),t.track.transition(400)},1e3)),C.emit("onScrollbarDragEnd",C),C.params.scrollbarSnapOnRelease&&C.slideReset())},draggableEvents:function(){return C.params.simulateTouch!==!1||C.support.touch?C.touchEvents:C.touchEventsDesktop}(),enableDraggable:function(){var e=C.scrollbar,n=C.support.touch?e.track:document;t(e.track).on(e.draggableEvents.start,e.dragStart),t(n).on(e.draggableEvents.move,e.dragMove),t(n).on(e.draggableEvents.end,e.dragEnd)},disableDraggable:function(){var e=C.scrollbar,n=C.support.touch?e.track:document;t(e.track).off(C.draggableEvents.start,e.dragStart),t(n).off(C.draggableEvents.move,e.dragMove),t(n).off(C.draggableEvents.end,e.dragEnd)},set:function(){if(C.params.scrollbar){var e=C.scrollbar;e.track=t(C.params.scrollbar),C.params.uniqueNavElements&&"string"==typeof C.params.scrollbar&&e.track.length>1&&1===C.container.find(C.params.scrollbar).length&&(e.track=C.container.find(C.params.scrollbar)),e.drag=e.track.find(".swiper-scrollbar-drag"),0===e.drag.length&&(e.drag=t('<div class="swiper-scrollbar-drag"></div>'),e.track.append(e.drag)),e.drag[0].style.width="",e.drag[0].style.height="",e.trackSize=C.isHorizontal()?e.track[0].offsetWidth:e.track[0].offsetHeight,e.divider=C.size/C.virtualSize,e.moveDivider=e.divider*(e.trackSize/C.size),e.dragSize=e.trackSize*e.divider,C.isHorizontal()?e.drag[0].style.width=e.dragSize+"px":e.drag[0].style.height=e.dragSize+"px",e.divider>=1?e.track[0].style.display="none":e.track[0].style.display="",C.params.scrollbarHide&&(e.track[0].style.opacity=0)}},setTranslate:function(){if(C.params.scrollbar){var e,t=C.scrollbar,n=(C.translate||0,t.dragSize);e=(t.trackSize-t.dragSize)*C.progress,C.rtl&&C.isHorizontal()?(e=-e,e>0?(n=t.dragSize-e,e=0):-e+t.dragSize>t.trackSize&&(n=t.trackSize+e)):e<0?(n=t.dragSize+e,e=0):e+t.dragSize>t.trackSize&&(n=t.trackSize-e),C.isHorizontal()?(C.support.transforms3d?t.drag.transform("translate3d("+e+"px, 0, 0)"):t.drag.transform("translateX("+e+"px)"),t.drag[0].style.width=n+"px"):(C.support.transforms3d?t.drag.transform("translate3d(0px, "+e+"px, 0)"):t.drag.transform("translateY("+e+"px)"),t.drag[0].style.height=n+"px"),C.params.scrollbarHide&&(clearTimeout(t.timeout),t.track[0].style.opacity=1,t.timeout=setTimeout(function(){t.track[0].style.opacity=0,t.track.transition(400)},1e3))}},setTransition:function(e){C.params.scrollbar&&C.scrollbar.drag.transition(e)}},C.controller={LinearSpline:function(e,t){this.x=e,this.y=t,this.lastIndex=e.length-1;var n,i;this.x.length;this.interpolate=function(e){return e?(i=r(this.x,e),n=i-1,(e-this.x[n])*(this.y[i]-this.y[n])/(this.x[i]-this.x[n])+this.y[n]):0};var r=function(){var e,t,n;return function(i,r){for(t=-1,e=i.length;e-t>1;)i[n=e+t>>1]<=r?t=n:e=n;return e}}()},getInterpolateFunction:function(e){C.controller.spline||(C.controller.spline=C.params.loop?new C.controller.LinearSpline(C.slidesGrid,e.slidesGrid):new C.controller.LinearSpline(C.snapGrid,e.snapGrid))},setTranslate:function(e,t){function i(t){e=t.rtl&&"horizontal"===t.params.direction?-C.translate:C.translate,"slide"===C.params.controlBy&&(C.controller.getInterpolateFunction(t),a=-C.controller.spline.interpolate(-e)),a&&"container"!==C.params.controlBy||(r=(t.maxTranslate()-t.minTranslate())/(C.maxTranslate()-C.minTranslate()),a=(e-C.minTranslate())*r+t.minTranslate()),C.params.controlInverse&&(a=t.maxTranslate()-a),t.updateProgress(a),t.setWrapperTranslate(a,!1,C),t.updateActiveIndex()}var r,a,o=C.params.control;if(C.isArray(o))for(var s=0;s<o.length;s++)o[s]!==t&&o[s]instanceof n&&i(o[s]);else o instanceof n&&t!==o&&i(o)},setTransition:function(e,t){function i(t){t.setWrapperTransition(e,C),0!==e&&(t.onTransitionStart(),t.wrapper.transitionEnd(function(){a&&(t.params.loop&&"slide"===C.params.controlBy&&t.fixLoop(),t.onTransitionEnd())}))}var r,a=C.params.control;if(C.isArray(a))for(r=0;r<a.length;r++)a[r]!==t&&a[r]instanceof n&&i(a[r]);else a instanceof n&&t!==a&&i(a)}},C.hashnav={onHashCange:function(e,t){var n=document.location.hash.replace("#",""),i=C.slides.eq(C.activeIndex).attr("data-hash");n!==i&&C.slideTo(C.wrapper.children("."+C.params.slideClass+'[data-hash="'+n+'"]').index())},attachEvents:function(e){var n=e?"off":"on";t(window)[n]("hashchange",C.hashnav.onHashCange)},setHash:function(){if(C.hashnav.initialized&&C.params.hashnav)if(C.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,"#"+C.slides.eq(C.activeIndex).attr("data-hash")||"");else{var e=C.slides.eq(C.activeIndex),t=e.attr("data-hash")||e.attr("data-history");document.location.hash=t||""}},init:function(){if(C.params.hashnav&&!C.params.history){C.hashnav.initialized=!0;var e=document.location.hash.replace("#","");if(e){for(var t=0,n=0,i=C.slides.length;n<i;n++){var r=C.slides.eq(n),a=r.attr("data-hash")||r.attr("data-history");if(a===e&&!r.hasClass(C.params.slideDuplicateClass)){var o=r.index();C.slideTo(o,t,C.params.runCallbacksOnInit,!0)}}C.params.hashnavWatchState&&C.hashnav.attachEvents()}}},destroy:function(){C.params.hashnavWatchState&&C.hashnav.attachEvents(!0)}},C.history={init:function(){if(C.params.history){if(!window.history||!window.history.pushState)return C.params.history=!1,void(C.params.hashnav=!0);C.history.initialized=!0,this.paths=this.getPathValues(),(this.paths.key||this.paths.value)&&(this.scrollToSlide(0,this.paths.value,C.params.runCallbacksOnInit),C.params.replaceState||window.addEventListener("popstate",this.setHistoryPopState))}},setHistoryPopState:function(){C.history.paths=C.history.getPathValues(),C.history.scrollToSlide(C.params.speed,C.history.paths.value,!1)},getPathValues:function(){var e=window.location.pathname.slice(1).split("/"),t=e.length,n=e[t-2],i=e[t-1];return{key:n,value:i}},setHistory:function(e,t){if(C.history.initialized&&C.params.history){var n=C.slides.eq(t),i=this.slugify(n.attr("data-history"));window.location.pathname.includes(e)||(i=e+"/"+i),C.params.replaceState?window.history.replaceState(null,null,i):window.history.pushState(null,null,i)}},slugify:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){if(t)for(var i=0,r=C.slides.length;i<r;i++){var a=C.slides.eq(i),o=this.slugify(a.attr("data-history"));if(o===t&&!a.hasClass(C.params.slideDuplicateClass)){var s=a.index();C.slideTo(s,e,n)}}else C.slideTo(0,e,n)}},C.disableKeyboardControl=function(){C.params.keyboardControl=!1,t(document).off("keydown",c)},C.enableKeyboardControl=function(){C.params.keyboardControl=!0,t(document).on("keydown",c)},C.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},C.params.mousewheelControl&&(C.mousewheel.event=navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":d()?"wheel":"mousewheel"),C.disableMousewheelControl=function(){if(!C.mousewheel.event)return!1;var e=C.container;return"container"!==C.params.mousewheelEventsTarged&&(e=t(C.params.mousewheelEventsTarged)),e.off(C.mousewheel.event,p),!0},C.enableMousewheelControl=function(){if(!C.mousewheel.event)return!1;var e=C.container;return"container"!==C.params.mousewheelEventsTarged&&(e=t(C.params.mousewheelEventsTarged)),e.on(C.mousewheel.event,p),!0},C.parallax={setTranslate:function(){C.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){h(this,C.progress)}),C.slides.each(function(){var e=t(this);e.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var t=Math.min(Math.max(e[0].progress,-1),1);h(this,t)})})},setTransition:function(e){"undefined"==typeof e&&(e=C.params.speed),C.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var n=t(this),i=parseInt(n.attr("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),n.transition(i)})}},C.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:C.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,r=e.targetTouches[1].pageY,a=Math.sqrt(Math.pow(i-t,2)+Math.pow(r-n,2));return a},onGestureStart:function(e){var n=C.zoom;if(!C.support.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.gesture.scaleStart=n.getDistanceBetweenTouches(e)}return n.gesture.slide&&n.gesture.slide.length||(n.gesture.slide=t(this),0===n.gesture.slide.length&&(n.gesture.slide=C.slides.eq(C.activeIndex)),n.gesture.image=n.gesture.slide.find("img, svg, canvas"),n.gesture.imageWrap=n.gesture.image.parent("."+C.params.zoomContainerClass),n.gesture.zoomMax=n.gesture.imageWrap.attr("data-swiper-zoom")||C.params.zoomMax,0!==n.gesture.imageWrap.length)?(n.gesture.image.transition(0),void(n.isScaling=!0)):void(n.gesture.image=void 0)},onGestureChange:function(e){var t=C.zoom;if(!C.support.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;t.gesture.scaleMove=t.getDistanceBetweenTouches(e)}t.gesture.image&&0!==t.gesture.image.length&&(C.support.gestures?t.scale=e.scale*t.currentScale:t.scale=t.gesture.scaleMove/t.gesture.scaleStart*t.currentScale,t.scale>t.gesture.zoomMax&&(t.scale=t.gesture.zoomMax-1+Math.pow(t.scale-t.gesture.zoomMax+1,.5)),t.scale<C.params.zoomMin&&(t.scale=C.params.zoomMin+1-Math.pow(C.params.zoomMin-t.scale+1,.5)),t.gesture.image.transform("translate3d(0,0,0) scale("+t.scale+")"))},onGestureEnd:function(e){var t=C.zoom;!C.support.gestures&&("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2)||t.gesture.image&&0!==t.gesture.image.length&&(t.scale=Math.max(Math.min(t.scale,t.gesture.zoomMax),C.params.zoomMin),t.gesture.image.transition(C.params.speed).transform("translate3d(0,0,0) scale("+t.scale+")"),t.currentScale=t.scale,t.isScaling=!1,1===t.scale&&(t.gesture.slide=void 0))},onTouchStart:function(e,t){var n=e.zoom;n.gesture.image&&0!==n.gesture.image.length&&(n.image.isTouched||("android"===e.device.os&&t.preventDefault(),n.image.isTouched=!0,n.image.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,n.image.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))},onTouchMove:function(e){var t=C.zoom;if(t.gesture.image&&0!==t.gesture.image.length&&(C.allowClick=!1,t.image.isTouched&&t.gesture.slide)){t.image.isMoved||(t.image.width=t.gesture.image[0].offsetWidth,t.image.height=t.gesture.image[0].offsetHeight,t.image.startX=C.getTranslate(t.gesture.imageWrap[0],"x")||0,t.image.startY=C.getTranslate(t.gesture.imageWrap[0],"y")||0,t.gesture.slideWidth=t.gesture.slide[0].offsetWidth,t.gesture.slideHeight=t.gesture.slide[0].offsetHeight,t.gesture.imageWrap.transition(0));var n=t.image.width*t.scale,i=t.image.height*t.scale;if(!(n<t.gesture.slideWidth&&i<t.gesture.slideHeight)){if(t.image.minX=Math.min(t.gesture.slideWidth/2-n/2,0),t.image.maxX=-t.image.minX,t.image.minY=Math.min(t.gesture.slideHeight/2-i/2,0),t.image.maxY=-t.image.minY,t.image.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,t.image.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!t.image.isMoved&&!t.isScaling){if(C.isHorizontal()&&Math.floor(t.image.minX)===Math.floor(t.image.startX)&&t.image.touchesCurrent.x<t.image.touchesStart.x||Math.floor(t.image.maxX)===Math.floor(t.image.startX)&&t.image.touchesCurrent.x>t.image.touchesStart.x)return void(t.image.isTouched=!1);if(!C.isHorizontal()&&Math.floor(t.image.minY)===Math.floor(t.image.startY)&&t.image.touchesCurrent.y<t.image.touchesStart.y||Math.floor(t.image.maxY)===Math.floor(t.image.startY)&&t.image.touchesCurrent.y>t.image.touchesStart.y)return void(t.image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),t.image.isMoved=!0,t.image.currentX=t.image.touchesCurrent.x-t.image.touchesStart.x+t.image.startX,t.image.currentY=t.image.touchesCurrent.y-t.image.touchesStart.y+t.image.startY,t.image.currentX<t.image.minX&&(t.image.currentX=t.image.minX+1-Math.pow(t.image.minX-t.image.currentX+1,.8)),t.image.currentX>t.image.maxX&&(t.image.currentX=t.image.maxX-1+Math.pow(t.image.currentX-t.image.maxX+1,.8)),t.image.currentY<t.image.minY&&(t.image.currentY=t.image.minY+1-Math.pow(t.image.minY-t.image.currentY+1,.8)),t.image.currentY>t.image.maxY&&(t.image.currentY=t.image.maxY-1+Math.pow(t.image.currentY-t.image.maxY+1,.8)),t.velocity.prevPositionX||(t.velocity.prevPositionX=t.image.touchesCurrent.x),t.velocity.prevPositionY||(t.velocity.prevPositionY=t.image.touchesCurrent.y),t.velocity.prevTime||(t.velocity.prevTime=Date.now()),t.velocity.x=(t.image.touchesCurrent.x-t.velocity.prevPositionX)/(Date.now()-t.velocity.prevTime)/2,t.velocity.y=(t.image.touchesCurrent.y-t.velocity.prevPositionY)/(Date.now()-t.velocity.prevTime)/2,Math.abs(t.image.touchesCurrent.x-t.velocity.prevPositionX)<2&&(t.velocity.x=0),Math.abs(t.image.touchesCurrent.y-t.velocity.prevPositionY)<2&&(t.velocity.y=0),t.velocity.prevPositionX=t.image.touchesCurrent.x,t.velocity.prevPositionY=t.image.touchesCurrent.y,t.velocity.prevTime=Date.now(),t.gesture.imageWrap.transform("translate3d("+t.image.currentX+"px, "+t.image.currentY+"px,0)")}}},onTouchEnd:function(e,t){var n=e.zoom;if(n.gesture.image&&0!==n.gesture.image.length){if(!n.image.isTouched||!n.image.isMoved)return n.image.isTouched=!1,void(n.image.isMoved=!1);n.image.isTouched=!1,n.image.isMoved=!1;var i=300,r=300,a=n.velocity.x*i,o=n.image.currentX+a,s=n.velocity.y*r,l=n.image.currentY+s;0!==n.velocity.x&&(i=Math.abs((o-n.image.currentX)/n.velocity.x)),0!==n.velocity.y&&(r=Math.abs((l-n.image.currentY)/n.velocity.y));var u=Math.max(i,r);n.image.currentX=o,n.image.currentY=l;var c=n.image.width*n.scale,d=n.image.height*n.scale;n.image.minX=Math.min(n.gesture.slideWidth/2-c/2,0),n.image.maxX=-n.image.minX,n.image.minY=Math.min(n.gesture.slideHeight/2-d/2,0),n.image.maxY=-n.image.minY,n.image.currentX=Math.max(Math.min(n.image.currentX,n.image.maxX),n.image.minX),n.image.currentY=Math.max(Math.min(n.image.currentY,n.image.maxY),n.image.minY),n.gesture.imageWrap.transition(u).transform("translate3d("+n.image.currentX+"px, "+n.image.currentY+"px,0)")}},onTransitionEnd:function(e){var t=e.zoom;t.gesture.slide&&e.previousIndex!==e.activeIndex&&(t.gesture.image.transform("translate3d(0,0,0) scale(1)"),t.gesture.imageWrap.transform("translate3d(0,0,0)"),t.gesture.slide=t.gesture.image=t.gesture.imageWrap=void 0,t.scale=t.currentScale=1)},toggleZoom:function(e,n){var i=e.zoom;if(i.gesture.slide||(i.gesture.slide=e.clickedSlide?t(e.clickedSlide):e.slides.eq(e.activeIndex),i.gesture.image=i.gesture.slide.find("img, svg, canvas"),i.gesture.imageWrap=i.gesture.image.parent("."+e.params.zoomContainerClass)),i.gesture.image&&0!==i.gesture.image.length){var r,a,o,s,l,u,c,d,p,f,h,m,g,v,T,y,b,S;"undefined"==typeof i.image.touchesStart.x&&n?(r="touchend"===n.type?n.changedTouches[0].pageX:n.pageX,a="touchend"===n.type?n.changedTouches[0].pageY:n.pageY):(r=i.image.touchesStart.x,a=i.image.touchesStart.y),i.scale&&1!==i.scale?(i.scale=i.currentScale=1,i.gesture.imageWrap.transition(300).transform("translate3d(0,0,0)"),
i.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),i.gesture.slide=void 0):(i.scale=i.currentScale=i.gesture.imageWrap.attr("data-swiper-zoom")||e.params.zoomMax,n?(b=i.gesture.slide[0].offsetWidth,S=i.gesture.slide[0].offsetHeight,o=i.gesture.slide.offset().left,s=i.gesture.slide.offset().top,l=o+b/2-r,u=s+S/2-a,p=i.gesture.image[0].offsetWidth,f=i.gesture.image[0].offsetHeight,h=p*i.scale,m=f*i.scale,g=Math.min(b/2-h/2,0),v=Math.min(S/2-m/2,0),T=-g,y=-v,c=l*i.scale,d=u*i.scale,c<g&&(c=g),c>T&&(c=T),d<v&&(d=v),d>y&&(d=y)):(c=0,d=0),i.gesture.imageWrap.transition(300).transform("translate3d("+c+"px, "+d+"px,0)"),i.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+i.scale+")"))}},attachEvents:function(e){var n=e?"off":"on";if(C.params.zoom){var i=(C.slides,!("touchstart"!==C.touchEvents.start||!C.support.passiveListener||!C.params.passiveListeners)&&{passive:!0,capture:!1});C.support.gestures?(C.slides[n]("gesturestart",C.zoom.onGestureStart,i),C.slides[n]("gesturechange",C.zoom.onGestureChange,i),C.slides[n]("gestureend",C.zoom.onGestureEnd,i)):"touchstart"===C.touchEvents.start&&(C.slides[n](C.touchEvents.start,C.zoom.onGestureStart,i),C.slides[n](C.touchEvents.move,C.zoom.onGestureChange,i),C.slides[n](C.touchEvents.end,C.zoom.onGestureEnd,i)),C[n]("touchStart",C.zoom.onTouchStart),C.slides.each(function(e,i){t(i).find("."+C.params.zoomContainerClass).length>0&&t(i)[n](C.touchEvents.move,C.zoom.onTouchMove)}),C[n]("touchEnd",C.zoom.onTouchEnd),C[n]("transitionEnd",C.zoom.onTransitionEnd),C.params.zoomToggle&&C.on("doubleTap",C.zoom.toggleZoom)}},init:function(){C.zoom.attachEvents()},destroy:function(){C.zoom.attachEvents(!0)}},C._plugins=[];for(var z in C.plugins){var V=C.plugins[z](C,C.params[z]);V&&C._plugins.push(V)}return C.callPlugins=function(e){for(var t=0;t<C._plugins.length;t++)e in C._plugins[t]&&C._plugins[t][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},C.emitterEventListeners={},C.emit=function(e){C.params[e]&&C.params[e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);var t;if(C.emitterEventListeners[e])for(t=0;t<C.emitterEventListeners[e].length;t++)C.emitterEventListeners[e][t](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);C.callPlugins&&C.callPlugins(e,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},C.on=function(e,t){return e=m(e),C.emitterEventListeners[e]||(C.emitterEventListeners[e]=[]),C.emitterEventListeners[e].push(t),C},C.off=function(e,t){var n;if(e=m(e),"undefined"==typeof t)return C.emitterEventListeners[e]=[],C;if(C.emitterEventListeners[e]&&0!==C.emitterEventListeners[e].length){for(n=0;n<C.emitterEventListeners[e].length;n++)C.emitterEventListeners[e][n]===t&&C.emitterEventListeners[e].splice(n,1);return C}},C.once=function(e,t){e=m(e);var n=function(){t(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),C.off(e,n)};return C.on(e,n),C},C.a11y={makeFocusable:function(e){return e.attr("tabIndex","0"),e},addRole:function(e,t){return e.attr("role",t),e},addLabel:function(e,t){return e.attr("aria-label",t),e},disable:function(e){return e.attr("aria-disabled",!0),e},enable:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){13===e.keyCode&&(t(e.target).is(C.params.nextButton)?(C.onClickNext(e),C.isEnd?C.a11y.notify(C.params.lastSlideMessage):C.a11y.notify(C.params.nextSlideMessage)):t(e.target).is(C.params.prevButton)&&(C.onClickPrev(e),C.isBeginning?C.a11y.notify(C.params.firstSlideMessage):C.a11y.notify(C.params.prevSlideMessage)),t(e.target).is("."+C.params.bulletClass)&&t(e.target)[0].click())},liveRegion:t('<span class="'+C.params.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>'),notify:function(e){var t=C.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},init:function(){C.params.nextButton&&C.nextButton&&C.nextButton.length>0&&(C.a11y.makeFocusable(C.nextButton),C.a11y.addRole(C.nextButton,"button"),C.a11y.addLabel(C.nextButton,C.params.nextSlideMessage)),C.params.prevButton&&C.prevButton&&C.prevButton.length>0&&(C.a11y.makeFocusable(C.prevButton),C.a11y.addRole(C.prevButton,"button"),C.a11y.addLabel(C.prevButton,C.params.prevSlideMessage)),t(C.container).append(C.a11y.liveRegion)},initPagination:function(){C.params.pagination&&C.params.paginationClickable&&C.bullets&&C.bullets.length&&C.bullets.each(function(){var e=t(this);C.a11y.makeFocusable(e),C.a11y.addRole(e,"button"),C.a11y.addLabel(e,C.params.paginationBulletMessage.replace(/{{index}}/,e.index()+1))})},destroy:function(){C.a11y.liveRegion&&C.a11y.liveRegion.length>0&&C.a11y.liveRegion.remove()}},C.init=function(){C.params.loop&&C.createLoop(),C.updateContainerSize(),C.updateSlidesSize(),C.updatePagination(),C.params.scrollbar&&C.scrollbar&&(C.scrollbar.set(),C.params.scrollbarDraggable&&C.scrollbar.enableDraggable()),"slide"!==C.params.effect&&C.effects[C.params.effect]&&(C.params.loop||C.updateProgress(),C.effects[C.params.effect].setTranslate()),C.params.loop?C.slideTo(C.params.initialSlide+C.loopedSlides,0,C.params.runCallbacksOnInit):(C.slideTo(C.params.initialSlide,0,C.params.runCallbacksOnInit),0===C.params.initialSlide&&(C.parallax&&C.params.parallax&&C.parallax.setTranslate(),C.lazy&&C.params.lazyLoading&&(C.lazy.load(),C.lazy.initialImageLoaded=!0))),C.attachEvents(),C.params.observer&&C.support.observer&&C.initObservers(),C.params.preloadImages&&!C.params.lazyLoading&&C.preloadImages(),C.params.zoom&&C.zoom&&C.zoom.init(),C.params.autoplay&&C.startAutoplay(),C.params.keyboardControl&&C.enableKeyboardControl&&C.enableKeyboardControl(),C.params.mousewheelControl&&C.enableMousewheelControl&&C.enableMousewheelControl(),C.params.hashnavReplaceState&&(C.params.replaceState=C.params.hashnavReplaceState),C.params.history&&C.history&&C.history.init(),C.params.hashnav&&C.hashnav&&C.hashnav.init(),C.params.a11y&&C.a11y&&C.a11y.init(),C.emit("onInit",C)},C.cleanupStyles=function(){C.container.removeClass(C.classNames.join(" ")).removeAttr("style"),C.wrapper.removeAttr("style"),C.slides&&C.slides.length&&C.slides.removeClass([C.params.slideVisibleClass,C.params.slideActiveClass,C.params.slideNextClass,C.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),C.paginationContainer&&C.paginationContainer.length&&C.paginationContainer.removeClass(C.params.paginationHiddenClass),C.bullets&&C.bullets.length&&C.bullets.removeClass(C.params.bulletActiveClass),C.params.prevButton&&t(C.params.prevButton).removeClass(C.params.buttonDisabledClass),C.params.nextButton&&t(C.params.nextButton).removeClass(C.params.buttonDisabledClass),C.params.scrollbar&&C.scrollbar&&(C.scrollbar.track&&C.scrollbar.track.length&&C.scrollbar.track.removeAttr("style"),C.scrollbar.drag&&C.scrollbar.drag.length&&C.scrollbar.drag.removeAttr("style"))},C.destroy=function(e,t){C.detachEvents(),C.stopAutoplay(),C.params.scrollbar&&C.scrollbar&&C.params.scrollbarDraggable&&C.scrollbar.disableDraggable(),C.params.loop&&C.destroyLoop(),t&&C.cleanupStyles(),C.disconnectObservers(),C.params.zoom&&C.zoom&&C.zoom.destroy(),C.params.keyboardControl&&C.disableKeyboardControl&&C.disableKeyboardControl(),C.params.mousewheelControl&&C.disableMousewheelControl&&C.disableMousewheelControl(),C.params.a11y&&C.a11y&&C.a11y.destroy(),C.params.history&&!C.params.replaceState&&window.removeEventListener("popstate",C.history.setHistoryPopState),C.params.hashnav&&C.hashnav&&C.hashnav.destroy(),C.emit("onDestroy"),e!==!1&&(C=null)},C.init(),C}};n.prototype={isSafari:function(){var e=navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1,lteIE9:function(){var e=document.createElement("div");return e.innerHTML="<!--[if lte IE 9]><i></i><![endif]-->",1===e.getElementsByTagName("i").length}()},device:function(){var e=navigator.userAgent,t=e.match(/(Android);?[\s\/]+([\d.]+)?/),n=e.match(/(iPad).*OS\s([\d_]+)/),i=e.match(/(iPod)(.*OS\s([\d_]+))?/),r=!n&&e.match(/(iPhone\sOS)\s([\d_]+)/);return{ios:n||r||i,android:t}}(),support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=document.createElement("div").style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<t.length;n++)if(t[n]in e)return!0}(),observer:function(){return"MutationObserver"in window||"WebkitMutationObserver"in window}(),passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:function(){return"ongesturestart"in window}()},plugins:{}};for(var i=(function(){var e=function(e){var t=this,n=0;for(n=0;n<e.length;n++)t[n]=e[n];return t.length=e.length,this},t=function(t,n){var i=[],r=0;if(t&&!n&&t instanceof e)return t;if(t)if("string"==typeof t){var a,o,s=t.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){var l="div";for(0===s.indexOf("<li")&&(l="ul"),0===s.indexOf("<tr")&&(l="tbody"),0!==s.indexOf("<td")&&0!==s.indexOf("<th")||(l="tr"),0===s.indexOf("<tbody")&&(l="table"),0===s.indexOf("<option")&&(l="select"),o=document.createElement(l),o.innerHTML=t,r=0;r<o.childNodes.length;r++)i.push(o.childNodes[r])}else for(a=n||"#"!==t[0]||t.match(/[ .<>:~]/)?(n||document).querySelectorAll(t):[document.getElementById(t.split("#")[1])],r=0;r<a.length;r++)a[r]&&i.push(a[r])}else if(t.nodeType||t===window||t===document)i.push(t);else if(t.length>0&&t[0].nodeType)for(r=0;r<t.length;r++)i.push(t[r]);return new e(i)};return e.prototype={addClass:function(e){if("undefined"==typeof e)return this;for(var t=e.split(" "),n=0;n<t.length;n++)for(var i=0;i<this.length;i++)this[i].classList.add(t[n]);return this},removeClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n++)for(var i=0;i<this.length;i++)this[i].classList.remove(t[n]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n++)for(var i=0;i<this.length;i++)this[i].classList.toggle(t[n]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n++)if(2===arguments.length)this[n].setAttribute(e,t);else for(var i in e)this[n][i]=e[i],this[n].setAttribute(i,e[i]);return this},removeAttr:function(e){for(var t=0;t<this.length;t++)this[t].removeAttribute(e);return this},data:function(e,t){if("undefined"!=typeof t){for(var n=0;n<this.length;n++){var i=this[n];i.dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t}return this}if(this[0]){var r=this[0].getAttribute("data-"+e);return r?r:this[0].dom7ElementDataStorage&&e in this[0].dom7ElementDataStorage?this[0].dom7ElementDataStorage[e]:void 0}},transform:function(e){for(var t=0;t<this.length;t++){var n=this[t].style;n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t++){var n=this[t].style;n.webkitTransitionDuration=n.MsTransitionDuration=n.msTransitionDuration=n.MozTransitionDuration=n.OTransitionDuration=n.transitionDuration=e}return this},on:function(e,n,i,r){function a(e){var r=e.target;if(t(r).is(n))i.call(r,e);else for(var a=t(r).parents(),o=0;o<a.length;o++)t(a[o]).is(n)&&i.call(a[o],e)}var o,s,l=e.split(" ");for(o=0;o<this.length;o++)if("function"==typeof n||n===!1)for("function"==typeof n&&(i=arguments[1],r=arguments[2]||!1),s=0;s<l.length;s++)this[o].addEventListener(l[s],i,r);else for(s=0;s<l.length;s++)this[o].dom7LiveListeners||(this[o].dom7LiveListeners=[]),this[o].dom7LiveListeners.push({listener:i,liveListener:a}),this[o].addEventListener(l[s],a,r);return this},off:function(e,t,n,i){for(var r=e.split(" "),a=0;a<r.length;a++)for(var o=0;o<this.length;o++)if("function"==typeof t||t===!1)"function"==typeof t&&(n=arguments[1],i=arguments[2]||!1),this[o].removeEventListener(r[a],n,i);else if(this[o].dom7LiveListeners)for(var s=0;s<this[o].dom7LiveListeners.length;s++)this[o].dom7LiveListeners[s].listener===n&&this[o].removeEventListener(r[a],this[o].dom7LiveListeners[s].liveListener,i);return this},once:function(e,t,n,i){function r(o){n(o),a.off(e,t,r,i)}var a=this;"function"==typeof t&&(t=!1,n=arguments[1],i=arguments[2]),a.on(e,t,r,i)},trigger:function(e,t){for(var n=0;n<this.length;n++){var i;try{i=new window.CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0})}catch(n){i=document.createEvent("Event"),i.initEvent(e,!0,!0),i.detail=t}this[n].dispatchEvent(i)}return this},transitionEnd:function(e){function t(a){if(a.target===this)for(e.call(this,a),n=0;n<i.length;n++)r.off(i[n],t)}var n,i=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],r=this;if(e)for(n=0;n<i.length;n++)r.on(i[n],t);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css("width")):null},outerWidth:function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css("height")):null},outerHeight:function(e){return this.length>0?e?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),n=document.body,i=e.clientTop||n.clientTop||0,r=e.clientLeft||n.clientLeft||0,a=window.pageYOffset||e.scrollTop,o=window.pageXOffset||e.scrollLeft;return{top:t.top+a-i,left:t.left+o-r}}return null},css:function(e,t){var n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n++)for(var i in e)this[n].style[i]=e[i];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n++)this[n].style[e]=t;return this}return this},each:function(e){for(var t=0;t<this.length;t++)e.call(this[t],t,this[t]);return this},html:function(e){if("undefined"==typeof e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t++)this[t].innerHTML=e;return this},text:function(e){if("undefined"==typeof e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t++)this[t].textContent=e;return this},is:function(n){if(!this[0])return!1;var i,r;if("string"==typeof n){var a=this[0];if(a===document)return n===document;if(a===window)return n===window;if(a.matches)return a.matches(n);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(n);if(a.mozMatchesSelector)return a.mozMatchesSelector(n);if(a.msMatchesSelector)return a.msMatchesSelector(n);for(i=t(n),r=0;r<i.length;r++)if(i[r]===this[0])return!0;return!1}if(n===document)return this[0]===document;if(n===window)return this[0]===window;if(n.nodeType||n instanceof e){for(i=n.nodeType?[n]:n,r=0;r<i.length;r++)if(i[r]===this[0])return!0;return!1}return!1},index:function(){if(this[0]){for(var e=this[0],t=0;null!==(e=e.previousSibling);)1===e.nodeType&&t++;return t}},eq:function(t){if("undefined"==typeof t)return this;var n,i=this.length;return t>i-1?new e([]):t<0?(n=i+t,new e(n<0?[]:[this[n]])):new e([this[t]])},append:function(t){var n,i;for(n=0;n<this.length;n++)if("string"==typeof t){var r=document.createElement("div");for(r.innerHTML=t;r.firstChild;)this[n].appendChild(r.firstChild)}else if(t instanceof e)for(i=0;i<t.length;i++)this[n].appendChild(t[i]);else this[n].appendChild(t);return this},prepend:function(t){var n,i;for(n=0;n<this.length;n++)if("string"==typeof t){var r=document.createElement("div");for(r.innerHTML=t,i=r.childNodes.length-1;i>=0;i--)this[n].insertBefore(r.childNodes[i],this[n].childNodes[0])}else if(t instanceof e)for(i=0;i<t.length;i++)this[n].insertBefore(t[i],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this},insertBefore:function(e){for(var n=t(e),i=0;i<this.length;i++)if(1===n.length)n[0].parentNode.insertBefore(this[i],n[0]);else if(n.length>1)for(var r=0;r<n.length;r++)n[r].parentNode.insertBefore(this[i].cloneNode(!0),n[r])},insertAfter:function(e){for(var n=t(e),i=0;i<this.length;i++)if(1===n.length)n[0].parentNode.insertBefore(this[i],n[0].nextSibling);else if(n.length>1)for(var r=0;r<n.length;r++)n[r].parentNode.insertBefore(this[i].cloneNode(!0),n[r].nextSibling)},next:function(n){return new e(this.length>0?n?this[0].nextElementSibling&&t(this[0].nextElementSibling).is(n)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(n){var i=[],r=this[0];if(!r)return new e([]);for(;r.nextElementSibling;){var a=r.nextElementSibling;n?t(a).is(n)&&i.push(a):i.push(a),r=a}return new e(i)},prev:function(n){return new e(this.length>0?n?this[0].previousElementSibling&&t(this[0].previousElementSibling).is(n)?[this[0].previousElementSibling]:[]:this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},prevAll:function(n){var i=[],r=this[0];if(!r)return new e([]);for(;r.previousElementSibling;){var a=r.previousElementSibling;n?t(a).is(n)&&i.push(a):i.push(a),r=a}return new e(i)},parent:function(e){for(var n=[],i=0;i<this.length;i++)e?t(this[i].parentNode).is(e)&&n.push(this[i].parentNode):n.push(this[i].parentNode);return t(t.unique(n))},parents:function(e){for(var n=[],i=0;i<this.length;i++)for(var r=this[i].parentNode;r;)e?t(r).is(e)&&n.push(r):n.push(r),r=r.parentNode;return t(t.unique(n))},find:function(t){for(var n=[],i=0;i<this.length;i++)for(var r=this[i].querySelectorAll(t),a=0;a<r.length;a++)n.push(r[a]);return new e(n)},children:function(n){for(var i=[],r=0;r<this.length;r++)for(var a=this[r].childNodes,o=0;o<a.length;o++)n?1===a[o].nodeType&&t(a[o]).is(n)&&i.push(a[o]):1===a[o].nodeType&&i.push(a[o]);return new e(t.unique(i))},remove:function(){for(var e=0;e<this.length;e++)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){var e,n,i=this;for(e=0;e<arguments.length;e++){var r=t(arguments[e]);for(n=0;n<r.length;n++)i[i.length]=r[n],i.length++}return i}},t.fn=e.prototype,t.unique=function(e){for(var t=[],n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t},t}()),r=["jQuery","Zepto","Dom7"],a=0;a<r.length;a++)window[r[a]]&&e(window[r[a]]);var o;o="undefined"==typeof i?window.Dom7||window.Zepto||window.jQuery:i,o&&("transitionEnd"in o.fn||(o.fn.transitionEnd=function(e){function t(a){if(a.target===this)for(e.call(this,a),n=0;n<i.length;n++)r.off(i[n],t)}var n,i=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],r=this;if(e)for(n=0;n<i.length;n++)r.on(i[n],t);return this}),"transform"in o.fn||(o.fn.transform=function(e){for(var t=0;t<this.length;t++){var n=this[t].style;n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=e}return this}),"transition"in o.fn||(o.fn.transition=function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t++){var n=this[t].style;n.webkitTransitionDuration=n.MsTransitionDuration=n.msTransitionDuration=n.MozTransitionDuration=n.OTransitionDuration=n.transitionDuration=e}return this}),"outerWidth"in o.fn||(o.fn.outerWidth=function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=n}(),"undefined"!=typeof module?module.exports=window.Swiper:"function"==typeof define&&define.amd&&define("Swiper",[],function(){"use strict";return window.Swiper}),function(e,t){"function"==typeof define&&define.amd?define("Transit",["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(e.jQuery)}(this,function(e){function t(e){if(e in d.style)return e;for(var t=["Moz","Webkit","O","ms"],n=e.charAt(0).toUpperCase()+e.substr(1),i=0;i<t.length;++i){var r=t[i]+n;if(r in d.style)return r}}function n(){return d.style[p.transform]="",d.style[p.transform]="rotateY(90deg)",""!==d.style[p.transform]}function i(e){return"string"==typeof e&&this.parse(e),this}function r(e,t,n){t===!0?e.queue(n):t?e.queue(t,n):e.each(function(){n.call(this)})}function a(t){var n=[];return e.each(t,function(t){t=e.camelCase(t),t=e.transit.propertyMap[t]||e.cssProps[t]||t,t=l(t),p[t]&&(t=l(p[t])),e.inArray(t,n)===-1&&n.push(t)}),n}function o(t,n,i,r){var o=a(t);e.cssEase[i]&&(i=e.cssEase[i]);var s=""+c(n)+" "+i;parseInt(r,10)>0&&(s+=" "+c(r));var l=[];return e.each(o,function(e,t){l.push(t+" "+s)}),l.join(", ")}function s(t,n){n||(e.cssNumber[t]=!0),e.transit.propertyMap[t]=p.transform,e.cssHooks[t]={get:function(n){var i=e(n).css("transit:transform");return i.get(t)},set:function(n,i){var r=e(n).css("transit:transform");r.setFromString(t,i),e(n).css({"transit:transform":r})}}}function l(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function u(e,t){return"string"!=typeof e||e.match(/^[\-0-9\.]+$/)?""+e+t:e}function c(t){var n=t;return"string"!=typeof n||n.match(/^[\-0-9\.]+/)||(n=e.fx.speeds[n]||e.fx.speeds._default),u(n,"ms")}e.transit={version:"0.9.12",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:!0,useTransitionEnd:!1};var d=document.createElement("div"),p={},f=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;p.transition=t("transition"),p.transitionDelay=t("transitionDelay"),p.transform=t("transform"),p.transformOrigin=t("transformOrigin"),p.filter=t("Filter"),p.transform3d=n();var h={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"},m=p.transitionEnd=h[p.transition]||null;for(var g in p)p.hasOwnProperty(g)&&"undefined"==typeof e.support[g]&&(e.support[g]=p[g]);return d=null,e.cssEase={_default:"ease",in:"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeInCubic:"cubic-bezier(.550,.055,.675,.190)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"},e.cssHooks["transit:transform"]={get:function(t){return e(t).data("transform")||new i},set:function(t,n){var r=n;r instanceof i||(r=new i(r)),"WebkitTransform"!==p.transform||f?t.style[p.transform]=r.toString():t.style[p.transform]=r.toString(!0),e(t).data("transform",r)}},e.cssHooks.transform={set:e.cssHooks["transit:transform"].set},e.cssHooks.filter={get:function(e){return e.style[p.filter]},set:function(e,t){e.style[p.filter]=t}},e.fn.jquery<"1.8"&&(e.cssHooks.transformOrigin={get:function(e){return e.style[p.transformOrigin]},set:function(e,t){e.style[p.transformOrigin]=t}},e.cssHooks.transition={get:function(e){return e.style[p.transition]},set:function(e,t){e.style[p.transition]=t}}),s("scale"),s("scaleX"),s("scaleY"),s("translate"),s("rotate"),s("rotateX"),s("rotateY"),s("rotate3d"),s("perspective"),s("skewX"),s("skewY"),s("x",!0),s("y",!0),i.prototype={setFromString:function(e,t){var n="string"==typeof t?t.split(","):t.constructor===Array?t:[t];n.unshift(e),i.prototype.set.apply(this,n)},set:function(e){var t=Array.prototype.slice.apply(arguments,[1]);this.setter[e]?this.setter[e].apply(this,t):this[e]=t.join(",")},get:function(e){return this.getter[e]?this.getter[e].apply(this):this[e]||0},setter:{rotate:function(e){this.rotate=u(e,"deg")},rotateX:function(e){this.rotateX=u(e,"deg")},rotateY:function(e){this.rotateY=u(e,"deg")},scale:function(e,t){void 0===t&&(t=e),this.scale=e+","+t},skewX:function(e){this.skewX=u(e,"deg")},skewY:function(e){this.skewY=u(e,"deg")},perspective:function(e){this.perspective=u(e,"px")},x:function(e){this.set("translate",e,null)},y:function(e){this.set("translate",null,e)},translate:function(e,t){void 0===this._translateX&&(this._translateX=0),void 0===this._translateY&&(this._translateY=0),null!==e&&void 0!==e&&(this._translateX=u(e,"px")),null!==t&&void 0!==t&&(this._translateY=u(t,"px")),this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var e=(this.scale||"1,1").split(",");return e[0]&&(e[0]=parseFloat(e[0])),e[1]&&(e[1]=parseFloat(e[1])),e[0]===e[1]?e[0]:e},rotate3d:function(){for(var e=(this.rotate3d||"0,0,0,0deg").split(","),t=0;t<=3;++t)e[t]&&(e[t]=parseFloat(e[t]));return e[3]&&(e[3]=u(e[3],"deg")),e}},parse:function(e){var t=this;e.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(e,n,i){t.setFromString(n,i)})},toString:function(e){var t=[];for(var n in this)if(this.hasOwnProperty(n)){if(!p.transform3d&&("rotateX"===n||"rotateY"===n||"perspective"===n||"transformOrigin"===n))continue;"_"!==n[0]&&(e&&"scale"===n?t.push(n+"3d("+this[n]+",1)"):e&&"translate"===n?t.push(n+"3d("+this[n]+",0)"):t.push(n+"("+this[n]+")"))}return t.join(" ")}},e.fn.transition=e.fn.transit=function(t,n,i,a){var s=this,l=0,u=!0,d=e.extend(!0,{},t);"function"==typeof n&&(a=n,n=void 0),"object"==typeof n&&(i=n.easing,l=n.delay||0,u="undefined"==typeof n.queue||n.queue,a=n.complete,n=n.duration),"function"==typeof i&&(a=i,i=void 0),"undefined"!=typeof d.easing&&(i=d.easing,delete d.easing),"undefined"!=typeof d.duration&&(n=d.duration,delete d.duration),"undefined"!=typeof d.complete&&(a=d.complete,delete d.complete),"undefined"!=typeof d.queue&&(u=d.queue,delete d.queue),"undefined"!=typeof d.delay&&(l=d.delay,delete d.delay),"undefined"==typeof n&&(n=e.fx.speeds._default),"undefined"==typeof i&&(i=e.cssEase._default),n=c(n);var f=o(d,n,i,l),h=e.transit.enabled&&p.transition,g=h?parseInt(n,10)+parseInt(l,10):0;if(0===g){var v=function(e){s.css(d),a&&a.apply(s),e&&e()};return r(s,u,v),s}var T={},y=function(t){var n=!1,i=function(){n&&s.unbind(m,i),g>0&&s.each(function(){this.style[p.transition]=T[this]||null}),"function"==typeof a&&a.apply(s),"function"==typeof t&&t()};g>0&&m&&e.transit.useTransitionEnd?(n=!0,s.bind(m,i)):window.setTimeout(i,g),s.each(function(){g>0&&(this.style[p.transition]=f),e(this).css(d)})},b=function(e){this.offsetWidth=this.offsetWidth,y(e)};return r(s,u,b),this},e.transit.getTransitionValue=o,e}),require(["Common","Layout","Swiper","AccordianMenu","Transit"],function(e,t,n,i){e.init(),t.init();new n(".swiper-container",{pagination:".swiper-pagination",paginationClickable:!0,loop:!0,autoplay:5e3,autoplayDisableOnInteraction:!1,speed:800});if(function(){var e=34,t=$(".homepage-solution"),n=t.find(".tab-content"),r=t.find(".tab-nav li"),a=function(t){return e*t},o=function(e){var t=$(".solution-animation .triangle"),n=a(e);t.transition({y:n})};r.each(function(){var e=$(this).find("a"),t=e.attr("href"),i=n.find(t).find(".menu-child").clone(),a=r.index($(this));$(this).hasClass("active")&&o(a),i.addClass("hidden-md hidden-lg"),e.after(i),$(this).on("click",function(){o(a)})});var s={$container:t.find(".tab-nav ul")},l=new i;l.init(s)}(),function(){var e=8,t=e,n=0,i=$(".production ._bottom .item-box"),r=i.slice(0,e),a=null,o=i.length,s=!1,l=$(".production ._bottom"),u={mobile:2,tablet:4,desktop:4},c=function(){var e=$("html").data("device");return u[e]},d=function(e){var t=i.eq(0).outerHeight(),n=c();return t*Math.round(e/n)},p=function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0||navigator.userAgent.match(/Trident.*rv\:11\./))return!0},f=0,h=[],m=function(){f=c();var e=[];$.each(a,function(t,n){var i={index:t};e.push(i),(t+1)%f===0&&0!==t&&(h.push(e),e=[]),o-o%f===t&&h.push(e)})},g=function(){if(0!==h.length){for(var e=0;e<h.length;e++)for(var t=0;t<h[e].length;t++)a.eq(h[e][t].index).removeClass(h[e][t].style);h=[]}},v=function(){g(),m();for(var e=0;e<h.length;e++)for(var t=0;t<h[e].length;t++)0===e&&(h[e][t].style?h[e][t].style+="T":h[e][t].style="T"),0===t&&(h[e][t].style?h[e][t].style+="L":h[e][t].style="L"),(t===f-1||e===h.length-1&&t===h[e].length-1)&&(h[e][t].style?h[e][t].style+="R":h[e][t].style="R"),e===h.length-1&&(h[e][t].style?h[e][t].style+="B":h[e][t].style="B"),e===h.length-1&&t===f-1&&(h[e][t].style="N");for(var e=0;e<h.length;e++)for(var t=0;t<h[e].length;t++)a.eq(h[e][t].index).addClass(h[e][t].style);console.log(h)},T=function(){p()&&l.addClass("ie"),n=d(e),l.css("height",n),a=r,v()};T(),$(".all-production .read-more").on("click.ALL-PRODUCTION",function(){if(!s){var e=d(o);l.css("height",e),t=o,a=i,v(),s=!0,$(this).hide()}return!1})}(),function(){$("body").addClass("festival"),$("header.header").addClass("homepage-festival")}(),window.devicePixelRatio>=2)for(var r=$(".retina_icon"),a=0;a<r.length;a++){var o=$(r[a]),s=o.attr("src");if(s){var l=s.lastIndexOf(".");o.attr("src",s.substr(0,l)+"@2x.png")}}if($(".solution_row .item-box").click(function(e){var t=$("a",this).attr("href");window.location=t}),$("html").hasClass("desktop"))$(".row_box4 .case_box").mouseover(function(e){$(".case-note-layer",this).show()}).mouseout(function(e){$(".case-note-layer",this).hide()});else{for(var u=$(".row_box4 .case-note-layer"),a=0;a<u.length;a++)$(u[a]).removeAttr("href");for(var c=$(".row_box4 .case-image"),a=0;a<c.length;a++)$(c[a]).removeAttr("href")}$(".row_box4 .home-tab").click(function(e){$(".row_box4 .home-tab").removeClass("selected"),$(e.target).addClass("selected"),$(".row_box4 .tab-contents .home-p").hide(),$(".row_box4 .case-study").hide();var t=$(e.target).attr("name");$('.row_box4 .tab-contents .home-p[name="'+t+'"]').show(),$('.row_box4 .case-study[name="'+t+'"]').show()})}),define("home-page",function(){});
//# sourceMappingURL=77f5e3941c8b623bcd8a9f53d99d16debed83e8a.js.map
