1!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="length"in t&&t.length,n=ot.type(t);return"function"!==n&&!ot.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(ot.isFunction(e))return ot.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return ot.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(pt.test(e))return ot.filter(e,t,n);e=ot.filter(e,t)}return ot.grep(t,function(t){return ot.inArray(t,e)>=0!==n})}function o(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}function r(t){var e=wt[t]={};return ot.each(t.match(bt)||[],function(t,n){e[n]=!0}),e}function s(){ht.addEventListener?(ht.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1)):(ht.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(ht.addEventListener||"load"===event.type||"complete"===ht.readyState)&&(s(),ot.ready())}function l(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(kt,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ct.test(n)?ot.parseJSON(n):n)}catch(t){}ot.data(t,e,n)}else n=void 0}return n}function d(t){var e;for(e in t)if(("data"!==e||!ot.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n,i){if(ot.acceptData(t)){var o,r,s=ot.expando,a=t.nodeType,l=a?ot.cache:t,d=a?t[s]:t[s]&&s;if(d&&l[d]&&(i||l[d].data)||void 0!==n||"string"!=typeof e)return d||(d=a?t[s]=Q.pop()||ot.guid++:s),l[d]||(l[d]=a?{}:{toJSON:ot.noop}),"object"!=typeof e&&"function"!=typeof e||(i?l[d]=ot.extend(l[d],e):l[d].data=ot.extend(l[d].data,e)),r=l[d],i||(r.data||(r.data={}),r=r.data),void 0!==n&&(r[ot.camelCase(e)]=n),"string"==typeof e?null==(o=r[e])&&(o=r[ot.camelCase(e)]):o=r,o}}function u(t,e,n){if(ot.acceptData(t)){var i,o,r=t.nodeType,s=r?ot.cache:t,a=r?t[ot.expando]:ot.expando;if(s[a]){if(e&&(i=n?s[a]:s[a].data)){o=(e=ot.isArray(e)?e.concat(ot.map(e,ot.camelCase)):e in i||(e=ot.camelCase(e))in i?[e]:e.split(" ")).length;for(;o--;)delete i[e[o]];if(n?!d(i):!ot.isEmptyObject(i))return}(n||(delete s[a].data,d(s[a])))&&(r?ot.cleanData([t],!0):nt.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}function p(){return!0}function f(){return!1}function h(){try{return ht.activeElement}catch(t){}}function m(t){var e=Ot.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function g(t,e){var n,i,o=0,r=typeof t.getElementsByTagName!==Tt?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==Tt?t.querySelectorAll(e||"*"):void 0;if(!r)for(r=[],n=t.childNodes||t;null!=(i=n[o]);o++)!e||ot.nodeName(i,e)?r.push(i):ot.merge(r,g(i,e));return void 0===e||e&&ot.nodeName(t,e)?ot.merge([t],r):r}function v(t){$t.test(t.type)&&(t.defaultChecked=t.checked)}function y(t,e){return ot.nodeName(t,"table")&&ot.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function b(t){return t.type=(null!==ot.find.attr(t,"type"))+"/"+t.type,t}function w(t){var e=Ut.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function x(t,e){for(var n,i=0;null!=(n=t[i]);i++)ot._data(n,"globalEval",!e||ot._data(e[i],"globalEval"))}function T(t,e){if(1===e.nodeType&&ot.hasData(t)){var n,i,o,r=ot._data(t),s=ot._data(e,r),a=r.events;if(a)for(n in delete s.handle,s.events={},a)for(i=0,o=a[n].length;i<o;i++)ot.event.add(e,n,a[n][i]);s.data&&(s.data=ot.extend({},s.data))}}function C(t,e){var n,i,o;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!nt.noCloneEvent&&e[ot.expando]){for(i in(o=ot._data(e)).events)ot.removeEvent(e,i,o.handle);e.removeAttribute(ot.expando)}"script"===n&&e.text!==t.text?(b(e).text=t.text,w(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),nt.html5Clone&&t.innerHTML&&!ot.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&$t.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 k(e,n){var i,o=ot(n.createElement(e)).appendTo(n.body),r=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(o[0]))?i.display:ot.css(o[0],"display");return o.detach(),r}function A(t){var e=ht,n=Jt[t];return n||("none"!==(n=k(t,e))&&n||((e=((Yt=(Yt||ot("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentWindow||Yt[0].contentDocument).document).write(),e.close(),n=k(t,e),Yt.detach()),Jt[t]=n),n}function E(t,e){return{get:function(){var n=t();if(null!=n){if(!n)return(this.get=e).apply(this,arguments);delete this.get}}}}function N(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,o=ue.length;o--;)if((e=ue[o]+n)in t)return e;return i}function S(t,e){for(var n,i,o,r=[],s=0,a=t.length;s<a;s++)(i=t[s]).style&&(r[s]=ot._data(i,"olddisplay"),n=i.style.display,e?(r[s]||"none"!==n||(i.style.display=""),""===i.style.display&&Nt(i)&&(r[s]=ot._data(i,"olddisplay",A(i.nodeName)))):(o=Nt(i),(n&&"none"!==n||!o)&&ot._data(i,"olddisplay",o?n:ot.css(i,"dis
1play"))));for(s=0;s<a;s++)(i=t[s]).style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[s]||"":"none"));return t}function $(t,e,n){var i=ae.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function D(t,e,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,s=0;r<4;r+=2)"margin"===n&&(s+=ot.css(t,n+Et[r],!0,o)),i?("content"===n&&(s-=ot.css(t,"padding"+Et[r],!0,o)),"margin"!==n&&(s-=ot.css(t,"border"+Et[r]+"Width",!0,o))):(s+=ot.css(t,"padding"+Et[r],!0,o),"padding"!==n&&(s+=ot.css(t,"border"+Et[r]+"Width",!0,o)));return s}function _(t,e,n){var i=!0,o="width"===e?t.offsetWidth:t.offsetHeight,r=Zt(t),s=nt.boxSizing&&"border-box"===ot.css(t,"boxSizing",!1,r);if(o<=0||null==o){if(((o=te(t,e,r))<0||null==o)&&(o=t.style[e]),ne.test(o))return o;i=s&&(nt.boxSizingReliable()||o===t.style[e]),o=parseFloat(o)||0}return o+D(t,e,n||(s?"border":"content"),i,r)+"px"}function L(t,e,n,i,o){return new L.prototype.init(t,e,n,i,o)}function I(){return setTimeout(function(){pe=void 0}),pe=ot.now()}function j(t,e){var n,i={height:t},o=0;for(e=e?1:0;o<4;o+=2-e)i["margin"+(n=Et[o])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function O(t,e,n){for(var i,o=(Ce[e]||[]).concat(Ce["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,e,t))return i}function M(t,e,n){var i,o,r,s,a,l,d,c=this,u={},p=t.style,f=t.nodeType&&Nt(t),h=ot._data(t,"fxshow");for(i in n.queue||(null==(a=ot._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,ot.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(d=ot.css(t,"display"))?ot._data(t,"olddisplay")||A(t.nodeName):d)&&"none"===ot.css(t,"float")&&(nt.inlineBlockNeedsLayout&&"inline"!==A(t.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",nt.shrinkWrapBlocks()||c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),e)if(o=e[i],be.exec(o)){if(delete e[i],r=r||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||
vendor: 4,847 bytes, line 1
1!h||void 0===h[i])continue;f=!0}u[i]=h&&h[i]||ot.style(t,i)}else d=void 0;if(ot.isEmptyObject(u))"inline"===("none"===d?A(t.nodeName):d)&&(p.display=d);else for(i in h?"hidden"in h&&(f=h.hidden):h=ot._data(t,"fxshow",{}),r&&(h.hidden=!f),f?ot(t).show():c.done(function(){ot(t).hide()}),c.done(function(){var e;for(e in ot._removeData(t,"fxshow"),u)ot.style(t,e,u[e])}),u)s=O(f?h[i]:0,i,c),i in h||(h[i]=s.start,f&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}function H(t,e){var n,i,o,r,s;for(n in t)if(o=e[i=ot.camelCase(n)],r=t[n],ot.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),(s=ot.cssHooks[i])&&"expand"in s)for(n in r=s.expand(r),delete t[i],r)n in t||(t[n]=r[n],e[n]=o);else e[i]=o}function P(t,e,n){var i,o,r=0,s=Te.length,a=ot.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=pe||I(),n=Math.max(0,d.startTime+d.duration-e),i=1-(n/d.duration||0),r=0,s=d.tweens.length;r<s;r++)d.tweens[r].run(i);return a.notifyWith(t,[d,i,n]),i<1&&s?n:(a.resolveWith(t,[d]),!1)},d=a.promise({elem:t,props:ot.extend({},e),opts:ot.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:pe||I(),duration:n.duration,tweens:[],createTween:function(e,n){var i=ot.Tween(t,d.opts,e,n,d.opts.specialEasing[e]||d.opts.easing);return d.tweens.push(i),i},stop:function(e){var n=0,i=e?d.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)d.tweens[n].run(1);return e?a.resolveWith(t,[d,e]):a.rejectWith(t,[d,e]),this}}),c=d.props;for(H(c,d.opts.specialEasing);r<s;r++)if(i=Te[r].call(d,t,c,d.opts))return i;return ot.map(c,O,d),ot.isFunction(d.opts.start)&&d.opts.start.call(t,d),ot.fx.timer(ot.extend(l,{elem:t,anim:d,queue:d.opts.queue})),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always)}function q(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match(bt)||[];if(ot.isFunction(n))for(;i=r[o++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function R(t,e,n,i){function o(a){var l;return r[a]=!0,ot.each(t[a]||[],function(t,a){var d=a(e,n,i);return"string"!=typeof d||s||r[d]?s?!(l=d):void 0:(e.dataTypes.unshift(d),o(d),!1)}),l}var r={},s=t===Xe;return o(e.dataTypes[0])||!r["*"]&&o("*")}function F(t,e){var n,i,o=ot.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&ot.extend(!0,t,n),t}function B(t,e,n){for(var i,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=t.mimeType||e.getResponseHeader("Content-Type"));if(o)for(s in a)if(a[s]&&a[s].test(o)){l.unshift(s);break}if(l[0]in n)r=l[0];else{for(s in n){if(!l[0]||t.converters[s+" "+l[0]]){r=s;break}i||(i=s)}r=r||i}if(r)return r!==l[0]&&l.unshift(r),n[r]}function z(t,e,n,i){var o,r,s,a,l,d={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)d[s.toLowerCase()]=t.converters[s];for(r=c.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=d[l+" "+r]||d["* "+r]))for(o in d)if((a=o.split(" "))[1]===r&&(s=d[l+" "+a[0]]||d["* "+a[0]])){!0===s?s=d[o]:!0!==d[o]&&(r=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}function W(t,e,n,i){var o;if(ot.isArray(e))ot.each(e,function(e,o){n||Ye.test(t)?i(t,o):W(t+"["+("object"==typeof o?e:"")+"]",o,n,i)});else if(n||"object"!==ot.type(e))i(t,e);else for(o in e)W(t+"["+o+"]",e[o],n,i)}function V(){try{return new t.XMLHttpRequest}catch(t){}}function U(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function X(t){return ot.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var Q=[],G=Q.slice,Y=Q.concat,K=Q.push,J=Q.indexOf,Z={},tt=Z.toString,et=Z.hasOwnProperty,nt={},it="1.11.3",ot=function(t,e){return new ot.fn.init(t,e)},rt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,st=/^-ms-/,at=/-([\da-z])/gi,lt=function(t,e){return e.toUpperCase()};ot.fn=ot.prototype={jquery:it,constructor:ot,selector:"",length:0,toArray:function(){return G.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:G.call(this)},pushStack:function(t){var e=ot.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return ot.each(this,t,e)},map:function(t){return this.pushStack(ot.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(G.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:K,sort:Q.sort,splice:Q.splice}
vendor: 12,251 bytes, line 1
1,ot.extend=ot.fn.extend=function(){var t,e,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[a]||{},a++),"object"==typeof s||ot.isFunction(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(o=arguments[a]))for(i in o)t=s[i],s!==(n=o[i])&&(d&&n&&(ot.isPlainObject(n)||(e=ot.isArray(n)))?(e?(e=!1,r=t&&ot.isArray(t)?t:[]):r=t&&ot.isPlainObject(t)?t:{},s[i]=ot.extend(d,r,n)):void 0!==n&&(s[i]=n));return s},ot.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"===ot.type(t)},isArray:Array.isArray||function(t){return"array"===ot.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!ot.isArray(t)&&t-parseFloat(t)+1>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==ot.type(t)||t.nodeType||ot.isWindow(t))return!1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){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?Z[tt.call(t)]||"object":typeof t},globalEval:function(e){e&&ot.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 o=0,r=t.length,s=n(t);if(i){if(s)for(;o<r&&!1!==e.apply(t[o],i);o++);else for(o in t)if(!1===e.apply(t[o],i))break}else if(s)for(;o<r&&!1!==e.call(t[o],o,t[o]);o++);else for(o in t)if(!1===e.call(t[o],o,t[o]))break;return t},trim:function(t){return null==t?"":(t+"").replace(rt,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?ot.merge(i,"string"==typeof t?[t]:t):K.call(i,t)),i},inArray:function(t,e,n){var i;if(e){if(J)return J.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,o=t.length;i<n;)t[o++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[o++]=e[i++];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,r=t.length,s=!n;o<r;o++)!e(t[o],o)!==s&&i.push(t[o]);return i},map:function(t,e,i){var o,r=0,s=t.length,a=[];if(n(t))for(;r<s;r++)null!=(o=e(t[r],r,i))&&a.push(o);else for(r in t)null!=(o=e(t[r],r,i))&&a.push(o);return Y.apply([],a)},guid:1,proxy:function(t,e){var n,i,o;if("string"==typeof e&&(o=t[e],e=t,t=o),ot.isFunction(t))return n=G.call(arguments,2),i=function(){return t.apply(e||this,n.concat(G.call(arguments)))},i.guid=t.guid=t.guid||ot.guid++,i},now:function(){return+new Date},support:nt}),ot.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){Z["[object "+e+"]"]=e.toLowerCase()});var dt=function(t){function e(t,e,n,i){var o,r,s,a,l,d,u,f,h,m;if((e?e.ownerDocument||e:R)!==L&&_(e),n=n||[],a=(e=e||L).nodeType,"string"!=typeof t||!t||1!==a&&9!==a&&11!==a)return n;if(!i&&j){if(11!==a&&(o=yt.exec(t)))if(s=o[1]){if(9===a){if(!(r=e.getElementById(s))||!r.parentNode)return n;if(r.id===s)return n.push(r),n}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(s))&&P(e,r)&&r.id===s)return n.push(r),n}else{if(o[2])return J.apply(n,e.getElementsByTagName(t)),n;if((s=o[3])&&x.getElementsByClassName)return J.apply(n,e.getElementsByClassName(s)),n}if(x.qsa&&(!O||!O.test(t))){if(f=u=q,h=e,m=1!==a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(d=A(t),(u=e.getAttribute("id"))?f=u.replace(wt,"\\$&"):e.setAttribute("id",f),f="[id='"+f+"'] ",l=d.length;l--;)d[l]=f+p(d[l]);h=bt.test(t)&&c(e.parentNode)||e,m=d.join(",")}if(m)try{return J.apply(n,h.querySelectorAll(m)),n}catch(t){}finally{u||e.removeAttribute("id")}}}return N(t.replace(lt,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>T.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[q]=!0,t}function o(t){var e=L.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=t.length;i--;)T.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||X)-(~t.sourceIndex||X);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){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function d(t){return i(function(e){return e=+e,i(function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function c(t){return t&&void 0!==t.getElementsByTagName&&t}function u(){}function p(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function f(t,e,n){var i=e.dir,o=n&&"parentNode"===i,r=B++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||o)return t(e,n,r)}:function(e,n,s){var a,l,d=[F,r];if(s){for(;e=e[i];)if((1===e.nodeType||o)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||o){if((a=(l=e[q]||(e[q]={}))[i])&&a[0]===F&&a[1]===r)return d[2]=a[2];if(l[i]=d,d[2]=t(e,n,s))return!0}}}function h(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var o=0,r=n.length;o<r;o++)e(t,n[o],i);return i}function g(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,d=null!=e;a<l;a++)(r=t[a])&&(n&&!n(r,i,o)||(s.push(r),d&&e.push(a)));return s}function v(t,e,n,o,r,s){return o&&!o[q]&&(o=v(o)),r&&!r[q]&&(r=v(r,s)),i(function(i,s,a,l){var d,c,u,p=[],f=[],h=s.length,v=i||m(e||"*",a.nodeType?[a]:a,[]),y=!t||!i&&e?v:g(v,p,t,a,l),b=n?r||(i?t:h||o)?[]:s:y;if(n&&n(y,b,a,l),o)for(d=g(b,f),o(d,[],a,l),c=d.length;c--;)(u=d[c])&&(b[f[c]]=!(y[f[c]]=u));if(i){if(r||t){if(r){for(d=[],c=b.length;c--;)(u=b[c])&&d.push(y[c]=u);r(null,b=[],d,l)}for(c=b.length;c--;)(u=b[c])&&(d=r?tt(i,u):p[c])>-1&&(i[d]=!(s[d]=u))}}else b=g(b===s?b.splice(h,b.length):b),r?r(null,s,b,l):J.apply(s,b)})}function y(t){for(var e,n,i,o=t.length,r=T.relative[t[0].type],s=r||T.relative[" "],a=r?1:0,l=f(function(t){return t===e},s,!0),d=f(function(t){return tt(e,t)>-1},s,!0),c=[function(t,n,i){var o=!r&&(i||n!==S)||((e=n).nodeType?l(t,n,i):d(t,n,i));return e=null,o}];a<o;a++)if(n=T.relative[t[a].type])c=[f(h(c),n)];else{if((n=T.filter[t[a].type].apply(null,t[a].matches))[q]){for(i=++a;i<o&&!T.relative[t[i].type];i++);return v(a>1&&h(c),a>1&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(lt,"$1"),n,a<i&&y(t.slice(a,i)),i<o&&y(t=t.slice(i)),i<o&&p(t))}c.push(n)}return h(c)}function b(t,n){var o=n.length>0,r=t.length>0,s=function(i,s,a,l,d){var c,u,p,f=0,h="0",m=i&&[],v=[],y=S,b=i||r&&T.find.TAG("*",d),w=F+=null==y?1:Math.random()||.1,x=b.length;for(d&&(S=s!==L&&s);h!==x&&null!=(c=b[h]);h++){if(r&&c){for(u=0;p=t[u++];)if(p(c,s,a)){l.push(c);break}d&&(F=w)}o&&((c=!p&&c)&&f--,i&&m.push(c))}if(f+=h,o&&h!==f){for(u=0;p=n[u++];)p(m,v,s,a);if(i){if(f>0)for(;h--;)m[h]||v[h]||(v[h]=Y.call(l));v=g(v)}J.apply(l,v),d&&!i&&v.length>0&&f+n.length>1&&e.uniqueSort(l)}return d&&(F=w,S=y),m};return o?i(s):s}var w,x,T,C,k,A,E,N,S,$,D,_,L,I,j,O,M,H,P,q="sizzle"+1*new Date,R=t.document,F=0,B=0,z=n(),W=n(),V=n(),U=function(t,e){return t===e&&(D=!0),0},X=1<<31,Q={}.hasOwnProperty,G=[],Y=G.pop,K=G.push,J=G.push,Z=G.slice,tt=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=it.replace("w","w#"),rt="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ot+"))|)"+nt+"*\\]",st=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+rt+")*)|.*)\\)|)",at=new RegExp(nt+"+","g"),lt=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),dt=new RegExp("^"+nt+"*,"+nt+"*"),ct=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ut=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),pt=new RegExp(st),ft=new RegExp("^"+ot+"$"),ht={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it.replace("w","w*")+")"),ATTR:new RegExp("^"+rt),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},mt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,wt=/'|\\/g,xt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),Tt=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)},Ct=function(){_()};try{J.apply(G=Z.call(R.childNodes),R.childNodes),G[R.childNodes.length].nodeType}catch(t){J={apply:G.length?function(t,e){K.apply(t,Z.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}for(w in x=e.support={},k=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},_=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:R;return i!==L&&9===i.nodeType&&i.documentElement?(L=i,I=i.documentElement,(n=i.defaultView)&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",Ct,!1):n.attachEvent&&n.attachEvent("onunload",Ct)),j=!k(i),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=vt.test(i.getElementsByClassName),x.getById=o(function(t){return I.appendChild(t).id=q,!i.getElementsByName||!i.getElementsByName(q).length}),x.getById?(T.find.ID=function(t,e){if(void 0!==e.getElementById&&j){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},T.filter.ID=function(t){var e=t.replace(xt,Tt);return function(t){return t.getAttribute("id")===e}}):(delete T.find.ID,T.filter.ID=function(t){var e=t.replace(xt,Tt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),T.find.TAG=x.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},T.find.CLASS=x.getElementsByClassName&&function(t,e){if(j)return e.getElementsByClassName(t)},M=[],O=[],(x.qsa=vt.test(i.querySelectorAll))&&(o(function(t){I.appendChild(t).innerHTML="<a id='"+q+"'></a><select id='"+q+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||O.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+q+"-]").length||O.push("~="),t.querySelectorAll(":checked").length||O.push(":checked"),t.querySelectorAll("a#"+q+"+*").length||O.push(".#.+[+~]")}),o(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&O.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||O.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),O.push(",.*:")})),(x.matchesSelector=vt.test(H=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&o(function(t){x.disconnectedMatch=H.call(t,"div"),H.call(t,"[s!='']:x"),M.push("!=",st)}),O=O.length&&new RegExp(O.join("|")),M=M.length&&new RegExp(M.join("|")),e=vt.test(I.compareDocumentPosition),P=e||vt.test(I.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))
vendor: 4,987 bytes, line 1
1)}: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 D=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!x.sortDetached&&e.compareDocumentPosition(t)===n?t===i||t.ownerDocument===R&&P(R,t)?-1:e===i||e.ownerDocument===R&&P(R,e)?1:$?tt($,t)-tt($,e):0:4&n?-1:1)}:function(t,e){if(t===e)return D=!0,0;var n,o=0,r=t.parentNode,a=e.parentNode,l=[t],d=[e];if(!r||!a)return t===i?-1:e===i?1:r?-1:a?1:$?tt($,t)-tt($,e):0;if(r===a)return s(t,e);for(n=t;n=n.parentNode;)l.unshift(n);for(n=e;n=n.parentNode;)d.unshift(n);for(;l[o]===d[o];)o++;return o?s(l[o],d[o]):l[o]===R?-1:d[o]===R?1:0},i):L},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==L&&_(t),n=n.replace(ut,"='$1']"),x.matchesSelector&&j&&(!M||!M.test(n))&&(!O||!O.test(n)))try{var i=H.call(t,n);if(i||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return e(n,L,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==L&&_(t),P(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==L&&_(t);var n=T.attrHandle[e.toLowerCase()],i=n&&Q.call(T.attrHandle,e.toLowerCase())?n(t,e,!j):void 0;return void 0!==i?i:x.attributes||!j?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,o=0;if(D=!x.detectDuplicates,$=!x.sortStable&&t.slice(0),t.sort(U),D){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return $=null,t},C=e.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=C(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=C(e);return n},T=e.selectors={cacheLength:50,createPseudo:i,match:ht,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(xt,Tt),t[3]=(t[3]||t[4]||t[5]||"").replace(xt,Tt),"~="===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 ht.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&pt.test(n)&&(e=A(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(xt,Tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=z[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(o){var r=e.attr(o,t);return null==r?"!="===n:!n||(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(at," ")+" ").indexOf(i)>-1:"|="===n&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var d,c,u,p,f,h,m=r!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a;if(g){if(r){for(;m;){for(u=e;u=u[m];)if(a?u.nodeName.toLowerCase()===v:1===u.nodeType)return!1;h=m="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?g.firstChild:g.lastChild],s&&y){for(f=(d=(c=g[q]||(g[q]={}))[t]||[])[0]===F&&d[1],p=d[0]===F&&d[2],u=f&&g.childNodes[f];u=++f&&u&&u[m]||(p=f=0)||h.pop();)if(1===u.nodeType&&++p&&u===e){c[t]=[F,f,p];break}}else if(y&&(d=(e[q]||(e[q]={}))[t])&&d[0]===F)p=d[1];else for(;(u=++f&&u&&u[m]||(p=f=0)||h.pop())&&((a?u.nodeName.toLowerCase()!==v:1!==u.nodeType)||!++p||(y&&((u[q]||(u[q]={}))[t]=[F,p]),u!==e)););return(p-=o)===i||p%i===0&&p/i>=0}}},PSEUDO:function(t,n){var o,r=T.pseudos[t]||T.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[q]?r(n):r.length>1?(o=[t,t,"",n],T.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,o=r(t,n),s=o.length;s--;)t[i=tt(t,o[s])]=!(e[i]=o[s])}):function(t){return r(t,0,o)}):r}},pseudos:{not:i(function(t){var e=[],n=[],o=E(t.replace(lt,"$1"));return o[q]?i(function(t,e,n,i){for(var r,s=o(t,null,i,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))}):function(t,i,r){return e[0]=t,o(e,null,r,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(xt,Tt),function(e){return(e.textContent||e.innerText||
1C(e)).indexOf(t)>-1}}),lang:i(function(t){return ft.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(xt,Tt).toLowerCase(),function(e){var n;do{if(n=j?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===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===I},focus:function(t){return t===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},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,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!T.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return mt.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:d(function(){return[0]}),last:d(function(t,e){return[e-1]}),eq:d(function(t,e,n){return[n<0?n+e:n]}),even:d(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:d(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:d(function(t,e,n){for(var i=n<0?n+e:n;--i>=0;)t.push(i);return t}),gt:d(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},T.pseudos.nth=T.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[w]=a(w);for(w in{submit:!0,reset:!0})T.pseudos[w]=l(w);return u.prototype=T.filters=T.pseudos,T.setFilters=new u,A=e.tokenize=function(t,n){var i,o,r,s,a,l,d,c=W[t+" "];if(c)return n?0:c.slice(0);for(a=t,l=[],d=T.preFilter;a;){for(s in i&&!(o=dt.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),i=!1,(o=ct.exec(a))&&(i=o.shift(),r.push({value:i,type:o[0].replace(lt," ")}),a=a.slice(i.length)),T.filter)!(o=ht[s].exec(a))||d[s]&&!(o=d[s](o))||(i=o.shift(),r.push({value:i,type:s,matches:o}),a=a.slice(i.length));if(!i)break}return n?a.length:a?e.error(t):W(t,l).slice(0)},E=e.compile=function(t,e){var n,i=[],o=[],r=V[t+" "];if(!r){for(e||(e=A(t)),n=e.length;n--;)(r=y(e[n]))[q]?i.push(r):o.push(r);(r=V(t,b(o,i))).selector=t}return r},N=e.select=function(t,e,n,i){var o,r,s,a,l,d="function"==typeof t&&t,u=!i&&A(t=d.selector||t);if(n=n||[],1===u.length){if((r=u[0]=u[0].slice(0)).length>2&&"ID"===(s=r[0]).type&&x.getById&&9===e.nodeType&&j&&T.relative[r[1].type]){if(!(e=(T.find.ID(s.matches[0].replace(xt,Tt),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(o=ht.needsContext.test(t)?0:r.length;o--&&(s=r[o],!T.relative[a=s.type]);)if((l=T.find[a])&&(i=l(s.matches[0].replace(xt,Tt),bt.test(r[0].type)&&c(e.parentNode)||e))){if(r.splice(o,1),!(t=i.length&&p(r)))return J.apply(n,i),n;break}} 2return(d||E(t,u))(i,e,!j,n,bt.test(t)&&c(e.parentNode)||e),n},x.sortStable=q.split("").sort(U).join("")===q,x.detectDuplicates=!!D,_(),x.sortDetached=o(function(t){return 1&t.compareDocumentPosition(L.createElement("div"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),x.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||r(et,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);ot.find=dt,ot.expr=dt.selectors,ot.expr[":"]=ot.expr.pseudos,ot.unique=dt.uniqueSort,ot.text=dt.getText,ot.isXMLDoc=dt.isXML,ot.contains=dt.contains;var ct=ot.expr.match.needsContext,ut=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pt=/^.[^:#\[\.,]*$/;ot.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?ot.find.matchesSelector(i,t)?[i]:[]:ot.find.matches(t,ot.grep(e,function(t){return 1===t.nodeType}))},ot.fn.extend({find:function(t){var e,n=[],i=this,o=i.length;if("string"!=typeof t)return this.pushStack(ot(t).filter(function(){for(e=0;e<o;e++)if(ot.contains(i[e],this))return!0}));for(e=0;e<o;e++)ot.find(t,i[e],n);return(n=this.pushStack(o>1?ot.unique(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)?ot(t):t||[],!1).length}});var ft,ht=t.document,mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ot.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]:mt.exec(t))||!n[1]&&e)return!e||e.jquery?(e||ft).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof ot?e[0]:e,ot.merge(this,ot.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),ut.test(n[1])&&ot.isPlainObject(e))for(n in e)ot.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((i=ht.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return ft.find(t);this.length=1,this[0]=i}return this.context=ht,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):ot.isFunction(t)?void 0!==ft.ready?ft.ready(t):t(ot):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),ot.makeArray(t,this))}).prototype=ot.fn,ft=ot(ht);var gt=/^(?:parents|prev(?:Until|All))/,vt={children:!0,contents:!0,next:!0,prev:!0};ot.extend({dir:function(t,e,n){for(var i=[],o=t[e];o&&9!==o.nodeType&&(void 0===n||1!==o.nodeType||!ot(o).is(n));)1===o.nodeType&&i.push(o),o=o[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),ot.fn.extend({has:function(t){var e,n=ot(t,this),i=n.length;return this.filter(function(){for(e=0;e<i;e++)if(ot.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,o=this.length,r=[],s=ct.test(t)||"string"!=typeof t?ot(t,e||this.context):0;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&ot.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?ot.unique(r):r)},index:function(t){return t?"string"==typeof t?ot.inArray(this[0],ot(t)):ot.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ot.unique(ot.merge(this.get(),ot(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ot.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return ot.dir(t,"parentNode")},parentsUntil:function(t,e,n){return ot.dir(t,"parentNode",n)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return ot.dir(t,"nextSibling")},prevAll:function(t){return ot.dir(t,"previousSibling")},nextUntil:function(t,e,n){return ot.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return ot.dir(t,"previousSibling",n)},siblings:function(t){return ot.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return ot.sibling(t.firstChild)},contents:function(t){return ot.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:ot.merge([],t.childNodes)}},function(t,e){ot.fn[t]=function(n,i){var o=ot.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=ot.filter(i,o)),this.length>1&&(vt[t]||(o=ot.unique(o)),gt.test(t)&&(o=o.reverse())),this.pushStack(o)}});var yt,bt=/\S+/g,wt={};ot.Callbacks=function(t){t="string"==typeof t?wt[t]||r(t):ot.extend({},t);var e,n,i,o,s,a,l=[],d=!t.once&&[],c=function(r){for(n=t.memory&&r,i=!0,s=a||0,a=0,o=l.length,e=!0;l&&s<o;s++)if(!1===l[s].apply(r[0],r[1])&&t.stopOnFalse){n=!1;break}e=!1,l&&(d?d.length&&c(d.shift()):n?l=[]:u.disable())},u={add:function(){if(l){var i=l.length;!function e(n){ot.each(n,function(n,i){var o=ot.type(i);"function"===o?t.unique&&u.has(i)||l.push(i):i&&i.length&&"string"!==o&&e(i)})}(arguments),e?o=l.length:n&&(a=i,c(n))}return this},remove:function(){return l&&ot.each(arguments,function(t,n){for(var i;(i=ot.inArray(n,l,i))>-1;)l.splice(i,1),e&&(i<=o&&o--,i<=s&&s--)}),this},has:function(t){return t?ot.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=d=n=void 0,this},disabled:function(){return!l},lock:function(){return d=void 0,n||u.disable(),this},locked:function(){return!d},fireWith:function(t,n){return!l||i&&!d||(n=[t,(n=n||[]).slice?n.slice():n],e?d.push(n):c(n)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},ot.extend({Deferred:function(t){var e=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],n="pe
2nding",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return ot.Deferred(function(n){ot.each(e,function(e,r){var s=ot.isFunction(t[e])&&t[e];o[r[1]](function(){var t=s&&s.apply(this,arguments);t&&ot.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[r[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?ot.extend(t,i):i}},o={};return i.pipe=i.then,ot.each(e,function(t,r){var s=r[2],a=r[3];i[r[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),o[r[0]]=function(){return o[r[0]+"With"](this===o?i:this,arguments),this},o[r[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e,n,i,o=0,r=G.call(arguments),s=r.length,a=1!==s||t&&ot.isFunction(t.promise)?s:0,l=1===a?t:ot.Deferred(),d=function(t,n,i){return function(o){n[t]=this,i[t]=arguments.length>1?G.call(arguments):o,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);o<s;o++)r[o]&&ot.isFunction(r[o].promise)?r[o].promise().done(d(o,i,r)).fail(l.reject).progress(d(o,n,e)):--a;return a||l.resolveWith(i,r),l.promise()}}),ot.fn.ready=function(t){return ot.ready.promise().done(t),this},ot.extend({isReady:!1,readyWait:1,holdReady:function(t){t?ot.readyWait++:ot.ready(!0)}
2,ready:function(t){if(!(!0===t?--ot.readyWait:ot.isReady)){if(!ht.body)return setTimeout(ot.ready);ot.isReady=!0,!0!==t&&--ot.readyWait>0||(yt.resolveWith(ht,[ot]),ot.fn.triggerHandler&&(ot(ht).triggerHandler("ready"),ot(ht).off("ready")))}}}),ot.ready.promise=function(e){if(!yt)if(yt=ot.Deferred(),"complete"===ht.readyState)setTimeout(ot.ready);else if(ht.addEventListener)ht.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1);else{ht.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var n=!1;try{n=null==t.frameElement&&ht.documentElement}catch(t){}n&&n.doScroll&&function t(){if(!ot.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}s(),ot.ready()}}()}return yt.promise(e)};var xt,Tt="undefined";for(xt in ot(nt))break;nt.ownLast="0"!==xt,nt.inlineBlockNeedsLayout=!1,ot(function(){var t,e,n,i;(n=ht.getElementsByTagName("body")[0])&&n.style&&(e=ht.createElement("div"),(i=ht.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==Tt&&(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=ht.createElement("div");if(null==nt.deleteExpando){nt.deleteExpando=!0;try{delete t.test}catch(t){nt.deleteExpando=!1}}t=null}(),ot.acceptData=function(t){var e=ot.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)};var Ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,kt=/([A-Z])/g;ot.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?ot.cache[t[ot.expando]]:t[ot.expando])&&!d(t)},data:function(t,e,n){return c(t,e,n)},removeData:function(t,e){return u(t,e)},_data:function(t,e,n){return c(t,e,n,!0)},_removeData:function(t,e){return u(t,e,!0)}}),ot.fn.extend({data:function(t,e){var n,i,o,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(o=ot.data(r),1===r.nodeType&&!ot._data(r,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&l(r,i=ot.camelCase(i.slice(5)),o[i]);ot._data(r,"parsedAttrs",!0)}return o}return"object"==typeof t?this.each(function(){ot.data(this,t)}):arguments.length>1?this.each(function(){ot.data(this,t,e)}):r?l(r,t,ot.data(r,t)):void 0},removeData:function(t){return this.each(function(){ot.removeData(this,t)})}}),ot.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=ot._data(t,e),n&&(!i||ot.isArray(n)?i=ot._data(t,e,ot.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=ot.queue(t,e),i=n.length,o=n.shift(),r=ot._queueHooks(t,e),s=function(){ot.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return ot._data(t,n)||ot._data(t,n,{empty:ot.Callbacks("once memory").add(function(){ot._removeData(t,e+"queue"),ot._removeData(t,n)})})}}),ot.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?ot.queue(this[0],t):void 0===e?this:this.each(function(){var n=ot.queue(this,t,e);ot._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&ot.dequeue(this,t)})},dequeue:function(t){return this.each(function(){ot.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=ot.Deferred(),r=this,s=this.length,a=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=ot._data(r[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(e)}});var At=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Et=["Top","Right","Bottom","Left"],Nt=function(t,e){return t=e||t,"none"===ot.css(t,"display")||!ot.contains(t.ownerDocument,t)},St=ot.access=function(t,e,n,i,o,r,s){var a=0,l=t.length,d=null==n;if("object"===ot.type(n))for(a in o=!0,n)ot.access(t,e,a,n[a],!0,r,s);
2else if(void 0!==i&&(o=!0,ot.isFunction(i)||(s=!0),d&&(s?(e.call(t,i),e=null):(d=e,e=function(t,e,n){return d.call(ot(t),n)})),e))for(;a<l;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return o?t:d?e.call(t):l?e(t[0],n):r},$t=/^(?:checkbox|radio)$/i;!function(){var t=ht.createElement("input"),e=ht.createElement("div"),n=ht.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>"!==ht.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(t){nt.deleteExpando=!1}}}(),function(){var e,n,i=ht.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"]=!1===i.attributes[n].expando);i=null}();var Dt=/^(?:input|select|textarea)$/i,_t=/^key/,Lt=/^(?:mouse|pointer|contextmenu)|click/,It=/^(?:focusinfocus|focusoutblur)$/,jt=/^([^.]*)(?:\.(.+)|)$/;ot.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,d,c,u,p,f,h,m,g=ot._data(t);if(g){for(n.handler&&(n=(l=n).handler,o=l.selector),n.guid||(n.guid=ot.guid++),(s=g.events)||(s=g.events={}),(c=g.handle)||(c=g.handle=function(t){return typeof ot===Tt||t&&ot.event.triggered===t.type?void 0:ot.event.dispatch.apply(c.elem,arguments)},c.elem=t),a=(e=(e||"").match(bt)||[""]).length;a--;)f=m=(r=jt.exec(e[a])||[])[1],h=(r[2]||"").split(".").sort(),f&&(d=ot.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,d=ot.event.special[f]||{},u=ot.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&ot.expr.match.needsContext.test(o),namespace:h.join(".")},l),(p=s[f])||((p=s[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,h,c)||(t.addEventListener?t.addEventListener(f,c,!1):t.attachEvent&&t.attachEvent("on"+f,c))),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),ot.event.global[f]=!0);t=null}},remove:function(t,e,n,i,o){var r,s,a,l,d,c,u,p,f,h,m,g=ot.hasData(t)&&ot._data(t);if(g&&(c=g.events)){for(d=(e=(e||"").match(bt)||[""]).length;d--;)if(f=m=(a=jt.exec(e[d])||[])[1],h=(a[2]||"").split(".").sort(),f){for(u=ot.event.special[f]||{},p=c[f=(i?u.delegateType:u.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=p.length;r--;)s=p[r],!o&&m!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(p.splice(r,1),s.selector&&p.delegateCount--,u.remove&&u.remove.call(t,s));l&&!p.length&&(u.teardown&&!1!==u.teardown.call(t,h,g.handle)||ot.removeEvent(t,f,g.handle),delete c[f])}else for(f in c)ot.event.remove(t,f+e[d],n,i,!0);ot.isEmptyObject(c)&&(delete g.handle,ot._removeData(t,"events"))}},trigger:function(e,n,i,o){var r,s,a,l,d,c,u,p=[i||ht],f=et.call(e,"type")?e.type:e,h=et.call(e,"namespace")?e.namespace.split("."):[];if(a=c=i=i||ht,3!==i.nodeType&&8!==i.nodeType&&!It.test(f+ot.event.triggered)&&(f.indexOf(".")>=0&&(h=f.split("."),f=h.shift(),h.sort()),s=f.indexOf(":")<0&&"on"+f,(e=e[ot.expando]?e:new ot.Event(f,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=h.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:ot.makeArray(n,[e]),d=ot.event.special[f]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!ot.isWindow(i)){for(l=d.delegateType||f,It.test(l+f)||(a=a.parentNode);a;a=a.parentNode)p.push(a),c=a;c===(i.ownerDocument||ht)&&p.push(c.defaultView||c.parentWindow||t)}for(u=0;(a=p[u++])&&!e.isPropagationStopped();)e.type=u>1?l:d.bindType||f,(r=(ot._data(a,"events")||{})[e.type]&&ot._data(a,"handle"))&&r.apply(a,n),(r=s&&a[s])&&r.apply&&ot.acceptData(a)&&(e.result=r.apply(a,n),!1===e.result&&e.preventDefault());if(e.type=f,!o&&!e.isDefaultPrevented()&&(!d._default||!1===d._default.apply(p.pop(),n))&&ot.acceptData(i)&&s&&i[f]&&!ot.isWindow(i)){(c=i[s])&&(i[s]=null),ot.event.triggered=f;try{i[f]()}catch(t){}ot.event.triggered=void 0,c&&(i[s]=c)}return e.result}},dispatch:function(t){t=ot.event.fix(t);var e,n,i,o,r,s=[],a=G.call(arguments),l=(ot._data(this,"events")||{})[t.type]||[],d=ot.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,t)){for(s=ot.event.handlers.call(this,t,l),e=0;(o=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,r=0;(i=o.handlers[r++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(i.namespace)||(t.handleObj=i,t.data=i.data,void 0!==(n=((ot.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,a))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,r,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&&(!0!==l.disabled||"click"!==t.type)){for(o=[],r=0;r<a;r++)void 0===o[n=(i=e[r]).selector+" "]&&(o[n]=i.needsContext?ot(n,this).index(l)>=0:ot.find(n,this,null,[l]).length),o[n]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[ot.expando])return t;var e,n,i,o=t.type,r=t,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=Lt.test(o)?this.mouseHooks:_t.test(o)?this.keyHooks:{}
2),i=s.props?this.props.concat(s.props):this.props,t=new ot.Event(r),e=i.length;e--;)t[n=i[e]]=r[n];return t.target||(t.target=r.srcElement||ht),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,s.filter?s.filter(t,r):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,o,r=e.button,s=e.fromElement;return null==t.pageX&&null!=e.clientX&&(o=(i=t.target.ownerDocument||ht).documentElement,n=i.body,t.pageX=e.clientX+(o&&o.scrollLeft||n&&n.scrollLeft||0)-(o&&o.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(o&&o.scrollTop||n&&n.scrollTop||0)-(o&&o.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toElement:s),t.which||void 0===r||(t.which=1&r?1:2&r?3:4&r?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==h()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===h()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(ot.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return ot.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 o=ot.extend(new ot.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?ot.event.trigger(o,null,e):ot.event.dispatch.call(e,o),o.isDefaultPrevented()&&n.preventDefault()}},ot.removeEvent=ht.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]===Tt&&(t[i]=null),t.detachEvent(i,n))},ot.Event=function(t,e){if(!(this instanceof ot.Event))return new ot.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?p:f):this.type=t,e&&ot.extend(this,e),this.timeStamp=t&&t.timeStamp||ot.now(),this[ot.expando]=!0},ot.Event.prototype={isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=p,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=p,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=p,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}}
2,ot.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){ot.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,o=t.relatedTarget,r=t.handleObj;return o&&(o===i||ot.contains(i,o))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),nt.submitBubbles||(ot.event.special.submit={setup:function(){if(ot.nodeName(this,"form"))return!1;ot.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=ot.nodeName(e,"input")||ot.nodeName(e,"button")?e.form:void 0;n&&!ot._data(n,"submitBubbles")&&(ot.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),ot._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&ot.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){if(ot.nodeName(this,"form"))return!1;ot.event.remove(this,"._submit")}}),nt.changeBubbles||(ot.event.special.change={setup:function(){if(Dt.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(ot.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),ot.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),ot.event.simulate("change",this,t,!0)})),!1;ot.event.add(this,"beforeactivate._change",function(t){var e=t.target;Dt.test(e.nodeName)&&!ot._data(e,"changeBubbles")&&(ot.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||ot.event.simulate("change",this.parentNode,t,!0)}),ot._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 ot.event.remove(this,"._change"),!Dt.test(this.nodeName)}}),nt.focusinBubbles||ot.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){ot.event.simulate(e,t.target,ot.event.fix(t),!0)};ot.event.special[e]={setup:function(){var i=this.ownerDocument||this,o=ot._data(i,e);o||i.addEventListener(t,n,!0),ot._data(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=ot._data(i,e)-1;o?ot._data(i,e,o):(i.removeEventListener(t,n,!0),ot._removeData(i,e))}}}),ot.fn.extend({on:function(t,e,n,i,o){var r,s;if("object"==typeof t){for(r in"string"!=typeof e&&(n=n||e,e=void 0),t)this.on(r,e,n,t[r],o);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)),!1===i)i=f;else if(!i)return this;return 1===o&&(s=i,i=function(t){return ot().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=ot.guid++)),this.each(function(){ot.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,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,ot(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=f),this.each(function(){ot.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){ot.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return ot.event.trigger(t,e,n,!0)}});var Ot="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Mt=/ jQuery\d+="(?:null|\d+)"/g,Ht=new RegExp("<(?:"+Ot+")[\\s/>]","i"),Pt=/^\s+/,qt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Rt=/<([\w:]+)/,Ft=/<tbody/i,Bt=/<|&#?\w+;/,zt=/<(?:script|style|link)/i,Wt=/checked\s*(?:[^=]|=\s*.checked.)/i,Vt=/^$|\/(?:java|ecma)script/i,Ut=/^true\/(.*)/,Xt=/^\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>"]},Gt=m(ht).appendChild(ht.createElement("div"));Qt.optgroup=Qt.option,Qt.tbody=Qt.tfoot=Qt.colgroup=Qt.caption=Qt.thead,Qt.th=Qt.td,ot.extend({clone:function(t,e,n){var i,o,r,s,a,l=ot.contains(t.ownerDocument,t);if(nt.html5Clone||ot.isXMLDoc(t)||!Ht.test("<"+t.nodeName+">")?r=t.cloneNode(!0):(Gt.innerHTML=t.outerHTML,Gt.removeChild(r=Gt.firstChild)),!(nt.noCloneEvent&&nt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ot.isXMLDoc(t)))for(i=g(r),a=g(t),s=0;null!=(o=a[s]);++s)i[s]&&C(o,i[s]);if(e)if(n)for(a=a||g(t),i=i||g(r),s=0;null!=(o=a[s]);s++)T(o,i[s]);else T(t,r);return(i=g(r,"script")).length>0&&x(i,!l&&g(t,"script")),i=a=o=null,r},buildFragment:function(t,e,n,i){for(var o,r,s,a,l,d,c,u=t.length,p=m(e),f=[],h=0;h<u;h++)if((r=t[h])||0===r)if("object"===ot.type(r))ot.merge(f,r.nodeType?[r]:r);else if(Bt.test(r)){for(a=a||p.appendChild(e.createElement("div")),l=(Rt.exec(r)||["",""])[1].toLowerCase(),c=Qt[l]||Qt._default,a.innerHTML=c[1]+r.replace(qt,"<$1></$2>")+c[2],o=c[0];o--;)a=a.lastChild;if(!nt.leadingWhitespace&&Pt.test(r)&&f.push(e.createTextNode(Pt.exec(r)[0])),!nt.tbody)for(o=(r="table"!==l||Ft.test(r)?"<table>"!==c[1]||Ft.test(r)?0:a:a.firstChild)&&r.childNodes.length;o--;)ot.nodeName(d=r.childNodes[o],"tbody")&&!d.childNodes.length&&r.removeChild(d);for(ot.merge(f,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=p.lastChild}else f.push(e.createTextNode(r));for(a&&p.removeChild(a),nt.appendChecked||ot.grep(g(f,"input"),v),h=0;r=f[h++];)if((!i||-1===ot.inArray(r,i))&&(s=ot.contains(r.ownerDocument,r),a=g(p.appendChild(r),"script"),s&&x(a),n))for(o=0;r=a[o++];)Vt.test(r.type||"")&&n.push(r);return a=null,p},cleanData:function(t,e){for(var n,i,o,r,s=0,a=ot.expando,l=ot.cache,d=nt.deleteExpando,c=ot.event.special;null!=(n=t[s]);s++)if((e||ot.acceptData(n))&&(r=(o=n[a])&&l[o])){if(r.events)for(i in r.events)c[i]?ot.event.remove(n,i):ot.removeEvent(n,i,r.handle);l[o]&&(delete l[o],d?delete n[a]:typeof n.removeAttribute!==Tt?n.removeAttribute(a):n[a]=null,Q.push(o))}}}),ot.fn.extend({text:function(t){return St(this,function(t){return void 0===t?ot.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ht).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||y(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(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?ot.filter(t,this):this,o=0;null!=(n=i[o]);o++)e||1!==n.nodeType||ot.cleanData(g(n)),n.parentNode&&(e&&ot.contains(n.ownerDocument,n)&&x(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&&ot.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&ot.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 ot.clone(this,t,e)})},html:function(t){return St(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Mt,""):void 0;if("string"==typeof t&&!zt.test(t)&&(nt.htmlSerialize||!Ht.test(t))&&(nt.leadingWhitespace||!Pt.test(t))&&!Qt[(Rt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(qt,"<$1></$2>");try{for(;n<i;n++)1===(e=this[n]||{}
2).nodeType&&(ot.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,ot.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=Y.apply([],t);var n,i,o,r,s,a,l=0,d=this.length,c=this,u=d-1,p=t[0],f=ot.isFunction(p);if(f||d>1&&"string"==typeof p&&!nt.checkClone&&Wt.test(p))return this.each(function(n){var i=c.eq(n);f&&(t[0]=p.call(this,n,i.html())),i.domManip(t,e)});if(d&&(n=(a=ot.buildFragment(t,this[0].ownerDocument,!1,this)).firstChild,1===a.childNodes.length&&(a=n),n)){for(o=(r=ot.map(g(a,"script"),b)).length;l<d;l++)i=a,l!==u&&(i=ot.clone(i,!0,!0),o&&ot.merge(r,g(i,"script"))),e.call(this[l],i,l);if(o)for(s=r[r.length-1].ownerDocument,ot.map(r,w),l=0;l<o;l++)i=r[l],Vt.test(i.type||"")&&!ot._data(i,"globalEval")&&ot.contains(s,i)&&(i.src?ot._evalUrl&&ot._evalUrl(i.src):ot.globalEval((i.text||i.textContent||i.innerHTML||"").replace(Xt,"")));a=n=null}return this}}),ot.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){ot.fn[t]=function(t){for(var n,i=0,o=[],r=ot(t),s=r.length-1;i<=s;i++)n=i===s?this:this.clone(!0),ot(r[i])[e](n),K.apply(o,n.get());return this.pushStack(o)}});var Yt,Kt,Jt={};nt.shrinkWrapBlocks=function(){return null!=Kt?Kt:(Kt=!1,(e=ht.getElementsByTagName("body")[0])&&e.style?(t=ht.createElement("div"),(n=ht.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(n).appendChild(t),typeof t.style.zoom!==Tt&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(ht.createElement("div")).style.width="5px",Kt=3!==t.offsetWidth),e.removeChild(n),Kt):void 0);var t,e,n};var Zt,te,ee=/^margin/,ne=new RegExp("^("+At+")(?!px)[a-z%]+$","i"),ie=/^(top|right|bottom|left)$/;t.getComputedStyle?(Zt=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)},te=function(t,e,n){var i,o,r,s,a=t.style;return s=(n=n||Zt(t))?n.getPropertyValue(e)||n[e]:void 0,n&&(""!==s||ot.contains(t.ownerDocument,t)||(s=ot.style(t,e)),ne.test(s)&&ee.test(e)&&(i=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=o,a.maxWidth=r)),void 0===s?s:s+""}):ht.documentElement.currentStyle&&(Zt=function(t){return t.currentStyle},te=function(t,e,n){var i,o,r,s,a=t.style;return null==(s=(n=n||Zt(t))?n[e]:void 0)&&a&&a[e]&&(s=a[e]),ne.test(s)&&!ie.test(e)&&(i=a.left,(r=(o=t.runtimeStyle)&&o.left)&&(o.left=t.currentStyle.left),a.left="fontSize"===e?"1em":s,s=a.pixelLeft+"px",a.left=i,r&&(o.left=r)),void 0===s?s:s+""||"auto"}),function(){function e(){var e,n,i,o;(n=ht.getElementsByTagName("body")[0])&&n.style&&(e=ht.createElement("div"),(i=ht.createElement("div")).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",r=s=!1,l=!0,t.getComputedStyle&&(r="1%"!==(t.getComputedStyle(e,null)||{}).top,s="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,(o=e.appendChild(ht.createElement("div"))).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",o.style.marginRight=o.style.width="0",e.style.width="1px",l=!parseFloat((t.getComputedStyle(o,null)||{}).marginRight),e.removeChild(o)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(o=e.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(a=0===o[0].offsetHeight)&&(o[0].style.display="",o[1].style.display="none",a=0===o[0].offsetHeight),n.removeChild(i))}var n,i,o,r,s,a,l 3;(n=ht.createElement("div")).innerHTML=" <link/><table></table><a href='/a'>a</a>
3<input type='checkbox'/>",(i=(o=n.getElementsByTagName("a")[0])&&o.style)&&(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,ot.extend(nt,{reliableHiddenOffsets:function(){return null==a&&e(),a},boxSizingReliable:function(){return null==s&&e(),s},pixelPosition:function(){return null==r&&e(),r},reliableMarginRight:function(){return null==l&&e(),l}}))}(),ot.swap=function(t,e,n,i){var o,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];for(r in o=n.apply(t,i||[]),e)t.style[r]=s[r];return o};var oe=/alpha\([^)]*\)/i,re=/opacity\s*=\s*([^)]*)/,se=/^(none|table(?!-c[ea]).+)/,ae=new RegExp("^("+At+")(.*)$","i"),le=new RegExp("^([+-])=("+At+")","i"),de={position:"absolute",visibility:"hidden",display:"block"},ce={letterSpacing:"0",fontWeight:"400"},ue=["Webkit","O","Moz","ms"];ot.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=te(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 o,r,s,a=ot.camelCase(e),l=t.style;if(e=ot.cssProps[a]||(ot.cssProps[a]=N(l,a)),s=ot.cssHooks[e]||ot.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:l[e];if(!("string"===(r=typeof n)&&(o=le.exec(n))&&(n=(o[1]+1)*o[2]+parseFloat(ot.css(t,e)),r="number"),null==n||n!=n||("number"!==r||ot.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(t){}}},css:function(t,e,n,i){var o,r,s,a=ot.camelCase(e);return e=ot.cssProps[a]||(ot.cssProps[a]=N(t.style,a)),(s=ot.cssHooks[e]||ot.cssHooks[a])&&"get"in s&&(r=s.get(t,!0,n)),void 0===r&&(r=te(t,e,i)),"normal"===r&&e in ce&&(r=ce[e]),""===n||n?(o=parseFloat(r),!0===n||ot.isNumeric(o)?o||0:r):r}}),ot.each(["height","width"],function(t,e){ot.cssHooks[e]={get:function(t,n,i){if(n)return se.test(ot.css(t,"display"))&&0===t.offsetWidth?ot.swap(t,de,function(){return _(t,e,i)}):_(t,e,i)},set:function(t,n,i){var o=i&&Zt(t);return $(t,n,i?D(t,e,i,nt.boxSizing&&"border-box"===ot.css(t,"boxSizing",!1,o),o):0)}}}),nt.opacity||(ot.cssHooks.opacity={get:function(t,e){return re.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,o=ot.isNumeric(e)?"alpha(opacity="+100*e+")":"",r=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===ot.trim(r.replace(oe,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=oe.test(r)?r.replace(oe,o):r+" "+o)}}),ot.cssHooks.marginRight=E(nt.reliableMarginRight,function(t,e){if(e)return ot.swap(t,{display:"inline-block"},te,[t,"marginRight"])}),ot.each({margin:"",padding:"",border:"Width"},function(t,e){ot.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[t+Et[i]+e]=r[i]||r[i-2]||r[0];return o}},ee.test(t)||(ot.cssHooks[t+e].set=$)}),ot.fn.extend({css:function(t,e){return St(this,function(t,e,n){var i,o,r={},s=0;if(ot.isArray(e)){for(i=Zt(t),o=e.length;s<o;s++)r[e[s]]=ot.css(t,e[s],!1,i);return r}return void 0!==n?ot.style(t,e,n):ot.css(t,e)},t,e,arguments.length>1)},show:function(){return S(this,!0)},hide:function(){return S(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Nt(this)?ot(this).show():ot(this).hide()})}}),ot.Tween=L,L.prototype={constructor:L,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(ot.cssNumber[n]?"":"px")},cur:function(){var t=L.propHooks[this.prop];return t&&t.get?t.get(this):L.propHooks._default.get(this)},run:function(t){var e,n=L.propHooks[this.prop];return this.options.duration?this.pos=e=ot.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):L.propHooks._default.set(this),this}},L.prototype.init.prototype=L.prototype,L.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=ot.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){ot.fx.step[t.prop]?ot.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[ot.cssProps[t.prop]]||ot.cssHooks[t.prop])?ot.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},L.propHooks.scrollTop=L.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ot.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},ot.fx=L.prototype.init,ot.fx.step={};var pe,fe,he,me,ge,ve,ye,be=/^(?:toggle|show|hide)$/,we=new RegExp("^(?:([+-])=|)("+At+")([a-z%]*)$","i"),xe=/queueHooks$/,Te=[M],Ce={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),o=we.exec(e),r=o&&o[3]||(ot.cssNumber[t]?"":"px"),s=(ot.cssNumber[t]||"px"!==r&&+i)&&we.exec(ot.css(n.elem,t)),a=1,l=20;if(s&&s[3]!==r){r=r||s[3],o=o||[],s=+i||1;do{s/=a=a||".5",ot.style(n.elem,t,s+r)}while(a!==(a=n.cur()/i)&&1!==a&&--l)}return o&&(s=n.start=+s||+i||0,n.unit=r,n.end=o[1]?s+(o[1]+1)*o[2]:+o[2]),n}]};ot.Animation=ot.extend(P,{tweener:function(t,e){ot.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,o=t.length;i<o;i++)n=t[i],Ce[n]=Ce[n]||[],Ce[n].unshift(e)},prefilter:function(t,e){e?Te.unshift(t):Te.push(t)}}),ot.speed=function(t,e,n){var i=t&&"object"==typeof t?ot.extend({},t):{complete:n||!n&&e||ot.isFunction(t)&&t,duration:t,easing:n&&e||e&&!ot.isFunction(e)&&e};return i.duration=ot.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ot.fx.speeds?ot.fx.speeds[i.duration]:ot.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ot.isFunction(i.old)&&i.old.call(this),i.queue&&ot.dequeue(this,i.queue)},i},ot.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Nt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var o=ot.isEmptyObject(t),r=ot.speed(e,n,i),s=function(){var e=P(this,ot.extend({},t),r);(o||ot._data(this,"finish"))&&e.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.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&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",r=ot.timers,s=ot._data(this);if(o)s[o]&&s[o].stop&&i(s[o]);else for(o in s)s[o]&&s[o].stop&&xe.test(o)&&i(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(n),e=!1,r.splice(o,1));!e&&n||ot.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=ot._data(this),i=n[t+"queue"],o=n[t+"queueHooks"],r=ot.timers,s=i?i.length:0;for(n.finish=!0,ot.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),ot.each(["toggle","show","hide"],function(t,e){var n=ot.fn[e];ot.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(j(e,!0),t,i,o)}}),ot.each({slideDown:j("show"),slideUp:j("hide"),slideToggle:j("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){ot.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),ot.timers=[],ot.fx.tick=function(){var t,e=ot.timers,n=0;for(pe=ot.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||ot.fx.stop(),pe=void 0},ot.fx.timer=function(t){ot.timers.push(t),t()?ot.fx.start():ot.timers.pop()},ot.fx.interval=13,ot.fx.start=function(){fe||(fe=setInterval(ot.fx.tick,ot.fx.interval))},ot.fx.stop=function(){clearInterval(fe),fe=null},ot.fx.speeds={slow:600,fast:200,_default:400},ot.fn.delay=function(t,e){return t=ot.fx&&ot.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},(me=ht.createElement("div")).setAttribute("className","t"),me.innerHTML=" <link/><table></table><a href='/a'>a</a>
3<input type='checkbox'/>",ve=me.getElementsByTagName("a")[0],ye=(ge=ht.createElement("select")).appendChild(ht.createElement("option")),he=me.getElementsByTagName("input")[0],ve.style.cssText="top:1px",nt.getSetAttribute="t"!==me.className,nt.style=/top/.test(ve.getAttribute("style")),nt.hrefNormalized="/a"===ve.getAttribute("href"),nt.checkOn=!!he.value,nt.optSelected=ye.selected,nt.enctype=!!ht.createElement("form").enctype,ge.disabled=!0,nt.optDisabled=!ye.disabled,(he=ht.createElement("input")).setAttribute("value",""),nt.input=""===he.getAttribute("value"),he.value="t",he.setAttribute("type","radio"),nt.radioValue="t"===he.value;var ke=/\r/g;ot.fn.extend({val:function(t){var e,n,i,o=this[0];return arguments.length?(i=ot.isFunction(t),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?t.call(this,n,ot(this).val()):t)?o="":"number"==typeof o?o+="":ot.isArray(o)&&(o=ot.map(o,function(t){return null==t?"":t+""})),(e=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=ot.valHooks[o.type]||ot.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(ke,""):null==n?"":n:void 0}}),ot.extend({valHooks:{option:{get:function(t){var e=ot.find.attr(t,"value");return null!=e?e:ot.trim(ot.text(t))}}
3,select:{get:function(t){for(var e,n,i=t.options,o=t.selectedIndex,r="select-one"===t.type||o<0,s=r?null:[],a=r?o+1:i.length,l=o<0?a:r?o:0;l<a;l++)if(((n=i[l]).selected||l===o)&&(nt.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ot.nodeName(n.parentNode,"optgroup"))){if(e=ot(n).val(),r)return e;s.push(e)}return s},set:function(t,e){for(var n,i,o=t.options,r=ot.makeArray(e),s=o.length;s--;)if(i=o[s],ot.inArray(ot.valHooks.option.get(i),r)>=0)try{i.selected=n=!0}catch(t){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),o}}}}),ot.each(["radio","checkbox"],function(){ot.valHooks[this]={set:function(t,e){if(ot.isArray(e))return t.checked=ot.inArray(ot(t).val(),e)>=0}},nt.checkOn||(ot.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ae,Ee,Ne=ot.expr.attrHandle,Se=/^(?:checked|selected)$/i,$e=nt.getSetAttribute,De=nt.input;ot.fn.extend({attr:function(t,e){return St(this,ot.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){ot.removeAttr(this,t)})}}),ot.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return typeof t.getAttribute===Tt?ot.prop(t,e,n):(1===r&&ot.isXMLDoc(t)||(e=e.toLowerCase(),i=ot.attrHooks[e]||(ot.expr.match.bool.test(e)?Ee:Ae)),void 0===n?i&&"get"in i&&null!==(o=i.get(t,e))?o:null==(o=ot.find.attr(t,e))?void 0:o:null!==n?i&&"set"in i&&void 0!==(o=i.set(t,n,e))?o:(t.setAttribute(e,n+""),n):void ot.removeAttr(t,e))},removeAttr:function(t,e){var n,i,o=0,r=e&&e.match(bt);if(r&&1===t.nodeType)for(;n=r[o++];)i=ot.propFix[n]||n,ot.expr.match.bool.test(n)?De&&$e||!Se.test(n)?t[i]=!1:t[ot.camelCase("default-"+n)]=t[i]=!1:ot.attr(t,n,""),t.removeAttribute($e?n:i)},attrHooks:{type:{set:function(t,e){if(!nt.radioValue&&"radio"===e&&ot.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),Ee={set:function(t,e,n){return!1===e?ot.removeAttr(t,n):De&&$e||!Se.test(n)?t.setAttribute(!$e&&ot.propFix[n]||n,n):t[ot.camelCase("default-"+n)]=t[n]=!0,n}},ot.each(ot.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Ne[e]||ot.find.attr;Ne[e]=De&&$e||!Se.test(e)?function(t,e,i){var o,r;return i||(r=Ne[e],Ne[e]=o,o=null!=n(t,e,i)?e.toLowerCase():null,Ne[e]=r),o}:function(t,e,n){if(!n)return t[ot.camelCase("default-"+e)]?e.toLowerCase():null}}),De&&$e||(ot.attrHooks.value={set:function(t,e,n){if(!ot.nodeName(t,"input"))return Ae&&Ae.set(t,e,n);t.defaultValue=e}}),$e||(Ae={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}},Ne.id=Ne.name=Ne.coords=function(t,e,n){var i;if(!n)return(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},ot.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);if(n&&n.specified)return n.value},set:Ae.set},ot.attrHooks.contenteditable={set:function(t,e,n){Ae.set(t,""!==e&&e,n)}},ot.each(["width","height"],function(t,e){ot.attrHooks[e]={set:function(t,n){if(""===n)return t.setAttribute(e,"auto"),n}}})),nt.style||(ot.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var _e=/^(?:input|select|textarea|button|object)$/i,Le=/^(?:a|area)$/i;ot.fn.extend({prop:function(t,e){return St(this,ot.prop,t,e,arguments.length>1)},removeProp:function(t){return t=ot.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),ot.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var i,o,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return(1!==r||!ot.isXMLDoc(t))&&(e=ot.propFix[e]||e,o=ot.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=ot.find.attr(t,"tabindex");return e?parseInt(e,10):_e.test(t.nodeName)||Le.test(t.nodeName)&&t.href?0:-1}}}}),nt.hrefNormalized||ot.each(["href","src"],function(t,e){ot.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),nt.optSelected||(ot.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ot.propFix[this.toLowerCase()]=this}),nt.enctype||(ot.propFix.enctype="encoding");var Ie=/[\t\r\n\f]/g;ot.fn.extend({addClass:function(t){var e,n,i,o,r,s,a=0,l=this.length,d="string"==typeof t&&t;if(ot.isFunction(t))return this.each(function(e){ot(this).addClass(t.call(this,e,this.className))});if(d)for(e=(t||"").match(bt)||[];a<l;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(Ie," "):" ")){for(r=0;o=e[r++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=ot.trim(i),n.className!==s&&(n.className=s)}return this},removeClass:function(t){var e,n,i,o,r,s,a=0,l=this.length,d=0===arguments.length||"string"==typeof t&&t;if(ot.isFunction(t))return this.each(function(e){ot(this).removeClass(t.call(this,e,this.className))});if(d)for(e=(t||"").match(bt)||[];a<l;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(Ie," "):"")){for(r=0;o=e[r++];)for(;i.indexOf(" "+o+" ")>=0;)i=i.replace(" "+o+" "," ");s=t?ot.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):ot.is
vendor: 5,824 bytes, line 3
3Function(t)?this.each(function(n){ot(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var e,i=0,o=ot(this),r=t.match(bt)||[];e=r[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else n!==Tt&&"boolean"!==n||(this.className&&ot._data(this,"__className__",this.className),this.className=this.className||!1===t?"":ot._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}}),ot.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){ot.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),ot.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 je=ot.now(),Oe=/\?/,Me=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ot.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,i=null,o=ot.trim(e+"");return o&&!ot.trim(o.replace(Me,function(t,e,o,r){return n&&e&&(i=0),0===i?t:(n=o||e,i+=!r-!o,"")}))?Function("return "+o)():ot.error("Invalid JSON: "+e)},ot.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{t.DOMParser?n=(new DOMParser).parseFromString(e,"text/xml"):((n=new ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(e))}catch(t){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||ot.error("Invalid XML: "+e),n};var He,Pe,qe=/#.*$/,Re=/([?&])_=[^&]*/,Fe=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Be=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ze=/^(?:GET|HEAD)$/,We=/^\/\//,Ve=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ue={},Xe={},Qe="*/".concat("*");try{Pe=location.href}catch(t){(Pe=ht.createElement("a")).href="",Pe=Pe.href}He=Ve.exec(Pe.toLowerCase())||[],ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pe,type:"GET",isLocal:Be.test(He[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":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?F(F(t,ot.ajaxSettings),e):F(ot.ajaxSettings,t)},ajaxPrefilter:q(Ue),ajaxTransport:q(Xe),ajax:function(t,e){function n(t,e,n,i){var o,c,v,y,w,T=e;2!==b&&(b=2,a&&clearTimeout(a),d=void 0,s=i||"",x.readyState=t>0?4:0,o=t>=200&&t<300||304===t,n&&(y=B(u,x,n)),y=z(u,y,x,o),o?(u.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(ot.lastModified[r]=w),(w=x.getResponseHeader("etag"))&&(ot.etag[r]=w)),204===t||"HEAD"===u.type?T="nocontent":304===t?T="notmodified":(T=y.state,c=y.data,o=!(v=y.error))):(v=T,!t&&T||(T="error",t<0&&(t=0))),x.status=t,x.statusText=(e||T)+"",o?h.resolveWith(p,[c,T,x]):h.rejectWith(p,[x,T,v]),x.statusCode(g),g=void 0,l&&f.trigger(o?"ajaxSuccess":"ajaxError",[x,u,o?c:v]),m.fireWith(p,[x,T]),l&&(f.trigger("ajaxComplete",[x,u]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,r,s,a,l,d,c,u=ot.ajaxSetup({},e),p=u.context||u,f=u.context&&(p.nodeType||p.jquery)?ot(p):ot.event,h=ot.Deferred(),m=ot.Callbacks("once memory"),g=u.statusCode||{},v={},y={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!c)for(c={};e=Fe.exec(s);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=y[n]=y[n]||t,v[t]=e),this},overrideMimeType:function(t){return b||(u.mimeType=t),this},statusCode:function(t){var e;if(t)if(b<2)for(e in t)g[e]=[g[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||w;return d&&d.abort(e),n(0,e),this}};if(h.promise(x).complete=m.add,x.success=x.done,x.error=x.fail,u.url=((t||u.url||Pe)+"").replace(qe,"").replace(We,He[1]+"//"),u.type=e.method||e.type||u.method||u.type,u.dataTypes=ot.trim(u.dataType||"*").toLowerCase().match(bt)||[""],null==u.crossDomain&&(i=Ve.exec(u.url.toLowerCase()),u.crossDomain=!(!i||i[1]===He[1]&&i[2]===He[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(He[3]||("http:"===He[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=ot.param(u.data,u.traditional)),R(Ue,u,e,x),2===b)return x;for(o in(l=ot.event&&u.global)&&0===ot.active++&&ot.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!ze.test(u.type),r=u.url,u.hasContent||(u.data&&(r=u.url+=(Oe.test(r)?"&":"?")+u.data,delete u.data),!1===u.cache&&(u.url=Re.test(r)?r.replace(Re,"$1_="+je++):r+(Oe.test(r)?"&":"?")+"_="+je++)),u.ifModified&&(ot.lastModified[r]&&x.setRequestHeader("If-Modified-Since",ot.lastModified[r]),ot.etag[r]&&x.setRequestHeader("If-None-Match",ot.etag[r])),(u.data&&u.hasContent&&!1!==u.contentType||e.contentType)&&x.setRequestHeader("Content-Type",u.contentType),x.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+Qe+"; q=0.01":""):u.accepts["*"]),u.headers)x.setRequestHeader(o,u.headers[o]);
vendor: 5,253 bytes, line 3
3if(u.beforeSend&&(!1===u.beforeSend.call(p,x,u)||2===b))return x.abort();for(o in w="abort",{success:1,error:1,complete:1})x[o](u[o]);if(d=R(Xe,u,e,x)){x.readyState=1,l&&f.trigger("ajaxSend",[x,u]),u.async&&u.timeout>0&&(a=setTimeout(function(){x.abort("timeout")},u.timeout));try{b=1,d.send(v,n)}catch(t){if(!(b<2))throw t;n(-1,t)}}else n(-1,"No Transport");return x},getJSON:function(t,e,n){return ot.get(t,e,n,"json")},getScript:function(t,e){return ot.get(t,void 0,e,"script")}}),ot.each(["get","post"],function(t,e){ot[e]=function(t,n,i,o){return ot.isFunction(n)&&(o=o||i,i=n,n=void 0),ot.ajax({url:t,type:e,dataType:o,data:n,success:i})}}),ot._evalUrl=function(t){return ot.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},ot.fn.extend({wrapAll:function(t){if(ot.isFunction(t))return this.each(function(e){ot(this).wrapAll(t.call(this,e))});if(this[0]){var e=ot(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 ot.isFunction(t)?this.each(function(e){ot(this).wrapInner(t.call(this,e))}):this.each(function(){var e=ot(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=ot.isFunction(t);return this.each(function(n){ot(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)}).end()}}),ot.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!nt.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||ot.css(t,"display"))},ot.expr.filters.visible=function(t){return!ot.expr.filters.hidden(t)};var Ge=/%20/g,Ye=/\[\]$/,Ke=/\r?\n/g,Je=/^(?:submit|button|image|reset|file)$/i,Ze=/^(?:input|select|textarea|keygen)/i;ot.param=function(t,e){var n,i=[],o=function(t,e){e=ot.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(t)||t.jquery&&!ot.isPlainObject(t))ot.each(t,function(){o(this.name,this.value)});else for(n in t)W(n,t[n],e,o);return i.join("&").replace(Ge,"+")},ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ot.prop(this,"elements");return t?ot.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ot(this).is(":disabled")&&Ze.test(this.nodeName)&&!Je.test(t)&&(this.checked||!$t.test(t))}).map(function(t,e){var n=ot(this).val();return null==n?null:ot.isArray(n)?ot.map(n,function(t){return{name:e.name,value:t.replace(Ke,"\r\n")}}):{name:e.name,value:n.replace(Ke,"\r\n")}}).get()}}),ot.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&V()||U()}:V;var tn=0,en={},nn=ot.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in en)en[t](void 0,!0)}),nt.cors=!!nn&&"withCredentials"in nn,(nn=nt.ajax=!!nn)&&ot.ajaxTransport(function(t){var e;if(!t.crossDomain||nt.cors)return{send:function(n,i){var o,r=t.xhr(),s=++tn;if(r.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)r[o]=t.xhrFields[o];for(o in t.mimeType&&r.overrideMimeType&&r.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)void 0!==n[o]&&r.setRequestHeader(o,n[o]+"");r.send(t.hasContent&&t.data||null),e=function(n,o){var a,l,d;if(e&&(o||4===r.readyState))if(delete en[s],e=void 0,r.onreadystatechange=ot.noop,o)4!==r.readyState&&r.abort();else{d={},a=r.status,"string"==typeof r.responseText&&(d.text=r.responseText);try{l=r.statusText}catch(t){l=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=d.text?200:404}d&&i(a,l,d,r.getAllResponseHeaders())},t.async?4===r.readyState?setTimeout(e):r.onreadystatechange=en[s]=e:e()},abort:function(){e&&e(void 0,!0)}}}),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return ot.globalEval(t),t}}}),ot.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),ot.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=ht.head||ot("head")[0]||ht.documentElement;return{send:function(i,o){(e=ht.createElement("script")).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||o(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var on=[],rn=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=on.pop()||ot.expando+"_"+je++;return this[t]=!0,t}}),ot.ajaxPrefilter("json jsonp",function(e,n,i){var o,r,s,a=!1!==e.jsonp&&(rn.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&rn.test(e.data)&&"data");
3if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ot.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(rn,"$1"+o):!1!==e.jsonp&&(e.url+=(Oe.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return s||ot.error(o+" was not called"),s[0]},e.dataTypes[0]="json",r=t[o],t[o]=function(){s=arguments},i.always(function(){t[o]=r,e[o]&&(e.jsonpCallback=n.jsonpCallback,on.push(o)),s&&ot.isFunction(r)&&r(s[0]),s=r=void 0}),"script"}),ot.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||ht;var i=ut.exec(t),o=!n&&[];return i?[e.createElement(i[1])]:(i=ot.buildFragment([t],e,o),o&&o.length&&ot(o).remove(),ot.merge([],i.childNodes))};var sn=ot.fn.load;ot.fn.load=function(t,e,n){if("string"!=typeof t&&sn)return sn.apply(this,arguments);var i,o,r,s=this,a=t.indexOf(" ");return a>=0&&(i=ot.trim(t.slice(a,t.length)),t=t.slice(0,a)),ot.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),s.length>0&&ot.ajax({url:t,type:r,dataType:"html",data:e}).done(function(t){o=arguments,s.html(i?ot("<div>").append(ot.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){s.each(n,o||[t.responseText,e,t])}),this},ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ot.fn[e]=function(t){return this.on(e,t)}}),ot.expr.filters.animated=function(t){return ot.grep(ot.timers,function(e){return t===e.elem}).length};var an=t.document.documentElement;ot.offset={setOffset:function(t,e,n){var i,o,r,s,a,l,d=ot.css(t,"position"),c=ot(t),u={};"static"===d&&(t.style.position="relative"),a=c.offset(),r=ot.css(t,"top"),l=ot.css(t,"left"),("absolute"===d||"fixed"===d)&&ot.inArray("auto",[r,l])>-1?(s=(i=c.position()).top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),ot.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(u.top=e.top-a.top+s),null!=e.left&&(u.left=e.left-a.left+o),"using"in e?e.using.call(t,u):c.css(u)}},ot.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ot.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},o=this[0],r=o&&o.ownerDocument;return r?(e=r.documentElement,ot.contains(e,o)?(typeof o.getBoundingClientRect!==Tt&&(i=o.getBoundingClientRect()),n=X(r),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===ot.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ot.nodeName(t[0],"html")||(n=t.offset()),n.top+=ot.css(t[0],"borderTopWidth",!0),n.left+=ot.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-ot.css(i,"marginTop",!0),left:e.left-n.left-ot.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||an;t&&!ot.nodeName(t,"html")&&"static"===ot.css(t,"position");)t=t.offsetParent;return t||an})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);ot.fn[t]=function(i){return St(this,function(t,i,o){var r=X(t);if(void 0===o)return r?e in r?r[e]:r.document.documentElement[i]:t[i];r?r.scrollTo(n?ot(r).scrollLeft():o,n?o:ot(r).scrollTop()):t[i]=o},t,i,arguments.length,null)}}),ot.each(["top","left"],function(t,e){ot.cssHooks[e]=E(nt.pixelPosition,function(t,n){if(n)return n=te(t,e),ne.test(n)?ot(t).position()[e]+"px":n})}),ot.each({Height:"height",Width:"width"},function(t,e){ot.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){ot.fn[i]=function(i,o){var r=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return St(this,function(e,n,i){var o;return ot.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?ot.css(e,n,s):ot.style(e,n,i,s)},e,r?i:void 0,r,null)}})}),ot.fn.size=function(){return this.length},ot.fn.andSelf=ot.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot});var ln=t.jQuery,dn=t.$;return ot.noConflict=function(e){return t.$===ot&&(t.$=dn),e&&t.jQuery===ot&&(t.jQuery=ln),ot},typeof e===Tt&&(t.jQuery=t.$=ot),ot}),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.affix"),r="object"==typeof e&&e;o||i.data("bs.affix",o=new n(this,r)),"string"==typeof e&&o[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i);var o=this.options.target===n.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);
vendor: 5,596 bytes, lines 3-4
3this.$target=o.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.4.1",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return o<n&&"top";if("bottom"==this.affixed)return null!=n?!(o+this.unpin<=r.top)&&"bottom":!(o+s<=t-i)&&"bottom";var a=null==this.affixed,l=a?o:r.top;return null!=n&&o<=n?"top":null!=i&&l+(a?s:e)>=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,o=i.top,r=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var a=this.getState(s,e,o,r);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),d=t.Event(l+".bs.affix");if(this.$element.trigger(d),d.isDefaultPrevented())return 4;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-r})}};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){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof e&&o[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.4.1",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){s.detach().trigger("closed.bs.alert").remove()}var o=t(this),r=o.attr("data-target");r||(r=(r=o.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),r="#"===r?[]:r;var s=t(document).find(r);e&&e.preventDefault(),s.length||(s=o.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 o=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=o,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),o=i.data("bs.button"),r="object"==typeof e&&e;o||i.data("bs.button",o=new n(this,r)),"toggle"==e?o.toggle():e&&o.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.4.1",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,o=i.is("input")?"val":"html",r=i.data();e+="Text",null==r.resetText&&i.data("resetText",i[o]()),setTimeout(t.proxy(function(){i[o](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))},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).closest(".btn");e.call(i,"toggle"),t(n.target).is('input[type="radio"], input[type="checkbox"]')||(n.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))}).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),o=i.data("bs.carousel"),r=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),s="string"==typeof e?e:r.slide;o||i.data("bs.carousel",o=new n(this,r)),"number"==typeof e?o.to(e):s?o[s]():r.interval&&o.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("key
4down.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.4.1",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);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},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 o=this.$element.find(".item.active"),r=i||this.getItemForDirection(e,o),s=this.interval,a="next"==e?"left":"right",l=this;if(r.hasClass("active"))return this.sliding=!1;var d=r[0],c=t.Event("slide.bs.carousel",{relatedTarget:d,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 u=t(this.$indicators.children()[this.getItemIndex(r)]);u&&u.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:d,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(e),"object"==typeof r&&r.length&&r[0].offsetWidth,o.addClass(a),r.addClass(a),o.one("bsTransitionEnd",function(){r.removeClass([e,a].join(" ")).addClass("active"),o.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(p)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(o.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(p)),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 o=function(n){var i=t(this),o=i.attr("href");o&&(o=o.replace(/.*(?=#[^\s]+$)/,""));var r=i.attr("data-target")||o,s=t(document).find(r);if(s.hasClass("carousel")){var a=t.extend({},s.data(),i.data()),l=i.attr("data-slide-to");l&&(a.interval=!1),e.call(s,a),l&&s.data("bs.carousel").to(l),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),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(document).find(i)}function n(e){return this.each(function(){var n=t(this),o=n.data("bs.collapse"),r=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!o&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),o||n.data("bs.collapse",o=new i(this,r)),"string"==typeof e&&o[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.4.1",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(e=o.data("bs.collapse"))&&e.transitioning)){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){o&&o.length&&(n.call(o,"hide"),e||o.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 o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var o=t(i);this.addAriaAndCollapsedClass(e(o),o)},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 o=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var o=t(this);o.attr("data-target")||i.preventDefault();var r=e(o),s=r.data("bs.collapse")?"toggle":o.data();n.call(r,s)})}(jQuery),function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?t(document).find(n):null;return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(o).remove(),t(r).each(function(){var i=t(this),o=e(i),r={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",r)),n.isDefaultPrevented()||(i.attr("aria-expanded","fal
4se"),o.removeClass("open").trigger(t.Event("hidden.bs.dropdown",r)))))}))}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 o=".dropdown-backdrop",r='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.4.1",s.prototype.toggle=function(i){var o=t(this);if(!o.is(".disabled, :disabled")){var r=e(o),s=r.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var a={relatedTarget:this};if(r.trigger(i=t.Event("show.bs.dropdown",a)),i.isDefaultPrevented())return;o.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(t.Event("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 o=e(i),s=o.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&o.find(r).trigger("focus"),i.trigger("click");var a=" li:not(.disabled):visible a",l=o.find(".dropdown-menu"+a);if(l.length){var d=l.index(n.target);38==n.which&&d>0&&d--,40==n.which&&d<l.length-1&&d++,~d||(d=0),l.eq(d).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",r,s.prototype.toggle).on("keydown.bs.dropdown.data-api",r,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 o=t(this),r=o.data("bs.modal"),s=t.extend({},n.DEFAULTS,o.data(),"object"==typeof e&&e);r||o.data("bs.modal",r=new n(this,s)),"string"==typeof e?r[e](i):s.show&&r.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.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",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.4.1",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,o=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(o),this.isShown||o.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 o=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),o&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});o?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(r)}))},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){document===t.target||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("key
4down.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,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=t.support.transition&&o;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;r?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 e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+n),t(this.fixedContent).each(function(e,i){var o=i.style.paddingRight,r=t(i).css("padding-right");t(i).data("padding-right",o).css("padding-right",parseFloat(r)+n+"px")}))},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),t(this.fixedContent).each(function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""})},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),o=i.attr("href"),r=i.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,""),s=t(document).find(r),a=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},s.data(),i.data());i.is("a")&&n.preventDefault(),s.one("show.bs.modal",function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(s,a,this)})}(jQuery),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(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),o=i.data("bs.scrollspy"),r="object"==typeof n&&n;o||i.data("bs.scrollspy",o=new e(this,r)),"string"==typeof n&&o[n]()})}e.VERSION="3.4.1",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),o=e.data("target")||e.attr("href"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(":visible")&&[[r[n]().top+i,o]]||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(),o=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)s!=r[t]&&e>=o[t]&&(void 0===o[t+1]||e<o[t+1])&&this.activate(r[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),o=i.data("bs.tab");o||i.data("bs.tab",o=new n(this)),"string"==typeof e&&o[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.4.1",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=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=n.find(".active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(r),e.trigger(s),!s.isDefaultPrevented()&&!r.isDefaultPrevented()){var a=t(document).find(i);this.activate(e.closest("li"),n),this.activate(a,a.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},n.prototype.activate=function(e,i,o){function r(){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),o&&o()}var s=i.find("> .active"),a=o&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);s.length&&a?s.one("bsTransitionEnd",r).emulateTransitionEnd(n.TRANSITION_DURATION):r(),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 o=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(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;return t(this).one("bsTransitionEnd",function(){n=!0}),setTimeout(function(){n||t(i).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.supp
vendor: 4,313 bytes, line 4
4ort.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,n){var i=e.nodeName.toLowerCase();if(-1!==t.inArray(i,n))return-1===t.inArray(i,r)||Boolean(e.nodeValue.match(a)||e.nodeValue.match(l));for(var o=t(n).filter(function(t,e){return e instanceof RegExp}),s=0,d=o.length;s<d;s++)if(i.match(o[s]))return!0;return!1}function n(n,i,o){if(0===n.length)return n;if(o&&"function"==typeof o)return o(n);if(!document.implementation||!document.implementation.createHTMLDocument)return n;var r=document.implementation.createHTMLDocument("sanitization");r.body.innerHTML=n;for(var s=t.map(i,function(t,e){return e}),a=t(r.body).find("*"),l=0,d=a.length;l<d;l++){var c=a[l],u=c.nodeName.toLowerCase();if(-1!==t.inArray(u,s))for(var p=t.map(c.attributes,function(t){return t}),f=[].concat(i["*"]||[],i[u]||[]),h=0,m=p.length;h<m;h++)e(p[h],f)||c.removeAttribute(p[h].nodeName);else c.parentNode.removeChild(c)}return r.body.innerHTML}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.tooltip"),o="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||n.data("bs.tooltip",i=new d(this,o)),"string"==typeof e&&i[e]())})}var o=["sanitize","whiteList","sanitizeFn"],r=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],s={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},a=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,l=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,d=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)};d.VERSION="3.4.1",d.TRANSITION_DURATION=150,d.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},sanitize:!0,sanitizeFn:null,whiteList:s},d.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(document).find(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 o=this.options.trigger.split(" "),r=o.length;r--;){var s=o[r];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()},d.prototype.getDefaults=function(){return d.DEFAULTS},d.prototype.getOptions=function(e){var i=this.$element.data();for(var r in i)i.hasOwnProperty(r)&&-1!==t.inArray(r,o)&&delete i[r];return(e=t.extend({},this.getDefaults(),i,e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.sanitize&&(e.template=n(e.template,e.whiteList,e.sanitizeFn)),e},d.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},d.prototype.enter=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["focusin"==e.type?"focu
4s":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},d.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},d.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()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},d.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,o=this.tip(),r=this.getUID(this.type);this.setContent(),o.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,l=a.test(s);l&&(s=s.replace(a,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(t(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),u=o[0].offsetWidth,p=o[0].offsetHeight;if(l){var f=s,h=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+p>h.bottom?"top":"top"==s&&c.top-p<h.top?"bottom":"right"==s&&c.right+u>h.width?"left":"left"==s&&c.left-u<h.left?"right":s,o.removeClass(f).addClass(s)}var m=this.getCalculatedOffset(s,c,u,p);this.applyPlacement(m,s);var g=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",g).emulateTransitionEnd(d.TRANSITION_DURATION):g()}},d.prototype.applyPlacement=function(e,n){var i=this.tip(),o=i[0].offsetWidth,r=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,d=i[0].offsetHeight;"top"==n&&d!=r&&(e.top=e.top+r-d);var c=this.getViewportAdjustedDelta(n,e,l,d);c.left?e.left+=c.left:e.top+=c.top;var u=/top|bottom/.test(n),p=u?2*c.left-o+l:2*c.top-r+d,f=u?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(p,i[0][f],u)},d.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},d.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=n(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},d.prototype.hide=function(e){function n(){"in"!=i.hoverState&&o.detach(),i.$element&&i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),e&&e()}var i=this,o=t(this.$tip),r=t.Event("hide.bs."+this.type);if(this.$element.trigger(r),!r.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(d.TRANSITION_DURATION):n(),this.hoverState=null,this},d.prototype.fixTitle=function(){var t=this.$element 5;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},d.prototype.hasContent=function(){return this.getTitle()},d.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],i="BODY"==n.tagName,o=n.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var r=window.SVGElement&&n instanceof window.SVGElement,s=i?{top:0,left:0}:r?null:e.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,a,l,s)},d.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}},d.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-r-s.scroll,l=e.top+r-s.scroll+i;a<s.top?o.top=s.top-a:l>s.top+s.height&&(o.top=s.top+s.height-l)}else{var d=e.left-r,c=e.left+r+n;
5d<s.left?o.left=s.left-d:c>s.right&&(o.left=s.left+s.width-c)}return o},d.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},d.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},d.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},d.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},d.prototype.enable=function(){this.enabled=!0},d.prototype.disable=function(){this.enabled=!1},d.prototype.toggleEnabled=function(){this.enabled=!this.enabled},d.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(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)},d.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,t.$element=null})},d.prototype.sanitizeHtml=function(t){return n(t,this.options.whiteList,this.options.sanitizeFn)};var c=t.fn.tooltip;t.fn.tooltip=i,t.fn.tooltip.Constructor=d,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=c,this}}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.popover"),r="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||i.data("bs.popover",o=new n(this,r)),"string"==typeof e&&o[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.4.1",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();if(this.options.html){var i=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===i&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().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";t.fn.fitVids=function(e){var n={customSelector:null};if(!document.getElementById("fit-vids-style")){var i=document.head||document.getElementsByTagName("head")[0],o=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",r=document.createElement("div");r.innerHTML='<p>x</p><style id="fit-vids-style">'+o+"</style>",i.appendChild(r.childNodes[1])}return e&&t.extend(n,e),this.each(function(){var e=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];n.customSelector&&e.push(n.customSelector);var i=t(this).find(e.join(","));(i=i.not("object object")).each(function(){var e=t(this);if(!("embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){var n=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var i="fitvid"+Math.floor(999999*Math.random());e.attr("id",i)}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*n+"%"),e.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(t){var e,n={kitId:"soa6uym",scriptTimeout:3e3},i=t.documentElement,o=setTimeout(function(){i.className=i.className.replace(/\bwf-loading\b/g,"")+" wf-inactive"},n.scriptTimeout),r=t.createElement("script"),s=!1,a=t.getElementsByTagName("script")[0];i.className+=" wf-loading",r.src="//use.typekit.net/"+n.kitId+".js",r.async=!0,r.onload=r.onreadystatechange=function(){if(e=this.readyState,!(s||e&&"complete"!=e&&"loaded"!=e)){s=!0,clearTimeout(o);try{Typekit.load(n)}catch(t){}}},a.parentNode.insertBefore(r,a)}(document),"undefined"==typeof kalkomey&&(kalkomey={}
5),$(document).ready(function(){kalkomey.landing.init()}),kalkomey.landing=function(t){var e,n,i,o;return e=function(){o(),n()},n=function(){var e=t('.navbar a[href="#select-your-course"]'),n=null,o=null;e.length&&("dropdown"===e.data("create")&&t(window).width()>991?(n=t('<ul id="state-listing" class="dropdown-menu three-column"></ul>'),t("html").hasClass("landing")&&((o=t("#states .states-list > li").clone()).each(function(){var e=t(this);e.removeAttr("class").find("a").html(e.find("h3").text()),e.children().not("a").remove()}),statesListUSA=o.has(".usa"),i(statesListUSA)),n.append(o),o.has(".canada, .instructor").before('<li class="divider"></li>'),e.append(' <b class="caret"></b>').parent().addClass("dropdown"),e.addClass("dropdown-toggle").attr("data-toggle","dropdown").on("click",function(t){t.preventDefault()}).after(n)):e.on("click",function(n){t("html, body").animate({scrollTop:t(e.attr("href")).offset().top+1},500),n.preventDefault()}))},i=function(t){for(var e=t.length,n=e%3,i=n?(e-n)/3+1:(e-n)/3,o=null,r=0;r<3;r++)for(var s=0;s<i;s++){if(o=r*i+s,t.get(o))switch(r){case 1:t.get(o).className="col2";break;case 2:t.get(o).className="col3";break;default:t.get(o).className="col1"}r>0&&0===s&&(t.get(o).style.marginTop="-"+26*i+"px"),2===r&&s===i-(3-n)-1&&0!==n&&(t.get(o).style.marginBottom=30*(3-n)+"px")}return t},sortbyCountry=function(){var e=t("#states .states-list li").find("a");e.hasClass("canada")&&e.parent().before('<li class="divider"></li>')},o=function(){t("body").on("click.dropdown","a.menu, .dropdown-toggle",function(){var e=t(this).parent();return e.hasClass("open")?e.removeClass("open"):e.addClass("open"),!1})},{init:e,awaitElement:function(t){return new Promise(e=>{let n=document.getElementById(t);if(n)return e(n);const i=new MutationObserver(()=>{let n=document.getElementById(t);n&&(e(n),i.disconnect())});i.observe(document.body,{childList:!0,subtree:!0})})}}}(jQuery),$(document).ready(function(){Modernizr.mq("only screen and (min-width: 640px)")&&$('a[data-toggle="modal"]').on("click",function(t){var e=$(this),n=$("#modal"),i=e.attr("href");t.preventDefault(),"image"===e.attr("data-modal-type")?n.html('<button class="close" data-dismiss="modal" title="close this figure">\xd7</button><figure><img src="'+i+'"/></figure>'):"video"===e.attr("data-modal-type")?n.html('<button class="close" data-dismiss="modal" title="close this video">\xd7</button><figure><iframe src="'+i+'" width="440px" height="326px" frameborder="0" webkitAllowFullScreen allowFullScreen"></iframe></figure>'):(n=$("#modal2")).html('<button class="close" data-dismiss="modal" title="close this game">\xd7</button><figure><iframe src="'+i+'" width="560px" height="420px" frameborder="0" webkitAllowFullScreen allowFullScreen"></iframe></figure>'),n.modal("show")})});const STATE_BOUNDS={US:{AL:{north:35.008028,south:30.223393,east:-84.88908,west:-88.473227},AK:{north:71.5388,south:51.218013,east:-130.005996,west:-179.148909},AZ:{north:37.004259,south:31.332177,east:-109.045223,west:-114.818268},AR:{north:36.4996,south:33.0041,east:-89.6448,west:-94.6179},CA:{north:42.0095,south:32.5341,east:-114.1312,west:-124.4096},CO:{north:41.003444,south:36.993076,east:-102.041524,west:-109.045223},CT:{north:42.050587,south:40.982876,east:-71.787437,west:-73.727775},DE:{north:39.839007,south:38.451013,east:-74.984927,west:-75.789},FL:{north:31.003013,south:24.396308,east:-79.974307,west:-87.634896},GA:{north:35.000771,south:30.357851,east:-80.751412,west:-85.605165},HI:{north:28.402123,south:18.910361,east:-154.806773,west:-178.334698},ID:{north:49.001146,south:41.988056,east:-111.043564,west:-117.243027},IL:{north:42.508481,south:36.970298,east:-87.020001,west:-91.512974},IN:{north:41.761691,south:37.771742,east:-84.784579,west:-88.097889},IA:{north:43.501196,south:40.375501,east:-90.140061,west:-96.639704},KS:{north:40.003162,south:36.993076,east:-94.588413,west:-102.051769},KY:{north:39.147051,south:36.497129,east:-81.964971,west:-89.571509},LA:{north:33.019457,south:28.92861,east:-88.817017,west:-94.043587},ME:{north:47.459686,south:42.976394,east:-66.93457,west:-71.083924},MD:{north:39.722027,south:37.914066,east:-74.984927,west:-79.487651},MA:{north:42.886778,south:41.237964,east:-69.860443,west:-73.508142},MI:{north:48.304127,south:41.696118,east:-82.121996,west:-90.418825},MN:{north:49.384358,south:43.499356,east:-89.491739,west:-97.239209},MS:{north:34.996052,south:30.173943,east:-88.097889,west:-91.636787},MO:{north:40.61364,south:35.995683,east:-89.100226,west:-95.774704}
5,MT:{north:49.001146,south:44.358221,east:-104.039648,west:-116.045291},NE:{north:43.003018,south:39.999998,east:-95.30829,west:-104.053514},NV:{north:42.002207,south:35.001857,east:-114.039648,west:-120.005746},NH:{north:45.305476,south:42.697041,east:-70.610621,west:-72.557247},NJ:{north:41.357423,south:38.92834,east:-73.884313,west:-75.559614},NM:{north:36.9993,south:31.332177,east:-103.002571,west:-109.045223},NY:{north:45.013027,south:40.477399,east:-71.856214,west:-79.76259},NC:{north:36.588117,south:33.752879,east:-75.40012,west:-84.321869},ND:{north:49.000692,south:45.935073,east:-96.554507,west:-104.049273},OH:{north:42.327132,south:38.403202,east:-80.518693,west:-84.820158},OK:{north:37.002206,south:33.615833,east:-94.431448,west:-103.002571},OR:{north:46.292035,south:41.991794,east:-116.463261,west:-124.566244},PA:{north:42.26986,south:39.719799,east:-74.689515,west:-80.519891},RI:{north:42.018798,south:41.146339,east:-71.12057,west:-71.907681},SC:{north:35.215402,south:32.038803,east:-78.54203,west:-83.353928},SD:{north:45.94545,south:42.479635,east:-96.434586,west:-104.057698},TN:{north:36.678118,south:34.982972,east:-81.652335,west:-90.310298},TX:{north:36.500704,south:25.837377,east:-93.508039,west:-106.645646},UT:{north:42.004976,south:36.997968,east:-109.041058,west:-114.052885},VT:{north:45.016659,south:42.726853,east:-71.465144,west:-73.437742},VA:{north:39.466012,south:36.540738,east:-75.166435,west:-83.67529},WA:{north:49.002494,south:45.543541,east:-116.916071,west:-124.848974},WV:{north:40.638801,south:37.201483,east:-77.719519,west:-82.644739},WI:{north:47.080621,south:42.491983,east:-86.249548,west:-92.888114},WY:{north:45.005904,south:40.994772,east:-104.052785,west:-111.056888}},CA:{AB:{north:60,south:48.999998,east:-110,west:-120},BC:{north:60,south:48.299999,east:-114.010557,west:-139.05713},MB:{north:60,south:49,east:-95.152634,west:-102.0037},NB:{north:47.082073,south:44.579844,east:-63.043701,west:-69.087112},NL:{north:51.679786,south:46.618614,east:-52.595352,west:-59.808161},NS:{north:47.084357,south:43.416581,east:-59.74165,west:-66.327934},NT:{north:69.999981,south:60.000008,east:-110.002656,west:-136.994621},NU:{north:83.116584,south:60.110426,east:-65.354736,west:-138.437951},ON:{north:56.929183,south:41.675105,east:-74.320655,west:-95.156047},PE:{north:47.082073,south:45.815399,east:-61.891493,west:-64.319411},QC:{north:62.585095,south:44.99944,east:-57.099674,west:-79.76104},SK:{north:60,south:49,east:-101.372437,west:-110.003144},YT:{north:69.623459,south:60.05557,east:-123.09457,west:-141.00226}}};"undefined"==typeof kalkomey&&(kalkomey={}),kalkomey.common=function(t){var e,n,i,o,r,s,a,l;new Date;return initialize=function(){setupMobileHeading()},e=function(t){var e=t.closest("fieldset").find(".hint-resident-only");t.attr("aria-describedby",e.attr("id")),e.attr("aria-hidden","true"),t.closest(".form-group").append(e)},setupGoogleAddressAutocomplete=function(t,e,n=!1,i=!1){if(!window.googlePlacesApiLoaded)return;const{objectName:o,prefix:r}=t.dataset,s=t=>{["address_1","city","state_code","zip"].forEach(e=>{document.getElementsByName(`${o}[${r}_${e}]`).forEach(n=>{const i=t[e];i?(n.value=i,n.dispatchEvent(new Event("change"),{bubbles:!0}),n.dispatchEvent(new Event("blur"),{bubbles:!0})):n.value=""})})},a=()=>{const t={US:"state",CA:"province"}[e]||"region",n=document.getElementsByName(`${o}[${r}_state_code]`);for(const e of n)if(e.classList.contains(t))return e.value},l=window.googleAutocompletes[t.id],d=STATE_BOUNDS[e]||{};if(l){if(i&&(s({}),window.dispatchEvent(new CustomEvent("addressAutocompleteReset",{detail:{prefix:r}}))),l.setComponentRestrictions({country:e.toLowerCase()}),n){const t=d[a()];t&&(l.setBounds(t),l.setOptions({strictBounds:!0}))}}else{const i={componentRestrictions:{country:e.toLowerCase()},fields:["address_components"],types:["street_address","premise"]};if(n){const t=d[a()];t&&(i.bounds=t,i.strictBounds=!0)}const o=new google.maps.places.Autocomplete(t,i);window.googleAutocompletes[t.id]=o;const l=(t,e)=>{for(const n of e)for(const e of t)if(e.types.includes(n))return e;return{short_name:"",long_name:""}};o.addListener("place_changed",()=>{const{address_components:t}=o.getPlace(),e=l(t,["street_number"]),n=l(t,["route","premise"]),i=l(t,["locality","sublocality","administrative_area_level_2","postal_town"]),a=l(t,["administrative_area_level_1"]),d=l(t,["postal_code"]),c=l(t,["country"]),u=["US","CA"].includes(c.short_name),p=l(t,["administrative_area_level_2"]);s({address_1:`${e.long_name} ${n.long_name}`,city:i.long_name,state_code:u?a.short_name:a.long_name,zip:d.long_name});const f="US"===c.short_name&&p?{prefix:r,zipCode:d.long_name,county:p.long_name}:{prefix:r,zipCode:d.long_name};window.dispatchEvent(new CustomEvent("addressAutocompleted",{detail:f}))}),t.addEventListener("keydown",t=>{13===t.keyCode&&t.preventDefault()})}},l=function(){t("select.country").not('[type="hidden"]').each(function(){var e=t(this);e.on("change",function(){n(e,!0)}),n(e)})},n=function(n,i){n.attr("id");var o=n.closest("fieldset"),r=o.hasClass("resident-only"),s=o.find(".postalcode"),a=o.find(".phone"),l=o.find(".regi
5on"),d=o.find(".country.form-control"),c=o.find(".province"),u=o.find(".state"),p="[a-zA-Z][0-9][a-zA-Z][ ]?[0-9][a-zA-Z][0-9]",f="^[2-9]{1}[0-9]{9}$",h=t(".bootstrap_5").length>0,m=h?".state_code":".form-group",g=h?'div[data-react-class="Zipcode"]':".form-group";const v=n.find(":selected").val(),y=o.find(".address1")[0];switch(setupGoogleAddressAutocomplete(y,v,r,i),v){case"US":a.attr("pattern",f),a.attr("title","Please use the format 2345678910 with no hyphens or spaces. Country code is not required."),a.attr("placeholder","for example, 2345678910 (digits only)"),s.attr("pattern","\\d{5}(-\\d{4})?"),s.attr("maxlength","10"),s.attr("required","required"),s.attr("title","Please use the format 98765 or 98765-4321."),s.closest(g).find("label").text("Zip Code"),l.closest(m).show(),l.hide().prop("disabled",!0).removeAttr("required"),c.hide().prop("disabled",!0).removeAttr("required"),u.show(),u.closest(m).find("label").attr("for",u.attr("id")).text("State or District"),d.removeAttr("aria-describedby"),r?e(u):u.prop("disabled",!1).attr("required","required");break;case"CA":a.attr("pattern",f),a.attr("title","Please use the format 2345678910 with no hyphens or spaces. Country code is not required."),a.attr("placeholder","for example, 2345678910 (digits only)"),s.attr("pattern",p),s.attr("maxlength","7"),s.attr("required","required"),s.attr("title","Please use the format A1B 2C3."),s.closest(g).find("label").text("Postal Code"),l.closest(m).show(),l.hide().prop("disabled",!0).removeAttr("required"),u.hide().prop("disabled",!0).removeAttr("required"),c.show(),c.closest(m).find("label").attr("for",c.attr("id")).text("Province or Territory"),d.removeAttr("aria-describedby"),r?e(c):(s.val().match(p)||s.val(""),c.prop("disabled",!1).attr("required","required"));break;case"NZ":a.attr("pattern",f),a.attr("title","Please use the format 2345678910 with no hyphens or spaces. Country code is not required."),a.attr("placeholder","for example, 2345678910 (digits only)"),s.attr("pattern","\\d{4}"),s.attr("maxlength","4"),s.attr("required","required"),s.attr("title","Please use the format 9876."),s.closest(g).find("label").text("Postal Code"),s.val().match("\\d{4}")||s.val(""),l.closest(m).hide(),l.prop("disabled",!0).removeAttr("required"),u.hide().prop("disabled",!0).removeAttr("required"),c.hide().prop("disabled",!0).removeAttr("required"),l.show(),l.is("#cc-state")?l.prop("disabled",!1).removeAttr("required").val("NZ"):l.prop("disabled",!0).removeAttr("required"),e(d);break;case"AU":u.hide().prop("disabled",!0).removeAttr("required"),c.hide().prop("disabled",!0).removeAttr("required"),l.closest(m).show(),l.prop("disabled",!1).show(),l.closest(m).find("label").attr("for",l.attr("id")).text("State"),s.attr("pattern","\\d{4}"),s.attr("maxlength","4"),s.attr("required","required"),s.attr("title","Please use the format 9876."),s.closest(g).find("label").text("Postcode");break;default:a.removeAttr("pattern").removeAttr("title"),s.removeAttr("pattern"),s.attr("maxlength","10"),s.closest(g).find("label").text("Postal Code"),l.closest(m).show(),c.hide().prop("disabled",!0).removeAttr("required"),u.hide().prop("disabled",!0).removeAttr("required"),i&&l.val(""),l.prop("disabled",!1).show(),l.closest(m).find("label").attr("for",l.attr("id")).text("Region or Locality"),d.removeAttr("aria-describedby")}},setUpAddressToggle=function(e,n){var i=t(e),o=t(n),r=o.find(":input"),s=o.hasClass("resident-only");o.data("show")||0==i.length||(s&&(r=r.not(".state, .province, .region, .country")),i.prop("checked")||(o.prop("disabled",!0).hide(),r.prop("disabled",!0)),i.on("change",function(){i.prop("checked")?(o.prop("disabled",!1).slideDown(),r.filter(function(){return t(this).is(":visible")||"hidden"===this.type}).prop("disabled",!1)):(o.slideUp().prop("disabled",!0),r.each(function(){kalkomey.common.removeInputAlert(t(this))}),r.prop("disabled",!0));kalkomey.addressValidation.checkboxHandler()}))},i=function(e){var n=e.find(".birth.day"),i=e.find(".birth.month"),o=e.find(".birth.year"),r=o.attr("data-minage");if(Modernizr.inputtypes.date&&Modernizr.mq("only screen and (max-width: 768px)")){var s=new Date,a=s.getFullYear()-r+"-"+(s.getMonth()+1)+"-"+s.getDate(),l=(e.prev("label").attr("for","birthdate"),t('<input id="birthdate" name="birthdate" class="birth date" type="date" max="'+a+'" value="'+a+'" required>'));n.removeAttr("required").hide(),i.removeAttr("required").hide(),o.removeAttr("required").hide(),l.on("blur",function(){var t=l.val();n.val(parseInt(t.slice(8),10)),i.val(parseInt(t.slice(5,7),10)),o.val(parseInt(t.slice(0,4),10))}),e.prepend(l)}},o=function(e){e.find(":reset").on("click",function(){e.find(".controls :input").each(function(){s(t(this))}),a("all",t("#main .alert-banner"))})},r=function(e,n){var i=e.closest(".form-group"),o=e.is("[data-validation-group] :input"),r=t('<p class="help-block text-danger" role="alert">'+n+"</p>");s(e),o&&(i=e.closest("[data-validation-group]")),e.is('[type="checkbox"]')&&(i=e.closest(".checkbox")),i.addClass("has-error").append(r)},setInputAlertV2=function(e,n){var i=t('<p class="help-block text-danger" role="alert">'+n+"</p>"),o=e.parent();removeInputAlertV2(e),e.addClass("is-invalid"),o.append(i)},s=function(t){var e=t.closest(".form-group");t.is("[data-validation-group] :input")&&(e=t.closest("[data-validation-group]")),e.removeClass("has-error").find('[role="alert"].help-block').remove()},removeInputAlertV2=function(t){var e=t.parent();t.removeClass("is-invalid"),e.find('[role="alert"].help-block').remove()},a=function(t,e){e.find(".alert").length&&("all"===t?e.find(".alert"):e.find(".alert-"+t)).alert("close")},setupMobileHeading=function(){var e=t("h1.brand"),n=t(window).width(),i=!1;t(window).on("orientationchange resize",function(){if(!i||n!=t(window).width()){var o=t(e).outerWidth(!0),r=t("button.btn-navbar").outerWidth(!0);t(window).width()-r-o<=11?e.addClass("text-reduced"):e.removeClass("text-reduced"),n=t(window).width(),i=!0}}).resize()},{init:initialize,setupFieldsBasedOnCountry:n,isCountryUS:function(){return"US"===t("#mailng-address .country").val()},setDescribedbyForResidentOnly:e,setUpBillingAddressToggle:function(){setUpAddressToggle("#billing-different-address","#billing-address")},setUpPhysicalAddressToggle:function(){setUpAddressToggle("#student-different-address","#mailing-address")}
5,setupDateInput:i,stopNativeFormValidation:function(t){t.on("invalid",function(t){t.preventDefault()})},setupFormValidationNotification:function(t){t.on("click",":submit",function(){t.checkValidity()})},clearForm:o,setInputAlert:r,setInputAlertV2:setInputAlertV2,removeInputAlert:s,removeInputAlertV2:removeInputAlertV2,createAlertMessage:function(e,n,i,o){var r=t('<div class="alert alert-'+e+'" role="alert">'+i+"</div>");n&&t('<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>').prependTo(r),r.prependTo(o)},removeAlert:a,setupCountryChange:l,setupFAQTabs:function(){var e=window.location.toString(),n=null,i=null;e.indexOf("#")>0&&(n=e.substring(e.indexOf("#"),e.length),i="#"+t(".tab-pane").has(t(n)).attr("id"),t("a[href='"+i+"']").on("click",function(){t(n).css("animation","highlight 2s")}).click(),window.location=e)},showValidityStatus:function(t,e){var n=t.prop("disabled"),i="Field: "+t.attr("id")+"\n\n";i+=" disabled: "+n+"\
5n",n||(i+=" valueMissing: "+t.prop("validity").valueMissing+"\n",i+=" typeMismatch: "+t.prop("validity").typeMismatch+"\n",i+=" patternMismatch: "+t.prop("validity").patternMismatch+"\n",i+=" tooLong: "+t.prop("validity").tooLong+"\n",i+=" rangeUnderflow: "+t.prop("validity").rangeUnderflow+"\n",i+=" rangeOverflow: "+t.prop("validity").rangeOverflow+"\n",i+=" stepMismatch: "+t.prop("validity").stepMismatch+"\n\n",i+=" valid: "+t.prop("validity").valid+"\n",i+=" customError: "+t.prop("validity").customError+"\n",i+=' validationMessage: "'+t.prop("validationMessage")+'"\n',i+=' Site Error Message: "'+e+'"\n'),i="\n"+i+"\n",console.log(i)},scrollToTop:function(e){t("html, body").animate({scrollTop:e.offset().top-58},500)},setupGoogleAddressAutocomplete:setupGoogleAddressAutocomplete}}(jQuery),window.setGooglePlacesApiLoaded=function(){window.googlePlacesApiLoaded=!0,window.googleAutocompletes=window.googleAutocompletes||{};const t=document.getElementsByClassName("address1");[...Array(t.length).keys()].forEach(e=>{const n=t[e],i=n.closest("fieldset"),o=i.classList.contains("resident-only"),r=i.querySelector(".country");kalkomey.common.setupGoogleAddressAutocomplete(n,r.value,o)})},"undefined"==typeof kalkomey&&(kalkomey={}),kalkomey.addressValidation=function(t){var e,n,i,o,r,s,a,l=[],d=99,c=!1,u=0,p=t(".bootstrap_5").length>0;return e=function(e){this.residentOnly,this.html={},this.addressVals={},this.suggestedAddress={},this.originalData=e,this.msg="",this.useExistingAddress=!1,this.advance=!1,this.panel=!1,this.alert=!1,this.pending=!1,this.setup=function(t){this.html=t},this.lookupAddress=function(){var e=this;return t.ajax({type:"POST",url:"/address_verifications",beforeSend:function(){e.pending=!0},data:this.addressVals})},this.getAddress=function(){var t={};return t.address1=this.html.find(".address1").val(),t.address2=this.html.find(".address2").val(),t.city=this.html.find(".city").val(),t.state=this.html.find(".state").val(),t.zip=this.html.find(".postalcode").val(),t},this.isValidAddress=function(t){return!("errors"in t)},this.hideAddressInputs=function(){var t=this.html.closest("form").find(".form-actions").find(":submit, .btn-confirm");this.html.find(".form-group").wrapAll('<div class="address-fields-wrapper">'),this.html.find(".address-fields-wrapper").hide(),this.html.next(".student_different_address").hide(),t.hide()},this.hideAddressInputsV2=function(){var t=this.html.closest("form").find(".form-actions").find(":submit");this.html.find(".mb-3").wrapAll('<div class="address-fields-wrapper">'),this.html.find(".address-fields-wrapper").hide(),this.html.next(".student_different_address").hide(),t.hide()},this.showAddressInputs=function(){var t=this.html.closest("form").find(".form-actions").find(":submit, .btn-confirm");this.html.find(".address-fields-wrapper").show(),this.html.next(".student_different_address").show(),t.show()},this.showAddressInputsV2=function(){var t=this.html.closest("form").find(".form-actions").find(":submit");this.html.find(".address-fields-wrapper").show(),this.html.find(".mb-3").unwrap(),this.html.next(".account_student_different_address").show(),t.show()},this.updateAddressValues=function(){for(var t in this.suggestedAddress)this.suggestedAddress.hasOwnProperty(t)&&this.html.find(':input[id*="'+t+'"]').val(this.suggestedAddress[t])},this.handleResidentOnly=function(t){if(void 0!==this.residentOnly)return this.residentOnly;var e=t.hasClass("resident-only");return this.residentOnly=e,this.residentOnly},this.residentOnlyState=function(t){return t},this.showValidationAlert=function(){var e=this.html.closest("form").find(".form-actions").find(":submit, .btn-confirm"),n=t('<div class="alert alert-warning address-validation" role="alert"><strong>We had trouble verifying your address.</strong><p>'+this.msg+"</p></div>").hide();this.html.find(".address-validation").fadeOut().remove(),n.prependTo(this.html).fadeIn(),(this==l[l.length-1]||l[l.length-1].advance)&&kalkomey.common.scrollToTop(t("#contact-info")),this.originalData=this.html.serialize(),kalkomey.forms.stopBusyStatus(e,0)},this.showValidationPanel=function(){var e,i,o,r=this,a=r.residentOnly?"center":"end";p?(e=t('<div class="row my-3"><div class="col-8 ps-1"><div class="card border-warning address-validation"><div class="card-header bg-warning text-black">We had trouble verifying your address.</div><div class="card-body"><p>
5'+this.msg+'</p><div class="row mb-3"><div class="col-sm-6 address-usps"></div><div class="col-sm-6 address-user"></div></div><div class="row justify-content-'+a+'" ><div class="col-sm-6"><button type="button" class="btn border-secondary w-100">manually change address</button></div></div></div></div></div></div>').hide(),r.showInputs=this.showAddressInputsV2,r.hideInputs=this.hideAddressInputsV2):(e=t('<div class="panel panel-warning address-validation"><div class="panel-heading"><h4 class="panel-title">We had trouble verifying your address.</h4></div><div class="panel-body"><p>'+this.msg+'</p><div class="row"><div class="col-sm-6 address-usps"></div><div class="col-sm-6 address-user"></div></div><div class="row"><div class="col-sm-12"><p><button type="button" class="btn btn-default btn-close">manually change address</button><br/></p></div></div></div></div>').hide(),r.showInputs=this.showAddressInputs,r.hideInputs=this.hideAddressInputs);e.find(".panel-body");var d=e.find(".address-usps"),c=e.find(".address-user"),u=e.find(".btn-close");p?(i=t('<button type="button" class="btn btn-lg border-secondary w-100">Use This Address</button>'),o=t('<button type="button" class="btn btn-lg border-secondary w-100">Keep This Address</button>')):(i=t('<button type="button" class="btn btn-lg btn-block btn-default">Use This Address</button>'),o=t('<button type="button" class="btn btn-lg btn-block btn-default">Keep This Address</button>'));var f=this.html.closest("form").find(".form-actions").find(":submit");this.html.find(".address-validation").fadeOut().remove(),d.html(n(this.suggestedAddress)).append(i),null===this.providedAddress||this.residentOnly?c.remove():c.html(n(this.addressVals)).append(o),r.hideInputs(),e.appendTo(this.html).fadeIn(),(this==l[l.length-1]||l[l.length-1].advance)&&kalkomey.common.scrollToTop(t("#contact-info")),i.on("click",function(){r.updateAddressValues(),r.advance=!0,e.fadeOut().remove(),r.originalData=r.html.serialize(),r.showInputs(),s()&&(p?kalkomey.forms.stopBusyStatus(f,0):f.click())}),this.residentOnly||o.on("click",function(){r.advance=!0,e.fadeOut().remove(),r.originalData=r.html.serialize(),r.showInputs(),s()&&(p?kalkomey.forms.stopBusyStatus(f,0):f.click())}),u.on("click",function(){e.fadeOut().remove(),r.originalData=r.html.serialize(),r.showInputs()})},this.validate=function(t){var e=this;this.addressVals=this.getAddress(),this.addressVals?this.lookupAddress().done(function(n){e.advance=!1,e.alert=!1,e.panel=!1,e.suggestedAddress=n.address,setTimeout(function(){e.useExistingAddress?e.advance=!0:(e.isValidAddress(n)||(e.handleResidentOnly(t)?(e.msg='If it is incorrect, please correct it. If you believe it is correct, please <a href="/site/contact/">contact Customer Service</a>.',e.alert=!0):(e.msg="Is it correct? If you believe it is, please continue; otherwise, please update and correct it before continuing.",e.useExistingAddress=!0,e.alert=!0)),n.similarity<d&&(e.handleResidentOnly(t)?(e.msg='If the suggested address below is correct, please click \u201cuse this address.\u201d If this is not correct, please <a href="/site/contact/">contact Customer Service</a>.',e.panel=!0):(e.msg="Please select an address below to use.",e.panel=!0)),n.similarity>=d&&(e.advance=!0));e.pending=!1,i(t,e)},700)}).fail(function(){e.advance=!0,e.pending=!1,i(t,e)}):(this.advance=!0,this.pending=!1,i(t,this))}},r=function(n){n.each(function(){if(!t(this).prop("disabled")){var n=t(this).serialize(),i=new e(n);l.push(i)}})},checkboxHandler=function(){var e=t("#contact-info").find("fieldset.validate-postal").not(":hidden");o()||(c?c=!1:(c=!0,a(e)))},reviewAddresses=function(e){e.each(function(n){l[n].setup(t(this)),l[n].validate(e)})},s=function(){var t=0;return l.forEach(function(e){e.advance&&(t+=1)}),t==l.length},o=function(){var t=!1;return l.forEach(function(e){e.pending&&(t=!0)}),t},i=function(t){var e,n=o();e=p?t.closest("form").find(".form-actions").find(":submit"):t.closest("form").find(".form-actions").find(":submit, .btn-confirm"),(u+=1)==l.length&&(n||l.forEach(function(t){t.alert?t.showValidationAlert():t.panel?t.showValidationPanel():t.originalData=t.html.serialize()}),u=0,s()&&e.click(),kalkomey.forms.stopBusyStatus(e,0))},n=function(e){var n;for(var i in n=t(p?'<p class="well bg-grey-light p-2 text-center fw-bold">':'<p class="well" style="font-weight: bold;">'),e)if(e.hasOwnProperty(i)&&""!==e[i])switch(i){case"address1":case"address2":n.append(e[i]+"<br>");break;case"city":n.append(e[i]+", ");break;default: 6n.append(e[i]+" ")}return n},a=function(t){l=[],r(t)},{init:r,review:reviewAddresses,hasAddressFieldsetChanged:function(e){var n=!1;return e.each(function(e){l[e].originalData!==t(this).serialize()&&(l[e].useExistingAddress=!1,n=!0)}),n},readyToAdvance:s,resetAddresses:a,checkboxHandler:checkboxHandler}}(jQuery),"undefined"==typeof kalkomey&&(kalkomey={}),$(function(){setTimeout(function(){kalkomey.forms.init()},150)}),kalkomey.forms=function(t){var e,n,i,o,r,s,a,l,d,c,u,p,f,h,m,g,v,y,b=!1,w=!1;m=function(){t("form").each(function(){var e=t(this),n=e.find("fieldset.validate-postal").not(":hidden");u=t(".bootstrap_5").length>0,kalkomey.common.clearForm(e),kalkomey.common.setupCountryChange(),kalkomey.common.setUpBillingAddressToggle(
6),kalkomey.common.setUpPhysicalAddressToggle(),i(e.find("#cc-exp-date")),s(e.find("input.check-username")),a(e),l(e.find("[data-validation-dependent]")),setupGroupValidation(e.find("[data-validation-group]")),d(e.find(".optional-field")),configureAutoRenew(),n.length&&o(n),setupConfirmModal(e.filter(".confirm-modal"))}),setupMergeTable(),setListenersForPrimarySelection()},e=function(e,n){var i="",o=t("#"+e.closest("[data-validation-group]").attr("data-validation-group")).text();if(!e.prop("validity").valid){if(o){if(n.find("li:contains("+o+")").text()===o)return;i=o}else i=e.data("validationLabel")?e.data("validationLabel"):e.closest(".form-group").find('label[for="'+e.attr("id")+'"]').text();n.append("<li>"+i+"</li>"),r(e)}},n=function(e){var n=t("<p>");return e.each(function(){var e=t(this),i=e.val();if(""!==t.trim(i))switch(!0){case e.hasClass("address1"):case e.hasClass("address2"):i+="<br/>";break;case e.hasClass("postalcode"):case e.hasClass("zip"):i=" "+i+"<br/>";break;case e.hasClass("city"):i+=", ";break;case e.hasClass("country"):i=e.find('option[value="'+i+'"]').text()+"<br/>";break;case e.hasClass("phone"):i="<strong>Phone:</strong> "+i;break;default:i+=" "}n.append(i)}),n},i=function(e){var n=t("#cc-exp-date-month"),i=t("#cc-exp-date-year");e.hide().removeAttr("required").attr("type","hidden"),n.attr("required","required"),i.attr("required","required").closest(".form-inline").removeClass("hidden"),n.add(i).on("blur",function(){var t="",o=n.val(),r=new RegExp(n.attr("pattern")),s=i.val(),a=new RegExp(i.attr("pattern"));1===o.length&&(o="0"+o,n.val(o)),r.test(o)&&a.test(s)&&(t=o+"-20"+s,e.val(t))})},r=function(e){var n="",i=e.attr("title");t("#"+e.closest("[data-validation-group]").attr("data-validation-group")).text();if("access_token"==e.attr("id"))n="Access Token must be between 7 and 12 alphanumeric characters.";else if(e.prop("validity").valueMissing)switch(!0){case"checkbox"===e.attr("type")&&!0===e.prop("required"):n="You must check this field in order to continue.";break;case"radio"===e.attr("type")&&!0===e.prop("required"):n="<b>No answer selected.</b> <br> Please select an answer before submitting.";break;case e.is(".student-dob-group .date.month"):case e.is(".student-dob-group .date.day"):case e.is(".student-dob-group .date.year"):n="Please complete your date of birth.";break;case e.is(".cc-exp-date-group .date.month"):case e.is(".cc-exp-date-group .date.year"):n="Please complete your credit card expiration date.";break;case e.is(".name.first"):case e.is(".name.last"):n="Please complete your name.";break;default:n="Please complete this field."}else e.prop("validity").patternMismatch&&(n=i),e.prop("validity").typeMismatch&&e.is('[type="email"]')&&(n="This email address is invalid. Please use the format: [email protected]"),"reference mismatch"===e.prop("validationMessage")&&(n="This must match the previous password entered."),"range underflow"===e.prop("validationMessage")&&(n="You were born before the year 1900? Not likely."),"range overflow"===e.prop("validationMessage")&&(n="The minimum age required to register is <b>"+e.attr("data-minage")+" years old</b>."),n||(n=e.prop("validationMessage")?e.prop("validationMessage"):"Please correct this field.");u?kalkomey.common.setInputAlertV2(e,n):kalkomey.common.setInputAlert(e,n)},o=function(t){b=!0,w=!0,kalkomey.addressValidation.init(t)},s=function(e){var n,i=!1,o=4,s="",a=e.closest(".form-group");e.attr("aria-live","assertive"),e.on("input keyup",function(){var l=e.val();l.length>=o?l!=s&&(s=l,e[0].setCustomValidity(""),kalkomey.common.removeInputAlert(e),a.removeClass("has-error has-success").addClass("has-feedback is-busy"),e.attr("aria-label","Checking username\u2026").next(".help-block").remove(),i&&i.abort(),clearTimeout(n),n=setTimeout(function(){i=t.ajax({url:"/usernames/"+l,type:"GET"}).statusCode({200:function(){a.removeClass("is-busy").addClass("has-error"),e.attr("aria-label","Error: username is taken"),e[0].setCustomValidity("This username is taken. Please choose another."),r(e)},204:function(){e.prop("validity").patternMismatch?(kalkomey.common.removeInputAlert(e),r(e)):(a.removeClass("is-busy").addClass("has-success"),e.attr("aria-label","Success: username is available").after('<p class="help-block">This username is available.</p>'))}})},1300),e.focus()):(i&&i.abort(),a.removeClass("has-feedback has-error has-success is-busy"),e.removeAttr("aria-label").next(".help-block").remove()),e.on("blur",function(){e.val().length<o&&(clearTimeout(n),i&&i.abort())})})},a=function(n){var i=n.find("input, select, textarea").filter(":input"),o=n.find('[type="submit"]'),s=t('[type="submit"][form="'+n.attr("id")+'"]'),a=t(".register-new");s.length&&(o=s),i.each(function(){var e=t(this);e.on("change",function(){kalkomey.common.removeInputAlertV2(e);var t=e.val()||"";e.val(t.trimRight()),e.prop("willValidate")&&!e.prop("validity").valid&&r(e)}),e.on("blur",function(){setTimeout(function(){""!==t.trim(e.val())&&(kalkomey.common.removeInputAlert(e),e.prop("willValidate")&&!e.prop("validity").valid&&r(e))},350)})}),a||o.on("click",function(o){var r=t("<ul></ul>"),s=u?n:n.find(".form-alerts:first"),a=null,l=n.find("fieldset.validate-postal").not(":hidden"),d=l.find("select.country").val();l.find("select.state").val();
6if(o.preventDefault(),u&&g(t(this),0),kalkomey.common.removeAlert("danger",s),i.filter(":enabled").each(function(){e(t(this),r)}),n[0].checkValidity())if(b&&"US"===d&&u&&(w||kalkomey.addressValidation.hasAddressFieldsetChanged(l)))kalkomey.addressValidation.review(l),w=!1;else{c(i),handlePhysicalBilling(),u||g(t(this),0);var p=l.find("#account_student_physical_country_code"),f=l.find("#account_student_mailing_country_code");removeOtherStateFields(p),removeOtherStateFields(f),n.submit()}else u?v(t(this),0):(a="<p>Please review and correct the following field"+(r.find("li").length>1?"s":"")+":<p>",kalkomey.common.createAlertMessage("danger",!0,a+r[0].outerHTML,s)),kalkomey.common.scrollToTop(s)})},setupConfirmModal=function(n){var i,o=t(".modal.confirm"),r=o.find(".modal-footer"),s=n.find("input, select, textarea").filter(":input"),l=n.find('[type="submit"]').not(":hidden"),d="Confirm "+t("#confirm-modal-heading").text();t("#change-button");if(i=u?t("").clone():l.clone(),o&&l){function c(){var i=t(this),r=t("<ul></ul>"),l=n.find(".form-alerts:first"),d=null,c=n.find("fieldset.validate-postal").not(":hidden"),p=t("select.country",c).val();t("select.state",c).val();a(n),s=n.find("input, select, textarea").filter(":input"),kalkomey.common.removeAlert("danger",l),s.filter(":enabled").each(function(){e(t(this),r)}),n[0].checkValidity()?(g(t(this),0),formValidActions(c,p,o,i,n)):(u||(d="<p>Please review and correct the following field"+(r.find("li").length>1?"s":"")+" :<p>",kalkomey.common.createAlertMessage("danger",!0,d+r[0].outerHTML,l)),kalkomey.common.scrollToTop(l))}u||l.removeClass("pull-right confirm-modal").attr("form",n.attr("id")).after(i).off("mousedown").appendTo(r),s.keydown(function(t){13===t.keyCode&&(t.preventDefault(),i.click())}),i.removeAttr("data-confirm-text").attr("type","button").addClass("btn-confirm").text(d).on("click",function(){if(g(t(this),0),!n[0].checkValidity())return c(),void v(i,0);v(i,0),c()})}},removeOtherStateFields=function(t){"CA"==t.val()?(t.find(".region").remove(),t.find(".state").remove()):"US"==t.val()?(t.find(".region").remove(),t.find(".province").remove()):(t.find(".state").remove(),t.find(".province").remove())},l=function(e){e.each(function(){var e=t(this),n=e.data("validationDependent");e.on("blur",function(){var i=t("#"+n).val(),o="";e.val()!==i?(o="reference mismatch",e[0].setCustomValidity(o)):(e[0].setCustomValidity(""),kalkomey.common.removeInputAlert(e))})})},setupGroupValidation=function(e){e.each(function(){var e=t(this),n=(t("#"+e.data("validationGroup")).text(),e.find(":input"));n.on("blur",function(){window.setTimeout(function(){n.is(t(document.activeElement))},50)})})},d=function(e){e.each(function(){var e=t(this),n=e.closest("[data-validation-group]");e.closest(".form-inline").find("input").on("blur",function(){n.hasClass("has-error")?e.hide():e.show()})})},g=function(t,e){e=e||0,t.prop("disabled",!0).addClass("busy"),e&&setTimeout(function(){t.prop("disabled",!1).removeClass("busy")},e)},v=function(t){t.prop("disabled",!1).removeClass("busy")},c=function(e){e.each(function(){var e=t(this),n=t.trim(e.val());if(!0===e.is(".creditcard.number"))e.val(n.replace(/\s/g,""))})};var x={physical_country_code:"bill_to_address_country",physical_state_code:"bill_to_address_state",physical_address_1:"bill_to_address_line1",physical_address_2:"bill_to_address_line2",physical_city:"bill_to_address_city",physical_zip:"bill_to_address_postal_code",physical_phone:"bill_to_phone"};return handlePhysicalBilling=function(){var e=t("#billing-different-address");if(e.length&&!e.is(":checked")){Object.entries(x).forEach(function(e){var n=t('[name="order_service_form['+e[0]+']"]');t('input[name="'+e[1]+'"]').val(n.val())});var n=t("#physical-address"),i=t('[name="bill_to_address_state"]'),o=t('[name="order_service_form[physical_country_code]"]').val(),r="US"===o?".state":"CA"===o?".province":".region";i.val(n.find(r).val())}},getConfirmLabel=function(e){var n=t('label[for="'+e.attr("id")+'"]');return null==n[0]&&(n=e.parent()),n}
6,getConfirmLabelText=function(e,n){n=e.text();return t.contains(e[0],e[0].querySelector(".height"))&&(n=e.clone().children().remove().end().text()),n},getAppendedLabelAndValue=function(e,n,i){var o="<dt>"+n+"</dt><dd>"+i+"</dd>",r="<dt>Student's Height</dt>";return t.contains(e[0],e[0].querySelector(".height"))&&(o='<dd class="inline-dscr">'+i+'</dd><dt class="inline-dscr">'+n+"</dt>",-1!=n.indexOf("ft.")&&(o=r+o)),o},configureAutoRenew=function(){var t=document.getElementById("merchant_defined_data17_box");t&&t.addEventListener("change",function(){var e=document.getElementById("order_service_form_merchant_defined_data17");void 0!==t&&(t.checked?e.value="true":e.value="false")})},setupMergeTable=function(){t(".table-wrap").each(function(){var e=t(this),n=e.find("tbody tr th").parent();e.find("tbody tr").each(function(){var e=t(this);if(0==e.find("th").length&&0==e.find("td.spacer").length)for(var i=0;i<e.find("td").length;i++){var o="td:eq("+i+")",r="th:eq("+i+")";""==n.find(r).text()?e.find(o).attr("data-title","Select as Primary"):(e.find(o).attr("data-title",n.find(r).text()),""==e.find(o).text()&&"Merge Into Primary"!=n.find(r).text()&&e.find(o).addClass("no-data"))}})}),setListenersForPrimarySelection=function(){t(".account input:radio").each(function(){t(this).change(function(e){var n=t(e.target),i=n.parent().parent().find(".switch"),o=t(".current"),r=o.find(".switch");o.each(function(){var e=t(this);e.removeClass("current"),e.addClass("secondary")}),n.parent().siblings().addBack().each(function(){var e=t(this);e.removeClass("secondary"),e.addClass("current")}),i.addClass("hidden"),r.removeClass("hidden")})})}},formValidActions=function(t,e,n,i,o){b&&"US"===e&&(w||kalkomey.addressValidation.hasAddressFieldsetChanged(t)||!kalkomey.addressValidation.readyToAdvance())?(kalkomey.addressValidation.review(t),w=!1):updateAndBuildModal(n,i,o,t)},updateAndBuildModal=function(e,n,i,o){var r=e.find(".modal-body"),s=r.find("#modal-name"),a=r.find("#modal-info"),l=r.find("#modal-contact"),d=t("#cert-info").find("#student-dob").text(),c=t("#username-info").find("#account-username").val();s.empty(),a.empty(),l.empty(),c&&a.append("<dt>Username</dt><dd>"+c+"</dd>"),d&&a.append("<dt>Date of Birth</dt><dd>"+d+"</dd>"),insertStudentInfo(a,s,i),insertAndSetupAddresses(e,n,l,i,o)},insertStudentInfo=function(e,n,i){var o=i.find("#student-info, #credit-card-info"),r=t(".student-name-group"),s="";o.find(":input").not(":hidden").each(function(n,i){var o=(i=t(i)).val(),a=getConfirmLabel(i),l="";i.is("select")&&(o=i.find("option").filter(":selected").text()),a.find("span").remove(),l=getConfirmLabelText(a),r.find("#"+i.context.id).length<1?e.append(getAppendedLabelAndValue(a,l,o)):s=s+" "+o}),r.length>0&&n.append('<dl><dt>Student Name</dt><dd class="h3">'+s+"</dd>")},insertAndSetupAddresses=function(e,i,o,r,s){r.find("#mailing-address, #physical-address, #billing-address").each(function(e,i){var r=(i=t(i)).find(":input").not(":hidden"),s=i.find("legend").clone(),a=t("#billing-different-address"),l=null;0==r.length&&a.length&&!a.is(":checked")&&(r=t("#physical-address").find(":input").not(":hidden")),0!=r.length&&(s.find("small").remove(),l=n(r),o.append("<dt>"+s.text()+"</dt><dd>"+l.html()+"</dd>"))}),e.modal({backdrop:"static"}),e.on("hidden.bs.modal",function(){kalkomey.addressValidation.resetAddresses(s),v(i,0)})},getTaTotal=function(t,e,n){var i,o,r=t.items.find(function(t){return"ta_subscription"==t.fee_code});return r&&(o=n?"annually":"each month after your 30-day free trial",i='<br><div class="alert alert-info"><div class="row"><div class="col-md-3 "><strong>Total</strong></div><div class="col-md-9 text-right font-18">$'+e+"</div></div>",i+='<div class="row"><div class="col-md-12">You have elected to subscribe to Today\'s Adventure. Your card will be charged <strong>$'+r.unit_price,i+="</strong> "+o+".</div></div></div>"),i},y=function(){var t=h(Math.ceil(1111),Math.floor(9999)),e=Array.from(String(t),Number);return f(e)||p(e)?y():t},p=function(t){var e=[],n=!1;return t.forEach(function(t){-1!=e.indexOf(t)&&(n=!0),e.push(t)}),n},f=function(t){for(var e=[],n=!1,i=0;i<t.length;++i){var o=t[i];o-1==e[i-1]&&(n=!0),e.push(o)}return n},h=function(t,e){return Math.floor(Math.random()*(e-t+1)+t)},{init:m,startBusyStatus:g,stopBusyStatus:v,externalSetValidationChecks:function(t){a(t)},flFwcPinGenerator:y}}(jQuery),$(function(){var t=window.location.hash;
6if(t){var e=$(t),n=$(".tab-pane").has(e);(e.length||n.length)&&$("[href=#"+n.attr("id")+"]").tab("show").on("shown.bs.tab",function(){window.scrollTo(0,e.offset().top),$(this).off("shown.bs.tab")})}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.