img0.img.9xiuzb.com Open in urlscan Pro
240e:95d:1904:ff:8000:0:b00:100  Public Scan

URL: https://img0.img.9xiuzb.com/pack/global/202205191557/js/miniplanet.js
Submission: On May 12 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

/*! grunt 2022-05-19 */
!function(a){var b="1.0.1 build 2014022701",c=a,d=c.MPT=c.mpt;c.Debug=new function(){var b=!(!c.IS_DEBUG||1!=c.IS_DEBUG),d={getState:function(){return b},info:function(){},time:function(){},timeEnd:function(){},runtimeobj:{}};return b?(a.console?(d=a.console,d.getState=function(){return b}):d={getState:function(){return b},info:function(a){var b=document.getElementById("div_console");b||(b=document.createElement("div"),b.id="div_console",document.body.appendChild(b)),b.innerHTML+=a+"<br />"},time:function(){},timeEnd:function(){},runtimeobj:{}},d):d},d=new function(){var a={},c={};this.Config=function(a,b,d){if(a&&b){if(c[a]){if(d)return void(c[a]=b);throw"[MPT.Config] Config."+a+" 不能重复定义!"}c[a]=b}return!(a&&!b)||c[a]},this.define=function(b,c){if(Debug.info("[MPT.define] 定义包 "+b),a[b])throw"[MPT.define] 重复定义包 "+b+" !";a[b]=c},this.klass=function(a){var b=function(){this.init.apply(this,arguments)};if(a){var c=function(){};c.prototype=a.prototype,b.prototype=new c}return b.prototype.init=function(){},b},this.require=function(b){if(1==arguments.length){if("object"==typeof a[b])return a[b];if("function"==typeof a[b]){var c=a[b]();return"function"==typeof c?a[b]=new c:a[b]=c,a[b]}"undefined"==typeof a[b]}if(2==arguments.length)if("[object Array]"===Object.prototype.toString.call(arguments[0])){$(arguments[0]).each(function(){this.require});for(var d=0;d<arguments[0].length;d++)this.require(arguments[0][d]);this.require(arguments[1])}else"string"==typeof arguments[0]&&this.require(arguments[0])},this.start=function(a){a||d.require("define/getRegisterMsg"),d.require("Action").excute(document)},this.version=function(){return b}(),this.tostring=function(){return b}()},a.MPT=d}(window),function(a,b){function c(a){var b=pa[a]={};return _.each(a.split(ca),function(a,c){b[c]=!0}),b}function d(a,c,d){if(d===b&&1===a.nodeType){var e="data-"+c.replace(ra,"-$1").toLowerCase();if(d=a.getAttribute(e),"string"==typeof d){try{d="true"===d||"false"!==d&&("null"===d?null:+d+""===d?+d:qa.test(d)?_.parseJSON(d):d)}catch(f){}_.data(a,c,d)}else d=b}return d}function e(a){var b;for(b in a)if(("data"!==b||!_.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function f(){return!1}function g(){return!0}function h(a){return!a||!a.parentNode||11===a.parentNode.nodeType}function i(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}function j(a,b,c){if(b=b||0,_.isFunction(b))return _.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return _.grep(a,function(a,d){return a===b===c});if("string"==typeof b){var d=_.grep(a,function(a){return 1===a.nodeType});if(La.test(b))return _.filter(b,d,!c);b=_.filter(b,d)}return _.grep(a,function(a,d){return _.inArray(a,b)>=0===c})}function k(a){var b=Oa.split("|"),c=a.createDocumentFragment();if(c.createElement)for(;b.length;)c.createElement(b.pop());return c}function l(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function m(a,b){if(1===b.nodeType&&_.hasData(a)){var c,d,e,f=_._data(a),g=_._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d<e;d++)_.event.add(b,c,h[c][d])}g.data&&(g.data=_.extend({},g.data))}}function n(a,b){var c;1===b.nodeType&&(b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase(),"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),_.support.html5Clone&&a.innerHTML&&!_.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Ya.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.selected=a.defaultSelected:"input"===c||"textarea"===c?b.defaultValue=a.defaultValue:"script"===c&&b.text!==a.text&&(b.text=a.text),b.removeAttribute(_.expando))}function o(a){return"undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName("*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll("*"):[]}function p(a){Ya.test(a.type)&&(a.defaultChecked=a.checked)}function q(a,b){if(b in a)return b;for(var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=sb.length;e--;)if(b=sb[e]+c,b in a)return b;return d}function r(a,b){return a=b||a,"none"===_.css(a,"display")||!_.contains(a.ownerDocument,a)}function s(a,b){for(var c,d,e=[],f=0,g=a.length;f<g;f++)c=a[f],c.style&&(e[f]=_._data(c,"olddisplay"),b?(e[f]||"none"!==c.style.display||(c.style.display=""),""===c.style.display&&r(c)&&(e[f]=_._data(c,"olddisplay",w(c.nodeName)))):(d=db(c,"display"),e[f]||"none"===d||_._data(c,"olddisplay",d)));for(f=0;f<g;f++)c=a[f],c.style&&(b&&"none"!==c.style.display&&""!==c.style.display||(c.style.display=b?e[f]||"":"none"));return a}function t(a,b,c){var d=lb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function u(a,b,c,d){for(var e=c===(d?"border":"content")?4:"width"===b?1:0,f=0;e<4;e+=2)"margin"===c&&(f+=_.css(a,c+rb[e],!0)),d?("content"===c&&(f-=parseFloat(db(a,"padding"+rb[e]))||0),"margin"!==c&&(f-=parseFloat(db(a,"border"+rb[e]+"Width"))||0)):(f+=parseFloat(db(a,"padding"+rb[e]))||0,"padding"!==c&&(f+=parseFloat(db(a,"border"+rb[e]+"Width"))||0));return f}function v(a,b,c){var d="width"===b?a.offsetWidth:a.offsetHeight,e=!0,f=_.support.boxSizing&&"border-box"===_.css(a,"boxSizing");if(d<=0||null==d){if(d=db(a,b),(d<0||null==d)&&(d=a.style[b]),mb.test(d))return d;e=f&&(_.support.boxSizingReliable||d===a.style[b]),d=parseFloat(d)||0}return d+u(a,b,c||(f?"border":"content"),e)+"px"}function w(a){if(ob[a])return ob[a];var b=_("<"+a+">").appendTo(P.body),c=b.css("display");return b.remove(),"none"!==c&&""!==c||(eb=P.body.appendChild(eb||_.extend(P.createElement("iframe"),{frameBorder:0,width:0,height:0})),fb&&eb.createElement||(fb=(eb.contentWindow||eb.contentDocument).document,fb.write("<!doctype html><html><body>"),fb.close()),b=fb.body.appendChild(fb.createElement(a)),c=db(b,"display"),P.body.removeChild(eb)),ob[a]=c,c}function x(a,b,c,d){var e;if(_.isArray(b))_.each(b,function(b,e){c||vb.test(a)?d(a,e):x(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==_.type(b))d(a,b);else for(e in b)x(a+"["+e+"]",b[e],c,d)}function y(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(ca),h=0,i=g.length;if(_.isFunction(c))for(;h<i;h++)d=g[h],f=/^\+/.test(d),f&&(d=d.substr(1)||"*"),e=a[d]=a[d]||[],e[f?"unshift":"push"](c)}}function z(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;for(var h,i=a[f],j=0,k=i?i.length:0,l=a===Lb;j<k&&(l||!h);j++)h=i[j](c,d,e),"string"==typeof h&&(!l||g[h]?h=b:(c.dataTypes.unshift(h),h=z(a,c,d,e,h,g)));return!l&&h||g["*"]||(h=z(a,c,d,e,"*",g)),h}function A(a,c){var d,e,f=_.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((f[d]?a:e||(e={}))[d]=c[d]);e&&_.extend(!0,a,e)}function B(a,c,d){var e,f,g,h,i=a.contents,j=a.dataTypes,k=a.responseFields;for(f in k)f in d&&(c[k[f]]=d[f]);for(;"*"===j[0];)j.shift(),e===b&&(e=a.mimeType||c.getResponseHeader("content-type"));if(e)for(f in i)if(i[f]&&i[f].test(e)){j.unshift(f);break}if(j[0]in d)g=j[0];else{for(f in d){if(!j[0]||a.converters[f+" "+j[0]]){g=f;break}h||(h=f)}g=g||h}if(g)return g!==j[0]&&j.unshift(g),d[g]}function C(a,b){var c,d,e,f,g=a.dataTypes.slice(),h=g[0],i={},j=0;if(a.dataFilter&&(b=a.dataFilter(b,a.dataType)),g[1])for(c in a.converters)i[c.toLowerCase()]=a.converters[c];for(;e=g[++j];)if("*"!==e){if("*"!==h&&h!==e){if(c=i[h+" "+e]||i["* "+e],!c)for(d in i)if(f=d.split(" "),f[1]===e&&(c=i[h+" "+f[0]]||i["* "+f[0]])){c===!0?c=i[d]:i[d]!==!0&&(e=f[0],g.splice(j--,0,e));break}if(c!==!0)if(c&&a["throws"])b=c(b);else try{b=c(b)}catch(k){return{state:"parsererror",error:c?k:"No conversion from "+h+" to "+e}}}h=e}return{state:"success",data:b}}function D(){try{return new a.XMLHttpRequest}catch(b){}}function E(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function F(){return setTimeout(function(){Wb=b},0),Wb=_.now()}function G(a,b){_.each(b,function(b,c){for(var d=(ac[b]||[]).concat(ac["*"]),e=0,f=d.length;e<f;e++)if(d[e].call(a,b,c))return})}function H(a,b,c){var d,e=0,f=_b.length,g=_.Deferred().always(function(){delete h.elem}),h=function(){for(var b=Wb||F(),c=Math.max(0,i.startTime+i.duration-b),d=c/i.duration||0,e=1-d,f=0,h=i.tweens.length;f<h;f++)i.tweens[f].run(e);return g.notifyWith(a,[i,e,c]),e<1&&h?c:(g.resolveWith(a,[i]),!1)},i=g.promise({elem:a,props:_.extend({},b),opts:_.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Wb||F(),duration:c.duration,tweens:[],createTween:function(b,c,d){var e=_.Tween(a,i.opts,b,c,i.opts.specialEasing[b]||i.opts.easing);return i.tweens.push(e),e},stop:function(b){for(var c=0,d=b?i.tweens.length:0;c<d;c++)i.tweens[c].run(1);return b?g.resolveWith(a,[i,b]):g.rejectWith(a,[i,b]),this}}),j=i.props;for(I(j,i.opts.specialEasing);e<f;e++)if(d=_b[e].call(i,a,j,i.opts))return d;return G(i,j),_.isFunction(i.opts.start)&&i.opts.start.call(a,i),_.fx.timer(_.extend(h,{anim:i,queue:i.opts.queue,elem:a})),i.progress(i.opts.progress).done(i.opts.done,i.opts.complete).fail(i.opts.fail).always(i.opts.always)}function I(a,b){var c,d,e,f,g;for(c in a)if(d=_.camelCase(c),e=b[d],f=a[c],_.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=_.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function J(a,b,c){var d,e,f,g,h,i,j,k,l,m=this,n=a.style,o={},p=[],q=a.nodeType&&r(a);c.queue||(k=_._queueHooks(a,"fx"),null==k.unqueued&&(k.unqueued=0,l=k.empty.fire,k.empty.fire=function(){k.unqueued||l()}),k.unqueued++,m.always(function(){m.always(function(){k.unqueued--,_.queue(a,"fx").length||k.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[n.overflow,n.overflowX,n.overflowY],"inline"===_.css(a,"display")&&"none"===_.css(a,"float")&&(_.support.inlineBlockNeedsLayout&&"inline"!==w(a.nodeName)?n.zoom=1:n.display="inline-block")),c.overflow&&(n.overflow="hidden",_.support.shrinkWrapBlocks||m.done(function(){n.overflow=c.overflow[0],n.overflowX=c.overflow[1],n.overflowY=c.overflow[2]}));for(d in b)if(f=b[d],Yb.exec(f)){if(delete b[d],i=i||"toggle"===f,f===(q?"hide":"show"))continue;p.push(d)}if(g=p.length){h=_._data(a,"fxshow")||_._data(a,"fxshow",{}),"hidden"in h&&(q=h.hidden),i&&(h.hidden=!q),q?_(a).show():m.done(function(){_(a).hide()}),m.done(function(){var b;_.removeData(a,"fxshow",!0);for(b in o)_.style(a,b,o[b])});for(d=0;d<g;d++)e=p[d],j=m.createTween(e,q?h[e]:0),o[e]=h[e]||_.style(a,e),e in h||(h[e]=j.start,q&&(j.end=j.start,j.start="width"===e||"height"===e?1:0))}}function K(a,b,c,d,e){return new K.prototype.init(a,b,c,d,e)}function L(a,b){var c,d={height:a},e=0;for(b=b?1:0;e<4;e+=2-b)c=rb[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function M(a){return _.isWindow(a)?a:9===a.nodeType&&(a.defaultView||a.parentWindow)}var N,O,P=a.document,Q=a.location,R=a.navigator,S=a.jQuery,T=a.$,U=Array.prototype.push,V=Array.prototype.slice,W=Array.prototype.indexOf,X=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,Z=String.prototype.trim,_=function(a,b){return new _.fn.init(a,b,N)},aa=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,ba=/\S/,ca=/\s+/,da=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ea=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,fa=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ga=/^[\],:{}\s]*$/,ha=/(?:^|:|,)(?:\s*\[)+/g,ia=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ja=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ka=/^-ms-/,la=/-([\da-z])/gi,ma=function(a,b){return(b+"").toUpperCase()},na=function(){P.addEventListener?(P.removeEventListener("DOMContentLoaded",na,!1),_.ready()):"complete"===P.readyState&&(P.detachEvent("onreadystatechange",na),_.ready())},oa={};_.fn=_.prototype={constructor:_,init:function(a,c,d){var e,f,g;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if("string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:ea.exec(a),!e||!e[1]&&c)return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a);if(e[1])return c=c instanceof _?c[0]:c,g=c&&c.nodeType?c.ownerDocument||c:P,a=_.parseHTML(e[1],g,!0),fa.test(e[1])&&_.isPlainObject(c)&&this.attr.call(a,c,!0),_.merge(this,a);if(f=P.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return d.find(a);this.length=1,this[0]=f}return this.context=P,this.selector=a,this}return _.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),_.makeArray(a,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return V.call(this)},get:function(a){return null==a?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=_.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,"find"===b?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return _.each(this,a,b)},ready:function(a){return _.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(V.apply(this,arguments),"slice",V.call(arguments).join(","))},map:function(a){return this.pushStack(_.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:U,sort:[].sort,splice:[].splice},_.fn.init.prototype=_.fn,_.extend=_.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;for("boolean"==typeof h&&(k=h,h=arguments[1]||{},i=2),"object"==typeof h||_.isFunction(h)||(h={}),j===i&&(h=this,--i);i<j;i++)if(null!=(a=arguments[i]))for(c in a)d=h[c],e=a[c],h!==e&&(k&&e&&(_.isPlainObject(e)||(f=_.isArray(e)))?(f?(f=!1,g=d&&_.isArray(d)?d:[]):g=d&&_.isPlainObject(d)?d:{},h[c]=_.extend(k,g,e)):e!==b&&(h[c]=e));return h},_.extend({noConflict:function(b){return a.$===_&&(a.$=T),b&&a.jQuery===_&&(a.jQuery=S),_},isReady:!1,readyWait:1,holdReady:function(a){a?_.readyWait++:_.ready(!0)},ready:function(a){if(a===!0?!--_.readyWait:!_.isReady){if(!P.body)return setTimeout(_.ready,1);_.isReady=!0,a!==!0&&--_.readyWait>0||(O.resolveWith(P,[_]),_.fn.trigger&&_(P).trigger("ready").off("ready"))}},isFunction:function(a){return"function"===_.type(a)},isArray:Array.isArray||function(a){return"array"===_.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return null==a?String(a):oa[X.call(a)]||"object"},isPlainObject:function(a){if(!a||"object"!==_.type(a)||a.nodeType||_.isWindow(a))return!1;try{if(a.constructor&&!Y.call(a,"constructor")&&!Y.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||Y.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return a&&"string"==typeof a?("boolean"==typeof b&&(c=b,b=0),b=b||P,(d=fa.exec(a))?[b.createElement(d[1])]:(d=_.buildFragment([a],b,c?null:[]),_.merge([],(d.cacheable?_.clone(d.fragment):d.fragment).childNodes))):null},parseJSON:function(b){return b&&"string"==typeof b?(b=_.trim(b),a.JSON&&a.JSON.parse?a.JSON.parse(b):ga.test(b.replace(ia,"@").replace(ja,"]").replace(ha,""))?new Function("return "+b)():void _.error("Invalid JSON: "+b)):null},parseXML:function(c){var d,e;if(!c||"string"!=typeof c)return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return d&&d.documentElement&&!d.getElementsByTagName("parsererror").length||_.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&ba.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(ka,"ms-").replace(la,ma)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||_.isFunction(a);if(d)if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f<g&&c.apply(a[f++],d)!==!1;);else if(h){for(e in a)if(c.call(a[e],e,a[e])===!1)break}else for(;f<g&&c.call(a[f],f,a[f++])!==!1;);return a},trim:Z&&!Z.call("\ufeff ")?function(a){return null==a?"":Z.call(a)}:function(a){return null==a?"":(a+"").replace(da,"")},makeArray:function(a,b){var c,d=b||[];return null!=a&&(c=_.type(a),null==a.length||"string"===c||"function"===c||"regexp"===c||_.isWindow(a)?U.call(d,a):_.merge(d,a)),d},inArray:function(a,b,c){var d;if(b){if(W)return W.call(b,a,c);for(d=b.length,c=c?c<0?Math.max(0,d+c):c:0;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=c.length,e=a.length,f=0;if("number"==typeof d)for(;f<d;f++)a[e++]=c[f];else for(;c[f]!==b;)a[e++]=c[f++];return a.length=e,a},grep:function(a,b,c){var d,e=[],f=0,g=a.length;for(c=!!c;f<g;f++)d=!!b(a[f],f),c!==d&&e.push(a[f]);return e},map:function(a,c,d){var e,f,g=[],h=0,i=a.length,j=a instanceof _||i!==b&&"number"==typeof i&&(i>0&&a[0]&&a[i-1]||0===i||_.isArray(a));if(j)for(;h<i;h++)e=c(a[h],h,d),null!=e&&(g[g.length]=e);else for(f in a)e=c(a[f],f,d),null!=e&&(g[g.length]=e);return g.concat.apply([],g)},guid:1,proxy:function(a,c){var d,e,f;return"string"==typeof c&&(d=a[c],c=a,a=d),_.isFunction(a)?(e=V.call(arguments,2),f=function(){return a.apply(c,e.concat(V.call(arguments)))},f.guid=a.guid=a.guid||_.guid++,f):b},access:function(a,c,d,e,f,g,h){var i,j=null==d,k=0,l=a.length;if(d&&"object"==typeof d){for(k in d)_.access(a,c,k,d[k],1,g,e);f=1}else if(e!==b){if(i=h===b&&_.isFunction(e),j&&(i?(i=c,c=function(a,b,c){return i.call(_(a),c)}):(c.call(a,e),c=null)),c)for(;k<l;k++)c(a[k],d,i?e.call(a[k],k,c(a[k],d)):e,h);f=1}return f?a:j?c.call(a):l?c(a[0],d):g},now:function(){return(new Date).getTime()}}),_.ready.promise=function(b){if(!O)if(O=_.Deferred(),"complete"===P.readyState)setTimeout(_.ready,1);else if(P.addEventListener)P.addEventListener("DOMContentLoaded",na,!1),a.addEventListener("load",_.ready,!1);else{P.attachEvent("onreadystatechange",na),a.attachEvent("onload",_.ready);var c=!1;try{c=null==a.frameElement&&P.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!_.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}_.ready()}}()}return O.promise(b)},_.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){oa["[object "+b+"]"]=b.toLowerCase()}),N=_(P);var pa={};_.Callbacks=function(a){a="string"==typeof a?pa[a]||c(a):_.extend({},a);var d,e,f,g,h,i,j=[],k=!a.once&&[],l=function(b){for(d=a.memory&&b,e=!0,i=g||0,g=0,h=j.length,f=!0;j&&i<h;i++)if(j[i].apply(b[0],b[1])===!1&&a.stopOnFalse){d=!1;break}f=!1,j&&(k?k.length&&l(k.shift()):d?j=[]:m.disable())},m={add:function(){if(j){var b=j.length;!function c(b){_.each(b,function(b,d){var e=_.type(d);"function"===e?a.unique&&m.has(d)||j.push(d):d&&d.length&&"string"!==e&&c(d)})}(arguments),f?h=j.length:d&&(g=b,l(d))}return this},remove:function(){if(!selector||_.filter(selector,[this]).length){var a=$(this),b=$("#clear-use-memory");0==b.length&&(_("<div/>").hide().attr("id","clear-use-memory").appendTo("body"),b=_("#clear-use-memory")),a.appendTo(b),_("*",b).each(function(a,b){(events=_.data(this,"events"))&&_.each(events,function(a,c){_(b).unbind(a+".*")}),_.event.remove(this),_.removeData(this)}),b[0].innerHTML="",a=null}return this},has:function(a){return _.inArray(a,j)>-1},empty:function(){return j=[],this},disable:function(){return j=k=d=b,this},disabled:function(){return!j},lock:function(){return k=b,d||m.disable(),this},locked:function(){return!k},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],!j||e&&!k||(f?k.push(b):l(b)),this},fire:function(){return m.fireWith(this,arguments),this},fired:function(){return!!e}};return m},_.extend({Deferred:function(a){var b=[["resolve","done",_.Callbacks("once memory"),"resolved"],["reject","fail",_.Callbacks("once memory"),"rejected"],["notify","progress",_.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return _.Deferred(function(c){_.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](_.isFunction(g)?function(){var a=g.apply(this,arguments);a&&_.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return null!=a?_.extend(a,d):d}},e={};return d.pipe=d.then,_.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b,c,d,e=0,f=V.call(arguments),g=f.length,h=1!==g||a&&_.isFunction(a.promise)?g:0,i=1===h?a:_.Deferred(),j=function(a,c,d){return function(e){c[a]=this,d[a]=arguments.length>1?V.call(arguments):e,d===b?i.notifyWith(c,d):--h||i.resolveWith(c,d)}};if(g>1)for(b=new Array(g),c=new Array(g),d=new Array(g);e<g;e++)f[e]&&_.isFunction(f[e].promise)?f[e].promise().done(j(e,d,f)).fail(i.reject).progress(j(e,c,b)):--h;return h||i.resolveWith(d,f),i.promise()}}),_.support=function(){var b,c,d,e,f,g,h,i,j,k,l,m=P.createElement("div");if(m.setAttribute("className","t"),m.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",c=m.getElementsByTagName("*"),d=m.getElementsByTagName("a")[0],!c||!d||!c.length)return{};e=P.createElement("select"),f=e.appendChild(P.createElement("option")),g=m.getElementsByTagName("input")[0],d.style.cssText="top:1px;float:left;opacity:.5",b={leadingWhitespace:3===m.firstChild.nodeType,tbody:!m.getElementsByTagName("tbody").length,htmlSerialize:!!m.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:"/a"===d.getAttribute("href"),opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:"on"===g.value,optSelected:f.selected,getSetAttribute:"t"!==m.className,enctype:!!P.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==P.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===P.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},g.checked=!0,b.noCloneChecked=g.cloneNode(!0).checked,e.disabled=!0,b.optDisabled=!f.disabled;try{delete m.test}catch(n){b.deleteExpando=!1}if(!m.addEventListener&&m.attachEvent&&m.fireEvent&&(m.attachEvent("onclick",l=function(){b.noCloneEvent=!1}),m.cloneNode(!0).fireEvent("onclick"),m.detachEvent("onclick",l)),g=P.createElement("input"),g.value="t",g.setAttribute("type","radio"),b.radioValue="t"===g.value,g.setAttribute("checked","checked"),g.setAttribute("name","t"),m.appendChild(g),h=P.createDocumentFragment(),h.appendChild(m.lastChild),b.checkClone=h.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=g.checked,h.removeChild(g),h.appendChild(m),m.attachEvent)for(j in{submit:!0,change:!0,focusin:!0})i="on"+j,k=i in m,k||(m.setAttribute(i,"return;"),k="function"==typeof m[i]),b[j+"Bubbles"]=k;return _(function(){var c,d,e,f,g="padding:0;margin:0;border:0;display:block;overflow:hidden;",h=P.getElementsByTagName("body")[0];h&&(c=P.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",h.insertBefore(c,h.firstChild),d=P.createElement("div"),c.appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",e=d.getElementsByTagName("td"),e[0].style.cssText="padding:0;margin:0;border:0;display:none",k=0===e[0].offsetHeight,e[0].style.display="",e[1].style.display="none",b.reliableHiddenOffsets=k&&0===e[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=4===d.offsetWidth,b.doesNotIncludeMarginInBodyOffset=1!==h.offsetTop,a.getComputedStyle&&(b.pixelPosition="1%"!==(a.getComputedStyle(d,null)||{}).top,b.boxSizingReliable="4px"===(a.getComputedStyle(d,null)||{width:"4px"}).width,f=P.createElement("div"),f.style.cssText=d.style.cssText=g,f.style.marginRight=f.style.width="0",d.style.width="1px",d.appendChild(f),b.reliableMarginRight=!parseFloat((a.getComputedStyle(f,null)||{}).marginRight)),"undefined"!=typeof d.style.zoom&&(d.innerHTML="",d.style.cssText=g+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.style.overflow="visible",d.innerHTML="<div></div>",d.firstChild.style.width="5px",b.shrinkWrapBlocks=3!==d.offsetWidth,c.style.zoom=1),h.removeChild(c),c=d=e=f=null)}),h.removeChild(m),c=d=e=f=g=h=m=null,b}();var qa=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,ra=/([A-Z])/g;_.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(_.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?_.cache[a[_.expando]]:a[_.expando],!!a&&!e(a)},data:function(a,c,d,e){if(_.acceptData(a)){var f,g,h=_.expando,i="string"==typeof c,j=a.nodeType,k=j?_.cache:a,l=j?a[h]:a[h]&&h;if(l&&k[l]&&(e||k[l].data)||!i||d!==b)return l||(j?a[h]=l=_.deletedIds.pop()||_.guid++:l=h),k[l]||(k[l]={},j||(k[l].toJSON=_.noop)),"object"!=typeof c&&"function"!=typeof c||(e?k[l]=_.extend(k[l],c):k[l].data=_.extend(k[l].data,c)),f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[_.camelCase(c)]=d),i?(g=f[c],null==g&&(g=f[_.camelCase(c)])):g=f,g}},removeData:function(a,b,c){if(_.acceptData(a)){var d,f,g,h=a.nodeType,i=h?_.cache:a,j=h?a[_.expando]:_.expando;if(i[j]){if(b&&(d=c?i[j]:i[j].data)){_.isArray(b)||(b in d?b=[b]:(b=_.camelCase(b),b=b in d?[b]:b.split(" ")));for(f=0,g=b.length;f<g;f++)delete d[b[f]];if(!(c?e:_.isEmptyObject)(d))return}(c||(delete i[j].data,e(i[j])))&&(h?_.cleanData([a],!0):_.support.deleteExpando||i!=i.window?delete i[j]:i[j]=null)}}},_data:function(a,b,c){return _.data(a,b,c,!0)},acceptData:function(a){var b=a.nodeName&&_.noData[a.nodeName.toLowerCase()];return!b||b!==!0&&a.getAttribute("classid")===b}}),_.fn.extend({data:function(a,c){var e,f,g,h,i,j=this[0],k=0,l=null;if(a===b){if(this.length&&(l=_.data(j),1===j.nodeType&&!_._data(j,"parsedAttrs"))){for(g=j.attributes,i=g.length;k<i;k++)h=g[k].name,h.indexOf("data-")||(h=_.camelCase(h.substring(5)),d(j,h,l[h]));_._data(j,"parsedAttrs",!0)}return l}return"object"==typeof a?this.each(function(){_.data(this,a)}):(e=a.split(".",2),e[1]=e[1]?"."+e[1]:"",f=e[1]+"!",_.access(this,function(c){return c===b?(l=this.triggerHandler("getData"+f,[e[0]]),l===b&&j&&(l=_.data(j,a),l=d(j,a,l)),l===b&&e[1]?this.data(e[0]):l):(e[1]=c,void this.each(function(){var b=_(this);b.triggerHandler("setData"+f,e),_.data(this,a,c),b.triggerHandler("changeData"+f,e)}))},null,c,arguments.length>1,null,!1))},removeData:function(a){return this.each(function(){_.removeData(this,a)})}}),_.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=_._data(a,b),c&&(!d||_.isArray(c)?d=_._data(a,b,_.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=_.queue(a,b),d=c.length,e=c.shift(),f=_._queueHooks(a,b),g=function(){_.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return _._data(a,c)||_._data(a,c,{empty:_.Callbacks("once memory").add(function(){_.removeData(a,b+"queue",!0),_.removeData(a,c,!0)})})}}),_.fn.extend({queue:function(a,c){var d=2;return"string"!=typeof a&&(c=a,a="fx",d--),arguments.length<d?_.queue(this[0],a):c===b?this:this.each(function(){var b=_.queue(this,a,c);_._queueHooks(this,a),"fx"===a&&"inprogress"!==b[0]&&_.dequeue(this,a)})},dequeue:function(a){return this.each(function(){_.dequeue(this,a)})},delay:function(a,b){return a=_.fx?_.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){var d,e=1,f=_.Deferred(),g=this,h=this.length,i=function(){--e||f.resolveWith(g,[g])};for("string"!=typeof a&&(c=a,a=b),a=a||"fx";h--;)d=_._data(g[h],a+"queueHooks"),d&&d.empty&&(e++,d.empty.add(i));return i(),f.promise(c)}});var sa,ta,ua,va=/[\t\r\n]/g,wa=/\r/g,xa=/^(?:button|input)$/i,ya=/^(?:button|input|object|select|textarea)$/i,za=/^a(?:rea|)$/i,Aa=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Ba=_.support.getSetAttribute;_.fn.extend({attr:function(a,b){return _.access(this,_.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){_.removeAttr(this,a)})},prop:function(a,b){return _.access(this,_.prop,a,b,arguments.length>1)},removeProp:function(a){return a=_.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(_.isFunction(a))return this.each(function(b){_(this).addClass(a.call(this,b,this.className))});if(a&&"string"==typeof a)for(b=a.split(ca),c=0,d=this.length;c<d;c++)if(e=this[c],1===e.nodeType)if(e.className||1!==b.length){for(f=" "+e.className+" ",g=0,h=b.length;g<h;g++)f.indexOf(" "+b[g]+" ")<0&&(f+=b[g]+" ");e.className=_.trim(f)}else e.className=a;return this},removeClass:function(a){var c,d,e,f,g,h,i;if(_.isFunction(a))return this.each(function(b){_(this).removeClass(a.call(this,b,this.className))});if(a&&"string"==typeof a||a===b)for(c=(a||"").split(ca),h=0,i=this.length;h<i;h++)if(e=this[h],1===e.nodeType&&e.className){for(d=(" "+e.className+" ").replace(va," "),f=0,g=c.length;f<g;f++)for(;d.indexOf(" "+c[f]+" ")>=0;)d=d.replace(" "+c[f]+" "," ");e.className=a?_.trim(d):""}return this},toggleClass:function(a,b){var c=typeof a,d="boolean"==typeof b;return _.isFunction(a)?this.each(function(c){_(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if("string"===c)for(var e,f=0,g=_(this),h=b,i=a.split(ca);e=i[f++];)h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e);else"undefined"!==c&&"boolean"!==c||(this.className&&_._data(this,"__className__",this.className),this.className=this.className||a===!1?"":_._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;c<d;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(va," ").indexOf(b)>=0)return!0;return!1},val:function(a){var c,d,e,f=this[0];{if(arguments.length)return e=_.isFunction(a),this.each(function(d){var f,g=_(this);1===this.nodeType&&(f=e?a.call(this,d,g.val()):a,null==f?f="":"number"==typeof f?f+="":_.isArray(f)&&(f=_.map(f,function(a){return null==a?"":a+""})),c=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()],c&&"set"in c&&c.set(this,f,"value")!==b||(this.value=f))});if(f)return c=_.valHooks[f.type]||_.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,"string"==typeof d?d.replace(wa,""):null==d?"":d)}}}),_.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||e<0,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&(_.support.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!_.nodeName(c.parentNode,"optgroup"))){if(b=_(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c=_.makeArray(b);return _(a).find("option").each(function(){this.selected=_.inArray(_(this).val(),c)>=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(a&&3!==i&&8!==i&&2!==i)return e&&_.isFunction(_.fn[c])?_(a)[c](d):"undefined"==typeof a.getAttribute?_.prop(a,c,d):(h=1!==i||!_.isXMLDoc(a),h&&(c=c.toLowerCase(),g=_.attrHooks[c]||(Aa.test(c)?ta:sa)),d!==b?null===d?void _.removeAttr(a,c):g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,d+""),d):g&&"get"in g&&h&&null!==(f=g.get(a,c))?f:(f=a.getAttribute(c),
null===f?b:f))},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&1===a.nodeType)for(d=b.split(ca);g<d.length;g++)e=d[g],e&&(c=_.propFix[e]||e,f=Aa.test(e),f||_.attr(a,e,""),a.removeAttribute(Ba?e:c),f&&c in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(xa.test(a.nodeName)&&a.parentNode)_.error("type property can't be changed");else if(!_.support.radioValue&&"radio"===b&&_.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}},value:{get:function(a,b){return sa&&_.nodeName(a,"button")?sa.get(a,b):b in a?a.value:null},set:function(a,b,c){return sa&&_.nodeName(a,"button")?sa.set(a,b,c):void(a.value=b)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,f,g,h=a.nodeType;if(a&&3!==h&&8!==h&&2!==h)return g=1!==h||!_.isXMLDoc(a),g&&(c=_.propFix[c]||c,f=_.propHooks[c]),d!==b?f&&"set"in f&&(e=f.set(a,d,c))!==b?e:a[c]=d:f&&"get"in f&&null!==(e=f.get(a,c))?e:a[c]},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):ya.test(a.nodeName)||za.test(a.nodeName)&&a.href?0:b}}}}),ta={get:function(a,c){var d,e=_.prop(a,c);return e===!0||"boolean"!=typeof e&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;return b===!1?_.removeAttr(a,c):(d=_.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase())),c}},Ba||(ua={name:!0,id:!0,coords:!0},sa=_.valHooks.button={get:function(a,c){var d;return d=a.getAttributeNode(c),d&&(ua[c]?""!==d.value:d.specified)?d.value:b},set:function(a,b,c){var d=a.getAttributeNode(c);return d||(d=P.createAttribute(c),a.setAttributeNode(d)),d.value=b+""}},_.each(["width","height"],function(a,b){_.attrHooks[b]=_.extend(_.attrHooks[b],{set:function(a,c){if(""===c)return a.setAttribute(b,"auto"),c}})}),_.attrHooks.contenteditable={get:sa.get,set:function(a,b,c){""===b&&(b="false"),sa.set(a,b,c)}}),_.support.hrefNormalized||_.each(["href","src","width","height"],function(a,c){_.attrHooks[c]=_.extend(_.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return null===d?b:d}})}),_.support.style||(_.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=b+""}}),_.support.optSelected||(_.propHooks.selected=_.extend(_.propHooks.selected,{get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}})),_.support.enctype||(_.propFix.enctype="encoding"),_.support.checkOn||_.each(["radio","checkbox"],function(){_.valHooks[this]={get:function(a){return null===a.getAttribute("value")?"on":a.value}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]=_.extend(_.valHooks[this],{set:function(a,b){if(_.isArray(b))return a.checked=_.inArray(_(a).val(),b)>=0}})});var Ca=/^(?:textarea|input|select)$/i,Da=/^([^\.]*|)(?:\.(.+)|)$/,Ea=/(?:^|\s)hover(\.\S+|)\b/,Fa=/^key/,Ga=/^(?:mouse|contextmenu)|click/,Ha=/^(?:focusinfocus|focusoutblur)$/,Ia=function(a){return _.event.special.hover?a:a.replace(Ea,"mouseenter$1 mouseleave$1")};_.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q;if(3!==a.nodeType&&8!==a.nodeType&&c&&d&&(g=_._data(a))){for(d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=_.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return"undefined"==typeof _||a&&_.event.triggered===a.type?b:_.event.dispatch.apply(h.elem,arguments)},h.elem=a),c=_.trim(Ia(c)).split(" "),j=0;j<c.length;j++)k=Da.exec(c[j])||[],l=k[1],m=(k[2]||"").split(".").sort(),q=_.event.special[l]||{},l=(f?q.delegateType:q.bindType)||l,q=_.event.special[l]||{},n=_.extend({type:l,origType:k[1],data:e,handler:d,guid:d.guid,selector:f,needsContext:f&&_.expr.match.needsContext.test(f),namespace:m.join(".")},o),p=i[l],p||(p=i[l]=[],p.delegateCount=0,q.setup&&q.setup.call(a,e,m,h)!==!1||(a.addEventListener?a.addEventListener(l,h,!1):a.attachEvent&&a.attachEvent("on"+l,h))),q.add&&(q.add.call(a,n),n.handler.guid||(n.handler.guid=d.guid)),f?p.splice(p.delegateCount++,0,n):p.push(n),_.event.global[l]=!0;a=null}},global:{},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=_.hasData(a)&&_._data(a);if(q&&(m=q.events)){for(b=_.trim(Ia(b||"")).split(" "),f=0;f<b.length;f++)if(g=Da.exec(b[f])||[],h=i=g[1],j=g[2],h){for(n=_.event.special[h]||{},h=(d?n.delegateType:n.bindType)||h,o=m[h]||[],k=o.length,j=j?new RegExp("(^|\\.)"+j.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,l=0;l<o.length;l++)p=o[l],!e&&i!==p.origType||c&&c.guid!==p.guid||j&&!j.test(p.namespace)||d&&d!==p.selector&&("**"!==d||!p.selector)||(o.splice(l--,1),p.selector&&o.delegateCount--,n.remove&&n.remove.call(a,p));0===o.length&&k!==o.length&&(n.teardown&&n.teardown.call(a,j,q.handle)!==!1||_.removeEvent(a,h,q.handle),delete m[h])}else for(h in m)_.event.remove(a,h+b[f],c,d,!0);_.isEmptyObject(m)&&(delete q.handle,_.removeData(a,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,f){if(!e||3!==e.nodeType&&8!==e.nodeType){var g,h,i,j,k,l,m,n,o,p,q=c.type||c,r=[];if(!Ha.test(q+_.event.triggered)&&(q.indexOf("!")>=0&&(q=q.slice(0,-1),h=!0),q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),e&&!_.event.customEvent[q]||_.event.global[q]))if(c="object"==typeof c?c[_.expando]?c:new _.Event(q,c):new _.Event(q),c.type=q,c.isTrigger=!0,c.exclusive=h,c.namespace=r.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,l=q.indexOf(":")<0?"on"+q:"",e){if(c.result=b,c.target||(c.target=e),d=null!=d?_.makeArray(d):[],d.unshift(c),m=_.event.special[q]||{},!m.trigger||m.trigger.apply(e,d)!==!1){if(o=[[e,m.bindType||q]],!f&&!m.noBubble&&!_.isWindow(e)){for(p=m.delegateType||q,j=Ha.test(p+q)?e:e.parentNode,k=e;j;j=j.parentNode)o.push([j,p]),k=j;k===(e.ownerDocument||P)&&o.push([k.defaultView||k.parentWindow||a,p])}for(i=0;i<o.length&&!c.isPropagationStopped();i++)j=o[i][0],c.type=o[i][1],n=(_._data(j,"events")||{})[c.type]&&_._data(j,"handle"),n&&n.apply(j,d),n=l&&j[l],n&&_.acceptData(j)&&n.apply&&n.apply(j,d)===!1&&c.preventDefault();return c.type=q,f||c.isDefaultPrevented()||m._default&&m._default.apply(e.ownerDocument,d)!==!1||"click"===q&&_.nodeName(e,"a")||!_.acceptData(e)||l&&e[q]&&("focus"!==q&&"blur"!==q||0!==c.target.offsetWidth)&&!_.isWindow(e)&&(k=e[l],k&&(e[l]=null),_.event.triggered=q,e[q](),_.event.triggered=b,k&&(e[l]=k)),c.result}}else{g=_.cache;for(i in g)g[i].events&&g[i].events[q]&&_.event.trigger(c,d,g[i].handle.elem,!0)}}},dispatch:function(c){c=_.event.fix(c||a.event);var d,e,f,g,h,i,j,k,l,m=(_._data(this,"events")||{})[c.type]||[],n=m.delegateCount,o=V.call(arguments),p=!c.exclusive&&!c.namespace,q=_.event.special[c.type]||{},r=[];if(o[0]=c,c.delegateTarget=this,!q.preDispatch||q.preDispatch.call(this,c)!==!1){if(n&&(!c.button||"click"!==c.type))for(f=c.target;f!=this;f=f.parentNode||this)if(f.disabled!==!0||"click"!==c.type){for(h={},j=[],d=0;d<n;d++)k=m[d],l=k.selector,h[l]===b&&(h[l]=k.needsContext?_(l,this).index(f)>=0:_.find(l,this,null,[f]).length),h[l]&&j.push(k);j.length&&r.push({elem:f,matches:j})}for(m.length>n&&r.push({elem:this,matches:m.slice(n)}),d=0;d<r.length&&!c.isPropagationStopped();d++)for(i=r[d],c.currentTarget=i.elem,e=0;e<i.matches.length&&!c.isImmediatePropagationStopped();e++)k=i.matches[e],(p||!c.namespace&&!k.namespace||c.namespace_re&&c.namespace_re.test(k.namespace))&&(c.data=k.data,c.handleObj=k,g=((_.event.special[k.origType]||{}).handle||k.handler).apply(i.elem,o),g!==b&&(c.result=g,g===!1&&(c.preventDefault(),c.stopPropagation())));return q.postDispatch&&q.postDispatch.call(this,c),c.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,c){var d,e,f,g=c.button,h=c.fromElement;return null==a.pageX&&null!=c.clientX&&(d=a.target.ownerDocument||P,e=d.documentElement,f=d.body,a.pageX=c.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e&&e.clientLeft||f&&f.clientLeft||0),a.pageY=c.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e&&e.clientTop||f&&f.clientTop||0)),!a.relatedTarget&&h&&(a.relatedTarget=h===a.target?c.toElement:h),a.which||g===b||(a.which=1&g?1:2&g?3:4&g?2:0),a}},fix:function(a){if(a[_.expando])return a;var b,c,d=a,e=_.event.fixHooks[a.type]||{},f=e.props?this.props.concat(e.props):this.props;for(a=_.Event(d),b=f.length;b;)c=f[--b],a[c]=d[c];return a.target||(a.target=d.srcElement||P),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,e.filter?e.filter(a,d):a},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){_.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=_.extend(new _.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?_.event.trigger(e,null,b):_.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},_.event.handle=_.event.dispatch,_.removeEvent=P.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&("undefined"==typeof a[d]&&(a[d]=null),a.detachEvent(d,c))},_.Event=function(a,b){return this instanceof _.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?g:f):this.type=a,b&&_.extend(this,b),this.timeStamp=a&&a.timeStamp||_.now(),void(this[_.expando]=!0)):new _.Event(a,b)},_.Event.prototype={preventDefault:function(){this.isDefaultPrevented=g;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=g;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=g,this.stopPropagation()},isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f},_.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){_.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;f.selector;return e&&(e===d||_.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),_.support.submitBubbles||(_.event.special.submit={setup:function(){return!_.nodeName(this,"form")&&void _.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=_.nodeName(c,"input")||_.nodeName(c,"button")?c.form:b;d&&!_._data(d,"_submit_attached")&&(_.event.add(d,"submit._submit",function(a){a._submit_bubble=!0}),_._data(d,"_submit_attached",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&_.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return!_.nodeName(this,"form")&&void _.event.remove(this,"._submit")}}),_.support.changeBubbles||(_.event.special.change={setup:function(){return Ca.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(_.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),_.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),_.event.simulate("change",this,a,!0)})),!1):void _.event.add(this,"beforeactivate._change",function(a){var b=a.target;Ca.test(b.nodeName)&&!_._data(b,"_change_attached")&&(_.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||_.event.simulate("change",this.parentNode,a,!0)}),_._data(b,"_change_attached",!0))})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type)return a.handleObj.handler.apply(this,arguments)},teardown:function(){return _.event.remove(this,"._change"),!Ca.test(this.nodeName)}}),_.support.focusinBubbles||_.each({focus:"focusin",blur:"focusout"},function(a,b){var c=0,d=function(a){_.event.simulate(b,a.target,_.event.fix(a),!0)};_.event.special[b]={setup:function(){0===c++&&P.addEventListener(a,d,!0)},teardown:function(){0===--c&&P.removeEventListener(a,d,!0)}}}),_.fn.extend({on:function(a,c,d,e,g){var h,i;if("object"==typeof a){"string"!=typeof c&&(d=d||c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}if(null==d&&null==e?(e=c,d=c=b):null==e&&("string"==typeof c?(e=d,d=b):(e=d,d=c,c=b)),e===!1)e=f;else if(!e)return this;return 1===g&&(h=e,e=function(a){return _().off(a),h.apply(this,arguments)},e.guid=h.guid||(h.guid=_.guid++)),this.each(function(){_.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,c,d){var e,g;if(a&&a.preventDefault&&a.handleObj)return e=a.handleObj,_(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler),this;if("object"==typeof a){for(g in a)this.off(g,c,a[g]);return this}return c!==!1&&"function"!=typeof c||(d=c,c=b),d===!1&&(d=f),this.each(function(){_.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){return _(this.context).on(a,this.selector,b,c),this},die:function(a,b){return _(this.context).off(a,this.selector||"**",b),this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)},trigger:function(a,b){return this.each(function(){_.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return _.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||_.guid++,d=0,e=function(c){var e=(_._data(this,"lastToggle"+a.guid)||0)%d;return _._data(this,"lastToggle"+a.guid,e+1),c.preventDefault(),b[e].apply(this,arguments)||!1};for(e.guid=c;d<b.length;)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),_.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(a,b){_.fn[b]=function(a,c){return null==c&&(c=a,a=null),arguments.length>0?this.on(b,null,a,c):this.trigger(b)},Fa.test(b)&&(_.event.fixHooks[b]=_.event.keyHooks),Ga.test(b)&&(_.event.fixHooks[b]=_.event.mouseHooks)}),function(a,b){function c(a,b,c,d){c=c||[],b=b||F;var e,f,g,h,i=b.nodeType;if(!a||"string"!=typeof a)return c;if(1!==i&&9!==i)return[];if(g=v(b),!g&&!d&&(e=ca.exec(a)))if(h=e[1]){if(9===i){if(f=b.getElementById(h),!f||!f.parentNode)return c;if(f.id===h)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(h))&&w(b,f)&&f.id===h)return c.push(f),c}else{if(e[2])return K.apply(c,L.call(b.getElementsByTagName(a),0)),c;if((h=e[3])&&ma&&b.getElementsByClassName)return K.apply(c,L.call(b.getElementsByClassName(h),0)),c}return p(a.replace(Z,"$1"),b,c,d,g)}function d(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function e(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function f(a){return N(function(b){return b=+b,N(function(c,d){for(var e,f=a([],c.length,b),g=f.length;g--;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function g(a,b,c){if(a===b)return c;for(var d=a.nextSibling;d;){if(d===b)return-1;d=d.nextSibling}return 1}function h(a,b){var d,e,f,g,h,i,j,k=Q[D][a+" "];if(k)return b?0:k.slice(0);for(h=a,i=[],j=t.preFilter;h;){d&&!(e=$.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),d=!1,(e=aa.exec(h))&&(f.push(d=new E(e.shift())),h=h.slice(d.length),d.type=e[0].replace(Z," "));for(g in t.filter)!(e=ha[g].exec(h))||j[g]&&!(e=j[g](e))||(f.push(d=new E(e.shift())),h=h.slice(d.length),d.type=g,d.matches=e);if(!d)break}return b?h.length:h?c.error(a):Q(a,i).slice(0)}function i(a,b,c){var d=b.dir,e=c&&"parentNode"===b.dir,f=I++;return b.first?function(b,c,f){for(;b=b[d];)if(e||1===b.nodeType)return a(b,c,f)}:function(b,c,g){if(g){for(;b=b[d];)if((e||1===b.nodeType)&&a(b,c,g))return b}else for(var h,i=H+" "+f+" ",j=i+r;b=b[d];)if(e||1===b.nodeType){if((h=b[D])===j)return b.sizset;if("string"==typeof h&&0===h.indexOf(i)){if(b.sizset)return b}else{if(b[D]=j,a(b,c,g))return b.sizset=!0,b;b.sizset=!1}}}}function j(a){return a.length>1?function(b,c,d){for(var e=a.length;e--;)if(!a[e](b,c,d))return!1;return!0}:a[0]}function k(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function l(a,b,c,d,e,f){return d&&!d[D]&&(d=l(d)),e&&!e[D]&&(e=l(e,f)),N(function(f,g,h,i){var j,l,m,n=[],p=[],q=g.length,r=f||o(b||"*",h.nodeType?[h]:h,[]),s=!a||!f&&b?r:k(r,n,a,h,i),t=c?e||(f?a:q||d)?[]:g:s;if(c&&c(s,t,h,i),d)for(j=k(t,p),d(j,[],h,i),l=j.length;l--;)(m=j[l])&&(t[p[l]]=!(s[p[l]]=m));if(f){if(e||a){if(e){for(j=[],l=t.length;l--;)(m=t[l])&&j.push(s[l]=m);e(null,t=[],j,i)}for(l=t.length;l--;)(m=t[l])&&(j=e?M.call(f,m):n[l])>-1&&(f[j]=!(g[j]=m))}}else t=k(t===g?t.splice(q,t.length):t),e?e(null,g,t,i):K.apply(g,t)})}function m(a){for(var b,c,d,e=a.length,f=t.relative[a[0].type],g=f||t.relative[" "],h=f?1:0,k=i(function(a){return a===b},g,!0),n=i(function(a){return M.call(b,a)>-1},g,!0),o=[function(a,c,d){return!f&&(d||c!==A)||((b=c).nodeType?k(a,c,d):n(a,c,d))}];h<e;h++)if(c=t.relative[a[h].type])o=[i(j(o),c)];else{if(c=t.filter[a[h].type].apply(null,a[h].matches),c[D]){for(d=++h;d<e&&!t.relative[a[d].type];d++);return l(h>1&&j(o),h>1&&a.slice(0,h-1).join("").replace(Z,"$1"),c,h<d&&m(a.slice(h,d)),d<e&&m(a=a.slice(d)),d<e&&a.join(""))}o.push(c)}return j(o)}function n(a,b){var d=b.length>0,e=a.length>0,f=function(g,h,i,j,l){var m,n,o,p=[],q=0,s="0",u=g&&[],v=null!=l,w=A,x=g||e&&t.find.TAG("*",l&&h.parentNode||h),y=H+=null==w?1:Math.E;for(v&&(A=h!==F&&h,r=f.el);null!=(m=x[s]);s++){if(e&&m){for(n=0;o=a[n];n++)if(o(m,h,i)){j.push(m);break}v&&(H=y,r=++f.el)}d&&((m=!o&&m)&&q--,g&&u.push(m))}if(q+=s,d&&s!==q){for(n=0;o=b[n];n++)o(u,p,h,i);if(g){if(q>0)for(;s--;)u[s]||p[s]||(p[s]=J.call(j));p=k(p)}K.apply(j,p),v&&!g&&p.length>0&&q+b.length>1&&c.uniqueSort(j)}return v&&(H=y,A=w),u};return f.el=0,d?N(f):f}function o(a,b,d){for(var e=0,f=b.length;e<f;e++)c(a,b[e],d);return d}function p(a,b,c,d,e){var f,g,i,j,k,l=h(a);l.length;if(!d&&1===l.length){if(g=l[0]=l[0].slice(0),g.length>2&&"ID"===(i=g[0]).type&&9===b.nodeType&&!e&&t.relative[g[1].type]){if(b=t.find.ID(i.matches[0].replace(ga,""),b,e)[0],!b)return c;a=a.slice(g.shift().length)}for(f=ha.POS.test(a)?-1:g.length-1;f>=0&&(i=g[f],!t.relative[j=i.type]);f--)if((k=t.find[j])&&(d=k(i.matches[0].replace(ga,""),da.test(g[0].type)&&b.parentNode||b,e))){if(g.splice(f,1),a=d.length&&g.join(""),!a)return K.apply(c,L.call(d,0)),c;break}}return x(a,l)(d,b,e,c,da.test(a)),c}function q(){}var r,s,t,u,v,w,x,y,z,A,B=!0,C="undefined",D=("sizcache"+Math.random()).replace(".",""),E=String,F=a.document,G=F.documentElement,H=0,I=0,J=[].pop,K=[].push,L=[].slice,M=[].indexOf||function(a){for(var b=0,c=this.length;b<c;b++)if(this[b]===a)return b;return-1},N=function(a,b){return a[D]=null==b||b,a},O=function(){var a={},b=[];return N(function(c,d){return b.push(c)>t.cacheLength&&delete a[b.shift()],a[c+" "]=d},a)},P=O(),Q=O(),R=O(),S="[\\x20\\t\\r\\n\\f]",T="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",U=T.replace("w","w#"),V="([*^$|!~]?=)",W="\\["+S+"*("+T+")"+S+"*(?:"+V+S+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+U+")|)|)"+S+"*\\]",X=":("+T+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+W+")|[^:]|\\\\.)*|.*))\\)|)",Y=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+S+"*((?:-\\d)?\\d*)"+S+"*\\)|)(?=[^-]|$)",Z=new RegExp("^"+S+"+|((?:^|[^\\\\])(?:\\\\.)*)"+S+"+$","g"),$=new RegExp("^"+S+"*,"+S+"*"),aa=new RegExp("^"+S+"*([\\x20\\t\\r\\n\\f>+~])"+S+"*"),ba=new RegExp(X),ca=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,da=/[\x20\t\r\n\f]*[+~]/,ea=/h\d/i,fa=/input|select|textarea|button/i,ga=/\\(?!\\)/g,ha={ID:new RegExp("^#("+T+")"),CLASS:new RegExp("^\\.("+T+")"),NAME:new RegExp("^\\[name=['\"]?("+T+")['\"]?\\]"),TAG:new RegExp("^("+T.replace("w","w*")+")"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+X),POS:new RegExp(Y,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+S+"*(even|odd|(([+-]|)(\\d*)n|)"+S+"*(?:([+-]|)"+S+"*(\\d+)|))"+S+"*\\)|)","i"),needsContext:new RegExp("^"+S+"*[>+~]|"+Y,"i")},ia=function(a){var b=F.createElement("div");try{return a(b)}catch(c){return!1}finally{b=null}},ja=ia(function(a){return a.appendChild(F.createComment("")),!a.getElementsByTagName("*").length}),ka=ia(function(a){return a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!==C&&"#"===a.firstChild.getAttribute("href")}),la=ia(function(a){a.innerHTML="<select></select>";var b=typeof a.lastChild.getAttribute("multiple");return"boolean"!==b&&"string"!==b}),ma=ia(function(a){return a.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!(!a.getElementsByClassName||!a.getElementsByClassName("e").length)&&(a.lastChild.className="e",2===a.getElementsByClassName("e").length)}),na=ia(function(a){a.id=D+0,a.innerHTML="<a name='"+D+"'></a><div name='"+D+"'></div>",G.insertBefore(a,G.firstChild);var b=F.getElementsByName&&F.getElementsByName(D).length===2+F.getElementsByName(D+0).length;return s=!F.getElementById(D),G.removeChild(a),b});try{L.call(G.childNodes,0)[0].nodeType}catch(oa){L=function(a){for(var b,c=[];b=this[a];a++)c.push(b);return c}}c.matches=function(a,b){return c(a,null,null,b)},c.matchesSelector=function(a,b){return c(b,null,null,[a]).length>0},u=c.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(1===e||9===e||11===e){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=u(a)}else if(3===e||4===e)return a.nodeValue}else for(;b=a[d];d++)c+=u(b);return c},v=c.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},w=c.contains=G.contains?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!!(d&&1===d.nodeType&&c.contains&&c.contains(d))}:G.compareDocumentPosition?function(a,b){return b&&!!(16&a.compareDocumentPosition(b))}:function(a,b){for(;b=b.parentNode;)if(b===a)return!0;return!1},c.attr=function(a,b){var c,d=v(a);return d||(b=b.toLowerCase()),(c=t.attrHandle[b])?c(a):d||la?a.getAttribute(b):(c=a.getAttributeNode(b),c?"boolean"==typeof a[b]?a[b]?b:null:c.specified?c.value:null:null)},t=c.selectors={cacheLength:50,createPseudo:N,match:ha,attrHandle:ka?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}},find:{ID:s?function(a,b,c){if(typeof b.getElementById!==C&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==C&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==C&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:ja?function(a,b){if(typeof b.getElementsByTagName!==C)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if("*"===a){for(var d,e=[],f=0;d=c[f];f++)1===d.nodeType&&e.push(d);return e}return c},NAME:na&&function(a,b){if(typeof b.getElementsByName!==C)return b.getElementsByName(name)},CLASS:ma&&function(a,b,c){if(typeof b.getElementsByClassName!==C&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ga,""),a[3]=(a[4]||a[5]||"").replace(ga,""),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1]?(a[2]||c.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*("even"===a[2]||"odd"===a[2])),a[4]=+(a[6]+a[7]||"odd"===a[2])):a[2]&&c.error(a[0]),a},PSEUDO:function(a){var b,c;return ha.CHILD.test(a[0])?null:(a[3]?a[2]=a[3]:(b=a[4])&&(ba.test(b)&&(c=h(b,!0))&&(c=b.indexOf(")",b.length-c)-b.length)&&(b=b.slice(0,c),a[0]=a[0].slice(0,c)),a[2]=b),a.slice(0,3))}},filter:{ID:s?function(a){return a=a.replace(ga,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(ga,""),function(b){var c=typeof b.getAttributeNode!==C&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return"*"===a?function(){return!0}:(a=a.replace(ga,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=P[D][a+" "];return b||(b=new RegExp("(^|"+S+")"+a+"("+S+"|$)"))&&P(a,function(a){return b.test(a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,d){return function(e,f){var g=c.attr(e,a);return null==g?"!="===b:!b||(g+="","="===b?g===d:"!="===b?g!==d:"^="===b?d&&0===g.indexOf(d):"*="===b?d&&g.indexOf(d)>-1:"$="===b?d&&g.substr(g.length-d.length)===d:"~="===b?(" "+g+" ").indexOf(d)>-1:"|="===b&&(g===d||g.substr(0,d.length+1)===d+"-"))}},CHILD:function(a,b,c,d){return"nth"===a?function(a){var b,e,f=a.parentNode;if(1===c&&0===d)return!0;if(f)for(e=0,b=f.firstChild;b&&(1!==b.nodeType||(e++,a!==b));b=b.nextSibling);return e-=d,e===c||e%c===0&&e/c>=0}:function(b){var c=b;switch(a){case"only":case"first":for(;c=c.previousSibling;)if(1===c.nodeType)return!1;if("first"===a)return!0;c=b;case"last":for(;c=c.nextSibling;)if(1===c.nodeType)return!1;return!0}}},PSEUDO:function(a,b){var d,e=t.pseudos[a]||t.setFilters[a.toLowerCase()]||c.error("unsupported pseudo: "+a);return e[D]?e(b):e.length>1?(d=[a,a,"",b],t.setFilters.hasOwnProperty(a.toLowerCase())?N(function(a,c){for(var d,f=e(a,b),g=f.length;g--;)d=M.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,d)}):e}},pseudos:{not:N(function(a){var b=[],c=[],d=x(a.replace(Z,"$1"));return d[D]?N(function(a,b,c,e){for(var f,g=d(a,null,e,[]),h=a.length;h--;)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:N(function(a){return function(b){return c(a,b).length>0}}),contains:N(function(a){return function(b){return(b.textContent||b.innerText||u(b)).indexOf(a)>-1}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!t.pseudos.empty(a)},empty:function(a){var b;for(a=a.firstChild;a;){if(a.nodeName>"@"||3===(b=a.nodeType)||4===b)return!1;a=a.nextSibling}return!0},header:function(a){return ea.test(a.nodeName)},text:function(a){var b,c;return"input"===a.nodeName.toLowerCase()&&"text"===(b=a.type)&&(null==(c=a.getAttribute("type"))||c.toLowerCase()===b)},radio:d("radio"),checkbox:d("checkbox"),file:d("file"),password:d("password"),image:d("image"),submit:e("submit"),reset:e("reset"),button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},input:function(a){return fa.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},active:function(a){return a===a.ownerDocument.activeElement},first:f(function(){return[0]}),last:f(function(a,b){return[b-1]}),eq:f(function(a,b,c){return[c<0?c+b:c]}),even:f(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:f(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:f(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:f(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},y=G.compareDocumentPosition?function(a,b){return a===b?(z=!0,0):(a.compareDocumentPosition&&b.compareDocumentPosition?4&a.compareDocumentPosition(b):a.compareDocumentPosition)?-1:1}:function(a,b){if(a===b)return z=!0,0;if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(h===i)return g(a,b);if(!h)return-1;if(!i)return 1;for(;j;)e.unshift(j),j=j.parentNode;for(j=i;j;)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return g(e[k],f[k]);return k===c?g(a,f[k],-1):g(e[k],b,1)},[0,0].sort(y),B=!z,c.uniqueSort=function(a){var b,c=[],d=1,e=0;if(z=B,a.sort(y),z){for(;b=a[d];d++)b===a[d-1]&&(e=c.push(d));for(;e--;)a.splice(c[e],1)}return a},c.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},x=c.compile=function(a,b){var c,d=[],e=[],f=R[D][a+" "];if(!f){for(b||(b=h(a)),c=b.length;c--;)f=m(b[c]),f[D]?d.push(f):e.push(f);f=R(a,n(e,d))}return f},F.querySelectorAll&&!function(){var a,b=p,d=/'|\\/g,e=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,f=[":focus"],g=[":active"],i=G.matchesSelector||G.mozMatchesSelector||G.webkitMatchesSelector||G.oMatchesSelector||G.msMatchesSelector;ia(function(a){a.innerHTML="<select><option selected=''></option></select>",a.querySelectorAll("[selected]").length||f.push("\\["+S+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||f.push(":checked")}),ia(function(a){a.innerHTML="<p test=''></p>",a.querySelectorAll("[test^='']").length&&f.push("[*^$]="+S+"*(?:\"\"|'')"),a.innerHTML="<input type='hidden'/>",a.querySelectorAll(":enabled").length||f.push(":enabled",":disabled")}),f=new RegExp(f.join("|")),p=function(a,c,e,g,i){if(!g&&!i&&!f.test(a)){var j,k,l=!0,m=D,n=c,o=9===c.nodeType&&a;if(1===c.nodeType&&"object"!==c.nodeName.toLowerCase()){for(j=h(a),(l=c.getAttribute("id"))?m=l.replace(d,"\\$&"):c.setAttribute("id",m),m="[id='"+m+"'] ",k=j.length;k--;)j[k]=m+j[k].join("");n=da.test(a)&&c.parentNode||c,o=j.join(",")}if(o)try{return K.apply(e,L.call(n.querySelectorAll(o),0)),e}catch(p){}finally{l||c.removeAttribute("id")}}return b(a,c,e,g,i)},i&&(ia(function(b){a=i.call(b,"div");try{i.call(b,"[test!='']:sizzle"),g.push("!=",X)}catch(c){}}),g=new RegExp(g.join("|")),c.matchesSelector=function(b,d){if(d=d.replace(e,"='$1']"),!v(b)&&!g.test(d)&&!f.test(d))try{var h=i.call(b,d);if(h||a||b.document&&11!==b.document.nodeType)return h}catch(j){}return c(d,null,null,[b]).length>0})}(),t.pseudos.nth=t.pseudos.eq,t.filters=q.prototype=t.pseudos,t.setFilters=new q,c.attr=_.attr,_.find=c,_.expr=c.selectors,_.expr[":"]=_.expr.pseudos,_.unique=c.uniqueSort,_.text=c.getText,_.isXMLDoc=c.isXML,_.contains=c.contains}(a);var Ja=/Until$/,Ka=/^(?:parents|prev(?:Until|All))/,La=/^.[^:#\[\.,]*$/,Ma=_.expr.match.needsContext,Na={children:!0,contents:!0,next:!0,prev:!0};_.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if("string"!=typeof a)return _(a).filter(function(){for(b=0,c=h.length;b<c;b++)if(_.contains(h[b],this))return!0});for(g=this.pushStack("","find",a),b=0,c=this.length;b<c;b++)if(d=g.length,_.find(a,this[b],g),b>0)for(e=d;e<g.length;e++)for(f=0;f<d;f++)if(g[f]===g[e]){g.splice(e--,1);break}return g},has:function(a){var b,c=_(a,this),d=c.length;return this.filter(function(){for(b=0;b<d;b++)if(_.contains(this,c[b]))return!0})},not:function(a){return this.pushStack(j(this,a,!1),"not",a)},filter:function(a){return this.pushStack(j(this,a,!0),"filter",a)},is:function(a){return!!a&&("string"==typeof a?Ma.test(a)?_(a,this.context).index(this[0])>=0:_.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=Ma.test(a)||"string"!=typeof a?_(a,b||this.context):0;d<e;d++)for(c=this[d];c&&c.ownerDocument&&c!==b&&11!==c.nodeType;){if(g?g.index(c)>-1:_.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}return f=f.length>1?_.unique(f):f,this.pushStack(f,"closest",a);
},index:function(a){return a?"string"==typeof a?_.inArray(this[0],_(a)):_.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c="string"==typeof a?_(a,b):_.makeArray(a&&a.nodeType?[a]:a),d=_.merge(this.get(),c);return this.pushStack(h(c[0])||h(d[0])?d:_.unique(d))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}),_.fn.andSelf=_.fn.addBack,_.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return _.dir(a,"parentNode")},parentsUntil:function(a,b,c){return _.dir(a,"parentNode",c)},next:function(a){return i(a,"nextSibling")},prev:function(a){return i(a,"previousSibling")},nextAll:function(a){return _.dir(a,"nextSibling")},prevAll:function(a){return _.dir(a,"previousSibling")},nextUntil:function(a,b,c){return _.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return _.dir(a,"previousSibling",c)},siblings:function(a){return _.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return _.sibling(a.firstChild)},contents:function(a){return _.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:_.merge([],a.childNodes)}},function(a,b){_.fn[a]=function(c,d){var e=_.map(this,b,c);return Ja.test(a)||(d=c),d&&"string"==typeof d&&(e=_.filter(d,e)),e=this.length>1&&!Na[a]?_.unique(e):e,this.length>1&&Ka.test(a)&&(e=e.reverse()),this.pushStack(e,a,V.call(arguments).join(","))}}),_.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),1===b.length?_.find.matchesSelector(b[0],a)?[b[0]]:[]:_.find.matches(a,b)},dir:function(a,c,d){for(var e=[],f=a[c];f&&9!==f.nodeType&&(d===b||1!==f.nodeType||!_(f).is(d));)1===f.nodeType&&e.push(f),f=f[c];return e},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}});var Oa="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Pa=/ jQuery\d+="(?:null|\d+)"/g,Qa=/^\s+/,Ra=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Sa=/<([\w:]+)/,Ta=/<tbody/i,Ua=/<|&#?\w+;/,Va=/<(?:script|style|link)/i,Wa=/<(?:script|object|embed|option|style)/i,Xa=new RegExp("<(?:"+Oa+")[\\s/>]","i"),Ya=/^(?:checkbox|radio)$/,Za=/checked\s*(?:[^=]|=\s*.checked.)/i,$a=/\/(java|ecma)script/i,_a=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,ab={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bb=k(P),cb=bb.appendChild(P.createElement("div"));ab.optgroup=ab.option,ab.tbody=ab.tfoot=ab.colgroup=ab.caption=ab.thead,ab.th=ab.td,_.support.htmlSerialize||(ab._default=[1,"X<div>","</div>"]),_.fn.extend({text:function(a){return _.access(this,function(a){return a===b?_.text(this):this.empty().append((this[0]&&this[0].ownerDocument||P).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(_.isFunction(a))return this.each(function(b){_(this).wrapAll(a.call(this,b))});if(this[0]){var b=_(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return _.isFunction(a)?this.each(function(b){_(this).wrapInner(a.call(this,b))}):this.each(function(){var b=_(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=_.isFunction(a);return this.each(function(c){_(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){_.nodeName(this,"body")||_(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){1!==this.nodeType&&11!==this.nodeType||this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){1!==this.nodeType&&11!==this.nodeType||this.insertBefore(a,this.firstChild)})},before:function(){if(!h(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=_.clean(arguments);return this.pushStack(_.merge(a,this),"before",this.selector)}},after:function(){if(!h(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=_.clean(arguments);return this.pushStack(_.merge(this,a),"after",this.selector)}},remove:function(a,b){for(var c,d=0;null!=(c=this[d]);d++)a&&!_.filter(a,[c]).length||(b||1!==c.nodeType||(_.cleanData(c.getElementsByTagName("*")),_.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)for(1===a.nodeType&&_.cleanData(a.getElementsByTagName("*"));a.firstChild;)a.removeChild(a.firstChild);return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return _.clone(this,a,b)})},html:function(a){return _.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return 1===c.nodeType?c.innerHTML.replace(Pa,""):b;if("string"==typeof a&&!Va.test(a)&&(_.support.htmlSerialize||!Xa.test(a))&&(_.support.leadingWhitespace||!Qa.test(a))&&!ab[(Sa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ra,"<$1></$2>");try{for(;d<e;d++)c=this[d]||{},1===c.nodeType&&(_.cleanData(c.getElementsByTagName("*")),c.innerHTML=a);c=0}catch(f){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(a){return h(this[0])?this.length?this.pushStack(_(_.isFunction(a)?a():a),"replaceWith",a):this:_.isFunction(a)?this.each(function(b){var c=_(this),d=c.html();c.replaceWith(a.call(this,b,d))}):("string"!=typeof a&&(a=_(a).detach()),this.each(function(){var b=this.nextSibling,c=this.parentNode;_(this).remove(),b?_(b).before(a):_(c).append(a)}))},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){a=[].concat.apply([],a);var e,f,g,h,i=0,j=a[0],k=[],m=this.length;if(!_.support.checkClone&&m>1&&"string"==typeof j&&Za.test(j))return this.each(function(){_(this).domManip(a,c,d)});if(_.isFunction(j))return this.each(function(e){var f=_(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){if(e=_.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,1===g.childNodes.length&&(g=f),f)for(c=c&&_.nodeName(f,"tr"),h=e.cacheable||m-1;i<m;i++)d.call(c&&_.nodeName(this[i],"table")?l(this[i],"tbody"):this[i],i===h?g:_.clone(g,!0,!0));g=f=null,k.length&&_.each(k,function(a,b){b.src?_.ajax?_.ajax({url:b.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):_.error("no ajax"):_.globalEval((b.text||b.textContent||b.innerHTML||"").replace(_a,"")),b.parentNode&&b.parentNode.removeChild(b)})}return this}}),_.buildFragment=function(a,c,d){var e,f,g,h=a[0];return c=c||P,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,!(1===a.length&&"string"==typeof h&&h.length<512&&c===P&&"<"===h.charAt(0))||Wa.test(h)||!_.support.checkClone&&Za.test(h)||!_.support.html5Clone&&Xa.test(h)||(f=!0,e=_.fragments[h],g=e!==b),e||(e=c.createDocumentFragment(),_.clean(a,c,e,d),f&&(_.fragments[h]=g&&e)),{fragment:e,cacheable:f}},_.fragments={},_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){_.fn[a]=function(c){var d,e=0,f=[],g=_(c),h=g.length,i=1===this.length&&this[0].parentNode;if((null==i||i&&11===i.nodeType&&1===i.childNodes.length)&&1===h)return g[b](this[0]),this;for(;e<h;e++)d=(e>0?this.clone(!0):this).get(),_(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),_.extend({clone:function(a,b,c){var d,e,f,g;if(_.support.html5Clone||_.isXMLDoc(a)||!Xa.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(cb.innerHTML=a.outerHTML,cb.removeChild(g=cb.firstChild)),!(_.support.noCloneEvent&&_.support.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||_.isXMLDoc(a)))for(n(a,g),d=o(a),e=o(g),f=0;d[f];++f)e[f]&&n(d[f],e[f]);if(b&&(m(a,g),c))for(d=o(a),e=o(g),f=0;d[f];++f)m(d[f],e[f]);return d=e=null,g},clean:function(a,b,c,d){var e,f,g,h,i,j,l,m,n,o,q,r=b===P&&bb,s=[];for(b&&"undefined"!=typeof b.createDocumentFragment||(b=P),e=0;null!=(g=a[e]);e++)if("number"==typeof g&&(g+=""),g){if("string"==typeof g)if(Ua.test(g)){for(r=r||k(b),l=b.createElement("div"),r.appendChild(l),g=g.replace(Ra,"<$1></$2>"),h=(Sa.exec(g)||["",""])[1].toLowerCase(),i=ab[h]||ab._default,j=i[0],l.innerHTML=i[1]+g+i[2];j--;)l=l.lastChild;if(!_.support.tbody)for(m=Ta.test(g),n="table"!==h||m?"<table>"!==i[1]||m?[]:l.childNodes:l.firstChild&&l.firstChild.childNodes,f=n.length-1;f>=0;--f)_.nodeName(n[f],"tbody")&&!n[f].childNodes.length&&n[f].parentNode.removeChild(n[f]);!_.support.leadingWhitespace&&Qa.test(g)&&l.insertBefore(b.createTextNode(Qa.exec(g)[0]),l.firstChild),g=l.childNodes,l.parentNode.removeChild(l)}else g=b.createTextNode(g);g.nodeType?s.push(g):_.merge(s,g)}if(l&&(g=l=r=null),!_.support.appendChecked)for(e=0;null!=(g=s[e]);e++)_.nodeName(g,"input")?p(g):"undefined"!=typeof g.getElementsByTagName&&_.grep(g.getElementsByTagName("input"),p);if(c)for(o=function(a){if(!a.type||$a.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)},e=0;null!=(g=s[e]);e++)_.nodeName(g,"script")&&o(g)||(c.appendChild(g),"undefined"!=typeof g.getElementsByTagName&&(q=_.grep(_.merge([],g.getElementsByTagName("script")),o),s.splice.apply(s,[e+1,0].concat(q)),e+=q.length));return s},cleanData:function(a,b){for(var c,d,e,f,g=0,h=_.expando,i=_.cache,j=_.support.deleteExpando,k=_.event.special;null!=(e=a[g]);g++)if((b||_.acceptData(e))&&(d=e[h],c=d&&i[d])){if(c.events)for(f in c.events)k[f]?_.event.remove(e,f):_.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,_.deletedIds.push(d))}}}),function(){var a,b;_.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=_.uaMatch(R.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.chrome?b.webkit=!0:b.webkit&&(b.safari=!0),_.browser=b,_.sub=function(){function a(b,c){return new a.fn.init(b,c)}_.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(c,d){return d&&d instanceof _&&!(d instanceof a)&&(d=a(d)),_.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(P);return a}}();var db,eb,fb,gb=/alpha\([^)]*\)/i,hb=/opacity=([^)]*)/,ib=/^(top|right|bottom|left)$/,jb=/^(none|table(?!-c[ea]).+)/,kb=/^margin/,lb=new RegExp("^("+aa+")(.*)$","i"),mb=new RegExp("^("+aa+")(?!px)[a-z%]+$","i"),nb=new RegExp("^([-+])=("+aa+")","i"),ob={BODY:"block"},pb={position:"absolute",visibility:"hidden",display:"block"},qb={letterSpacing:0,fontWeight:400},rb=["Top","Right","Bottom","Left"],sb=["Webkit","O","Moz","ms"],tb=_.fn.toggle;_.fn.extend({css:function(a,c){return _.access(this,function(a,c,d){return d!==b?_.style(a,c,d):_.css(a,c)},a,c,arguments.length>1)},show:function(){return s(this,!0)},hide:function(){return s(this)},toggle:function(a,b){var c="boolean"==typeof a;return _.isFunction(a)&&_.isFunction(b)?tb.apply(this,arguments):this.each(function(){(c?a:r(this))?_(this).show():_(this).hide()})}}),_.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=db(a,"opacity");return""===c?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":_.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var f,g,h,i=_.camelCase(c),j=a.style;if(c=_.cssProps[i]||(_.cssProps[i]=q(j,i)),h=_.cssHooks[c]||_.cssHooks[i],d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];if(g=typeof d,"string"===g&&(f=nb.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(_.css(a,c)),g="number"),!(null==d||"number"===g&&isNaN(d)||("number"!==g||_.cssNumber[i]||(d+="px"),h&&"set"in h&&(d=h.set(a,d,e))===b)))try{j[c]=d}catch(k){}}},css:function(a,c,d,e){var f,g,h,i=_.camelCase(c);return c=_.cssProps[i]||(_.cssProps[i]=q(a.style,i)),h=_.cssHooks[c]||_.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=db(a,c)),"normal"===f&&c in qb&&(f=qb[c]),d||e!==b?(g=parseFloat(f),d||_.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?db=function(b,c){var d,e,f,g,h=a.getComputedStyle(b,null),i=b.style;return h&&(d=h.getPropertyValue(c)||h[c],""!==d||_.contains(b.ownerDocument,b)||(d=_.style(b,c)),mb.test(d)&&kb.test(c)&&(e=i.width,f=i.minWidth,g=i.maxWidth,i.minWidth=i.maxWidth=i.width=d,d=h.width,i.width=e,i.minWidth=f,i.maxWidth=g)),d}:P.documentElement.currentStyle&&(db=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return null==e&&f&&f[b]&&(e=f[b]),mb.test(e)&&!ib.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left="fontSize"===b?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),""===e?"auto":e}),_.each(["height","width"],function(a,b){_.cssHooks[b]={get:function(a,c,d){if(c)return 0===a.offsetWidth&&jb.test(db(a,"display"))?_.swap(a,pb,function(){return v(a,b,d)}):v(a,b,d)},set:function(a,c,d){return t(a,c,d?u(a,b,d,_.support.boxSizing&&"border-box"===_.css(a,"boxSizing")):0)}}}),_.support.opacity||(_.cssHooks.opacity={get:function(a,b){return hb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=_.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,b>=1&&""===_.trim(f.replace(gb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),d&&!d.filter)||(c.filter=gb.test(f)?f.replace(gb,e):f+" "+e)}}),_(function(){_.support.reliableMarginRight||(_.cssHooks.marginRight={get:function(a,b){return _.swap(a,{display:"inline-block"},function(){if(b)return db(a,"marginRight")})}}),!_.support.pixelPosition&&_.fn.position&&_.each(["top","left"],function(a,b){_.cssHooks[b]={get:function(a,c){if(c){var d=db(a,b);return mb.test(d)?_(a).position()[b]+"px":d}}}})}),_.expr&&_.expr.filters&&(_.expr.filters.hidden=function(a){return 0===a.offsetWidth&&0===a.offsetHeight||!_.support.reliableHiddenOffsets&&"none"===(a.style&&a.style.display||db(a,"display"))},_.expr.filters.visible=function(a){return!_.expr.filters.hidden(a)}),_.each({margin:"",padding:"",border:"Width"},function(a,b){_.cssHooks[a+b]={expand:function(c){var d,e="string"==typeof c?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+rb[d]+b]=e[d]||e[d-2]||e[0];return f}},kb.test(a)||(_.cssHooks[a+b].set=t)});var ub=/%20/g,vb=/\[\]$/,wb=/\r?\n/g,xb=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,yb=/^(?:select|textarea)/i;_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?_.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||yb.test(this.nodeName)||xb.test(this.type))}).map(function(a,b){var c=_(this).val();return null==c?null:_.isArray(c)?_.map(c,function(a,c){return{name:b.name,value:a.replace(wb,"\r\n")}}):{name:b.name,value:c.replace(wb,"\r\n")}}).get()}}),_.param=function(a,c){var d,e=[],f=function(a,b){b=_.isFunction(b)?b():null==b?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(c===b&&(c=_.ajaxSettings&&_.ajaxSettings.traditional),_.isArray(a)||a.jquery&&!_.isPlainObject(a))_.each(a,function(){f(this.name,this.value)});else for(d in a)x(d,a[d],c,f);return e.join("&").replace(ub,"+")};var zb,Ab,Bb=/#.*$/,Cb=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Db=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Eb=/^(?:GET|HEAD)$/,Fb=/^\/\//,Gb=/\?/,Hb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Ib=/([?&])_=[^&]*/,Jb=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Kb=_.fn.load,Lb={},Mb={},Nb=["*/"]+["*"];try{Ab=Q.href}catch(Ob){Ab=P.createElement("a"),Ab.href="",Ab=Ab.href}zb=Jb.exec(Ab.toLowerCase())||[],_.fn.load=function(a,c,d){if("string"!=typeof a&&Kb)return Kb.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),_.isFunction(c)?(d=c,c=b):c&&"object"==typeof c&&(f="POST"),_.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?_("<div>").append(a.replace(Hb,"")).find(e):a)}),this},_.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){_.fn[b]=function(a){return this.on(b,a)}}),_.each(["get","post"],function(a,c){_[c]=function(a,d,e,f){return _.isFunction(d)&&(f=f||e,e=d,d=b),_.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),_.extend({getScript:function(a,c){return _.get(a,b,c,"script")},getJSON:function(a,b,c){return _.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?A(a,_.ajaxSettings):(b=a,a=_.ajaxSettings),A(a,b),a},ajaxSettings:{url:Ab,isLocal:Db.test(zb[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Nb},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":_.parseJSON,"text xml":_.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:y(Lb),ajaxTransport:y(Mb),ajax:function(a,c){function d(a,c,d,g){var j,l,s,t,v,x=c;2!==u&&(u=2,i&&clearTimeout(i),h=b,f=g||"",w.readyState=a>0?4:0,d&&(t=B(m,w,d)),a>=200&&a<300||304===a?(m.ifModified&&(v=w.getResponseHeader("Last-Modified"),v&&(_.lastModified[e]=v),v=w.getResponseHeader("Etag"),v&&(_.etag[e]=v)),304===a?(x="notmodified",j=!0):(j=C(m,t),x=j.state,l=j.data,s=j.error,j=!s)):(s=x,x&&!a||(x="error",a<0&&(a=0))),w.status=a,w.statusText=(c||x)+"",j?p.resolveWith(n,[l,x,w]):p.rejectWith(n,[w,x,s]),w.statusCode(r),r=b,k&&o.trigger("ajax"+(j?"Success":"Error"),[w,m,j?l:s]),q.fireWith(n,[w,x]),k&&(o.trigger("ajaxComplete",[w,m]),--_.active||_.event.trigger("ajaxStop")))}"object"==typeof a&&(c=a,a=b),c=c||{};var e,f,g,h,i,j,k,l,m=_.ajaxSetup({},c),n=m.context||m,o=n!==m&&(n.nodeType||n instanceof _)?_(n):_.event,p=_.Deferred(),q=_.Callbacks("once memory"),r=m.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,setRequestHeader:function(a,b){if(!u){var c=a.toLowerCase();a=t[c]=t[c]||a,s[a]=b}return this},getAllResponseHeaders:function(){return 2===u?f:null},getResponseHeader:function(a){var c;if(2===u){if(!g)for(g={};c=Cb.exec(f);)g[c[1].toLowerCase()]=c[2];c=g[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return u||(m.mimeType=a),this},abort:function(a){return a=a||v,h&&h.abort(a),d(0,a),this}};if(p.promise(w),w.success=w.done,w.error=w.fail,w.complete=q.add,w.statusCode=function(a){if(a){var b;if(u<2)for(b in a)r[b]=[r[b],a[b]];else b=a[w.status],w.always(b)}return this},m.url=((a||m.url)+"").replace(Bb,"").replace(Fb,zb[1]+"//"),m.dataTypes=_.trim(m.dataType||"*").toLowerCase().split(ca),null==m.crossDomain&&(j=Jb.exec(m.url.toLowerCase()),m.crossDomain=!(!j||j[1]===zb[1]&&j[2]===zb[2]&&(j[3]||("http:"===j[1]?80:443))==(zb[3]||("http:"===zb[1]?80:443)))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=_.param(m.data,m.traditional)),z(Lb,m,c,w),2===u)return w;if(k=m.global,m.type=m.type.toUpperCase(),m.hasContent=!Eb.test(m.type),k&&0===_.active++&&_.event.trigger("ajaxStart"),!m.hasContent&&(m.data&&(m.url+=(Gb.test(m.url)?"&":"?")+m.data,delete m.data),e=m.url,m.cache===!1)){var x=_.now(),y=m.url.replace(Ib,"$1_="+x);m.url=y+(y===m.url?(Gb.test(m.url)?"&":"?")+"_="+x:"")}(m.data&&m.hasContent&&m.contentType!==!1||c.contentType)&&w.setRequestHeader("Content-Type",m.contentType),m.ifModified&&(e=e||m.url,_.lastModified[e]&&w.setRequestHeader("If-Modified-Since",_.lastModified[e]),_.etag[e]&&w.setRequestHeader("If-None-Match",_.etag[e])),w.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Nb+"; q=0.01":""):m.accepts["*"]);for(l in m.headers)w.setRequestHeader(l,m.headers[l]);if(m.beforeSend&&(m.beforeSend.call(n,w,m)===!1||2===u))return w.abort();v="abort";for(l in{success:1,error:1,complete:1})w[l](m[l]);if(h=z(Mb,m,c,w)){w.readyState=1,k&&o.trigger("ajaxSend",[w,m]),m.async&&m.timeout>0&&(i=setTimeout(function(){w.abort("timeout")},m.timeout));try{u=1,h.send(s,d)}catch(A){if(!(u<2))throw A;d(-1,A)}}else d(-1,"No Transport");return w},active:0,lastModified:{},etag:{}});var Pb=[],Qb=/\?/,Rb=/(=)\?(?=&|$)|\?\?/,Sb=_.now();_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Pb.pop()||_.expando+"_"+Sb++;return this[a]=!0,a}}),_.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&Rb.test(j),m=k&&!l&&"string"==typeof i&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rb.test(i);if("jsonp"===c.dataTypes[0]||l||m)return f=c.jsonpCallback=_.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(Rb,"$1"+f):m?c.data=i.replace(Rb,"$1"+f):k&&(c.url+=(Qb.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||_.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,Pb.push(f)),h&&_.isFunction(g)&&g(h[0]),h=g=b}),"script"}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return _.globalEval(a),a}}}),_.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),_.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=P.head||P.getElementsByTagName("head")[0]||P.documentElement;return{send:function(e,f){c=P.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){(e||!c.readyState||/loaded|complete/.test(c.readyState))&&(c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||f(200,"success"))},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var Tb,Ub=!!a.ActiveXObject&&function(){for(var a in Tb)Tb[a](0,1)},Vb=0;_.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&D()||E()}:D,function(a){_.extend(_.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(_.ajaxSettings.xhr()),_.support.ajax&&_.ajaxTransport(function(c){if(!c.crossDomain||_.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();if(c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async),c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),c.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||4===i.readyState))if(d=b,g&&(i.onreadystatechange=_.noop,Ub&&delete Tb[g]),e)4!==i.readyState&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(n){}try{j=i.statusText}catch(n){j=""}h||!c.isLocal||c.crossDomain?1223===h&&(h=204):h=l.text?200:404}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?4===i.readyState?setTimeout(d,0):(g=++Vb,Ub&&(Tb||(Tb={},_(a).unload(Ub)),Tb[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var Wb,Xb,Yb=/^(?:toggle|show|hide)$/,Zb=new RegExp("^(?:([-+])=|)("+aa+")([a-z%]*)$","i"),$b=/queueHooks$/,_b=[J],ac={"*":[function(a,b){var c,d,e=this.createTween(a,b),f=Zb.exec(b),g=e.cur(),h=+g||0,i=1,j=20;if(f){if(c=+f[2],d=f[3]||(_.cssNumber[a]?"":"px"),"px"!==d&&h){h=_.css(e.elem,a,!0)||c||1;do i=i||".5",h/=i,_.style(e.elem,a,h+d);while(i!==(i=e.cur()/g)&&1!==i&&--j)}e.unit=d,e.start=h,e.end=f[1]?h+(f[1]+1)*c:c}return e}]};_.Animation=_.extend(H,{tweener:function(a,b){_.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;d<e;d++)c=a[d],ac[c]=ac[c]||[],ac[c].unshift(b)},prefilter:function(a,b){b?_b.unshift(a):_b.push(a)}}),_.Tween=K,K.prototype={constructor:K,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(_.cssNumber[c]?"":"px")},cur:function(){var a=K.propHooks[this.prop];return a&&a.get?a.get(this):K.propHooks._default.get(this)},run:function(a){var b,c=K.propHooks[this.prop];return this.options.duration?this.pos=b=_.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):K.propHooks._default.set(this),this}},K.prototype.init.prototype=K.prototype,K.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=_.css(a.elem,a.prop,!1,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){_.fx.step[a.prop]?_.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[_.cssProps[a.prop]]||_.cssHooks[a.prop])?_.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},K.propHooks.scrollTop=K.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},_.each(["toggle","show","hide"],function(a,b){var c=_.fn[b];_.fn[b]=function(d,e,f){return null==d||"boolean"==typeof d||!a&&_.isFunction(d)&&_.isFunction(e)?c.apply(this,arguments):this.animate(L(b,!0),d,e,f)}}),_.fn.extend({fadeTo:function(a,b,c,d){return this.filter(r).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=_.isEmptyObject(a),f=_.speed(b,c,d),g=function(){var b=H(this,_.extend({},a),f);e&&b.stop(!0)};return e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,c,d){var e=function(a){var b=a.stop;delete a.stop,b(d)};return"string"!=typeof a&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,c=null!=a&&a+"queueHooks",f=_.timers,g=_._data(this);if(c)g[c]&&g[c].stop&&e(g[c]);else for(c in g)g[c]&&g[c].stop&&$b.test(c)&&e(g[c]);for(c=f.length;c--;)f[c].elem!==this||null!=a&&f[c].queue!==a||(f[c].anim.stop(d),b=!1,f.splice(c,1));!b&&d||_.dequeue(this,a)})}}),_.each({slideDown:L("show"),slideUp:L("hide"),slideToggle:L("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){_.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),_.speed=function(a,b,c){var d=a&&"object"==typeof a?_.extend({},a):{complete:c||!c&&b||_.isFunction(a)&&a,duration:a,easing:c&&b||b&&!_.isFunction(b)&&b};return d.duration=_.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in _.fx.speeds?_.fx.speeds[d.duration]:_.fx.speeds._default,null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){_.isFunction(d.old)&&d.old.call(this),d.queue&&_.dequeue(this,d.queue)},d},_.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},_.timers=[],_.fx=K.prototype.init,_.fx.tick=function(){var a,c=_.timers,d=0;for(Wb=_.now();d<c.length;d++)a=c[d],a()||c[d]!==a||c.splice(d--,1);c.length||_.fx.stop(),Wb=b},_.fx.timer=function(a){a()&&_.timers.push(a)&&!Xb&&(Xb=setInterval(_.fx.tick,_.fx.interval))},_.fx.interval=13,_.fx.stop=function(){clearInterval(Xb),Xb=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fx.step={},_.expr&&_.expr.filters&&(_.expr.filters.animated=function(a){return _.grep(_.timers,function(b){return a===b.elem}).length});var bc=/^(?:body|html)$/i;_.fn.offset=function(a){if(arguments.length)return a===b?this:this.each(function(b){_.offset.setOffset(this,a,b)});var c,d,e,f,g,h,i,j={top:0,left:0},k=this[0],l=k&&k.ownerDocument;if(l)return(d=l.body)===k?_.offset.bodyOffset(k):(c=l.documentElement,_.contains(c,k)?("undefined"!=typeof k.getBoundingClientRect&&(j=k.getBoundingClientRect()),e=M(l),f=c.clientTop||d.clientTop||0,g=c.clientLeft||d.clientLeft||0,h=e.pageYOffset||c.scrollTop,i=e.pageXOffset||c.scrollLeft,{top:j.top+h-f,left:j.left+i-g}):j)},_.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;return _.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(_.css(a,"marginTop"))||0,c+=parseFloat(_.css(a,"marginLeft"))||0),{top:b,left:c}},setOffset:function(a,b,c){var d=_.css(a,"position");"static"===d&&(a.style.position="relative");var e,f,g=_(a),h=g.offset(),i=_.css(a,"top"),j=_.css(a,"left"),k=("absolute"===d||"fixed"===d)&&_.inArray("auto",[i,j])>-1,l={},m={};k?(m=g.position(),e=m.top,f=m.left):(e=parseFloat(i)||0,f=parseFloat(j)||0),_.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(l.top=b.top-h.top+e),null!=b.left&&(l.left=b.left-h.left+f),"using"in b?b.using.call(a,l):g.css(l)}},_.fn.extend({position:function(){if(this[0]){var a=this[0],b=this.offsetParent(),c=this.offset(),d=bc.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(_.css(a,"marginTop"))||0,c.left-=parseFloat(_.css(a,"marginLeft"))||0,d.top+=parseFloat(_.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(_.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||P.body;a&&!bc.test(a.nodeName)&&"static"===_.css(a,"position");)a=a.offsetParent;return a||P.body})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);_.fn[a]=function(e){return _.access(this,function(a,e,f){var g=M(a);return f===b?g?c in g?g[c]:g.document.documentElement[e]:a[e]:void(g?g.scrollTo(d?_(g).scrollLeft():f,d?f:_(g).scrollTop()):a[e]=f)},a,e,arguments.length,null)}}),_.each({Height:"height",Width:"width"},function(a,c){_.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){_.fn[e]=function(e,f){var g=arguments.length&&(d||"boolean"!=typeof e),h=d||(e===!0||f===!0?"margin":"border");return _.access(this,function(c,d,e){var f;return _.isWindow(c)?c.document.documentElement["client"+a]:9===c.nodeType?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?_.css(c,d,e,h):_.style(c,d,e,h)},c,g?e:b,g,null)}})}),a.jQuery=a.$=_,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return _})}(window),function(){window._smConf={organization:"4IZJA1H5lWpkF963NZEv",staticHost:"static.fengkongcloud.com"};var a=function(){var a="static2.fenkongcloud.com",b="https:"===document.location.protocol,c=b?"https://":"http://",d="/fpv2.js",e=c+_smConf.staticHost+d,f=navigator.userAgent.toLowerCase(),g=/window\s(?:nt\s5.1)|(?:xp)/.test(f),h=/msie\s[678]\.0/.test(f);return b&&g&&h&&(e=c+a+d),e}(),b=document.createElement("script"),c=document.getElementsByTagName("script")[0];b.readyState?b.onreadystatechange=function(){"loaded"!=b.readyState&&"complete"!=b.readyState||(b.onreadystatechange=null,window.smLoad&&window.smLoad())}:b.onload=function(){window.smLoad&&window.smLoad()},b.src=a,c.parentNode.insertBefore(b,c)}(),function($){for(var supportedCSS,supportedCSSOrigin,styles=document.getElementsByTagName("head")[0].style,toCheck="transformProperty WebkitTransform OTransform msTransform MozTransform".split(" "),a=0;a<toCheck.length;a++)void 0!==styles[toCheck[a]]&&(supportedCSS=toCheck[a]);supportedCSS&&(supportedCSSOrigin=supportedCSS.replace(/[tT]ransform/,"TransformOrigin"),"T"==supportedCSSOrigin[0]&&(supportedCSSOrigin[0]="t")),
eval('IE = "v"=="\x0B"'),jQuery.fn.extend({rotate:function(a){if(0!==this.length&&"undefined"!=typeof a){"number"==typeof a&&(a={angle:a});for(var b=[],c=0,d=this.length;c<d;c++){var e=this.get(c);if(e.Wilq32&&e.Wilq32.PhotoEffect)e.Wilq32.PhotoEffect._handleRotation(a);else{var f=$.extend(!0,{},a),g=new Wilq32.PhotoEffect(e,f)._rootObj;b.push($(g))}}return b}},getRotateAngle:function(){for(var a=[0],b=0,c=this.length;b<c;b++){var d=this.get(b);d.Wilq32&&d.Wilq32.PhotoEffect&&(a[b]=d.Wilq32.PhotoEffect._angle)}return a},stopRotate:function(){for(var a=0,b=this.length;a<b;a++){var c=this.get(a);c.Wilq32&&c.Wilq32.PhotoEffect&&clearTimeout(c.Wilq32.PhotoEffect._timer)}}}),Wilq32=window.Wilq32||{},Wilq32.PhotoEffect=function(){return supportedCSS?function(a,b){a.Wilq32={PhotoEffect:this},this._img=this._rootObj=this._eventObj=a,this._handleRotation(b)}:function(a,b){if(this._img=a,this._onLoadDelegate=[b],this._rootObj=document.createElement("span"),this._rootObj.style.display="inline-block",this._rootObj.Wilq32={PhotoEffect:this},a.parentNode.insertBefore(this._rootObj,a),a.complete)this._Loader();else{var c=this;jQuery(this._img).bind("load",function(){c._Loader()})}}}(),Wilq32.PhotoEffect.prototype={_setupParameters:function(a){this._parameters=this._parameters||{},"number"!=typeof this._angle&&(this._angle=0),"number"==typeof a.angle&&(this._angle=a.angle),this._parameters.animateTo="number"==typeof a.animateTo?a.animateTo:this._angle,this._parameters.step=a.step||this._parameters.step||null,this._parameters.easing=a.easing||this._parameters.easing||this._defaultEasing,this._parameters.duration="duration"in a?a.duration:a.duration||this._parameters.duration||1e3,this._parameters.callback=a.callback||this._parameters.callback||this._emptyFunction,this._parameters.center=a.center||this._parameters.center||["50%","50%"],"string"==typeof this._parameters.center[0]?this._rotationCenterX=parseInt(this._parameters.center[0],10)/100*this._imgWidth*this._aspectW:this._rotationCenterX=this._parameters.center[0],"string"==typeof this._parameters.center[1]?this._rotationCenterY=parseInt(this._parameters.center[1],10)/100*this._imgHeight*this._aspectH:this._rotationCenterY=this._parameters.center[1],a.bind&&a.bind!=this._parameters.bind&&this._BindEvents(a.bind)},_emptyFunction:function(){},_defaultEasing:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},_handleRotation:function(a,b){return supportedCSS||this._img.complete||b?(this._setupParameters(a),void(this._angle==this._parameters.animateTo?this._rotate(this._angle):this._animateStart())):void this._onLoadDelegate.push(a)},_BindEvents:function(a){if(a&&this._eventObj){if(this._parameters.bind){var b=this._parameters.bind;for(var c in b)b.hasOwnProperty(c)&&jQuery(this._eventObj).unbind(c,b[c])}this._parameters.bind=a;for(var c in a)a.hasOwnProperty(c)&&jQuery(this._eventObj).bind(c,a[c])}},_Loader:function(){return IE?function(){var a=this._img.width,b=this._img.height;this._imgWidth=a,this._imgHeight=b,this._img.parentNode.removeChild(this._img),this._vimage=this.createVMLNode("image"),this._vimage.src=this._img.src,this._vimage.style.height=b+"px",this._vimage.style.width=a+"px",this._vimage.style.position="absolute",this._vimage.style.top="0px",this._vimage.style.left="0px",this._aspectW=this._aspectH=1,this._container=this.createVMLNode("group"),this._container.style.width=a,this._container.style.height=b,this._container.style.position="absolute",this._container.style.top="0px",this._container.style.left="0px",this._container.setAttribute("coordsize",a-1+","+(b-1)),this._container.appendChild(this._vimage),this._rootObj.appendChild(this._container),this._rootObj.style.position="relative",this._rootObj.style.width=a+"px",this._rootObj.style.height=b+"px",this._rootObj.setAttribute("id",this._img.getAttribute("id")),this._rootObj.className=this._img.className,this._eventObj=this._rootObj;for(var c;c=this._onLoadDelegate.shift();)this._handleRotation(c,!0)}:function(){this._rootObj.setAttribute("id",this._img.getAttribute("id")),this._rootObj.className=this._img.className,this._imgWidth=this._img.naturalWidth,this._imgHeight=this._img.naturalHeight;var a=Math.sqrt(this._imgHeight*this._imgHeight+this._imgWidth*this._imgWidth);this._width=3*a,this._height=3*a,this._aspectW=this._img.offsetWidth/this._img.naturalWidth,this._aspectH=this._img.offsetHeight/this._img.naturalHeight,this._img.parentNode.removeChild(this._img),this._canvas=document.createElement("canvas"),this._canvas.setAttribute("width",this._width),this._canvas.style.position="relative",this._canvas.style.left=-this._img.height*this._aspectW+"px",this._canvas.style.top=-this._img.width*this._aspectH+"px",this._canvas.Wilq32=this._rootObj.Wilq32,this._rootObj.appendChild(this._canvas),this._rootObj.style.width=this._img.width*this._aspectW+"px",this._rootObj.style.height=this._img.height*this._aspectH+"px",this._eventObj=this._canvas,this._cnv=this._canvas.getContext("2d");for(var b;b=this._onLoadDelegate.shift();)this._handleRotation(b,!0)}}(),_animateStart:function(){this._timer&&clearTimeout(this._timer),this._animateStartTime=+new Date,this._animateStartAngle=this._angle,this._animate()},_animate:function(){var a=+new Date,b=a-this._animateStartTime>this._parameters.duration;if(b&&!this._parameters.animatedGif)clearTimeout(this._timer);else{if(this._canvas||this._vimage||this._img){var c=this._parameters.easing(0,a-this._animateStartTime,this._animateStartAngle,this._parameters.animateTo-this._animateStartAngle,this._parameters.duration);this._rotate(~~(10*c)/10)}this._parameters.step&&this._parameters.step(this._angle);var d=this;this._timer=setTimeout(function(){d._animate.call(d)},10)}this._parameters.callback&&b&&(this._angle=this._parameters.animateTo,this._rotate(this._angle),this._parameters.callback.call(this._rootObj))},_rotate:function(){var a=Math.PI/180;return IE?function(a){this._angle=a,this._container.style.rotation=a%360+"deg",this._vimage.style.top=-(this._rotationCenterY-this._imgHeight/2)+"px",this._vimage.style.left=-(this._rotationCenterX-this._imgWidth/2)+"px",this._container.style.top=this._rotationCenterY-this._imgHeight/2+"px",this._container.style.left=this._rotationCenterX-this._imgWidth/2+"px"}:supportedCSS?function(a){this._angle=a,this._img.style[supportedCSS]="rotate("+a%360+"deg)",this._img.style[supportedCSSOrigin]=this._parameters.center.join(" ")}:function(b){this._angle=b,b=b%360*a,this._canvas.width=this._width,this._canvas.height=this._height,this._cnv.translate(this._imgWidth*this._aspectW,this._imgHeight*this._aspectH),this._cnv.translate(this._rotationCenterX,this._rotationCenterY),this._cnv.rotate(b),this._cnv.translate(-this._rotationCenterX,-this._rotationCenterY),this._cnv.scale(this._aspectW,this._aspectH),this._cnv.drawImage(this._img,0,0)}}()},IE&&(Wilq32.PhotoEffect.prototype.createVMLNode=function(){document.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{return!document.namespaces.rvml&&document.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),function(a){return document.createElement("<rvml:"+a+' class="rvml">')}}catch(a){return function(a){return document.createElement("<"+a+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}}())}(jQuery),function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):(a="undefined"!=typeof globalThis?globalThis:a||self,a.howLongUntilLunch=b())}(this,function(){"use strict";function a(a){if(Array.isArray(a))return a}function b(a,b){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(a)){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{d||null==h["return"]||h["return"]()}finally{if(e)throw f}}return c}}function c(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=new Array(b);c<b;c++)d[c]=a[c];return d}function d(a,b){if(a){if("string"==typeof a)return A(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);return"Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c?Array.from(a):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?A(a,b):void 0}}function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(a,b){return y(a)||z(a,b)||B(a,b)||C()}function g(a,b){return b={exports:{}},a(b,b.exports),b.exports}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}function j(a,b,c){return b&&i(a.prototype,b),c&&i(a,c),a}function k(a,b){for(;!Object.prototype.hasOwnProperty.call(a,b)&&(a=I(a),null!==a););return a}function l(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),b&&L(a,b)}function m(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function n(a,b){return!b||"object"!==N(b)&&"function"!=typeof b?O(a):b}function o(a,b,c,d){function e(a){return a instanceof c?a:new c(function(b){b(a)})}return new(c||(c=Promise))(function(c,f){function g(a){try{i(d.next(a))}catch(b){f(b)}}function h(a){try{i(d["throw"](a))}catch(b){f(b)}}function i(a){a.done?c(a.value):e(a.value).then(g,h)}i((d=d.apply(a,b||[])).next())})}function p(a,b,c){var d=a.createShader(b);return a.shaderSource(d,c),a.compileShader(d),d}function q(a,b,c){var d=a.createProgram();return a.attachShader(d,b),a.attachShader(d,c),a.linkProgram(d),a.useProgram(d),d}function r(a,b,c){var d=a.createTexture(),e=a.TEXTURE0+b;return a.activeTexture(e),a.bindTexture(a.TEXTURE_2D,d),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE),c&&a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,c),d}function s(a){var b=t();return function(){var c,d=Q(a);if(b){var e=Q(this).constructor;c=Reflect.construct(d,arguments,e)}else c=d.apply(this,arguments);return P(this,c)}}function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(a){return!1}}function u(a,b,c,d,e,f){return[a/e,(a+c)/e,(f-b-d)/f,(f-b)/f]}function v(a){if(w())return new W(Object.assign({},a));throw new Error("your browser not support webgl")}function w(){if("undefined"!=typeof x)return x;try{if(!window.WebGLRenderingContext)return!1;var a=document.createElement("canvas"),b=a.getContext("webgl")||a.getContext("experimental-webgl");x=!!b,b=null}catch(c){x=!1}return x}var x,y=a,z=b,A=c,B=d,C=e,D=f,E=g(function(a){var b=function(a){function b(a,b,c){return Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}),a[b]}function c(a,b,c,d){var f=b&&b.prototype instanceof e?b:e,g=Object.create(f.prototype),h=new n(d||[]);return g._invoke=j(a,c,h),g}function d(a,b,c){try{return{type:"normal",arg:a.call(b,c)}}catch(d){return{type:"throw",arg:d}}}function e(){}function f(){}function g(){}function h(a){["next","throw","return"].forEach(function(c){b(a,c,function(a){return this._invoke(c,a)})})}function i(a,b){function c(e,f,g,h){var i=d(a[e],a,f);if("throw"!==i.type){var j=i.arg,k=j.value;return k&&"object"==typeof k&&s.call(k,"__await")?b.resolve(k.__await).then(function(a){c("next",a,g,h)},function(a){c("throw",a,g,h)}):b.resolve(k).then(function(a){j.value=a,g(j)},function(a){return c("throw",a,g,h)})}h(i.arg)}function e(a,d){function e(){return new b(function(b,e){c(a,d,b,e)})}return f=f?f.then(e,e):e()}var f;this._invoke=e}function j(a,b,c){var e=y;return function(f,g){if(e===A)throw new Error("Generator is already running");if(e===B){if("throw"===f)throw g;return p()}for(c.method=f,c.arg=g;;){var h=c.delegate;if(h){var i=k(h,c);if(i){if(i===C)continue;return i}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(e===y)throw e=B,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);e=A;var j=d(a,b,c);if("normal"===j.type){if(e=c.done?B:z,j.arg===C)continue;return{value:j.arg,done:c.done}}"throw"===j.type&&(e=B,c.method="throw",c.arg=j.arg)}}}function k(a,b){var c=a.iterator[b.method];if(c===q){if(b.delegate=null,"throw"===b.method){if(a.iterator["return"]&&(b.method="return",b.arg=q,k(a,b),"throw"===b.method))return C;b.method="throw",b.arg=new TypeError("The iterator does not provide a 'throw' method")}return C}var e=d(c,a.iterator,b.arg);if("throw"===e.type)return b.method="throw",b.arg=e.arg,b.delegate=null,C;var f=e.arg;return f?f.done?(b[a.resultName]=f.value,b.next=a.nextLoc,"return"!==b.method&&(b.method="next",b.arg=q),b.delegate=null,C):f:(b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,C)}function l(a){var b={tryLoc:a[0]};1 in a&&(b.catchLoc=a[1]),2 in a&&(b.finallyLoc=a[2],b.afterLoc=a[3]),this.tryEntries.push(b)}function m(a){var b=a.completion||{};b.type="normal",delete b.arg,a.completion=b}function n(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(l,this),this.reset(!0)}function o(a){if(a){var b=a[u];if(b)return b.call(a);if("function"==typeof a.next)return a;if(!isNaN(a.length)){var c=-1,d=function e(){for(;++c<a.length;)if(s.call(a,c))return e.value=a[c],e.done=!1,e;return e.value=q,e.done=!0,e};return d.next=d}}return{next:p}}function p(){return{value:q,done:!0}}var q,r=Object.prototype,s=r.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},u=t.iterator||"@@iterator",v=t.asyncIterator||"@@asyncIterator",w=t.toStringTag||"@@toStringTag";try{b({},"")}catch(x){b=function(a,b,c){return a[b]=c}}a.wrap=c;var y="suspendedStart",z="suspendedYield",A="executing",B="completed",C={},D={};D[u]=function(){return this};var E=Object.getPrototypeOf,F=E&&E(E(o([])));F&&F!==r&&s.call(F,u)&&(D=F);var G=g.prototype=e.prototype=Object.create(D);return f.prototype=G.constructor=g,g.constructor=f,f.displayName=b(g,w,"GeneratorFunction"),a.isGeneratorFunction=function(a){var b="function"==typeof a&&a.constructor;return!!b&&(b===f||"GeneratorFunction"===(b.displayName||b.name))},a.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,g):(a.__proto__=g,b(a,w,"GeneratorFunction")),a.prototype=Object.create(G),a},a.awrap=function(a){return{__await:a}},h(i.prototype),i.prototype[v]=function(){return this},a.AsyncIterator=i,a.async=function(b,d,e,f,g){void 0===g&&(g=Promise);var h=new i(c(b,d,e,f),g);return a.isGeneratorFunction(d)?h:h.next().then(function(a){return a.done?a.value:h.next()})},h(G),b(G,w,"Generator"),G[u]=function(){return this},G.toString=function(){return"[object Generator]"},a.keys=function(a){var b=[];for(var c in a)b.push(c);return b.reverse(),function d(){for(;b.length;){var c=b.pop();if(c in a)return d.value=c,d.done=!1,d}return d.done=!0,d}},a.values=o,n.prototype={constructor:n,reset:function(a){if(this.prev=0,this.next=0,this.sent=this._sent=q,this.done=!1,this.delegate=null,this.method="next",this.arg=q,this.tryEntries.forEach(m),!a)for(var b in this)"t"===b.charAt(0)&&s.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=q)},stop:function(){this.done=!0;var a=this.tryEntries[0],b=a.completion;if("throw"===b.type)throw b.arg;return this.rval},dispatchException:function(a){function b(b,d){return f.type="throw",f.arg=a,c.next=b,d&&(c.method="next",c.arg=q),!!d}if(this.done)throw a;for(var c=this,d=this.tryEntries.length-1;d>=0;--d){var e=this.tryEntries[d],f=e.completion;if("root"===e.tryLoc)return b("end");if(e.tryLoc<=this.prev){var g=s.call(e,"catchLoc"),h=s.call(e,"finallyLoc");if(g&&h){if(this.prev<e.catchLoc)return b(e.catchLoc,!0);if(this.prev<e.finallyLoc)return b(e.finallyLoc)}else if(g){if(this.prev<e.catchLoc)return b(e.catchLoc,!0)}else{if(!h)throw new Error("try statement without catch or finally");if(this.prev<e.finallyLoc)return b(e.finallyLoc)}}}},abrupt:function(a,b){for(var c=this.tryEntries.length-1;c>=0;--c){var d=this.tryEntries[c];if(d.tryLoc<=this.prev&&s.call(d,"finallyLoc")&&this.prev<d.finallyLoc){var e=d;break}}e&&("break"===a||"continue"===a)&&e.tryLoc<=b&&b<=e.finallyLoc&&(e=null);var f=e?e.completion:{};return f.type=a,f.arg=b,e?(this.method="next",this.next=e.finallyLoc,C):this.complete(f)},complete:function(a,b){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&b&&(this.next=b),C},finish:function(a){for(var b=this.tryEntries.length-1;b>=0;--b){var c=this.tryEntries[b];if(c.finallyLoc===a)return this.complete(c.completion,c.afterLoc),m(c),C}},"catch":function(a){for(var b=this.tryEntries.length-1;b>=0;--b){var c=this.tryEntries[b];if(c.tryLoc===a){var d=c.completion;if("throw"===d.type){var e=d.arg;m(c)}return e}}throw new Error("illegal catch attempt")},delegateYield:function(a,b,c){return this.delegate={iterator:o(a),resultName:b,nextLoc:c},"next"===this.method&&(this.arg=q),C}},a}(a.exports);try{regeneratorRuntime=b}catch(c){Function("r","regeneratorRuntime = r")(b)}}),F=E,G=h,H=j,I=g(function(a){function b(c){return a.exports=b=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},b(c)}a.exports=b}),J=k,K=g(function(a){function b(c,d,e){return"undefined"!=typeof Reflect&&Reflect.get?a.exports=b=Reflect.get:a.exports=b=function(a,b,c){var d=J(a,b);if(d){var e=Object.getOwnPropertyDescriptor(d,b);return e.get?e.get.call(c):e.value}},b(c,d,e||c)}a.exports=b}),L=g(function(a){function b(c,d){return a.exports=b=Object.setPrototypeOf||function(a,b){return a.__proto__=b,a},b(c,d)}a.exports=b}),M=l,N=g(function(a){function b(c){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?a.exports=b=function(a){return typeof a}:a.exports=b=function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},b(c)}a.exports=b}),O=m,P=n,Q=g(function(a){function b(c){return a.exports=b=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},b(c)}a.exports=b}),R=function(){function a(b,c){G(this,a),this.config=b||{},this.headData=c,this.frame=[],this.textureMap={}}return H(a,[{key:"init",value:function(){return o(this,void 0,void 0,F.mark(function a(){return F.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(this.initCanvas(),!/\/\/[-A-Za-z0-9+&@#\/%?=~_|!:,.;]+[-A-Za-z0-9+&@#\/%=~_|]\.json$/.test(this.config)){a.next=5;break}return a.next=4,this.getConfigBySrc(this.config);case 4:this.config=a.sent;case 5:return a.next=7,this.parseSrc(this.config);case 7:return this.canvas.parentNode.removeChild(this.canvas),this.frame=this.config.frame||[],a.abrupt("return",this);case 10:case"end":return a.stop()}},a,this)}))}},{key:"initCanvas",value:function(){var a=document.createElement("canvas"),b=a.getContext("2d");a.style.display="none",document.body.appendChild(a),this.ctx=b,this.canvas=a}},{key:"loadImg",value:function(a){return new Promise(function(b,c){var d=new Image;d.crossOrigin="anonymous",d.onload=function(){b(this)},d.onerror=function(b){console.error("frame 资源加载失败:"+a),c(new Error("frame 资源加载失败:"+a))},d.src=a})}},{key:"parseSrc",value:function(a){var b=this,c=this.srcData={};return Promise.all((a.src||[]).map(function(a){return o(b,void 0,void 0,F.mark(function d(){var b=this;return F.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(a.img=null,this.headData[a.srcTag.slice(1,a.srcTag.length-1)]){d.next=5;break}console.warn("vap: 融合信息没有传入:".concat(a.srcTag)),d.next=21;break;case 5:if("txt"!==a.srcType){d.next=10;break}a.textStr=a.srcTag.replace(/\[(.*)\]/,function(a,c){return b.headData[c]}),a.img=this.makeTextImg(a),d.next=20;break;case 10:if("img"!==a.srcType){d.next=20;break}return a.imgUrl=a.srcTag.replace(/\[(.*)\]/,function(a,c){return b.headData[c]}),d.prev=12,d.next=15,this.loadImg(a.imgUrl+"?t="+Date.now());case 15:a.img=d.sent,d.next=20;break;case 18:d.prev=18,d.t0=d["catch"](12);case 20:a.img&&(c[a.srcId]=a);case 21:case"end":return d.stop()}},d,this,[[12,18]])}))}))}},{key:"getConfigBySrc",value:function(a){return new Promise(function(b,c){var d=new XMLHttpRequest;d.open("GET",a,!0),d.responseType="json",d.onload=function(){if(200===d.status||304===d.status&&d.response){var a=d.response;b(a)}else c(new Error("http response invalid"+d.status))},d.send()})}},{key:"makeTextImg",value:function(a){var b=a.textStr,c=a.w,d=a.h,e=a.color,f=a.style,g=this.ctx;g.canvas.width=c,g.canvas.height=d;var h=Math.min(c/b.length,d-8),i=["".concat(h,"px"),"Arial"];return"b"===f&&i.unshift("bold"),g.font=i.join(" "),g.textBaseline="middle",g.textAlign="center",g.fillStyle=e,g.clearRect(0,0,g.canvas.width,g.canvas.height),g.fillText(b,c/2,d/2),g.getImageData(0,0,c,d)}},{key:"getFrame",value:function(a){return this.frame.find(function(b){return b.i===a})}}]),a}(),S=function(){function a(b){G(this,a),b.container&&b.src||console.warn("[Alpha video]: options container and src cannot be empty!"),this.options=Object.assign({src:"",loop:!1,fps:20,width:375,height:375,container:null,precache:!1,mute:!1,config:""},b),this.fps=20,this.requestAnim=this.requestAnimFunc(),this.container=this.options.container,this.options.src&&this.options.config&&this.options.container?this.initVideo():console.error("参数出错:src(视频地址)、config(配置文件地址)、container(dom容器)")}return H(a,[{key:"precacheSource",value:function(a){var b=window.webkitURL||window.URL;return new Promise(function(c,d){var e=new XMLHttpRequest;e.open("GET",a,!0),e.responseType="blob",e.onload=function(){if(200===e.status||304===e.status){var a=e.response;if(/iphone|ipad|ipod/i.test(navigator.userAgent)){var f=new FileReader;f.onloadend=function(){for(var a=f.result,d=atob(a.slice(a.indexOf(",")+1)),e=Array(d.length),g=0;g<d.length;g++)e[g]=d.charCodeAt(g);var h=new Uint8Array(e),i=new Blob([h],{type:"video/mp4"});c(b.createObjectURL(i))},f.readAsDataURL(e.response)}else c(b.createObjectURL(a))}else d(new Error("http response invalid"+e.status))},e.send()})}},{key:"initVideo",value:function(){var a=this,b=this.options,c=this.video=document.createElement("video");c.crossOrigin="anonymous",c.autoplay=!1,c.preload="auto",c.setAttribute("playsinline",""),c.setAttribute("webkit-playsinline",""),b.mute&&(c.muted=!0,c.volume=0),c.style.display="none",c.loop=!!b.loop,b.precache?this.precacheSource(b.src).then(function(a){console.log("sample precached."),c.src=a,document.body.appendChild(c)})["catch"](function(a){console.error(a)}):(c.src=b.src,document.body.appendChild(this.video),c.load()),this.events={},["playing","pause","ended","error"].forEach(function(b){a.on(b,a["on"+b].bind(a))})}},{key:"drawFrame",value:function(){this._drawFrame=this._drawFrame||this.drawFrame.bind(this),this.animId=this.requestAnim(this._drawFrame)}},{key:"play",value:function(){var a=this,b=this.video&&this.video.play();b&&b.then&&b["catch"](function(b){a.video&&(a.video.muted=!0,a.video.volume=0,a.video.play()["catch"](function(b){(a.events.error||[]).forEach(function(a){a(b)})}))})}},{key:"requestAnimFunc",value:function(){var a=this;if(window.requestAnimationFrame){var b=-1;return function(c){return b++,requestAnimationFrame(function(){return b%(60/a.fps)?void(a.animId=a.requestAnim(c)):c()})}}return function(b){return setTimeout(b,1e3/a.fps)}}},{key:"cancelRequestAnimation",value:function(){window.cancelAnimationFrame&&cancelAnimationFrame(this.animId),clearTimeout(this.animId)}},{key:"destroy",value:function(){this.video&&(this.video.parentNode&&this.video.parentNode.removeChild(this.video),this.video=null),this.cancelRequestAnimation(),this.options.onDestory&&this.options.onDestory()}},{key:"clear",value:function(){this.destroy()}},{key:"on",value:function(a,b){var c=this.events[a]||[];return c.push(b),this.events[a]=c,this.video.addEventListener(a,b),this}},{key:"onplaying",value:function(){this.firstPlaying||(this.firstPlaying=!0,this.drawFrame())}},{key:"onpause",value:function(){}},{key:"onended",value:function(){this.destroy()}},{key:"onerror",value:function(a){console.error("[Alpha video]: play error: ",a),this.destroy(),this.options.onLoadError&&this.options.onLoadError(a)}}]),a}(),T=null,U={},V=9,W=function(a){function b(a){var d;return G(this,b),d=c.call(this,a),d.insType=d.options.type,U[d.insType]?d.instance=U[d.insType]:d.instance=U[d.insType]={},d.textures=[],d.buffers=[],d.shaders=[],d.init(),d}M(b,a);var c=s(b);return H(b,[{key:"init",value:function(){return o(this,void 0,void 0,F.mark(function a(){return F.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(this.setCanvas(),!this.options.config){a.next=12;break}return a.prev=2,a.next=5,new R(this.options.config,this.options).init();case 5:this.vapFrameParser=a.sent,this.resources=this.vapFrameParser.srcData,a.next=12;break;case 9:a.prev=9,a.t0=a["catch"](2),console.error("[Alpha video] parse vap frame error.",a.t0);case 12:this.resources=this.resources||{},this.initWebGL(),this.play();case 15:case"end":return a.stop()}},a,this,[[2,9]])}))}},{key:"setCanvas",value:function(){var a=this.instance.canvas,b=this.options,c=b.width,d=b.height;a||(a=this.instance.canvas=document.createElement("canvas")),a.width=c,a.height=d,this.container.appendChild(a)}},{key:"initWebGL",value:function(){var a=this.instance.canvas,b=this.instance,c=b.gl,d=b.vertexShader,e=b.fragmentShader,f=b.program;if(a)return c||(this.instance.gl=c=a.getContext("webgl")||a.getContext("experimental-webgl"),c.enable(c.BLEND),c.blendFuncSeparate(c.SRC_ALPHA,c.ONE_MINUS_SRC_ALPHA,c.ONE,c.ONE_MINUS_SRC_ALPHA),c.pixelStorei(c.UNPACK_FLIP_Y_WEBGL,!0)),c.clear(c.COLOR_BUFFER_BIT),c?(c.viewport(0,0,a.width,a.height),d||(d=this.instance.vertexShader=this.initVertexShader()),e||(e=this.instance.fragmentShader=this.initFragmentShader()),f||(f=this.instance.program=q(c,d,e)),this.program=f,this.initTexture(),this.initVideoTexture(),c):void 0}},{key:"initVertexShader",value:function(){var a=this.instance.gl;return p(a,a.VERTEX_SHADER,"attribute vec2 a_position; // 接受顶点坐标\n             attribute vec2 a_texCoord; // 接受纹理坐标\n             attribute vec2 a_alpha_texCoord; // 接受纹理坐标\n             varying vec2 v_alpha_texCoord; // 接受纹理坐标\n             varying   vec2 v_texcoord; // 传递纹理坐标给片元着色器\n             void main(void){\n                gl_Position = vec4(a_position, 0.0, 1.0); // 设置坐标\n                v_texcoord = a_texCoord; // 设置纹理坐标\n                v_alpha_texCoord = a_alpha_texCoord; // 设置纹理坐标\n             }")}},{key:"initFragmentShader",value:function(){var a=this.instance.gl,b="vec4(texture2D(u_image_video, v_texcoord).rgb, texture2D(u_image_video,v_alpha_texCoord).r);",c=a.getParameter(a.MAX_TEXTURE_IMAGE_UNITS)-1,d="",e="";if(c>0){for(var f=[],g=[],h=0;h<c;h++)f.push("if(ndx == ".concat(h+1,"){\n                        color = texture2D(u_image").concat(h+1,",uv);\n                    }")),g.push("uniform sampler2D u_image".concat(h+1,";"));e="\n            ".concat(g.join("\n"),"\n            uniform float image_pos[").concat(c*V,"];\n            vec4 getSampleFromArray(int ndx, vec2 uv) {\n                vec4 color;\n                ").concat(f.join(" else "),"\n                return color;\n            }\n            "),d="\n            vec4 srcColor,maskColor;\n            vec2 srcTexcoord,maskTexcoord;\n            int srcIndex;\n            float x1,x2,y1,y2,mx1,mx2,my1,my2; //显示的区域\n\n            for(int i=0;i<".concat(c*V,";i+= ").concat(V,"){\n                if ((int(image_pos[i]) > 0)) {\n                  srcIndex = int(image_pos[i]);\n    \n                    x1 = image_pos[i+1];\n                    x2 = image_pos[i+2];\n                    y1 = image_pos[i+3];\n                    y2 = image_pos[i+4];\n                    \n                    mx1 = image_pos[i+5];\n                    mx2 = image_pos[i+6];\n                    my1 = image_pos[i+7];\n                    my2 = image_pos[i+8];\n    \n    \n                    if (v_texcoord.s>x1 && v_texcoord.s<x2 && v_texcoord.t>y1 && v_texcoord.t<y2) {\n                        srcTexcoord = vec2((v_texcoord.s-x1)/(x2-x1),(v_texcoord.t-y1)/(y2-y1));\n                         maskTexcoord = vec2(mx1+srcTexcoord.s*(mx2-mx1),my1+srcTexcoord.t*(my2-my1));\n                         srcColor = getSampleFromArray(srcIndex,srcTexcoord);\n                         maskColor = texture2D(u_image_video, maskTexcoord);\n                         srcColor.a = srcColor.a*(maskColor.r);\n                      \n                         bgColor = vec4(srcColor.rgb*srcColor.a,srcColor.a) + (1.0-srcColor.a)*bgColor;\n                      \n                    }   \n                }\n            }\n            ")}var i="\n        precision lowp float;\n        varying vec2 v_texcoord;\n        varying vec2 v_alpha_texCoord;\n        uniform sampler2D u_image_video;\n        ".concat(e,"\n        \n        void main(void) {\n            vec4 bgColor = ").concat(b,"\n            ").concat(d,"\n            // bgColor = texture2D(u_image[0], v_texcoord);\n            gl_FragColor = bgColor;\n        }\n        ");return p(a,a.FRAGMENT_SHADER,i)}},{key:"initTexture",value:function(){var a=this.instance.gl,b=1;if(this.vapFrameParser&&this.vapFrameParser.srcData){var c=this.vapFrameParser.srcData;for(var d in c){var e=c[d];this.textures.push(r(a,b,e.img));var f=a.getUniformLocation(this.program,"u_image".concat(b));a.uniform1i(f,b),this.vapFrameParser.textureMap[e.srcId]=b++}var g=a.createTexture();a.activeTexture(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,g),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,1,1,0,a.RGBA,a.UNSIGNED_BYTE,null),this.videoTexture=r(a,b);var h=a.getUniformLocation(this.program,"u_image_video");a.uniform1i(h,b)}}},{key:"initVideoTexture",value:function(){var a=this.instance.gl,b=a.createBuffer();if(this.buffers.push(b),this.vapFrameParser&&this.vapFrameParser.config&&this.vapFrameParser.config.info){var c=this.vapFrameParser.config.info,d=[],e=c.videoW,f=c.videoH,g=D(c.rgbFrame,4),h=g[0],i=g[1],j=g[2],k=g[3],l=D(c.aFrame,4),m=l[0],n=l[1],o=l[2],p=l[3],q=u(h,i,j,k,e,f),r=u(m,n,o,p,e,f);d.push.apply(d,[-1,1,q[0],q[3],r[0],r[3]]),d.push.apply(d,[1,1,q[1],q[3],r[1],r[3]]),d.push.apply(d,[-1,-1,q[0],q[2],r[0],r[2]]),d.push.apply(d,[1,-1,q[1],q[2],r[1],r[2]]);var s=new Float32Array(d);a.bindBuffer(a.ARRAY_BUFFER,b),a.bufferData(a.ARRAY_BUFFER,s,a.STATIC_DRAW),this.aPosition=a.getAttribLocation(this.program,"a_position"),a.enableVertexAttribArray(this.aPosition),this.aTexCoord=a.getAttribLocation(this.program,"a_texCoord"),a.enableVertexAttribArray(this.aTexCoord),this.aAlphaTexCoord=a.getAttribLocation(this.program,"a_alpha_texCoord"),a.enableVertexAttribArray(this.aAlphaTexCoord);var t=s.BYTES_PER_ELEMENT;a.vertexAttribPointer(this.aPosition,2,a.FLOAT,!1,6*t,0),a.vertexAttribPointer(this.aTexCoord,2,a.FLOAT,!1,6*t,2*t),a.vertexAttribPointer(this.aAlphaTexCoord,2,a.FLOAT,!1,6*t,4*t)}}},{key:"drawFrame",value:function(){var a=this,c=this.instance.gl;if(!c)return void K(Q(b.prototype),"drawFrame",this).call(this);if(c.clear(c.COLOR_BUFFER_BIT),this.vapFrameParser){var d=Math.floor(this.video.currentTime*this.options.fps),e=this.vapFrameParser.getFrame(d),f=[];e&&e.obj&&e.obj.forEach(function(b,c){f[f.length]=+a.vapFrameParser.textureMap[b.srcId];var d=a.vapFrameParser.config.info,e=d.videoW,g=d.videoH,h=D(b.frame,4),i=h[0],j=h[1],k=h[2],l=h[3],m=D(b.mFrame,4),n=m[0],o=m[1],p=m[2],q=m[3],r=u(i,j,k,l,e,g),s=u(n,o,p,q,e,g);f=f.concat(r).concat(s)});var g=(c.getParameter(c.MAX_TEXTURE_IMAGE_UNITS)-1)*V;
f=f.concat(new Array(g-f.length).fill(0)),this._imagePos=this._imagePos||c.getUniformLocation(this.program,"image_pos"),c.uniform1fv(this._imagePos,new Float32Array(f))}c.texImage2D(c.TEXTURE_2D,0,c.RGB,c.RGB,c.UNSIGNED_BYTE,this.video),c.drawArrays(c.TRIANGLE_STRIP,0,4),K(Q(b.prototype),"drawFrame",this).call(this)}},{key:"destroy",value:function(){var a=this.instance,c=a.canvas,d=a.gl;if(this.textures&&this.textures.length)for(var e=0;e<this.textures.length;e++)d.deleteTexture(this.textures[e]);c&&c.parentNode&&c.parentNode.removeChild(c),K(Q(b.prototype),"destroy",this).call(this),this.clearMemoryCache()}},{key:"clearMemoryCache",value:function(){T&&clearTimeout(T),T=setTimeout(function(){U={}},18e5)}}]),b}(S);window.Vap=v}),!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.anime=b()}(this,function(){"use strict";function a(a,b,c){return Math.min(Math.max(a,b),c)}function b(a,b){return a.indexOf(b)>-1}function c(a,b){return a.apply(null,b)}function d(a){var b=/\(([^)]+)\)/.exec(a);return b?b[1].split(",").map(function(a){return parseFloat(a)}):[]}function e(b,c){function e(a){var b=c?c*a/1e3:a;return b=l<1?Math.exp(-b*l*k)*(n*Math.cos(m*b)+o*Math.sin(m*b)):(n+o*b)*Math.exp(-b*k),0===a||1===a?a:1-b}var f=d(b),g=a(Y.und(f[0])?1:f[0],.1,100),h=a(Y.und(f[1])?100:f[1],.1,100),i=a(Y.und(f[2])?10:f[2],.1,100),j=a(Y.und(f[3])?0:f[3],.1,100),k=Math.sqrt(h/g),l=i/(2*Math.sqrt(h*g)),m=l<1?k*Math.sqrt(1-l*l):0,n=1,o=l<1?(l*k-j)/m:-j+k;return c?e:function(){var a=X.springs[b];if(a)return a;for(var c=0,d=0;;)if(1===e(c+=1/6)){if(++d>=16)break}else d=0;var f=c*(1/6)*1e3;return X.springs[b]=f,f}}function f(a){return void 0===a&&(a=10),function(b){return Math.round(b*a)*(1/a)}}function g(a,b){if(Y.fnc(a))return a;var g=a.split("(")[0],h=$[g],i=d(a);switch(g){case"spring":return e(a,b);case"cubicBezier":return c(Z,i);case"steps":return c(f,i);default:return c(h,i)}}function h(a){try{return document.querySelectorAll(a)}catch(a){return}}function i(a,b){for(var c=a.length,d=arguments.length>=2?arguments[1]:void 0,e=[],f=0;f<c;f++)if(f in a){var g=a[f];b.call(d,g,f,a)&&e.push(g)}return e}function j(a){return a.reduce(function(a,b){return a.concat(Y.arr(b)?j(b):b)},[])}function k(a){return Y.arr(a)?a:(Y.str(a)&&(a=h(a)||a),a instanceof NodeList||a instanceof HTMLCollection?[].slice.call(a):[a])}function l(a,b){return a.some(function(a){return a===b})}function m(a){var b={};for(var c in a)b[c]=a[c];return b}function n(a,b){var c=m(a);for(var d in a)c[d]=b.hasOwnProperty(d)?b[d]:a[d];return c}function o(a,b){var c=m(a);for(var d in b)c[d]=Y.und(a[d])?b[d]:a[d];return c}function p(a){return Y.rgb(a)?(c=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(b=a))?"rgba("+c[1]+",1)":b:Y.hex(a)?(d=a.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(a,b,c,d){return b+b+c+c+d+d}),e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(d),"rgba("+parseInt(e[1],16)+","+parseInt(e[2],16)+","+parseInt(e[3],16)+",1)"):Y.hsl(a)?function(a){function b(a,b,c){return c<0&&(c+=1),c>1&&(c-=1),c<1/6?a+6*(b-a)*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a}var c,d,e,f=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(a)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(a),g=parseInt(f[1],10)/360,h=parseInt(f[2],10)/100,i=parseInt(f[3],10)/100,j=f[4]||1;if(0==h)c=d=e=i;else{var k=i<.5?i*(1+h):i+h-i*h,l=2*i-k;c=b(l,k,g+1/3),d=b(l,k,g),e=b(l,k,g-1/3)}return"rgba("+255*c+","+255*d+","+255*e+","+j+")"}(a):void 0;var b,c,d,e}function q(a){var b=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(a);if(b)return b[1]}function r(a,b){return Y.fnc(a)?a(b.target,b.id,b.total):a}function s(a,b){return a.getAttribute(b)}function t(a,b,c){if(l([c,"deg","rad","turn"],q(b)))return b;var d=X.CSS[b+c];if(!Y.und(d))return d;var e=document.createElement(a.tagName),f=a.parentNode&&a.parentNode!==document?a.parentNode:document.body;f.appendChild(e),e.style.position="absolute",e.style.width=100+c;var g=100/e.offsetWidth;f.removeChild(e);var h=g*parseFloat(b);return X.CSS[b+c]=h,h}function u(a,b,c){if(b in a.style){var d=b.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e=a.style[b]||getComputedStyle(a).getPropertyValue(d)||"0";return c?t(a,e,c):e}}function v(a,b){return Y.dom(a)&&!Y.inp(a)&&(s(a,b)||Y.svg(a)&&a[b])?"attribute":Y.dom(a)&&l(W,b)?"transform":Y.dom(a)&&"transform"!==b&&u(a,b)?"css":null!=a[b]?"object":void 0}function w(a){if(Y.dom(a)){for(var b,c=a.style.transform||"",d=/(\w+)\(([^)]*)\)/g,e=new Map;b=d.exec(c);)e.set(b[1],b[2]);return e}}function x(a,c,d,e){var f,g=b(c,"scale")?1:0+(b(f=c,"translate")||"perspective"===f?"px":b(f,"rotate")||b(f,"skew")?"deg":void 0),h=w(a).get(c)||g;return d&&(d.transforms.list.set(c,h),d.transforms.last=c),e?t(a,h,e):h}function y(a,b,c,d){switch(v(a,b)){case"transform":return x(a,b,d,c);case"css":return u(a,b,c);case"attribute":return s(a,b);default:return a[b]||0}}function z(a,b){var c=/^(\*=|\+=|-=)/.exec(a);if(!c)return a;var d=q(a)||0,e=parseFloat(b),f=parseFloat(a.replace(c[0],""));switch(c[0][0]){case"+":return e+f+d;case"-":return e-f+d;case"*":return e*f+d}}function A(a,b){if(Y.col(a))return p(a);if(/\s/g.test(a))return a;var c=q(a),d=c?a.substr(0,a.length-c.length):a;return b?d+b:d}function B(a,b){return Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2))}function C(a){for(var b,c=a.points,d=0,e=0;e<c.numberOfItems;e++){var f=c.getItem(e);e>0&&(d+=B(b,f)),b=f}return d}function D(a){if(a.getTotalLength)return a.getTotalLength();switch(a.tagName.toLowerCase()){case"circle":return f=a,2*Math.PI*s(f,"r");case"rect":return 2*s(e=a,"width")+2*s(e,"height");case"line":return B({x:s(d=a,"x1"),y:s(d,"y1")},{x:s(d,"x2"),y:s(d,"y2")});case"polyline":return C(a);case"polygon":return c=(b=a).points,C(b)+B(c.getItem(c.numberOfItems-1),c.getItem(0))}var b,c,d,e,f}function E(a,b){var c=b||{},d=c.el||function(a){for(var b=a.parentNode;Y.svg(b)&&Y.svg(b.parentNode);)b=b.parentNode;return b}(a),e=d.getBoundingClientRect(),f=s(d,"viewBox"),g=e.width,h=e.height,i=c.viewBox||(f?f.split(" "):[0,0,g,h]);return{el:d,viewBox:i,x:i[0]/1,y:i[1]/1,w:g/i[2],h:h/i[3]}}function F(a,b){function c(c){void 0===c&&(c=0);var d=b+c>=1?b+c:0;return a.el.getPointAtLength(d)}var d=E(a.el,a.svg),e=c(),f=c(-1),g=c(1);switch(a.property){case"x":return(e.x-d.x)*d.w;case"y":return(e.y-d.y)*d.h;case"angle":return 180*Math.atan2(g.y-f.y,g.x-f.x)/Math.PI}}function G(a,b){var c=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,d=A(Y.pth(a)?a.totalLength:a,b)+"";return{original:d,numbers:d.match(c)?d.match(c).map(Number):[0],strings:Y.str(a)||b?d.split(c):[]}}function H(a){return i(a?j(Y.arr(a)?a.map(k):k(a)):[],function(a,b,c){return c.indexOf(a)===b})}function I(a){var b=H(a);return b.map(function(a,c){return{target:a,id:c,total:b.length,transforms:{list:w(a)}}})}function J(a,b){var c=m(b);if(/^spring/.test(c.easing)&&(c.duration=e(c.easing)),Y.arr(a)){var d=a.length;2!==d||Y.obj(a[0])?Y.fnc(b.duration)||(c.duration=b.duration/d):a={value:a}}var f=Y.arr(a)?a:[a];return f.map(function(a,c){var d=Y.obj(a)&&!Y.pth(a)?a:{value:a};return Y.und(d.delay)&&(d.delay=c?0:b.delay),Y.und(d.endDelay)&&(d.endDelay=c===f.length-1?b.endDelay:0),d}).map(function(a){return o(a,c)})}function K(a,b){var c=[],d=b.keyframes;for(var e in d&&(b=o(function(a){for(var b=i(j(a.map(function(a){return Object.keys(a)})),function(a){return Y.key(a)}).reduce(function(a,b){return a.indexOf(b)<0&&a.push(b),a},[]),c={},d=function(d){var e=b[d];c[e]=a.map(function(a){var b={};for(var c in a)Y.key(c)?c==e&&(b.value=a[c]):b[c]=a[c];return b})},e=0;e<b.length;e++)d(e);return c}(d),b)),b)Y.key(e)&&c.push({name:e,tweens:J(b[e],a)});return c}function L(a,b){var c;return a.tweens.map(function(d){var e=function(a,b){var c={};for(var d in a){var e=r(a[d],b);Y.arr(e)&&1===(e=e.map(function(a){return r(a,b)})).length&&(e=e[0]),c[d]=e}return c.duration=parseFloat(c.duration),c.delay=parseFloat(c.delay),c}(d,b),f=e.value,h=Y.arr(f)?f[1]:f,i=q(h),j=y(b.target,a.name,i,b),k=c?c.to.original:j,l=Y.arr(f)?f[0]:k,m=q(l)||q(j),n=i||m;return Y.und(h)&&(h=k),e.from=G(l,n),e.to=G(z(h,l),n),e.start=c?c.end:0,e.end=e.start+e.delay+e.duration+e.endDelay,e.easing=g(e.easing,e.duration),e.isPath=Y.pth(f),e.isColor=Y.col(e.from.original),e.isColor&&(e.round=1),c=e,e})}function M(a,b){I(a).forEach(function(a){for(var c in b){var d=r(b[c],a),e=a.target,f=q(d),g=y(e,c,f,a),h=z(A(d,f||q(g)),g),i=v(e,c);_[i](e,c,h,a.transforms,!0)}})}function N(a,b){return i(j(a.map(function(a){return b.map(function(b){return function(a,b){var c=v(a.target,b.name);if(c){var d=L(b,a),e=d[d.length-1];return{type:c,property:b.name,animatable:a,tweens:d,duration:e.end,delay:d[0].delay,endDelay:e.endDelay}}}(a,b)})})),function(a){return!Y.und(a)})}function O(a,b){var c=a.length,d=function(a){return a.timelineOffset?a.timelineOffset:0},e={};return e.duration=c?Math.max.apply(Math,a.map(function(a){return d(a)+a.duration})):b.duration,e.delay=c?Math.min.apply(Math,a.map(function(a){return d(a)+a.delay})):b.delay,e.endDelay=c?e.duration-Math.max.apply(Math,a.map(function(a){return d(a)+a.duration-a.endDelay})):b.endDelay,e}function P(b){function c(a){var b=window.Promise&&new Promise(function(a){return A=a});return a.finished=b,b}function d(){var a=B.direction;"alternate"!==a&&(B.direction="normal"!==a?"normal":"reverse"),B.reversed=!B.reversed,l.forEach(function(a){return a.reversed=B.reversed})}function e(a){return B.reversed?B.duration-a:a}function f(){w=0,x=e(B.currentTime)*(1/P.speed)}function g(a,b){b&&b.seek(a-b.timelineOffset)}function h(b){for(var c=0,d=B.animations,e=d.length;c<e;){var f=d[c],g=f.animatable,h=f.tweens,j=h.length-1,k=h[j];j&&(k=i(h,function(a){return b<a.end})[0]||k);for(var l=a(b-k.start-k.delay,0,k.duration)/k.duration,m=isNaN(l)?1:k.easing(l),n=k.to.strings,o=k.round,p=[],q=k.to.numbers.length,r=void 0,s=0;s<q;s++){var t=void 0,u=k.to.numbers[s],v=k.from.numbers[s]||0;t=k.isPath?F(k.value,m*u):v+m*(u-v),o&&(k.isColor&&s>2||(t=Math.round(t*o)/o)),p.push(t)}var w=n.length;if(w){r=n[0];for(var x=0;x<w;x++){n[x];var y=n[x+1],z=p[x];isNaN(z)||(r+=y?z+y:z+" ")}}else r=p[0];_[f.type](g.target,f.property,r,g.transforms),f.currentValue=r,c++}}function j(a){B[a]&&!B.passThrough&&B[a](B)}function k(b){var f=B.duration,i=B.delay,k=f-B.endDelay,m=e(b);B.progress=a(m/f*100,0,100),B.reversePlayback=m<B.currentTime,l&&function(a){if(B.reversePlayback)for(var b=z;b--;)g(a,l[b]);else for(var c=0;c<z;c++)g(a,l[c])}(m),!B.began&&B.currentTime>0&&(B.began=!0,j("begin")),!B.loopBegan&&B.currentTime>0&&(B.loopBegan=!0,j("loopBegin")),m<=i&&0!==B.currentTime&&h(0),(m>=k&&B.currentTime!==f||!f)&&h(f),m>i&&m<k?(B.changeBegan||(B.changeBegan=!0,B.changeCompleted=!1,j("changeBegin")),j("change"),h(m)):B.changeBegan&&(B.changeCompleted=!0,B.changeBegan=!1,j("changeComplete")),B.currentTime=a(m,0,f),B.began&&j("update"),b>=f&&(x=0,B.remaining&&!0!==B.remaining&&B.remaining--,B.remaining?(w=y,j("loopComplete"),B.loopBegan=!1,"alternate"===B.direction&&d()):(B.paused=!0,B.completed||(B.completed=!0,j("loopComplete"),j("complete"),!B.passThrough&&"Promise"in window&&(A(),c(B)))))}void 0===b&&(b={});var l,m,p,q,r,s,t,u,v,w=0,x=0,y=0,z=0,A=null,B=(p=n(U,m=b),q=n(V,m),r=K(q,m),s=I(m.targets),t=N(s,r),u=O(t,q),v=aa,aa++,o(p,{id:v,children:[],animatables:s,animations:t,duration:u.duration,delay:u.delay,endDelay:u.endDelay}));return c(B),B.reset=function(){var a=B.direction;B.passThrough=!1,B.currentTime=0,B.progress=0,B.paused=!0,B.began=!1,B.loopBegan=!1,B.changeBegan=!1,B.completed=!1,B.changeCompleted=!1,B.reversePlayback=!1,B.reversed="reverse"===a,B.remaining=B.loop,l=B.children;for(var b=z=l.length;b--;)B.children[b].reset();(B.reversed&&!0!==B.loop||"alternate"===a&&1===B.loop)&&B.remaining++,h(B.reversed?B.duration:0)},B.set=function(a,b){return M(a,b),B},B.tick=function(a){y=a,w||(w=y),k((y+(x-w))*P.speed)},B.seek=function(a){k(e(a))},B.pause=function(){B.paused=!0,f()},B.play=function(){B.paused&&(B.completed&&B.reset(),B.paused=!1,ba.push(B),f(),T||da())},B.reverse=function(){d(),f()},B.restart=function(){B.reset(),B.play()},B.reset(),B.autoplay&&B.play(),B}function Q(a,b){for(var c=b.length;c--;)l(a,b[c].animatable.target)&&b.splice(c,1)}var R,S,T,U={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},V={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},W=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective"],X={CSS:{},springs:{}},Y={arr:function(a){return Array.isArray(a)},obj:function(a){return b(Object.prototype.toString.call(a),"Object")},pth:function(a){return Y.obj(a)&&a.hasOwnProperty("totalLength")},svg:function(a){return a instanceof SVGElement},inp:function(a){return a instanceof HTMLInputElement},dom:function(a){return a.nodeType||Y.svg(a)},str:function(a){return"string"==typeof a},fnc:function(a){return"function"==typeof a},und:function(a){return void 0===a},hex:function(a){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(a)},rgb:function(a){return/^rgb/.test(a)},hsl:function(a){return/^hsl/.test(a)},col:function(a){return Y.hex(a)||Y.rgb(a)||Y.hsl(a)},key:function(a){return!U.hasOwnProperty(a)&&!V.hasOwnProperty(a)&&"targets"!==a&&"keyframes"!==a}},Z=function(){function a(a,b){return 1-3*b+3*a}function b(a,b){return 3*b-6*a}function c(a){return 3*a}function d(d,e,f){return((a(e,f)*d+b(e,f))*d+c(e))*d}function e(d,e,f){return 3*a(e,f)*d*d+2*b(e,f)*d+c(e)}var f=11,g=1/(f-1);return function(a,b,c,h){function i(b){for(var h=0,i=1,k=f-1;i!==k&&j[i]<=b;++i)h+=g;var l=h+(b-j[--i])/(j[i+1]-j[i])*g,m=e(l,a,c);return m>=.001?function(a,b,c,f){for(var g=0;g<4;++g){var h=e(b,c,f);if(0===h)return b;b-=(d(b,c,f)-a)/h}return b}(b,l,a,c):0===m?l:function(a,b,c,e,f){for(var g,h,i=0;(g=d(h=b+(c-b)/2,e,f)-a)>0?c=h:b=h,Math.abs(g)>1e-7&&++i<10;);return h}(b,h,h+g,a,c)}if(0<=a&&a<=1&&0<=c&&c<=1){var j=new Float32Array(f);if(a!==b||c!==h)for(var k=0;k<f;++k)j[k]=d(k*g,a,c);return function(e){return a===b&&c===h?e:0===e||1===e?e:d(i(e),b,h)}}}}(),$=(R={linear:function(){return function(a){return a}}},S={Sine:function(){return function(a){return 1-Math.cos(a*Math.PI/2)}},Circ:function(){return function(a){return 1-Math.sqrt(1-a*a)}},Back:function(){return function(a){return a*a*(3*a-2)}},Bounce:function(){return function(a){for(var b,c=4;a<((b=Math.pow(2,--c))-1)/11;);return 1/Math.pow(4,3-c)-7.5625*Math.pow((3*b-2)/22-a,2)}},Elastic:function(b,c){void 0===b&&(b=1),void 0===c&&(c=.5);var d=a(b,1,10),e=a(c,.1,2);return function(a){return 0===a||1===a?a:-d*Math.pow(2,10*(a-1))*Math.sin((a-1-e/(2*Math.PI)*Math.asin(1/d))*(2*Math.PI)/e)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach(function(a,b){S[a]=function(){return function(a){return Math.pow(a,b+2)}}}),Object.keys(S).forEach(function(a){var b=S[a];R["easeIn"+a]=b,R["easeOut"+a]=function(a,c){return function(d){return 1-b(a,c)(1-d)}},R["easeInOut"+a]=function(a,c){return function(d){return d<.5?b(a,c)(2*d)/2:1-b(a,c)(-2*d+2)/2}}}),R),_={css:function(a,b,c){return a.style[b]=c},attribute:function(a,b,c){return a.setAttribute(b,c)},object:function(a,b,c){return a[b]=c},transform:function(a,b,c,d,e){if(d.list.set(b,c),b===d.last||e){var f="";d.list.forEach(function(a,b){f+=b+"("+a+") "}),a.style.transform=f}}},aa=0,ba=[],ca=[],da=function(){function a(){T=requestAnimationFrame(b)}function b(b){var c=ba.length;if(c){for(var d=0;d<c;){var e=ba[d];if(e.paused){var f=ba.indexOf(e);f>-1&&(ba.splice(f,1),c=ba.length)}else e.tick(b);d++}a()}else T=cancelAnimationFrame(T)}return a}();return"undefined"!=typeof document&&document.addEventListener("visibilitychange",function(){document.hidden?(ba.forEach(function(a){return a.pause()}),ca=ba.slice(0),P.running=ba=[]):ca.forEach(function(a){return a.play()})}),P.version="3.1.0",P.speed=1,P.running=ba,P.remove=function(a){for(var b=H(a),c=ba.length;c--;){var d=ba[c],e=d.animations,f=d.children;Q(b,e);for(var g=f.length;g--;){var h=f[g],i=h.animations;Q(b,i),i.length||h.children.length||f.splice(g,1)}e.length||f.length||d.pause()}},P.get=y,P.set=M,P.convertPx=t,P.path=function(a,b){var c=Y.str(a)?h(a)[0]:a,d=b||100;return function(a){return{property:a,el:c,svg:E(c),totalLength:D(c)*(d/100)}}},P.setDashoffset=function(a){var b=D(a);return a.setAttribute("stroke-dasharray",b),b},P.stagger=function(a,b){void 0===b&&(b={});var c=b.direction||"normal",d=b.easing?g(b.easing):null,e=b.grid,f=b.axis,h=b.from||0,i="first"===h,j="center"===h,k="last"===h,l=Y.arr(a),m=l?parseFloat(a[0]):parseFloat(a),n=l?parseFloat(a[1]):0,o=q(l?a[1]:a)||0,p=b.start||0+(l?m:0),r=[],s=0;return function(a,b,g){if(i&&(h=0),j&&(h=(g-1)/2),k&&(h=g-1),!r.length){for(var q=0;q<g;q++){if(e){var t=j?(e[0]-1)/2:h%e[0],u=j?(e[1]-1)/2:Math.floor(h/e[0]),v=t-q%e[0],w=u-Math.floor(q/e[0]),x=Math.sqrt(v*v+w*w);"x"===f&&(x=-v),"y"===f&&(x=-w),r.push(x)}else r.push(Math.abs(h-q));s=Math.max.apply(Math,r)}d&&(r=r.map(function(a){return d(a/s)*s})),"reverse"===c&&(r=r.map(function(a){return f?a<0?-1*a:-a:Math.abs(s-a)}))}return p+(l?(n-m)/s:m)*(Math.round(100*r[b])/100)+o}},P.timeline=function(a){void 0===a&&(a={});var b=P(a);return b.duration=0,b.add=function(c,d){function e(a){a.passThrough=!0}var f=ba.indexOf(b),g=b.children;f>-1&&ba.splice(f,1);for(var h=0;h<g.length;h++)e(g[h]);var i=o(c,n(V,a));i.targets=i.targets||a.targets;var j=b.duration;i.autoplay=!1,i.direction=b.direction,i.timelineOffset=Y.und(d)?j:z(d,j),e(b),b.seek(i.timelineOffset);var k=P(i);e(k),g.push(k);var l=O(g,a);return b.delay=l.delay,b.endDelay=l.endDelay,b.duration=l.duration,b.seek(0),b.reset(),b.autoplay&&b.play(),b},b},P.easing=g,P.penner=$,P.random=function(a,b){return Math.floor(Math.random()*(b-a+1))+a},P});