text: function $JssorObject$(){function t(t,e){$JssorDebug$.$Execute(function(){if(void 0==t||null==t)throw new Error("param 'eventName' is null or empty.");if("function"!=typeof e)throw"param 'handler' must be a function.";$Jssor$.$Each(o,function(n){if(n.$EventName==t&&n.$Handler===e)throw new Error("The handler listened to the event already, cannot listen to the same event of the same object with the same handler twice.")})}),o.push({$EventName:t,$Handler:e})}function e(t,e){$JssorDebug$.$Execute(function(){if(void 0==t||null==t)throw new Error("param 'eventName' is null or empty.");if("function"!=typeof e)throw"param 'handler' must be a function."}),$Jssor$.$Each(o,function(n,i){n.$EventName==t&&n.$Handler===e&&o.splice(i,1)})}function n(){o=[]}function i(){$Jssor$.$Each(s,function(t){$Jssor$.$RemoveEvent(t.$Obj,t.$EventName,t.$Handler)}),s=[]}var r=this,o=[],s=[];r.$Listen=function(t,e,n,i){$JssorDebug$.$Execute(function(){if(!t)throw new Error("param 'obj' is null or empty.");if(void 0==e||null==e)throw new Error("param 'eventName' is null or empty.");if("function"!=typeof n)throw"param 'handler' must be a function.";$Jssor$.$Each(s,function(i){if(i.$Obj===t&&i.$EventName==e&&i.$Handler===n)throw new Error("The handler listened to the event already, cannot listen to the same event of the same object with the same handler twice.")})}),$Jssor$.$AddEvent(t,e,n,i),s.push({$Obj:t,$EventName:e,$Handler:n})},r.$Unlisten=function(t,e,n){$JssorDebug$.$Execute(function(){if(!t)throw new Error("param 'obj' is null or empty.");if(void 0==e||null==e)throw new Error("param 'eventName' is null or empty.");if("function"!=typeof n)throw"param 'handler' must be a function."}),$Jssor$.$Each(s,function(i,r){i.$Obj===t&&i.$EventName==e&&i.$Handler===n&&($Jssor$.$RemoveEvent(t,e,n),s.splice(r,1))})},r.$UnlistenAll=i,r.$On=r.addEventListener=t,r.$Off=r.removeEventListener=e,r.$TriggerEvent=function(t){var e=[].slice.call(arguments,1);$Jssor$.$Each(o,function(n){n.$EventName==t&&n.$Handler.apply(window,e)})},r.$Destroy=function(){i(),n();for(var t in r)delete r[t]},$JssorDebug$.$C_AbstractClass(r)}function $JssorAnimator$(t,e,n,i,r,o){function s(t){w+=t,C+=t,D+=t,k+=t,O+=t,N+=t,I=t}function a(e,n){var i=e-w+t*n;return s(i),C}function l(t,s){var a=t;if(T&&(a>=C||a<=w)&&(a=((a-w)%T+T)%T+w),!x||v||s||O!=a){var l=Math.min(a,C);if(l=Math.max(l,w),!x||v||s||l!=N){if(o){var u=(l-D)/(e||1);n.$Reverse&&(u=1-u);var c=$Jssor$.$Cast(r,o,u,m,b,y,n);$Jssor$.$Each(c,function(t,e){S[e]&&S[e](i,t)})}J.$OnInnerOffsetChange(N-D,l-D),N=l,$Jssor$.$Each(P,function(e,n){var i=t<O?P[P.length-n-1]:e;i.$GoToPosition(N-I,s)});var d=O,f=N;O=a,x=!0,J.$OnPositionChange(d,f)}}}function u(t,e,n){$JssorDebug$.$Execute(function(){0!==e&&1!==e&&$JssorDebug$.$Fail("Argument out of range, the value of 'combineMode' should be either 0 or 1.")}),e&&t.$Locate(C,1),n||(w=Math.min(w,t.$GetPosition_OuterBegin()+I),C=Math.max(C,t.$GetPosition_OuterEnd()+I)),P.push(t)}function c(){if(h){var t=$Jssor$.$GetNow(),e=Math.min(t-A,n.$IntervalMax),i=O+e*g;A=t,i*g>=p*g&&(i=p),l(i),!v&&i*g>=p*g?f(E):M(c)}}function d(t,e,n){h||(h=!0,v=n,E=e,t=Math.max(t,w),t=Math.min(t,C),p=t,g=p<O?-1:1,J.$OnStart(),A=$Jssor$.$GetNow(),M(c))}function f(t){h&&(v=h=E=!1,J.$OnStop(),t&&t())}t=t||0;var h,$,p,g,v,m,y,b,E,x,w,C,T,S,J=this,A=0,I=0,O=0,N=0,D=t,k=t+e,P=[],M=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame;$Jssor$.$IsBrowserSafari()&&$Jssor$.$BrowserVersion()<7&&(M=null),M=M||function(t){$Jssor$.$Delay(t,n.$Interval)},J.$Play=function(t,e,n){d(t?O+t:C,e,n)},J.$PlayToPosition=d,J.$PlayToBegin=function(t,e){d(w,t,e)},J.$PlayToEnd=function(t,e){d(C,t,e)},J.$Stop=f,J.$Continue=function(t){d(t)},J.$GetPosition=function(){return O},J.$GetPlayToPosition=function(){return p},J.$GetPosition_Display=function(){return N},J.$GoToPosition=l,J.$GoToBegin=function(){l(w,!0)},J.$GoToEnd=function(){l(C,!0)},J.$Move=function(t){l(O+t)},J.$CombineMode=function(){return $},J.$GetDuration=function(){return e},J.$IsPlaying=function(){return h},J.$IsOnTheWay=function(){return O>D&&O<=k},J.$SetLoopLength=function(t){T=t},J.$Locate=a,J.$Shift=s,J.$Join=u,J.$Combine=function(t){u(t,0)},J.$Chain=function(t){u(t,1)},J.$GetPosition_InnerBegin=function(){return D},J.$GetPosition_InnerEnd=function(){return k},J.$GetPosition_OuterBegin=function(){return w},J.$GetPosition_OuterEnd=function(){return C},J.$OnPositionChange=J.$OnStart=J.$OnStop=J.$OnInnerOffsetChange=$Jssor$.$EmptyFunction,J.$Version=$Jssor$.$GetNow(),n=$Jssor$.$Extend({$Interval:16,$IntervalMax:50},n),$JssorDebug$.$Execute(function(){n=$Jssor$.$Extend({$LoopLength:void 0,$Setter:void 0,$Easing:void 0},n)}),T=n.$LoopLength,S=$Jssor$.$Extend({},$Jssor$.$StyleSetter(),n.$Setter),w=D=t,C=k=t+e,y=n.$Round||{},b=n.$During||{},m=$Jssor$.$Extend({$Default:$Jssor$.$IsFunction(n.$Easing)&&n.$Easing||$JssorEasing$.$EaseSwing},n.$Easing)}function $JssorPlayerClass$(){function t(t){function e(n){var r=$Jssor$.$EvtSrc(n);i=r.pInstance,$Jssor$.$RemoveEvent(r,"dataavailable",e),$Jssor$.$Each(o,function(t){t!=i&&t.$Remove()}),t.pTagName=i.tagName,o=null}function n(n){var i;if(!n.pInstance){var r=$Jssor$.$AttributeEx(n,"pHandler");$JssorPlayer$[r]&&($Jssor$.$AddEvent(n,"dataavailable",e),i=new $JssorPlayer$[r](t,n),o.push(i),$JssorDebug$.$Execute(function(){"function"!=$Jssor$.$Type(i.$Remove)&&$JssorDebug$.$Fail("'pRemove' interface not implemented for player handler '"+r+"'.")}))}return i}var i,r=this,o=[];r.$InitPlayerController=function(){if(!t.pInstance&&!n(t)){var e=$Jssor$.$Children(t);$Jssor$.$Each(e,function(t){n(t)})}}}var e=this,n=[];e.$EVT_SWITCH=21,e.$FetchPlayers=function(e){e=e||document.body;var i=$Jssor$.$FindChildren(e,"player");$Jssor$.$Each(i,function(e){n[e.pId]||(e.pId=n.length,n.push(new t(e)));var i=n[e.pId];i.$InitPlayerController()})}}function $JssorCaptionSliderBase$(){$JssorAnimator$.call(this,0,0),this.$Revert=$Jssor$.$EmptyFunction}if(window.Modernizr=function(t,e,n){function i(t){m.cssText=t}function r(t,e){return typeof t===e}function o(t,e){return!!~(""+t).indexOf(e)}function s(t,e){for(var i in t){var r=t[i];if(!o(r,"-")&&m[r]!==n)return"pfx"!=e||r}return!1}function a(t,e,i){for(var o in t){var s=e[t[o]];if(s!==n)return i===!1?t[o]:r(s,"function")?s.bind(i||e):s}return!1}function l(t,e,n){var i=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+b.join(i+" ")+i).split(" ");return r(e,"string")||r(e,"undefined")?s(o,e):(o=(t+" "+E.join(i+" ")+i).split(" "),a(o,e,n))}var u,c,d,f="2.8.3",h={},$=!0,p=e.documentElement,g="modernizr",v=e.createElement(g),m=v.style,y=({}.toString,"Webkit Moz O ms"),b=y.split(" "),E=y.toLowerCase().split(" "),x={},w=[],C=w.slice,T={}.hasOwnProperty;d=r(T,"undefined")||r(T.call,"undefined")?function(t,e){return e in t&&r(t.constructor.prototype[e],"undefined")}:function(t,e){return T.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;var n=C.call(arguments,1),i=function(){if(this instanceof i){var r=function(){};r.prototype=e.prototype;var o=new r,s=e.apply(o,n.concat(C.call(arguments)));return Object(s)===s?s:o}return e.apply(t,n.concat(C.call(arguments)))};return i}),x.cssanimations=function(){return l("animationName")};for(var S in x)d(x,S)&&(c=S.toLowerCase(),h[c]=x[S](),w.push((h[c]?"":"no-")+c));return h.addTest=function(t,e){if("object"==typeof t)for(var i in t)d(t,i)&&h.addTest(i,t[i]);else{if(t=t.toLowerCase(),h[t]!==n)return h;e="function"==typeof e?e():e,"undefined"!=typeof $&&$&&(p.className+=" "+(e?"":"no-")+t),h[t]=e}return h},i(""),v=u=null,function(t,e){function n(t,e){var n=t.createElement("p"),i=t.getElementsByTagName("head")[0]||t.documentElement;return n.innerHTML="x<style>"+e+"</style>",i.insertBefore(n.lastChild,i.firstChild)}function i(){var t=m.elements;return"string"==typeof t?t.split(" "):t}function r(t){var e=v[t[p]];return e||(e={},g++,t[p]=g,v[g]=e),e}function o(t,n,i){if(n||(n=e),c)return n.createElement(t);i||(i=r(n));var o;return o=i.cache[t]?i.cache[t].cloneNode():$.test(t)?(i.cache[t]=i.createElem(t)).cloneNode():i.createElem(t),!o.canHaveChildren||h.test(t)||o.tagUrn?o:i.frag.appendChild(o)}function s(t,n){if(t||(t=e),c)return t.createDocumentFragment();n=n||r(t);for(var o=n.frag.cloneNode(),s=0,a=i(),l=a.length;s<l;s++)o.createElement(a[s]);return o}function a(t,e){e.cache||(e.cache={},e.createElem=t.createElement,e.createFrag=t.createDocumentFragment,e.frag=e.createFrag()),t.createElement=function(n){return m.shivMethods?o(n,t,e):e.createElem(n)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/[\w\-]+/g,function(t){return e.createElem(t),e.frag.createElement(t),'c("'+t+'")'})+");return n}")(m,e.frag)}function l(t){t||(t=e);var i=r(t);return m.shivCSS&&!u&&!i.hasCSS&&(i.hasCSS=!!n(t,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),c||a(t,i),t}var u,c,d="3.7.0",f=t.html5||{},h=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,$=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,p="_html5shiv",g=0,v={};!function(){try{var t=e.createElement("a");t.innerHTML="<xyz></xyz>",u="hidden"in t,c=1==t.childNodes.length||function(){e.createElement("a");var t=e.createDocumentFragment();return"undefined"==typeof t.cloneNode||"undefined"==typeof t.createDocumentFragment||"undefined"==typeof t.createElement}()}catch(n){u=!0,c=!0}}();var m={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:d,shivCSS:f.shivCSS!==!1,supportsUnknownElements:c,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:l,createElement:o,createDocumentFragment:s};t.html5=m,l(e)}(this,e),h._version=f,h._domPrefixes=E,h._cssomPrefixes=b,h.testProp=function(t){return s([t])},h.testAllProps=l,h.prefixed=function(t,e,n){return e?l(t,e,n):l(t,"pfx")},p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+($?" js "+w.join(" "):""),h}(this,this.document),function(t,e,n){function i(t){return"[object Function]"==g.call(t)}function r(t){return"string"==typeof t}function o(){}function s(t){return!t||"loaded"==t||"complete"==t||"uninitialized"==t}function a(){var t=v.shift();m=1,t?t.t?$(function(){("c"==t.t?f.injectCss:f.injectJs)(t.s,0,t.a,t.x,t.e,1)},0):(t(),a()):m=0}function l(t,n,i,r,o,l,u){function c(e){if(!h&&s(d.readyState)&&(y.r=h=1,!m&&a(),d.onload=d.onreadystatechange=null,e)){"img"!=t&&$(function(){E.removeChild(d)},50);for(var i in S[n])S[n].hasOwnProperty(i)&&S[n][i].onload()}}var u=u||f.errorTimeout,d=e.createElement(t),h=0,g=0,y={t:i,s:n,e:o,a:l,x:u};1===S[n]&&(g=1,S[n]=[]),"object"==t?d.data=n:(d.src=n,d.type=t),d.width=d.height="0",d.onerror=d.onload=d.onreadystatechange=function(){c.call(this,g)},v.splice(r,0,y),"img"!=t&&(g||2===S[n]?(E.insertBefore(d,b?null:p),$(c,u)):S[n].push(d))}function u(t,e,n,i,o){return m=0,e=e||"j",r(t)?l("c"==e?w:x,t,e,this.i++,n,i,o):(v.splice(this.i++,0,t),1==v.length&&a()),this}function c(){var t=f;return t.loader={load:u,i:0},t}var d,f,h=e.documentElement,$=t.setTimeout,p=e.getElementsByTagName("script")[0],g={}.toString,v=[],m=0,y="MozAppearance"in h.style,b=y&&!!e.createRange().compareNode,E=b?h:p.parentNode,h=t.opera&&"[object Opera]"==g.call(t.opera),h=!!e.attachEvent&&!h,x=y?"object":h?"script":"img",w=h?"script":x,C=Array.isArray||function(t){return"[object Array]"==g.call(t)},T=[],S={},J={timeout:function(t,e){return e.length&&(t.timeout=e[0]),t}};f=function(t){function e(t){var e,n,i,t=t.split("!"),r=T.length,o=t.pop(),s=t.length,o={url:o,origUrl:o,prefixes:t};for(n=0;n<s;n++)i=t[n].split("="),(e=J[i.shift()])&&(o=e(o,i));for(n=0;n<r;n++)o=T[n](o);return o}function s(t,r,o,s,a){var l=e(t),u=l.autoCallback;l.url.split(".").pop().split("?").shift(),l.bypass||(r&&(r=i(r)?r:r[t]||r[s]||r[t.split("/").pop().split("?")[0]]),l.instead?l.instead(t,r,o,s,a):(S[l.url]?l.noexec=!0:S[l.url]=1,o.load(l.url,l.forceCSS||!l.forceJS&&"css"==l.url.split(".").pop().split("?").shift()?"c":n,l.noexec,l.attrs,l.timeout),(i(r)||i(u))&&o.load(function(){c(),r&&r(l.origUrl,a,s),u&&u(l.origUrl,a,s),S[l.url]=2})))}function a(t,e){function n(t,n){if(t){if(r(t))n||(d=function(){var t=[].slice.call(arguments);f.apply(this,t),h()}),s(t,d,e,0,u);else if(Object(t)===t)for(l in a=function(){var e,n=0;for(e in t)t.hasOwnProperty(e)&&n++;return n}(),t)t.hasOwnProperty(l)&&(!n&&!--a&&(i(d)?d=function(){var t=[].slice.call(arguments);f.apply(this,t),h()}:d[l]=function(t){return function(){var e=[].slice.call(arguments);t&&t.apply(this,e),h()}}(f[l])),s(t[l],d,e,l,u))}else!n&&h()}var a,l,u=!!t.test,c=t.load||t.both,d=t.callback||o,f=d,h=t.complete||o;n(u?t.yep:t.nope,!!c),c&&n(c)}var l,u,d=this.yepnope.loader;if(r(t))s(t,0,d,0);else if(C(t))for(l=0;l<t.length;l++)u=t[l],r(u)?s(u,0,d,0):C(u)?f(u):Object(u)===u&&a(u,d);else Object(t)===t&&a(t,d)},f.addPrefix=function(t,e){J[t]=e},f.addFilter=function(t){T.push(t)},f.errorTimeout=1e4,null==e.readyState&&e.addEventListener&&(e.readyState="loading",e.addEventListener("DOMContentLoaded",d=function(){e.removeEventListener("DOMContentLoaded",d,0),e.readyState="complete"},0)),t.yepnope=c(),t.yepnope.executeStack=a,t.yepnope.injectJs=function(t,n,i,r,l,u){var c,d,h=e.createElement("script"),r=r||f.errorTimeout;h.src=t;for(d in i)h.setAttribute(d,i[d]);n=u?a:n||o,h.onreadystatechange=h.onload=function(){!c&&s(h.readyState)&&(c=1,n(),h.onload=h.onreadystatechange=null)},$(function(){c||(c=1,n(1))},r),l?h.onload():p.parentNode.insertBefore(h,p)},t.yepnope.injectCss=function(t,n,i,r,s,l){var u,r=e.createElement("link"),n=l?a:n||o;r.href=t,r.rel="stylesheet",r.type="text/css";for(u in i)r.setAttribute(u,i[u]);s||(p.parentNode.insertBefore(r,p),$(n,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=rt.type(t);return"function"!==n&&!rt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}function i(t,e,n){if(rt.isFunction(e))return rt.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return rt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(ft.test(e))return rt.filter(e,t,n);e=rt.filter(e,t)}return rt.grep(t,function(t){return rt.inArray(t,e)>=0!==n})}function r(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function o(t){var e=bt[t]={};return rt.each(t.match(yt)||[],function(t,n){e[n]=!0}),e}function s(){$t.addEventListener?($t.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1)):($t.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){($t.addEventListener||"load"===event.type||"complete"===$t.readyState)&&(s(),rt.ready())}function l(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(Tt,"-$1").toLowerCase();if(n=t.getAttribute(i),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ct.test(n)?rt.parseJSON(n):n)}catch(r){}rt.data(t,e,n)}else n=void 0}return n}function u(t){var e;for(e in t)if(("data"!==e||!rt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n,i){if(rt.acceptData(t)){var r,o,s=rt.expando,a=t.nodeType,l=a?rt.cache:t,u=a?t[s]:t[s]&&s;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof e)return u||(u=a?t[s]=V.pop()||rt.guid++:s),l[u]||(l[u]=a?{}:{toJSON:rt.noop}),"object"!=typeof e&&"function"!=typeof e||(i?l[u]=rt.extend(l[u],e):l[u].data=rt.extend(l[u].data,e)),o=l[u],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[rt.camelCase(e)]=n),"string"==typeof e?(r=o[e],null==r&&(r=o[rt.camelCase(e)])):r=o,r}}function d(t,e,n){if(rt.acceptData(t)){var i,r,o=t.nodeType,s=o?rt.cache:t,a=o?t[rt.expando]:rt.expando;if(s[a]){if(e&&(i=n?s[a]:s[a].data)){rt.isArray(e)?e=e.concat(rt.map(e,rt.camelCase)):e in i?e=[e]:(e=rt.camelCase(e),e=e in i?[e]:e.split(" ")),r=e.length;for(;r--;)delete i[e[r]];if(n?!u(i):!rt.isEmptyObject(i))return}(n||(delete s[a].data,u(s[a])))&&(o?rt.cleanData([t],!0):nt.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}function f(){return!0}function h(){return!1}function $(){try{return $t.activeElement}catch(t){}}function p(t){var e=_t.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function g(t,e){var n,i,r=0,o=typeof t.getElementsByTagName!==wt?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==wt?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||rt.nodeName(i,e)?o.push(i):rt.merge(o,g(i,e));return void 0===e||e&&rt.nodeName(t,e)?rt.merge([t],o):o}function v(t){Ot.test(t.type)&&(t.defaultChecked=t.checked)}function m(t,e){return rt.nodeName(t,"table")&&rt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==rt.find.attr(t,"type"))+"/"+t.type,t}function b(t){var e=zt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function E(t,e){for(var n,i=0;null!=(n=t[i]);i++)rt._data(n,"globalEval",!e||rt._data(e[i],"globalEval"))}function x(t,e){if(1===e.nodeType&&rt.hasData(t)){var n,i,r,o=rt._data(t),s=rt._data(e,o),a=o.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,r=a[n].length;i<r;i++)rt.event.add(e,n,a[n][i])}s.data&&(s.data=rt.extend({},s.data))}}function w(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!nt.noCloneEvent&&e[rt.expando]){r=rt._data(e);for(i in r.events)rt.removeEvent(e,i,r.handle);e.removeAttribute(rt.expando)}"script"===n&&e.text!==t.text?(y(e).text=t.text,b(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),nt.html5Clone&&t.innerHTML&&!rt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&Ot.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}}function C(e,n){var i,r=rt(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(r[0]))?i.display:rt.css(r[0],"display");return r.detach(),o}function T(t){var e=$t,n=Yt[t];return n||(n=C(t,e),"none"!==n&&n||(Kt=(Kt||rt("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Kt[0].contentWindow||Kt[0].contentDocument).document,e.write(),e.close(),n=C(t,e),Kt.detach()),Yt[t]=n),n}function S(t,e){return{get:function(){var n=t();if(null!=n)return n?void delete this.get:(this.get=e).apply(this,arguments)}}}function J(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=fe.length;r--;)if(e=fe[r]+n,e in t)return e;return i}function A(t,e){for(var n,i,r,o=[],s=0,a=t.length;s<a;s++)i=t[s],i.style&&(o[s]=rt._data(i,"olddisplay"),n=i.style.display,e?(o[s]||"none"!==n||(i.style.display=""),""===i.style.display&&At(i)&&(o[s]=rt._data(i,"olddisplay",T(i.nodeName)))):(r=At(i),(n&&"none"!==n||!r)&&rt._data(i,"olddisplay",r?n:rt.css(i,"display"))));for(s=0;s<a;s++)i=t[s],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[s]||"":"none"));return t}function I(t,e,n){var i=le.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function O(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=rt.css(t,n+Jt[o],!0,r)),i?("content"===n&&(s-=rt.css(t,"padding"+Jt[o],!0,r)),"margin"!==n&&(s-=rt.css(t,"border"+Jt[o]+"Width",!0,r))):(s+=rt.css(t,"padding"+Jt[o],!0,r),"padding"!==n&&(s+=rt.css(t,"border"+Jt[o]+"Width",!0,r)));return s}function N(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=te(t),s=nt.boxSizing&&"border-box"===rt.css(t,"boxSizing",!1,o);if(r<=0||null==r){if(r=ee(t,e,o),(r<0||null==r)&&(r=t.style[e]),ie.test(r))return r;i=s&&(nt.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+O(t,e,n||(s?"border":"content"),i,o)+"px"}function D(t,e,n,i,r){return new D.prototype.init(t,e,n,i,r)}function k(){return setTimeout(function(){he=void 0}),he=rt.now()}function P(t,e){var n,i={height:t},r=0;for(e=e?1:0;r<4;r+=2-e)n=Jt[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function M(t,e,n){for(var i,r=(ye[e]||[]).concat(ye["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,e,t))return i}function _(t,e,n){var i,r,o,s,a,l,u,c,d=this,f={},h=t.style,$=t.nodeType&&At(t),p=rt._data(t,"fxshow");n.queue||(a=rt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,rt.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=rt.css(t,"display"),c="none"===u?rt._data(t,"olddisplay")||T(t.nodeName):u,"inline"===c&&"none"===rt.css(t,"float")&&(nt.inlineBlockNeedsLayout&&"inline"!==T(t.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",nt.shrinkWrapBlocks()||d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],pe.exec(r)){if(delete e[i],o=o||"toggle"===r,r===($?"hide":"show")){if("show"!==r||!p||void 0===p[i])continue;$=!0}f[i]=p&&p[i]||rt.style(t,i)}else u=void 0;if(rt.isEmptyObject(f))"inline"===("none"===u?T(t.nodeName):u)&&(h.display=u);else{p?"hidden"in p&&($=p.hidden):p=rt._data(t,"fxshow",{}),o&&(p.hidden=!$),$?rt(t).show():d.done(function(){rt(t).hide()}),d.done(function(){var e;rt._removeData(t,"fxshow");for(e in f)rt.style(t,e,f[e])});for(i in f)s=M($?p[i]:0,i,d),i in p||(p[i]=s.start,$&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function L(t,e){var n,i,r,o,s;for(n in t)if(i=rt.camelCase(n),r=e[i],o=t[n],rt.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),s=rt.cssHooks[i],s&&"expand"in s){o=s.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function R(t,e,n){var i,r,o=0,s=me.length,a=rt.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=he||k(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,o=1-i,s=0,l=u.tweens.length;s<l;s++)u.tweens[s].run(o);return a.notifyWith(t,[u,o,n]),o<1&&l?n:(a.resolveWith(t,[u]),!1)},u=a.promise({elem:t,props:rt.extend({},e),opts:rt.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:he||k(),duration:n.duration,tweens:[],createTween:function(e,n){var i=rt.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return e?a.resolveWith(t,[u,e]):a.rejectWith(t,[u,e]),this}}),c=u.props;for(L(c,u.opts.specialEasing);o<s;o++)if(i=me[o].call(u,t,c,u.opts))return i;return rt.map(c,M,u),rt.isFunction(u.opts.start)&&u.opts.start.call(t,u),rt.fx.timer(rt.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function j(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(yt)||[];if(rt.isFunction(n))for(;i=o[r++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function H(t,e,n,i){function r(a){var l;return o[a]=!0,rt.each(t[a]||[],function(t,a){var u=a(e,n,i);return"string"!=typeof u||s||o[u]?s?!(l=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),l}var o={},s=t===We;return r(e.dataTypes[0])||!o["*"]&&r("*")}function F(t,e){var n,i,r=rt.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&rt.extend(!0,t,n),t}function B(t,e,n){for(var i,r,o,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(s in a)if(a[s]&&a[s].test(r)){l.unshift(s);break}if(l[0]in n)o=l[0];else{for(s in n){if(!l[0]||t.converters[s+" "+l[0]]){o=s;break}i||(i=s)}o=o||i}if(o)return o!==l[0]&&l.unshift(o),n[o]}function W(t,e,n,i){var r,o,s,a,l,u={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)u[s.toLowerCase()]=t.converters[s];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(s=u[l+" "+o]||u["* "+o],!s)for(r in u)if(a=r.split(" "),a[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){s===!0?s=u[r]:u[r]!==!0&&(o=a[0],c.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(d){return{state:"parsererror",error:s?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function q(t,e,n,i){var r;if(rt.isArray(e))rt.each(e,function(e,r){n||ze.test(t)?i(t,r):q(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==rt.type(e))i(t,e);else for(r in e)q(t+"["+r+"]",e[r],n,i)}function G(){try{return new t.XMLHttpRequest}catch(e){}}function U(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function z(t){return rt.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var V=[],Q=V.slice,X=V.concat,Z=V.push,K=V.indexOf,Y={},tt=Y.toString,et=Y.hasOwnProperty,nt={},it="1.11.1",rt=function(t,e){return new rt.fn.init(t,e)},ot=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,st=/^-ms-/,at=/-([\da-z])/gi,lt=function(t,e){return e.toUpperCase()};rt.fn=rt.prototype={jquery:it,constructor:rt,selector:"",length:0,toArray:function(){return Q.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:Q.call(this)},pushStack:function(t){var e=rt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return rt.each(this,t,e)},map:function(t){return this.pushStack(rt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(Q.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Z,sort:V.sort,splice:V.splice},rt.extend=rt.fn.extend=function(){var t,e,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||rt.isFunction(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(r=arguments[a]))for(i in r)t=s[i],n=r[i],s!==n&&(u&&n&&(rt.isPlainObject(n)||(e=rt.isArray(n)))?(e?(e=!1,o=t&&rt.isArray(t)?t:[]):o=t&&rt.isPlainObject(t)?t:{},s[i]=rt.extend(u,o,n)):void 0!==n&&(s[i]=n));return s},rt.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===rt.type(t)},isArray:Array.isArray||function(t){return"array"===rt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!rt.isArray(t)&&t-parseFloat(t)>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==rt.type(t)||t.nodeType||rt.isWindow(t))return!1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(nt.ownLast)for(e in t)return et.call(t,e);for(e in t);return void 0===e||et.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?Y[tt.call(t)]||"object":typeof t},globalEval:function(e){e&&rt.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(st,"ms-").replace(at,lt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var r,o=0,s=t.length,a=n(t);if(i){if(a)for(;o<s&&(r=e.apply(t[o],i),r!==!1);o++);else for(o in t)if(r=e.apply(t[o],i),r===!1)break}else if(a)for(;o<s&&(r=e.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(r=e.call(t[o],o,t[o]),r===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(ot,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?rt.merge(i,"string"==typeof t?[t]:t):Z.call(i,t)),i},inArray:function(t,e,n){var i;if(e){if(K)return K.call(e,t,n);for(i=e.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];return t.length=r,t},grep:function(t,e,n){for(var i,r=[],o=0,s=t.length,a=!n;o<s;o++)i=!e(t[o],o),i!==a&&r.push(t[o]);return r},map:function(t,e,i){var r,o=0,s=t.length,a=n(t),l=[];if(a)for(;o<s;o++)r=e(t[o],o,i),null!=r&&l.push(r);else for(o in t)r=e(t[o],o,i),null!=r&&l.push(r);return X.apply([],l)},guid:1,proxy:function(t,e){var n,i,r;if("string"==typeof e&&(r=t[e],e=t,t=r),rt.isFunction(t))return n=Q.call(arguments,2),i=function(){return t.apply(e||this,n.concat(Q.call(arguments)))},i.guid=t.guid=t.guid||rt.guid++,i},now:function(){return+new Date},support:nt}),rt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){Y["[object "+e+"]"]=e.toLowerCase()});var ut=function(t){function e(t,e,n,i){var r,o,s,a,l,u,d,h,$,p;if((e?e.ownerDocument||e:H)!==D&&N(e),e=e||D,n=n||[],!t||"string"!=typeof t)return n;if(1!==(a=e.nodeType)&&9!==a)return[];if(P&&!i){if(r=mt.exec(t))if(s=r[1]){if(9===a){if(o=e.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(s))&&R(e,o)&&o.id===s)return n.push(o),n}else{if(r[2])return Y.apply(n,e.getElementsByTagName(t)),n;if((s=r[3])&&E.getElementsByClassName&&e.getElementsByClassName)return Y.apply(n,e.getElementsByClassName(s)),n}if(E.qsa&&(!M||!M.test(t))){if(h=d=j,$=e,p=9===a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(u=T(t),(d=e.getAttribute("id"))?h=d.replace(bt,"\\$&"):e.setAttribute("id",h),h="[id='"+h+"'] ",l=u.length;l--;)u[l]=h+f(u[l]);$=yt.test(t)&&c(e.parentNode)||e,p=u.join(",")}if(p)try{return Y.apply(n,$.querySelectorAll(p)),n}catch(g){}finally{d||e.removeAttribute("id")}}}return J(t.replace(lt,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>x.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[j]=!0,t}function r(t){var e=D.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=t.length;i--;)x.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||V)-(~t.sourceIndex||V);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function u(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function c(t){return t&&typeof t.getElementsByTagName!==z&&t}function d(){}function f(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function h(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=B++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,s){var a,l,u=[F,o];if(s){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(l=e[j]||(e[j]={}),(a=l[i])&&a[0]===F&&a[1]===o)return u[2]=a[2];if(l[i]=u,u[2]=t(e,n,s))return!0}}}function $(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;
  return!0}:t[0]}function p(t,n,i){for(var r=0,o=n.length;r<o;r++)e(t,n[r],i);return i}function g(t,e,n,i,r){for(var o,s=[],a=0,l=t.length,u=null!=e;a<l;a++)(o=t[a])&&(n&&!n(o,i,r)||(s.push(o),u&&e.push(a)));return s}function v(t,e,n,r,o,s){return r&&!r[j]&&(r=v(r)),o&&!o[j]&&(o=v(o,s)),i(function(i,s,a,l){var u,c,d,f=[],h=[],$=s.length,v=i||p(e||"*",a.nodeType?[a]:a,[]),m=!t||!i&&e?v:g(v,f,t,a,l),y=n?o||(i?t:$||r)?[]:s:m;if(n&&n(m,y,a,l),r)for(u=g(y,h),r(u,[],a,l),c=u.length;c--;)(d=u[c])&&(y[h[c]]=!(m[h[c]]=d));if(i){if(o||t){if(o){for(u=[],c=y.length;c--;)(d=y[c])&&u.push(m[c]=d);o(null,y=[],u,l)}for(c=y.length;c--;)(d=y[c])&&(u=o?et.call(i,d):f[c])>-1&&(i[u]=!(s[u]=d))}}else y=g(y===s?y.splice($,y.length):y),o?o(null,s,y,l):Y.apply(s,y)})}function m(t){for(var e,n,i,r=t.length,o=x.relative[t[0].type],s=o||x.relative[" "],a=o?1:0,l=h(function(t){return t===e},s,!0),u=h(function(t){return et.call(e,t)>-1},s,!0),c=[function(t,n,i){return!o&&(i||n!==A)||((e=n).nodeType?l(t,n,i):u(t,n,i))}];a<r;a++)if(n=x.relative[t[a].type])c=[h($(c),n)];else{if(n=x.filter[t[a].type].apply(null,t[a].matches),n[j]){for(i=++a;i<r&&!x.relative[t[i].type];i++);return v(a>1&&$(c),a>1&&f(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(lt,"$1"),n,a<i&&m(t.slice(a,i)),i<r&&m(t=t.slice(i)),i<r&&f(t))}c.push(n)}return $(c)}function y(t,n){var r=n.length>0,o=t.length>0,s=function(i,s,a,l,u){var c,d,f,h=0,$="0",p=i&&[],v=[],m=A,y=i||o&&x.find.TAG("*",u),b=F+=null==m?1:Math.random()||.1,E=y.length;for(u&&(A=s!==D&&s);$!==E&&null!=(c=y[$]);$++){if(o&&c){for(d=0;f=t[d++];)if(f(c,s,a)){l.push(c);break}u&&(F=b)}r&&((c=!f&&c)&&h--,i&&p.push(c))}if(h+=$,r&&$!==h){for(d=0;f=n[d++];)f(p,v,s,a);if(i){if(h>0)for(;$--;)p[$]||v[$]||(v[$]=Z.call(l));v=g(v)}Y.apply(l,v),u&&!i&&v.length>0&&h+n.length>1&&e.uniqueSort(l)}return u&&(F=b,A=m),p};return r?i(s):s}var b,E,x,w,C,T,S,J,A,I,O,N,D,k,P,M,_,L,R,j="sizzle"+-new Date,H=t.document,F=0,B=0,W=n(),q=n(),G=n(),U=function(t,e){return t===e&&(O=!0),0},z="undefined",V=1<<31,Q={}.hasOwnProperty,X=[],Z=X.pop,K=X.push,Y=X.push,tt=X.slice,et=X.indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]===t)return e;return-1},nt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=rt.replace("w","w#"),st="\\["+it+"*("+rt+")(?:"+it+"*([*^$|!~]?=)"+it+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ot+"))|)"+it+"*\\]",at=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+st+")*)|.*)\\)|)",lt=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),ut=new RegExp("^"+it+"*,"+it+"*"),ct=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),dt=new RegExp("="+it+"*([^\\]'\"]*?)"+it+"*\\]","g"),ft=new RegExp(at),ht=new RegExp("^"+ot+"$"),$t={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt.replace("w","w*")+")"),ATTR:new RegExp("^"+st),PSEUDO:new RegExp("^"+at),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=/'|\\/g,Et=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),xt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{Y.apply(X=tt.call(H.childNodes),H.childNodes),X[H.childNodes.length].nodeType}catch(wt){Y={apply:X.length?function(t,e){K.apply(t,tt.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}E=e.support={},C=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},N=e.setDocument=function(t){var e,n=t?t.ownerDocument||t:H,i=n.defaultView;return n!==D&&9===n.nodeType&&n.documentElement?(D=n,k=n.documentElement,P=!C(n),i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",function(){N()},!1):i.attachEvent&&i.attachEvent("onunload",function(){N()})),E.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),E.getElementsByTagName=r(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),E.getElementsByClassName=vt.test(n.getElementsByClassName)&&r(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),E.getById=r(function(t){return k.appendChild(t).id=j,!n.getElementsByName||!n.getElementsByName(j).length}),E.getById?(x.find.ID=function(t,e){if(typeof e.getElementById!==z&&P){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},x.filter.ID=function(t){var e=t.replace(Et,xt);return function(t){return t.getAttribute("id")===e}}):(delete x.find.ID,x.filter.ID=function(t){var e=t.replace(Et,xt);return function(t){var n=typeof t.getAttributeNode!==z&&t.getAttributeNode("id");return n&&n.value===e}}),x.find.TAG=E.getElementsByTagName?function(t,e){if(typeof e.getElementsByTagName!==z)return e.getElementsByTagName(t)}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},x.find.CLASS=E.getElementsByClassName&&function(t,e){if(typeof e.getElementsByClassName!==z&&P)return e.getElementsByClassName(t)},_=[],M=[],(E.qsa=vt.test(n.querySelectorAll))&&(r(function(t){t.innerHTML="<select msallowclip=''><option selected=''></option></select>",t.querySelectorAll("[msallowclip^='']").length&&M.push("[*^$]="+it+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||M.push("\\["+it+"*(?:value|"+nt+")"),t.querySelectorAll(":checked").length||M.push(":checked")}),r(function(t){var e=n.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&M.push("name"+it+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||M.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),M.push(",.*:")})),(E.matchesSelector=vt.test(L=k.matches||k.webkitMatchesSelector||k.mozMatchesSelector||k.oMatchesSelector||k.msMatchesSelector))&&r(function(t){E.disconnectedMatch=L.call(t,"div"),L.call(t,"[s!='']:x"),_.push("!=",at)}),M=M.length&&new RegExp(M.join("|")),_=_.length&&new RegExp(_.join("|")),e=vt.test(k.compareDocumentPosition),R=e||vt.test(k.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return O=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!E.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===H&&R(H,t)?-1:e===n||e.ownerDocument===H&&R(H,e)?1:I?et.call(I,t)-et.call(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return O=!0,0;var i,r=0,o=t.parentNode,a=e.parentNode,l=[t],u=[e];if(!o||!a)return t===n?-1:e===n?1:o?-1:a?1:I?et.call(I,t)-et.call(I,e):0;if(o===a)return s(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?s(l[r],u[r]):l[r]===H?-1:u[r]===H?1:0},n):D},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==D&&N(t),n=n.replace(dt,"='$1']"),E.matchesSelector&&P&&(!_||!_.test(n))&&(!M||!M.test(n)))try{var i=L.call(t,n);if(i||E.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(r){}return e(n,D,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==D&&N(t),R(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==D&&N(t);var n=x.attrHandle[e.toLowerCase()],i=n&&Q.call(x.attrHandle,e.toLowerCase())?n(t,e,!P):void 0;return void 0!==i?i:E.attributes||!P?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(O=!E.detectDuplicates,I=!E.sortStable&&t.slice(0),t.sort(U),O){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return I=null,t},w=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=w(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=w(e);return n},x=e.selectors={cacheLength:50,createPseudo:i,match:$t,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Et,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(Et,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return $t.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ft.test(n)&&(e=T(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Et,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=W[t+" "];return e||(e=new RegExp("(^|"+it+")"+t+"("+it+"|$)"))&&W(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==z&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,d,f,h,$,p=o!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),m=!l&&!a;if(g){if(o){for(;p;){for(d=e;d=d[p];)if(a?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;$=p="only"===t&&!$&&"nextSibling"}return!0}if($=[s?g.firstChild:g.lastChild],s&&m){for(c=g[j]||(g[j]={}),u=c[t]||[],h=u[0]===F&&u[1],f=u[0]===F&&u[2],d=h&&g.childNodes[h];d=++h&&d&&d[p]||(f=h=0)||$.pop();)if(1===d.nodeType&&++f&&d===e){c[t]=[F,h,f];break}}else if(m&&(u=(e[j]||(e[j]={}))[t])&&u[0]===F)f=u[1];else for(;(d=++h&&d&&d[p]||(f=h=0)||$.pop())&&((a?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(m&&((d[j]||(d[j]={}))[t]=[F,f]),d!==e)););return f-=r,f===i||f%i===0&&f/i>=0}}},PSEUDO:function(t,n){var r,o=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[j]?o(n):o.length>1?(r=[t,t,"",n],x.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),s=r.length;s--;)i=et.call(t,r[s]),t[i]=!(e[i]=r[s])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=S(t.replace(lt,"$1"));return r[j]?i(function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return function(e){return(e.textContent||e.innerText||w(e)).indexOf(t)>-1}}),lang:i(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(Et,xt).toLowerCase(),function(e){var n;do if(n=P?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===k},focus:function(t){return t===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[n<0?n+e:n]}),even:u(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:u(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:u(function(t,e,n){for(var i=n<0?n+e:n;--i>=0;)t.push(i);return t}),gt:u(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},x.pseudos.nth=x.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[b]=a(b);for(b in{submit:!0,reset:!0})x.pseudos[b]=l(b);return d.prototype=x.filters=x.pseudos,x.setFilters=new d,T=e.tokenize=function(t,n){var i,r,o,s,a,l,u,c=q[t+" "];if(c)return n?0:c.slice(0);for(a=t,l=[],u=x.preFilter;a;){i&&!(r=ut.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),i=!1,(r=ct.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(lt," ")}),a=a.slice(i.length));for(s in x.filter)!(r=$t[s].exec(a))||u[s]&&!(r=u[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?e.error(t):q(t,l).slice(0)},S=e.compile=function(t,e){var n,i=[],r=[],o=G[t+" "];if(!o){for(e||(e=T(t)),n=e.length;n--;)o=m(e[n]),o[j]?i.push(o):r.push(o);o=G(t,y(r,i)),o.selector=t}return o},J=e.select=function(t,e,n,i){var r,o,s,a,l,u="function"==typeof t&&t,d=!i&&T(t=u.selector||t);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&E.getById&&9===e.nodeType&&P&&x.relative[o[1].type]){if(e=(x.find.ID(s.matches[0].replace(Et,xt),e)||[])[0],!e)return n;u&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=$t.needsContext.test(t)?0:o.length;r--&&(s=o[r],!x.relative[a=s.type]);)if((l=x.find[a])&&(i=l(s.matches[0].replace(Et,xt),yt.test(o[0].type)&&c(e.parentNode)||e))){if(o.splice(r,1),t=i.length&&f(o),!t)return Y.apply(n,i),n;break}}return(u||S(t,d))(i,e,!P,n,yt.test(t)&&c(e.parentNode)||e),n},E.sortStable=j.split("").sort(U).join("")===j,E.detectDuplicates=!!O,N(),E.sortDetached=r(function(t){return 1&t.compareDocumentPosition(D.createElement("div"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),E.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(nt,function(t,e,n){var i;if(!n)return t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);rt.find=ut,rt.expr=ut.selectors,rt.expr[":"]=rt.expr.pseudos,rt.unique=ut.uniqueSort,rt.text=ut.getText,rt.isXMLDoc=ut.isXML,rt.contains=ut.contains;var ct=rt.expr.match.needsContext,dt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ft=/^.[^:#\[\.,]*$/;rt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?rt.find.matchesSelector(i,t)?[i]:[]:rt.find.matches(t,rt.grep(e,function(t){return 1===t.nodeType}))},rt.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(rt(t).filter(function(){for(e=0;e<r;e++)if(rt.contains(i[e],this))return!0}));for(e=0;e<r;e++)rt.find(t,i[e],n);return n=this.pushStack(r>1?rt.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ct.test(t)?rt(t):t||[],!1).length}});var ht,$t=t.document,pt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,gt=rt.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:pt.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||ht).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof rt?e[0]:e,rt.merge(this,rt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:$t,!0)),dt.test(n[1])&&rt.isPlainObject(e))for(n in e)rt.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if(i=$t.getElementById(n[2]),i&&i.parentNode){if(i.id!==n[2])return ht.find(t);this.length=1,this[0]=i}return this.context=$t,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):rt.isFunction(t)?"undefined"!=typeof ht.ready?ht.ready(t):t(rt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),rt.makeArray(t,this))};gt.prototype=rt.fn,ht=rt($t);var vt=/^(?:parents|prev(?:Until|All))/,mt={children:!0,contents:!0,next:!0,prev:!0};rt.extend({dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!rt(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),rt.fn.extend({has:function(t){var e,n=rt(t,this),i=n.length;return this.filter(function(){for(e=0;e<i;e++)if(rt.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],s=ct.test(t)||"string"!=typeof t?rt(t,e||this.context):0;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&rt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?rt.unique(o):o)},index:function(t){return t?"string"==typeof t?rt.inArray(this[0],rt(t)):rt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(rt.unique(rt.merge(this.get(),rt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),rt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return rt.dir(t,"parentNode")},parentsUntil:function(t,e,n){return rt.dir(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return rt.dir(t,"nextSibling")},prevAll:function(t){return rt.dir(t,"previousSibling")},nextUntil:function(t,e,n){return rt.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return rt.dir(t,"previousSibling",n)},siblings:function(t){return rt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return rt.sibling(t.firstChild)},contents:function(t){return rt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:rt.merge([],t.childNodes)}},function(t,e){rt.fn[t]=function(n,i){var r=rt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=rt.filter(i,r)),this.length>1&&(mt[t]||(r=rt.unique(r)),vt.test(t)&&(r=r.reverse())),this.pushStack(r)}});var yt=/\S+/g,bt={};rt.Callbacks=function(t){t="string"==typeof t?bt[t]||o(t):rt.extend({},t);var e,n,i,r,s,a,l=[],u=!t.once&&[],c=function(o){for(n=t.memory&&o,i=!0,s=a||0,a=0,r=l.length,e=!0;l&&s<r;s++)if(l[s].apply(o[0],o[1])===!1&&t.stopOnFalse){n=!1;break}e=!1,l&&(u?u.length&&c(u.shift()):n?l=[]:d.disable())},d={add:function(){if(l){var i=l.length;!function o(e){rt.each(e,function(e,n){var i=rt.type(n);"function"===i?t.unique&&d.has(n)||l.push(n):n&&n.length&&"string"!==i&&o(n)})}(arguments),e?r=l.length:n&&(a=i,c(n))}return this},remove:function(){return l&&rt.each(arguments,function(t,n){for(var i;(i=rt.inArray(n,l,i))>-1;)l.splice(i,1),e&&(i<=r&&r--,i<=s&&s--)}),this},has:function(t){return t?rt.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],r=0,this},disable:function(){return l=u=n=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,n||d.disable(),this},locked:function(){return!u},fireWith:function(t,n){return!l||i&&!u||(n=n||[],n=[t,n.slice?n.slice():n],e?u.push(n):c(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},rt.extend({Deferred:function(t){var e=[["resolve","done",rt.Callbacks("once memory"),"resolved"],["reject","fail",rt.Callbacks("once memory"),"rejected"],["notify","progress",rt.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return rt.Deferred(function(n){rt.each(e,function(e,o){var s=rt.isFunction(t[e])&&t[e];r[o[1]](function(){var t=s&&s.apply(this,arguments);t&&rt.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?rt.extend(t,i):i}},r={};return i.pipe=i.then,rt.each(e,function(t,o){var s=o[2],a=o[3];i[o[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=s.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=Q.call(arguments),s=o.length,a=1!==s||t&&rt.isFunction(t.promise)?s:0,l=1===a?t:rt.Deferred(),u=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?Q.call(arguments):r,i===e?l.notifyWith(n,i):--a||l.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);r<s;r++)o[r]&&rt.isFunction(o[r].promise)?o[r].promise().done(u(r,i,o)).fail(l.reject).progress(u(r,n,e)):--a;return a||l.resolveWith(i,o),l.promise()}});var Et;rt.fn.ready=function(t){return rt.ready.promise().done(t),this},rt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?rt.readyWait++:rt.ready(!0)},ready:function(t){if(t===!0?!--rt.readyWait:!rt.isReady){if(!$t.body)return setTimeout(rt.ready);rt.isReady=!0,t!==!0&&--rt.readyWait>0||(Et.resolveWith($t,[rt]),rt.fn.triggerHandler&&(rt($t).triggerHandler("ready"),rt($t).off("ready")))}}}),rt.ready.promise=function(e){if(!Et)if(Et=rt.Deferred(),"complete"===$t.readyState)setTimeout(rt.ready);else if($t.addEventListener)$t.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1);else{$t.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var n=!1;try{n=null==t.frameElement&&$t.documentElement}catch(i){}n&&n.doScroll&&!function r(){if(!rt.isReady){try{n.doScroll("left")}catch(t){return setTimeout(r,50)}s(),rt.ready()}}()}return Et.promise(e)};var xt,wt="undefined";for(xt in rt(nt))break;nt.ownLast="0"!==xt,nt.inlineBlockNeedsLayout=!1,rt(function(){var t,e,n,i;n=$t.getElementsByTagName("body")[0],n&&n.style&&(e=$t.createElement("div"),i=$t.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==wt&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",nt.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(i))}),function(){var t=$t.createElement("div");if(null==nt.deleteExpando){nt.deleteExpando=!0;try{delete t.test}catch(e){nt.deleteExpando=!1}}t=null}(),rt.acceptData=function(t){var e=rt.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||e!==!0&&t.getAttribute("classid")===e)};var Ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Tt=/([A-Z])/g;rt.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?rt.cache[t[rt.expando]]:t[rt.expando],!!t&&!u(t)},data:function(t,e,n){return c(t,e,n)},removeData:function(t,e){return d(t,e)},_data:function(t,e,n){return c(t,e,n,!0)},_removeData:function(t,e){return d(t,e,!0)}}),rt.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=rt.data(o),1===o.nodeType&&!rt._data(o,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=rt.camelCase(i.slice(5)),l(o,i,r[i])));rt._data(o,"parsedAttrs",!0)}return r}return"object"==typeof t?this.each(function(){rt.data(this,t)}):arguments.length>1?this.each(function(){rt.data(this,t,e)}):o?l(o,t,rt.data(o,t)):void 0},removeData:function(t){return this.each(function(){rt.removeData(this,t)})}}),rt.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=rt._data(t,e),n&&(!i||rt.isArray(n)?i=rt._data(t,e,rt.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=rt.queue(t,e),i=n.length,r=n.shift(),o=rt._queueHooks(t,e),s=function(){rt.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return rt._data(t,n)||rt._data(t,n,{empty:rt.Callbacks("once memory").add(function(){rt._removeData(t,e+"queue"),rt._removeData(t,n)})})}}),rt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?rt.queue(this[0],t):void 0===e?this:this.each(function(){var n=rt.queue(this,t,e);rt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&rt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){rt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=rt.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=rt._data(o[s],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var St=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Jt=["Top","Right","Bottom","Left"],At=function(t,e){return t=e||t,"none"===rt.css(t,"display")||!rt.contains(t.ownerDocument,t)},It=rt.access=function(t,e,n,i,r,o,s){var a=0,l=t.length,u=null==n;if("object"===rt.type(n)){r=!0;for(a in n)rt.access(t,e,a,n[a],!0,o,s)}else if(void 0!==i&&(r=!0,rt.isFunction(i)||(s=!0),u&&(s?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(rt(t),n)})),e))for(;a<l;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return r?t:u?e.call(t):l?e(t[0],n):o},Ot=/^(?:checkbox|radio)$/i;!function(){var t=$t.createElement("input"),e=$t.createElement("div"),n=$t.createDocumentFragment();if(e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",nt.leadingWhitespace=3===e.firstChild.nodeType,nt.tbody=!e.getElementsByTagName("tbody").length,nt.htmlSerialize=!!e.getElementsByTagName("link").length,nt.html5Clone="<:nav></:nav>"!==$t.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,n.appendChild(t),nt.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",nt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",nt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,nt.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){nt.noCloneEvent=!1}),e.cloneNode(!0).click()),null==nt.deleteExpando){nt.deleteExpando=!0;try{delete e.test}catch(i){nt.deleteExpando=!1}}}(),function(){var e,n,i=$t.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(nt[e+"Bubbles"]=n in t)||(i.setAttribute(n,"t"),nt[e+"Bubbles"]=i.attributes[n].expando===!1);i=null}();var Nt=/^(?:input|select|textarea)$/i,Dt=/^key/,kt=/^(?:mouse|pointer|contextmenu)|click/,Pt=/^(?:focusinfocus|focusoutblur)$/,Mt=/^([^.]*)(?:\.(.+)|)$/;rt.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,u,c,d,f,h,$,p,g=rt._data(t);if(g){for(n.handler&&(l=n,n=l.handler,r=l.selector),n.guid||(n.guid=rt.guid++),(s=g.events)||(s=g.events={}),(c=g.handle)||(c=g.handle=function(t){return typeof rt===wt||t&&rt.event.triggered===t.type?void 0:rt.event.dispatch.apply(c.elem,arguments)},c.elem=t),e=(e||"").match(yt)||[""],a=e.length;a--;)o=Mt.exec(e[a])||[],h=p=o[1],$=(o[2]||"").split(".").sort(),h&&(u=rt.event.special[h]||{},h=(r?u.delegateType:u.bindType)||h,u=rt.event.special[h]||{},d=rt.extend({type:h,origType:p,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&rt.expr.match.needsContext.test(r),namespace:$.join(".")},l),(f=s[h])||(f=s[h]=[],f.delegateCount=0,u.setup&&u.setup.call(t,i,$,c)!==!1||(t.addEventListener?t.addEventListener(h,c,!1):t.attachEvent&&t.attachEvent("on"+h,c))),u.add&&(u.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,d):f.push(d),rt.event.global[h]=!0);t=null}},remove:function(t,e,n,i,r){var o,s,a,l,u,c,d,f,h,$,p,g=rt.hasData(t)&&rt._data(t);if(g&&(c=g.events)){for(e=(e||"").match(yt)||[""],u=e.length;u--;)if(a=Mt.exec(e[u])||[],h=p=a[1],$=(a[2]||"").split(".").sort(),h){for(d=rt.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,f=c[h]||[],a=a[2]&&new RegExp("(^|\\.)"+$.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;o--;)s=f[o],!r&&p!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(f.splice(o,1),s.selector&&f.delegateCount--,d.remove&&d.remove.call(t,s));l&&!f.length&&(d.teardown&&d.teardown.call(t,$,g.handle)!==!1||rt.removeEvent(t,h,g.handle),delete c[h])}else for(h in c)rt.event.remove(t,h+e[u],n,i,!0);rt.isEmptyObject(c)&&(delete g.handle,rt._removeData(t,"events"))}},trigger:function(e,n,i,r){var o,s,a,l,u,c,d,f=[i||$t],h=et.call(e,"type")?e.type:e,$=et.call(e,"namespace")?e.namespace.split("."):[];if(a=c=i=i||$t,3!==i.nodeType&&8!==i.nodeType&&!Pt.test(h+rt.event.triggered)&&(h.indexOf(".")>=0&&($=h.split("."),h=$.shift(),$.sort()),s=h.indexOf(":")<0&&"on"+h,e=e[rt.expando]?e:new rt.Event(h,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=$.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+$.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:rt.makeArray(n,[e]),u=rt.event.special[h]||{},r||!u.trigger||u.trigger.apply(i,n)!==!1)){if(!r&&!u.noBubble&&!rt.isWindow(i)){for(l=u.delegateType||h,Pt.test(l+h)||(a=a.parentNode);a;a=a.parentNode)f.push(a),c=a;c===(i.ownerDocument||$t)&&f.push(c.defaultView||c.parentWindow||t)}for(d=0;(a=f[d++])&&!e.isPropagationStopped();)e.type=d>1?l:u.bindType||h,o=(rt._data(a,"events")||{})[e.type]&&rt._data(a,"handle"),o&&o.apply(a,n),o=s&&a[s],o&&o.apply&&rt.acceptData(a)&&(e.result=o.apply(a,n),e.result===!1&&e.preventDefault());if(e.type=h,!r&&!e.isDefaultPrevented()&&(!u._default||u._default.apply(f.pop(),n)===!1)&&rt.acceptData(i)&&s&&i[h]&&!rt.isWindow(i)){c=i[s],c&&(i[s]=null),rt.event.triggered=h;try{i[h]()}catch(p){}rt.event.triggered=void 0,c&&(i[s]=c)}return e.result}},dispatch:function(t){t=rt.event.fix(t);var e,n,i,r,o,s=[],a=Q.call(arguments),l=(rt._data(this,"events")||{})[t.type]||[],u=rt.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(s=rt.event.handlers.call(this,t,l),e=0;(r=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(i.namespace)||(t.handleObj=i,t.data=i.data,n=((rt.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,a),void 0!==n&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,s=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){
  for(r=[],o=0;o<a;o++)i=e[o],n=i.selector+" ",void 0===r[n]&&(r[n]=i.needsContext?rt(n,this).index(l)>=0:rt.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&s.push({elem:l,handlers:r})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[rt.expando])return t;var e,n,i,r=t.type,o=t,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=kt.test(r)?this.mouseHooks:Dt.test(r)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new rt.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=o.srcElement||$t),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,s.filter?s.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button,s=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||$t,r=i.documentElement,n=i.body,t.pageX=e.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toElement:s),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==$()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===$()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(rt.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return rt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=rt.extend(new rt.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?rt.event.trigger(r,null,e):rt.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},rt.removeEvent=$t.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(typeof t[i]===wt&&(t[i]=null),t.detachEvent(i,n))},rt.Event=function(t,e){return this instanceof rt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?f:h):this.type=t,e&&rt.extend(this,e),this.timeStamp=t&&t.timeStamp||rt.now(),void(this[rt.expando]=!0)):new rt.Event(t,e)},rt.Event.prototype={isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=f,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=f,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=f,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},rt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){rt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||rt.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),nt.submitBubbles||(rt.event.special.submit={setup:function(){return!rt.nodeName(this,"form")&&void rt.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=rt.nodeName(e,"input")||rt.nodeName(e,"button")?e.form:void 0;n&&!rt._data(n,"submitBubbles")&&(rt.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),rt._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&rt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!rt.nodeName(this,"form")&&void rt.event.remove(this,"._submit")}}),nt.changeBubbles||(rt.event.special.change={setup:function(){return Nt.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(rt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),rt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),rt.event.simulate("change",this,t,!0)})),!1):void rt.event.add(this,"beforeactivate._change",function(t){var e=t.target;Nt.test(e.nodeName)&&!rt._data(e,"changeBubbles")&&(rt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||rt.event.simulate("change",this.parentNode,t,!0)}),rt._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return rt.event.remove(this,"._change"),!Nt.test(this.nodeName)}}),nt.focusinBubbles||rt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){rt.event.simulate(e,t.target,rt.event.fix(t),!0)};rt.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=rt._data(i,e);r||i.addEventListener(t,n,!0),rt._data(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=rt._data(i,e)-1;r?rt._data(i,e,r):(i.removeEventListener(t,n,!0),rt._removeData(i,e))}}}),rt.fn.extend({on:function(t,e,n,i,r){var o,s;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(o in t)this.on(o,e,n,t[o],r);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),i===!1)i=h;else if(!i)return this;return 1===r&&(s=i,i=function(t){return rt().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=rt.guid++)),this.each(function(){rt.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,rt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=h),this.each(function(){rt.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){rt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return rt.event.trigger(t,e,n,!0)}});var _t="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Lt=/ jQuery\d+="(?:null|\d+)"/g,Rt=new RegExp("<(?:"+_t+")[\\s/>]","i"),jt=/^\s+/,Ht=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ft=/<([\w:]+)/,Bt=/<tbody/i,Wt=/<|&#?\w+;/,qt=/<(?:script|style|link)/i,Gt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ut=/^$|\/(?:java|ecma)script/i,zt=/^true\/(.*)/,Vt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Qt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:nt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Xt=p($t),Zt=Xt.appendChild($t.createElement("div"));Qt.optgroup=Qt.option,Qt.tbody=Qt.tfoot=Qt.colgroup=Qt.caption=Qt.thead,Qt.th=Qt.td,rt.extend({clone:function(t,e,n){var i,r,o,s,a,l=rt.contains(t.ownerDocument,t);if(nt.html5Clone||rt.isXMLDoc(t)||!Rt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(Zt.innerHTML=t.outerHTML,Zt.removeChild(o=Zt.firstChild)),!(nt.noCloneEvent&&nt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||rt.isXMLDoc(t)))for(i=g(o),a=g(t),s=0;null!=(r=a[s]);++s)i[s]&&w(r,i[s]);if(e)if(n)for(a=a||g(t),i=i||g(o),s=0;null!=(r=a[s]);s++)x(r,i[s]);else x(t,o);return i=g(o,"script"),i.length>0&&E(i,!l&&g(t,"script")),i=a=r=null,o},buildFragment:function(t,e,n,i){for(var r,o,s,a,l,u,c,d=t.length,f=p(e),h=[],$=0;$<d;$++)if(o=t[$],o||0===o)if("object"===rt.type(o))rt.merge(h,o.nodeType?[o]:o);else if(Wt.test(o)){for(a=a||f.appendChild(e.createElement("div")),l=(Ft.exec(o)||["",""])[1].toLowerCase(),c=Qt[l]||Qt._default,a.innerHTML=c[1]+o.replace(Ht,"<$1></$2>")+c[2],r=c[0];r--;)a=a.lastChild;if(!nt.leadingWhitespace&&jt.test(o)&&h.push(e.createTextNode(jt.exec(o)[0])),!nt.tbody)for(o="table"!==l||Bt.test(o)?"<table>"!==c[1]||Bt.test(o)?0:a:a.firstChild,r=o&&o.childNodes.length;r--;)rt.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(rt.merge(h,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=f.lastChild}else h.push(e.createTextNode(o));for(a&&f.removeChild(a),nt.appendChecked||rt.grep(g(h,"input"),v),$=0;o=h[$++];)if((!i||rt.inArray(o,i)===-1)&&(s=rt.contains(o.ownerDocument,o),a=g(f.appendChild(o),"script"),s&&E(a),n))for(r=0;o=a[r++];)Ut.test(o.type||"")&&n.push(o);return a=null,f},cleanData:function(t,e){for(var n,i,r,o,s=0,a=rt.expando,l=rt.cache,u=nt.deleteExpando,c=rt.event.special;null!=(n=t[s]);s++)if((e||rt.acceptData(n))&&(r=n[a],o=r&&l[r])){if(o.events)for(i in o.events)c[i]?rt.event.remove(n,i):rt.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[a]:typeof n.removeAttribute!==wt?n.removeAttribute(a):n[a]=null,V.push(r))}}}),rt.fn.extend({text:function(t){return It(this,function(t){return void 0===t?rt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||$t).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=m(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=m(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?rt.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||rt.cleanData(g(n)),n.parentNode&&(e&&rt.contains(n.ownerDocument,n)&&E(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&rt.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&rt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return rt.clone(this,t,e)})},html:function(t){return It(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Lt,""):void 0;if("string"==typeof t&&!qt.test(t)&&(nt.htmlSerialize||!Rt.test(t))&&(nt.leadingWhitespace||!jt.test(t))&&!Qt[(Ft.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Ht,"<$1></$2>");try{for(;n<i;n++)e=this[n]||{},1===e.nodeType&&(rt.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,rt.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=X.apply([],t);var n,i,r,o,s,a,l=0,u=this.length,c=this,d=u-1,f=t[0],h=rt.isFunction(f);if(h||u>1&&"string"==typeof f&&!nt.checkClone&&Gt.test(f))return this.each(function(n){var i=c.eq(n);h&&(t[0]=f.call(this,n,i.html())),i.domManip(t,e)});if(u&&(a=rt.buildFragment(t,this[0].ownerDocument,!1,this),n=a.firstChild,1===a.childNodes.length&&(a=n),n)){for(o=rt.map(g(a,"script"),y),r=o.length;l<u;l++)i=a,l!==d&&(i=rt.clone(i,!0,!0),r&&rt.merge(o,g(i,"script"))),e.call(this[l],i,l);if(r)for(s=o[o.length-1].ownerDocument,rt.map(o,b),l=0;l<r;l++)i=o[l],Ut.test(i.type||"")&&!rt._data(i,"globalEval")&&rt.contains(s,i)&&(i.src?rt._evalUrl&&rt._evalUrl(i.src):rt.globalEval((i.text||i.textContent||i.innerHTML||"").replace(Vt,"")));a=n=null}return this}}),rt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){rt.fn[t]=function(t){for(var n,i=0,r=[],o=rt(t),s=o.length-1;i<=s;i++)n=i===s?this:this.clone(!0),rt(o[i])[e](n),Z.apply(r,n.get());return this.pushStack(r)}});var Kt,Yt={};!function(){var t;nt.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,n,i;return n=$t.getElementsByTagName("body")[0],n&&n.style?(e=$t.createElement("div"),i=$t.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==wt&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild($t.createElement("div")).style.width="5px",t=3!==e.offsetWidth),n.removeChild(i),t):void 0}}();var te,ee,ne=/^margin/,ie=new RegExp("^("+St+")(?!px)[a-z%]+$","i"),re=/^(top|right|bottom|left)$/;t.getComputedStyle?(te=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)},ee=function(t,e,n){var i,r,o,s,a=t.style;return n=n||te(t),s=n?n.getPropertyValue(e)||n[e]:void 0,n&&(""!==s||rt.contains(t.ownerDocument,t)||(s=rt.style(t,e)),ie.test(s)&&ne.test(e)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0===s?s:s+""}):$t.documentElement.currentStyle&&(te=function(t){return t.currentStyle},ee=function(t,e,n){var i,r,o,s,a=t.style;return n=n||te(t),s=n?n[e]:void 0,null==s&&a&&a[e]&&(s=a[e]),ie.test(s)&&!re.test(e)&&(i=a.left,r=t.runtimeStyle,o=r&&r.left,o&&(r.left=t.currentStyle.left),a.left="fontSize"===e?"1em":s,s=a.pixelLeft+"px",a.left=i,o&&(r.left=o)),void 0===s?s:s+""||"auto"}),function(){function e(){var e,n,i,r;n=$t.getElementsByTagName("body")[0],n&&n.style&&(e=$t.createElement("div"),i=$t.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",o=s=!1,l=!0,t.getComputedStyle&&(o="1%"!==(t.getComputedStyle(e,null)||{}).top,s="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,r=e.appendChild($t.createElement("div")),r.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",r.style.marginRight=r.style.width="0",e.style.width="1px",l=!parseFloat((t.getComputedStyle(r,null)||{}).marginRight)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",r=e.getElementsByTagName("td"),r[0].style.cssText="margin:0;border:0;padding:0;display:none",a=0===r[0].offsetHeight,a&&(r[0].style.display="",r[1].style.display="none",a=0===r[0].offsetHeight),n.removeChild(i))}var n,i,r,o,s,a,l;n=$t.createElement("div"),n.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",r=n.getElementsByTagName("a")[0],i=r&&r.style,i&&(i.cssText="float:left;opacity:.5",nt.opacity="0.5"===i.opacity,nt.cssFloat=!!i.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",nt.clearCloneStyle="content-box"===n.style.backgroundClip,nt.boxSizing=""===i.boxSizing||""===i.MozBoxSizing||""===i.WebkitBoxSizing,rt.extend(nt,{reliableHiddenOffsets:function(){return null==a&&e(),a},boxSizingReliable:function(){return null==s&&e(),s},pixelPosition:function(){return null==o&&e(),o},reliableMarginRight:function(){return null==l&&e(),l}}))}(),rt.swap=function(t,e,n,i){var r,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=s[o];return r};var oe=/alpha\([^)]*\)/i,se=/opacity\s*=\s*([^)]*)/,ae=/^(none|table(?!-c[ea]).+)/,le=new RegExp("^("+St+")(.*)$","i"),ue=new RegExp("^([+-])=("+St+")","i"),ce={position:"absolute",visibility:"hidden",display:"block"},de={letterSpacing:"0",fontWeight:"400"},fe=["Webkit","O","Moz","ms"];rt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=ee(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":nt.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=rt.camelCase(e),l=t.style;if(e=rt.cssProps[a]||(rt.cssProps[a]=J(l,a)),s=rt.cssHooks[e]||rt.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:l[e];if(o=typeof n,"string"===o&&(r=ue.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(rt.css(t,e)),o="number"),null!=n&&n===n&&("number"!==o||rt.cssNumber[a]||(n+="px"),nt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),!(s&&"set"in s&&void 0===(n=s.set(t,n,i)))))try{l[e]=n}catch(u){}}},css:function(t,e,n,i){var r,o,s,a=rt.camelCase(e);return e=rt.cssProps[a]||(rt.cssProps[a]=J(t.style,a)),s=rt.cssHooks[e]||rt.cssHooks[a],s&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=ee(t,e,i)),"normal"===o&&e in de&&(o=de[e]),""===n||n?(r=parseFloat(o),n===!0||rt.isNumeric(r)?r||0:o):o}}),rt.each(["height","width"],function(t,e){rt.cssHooks[e]={get:function(t,n,i){if(n)return ae.test(rt.css(t,"display"))&&0===t.offsetWidth?rt.swap(t,ce,function(){return N(t,e,i)}):N(t,e,i)},set:function(t,n,i){var r=i&&te(t);return I(t,n,i?O(t,e,i,nt.boxSizing&&"border-box"===rt.css(t,"boxSizing",!1,r),r):0)}}}),nt.opacity||(rt.cssHooks.opacity={get:function(t,e){return se.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=rt.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===rt.trim(o.replace(oe,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=oe.test(o)?o.replace(oe,r):o+" "+r)}}),rt.cssHooks.marginRight=S(nt.reliableMarginRight,function(t,e){if(e)return rt.swap(t,{display:"inline-block"},ee,[t,"marginRight"])}),rt.each({margin:"",padding:"",border:"Width"},function(t,e){rt.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+Jt[i]+e]=o[i]||o[i-2]||o[0];return r}},ne.test(t)||(rt.cssHooks[t+e].set=I)}),rt.fn.extend({css:function(t,e){return It(this,function(t,e,n){var i,r,o={},s=0;if(rt.isArray(e)){for(i=te(t),r=e.length;s<r;s++)o[e[s]]=rt.css(t,e[s],!1,i);return o}return void 0!==n?rt.style(t,e,n):rt.css(t,e)},t,e,arguments.length>1)},show:function(){return A(this,!0)},hide:function(){return A(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){At(this)?rt(this).show():rt(this).hide()})}}),rt.Tween=D,D.prototype={constructor:D,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(rt.cssNumber[n]?"":"px")},cur:function(){var t=D.propHooks[this.prop];return t&&t.get?t.get(this):D.propHooks._default.get(this)},run:function(t){var e,n=D.propHooks[this.prop];return this.options.duration?this.pos=e=rt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):D.propHooks._default.set(this),this}},D.prototype.init.prototype=D.prototype,D.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=rt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){rt.fx.step[t.prop]?rt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[rt.cssProps[t.prop]]||rt.cssHooks[t.prop])?rt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},D.propHooks.scrollTop=D.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},rt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},rt.fx=D.prototype.init,rt.fx.step={};var he,$e,pe=/^(?:toggle|show|hide)$/,ge=new RegExp("^(?:([+-])=|)("+St+")([a-z%]*)$","i"),ve=/queueHooks$/,me=[_],ye={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=ge.exec(e),o=r&&r[3]||(rt.cssNumber[t]?"":"px"),s=(rt.cssNumber[t]||"px"!==o&&+i)&&ge.exec(rt.css(n.elem,t)),a=1,l=20;if(s&&s[3]!==o){o=o||s[3],r=r||[],s=+i||1;do a=a||".5",s/=a,rt.style(n.elem,t,s+o);while(a!==(a=n.cur()/i)&&1!==a&&--l)}return r&&(s=n.start=+s||+i||0,n.unit=o,n.end=r[1]?s+(r[1]+1)*r[2]:+r[2]),n}]};rt.Animation=rt.extend(R,{tweener:function(t,e){rt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;i<r;i++)n=t[i],ye[n]=ye[n]||[],ye[n].unshift(e)},prefilter:function(t,e){e?me.unshift(t):me.push(t)}}),rt.speed=function(t,e,n){var i=t&&"object"==typeof t?rt.extend({},t):{complete:n||!n&&e||rt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!rt.isFunction(e)&&e};return i.duration=rt.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in rt.fx.speeds?rt.fx.speeds[i.duration]:rt.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){rt.isFunction(i.old)&&i.old.call(this),i.queue&&rt.dequeue(this,i.queue)},i},rt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(At).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=rt.isEmptyObject(t),o=rt.speed(e,n,i),s=function(){var e=R(this,rt.extend({},t),o);(r||rt._data(this,"finish"))&&e.stop(!0)};return s.finish=s,r||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=rt.timers,s=rt._data(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&ve.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||rt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=rt._data(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=rt.timers,s=i?i.length:0;for(n.finish=!0,rt.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),rt.each(["toggle","show","hide"],function(t,e){var n=rt.fn[e];rt.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(P(e,!0),t,i,r)}}),rt.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){rt.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),rt.timers=[],rt.fx.tick=function(){var t,e=rt.timers,n=0;for(he=rt.now();n<e.length;n++)t=e[n],t()||e[n]!==t||e.splice(n--,1);e.length||rt.fx.stop(),he=void 0},rt.fx.timer=function(t){rt.timers.push(t),t()?rt.fx.start():rt.timers.pop()},rt.fx.interval=13,rt.fx.start=function(){$e||($e=setInterval(rt.fx.tick,rt.fx.interval))},rt.fx.stop=function(){clearInterval($e),$e=null},rt.fx.speeds={slow:600,fast:200,_default:400},rt.fn.delay=function(t,e){return t=rt.fx?rt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t,e,n,i,r;e=$t.createElement("div"),e.setAttribute("className","t"),e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=e.getElementsByTagName("a")[0],n=$t.createElement("select"),r=n.appendChild($t.createElement("option")),t=e.getElementsByTagName("input")[0],i.style.cssText="top:1px",nt.getSetAttribute="t"!==e.className,nt.style=/top/.test(i.getAttribute("style")),nt.hrefNormalized="/a"===i.getAttribute("href"),nt.checkOn=!!t.value,nt.optSelected=r.selected,nt.enctype=!!$t.createElement("form").enctype,n.disabled=!0,nt.optDisabled=!r.disabled,t=$t.createElement("input"),t.setAttribute("value",""),nt.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),nt.radioValue="t"===t.value}();var be=/\r/g;rt.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=rt.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,rt(this).val()):t,null==r?r="":"number"==typeof r?r+="":rt.isArray(r)&&(r=rt.map(r,function(t){return null==t?"":t+""})),e=rt.valHooks[this.type]||rt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return e=rt.valHooks[r.type]||rt.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(be,""):null==n?"":n)}}}),rt.extend({valHooks:{option:{get:function(t){var e=rt.find.attr(t,"value");return null!=e?e:rt.trim(rt.text(t))}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||r<0,s=o?null:[],a=o?r+1:i.length,l=r<0?a:o?r:0;l<a;l++)if(n=i[l],(n.selected||l===r)&&(nt.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!rt.nodeName(n.parentNode,"optgroup"))){if(e=rt(n).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,o=rt.makeArray(e),s=r.length;s--;)if(i=r[s],rt.inArray(rt.valHooks.option.get(i),o)>=0)try{i.selected=n=!0}catch(a){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),r}}}}),rt.each(["radio","checkbox"],function(){rt.valHooks[this]={set:function(t,e){if(rt.isArray(e))return t.checked=rt.inArray(rt(t).val(),e)>=0}},nt.checkOn||(rt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ee,xe,we=rt.expr.attrHandle,Ce=/^(?:checked|selected)$/i,Te=nt.getSetAttribute,Se=nt.input;rt.fn.extend({attr:function(t,e){return It(this,rt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){rt.removeAttr(this,t)})}}),rt.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===wt?rt.prop(t,e,n):(1===o&&rt.isXMLDoc(t)||(e=e.toLowerCase(),i=rt.attrHooks[e]||(rt.expr.match.bool.test(e)?xe:Ee)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=rt.find.attr(t,e),null==r?void 0:r):null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):void rt.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(yt);if(o&&1===t.nodeType)for(;n=o[r++];)i=rt.propFix[n]||n,rt.expr.match.bool.test(n)?Se&&Te||!Ce.test(n)?t[i]=!1:t[rt.camelCase("default-"+n)]=t[i]=!1:rt.attr(t,n,""),t.removeAttribute(Te?n:i)},attrHooks:{type:{set:function(t,e){if(!nt.radioValue&&"radio"===e&&rt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),xe={set:function(t,e,n){return e===!1?rt.removeAttr(t,n):Se&&Te||!Ce.test(n)?t.setAttribute(!Te&&rt.propFix[n]||n,n):t[rt.camelCase("default-"+n)]=t[n]=!0,n}},rt.each(rt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=we[e]||rt.find.attr;we[e]=Se&&Te||!Ce.test(e)?function(t,e,i){var r,o;return i||(o=we[e],we[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,we[e]=o),r}:function(t,e,n){if(!n)return t[rt.camelCase("default-"+e)]?e.toLowerCase():null}}),Se&&Te||(rt.attrHooks.value={set:function(t,e,n){return rt.nodeName(t,"input")?void(t.defaultValue=e):Ee&&Ee.set(t,e,n)}}),Te||(Ee={set:function(t,e,n){var i=t.getAttributeNode(n);if(i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n))return e}},we.id=we.name=we.coords=function(t,e,n){var i;if(!n)return(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},rt.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);if(n&&n.specified)return n.value},set:Ee.set},rt.attrHooks.contenteditable={set:function(t,e,n){Ee.set(t,""!==e&&e,n)}},rt.each(["width","height"],function(t,e){rt.attrHooks[e]={set:function(t,n){if(""===n)return t.setAttribute(e,"auto"),n}}})),nt.style||(rt.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Je=/^(?:input|select|textarea|button|object)$/i,Ae=/^(?:a|area)$/i;rt.fn.extend({prop:function(t,e){return It(this,rt.prop,t,e,arguments.length>1)},removeProp:function(t){return t=rt.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),rt.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var i,r,o,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return o=1!==s||!rt.isXMLDoc(t),o&&(e=rt.propFix[e]||e,r=rt.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=rt.find.attr(t,"tabindex");return e?parseInt(e,10):Je.test(t.nodeName)||Ae.test(t.nodeName)&&t.href?0:-1}}}}),nt.hrefNormalized||rt.each(["href","src"],function(t,e){rt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),nt.optSelected||(rt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),rt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){rt.propFix[this.toLowerCase()]=this}),nt.enctype||(rt.propFix.enctype="encoding");var Ie=/[\t\r\n\f]/g;rt.fn.extend({addClass:function(t){var e,n,i,r,o,s,a=0,l=this.length,u="string"==typeof t&&t;if(rt.isFunction(t))return this.each(function(e){rt(this).addClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(yt)||[];a<l;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Ie," "):" ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s=rt.trim(i),n.className!==s&&(n.className=s)}return this},removeClass:function(t){var e,n,i,r,o,s,a=0,l=this.length,u=0===arguments.length||"string"==typeof t&&t;if(rt.isFunction(t))return this.each(function(e){rt(this).removeClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(yt)||[];a<l;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Ie," "):"")){for(o=0;r=e[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");s=t?rt.trim(i):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):rt.isFunction(t)?this.each(function(n){rt(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var e,i=0,r=rt(this),o=t.match(yt)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else n!==wt&&"boolean"!==n||(this.className&&rt._data(this,"__className__",this.className),this.className=this.className||t===!1?"":rt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Ie," ").indexOf(e)>=0)return!0;return!1}}),rt.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(t,e){rt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),rt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){
  return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var Oe=rt.now(),Ne=/\?/,De=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;rt.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,i=null,r=rt.trim(e+"");return r&&!rt.trim(r.replace(De,function(t,e,r,o){return n&&e&&(i=0),0===i?t:(n=r||e,i+=!o-!r,"")}))?Function("return "+r)():rt.error("Invalid JSON: "+e)},rt.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(i=new DOMParser,n=i.parseFromString(e,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(e))}catch(r){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||rt.error("Invalid XML: "+e),n};var ke,Pe,Me=/#.*$/,_e=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Re=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,je=/^(?:GET|HEAD)$/,He=/^\/\//,Fe=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Be={},We={},qe="*/".concat("*");try{Pe=location.href}catch(Ge){Pe=$t.createElement("a"),Pe.href="",Pe=Pe.href}ke=Fe.exec(Pe.toLowerCase())||[],rt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pe,type:"GET",isLocal:Re.test(ke[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":rt.parseJSON,"text xml":rt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?F(F(t,rt.ajaxSettings),e):F(rt.ajaxSettings,t)},ajaxPrefilter:j(Be),ajaxTransport:j(We),ajax:function(t,e){function n(t,e,n,i){var r,c,v,m,b,x=e;2!==y&&(y=2,a&&clearTimeout(a),u=void 0,s=i||"",E.readyState=t>0?4:0,r=t>=200&&t<300||304===t,n&&(m=B(d,E,n)),m=W(d,m,E,r),r?(d.ifModified&&(b=E.getResponseHeader("Last-Modified"),b&&(rt.lastModified[o]=b),b=E.getResponseHeader("etag"),b&&(rt.etag[o]=b)),204===t||"HEAD"===d.type?x="nocontent":304===t?x="notmodified":(x=m.state,c=m.data,v=m.error,r=!v)):(v=x,!t&&x||(x="error",t<0&&(t=0))),E.status=t,E.statusText=(e||x)+"",r?$.resolveWith(f,[c,x,E]):$.rejectWith(f,[E,x,v]),E.statusCode(g),g=void 0,l&&h.trigger(r?"ajaxSuccess":"ajaxError",[E,d,r?c:v]),p.fireWith(f,[E,x]),l&&(h.trigger("ajaxComplete",[E,d]),--rt.active||rt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,s,a,l,u,c,d=rt.ajaxSetup({},e),f=d.context||d,h=d.context&&(f.nodeType||f.jquery)?rt(f):rt.event,$=rt.Deferred(),p=rt.Callbacks("once memory"),g=d.statusCode||{},v={},m={},y=0,b="canceled",E={readyState:0,getResponseHeader:function(t){var e;if(2===y){if(!c)for(c={};e=Le.exec(s);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===y?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return y||(t=m[n]=m[n]||t,v[t]=e),this},overrideMimeType:function(t){return y||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(y<2)for(e in t)g[e]=[g[e],t[e]];else E.always(t[E.status]);return this},abort:function(t){var e=t||b;return u&&u.abort(e),n(0,e),this}};if($.promise(E).complete=p.add,E.success=E.done,E.error=E.fail,d.url=((t||d.url||Pe)+"").replace(Me,"").replace(He,ke[1]+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=rt.trim(d.dataType||"*").toLowerCase().match(yt)||[""],null==d.crossDomain&&(i=Fe.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===ke[1]&&i[2]===ke[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(ke[3]||("http:"===ke[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=rt.param(d.data,d.traditional)),H(Be,d,e,E),2===y)return E;l=d.global,l&&0===rt.active++&&rt.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!je.test(d.type),o=d.url,d.hasContent||(d.data&&(o=d.url+=(Ne.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=_e.test(o)?o.replace(_e,"$1_="+Oe++):o+(Ne.test(o)?"&":"?")+"_="+Oe++)),d.ifModified&&(rt.lastModified[o]&&E.setRequestHeader("If-Modified-Since",rt.lastModified[o]),rt.etag[o]&&E.setRequestHeader("If-None-Match",rt.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&E.setRequestHeader("Content-Type",d.contentType),E.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+qe+"; q=0.01":""):d.accepts["*"]);for(r in d.headers)E.setRequestHeader(r,d.headers[r]);if(d.beforeSend&&(d.beforeSend.call(f,E,d)===!1||2===y))return E.abort();b="abort";for(r in{success:1,error:1,complete:1})E[r](d[r]);if(u=H(We,d,e,E)){E.readyState=1,l&&h.trigger("ajaxSend",[E,d]),d.async&&d.timeout>0&&(a=setTimeout(function(){E.abort("timeout")},d.timeout));try{y=1,u.send(v,n)}catch(x){if(!(y<2))throw x;n(-1,x)}}else n(-1,"No Transport");return E},getJSON:function(t,e,n){return rt.get(t,e,n,"json")},getScript:function(t,e){return rt.get(t,void 0,e,"script")}}),rt.each(["get","post"],function(t,e){rt[e]=function(t,n,i,r){return rt.isFunction(n)&&(r=r||i,i=n,n=void 0),rt.ajax({url:t,type:e,dataType:r,data:n,success:i})}}),rt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){rt.fn[e]=function(t){return this.on(e,t)}}),rt._evalUrl=function(t){return rt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},rt.fn.extend({wrapAll:function(t){if(rt.isFunction(t))return this.each(function(e){rt(this).wrapAll(t.call(this,e))});if(this[0]){var e=rt(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return rt.isFunction(t)?this.each(function(e){rt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=rt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=rt.isFunction(t);return this.each(function(n){rt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){rt.nodeName(this,"body")||rt(this).replaceWith(this.childNodes)}).end()}}),rt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!nt.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||rt.css(t,"display"))},rt.expr.filters.visible=function(t){return!rt.expr.filters.hidden(t)};var Ue=/%20/g,ze=/\[\]$/,Ve=/\r?\n/g,Qe=/^(?:submit|button|image|reset|file)$/i,Xe=/^(?:input|select|textarea|keygen)/i;rt.param=function(t,e){var n,i=[],r=function(t,e){e=rt.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=rt.ajaxSettings&&rt.ajaxSettings.traditional),rt.isArray(t)||t.jquery&&!rt.isPlainObject(t))rt.each(t,function(){r(this.name,this.value)});else for(n in t)q(n,t[n],e,r);return i.join("&").replace(Ue,"+")},rt.fn.extend({serialize:function(){return rt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=rt.prop(this,"elements");return t?rt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!rt(this).is(":disabled")&&Xe.test(this.nodeName)&&!Qe.test(t)&&(this.checked||!Ot.test(t))}).map(function(t,e){var n=rt(this).val();return null==n?null:rt.isArray(n)?rt.map(n,function(t){return{name:e.name,value:t.replace(Ve,"\r\n")}}):{name:e.name,value:n.replace(Ve,"\r\n")}}).get()}}),rt.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&G()||U()}:G;var Ze=0,Ke={},Ye=rt.ajaxSettings.xhr();t.ActiveXObject&&rt(t).on("unload",function(){for(var t in Ke)Ke[t](void 0,!0)}),nt.cors=!!Ye&&"withCredentials"in Ye,Ye=nt.ajax=!!Ye,Ye&&rt.ajaxTransport(function(t){if(!t.crossDomain||nt.cors){var e;return{send:function(n,i){var r,o=t.xhr(),s=++Ze;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)o[r]=t.xhrFields[r];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(r in n)void 0!==n[r]&&o.setRequestHeader(r,n[r]+"");o.send(t.hasContent&&t.data||null),e=function(n,r){var a,l,u;if(e&&(r||4===o.readyState))if(delete Ke[s],e=void 0,o.onreadystatechange=rt.noop,r)4!==o.readyState&&o.abort();else{u={},a=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{l=o.statusText}catch(c){l=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=u.text?200:404}u&&i(a,l,u,o.getAllResponseHeaders())},t.async?4===o.readyState?setTimeout(e):o.onreadystatechange=Ke[s]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),rt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return rt.globalEval(t),t}}}),rt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),rt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=$t.head||rt("head")[0]||$t.documentElement;return{send:function(i,r){e=$t.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,n||r(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var tn=[],en=/(=)\?(?=&|$)|\?\?/;rt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=tn.pop()||rt.expando+"_"+Oe++;return this[t]=!0,t}}),rt.ajaxPrefilter("json jsonp",function(e,n,i){var r,o,s,a=e.jsonp!==!1&&(en.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&en.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=rt.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(en,"$1"+r):e.jsonp!==!1&&(e.url+=(Ne.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||rt.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){s=arguments},i.always(function(){t[r]=o,e[r]&&(e.jsonpCallback=n.jsonpCallback,tn.push(r)),s&&rt.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),rt.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||$t;var i=dt.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=rt.buildFragment([t],e,r),r&&r.length&&rt(r).remove(),rt.merge([],i.childNodes))};var nn=rt.fn.load;rt.fn.load=function(t,e,n){if("string"!=typeof t&&nn)return nn.apply(this,arguments);var i,r,o,s=this,a=t.indexOf(" ");return a>=0&&(i=rt.trim(t.slice(a,t.length)),t=t.slice(0,a)),rt.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&rt.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,s.html(i?rt("<div>").append(rt.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){s.each(n,r||[t.responseText,e,t])}),this},rt.expr.filters.animated=function(t){return rt.grep(rt.timers,function(e){return t===e.elem}).length};var rn=t.document.documentElement;rt.offset={setOffset:function(t,e,n){var i,r,o,s,a,l,u,c=rt.css(t,"position"),d=rt(t),f={};"static"===c&&(t.style.position="relative"),a=d.offset(),o=rt.css(t,"top"),l=rt.css(t,"left"),u=("absolute"===c||"fixed"===c)&&rt.inArray("auto",[o,l])>-1,u?(i=d.position(),s=i.top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),rt.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(f.top=e.top-a.top+s),null!=e.left&&(f.left=e.left-a.left+r),"using"in e?e.using.call(t,f):d.css(f)}},rt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){rt.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;if(o)return e=o.documentElement,rt.contains(e,r)?(typeof r.getBoundingClientRect!==wt&&(i=r.getBoundingClientRect()),n=z(o),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===rt.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),rt.nodeName(t[0],"html")||(n=t.offset()),n.top+=rt.css(t[0],"borderTopWidth",!0),n.left+=rt.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-rt.css(i,"marginTop",!0),left:e.left-n.left-rt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||rn;t&&!rt.nodeName(t,"html")&&"static"===rt.css(t,"position");)t=t.offsetParent;return t||rn})}}),rt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);rt.fn[t]=function(i){return It(this,function(t,i,r){var o=z(t);return void 0===r?o?e in o?o[e]:o.document.documentElement[i]:t[i]:void(o?o.scrollTo(n?rt(o).scrollLeft():r,n?r:rt(o).scrollTop()):t[i]=r)},t,i,arguments.length,null)}}),rt.each(["top","left"],function(t,e){rt.cssHooks[e]=S(nt.pixelPosition,function(t,n){if(n)return n=ee(t,e),ie.test(n)?rt(t).position()[e]+"px":n})}),rt.each({Height:"height",Width:"width"},function(t,e){rt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){rt.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||r===!0?"margin":"border");return It(this,function(e,n,i){var r;return rt.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?rt.css(e,n,s):rt.style(e,n,i,s)},e,o?i:void 0,o,null)}})}),rt.fn.size=function(){return this.length},rt.fn.andSelf=rt.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return rt});var on=t.jQuery,sn=t.$;return rt.noConflict=function(e){return t.$===rt&&(t.$=sn),e&&t.jQuery===rt&&(t.jQuery=on),rt},typeof e===wt&&(t.jQuery=t.$=rt),rt}),function(){var t=this,e=t._,n=Array.prototype,i=Object.prototype,r=Function.prototype,o=n.push,s=n.slice,a=n.concat,l=i.toString,u=i.hasOwnProperty,c=Array.isArray,d=Object.keys,f=r.bind,h=function(t){return t instanceof h?t:this instanceof h?void(this._wrapped=t):new h(t)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=h),exports._=h):t._=h,h.VERSION="1.7.0";var $=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)};case 4:return function(n,i,r,o){return t.call(e,n,i,r,o)}}return function(){return t.apply(e,arguments)}};h.iteratee=function(t,e,n){return null==t?h.identity:h.isFunction(t)?$(t,e,n):h.isObject(t)?h.matches(t):h.property(t)},h.each=h.forEach=function(t,e,n){if(null==t)return t;e=$(e,n);var i,r=t.length;if(r===+r)for(i=0;i<r;i++)e(t[i],i,t);else{var o=h.keys(t);for(i=0,r=o.length;i<r;i++)e(t[o[i]],o[i],t)}return t},h.map=h.collect=function(t,e,n){if(null==t)return[];e=h.iteratee(e,n);for(var i,r=t.length!==+t.length&&h.keys(t),o=(r||t).length,s=Array(o),a=0;a<o;a++)i=r?r[a]:a,s[a]=e(t[i],i,t);return s};var p="Reduce of empty array with no initial value";h.reduce=h.foldl=h.inject=function(t,e,n,i){null==t&&(t=[]),e=$(e,i,4);var r,o=t.length!==+t.length&&h.keys(t),s=(o||t).length,a=0;if(arguments.length<3){if(!s)throw new TypeError(p);n=t[o?o[a++]:a++]}for(;a<s;a++)r=o?o[a]:a,n=e(n,t[r],r,t);return n},h.reduceRight=h.foldr=function(t,e,n,i){null==t&&(t=[]),e=$(e,i,4);var r,o=t.length!==+t.length&&h.keys(t),s=(o||t).length;if(arguments.length<3){if(!s)throw new TypeError(p);n=t[o?o[--s]:--s]}for(;s--;)r=o?o[s]:s,n=e(n,t[r],r,t);return n},h.find=h.detect=function(t,e,n){var i;return e=h.iteratee(e,n),h.some(t,function(t,n,r){if(e(t,n,r))return i=t,!0}),i},h.filter=h.select=function(t,e,n){var i=[];return null==t?i:(e=h.iteratee(e,n),h.each(t,function(t,n,r){e(t,n,r)&&i.push(t)}),i)},h.reject=function(t,e,n){return h.filter(t,h.negate(h.iteratee(e)),n)},h.every=h.all=function(t,e,n){if(null==t)return!0;e=h.iteratee(e,n);var i,r,o=t.length!==+t.length&&h.keys(t),s=(o||t).length;for(i=0;i<s;i++)if(r=o?o[i]:i,!e(t[r],r,t))return!1;return!0},h.some=h.any=function(t,e,n){if(null==t)return!1;e=h.iteratee(e,n);var i,r,o=t.length!==+t.length&&h.keys(t),s=(o||t).length;for(i=0;i<s;i++)if(r=o?o[i]:i,e(t[r],r,t))return!0;return!1},h.contains=h.include=function(t,e){return null!=t&&(t.length!==+t.length&&(t=h.values(t)),h.indexOf(t,e)>=0)},h.invoke=function(t,e){var n=s.call(arguments,2),i=h.isFunction(e);return h.map(t,function(t){return(i?e:t[e]).apply(t,n)})},h.pluck=function(t,e){return h.map(t,h.property(e))},h.where=function(t,e){return h.filter(t,h.matches(e))},h.findWhere=function(t,e){return h.find(t,h.matches(e))},h.max=function(t,e,n){var i,r,o=-(1/0),s=-(1/0);if(null==e&&null!=t){t=t.length===+t.length?t:h.values(t);for(var a=0,l=t.length;a<l;a++)i=t[a],i>o&&(o=i)}else e=h.iteratee(e,n),h.each(t,function(t,n,i){r=e(t,n,i),(r>s||r===-(1/0)&&o===-(1/0))&&(o=t,s=r)});return o},h.min=function(t,e,n){var i,r,o=1/0,s=1/0;if(null==e&&null!=t){t=t.length===+t.length?t:h.values(t);for(var a=0,l=t.length;a<l;a++)i=t[a],i<o&&(o=i)}else e=h.iteratee(e,n),h.each(t,function(t,n,i){r=e(t,n,i),(r<s||r===1/0&&o===1/0)&&(o=t,s=r)});return o},h.shuffle=function(t){for(var e,n=t&&t.length===+t.length?t:h.values(t),i=n.length,r=Array(i),o=0;o<i;o++)e=h.random(0,o),e!==o&&(r[o]=r[e]),r[e]=n[o];return r},h.sample=function(t,e,n){return null==e||n?(t.length!==+t.length&&(t=h.values(t)),t[h.random(t.length-1)]):h.shuffle(t).slice(0,Math.max(0,e))},h.sortBy=function(t,e,n){return e=h.iteratee(e,n),h.pluck(h.map(t,function(t,n,i){return{value:t,index:n,criteria:e(t,n,i)}}).sort(function(t,e){var n=t.criteria,i=e.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return t.index-e.index}),"value")};var g=function(t){return function(e,n,i){var r={};return n=h.iteratee(n,i),h.each(e,function(i,o){var s=n(i,o,e);t(r,i,s)}),r}};h.groupBy=g(function(t,e,n){h.has(t,n)?t[n].push(e):t[n]=[e]}),h.indexBy=g(function(t,e,n){t[n]=e}),h.countBy=g(function(t,e,n){h.has(t,n)?t[n]++:t[n]=1}),h.sortedIndex=function(t,e,n,i){n=h.iteratee(n,i,1);for(var r=n(e),o=0,s=t.length;o<s;){var a=o+s>>>1;n(t[a])<r?o=a+1:s=a}return o},h.toArray=function(t){return t?h.isArray(t)?s.call(t):t.length===+t.length?h.map(t,h.identity):h.values(t):[]},h.size=function(t){return null==t?0:t.length===+t.length?t.length:h.keys(t).length},h.partition=function(t,e,n){e=h.iteratee(e,n);var i=[],r=[];return h.each(t,function(t,n,o){(e(t,n,o)?i:r).push(t)}),[i,r]},h.first=h.head=h.take=function(t,e,n){if(null!=t)return null==e||n?t[0]:e<0?[]:s.call(t,0,e)},h.initial=function(t,e,n){return s.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},h.last=function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:s.call(t,Math.max(t.length-e,0))},h.rest=h.tail=h.drop=function(t,e,n){return s.call(t,null==e||n?1:e)},h.compact=function(t){return h.filter(t,h.identity)};var v=function(t,e,n,i){if(e&&h.every(t,h.isArray))return a.apply(i,t);for(var r=0,s=t.length;r<s;r++){var l=t[r];h.isArray(l)||h.isArguments(l)?e?o.apply(i,l):v(l,e,n,i):n||i.push(l)}return i};h.flatten=function(t,e){return v(t,e,!1,[])},h.without=function(t){return h.difference(t,s.call(arguments,1))},h.uniq=h.unique=function(t,e,n,i){if(null==t)return[];h.isBoolean(e)||(i=n,n=e,e=!1),null!=n&&(n=h.iteratee(n,i));for(var r=[],o=[],s=0,a=t.length;s<a;s++){var l=t[s];if(e)s&&o===l||r.push(l),o=l;else if(n){var u=n(l,s,t);h.indexOf(o,u)<0&&(o.push(u),r.push(l))}else h.indexOf(r,l)<0&&r.push(l)}return r},h.union=function(){return h.uniq(v(arguments,!0,!0,[]))},h.intersection=function(t){if(null==t)return[];for(var e=[],n=arguments.length,i=0,r=t.length;i<r;i++){var o=t[i];if(!h.contains(e,o)){for(var s=1;s<n&&h.contains(arguments[s],o);s++);s===n&&e.push(o)}}return e},h.difference=function(t){var e=v(s.call(arguments,1),!0,!0,[]);return h.filter(t,function(t){return!h.contains(e,t)})},h.zip=function(t){if(null==t)return[];for(var e=h.max(arguments,"length").length,n=Array(e),i=0;i<e;i++)n[i]=h.pluck(arguments,i);return n},h.object=function(t,e){if(null==t)return{};for(var n={},i=0,r=t.length;i<r;i++)e?n[t[i]]=e[i]:n[t[i][0]]=t[i][1];return n},h.indexOf=function(t,e,n){if(null==t)return-1;var i=0,r=t.length;if(n){if("number"!=typeof n)return i=h.sortedIndex(t,e),t[i]===e?i:-1;i=n<0?Math.max(0,r+n):n}for(;i<r;i++)if(t[i]===e)return i;return-1},h.lastIndexOf=function(t,e,n){if(null==t)return-1;var i=t.length;for("number"==typeof n&&(i=n<0?i+n+1:Math.min(i,n+1));--i>=0;)if(t[i]===e)return i;return-1},h.range=function(t,e,n){arguments.length<=1&&(e=t||0,t=0),n=n||1;for(var i=Math.max(Math.ceil((e-t)/n),0),r=Array(i),o=0;o<i;o++,t+=n)r[o]=t;return r};var m=function(){};h.bind=function(t,e){var n,i;if(f&&t.bind===f)return f.apply(t,s.call(arguments,1));if(!h.isFunction(t))throw new TypeError("Bind must be called on a function");return n=s.call(arguments,2),i=function(){if(!(this instanceof i))return t.apply(e,n.concat(s.call(arguments)));m.prototype=t.prototype;var r=new m;m.prototype=null;var o=t.apply(r,n.concat(s.call(arguments)));return h.isObject(o)?o:r}},h.partial=function(t){var e=s.call(arguments,1);return function(){for(var n=0,i=e.slice(),r=0,o=i.length;r<o;r++)i[r]===h&&(i[r]=arguments[n++]);for(;n<arguments.length;)i.push(arguments[n++]);return t.apply(this,i)}},h.bindAll=function(t){var e,n,i=arguments.length;if(i<=1)throw new Error("bindAll must be passed function names");for(e=1;e<i;e++)n=arguments[e],t[n]=h.bind(t[n],t);return t},h.memoize=function(t,e){var n=function(i){var r=n.cache,o=e?e.apply(this,arguments):i;return h.has(r,o)||(r[o]=t.apply(this,arguments)),r[o]};return n.cache={},n},h.delay=function(t,e){var n=s.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},h.defer=function(t){return h.delay.apply(h,[t,1].concat(s.call(arguments,1)))},h.throttle=function(t,e,n){var i,r,o,s=null,a=0;n||(n={});var l=function(){a=n.leading===!1?0:h.now(),s=null,o=t.apply(i,r),s||(i=r=null)};return function(){var u=h.now();a||n.leading!==!1||(a=u);var c=e-(u-a);return i=this,r=arguments,c<=0||c>e?(clearTimeout(s),s=null,a=u,o=t.apply(i,r),s||(i=r=null)):s||n.trailing===!1||(s=setTimeout(l,c)),o}},h.debounce=function(t,e,n){var i,r,o,s,a,l=function(){var u=h.now()-s;u<e&&u>0?i=setTimeout(l,e-u):(i=null,n||(a=t.apply(o,r),i||(o=r=null)))};return function(){o=this,r=arguments,s=h.now();var u=n&&!i;return i||(i=setTimeout(l,e)),u&&(a=t.apply(o,r),o=r=null),a}},h.wrap=function(t,e){return h.partial(e,t)},h.negate=function(t){return function(){return!t.apply(this,arguments)}},h.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,i=t[e].apply(this,arguments);n--;)i=t[n].call(this,i);return i}},h.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},h.before=function(t,e){var n;return function(){return--t>0?n=e.apply(this,arguments):e=null,n}},h.once=h.partial(h.before,2),h.keys=function(t){if(!h.isObject(t))return[];if(d)return d(t);var e=[];for(var n in t)h.has(t,n)&&e.push(n);return e},h.values=function(t){for(var e=h.keys(t),n=e.length,i=Array(n),r=0;r<n;r++)i[r]=t[e[r]];return i},h.pairs=function(t){for(var e=h.keys(t),n=e.length,i=Array(n),r=0;r<n;r++)i[r]=[e[r],t[e[r]]];return i},h.invert=function(t){for(var e={},n=h.keys(t),i=0,r=n.length;i<r;i++)e[t[n[i]]]=n[i];return e},h.functions=h.methods=function(t){var e=[];for(var n in t)h.isFunction(t[n])&&e.push(n);return e.sort()},h.extend=function(t){if(!h.isObject(t))return t;for(var e,n,i=1,r=arguments.length;i<r;i++){e=arguments[i];for(n in e)u.call(e,n)&&(t[n]=e[n])}return t},h.pick=function(t,e,n){var i,r={};if(null==t)return r;if(h.isFunction(e)){e=$(e,n);for(i in t){var o=t[i];e(o,i,t)&&(r[i]=o)}}else{var l=a.apply([],s.call(arguments,1));t=new Object(t);for(var u=0,c=l.length;u<c;u++)i=l[u],i in t&&(r[i]=t[i])}return r},h.omit=function(t,e,n){if(h.isFunction(e))e=h.negate(e);else{var i=h.map(a.apply([],s.call(arguments,1)),String);e=function(t,e){return!h.contains(i,e)}}return h.pick(t,e,n)},h.defaults=function(t){if(!h.isObject(t))return t;for(var e=1,n=arguments.length;e<n;e++){var i=arguments[e];for(var r in i)void 0===t[r]&&(t[r]=i[r])}return t},h.clone=function(t){return h.isObject(t)?h.isArray(t)?t.slice():h.extend({},t):t},h.tap=function(t,e){return e(t),t};var y=function(t,e,n,i){if(t===e)return 0!==t||1/t===1/e;if(null==t||null==e)return t===e;t instanceof h&&(t=t._wrapped),e instanceof h&&(e=e._wrapped);var r=l.call(t);if(r!==l.call(e))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!==+t?+e!==+e:0===+t?1/+t===1/e:+t===+e;case"[object Date]":case"[object Boolean]":return+t===+e}if("object"!=typeof t||"object"!=typeof e)return!1;for(var o=n.length;o--;)if(n[o]===t)return i[o]===e;var s=t.constructor,a=e.constructor;if(s!==a&&"constructor"in t&&"constructor"in e&&!(h.isFunction(s)&&s instanceof s&&h.isFunction(a)&&a instanceof a))return!1;n.push(t),i.push(e);var u,c;if("[object Array]"===r){if(u=t.length,c=u===e.length)for(;u--&&(c=y(t[u],e[u],n,i)););}else{var d,f=h.keys(t);if(u=f.length,c=h.keys(e).length===u)for(;u--&&(d=f[u],c=h.has(e,d)&&y(t[d],e[d],n,i)););}return n.pop(),i.pop(),c};h.isEqual=function(t,e){return y(t,e,[],[])},h.isEmpty=function(t){if(null==t)return!0;if(h.isArray(t)||h.isString(t)||h.isArguments(t))return 0===t.length;for(var e in t)if(h.has(t,e))return!1;return!0},h.isElement=function(t){return!(!t||1!==t.nodeType)},h.isArray=c||function(t){return"[object Array]"===l.call(t)},h.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},h.each(["Arguments","Function","String","Number","Date","RegExp"],function(t){h["is"+t]=function(e){return l.call(e)==="[object "+t+"]"}}),h.isArguments(arguments)||(h.isArguments=function(t){return h.has(t,"callee")}),"function"!=typeof/./&&(h.isFunction=function(t){return"function"==typeof t||!1}),h.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},h.isNaN=function(t){return h.isNumber(t)&&t!==+t},h.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"===l.call(t)},h.isNull=function(t){return null===t},h.isUndefined=function(t){return void 0===t},h.has=function(t,e){return null!=t&&u.call(t,e)},h.noConflict=function(){return t._=e,this},h.identity=function(t){return t},h.constant=function(t){return function(){return t}},h.noop=function(){},h.property=function(t){return function(e){return e[t]}},h.matches=function(t){var e=h.pairs(t),n=e.length;return function(t){if(null==t)return!n;t=new Object(t);for(var i=0;i<n;i++){var r=e[i],o=r[0];if(r[1]!==t[o]||!(o in t))return!1}return!0}},h.times=function(t,e,n){var i=Array(Math.max(0,t));e=$(e,n,1);for(var r=0;r<t;r++)i[r]=e(r);return i},h.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},h.now=Date.now||function(){return(new Date).getTime()};var b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},E=h.invert(b),x=function(t){var e=function(e){return t[e]},n="(?:"+h.keys(t).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(r,e):t}};h.escape=x(b),h.unescape=x(E),h.result=function(t,e){if(null!=t){var n=t[e];return h.isFunction(n)?t[e]():n}};var w=0;h.uniqueId=function(t){var e=++w+"";return t?t+e:e},h.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var C=/(.)^/,T={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},S=/\\|'|\r|\n|\u2028|\u2029/g,J=function(t){return"\\"+T[t]};h.template=function(t,e,n){!e&&n&&(e=n),e=h.defaults({},e,h.templateSettings);var i=RegExp([(e.escape||C).source,(e.interpolate||C).source,(e.evaluate||C).source].join("|")+"|$","g"),r=0,o="__p+='";t.replace(i,function(e,n,i,s,a){return o+=t.slice(r,a).replace(S,J),r=a+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var s=new Function(e.variable||"obj","_",o)}catch(a){throw a.source=o,a}var l=function(t){return s.call(this,t,h)},u=e.variable||"obj";return l.source="function("+u+"){\n"+o+"}",l},h.chain=function(t){var e=h(t);return e._chain=!0,e};var A=function(t){return this._chain?h(t).chain():t};h.mixin=function(t){h.each(h.functions(t),function(e){var n=h[e]=t[e];h.prototype[e]=function(){var t=[this._wrapped];return o.apply(t,arguments),A.call(this,n.apply(h,t))}})},h.mixin(h),h.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=n[t];h.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],A.call(this,n)}}),h.each(["concat","join","slice"],function(t){var e=n[t];h.prototype[t]=function(){return A.call(this,e.apply(this._wrapped,arguments))}}),h.prototype.value=function(){return this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return h})}.call(this),function(t,e){if("function"==typeof define&&define.amd)define(["underscore","jquery","exports"],function(n,i,r){t.Backbone=e(t,r,n,i)});else if("undefined"!=typeof exports){var n=require("underscore");e(t,exports,n)}else t.Backbone=e(t,{},t._,t.jQuery||t.Zepto||t.ender||t.$)}(this,function(t,e,n,i){var r=t.Backbone,o=[],s=(o.push,o.slice);o.splice;e.VERSION="1.1.2",e.$=i,e.noConflict=function(){return t.Backbone=r,this},e.emulateHTTP=!1,e.emulateJSON=!1;var a=e.Events={on:function(t,e,n){if(!u(this,"on",t,[e,n])||!e)return this;this._events||(this._events={});var i=this._events[t]||(this._events[t]=[]);return i.push({callback:e,context:n,ctx:n||this}),this},once:function(t,e,i){if(!u(this,"once",t,[e,i])||!e)return this;var r=this,o=n.once(function(){r.off(t,o),e.apply(this,arguments)});return o._callback=e,this.on(t,o,i)},off:function(t,e,i){var r,o,s,a,l,c,d,f;if(!this._events||!u(this,"off",t,[e,i]))return this;if(!t&&!e&&!i)return this._events=void 0,this;for(a=t?[t]:n.keys(this._events),l=0,c=a.length;l<c;l++)if(t=a[l],s=this._events[t]){if(this._events[t]=r=[],e||i)for(d=0,f=s.length;d<f;d++)o=s[d],(e&&e!==o.callback&&e!==o.callback._callback||i&&i!==o.context)&&r.push(o);r.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=s.call(arguments,1);if(!u(this,"trigger",t,e))return this;var n=this._events[t],i=this._events.all;return n&&c(n,e),i&&c(i,arguments),this},stopListening:function(t,e,i){var r=this._listeningTo;if(!r)return this;var o=!e&&!i;i||"object"!=typeof e||(i=this),t&&((r={})[t._listenId]=t);for(var s in r)t=r[s],t.off(e,i,this),(o||n.isEmpty(t._events))&&delete this._listeningTo[s];return this}},l=/\s+/,u=function(t,e,n,i){if(!n)return!0;if("object"==typeof n){for(var r in n)t[e].apply(t,[r,n[r]].concat(i));return!1}if(l.test(n)){for(var o=n.split(l),s=0,a=o.length;s<a;s++)t[e].apply(t,[o[s]].concat(i));return!1}return!0},c=function(t,e){var n,i=-1,r=t.length,o=e[0],s=e[1],a=e[2];switch(e.length){case 0:for(;++i<r;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o);return;case 2:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,s);return;case 3:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,s,a);return;default:for(;++i<r;)(n=t[i]).callback.apply(n.ctx,e);return}},d={listenTo:"on",
  listenToOnce:"once"};n.each(d,function(t,e){a[e]=function(e,i,r){var o=this._listeningTo||(this._listeningTo={}),s=e._listenId||(e._listenId=n.uniqueId("l"));return o[s]=e,r||"object"!=typeof i||(r=this),e[t](i,r,this),this}}),a.bind=a.on,a.unbind=a.off,n.extend(e,a);var f=e.Model=function(t,e){var i=t||{};e||(e={}),this.cid=n.uniqueId("c"),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(i=this.parse(i,e)||{}),i=n.defaults({},i,n.result(this,"defaults")),this.set(i,e),this.changed={},this.initialize.apply(this,arguments)};n.extend(f.prototype,a,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(t){return n.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return n.escape(this.get(t))},has:function(t){return null!=this.get(t)},set:function(t,e,i){var r,o,s,a,l,u,c,d;if(null==t)return this;if("object"==typeof t?(o=t,i=e):(o={})[t]=e,i||(i={}),!this._validate(o,i))return!1;s=i.unset,l=i.silent,a=[],u=this._changing,this._changing=!0,u||(this._previousAttributes=n.clone(this.attributes),this.changed={}),d=this.attributes,c=this._previousAttributes,this.idAttribute in o&&(this.id=o[this.idAttribute]);for(r in o)e=o[r],n.isEqual(d[r],e)||a.push(r),n.isEqual(c[r],e)?delete this.changed[r]:this.changed[r]=e,s?delete d[r]:d[r]=e;if(!l){a.length&&(this._pending=i);for(var f=0,h=a.length;f<h;f++)this.trigger("change:"+a[f],this,d[a[f]],i)}if(u)return this;if(!l)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,n.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,n.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!n.isEmpty(this.changed):n.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&n.clone(this.changed);var e,i=!1,r=this._changing?this._previousAttributes:this.attributes;for(var o in t)n.isEqual(r[o],e=t[o])||((i||(i={}))[o]=e);return i},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(t){t=t?n.clone(t):{},void 0===t.parse&&(t.parse=!0);var e=this,i=t.success;return t.success=function(n){return!!e.set(e.parse(n,t),t)&&(i&&i(e,n,t),void e.trigger("sync",e,n,t))},L(this,t),this.sync("read",this,t)},save:function(t,e,i){var r,o,s,a=this.attributes;if(null==t||"object"==typeof t?(r=t,i=e):(r={})[t]=e,i=n.extend({validate:!0},i),r&&!i.wait){if(!this.set(r,i))return!1}else if(!this._validate(r,i))return!1;r&&i.wait&&(this.attributes=n.extend({},a,r)),void 0===i.parse&&(i.parse=!0);var l=this,u=i.success;return i.success=function(t){l.attributes=a;var e=l.parse(t,i);return i.wait&&(e=n.extend(r||{},e)),!(n.isObject(e)&&!l.set(e,i))&&(u&&u(l,t,i),void l.trigger("sync",l,t,i))},L(this,i),o=this.isNew()?"create":i.patch?"patch":"update","patch"===o&&(i.attrs=r),s=this.sync(o,this,i),r&&i.wait&&(this.attributes=a),s},destroy:function(t){t=t?n.clone(t):{};var e=this,i=t.success,r=function(){e.trigger("destroy",e,e.collection,t)};if(t.success=function(n){(t.wait||e.isNew())&&r(),i&&i(e,n,t),e.isNew()||e.trigger("sync",e,n,t)},this.isNew())return t.success(),!1;L(this,t);var o=this.sync("delete",this,t);return t.wait||r(),o},url:function(){var t=n.result(this,"urlRoot")||n.result(this.collection,"url")||_();return this.isNew()?t:t.replace(/([^\/])$/,"$1/")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},n.extend(t||{},{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=n.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;return!i||(this.trigger("invalid",this,i,n.extend(e,{validationError:i})),!1)}});var h=["keys","values","pairs","invert","pick","omit"];n.each(h,function(t){f.prototype[t]=function(){var e=s.call(arguments);return e.unshift(this.attributes),n[t].apply(n,e)}});var $=e.Collection=function(t,e){e||(e={}),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,n.extend({silent:!0},e))},p={add:!0,remove:!0,merge:!0},g={add:!0,remove:!1};n.extend($.prototype,a,{model:f,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,n.extend({merge:!1},e,g))},remove:function(t,e){var i=!n.isArray(t);t=i?[t]:n.clone(t),e||(e={});var r,o,s,a;for(r=0,o=t.length;r<o;r++)a=t[r]=this.get(t[r]),a&&(delete this._byId[a.id],delete this._byId[a.cid],s=this.indexOf(a),this.models.splice(s,1),this.length--,e.silent||(e.index=s,a.trigger("remove",a,this,e)),this._removeReference(a,e));return i?t[0]:t},set:function(t,e){e=n.defaults({},e,p),e.parse&&(t=this.parse(t,e));var i=!n.isArray(t);t=i?t?[t]:[]:n.clone(t);var r,o,s,a,l,u,c,d=e.at,h=this.model,$=this.comparator&&null==d&&e.sort!==!1,g=n.isString(this.comparator)?this.comparator:null,v=[],m=[],y={},b=e.add,E=e.merge,x=e.remove,w=!($||!b||!x)&&[];for(r=0,o=t.length;r<o;r++){if(l=t[r]||{},s=l instanceof f?a=l:l[h.prototype.idAttribute||"id"],u=this.get(s))x&&(y[u.cid]=!0),E&&(l=l===a?a.attributes:l,e.parse&&(l=u.parse(l,e)),u.set(l,e),$&&!c&&u.hasChanged(g)&&(c=!0)),t[r]=u;else if(b){if(a=t[r]=this._prepareModel(l,e),!a)continue;v.push(a),this._addReference(a,e)}a=u||a,!w||!a.isNew()&&y[a.id]||w.push(a),y[a.id]=!0}if(x){for(r=0,o=this.length;r<o;++r)y[(a=this.models[r]).cid]||m.push(a);m.length&&this.remove(m,e)}if(v.length||w&&w.length)if($&&(c=!0),this.length+=v.length,null!=d)for(r=0,o=v.length;r<o;r++)this.models.splice(d+r,0,v[r]);else{w&&(this.models.length=0);var C=w||v;for(r=0,o=C.length;r<o;r++)this.models.push(C[r])}if(c&&this.sort({silent:!0}),!e.silent){for(r=0,o=v.length;r<o;r++)(a=v[r]).trigger("add",a,this,e);(c||w&&w.length)&&this.trigger("sort",this,e)}return i?t[0]:t},reset:function(t,e){e||(e={});for(var i=0,r=this.models.length;i<r;i++)this._removeReference(this.models[i],e);return e.previousModels=this.models,this._reset(),t=this.add(t,n.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,n.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t),e},unshift:function(t,e){return this.add(t,n.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t),e},slice:function(){return s.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[t.id]||this._byId[t.cid]},at:function(t){return this.models[t]},where:function(t,e){return n.isEmpty(t)?e?void 0:[]:this[e?"find":"filter"](function(e){for(var n in t)if(t[n]!==e.get(n))return!1;return!0})},findWhere:function(t){return this.where(t,!0)},sort:function(t){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return t||(t={}),n.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(n.bind(this.comparator,this)),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return n.invoke(this.models,"get",t)},fetch:function(t){t=t?n.clone(t):{},void 0===t.parse&&(t.parse=!0);var e=t.success,i=this;return t.success=function(n){var r=t.reset?"reset":"set";i[r](n,t),e&&e(i,n,t),i.trigger("sync",i,n,t)},L(this,t),this.sync("read",this,t)},create:function(t,e){if(e=e?n.clone(e):{},!(t=this._prepareModel(t,e)))return!1;e.wait||this.add(t,e);var i=this,r=e.success;return e.success=function(t,n){e.wait&&i.add(t,e),r&&r(t,n,e)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(t instanceof f)return t;e=e?n.clone(e):{},e.collection=this;var i=new this.model(t,e);return i.validationError?(this.trigger("invalid",this,i.validationError,e),!1):i},_addReference:function(t,e){this._byId[t.cid]=t,null!=t.id&&(this._byId[t.id]=t),t.collection||(t.collection=this),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,n,i){("add"!==t&&"remove"!==t||n===this)&&("destroy"===t&&this.remove(e,i),e&&t==="change:"+e.idAttribute&&(delete this._byId[e.previous(e.idAttribute)],null!=e.id&&(this._byId[e.id]=e)),this.trigger.apply(this,arguments))}});var v=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty","chain","sample"];n.each(v,function(t){$.prototype[t]=function(){var e=s.call(arguments);return e.unshift(this.models),n[t].apply(n,e)}});var m=["groupBy","countBy","sortBy","indexBy"];n.each(m,function(t){$.prototype[t]=function(e,i){var r=n.isFunction(e)?e:function(t){return t.get(e)};return n[t](this.models,r,i)}});var y=e.View=function(t){this.cid=n.uniqueId("view"),t||(t={}),n.extend(this,n.pick(t,E)),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},b=/^(\S+)\s*(.*)$/,E=["model","collection","el","id","attributes","className","tagName","events"];n.extend(y.prototype,a,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(t,n){return this.$el&&this.undelegateEvents(),this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0],n!==!1&&this.delegateEvents(),this},delegateEvents:function(t){if(!t&&!(t=n.result(this,"events")))return this;this.undelegateEvents();for(var e in t){var i=t[e];if(n.isFunction(i)||(i=this[t[e]]),i){var r=e.match(b),o=r[1],s=r[2];i=n.bind(i,this),o+=".delegateEvents"+this.cid,""===s?this.$el.on(o,i):this.$el.on(o,s,i)}}return this},undelegateEvents:function(){return this.$el.off(".delegateEvents"+this.cid),this},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"),!1);else{var t=n.extend({},n.result(this,"attributes"));this.id&&(t.id=n.result(this,"id")),this.className&&(t["class"]=n.result(this,"className"));var i=e.$("<"+n.result(this,"tagName")+">").attr(t);this.setElement(i,!1)}}}),e.sync=function(t,i,r){var o=w[t];n.defaults(r||(r={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var s={type:o,dataType:"json"};if(r.url||(s.url=n.result(i,"url")||_()),null!=r.data||!i||"create"!==t&&"update"!==t&&"patch"!==t||(s.contentType="application/json",s.data=JSON.stringify(r.attrs||i.toJSON(r))),r.emulateJSON&&(s.contentType="application/x-www-form-urlencoded",s.data=s.data?{model:s.data}:{}),r.emulateHTTP&&("PUT"===o||"DELETE"===o||"PATCH"===o)){s.type="POST",r.emulateJSON&&(s.data._method=o);var a=r.beforeSend;r.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",o),a)return a.apply(this,arguments)}}"GET"===s.type||r.emulateJSON||(s.processData=!1),"PATCH"===s.type&&x&&(s.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var l=r.xhr=e.ajax(n.extend(s,r));return i.trigger("request",i,l,r),l};var x=!("undefined"==typeof window||!window.ActiveXObject||window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent),w={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var C=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},T=/\((.*?)\)/g,S=/(\(\?)?:\w+/g,J=/\*\w+/g,A=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(C.prototype,a,{initialize:function(){},route:function(t,i,r){n.isRegExp(t)||(t=this._routeToRegExp(t)),n.isFunction(i)&&(r=i,i=""),r||(r=this[i]);var o=this;return e.history.route(t,function(n){var s=o._extractParameters(t,n);o.execute(r,s),o.trigger.apply(o,["route:"+i].concat(s)),o.trigger("route",i,s),e.history.trigger("route",o,i,s)}),this},execute:function(t,e){t&&t.apply(this,e)},navigate:function(t,n){return e.history.navigate(t,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var t,e=n.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(A,"\\$&").replace(T,"(?:$1)?").replace(S,function(t,e){return e?t:"([^/?]+)"}).replace(J,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return n.map(i,function(t,e){return e===i.length-1?t||null:t?decodeURIComponent(t):null})}});var I=e.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},O=/^[#\/]|\s+$/g,N=/^\/+|\/+$/g,D=/msie [\w.]+/,k=/\/$/,P=/#.*$/;I.started=!1,n.extend(I.prototype,a,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(null==t)if(this._hasPushState||!this._wantsHashChange||e){t=decodeURI(this.location.pathname+this.location.search);var n=this.root.replace(k,"");t.indexOf(n)||(t=t.slice(n.length))}else t=this.getHash();return t.replace(O,"")},start:function(t){if(I.started)throw new Error("Backbone.history has already been started");I.started=!0,this.options=n.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var i=this.getFragment(),r=document.documentMode,o=D.exec(navigator.userAgent.toLowerCase())&&(!r||r<=7);if(this.root=("/"+this.root+"/").replace(N,"/"),o&&this._wantsHashChange){var s=e.$('<iframe src="javascript:0" tabindex="-1">');this.iframe=s.hide().appendTo("body")[0].contentWindow,this.navigate(i)}this._hasPushState?e.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!o?e.$(window).on("hashchange",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=i;var a=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+"#"+this.fragment),!0;this._hasPushState&&this.atRoot()&&a.hash&&(this.fragment=this.getHash().replace(O,""),this.history.replaceState({},document.title,this.root+this.fragment))}if(!this.options.silent)return this.loadUrl()},stop:function(){e.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),I.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();return e===this.fragment&&this.iframe&&(e=this.getFragment(this.getHash(this.iframe))),e!==this.fragment&&(this.iframe&&this.navigate(e),void this.loadUrl())},loadUrl:function(t){return t=this.fragment=this.getFragment(t),n.any(this.handlers,function(e){if(e.route.test(t))return e.callback(t),!0})},navigate:function(t,e){if(!I.started)return!1;e&&e!==!0||(e={trigger:!!e});var n=this.root+(t=this.getFragment(t||""));if(t=t.replace(P,""),this.fragment!==t){if(this.fragment=t,""===t&&"/"!==n&&(n=n.slice(0,-1)),this._hasPushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getFragment(this.getHash(this.iframe))&&(e.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,t,e.replace))}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,n){if(n){var i=t.href.replace(/(javascript:|#).*$/,"");t.replace(i+"#"+e)}else t.hash="#"+e}}),e.history=new I;var M=function(t,e){var i,r=this;i=t&&n.has(t,"constructor")?t.constructor:function(){return r.apply(this,arguments)},n.extend(i,r,e);var o=function(){this.constructor=i};return o.prototype=r.prototype,i.prototype=new o,t&&n.extend(i.prototype,t),i.__super__=r.prototype,i};f.extend=$.extend=C.extend=y.extend=I.extend=M;var _=function(){throw new Error('A "url" property or function must be specified')},L=function(t,e){var n=e.error;e.error=function(i){n&&n(t,i,e),t.trigger("error",t,i,e)}};return e}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var r=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(r,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof e&&r[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){s.detach().trigger("closed.bs.alert").remove()}var r=t(this),o=r.attr("data-target");o||(o=r.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var s=t(o);e&&e.preventDefault(),s.length||(s=r.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var r=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.button"),o="object"==typeof e&&e;r||i.data("bs.button",r=new n(this,o)),"toggle"==e?r.toggle():e&&r.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.5",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",o=i.data();e+="Text",null==o.resetText&&i.data("resetText",i[r]()),setTimeout(t.proxy(function(){i[r](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),t(n.target).is('input[type="radio"]')||t(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.carousel"),o=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),s="string"==typeof e?e:o.slide;r||i.data("bs.carousel",r=new n(this,o)),"number"==typeof e?r.to(e):s?r[s]():o.interval&&r.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.5",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e),i="prev"==t&&0===n||"next"==t&&n==this.$items.length-1;if(i&&!this.options.wrap)return e;var r="prev"==t?-1:1,o=(n+r)%this.$items.length;return this.$items.eq(o)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,i){var r=this.$element.find(".item.active"),o=i||this.getItemForDirection(e,r),s=this.interval,a="next"==e?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var u=o[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(o)]);d&&d.addClass("active")}var f=t.Event("slid.bs.carousel",{relatedTarget:u,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(e),o[0].offsetWidth,r.addClass(a),o.addClass(a),r.one("bsTransitionEnd",function(){o.removeClass([e,a].join(" ")).addClass("active"),r.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(f)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(r.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(f)),s&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var r=function(n){var i,r=t(this),o=t(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var s=t.extend({},o.data(),r.data()),a=r.attr("data-slide-to");a&&(s.interval=!1),e.call(o,s),a&&o.data("bs.carousel").to(a),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),+function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),r=n.data("bs.collapse"),o=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!r&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),r||n.data("bs.collapse",r=new i(this,o)),"string"==typeof e&&r[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.5",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"),e&&e.transitioning))){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),e||r.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[s](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION):r.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var r=t(i);this.addAriaAndCollapsedClass(e(r),r)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var r=t(this);r.attr("data-target")||i.preventDefault();var o=e(r),s=o.data("bs.collapse"),a=s?"toggle":r.data();n.call(o,a)})}(jQuery),+function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(r).remove(),t(o).each(function(){var i=t(this),r=e(i),o={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(r[0],n.target)||(r.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger("hidden.bs.dropdown",o))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new s(this)),"string"==typeof e&&i[e].call(n)})}var r=".dropdown-backdrop",o='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.5",s.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var o=e(r),s=o.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var a={relatedTarget:this};if(o.trigger(i=t.Event("show.bs.dropdown",a)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",a)}return!1}},s.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var r=e(i),s=r.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&r.find(o).trigger("focus"),i.trigger("click");var a=" li:not(.disabled):visible a",l=r.find(".dropdown-menu"+a);if(l.length){var u=l.index(n.target);38==n.which&&u>0&&u--,40==n.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",o,s.prototype.toggle).on("keydown.bs.dropdown.data-api",o,s.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",s.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,i){return this.each(function(){var r=t(this),o=r.data("bs.modal"),s=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e);o||r.data("bs.modal",o=new n(this,s)),"string"==typeof e?o[e](i):s.show&&o.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.5",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,r=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var r=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),
  i.$element.show().scrollTop(0),i.adjustDialog(),r&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:e});r?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(o)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&r;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;o?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):s()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),r=i.attr("href"),o=t(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},o.data(),i.data());i.is("a")&&n.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(o,s,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tooltip"),o="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||i.data("bs.tooltip",r=new n(this,o)),"string"==typeof e&&r[e]())})}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),o=r.length;o--;){var s=r[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue())return clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var r=this,o=this.tip(),s=this.getUID(this.type);this.setContent(),o.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(a);u&&(a=a.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),d=o[0].offsetWidth,f=o[0].offsetHeight;if(u){var h=a,$=this.getPosition(this.$viewport);a="bottom"==a&&c.bottom+f>$.bottom?"top":"top"==a&&c.top-f<$.top?"bottom":"right"==a&&c.right+d>$.width?"left":"left"==a&&c.left-d<$.left?"right":a,o.removeClass(h).addClass(a)}var p=this.getCalculatedOffset(a,c,d,f);this.applyPlacement(p,a);var g=function(){var t=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==t&&r.leave(r)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),r=i[0].offsetWidth,o=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top+=s,e.left+=a,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=o&&(e.top=e.top+o-u);var c=this.getViewportAdjustedDelta(n,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var d=/top|bottom/.test(n),f=d?2*c.left-r+l:2*c.top-o+u,h=d?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(f,i[0][h],d)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function i(){"in"!=r.hoverState&&o.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),e&&e()}var r=this,o=t(this.$tip),s=t.Event("hide.bs."+this.type);if(this.$element.trigger(s),!s.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var o=i?{top:0,left:0}:e.offset(),s={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},r,s,a,o)},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var o=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-o-s.scroll,l=e.top+o-s.scroll+i;a<s.top?r.top=s.top-a:l>s.top+s.height&&(r.top=s.top+s.height-l)}else{var u=e.left-o,c=e.left+o+n;u<s.left?r.left=s.left-u:c>s.right&&(r.left=s.left+s.width-c)}return r},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.popover"),o="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||i.data("bs.popover",r=new n(this,o)),"string"==typeof e&&r[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.5",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),+function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),r=i.data("bs.scrollspy"),o="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,o)),"string"==typeof n&&r[n]()})}e.VERSION="3.3.5",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),r=e.data("target")||e.attr("href"),o=/^#./.test(r)&&t(r);return o&&o.length&&o.is(":visible")&&[[o[n]().top+i,r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=o[o.length-1])&&this.activate(t);if(s&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)s!=o[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new n(this)),"string"==typeof e&&r[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(o),e.trigger(s),!s.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=t(i);this.activate(e.closest("li"),n),this.activate(a,a.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},n.prototype.activate=function(e,i,r){function o(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var s=i.find("> .active"),a=r&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);s.length&&a?s.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),s.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var r=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.affix"),o="object"==typeof e&&e;r||i.data("bs.affix",r=new n(this,o)),"string"==typeof e&&r[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.5",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var r=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return r<n&&"top";if("bottom"==this.affixed)return null!=n?!(r+this.unpin<=o.top)&&"bottom":!(r+s<=t-i)&&"bottom";var a=null==this.affixed,l=a?r:o.top,u=a?s:e;return null!=n&&r<=n?"top":null!=i&&l+u>=t-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,r=i.top,o=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(o=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof o&&(o=i.bottom(this.$element));var a=this.getState(s,e,r,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-e-o})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):t.lightbox=e(t.jQuery)}(this,function(t){function e(e){this.album=[],this.currentImageIndex=void 0,this.init(),this.options=t.extend({},this.constructor.defaults),this.option(e)}return e.defaults={albumLabel:"Image %1 of %2",alwaysShowNavOnTouchDevices:!1,fadeDuration:500,fitImagesInViewport:!0,positionFromTop:50,resizeDuration:700,showImageNumberLabel:!0,wrapAround:!1},e.prototype.option=function(e){t.extend(this.options,e)},e.prototype.imageCountLabel=function(t,e){return this.options.albumLabel.replace(/%1/g,t).replace(/%2/g,e)},e.prototype.init=function(){this.enable(),this.build()},e.prototype.enable=function(){var e=this;t("body").on("click","a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]",function(n){return e.start(t(n.currentTarget)),!1})},e.prototype.build=function(){var e=this;t('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" /><div class="lb-nav"><a class="lb-prev" href="" ></a><a class="lb-next" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo(t("body")),this.$lightbox=t("#lightbox"),this.$overlay=t("#lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".lb-outerContainer"),this.$container=this.$lightbox.find(".lb-container"),this.containerTopPadding=parseInt(this.$container.css("padding-top"),10),this.containerRightPadding=parseInt(this.$container.css("padding-right"),10),this.containerBottomPadding=parseInt(this.$container.css("padding-bottom"),10),this.containerLeftPadding=parseInt(this.$container.css("padding-left"),10),this.$overlay.hide().on("click",function(){return e.end(),!1}),this.$lightbox.hide().on("click",function(n){return"lightbox"===t(n.target).attr("id")&&e.end(),!1}),this.$outerContainer.on("click",function(n){return"lightbox"===t(n.target).attr("id")&&e.end(),!1}),this.$lightbox.find(".lb-prev").on("click",function(){return 0===e.currentImageIndex?e.changeImage(e.album.length-1):e.changeImage(e.currentImageIndex-1),!1}),this.$lightbox.find(".lb-next").on("click",function(){return e.currentImageIndex===e.album.length-1?e.changeImage(0):e.changeImage(e.currentImageIndex+1),!1}),this.$lightbox.find(".lb-loader, .lb-close").on("click",function(){return e.end(),!1})},e.prototype.start=function(e){function n(t){i.album.push({link:t.attr("href"),title:t.attr("data-title")||t.attr("title")})}var i=this,r=t(window);r.on("resize",t.proxy(this.sizeOverlay,this)),t("select, object, embed").css({visibility:"hidden"}),this.sizeOverlay(),this.album=[];var o,s=0,a=e.attr("data-lightbox");if(a){o=t(e.prop("tagName")+'[data-lightbox="'+a+'"]');for(var l=0;l<o.length;l=++l)n(t(o[l])),o[l]===e[0]&&(s=l)}else if("lightbox"===e.attr("rel"))n(e);else{o=t(e.prop("tagName")+'[rel="'+e.attr("rel")+'"]');for(var u=0;u<o.length;u=++u)n(t(o[u])),o[u]===e[0]&&(s=u)}var c=r.scrollTop()+this.options.positionFromTop,d=r.scrollLeft();this.$lightbox.css({top:c+"px",left:d+"px"}).fadeIn(this.options.fadeDuration),this.changeImage(s)},e.prototype.changeImage=function(e){var n=this;this.disableKeyboardNav();var i=this.$lightbox.find(".lb-image");this.$overlay.fadeIn(this.options.fadeDuration),t(".lb-loader").fadeIn("slow"),this.$lightbox.find(".lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption").hide(),this.$outerContainer.addClass("animating");var r=new Image;r.onload=function(){var o,s,a,l,u,c,d;i.attr("src",n.album[e].link),o=t(r),i.width(r.width),i.height(r.height),n.options.fitImagesInViewport&&(d=t(window).width(),c=t(window).height(),u=d-n.containerLeftPadding-n.containerRightPadding-20,l=c-n.containerTopPadding-n.containerBottomPadding-120,n.options.maxWidth&&n.options.maxWidth<u&&(u=n.options.maxWidth),n.options.maxHeight&&n.options.maxHeight<u&&(l=n.options.maxHeight),(r.width>u||r.height>l)&&(r.width/u>r.height/l?(a=u,s=parseInt(r.height/(r.width/a),10),i.width(a),i.height(s)):(s=l,a=parseInt(r.width/(r.height/s),10),i.width(a),i.height(s)))),n.sizeContainer(i.width(),i.height())},r.src=this.album[e].link,this.currentImageIndex=e},e.prototype.sizeOverlay=function(){this.$overlay.width(t(window).width()).height(t(document).height())},e.prototype.sizeContainer=function(t,e){function n(){i.$lightbox.find(".lb-dataContainer").width(s),i.$lightbox.find(".lb-prevLink").height(a),i.$lightbox.find(".lb-nextLink").height(a),i.showImage()}var i=this,r=this.$outerContainer.outerWidth(),o=this.$outerContainer.outerHeight(),s=t+this.containerLeftPadding+this.containerRightPadding,a=e+this.containerTopPadding+this.containerBottomPadding;r!==s||o!==a?this.$outerContainer.animate({width:s,height:a},this.options.resizeDuration,"swing",function(){n()}):n()},e.prototype.showImage=function(){this.$lightbox.find(".lb-loader").stop(!0).hide(),this.$lightbox.find(".lb-image").fadeIn("slow"),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},e.prototype.updateNav=function(){var t=!1;try{document.createEvent("TouchEvent"),t=!!this.options.alwaysShowNavOnTouchDevices}catch(e){}this.$lightbox.find(".lb-nav").show(),this.album.length>1&&(this.options.wrapAround?(t&&this.$lightbox.find(".lb-prev, .lb-next").css("opacity","1"),this.$lightbox.find(".lb-prev, .lb-next").show()):(this.currentImageIndex>0&&(this.$lightbox.find(".lb-prev").show(),t&&this.$lightbox.find(".lb-prev").css("opacity","1")),this.currentImageIndex<this.album.length-1&&(this.$lightbox.find(".lb-next").show(),t&&this.$lightbox.find(".lb-next").css("opacity","1"))))},e.prototype.updateDetails=function(){var e=this;if("undefined"!=typeof this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title&&this.$lightbox.find(".lb-caption").html(this.album[this.currentImageIndex].title).fadeIn("fast").find("a").on("click",function(e){void 0!==t(this).attr("target")?window.open(t(this).attr("href"),t(this).attr("target")):location.href=t(this).attr("href")}),this.album.length>1&&this.options.showImageNumberLabel){var n=this.imageCountLabel(this.currentImageIndex+1,this.album.length);this.$lightbox.find(".lb-number").text(n).fadeIn("fast")}else this.$lightbox.find(".lb-number").hide();this.$outerContainer.removeClass("animating"),this.$lightbox.find(".lb-dataContainer").fadeIn(this.options.resizeDuration,function(){return e.sizeOverlay()})},e.prototype.preloadNeighboringImages=function(){if(this.album.length>this.currentImageIndex+1){var t=new Image;t.src=this.album[this.currentImageIndex+1].link}if(this.currentImageIndex>0){var e=new Image;e.src=this.album[this.currentImageIndex-1].link}},e.prototype.enableKeyboardNav=function(){t(document).on("keyup.keyboard",t.proxy(this.keyboardAction,this))},e.prototype.disableKeyboardNav=function(){t(document).off(".keyboard")},e.prototype.keyboardAction=function(t){var e=27,n=37,i=39,r=t.keyCode,o=String.fromCharCode(r).toLowerCase();r===e||o.match(/x|o|c/)?this.end():"p"===o||r===n?0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&this.album.length>1&&this.changeImage(this.album.length-1):"n"!==o&&r!==i||(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&this.album.length>1&&this.changeImage(0))},e.prototype.end=function(){this.disableKeyboardNav(),t(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),t("select, object, embed").css({visibility:"visible"})},new e}),function(t){"use strict";function e(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}function n(t,e){var n=i(t,e)?o:r;n(t,e)}var i,r,o;"classList"in document.documentElement?(i=function(t,e){return t.classList.contains(e)},r=function(t,e){t.classList.add(e)},o=function(t,e){t.classList.remove(e)}):(i=function(t,n){return e(n).test(t.className)},r=function(t,e){i(t,e)||(t.className=t.className+" "+e)},o=function(t,n){t.className=t.className.replace(e(n)," ")});var s={hasClass:i,addClass:r,removeClass:o,toggleClass:n,has:i,add:r,remove:o,toggle:n};"function"==typeof define&&define.amd?define(s):t.classie=s}(window),function(t){"use strict";function e(t){this.el=t,this.el.style.strokeDasharray=this.el.style.strokeDashoffset=this.el.getTotalLength()}e.prototype._draw=function(t){this.el.style.strokeDashoffset=this.el.getTotalLength()*(1-t)},e.prototype.setProgress=function(t,e){this._draw(t),e&&"function"==typeof e&&setTimeout(e,200)},e.prototype.setProgressFn=function(t){"function"==typeof t&&t(this)},t.PathLoader=e}(window);var $JssorDebug$=new function(){function t(e){if(e.constructor===t.caller)throw new Error("Cannot create instance of an abstract class.")}this.$DebugMode=!0,this.$Log=function(t,e){var n=window.console||{},i=this.$DebugMode;i&&n.log?n.log(t):i&&e&&alert(t)},this.$Error=function(t,e){var n=window.console||{},i=this.$DebugMode;if(i&&n.error?n.error(t):i&&alert(t),i)throw e||new Error(t)},this.$Fail=function(t){throw new Error(t)},this.$Assert=function(t,e){var n=this.$DebugMode;if(n&&!t)throw new Error("Assert failed "+e||"")},this.$Trace=function(t){var e=window.console||{},n=this.$DebugMode;n&&e.log&&e.log(t)},this.$Execute=function(t){var e=this.$DebugMode;e&&t()},this.$LiveStamp=function(t,e){var n=this.$DebugMode;if(n){var i=document.createElement("DIV");i.setAttribute("id",e),t.$Live=i}},this.$C_AbstractProperty=function(){throw new Error("The property is abstract, it should be implemented by subclass.")},this.$C_AbstractMethod=function(){throw new Error("The method is abstract, it should be implemented by subclass.")},this.$C_AbstractClass=t},$JssorEasing$=window.$JssorEasing$={$EaseSwing:function(t){return-Math.cos(t*Math.PI)/2+.5},$EaseLinear:function(t){return t},$EaseInQuad:function(t){return t*t},$EaseOutQuad:function(t){return-t*(t-2)},$EaseInOutQuad:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},$EaseInCubic:function(t){return t*t*t},$EaseOutCubic:function(t){
  return(t-=1)*t*t+1},$EaseInOutCubic:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},$EaseInQuart:function(t){return t*t*t*t},$EaseOutQuart:function(t){return-((t-=1)*t*t*t-1)},$EaseInOutQuart:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},$EaseInQuint:function(t){return t*t*t*t*t},$EaseOutQuint:function(t){return(t-=1)*t*t*t*t+1},$EaseInOutQuint:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},$EaseInSine:function(t){return 1-Math.cos(t*Math.PI/2)},$EaseOutSine:function(t){return Math.sin(t*Math.PI/2)},$EaseInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},$EaseInExpo:function(t){return 0==t?0:Math.pow(2,10*(t-1))},$EaseOutExpo:function(t){return 1==t?1:-Math.pow(2,-10*t)+1},$EaseInOutExpo:function(t){return 0==t||1==t?t:(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(-Math.pow(2,-10*--t)+2)},$EaseInCirc:function(t){return-(Math.sqrt(1-t*t)-1)},$EaseOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},$EaseInOutCirc:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},$EaseInElastic:function(t){if(!t||1==t)return t;var e=.3,n=.075;return-(Math.pow(2,10*(t-=1))*Math.sin(2*(t-n)*Math.PI/e))},$EaseOutElastic:function(t){if(!t||1==t)return t;var e=.3,n=.075;return Math.pow(2,-10*t)*Math.sin(2*(t-n)*Math.PI/e)+1},$EaseInOutElastic:function(t){if(!t||1==t)return t;var e=.45,n=.1125;return(t*=2)<1?-.5*Math.pow(2,10*(t-=1))*Math.sin(2*(t-n)*Math.PI/e):Math.pow(2,-10*(t-=1))*Math.sin(2*(t-n)*Math.PI/e)*.5+1},$EaseInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},$EaseOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},$EaseInOutBack:function(t){var e=1.70158;return(t*=2)<1?.5*t*t*(((e*=1.525)+1)*t-e):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},$EaseInBounce:function(t){return 1-$JssorEasing$.$EaseOutBounce(1-t)},$EaseOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},$EaseInOutBounce:function(t){return t<.5?.5*$JssorEasing$.$EaseInBounce(2*t):.5*$JssorEasing$.$EaseOutBounce(2*t-1)+.5},$EaseGoBack:function(t){return 1-Math.abs((t*=2)-1)},$EaseInWave:function(t){return 1-Math.cos(t*Math.PI*2)},$EaseOutWave:function(t){return Math.sin(t*Math.PI*2)},$EaseOutJump:function(t){return 1-((t*=2)<1?(t=1-t)*t*t:(t-=1)*t*t)},$EaseInJump:function(t){return(t*=2)<1?t*t*t:(t=2-t)*t*t}},$JssorDirection$=window.$JssorDirection$={$TO_LEFT:1,$TO_RIGHT:2,$TO_TOP:4,$TO_BOTTOM:8,$HORIZONTAL:3,$VERTICAL:12,$GetDirectionHorizontal:function(t){return 3&t},$GetDirectionVertical:function(t){return 12&t},$IsHorizontal:function(t){return 3&t},$IsVertical:function(t){return 12&t}},$JssorKeyCode$={$BACKSPACE:8,$COMMA:188,$DELETE:46,$DOWN:40,$END:35,$ENTER:13,$ESCAPE:27,$HOME:36,$LEFT:37,$NUMPAD_ADD:107,$NUMPAD_DECIMAL:110,$NUMPAD_DIVIDE:111,$NUMPAD_ENTER:108,$NUMPAD_MULTIPLY:106,$NUMPAD_SUBTRACT:109,$PAGE_DOWN:34,$PAGE_UP:33,$PERIOD:190,$RIGHT:39,$SPACE:32,$TAB:9,$UP:38},$Jssor$=window.$Jssor$=new function(){function t(){if(!X){X={$Touchable:"ontouchstart"in window||"createTouch"in document};var t;(dt.pointerEnabled||(t=dt.msPointerEnabled))&&(X.$TouchActionAttr=t?"msTouchAction":"touchAction")}return X}function e(t){if(!st)if(st=-1,"Microsoft Internet Explorer"==ft&&window.attachEvent&&window.ActiveXObject){var e=ht.indexOf("MSIE");st=et,lt=vt(ht.substring(e+5,ht.indexOf(";",e))),at=document.documentMode||lt}else if("Netscape"==ft&&window.addEventListener){var n=ht.indexOf("Firefox"),i=ht.indexOf("Safari"),r=ht.indexOf("Chrome"),o=ht.indexOf("AppleWebKit");if(n>=0)st=nt,at=vt(ht.substring(n+8));else if(i>=0){var s=ht.substring(0,i).lastIndexOf("/");st=r>=0?rt:it,at=vt(ht.substring(s+1,i))}else{var a=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(ht);a&&(st=et,at=lt=vt(a[1]))}o>=0&&(ct=vt(ht.substring(o+12)))}else{var a=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(ht);a&&(st=ot,at=vt(a[2]))}return t==st}function n(){return e(et)}function i(){return n()&&(at<6||"BackCompat"==document.compatMode)}function r(){return e(nt)}function o(){return e(it)}function s(){return e(rt)}function a(){return e(ot)}function l(){return o()&&ct>534&&ct<535}function u(){return n()&&at<9}function c(t){return Z||(h(["transform","WebkitTransform","msTransform","MozTransform","OTransform"],function(e){if(void 0!=t.style[e])return Z=e,!0}),Z=Z||"transform"),Z}function d(t){return{}.toString.call(t)}function f(){return K||(K={},h(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(t){K["[object "+t+"]"]=t.toLowerCase()})),K}function h(t,e){if("[object Array]"==d(t)){for(var n=0;n<t.length;n++)if(e(t[n],n,t))return!0}else for(var i in t)if(e(t[i],i,t))return!0}function $(t){return null==t?String(t):f()[d(t)]||"object"}function p(t){for(var e in t)return!0}function g(t){try{return"object"==$(t)&&!t.nodeType&&t!=t.window&&(!t.constructor||{}.hasOwnProperty.call(t.constructor.prototype,"isPrototypeOf"))}catch(e){}}function v(t,e){return{x:t,y:e}}function m(t,e){setTimeout(t,e||0)}function y(t,e,n){var i=t&&"inherit"!=t?t:"";return h(e,function(t){var e=t.exec(i);if(e){var n=i.substr(0,e.index),r=i.substr(e.lastIndex+1,i.length-(e.lastIndex+1));i=n+r}}),i=n+(0!=i.indexOf(" ")?" ":"")+i}function b(t,e){at<9&&(t.style.filter=e)}function E(t,e,n){if(ut<9){var i=t.style.filter,r=new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),o=e?"progid:DXImageTransform.Microsoft.Matrix(M11="+e[0][0]+", M12="+e[0][1]+", M21="+e[1][0]+", M22="+e[1][1]+", SizingMethod='auto expand')":"",s=y(i,[r],o);b(t,s),Y.$CssMarginTop(t,n.y),Y.$CssMarginLeft(t,n.x)}}function x(t){t.constructor===x.caller&&t.$Construct&&t.$Construct.apply(t,x.caller.arguments)}function w(t){return t||window.event}function C(t,e,n){if(void 0==n){var i=t.currentStyle||t.style;return n=i[e],""==n&&window.getComputedStyle&&(i=t.ownerDocument.defaultView.getComputedStyle(t,null),i&&(n=i.getPropertyValue(e)||i[e])),n}t.style[e]=n}function T(t,e,n,i){return void 0==n?vt(C(t,e)):(i&&(n+="px"),void C(t,e,n))}function S(t,e,n){return T(t,e,n,!0)}function J(t,e){var n=2&e,i=e?T:C;return function(e,r){return i(e,t,r,n)}}function A(t){if(n()&&lt<9){var e=/opacity=([^)]*)/.exec(t.style.filter||"");return e?vt(e[1])/100:1}return vt(t.style.opacity||"1")}function I(t,e,i){if(n()&&lt<9){var r=t.style.filter||"",o=new RegExp(/[\s]*alpha\([^\)]*\)/g),s=Math.round(100*e),a="";(s<100||i)&&(a="alpha(opacity="+s+") ");var l=y(r,[o],a);b(t,l)}else t.style.opacity=1==e?"":Math.round(100*e)/100}function O(t,e){var n=e.$Rotate||0,i=void 0==e.$Scale?1:e.$Scale;if(u()){var r=Y.$CreateMatrix(n/180*Math.PI,i,i);E(t,n||1!=i?r:null,Y.$GetMatrixOffset(r,e.$OriginalWidth,e.$OriginalHeight))}else{var o=c(t);if(o){var a="rotate("+n%360+"deg) scale("+i+")";s()&&ct>535&&"ontouchstart"in window&&(a+=" perspective(2000px)"),t.style[o]=a}}}function N(t,e,n,i){for(i=i||"u",t=t?t.firstChild:null;t;t=t.nextSibling)if(1==t.nodeType){if(j(t,i)==e)return t;if(!n){var r=N(t,e,n,i);if(r)return r}}}function D(t,e,n,i){i=i||"u";var r=[];for(t=t?t.firstChild:null;t;t=t.nextSibling)if(1==t.nodeType&&(j(t,i)==e&&r.push(t),!n)){var o=D(t,e,n,i);o.length&&(r=r.concat(o))}return r}function k(t,e,n){for(t=t?t.firstChild:null;t;t=t.nextSibling)if(1==t.nodeType){if(t.tagName==e)return t;if(!n){var i=k(t,e,n);if(i)return i}}}function P(t,e,n){var i=[];for(t=t?t.firstChild:null;t;t=t.nextSibling)if(1==t.nodeType&&(e&&t.tagName!=e||i.push(t),!n)){var r=P(t,e,n);r.length&&(i=i.concat(r))}return i}function M(){var t,e,n,i,r=arguments,o=1&r[0],s=1+o;for(t=r[s-1]||{};s<r.length;s++)if(e=r[s])for(n in e)i=e[n],void 0!==i&&(i=e[n],t[n]=o&&g(t[n])?M(o,{},i):i);return t}function _(t,e){$JssorDebug$.$Assert(e);var n,i,r,o={};for(n in t)if(i=t[n],r=e[n],i!==r){var s;g(i)&&g(r)&&(i=_(r),s=!p(i)),!s&&(o[n]=i)}return o}function L(t){return document.createElement(t)}function R(t,e,n){return void 0==n?t.getAttribute(e):void t.setAttribute(e,n)}function j(t,e){return R(t,e)||R(t,"data-"+e)}function H(t,e){return void 0==e?t.className:void(t.className=e)}function F(t){var e={};return h(t,function(t){e[t]=t}),e}function B(t,e){return t.match(e||tt)}function W(t,e){return F(B(t||"",e))}function q(t,e){var n="";return h(e,function(e){n&&(n+=t),n+=e}),n}function G(t,e,n){H(t,q(" ",M(_(W(H(t)),W(e)),W(n))))}function U(t,e,n){var i=t.cloneNode(!e);return n||Y.$RemoveAttribute(i,"id"),i}function z(t){function e(){G(t,r,l[d||u||2&c||c]),$Jssor$.$Css(t,"pointer-events",d?"none":"")}function n(t){u=0,e(),Y.$RemoveEvent(document,"mouseup",n),Y.$RemoveEvent(document,"touchend",n),Y.$RemoveEvent(document,"touchcancel",n)}function i(t){d?Y.$CancelEvent(t):(u=4,e(),Y.$AddEvent(document,"mouseup",n),Y.$AddEvent(document,"touchend",n),Y.$AddEvent(document,"touchcancel",n))}var r,o=this,s="",a=["av","pv","ds","dn"],l=[],u=0,c=0,d=0;o.$Selected=function(t){return void 0==t?c:(c=2&t||1&t,void e())},o.$Enable=function(t){return void 0==t?!d:(d=t?0:3,void e())},t=Y.$GetElement(t);var f=$Jssor$.$Split(H(t));f&&(s=f.shift()),h(a,function(t){l.push(s+t)}),r=q(" ",l),l.unshift(""),Y.$AddEvent(t,"mousedown",i),Y.$AddEvent(t,"touchstart",i)}function V(){return mt||(mt=M({$MarginTop:Y.$CssMarginTop,$MarginLeft:Y.$CssMarginLeft,$Clip:Y.$SetStyleClip,$Transform:Y.$SetStyleTransform},yt)),mt}function Q(){return V(),mt.$Transform=mt.$Transform,mt}var X,Z,K,Y=this,tt=/\S+/g,et=1,nt=2,it=3,rt=4,ot=5,st=0,at=0,lt=0,ut=0,ct=0,dt=navigator,ft=dt.appName,ht=(dt.appVersion,dt.userAgent),$t=document.documentElement;Y.$Device=t,Y.$IsBrowserIE=n,Y.$IsBrowserIeQuirks=i,Y.$IsBrowserFireFox=r,Y.$IsBrowserSafari=o,Y.$IsBrowserChrome=s,Y.$IsBrowserOpera=a,Y.$IsBrowserBadTransform=l,Y.$IsBrowserIe9Earlier=u,Y.$BrowserVersion=function(){return at},Y.$BrowserEngineVersion=function(){return lt||at},Y.$WebKitVersion=function(){return e(),ct},Y.$Delay=m,Y.$Inherit=function(t,e){return e.call(t),M({},t)},Y.$Construct=x,Y.$GetElement=function(t){return Y.$IsString(t)&&(t=document.getElementById(t)),t},Y.$GetEvent=w,Y.$EvtSrc=function(t){return t=w(t),t.target||t.srcElement||document},Y.$EvtTarget=function(t){return t=w(t),t.relatedTarget||t.toElement},Y.$EvtWhich=function(t){return t=w(t),t.which||[0,1,3,0,2][t.button]||t.charCode||t.keyCode},Y.$MousePosition=function(t){return t=w(t),{x:t.pageX||t.clientX||0,y:t.pageY||t.clientY||0}},Y.$PageScroll=function(){var t=document.body;return{x:(window.pageXOffset||$t.scrollLeft||t.scrollLeft||0)-($t.clientLeft||t.clientLeft||0),y:(window.pageYOffset||$t.scrollTop||t.scrollTop||0)-($t.clientTop||t.clientTop||0)}},Y.$WindowSize=function(){var t=document.body;return{x:t.clientWidth||$t.clientWidth,y:t.clientHeight||$t.clientHeight}},Y.$SetStyleTransform=function(t,e){l()?m(Y.$CreateCallback(null,O,t,e)):O(t,e)},Y.$SetStyleTransformOrigin=function(t,e){var n=c(t);n&&(t.style[n+"Origin"]=e)},Y.$CssScale=function(t,e){if(n()&&lt<9||lt<10&&i())t.style.zoom=1==e?"":e;else{var r=c(t);if(r){var o="scale("+e+")",s=t.style[r],a=new RegExp(/[\s]*scale\(.*?\)/g),l=y(s,[a],o);t.style[r]=l}}},Y.$EnableHWA=function(t){t.style[c(t)]&&"none"!=t.style[c(t)]||(t.style[c(t)]="perspective(2000px)")},Y.$DisableHWA=function(t){t.style[c(t)]="none"};var pt=0,gt=0;Y.$WindowResizeFilter=function(t,e){return u()?function(){var n=!0,r=i()?t.document.body:t.document.documentElement;if(r){var o=r.offsetWidth-pt,s=r.offsetHeight-gt;o||s?(pt+=o,gt+=s):n=!1}n&&e()}:e},Y.$MouseOverOutFilter=function(t,e){return $JssorDebug$.$Execute(function(){if(!e)throw new Error('Null reference, parameter "target".')}),function(n){n=w(n);var i=n.type,r=n.relatedTarget||("mouseout"==i?n.toElement:n.fromElement);r&&(r===e||Y.$IsChild(e,r))||t(n)}},Y.$AddEvent=function(t,e,n,i){t=Y.$GetElement(t),$JssorDebug$.$Execute(function(){t||$JssorDebug$.$Fail("Parameter 'elmt' not specified."),n||$JssorDebug$.$Fail("Parameter 'handler' not specified."),t.addEventListener||t.attachEvent||$JssorDebug$.$Fail("Unable to attach event handler, no known technique.")}),t.addEventListener?("mousewheel"==e&&t.addEventListener("DOMMouseScroll",n,i),t.addEventListener(e,n,i)):t.attachEvent&&(t.attachEvent("on"+e,n),i&&t.setCapture&&t.setCapture())},Y.$RemoveEvent=function(t,e,n,i){t=Y.$GetElement(t),t.removeEventListener?("mousewheel"==e&&t.removeEventListener("DOMMouseScroll",n,i),t.removeEventListener(e,n,i)):t.detachEvent&&(t.detachEvent("on"+e,n),i&&t.releaseCapture&&t.releaseCapture())},Y.$FireEvent=function(t,e){$JssorDebug$.$Execute(function(){document.createEvent||document.createEventObject||$JssorDebug$.$Fail("Unable to fire event, no known technique."),t.dispatchEvent||t.fireEvent||$JssorDebug$.$Fail("Unable to fire event, no known technique.")});var n;if(document.createEvent)n=document.createEvent("HTMLEvents"),n.initEvent(e,!1,!1),t.dispatchEvent(n);else{var i="on"+e;n=document.createEventObject(),t.fireEvent(i,n)}},Y.$CancelEvent=function(t){t=w(t),t.preventDefault&&t.preventDefault(),t.cancel=!0,t.returnValue=!1},Y.$StopEvent=function(t){t=w(t),t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0},Y.$CreateCallback=function(t,e){var n=[].slice.call(arguments,2),i=function(){var i=n.concat([].slice.call(arguments,0));return e.apply(t,i)};return i},Y.$InnerText=function(t,e){if(void 0==e)return t.textContent||t.innerText;var n=document.createTextNode(e);Y.$Empty(t),t.appendChild(n)},Y.$InnerHtml=function(t,e){return void 0==e?t.innerHTML:void(t.innerHTML=e)},Y.$GetClientRect=function(t){var e=t.getBoundingClientRect();return{x:e.left,y:e.top,w:e.right-e.left,h:e.bottom-e.top}},Y.$ClearInnerHtml=function(t){t.innerHTML=""},Y.$EncodeHtml=function(t){var e=Y.$CreateDiv();return Y.$InnerText(e,t),Y.$InnerHtml(e)},Y.$DecodeHtml=function(t){var e=Y.$CreateDiv();return Y.$InnerHtml(e,t),Y.$InnerText(e)},Y.$SelectElement=function(t){var e;window.getSelection&&(e=window.getSelection());var n=null;document.createRange?(n=document.createRange(),n.selectNode(t)):(n=document.body.createTextRange(),n.moveToElementText(t),n.select()),e&&e.addRange(n)},Y.$DeselectElements=function(){document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()},Y.$Children=function(t,e){for(var n=[],i=t.firstChild;i;i=i.nextSibling)(e||1==i.nodeType)&&n.push(i);return n},Y.$FindChild=N,Y.$FindChildren=D,Y.$FindChildByTag=k,Y.$FindChildrenByTag=P,Y.$GetElementsByTag=function(t,e){return t.getElementsByTagName(e)},Y.$Extend=M,Y.$Unextend=_,Y.$IsFunction=function(t){return"function"==$(t)},Y.$IsArray=function(t){return"array"==$(t)},Y.$IsString=function(t){return"string"==$(t)},Y.$IsNumeric=function(t){return!isNaN(vt(t))&&isFinite(t)},Y.$Type=$,Y.$Each=h,Y.$IsNotEmpty=p,Y.$IsPlainObject=g,Y.$CreateElement=L,Y.$CreateDiv=function(){return L("DIV")},Y.$CreateSpan=function(){return L("SPAN")},Y.$EmptyFunction=function(){},Y.$Attribute=R,Y.$AttributeEx=j,Y.$ClassName=H,Y.$ToHash=F,Y.$Split=B,Y.$Join=q,Y.$AddClass=function(t,e){G(t,null,e)},Y.$RemoveClass=G,Y.$ReplaceClass=G,Y.$ParentNode=function(t){return t.parentNode},Y.$HideElement=function(t){Y.$CssDisplay(t,"none")},Y.$EnableElement=function(t,e){e?Y.$Attribute(t,"disabled",!0):Y.$RemoveAttribute(t,"disabled")},Y.$HideElements=function(t){for(var e=0;e<t.length;e++)Y.$HideElement(t[e])},Y.$ShowElement=function(t,e){Y.$CssDisplay(t,e?"none":"")},Y.$ShowElements=function(t,e){for(var n=0;n<t.length;n++)Y.$ShowElement(t[n],e)},Y.$RemoveAttribute=function(t,e){t.removeAttribute(e)},Y.$CanClearClip=function(){return n()&&at<10},Y.$SetStyleClip=function(t,e){if(e)t.style.clip="rect("+Math.round(e.$Top)+"px "+Math.round(e.$Right)+"px "+Math.round(e.$Bottom)+"px "+Math.round(e.$Left)+"px)";else{var n=t.style.cssText,i=[new RegExp(/[\s]*clip: rect\(.*?\)[;]?/i),new RegExp(/[\s]*cliptop: .*?[;]?/i),new RegExp(/[\s]*clipright: .*?[;]?/i),new RegExp(/[\s]*clipbottom: .*?[;]?/i),new RegExp(/[\s]*clipleft: .*?[;]?/i)],r=y(n,i,"");$Jssor$.$CssCssText(t,r)}},Y.$GetNow=function(){return(new Date).getTime()},Y.$AppendChild=function(t,e){t.appendChild(e)},Y.$AppendChildren=function(t,e){h(e,function(e){Y.$AppendChild(t,e)})},Y.$InsertBefore=function(t,e,n){(n||e.parentNode).insertBefore(t,e)},Y.$InsertAfter=function(t,e,n){Y.$InsertBefore(t,e.nextSibling,n||e.parentNode)},Y.$InsertAdjacentHtml=function(t,e,n){t.insertAdjacentHTML(e,n)},Y.$RemoveElement=function(t,e){(e||t.parentNode).removeChild(t)},Y.$RemoveElements=function(t,e){h(t,function(t){Y.$RemoveElement(t,e)})},Y.$Empty=function(t){Y.$RemoveElements(Y.$Children(t,!0),t)},Y.$ParseInt=function(t,e){return parseInt(t,e||10)};var vt=parseFloat;Y.$ParseFloat=vt,Y.$IsChild=function(t,e){for(var n=document.body;e&&t!==e&&n!==e;)try{e=e.parentNode}catch(i){return!1}return t===e},Y.$CloneNode=U,Y.$LoadImage=function(t,e){function n(t,o){Y.$RemoveEvent(r,"load",n),Y.$RemoveEvent(r,"abort",i),Y.$RemoveEvent(r,"error",i),e&&e(r,o)}function i(t){n(t,!0)}var r=new Image;a()&&at<11.6||!t?n(!t):(Y.$AddEvent(r,"load",n),Y.$AddEvent(r,"abort",i),Y.$AddEvent(r,"error",i),r.src=t)},Y.$LoadImages=function(t,e,n){function i(t,i){r--,e&&t&&t.src==e.src&&(e=t),!r&&n&&n(e)}var r=t.length+1;h(t,function(t){Y.$LoadImage(t.src,i)}),i()},Y.$BuildElement=function(t,e,n,i){i&&(t=U(t));var r=D(t,e);r.length||(r=$Jssor$.$GetElementsByTag(t,e));for(var o=r.length-1;o>-1;o--){var s=r[o],a=U(n);H(a,H(s)),$Jssor$.$CssCssText(a,s.style.cssText),$Jssor$.$InsertBefore(a,s),$Jssor$.$RemoveElement(s)}return t},Y.$Buttonize=function(t){return new z(t)},Y.$Css=C,Y.$CssN=T,Y.$CssP=S,Y.$CssOverflow=J("overflow"),Y.$CssTop=J("top",2),Y.$CssLeft=J("left",2),Y.$CssWidth=J("width",2),Y.$CssHeight=J("height",2),Y.$CssMarginLeft=J("marginLeft",2),Y.$CssMarginTop=J("marginTop",2),Y.$CssPosition=J("position"),Y.$CssDisplay=J("display"),Y.$CssZIndex=J("zIndex",1),Y.$CssFloat=function(t,e){return C(t,n()?"styleFloat":"cssFloat",e)},Y.$CssOpacity=function(t,e,n){return void 0==e?A(t):void I(t,e,n)},Y.$CssCssText=function(t,e){return void 0==e?t.style.cssText:void(t.style.cssText=e)};var mt,yt={$Opacity:Y.$CssOpacity,$Top:Y.$CssTop,$Left:Y.$CssLeft,$Width:Y.$CssWidth,$Height:Y.$CssHeight,$Position:Y.$CssPosition,$Display:Y.$CssDisplay,$ZIndex:Y.$CssZIndex};Y.$StyleSetter=V,Y.$StyleSetterEx=Q,Y.$GetStyles=function(t,e){V();var n={};return h(e,function(e,i){yt[i]&&(n[i]=yt[i](t))}),n},Y.$SetStyles=function(t,e){var n=V();h(e,function(e,i){n[i]&&n[i](t,e)})},Y.$SetStylesEx=function(t,e){Q(),Y.$SetStyles(t,e)};var bt=new function(){function t(t,e){for(var n=t[0].length,i=t.length,r=e[0].length,o=[],s=0;s<i;s++)for(var a=o[s]=[],l=0;l<r;l++){for(var u=0,c=0;c<n;c++)u+=t[s][c]*e[c][l];a[l]=u}return o}var e=this;e.$ScaleX=function(t,n){return e.$ScaleXY(t,n,0)},e.$ScaleY=function(t,n){return e.$ScaleXY(t,0,n)},e.$ScaleXY=function(e,n,i){return t(e,[[n,0],[0,i]])},e.$TransformPoint=function(e,n){var i=t(e,[[n.x],[n.y]]);return v(i[0][0],i[1][0])}};Y.$CreateMatrix=function(t,e,n){var i=Math.cos(t),r=Math.sin(t);return[[i*e,-r*n],[r*e,i*n]]},Y.$GetMatrixOffset=function(t,e,n){var i=bt.$TransformPoint(t,v(-e/2,-n/2)),r=bt.$TransformPoint(t,v(e/2,-n/2)),o=bt.$TransformPoint(t,v(e/2,n/2)),s=bt.$TransformPoint(t,v(-e/2,n/2));return v(Math.min(i.x,r.x,o.x,s.x)+e/2,Math.min(i.y,r.y,o.y,s.y)+n/2)},Y.$Cast=function(t,e,n,i,r,o,s){var a=e;if(t){a={};for(var l in e){var u=o[l]||1,c=r[l]||[0,1],d=(n-c[0])/c[1];d=Math.min(Math.max(d,0),1),d*=u;var f=Math.floor(d);d!=f&&(d-=f);var h,$=i[l]||i.$Default||$JssorEasing$.$EaseSwing,p=$(d),g=t[l],v=(e[l],e[l]);$Jssor$.$IsNumeric(v)?h=g+v*p:(h=$Jssor$.$Extend({$Offset:{}},t[l]),$Jssor$.$Each(v.$Offset,function(t,e){var n=t*p;h.$Offset[e]=n,h[e]+=n})),a[l]=h}(e.$Zoom||e.$Rotate)&&(a.$Transform={$Rotate:a.$Rotate||0,$Scale:a.$Zoom,$OriginalWidth:s.$OriginalWidth,$OriginalHeight:s.$OriginalHeight})}if(e.$Clip&&s.$Move){var m=a.$Clip.$Offset,y=(m.$Top||0)+(m.$Bottom||0),b=(m.$Left||0)+(m.$Right||0);a.$Left=(a.$Left||0)+b,a.$Top=(a.$Top||0)+y,a.$Clip.$Left-=b,a.$Clip.$Right-=b,a.$Clip.$Top-=y,a.$Clip.$Bottom-=y}return a.$Clip&&$Jssor$.$CanClearClip()&&!a.$Clip.$Top&&!a.$Clip.$Left&&a.$Clip.$Right==s.$OriginalWidth&&a.$Clip.$Bottom==s.$OriginalHeight&&(a.$Clip=null),a}},$JssorSlideshowFormations$=window.$JssorSlideshowFormations$=new function(){function t(t){return(t&u)==u}function e(t){return(t&c)==c}function n(t,e,n){n.push(e),t[e]=t[e]||[],t[e].push(n)}var i=this,r=0,o=1,s=2,a=3,l=1,u=2,c=4,d=8,f=256,h=512,$=1024,p=2048,g=p+l,v=p+u,m=h+l,y=h+u,b=f+c,E=f+d,x=$+c,w=$+d;i.$FormationStraight=function(t){var e,i,r=t.$Cols,o=t.$Rows,s=t.$Assembly,a=t.$Count,l=[],u=0,c=0,d=r-1,f=o-1,h=a-1;for(c=0;c<o;c++)for(u=0;u<r;u++){switch(e=c+","+u,s){case g:i=h-(u*o+(f-c));break;case x:i=h-(c*r+(d-u));break;case m:i=h-(u*o+c);case b:i=h-(c*r+u);break;case v:i=u*o+c;break;case E:i=c*r+(d-u);break;case y:i=u*o+(f-c);break;default:i=c*r+u}n(l,i,[c,u])}return l},i.$FormationSwirl=function(t){var e,i,l=t.$Cols,u=t.$Rows,c=t.$Assembly,d=t.$Count,f=[],h=[],$=0,p=0,w=0,C=l-1,T=u-1,S=0;switch(c){case g:p=C,w=0,i=[s,o,a,r];break;case x:p=0,w=T,i=[r,a,o,s];break;case m:p=C,w=T,i=[a,o,s,r];break;case b:p=C,w=T,i=[o,a,r,s];break;case v:p=0,w=0,i=[s,r,a,o];break;case E:p=C,w=0,i=[o,s,r,a];break;case y:p=0,w=T,i=[a,r,s,o];break;default:p=0,w=0,i=[r,s,o,a]}for($=0;$<d;){if(e=w+","+p,p>=0&&p<l&&w>=0&&w<u&&!h[e])h[e]=!0,n(f,$++,[w,p]);else switch(i[S++%i.length]){case r:p--;break;case s:w--;break;case o:p++;break;case a:w++}switch(i[S%i.length]){case r:p++;break;case s:w++;break;case o:p--;break;case a:w--}}return f},i.$FormationZigZag=function(t){var e,i,l=t.$Cols,u=t.$Rows,c=t.$Assembly,d=t.$Count,f=[],h=0,$=0,p=0,w=l-1,C=u-1,T=0;switch(c){case g:$=w,p=0,i=[s,o,a,o];break;case x:$=0,p=C,i=[r,a,o,a];break;case m:$=w,p=C,i=[a,o,s,o];break;case b:$=w,p=C,i=[o,a,r,a];break;case v:$=0,p=0,i=[s,r,a,r];break;case E:$=w,p=0,i=[o,s,r,s];break;case y:$=0,p=C,i=[a,r,s,r];break;default:$=0,p=0,i=[r,s,o,s]}for(h=0;h<d;)if(e=p+","+$,$>=0&&$<l&&p>=0&&p<u&&"undefined"==typeof f[e])switch(n(f,h++,[p,$]),i[T%i.length]){case r:$++;break;case s:p++;break;case o:$--;break;case a:p--}else{switch(i[T++%i.length]){case r:$--;break;case s:p--;break;case o:$++;break;case a:p++}switch(i[T++%i.length]){case r:$++;break;case s:p++;break;case o:$--;break;case a:p--}}return f},i.$FormationStraightStairs=function(i){var r,o=i.$Cols,s=i.$Rows,a=i.$Assembly,l=i.$Count,u=[],c=0,d=0,f=0,h=o-1,$=s-1,p=l-1;switch(a){case g:case y:case m:case v:var C=0,T=0;break;case E:case x:case b:case w:var C=h,T=0;break;default:a=w;var C=h,T=0}for(d=C,f=T;c<l;){switch(r=f+","+d,e(a)||t(a)?n(u,p-c++,[f,d]):n(u,c++,[f,d]),a){case g:case y:d--,f++;break;case m:case v:d++,f--;break;case E:case x:d--,f--;break;case w:case b:default:d++,f++}if(d<0||f<0||d>h||f>$){switch(a){case g:case y:C++;break;case E:case x:case m:case v:T++;break;case w:case b:default:C--}if(C<0||T<0||C>h||T>$){switch(a){case g:case y:C=h,T++;break;case m:case v:T=$,C++;break;case E:case x:T=$,C--;break;case w:case b:default:C=0,T++}T>$?T=$:T<0?T=0:C>h?C=h:C<0&&(C=0)}f=T,d=C}}return u},i.$FormationSquare=function(t){var e,i,r,o,s,a=t.$Cols||1,l=t.$Rows||1,u=[];for(r=a<l?(l-a)/2:0,o=a>l?(a-l)/2:0,s=Math.round(Math.max(a/2,l/2))+1,e=0;e<a;e++)for(i=0;i<l;i++)n(u,s-Math.min(e+1+r,i+1+o,a-e+r,l-i+o),[i,e]);return u},i.$FormationRectangle=function(t){var e,i,r,o=t.$Cols||1,s=t.$Rows||1,a=[];for(r=Math.round(Math.min(o/2,s/2))+1,e=0;e<o;e++)for(i=0;i<s;i++)n(a,r-Math.min(e+1,i+1,o-e,s-i),[i,e]);return a},i.$FormationRandom=function(t){var e,i,r=[];for(e=0;e<t.$Rows;e++)for(i=0;i<t.$Cols;i++)n(r,Math.ceil(1e5*Math.random())%13,[e,i]);return r},i.$FormationCircle=function(t){var e,i,r=t.$Cols||1,o=t.$Rows||1,s=[],a=r/2-.5,l=o/2-.5;for(e=0;e<r;e++)for(i=0;i<o;i++)n(s,Math.round(Math.sqrt(Math.pow(e-a,2)+Math.pow(i-l,2))),[i,e]);return s},i.$FormationCross=function(t){var e,i,r=t.$Cols||1,o=t.$Rows||1,s=[],a=r/2-.5,l=o/2-.5;for(e=0;e<r;e++)for(i=0;i<o;i++)n(s,Math.round(Math.min(Math.abs(e-a),Math.abs(i-l))),[i,e]);return s},i.$FormationRectangleCross=function(t){var e,i,r=t.$Cols||1,o=t.$Rows||1,s=[],a=r/2-.5,l=o/2-.5,u=Math.max(a,l)+1;for(e=0;e<r;e++)for(i=0;i<o;i++)n(s,Math.round(u-Math.max(a-Math.abs(e-a),l-Math.abs(i-l)))-1,[i,e]);return s}},$JssorSlideshowRunner$=window.$JssorSlideshowRunner$=function(t,e,n,i,r){function o(t,e){var n={$Interval:e,$Duration:1,$Delay:0,$Cols:1,$Rows:1,$Opacity:0,$Zoom:0,$Clip:0,$Move:!1,$SlideOut:!1,$Reverse:!1,$Formation:$JssorSlideshowFormations$.$FormationRandom,$Assembly:1032,$ChessMode:{$Column:0,$Row:0},$Easing:$JssorEasing$.$EaseSwing,$Round:{},$Blocks:[],$During:{}};return $Jssor$.$Extend(n,t),n.$Count=n.$Cols*n.$Rows,$Jssor$.$IsFunction(n.$Easing)&&(n.$Easing={$Default:n.$Easing}),n.$FramesCount=Math.ceil(n.$Duration/n.$Interval),n.$GetBlocks=function(t,e){t/=n.$Cols,e/=n.$Rows;var i=t+"x"+e;if(!n.$Blocks[i]){n.$Blocks[i]={$Width:t,$Height:e};for(var r=0;r<n.$Cols;r++)for(var o=0;o<n.$Rows;o++)n.$Blocks[i][o+","+r]={$Top:o*e,$Right:r*t+t,$Bottom:o*e+e,$Left:r*t}}return n.$Blocks[i]},n.$Brother&&(n.$Brother=o(n.$Brother,e),n.$SlideOut=!0),n}function s(t,e,n,i,r,o){function s(t){var e=t.$Formation(t);return t.$Reverse?e.reverse():e}var a,l,u,c,d,f=this,h={},$={},p=[],g=n.$ChessMode.$Column||0,v=n.$ChessMode.$Row||0,m=n.$GetBlocks(r,o),y=s(n),b=y.length-1,E=n.$Duration+n.$Delay*b,x=i+E,w=n.$SlideOut;if(x+=50,f.$EndTime=x,f.$ShowFrame=function(t){t-=i;var e=t<E;if(e||d){d=e,w||(t=E-t);var r=Math.ceil(t/n.$Interval);$Jssor$.$Each($,function(t,e){var n=Math.max(r,t.$Min);n=Math.min(n,t.length-1),t.$LastFrameIndex!=n&&(t.$LastFrameIndex||w?n==t.$Max&&w&&$Jssor$.$HideElement(p[e]):$Jssor$.$ShowElement(p[e]),t.$LastFrameIndex=n,$Jssor$.$SetStylesEx(p[e],t[n]))})}},e=$Jssor$.$CloneNode(e),$Jssor$.$IsBrowserIe9Earlier()){var C=!e["no-image"],T=$Jssor$.$FindChildrenByTag(e);$Jssor$.$Each(T,function(t){(C||t["jssor-slider"])&&$Jssor$.$CssOpacity(t,$Jssor$.$CssOpacity(t),!0)})}$Jssor$.$Each(y,function(t,e){$Jssor$.$Each(t,function(t){var i=t[0],s=t[1],d=i+","+s,f=!1,p=!1,y=!1;g&&s%2&&(3&g&&(f=!f),12&g&&(p=!p),16&g&&(y=!y)),v&&i%2&&(3&v&&(f=!f),12&v&&(p=!p),16&v&&(y=!y)),n.$Top=n.$Top||4&n.$Clip,n.$Bottom=n.$Bottom||8&n.$Clip,n.$Left=n.$Left||1&n.$Clip,n.$Right=n.$Right||2&n.$Clip;var b=p?n.$Bottom:n.$Top,E=p?n.$Top:n.$Bottom,x=f?n.$Right:n.$Left,C=f?n.$Left:n.$Right;n.$Clip=b||E||x||C,c={},u={$Top:0,$Left:0,$Opacity:1,$Width:r,$Height:o},l=$Jssor$.$Extend({},u),a=$Jssor$.$Extend({},m[d]),n.$Opacity&&(u.$Opacity=2-n.$Opacity),n.$ZIndex&&(u.$ZIndex=n.$ZIndex,l.$ZIndex=0);var T=n.$Cols*n.$Rows>1||n.$Clip;if(n.$Zoom||n.$Rotate){var S=!0;if($Jssor$.$IsBrowserIe9Earlier()&&(n.$Cols*n.$Rows>1?S=!1:T=!1),S){u.$Zoom=n.$Zoom?n.$Zoom-1:1,l.$Zoom=1,($Jssor$.$IsBrowserIe9Earlier()||$Jssor$.$IsBrowserOpera())&&(u.$Zoom=Math.min(u.$Zoom,2));var J=n.$Rotate;u.$Rotate=360*J*(y?-1:1),l.$Rotate=0}}if(T){if(n.$Clip){var A=n.$ScaleClip||1,I=a.$Offset={};b&&E?(I.$Top=m.$Height/2*A,I.$Bottom=-I.$Top):b?I.$Bottom=-m.$Height*A:E&&(I.$Top=m.$Height*A),x&&C?(I.$Left=m.$Width/2*A,I.$Right=-I.$Left):x?I.$Right=-m.$Width*A:C&&(I.$Left=m.$Width*A)}c.$Clip=a,l.$Clip=m[d]}var O=f?1:-1,N=p?1:-1;n.x&&(u.$Left+=r*n.x*O),n.y&&(u.$Top+=o*n.y*N),$Jssor$.$Each(u,function(t,e){$Jssor$.$IsNumeric(t)&&t!=l[e]&&(c[e]=t-l[e])}),h[d]=w?l:u;var D=n.$FramesCount,k=Math.round(e*n.$Delay/n.$Interval);$[d]=new Array(k),$[d].$Min=k,$[d].$Max=k+D-1;for(var P=0;P<=D;P++){var M=$Jssor$.$Cast(l,c,P/D,n.$Easing,n.$During,n.$Round,{$Move:n.$Move,$OriginalWidth:r,$OriginalHeight:o});M.$ZIndex=M.$ZIndex||1,$[d].push(M)}})}),y.reverse(),$Jssor$.$Each(y,function(n){$Jssor$.$Each(n,function(n){var i=n[0],r=n[1],o=i+","+r,s=e;(r||i)&&(s=$Jssor$.$CloneNode(e)),$Jssor$.$SetStyles(s,h[o]),$Jssor$.$CssOverflow(s,"hidden"),$Jssor$.$CssPosition(s,"absolute"),t.$AddClipElement(s),p[o]=s,$Jssor$.$ShowElement(s,!w)})})}function a(){var t=this,e=0;$JssorAnimator$.call(t,0,l),t.$OnPositionChange=function(t,n){n-e>v&&(e=n,c&&c.$ShowFrame(n),u&&u.$ShowFrame(n))},t.$Transition=h}var l,u,c,d,f,h,$=this,p=0,g=i.$TransitionsOrder,v=8;$.$GetTransition=function(t){var e=0,n=i.$Transitions,r=n.length;return e=g?p++%r:Math.floor(Math.random()*r),n[e]&&(n[e].$Index=e),n[e]},$.$Initialize=function(i,r,a,p,g){$JssorDebug$.$Execute(function(){u&&$JssorDebug$.$Fail("slideshow runner has not been cleared.")}),h=g,g=o(g,v),f=a,d=p;var m=p.$Item,y=a.$Item;m["no-image"]=!p.$Image,y["no-image"]=!a.$Image;var b=m,E=y,x=g,w=g.$Brother||o({},v);g.$SlideOut||(b=y,E=m);var C=w.$Shift||0;u=new s(t,E,w,Math.max(C-w.$Interval,0),e,n),c=new s(t,b,x,Math.max(w.$Interval-C,0),e,n),u.$ShowFrame(0),c.$ShowFrame(0),l=Math.max(u.$EndTime,c.$EndTime),$.$Index=i},$.$Clear=function(){t.$Clear(),u=null,c=null},$.$GetProcessor=function(){var t=null;return c&&(t=new a),t},($Jssor$.$IsBrowserIe9Earlier()||$Jssor$.$IsBrowserOpera()||r&&$Jssor$.$WebKitVersion()<537)&&(v=16),$JssorObject$.call($),$JssorAnimator$.call($,-1e7,1e7)},$JssorSlider$=window.$JssorSlider$=function(t,e){function n(){var t=this;$JssorAnimator$.call(t,-1e8,2e8),t.$GetCurrentSlideInfo=function(){var e=t.$GetPosition_Display(),n=Math.floor(e),i=T(n),r=e-Math.floor(e);return{$Index:i,$VirtualIndex:n,$Position:r}},t.$OnPositionChange=function(t,e){var n=Math.floor(e);n!=e&&e>t&&n++,E(n,!0),_.$TriggerEvent($JssorSlider$.$EVT_POSITION_CHANGE,T(e),T(t),e,t)}}function i(){var t=this;$JssorAnimator$.call(t,0,0,{$LoopLength:Rt}),$Jssor$.$Each(ce,function(e){1&Zt&&e.$SetLoopLength(Rt),t.$Chain(e),e.$Shift(xt/qt)})}function r(){var t=this,e=ee.$Elmt;$JssorAnimator$.call(t,-1,2,{$Easing:$JssorEasing$.$EaseLinear,$Setter:{$Position:u},$LoopLength:Rt},e,{$Position:1},{$Position:-2}),t.$Wrapper=e,$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(ee.$Elmt,"debug-id","slide_container")})}function o(t,e){var i,r,o,s,a,l=this;$JssorAnimator$.call(l,-1e8,2e8,{$IntervalMax:100}),l.$OnStart=function(){Tt=!0,Jt=null,_.$TriggerEvent($JssorSlider$.$EVT_SWIPE_START,T(Dt.$GetPosition()),Dt.$GetPosition())},l.$OnStop=function(){Tt=!1,s=!1;var t=Dt.$GetCurrentSlideInfo();_.$TriggerEvent($JssorSlider$.$EVT_SWIPE_END,T(Dt.$GetPosition()),Dt.$GetPosition()),t.$Position||b(t.$VirtualIndex,Lt)},l.$OnPositionChange=function(t,e){var n;if(s)n=a;else if(n=r,o){var l=e/o;n=j.$SlideEasing(l)*(r-i)+i}Dt.$GoToPosition(n)},l.$PlayCarousel=function(t,e,n,s){$JssorDebug$.$Execute(function(){l.$IsPlaying()&&$JssorDebug$.$Fail("The carousel is already playing.")}),i=t,r=e,o=n,Dt.$GoToPosition(t),l.$GoToPosition(0),l.$PlayToPosition(n,s)},l.$StandBy=function(t){s=!0,a=t,l.$Play(t,null,!0)},l.$SetStandByPosition=function(t){a=t},l.$MoveCarouselTo=function(t){Dt.$GoToPosition(t)},Dt=new n,Dt.$Combine(t),Dt.$Combine(e)}function s(){var t=this,e=C();$Jssor$.$CssZIndex(e,0),$Jssor$.$Css(e,"pointerEvents","none"),t.$Elmt=e,t.$AddClipElement=function(t){$Jssor$.$AppendChild(e,t),$Jssor$.$ShowElement(e)},t.$Clear=function(){$Jssor$.$HideElement(e),$Jssor$.$Empty(e)}}function a(t,e){function n(e){g&&g.$Revert(),p&&p.$Revert(),$(t,e),S=!0,p=new W.$Class(t,W,1),$JssorDebug$.$LiveStamp(p,"caption_slider_"+R+"_in"),g=new W.$Class(t,W),$JssorDebug$.$LiveStamp(g,"caption_slider_"+R+"_out"),$JssorDebug$.$Execute(function(){R++}),g.$GoToPosition(0),p.$GoToPosition(0)}function i(){p.$Version<W.$Version&&n()}function r(t,n,i){if(!w&&(w=!0,y&&i)){var r=i.width,o=i.height,s=r,a=o;if(r&&o&&j.$FillMode){if(3&j.$FillMode&&(!(4&j.$FillMode)||r>jt||o>Ht)){var l=!1,u=jt/Ht*o/r;1&j.$FillMode?l=u>1:2&j.$FillMode&&(l=u<1),s=l?r*Ht/o:jt,a=l?Ht:o*jt/r}$Jssor$.$CssWidth(y,s),$Jssor$.$CssHeight(y,a),$Jssor$.$CssTop(y,(Ht-a)/2),$Jssor$.$CssLeft(y,(jt-s)/2)}$Jssor$.$CssPosition(y,"absolute"),_.$TriggerEvent($JssorSlider$.$EVT_LOAD_END,e)}$Jssor$.$HideElement(n),t&&t(N)}function o(t,n,i,r){if(r==Jt&&Lt==e&&yt&&!mt){var o=T(t);ne.$Initialize(o,e,n,N,i),n.$HideContentForSlideshow(),kt.$Locate(o,1),kt.$GoToPosition(o),Pt.$PlayCarousel(t,t,0)}}function s(n){if(n==Jt&&Lt==e){if(!J){var r=null;ne&&(ne.$Index==e?r=ne.$GetProcessor():ne.$Clear()),i(),J=new l(t,e,r,N.$GetCaptionSliderIn(),N.$GetCaptionSliderOut()),J.$SetPlayer(I)}!J.$IsPlaying()&&J.$Replay()}}function a(t,n,i){if(t==e){t!=n?ce[n]&&ce[n].$ParkOut():!i&&J&&J.$AdjustIdleOnPark(),
  I&&I.$Enable();var r=Jt=$Jssor$.$GetNow();N.$LoadImage($Jssor$.$CreateCallback(null,s,r))}else{var o=Math.abs(e-t),a=Gt+j.$LazyLoading-1;(!C||o<=a)&&N.$LoadImage()}}function c(){Lt==e&&J&&(J.$Stop(),I&&I.$Quit(),I&&I.$Disable(),J.$OpenSlideshowPanel())}function d(){Lt==e&&J&&J.$Stop()}function f(t){Ct||_.$TriggerEvent($JssorSlider$.$EVT_CLICK,e,t)}function h(){I=A.pInstance,J&&J.$SetPlayer(I)}function $(t,e,n){if($JssorDebug$.$Execute(function(){$Jssor$.$Attribute(t,"jssor-slider")&&$JssorDebug$.$Log("Child slider found.")}),!$Jssor$.$Attribute(t,"jssor-slider")){n=n||0,S||("IMG"==t.tagName&&(k.push(t),$Jssor$.$Attribute(t,"src")||(C=!0,t["display-origin"]=$Jssor$.$CssDisplay(t),$Jssor$.$HideElement(t))),$Jssor$.$IsBrowserIe9Earlier()&&$Jssor$.$CssZIndex(t,($Jssor$.$CssZIndex(t)||0)+1),j.$HWA&&$Jssor$.$WebKitVersion()&&($Jssor$.$WebKitVersion()<534||!Et&&!$Jssor$.$IsBrowserChrome())&&$Jssor$.$EnableHWA(t));var i=$Jssor$.$Children(t);$Jssor$.$Each(i,function(i,r){var o=i.tagName,s=$Jssor$.$AttributeEx(i,"u");if("player"!=s||A||(A=i,A.pInstance?h():$Jssor$.$AddEvent(A,"dataavailable",h)),"caption"==s){if(!$Jssor$.$IsBrowserIE()&&!e){var a=$Jssor$.$CloneNode(i,!1,!0);$Jssor$.$InsertBefore(a,i,t),$Jssor$.$RemoveElement(i,t),i=a,e=!0}}else S||n||y||("A"==o?("image"==$Jssor$.$AttributeEx(i,"u")?(y=$Jssor$.$FindChildByTag(i,"IMG"),$JssorDebug$.$Execute(function(){y||$JssorDebug$.$Error("slide html code definition error, no 'IMG' found in a 'image with link' slide.\r\n"+t.outerHTML)})):y=$Jssor$.$FindChild(i,"image",!0),y&&(b=i,$Jssor$.$SetStyles(b,it),E=$Jssor$.$CloneNode(b,!0),$Jssor$.$CssDisplay(E,"block"),$Jssor$.$SetStyles(E,it),$Jssor$.$CssOpacity(E,0),$Jssor$.$Css(E,"backgroundColor","#000"))):"IMG"==o&&"image"==$Jssor$.$AttributeEx(i,"u")&&(y=i),y&&(y.border=0,$Jssor$.$SetStyles(y,it)));$(i,e,n+1)})}}var p,g,v,m,y,b,E,x,w,C,S,J,A,I,O,N=this,k=[];$JssorAnimator$.call(N,-Gt,Gt+1,{$SlideItemAnimator:!0}),N.$LoadImage=function(t,n){n=n||m,k.length&&!w?($Jssor$.$ShowElement(n),x||(x=!0,_.$TriggerEvent($JssorSlider$.$EVT_LOAD_START,e),$Jssor$.$Each(k,function(t){$Jssor$.$Attribute(t,"src")||(t.src=$Jssor$.$AttributeEx(t,"src2"),$Jssor$.$CssDisplay(t,t["display-origin"]))})),$Jssor$.$LoadImages(k,y,$Jssor$.$CreateCallback(null,r,t,n))):r(t,n)},N.$GoForNextSlide=function(){var t=e;j.$AutoPlaySteps<0&&(t-=Rt);var n=t+j.$AutoPlaySteps*F;if(2&Zt&&(n=T(n)),1&Zt||(n=Math.max(0,Math.min(n,Rt-Gt))),n!=e){if(ne){var i=ne.$GetTransition(Rt);if(i){var r=Jt=$Jssor$.$GetNow(),s=ce[T(n)];return s.$LoadImage($Jssor$.$CreateCallback(null,o,n,s,i,r),m)}}D(n)}},N.$TryActivate=function(){a(e,e,!0)},N.$ParkOut=function(){I&&I.$Quit(),I&&I.$Disable(),N.$UnhideContentForSlideshow(),J&&J.$Abort(),J=null,n()},N.$StampSlideItemElements=function(e){e=O+"_"+e,$JssorDebug$.$Execute(function(){y&&$Jssor$.$Attribute(y,"debug-id",e+"_slide_item_image_id"),$Jssor$.$Attribute(t,"debug-id",e+"_slide_item_item_id")}),$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(v,"debug-id",e+"_slide_item_wrapper_id")}),$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(m,"debug-id",e+"_loading_container_id")})},N.$HideContentForSlideshow=function(){$Jssor$.$HideElement(t)},N.$UnhideContentForSlideshow=function(){$Jssor$.$ShowElement(t)},N.$EnablePlayer=function(){I&&I.$Enable()},N.$OnInnerOffsetChange=function(t,e){var n=Gt-e;u(v,n)},N.$GetCaptionSliderIn=function(){return p},N.$GetCaptionSliderOut=function(){return g},N.$Index=e,$JssorObject$.call(N);var P=$Jssor$.$FindChild(t,"thumb",!0);P&&(N.$Thumb=$Jssor$.$CloneNode(P),$Jssor$.$RemoveAttribute(P,"id"),$Jssor$.$HideElement(P)),$Jssor$.$ShowElement(t),m=$Jssor$.$CloneNode(X),$Jssor$.$CssZIndex(m,1e3),$Jssor$.$AddEvent(t,"click",f),n(!0),N.$Image=y,N.$Link=E,N.$Item=t,N.$Wrapper=v=t,$Jssor$.$AppendChild(v,m),_.$On(203,a),_.$On(28,d),_.$On(24,c),$JssorDebug$.$Execute(function(){O=_t++}),$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(v,"debug-id","slide-"+e)})}function l(t,e,n,i,r){function o(){$Jssor$.$Empty(ie),vt&&h&&b.$Link&&$Jssor$.$AppendChild(ie,b.$Link),$Jssor$.$ShowElement(ie,!h&&b.$Image)}function s(){$&&($=!1,_.$TriggerEvent($JssorSlider$.$EVT_ROLLBACK_END,e,d,m,c,d,f),v.$GoToPosition(c)),v.$Replay()}function a(t){g=t,v.$Stop(),v.$Replay()}var l,u,c,d,f,h,$,p,g,v=this,m=0,y=0,b=ce[e];$JssorAnimator$.call(v,0,0),v.$Replay=function(){var t=v.$GetPosition_Display();if(!St&&!Tt&&!g&&Lt==e){t||(l&&!h&&(h=!0,v.$OpenSlideshowPanel(!0),_.$TriggerEvent($JssorSlider$.$EVT_SLIDESHOW_START,e,m,y,l,f)),o());var n,i=$JssorSlider$.$EVT_STATE_CHANGE;t!=f&&(t==d?n=f:t==c?n=d:t?t>d?($=!0,n=d,i=$JssorSlider$.$EVT_ROLLBACK_START):n=v.$GetPlayToPosition():n=c),_.$TriggerEvent(i,e,t,m,c,d,f);var r=yt&&(!zt||Kt);t==f?(d!=f&&!(12&zt)||r)&&b.$GoForNextSlide():(r||t!=d)&&v.$PlayToPosition(n,s)}},v.$AdjustIdleOnPark=function(){d==f&&d==v.$GetPosition_Display()&&v.$GoToPosition(c)},v.$Abort=function(){ne&&ne.$Index==e&&ne.$Clear();var t=v.$GetPosition_Display();t<f&&_.$TriggerEvent($JssorSlider$.$EVT_STATE_CHANGE,e,-t-1,m,c,d,f)},v.$OpenSlideshowPanel=function(t){n&&$Jssor$.$CssOverflow(ct,t&&n.$Transition.$Outside?"":"hidden")},v.$OnInnerOffsetChange=function(t,n){h&&n>=l&&(h=!1,o(),b.$UnhideContentForSlideshow(),ne.$Clear(),_.$TriggerEvent($JssorSlider$.$EVT_SLIDESHOW_END,e,m,y,l,f)),_.$TriggerEvent($JssorSlider$.$EVT_PROGRESS_CHANGE,e,n,m,c,d,f)},v.$SetPlayer=function(t){t&&!p&&(p=t,t.$On($JssorPlayer$.$EVT_SWITCH,a))},n&&v.$Chain(n),l=v.$GetPosition_OuterEnd(),u=v.$GetPosition_OuterEnd(),v.$Chain(i),c=i.$GetPosition_OuterEnd(),d=c+($Jssor$.$ParseFloat($Jssor$.$AttributeEx(t,"idle"))||Vt),r.$Shift(d),v.$Combine(r),f=v.$GetPosition_OuterEnd()}function u(t,e){var n=dt>0?dt:H,i=Bt*e*(1&n),r=Wt*e*(n>>1&1);i=Math.round(i),r=Math.round(r),$Jssor$.$CssLeft(t,i),$Jssor$.$CssTop(t,r)}function c(){se=Tt,ae=Pt.$GetPlayToPosition(),oe=Dt.$GetPosition()}function d(){c(),(St||!Kt&&12&zt)&&(Pt.$Stop(),_.$TriggerEvent($JssorSlider$.$EVT_FREEZE))}function f(t){if(!St&&(Kt||!(12&zt))&&!Pt.$IsPlaying()){var e=Dt.$GetPosition(),n=Math.ceil(oe);t&&Math.abs(At)>=j.$MinDragOffsetToSlide&&(n=Math.ceil(e),n+=Ot),1&Zt||(n=Math.min(Rt-Gt,Math.max(n,0)));var i=Math.abs(n-e);i=1-Math.pow(1-i,5),!Ct&&se?Pt.$Continue(ae):e==n?(ut.$EnablePlayer(),ut.$TryActivate()):Pt.$PlayCarousel(e,n,i*Qt)}}function h(t){$Jssor$.$AttributeEx($Jssor$.$EvtSrc(t),"nodrag")||$Jssor$.$CancelEvent(t)}function $(t){p(t,1)}function p(t,e){t=$Jssor$.$GetEvent(t);var n=$Jssor$.$EvtSrc(t);if(!ft&&!$Jssor$.$AttributeEx(n,"nodrag")&&x()&&(!e||1==t.touches.length)){if(St=!0,ht=!1,Jt=null,$Jssor$.$AddEvent(document,e?"touchmove":"mousemove",g),re=$Jssor$.$GetNow()-50,Ct=0,d(),se||(dt=0),e){var i=t.touches[0];Yt=i.clientX,te=i.clientY}else{var r=$Jssor$.$MousePosition(t);Yt=r.x,te=r.y}At=0,It=0,Ot=0,_.$TriggerEvent($JssorSlider$.$EVT_DRAG_START,T(oe),oe,t)}}function g(t){if(St){t=$Jssor$.$GetEvent(t);var e;if("mousemove"!=t.type){var n=t.touches[0];e={x:n.clientX,y:n.clientY}}else e=$Jssor$.$MousePosition(t);if(e){var i=e.x-Yt,r=e.y-te;if(Math.floor(oe)!=oe&&(dt=dt||H&ft),!i&&!r||dt||(dt=3==ft?Math.abs(r)>Math.abs(i)?2:1:ft,fe&&1==dt&&Math.abs(r)-Math.abs(i)>3&&(ht=!0)),dt){var o=r,s=Wt;if(1==dt&&(o=i,s=Bt),!(1&Zt)){if(o>0){var a=s*Lt,l=o-a;l>0&&(o=a+5*Math.sqrt(l))}if(o<0){var a=s*(Rt-Gt-Lt),l=-o-a;l>0&&(o=-a-5*Math.sqrt(l))}}At-It<-2?Ot=0:At-It>2&&(Ot=-1),It=At,At=o,le=oe-At/s/(Mt||1),At&&dt&&!ht&&($Jssor$.$CancelEvent(t),Tt?Pt.$SetStandByPosition(le):Pt.$StandBy(le))}}}}function v(){if(w(),St){St=!1,re=$Jssor$.$GetNow(),$Jssor$.$RemoveEvent(document,"mousemove",g),$Jssor$.$RemoveEvent(document,"touchmove",g),Ct=At,Pt.$Stop();var t=Dt.$GetPosition();_.$TriggerEvent($JssorSlider$.$EVT_DRAG_END,T(t),t,T(oe),oe),12&zt&&c(),f(!0)}}function m(t){if(Ct){$Jssor$.$StopEvent(t);for(var e=$Jssor$.$EvtSrc(t);e&&Q!==e;){"A"==e.tagName&&$Jssor$.$CancelEvent(t);try{e=e.parentNode}catch(n){break}}}}function y(t){return lt=ce[Lt],st=Lt,Lt=T(t),ut=ce[Lt],E(t),Lt}function b(t,e){dt=0,y(t),_.$TriggerEvent($JssorSlider$.$EVT_PARK,T(t),e)}function E(t,e){at=t,$Jssor$.$Each(Ut,function(n){n.$SetCurrentIndex(T(t),t,e)})}function x(){var t=$JssorSlider$.$DragRegistry||0,e=wt;return fe&&1&e&&(e&=1),$JssorSlider$.$DragRegistry|=e,ft=e&~t}function w(){ft&&($JssorSlider$.$DragRegistry&=~wt,ft=0)}function C(){var t=$Jssor$.$CreateDiv();return $Jssor$.$SetStyles(t,it),$Jssor$.$CssPosition(t,"absolute"),t}function T(t){return(t%Rt+Rt)%Rt}function S(t,e){var n=t;e?Zt?2&Zt&&(n=T(n+at),e=!1):(n=Math.min(Math.max(n+at,0),Rt-Gt),e=!1):Zt&&(n=_.$GetVirtualIndex(n)),D(n,j.$SlideDuration,e)}function J(){$Jssor$.$Each(Ut,function(t){t.$Show(t.$Options.$ChanceToShow<=Kt)})}function A(){Kt||(Kt=1,J(),St||(12&zt&&f(),3&zt&&ce[Lt].$TryActivate()))}function I(){Kt&&(Kt=0,J(),St||!(12&zt)||d())}function O(){it={$Width:jt,$Height:Ht,$Top:0,$Left:0},$Jssor$.$Each(rt,function(t,e){$Jssor$.$SetStyles(t,it),$Jssor$.$CssPosition(t,"absolute"),$Jssor$.$CssOverflow(t,"hidden"),$Jssor$.$HideElement(t)}),$Jssor$.$SetStyles(X,it)}function N(t,e){D(t,e,!0)}function D(t,e,n){if(Xt&&(!St&&(Kt||!(12&zt))||j.$NaviQuitDrag)){Tt=!0,St=!1,Pt.$Stop(),void 0==e&&(e=Qt);var i=Nt.$GetPosition_Display(),r=t;n&&(r=i+t,r=t>0?Math.ceil(r):Math.floor(r)),2&Zt&&(r=T(r)),1&Zt||(r=Math.max(0,Math.min(r,Rt-Gt)));var o=(r-i)%Rt;r=i+o;var s=i==r?0:e*Math.abs(o);s=Math.min(s,e*Gt*1.5),Pt.$PlayCarousel(i,r,s||1)}}function k(){return $Jssor$.$CssWidth(z||t)}function P(){return $Jssor$.$CssHeight(z||t)}function M(e,n){if(void 0==e)return $Jssor$.$CssWidth(t);if(!z){$JssorDebug$.$Execute(function(){var e=$Jssor$.$Css(t,"width"),n=$Jssor$.$Css(t,"height"),i=$Jssor$.$CssP(t,"width"),r=$Jssor$.$CssP(t,"height");e&&e.indexOf("px")!=-1||$JssorDebug$.$Fail("Cannot scale jssor slider, 'width' of 'outer container' not specified. Please specify 'width' in pixel. e.g. 'width: 600px;'"),n&&n.indexOf("px")!=-1||$JssorDebug$.$Fail("Cannot scale jssor slider, 'height' of 'outer container' not specified. Please specify 'height' in pixel. e.g. 'height: 300px;'"),e.indexOf("%")!=-1&&$JssorDebug$.$Fail("Cannot scale jssor slider, 'width' of 'outer container' not valid. Please specify 'width' in pixel. e.g. 'width: 600px;'"),n.indexOf("%")!=-1&&$JssorDebug$.$Fail("Cannot scale jssor slider, 'height' of 'outer container' not valid. Please specify 'height' in pixel. e.g. 'height: 300px;'"),i||$JssorDebug$.$Fail("Cannot scale jssor slider, 'width' of 'outer container' not valid. 'width' of 'outer container' should be positive number. e.g. 'width: 600px;'"),r||$JssorDebug$.$Fail("Cannot scale jssor slider, 'height' of 'outer container' not valid. 'height' of 'outer container' should be positive number. e.g. 'height: 300px;'")});var i=$Jssor$.$CreateDiv(document);$Jssor$.$ClassName(i,$Jssor$.$ClassName(t)),$Jssor$.$CssCssText(i,$Jssor$.$CssCssText(t)),$Jssor$.$CssDisplay(i,"block"),$Jssor$.$CssPosition(i,"relative"),$Jssor$.$CssTop(i,0),$Jssor$.$CssLeft(i,0),$Jssor$.$CssOverflow(i,"visible"),z=$Jssor$.$CreateDiv(document),$Jssor$.$CssPosition(z,"absolute"),$Jssor$.$CssTop(z,0),$Jssor$.$CssLeft(z,0),$Jssor$.$CssWidth(z,$Jssor$.$CssWidth(t)),$Jssor$.$CssHeight(z,$Jssor$.$CssHeight(t)),$Jssor$.$SetStyleTransformOrigin(z,"0 0"),$Jssor$.$AppendChild(z,i);var r=$Jssor$.$Children(t);$Jssor$.$AppendChild(t,z),$Jssor$.$Css(t,"backgroundImage",""),$Jssor$.$Each(r,function(e){$Jssor$.$AppendChild($Jssor$.$AttributeEx(e,"noscale")?t:i,e)})}$JssorDebug$.$Execute(function(){(!e||e<0)&&$JssorDebug$.$Fail("'$ScaleWidth' error, 'dimension' should be positive value.")}),$JssorDebug$.$Execute(function(){L||(L=_.$Elmt.scrollWidth)}),Mt=e/(n?$Jssor$.$CssHeight:$Jssor$.$CssWidth)(z),$Jssor$.$CssScale(z,Mt);var o=n?Mt*k():e,s=n?e:Mt*P();$Jssor$.$CssWidth(t,o),$Jssor$.$CssHeight(t,s),$Jssor$.$Each(Ut,function(t){t.$Relocate(o,s)})}var _=this;_.$PlayTo=D,_.$GoTo=function(t){Dt.$GoToPosition(t)},_.$Next=function(){N(1)},_.$Prev=function(){N(-1)},_.$Pause=function(){yt=!1},_.$Play=function(){yt||(yt=!0,ce[Lt]&&ce[Lt].$TryActivate())},_.$SetSlideshowTransitions=function(t){$JssorDebug$.$Execute(function(){t&&t.length||$JssorDebug$.$Error("Can not set slideshow transitions, no transitions specified.")}),j.$SlideshowOptions.$Transitions=t},_.$SetCaptionTransitions=function(t){$JssorDebug$.$Execute(function(){t&&t.length||$JssorDebug$.$Error("Can not set caption transitions, no transitions specified")}),W.$CaptionTransitions=t,W.$Version=$Jssor$.$GetNow()},_.$SlidesCount=function(){return rt.length},_.$CurrentIndex=function(){return Lt},_.$IsAutoPlaying=function(){return yt},_.$IsDragging=function(){return St},_.$IsSliding=function(){return Tt},_.$IsMouseOver=function(){return!Kt},_.$LastDragSucceded=function(){return Ct},_.$OriginalWidth=_.$GetOriginalWidth=k,_.$OriginalHeight=_.$GetOriginalHeight=P,_.$ScaleHeight=_.$GetScaleHeight=function(e){return void 0==e?$Jssor$.$CssHeight(t):void M(e,!0)},_.$ScaleWidth=_.$SetScaleWidth=_.$GetScaleWidth=M,_.$GetVirtualIndex=function(t){var e=Math.ceil(T(xt/qt)),n=T(t-at+e);return n>Gt?t-at>Rt/2?t-=Rt:t-at<=-Rt/2&&(t+=Rt):t=at+n-e,t},$JssorObject$.call(_),$JssorDebug$.$Execute(function(){var e=$Jssor$.$GetElement(t);e||$JssorDebug$.$Fail("Outer container '"+t+"' not found.")}),_.$Elmt=t=$Jssor$.$GetElement(t);var L,R=1,j=$Jssor$.$Extend({$FillMode:0,$LazyLoading:1,$StartIndex:0,$AutoPlay:!1,$Loop:1,$HWA:!0,$NaviQuitDrag:!0,$AutoPlaySteps:1,$AutoPlayInterval:3e3,$PauseOnHover:1,$SlideDuration:500,$SlideEasing:$JssorEasing$.$EaseOutQuad,$MinDragOffsetToSlide:20,$SlideSpacing:0,$DisplayPieces:1,$ParkingPosition:0,$UISearchMode:1,$PlayOrientation:1,$DragOrientation:1},e);void 0!=j.$Idle&&(j.$AutoPlayInterval=j.$Idle),void 0!=j.$Cols&&(j.$DisplayPieces=j.$Cols),$JssorDebug$.$Execute(function(){j=$Jssor$.$Extend({$ArrowKeyNavigation:void 0,$SlideWidth:void 0,$SlideHeight:void 0,$SlideshowOptions:void 0,$CaptionSliderOptions:void 0,$BulletNavigatorOptions:void 0,$ArrowNavigatorOptions:void 0,$ThumbnailNavigatorOptions:void 0},j)});var H=3&j.$PlayOrientation,F=(4&j.$PlayOrientation)/-4||1,B=j.$SlideshowOptions,W=$Jssor$.$Extend({$Class:$JssorCaptionSliderBase$,$PlayInMode:1,$PlayOutMode:1},j.$CaptionSliderOptions),q=j.$BulletNavigatorOptions,G=j.$ArrowNavigatorOptions,U=j.$ThumbnailNavigatorOptions;$JssorDebug$.$Execute(function(){B&&!B.$Class&&$JssorDebug$.$Fail("Option $SlideshowOptions error, class not specified.")}),$JssorDebug$.$Execute(function(){j.$CaptionSliderOptions&&!j.$CaptionSliderOptions.$Class&&$JssorDebug$.$Fail("Option $CaptionSliderOptions error, class not specified.")}),$JssorDebug$.$Execute(function(){q&&!q.$Class&&$JssorDebug$.$Fail("Option $BulletNavigatorOptions error, class not specified.")}),$JssorDebug$.$Execute(function(){G&&!G.$Class&&$JssorDebug$.$Fail("Option $ArrowNavigatorOptions error, class not specified.")}),$JssorDebug$.$Execute(function(){U&&!U.$Class&&$JssorDebug$.$Fail("Option $ThumbnailNavigatorOptions error, class not specified.")});var z,V=!j.$UISearchMode,Q=$Jssor$.$FindChild(t,"slides",V),X=$Jssor$.$FindChild(t,"loading",V)||$Jssor$.$CreateDiv(document),Z=$Jssor$.$FindChild(t,"navigator",V),K=$Jssor$.$FindChild(t,"arrowleft",V),Y=$Jssor$.$FindChild(t,"arrowright",V),tt=$Jssor$.$FindChild(t,"thumbnavigator",V);$JssorDebug$.$Execute(function(){if(Z&&!q)throw new Error("Bullet navigator container defined but $BulletNavigatorOptions not specified.");if((K||Y)&&!G)throw new Error("arrowleft or arrowright defined, but $ArrowNavigatorOptions not specified.");if(tt&&!U)throw new Error("Thumbnail navigator container defined, but $ThumbnailNavigatorOptions not specified.")});var et=$Jssor$.$CssWidth(Q),nt=$Jssor$.$CssHeight(Q);$JssorDebug$.$Execute(function(){isNaN(et)&&$JssorDebug$.$Fail("Width of slides container wrong specification, it should be specified in pixel (like style='width: 600px;')."),void 0==et&&$JssorDebug$.$Fail("Width of slides container not specified, it should be specified in pixel (like style='width: 600px;')."),isNaN(nt)&&$JssorDebug$.$Fail("Height of slides container wrong specification, it should be specified in pixel (like style='height: 300px;')."),void 0==nt&&$JssorDebug$.$Fail("Height of slides container not specified, it should be specified in pixel (like style='height: 300px;').");var t=$Jssor$.$CssOverflow(Q),e=$Jssor$.$Css(Q,"overflowX"),n=$Jssor$.$Css(Q,"overflowY");"hidden"==t||"hidden"==e&&"hidden"==n||$JssorDebug$.$Fail("Overflow of slides container wrong specification, it should be specified as 'hidden' (style='overflow:hidden;').")}),$JssorDebug$.$Execute(function(){$Jssor$.$IsNumeric(j.$DisplayPieces)||$JssorDebug$.$Fail("Option $DisplayPieces error, it should be a numeric value and greater than or equal to 1."),j.$DisplayPieces<1&&$JssorDebug$.$Fail("Option $DisplayPieces error, it should be greater than or equal to 1."),j.$DisplayPieces>1&&j.$DragOrientation&&j.$DragOrientation!=H&&$JssorDebug$.$Fail("Option $DragOrientation error, it should be 0 or the same of $PlayOrientation when $DisplayPieces is greater than 1."),$Jssor$.$IsNumeric(j.$ParkingPosition)||$JssorDebug$.$Fail("Option $ParkingPosition error, it should be a numeric value."),j.$ParkingPosition&&j.$DragOrientation&&j.$DragOrientation!=H&&$JssorDebug$.$Fail("Option $DragOrientation error, it should be 0 or the same of $PlayOrientation when $ParkingPosition is not equal to 0.")});var it,rt=[],ot=$Jssor$.$Children(Q);$Jssor$.$Each(ot,function(t){"DIV"!=t.tagName||$Jssor$.$AttributeEx(t,"u")?$Jssor$.$IsBrowserIe9Earlier()&&$Jssor$.$CssZIndex(t,($Jssor$.$CssZIndex(t)||0)+1):rt.push(t)}),$JssorDebug$.$Execute(function(){rt.length<1&&$JssorDebug$.$Error("Slides html code definition error, there must be at least 1 slide to initialize a slider.")});var st,at,lt,ut,ct,dt,ft,ht,$t,pt,gt,vt,mt,yt,bt,Et,xt,wt,Ct,Tt,St,Jt,At,It,Ot,Nt,Dt,kt,Pt,Mt,_t=0,Lt=-1,Rt=rt.length,jt=j.$SlideWidth||et,Ht=j.$SlideHeight||nt,Ft=j.$SlideSpacing,Bt=jt+Ft,Wt=Ht+Ft,qt=1&H?Bt:Wt,Gt=Math.min(j.$DisplayPieces,Rt),Ut=[],zt=(j.$AutoPlaySteps,j.$PauseOnHover),Vt=j.$AutoPlayInterval,Qt=j.$SlideDuration,Xt=Gt<Rt,Zt=Xt?j.$Loop:0,Kt=1,Yt=0,te=0,ee=new s;yt=j.$AutoPlay,_.$Options=e,O(),$Jssor$.$Attribute(t,"jssor-slider",!0),$Jssor$.$CssZIndex(Q,$Jssor$.$CssZIndex(Q)||0),$Jssor$.$CssPosition(Q,"absolute"),ct=$Jssor$.$CloneNode(Q,!0),$Jssor$.$InsertBefore(ct,Q),B&&(vt=B.$ShowLink,bt=B.$Class,$JssorDebug$.$Execute(function(){B.$Transitions&&B.$Transitions.length||$JssorDebug$.$Error("Invalid '$SlideshowOptions', no '$Transitions' specified.")}),Et=1==Gt&&Rt>1&&bt&&(!$Jssor$.$IsBrowserIE()||$Jssor$.$BrowserVersion()>=8)),xt=Et||Gt>=Rt||!(1&Zt)?0:j.$ParkingPosition,wt=(Gt>1||xt?H:-1)&j.$DragOrientation;var ne,ie,re,oe,se,ae,le,ue=Q,ce=[],de=$Jssor$.$Device(),fe=de.$Touchable;de.$TouchActionAttr&&$Jssor$.$Css(ue,de.$TouchActionAttr,[null,"pan-y","pan-x","none"][wt]||""),kt=new r,Et&&(ne=new bt(ee,jt,Ht,B,fe)),$Jssor$.$AppendChild(ct,kt.$Wrapper),$Jssor$.$CssOverflow(Q,"hidden"),ie=C(),$Jssor$.$Css(ie,"backgroundColor","#000"),$Jssor$.$CssOpacity(ie,0),$Jssor$.$InsertBefore(ie,ue.firstChild,ue);for(var he=0;he<rt.length;he++){var $e=rt[he],pe=new a($e,he);ce.push(pe)}$Jssor$.$HideElement(X),$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(X,"debug-id","loading-container")}),Nt=new i,Pt=new o(Nt,kt),$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(ue,"debug-id","slide-board")}),wt&&($Jssor$.$AddEvent(Q,"mousedown",p),$Jssor$.$AddEvent(Q,"touchstart",$),$Jssor$.$AddEvent(Q,"dragstart",h),$Jssor$.$AddEvent(Q,"selectstart",h),$Jssor$.$AddEvent(document,"mouseup",v),$Jssor$.$AddEvent(document,"touchend",v),$Jssor$.$AddEvent(document,"touchcancel",v),$Jssor$.$AddEvent(window,"blur",v)),zt&=fe?10:5,Z&&q&&($t=new q.$Class(Z,q,k(),P()),Ut.push($t)),G&&K&&Y&&(G.$Loop=Zt,G.$DisplayPieces=Gt,pt=new G.$Class(K,Y,G,k(),P()),Ut.push(pt)),tt&&U&&(U.$StartIndex=j.$StartIndex,gt=new U.$Class(tt,U),Ut.push(gt)),$Jssor$.$Each(Ut,function(t){t.$Reset(Rt,ce,X),t.$On($JssorNavigatorEvents$.$NAVIGATIONREQUEST,S)}),M(k()),$Jssor$.$AddEvent(Q,"click",m),$Jssor$.$AddEvent(t,"mouseout",$Jssor$.$MouseOverOutFilter(A,t)),$Jssor$.$AddEvent(t,"mouseover",$Jssor$.$MouseOverOutFilter(I,t)),J(),j.$ArrowKeyNavigation&&$Jssor$.$AddEvent(document,"keydown",function(t){37==t.keyCode?N(-1):39==t.keyCode&&N(1)});var ge=j.$StartIndex;1&Zt||(ge=Math.max(0,Math.min(ge,Rt-Gt))),Pt.$PlayCarousel(ge,ge,0)},$JssorSlideo$=window.$JssorSlideo$=$JssorSlider$;$JssorSlider$.$EVT_CLICK=21,$JssorSlider$.$EVT_DRAG_START=22,$JssorSlider$.$EVT_DRAG_END=23,$JssorSlider$.$EVT_SWIPE_START=24,$JssorSlider$.$EVT_SWIPE_END=25,$JssorSlider$.$EVT_LOAD_START=26,$JssorSlider$.$EVT_LOAD_END=27,$JssorSlider$.$EVT_FREEZE=28,$JssorSlider$.$EVT_POSITION_CHANGE=202,$JssorSlider$.$EVT_PARK=203,$JssorSlider$.$EVT_SLIDESHOW_START=206,$JssorSlider$.$EVT_SLIDESHOW_END=207,$JssorSlider$.$EVT_PROGRESS_CHANGE=208,$JssorSlider$.$EVT_STATE_CHANGE=209,$JssorSlider$.$EVT_ROLLBACK_START=210,$JssorSlider$.$EVT_ROLLBACK_END=211;var $JssorNavigatorEvents$={$NAVIGATIONREQUEST:1,$INDEXCHANGE:2,$RESET:3},$JssorBulletNavigator$=window.$JssorBulletNavigator$=function(t,e,n,i){function r(t){t!=-1&&w[t].$Selected(t==E)}function o(t){s.$TriggerEvent($JssorNavigatorEvents$.$NAVIGATIONREQUEST,t*h)}var s=this;$JssorObject$.call(s),t=$Jssor$.$GetElement(t);var a,l,u,c,d,f,h,$,p,g,v,m,y,b,E=0,x=[],w=[];s.$Elmt=t,s.$GetCurrentIndex=function(){return d},s.$SetCurrentIndex=function(t){if(t!=d){var e=E,n=Math.floor(t/h);E=n,d=t,r(e),r(n)}},s.$Show=function(e){$Jssor$.$ShowElement(t,e)};var C;s.$Relocate=function(e,n){if(!C||0==f.$Scale){var e=$Jssor$.$ParentNode(t).clientWidth,n=$Jssor$.$ParentNode(t).clientHeight;1&f.$AutoCenter&&$Jssor$.$CssLeft(t,(e-u)/2),2&f.$AutoCenter&&$Jssor$.$CssTop(t,(n-c)/2),C=!0}};var T;s.$Reset=function(e){if(!T){l=e,a=Math.ceil(e/h),E=0;var n=y+p,i=b+g,r=Math.ceil(a/$)-1;u=y+n*(v?$-1:r),c=b+i*(v?r:$-1),$Jssor$.$CssWidth(t,u),$Jssor$.$CssHeight(t,c);for(var s=0;s<a;s++){var d=$Jssor$.$CreateSpan();$Jssor$.$InnerText(d,s+1);var C=$Jssor$.$BuildElement(m,"numbertemplate",d,!0);$Jssor$.$CssPosition(C,"absolute");var S=s%(r+1);$Jssor$.$CssLeft(C,v?s%$*n:n*S),$Jssor$.$CssTop(C,v?i*S:Math.floor(s/(r+1))*i),$Jssor$.$AppendChild(t,C),x[s]=C,1&f.$ActionMode&&$Jssor$.$AddEvent(C,"click",$Jssor$.$CreateCallback(null,o,s)),2&f.$ActionMode&&$Jssor$.$AddEvent(C,"mouseover",$Jssor$.$MouseOverOutFilter($Jssor$.$CreateCallback(null,o,s),C)),w[s]=$Jssor$.$Buttonize(C)}T=!0}},s.$Options=f=$Jssor$.$Extend({$SpacingX:0,$SpacingY:0,$Orientation:1,$ActionMode:1},e),$JssorDebug$.$Execute(function(){f=$Jssor$.$Extend({$Steps:void 0,$Lanes:void 0},f)}),m=$Jssor$.$FindChild(t,"prototype"),$JssorDebug$.$Execute(function(){m||$JssorDebug$.$Fail("Navigator item prototype not defined."),isNaN($Jssor$.$CssWidth(m))&&$JssorDebug$.$Fail("Width of 'navigator item prototype' not specified."),isNaN($Jssor$.$CssHeight(m))&&$JssorDebug$.$Fail("Height of 'navigator item prototype' not specified.")}),y=$Jssor$.$CssWidth(m),b=$Jssor$.$CssHeight(m),$Jssor$.$RemoveElement(m,t),h=f.$Steps||1,$=f.$Lanes||1,p=f.$SpacingX,g=f.$SpacingY,v=f.$Orientation-1,0==f.$Scale&&$Jssor$.$Attribute(t,"noscale",!0)},$JssorArrowNavigator$=window.$JssorArrowNavigator$=function(t,e,n,i,r){function o(t){a.$TriggerEvent($JssorNavigatorEvents$.$NAVIGATIONREQUEST,t,!0)}function s(i){$Jssor$.$ShowElement(t,i||!n.$Loop&&0==c),$Jssor$.$ShowElement(e,i||!n.$Loop&&c>=u-n.$DisplayPieces),l=i}var a=this;$JssorObject$.call(a),$JssorDebug$.$Execute(function(){t||$JssorDebug$.$Fail("Option '$ArrowNavigatorOptions' spepcified, but UI 'arrowleft' not defined. Define 'arrowleft' to enable direct navigation, or remove option '$ArrowNavigatorOptions' to disable direct navigation."),e||$JssorDebug$.$Fail("Option '$ArrowNavigatorOptions' spepcified, but UI 'arrowright' not defined. Define 'arrowright' to enable direct navigation, or remove option '$ArrowNavigatorOptions' to disable direct navigation."),isNaN($Jssor$.$CssWidth(t))&&$JssorDebug$.$Fail("Width of 'arrow left' not specified."),isNaN($Jssor$.$CssWidth(e))&&$JssorDebug$.$Fail("Width of 'arrow right' not specified."),isNaN($Jssor$.$CssHeight(t))&&$JssorDebug$.$Fail("Height of 'arrow left' not specified."),isNaN($Jssor$.$CssHeight(e))&&$JssorDebug$.$Fail("Height of 'arrow right' not specified.")});var l,u,c,d,f,h=$Jssor$.$CssWidth(t),$=$Jssor$.$CssHeight(t);a.$GetCurrentIndex=function(){return c},a.$SetCurrentIndex=function(t,e,n){n?c=e:(c=t,s(l))},a.$Show=s;var p;a.$Relocate=function(n,i){if(!p||0==d.$Scale){var r=$Jssor$.$ParentNode(t).clientWidth,i=$Jssor$.$ParentNode(t).clientHeight;1&d.$AutoCenter&&($Jssor$.$CssLeft(t,(r-h)/2),$Jssor$.$CssLeft(e,(r-h)/2)),2&d.$AutoCenter&&($Jssor$.$CssTop(t,(i-$)/2),$Jssor$.$CssTop(e,(i-$)/2)),p=!0}};var g;a.$Reset=function(n){u=n,c=0,g||($Jssor$.$AddEvent(t,"click",$Jssor$.$CreateCallback(null,o,-f)),$Jssor$.$AddEvent(e,"click",$Jssor$.$CreateCallback(null,o,f)),$Jssor$.$Buttonize(t),$Jssor$.$Buttonize(e),g=!0)},a.$Options=d=$Jssor$.$Extend({$Steps:1},n),f=d.$Steps,0==d.$Scale&&($Jssor$.$Attribute(t,"noscale",!0),$Jssor$.$Attribute(e,"noscale",!0))},$JssorThumbnailNavigator$=window.$JssorThumbnailNavigator$=function(t,e){function n(t,e){function n(t){a.$Selected(o==e)}function i(t,n){!t&&p.$LastDragSucceded()||m.$TriggerEvent($JssorNavigatorEvents$.$NAVIGATIONREQUEST,e)}var r,a,l,u=this;$JssorDebug$.$Execute(function(){u.$Wrapper=void 0}),u.$Index=e,u.$Highlight=n,l=t.$Thumb||t.$Image||$Jssor$.$CreateDiv(),u.$Wrapper=r=$Jssor$.$BuildElement(v,"thumbnailtemplate",l,!0),a=$Jssor$.$Buttonize(r),1&s.$ActionMode&&$Jssor$.$AddEvent(r,"click",$Jssor$.$CreateCallback(null,i,0)),2&s.$ActionMode&&$Jssor$.$AddEvent(r,"mouseover",$Jssor$.$MouseOverOutFilter($Jssor$.$CreateCallback(null,i,1),r))}var i,r,o,s,a,l,u,c,d,f,h,$,p,g,v,m=this,y=[];$JssorObject$.call(m),t=$Jssor$.$GetElement(t),m.$GetCurrentIndex=function(){return o},m.$SetCurrentIndex=function(t,e,n){var i=o;o=t,i!=-1&&y[i].$Highlight(),y[t].$Highlight(),n||p.$PlayTo(p.$GetVirtualIndex(Math.floor(e/u)))},m.$Show=function(e){$Jssor$.$ShowElement(t,e)},m.$Relocate=$Jssor$.$EmptyFunction;var b;m.$Reset=function(e,v,m){if(!b){i=e,r=Math.ceil(i/u),o=-1,$=Math.min($,v.length);var E=1&s.$Orientation,x=f+(f+c)*(u-1)*(1-E),w=h+(h+d)*(u-1)*E,C=x+(x+c)*($-1)*E,T=w+(w+d)*($-1)*(1-E);$Jssor$.$CssPosition(g,"absolute"),$Jssor$.$CssOverflow(g,"hidden"),1&s.$AutoCenter&&$Jssor$.$CssLeft(g,(a-C)/2),2&s.$AutoCenter&&$Jssor$.$CssTop(g,(l-T)/2),$Jssor$.$CssWidth(g,C),$Jssor$.$CssHeight(g,T);var S=[];$Jssor$.$Each(v,function(t,e){var i=new n(t,e),r=i.$Wrapper,o=Math.floor(e/u),s=e%u;$Jssor$.$CssLeft(r,(f+c)*s*(1-E)),$Jssor$.$CssTop(r,(h+d)*s*E),S[o]||(S[o]=$Jssor$.$CreateDiv(),$Jssor$.$AppendChild(g,S[o])),$Jssor$.$AppendChild(S[o],r),y.push(i)});var J=$Jssor$.$Extend({$HWA:!1,$AutoPlay:!1,$NaviQuitDrag:!1,$SlideWidth:x,$SlideHeight:w,$SlideSpacing:c*E+d*(1-E),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$PlayOrientation:s.$Orientation,$DragOrientation:s.$DisableDrag?0:s.$Orientation},s);p=new $JssorSlider$(t,J),b=!0}},m.$Options=s=$Jssor$.$Extend({$SpacingX:3,$SpacingY:3,$DisplayPieces:1,$Orientation:1,$AutoCenter:3,$ActionMode:1},e),void 0!=s.$Rows&&(s.$Lanes=s.$Rows),$JssorDebug$.$Execute(function(){s=$Jssor$.$Extend({$Lanes:void 0,$Width:void 0,$Height:void 0},s)}),a=$Jssor$.$CssWidth(t),l=$Jssor$.$CssHeight(t),$JssorDebug$.$Execute(function(){a||$JssorDebug$.$Fail("width of 'thumbnavigator' container not specified."),l||$JssorDebug$.$Fail("height of 'thumbnavigator' container not specified.")}),g=$Jssor$.$FindChild(t,"slides",!0),v=$Jssor$.$FindChild(g,"prototype"),$JssorDebug$.$Execute(function(){v||$JssorDebug$.$Fail("prototype of 'thumbnavigator' not defined.")}),f=$Jssor$.$CssWidth(v),h=$Jssor$.$CssHeight(v),$Jssor$.$RemoveElement(v,g),u=s.$Lanes||1,c=s.$SpacingX,d=s.$SpacingY,$=s.$DisplayPieces,0==s.$Scale&&$Jssor$.$Attribute(t,"noscale",!0)},$JssorCaptionSlider$=window.$JssorCaptionSlider$=function(t,e,n){function i(t,e){function r(t,e){var n={};return $Jssor$.$Each(c,function(i,r){var o=$Jssor$.$AttributeEx(t,i+(e||""));if(o){var s={};"t"==i?s.$Value=o:o.indexOf("%")+1?s.$Percent=$Jssor$.$ParseFloat(o)/100:s.$Value=$Jssor$.$ParseFloat(o),n[r]=s}}),n}function o(){return u[Math.floor(Math.random()*u.length)]}function s(t){var e;if("*"==t)e=o();else if(t){var n=u[$Jssor$.$ParseInt(t)]||u[t];$Jssor$.$IsArray(n)&&(t!=a?(a=t,$[t]=0,h[t]=n[Math.floor(Math.random()*n.length)]):$[t]++,n=h[t],$Jssor$.$IsArray(n)&&(n=n.length&&n[$[t]%n.length],$Jssor$.$IsArray(n)&&(n=n[Math.floor(Math.random()*n.length)]))),e=n,$Jssor$.$IsString(e)&&(e=s(e))}return e}var a,f=[],h=[],$=[],p=$Jssor$.$Children(t);return $Jssor$.$Each(p,function(t,o){var a=[];a.$Elmt=t;var u="caption"==$Jssor$.$AttributeEx(t,"u");$Jssor$.$Each(n?[0,3]:[2],function(n,o){if(u){var c,f;if(2==n&&$Jssor$.$AttributeEx(t,"t3")||(f=r(t,n),2!=n||f.$Transition||(f.$Delay=f.$Delay||{$Value:0},f=$Jssor$.$Extend(r(t,0),f))),f&&f.$Transition&&(c=s(f.$Transition.$Value))){var h=$Jssor$.$Extend({$Delay:0},c);$Jssor$.$Each(f,function(t,e){var n=(d[e]||d.$Default).apply(d,[h[e],f[e]]);isNaN(n)||(h[e]=n)}),o||(f.$BeginTime?h.$BeginTime=f.$BeginTime.$Value||0:2&l&&(h.$BeginTime=0))}a.push(h)}e%2&&!o&&(a.$Children=i(t,e+1))}),f.push(a)}),f}function r(t,e,i){var r={$Easing:e.$Easing,$Round:e.$Round,$During:e.$During,$Reverse:n&&!i};$JssorDebug$.$Execute(function(){r.$CaptionAnimator=!0});var o=t,s=$Jssor$.$ParentNode(t),a=$Jssor$.$CssWidth(o),l=$Jssor$.$CssHeight(o),u=$Jssor$.$CssWidth(s),c=$Jssor$.$CssHeight(s),d={},f={},h=e.$ScaleClip||1;if(e.$Opacity&&(f.$Opacity=1-e.$Opacity),r.$OriginalWidth=a,r.$OriginalHeight=l,e.$Zoom||e.$Rotate){f.$Zoom=(e.$Zoom||2)-2,($Jssor$.$IsBrowserIe9Earlier()||$Jssor$.$IsBrowserOpera())&&(f.$Zoom=Math.min(f.$Zoom,1)),d.$Zoom=1;var $=e.$Rotate||0;f.$Rotate=360*$,d.$Rotate=0}else if(e.$Clip){var p={$Top:0,$Right:a,$Bottom:l,$Left:0},g=$Jssor$.$Extend({},p),v=g.$Offset={},m=4&e.$Clip,y=8&e.$Clip,b=1&e.$Clip,E=2&e.$Clip;m&&y?(v.$Top=l/2*h,v.$Bottom=-v.$Top):m?v.$Bottom=-l*h:y&&(v.$Top=l*h),b&&E?(v.$Left=a/2*h,v.$Right=-v.$Left):b?v.$Right=-a*h:E&&(v.$Left=a*h),r.$Move=e.$Move,f.$Clip=g,d.$Clip=p}var x=0,w=0;e.x&&(x-=u*e.x),e.y&&(w-=c*e.y),(x||w||r.$Move)&&(f.$Left=x,f.$Top=w);var C=e.$Duration;return d=$Jssor$.$Extend(d,$Jssor$.$GetStyles(o,f)),r.$Setter=$Jssor$.$StyleSetterEx(),new $JssorAnimator$(e.$Delay,C,r,o,d,f)}function o(t,e){return $Jssor$.$Each(e,function(e,n){$JssorDebug$.$Execute(function(){if(e.length){var t=$Jssor$.$CssTop(e.$Elmt),i=$Jssor$.$CssLeft(e.$Elmt),r=$Jssor$.$CssWidth(e.$Elmt),o=$Jssor$.$CssHeight(e.$Elmt),s=null;isNaN(t)?s="Style 'top' for caption not specified. Please always specify caption like 'position: absolute; top: ...px; left: ...px; width: ...px; height: ...px;'.":isNaN(i)?s="Style 'left' not specified. Please always specify caption like 'position: absolute; top: ...px; left: ...px; width: ...px; height: ...px;'.":isNaN(r)?s="Style 'width' not specified. Please always specify caption like 'position: absolute; top: ...px; left: ...px; width: ...px; height: ...px;'.":isNaN(o)&&(s="Style 'height' not specified. Please always specify caption like 'position: absolute; top: ...px; left: ...px; width: ...px; height: ...px;'."),s&&$JssorDebug$.$Error("Caption "+(n+1)+" definition error, \r\n"+s+"\r\n"+e.$Elmt.outerHTML)}});var i,l=e.$Elmt,u=e[0],c=e[1];if(u&&(i=r(l,u),t=i.$Locate(void 0==u.$BeginTime?t:u.$BeginTime,1)),t=o(t,e.$Children),c){var d=r(l,c,1);d.$Locate(t,1),a.$Combine(d),s.$Combine(d)}i&&a.$Combine(i)}),t}$JssorDebug$.$Execute(function(){e.$CaptionTransitions||$JssorDebug$.$Error("'$CaptionSliderOptions' option error, '$CaptionSliderOptions.$CaptionTransitions' not specified.")});var s,a=this,l=n?e.$PlayInMode:e.$PlayOutMode,u=e.$CaptionTransitions,c={$Transition:"t",$Delay:"d",$Duration:"du",x:"x",y:"y",$Rotate:"r",$Zoom:"z",$Opacity:"f",$BeginTime:"b"},d={$Default:function(t,e){return isNaN(e.$Value)?t*=e.$Percent:t=e.$Value,t},$Opacity:function(t,e){return this.$Default(t-1,e)}};d.$Zoom=d.$Opacity,$JssorAnimator$.call(a,0,0),a.$Revert=function(){a.$GoToPosition(a.$GetPosition_OuterEnd()*(n||0)),
  s.$GoToPosition(0)},s=new $JssorAnimator$(0,0),o(0,l?i(t,1):[])},$JssorCaptionSlideo$=function(t,e,n){function i(t,e){$Jssor$.$Each(t,function(n,r){var o=u[r];o&&((e||"e"==r)&&($Jssor$.$IsNumeric(n)?n=a[n]:$Jssor$.$IsPlainObject(n)&&i(n,!0)),t[o]=n,delete t[r])})}function r(t,e){var n=[],i=$Jssor$.$Children(t);return $Jssor$.$Each(i,function(t,i){var o="caption"==$Jssor$.$AttributeEx(t,"u");if(o){var s=$Jssor$.$AttributeEx(t,"t"),a=c[$Jssor$.$ParseInt(s)]||c[s],l=$Jssor$.$AttributeEx(t,"t2"),u=c[$Jssor$.$ParseInt(l)]||c[l],d={$Elmt:t,$Transition:a,$Transition2:u};e<3&&n.concat(r(t,e+1)),n.push(d)}}),n}function o(t,e,r,o){return $Jssor$.$Each(e,function(e){i(e);var s={$Easing:e.$Easing,$Round:e.$Round,$During:e.$During,$Setter:$Jssor$.$StyleSetterEx()},a=$Jssor$.$Extend($Jssor$.$GetStyles(captionItem,e),r),u=new $JssorAnimator$(e.b||0,e.d,s,t,a,e);!o==!n&&l.$Combine(u);var c;r=$Jssor$.$Extend(r,$Jssor$.$Cast(a,e,1,s.$Easing,s.$During,s.$Round,s,c))}),r}function s(t){$Jssor$.$Each(t,function(t,e){$JssorDebug$.$Execute(function(){if(t.length){var n=$Jssor$.$CssTop(t.$Elmt),i=$Jssor$.$CssLeft(t.$Elmt),r=$Jssor$.$CssWidth(t.$Elmt),o=$Jssor$.$CssHeight(t.$Elmt),s=null;if(isNaN(n)?s="style 'top' not specified":isNaN(i)?s="style 'left' not specified":isNaN(r)?s="style 'width' not specified":isNaN(o)&&(s="style 'height' not specified"),s)throw new Error("Caption "+(e+1)+" definition error, "+s+".\r\n"+t.$Elmt.outerHTML)}});var n=t.$Elmt,i=$Jssor$.$CssWidth(t),r=$Jssor$.$CssHeight(t),s=($Jssor$.$CssWidth(captionParent),$Jssor$.$CssHeight(captionParent),{$Zoom:1,$Rotate:0,$Clip:{$Top:0,$Right:i,$Bottom:r,$Left:0}});s=o(n,t.$Transition,s,!0),o(n,t.$Transition2,s,!1)})}$JssorDebug$.$Execute(function(){e.$CaptionTransitions?$Jssor$.$IsArray(e.$CaptionTransitions)||$JssorDebug$.$Error("'$CaptionSlideoOptions' option error, '$CaptionSlideoOptions.$CaptionTransitions' is not an array."):$JssorDebug$.$Error("'$CaptionSlideoOptions' option error, '$CaptionSlideoOptions.$CaptionTransitions' not specified.")});var a,l=this,u={},c=e.$CaptionTransitions;$JssorAnimator$.call(l,0,0),l.$Revert=function(){l.$GoToPosition(-1,!0)},a=[$JssorEasing$.$EaseSwing,$JssorEasing$.$EaseLinear,$JssorEasing$.$EaseInQuad,$JssorEasing$.$EaseOutQuad,$JssorEasing$.$EaseInOutQuad,$JssorEasing$.$EaseInCubic,$JssorEasing$.$EaseOutCubic,$JssorEasing$.$EaseInOutCubic,$JssorEasing$.$EaseInQuart,$JssorEasing$.$EaseOutQuart,$JssorEasing$.$EaseInOutQuart,$JssorEasing$.$EaseInQuint,$JssorEasing$.$EaseOutQuint,$JssorEasing$.$EaseInOutQuint,$JssorEasing$.$EaseInSine,$JssorEasing$.$EaseOutSine,$JssorEasing$.$EaseInOutSine,$JssorEasing$.$EaseInExpo,$JssorEasing$.$EaseOutExpo,$JssorEasing$.$EaseInOutExpo,$JssorEasing$.$EaseInCirc,$JssorEasing$.$EaseOutCirc,$JssorEasing$.$EaseInOutCirc,$JssorEasing$.$EaseInElastic,$JssorEasing$.$EaseOutElastic,$JssorEasing$.$EaseInOutElastic,$JssorEasing$.$EaseInBack,$JssorEasing$.$EaseOutBack,$JssorEasing$.$EaseInOutBack,$JssorEasing$.$EaseInBounce,$JssorEasing$.$EaseOutBounce,$JssorEasing$.$EaseInOutBounce];var d={$Top:"y",$Left:"x",$Bottom:"m",$Right:"t",$Zoom:"s",$Rotate:"r",$Opacity:"o",$Easing:"e",$ZIndex:"i",$Round:"rd",$During:"du",$Duration:"d"};$Jssor$.$Each(d,function(t,e){u[t]=e}),s(r(t,1))};jQuery(document).ready(function(t){function e(){var t=document.body.clientWidth;t?r.$ScaleWidth(Math.min(t,1920)):window.setTimeout(e,30)}var n=[];n.L={$Duration:900,x:.6,$Easing:{$Left:$JssorEasing$.$EaseInOutSine},$Opacity:2},n.R={$Duration:900,x:-.6,$Easing:{$Left:$JssorEasing$.$EaseInOutSine},$Opacity:2},n.T={$Duration:900,y:.6,$Easing:{$Top:$JssorEasing$.$EaseInOutSine},$Opacity:2},n.B={$Duration:900,y:-.6,$Easing:{$Top:$JssorEasing$.$EaseInOutSine},$Opacity:2},n["ZMF|10"]={$Duration:900,$Zoom:11,$Easing:{$Zoom:$JssorEasing$.$EaseOutQuad,$Opacity:$JssorEasing$.$EaseLinear},$Opacity:2},n["RTT|10"]={$Duration:900,$Zoom:11,$Rotate:1,$Easing:{$Zoom:$JssorEasing$.$EaseOutQuad,$Opacity:$JssorEasing$.$EaseLinear,$Rotate:$JssorEasing$.$EaseInExpo},$Opacity:2,$Round:{$Rotate:.8}},n["RTT|2"]={$Duration:900,$Zoom:3,$Rotate:1,$Easing:{$Zoom:$JssorEasing$.$EaseInQuad,$Opacity:$JssorEasing$.$EaseLinear,$Rotate:$JssorEasing$.$EaseInQuad},$Opacity:2,$Round:{$Rotate:.5}},n["RTTL|BR"]={$Duration:900,x:-.6,y:-.6,$Zoom:11,$Rotate:1,$Easing:{$Left:$JssorEasing$.$EaseInCubic,$Top:$JssorEasing$.$EaseInCubic,$Zoom:$JssorEasing$.$EaseInCubic,$Opacity:$JssorEasing$.$EaseLinear,$Rotate:$JssorEasing$.$EaseInCubic},$Opacity:2,$Round:{$Rotate:.8}},n["CLIP|LR"]={$Duration:900,$Clip:15,$Easing:{$Clip:$JssorEasing$.$EaseInOutCubic},$Opacity:2},n["MCLIP|L"]={$Duration:900,$Clip:1,$Move:!0,$Easing:{$Clip:$JssorEasing$.$EaseInOutCubic}},n["MCLIP|R"]={$Duration:900,$Clip:2,$Move:!0,$Easing:{$Clip:$JssorEasing$.$EaseInOutCubic}};var i={$FillMode:2,$AutoPlay:!0,$AutoPlayInterval:1e4,$PauseOnHover:1,$ArrowKeyNavigation:!0,$SlideEasing:$JssorEasing$.$EaseOutQuint,$SlideDuration:800,$MinDragOffsetToSlide:20,$SlideSpacing:0,$DisplayPieces:1,$ParkingPosition:0,$UISearchMode:1,$PlayOrientation:1,$DragOrientation:1,$CaptionSliderOptions:{$Class:$JssorCaptionSlider$,$CaptionTransitions:n,$PlayInMode:1,$PlayOutMode:3},$BulletNavigatorOptions:{$Class:$JssorBulletNavigator$,$ChanceToShow:2,$AutoCenter:1,$Steps:1,$Lanes:1,$SpacingX:8,$SpacingY:8,$Orientation:1},$ArrowNavigatorOptions:{$Class:$JssorArrowNavigator$,$ChanceToShow:1,$AutoCenter:2,$Steps:1}},r=new $JssorSlider$("slider1_container",i);e(),t(window).bind("load",e),t(window).bind("resize",e),t(window).bind("orientationchange",e)});