<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">function checkLeadFrom(){var e=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:-1,t=$("#name-lender").val(),n=$("#email-lender").val(),i=$("#phone-lender").val(),r=$("#zipcode").val();return 0==e&amp;&amp;""==r.trim()?($('[data-name="zipcode"]').addClass("input-error"),$('[data-error="zipcode"]').parent().parent().css("margin-bottom",20),$('[data-error="zipcode"]').show().css("position","absolute"),$(".progress-container-alt").hide(),$(".btn-previous").hide(),!1):($('[data-name="zipcode"]').removeClass("input-error"),$('[data-error="zipcode"]').parent().parent().css("margin-bottom",20),$('[data-error="zipcode"]').hide(),$(".progress-container-alt").show(),$(".btn-previous").show(),11==e&amp;&amp;""==t?($('[data-error="name-email"]').find('[data-error="name"]').addClass("help-block").show(),$('[data-error="name-email"]').find('[for="name-lender"]').addClass("label-error"),$('[data-error="name-email"]').find("#name-lender").addClass("input-error"),!1):11==e&amp;&amp;""==n?($('[data-error="name-email"]').find('[data-error="email"]').addClass("help-block").show(),$('[data-error="name-email"]').find('[for="email-lender"]').addClass("label-error"),$('[data-error="name-email"]').find("#email-lender").addClass("input-error"),!1):12==e&amp;&amp;""==i?($('[data-steps="step-12"]').find('[for="phone-lender"]').addClass("label-error"),$('[data-steps="step-12"]').find("#phone-lender").addClass("input-error"),$('[data-steps="step-12"]').find('[data-error="tel"]').addClass("help-block").show(),!1):(""==t&amp;&amp;""==n&amp;&amp;""==i||($(".section.lender").find("label").removeClass("label-error"),$(".section.lender").find(".help-block").hide(),$(".section.lender").find("#phone-lender, #email-lender, #name-lender").removeClass("input-error")),!0))}function formatPrice(){var e=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:0;return(e=e.toString()).length&lt;=6&amp;&amp;1!==e.length?e=e.slice(0,-3)+",000":e.length&lt;=9&amp;&amp;1!==e.length&amp;&amp;(e=e.slice(0,-6)+","+e.substr(e.length-6,e.length-4)+",000"),e}!function(f,c,h){function a(e,t){return typeof e===t}function p(e,t,n){var i,r;return"getComputedStyle"in f?(i=getComputedStyle.call(f,e,t),r=f.console,null!==i?n&amp;&amp;(i=i.getPropertyValue(n)):r&amp;&amp;r[r.error?"error":"log"].call(r,"getComputedStyle returning null, its possible modernizr test results are inaccurate")):i=!t&amp;&amp;e.currentStyle&amp;&amp;e.currentStyle[n],i}function r(e,t){return e-1===t||e===t||e+1===t}function m(e){return"function"!=typeof c.createElement?c.createElement(e):S?c.createElementNS.call(c,"http://www.w3.org/2000/svg",e):c.createElement.apply(c,arguments)}function g(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function v(e,t,n,i){var r,o,s,a="modernizr",l=m("div"),u=((s=c.body)||((s=m(S?"svg":"body")).fake=!0),s);if(parseInt(n,10))for(;n--;)(r=m("div")).id=i?i[n]:a+(n+1),l.appendChild(r);return(s=m("style")).type="text/css",s.id="s"+a,(u.fake?u:l).appendChild(s),u.appendChild(l),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(c.createTextNode(e)),l.id=a,u.fake&amp;&amp;(u.style.background="",u.style.overflow="hidden",o=w.style.overflow,w.style.overflow="hidden",w.appendChild(u)),e=t(l,e),u.fake?(u.parentNode.removeChild(u),w.style.overflow=o,w.offsetHeight):l.parentNode.removeChild(l),!!e}function l(e,t,n){var i,r;for(r in e)if(e[r]in t)return!1===n?e[r]:(i=t[e[r]],a(i,"function")?function(e,t){return function(){return e.apply(t,arguments)}}(i,n||t):i);return!1}function _(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function u(e,t,n,i){function r(){s&amp;&amp;(delete x.style,delete x.modElem)}if(i=void 0!==i&amp;&amp;i,void 0!==n){var o=function(e,t){var n=e.length;if("CSS"in f&amp;&amp;"supports"in f.CSS){for(;n--;)if(f.CSS.supports(_(e[n]),t))return!0;return!1}if("CSSSupportsRule"in f){for(var i=[];n--;)i.push("("+_(e[n])+":"+t+")");return v("@supports ("+(i=i.join(" or "))+") { #modernizr { position: absolute; } }",function(e){return"absolute"==p(e,null,"position")})}return h}(e,n);if(void 0!==o)return o}for(var s,a,l,u,c,d=["modernizr","tspan","samp"];!x.style&amp;&amp;d.length;)s=!0,x.modElem=m(d.shift()),x.style=x.modElem.style;for(l=e.length,a=0;a&lt;l;a++)if(u=e[a],c=x.style[u],~(""+u).indexOf("-")&amp;&amp;(u=g(u)),x.style[u]!==h){if(i||void 0===n)return r(),"pfx"!=t||u;try{x.style[u]=n}catch(e){}if(x.style[u]!=c)return r(),"pfx"!=t||u}return r(),!1}function i(e,t,n,i,r){var o=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+T.join(o+" ")+o).split(" ");return a(t,"string")||void 0===t?u(s,t,i,r):l(s=(e+" "+C.join(o+" ")+o).split(" "),t,n)}function e(e,t,n){return i(e,h,h,t,n)}var d=[],b=[],t={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){b.push({name:e,fn:t,options:n})},addAsyncTest:function(e){b.push({name:null,fn:e})}},y=function(){};y.prototype=t,(y=new y).addTest("svg",!!c.createElementNS&amp;&amp;!!c.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect);var w=c.documentElement;y.addTest("cssall","all"in w.style);var S="svg"===w.nodeName.toLowerCase();y.addTest("inlinesvg",function(){var e=m("div");return e.innerHTML="&lt;svg/&gt;","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&amp;&amp;e.firstChild&amp;&amp;e.firstChild.namespaceURI)}),y.addTest("cssremunit",function(){var e=m("a").style;try{e.fontSize="3rem"}catch(e){}return/rem/.test(e.fontSize)}),(n=t.testStyles=v)("#modernizr { height: 50vh; }",function(e){var t=parseInt(f.innerHeight/2,10),e=parseInt(p(e,null,"height"),10);y.addTest("cssvhunit",r(e,t))}),n("#modernizr1{width: 50vmax}#modernizr2{width:50px;height:50px;overflow:scroll}#modernizr3{position:fixed;top:0;left:0;bottom:0;right:0}",function(e){var t=e.childNodes[2],n=e.childNodes[1],i=e.childNodes[0],e=parseInt((n.offsetWidth-n.clientWidth)/2,10),n=i.clientWidth/100,i=i.clientHeight/100,i=parseInt(50*Math.max(n,i),10),t=parseInt(p(t,null,"width"),10);y.addTest("cssvmaxunit",r(i,t)||r(i,t-e))},3),n("#modernizr1{width: 50vm;width:50vmin}#modernizr2{width:50px;height:50px;overflow:scroll}#modernizr3{position:fixed;top:0;left:0;bottom:0;right:0}",function(e){var t=e.childNodes[2],n=e.childNodes[1],i=e.childNodes[0],e=parseInt((n.offsetWidth-n.clientWidth)/2,10),n=i.clientWidth/100,i=i.clientHeight/100,i=parseInt(50*Math.min(n,i),10),t=parseInt(p(t,null,"width"),10);y.addTest("cssvminunit",r(i,t)||r(i,t-e))},3),n("#modernizr { width: 50vw; }",function(e){var t=parseInt(f.innerWidth/2,10),e=parseInt(p(e,null,"width"),10);y.addTest("cssvwunit",r(e,t))});var n="Moz O ms Webkit",T=t._config.usePrefixes?n.split(" "):[];function o(e){var t,n=prefixes.length,i=f.CSSRule;if(void 0===i)return h;if(!e)return!1;if((t=(e=e.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in i)return"@"+e;for(var r=0;r&lt;n;r++){var o=prefixes[r];if(o.toUpperCase()+"_"+t in i)return"@-"+o.toLowerCase()+"-"+e}return!1}t._cssomPrefixes=T,t.atRule=o;var C=t._config.usePrefixes?n.toLowerCase().split(" "):[];t._domPrefixes=C;var s={elem:m("modernizr")};y._q.push(function(){delete s.elem});var x={style:s.elem.style};y._q.unshift(function(){delete x.style}),t.testAllProps=i,t.testAllProps=e,y.addTest("cssgridlegacy",e("grid-columns","10px",!0)),y.addTest("cssgrid",e("grid-template-rows","none",!0)),y.addTest("flexbox",e("flexBasis","1px",!0));var E,P,A,n=t.prefixed=function(e,t,n){return 0===e.indexOf("@")?o(e):(-1!=e.indexOf("-")&amp;&amp;(e=g(e)),t?i(e,t,n):i(e,"pfx"))};y.addTest("objectfit",!!n("objectFit"),{aliases:["object-fit"]}),function(){var e,t,n,i,r,o,s;for(s in b)if(b.hasOwnProperty(s)){if(e=[],(t=b[s]).name&amp;&amp;(e.push(t.name.toLowerCase()),t.options&amp;&amp;t.options.aliases&amp;&amp;t.options.aliases.length))for(n=0;n&lt;t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(i=a(t.fn,"function")?t.fn():t.fn,r=0;r&lt;e.length;r++)1===(o=e[r].split(".")).length?y[o[0]]=i:(!y[o[0]]||y[o[0]]instanceof Boolean||(y[o[0]]=new Boolean(y[o[0]])),y[o[0]][o[1]]=i),d.push((i?"":"no-")+o.join("-"))}}(),E=d,P=w.className,A=y._config.classPrefix||"",S&amp;&amp;(P=P.baseVal),y._config.enableJSClass&amp;&amp;(n=new RegExp("(^|\\s)"+A+"no-js(\\s|$)"),P=P.replace(n,"$1"+A+"js$2")),y._config.enableClasses&amp;&amp;(P+=" "+A+E.join(" "+A),S?w.className.baseVal=P:w.className=P),delete t.addTest,delete t.addAsyncTest;for(var O=0;O&lt;y._q.length;O++)y._q[O]();f.Modernizr=y}(window,document),function(e,t){"use strict";"object"==typeof module&amp;&amp;"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(T,e){"use strict";function m(e){return null!=e&amp;&amp;e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},l=t.push,r=t.indexOf,i={},o=i.toString,v=i.hasOwnProperty,s=v.toString,u=s.call(Object),_={},b=function(e){return"function"==typeof e&amp;&amp;"number"!=typeof e.nodeType},C=T.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var i,r,o=(n=n||C).createElement("script");if(o.text=e,t)for(i in c)(r=t[i]||t.getAttribute&amp;&amp;t.getAttribute(i))&amp;&amp;o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[o.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)};function d(e){var t=!!e&amp;&amp;"length"in e&amp;&amp;e.length,n=p(e);return!b(e)&amp;&amp;!m(e)&amp;&amp;("array"===n||0===t||"number"==typeof t&amp;&amp;0&lt;t&amp;&amp;t-1 in e)}x.fn=x.prototype={jquery:"3.5.1",constructor:x,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e&lt;0?this[e+this.length]:this[e]},pushStack:function(e){e=x.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return x.each(this,e)},map:function(n){return this.pushStack(x.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e&lt;0?t:0);return this.pushStack(0&lt;=e&amp;&amp;e&lt;t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:t.sort,splice:t.splice},x.extend=x.fn.extend=function(){var e,t,n,i,r,o=arguments[0]||{},s=1,a=arguments.length,l=!1;for("boolean"==typeof o&amp;&amp;(l=o,o=arguments[s]||{},s++),"object"==typeof o||b(o)||(o={}),s===a&amp;&amp;(o=this,s--);s&lt;a;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&amp;&amp;o!==n&amp;&amp;(l&amp;&amp;n&amp;&amp;(x.isPlainObject(n)||(i=Array.isArray(n)))?(r=o[t],r=i&amp;&amp;!Array.isArray(r)?[]:i||x.isPlainObject(r)?r:{},i=!1,o[t]=x.extend(l,r,n)):void 0!==n&amp;&amp;(o[t]=n));return o},x.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==o.call(e)||(e=n(e))&amp;&amp;("function"!=typeof(e=v.call(e,"constructor")&amp;&amp;e.constructor)||s.call(e)!==u))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&amp;&amp;t.nonce},n)},each:function(e,t){var n,i=0;if(d(e))for(n=e.length;i&lt;n&amp;&amp;!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){t=t||[];return null!=e&amp;&amp;(d(Object(e))?x.merge(t,"string"==typeof e?[e]:e):l.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:r.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i&lt;n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r&lt;o;r++)!t(e[r],r)!=s&amp;&amp;i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,s=[];if(d(e))for(i=e.length;o&lt;i;o++)null!=(r=t(e[o],o,n))&amp;&amp;s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&amp;&amp;s.push(r);return g(s)},guid:1,support:_}),"function"==typeof Symbol&amp;&amp;(x.fn[Symbol.iterator]=t[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){i["[object "+t+"]"]=t.toLowerCase()});var f=function(n){function d(e,t){return e="0x"+e.slice(1)-65536,t||(e&lt;0?String.fromCharCode(65536+e):String.fromCharCode(e&gt;&gt;10|55296,1023&amp;e|56320))}function i(){S()}var e,h,y,o,r,p,f,m,w,l,u,S,T,s,C,g,a,c,v,x="sizzle"+ +new Date,_=n.document,E=0,b=0,P=le(),A=le(),O=le(),k=le(),N=function(e,t){return e===t&amp;&amp;(u=!0),0},I={}.hasOwnProperty,t=[],j=t.pop,D=t.push,H=t.push,L=t.slice,M=function(e,t){for(var n=0,i=e.length;n&lt;i;n++)if(e[n]===t)return n;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+F+"*("+R+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+F+"*\\]",z=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",W=new RegExp(F+"+","g"),V=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),U=new RegExp("^"+F+"*,"+F+"*"),Q=new RegExp("^"+F+"*([&gt;+~]|"+F+")"+F+"*"),$=new RegExp(F+"|&gt;"),X=new RegExp(z),Y=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+F+"*[&gt;+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ne=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"ï¿½":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=_e(function(e){return!0===e.disabled&amp;&amp;"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=L.call(_.childNodes),_.childNodes),t[_.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){D.apply(e,L.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ae(e,t,n,i){var r,o,s,a,l,u,c,d=t&amp;&amp;t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&amp;&amp;9!==f&amp;&amp;11!==f)return n;if(!i&amp;&amp;(S(t),t=t||T,C)){if(11!==f&amp;&amp;(l=te.exec(e)))if(r=l[1]){if(9===f){if(!(s=t.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(d&amp;&amp;(s=d.getElementById(r))&amp;&amp;v(t,s)&amp;&amp;s.id===r)return n.push(s),n}else{if(l[2])return H.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&amp;&amp;h.getElementsByClassName&amp;&amp;t.getElementsByClassName)return H.apply(n,t.getElementsByClassName(r)),n}if(h.qsa&amp;&amp;!k[e+" "]&amp;&amp;(!g||!g.test(e))&amp;&amp;(1!==f||"object"!==t.nodeName.toLowerCase())){if(c=e,d=t,1===f&amp;&amp;($.test(e)||Q.test(e))){for((d=ne.test(e)&amp;&amp;me(t.parentNode)||t)===t&amp;&amp;h.scope||((a=t.getAttribute("id"))?a=a.replace(re,oe):t.setAttribute("id",a=x)),o=(u=p(e)).length;o--;)u[o]=(a?"#"+a:":scope")+" "+ve(u[o]);c=u.join(",")}try{return H.apply(n,d.querySelectorAll(c)),n}catch(t){k(e,!0)}finally{a===x&amp;&amp;t.removeAttribute("id")}}}return m(e.replace(V,"$1"),t,n,i)}function le(){var i=[];return function e(t,n){return i.push(t+" ")&gt;y.cacheLength&amp;&amp;delete e[i.shift()],e[t+" "]=n}}function ue(e){return e[x]=!0,e}function ce(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&amp;&amp;t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)y.attrHandle[n[i]]=t}function fe(e,t){var n=t&amp;&amp;e,i=n&amp;&amp;1===e.nodeType&amp;&amp;1===t.nodeType&amp;&amp;e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(t){return function(e){return"form"in e?e.parentNode&amp;&amp;!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&amp;&amp;se(e)===t:e.disabled===t:"label"in e&amp;&amp;e.disabled===t}}function pe(s){return ue(function(o){return o=+o,ue(function(e,t){for(var n,i=s([],e.length,o),r=i.length;r--;)e[n=i[r]]&amp;&amp;(e[n]=!(t[n]=e[n]))})})}function me(e){return e&amp;&amp;void 0!==e.getElementsByTagName&amp;&amp;e}for(e in h=ae.support={},r=ae.isXML=function(e){var t=e.namespaceURI,e=(e.ownerDocument||e).documentElement;return!K.test(t||e&amp;&amp;e.nodeName||"HTML")},S=ae.setDocument=function(e){var t,e=e?e.ownerDocument||e:_;return e!=T&amp;&amp;9===e.nodeType&amp;&amp;e.documentElement&amp;&amp;(s=(T=e).documentElement,C=!r(T),_!=T&amp;&amp;(t=T.defaultView)&amp;&amp;t.top!==t&amp;&amp;(t.addEventListener?t.addEventListener("unload",i,!1):t.attachEvent&amp;&amp;t.attachEvent("onunload",i)),h.scope=ce(function(e){return s.appendChild(e).appendChild(T.createElement("div")),void 0!==e.querySelectorAll&amp;&amp;!e.querySelectorAll(":scope fieldset div").length}),h.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=ce(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=ee.test(T.getElementsByClassName),h.getById=ce(function(e){return s.appendChild(e).id=x,!T.getElementsByName||!T.getElementsByName(x).length}),h.getById?(y.filter.ID=function(e){var t=e.replace(ie,d);return function(e){return e.getAttribute("id")===t}},y.find.ID=function(e,t){if(void 0!==t.getElementById&amp;&amp;C){e=t.getElementById(e);return e?[e]:[]}}):(y.filter.ID=function(e){var t=e.replace(ie,d);return function(e){e=void 0!==e.getAttributeNode&amp;&amp;e.getAttributeNode("id");return e&amp;&amp;e.value===t}},y.find.ID=function(e,t){if(void 0!==t.getElementById&amp;&amp;C){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&amp;&amp;n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&amp;&amp;n.value===e)return[o]}return[]}}),y.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&amp;&amp;i.push(n);return i},y.find.CLASS=h.getElementsByClassName&amp;&amp;function(e,t){if(void 0!==t.getElementsByClassName&amp;&amp;C)return t.getElementsByClassName(e)},a=[],g=[],(h.qsa=ee.test(T.querySelectorAll))&amp;&amp;(ce(function(e){var t;s.appendChild(e).innerHTML="&lt;a id='"+x+"'&gt;&lt;/a&gt;&lt;select id='"+x+"-\r\\' msallowcapture=''&gt;&lt;option selected=''&gt;&lt;/option&gt;&lt;/select&gt;",e.querySelectorAll("[msallowcapture^='']").length&amp;&amp;g.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+F+"*(?:value|"+q+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="&lt;a href='' disabled='disabled'&gt;&lt;/a&gt;&lt;select disabled='disabled'&gt;&lt;option/&gt;&lt;/select&gt;";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&amp;&amp;g.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&amp;&amp;g.push(":enabled",":disabled"),s.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&amp;&amp;g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(h.matchesSelector=ee.test(c=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&amp;&amp;ce(function(e){h.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),a.push("!=",z)}),g=g.length&amp;&amp;new RegExp(g.join("|")),a=a.length&amp;&amp;new RegExp(a.join("|")),t=ee.test(s.compareDocumentPosition),v=t||ee.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&amp;&amp;t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&amp;&amp;16&amp;e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},N=t?function(e,t){if(e===t)return u=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&amp;(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&amp;&amp;t.compareDocumentPosition(e)===n?e==T||e.ownerDocument==_&amp;&amp;v(_,e)?-1:t==T||t.ownerDocument==_&amp;&amp;v(_,t)?1:l?M(l,e)-M(l,t):0:4&amp;n?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e==T?-1:t==T?1:r?-1:o?1:l?M(l,e)-M(l,t):0;if(r===o)return fe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?fe(s[i],a[i]):s[i]==_?-1:a[i]==_?1:0}),T},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(S(e),h.matchesSelector&amp;&amp;C&amp;&amp;!k[t+" "]&amp;&amp;(!a||!a.test(t))&amp;&amp;(!g||!g.test(t)))try{var n=c.call(e,t);if(n||h.disconnectedMatch||e.document&amp;&amp;11!==e.document.nodeType)return n}catch(e){k(t,!0)}return 0&lt;ae(t,T,null,[e]).length},ae.contains=function(e,t){return(e.ownerDocument||e)!=T&amp;&amp;S(e),v(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=T&amp;&amp;S(e);var n=y.attrHandle[t.toLowerCase()],n=n&amp;&amp;I.call(y.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==n?n:h.attributes||!C?e.getAttribute(t):(n=e.getAttributeNode(t))&amp;&amp;n.specified?n.value:null},ae.escape=function(e){return(e+"").replace(re,oe)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,n=[],i=0,r=0;if(u=!h.detectDuplicates,l=!h.sortStable&amp;&amp;e.slice(0),e.sort(N),u){for(;t=e[r++];)t===e[r]&amp;&amp;(i=n.push(r));for(;i--;)e.splice(n[i],1)}return l=null,e},o=ae.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(y=ae.selectors={cacheLength:50,createPseudo:ue,match:G,attrHandle:{},find:{},relative:{"&gt;":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ie,d),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,d),"~="===e[2]&amp;&amp;(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&amp;&amp;ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&amp;&amp;e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&amp;&amp;X.test(n)&amp;&amp;(t=p(n,!0))&amp;&amp;(t=n.indexOf(")",n.length-t)-n.length)&amp;&amp;(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ie,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&amp;&amp;e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=P[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&amp;&amp;P(e,function(e){return t.test("string"==typeof e.className&amp;&amp;e.className||void 0!==e.getAttribute&amp;&amp;e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=ae.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&amp;&amp;0===e.indexOf(i):"*="===n?i&amp;&amp;-1&lt;e.indexOf(i):"$="===n?i&amp;&amp;e.slice(-i.length)===i:"~="===n?-1&lt;(" "+e.replace(W," ")+" ").indexOf(i):"|="===n&amp;&amp;(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,m,g){var v="nth"!==p.slice(0,3),_="last"!==p.slice(-4),b="of-type"===e;return 1===m&amp;&amp;0===g?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,s,a,l,u=v!=_?"nextSibling":"previousSibling",c=e.parentNode,d=b&amp;&amp;e.nodeName.toLowerCase(),f=!n&amp;&amp;!b,h=!1;if(c){if(v){for(;u;){for(s=e;s=s[u];)if(b?s.nodeName.toLowerCase()===d:1===s.nodeType)return!1;l=u="only"===p&amp;&amp;!l&amp;&amp;"nextSibling"}return!0}if(l=[_?c.firstChild:c.lastChild],_&amp;&amp;f){for(h=(a=(i=(r=(o=(s=c)[x]||(s[x]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===E&amp;&amp;i[1])&amp;&amp;i[2],s=a&amp;&amp;c.childNodes[a];s=++a&amp;&amp;s&amp;&amp;s[u]||(h=a=0)||l.pop();)if(1===s.nodeType&amp;&amp;++h&amp;&amp;s===e){r[p]=[E,a,h];break}}else if(f&amp;&amp;(h=a=(i=(r=(o=(s=e)[x]||(s[x]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===E&amp;&amp;i[1]),!1===h)for(;(s=++a&amp;&amp;s&amp;&amp;s[u]||(h=a=0)||l.pop())&amp;&amp;((b?s.nodeName.toLowerCase()!==d:1!==s.nodeType)||!++h||(f&amp;&amp;((r=(o=s[x]||(s[x]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]=[E,h]),s!==e)););return(h-=g)===m||h%m==0&amp;&amp;0&lt;=h/m}}},PSEUDO:function(e,o){var t,s=y.pseudos[e]||y.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return s[x]?s(o):1&lt;s.length?(t=[e,e,"",o],y.setFilters.hasOwnProperty(e.toLowerCase())?ue(function(e,t){for(var n,i=s(e,o),r=i.length;r--;)e[n=M(e,i[r])]=!(t[n]=i[r])}):function(e){return s(e,0,t)}):s}},pseudos:{not:ue(function(e){var i=[],r=[],a=f(e.replace(V,"$1"));return a[x]?ue(function(e,t,n,i){for(var r,o=a(e,null,i,[]),s=e.length;s--;)(r=o[s])&amp;&amp;(e[s]=!(t[s]=r))}):function(e,t,n){return i[0]=e,a(i,null,n,r),i[0]=null,!r.pop()}}),has:ue(function(t){return function(e){return 0&lt;ae(t,e).length}}),contains:ue(function(t){return t=t.replace(ie,d),function(e){return-1&lt;(e.textContent||o(e)).indexOf(t)}}),lang:ue(function(n){return Y.test(n||"")||ae.error("unsupported lang: "+n),n=n.replace(ie,d).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&amp;&amp;1===e.nodeType);return!1}}),target:function(e){var t=n.location&amp;&amp;n.location.hash;return t&amp;&amp;t.slice(1)===e.id},root:function(e){return e===s},focus:function(e){return e===T.activeElement&amp;&amp;(!T.hasFocus||T.hasFocus())&amp;&amp;!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&amp;&amp;!!e.checked||"option"===t&amp;&amp;!!e.selected},selected:function(e){return e.parentNode&amp;&amp;e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType&lt;6)return!1;return!0},parent:function(e){return!y.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&amp;&amp;"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&amp;&amp;"text"===e.type&amp;&amp;(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:pe(function(){return[0]}),last:pe(function(e,t){return[t-1]}),eq:pe(function(e,t,n){return[n&lt;0?n+t:n]}),even:pe(function(e,t){for(var n=0;n&lt;t;n+=2)e.push(n);return e}),odd:pe(function(e,t){for(var n=1;n&lt;t;n+=2)e.push(n);return e}),lt:pe(function(e,t,n){for(var i=n&lt;0?n+t:t&lt;n?t:n;0&lt;=--i;)e.push(i);return e}),gt:pe(function(e,t,n){for(var i=n&lt;0?n+t:n;++i&lt;t;)e.push(i);return e})}}).pseudos.nth=y.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})y.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&amp;&amp;e.type===t}}(e);for(e in{submit:!0,reset:!0})y.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&amp;&amp;e.type===n}}(e);function ge(){}function ve(e){for(var t=0,n=e.length,i="";t&lt;n;t++)i+=e[t].value;return i}function _e(s,e,t){var a=e.dir,l=e.next,u=l||a,c=t&amp;&amp;"parentNode"===u,d=b++;return e.first?function(e,t,n){for(;e=e[a];)if(1===e.nodeType||c)return s(e,t,n);return!1}:function(e,t,n){var i,r,o=[E,d];if(n){for(;e=e[a];)if((1===e.nodeType||c)&amp;&amp;s(e,t,n))return!0}else for(;e=e[a];)if(1===e.nodeType||c)if(i=(r=e[x]||(e[x]={}))[e.uniqueID]||(r[e.uniqueID]={}),l&amp;&amp;l===e.nodeName.toLowerCase())e=e[a]||e;else{if((r=i[u])&amp;&amp;r[0]===E&amp;&amp;r[1]===d)return o[2]=r[2];if((i[u]=o)[2]=s(e,t,n))return!0}return!1}}function be(r){return 1&lt;r.length?function(e,t,n){for(var i=r.length;i--;)if(!r[i](e,t,n))return!1;return!0}:r[0]}function ye(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,u=null!=t;a&lt;l;a++)(o=e[a])&amp;&amp;(n&amp;&amp;!n(o,i,r)||(s.push(o),u&amp;&amp;t.push(a)));return s}function we(e){for(var i,t,n,r=e.length,o=y.relative[e[0].type],s=o||y.relative[" "],a=o?1:0,l=_e(function(e){return e===i},s,!0),u=_e(function(e){return-1&lt;M(i,e)},s,!0),c=[function(e,t,n){n=!o&amp;&amp;(n||t!==w)||((i=t).nodeType?l:u)(e,t,n);return i=null,n}];a&lt;r;a++)if(t=y.relative[e[a].type])c=[_e(be(c),t)];else{if((t=y.filter[e[a].type].apply(null,e[a].matches))[x]){for(n=++a;n&lt;r&amp;&amp;!y.relative[e[n].type];n++);return function e(h,p,m,g,v,t){return g&amp;&amp;!g[x]&amp;&amp;(g=e(g)),v&amp;&amp;!v[x]&amp;&amp;(v=e(v,t)),ue(function(e,t,n,i){var r,o,s,a=[],l=[],u=t.length,c=e||function(e,t,n){for(var i=0,r=t.length;i&lt;r;i++)ae(e,t[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),d=!h||!e&amp;&amp;p?c:ye(c,a,h,n,i),f=m?v||(e?h:u||g)?[]:t:d;if(m&amp;&amp;m(d,f,n,i),g)for(r=ye(f,l),g(r,[],n,i),o=r.length;o--;)(s=r[o])&amp;&amp;(f[l[o]]=!(d[l[o]]=s));if(e){if(v||h){if(v){for(r=[],o=f.length;o--;)(s=f[o])&amp;&amp;r.push(d[o]=s);v(null,f=[],r,i)}for(o=f.length;o--;)(s=f[o])&amp;&amp;-1&lt;(r=v?M(e,s):a[o])&amp;&amp;(e[r]=!(t[r]=s))}}else f=ye(f===t?f.splice(u,f.length):f),v?v(null,t,f,i):H.apply(t,f)})}(1&lt;a&amp;&amp;be(c),1&lt;a&amp;&amp;ve(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(V,"$1"),t,a&lt;n&amp;&amp;we(e.slice(a,n)),n&lt;r&amp;&amp;we(e=e.slice(n)),n&lt;r&amp;&amp;ve(e))}c.push(t)}return be(c)}return ge.prototype=y.filters=y.pseudos,y.setFilters=new ge,p=ae.tokenize=function(e,t){var n,i,r,o,s,a,l,u=A[e+" "];if(u)return t?0:u.slice(0);for(s=e,a=[],l=y.preFilter;s;){for(o in n&amp;&amp;!(i=U.exec(s))||(i&amp;&amp;(s=s.slice(i[0].length)||s),a.push(r=[])),n=!1,(i=Q.exec(s))&amp;&amp;(n=i.shift(),r.push({value:n,type:i[0].replace(V," ")}),s=s.slice(n.length)),y.filter)!(i=G[o].exec(s))||l[o]&amp;&amp;!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ae.error(e):A(e,a).slice(0)},f=ae.compile=function(e,t){var n,g,v,_,b,i,r=[],o=[],s=O[e+" "];if(!s){for(n=(t=t||p(e)).length;n--;)((s=we(t[n]))[x]?r:o).push(s);(s=O(e,(g=o,_=0&lt;(v=r).length,b=0&lt;g.length,i=function(e,t,n,i,r){var o,s,a,l=0,u="0",c=e&amp;&amp;[],d=[],f=w,h=e||b&amp;&amp;y.find.TAG("*",r),p=E+=null==f?1:Math.random()||.1,m=h.length;for(r&amp;&amp;(w=t==T||t||r);u!==m&amp;&amp;null!=(o=h[u]);u++){if(b&amp;&amp;o){for(s=0,t||o.ownerDocument==T||(S(o),n=!C);a=g[s++];)if(a(o,t||T,n)){i.push(o);break}r&amp;&amp;(E=p)}_&amp;&amp;((o=!a&amp;&amp;o)&amp;&amp;l--,e&amp;&amp;c.push(o))}if(l+=u,_&amp;&amp;u!==l){for(s=0;a=v[s++];)a(c,d,t,n);if(e){if(0&lt;l)for(;u--;)c[u]||d[u]||(d[u]=j.call(i));d=ye(d)}H.apply(i,d),r&amp;&amp;!e&amp;&amp;0&lt;d.length&amp;&amp;1&lt;l+v.length&amp;&amp;ae.uniqueSort(i)}return r&amp;&amp;(E=p,w=f),c},_?ue(i):i))).selector=e}return s},m=ae.select=function(e,t,n,i){var r,o,s,a,l,u="function"==typeof e&amp;&amp;e,c=!i&amp;&amp;p(e=u.selector||e);if(n=n||[],1===c.length){if(2&lt;(o=c[0]=c[0].slice(0)).length&amp;&amp;"ID"===(s=o[0]).type&amp;&amp;9===t.nodeType&amp;&amp;C&amp;&amp;y.relative[o[1].type]){if(!(t=(y.find.ID(s.matches[0].replace(ie,d),t)||[])[0]))return n;u&amp;&amp;(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=G.needsContext.test(e)?0:o.length;r--&amp;&amp;(s=o[r],!y.relative[a=s.type]);)if((l=y.find[a])&amp;&amp;(i=l(s.matches[0].replace(ie,d),ne.test(o[0].type)&amp;&amp;me(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&amp;&amp;ve(o)))return H.apply(n,i),n;break}}return(u||f(e,c))(i,t,!C,n,!t||ne.test(e)&amp;&amp;me(t.parentNode)||t),n},h.sortStable=x.split("").sort(N).join("")===x,h.detectDuplicates=!!u,S(),h.sortDetached=ce(function(e){return 1&amp;e.compareDocumentPosition(T.createElement("fieldset"))}),ce(function(e){return e.innerHTML="&lt;a href='#'&gt;&lt;/a&gt;","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&amp;&amp;ce(function(e){return e.innerHTML="&lt;input/&gt;",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&amp;&amp;"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||de(q,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(t=e.getAttributeNode(t))&amp;&amp;t.specified?t.value:null}),ae}(T);x.find=f,x.expr=f.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=f.uniqueSort,x.text=f.getText,x.isXMLDoc=f.isXML,x.contains=f.contains,x.escapeSelector=f.escape;function h(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&amp;&amp;9!==e.nodeType;)if(1===e.nodeType){if(r&amp;&amp;x(e).is(n))break;i.push(e)}return i}function w(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&amp;&amp;e!==t&amp;&amp;n.push(e);return n}var S=x.expr.match.needsContext;function E(e,t){return e.nodeName&amp;&amp;e.nodeName.toLowerCase()===t.toLowerCase()}var P=/^&lt;([a-z][^\/\0&gt;:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?&gt;(?:&lt;\/\1&gt;|)$/i;function A(e,n,i){return b(n)?x.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?x.grep(e,function(e){return e===n!==i}):"string"!=typeof n?x.grep(e,function(e){return-1&lt;r.call(n,e)!==i}):x.filter(n,e,i)}x.filter=function(e,t,n){var i=t[0];return n&amp;&amp;(e=":not("+e+")"),1===t.length&amp;&amp;1===i.nodeType?x.find.matchesSelector(i,e)?[i]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t&lt;i;t++)if(x.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t&lt;i;t++)x.find(e,r[t],n);return 1&lt;i?x.uniqueSort(n):n},filter:function(e){return this.pushStack(A(this,e||[],!1))},not:function(e){return this.pushStack(A(this,e||[],!0))},is:function(e){return!!A(this,"string"==typeof e&amp;&amp;S.test(e)?x(e):e||[],!1).length}});var O,k=/^(?:\s*(&lt;[\w\W]+&gt;)[^&gt;]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){if(!e)return this;if(n=n||O,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this);if(!(i="&lt;"===e[0]&amp;&amp;"&gt;"===e[e.length-1]&amp;&amp;3&lt;=e.length?[null,e,null]:k.exec(e))||!i[1]&amp;&amp;t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(i[1],t&amp;&amp;t.nodeType?t.ownerDocument||t:C,!0)),P.test(i[1])&amp;&amp;x.isPlainObject(t))for(var i in t)b(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(e=C.getElementById(i[2]))&amp;&amp;(this[0]=e,this.length=1),this}).prototype=x.fn,O=x(C);var N=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function j(e,t){for(;(e=e[t])&amp;&amp;1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e&lt;n;e++)if(x.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&amp;&amp;x(e);if(!S.test(e))for(;i&lt;r;i++)for(n=this[i];n&amp;&amp;n!==t;n=n.parentNode)if(n.nodeType&lt;11&amp;&amp;(s?-1&lt;s.index(n):1===n.nodeType&amp;&amp;x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1&lt;o.length?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?r.call(x(e),this[0]):r.call(this,e.jquery?e[0]:e):this[0]&amp;&amp;this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){e=e.parentNode;return e&amp;&amp;11!==e.nodeType?e:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return j(e,"nextSibling")},prev:function(e){return j(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return w((e.parentNode||{}).firstChild,e)},children:function(e){return w(e.firstChild)},contents:function(e){return null!=e.contentDocument&amp;&amp;n(e.contentDocument)?e.contentDocument:(E(e,"template")&amp;&amp;(e=e.content||e),x.merge([],e.childNodes))}},function(i,r){x.fn[i]=function(e,t){var n=x.map(this,r,e);return"Until"!==i.slice(-5)&amp;&amp;(t=e),t&amp;&amp;"string"==typeof t&amp;&amp;(n=x.filter(t,n)),1&lt;this.length&amp;&amp;(I[i]||x.uniqueSort(n),N.test(i)&amp;&amp;n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function H(e){return e}function L(e){throw e}function M(e,t,n,i){var r;try{e&amp;&amp;b(r=e.promise)?r.call(e).done(t).fail(n):e&amp;&amp;b(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(i){var n;i="string"==typeof i?(n={},x.each(i.match(D)||[],function(e,t){n[t]=!0}),n):x.extend({},i);function r(){for(s=s||i.once,t=o=!0;l.length;u=-1)for(e=l.shift();++u&lt;a.length;)!1===a[u].apply(e[0],e[1])&amp;&amp;i.stopOnFalse&amp;&amp;(u=a.length,e=!1);i.memory||(e=!1),o=!1,s&amp;&amp;(a=e?[]:"")}var o,e,t,s,a=[],l=[],u=-1,c={add:function(){return a&amp;&amp;(e&amp;&amp;!o&amp;&amp;(u=a.length-1,l.push(e)),function n(e){x.each(e,function(e,t){b(t)?i.unique&amp;&amp;c.has(t)||a.push(t):t&amp;&amp;t.length&amp;&amp;"string"!==p(t)&amp;&amp;n(t)})}(arguments),e&amp;&amp;!o&amp;&amp;r()),this},remove:function(){return x.each(arguments,function(e,t){for(var n;-1&lt;(n=x.inArray(t,a,n));)a.splice(n,1),n&lt;=u&amp;&amp;u--}),this},has:function(e){return e?-1&lt;x.inArray(e,a):0&lt;a.length},empty:function(){return a=a&amp;&amp;[],this},disable:function(){return s=l=[],a=e="",this},disabled:function(){return!a},lock:function(){return s=l=[],e||o||(a=e=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),o||r()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!t}};return c},x.extend({Deferred:function(e){var o=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],r="pending",s={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var r=arguments;return x.Deferred(function(i){x.each(o,function(e,t){var n=b(r[t[4]])&amp;&amp;r[t[4]];a[t[1]](function(){var e=n&amp;&amp;n.apply(this,arguments);e&amp;&amp;b(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,n?[e]:arguments)})}),r=null}).promise()},then:function(t,n,i){var l=0;function u(r,o,s,a){return function(){function e(){var e,t;if(!(r&lt;l)){if((e=s.apply(n,i))===o.promise())throw new TypeError("Thenable self-resolution");t=e&amp;&amp;("object"==typeof e||"function"==typeof e)&amp;&amp;e.then,b(t)?a?t.call(e,u(l,o,H,a),u(l,o,L,a)):(l++,t.call(e,u(l,o,H,a),u(l,o,L,a),u(l,o,H,o.notifyWith))):(s!==H&amp;&amp;(n=void 0,i=[e]),(a||o.resolveWith)(n,i))}}var n=this,i=arguments,t=a?e:function(){try{e()}catch(e){x.Deferred.exceptionHook&amp;&amp;x.Deferred.exceptionHook(e,t.stackTrace),l&lt;=r+1&amp;&amp;(s!==L&amp;&amp;(n=void 0,i=[e]),o.rejectWith(n,i))}};r?t():(x.Deferred.getStackHook&amp;&amp;(t.stackTrace=x.Deferred.getStackHook()),T.setTimeout(t))}}return x.Deferred(function(e){o[0][3].add(u(0,e,b(i)?i:H,e.notifyWith)),o[1][3].add(u(0,e,b(t)?t:H)),o[2][3].add(u(0,e,b(n)?n:L))}).promise()},promise:function(e){return null!=e?x.extend(e,s):s}},a={};return x.each(o,function(e,t){var n=t[2],i=t[5];s[t[1]]=n.add,i&amp;&amp;n.add(function(){r=i},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&amp;&amp;e.call(a,a),a},when:function(e){function t(t){return function(e){r[t]=this,o[t]=1&lt;arguments.length?a.call(arguments):e,--n||s.resolveWith(r,o)}}var n=arguments.length,i=n,r=Array(i),o=a.call(arguments),s=x.Deferred();if(n&lt;=1&amp;&amp;(M(e,s.done(t(i)).resolve,s.reject,!n),"pending"===s.state()||b(o[i]&amp;&amp;o[i].then)))return s.then();for(;i--;)M(o[i],t(i),s.reject);return s.promise()}});var q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){T.console&amp;&amp;T.console.warn&amp;&amp;e&amp;&amp;q.test(e.name)&amp;&amp;T.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){T.setTimeout(function(){throw e})};var F=x.Deferred();function R(){C.removeEventListener("DOMContentLoaded",R),T.removeEventListener("load",R),x.ready()}x.fn.ready=function(e){return F.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0)!==e&amp;&amp;0&lt;--x.readyWait||F.resolveWith(C,[x])}}),x.ready.then=F.then,"complete"===C.readyState||"loading"!==C.readyState&amp;&amp;!C.documentElement.doScroll?T.setTimeout(x.ready):(C.addEventListener("DOMContentLoaded",R),T.addEventListener("load",R));var B=function(e,t,n,i,r,o,s){var a=0,l=e.length,u=null==n;if("object"===p(n))for(a in r=!0,n)B(e,t,a,n[a],!0,o,s);else if(void 0!==i&amp;&amp;(r=!0,b(i)||(s=!0),u&amp;&amp;(t=s?(t.call(e,i),null):(u=t,function(e,t,n){return u.call(x(e),n)})),t))for(;a&lt;l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:u?t.call(e):l?t(e[0],n):o},z=/^-ms-/,W=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function U(e){return e.replace(z,"ms-").replace(W,V)}function Q(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function $(){this.expando=x.expando+$.uid++}$.uid=1,$.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&amp;&amp;(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[U(t)]=n;else for(i in t)r[U(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&amp;&amp;e[this.expando][U(t)]},access:function(e,t,n){return void 0===t||t&amp;&amp;"string"==typeof t&amp;&amp;void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(U):(t=U(t))in i?[t]:t.match(D)||[]).length;for(;n--;)delete i[t[n]]}void 0!==t&amp;&amp;!x.isEmptyObject(i)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&amp;&amp;!x.isEmptyObject(e)}};var X=new $,Y=new $,G=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function J(e,t,n){var i,r;if(void 0===n&amp;&amp;1===e.nodeType)if(i="data-"+t.replace(K,"-$&amp;").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&amp;&amp;("null"===r?null:r===+r+""?+r:G.test(r)?JSON.parse(r):r)}catch(e){}Y.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return Y.hasData(e)||X.hasData(e)},data:function(e,t,n){return Y.access(e,t,n)},removeData:function(e,t){Y.remove(e,t)},_data:function(e,t,n){return X.access(e,t,n)},_removeData:function(e,t){X.remove(e,t)}}),x.fn.extend({data:function(n,e){var t,i,r,o=this[0],s=o&amp;&amp;o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){Y.set(this,n)}):B(this,function(e){var t;return o&amp;&amp;void 0===e?void 0!==(t=Y.get(o,n))||void 0!==(t=J(o,n))?t:void 0:void this.each(function(){Y.set(this,n,e)})},null,e,1&lt;arguments.length,null,!0);if(this.length&amp;&amp;(r=Y.get(o),1===o.nodeType&amp;&amp;!X.get(o,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&amp;&amp;0===(i=s[t].name).indexOf("data-")&amp;&amp;(i=U(i.slice(5)),J(o,i,r[i]));X.set(o,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){Y.remove(this,e)})}}),x.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=X.get(e,t),n&amp;&amp;(!i||Array.isArray(n)?i=X.access(e,t,x.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),i=n.length,r=n.shift(),o=x._queueHooks(e,t);"inprogress"===r&amp;&amp;(r=n.shift(),i--),r&amp;&amp;("fx"===t&amp;&amp;n.unshift("inprogress"),delete o.stop,r.call(e,function(){x.dequeue(e,t)},o)),!i&amp;&amp;o&amp;&amp;o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return X.get(e,n)||X.access(e,n,{empty:x.Callbacks("once memory").add(function(){X.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&amp;&amp;(n=t,t="fx",e--),arguments.length&lt;e?x.queue(this[0],t):void 0===n?this:this.each(function(){var e=x.queue(this,t,n);x._queueHooks(this,t),"fx"===t&amp;&amp;"inprogress"!==e[0]&amp;&amp;x.dequeue(this,t)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--r||o.resolveWith(s,[s])}var i,r=1,o=x.Deferred(),s=this,a=this.length;for("string"!=typeof e&amp;&amp;(t=e,e=void 0),e=e||"fx";a--;)(i=X.get(s[a],e+"queueHooks"))&amp;&amp;i.empty&amp;&amp;(r++,i.empty.add(n));return n(),o.promise(t)}});var Z=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ee=new RegExp("^(?:([+-])=|)("+Z+")([a-z%]*)$","i"),te=["Top","Right","Bottom","Left"],ne=C.documentElement,ie=function(e){return x.contains(e.ownerDocument,e)},re={composed:!0};ne.getRootNode&amp;&amp;(ie=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(re)===e.ownerDocument});function oe(e,t){return"none"===(e=t||e).style.display||""===e.style.display&amp;&amp;ie(e)&amp;&amp;"none"===x.css(e,"display")}function se(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return x.css(e,t,"")},l=a(),u=n&amp;&amp;n[3]||(x.cssNumber[t]?"":"px"),c=e.nodeType&amp;&amp;(x.cssNumber[t]||"px"!==u&amp;&amp;+l)&amp;&amp;ee.exec(x.css(e,t));if(c&amp;&amp;c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)x.style(e,t,c+u),(1-o)*(1-(o=a()/l||.5))&lt;=0&amp;&amp;(s=0),c/=o;c*=2,x.style(e,t,c+u),n=n||[]}return n&amp;&amp;(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&amp;&amp;(i.unit=u,i.start=c,i.end=r)),r}var ae={};function le(e,t){for(var n,i,r,o,s,a,l=[],u=0,c=e.length;u&lt;c;u++)(i=e[u]).style&amp;&amp;(n=i.style.display,t?("none"===n&amp;&amp;(l[u]=X.get(i,"display")||null,l[u]||(i.style.display="")),""===i.style.display&amp;&amp;oe(i)&amp;&amp;(l[u]=(a=o=r=void 0,o=i.ownerDocument,s=i.nodeName,(a=ae[s])||(r=o.body.appendChild(o.createElement(s)),a=x.css(r,"display"),r.parentNode.removeChild(r),"none"===a&amp;&amp;(a="block"),ae[s]=a)))):"none"!==n&amp;&amp;(l[u]="none",X.set(i,"display",n)));for(u=0;u&lt;c;u++)null!=l[u]&amp;&amp;(e[u].style.display=l[u]);return e}x.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){oe(this)?x(this).show():x(this).hide()})}});var ue=/^(?:checkbox|radio)$/i,ce=/&lt;([a-z][^\/\0&gt;\x20\t\r\n\f]*)/i,de=/^$|^module$|\/(?:java|ecma)script/i,fe=C.createDocumentFragment().appendChild(C.createElement("div"));(f=C.createElement("input")).setAttribute("type","radio"),f.setAttribute("checked","checked"),f.setAttribute("name","t"),fe.appendChild(f),_.checkClone=fe.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.innerHTML="&lt;textarea&gt;x&lt;/textarea&gt;",_.noCloneChecked=!!fe.cloneNode(!0).lastChild.defaultValue,fe.innerHTML="&lt;option&gt;&lt;/option&gt;",_.option=!!fe.lastChild;var he={thead:[1,"&lt;table&gt;","&lt;/table&gt;"],col:[2,"&lt;table&gt;&lt;colgroup&gt;","&lt;/colgroup&gt;&lt;/table&gt;"],tr:[2,"&lt;table&gt;&lt;tbody&gt;","&lt;/tbody&gt;&lt;/table&gt;"],td:[3,"&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;","&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;"],_default:[0,"",""]};function pe(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&amp;&amp;E(e,t)?x.merge([e],n):n}function me(e,t){for(var n=0,i=e.length;n&lt;i;n++)X.set(e[n],"globalEval",!t||X.get(t[n],"globalEval"))}he.tbody=he.tfoot=he.colgroup=he.caption=he.thead,he.th=he.td,_.option||(he.optgroup=he.option=[1,"&lt;select multiple='multiple'&gt;","&lt;/select&gt;"]);var ge=/&lt;|&amp;#?\w+;/;function ve(e,t,n,i,r){for(var o,s,a,l,u,c=t.createDocumentFragment(),d=[],f=0,h=e.length;f&lt;h;f++)if((o=e[f])||0===o)if("object"===p(o))x.merge(d,o.nodeType?[o]:o);else if(ge.test(o)){for(s=s||c.appendChild(t.createElement("div")),a=(ce.exec(o)||["",""])[1].toLowerCase(),a=he[a]||he._default,s.innerHTML=a[1]+x.htmlPrefilter(o)+a[2],u=a[0];u--;)s=s.lastChild;x.merge(d,s.childNodes),(s=c.firstChild).textContent=""}else d.push(t.createTextNode(o));for(c.textContent="",f=0;o=d[f++];)if(i&amp;&amp;-1&lt;x.inArray(o,i))r&amp;&amp;r.push(o);else if(l=ie(o),s=pe(c.appendChild(o),"script"),l&amp;&amp;me(s),n)for(u=0;o=s[u++];)de.test(o.type||"")&amp;&amp;n.push(o);return c}var _e=/^key/,be=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ye=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Se(){return!1}function Te(e,t){return e===function(){try{return C.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&amp;&amp;(i=i||n,n=void 0),t)Ce(e,a,n,i,t[a],o);return e}if(null==i&amp;&amp;null==r?(r=n,i=n=void 0):null==r&amp;&amp;("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Se;else if(!r)return e;return 1===o&amp;&amp;(s=r,(r=function(e){return x().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=x.guid++)),e.each(function(){x.event.add(this,t,r,i,n)})}function xe(e,r,o){o?(X.set(e,r,!1),x.event.add(e,r,{namespace:!1,handler:function(e){var t,n,i=X.get(this,r);if(1&amp;e.isTrigger&amp;&amp;this[r]){if(i.length)(x.event.special[r]||{}).delegateType&amp;&amp;e.stopPropagation();else if(i=a.call(arguments),X.set(this,r,i),t=o(this,r),this[r](),i!==(n=X.get(this,r))||t?X.set(this,r,!1):n={},i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else i.length&amp;&amp;(X.set(this,r,{value:x.event.trigger(x.extend(i[0],x.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===X.get(e,r)&amp;&amp;x.event.add(e,r,we)}x.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,u,c,d,f,h,p=X.get(t);if(Q(t))for(n.handler&amp;&amp;(n=(o=n).handler,r=o.selector),r&amp;&amp;x.find.matchesSelector(ne,r),n.guid||(n.guid=x.guid++),(a=p.events)||(a=p.events=Object.create(null)),(s=p.handle)||(s=p.handle=function(e){return void 0!==x&amp;&amp;x.event.triggered!==e.type?x.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;l--;)d=h=(u=ye.exec(e[l])||[])[1],f=(u[2]||"").split(".").sort(),d&amp;&amp;(c=x.event.special[d]||{},d=(r?c.delegateType:c.bindType)||d,c=x.event.special[d]||{},u=x.extend({type:d,origType:h,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&amp;&amp;x.expr.match.needsContext.test(r),namespace:f.join(".")},o),(h=a[d])||((h=a[d]=[]).delegateCount=0,c.setup&amp;&amp;!1!==c.setup.call(t,i,f,s)||t.addEventListener&amp;&amp;t.addEventListener(d,s)),c.add&amp;&amp;(c.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),x.event.global[d]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,u,c,d,f,h,p,m,g=X.hasData(e)&amp;&amp;X.get(e);if(g&amp;&amp;(l=g.events)){for(u=(t=(t||"").match(D)||[""]).length;u--;)if(h=m=(a=ye.exec(t[u])||[])[1],p=(a[2]||"").split(".").sort(),h){for(d=x.event.special[h]||{},f=l[h=(i?d.delegateType:d.bindType)||h]||[],a=a[2]&amp;&amp;new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)c=f[o],!r&amp;&amp;m!==c.origType||n&amp;&amp;n.guid!==c.guid||a&amp;&amp;!a.test(c.namespace)||i&amp;&amp;i!==c.selector&amp;&amp;("**"!==i||!c.selector)||(f.splice(o,1),c.selector&amp;&amp;f.delegateCount--,d.remove&amp;&amp;d.remove.call(e,c));s&amp;&amp;!f.length&amp;&amp;(d.teardown&amp;&amp;!1!==d.teardown.call(e,p,g.handle)||x.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)x.event.remove(e,h+t[u],n,i,!0);x.isEmptyObject(l)&amp;&amp;X.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s=new Array(arguments.length),a=x.event.fix(e),l=(X.get(this,"events")||Object.create(null))[a.type]||[],e=x.event.special[a.type]||{};for(s[0]=a,t=1;t&lt;arguments.length;t++)s[t]=arguments[t];if(a.delegateTarget=this,!e.preDispatch||!1!==e.preDispatch.call(this,a)){for(o=x.event.handlers.call(this,a,l),t=0;(i=o[t++])&amp;&amp;!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(r=i.handlers[n++])&amp;&amp;!a.isImmediatePropagationStopped();)a.rnamespace&amp;&amp;!1!==r.namespace&amp;&amp;!a.rnamespace.test(r.namespace)||(a.handleObj=r,a.data=r.data,void 0!==(r=((x.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s))&amp;&amp;!1===(a.result=r)&amp;&amp;(a.preventDefault(),a.stopPropagation()));return e.postDispatch&amp;&amp;e.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,u=e.target;if(l&amp;&amp;u.nodeType&amp;&amp;!("click"===e.type&amp;&amp;1&lt;=e.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&amp;&amp;("click"!==e.type||!0!==u.disabled)){for(o=[],s={},n=0;n&lt;l;n++)void 0===s[r=(i=t[n]).selector+" "]&amp;&amp;(s[r]=i.needsContext?-1&lt;x(r,this).index(u):x.find(r,this,null,[u]).length),s[r]&amp;&amp;o.push(i);o.length&amp;&amp;a.push({elem:u,handlers:o})}return u=this,l&lt;t.length&amp;&amp;a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(x.Event.prototype,t,{enumerable:!0,configurable:!0,get:b(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){e=this||e;return ue.test(e.type)&amp;&amp;e.click&amp;&amp;E(e,"input")&amp;&amp;xe(e,"click",we),!1},trigger:function(e){e=this||e;return ue.test(e.type)&amp;&amp;e.click&amp;&amp;E(e,"input")&amp;&amp;xe(e,"click"),!0},_default:function(e){e=e.target;return ue.test(e.type)&amp;&amp;e.click&amp;&amp;E(e,"input")&amp;&amp;X.get(e,"click")||E(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&amp;&amp;e.originalEvent&amp;&amp;(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&amp;&amp;e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&amp;&amp;e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&amp;&amp;!1===e.returnValue?we:Se,this.target=e.target&amp;&amp;3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&amp;&amp;x.extend(this,t),this.timeStamp=e&amp;&amp;e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&amp;&amp;!this.isSimulated&amp;&amp;e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&amp;&amp;!this.isSimulated&amp;&amp;e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=we,e&amp;&amp;!this.isSimulated&amp;&amp;e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&amp;&amp;_e.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&amp;&amp;void 0!==t&amp;&amp;be.test(e.type)?1&amp;t?1:2&amp;t?3:4&amp;t?2:0:e.which}},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},function(e,t){x.event.special[e]={setup:function(){return xe(this,e,Te),!1},trigger:function(){return xe(this,e),!0},delegateType:t}}),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){x.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&amp;&amp;(n===this||x.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=r),t}}}),x.fn.extend({on:function(e,t,n,i){return Ce(this,e,t,n,i)},one:function(e,t,n,i){return Ce(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&amp;&amp;e.preventDefault&amp;&amp;e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&amp;&amp;"function"!=typeof t||(n=t,t=void 0),!1===n&amp;&amp;(n=Se),this.each(function(){x.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r]);return this}});var Ee=/&lt;script|&lt;style|&lt;link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Ae=/^\s*&lt;!(?:\[CDATA\[|--)|(?:\]\]|--)&gt;\s*$/g;function Oe(e,t){return E(e,"table")&amp;&amp;E(11!==t.nodeType?t:t.firstChild,"tr")&amp;&amp;x(e).children("tbody")[0]||e}function ke(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ne(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,i,r,o;if(1===t.nodeType){if(X.hasData(e)&amp;&amp;(o=X.get(e).events))for(r in X.remove(t,"handle events"),o)for(n=0,i=o[r].length;n&lt;i;n++)x.event.add(t,r,o[r][n]);Y.hasData(e)&amp;&amp;(e=Y.access(e),e=x.extend({},e),Y.set(t,e))}}function je(n,i,r,o){i=g(i);var e,t,s,a,l,u,c=0,d=n.length,f=d-1,h=i[0],p=b(h);if(p||1&lt;d&amp;&amp;"string"==typeof h&amp;&amp;!_.checkClone&amp;&amp;Pe.test(h))return n.each(function(e){var t=n.eq(e);p&amp;&amp;(i[0]=h.call(this,e,t.html())),je(t,i,r,o)});if(d&amp;&amp;(t=(e=ve(i,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&amp;&amp;(e=t),t||o)){for(a=(s=x.map(pe(e,"script"),ke)).length;c&lt;d;c++)l=e,c!==f&amp;&amp;(l=x.clone(l,!0,!0),a&amp;&amp;x.merge(s,pe(l,"script"))),r.call(n[c],l,c);if(a)for(u=s[s.length-1].ownerDocument,x.map(s,Ne),c=0;c&lt;a;c++)l=s[c],de.test(l.type||"")&amp;&amp;!X.access(l,"globalEval")&amp;&amp;x.contains(u,l)&amp;&amp;(l.src&amp;&amp;"module"!==(l.type||"").toLowerCase()?x._evalUrl&amp;&amp;!l.noModule&amp;&amp;x._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):y(l.textContent.replace(Ae,""),l,u))}return n}function De(e,t,n){for(var i,r=t?x.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||x.cleanData(pe(i)),i.parentNode&amp;&amp;(n&amp;&amp;ie(i)&amp;&amp;me(pe(i,"script")),i.parentNode.removeChild(i));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,s,a,l,u,c=e.cloneNode(!0),d=ie(e);if(!(_.noCloneChecked||1!==e.nodeType&amp;&amp;11!==e.nodeType||x.isXMLDoc(e)))for(s=pe(c),i=0,r=(o=pe(e)).length;i&lt;r;i++)a=o[i],"input"===(u=(l=s[i]).nodeName.toLowerCase())&amp;&amp;ue.test(a.type)?l.checked=a.checked:"input"!==u&amp;&amp;"textarea"!==u||(l.defaultValue=a.defaultValue);if(t)if(n)for(o=o||pe(e),s=s||pe(c),i=0,r=o.length;i&lt;r;i++)Ie(o[i],s[i]);else Ie(e,c);return 0&lt;(s=pe(c,"script")).length&amp;&amp;me(s,!d&amp;&amp;pe(e,"script")),c},cleanData:function(e){for(var t,n,i,r=x.event.special,o=0;void 0!==(n=e[o]);o++)if(Q(n)){if(t=n[X.expando]){if(t.events)for(i in t.events)r[i]?x.event.remove(n,i):x.removeEvent(n,i,t.handle);n[X.expando]=void 0}n[Y.expando]&amp;&amp;(n[Y.expando]=void 0)}}}),x.fn.extend({detach:function(e){return De(this,e,!0)},remove:function(e){return De(this,e)},text:function(e){return B(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&amp;&amp;11!==this.nodeType&amp;&amp;9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return je(this,arguments,function(e){1!==this.nodeType&amp;&amp;11!==this.nodeType&amp;&amp;9!==this.nodeType||Oe(this,e).appendChild(e)})},prepend:function(){return je(this,arguments,function(e){var t;1!==this.nodeType&amp;&amp;11!==this.nodeType&amp;&amp;9!==this.nodeType||(t=Oe(this,e)).insertBefore(e,t.firstChild)})},before:function(){return je(this,arguments,function(e){this.parentNode&amp;&amp;this.parentNode.insertBefore(e,this)})},after:function(){return je(this,arguments,function(e){this.parentNode&amp;&amp;this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&amp;&amp;(x.cleanData(pe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&amp;&amp;e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return B(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&amp;&amp;1===t.nodeType)return t.innerHTML;if("string"==typeof e&amp;&amp;!Ee.test(e)&amp;&amp;!he[(ce.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n&lt;i;n++)1===(t=this[n]||{}).nodeType&amp;&amp;(x.cleanData(pe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&amp;&amp;this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return je(this,arguments,function(e){var t=this.parentNode;x.inArray(this,n)&lt;0&amp;&amp;(x.cleanData(pe(this)),t&amp;&amp;t.replaceChild(e,this))},n)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){x.fn[e]=function(e){for(var t,n=[],i=x(e),r=i.length-1,o=0;o&lt;=r;o++)t=o===r?this:this.clone(!0),x(i[o])[s](t),l.apply(n,t.get());return this.pushStack(n)}});function He(e,t,n){var i,r={};for(i in t)r[i]=e.style[i],e.style[i]=t[i];for(i in n=n.call(e),t)e.style[i]=r[i];return n}var Le,Me,qe,Fe,Re,Be,ze,We,Ve=new RegExp("^("+Z+")(?!px)[a-z%]+$","i"),Ue=function(e){var t=e.ownerDocument.defaultView;return t&amp;&amp;t.opener||(t=T),t.getComputedStyle(e)},Qe=new RegExp(te.join("|"),"i");function $e(e,t,n){var i,r,o=e.style;return(n=n||Ue(e))&amp;&amp;(""!==(r=n.getPropertyValue(t)||n[t])||ie(e)||(r=x.style(e,t)),!_.pixelBoxStyles()&amp;&amp;Ve.test(r)&amp;&amp;Qe.test(t)&amp;&amp;(i=o.width,e=o.minWidth,t=o.maxWidth,o.minWidth=o.maxWidth=o.width=r,r=n.width,o.width=i,o.minWidth=e,o.maxWidth=t)),void 0!==r?r+"":r}function Xe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function Ye(){var e;We&amp;&amp;(ze.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",We.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ne.appendChild(ze).appendChild(We),e=T.getComputedStyle(We),Le="1%"!==e.top,Be=12===Ge(e.marginLeft),We.style.right="60%",Fe=36===Ge(e.right),Me=36===Ge(e.width),We.style.position="absolute",qe=12===Ge(We.offsetWidth/3),ne.removeChild(ze),We=null)}function Ge(e){return Math.round(parseFloat(e))}ze=C.createElement("div"),(We=C.createElement("div")).style&amp;&amp;(We.style.backgroundClip="content-box",We.cloneNode(!0).style.backgroundClip="",_.clearCloneStyle="content-box"===We.style.backgroundClip,x.extend(_,{boxSizingReliable:function(){return Ye(),Me},pixelBoxStyles:function(){return Ye(),Fe},pixelPosition:function(){return Ye(),Le},reliableMarginLeft:function(){return Ye(),Be},scrollboxSize:function(){return Ye(),qe},reliableTrDimensions:function(){var e,t,n;return null==Re&amp;&amp;(e=C.createElement("table"),n=C.createElement("tr"),t=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px",n.style.height="1px",t.style.height="9px",ne.appendChild(e).appendChild(n).appendChild(t),n=T.getComputedStyle(n),Re=3&lt;parseInt(n.height),ne.removeChild(e)),Re}}));var Ke=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ze={};function et(e){return x.cssProps[e]||Ze[e]||(e in Je?e:Ze[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ke.length;n--;)if((e=Ke[n]+t)in Je)return e}(e)||e)}var tt=/^(none|table(?!-c[ea]).+)/,nt=/^--/,it={position:"absolute",visibility:"hidden",display:"block"},rt={letterSpacing:"0",fontWeight:"400"};function ot(e,t,n){var i=ee.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function st(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s&lt;4;s+=2)"margin"===n&amp;&amp;(l+=x.css(e,n+te[s],!0,r)),i?("content"===n&amp;&amp;(l-=x.css(e,"padding"+te[s],!0,r)),"margin"!==n&amp;&amp;(l-=x.css(e,"border"+te[s]+"Width",!0,r))):(l+=x.css(e,"padding"+te[s],!0,r),"padding"!==n?l+=x.css(e,"border"+te[s]+"Width",!0,r):a+=x.css(e,"border"+te[s]+"Width",!0,r));return!i&amp;&amp;0&lt;=o&amp;&amp;(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function at(e,t,n){var i=Ue(e),r=(!_.boxSizingReliable()||n)&amp;&amp;"border-box"===x.css(e,"boxSizing",!1,i),o=r,s=$e(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ve.test(s)){if(!n)return s;s="auto"}return(!_.boxSizingReliable()&amp;&amp;r||!_.reliableTrDimensions()&amp;&amp;E(e,"tr")||"auto"===s||!parseFloat(s)&amp;&amp;"inline"===x.css(e,"display",!1,i))&amp;&amp;e.getClientRects().length&amp;&amp;(r="border-box"===x.css(e,"boxSizing",!1,i),(o=a in e)&amp;&amp;(s=e[a])),(s=parseFloat(s)||0)+st(e,t,n||(r?"border":"content"),o,i,s)+"px"}function lt(e,t,n,i,r){return new lt.prototype.init(e,t,n,i,r)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){e=$e(e,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&amp;&amp;3!==e.nodeType&amp;&amp;8!==e.nodeType&amp;&amp;e.style){var r,o,s,a=U(t),l=nt.test(t),u=e.style;if(l||(t=et(a)),s=x.cssHooks[t]||x.cssHooks[a],void 0===n)return s&amp;&amp;"get"in s&amp;&amp;void 0!==(r=s.get(e,!1,i))?r:u[t];"string"==(o=typeof n)&amp;&amp;(r=ee.exec(n))&amp;&amp;r[1]&amp;&amp;(n=se(e,t,r),o="number"),null!=n&amp;&amp;n==n&amp;&amp;("number"!==o||l||(n+=r&amp;&amp;r[3]||(x.cssNumber[a]?"":"px")),_.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&amp;&amp;"set"in s&amp;&amp;void 0===(n=s.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,o=U(t);return nt.test(t)||(t=et(o)),(o=x.cssHooks[t]||x.cssHooks[o])&amp;&amp;"get"in o&amp;&amp;(r=o.get(e,!0,n)),void 0===r&amp;&amp;(r=$e(e,t,i)),"normal"===r&amp;&amp;t in rt&amp;&amp;(r=rt[t]),""===n||n?(t=parseFloat(r),!0===n||isFinite(t)?t||0:r):r}}),x.each(["height","width"],function(e,a){x.cssHooks[a]={get:function(e,t,n){if(t)return!tt.test(x.css(e,"display"))||e.getClientRects().length&amp;&amp;e.getBoundingClientRect().width?at(e,a,n):He(e,it,function(){return at(e,a,n)})},set:function(e,t,n){var i,r=Ue(e),o=!_.scrollboxSize()&amp;&amp;"absolute"===r.position,s=(o||n)&amp;&amp;"border-box"===x.css(e,"boxSizing",!1,r),n=n?st(e,a,n,s,r):0;return s&amp;&amp;o&amp;&amp;(n-=Math.ceil(e["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(r[a])-st(e,a,"border",!1,r)-.5)),n&amp;&amp;(i=ee.exec(t))&amp;&amp;"px"!==(i[3]||"px")&amp;&amp;(e.style[a]=t,t=x.css(e,a)),ot(0,t,n)}}}),x.cssHooks.marginLeft=Xe(_.reliableMarginLeft,function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(r,o){x.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t&lt;4;t++)n[r+te[t]+o]=i[t]||i[t-2]||i[0];return n}},"margin"!==r&amp;&amp;(x.cssHooks[r+o].set=ot)}),x.fn.extend({css:function(e,t){return B(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=Ue(e),r=t.length;s&lt;r;s++)o[t[s]]=x.css(e,t[s],!1,i);return o}return void 0!==n?x.style(e,t,n):x.css(e,t)},e,t,1&lt;arguments.length)}}),((x.Tween=lt).prototype={constructor:lt,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return(e&amp;&amp;e.get?e:lt.propHooks._default).get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&amp;&amp;this.options.step.call(this.elem,this.now,this),(n&amp;&amp;n.set?n:lt.propHooks._default).set(this),this}}).init.prototype=lt.prototype,(lt.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&amp;&amp;null==e.elem.style[e.prop]?e.elem[e.prop]:(e=x.css(e.elem,e.prop,""))&amp;&amp;"auto"!==e?e:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&amp;&amp;null==e.elem.style[et(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&amp;&amp;e.elem.parentNode&amp;&amp;(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=lt.prototype.init,x.fx.step={};var ut,ct,dt=/^(?:toggle|show|hide)$/,ft=/queueHooks$/;function ht(){ct&amp;&amp;(!1===C.hidden&amp;&amp;T.requestAnimationFrame?T.requestAnimationFrame(ht):T.setTimeout(ht,x.fx.interval),x.fx.tick())}function pt(){return T.setTimeout(function(){ut=void 0}),ut=Date.now()}function mt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i&lt;4;i+=2-t)r["margin"+(n=te[i])]=r["padding"+n]=e;return t&amp;&amp;(r.opacity=r.width=e),r}function gt(e,t,n){for(var i,r=(vt.tweeners[t]||[]).concat(vt.tweeners["*"]),o=0,s=r.length;o&lt;s;o++)if(i=r[o].call(n,t,e))return i}function vt(r,e,t){var n,o,i=0,s=vt.prefilters.length,a=x.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=ut||pt(),e=Math.max(0,u.startTime+u.duration-e),t=1-(e/u.duration||0),n=0,i=u.tweens.length;n&lt;i;n++)u.tweens[n].run(t);return a.notifyWith(r,[u,t,e]),t&lt;1&amp;&amp;i?e:(i||a.notifyWith(r,[u,1,0]),a.resolveWith(r,[u]),!1)},u=a.promise({elem:r,props:x.extend({},e),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},t),originalProperties:e,originalOptions:t,startTime:ut||pt(),duration:t.duration,tweens:[],createTween:function(e,t){e=x.Tween(r,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(e),e},stop:function(e){var t=0,n=e?u.tweens.length:0;if(o)return this;for(o=!0;t&lt;n;t++)u.tweens[t].run(1);return e?(a.notifyWith(r,[u,1,0]),a.resolveWith(r,[u,e])):a.rejectWith(r,[u,e]),this}}),c=u.props;for(function(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=U(n)],o=e[n],Array.isArray(o)&amp;&amp;(r=o[1],o=e[n]=o[0]),n!==i&amp;&amp;(e[i]=o,delete e[n]),(s=x.cssHooks[i])&amp;&amp;"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(c,u.opts.specialEasing);i&lt;s;i++)if(n=vt.prefilters[i].call(u,r,c,u.opts))return b(n.stop)&amp;&amp;(x._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return x.map(c,gt,u),b(u.opts.start)&amp;&amp;u.opts.start.call(r,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),x.fx.timer(x.extend(l,{elem:r,anim:u,queue:u.opts.queue})),u}x.Animation=x.extend(vt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,ee.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,r=(e=b(e)?(t=e,["*"]):e.match(D)).length;i&lt;r;i++)n=e[i],vt.tweeners[n]=vt.tweeners[n]||[],vt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,o,s,a,l,u,c="width"in t||"height"in t,d=this,f={},h=e.style,p=e.nodeType&amp;&amp;oe(e),m=X.get(e,"fxshow");for(i in n.queue||(null==(s=x._queueHooks(e,"fx")).unqueued&amp;&amp;(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),t)if(r=t[i],dt.test(r)){if(delete t[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;p=!0}f[i]=m&amp;&amp;m[i]||x.style(e,i)}if((l=!x.isEmptyObject(t))||!x.isEmptyObject(f))for(i in c&amp;&amp;1===e.nodeType&amp;&amp;(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=m&amp;&amp;m.display)&amp;&amp;(u=X.get(e,"display")),"none"===(c=x.css(e,"display"))&amp;&amp;(u?c=u:(le([e],!0),u=e.style.display||u,c=x.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&amp;&amp;null!=u)&amp;&amp;"none"===x.css(e,"float")&amp;&amp;(l||(d.done(function(){h.display=u}),null==u&amp;&amp;(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&amp;&amp;(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,f)l||(m?"hidden"in m&amp;&amp;(p=m.hidden):m=X.access(e,"fxshow",{display:u}),o&amp;&amp;(m.hidden=!p),p&amp;&amp;le([e],!0),d.done(function(){for(i in p||le([e]),X.remove(e,"fxshow"),f)x.style(e,i,f[i])})),l=gt(p?m[i]:0,i,d),i in m||(m[i]=l.start,p&amp;&amp;(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?vt.prefilters.unshift(e):vt.prefilters.push(e)}}),x.speed=function(e,t,n){var i=e&amp;&amp;"object"==typeof e?x.extend({},e):{complete:n||!n&amp;&amp;t||b(e)&amp;&amp;e,duration:e,easing:n&amp;&amp;t||t&amp;&amp;!b(t)&amp;&amp;t};return x.fx.off?i.duration=0:"number"!=typeof i.duration&amp;&amp;(i.duration in x.fx.speeds?i.duration=x.fx.speeds[i.duration]:i.duration=x.fx.speeds._default),null!=i.queue&amp;&amp;!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){b(i.old)&amp;&amp;i.old.call(this),i.queue&amp;&amp;x.dequeue(this,i.queue)},i},x.fn.extend({fadeTo:function(e,t,n,i){return this.filter(oe).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){var r=x.isEmptyObject(t),o=x.speed(e,n,i),i=function(){var e=vt(this,x.extend({},t),o);(r||X.get(this,"finish"))&amp;&amp;e.stop(!0)};return i.finish=i,r||!1===o.queue?this.each(i):this.queue(o.queue,i)},stop:function(r,e,o){function s(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof r&amp;&amp;(o=e,e=r,r=void 0),e&amp;&amp;this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&amp;&amp;r+"queueHooks",n=x.timers,i=X.get(this);if(t)i[t]&amp;&amp;i[t].stop&amp;&amp;s(i[t]);else for(t in i)i[t]&amp;&amp;i[t].stop&amp;&amp;ft.test(t)&amp;&amp;s(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=r&amp;&amp;n[t].queue!==r||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&amp;&amp;o||x.dequeue(this,r)})},finish:function(s){return!1!==s&amp;&amp;(s=s||"fx"),this.each(function(){var e,t=X.get(this),n=t[s+"queue"],i=t[s+"queueHooks"],r=x.timers,o=n?n.length:0;for(t.finish=!0,x.queue(this,s,[]),i&amp;&amp;i.stop&amp;&amp;i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&amp;&amp;r[e].queue===s&amp;&amp;(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e&lt;o;e++)n[e]&amp;&amp;n[e].finish&amp;&amp;n[e].finish.call(this);delete t.finish})}}),x.each(["toggle","show","hide"],function(e,i){var r=x.fn[i];x.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(mt(i,!0),e,t,n)}}),x.each({slideDown:mt("show"),slideUp:mt("hide"),slideToggle:mt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){x.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(ut=Date.now();t&lt;n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),ut=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){ct||(ct=!0,ht())},x.fx.stop=function(){ct=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(i,e){return i=x.fx&amp;&amp;x.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=T.setTimeout(e,i);t.stop=function(){T.clearTimeout(n)}})},fe=C.createElement("input"),Z=C.createElement("select").appendChild(C.createElement("option")),fe.type="checkbox",_.checkOn=""!==fe.value,_.optSelected=Z.selected,(fe=C.createElement("input")).value="t",fe.type="radio",_.radioValue="t"===fe.value;var _t,bt=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return B(this,x.attr,e,t,1&lt;arguments.length)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&amp;&amp;8!==o&amp;&amp;2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&amp;&amp;x.isXMLDoc(e)||(r=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?_t:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):r&amp;&amp;"set"in r&amp;&amp;void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):!(r&amp;&amp;"get"in r&amp;&amp;null!==(i=r.get(e,t)))&amp;&amp;null==(i=x.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!_.radioValue&amp;&amp;"radio"===t&amp;&amp;E(e,"input")){var n=e.value;return e.setAttribute("type",t),n&amp;&amp;(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&amp;&amp;t.match(D);if(r&amp;&amp;1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),_t={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var s=bt[t]||x.find.attr;bt[t]=function(e,t,n){var i,r,o=t.toLowerCase();return n||(r=bt[o],bt[o]=i,i=null!=s(e,t,n)?o:null,bt[o]=r),i}});var yt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function St(e){return(e.match(D)||[]).join(" ")}function Tt(e){return e.getAttribute&amp;&amp;e.getAttribute("class")||""}function Ct(e){return Array.isArray(e)?e:"string"==typeof e&amp;&amp;e.match(D)||[]}x.fn.extend({prop:function(e,t){return B(this,x.prop,e,t,1&lt;arguments.length)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&amp;&amp;8!==o&amp;&amp;2!==o)return 1===o&amp;&amp;x.isXMLDoc(e)||(t=x.propFix[t]||t,r=x.propHooks[t]),void 0!==n?r&amp;&amp;"set"in r&amp;&amp;void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&amp;&amp;"get"in r&amp;&amp;null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):yt.test(e.nodeName)||wt.test(e.nodeName)&amp;&amp;e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),_.optSelected||(x.propHooks.selected={get:function(e){e=e.parentNode;return e&amp;&amp;e.parentNode&amp;&amp;e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&amp;&amp;(e.selectedIndex,e.parentNode&amp;&amp;e.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(t){var e,n,i,r,o,s,a=0;if(b(t))return this.each(function(e){x(this).addClass(t.call(this,e,Tt(this)))});if((e=Ct(t)).length)for(;n=this[a++];)if(s=Tt(n),i=1===n.nodeType&amp;&amp;" "+St(s)+" "){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")&lt;0&amp;&amp;(i+=r+" ");s!==(s=St(i))&amp;&amp;n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,s,a=0;if(b(t))return this.each(function(e){x(this).removeClass(t.call(this,e,Tt(this)))});if(!arguments.length)return this.attr("class","");if((e=Ct(t)).length)for(;n=this[a++];)if(s=Tt(n),i=1===n.nodeType&amp;&amp;" "+St(s)+" "){for(o=0;r=e[o++];)for(;-1&lt;i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");s!==(s=St(i))&amp;&amp;n.setAttribute("class",s)}return this},toggleClass:function(r,t){var o=typeof r,s="string"==o||Array.isArray(r);return"boolean"==typeof t&amp;&amp;s?t?this.addClass(r):this.removeClass(r):b(r)?this.each(function(e){x(this).toggleClass(r.call(this,e,Tt(this),t),t)}):this.each(function(){var e,t,n,i;if(s)for(t=0,n=x(this),i=Ct(r);e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==r&amp;&amp;"boolean"!=o||((e=Tt(this))&amp;&amp;X.set(this,"__className__",e),this.setAttribute&amp;&amp;this.setAttribute("class",!e&amp;&amp;!1!==r&amp;&amp;X.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,i=" "+e+" ";t=this[n++];)if(1===t.nodeType&amp;&amp;-1&lt;(" "+St(Tt(t))+" ").indexOf(i))return!0;return!1}});var xt=/\r/g;x.fn.extend({val:function(t){var n,e,i,r=this[0];return arguments.length?(i=b(t),this.each(function(e){1===this.nodeType&amp;&amp;(null==(e=i?t.call(this,e,x(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&amp;&amp;(e=x.map(e,function(e){return null==e?"":e+""})),(n=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&amp;&amp;"set"in n&amp;&amp;void 0!==n.set(this,e,"value")||(this.value=e))})):r?(n=x.valHooks[r.type]||x.valHooks[r.nodeName.toLowerCase()])&amp;&amp;"get"in n&amp;&amp;void 0!==(e=n.get(r,"value"))?e:"string"==typeof(e=r.value)?e.replace(xt,""):null==e?"":e:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:St(x.text(e))}},select:{get:function(e){for(var t,n=e.options,i=e.selectedIndex,r="select-one"===e.type,o=r?null:[],s=r?i+1:n.length,a=i&lt;0?s:r?i:0;a&lt;s;a++)if(((t=n[a]).selected||a===i)&amp;&amp;!t.disabled&amp;&amp;(!t.parentNode.disabled||!E(t.parentNode,"optgroup"))){if(t=x(t).val(),r)return t;o.push(t)}return o},set:function(e,t){for(var n,i,r=e.options,o=x.makeArray(t),s=r.length;s--;)((i=r[s]).selected=-1&lt;x.inArray(x.valHooks.option.get(i),o))&amp;&amp;(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1&lt;x.inArray(x(e).val(),t)}},_.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),_.focusin="onfocusin"in T;function Et(e){e.stopPropagation()}var Pt=/^(?:focusinfocus|focusoutblur)$/;x.extend(x.event,{trigger:function(e,t,n,i){var r,o,s,a,l,u,c,d=[n||C],f=v.call(e,"type")?e.type:e,h=v.call(e,"namespace")?e.namespace.split("."):[],p=c=o=n=n||C;if(3!==n.nodeType&amp;&amp;8!==n.nodeType&amp;&amp;!Pt.test(f+x.event.triggered)&amp;&amp;(-1&lt;f.indexOf(".")&amp;&amp;(f=(h=f.split(".")).shift(),h.sort()),a=f.indexOf(":")&lt;0&amp;&amp;"on"+f,(e=e[x.expando]?e:new x.Event(f,"object"==typeof e&amp;&amp;e)).isTrigger=i?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:x.makeArray(t,[e]),u=x.event.special[f]||{},i||!u.trigger||!1!==u.trigger.apply(n,t))){if(!i&amp;&amp;!u.noBubble&amp;&amp;!m(n)){for(s=u.delegateType||f,Pt.test(s+f)||(p=p.parentNode);p;p=p.parentNode)d.push(p),o=p;o===(n.ownerDocument||C)&amp;&amp;d.push(o.defaultView||o.parentWindow||T)}for(r=0;(p=d[r++])&amp;&amp;!e.isPropagationStopped();)c=p,e.type=1&lt;r?s:u.bindType||f,(l=(X.get(p,"events")||Object.create(null))[e.type]&amp;&amp;X.get(p,"handle"))&amp;&amp;l.apply(p,t),(l=a&amp;&amp;p[a])&amp;&amp;l.apply&amp;&amp;Q(p)&amp;&amp;(e.result=l.apply(p,t),!1===e.result&amp;&amp;e.preventDefault());return e.type=f,i||e.isDefaultPrevented()||u._default&amp;&amp;!1!==u._default.apply(d.pop(),t)||!Q(n)||a&amp;&amp;b(n[f])&amp;&amp;!m(n)&amp;&amp;((o=n[a])&amp;&amp;(n[a]=null),x.event.triggered=f,e.isPropagationStopped()&amp;&amp;c.addEventListener(f,Et),n[f](),e.isPropagationStopped()&amp;&amp;c.removeEventListener(f,Et),x.event.triggered=void 0,o&amp;&amp;(n[a]=o)),e.result}},simulate:function(e,t,n){e=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(e,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),_.focusin||x.each({focus:"focusin",blur:"focusout"},function(n,i){function r(e){x.event.simulate(i,e.target,x.event.fix(e))}x.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=X.access(e,i);t||e.addEventListener(n,r,!0),X.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=X.access(e,i)-1;t?X.access(e,i,t):(e.removeEventListener(n,r,!0),X.remove(e,i))}}});var At=T.location,Ot={guid:Date.now()},kt=/\?/;x.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new T.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&amp;&amp;!t.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+e),t};var Nt=/\[\]$/,It=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;x.param=function(e,t){function n(e,t){t=b(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var i,r=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&amp;&amp;!x.isPlainObject(e))x.each(e,function(){n(this.name,this.value)});else for(i in e)!function n(i,e,r,o){if(Array.isArray(e))x.each(e,function(e,t){r||Nt.test(i)?o(i,t):n(i+"["+("object"==typeof t&amp;&amp;null!=t?e:"")+"]",t,r,o)});else if(r||"object"!==p(e))o(i,e);else for(var t in e)n(i+"["+t+"]",e[t],r,o)}(i,e[i],t,n);return r.join("&amp;")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&amp;&amp;!x(this).is(":disabled")&amp;&amp;Dt.test(this.nodeName)&amp;&amp;!jt.test(e)&amp;&amp;(this.checked||!ue.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(It,"\r\n")}}):{name:t.name,value:n.replace(It,"\r\n")}}).get()}});var Ht=/%20/g,Lt=/#.*$/,Mt=/([?&amp;])_=[^&amp;]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,Rt=/^\/\//,Bt={},zt={},Wt="*/".concat("*"),Vt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&amp;&amp;(t=e,e="*");var n,i=0,r=e.toLowerCase().match(D)||[];if(b(t))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Qt(t,i,r,o){var s={},a=t===zt;function l(e){var n;return s[e]=!0,x.each(t[e]||[],function(e,t){t=t(i,r,o);return"string"!=typeof t||a||s[t]?a?!(n=t):void 0:(i.dataTypes.unshift(t),l(t),!1)}),n}return l(i.dataTypes[0])||!s["*"]&amp;&amp;l("*")}function $t(e,t){var n,i,r=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&amp;&amp;((r[n]?e:i=i||{})[n]=t[n]);return i&amp;&amp;x.extend(!0,e,i),e}Vt.href=At.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,x.ajaxSettings),t):$t(x.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(zt),ajax:function(e,t){"object"==typeof e&amp;&amp;(t=e,e=void 0),t=t||{};var l,u,c,n,d,i,f,h,r,o,p=x.ajaxSetup({},t),m=p.context||p,g=p.context&amp;&amp;(m.nodeType||m.jquery)?x(m):x.event,v=x.Deferred(),_=x.Callbacks("once memory"),b=p.statusCode||{},s={},a={},y="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(f){if(!n)for(n={};t=qt.exec(c);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return f?c:null},setRequestHeader:function(e,t){return null==f&amp;&amp;(e=a[e.toLowerCase()]=a[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==f&amp;&amp;(p.mimeType=e),this},statusCode:function(e){if(e)if(f)w.always(e[w.status]);else for(var t in e)b[t]=[b[t],e[t]];return this},abort:function(e){e=e||y;return l&amp;&amp;l.abort(e),S(0,e),this}};if(v.promise(w),p.url=((e||p.url||At.href)+"").replace(Rt,At.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(D)||[""],null==p.crossDomain){i=C.createElement("a");try{i.href=p.url,i.href=i.href,p.crossDomain=Vt.protocol+"//"+Vt.host!=i.protocol+"//"+i.host}catch(e){p.crossDomain=!0}}if(p.data&amp;&amp;p.processData&amp;&amp;"string"!=typeof p.data&amp;&amp;(p.data=x.param(p.data,p.traditional)),Qt(Bt,p,t,w),f)return w;for(r in(h=x.event&amp;&amp;p.global)&amp;&amp;0==x.active++&amp;&amp;x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ft.test(p.type),u=p.url.replace(Lt,""),p.hasContent?p.data&amp;&amp;p.processData&amp;&amp;0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&amp;&amp;(p.data=p.data.replace(Ht,"+")):(o=p.url.slice(u.length),p.data&amp;&amp;(p.processData||"string"==typeof p.data)&amp;&amp;(u+=(kt.test(u)?"&amp;":"?")+p.data,delete p.data),!1===p.cache&amp;&amp;(u=u.replace(Mt,"$1"),o=(kt.test(u)?"&amp;":"?")+"_="+Ot.guid+++o),p.url=u+o),p.ifModified&amp;&amp;(x.lastModified[u]&amp;&amp;w.setRequestHeader("If-Modified-Since",x.lastModified[u]),x.etag[u]&amp;&amp;w.setRequestHeader("If-None-Match",x.etag[u])),(p.data&amp;&amp;p.hasContent&amp;&amp;!1!==p.contentType||t.contentType)&amp;&amp;w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&amp;&amp;p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Wt+"; q=0.01":""):p.accepts["*"]),p.headers)w.setRequestHeader(r,p.headers[r]);if(p.beforeSend&amp;&amp;(!1===p.beforeSend.call(m,w,p)||f))return w.abort();if(y="abort",_.add(p.complete),w.done(p.success),w.fail(p.error),l=Qt(zt,p,t,w)){if(w.readyState=1,h&amp;&amp;g.trigger("ajaxSend",[w,p]),f)return w;p.async&amp;&amp;0&lt;p.timeout&amp;&amp;(d=T.setTimeout(function(){w.abort("timeout")},p.timeout));try{f=!1,l.send(s,S)}catch(e){if(f)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,n,i){var r,o,s,a=t;f||(f=!0,d&amp;&amp;T.clearTimeout(d),l=void 0,c=i||"",w.readyState=0&lt;e?4:0,i=200&lt;=e&amp;&amp;e&lt;300||304===e,n&amp;&amp;(s=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&amp;&amp;(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&amp;&amp;a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s=s||r}o=o||s}if(o)return o!==l[0]&amp;&amp;l.unshift(o),n[o]}(p,w,n)),!i&amp;&amp;-1&lt;x.inArray("script",p.dataTypes)&amp;&amp;(p.converters["text script"]=function(){}),s=function(e,t,n,i){var r,o,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&amp;&amp;(n[e.responseFields[o]]=t),!l&amp;&amp;i&amp;&amp;e.dataFilter&amp;&amp;(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&amp;&amp;l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(r in u)if((a=r.split(" "))[1]===o&amp;&amp;(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&amp;&amp;(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&amp;&amp;e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,s,w,i),i?(p.ifModified&amp;&amp;((n=w.getResponseHeader("Last-Modified"))&amp;&amp;(x.lastModified[u]=n),(n=w.getResponseHeader("etag"))&amp;&amp;(x.etag[u]=n)),204===e||"HEAD"===p.type?a="nocontent":304===e?a="notmodified":(a=s.state,r=s.data,i=!(o=s.error))):(o=a,!e&amp;&amp;a||(a="error",e&lt;0&amp;&amp;(e=0))),w.status=e,w.statusText=(t||a)+"",i?v.resolveWith(m,[r,a,w]):v.rejectWith(m,[w,a,o]),w.statusCode(b),b=void 0,h&amp;&amp;g.trigger(i?"ajaxSuccess":"ajaxError",[w,p,i?r:o]),_.fireWith(m,[w,a]),h&amp;&amp;(g.trigger("ajaxComplete",[w,p]),--x.active||x.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,r){x[r]=function(e,t,n,i){return b(t)&amp;&amp;(i=i||n,n=t,t=void 0),x.ajax(x.extend({url:e,type:r,dataType:i,data:t,success:n},x.isPlainObject(e)&amp;&amp;e))}}),x.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&amp;&amp;(e.contentType=e.headers[t]||"")}),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){return this[0]&amp;&amp;(b(e)&amp;&amp;(e=e.call(this[0])),e=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&amp;&amp;e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return b(n)?this.each(function(e){x(this).wrapInner(n.call(this,e))}):this.each(function(){var e=x(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=b(t);return this.each(function(e){x(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new T.XMLHttpRequest}catch(e){}};var Xt={0:200,1223:204},Yt=x.ajaxSettings.xhr();_.cors=!!Yt&amp;&amp;"withCredentials"in Yt,_.ajax=Yt=!!Yt,x.ajaxTransport(function(r){var o,s;if(_.cors||Yt&amp;&amp;!r.crossDomain)return{send:function(e,t){var n,i=r.xhr();if(i.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(n in r.xhrFields)i[n]=r.xhrFields[n];for(n in r.mimeType&amp;&amp;i.overrideMimeType&amp;&amp;i.overrideMimeType(r.mimeType),r.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);o=function(e){return function(){o&amp;&amp;(o=s=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(Xt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=o(),s=i.onerror=i.ontimeout=o("error"),void 0!==i.onabort?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&amp;&amp;T.setTimeout(function(){o&amp;&amp;s()})},o=o("abort");try{i.send(r.hasContent&amp;&amp;r.data||null)}catch(e){if(o)throw e}},abort:function(){o&amp;&amp;o()}}}),x.ajaxPrefilter(function(e){e.crossDomain&amp;&amp;(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&amp;&amp;(e.cache=!1),e.crossDomain&amp;&amp;(e.type="GET")}),x.ajaxTransport("script",function(n){var i,r;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=x("&lt;script&gt;").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(e){i.remove(),r=null,e&amp;&amp;t("error"===e.type?404:200,e.type)}),C.head.appendChild(i[0])},abort:function(){r&amp;&amp;r()}}});var Gt=[],Kt=/(=)\?(?=&amp;|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||x.expando+"_"+Ot.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,s=!1!==e.jsonp&amp;&amp;(Kt.test(e.url)?"url":"string"==typeof e.data&amp;&amp;0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&amp;&amp;Kt.test(e.data)&amp;&amp;"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Kt,"$1"+i):!1!==e.jsonp&amp;&amp;(e.url+=(kt.test(e.url)?"&amp;":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||x.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=T[i],T[i]=function(){o=arguments},n.always(function(){void 0===r?x(T).removeProp(i):T[i]=r,e[i]&amp;&amp;(e.jsonpCallback=t.jsonpCallback,Gt.push(i)),o&amp;&amp;b(r)&amp;&amp;r(o[0]),o=r=void 0}),"script"}),_.createHTMLDocument=((fe=C.implementation.createHTMLDocument("").body).innerHTML="&lt;form&gt;&lt;/form&gt;&lt;form&gt;&lt;/form&gt;",2===fe.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&amp;&amp;(n=t,t=!1),t||(_.createHTMLDocument?((i=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(i)):t=C),i=!n&amp;&amp;[],(n=P.exec(e))?[t.createElement(n[1])]:(n=ve([e],t,i),i&amp;&amp;i.length&amp;&amp;x(i).remove(),x.merge([],n.childNodes)));var i},x.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return-1&lt;a&amp;&amp;(i=St(e.slice(a)),e=e.slice(0,a)),b(t)?(n=t,t=void 0):t&amp;&amp;"object"==typeof t&amp;&amp;(r="POST"),0&lt;s.length&amp;&amp;x.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?x("&lt;div&gt;").append(x.parseHTML(e)).find(i):e)}).always(n&amp;&amp;function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},x.expr.pseudos.animated=function(t){return x.grep(x.timers,function(e){return t===e.elem}).length},x.offset={setOffset:function(e,t,n){var i,r,o,s,a=x.css(e,"position"),l=x(e),u={};"static"===a&amp;&amp;(e.style.position="relative"),o=l.offset(),i=x.css(e,"top"),s=x.css(e,"left"),s=("absolute"===a||"fixed"===a)&amp;&amp;-1&lt;(i+s).indexOf("auto")?(r=(a=l.position()).top,a.left):(r=parseFloat(i)||0,parseFloat(s)||0),b(t)&amp;&amp;(t=t.call(e,n,x.extend({},o))),null!=t.top&amp;&amp;(u.top=t.top-o.top+r),null!=t.left&amp;&amp;(u.left=t.left-o.left+s),"using"in t?t.using.call(e,u):("number"==typeof u.top&amp;&amp;(u.top+="px"),"number"==typeof u.left&amp;&amp;(u.left+="px"),l.css(u))}},x.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){x.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===x.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&amp;&amp;(e===n.body||e===n.documentElement)&amp;&amp;"static"===x.css(e,"position");)e=e.parentNode;e&amp;&amp;e!==i&amp;&amp;1===e.nodeType&amp;&amp;((r=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),r.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-x.css(i,"marginTop",!0),left:t.left-r.left-x.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&amp;&amp;"static"===x.css(e,"position");)e=e.offsetParent;return e||ne})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o="pageYOffset"===r;x.fn[t]=function(e){return B(this,function(e,t,n){var i;return m(e)?i=e:9===e.nodeType&amp;&amp;(i=e.defaultView),void 0===n?i?i[r]:e[t]:void(i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):e[t]=n)},t,e,arguments.length)}}),x.each(["top","left"],function(e,n){x.cssHooks[n]=Xe(_.pixelPosition,function(e,t){if(t)return t=$e(e,n),Ve.test(t)?x(e).position()[n]+"px":t})}),x.each({Height:"height",Width:"width"},function(s,a){x.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,o){x.fn[o]=function(e,t){var n=arguments.length&amp;&amp;(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var i;return m(e)?0===o.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+s],i["scroll"+s],e.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?x.css(e,t,r):x.style(e,t,n,r)},a,n?e:void 0,n)}})}),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){x.fn[n]=function(e,t){return 0&lt;arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Jt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;x.proxy=function(e,t){var n,i;if("string"==typeof t&amp;&amp;(i=e[t],t=e,e=i),b(e))return n=a.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(a.call(arguments)))}).guid=e.guid=e.guid||x.guid++,i},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=E,x.isFunction=b,x.isWindow=m,x.camelCase=U,x.type=p,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&amp;&amp;!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace(Jt,"")},"function"==typeof define&amp;&amp;define.amd&amp;&amp;define("jquery",[],function(){return x});var Zt=T.jQuery,en=T.$;return x.noConflict=function(e){return T.$===x&amp;&amp;(T.$=en),e&amp;&amp;T.jQuery===x&amp;&amp;(T.jQuery=Zt),x},void 0===e&amp;&amp;(T.jQuery=T.$=x),x}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t():"function"==typeof define&amp;&amp;define.amd?define(t):e.Popper=t()}(this,function(){"use strict";function r(e){return e&amp;&amp;"[object Function]"==={}.toString.call(e)}function d(e,t){if(1!==e.nodeType)return[];e=getComputedStyle(e,null);return t?e[t]:e}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=d(e),n=t.overflow,i=t.overflowX,t=t.overflowY;return/(auto|scroll|overlay)/.test(n+t+i)?e:c(l(e))}function f(e){return 11===e?V:10!==e&amp;&amp;V||U}function h(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent;n===t&amp;&amp;e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&amp;&amp;n.nodeName;return i&amp;&amp;"BODY"!==i&amp;&amp;"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&amp;&amp;"static"===d(n,"position")?h(n):n:(e?e.ownerDocument:document).documentElement}function o(e){return null===e.parentNode?e:o(e.parentNode)}function u(e,t){if(!(e&amp;&amp;e.nodeType&amp;&amp;t&amp;&amp;t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&amp;Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,n=document.createRange();n.setStart(i,0),n.setEnd(r,0);n=n.commonAncestorContainer;if(e!==n&amp;&amp;t!==n||i.contains(r))return"BODY"===(r=(i=n).nodeName)||"HTML"!==r&amp;&amp;h(i.firstElementChild)!==i?h(n):n;n=o(e);return n.host?u(n.host,t):u(e,o(t).host)}function p(e,t){var n="top"===(1&lt;arguments.length&amp;&amp;void 0!==t?t:"top")?"scrollTop":"scrollLeft",t=e.nodeName;if("BODY"!==t&amp;&amp;"HTML"!==t)return e[n];t=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||t)[n]}function m(e,t){var n="x"===t?"Left":"Top",t="Left"==n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+t+"Width"],10)}function i(e,t,n,i){return M(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?n["offset"+e]+i["margin"+("Height"===e?"Top":"Left")]+i["margin"+("Height"===e?"Bottom":"Right")]:0)}function g(){var e=document.body,t=document.documentElement,n=f(10)&amp;&amp;getComputedStyle(t);return{height:i("Height",e,t,n),width:i("Width",e,t,n)}}function v(e){return X({},e,{right:e.left+e.width,bottom:e.top+e.height})}function _(e){var t,n,i={};try{f(10)?(i=e.getBoundingClientRect(),t=p(e,"top"),n=p(e,"left"),i.top+=t,i.left+=n,i.bottom+=t,i.right+=n):i=e.getBoundingClientRect()}catch(e){}var r={left:i.left,top:i.top,width:i.right-i.left,height:i.bottom-i.top},o="HTML"===e.nodeName?g():{},s=o.width||e.clientWidth||r.right-r.left,a=o.height||e.clientHeight||r.bottom-r.top,o=e.offsetWidth-s,s=e.offsetHeight-a;return(o||s)&amp;&amp;(o-=m(a=d(e),"x"),s-=m(a,"y"),r.width-=o,r.height-=s),v(r)}function b(e,t,n){var i=2&lt;arguments.length&amp;&amp;void 0!==n&amp;&amp;n,r=f(10),o="HTML"===t.nodeName,s=_(e),a=_(t),l=c(e),u=d(t),n=parseFloat(u.borderTopWidth,10),e=parseFloat(u.borderLeftWidth,10);i&amp;&amp;"HTML"===t.nodeName&amp;&amp;(a.top=M(a.top,0),a.left=M(a.left,0));s=v({top:s.top-a.top-n,left:s.left-a.left-e,width:s.width,height:s.height});return s.marginTop=0,s.marginLeft=0,!r&amp;&amp;o&amp;&amp;(o=parseFloat(u.marginTop,10),u=parseFloat(u.marginLeft,10),s.top-=n-o,s.bottom-=n-o,s.left-=e-u,s.right-=e-u,s.marginTop=o,s.marginLeft=u),(r&amp;&amp;!i?t.contains(l):t===l&amp;&amp;"BODY"!==l.nodeName)&amp;&amp;(s=function(e,t,n){var i=2&lt;arguments.length&amp;&amp;void 0!==n&amp;&amp;n,n=p(t,"top"),t=p(t,"left"),i=i?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=t*i,e.right+=t*i,e}(s,t)),s}function y(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&amp;&amp;"none"===d(t,"transform");)t=t.parentElement;return t||document.documentElement}function w(e,t,n,i,r){var o,s=4&lt;arguments.length&amp;&amp;void 0!==r&amp;&amp;r,a={top:0,left:0},r=s?y(e):u(e,t);return"viewport"===i?a=function(e,t){var n=1&lt;arguments.length&amp;&amp;void 0!==t&amp;&amp;t,i=e.ownerDocument.documentElement,r=b(e,i),o=M(i.clientWidth,window.innerWidth||0),t=M(i.clientHeight,window.innerHeight||0),e=n?0:p(i),i=n?0:p(i,"left");return v({top:e-r.top+r.marginTop,left:i-r.left+r.marginLeft,width:o,height:t})}(r,s):("scrollParent"===i?"BODY"===(o=c(l(t))).nodeName&amp;&amp;(o=e.ownerDocument.documentElement):o="window"===i?e.ownerDocument.documentElement:i,s=b(o,r,s),"HTML"!==o.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&amp;&amp;"HTML"!==n&amp;&amp;("fixed"===d(t,"position")||e(l(t)))}(r)?a=s:(r=(o=g()).height,o=o.width,a.top+=s.top-s.marginTop,a.bottom=r+s.top,a.left+=s.left-s.marginLeft,a.right=o+s.left)),a.left+=n,a.top+=n,a.right-=n,a.bottom-=n,a}function s(e,t,n,i,r,o){o=5&lt;arguments.length&amp;&amp;void 0!==o?o:0;if(-1===e.indexOf("auto"))return e;var r=w(n,i,o,r),s={top:{width:r.width,height:t.top-r.top},right:{width:r.right-t.right,height:r.height},bottom:{width:r.width,height:r.bottom-t.bottom},left:{width:t.left-r.left,height:r.height}},t=Object.keys(s).map(function(e){return X({key:e},s[e],{area:(e=s[e]).width*e.height})}).sort(function(e,t){return t.area-e.area}),r=t.filter(function(e){var t=e.width,e=e.height;return t&gt;=n.clientWidth&amp;&amp;e&gt;=n.clientHeight}),t=(0&lt;r.length?r:t)[0].key,e=e.split("-")[1];return t+(e?"-"+e:"")}function a(e,t,n,i){i=3&lt;arguments.length&amp;&amp;void 0!==i?i:null;return b(n,i?y(t):u(t,n),i)}function S(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),t=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+t,height:e.offsetHeight+n}}function T(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function C(e,t,n){n=n.split("-")[0];var i=S(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",e=o?"height":"width",o=o?"width":"height";return r[s]=t[s]+t[e]/2-i[e]/2,r[a]=n===a?t[a]-i[o]:t[T(a)],r}function x(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function E(e,n,t){return(void 0===t?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=x(e,function(e){return e[t]===n});return e.indexOf(i)}(e,"name",t))).forEach(function(e){e.function&amp;&amp;console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&amp;&amp;r(t)&amp;&amp;(n.offsets.popper=v(n.offsets.popper),n.offsets.reference=v(n.offsets.reference),n=t(n,e))}),n}function e(e,n){return e.some(function(e){var t=e.name;return e.enabled&amp;&amp;t===n})}function P(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i&lt;t.length;i++){var r=t[i],r=r?""+r+n:e;if(void 0!==document.body.style[r])return r}return null}function A(e){e=e.ownerDocument;return e?e.defaultView:window}function t(e,t,n,i){n.updateBound=i,A(e).addEventListener("resize",n.updateBound,{passive:!0});e=c(e);return function e(t,n,i,r){var o="BODY"===t.nodeName,t=o?t.ownerDocument.defaultView:t;t.addEventListener(n,i,{passive:!0}),o||e(c(t.parentNode),n,i,r),r.push(t)}(e,"scroll",n.updateBound,n.scrollParents),n.scrollElement=e,n.eventsEnabled=!0,n}function n(){var e,t;this.state.eventsEnabled&amp;&amp;(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,A(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function O(e){return""!==e&amp;&amp;!isNaN(parseFloat(e))&amp;&amp;isFinite(e)}function k(n,i){Object.keys(i).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&amp;&amp;O(i[e])&amp;&amp;(t="px"),n.style[e]=i[e]+t})}function N(e,t,n){var i=x(e,function(e){return e.name===t}),r=!!i&amp;&amp;e.some(function(e){return e.name===n&amp;&amp;e.enabled&amp;&amp;e.order&lt;i.order});return r||(e="`"+t+"`",console.warn("`"+n+"` modifier is required by "+e+" modifier in order to work, be sure to include it before "+e+"!")),r}function I(e,t){t=1&lt;arguments.length&amp;&amp;void 0!==t&amp;&amp;t,e=G.indexOf(e),e=G.slice(e+1).concat(G.slice(0,e));return t?e.reverse():e}function j(e,r,o,t){var s=[0,0],a=-1!==["right","left"].indexOf(t),n=e.split(/(\+|\-)/).map(function(e){return e.trim()}),t=n.indexOf(x(n,function(e){return-1!==e.search(/,|\s/)}));n[t]&amp;&amp;-1===n[t].indexOf(",")&amp;&amp;console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");e=/\s*,\s*|\s+/;return(-1===t?[n]:[n.slice(0,t).concat([n[t].split(e)[0]]),[n[t].split(e)[1]].concat(n.slice(t+1))]).map(function(e,t){var n=(1===t?!a:a)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&amp;&amp;-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var r,o=+(s=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],s=s[2];if(!o)return e;if(0!==s.indexOf("%"))return"vh"!==s&amp;&amp;"vw"!==s?o:("vh"===s?M(document.documentElement.clientHeight,window.innerHeight||0):M(document.documentElement.clientWidth,window.innerWidth||0))/100*o;switch(s){case"%p":r=n;break;case"%":case"%r":default:r=i}return v(r)[t]/100*o}(e,n,r,o)})}).forEach(function(n,i){n.forEach(function(e,t){O(e)&amp;&amp;(s[i]+=e*("-"===n[t-1]?-1:1))})}),s}for(var D=Math.min,H=Math.round,L=Math.floor,M=Math.max,q="undefined"!=typeof window&amp;&amp;"undefined"!=typeof document,F=["Edge","Trident","Firefox"],R=0,B=0;B&lt;F.length;B+=1)if(q&amp;&amp;0&lt;=navigator.userAgent.indexOf(F[B])){R=1;break}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W=q&amp;&amp;window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},R))}},V=q&amp;&amp;!(!window.MSInputMethodContext||!document.documentMode),U=q&amp;&amp;/MSIE 10/.test(navigator.userAgent),Q=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},$=function(e,t,n){return t&amp;&amp;te(e.prototype,t),n&amp;&amp;te(e,n),e},X=Object.assign||function(e){for(var t,n=1;n&lt;arguments.length;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i]);return e},Y=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],G=Y.slice(3),K="flip",J="clockwise",Z="counterclockwise",$=($(ee,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=a(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=s(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=C(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=E(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,e(this.modifiers,"applyStyle")&amp;&amp;(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[P("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&amp;&amp;this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=t(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return n.call(this)}}]),ee);function ee(e,t){var n=this,i=2&lt;arguments.length&amp;&amp;void 0!==arguments[2]?arguments[2]:{};Q(this,ee),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=W(this.update.bind(this)),this.options=X({},ee.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&amp;&amp;e.jquery?e[0]:e,this.popper=t&amp;&amp;t.jquery?t[0]:t,this.options.modifiers={},Object.keys(X({},ee.Defaults.modifiers,i.modifiers)).forEach(function(e){n.options.modifiers[e]=X({},ee.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return X({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&amp;&amp;r(e.onLoad)&amp;&amp;e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();t=this.options.eventsEnabled;t&amp;&amp;this.enableEventListeners(),this.state.eventsEnabled=t}function te(e,t){for(var n,i=0;i&lt;t.length;i++)(n=t[i]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&amp;&amp;(n.writable=!0),Object.defineProperty(e,n.key,n)}return $.Utils=("undefined"==typeof window?global:window).PopperUtils,$.placements=Y,$.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,n,i=e.placement,r=i.split("-")[0],o=i.split("-")[1];return o&amp;&amp;(t=(n=e.offsets).reference,i=n.popper,r=(n=-1!==["bottom","top"].indexOf(r))?"width":"height",r={start:z({},n=n?"left":"top",t[n]),end:z({},n,t[n]+t[r]-i[r])},e.offsets.popper=X({},i,r[o])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,t=(r=e.offsets).popper,r=r.reference,i=i.split("-")[0],r=O(+n)?[+n,0]:j(n,t,r,i);return"left"===i?(t.top+=r[0],t.left-=r[1]):"right"===i?(t.top+=r[0],t.left+=r[1]):"top"===i?(t.left+=r[0],t.top-=r[1]):"bottom"===i&amp;&amp;(t.left+=r[0],t.top+=r[1]),e.popper=t,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,i){var t=i.boundariesElement||h(e.instance.popper);e.instance.reference===t&amp;&amp;(t=h(t));var n=P("transform"),r=e.instance.popper.style,o=r.top,s=r.left,a=r[n];r.top="",r.left="",r[n]="";var l=w(e.instance.popper,e.instance.reference,i.padding,t,e.positionFixed);r.top=o,r.left=s,r[n]=a,i.boundaries=l;var a=i.priority,u=e.offsets.popper,c={primary:function(e){var t=u[e];return u[e]&lt;l[e]&amp;&amp;!i.escapeWithReference&amp;&amp;(t=M(u[e],l[e])),z({},e,t)},secondary:function(e){var t="right"===e?"left":"top",n=u[t];return u[e]&gt;l[e]&amp;&amp;!i.escapeWithReference&amp;&amp;(n=D(u[t],l[e]-("right"===e?u.width:u.height))),z({},t,n)}};return a.forEach(function(e){var t=-1===["left","top"].indexOf(e)?"secondary":"primary";u=X({},u,c[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=L,s=-1!==["top","bottom"].indexOf(r),t=s?"right":"bottom",r=s?"left":"top",s=s?"width":"height";return n[t]&lt;o(i[r])&amp;&amp;(e.offsets.popper[r]=o(i[r])-n[s]),n[r]&gt;o(i[t])&amp;&amp;(e.offsets.popper[r]=o(i[t])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!N(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],r=e.offsets,o=r.popper,s=r.reference,a=-1!==["left","right"].indexOf(i),l=a?"height":"width",u=a?"Top":"Left",c=u.toLowerCase(),t=a?"left":"top",r=a?"bottom":"right",i=S(n)[l];s[r]-i&lt;o[c]&amp;&amp;(e.offsets.popper[c]-=o[c]-(s[r]-i)),s[c]+i&gt;o[r]&amp;&amp;(e.offsets.popper[c]+=s[c]+i-o[r]),e.offsets.popper=v(e.offsets.popper);a=s[c]+s[l]/2-i/2,r=d(e.instance.popper),s=parseFloat(r["margin"+u],10),u=parseFloat(r["border"+u+"Width"],10),u=a-e.offsets.popper[c]-s-u,u=M(D(o[l]-i,u),0);return e.arrowElement=n,e.offsets.arrow=(z(n={},c,H(u)),z(n,t,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(l,u){if(e(l.instance.modifiers,"inner"))return l;if(l.flipped&amp;&amp;l.placement===l.originalPlacement)return l;var c=w(l.instance.popper,l.instance.reference,u.padding,u.boundariesElement,l.positionFixed),d=l.placement.split("-")[0],f=T(d),h=l.placement.split("-")[1]||"",p=[];switch(u.behavior){case K:p=[d,f];break;case J:p=I(d);break;case Z:p=I(d,!0);break;default:p=u.behavior}return p.forEach(function(e,t){if(d!==e||p.length===t+1)return l;d=l.placement.split("-")[0],f=T(d);var n=l.offsets.popper,i=l.offsets.reference,r=L,o="left"===d&amp;&amp;r(n.right)&gt;r(i.left)||"right"===d&amp;&amp;r(n.left)&lt;r(i.right)||"top"===d&amp;&amp;r(n.bottom)&gt;r(i.top)||"bottom"===d&amp;&amp;r(n.top)&lt;r(i.bottom),s=r(n.left)&lt;r(c.left),a=r(n.right)&gt;r(c.right),e=r(n.top)&lt;r(c.top),i=r(n.bottom)&gt;r(c.bottom),n="left"===d&amp;&amp;s||"right"===d&amp;&amp;a||"top"===d&amp;&amp;e||"bottom"===d&amp;&amp;i,r=-1!==["top","bottom"].indexOf(d),i=!!u.flipVariations&amp;&amp;(r&amp;&amp;"start"===h&amp;&amp;s||r&amp;&amp;"end"===h&amp;&amp;a||!r&amp;&amp;"start"===h&amp;&amp;e||!r&amp;&amp;"end"===h&amp;&amp;i);(o||n||i)&amp;&amp;(l.flipped=!0,(o||n)&amp;&amp;(d=p[t+1]),i&amp;&amp;(h="end"===(i=h)?"start":"start"===i?"end":i),l.placement=d+(h?"-"+h:""),l.offsets.popper=X({},l.offsets.popper,C(l.instance.popper,l.offsets.reference,l.placement)),l=E(l.instance.modifiers,l,"flip"))}),l},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),i=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[n]-(i?r[s?"width":"height"]:0),e.placement=T(t),e.offsets.popper=v(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!N(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=x(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom&lt;n.top||t.left&gt;n.right||t.top&gt;n.bottom||t.right&lt;n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,r=e.offsets.popper,o=x(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&amp;&amp;console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0===o?t.gpuAcceleration:o,a=_(h(e.instance.popper)),l={position:r.position},t={left:L(r.left),top:H(r.top),bottom:H(r.bottom),right:L(r.right)},o="bottom"===n?"top":"bottom",r="right"===i?"left":"right",n=P("transform"),i="bottom"==o?-a.height+t.bottom:t.top,t="right"==r?-a.width+t.right:t.left;s&amp;&amp;n?(l[n]="translate3d("+t+"px, "+i+"px, 0)",l[o]=0,l[r]=0,l.willChange="transform"):(s="bottom"==o?-1:1,n="right"==r?-1:1,l[o]=i*s,l[r]=t*n,l.willChange=o+", "+r);r={"x-placement":e.placement};return e.attributes=X({},r,e.attributes),e.styles=X({},l,e.styles),e.arrowStyles=X({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return k(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1===n[e]?t.removeAttribute(e):t.setAttribute(e,n[e])}),e.arrowElement&amp;&amp;Object.keys(e.arrowStyles).length&amp;&amp;k(e.arrowElement,e.arrowStyles),e;var t,n},onLoad:function(e,t,n,i,r){r=a(r,t,e,n.positionFixed),e=s(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",e),k(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},$}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&amp;&amp;define.amd?define(["jquery"],t):(e=e||self).Util=t(e.jQuery)}(this,function(r){"use strict";r=r&amp;&amp;Object.prototype.hasOwnProperty.call(r,"default")?r.default:r;var t="transitionend";function e(e){var t=this,n=!1;return r(this).one(a.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||a.triggerTransitionEnd(t)},e),this}var a={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&amp;&amp;"#"!==t||(t=(e=e.getAttribute("href"))&amp;&amp;"#"!==e?e.trim():"");try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=r(e).css("transition-duration"),n=r(e).css("transition-delay"),i=parseFloat(t),e=parseFloat(n);return i||e?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){r(e).trigger(t)},supportsTransitionEnd:function(){return Boolean(t)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=t[i],s=o&amp;&amp;a.isElement(o)?"element":null==(s=o)?""+s:{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}var s},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?a.findShadowRoot(e.parentNode):null;e=e.getRootNode();return e instanceof ShadowRoot?e:null},jQueryDetection:function(){if(void 0===r)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=r.fn.jquery.split(" ")[0].split(".");if(e[0]&lt;2&amp;&amp;e[1]&lt;9||1===e[0]&amp;&amp;9===e[1]&amp;&amp;e[2]&lt;1||4&lt;=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};return a.jQueryDetection(),r.fn.emulateTransitionEnd=e,r.event.special[a.TRANSITION_END]={bindType:t,delegateType:t,handle:function(e){if(r(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},a}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&amp;&amp;define.amd?define(["jquery","./util.js"],t):(e=e||self).Alert=t(e.jQuery,e.Util)}(this,function(r,o){"use strict";function s(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}r=r&amp;&amp;Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,o=o&amp;&amp;Object.prototype.hasOwnProperty.call(o,"default")?o.default:o;var e="alert",a="bs.alert",t=r.fn[e],n=function(){function i(e){this._element=e}var e,t,n=i.prototype;return n.close=function(e){var t=this._element;e&amp;&amp;(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},n.dispose=function(){r.removeData(this._element,a),this._element=null},n._getRootElement=function(e){var t=o.getSelectorFromElement(e),n=!1;return t&amp;&amp;(n=document.querySelector(t)),n=n||r(e).closest(".alert")[0]},n._triggerCloseEvent=function(e){var t=r.Event("close.bs.alert");return r(e).trigger(t),t},n._removeElement=function(t){var e,n=this;r(t).removeClass("show"),r(t).hasClass("fade")?(e=o.getTransitionDurationFromElement(t),r(t).one(o.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)):this._destroyElement(t)},n._destroyElement=function(e){r(e).detach().trigger("closed.bs.alert").remove()},i._jQueryInterface=function(n){return this.each(function(){var e=r(this),t=e.data(a);t||(t=new i(this),e.data(a,t)),"close"===n&amp;&amp;t[n](this)})},i._handleDismiss=function(t){return function(e){e&amp;&amp;e.preventDefault(),t.close(this)}},e=i,t=[{key:"VERSION",get:function(){return"4.5.0"}}],(n=null)&amp;&amp;s(e.prototype,n),t&amp;&amp;s(e,t),i}();return r(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',n._handleDismiss(new n)),r.fn[e]=n._jQueryInterface,r.fn[e].Constructor=n,r.fn[e].noConflict=function(){return r.fn[e]=t,n._jQueryInterface},n}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&amp;&amp;define.amd?define(["jquery"],t):(e=e||self).Button=t(e.jQuery)}(this,function(r){"use strict";function o(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}r=r&amp;&amp;Object.prototype.hasOwnProperty.call(r,"default")?r.default:r;var e="button",s="bs.button",t=r.fn[e],l="active",n='[data-toggle^="button"]',u='input:not([type="hidden"])',a=function(){function n(e){this._element=e}var e,t,i=n.prototype;return i.toggle=function(){var e,t=!0,n=!0,i=r(this._element).closest('[data-toggle="buttons"]')[0];!i||(e=this._element.querySelector(u))&amp;&amp;("radio"===e.type&amp;&amp;(e.checked&amp;&amp;this._element.classList.contains(l)?t=!1:(i=i.querySelector(".active"))&amp;&amp;r(i).removeClass(l)),t&amp;&amp;("checkbox"!==e.type&amp;&amp;"radio"!==e.type||(e.checked=!this._element.classList.contains(l)),r(e).trigger("change")),e.focus(),n=!1),this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&amp;&amp;this._element.setAttribute("aria-pressed",!this._element.classList.contains(l)),t&amp;&amp;r(this._element).toggleClass(l))},i.dispose=function(){r.removeData(this._element,s),this._element=null},n._jQueryInterface=function(t){return this.each(function(){var e=r(this).data(s);e||(e=new n(this),r(this).data(s,e)),"toggle"===t&amp;&amp;e[t]()})},e=n,t=[{key:"VERSION",get:function(){return"4.5.0"}}],(i=null)&amp;&amp;o(e.prototype,i),t&amp;&amp;o(e,t),n}();return r(document).on("click.bs.button.data-api",n,function(e){var t,n=e.target,i=n;r(n).hasClass("btn")||(n=r(n).closest(".btn")[0]),!n||n.hasAttribute("disabled")||n.classList.contains("disabled")||(t=n.querySelector(u))&amp;&amp;(t.hasAttribute("disabled")||t.classList.contains("disabled"))?e.preventDefault():("LABEL"===i.tagName&amp;&amp;t&amp;&amp;"checkbox"===t.type&amp;&amp;e.preventDefault(),a._jQueryInterface.call(r(n),"toggle"))}).on("focus.bs.button.data-api blur.bs.button.data-api",n,function(e){var t=r(e.target).closest(".btn")[0];r(t).toggleClass("focus",/^focus(in)?$/.test(e.type))}),r(window).on("load.bs.button.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),t=0,n=e.length;t&lt;n;t++){var i=e[t],r=i.querySelector(u);r.checked||r.hasAttribute("checked")?i.classList.add(l):i.classList.remove(l)}for(var o=0,s=(e=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;o&lt;s;o++){var a=e[o];"true"===a.getAttribute("aria-pressed")?a.classList.add(l):a.classList.remove(l)}}),r.fn[e]=a._jQueryInterface,r.fn[e].Constructor=a,r.fn[e].noConflict=function(){return r.fn[e]=t,a._jQueryInterface},a}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&amp;&amp;define.amd?define(["jquery","./util.js"],t):(e=e||self).Carousel=t(e.jQuery,e.Util)}(this,function(c,d){"use strict";function i(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(t),e&amp;&amp;(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function o(i){for(var e=1;e&lt;arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t(Object(r),!0).forEach(function(e){var t,n;t=i,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})}return i}c=c&amp;&amp;Object.prototype.hasOwnProperty.call(c,"default")?c.default:c,d=d&amp;&amp;Object.prototype.hasOwnProperty.call(d,"default")?d.default:d;var s="carousel",a="bs.carousel",l="."+a,e=c.fn[s],u={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},f={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},h="next",p="prev",m="slid"+l,g="active",v=".active.carousel-item",_={TOUCH:"touch",PEN:"pen"},r=function(){function r(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||0&lt;navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e,t,n=r.prototype;return n.next=function(){this._isSliding||this._slide(h)},n.nextWhenVisible=function(){!document.hidden&amp;&amp;c(this._element).is(":visible")&amp;&amp;"hidden"!==c(this._element).css("visibility")&amp;&amp;this.next()},n.prev=function(){this._isSliding||this._slide(p)},n.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&amp;&amp;(d.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(e){e||(this._isPaused=!1),this._interval&amp;&amp;(clearInterval(this._interval),this._interval=null),this._config.interval&amp;&amp;!this._isPaused&amp;&amp;(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(e){var t=this;this._activeElement=this._element.querySelector(v);var n=this._getItemIndex(this._activeElement);if(!(e&gt;this._items.length-1||e&lt;0))if(this._isSliding)c(this._element).one(m,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();n=n&lt;e?h:p;this._slide(n,this._items[e])}},n.dispose=function(){c(this._element).off(l),c.removeData(this._element,a),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(e){return e=o(o({},u),e),d.typeCheckConfig(s,e,f),e},n._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);e&lt;=40||(e=e/this.touchDeltaX,(this.touchDeltaX=0)&lt;e&amp;&amp;this.prev(),e&lt;0&amp;&amp;this.next())},n._addEventListeners=function(){var t=this;this._config.keyboard&amp;&amp;c(this._element).on("keydown.bs.carousel",function(e){return t._keydown(e)}),"hover"===this._config.pause&amp;&amp;c(this._element).on("mouseenter.bs.carousel",function(e){return t.pause(e)}).on("mouseleave.bs.carousel",function(e){return t.cycle(e)}),this._config.touch&amp;&amp;this._addTouchEventListeners()},n._addTouchEventListeners=function(){var e,t,n=this;this._touchSupported&amp;&amp;(e=function(e){n._pointerEvent&amp;&amp;_[e.originalEvent.pointerType.toUpperCase()]?n.touchStartX=e.originalEvent.clientX:n._pointerEvent||(n.touchStartX=e.originalEvent.touches[0].clientX)},t=function(e){n._pointerEvent&amp;&amp;_[e.originalEvent.pointerType.toUpperCase()]&amp;&amp;(n.touchDeltaX=e.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&amp;&amp;(n.pause(),n.touchTimeout&amp;&amp;clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(e){return n.cycle(e)},500+n._config.interval))},c(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(e){return e.preventDefault()}),this._pointerEvent?(c(this._element).on("pointerdown.bs.carousel",e),c(this._element).on("pointerup.bs.carousel",t),this._element.classList.add("pointer-event")):(c(this._element).on("touchstart.bs.carousel",e),c(this._element).on("touchmove.bs.carousel",function(e){(e=e).originalEvent.touches&amp;&amp;1&lt;e.originalEvent.touches.length?n.touchDeltaX=0:n.touchDeltaX=e.originalEvent.touches[0].clientX-n.touchStartX}),c(this._element).on("touchend.bs.carousel",t)))},n._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},n._getItemIndex=function(e){return this._items=e&amp;&amp;e.parentNode?[].slice.call(e.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(e)},n._getItemByDirection=function(e,t){var n=e===h,i=e===p,r=this._getItemIndex(t),o=this._items.length-1;if((i&amp;&amp;0===r||n&amp;&amp;r===o)&amp;&amp;!this._config.wrap)return t;e=(r+(e===p?-1:1))%this._items.length;return-1==e?this._items[this._items.length-1]:this._items[e]},n._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(v)),n=c.Event("slide.bs.carousel",{relatedTarget:e,direction:t,from:i,to:n});return c(this._element).trigger(n),n},n._setActiveIndicatorElement=function(e){var t;this._indicatorsElement&amp;&amp;(t=[].slice.call(this._indicatorsElement.querySelectorAll(".active")),c(t).removeClass(g),(e=this._indicatorsElement.children[this._getItemIndex(e)])&amp;&amp;c(e).addClass(g))},n._slide=function(e,t){var n,i,r,o=this,s=this._element.querySelector(v),a=this._getItemIndex(s),l=t||s&amp;&amp;this._getItemByDirection(e,s),u=this._getItemIndex(l),t=Boolean(this._interval),e=e===h?(n="carousel-item-left",i="carousel-item-next","left"):(n="carousel-item-right",i="carousel-item-prev","right");l&amp;&amp;c(l).hasClass(g)?this._isSliding=!1:this._triggerSlideEvent(l,e).isDefaultPrevented()||s&amp;&amp;l&amp;&amp;(this._isSliding=!0,t&amp;&amp;this.pause(),this._setActiveIndicatorElement(l),r=c.Event(m,{relatedTarget:l,direction:e,from:a,to:u}),c(this._element).hasClass("slide")?(c(l).addClass(i),d.reflow(l),c(s).addClass(n),c(l).addClass(n),(u=parseInt(l.getAttribute("data-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=u):this._config.interval=this._config.defaultInterval||this._config.interval,u=d.getTransitionDurationFromElement(s),c(s).one(d.TRANSITION_END,function(){c(l).removeClass(n+" "+i).addClass(g),c(s).removeClass(g+" "+i+" "+n),o._isSliding=!1,setTimeout(function(){return c(o._element).trigger(r)},0)}).emulateTransitionEnd(u)):(c(s).removeClass(g),c(l).addClass(g),this._isSliding=!1,c(this._element).trigger(r)),t&amp;&amp;this.cycle())},r._jQueryInterface=function(i){return this.each(function(){var e=c(this).data(a),t=o(o({},u),c(this).data());"object"==typeof i&amp;&amp;(t=o(o({},t),i));var n="string"==typeof i?i:t.slide;if(e||(e=new r(this,t),c(this).data(a,e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&amp;&amp;t.ride&amp;&amp;(e.pause(),e.cycle())})},r._dataApiClickHandler=function(e){var t,n,i=d.getSelectorFromElement(this);!i||(t=c(i)[0])&amp;&amp;c(t).hasClass("carousel")&amp;&amp;(n=o(o({},c(t).data()),c(this).data()),(i=this.getAttribute("data-slide-to"))&amp;&amp;(n.interval=!1),r._jQueryInterface.call(c(t),n),i&amp;&amp;c(t).data(a).to(i),e.preventDefault())},e=r,t=[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return u}}],(n=null)&amp;&amp;i(e.prototype,n),t&amp;&amp;i(e,t),r}();return c(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",r._dataApiClickHandler),c(window).on("load.bs.carousel.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),t=0,n=e.length;t&lt;n;t++){var i=c(e[t]);r._jQueryInterface.call(i,i.data())}}),c.fn[s]=r._jQueryInterface,c.fn[s].Constructor=r,c.fn[s].noConflict=function(){return c.fn[s]=e,r._jQueryInterface},r}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&amp;&amp;define.amd?define(["jquery","./util.js"],t):(e=e||self).Collapse=t(e.jQuery,e.Util)}(this,function(s,l){"use strict";function i(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(t),e&amp;&amp;(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function r(i){for(var e=1;e&lt;arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t(Object(r),!0).forEach(function(e){var t,n;t=i,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})}return i}s=s&amp;&amp;Object.prototype.hasOwnProperty.call(s,"default")?s.default:s,l=l&amp;&amp;Object.prototype.hasOwnProperty.call(l,"default")?l.default:l;var a="collapse",u="bs.collapse",e=s.fn[a],c={toggle:!0,parent:""},d={toggle:"boolean",parent:"(string|element)"},f="show",h="collapse",p="collapsing",m="collapsed",g='[data-toggle="collapse"]',o=function(){function o(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(g)),i=0,r=n.length;i&lt;r;i++){var o=n[i],s=l.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter(function(e){return e===t});null!==s&amp;&amp;0&lt;a.length&amp;&amp;(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&amp;&amp;this.toggle()}var e,t,n=o.prototype;return n.toggle=function(){s(this._element).hasClass(f)?this.hide():this.show()},n.show=function(){var e,t,n,i,r=this;this._isTransitioning||s(this._element).hasClass(f)||(this._parent&amp;&amp;0===(i=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(h)})).length&amp;&amp;(i=null),i&amp;&amp;(n=s(i).not(this._selector).data(u))&amp;&amp;n._isTransitioning||(e=s.Event("show.bs.collapse"),s(this._element).trigger(e),e.isDefaultPrevented()||(i&amp;&amp;(o._jQueryInterface.call(s(i).not(this._selector),"hide"),n||s(i).data(u,null)),t=this._getDimension(),s(this._element).removeClass(h).addClass(p),this._element.style[t]=0,this._triggerArray.length&amp;&amp;s(this._triggerArray).removeClass(m).attr("aria-expanded",!0),this.setTransitioning(!0),n="scroll"+(t[0].toUpperCase()+t.slice(1)),i=l.getTransitionDurationFromElement(this._element),s(this._element).one(l.TRANSITION_END,function(){s(r._element).removeClass(p).addClass(h+" "+f),r._element.style[t]="",r.setTransitioning(!1),s(r._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(i),this._element.style[t]=this._element[n]+"px")))},n.hide=function(){var e=this;if(!this._isTransitioning&amp;&amp;s(this._element).hasClass(f)){var t=s.Event("hide.bs.collapse");if(s(this._element).trigger(t),!t.isDefaultPrevented()){t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",l.reflow(this._element),s(this._element).addClass(p).removeClass(h+" "+f);var n=this._triggerArray.length;if(0&lt;n)for(var i=0;i&lt;n;i++){var r=this._triggerArray[i],o=l.getSelectorFromElement(r);null!==o&amp;&amp;(s([].slice.call(document.querySelectorAll(o))).hasClass(f)||s(r).addClass(m).attr("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[t]="";t=l.getTransitionDurationFromElement(this._element);s(this._element).one(l.TRANSITION_END,function(){e.setTransitioning(!1),s(e._element).removeClass(p).addClass(h).trigger("hidden.bs.collapse")}).emulateTransitionEnd(t)}}},n.setTransitioning=function(e){this._isTransitioning=e},n.dispose=function(){s.removeData(this._element,u),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(e){return(e=r(r({},c),e)).toggle=Boolean(e.toggle),l.typeCheckConfig(a,e,d),e},n._getDimension=function(){return s(this._element).hasClass("width")?"width":"height"},n._getParent=function(){var e,n=this;l.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&amp;&amp;(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var t='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',t=[].slice.call(e.querySelectorAll(t));return s(t).each(function(e,t){n._addAriaAndCollapsedClass(o._getTargetFromElement(t),[t])}),e},n._addAriaAndCollapsedClass=function(e,t){e=s(e).hasClass(f);t.length&amp;&amp;s(t).toggleClass(m,!e).attr("aria-expanded",e)},o._getTargetFromElement=function(e){e=l.getSelectorFromElement(e);return e?document.querySelector(e):null},o._jQueryInterface=function(i){return this.each(function(){var e=s(this),t=e.data(u),n=r(r(r({},c),e.data()),"object"==typeof i&amp;&amp;i?i:{});if(!t&amp;&amp;n.toggle&amp;&amp;"string"==typeof i&amp;&amp;/show|hide/.test(i)&amp;&amp;(n.toggle=!1),t||(t=new o(this,n),e.data(u,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},e=o,t=[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return c}}],(n=null)&amp;&amp;i(e.prototype,n),t&amp;&amp;i(e,t),o}();return s(document).on("click.bs.collapse.data-api",g,function(e){"A"===e.currentTarget.tagName&amp;&amp;e.preventDefault();var n=s(this),e=l.getSelectorFromElement(this),e=[].slice.call(document.querySelectorAll(e));s(e).each(function(){var e=s(this),t=e.data(u)?"toggle":n.data();o._jQueryInterface.call(e,t)})}),s.fn[a]=o._jQueryInterface,s.fn[a].Constructor=o,s.fn[a].noConflict=function(){return s.fn[a]=e,o._jQueryInterface},o}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery"),require("popper.js"),require("./util.js")):"function"==typeof define&amp;&amp;define.amd?define(["jquery","popper.js","./util.js"],t):(e=e||self).Dropdown=t(e.jQuery,e.Popper,e.Util)}(this,function(c,r,o){"use strict";function i(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(t),e&amp;&amp;(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function s(i){for(var e=1;e&lt;arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t(Object(r),!0).forEach(function(e){var t,n;t=i,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})}return i}c=c&amp;&amp;Object.prototype.hasOwnProperty.call(c,"default")?c.default:c,r=r&amp;&amp;Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,o=o&amp;&amp;Object.prototype.hasOwnProperty.call(o,"default")?o.default:o;var a="dropdown",d="bs.dropdown",l="."+d,e=".data-api",n=c.fn[a],f=new RegExp("38|40|27"),h="hide"+l,p="hidden"+l,u="click"+l+e,m="keydown"+l+e,g="disabled",v="show",_="dropdown-menu-right",b='[data-toggle="dropdown"]',y=".dropdown-menu",w={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},S={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},T=function(){function u(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e,t,n=u.prototype;return n.toggle=function(){var e;this._element.disabled||c(this._element).hasClass(g)||(e=c(this._menu).hasClass(v),u._clearMenus(),e||this.show(!0))},n.show=function(e){if(void 0===e&amp;&amp;(e=!1),!(this._element.disabled||c(this._element).hasClass(g)||c(this._menu).hasClass(v))){var t={relatedTarget:this._element},n=c.Event("show.bs.dropdown",t),i=u._getParentFromElement(this._element);if(c(i).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&amp;&amp;e){if(void 0===r)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");e=this._element;"parent"===this._config.reference?e=i:o.isElement(this._config.reference)&amp;&amp;(e=this._config.reference,void 0!==this._config.reference.jquery&amp;&amp;(e=this._config.reference[0])),"scrollParent"!==this._config.boundary&amp;&amp;c(i).addClass("position-static"),this._popper=new r(e,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&amp;&amp;0===c(i).closest(".navbar-nav").length&amp;&amp;c(document.body).children().on("mouseover",null,c.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),c(this._menu).toggleClass(v),c(i).toggleClass(v).trigger(c.Event("shown.bs.dropdown",t))}}},n.hide=function(){var e,t,n;this._element.disabled||c(this._element).hasClass(g)||!c(this._menu).hasClass(v)||(e={relatedTarget:this._element},t=c.Event(h,e),n=u._getParentFromElement(this._element),c(n).trigger(t),t.isDefaultPrevented()||(this._popper&amp;&amp;this._popper.destroy(),c(this._menu).toggleClass(v),c(n).toggleClass(v).trigger(c.Event(p,e))))},n.dispose=function(){c.removeData(this._element,d),c(this._element).off(l),this._element=null,(this._menu=null)!==this._popper&amp;&amp;(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&amp;&amp;this._popper.scheduleUpdate()},n._addEventListeners=function(){var t=this;c(this._element).on("click.bs.dropdown",function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},n._getConfig=function(e){return e=s(s(s({},this.constructor.Default),c(this._element).data()),e),o.typeCheckConfig(a,e,this.constructor.DefaultType),e},n._getMenuElement=function(){var e;return this._menu||(e=u._getParentFromElement(this._element))&amp;&amp;(this._menu=e.querySelector(y)),this._menu},n._getPlacement=function(){var e=c(this._element.parentNode),t="bottom-start";return e.hasClass("dropup")?t=c(this._menu).hasClass(_)?"top-end":"top-start":e.hasClass("dropright")?t="right-start":e.hasClass("dropleft")?t="left-start":c(this._menu).hasClass(_)&amp;&amp;(t="bottom-end"),t},n._detectNavbar=function(){return 0&lt;c(this._element).closest(".navbar").length},n._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s(s({},e.offsets),t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},n._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&amp;&amp;(e.modifiers.applyStyle={enabled:!1}),s(s({},e),this._config.popperConfig)},u._jQueryInterface=function(t){return this.each(function(){var e=c(this).data(d);if(e||(e=new u(this,"object"==typeof t?t:null),c(this).data(d,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},u._clearMenus=function(e){if(!e||3!==e.which&amp;&amp;("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(b)),n=0,i=t.length;n&lt;i;n++){var r,o,s=u._getParentFromElement(t[n]),a=c(t[n]).data(d),l={relatedTarget:t[n]};e&amp;&amp;"click"===e.type&amp;&amp;(l.clickEvent=e),a&amp;&amp;(r=a._menu,c(s).hasClass(v)&amp;&amp;(e&amp;&amp;("click"===e.type&amp;&amp;/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&amp;&amp;9===e.which)&amp;&amp;c.contains(s,e.target)||(o=c.Event(h,l),c(s).trigger(o),o.isDefaultPrevented()||("ontouchstart"in document.documentElement&amp;&amp;c(document.body).children().off("mouseover",null,c.noop),t[n].setAttribute("aria-expanded","false"),a._popper&amp;&amp;a._popper.destroy(),c(r).removeClass(v),c(s).removeClass(v).trigger(c.Event(p,l))))))}},u._getParentFromElement=function(e){var t,n=o.getSelectorFromElement(e);return n&amp;&amp;(t=document.querySelector(n)),t||e.parentNode},u._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&amp;&amp;(40!==e.which&amp;&amp;38!==e.which||c(e.target).closest(y).length)):f.test(e.which))&amp;&amp;!this.disabled&amp;&amp;!c(this).hasClass(g)){var t=u._getParentFromElement(this),n=c(t).hasClass(v);if(n||27!==e.which){if(e.preventDefault(),e.stopPropagation(),!n||n&amp;&amp;(27===e.which||32===e.which))return 27===e.which&amp;&amp;c(t.querySelector(b)).trigger("focus"),void c(this).trigger("click");n=[].slice.call(t.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(e){return c(e).is(":visible")});0!==n.length&amp;&amp;(t=n.indexOf(e.target),38===e.which&amp;&amp;0&lt;t&amp;&amp;t--,40===e.which&amp;&amp;t&lt;n.length-1&amp;&amp;t++,t&lt;0&amp;&amp;(t=0),n[t].focus())}}},e=u,t=[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return w}},{key:"DefaultType",get:function(){return S}}],(n=null)&amp;&amp;i(e.prototype,n),t&amp;&amp;i(e,t),u}();return c(document).on(m,b,T._dataApiKeydownHandler).on(m,y,T._dataApiKeydownHandler).on(u+" keyup.bs.dropdown.data-api",T._clearMenus).on(u,b,function(e){e.preventDefault(),e.stopPropagation(),T._jQueryInterface.call(c(this),"toggle")}).on(u,".dropdown form",function(e){e.stopPropagation()}),c.fn[a]=T._jQueryInterface,c.fn[a].Constructor=T,c.fn[a].noConflict=function(){return c.fn[a]=n,T._jQueryInterface},T}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&amp;&amp;define.amd?define(["jquery","./util.js"],t):(e=e||self).Modal=t(e.jQuery,e.Util)}(this,function(o,s){"use strict";function i(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(t),e&amp;&amp;(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function a(i){for(var e=1;e&lt;arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t(Object(r),!0).forEach(function(e){var t,n;t=i,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})}return i}o=o&amp;&amp;Object.prototype.hasOwnProperty.call(o,"default")?o.default:o,s=s&amp;&amp;Object.prototype.hasOwnProperty.call(s,"default")?s.default:s;var l="modal",u="bs.modal",c="."+u,e=o.fn[l],d={backdrop:!0,keyboard:!0,focus:!0,show:!0},f={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},h="hidden"+c,p="show"+c,m="focusin"+c,g="resize"+c,v="click.dismiss"+c,_="keydown.dismiss"+c,b="mousedown.dismiss"+c,y="modal-open",w="fade",S="show",T="modal-static",C=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",x=".sticky-top",E=function(){function r(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e,t,n=r.prototype;return n.toggle=function(e){return this._isShown?this.hide():this.show(e)},n.show=function(e){var t,n=this;this._isShown||this._isTransitioning||(o(this._element).hasClass(w)&amp;&amp;(this._isTransitioning=!0),t=o.Event(p,{relatedTarget:e}),o(this._element).trigger(t),this._isShown||t.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),o(this._element).on(v,'[data-dismiss="modal"]',function(e){return n.hide(e)}),o(this._dialog).on(b,function(){o(n._element).one("mouseup.dismiss.bs.modal",function(e){o(e.target).is(n._element)&amp;&amp;(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)})))},n.hide=function(e){var t=this;e&amp;&amp;e.preventDefault(),this._isShown&amp;&amp;!this._isTransitioning&amp;&amp;(e=o.Event("hide.bs.modal"),o(this._element).trigger(e),this._isShown&amp;&amp;!e.isDefaultPrevented()&amp;&amp;(this._isShown=!1,(e=o(this._element).hasClass(w))&amp;&amp;(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),o(document).off(m),o(this._element).removeClass(S),o(this._element).off(v),o(this._dialog).off(b),e?(e=s.getTransitionDurationFromElement(this._element),o(this._element).one(s.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(e)):this._hideModal()))},n.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return o(e).off(c)}),o(document).off(m),o.removeData(this._element,u),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(e){return e=a(a({},d),e),s.typeCheckConfig(l,e,f),e},n._triggerBackdropTransition=function(){var e,t=this;"static"===this._config.backdrop?(e=o.Event("hidePrevented.bs.modal"),o(this._element).trigger(e),e.defaultPrevented||(this._element.classList.add(T),e=s.getTransitionDurationFromElement(this._element),o(this._element).one(s.TRANSITION_END,function(){t._element.classList.remove(T)}).emulateTransitionEnd(e),this._element.focus())):this.hide()},n._showElement=function(e){var t=this,n=o(this._element).hasClass(w),i=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&amp;&amp;this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),o(this._dialog).hasClass("modal-dialog-scrollable")&amp;&amp;i?i.scrollTop=0:this._element.scrollTop=0,n&amp;&amp;s.reflow(this._element),o(this._element).addClass(S),this._config.focus&amp;&amp;this._enforceFocus();var r=o.Event("shown.bs.modal",{relatedTarget:e}),e=function(){t._config.focus&amp;&amp;t._element.focus(),t._isTransitioning=!1,o(t._element).trigger(r)};n?(n=s.getTransitionDurationFromElement(this._dialog),o(this._dialog).one(s.TRANSITION_END,e).emulateTransitionEnd(n)):e()},n._enforceFocus=function(){var t=this;o(document).off(m).on(m,function(e){document!==e.target&amp;&amp;t._element!==e.target&amp;&amp;0===o(t._element).has(e.target).length&amp;&amp;t._element.focus()})},n._setEscapeEvent=function(){var t=this;this._isShown?o(this._element).on(_,function(e){t._config.keyboard&amp;&amp;27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()}):this._isShown||o(this._element).off(_)},n._setResizeEvent=function(){var t=this;this._isShown?o(window).on(g,function(e){return t.handleUpdate(e)}):o(window).off(g)},n._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){o(document.body).removeClass(y),e._resetAdjustments(),e._resetScrollbar(),o(e._element).trigger(h)})},n._removeBackdrop=function(){this._backdrop&amp;&amp;(o(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(e){var t,n=this,i=o(this._element).hasClass(w)?w:"";this._isShown&amp;&amp;this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&amp;&amp;this._backdrop.classList.add(i),o(this._backdrop).appendTo(document.body),o(this._element).on(v,function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&amp;&amp;n._triggerBackdropTransition()}),i&amp;&amp;s.reflow(this._backdrop),o(this._backdrop).addClass(S),e&amp;&amp;(i?(t=s.getTransitionDurationFromElement(this._backdrop),o(this._backdrop).one(s.TRANSITION_END,e).emulateTransitionEnd(t)):e())):!this._isShown&amp;&amp;this._backdrop?(o(this._backdrop).removeClass(S),i=function(){n._removeBackdrop(),e&amp;&amp;e()},o(this._element).hasClass(w)?(t=s.getTransitionDurationFromElement(this._backdrop),o(this._backdrop).one(s.TRANSITION_END,i).emulateTransitionEnd(t)):i()):e&amp;&amp;e()},n._adjustDialog=function(){var e=this._element.scrollHeight&gt;document.documentElement.clientHeight;!this._isBodyOverflowing&amp;&amp;e&amp;&amp;(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&amp;&amp;!e&amp;&amp;(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)&lt;window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var e,t,r=this;this._isBodyOverflowing&amp;&amp;(e=[].slice.call(document.querySelectorAll(C)),t=[].slice.call(document.querySelectorAll(x)),o(e).each(function(e,t){var n=t.style.paddingRight,i=o(t).css("padding-right");o(t).data("padding-right",n).css("padding-right",parseFloat(i)+r._scrollbarWidth+"px")}),o(t).each(function(e,t){var n=t.style.marginRight,i=o(t).css("margin-right");o(t).data("margin-right",n).css("margin-right",parseFloat(i)-r._scrollbarWidth+"px")}),e=document.body.style.paddingRight,t=o(document.body).css("padding-right"),o(document.body).data("padding-right",e).css("padding-right",parseFloat(t)+this._scrollbarWidth+"px")),o(document.body).addClass(y)},n._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(C));o(e).each(function(e,t){var n=o(t).data("padding-right");o(t).removeData("padding-right"),t.style.paddingRight=n||""});e=[].slice.call(document.querySelectorAll(x));o(e).each(function(e,t){var n=o(t).data("margin-right");void 0!==n&amp;&amp;o(t).css("margin-right",n).removeData("margin-right")});e=o(document.body).data("padding-right");o(document.body).removeData("padding-right"),document.body.style.paddingRight=e||""},n._getScrollbarWidth=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},r._jQueryInterface=function(n,i){return this.each(function(){var e=o(this).data(u),t=a(a(a({},d),o(this).data()),"object"==typeof n&amp;&amp;n?n:{});if(e||(e=new r(this,t),o(this).data(u,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](i)}else t.show&amp;&amp;e.show(i)})},e=r,t=[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return d}}],(n=null)&amp;&amp;i(e.prototype,n),t&amp;&amp;i(e,t),r}();return o(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t,n=this,i=s.getSelectorFromElement(this);i&amp;&amp;(t=document.querySelector(i));i=o(t).data(u)?"toggle":a(a({},o(t).data()),o(this).data());"A"!==this.tagName&amp;&amp;"AREA"!==this.tagName||e.preventDefault();var r=o(t).one(p,function(e){e.isDefaultPrevented()||r.one(h,function(){o(n).is(":visible")&amp;&amp;n.focus()})});E._jQueryInterface.call(o(t),i,this)}),o.fn[l]=E._jQueryInterface,o.fn[l].Constructor=E,o.fn[l].noConflict=function(){return o.fn[l]=e,E._jQueryInterface},E}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery"),require("popper.js"),require("./util.js")):"function"==typeof define&amp;&amp;define.amd?define(["jquery","popper.js","./util.js"],t):(e=e||self).Tooltip=t(e.jQuery,e.Popper,e.Util)}(this,function(o,r,s){"use strict";function a(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(t),e&amp;&amp;(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function l(i){for(var e=1;e&lt;arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t(Object(r),!0).forEach(function(e){var t,n;t=i,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})}return i}o=o&amp;&amp;Object.prototype.hasOwnProperty.call(o,"default")?o.default:o,r=r&amp;&amp;Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,s=s&amp;&amp;Object.prototype.hasOwnProperty.call(s,"default")?s.default:s;var u=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],e={"*":["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","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},c=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&amp;/:?]*(?:[#/?]|$))/gi,d=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function f(e,o,t){if(0===e.length)return e;if(t&amp;&amp;"function"==typeof t)return t(e);for(var e=(new window.DOMParser).parseFromString(e,"text/html"),s=Object.keys(o),a=[].slice.call(e.body.querySelectorAll("*")),n=function(e,t){var n=a[e],i=n.nodeName.toLowerCase();if(-1===s.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var e=[].slice.call(n.attributes),r=[].concat(o["*"]||[],o[i]||[]);e.forEach(function(e){!function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===u.indexOf(n)||Boolean(e.nodeValue.match(c)||e.nodeValue.match(d));for(var i=t.filter(function(e){return e instanceof RegExp}),r=0,o=i.length;r&lt;o;r++)if(n.match(i[r]))return 1}(e,r)&amp;&amp;n.removeAttribute(e.nodeName)})},i=0,r=a.length;i&lt;r;i++)n(i);return e.body.innerHTML}var h="tooltip",p="bs.tooltip",m="."+p,n=o.fn[h],g="bs-tooltip",v=new RegExp("(^|\\s)"+g+"\\S+","g"),_=["sanitize","whiteList","sanitizeFn"],b={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},y={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},w={animation:!0,template:'&lt;div class="tooltip" role="tooltip"&gt;&lt;div class="arrow"&gt;&lt;/div&gt;&lt;div class="tooltip-inner"&gt;&lt;/div&gt;&lt;/div&gt;',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:e,popperConfig:null},S="show",T={HIDE:"hide"+m,HIDDEN:"hidden"+m,SHOW:"show"+m,SHOWN:"shown"+m,INSERTED:"inserted"+m,CLICK:"click"+m,FOCUSIN:"focusin"+m,FOCUSOUT:"focusout"+m,MOUSEENTER:"mouseenter"+m,MOUSELEAVE:"mouseleave"+m},C="fade",x="show",E="hover",P="focus",i=function(){function i(e,t){if(void 0===r)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e,t,n=i.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(e){var t,n;this._isEnabled&amp;&amp;(e?(t=this.constructor.DATA_KEY,(n=o(e.currentTarget).data(t))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),o(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):o(this.getTipElement()).hasClass(x)?this._leave(null,this):this._enter(null,this))},n.dispose=function(){clearTimeout(this._timeout),o.removeData(this.element,this.constructor.DATA_KEY),o(this.element).off(this.constructor.EVENT_KEY),o(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&amp;&amp;o(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&amp;&amp;this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var t=this;if("none"===o(this.element).css("display"))throw new Error("Please use show on visible elements");var e,n,i=o.Event(this.constructor.Event.SHOW);this.isWithContent()&amp;&amp;this._isEnabled&amp;&amp;(o(this.element).trigger(i),n=s.findShadowRoot(this.element),e=o.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element),!i.isDefaultPrevented()&amp;&amp;e&amp;&amp;(n=this.getTipElement(),i=s.getUID(this.constructor.NAME),n.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.config.animation&amp;&amp;o(n).addClass(C),e="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,i=this._getAttachment(e),this.addAttachmentClass(i),e=this._getContainer(),o(n).data(this.constructor.DATA_KEY,this),o.contains(this.element.ownerDocument.documentElement,this.tip)||o(n).appendTo(e),o(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new r(this.element,n,this._getPopperConfig(i)),o(n).addClass(x),"ontouchstart"in document.documentElement&amp;&amp;o(document.body).children().on("mouseover",null,o.noop),i=function(){t.config.animation&amp;&amp;t._fixTransition();var e=t._hoverState;t._hoverState=null,o(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&amp;&amp;t._leave(null,t)},o(this.tip).hasClass(C)?(n=s.getTransitionDurationFromElement(this.tip),o(this.tip).one(s.TRANSITION_END,i).emulateTransitionEnd(n)):i()))},n.hide=function(e){function t(){n._hoverState!==S&amp;&amp;i.parentNode&amp;&amp;i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),o(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&amp;&amp;n._popper.destroy(),e&amp;&amp;e()}var n=this,i=this.getTipElement(),r=o.Event(this.constructor.Event.HIDE);o(this.element).trigger(r),r.isDefaultPrevented()||(o(i).removeClass(x),"ontouchstart"in document.documentElement&amp;&amp;o(document.body).children().off("mouseover",null,o.noop),this._activeTrigger.click=!1,this._activeTrigger[P]=!1,this._activeTrigger[E]=!1,o(this.tip).hasClass(C)?(r=s.getTransitionDurationFromElement(i),o(i).one(s.TRANSITION_END,t).emulateTransitionEnd(r)):t(),this._hoverState="")},n.update=function(){null!==this._popper&amp;&amp;this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(e){o(this.getTipElement()).addClass(g+"-"+e)},n.getTipElement=function(){return this.tip=this.tip||o(this.config.template)[0],this.tip},n.setContent=function(){var e=this.getTipElement();this.setElementContent(o(e.querySelectorAll(".tooltip-inner")),this.getTitle()),o(e).removeClass(C+" "+x)},n.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&amp;&amp;!t.jquery?this.config.html?(this.config.sanitize&amp;&amp;(t=f(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?o(t).parent().is(e)||e.empty().append(t):e.text(o(t).text())},n.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},n._getPopperConfig=function(e){var t=this;return l(l({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&amp;&amp;t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),this.config.popperConfig)},n._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=l(l({},e.offsets),t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},n._getContainer=function(){return!1===this.config.container?document.body:s.isElement(this.config.container)?o(this.config.container):o(document).find(this.config.container)},n._getAttachment=function(e){return y[e.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(e){var t;"click"===e?o(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)}):"manual"!==e&amp;&amp;(t=e===E?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,e=e===E?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,o(n.element).on(t,n.config.selector,function(e){return n._enter(e)}).on(e,n.config.selector,function(e){return n._leave(e)}))}),this._hideModalHandler=function(){n.element&amp;&amp;n.hide()},o(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l(l({},this.config),{},{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&amp;&amp;"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||o(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o(e.currentTarget).data(n,t)),e&amp;&amp;(t._activeTrigger["focusin"===e.type?P:E]=!0),o(t.getTipElement()).hasClass(x)||t._hoverState===S?t._hoverState=S:(clearTimeout(t._timeout),t._hoverState=S,t.config.delay&amp;&amp;t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===S&amp;&amp;t.show()},t.config.delay.show):t.show())},n._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||o(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o(e.currentTarget).data(n,t)),e&amp;&amp;(t._activeTrigger["focusout"===e.type?P:E]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&amp;&amp;t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&amp;&amp;t.hide()},t.config.delay.hide):t.hide())},n._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},n._getConfig=function(e){var t=o(this.element).data();return Object.keys(t).forEach(function(e){-1!==_.indexOf(e)&amp;&amp;delete t[e]}),"number"==typeof(e=l(l(l({},this.constructor.Default),t),"object"==typeof e&amp;&amp;e?e:{})).delay&amp;&amp;(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&amp;&amp;(e.title=e.title.toString()),"number"==typeof e.content&amp;&amp;(e.content=e.content.toString()),s.typeCheckConfig(h,e,this.constructor.DefaultType),e.sanitize&amp;&amp;(e.template=f(e.template,e.whiteList,e.sanitizeFn)),e},n._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&amp;&amp;(e[t]=this.config[t]);return e},n._cleanTipClass=function(){var e=o(this.getTipElement()),t=e.attr("class").match(v);null!==t&amp;&amp;t.length&amp;&amp;e.removeClass(t.join(""))},n._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},n._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&amp;&amp;(o(e).removeClass(C),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},i._jQueryInterface=function(n){return this.each(function(){var e=o(this).data(p),t="object"==typeof n&amp;&amp;n;if((e||!/dispose|hide/.test(n))&amp;&amp;(e||(e=new i(this,t),o(this).data(p,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},e=i,t=[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return w}},{key:"NAME",get:function(){return h}},{key:"DATA_KEY",get:function(){return p}},{key:"Event",get:function(){return T}},{key:"EVENT_KEY",get:function(){return m}},{key:"DefaultType",get:function(){return b}}],(n=null)&amp;&amp;a(e.prototype,n),t&amp;&amp;a(e,t),i}();return o.fn[h]=i._jQueryInterface,o.fn[h].Constructor=i,o.fn[h].noConflict=function(){return o.fn[h]=n,i._jQueryInterface},i}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery"),require("./tooltip.js")):"function"==typeof define&amp;&amp;define.amd?define(["jquery","./tooltip.js"],t):(e=e||self).Popover=t(e.jQuery,e.Tooltip)}(this,function(o,e){"use strict";function s(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(t),e&amp;&amp;(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function n(i){for(var e=1;e&lt;arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t(Object(r),!0).forEach(function(e){var t,n;t=i,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})}return i}o=o&amp;&amp;Object.prototype.hasOwnProperty.call(o,"default")?o.default:o,e=e&amp;&amp;Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var a="popover",l="bs.popover",u="."+l,i=o.fn[a],c="bs-popover",d=new RegExp("(^|\\s)"+c+"\\S+","g"),f=n(n({},e.Default),{},{placement:"right",trigger:"click",content:"",template:'&lt;div class="popover" role="tooltip"&gt;&lt;div class="arrow"&gt;&lt;/div&gt;&lt;h3 class="popover-header"&gt;&lt;/h3&gt;&lt;div class="popover-body"&gt;&lt;/div&gt;&lt;/div&gt;'}),h=n(n({},e.DefaultType),{},{content:"(string|element|function)"}),p={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,INSERTED:"inserted"+u,CLICK:"click"+u,FOCUSIN:"focusin"+u,FOCUSOUT:"focusout"+u,MOUSEENTER:"mouseenter"+u,MOUSELEAVE:"mouseleave"+u},r=function(e){function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),(t.prototype.constructor=t).__proto__=n;var t,n,r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(e){o(this.getTipElement()).addClass(c+"-"+e)},r.getTipElement=function(){return this.tip=this.tip||o(this.config.template)[0],this.tip},r.setContent=function(){var e=o(this.getTipElement());this.setElementContent(e.find(".popover-header"),this.getTitle());var t=this._getContent();"function"==typeof t&amp;&amp;(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var e=o(this.getTipElement()),t=e.attr("class").match(d);null!==t&amp;&amp;0&lt;t.length&amp;&amp;e.removeClass(t.join(""))},i._jQueryInterface=function(n){return this.each(function(){var e=o(this).data(l),t="object"==typeof n?n:null;if((e||!/dispose|hide/.test(n))&amp;&amp;(e||(e=new i(this,t),o(this).data(l,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},t=i,n=[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return f}},{key:"NAME",get:function(){return a}},{key:"DATA_KEY",get:function(){return l}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return u}},{key:"DefaultType",get:function(){return h}}],(r=null)&amp;&amp;s(t.prototype,r),n&amp;&amp;s(t,n),i}(e);return o.fn[a]=r._jQueryInterface,o.fn[a].Constructor=r,o.fn[a].noConflict=function(){return o.fn[a]=i,r._jQueryInterface},r}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&amp;&amp;define.amd?define(["jquery","./util.js"],t):(e=e||self).ScrollSpy=t(e.jQuery,e.Util)}(this,function(o,s){"use strict";function r(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(t),e&amp;&amp;(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function a(i){for(var e=1;e&lt;arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t(Object(r),!0).forEach(function(e){var t,n;t=i,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})}return i}o=o&amp;&amp;Object.prototype.hasOwnProperty.call(o,"default")?o.default:o,s=s&amp;&amp;Object.prototype.hasOwnProperty.call(s,"default")?s.default:s;var l="scrollspy",u="bs.scrollspy",c="."+u,e=o.fn[l],d={offset:10,method:"auto",target:""},f={offset:"number",method:"string",target:"(string|element)"},h="active",p=".nav, .list-group",m=".nav-link",g=".list-group-item",i=function(){function n(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+m+","+this._config.target+" "+g+","+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o(this._scrollElement).on("scroll.bs.scrollspy",function(e){return n._process(e)}),this.refresh(),this._process()}var e,t,i=n.prototype;return i.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?e:this._config.method,r="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,n=s.getSelectorFromElement(e);if(n&amp;&amp;(t=document.querySelector(n)),t){e=t.getBoundingClientRect();if(e.width||e.height)return[o(t)[i]().top+r,n]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},i.dispose=function(){o.removeData(this._element,u),o(this._scrollElement).off(c),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},i._getConfig=function(e){var t;return"string"!=typeof(e=a(a({},d),"object"==typeof e&amp;&amp;e?e:{})).target&amp;&amp;s.isElement(e.target)&amp;&amp;((t=o(e.target).attr("id"))||(t=s.getUID(l),o(e.target).attr("id",t)),e.target="#"+t),s.typeCheckConfig(l,e,f),e},i._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},i._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},i._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},i._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&amp;&amp;this.refresh(),n&lt;=e){n=this._targets[this._targets.length-1];this._activeTarget!==n&amp;&amp;this._activate(n)}else{if(this._activeTarget&amp;&amp;e&lt;this._offsets[0]&amp;&amp;0&lt;this._offsets[0])return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&amp;&amp;e&gt;=this._offsets[i]&amp;&amp;(void 0===this._offsets[i+1]||e&lt;this._offsets[i+1])&amp;&amp;this._activate(this._targets[i])}},i._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),e=o([].slice.call(document.querySelectorAll(e.join(","))));e.hasClass("dropdown-item")?(e.closest(".dropdown").find(".dropdown-toggle").addClass(h),e.addClass(h)):(e.addClass(h),e.parents(p).prev(m+", "+g).addClass(h),e.parents(p).prev(".nav-item").children(m).addClass(h)),o(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},i._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(h)}).forEach(function(e){return e.classList.remove(h)})},n._jQueryInterface=function(t){return this.each(function(){var e=o(this).data(u);if(e||(e=new n(this,"object"==typeof t&amp;&amp;t),o(this).data(u,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},e=n,t=[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return d}}],(i=null)&amp;&amp;r(e.prototype,i),t&amp;&amp;r(e,t),n}();return o(window).on("load.bs.scrollspy.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),t=e.length;t--;){var n=o(e[t]);i._jQueryInterface.call(n,n.data())}}),o.fn[l]=i._jQueryInterface,o.fn[l].Constructor=i,o.fn[l].noConflict=function(){return o.fn[l]=e,i._jQueryInterface},i}),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&amp;&amp;define.amd?define(["jquery","./util.js"],t):(e=e||self).Tab=t(e.jQuery,e.Util)}(this,function(a,l){"use strict";function r(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}a=a&amp;&amp;Object.prototype.hasOwnProperty.call(a,"default")?a.default:a,l=l&amp;&amp;Object.prototype.hasOwnProperty.call(l,"default")?l.default:l;var o="bs.tab",e=a.fn.tab,u="active",c="&gt; li &gt; .active",t=function(){function i(e){this._element=e}var e,t,n=i.prototype;return n.show=function(){var e,t,n,i,r,o,s=this;this._element.parentNode&amp;&amp;this._element.parentNode.nodeType===Node.ELEMENT_NODE&amp;&amp;a(this._element).hasClass(u)||a(this._element).hasClass("disabled")||(o=a(this._element).closest(".nav, .list-group")[0],t=l.getSelectorFromElement(this._element),o&amp;&amp;(r="UL"===o.nodeName||"OL"===o.nodeName?c:".active",n=(n=a.makeArray(a(o).find(r)))[n.length-1]),i=a.Event("hide.bs.tab",{relatedTarget:this._element}),r=a.Event("show.bs.tab",{relatedTarget:n}),n&amp;&amp;a(n).trigger(i),a(this._element).trigger(r),r.isDefaultPrevented()||i.isDefaultPrevented()||(t&amp;&amp;(e=document.querySelector(t)),this._activate(this._element,o),o=function(){var e=a.Event("hidden.bs.tab",{relatedTarget:s._element}),t=a.Event("shown.bs.tab",{relatedTarget:n});a(n).trigger(e),a(s._element).trigger(t)},e?this._activate(e,e.parentNode,o):o()))},n.dispose=function(){a.removeData(this._element,o),this._element=null},n._activate=function(e,t,n){var i=this,r=(!t||"UL"!==t.nodeName&amp;&amp;"OL"!==t.nodeName?a(t).children(".active"):a(t).find(c))[0],o=n&amp;&amp;r&amp;&amp;a(r).hasClass("fade"),t=function(){return i._transitionComplete(e,r,n)};r&amp;&amp;o?(o=l.getTransitionDurationFromElement(r),a(r).removeClass("show").one(l.TRANSITION_END,t).emulateTransitionEnd(o)):t()},n._transitionComplete=function(e,t,n){var i;t&amp;&amp;(a(t).removeClass(u),(i=a(t.parentNode).find("&gt; .dropdown-menu .active")[0])&amp;&amp;a(i).removeClass(u),"tab"===t.getAttribute("role")&amp;&amp;t.setAttribute("aria-selected",!1)),a(e).addClass(u),"tab"===e.getAttribute("role")&amp;&amp;e.setAttribute("aria-selected",!0),l.reflow(e),e.classList.contains("fade")&amp;&amp;e.classList.add("show"),e.parentNode&amp;&amp;a(e.parentNode).hasClass("dropdown-menu")&amp;&amp;((t=a(e).closest(".dropdown")[0])&amp;&amp;(t=[].slice.call(t.querySelectorAll(".dropdown-toggle")),a(t).addClass(u)),e.setAttribute("aria-expanded",!0)),n&amp;&amp;n()},i._jQueryInterface=function(n){return this.each(function(){var e=a(this),t=e.data(o);if(t||(t=new i(this),e.data(o,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},e=i,t=[{key:"VERSION",get:function(){return"4.5.0"}}],(n=null)&amp;&amp;r(e.prototype,n),t&amp;&amp;r(e,t),i}();return a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),t._jQueryInterface.call(a(this),"show")}),a.fn.tab=t._jQueryInterface,a.fn.tab.Constructor=t,a.fn.tab.noConflict=function(){return a.fn.tab=e,t._jQueryInterface},t}),function(e){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");if((e=e.fn.jquery.split(" ")[0].split("."))[0]&lt;2&amp;&amp;e[1]&lt;9||1===e[0]&amp;&amp;9===e[1]&amp;&amp;e[2]&lt;1||4&lt;=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}($),function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&amp;&amp;define.amd?define(["jquery","./util.js"],t):(e=e||self).Toast=t(e.jQuery,e.Util)}(this,function(r,o){"use strict";function s(e,t){for(var n=0;n&lt;t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&amp;&amp;(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(t),e&amp;&amp;(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function a(i){for(var e=1;e&lt;arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t(Object(r),!0).forEach(function(e){var t,n;t=i,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})}return i}r=r&amp;&amp;Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,o=o&amp;&amp;Object.prototype.hasOwnProperty.call(o,"default")?o.default:o;var l="toast",u="bs.toast",e="."+u,n=r.fn[l],c="click.dismiss"+e,d="show",f={animation:"boolean",autohide:"boolean",delay:"number"},h={animation:!0,autohide:!0,delay:500},i=function(){function i(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var e,t,n=i.prototype;return n.show=function(){var e,t=this,n=r.Event("show.bs.toast");r(this._element).trigger(n),n.isDefaultPrevented()||(this._config.animation&amp;&amp;this._element.classList.add("fade"),e=function(){t._element.classList.remove("showing"),t._element.classList.add(d),r(t._element).trigger("shown.bs.toast"),t._config.autohide&amp;&amp;(t._timeout=setTimeout(function(){t.hide()},t._config.delay))},this._element.classList.remove("hide"),o.reflow(this._element),this._element.classList.add("showing"),this._config.animation?(n=o.getTransitionDurationFromElement(this._element),r(this._element).one(o.TRANSITION_END,e).emulateTransitionEnd(n)):e())},n.hide=function(){var e;this._element.classList.contains(d)&amp;&amp;(e=r.Event("hide.bs.toast"),r(this._element).trigger(e),e.isDefaultPrevented()||this._close())},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(d)&amp;&amp;this._element.classList.remove(d),r(this._element).off(c),r.removeData(this._element,u),this._element=null,this._config=null},n._getConfig=function(e){return e=a(a(a({},h),r(this._element).data()),"object"==typeof e&amp;&amp;e?e:{}),o.typeCheckConfig(l,e,this.constructor.DefaultType),e},n._setListeners=function(){var e=this;r(this._element).on(c,'[data-dismiss="toast"]',function(){return e.hide()})},n._close=function(){function e(){n._element.classList.add("hide"),r(n._element).trigger("hidden.bs.toast")}var t,n=this;this._element.classList.remove(d),this._config.animation?(t=o.getTransitionDurationFromElement(this._element),r(this._element).one(o.TRANSITION_END,e).emulateTransitionEnd(t)):e()},i._jQueryInterface=function(n){return this.each(function(){var e=r(this),t=e.data(u);if(t||(t=new i(this,"object"==typeof n&amp;&amp;n),e.data(u,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](this)}})},e=i,t=[{key:"VERSION",get:function(){return"4.5.0"}},{key:"DefaultType",get:function(){return f}},{key:"Default",get:function(){return h}}],(n=null)&amp;&amp;s(e.prototype,n),t&amp;&amp;s(e,t),i}();return r.fn[l]=i._jQueryInterface,r.fn[l].Constructor=i,r.fn[l].noConflict=function(){return r.fn[l]=n,i._jQueryInterface},i}),function(_){function i(e,t){var o=this,n=window.navigator,i=n.userAgent.toLowerCase();o.uid=_.rsModules.uid++,o.ns=".rs"+o.uid;for(var r,s,a=document.createElement("div").style,l=["webkit","Moz","ms","O"],u="",c=0,d=0;d&lt;l.length;d++){var f=l[d];!u&amp;&amp;f+"Transform"in a&amp;&amp;(u=f),f=f.toLowerCase(),window.requestAnimationFrame||(window.requestAnimationFrame=window[f+"RequestAnimationFrame"],window.cancelAnimationFrame=window[f+"CancelAnimationFrame"]||window[f+"CancelRequestAnimationFrame"])}window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var n=(new Date).getTime(),i=Math.max(0,16-(n-c)),r=window.setTimeout(function(){e(n+i)},i);return c=n+i,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)}),o.isIPAD=i.match(/(ipad)/),o.isIOS=o.isIPAD||i.match(/(iphone|ipod)/),l={},(d={browser:(r=/(chrome)[ \/]([\w.]+)/.exec(r=i)||/(webkit)[ \/]([\w.]+)/.exec(r)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(r)||/(msie) ([\w.]+)/.exec(r)||r.indexOf("compatible")&lt;0&amp;&amp;/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(r)||[])[1]||"",version:r[2]||"0"}).browser&amp;&amp;(l[d.browser]=!0,l.version=d.version),l.chrome&amp;&amp;(l.webkit=!0),o._browser=l,o.isAndroid=-1&lt;i.indexOf("android"),o.slider=_(e),o.ev=_(o),o._doc=_(document),o.st=_.extend({},_.fn.royalSlider.defaults,t),o._currAnimSpeed=o.st.transitionSpeed,o._minPosOffset=0,!o.st.allowCSS3||l.webkit&amp;&amp;!o.st.allowCSS3OnWebkit||(d=u+(u?"T":"t"),o._useCSS3Transitions=d+"ransform"in a&amp;&amp;d+"ransition"in a,o._useCSS3Transitions&amp;&amp;(o._use3dTransform=u+(u?"P":"p")+"erspective"in a)),u=u.toLowerCase(),o._vendorPref="-"+u+"-",o._slidesHorizontal="vertical"!==o.st.slidesOrientation,o._reorderProp=o._slidesHorizontal?"left":"top",o._sizeProp=o._slidesHorizontal?"width":"height",o._prevNavItemId=-1,o._isMove="fade"!==o.st.transitionType,o._isMove||(o.st.sliderDrag=!1,o._fadeZIndex=10),o._opacityCSS="z-index:0; display:none; opacity:0;",o._newSlideId=0,o._sPosition=0,o._nextSlidePos=0,_.each(_.rsModules,function(e,t){"uid"!==e&amp;&amp;t.call(o)}),o.slides=[],o._idCount=0,(o.st.slides?_(o.st.slides):o.slider.children().detach()).each(function(){o._parseNode(this,!0)}),o.st.randomizeSlides&amp;&amp;o.slides.sort(function(){return.5-Math.random()}),o.numSlides=o.slides.length,o._refreshNumPreloadImages(),o.st.startSlideId?o.st.startSlideId&gt;o.numSlides-1&amp;&amp;(o.st.startSlideId=o.numSlides-1):o.st.startSlideId=0,o._newSlideId=o.staticSlideId=o.currSlideId=o._realId=o.st.startSlideId,o.currSlide=o.slides[o.currSlideId],o._accelerationPos=0,o.pointerMultitouch=!1,o.slider.addClass((o._slidesHorizontal?"rsHor":"rsVer")+(o._isMove?"":" rsFade")),a='&lt;div class="rsOverflow"&gt;&lt;div class="rsContainer"&gt;',o.slidesSpacing=o.st.slidesSpacing,o._slideSize=(o._slidesHorizontal?o.slider.width():o.slider.height())+o.st.slidesSpacing,o._preload=0&lt;o._numPreloadImages,o.numSlides&lt;=1&amp;&amp;(o._loop=!1),o._loopHelpers=o._loop&amp;&amp;o._isMove?2===o.numSlides?1:2:0,o._maxImages=o.numSlides&lt;6?o.numSlides:6,o._currBlockIndex=0,o._idOffset=0,o.slidesJQ=[];for(d=0;d&lt;o.numSlides;d++)o.slidesJQ.push(_('&lt;div style="'+(o._isMove?"":d!==o.currSlideId?o._opacityCSS:"z-index:0;")+'" class="rsSlide "&gt;&lt;/div&gt;'));o._sliderOverflow=a=_(a+"&lt;/div&gt;&lt;/div&gt;"),u=function(e,t,n,i,r){o._downEvent=e+t,o._moveEvent=e+n,o._upEvent=e+i,r&amp;&amp;(o._cancelEvent=e+r)},d=n.pointerEnabled,o.pointerEnabled=d||n.msPointerEnabled,o.pointerEnabled?(o.hasTouch=!1,o._lastItemFriction=.2,o.pointerMultitouch=1&lt;n[(d?"m":"msM")+"axTouchPoints"],d?u("pointer","down","move","up","cancel"):u("MSPointer","Down","Move","Up","Cancel")):(o.isIOS?o._downEvent=o._moveEvent=o._upEvent=o._cancelEvent="":u("mouse","down","move","up"),"ontouchstart"in window||"createTouch"in document?(o.hasTouch=!0,o._downEvent+=" touchstart",o._moveEvent+=" touchmove",o._upEvent+=" touchend",o._cancelEvent+=" touchcancel",o._lastItemFriction=.5,o.st.sliderTouch&amp;&amp;(o._hasDrag=!0)):(o.hasTouch=!1,o._lastItemFriction=.2)),o.st.sliderDrag&amp;&amp;(o._hasDrag=!0,l.msie||l.opera?o._grabCursor=o._grabbingCursor="move":l.mozilla?(o._grabCursor="-moz-grab",o._grabbingCursor="-moz-grabbing"):l.webkit&amp;&amp;-1!=n.platform.indexOf("Mac")&amp;&amp;(o._grabCursor="-webkit-grab",o._grabbingCursor="-webkit-grabbing"),o._setGrabCursor()),o.slider.html(a),o._controlsContainer=o.st.controlsInside?o._sliderOverflow:o.slider,o._slidesContainer=o._sliderOverflow.children(".rsContainer"),o.pointerEnabled&amp;&amp;o._slidesContainer.css((d?"":"-ms-")+"touch-action",o._slidesHorizontal?"pan-y":"pan-x"),o._preloader=_('&lt;div class="rsPreloader"&gt;&lt;/div&gt;'),n=o._slidesContainer.children(".rsSlide"),o._currHolder=o.slidesJQ[o.currSlideId],o._selectedSlideHolder=0,o._eventCallbacks={dragStart:function(e){o._onDragStart(e)},dragStartThumb:function(e){o._onDragStart(e,!0)},touchmoveFix:function(){}},o._useCSS3Transitions?(o._TP="transition-property",o._TD="transition-duration",o._TTF="transition-timing-function",o._yProp=o._xProp=o._vendorPref+"transform",o._use3dTransform?(l.webkit&amp;&amp;!l.chrome&amp;&amp;o.slider.addClass("rsWebkit3d"),o._tPref1="translate3d(",o._tPref2="px, ",o._tPref3="px, 0px)"):(o._tPref1="translate(",o._tPref2="px, ",o._tPref3="px)"),o._isMove?o._slidesContainer[o._vendorPref+o._TP]=o._vendorPref+"transform":((l={})[o._vendorPref+o._TP]="opacity",l[o._vendorPref+o._TD]=o.st.transitionSpeed+"ms",l[o._vendorPref+o._TTF]=o.st.css3easeInOut,n.css(l))):(o._xProp="left",o._yProp="top"),o._slidesHorizontal&amp;&amp;o.slider.css("touch-action","pan-y"),_(window).on("resize"+o.ns,function(){s&amp;&amp;clearTimeout(s),s=setTimeout(function(){o.updateSliderSize()},50)}),o.ev.trigger("rsAfterPropsSetup"),o.updateSliderSize(),o.st.keyboardNavEnabled&amp;&amp;o._bindKeyboardNav(),o.st.arrowsNavHideOnTouch&amp;&amp;(o.hasTouch||o.pointerMultitouch)&amp;&amp;(o.st.arrowsNav=!1),o.st.arrowsNav&amp;&amp;(n=o._controlsContainer,_('&lt;div class="rsArrow rsArrowLeft"&gt;&lt;div class="rsArrowIcn"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="rsArrow rsArrowRight"&gt;&lt;div class="rsArrowIcn"&gt;&lt;/div&gt;&lt;/div&gt;').appendTo(n),o._arrowLeft=n.children(".rsArrowLeft").click(function(e){e.preventDefault(),o.prev()}),o._arrowRight=n.children(".rsArrowRight").click(function(e){e.preventDefault(),o.next()}),o.st.arrowsNavAutoHide&amp;&amp;!o.hasTouch&amp;&amp;(o._arrowLeft.addClass("rsHidden"),o._arrowRight.addClass("rsHidden"),n.one("mousemove.arrowshover",function(){o._arrowLeft.removeClass("rsHidden"),o._arrowRight.removeClass("rsHidden")}),n.hover(function(){o._arrowsAutoHideLocked||(o._arrowLeft.removeClass("rsHidden"),o._arrowRight.removeClass("rsHidden"))},function(){o._arrowsAutoHideLocked||(o._arrowLeft.addClass("rsHidden"),o._arrowRight.addClass("rsHidden"))})),o.ev.on("rsOnUpdateNav",function(){o._updateArrowsNav()}),o._updateArrowsNav()),o.hasTouch&amp;&amp;o.st.sliderTouch||!o.hasTouch&amp;&amp;o.st.sliderDrag?(o._bindPassiveEvent(o._slidesContainer[0],o._downEvent,o._eventCallbacks.dragStart,!1),o._bindPassiveEvent(o.slider[0],o._moveEvent,o._eventCallbacks.touchmoveFix,!1)):o.dragSuccess=!1;var h=["rsPlayBtnIcon","rsPlayBtn","rsCloseVideoBtn","rsCloseVideoIcn"];o._slidesContainer.click(function(e){if(!o.dragSuccess){var t=_(e.target).attr("class");if(-1!==_.inArray(t,h)&amp;&amp;o.toggleVideo())return!1;if(o.st.navigateByClick&amp;&amp;!o._blockActions){if(_(e.target).closest(".rsNoDrag",o._currHolder).length)return!0;o._mouseNext(e)}o.ev.trigger("rsSlideClick",e)}}).on("click.rs","a",function(e){return!o.dragSuccess&amp;&amp;(o._blockActions=!0,void setTimeout(function(){o._blockActions=!1},3))}),o.ev.trigger("rsAfterInit")}_.rsModules||(_.rsModules={uid:0}),i.prototype={constructor:i,_mouseNext:function(e){(e=e[this._slidesHorizontal?"pageX":"pageY"]-this._sliderOffset)&gt;=this._nextSlidePos?this.next():e&lt;0&amp;&amp;this.prev()},_refreshNumPreloadImages:function(){var e=this.st.numImagesToPreload;(this._loop=this.st.loop)&amp;&amp;(2===this.numSlides?(this._loop=!1,this.st.loopRewind=!0):this.numSlides&lt;2&amp;&amp;(this.st.loopRewind=this._loop=!1)),this._loop&amp;&amp;0&lt;e&amp;&amp;(this.numSlides&lt;=4?e=1:this.st.numImagesToPreload&gt;(this.numSlides-1)/2&amp;&amp;(e=Math.floor((this.numSlides-1)/2))),this._numPreloadImages=e},_parseNode:function(e,t){function n(e,t){t?s.images.push(e.attr(t)):s.images.push(e.text()),a&amp;&amp;(a=!1,s.caption="src"===t?e.attr("alt"):e.contents(),s.image=s.images[0],s.videoURL=e.attr("data-rsVideo"),t=e.attr("data-rsw"),e=e.attr("data-rsh"),void 0!==t&amp;&amp;!1!==t&amp;&amp;void 0!==e&amp;&amp;!1!==e?(s.iW=parseInt(t,10),s.iH=parseInt(e,10)):o.st.imgWidth&amp;&amp;o.st.imgHeight&amp;&amp;(s.iW=o.st.imgWidth,s.iH=o.st.imgHeight))}var i,r,o=this,s={},a=!0;if(e=_(e),o._currContent=e,o.ev.trigger("rsBeforeParseNode",[e,s]),!s.stopParsing)return e=o._currContent,s.id=o._idCount,s.contentAdded=!1,o._idCount++,s.images=[],s.isBig=!1,s.hasCover||(e.hasClass("rsImg")?(i=e,r=!0):(i=e.find(".rsImg")).length&amp;&amp;(r=!0),r?(s.bigImage=i.eq(0).attr("data-rsBigImg"),i.each(function(){var e=_(this);e.is("a")?n(e,"href"):e.is("img")?n(e,"src"):n(e)})):e.is("img")&amp;&amp;(e.addClass("rsImg rsMainSlideImage").attr("alt","SlideImage"),n(e,"src"))),(i=e.find(".rsCaption")).length&amp;&amp;(s.caption=i.remove()),s.content=e,o.ev.trigger("rsAfterParseNode",[e,s]),t&amp;&amp;o.slides.push(s),0===s.images.length&amp;&amp;(s.isLoaded=!0,s.isRendered=!1,s.isLoading=!1,s.images=null),s},_bindKeyboardNav:function(){function t(e){37===e?r.prev():39===e&amp;&amp;r.next()}var n,i,r=this;r._doc.on("keydown"+r.ns,function(e){if(!r.st.keyboardNavEnabled)return!0;if(!(r._isDragging||(37!==(i=e.keyCode)&amp;&amp;39!==i||n))){if(document.activeElement&amp;&amp;/(INPUT|SELECT|TEXTAREA)/i.test(document.activeElement.tagName))return!0;r.isFullscreen&amp;&amp;e.preventDefault(),t(i),n=setInterval(function(){t(i)},700)}}).on("keyup"+r.ns,function(e){n&amp;&amp;(clearInterval(n),n=null)})},goTo:function(e,t){e!==this.currSlideId&amp;&amp;this._moveTo(e,this.st.transitionSpeed,!0,!t)},destroy:function(e){this.ev.trigger("rsBeforeDestroy"),this._doc.off("keydown"+this.ns+" keyup"+this.ns),this._eventCallbacks.dragMove&amp;&amp;(this._unbindPassiveEvent(document,this._moveEvent,this._eventCallbacks.dragMove,!0),this._unbindPassiveEvent(document,this._upEvent,this._eventCallbacks.dragRelease,!0)),this._eventCallbacks.downEvent&amp;&amp;(this._unbindPassiveEvent(this._slidesContainer[0],this._downEvent,this._eventCallbacks.dragStart,!1),this._unbindPassiveEvent(this.slider[0],this._moveEvent,this._eventCallbacks.touchmoveFix,!1)),this._slidesContainer.off(this._downEvent+" click"),this.slider.data("royalSlider",null),_.removeData(this.slider,"royalSlider"),_(window).off("resize"+this.ns),this.loadingTimeout&amp;&amp;clearTimeout(this.loadingTimeout),e&amp;&amp;this.slider.remove(),this.ev=this.slider=this.slides=null},_updateBlocksContent:function(i,e){function t(e,t,n){e.isAdded?(r(0,e),o(t)):(n=n||a.slidesJQ[t],e.holder?n=e.holder:(n=a.slidesJQ[t]=_(n),e.holder=n),e.appendOnLoaded=!1,o(t,0,n),r(0,e),a._addBlockToContainer(e,n,i),e.isAdded=!0)}function r(e,t){t.contentAdded||(a.setItemHtml(t,i),i||(t.contentAdded=!0))}function o(e,t,n){a._isMove&amp;&amp;(n=n||a.slidesJQ[e]).css(a._reorderProp,(e+a._idOffset+v)*a._slideSize)}function n(e){if(l){if(u-1&lt;e)return n(e-u);if(e&lt;0)return n(u+e)}return e}var s,a=this,l=a._loop,u=a.numSlides;if(!isNaN(e))return n(e);for(var c=a.currSlideId,d=i?Math.abs(a._prevSlideId-a.currSlideId)&gt;=a.numSlides-1?0:1:a._numPreloadImages,f=Math.min(2,d),h=!1,p=!1,m=c;m&lt;c+1+f;m++){var g=n(m);if((s=a.slides[g])&amp;&amp;(!s.isAdded||!s.positionSet)){h=!0;break}}for(m=c-1;c-1-f&lt;m;m--)if(g=n(m),(s=a.slides[g])&amp;&amp;(!s.isAdded||!s.positionSet)){p=!0;break}if(h)for(m=c;m&lt;c+d+1;m++){g=n(m);var v=Math.floor((a._realId-(c-m))/a.numSlides)*a.numSlides;(s=a.slides[g])&amp;&amp;t(s,g)}if(p)for(m=c-1;c-1-d&lt;m;m--)g=n(m),v=Math.floor((a._realId-(c-m))/u)*u,(s=a.slides[g])&amp;&amp;t(s,g);if(!i)for(f=n(c-d),d=(c=n(c+d))&lt;f?0:f,m=0;m&lt;u;m++)c&lt;f&amp;&amp;f-1&lt;m||!(m&lt;d||c&lt;m)||(s=a.slides[m])&amp;&amp;s.holder&amp;&amp;(s.holder.detach(),s.isAdded=!1)},setItemHtml:function(r,n){function e(){if(r.images){if(!r.isLoading){var e,n;if(r.content.hasClass("rsImg")?(e=r.content,n=!0):e=r.content.find(".rsImg:not(img)"),e&amp;&amp;!e.is("img")&amp;&amp;e.each(function(){var e=_(this),t='&lt;img class="rsImg" src="'+(e.is("a")?e.attr("href"):e.text())+'" /&gt;';n?r.content=_(t):e.replaceWith(t)}),e=n?r.content:r.content.find("img.rsImg"),u(),e.eq(0).addClass("rsMainSlideImage").attr("alt","Slider Image"),r.iW&amp;&amp;r.iH&amp;&amp;(r.isLoaded||o._resizeImage(r),a()),r.isLoading=!0,r.isBig)_("&lt;img /&gt;").on("load.rs error.rs",function(e){_(this).off("load.rs error.rs"),s([this],!0)}).attr("src",r.image);else{r.loaded=[],e=function(e){_(this).off("load.rs error.rs"),r.loaded.push(this),r.loaded.length===r.numStartedLoad&amp;&amp;s(r.loaded,!1)};for(var t=r.numStartedLoad=0;t&lt;r.images.length;t++){var i=_("&lt;img /&gt;");r.numStartedLoad++,i.on("load.rs error.rs",e).attr("src",r.images[t])}}}}else r.isRendered=!0,r.isLoaded=!0,r.isLoading=!1,a(!0)}var o=this,s=function(e,t){var n;e.length?(e=e[0],t!==r.isBig?(e=r.holder.children())&amp;&amp;1&lt;e.length&amp;&amp;c():r.iW&amp;&amp;r.iH?i():(r.iW=e.width,r.iH=e.height,r.iW&amp;&amp;r.iH?i():((n=new Image).onload=function(){n.width?(r.iW=n.width,r.iH=n.height,i()):setTimeout(function(){n.width&amp;&amp;(r.iW=n.width,r.iH=n.height),i()},1e3)},n.src=e.src))):i()},i=function(){r.isLoaded=!0,r.isLoading=!1,a(),c(),l()},a=function(){var e,t;!r.isAppended&amp;&amp;o.ev&amp;&amp;(e=o.st.visibleNearby,t=r.id-o._newSlideId,n||r.appendOnLoaded||!o.st.fadeinLoadedSlide||0!=t&amp;&amp;(!(e||o._isAnimating||o._isDragging)||-1!=t&amp;&amp;1!=t)||((e={visibility:"visible",opacity:0})[o._vendorPref+"transition"]="opacity 400ms ease-in-out",r.content.css(e),setTimeout(function(){r.content.css("opacity",1)},16)),r.holder.find(".rsPreloader").length?r.holder.append(r.content):r.holder.html(r.content),r.isAppended=!0,r.isLoaded&amp;&amp;(o._resizeImage(r),l()),r.sizeReady||(r.sizeReady=!0,setTimeout(function(){o.ev.trigger("rsMaybeSizeReady",r)},100)))},l=function(){!r.loadedTriggered&amp;&amp;o.ev&amp;&amp;(r.isLoaded=r.loadedTriggered=!0,r.holder.trigger("rsAfterContentSet"),o.ev.trigger("rsAfterContentSet",r))},u=function(){o.st.usePreloader&amp;&amp;r.holder.html(o._preloader.clone())},c=function(e){o.st.usePreloader&amp;&amp;((e=r.holder.find(".rsPreloader")).length&amp;&amp;e.remove())};r.isLoaded?a():!n||!o._isMove&amp;&amp;r.images&amp;&amp;r.iW&amp;&amp;r.iH?e():(r.holder.isWaiting=!0,u(),r.holder.slideId=-99)},_addBlockToContainer:function(e,t,n){this._slidesContainer.append(e.holder),e.appendOnLoaded=!1},_onDragStart:function(e,t){var n=this,i="touchstart"===e.type;if(n._isTouchGesture=i,n.ev.trigger("rsDragStart"),_(e.target).closest(".rsNoDrag",n._currHolder).length)return!(n.dragSuccess=!1);if(!t&amp;&amp;n._isAnimating&amp;&amp;(n._wasAnimating=!0,n._stopAnimation()),n.dragSuccess=!1,n._isDragging)i&amp;&amp;(n._multipleTouches=!0);else{if(i&amp;&amp;(n._multipleTouches=!1),n._setGrabbingCursor(),i){var r=e.touches;if(!(r&amp;&amp;0&lt;r.length))return;var o=r[0];1&lt;r.length&amp;&amp;(n._multipleTouches=!0)}else e.preventDefault(),o=e;n._isDragging=!0,n._eventCallbacks.dragMove&amp;&amp;(n._unbindPassiveEvent(document,n._moveEvent,n._eventCallbacks.dragMove,!0),n._unbindPassiveEvent(document,n._upEvent,n._eventCallbacks.dragRelease,!0)),n._eventCallbacks.dragMove=function(e){n._onDragMove(e,t)},n._eventCallbacks.dragRelease=function(e){n._onDragRelease(e,t)},n._bindPassiveEvent(document,n._moveEvent,n._eventCallbacks.dragMove,!0),n._bindPassiveEvent(document,n._upEvent,n._eventCallbacks.dragRelease,!0),n._currMoveAxis="",n._hasMoved=!1,n._pageX=o.pageX,n._pageY=o.pageY,n._startPagePos=n._accelerationPos=(t?n._thumbsHorizontal:n._slidesHorizontal)?o.pageX:o.pageY,n._horDir=0,n._verDir=0,n._currRenderPosition=t?n._thumbsPosition:n._sPosition,n._startTime=(new Date).getTime(),i&amp;&amp;n._sliderOverflow.on(n._cancelEvent,function(e){n._onDragRelease(e,t)})}},_renderMovement:function(e,t){var n,i,r,o,s,a;this._checkedAxis&amp;&amp;(n=this._renderMoveTime,i=e.pageX-this._pageX,r=e.pageY-this._pageY,s=this._currRenderPosition+i,a=this._currRenderPosition+r,s=(o=t?this._thumbsHorizontal:this._slidesHorizontal)?s:a,a=this._currMoveAxis,this._hasMoved=!0,this._pageX=e.pageX,this._pageY=e.pageY,"x"===a&amp;&amp;0!==i?this._horDir=0&lt;i?1:-1:"y"===a&amp;&amp;0!=r&amp;&amp;(this._verDir=0&lt;r?1:-1),a=o?this._pageX:this._pageY,i=o?i:r,t?(s&gt;this._thumbsMinPosition||s&lt;this._thumbsMaxPosition)&amp;&amp;(s=this._currRenderPosition+i*this._lastItemFriction):this._loop||(this.currSlideId&lt;=0&amp;&amp;0&lt;a-this._startPagePos&amp;&amp;(s=this._currRenderPosition+i*this._lastItemFriction),this.currSlideId&gt;=this.numSlides-1&amp;&amp;a-this._startPagePos&lt;0&amp;&amp;(s=this._currRenderPosition+i*this._lastItemFriction)),this._currRenderPosition=s,200&lt;n-this._startTime&amp;&amp;(this._startTime=n,this._accelerationPos=a),t?this._setThumbsPosition(this._currRenderPosition):this._isMove&amp;&amp;this._setPosition(this._currRenderPosition))},_onDragMove:function(e,t){var n=this,i="touchmove"===e.type;if(!n._isTouchGesture||i){if(i){if(n._lockAxis)return;var r=e.touches;if(!r)return;if(1&lt;r.length)return;var o=r[0]}else o=e;if(n._hasMoved||(n._useCSS3Transitions&amp;&amp;(t?n._thumbsContainer:n._slidesContainer).css(n._vendorPref+n._TD,"0s"),function e(){n._isDragging&amp;&amp;(n._animFrame=requestAnimationFrame(e),n._renderMoveEvent&amp;&amp;n._renderMovement(n._renderMoveEvent,t))}()),n._checkedAxis)e.preventDefault(),n._renderMoveTime=(new Date).getTime(),n._renderMoveEvent=o;else if(r=t?n._thumbsHorizontal:n._slidesHorizontal,7&lt;(o=Math.abs(o.pageX-n._pageX)-Math.abs(o.pageY-n._pageY)-(r?-7:7))){if(r)e.preventDefault(),n._currMoveAxis="x";else if(i)return void n._completeGesture(e);n._checkedAxis=!0}else if(o&lt;-7){if(r){if(i)return void n._completeGesture(e)}else e.preventDefault(),n._currMoveAxis="y";n._checkedAxis=!0}}},_completeGesture:function(e,t){this._lockAxis=!0,this._hasMoved=this._isDragging=!1,this._onDragRelease(e)},_onDragRelease:function(e,n){function i(e){return e&lt;100?100:500&lt;e?500:e}function t(e,t){(o._isMove||n)&amp;&amp;(p=(-o._realId-o._idOffset)*o._slideSize,r=Math.abs(o._sPosition-p),o._currAnimSpeed=r/t,e&amp;&amp;(o._currAnimSpeed+=250),o._currAnimSpeed=i(o._currAnimSpeed),o._animateTo(p,!1))}var r,o=this,s=-1&lt;e.type.indexOf("touch");if(!o._isTouchGesture||s)if(o._isTouchGesture=!1,o.ev.trigger("rsDragRelease"),o._renderMoveEvent=null,o._isDragging=!1,o._lockAxis=!1,o._checkedAxis=!1,o._renderMoveTime=0,cancelAnimationFrame(o._animFrame),o._hasMoved&amp;&amp;(n?o._setThumbsPosition(o._currRenderPosition):o._isMove&amp;&amp;o._setPosition(o._currRenderPosition)),o._eventCallbacks.dragMove&amp;&amp;(o._unbindPassiveEvent(document,o._moveEvent,o._eventCallbacks.dragMove,!0),o._unbindPassiveEvent(document,o._upEvent,o._eventCallbacks.dragRelease,!0)),s&amp;&amp;o._sliderOverflow.off(o._cancelEvent),o._setGrabCursor(),!o._hasMoved&amp;&amp;!o._multipleTouches&amp;&amp;n&amp;&amp;o._thumbsEnabled){var a=_(e.target).closest(".rsNavItem");a.length&amp;&amp;o.goTo(a.index())}else{if(a=n?o._thumbsHorizontal:o._slidesHorizontal,!o._hasMoved||"y"===o._currMoveAxis&amp;&amp;a||"x"===o._currMoveAxis&amp;&amp;!a){if(n||!o._wasAnimating)return o._wasAnimating=!1,void(o.dragSuccess=!1);if(o._wasAnimating=!1,o.st.navigateByClick)return o._mouseNext(e),void(o.dragSuccess=!0);o.dragSuccess=!0}else o.dragSuccess=!0;o._wasAnimating=!1,o._currMoveAxis="";var l=o.st.minSlideOffset,s=s?e.changedTouches[0]:e,u=a?s.pageX:s.pageY,c=o._startPagePos,d=o.currSlideId,f=o.numSlides,h=a?o._horDir:o._verDir,e=o._loop;if(s=u-o._accelerationPos,a=(new Date).getTime()-o._startTime,a=Math.abs(s)/a,0===h||f&lt;=1)t(!0,a);else{if(!e&amp;&amp;!n)if(d&lt;=0){if(0&lt;h)return void t(!0,a)}else if(f-1&lt;=d&amp;&amp;h&lt;0)return void t(!0,a);if(n){var p=o._thumbsPosition;if(p&gt;o._thumbsMinPosition)p=o._thumbsMinPosition;else if(p&lt;o._thumbsMaxPosition)p=o._thumbsMaxPosition;else{u=a*a/.006;var m=-o._thumbsPosition,c=o._thumbsContainerSize-o._thumbsViewportSize+o._thumbsPosition;if(0&lt;s&amp;&amp;m&lt;u?(a=a*(m+=o._thumbsViewportSize/(15/(u/a*.003)))/u,u=m):s&lt;0&amp;&amp;c&lt;u&amp;&amp;(a=a*(c+=o._thumbsViewportSize/(15/(u/a*.003)))/u,u=c),m=Math.max(Math.round(a/.003),50),(p+=u*(s&lt;0?-1:1))&gt;o._thumbsMinPosition)return void o._animateThumbsTo(p,m,!0,o._thumbsMinPosition,200);if(p&lt;o._thumbsMaxPosition)return void o._animateThumbsTo(p,m,!0,o._thumbsMaxPosition,200)}o._animateThumbsTo(p,m,!0)}else m=function(e){var t=Math.floor(e/o._slideSize);return e-t*o._slideSize&gt;l&amp;&amp;t++,t},c+l&lt;u?h&lt;0?t(!1,a):(m=m(u-c),o._moveTo(o.currSlideId-m,i(Math.abs(o._sPosition-(-o._realId-o._idOffset+m)*o._slideSize)/a),!1,!0,!0)):!(u&lt;c-l)||0&lt;h?t(!1,a):(m=m(c-u),o._moveTo(o.currSlideId+m,i(Math.abs(o._sPosition-(-o._realId-o._idOffset-m)*o._slideSize)/a),!1,!0,!0))}}},_setPosition:function(e){e=this._sPosition=e,this._useCSS3Transitions?this._slidesContainer.css(this._xProp,this._tPref1+(this._slidesHorizontal?e+this._tPref2+0:0+this._tPref2+e)+this._tPref3):this._slidesContainer.css(this._slidesHorizontal?this._xProp:this._yProp,e)},updateSliderSize:function(e){if(this.slider){var t,n,i,r;if(this.st.autoScaleSlider?(t=this.st.autoScaleSliderWidth,n=this.st.autoScaleSliderHeight,this.st.autoScaleHeight?((i=this.slider.width())!=this.width&amp;&amp;(this.slider.css("height",n/t*i),i=this.slider.width()),r=this.slider.height()):((r=this.slider.height())!=this.height&amp;&amp;(this.slider.css("width",t/n*r),r=this.slider.height()),i=this.slider.width())):(i=this.slider.width(),r=this.slider.height()),e||i!=this.width||r!=this.height){for(this.width=i,this.height=r,this._wrapWidth=i,this._wrapHeight=r,this.ev.trigger("rsBeforeSizeSet"),this.ev.trigger("rsAfterSizePropSet"),this._sliderOverflow.css({width:this._wrapWidth,height:this._wrapHeight}),this._slideSize=(this._slidesHorizontal?this._wrapWidth:this._wrapHeight)+this.st.slidesSpacing,this._imagePadding=this.st.imageScalePadding,i=0;i&lt;this.slides.length;i++)(e=this.slides[i]).positionSet=!1,e&amp;&amp;e.images&amp;&amp;e.isLoaded&amp;&amp;(e.isRendered=!1,this._resizeImage(e));if(this._cloneHolders)for(i=0;i&lt;this._cloneHolders.length;i++)(e=this._cloneHolders[i]).holder.css(this._reorderProp,(e.id+this._idOffset)*this._slideSize);this._updateBlocksContent(),this._isMove&amp;&amp;(this._useCSS3Transitions&amp;&amp;this._slidesContainer.css(this._vendorPref+"transition-duration","0s"),this._setPosition((-this._realId-this._idOffset)*this._slideSize)),this.ev.trigger("rsOnUpdateNav")}this._sliderOffset=this._sliderOverflow.offset(),this._sliderOffset=this._sliderOffset[this._reorderProp]}},appendSlide:function(e,t){e=this._parseNode(e);(isNaN(t)||t&gt;this.numSlides)&amp;&amp;(t=this.numSlides),this.slides.splice(t,0,e),this.slidesJQ.splice(t,0,_('&lt;div style="'+(this._isMove?"position:absolute;":this._opacityCSS)+'" class="rsSlide"&gt;&lt;/div&gt;')),t&lt;=this.currSlideId&amp;&amp;this.currSlideId++,this.ev.trigger("rsOnAppendSlide",[e,t]),this._refreshSlides(t),t===this.currSlideId&amp;&amp;this.ev.trigger("rsAfterSlideChange")},removeSlide:function(e){var t=this.slides[e];t&amp;&amp;(t.holder&amp;&amp;t.holder.remove(),e&lt;this.currSlideId&amp;&amp;this.currSlideId--,this.slides.splice(e,1),this.slidesJQ.splice(e,1),this.ev.trigger("rsOnRemoveSlide",[e]),this._refreshSlides(e),e===this.currSlideId&amp;&amp;this.ev.trigger("rsAfterSlideChange"))},_refreshSlides:function(e){var t=this;for(e=t.numSlides,e=t._realId&lt;=0?0:Math.floor(t._realId/e),t.numSlides=t.slides.length,0===t.numSlides?(t.currSlideId=t._idOffset=t._realId=0,t.currSlide=t._oldHolder=null):t._realId=e*t.numSlides+t.currSlideId,e=0;e&lt;t.numSlides;e++)t.slides[e].id=e;t.currSlide=t.slides[t.currSlideId],t._currHolder=t.slidesJQ[t.currSlideId],t.currSlideId&gt;=t.numSlides?t.goTo(t.numSlides-1):t.currSlideId&lt;0&amp;&amp;t.goTo(0),t._refreshNumPreloadImages(),t._isMove&amp;&amp;t._slidesContainer.css(t._vendorPref+t._TD,"0ms"),t._refreshSlidesTimeout&amp;&amp;clearTimeout(t._refreshSlidesTimeout),t._refreshSlidesTimeout=setTimeout(function(){t._isMove&amp;&amp;t._setPosition((-t._realId-t._idOffset)*t._slideSize),t._updateBlocksContent(),t._isMove||t._currHolder.css({display:"block",opacity:1})},14),t.ev.trigger("rsOnUpdateNav")},_setGrabCursor:function(){this._hasDrag&amp;&amp;this._isMove&amp;&amp;(this._grabCursor?this._sliderOverflow.css("cursor",this._grabCursor):(this._sliderOverflow.removeClass("grabbing-cursor"),this._sliderOverflow.addClass("grab-cursor")))},_setGrabbingCursor:function(){this._hasDrag&amp;&amp;this._isMove&amp;&amp;(this._grabbingCursor?this._sliderOverflow.css("cursor",this._grabbingCursor):(this._sliderOverflow.removeClass("grab-cursor"),this._sliderOverflow.addClass("grabbing-cursor")))},next:function(e){this._moveTo("next",this.st.transitionSpeed,!0,!e)},prev:function(e){this._moveTo("prev",this.st.transitionSpeed,!0,!e)},_moveTo:function(e,t,n,i,r){var o=this;o.ev.trigger("rsBeforeMove",[e,i]);var s="next"===e?o.currSlideId+1:"prev"===e?o.currSlideId-1:e=parseInt(e,10);if(!o._loop){if(s&lt;0)return void o._doBackAndForthAnim("left",!i);if(s&gt;=o.numSlides)return void o._doBackAndForthAnim("right",!i)}o._isAnimating&amp;&amp;(o._stopAnimation(!0),n=!1);var a,l=s-o.currSlideId,s=o._prevSlideId=o.currSlideId,u=o.currSlideId+l;i=o._realId,o._loop?(u=o._updateBlocksContent(!1,u),i+=l):i=u,o._newSlideId=u,o._oldHolder=o.slidesJQ[o.currSlideId],o._realId=i,o.currSlideId=o._newSlideId,o.currSlide=o.slides[o.currSlideId],o._currHolder=o.slidesJQ[o.currSlideId],u=o.st.slidesDiff;var c=0&lt;l,l=Math.abs(l),d=Math.floor(s/o._numPreloadImages),f=Math.floor((s+(c?u:-u))/o._numPreloadImages);if((d=(c?Math.max(d,f):Math.min(d,f))*o._numPreloadImages+(c?o._numPreloadImages-1:0))&gt;o.numSlides-1?d=o.numSlides-1:d&lt;0&amp;&amp;(d=0),(s=c?d-s:s-d)&gt;o._numPreloadImages&amp;&amp;(s=o._numPreloadImages),s+u&lt;l)for(o._idOffset+=(l-(s+u))*(c?-1:1),t*=1.4,s=0;s&lt;o.numSlides;s++)o.slides[s].positionSet=!1;o._currAnimSpeed=t,o._updateBlocksContent(!0),r||(a=!0);var h=(-i-o._idOffset)*o._slideSize;a?setTimeout(function(){o._isWorking=!1,o._animateTo(h,e,!1,n),o.ev.trigger("rsOnUpdateNav")},0):(o._animateTo(h,e,!1,n),o.ev.trigger("rsOnUpdateNav"))},_updateArrowsNav:function(){this.st.arrowsNav&amp;&amp;(this.numSlides&lt;=1?(this._arrowLeft.css("display","none"),this._arrowRight.css("display","none")):(this._arrowLeft.css("display","block"),this._arrowRight.css("display","block"),this._loop||this.st.loopRewind||(0===this.currSlideId?this._arrowLeft.addClass("rsArrowDisabled"):this._arrowLeft.removeClass("rsArrowDisabled"),this.currSlideId===this.numSlides-1?this._arrowRight.addClass("rsArrowDisabled"):this._arrowRight.removeClass("rsArrowDisabled"))))},_animateTo:function(e,t,n,i,r){function o(){var e;s&amp;&amp;(e=s.data("rsTimeout"))&amp;&amp;(s!==a&amp;&amp;s.css({opacity:0,display:"none",zIndex:0}),clearTimeout(e),s.data("rsTimeout","")),(e=a.data("rsTimeout"))&amp;&amp;(clearTimeout(e),a.data("rsTimeout",""))}var s,a,l=this,u={};isNaN(l._currAnimSpeed)&amp;&amp;(l._currAnimSpeed=400),l._sPosition=l._currRenderPosition=e,l.ev.trigger("rsBeforeAnimStart"),l._useCSS3Transitions?l._isMove?(l._currAnimSpeed=parseInt(l._currAnimSpeed,10),n=l._vendorPref+l._TTF,u[l._vendorPref+l._TD]=l._currAnimSpeed+"ms",u[n]=i?_.rsCSS3Easing[l.st.easeInOut]:_.rsCSS3Easing[l.st.easeOut],l._slidesContainer.css(u),i||!l.hasTouch?setTimeout(function(){l._setPosition(e)},5):l._setPosition(e)):(l._currAnimSpeed=l.st.transitionSpeed,s=l._oldHolder,(a=l._currHolder).data("rsTimeout")&amp;&amp;a.css("opacity",0),o(),s&amp;&amp;s.data("rsTimeout",setTimeout(function(){u[l._vendorPref+l._TD]="0ms",u.zIndex=0,u.display="none",s.data("rsTimeout",""),s.css(u),setTimeout(function(){s.css("opacity",0)},16)},l._currAnimSpeed+60)),u.display="block",u.zIndex=l._fadeZIndex,u.opacity=0,u[l._vendorPref+l._TD]="0ms",u[l._vendorPref+l._TTF]=_.rsCSS3Easing[l.st.easeInOut],a.css(u),a.data("rsTimeout",setTimeout(function(){a.css(l._vendorPref+l._TD,l._currAnimSpeed+"ms"),a.data("rsTimeout",setTimeout(function(){a.css("opacity",1),a.data("rsTimeout","")},20))},20))):l._isMove?(u[l._slidesHorizontal?l._xProp:l._yProp]=e+"px",l._slidesContainer.animate(u,l._currAnimSpeed,i?l.st.easeInOut:l.st.easeOut)):(s=l._oldHolder,(a=l._currHolder).stop(!0,!0).css({opacity:0,display:"block",zIndex:l._fadeZIndex}),l._currAnimSpeed=l.st.transitionSpeed,a.animate({opacity:1},l._currAnimSpeed,l.st.easeInOut),o(),s&amp;&amp;s.data("rsTimeout",setTimeout(function(){s.stop(!0,!0).css({opacity:0,display:"none",zIndex:0})},l._currAnimSpeed+60))),l._isAnimating=!0,l.loadingTimeout&amp;&amp;clearTimeout(l.loadingTimeout),l.loadingTimeout=r?setTimeout(function(){l.loadingTimeout=null,r.call()},l._currAnimSpeed+60):setTimeout(function(){l.loadingTimeout=null,l._animationComplete(t)},l._currAnimSpeed+60)},_stopAnimation:function(e){var t;this._isAnimating=!1,clearTimeout(this.loadingTimeout),this._isMove?this._useCSS3Transitions?e||(e=this._sPosition,t=this._currRenderPosition=this._getTransformProp(),this._slidesContainer.css(this._vendorPref+this._TD,"0ms"),e!==t&amp;&amp;this._setPosition(t)):(this._slidesContainer.stop(!0),this._sPosition=parseInt(this._slidesContainer.css(this._slidesHorizontal?this._xProp:this._yProp),10)):20&lt;this._fadeZIndex?this._fadeZIndex=10:this._fadeZIndex++},_getTransformProp:function(){var e=window.getComputedStyle(this._slidesContainer.get(0),null).getPropertyValue(this._vendorPref+"transform").replace(/^matrix\(/i,"").split(/, |\)$/g),t=0===e[0].indexOf("matrix3d");return parseInt(e[this._slidesHorizontal?t?12:4:t?13:5],10)},_getCSS3Prop:function(e,t){return this._useCSS3Transitions?this._tPref1+(t?e+this._tPref2+0:0+this._tPref2+e)+this._tPref3:e},_animationComplete:function(e){this._isMove||(this._currHolder.css("z-index",0),this._fadeZIndex=10),this._isAnimating=!1,this.staticSlideId=this.currSlideId,this._updateBlocksContent(),this._slidesMoved=!1,this.ev.trigger("rsAfterSlideChange")},_doBackAndForthAnim:function(e,t){var n,i=this,r=(-i._realId-i._idOffset)*i._slideSize;0===i.numSlides||i._isAnimating||(i.st.loopRewind?i.goTo("left"===e?i.numSlides-1:0,t):i._isMove&amp;&amp;(i._currAnimSpeed=200,n=function(){i._isAnimating=!1},i._animateTo(r+("left"===e?30:-30),"",!1,!0,function(){i._isAnimating=!1,i._animateTo(r,"",!1,!0,n)})))},_detectPassiveSupport:function(){var e=this;if(!e._passiveChecked){e._passiveChecked=!0,e._passiveParam=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e._passiveParam={passive:!1}}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(e){}}},_bindPassiveEvent:function(e,t,n,i){this._detectPassiveSupport(),t=t.split(" ");for(var r=0;r&lt;t.length;r++)t[r]&amp;&amp;2&lt;t[r].length&amp;&amp;e.addEventListener(t[r],n,!!i&amp;&amp;this._passiveParam)},_unbindPassiveEvent:function(e,t,n,i){this._detectPassiveSupport(),t=t.split(" ");for(var r=0;r&lt;t.length;r++)t[r]&amp;&amp;2&lt;t[r].length&amp;&amp;e.removeEventListener(t[r],n,!!i&amp;&amp;this._passiveParam)},_resizeImage:function(e,t){var n,i,r,o,s,a,l,u,c,d,f;e.isRendered||(n=e.content,i="rsMainSlideImage",r=_.isFunction(this.st.imageAlignCenter)?this.st.imageAlignCenter(e):this.st.imageAlignCenter,o=_.isFunction(this.st.imageScaleMode)?this.st.imageScaleMode(e):this.st.imageScaleMode,e.videoURL&amp;&amp;(i="rsVideoContainer","fill"!==o?s=!0:((a=n).hasClass(i)||(a=a.find("."+i)),a.css({width:"100%",height:"100%"}),i="rsMainSlideImage")),n.hasClass(i)||(n=n.find("."+i)),n&amp;&amp;(d=e.iW,f=e.iH,e.isRendered=!0,"none"===o&amp;&amp;!r||(i="fill"!==o?this._imagePadding:0,a=this._wrapWidth-2*i,l=this._wrapHeight-2*i,u={},"fit-if-smaller"===o&amp;&amp;(a&lt;d||l&lt;f)&amp;&amp;(o="fit"),"fill"!==o&amp;&amp;"fit"!==o||(c=a/d,e=l/f,c="fill"==o?e&lt;c?c:e:"fit"==o?c&lt;e?c:e:1,d=Math.ceil(d*c,10),f=Math.ceil(f*c,10)),"none"!==o&amp;&amp;(u.width=d,u.height=f,s&amp;&amp;n.find(".rsImg").css({width:"100%",height:"100%"})),r&amp;&amp;(u.marginLeft=Math.floor((a-d)/2)+i,u.marginTop=Math.floor((l-f)/2)+i),n.css(u))))}},_.rsProto=i.prototype,_.fn.royalSlider=function(t){var n=arguments;return this.each(function(){var e=_(this);if("object"!=typeof t&amp;&amp;t){if((e=e.data("royalSlider"))&amp;&amp;e[t])return e[t].apply(e,Array.prototype.slice.call(n,1))}else e.data("royalSlider")||e.data("royalSlider",new i(e,t))})},_.fn.royalSlider.defaults={slidesSpacing:8,startSlideId:0,loop:!1,loopRewind:!1,numImagesToPreload:4,fadeinLoadedSlide:!0,slidesOrientation:"horizontal",transitionType:"move",transitionSpeed:600,controlNavigation:"bullets",controlsInside:!0,arrowsNav:!0,arrowsNavAutoHide:!0,navigateByClick:!0,randomizeSlides:!1,sliderDrag:!0,sliderTouch:!0,keyboardNavEnabled:!1,fadeInAfterLoaded:!0,allowCSS3:!0,allowCSS3OnWebkit:!0,addActiveClass:!1,autoHeight:!1,easeOut:"easeOutSine",easeInOut:"easeInOutSine",minSlideOffset:10,imageScaleMode:"fit-if-smaller",imageAlignCenter:!0,imageScalePadding:4,usePreloader:!0,autoScaleSlider:!1,autoScaleSliderWidth:800,autoScaleSliderHeight:400,autoScaleHeight:!0,arrowsNavHideOnTouch:!1,globalCaption:!1,slidesDiff:2},_.rsCSS3Easing={easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"},_.extend(jQuery.easing,{easeInOutSine:function(e,t,n,i,r){return-i/2*(Math.cos(Math.PI*t/r)-1)+n},easeOutSine:function(e,t,n,i,r){return i*Math.sin(t/r*(Math.PI/2))+n},easeOutCubic:function(e,t,n,i,r){return i*((t=t/r-1)*t*t+1)+n}})}(jQuery,window),function(n){n.extend(n.rsProto,{_initBullets:function(){var i=this;"bullets"===i.st.controlNavigation&amp;&amp;(i.ev.one("rsAfterPropsSetup",function(){i._controlNavEnabled=!0,i.slider.addClass("rsWithBullets");for(var e='&lt;div class="rsNav rsBullets"&gt;',t=0;t&lt;i.numSlides;t++)e+='&lt;div class="rsNavItem rsBullet"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;';i._controlNav=e=n(e+"&lt;/div&gt;"),i._controlNavItems=e.appendTo(i.slider).children(),i._controlNav.on("click.rs",".rsNavItem",function(e){i._thumbsDrag||i.goTo(n(this).index())})}),i.ev.on("rsOnAppendSlide",function(e,t,n){n&gt;=i.numSlides?i._controlNav.append('&lt;div class="rsNavItem rsBullet"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;'):i._controlNavItems.eq(n).before('&lt;div class="rsNavItem rsBullet"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;'),i._controlNavItems=i._controlNav.children()}),i.ev.on("rsOnRemoveSlide",function(e,t){t=i._controlNavItems.eq(t);t&amp;&amp;t.length&amp;&amp;(t.remove(),i._controlNavItems=i._controlNav.children())}),i.ev.on("rsOnUpdateNav",function(){var e=i.currSlideId;i._prevNavItem&amp;&amp;i._prevNavItem.removeClass("rsNavSelected"),(e=i._controlNavItems.eq(e)).addClass("rsNavSelected"),i._prevNavItem=e}))}}),n.rsModules.bullets=n.rsProto._initBullets}(jQuery),function(l){l.extend(l.rsProto,{_initThumbs:function(){var i=this;"thumbnails"===i.st.controlNavigation&amp;&amp;(i._thumbsDefaults={drag:!0,touch:!0,orientation:"horizontal",navigation:!0,arrows:!0,arrowLeft:null,arrowRight:null,spacing:4,arrowsAutoHide:!1,appendSpan:!1,transitionSpeed:600,autoCenter:!0,fitInViewport:!0,firstMargin:!0,paddingTop:0,paddingBottom:0},i.st.thumbs=l.extend({},i._thumbsDefaults,i.st.thumbs),!(i._firstThumbMoved=!0)===i.st.thumbs.firstMargin?i.st.thumbs.firstMargin=0:!0===i.st.thumbs.firstMargin&amp;&amp;(i.st.thumbs.firstMargin=i.st.thumbs.spacing),i.ev.on("rsBeforeParseNode",function(e,t,n){t=l(t),n.thumbnail=t.find(".rsTmb").remove(),n.thumbnail.length?n.thumbnail=l(document.createElement("div")).append(n.thumbnail).html():(n.thumbnail=t.attr("data-rsTmb"),n.thumbnail||(n.thumbnail=t.find(".rsImg").attr("data-rsTmb")),n.thumbnail=n.thumbnail?'&lt;img src="'+n.thumbnail+'" alt="Slider Image"/&gt;':"")}),i.ev.one("rsAfterPropsSetup",function(){i._createThumbs()}),i._prevNavItem=null,i.ev.on("rsOnUpdateNav",function(){var e=l(i._controlNavItems[i.currSlideId]);e!==i._prevNavItem&amp;&amp;(i._prevNavItem&amp;&amp;(i._prevNavItem.removeClass("rsNavSelected"),i._prevNavItem=null),i._thumbsNavigation&amp;&amp;i._setCurrentThumb(i.currSlideId),i._prevNavItem=e.addClass("rsNavSelected"))}),i.ev.on("rsOnAppendSlide",function(e,t,n){e="&lt;div"+i._thumbsMargin+' class="rsNavItem rsThumb"&gt;'+i._addThumbHTML+t.thumbnail+"&lt;/div&gt;",i._useCSS3Transitions&amp;&amp;i._thumbsContainer.css(i._vendorPref+"transition-duration","0ms"),n&gt;=i.numSlides?i._thumbsContainer.append(e):i._controlNavItems.eq(n).before(e),i._controlNavItems=i._thumbsContainer.children(),i.updateThumbsSize(!0)}),i.ev.on("rsOnRemoveSlide",function(e,t){t=i._controlNavItems.eq(t);t&amp;&amp;(i._useCSS3Transitions&amp;&amp;i._thumbsContainer.css(i._vendorPref+"transition-duration","0ms"),t.remove(),i._controlNavItems=i._thumbsContainer.children(),i.updateThumbsSize(!0))}))},_createThumbs:function(){var e,n=this,t="rsThumbs",i=n.st.thumbs,r="",o=i.spacing;n._controlNavEnabled=!0,n._thumbsHorizontal="vertical"!==i.orientation,n._thumbsMargin=e=o?' style="margin-'+(n._thumbsHorizontal?"right":"bottom")+":"+o+'px;"':"",n._thumbsPosition=0,n._isThumbsAnimating=!1,n._thumbsDrag=!1,n._thumbsNavigation=!1,n._thumbsArrows=i.arrows&amp;&amp;i.navigation;var s=n._thumbsHorizontal?"Hor":"Ver";n.slider.addClass("rsWithThumbs rsWithThumbs"+s),r+='&lt;div class="rsNav rsThumbs rsThumbs'+s+'"&gt;&lt;div class="rsThumbsContainer"&gt;',n._addThumbHTML=i.appendSpan?'&lt;span class="thumbIco"&gt;&lt;/span&gt;':"";for(var a=0;a&lt;n.numSlides;a++)r+="&lt;div"+e+' class="rsNavItem rsThumb"&gt;'+n.slides[a].thumbnail+n._addThumbHTML+"&lt;/div&gt;";r=l(r+"&lt;/div&gt;&lt;/div&gt;"),e={},i.paddingTop&amp;&amp;(e[n._thumbsHorizontal?"paddingTop":"paddingLeft"]=i.paddingTop),i.paddingBottom&amp;&amp;(e[n._thumbsHorizontal?"paddingBottom":"paddingRight"]=i.paddingBottom),r.css(e),n._thumbsContainer=l(r).find(".rsThumbsContainer"),n._thumbsArrows&amp;&amp;(t+="Arrow",i.arrowLeft?n._thumbsArrowLeft=i.arrowLeft:(n._thumbsArrowLeft=l('&lt;div class="'+t+" "+t+'Left"&gt;&lt;div class="'+t+'Icn"&gt;&lt;/div&gt;&lt;/div&gt;'),r.append(n._thumbsArrowLeft)),i.arrowRight?n._thumbsArrowRight=i.arrowRight:(n._thumbsArrowRight=l('&lt;div class="'+t+" "+t+'Right"&gt;&lt;div class="'+t+'Icn"&gt;&lt;/div&gt;&lt;/div&gt;'),r.append(n._thumbsArrowRight)),n._thumbsArrowLeft.click(function(){var e=(Math.floor(n._thumbsPosition/n._thumbSize)+n._visibleThumbsPerView)*n._thumbSize+n.st.thumbs.firstMargin;n._animateThumbsTo(e&gt;n._thumbsMinPosition?n._thumbsMinPosition:e)}),n._thumbsArrowRight.click(function(){var e=(Math.floor(n._thumbsPosition/n._thumbSize)-n._visibleThumbsPerView)*n._thumbSize+n.st.thumbs.firstMargin;n._animateThumbsTo(e&lt;n._thumbsMaxPosition?n._thumbsMaxPosition:e)}),i.arrowsAutoHide&amp;&amp;!n.hasTouch&amp;&amp;(n._thumbsArrowLeft.css("opacity",0),n._thumbsArrowRight.css("opacity",0),r.one("mousemove.rsarrowshover",function(){n._thumbsNavigation&amp;&amp;(n._thumbsArrowLeft.css("opacity",1),n._thumbsArrowRight.css("opacity",1))}),r.hover(function(){n._thumbsNavigation&amp;&amp;(n._thumbsArrowLeft.css("opacity",1),n._thumbsArrowRight.css("opacity",1))},function(){n._thumbsNavigation&amp;&amp;(n._thumbsArrowLeft.css("opacity",0),n._thumbsArrowRight.css("opacity",0))}))),n._controlNav=r,n._controlNavItems=n._thumbsContainer.children(),n.msEnabled&amp;&amp;n.st.thumbs.navigation&amp;&amp;n._thumbsContainer.css("-ms-touch-action",n._thumbsHorizontal?"pan-y":"pan-x"),n.slider.append(r),n._thumbsEnabled=!0,n._thumbsSpacing=o,i.navigation&amp;&amp;n._useCSS3Transitions&amp;&amp;n._thumbsContainer.css(n._vendorPref+"transition-property",n._vendorPref+"transform"),n._controlNav.on("click.rs",".rsNavItem",function(e){n._thumbsDrag||n.goTo(l(this).index())}),n.ev.off("rsBeforeSizeSet.thumbs").on("rsBeforeSizeSet.thumbs",function(){n._realWrapSize=n._thumbsHorizontal?n._wrapHeight:n._wrapWidth,n.updateThumbsSize(!0)}),n.ev.off("rsAutoHeightChange.thumbs").on("rsAutoHeightChange.thumbs",function(e,t){n.updateThumbsSize(!0,t)})},updateThumbsSize:function(e,t){var n=this._controlNavItems.first(),i={},r=this._controlNavItems.length;this._thumbSize=(this._thumbsHorizontal?n.outerWidth():n.outerHeight())+this._thumbsSpacing,this._thumbsContainerSize=r*this._thumbSize-this._thumbsSpacing,i[this._thumbsHorizontal?"width":"height"]=this._thumbsContainerSize+this._thumbsSpacing,this._thumbsViewportSize=this._thumbsHorizontal?this._controlNav.width():void 0!==t?t:this._controlNav.height(),this._thumbsEnabled&amp;&amp;(this.isFullscreen||this.st.thumbs.fitInViewport)&amp;&amp;(this._thumbsHorizontal?this._wrapHeight=this._realWrapSize-this._controlNav.outerHeight():this._wrapWidth=this._realWrapSize-this._controlNav.outerWidth()),this._thumbsViewportSize&amp;&amp;(this._thumbsMaxPosition=-(this._thumbsContainerSize-this._thumbsViewportSize)-this.st.thumbs.firstMargin,this._thumbsMinPosition=this.st.thumbs.firstMargin,this._visibleThumbsPerView=Math.floor(this._thumbsViewportSize/this._thumbSize),this._thumbsContainerSize&lt;this._thumbsViewportSize?(this.st.thumbs.autoCenter?this._setThumbsPosition((this._thumbsViewportSize-this._thumbsContainerSize)/2):this._setThumbsPosition(this._thumbsMinPosition),this.st.thumbs.arrows&amp;&amp;this._thumbsArrowLeft&amp;&amp;(this._thumbsArrowLeft.addClass("rsThumbsArrowDisabled"),this._thumbsArrowRight.addClass("rsThumbsArrowDisabled")),this._thumbsDrag=this._thumbsNavigation=!1,this._unbindPassiveEvent(this._controlNav[0],this._downEvent,this._eventCallbacks.dragStartThumb,!1)):this.st.thumbs.navigation&amp;&amp;!this._thumbsNavigation&amp;&amp;(this._thumbsNavigation=!0,!this.hasTouch&amp;&amp;this.st.thumbs.drag||this.hasTouch&amp;&amp;this.st.thumbs.touch)&amp;&amp;(this._thumbsDrag=!0,this._bindPassiveEvent(this._controlNav[0],this._downEvent,this._eventCallbacks.dragStartThumb,!1)),this._thumbsContainer.css(i),e&amp;&amp;t&amp;&amp;this._setCurrentThumb(this.currSlideId,!0))},setThumbsOrientation:function(e,t){this._thumbsEnabled&amp;&amp;(this.st.thumbs.orientation=e,this._controlNav.remove(),this.slider.removeClass("rsWithThumbsHor rsWithThumbsVer"),this._createThumbs(),this._unbindPassiveEvent(this._controlNav[0],this._downEvent,this._eventCallbacks.dragStartThumb,!1),t||this.updateSliderSize(!0))},_setThumbsPosition:function(e){this._thumbsPosition=e,this._useCSS3Transitions?this._thumbsContainer.css(this._xProp,this._tPref1+(this._thumbsHorizontal?e+this._tPref2+0:0+this._tPref2+e)+this._tPref3):this._thumbsContainer.css(this._thumbsHorizontal?this._xProp:this._yProp,e)},_animateThumbsTo:function(e,t,n,i,r){var o,s=this;s._thumbsNavigation&amp;&amp;(t=t||s.st.thumbs.transitionSpeed,s._thumbsPosition=e,s._thumbsAnimTimeout&amp;&amp;clearTimeout(s._thumbsAnimTimeout),s._isThumbsAnimating&amp;&amp;(s._useCSS3Transitions||s._thumbsContainer.stop(),n=!0),o={},s._isThumbsAnimating=!0,s._useCSS3Transitions?(o[s._vendorPref+"transition-duration"]=t+"ms",o[s._vendorPref+"transition-timing-function"]=n?l.rsCSS3Easing[s.st.easeOut]:l.rsCSS3Easing[s.st.easeInOut],s._thumbsContainer.css(o),s._setThumbsPosition(e)):(o[s._thumbsHorizontal?s._xProp:s._yProp]=e+"px",s._thumbsContainer.animate(o,t,n?"easeOutCubic":s.st.easeInOut)),i&amp;&amp;(s._thumbsPosition=i),s._updateThumbsArrows(),s._thumbsAnimTimeout=setTimeout(function(){s._isThumbsAnimating=!1,r&amp;&amp;(s._animateThumbsTo(i,r,!0),r=null)},t))},_updateThumbsArrows:function(){this._thumbsArrows&amp;&amp;(this._thumbsPosition===this._thumbsMinPosition?this._thumbsArrowLeft.addClass("rsThumbsArrowDisabled"):this._thumbsArrowLeft.removeClass("rsThumbsArrowDisabled"),this._thumbsPosition===this._thumbsMaxPosition?this._thumbsArrowRight.addClass("rsThumbsArrowDisabled"):this._thumbsArrowRight.removeClass("rsThumbsArrowDisabled"))},_setCurrentThumb:function(e,t){var n,i=0,r=e*this._thumbSize+2*this._thumbSize-this._thumbsSpacing+this._thumbsMinPosition;this._thumbsNavigation&amp;&amp;(this._firstThumbMoved&amp;&amp;(t=!0,this._firstThumbMoved=!1),r+this._thumbsPosition&gt;this._thumbsViewportSize?(e===this.numSlides-1&amp;&amp;(i=1),n=(n=-e+this._visibleThumbsPerView-2+i)*this._thumbSize+this._thumbsViewportSize%this._thumbSize+this._thumbsSpacing-this._thumbsMinPosition):0!==e?(e-1)*this._thumbSize&lt;=-this._thumbsPosition+this._thumbsMinPosition&amp;&amp;e-1&lt;=this.numSlides-this._visibleThumbsPerView&amp;&amp;(n=(1-e)*this._thumbSize+this._thumbsMinPosition):n=this._thumbsMinPosition,n!==this._thumbsPosition&amp;&amp;((i=void 0===n?this._thumbsPosition:n)&gt;this._thumbsMinPosition?this._setThumbsPosition(this._thumbsMinPosition):i&lt;this._thumbsMaxPosition?this._setThumbsPosition(this._thumbsMaxPosition):void 0!==n&amp;&amp;(t?this._setThumbsPosition(n):this._animateThumbsTo(n))),this._updateThumbsArrows())}}),l.rsModules.thumbnails=l.rsProto._initThumbs}(jQuery),function(r){r.extend(r.rsProto,{_initTabs:function(){var i=this;"tabs"===i.st.controlNavigation&amp;&amp;(i.ev.on("rsBeforeParseNode",function(e,t,n){t=r(t),n.thumbnail=t.find(".rsTmb").remove(),n.thumbnail.length?n.thumbnail=r(document.createElement("div")).append(n.thumbnail).html():(n.thumbnail=t.attr("data-rsTmb"),n.thumbnail||(n.thumbnail=t.find(".rsImg").attr("data-rsTmb")),n.thumbnail=n.thumbnail?'&lt;img src="'+n.thumbnail+'" alt="Slider Image"/&gt;':"")}),i.ev.one("rsAfterPropsSetup",function(){i._createTabs()}),i.ev.on("rsOnAppendSlide",function(e,t,n){n&gt;=i.numSlides?i._controlNav.append('&lt;div class="rsNavItem rsTab"&gt;'+t.thumbnail+"&lt;/div&gt;"):i._controlNavItems.eq(n).before('&lt;div class="rsNavItem rsTab"&gt;'+item.thumbnail+"&lt;/div&gt;"),i._controlNavItems=i._controlNav.children()}),i.ev.on("rsOnRemoveSlide",function(e,t){t=i._controlNavItems.eq(t);t&amp;&amp;(t.remove(),i._controlNavItems=i._controlNav.children())}),i.ev.on("rsOnUpdateNav",function(){var e=i.currSlideId;i._prevNavItem&amp;&amp;i._prevNavItem.removeClass("rsNavSelected"),(e=i._controlNavItems.eq(e)).addClass("rsNavSelected"),i._prevNavItem=e}))},_createTabs:function(){var t=this;t._controlNavEnabled=!0;for(var e='&lt;div class="rsNav rsTabs"&gt;',n=0;n&lt;t.numSlides;n++)e+='&lt;div class="rsNavItem rsTab"&gt;'+t.slides[n].thumbnail+"&lt;/div&gt;";e=r(e+"&lt;/div&gt;"),t._controlNav=e,t._controlNavItems=e.children(".rsNavItem"),t.slider.append(e),t._controlNav.click(function(e){(e=r(e.target).closest(".rsNavItem")).length&amp;&amp;t.goTo(e.index())})}}),r.rsModules.tabs=r.rsProto._initTabs}(jQuery),function(o){o.extend(o.rsProto,{_initFullscreen:function(){var e=this;e._fullscreenDefaults={enabled:!1,keyboardNav:!0,buttonFS:!0,nativeFS:!1,doubleTap:!0},e.st.fullscreen=o.extend({},e._fullscreenDefaults,e.st.fullscreen),e.st.fullscreen.enabled&amp;&amp;e.ev.one("rsBeforeSizeSet",function(){e._setupFullscreen()})},_setupFullscreen:function(){var e=this;if(e._fsKeyboard=!e.st.keyboardNavEnabled&amp;&amp;e.st.fullscreen.keyboardNav,e.st.fullscreen.nativeFS){var t={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},n=["webkit","moz","o","ms","khtml"];if(void 0!==document.cancelFullScreen)t.supportsFullScreen=!0;else for(var i=0,r=n.length;i&lt;r;i++)if(t.prefix=n[i],void 0!==document[t.prefix+"CancelFullScreen"]){t.supportsFullScreen=!0;break}t.supportsFullScreen?(e.nativeFS=!0,t.fullScreenEventName=t.prefix+"fullscreenchange"+e.ns,t.isFullScreen=function(){switch(this.prefix){case"":return document.fullScreen;case"webkit":return document.webkitIsFullScreen;default:return document[this.prefix+"FullScreen"]}},t.requestFullScreen=function(e){return""===this.prefix?e.requestFullScreen():e[this.prefix+"RequestFullScreen"]()},t.cancelFullScreen=function(e){return""===this.prefix?document.cancelFullScreen():document[this.prefix+"CancelFullScreen"]()},e._fullScreenApi=t):e._fullScreenApi=!1}e.st.fullscreen.buttonFS&amp;&amp;(e._fsBtn=o('&lt;div class="rsFullscreenBtn"&gt;&lt;div class="rsFullscreenIcn"&gt;&lt;/div&gt;&lt;/div&gt;').appendTo(e._controlsContainer).on("click.rs",function(){e.isFullscreen?e.exitFullscreen():e.enterFullscreen()}))},enterFullscreen:function(e){var t,n=this;if(n._fullScreenApi){if(!e)return n._doc.on(n._fullScreenApi.fullScreenEventName,function(e){n._fullScreenApi.isFullScreen()?n.enterFullscreen(!0):n.exitFullscreen(!0)}),void n._fullScreenApi.requestFullScreen(o("html")[0]);n._fullScreenApi.requestFullScreen(o("html")[0])}if(!n._isFullscreenUpdating){for(n._isFullscreenUpdating=!0,n._doc.on("keyup"+n.ns+"fullscreen",function(e){27===e.keyCode&amp;&amp;n.exitFullscreen()}),n._fsKeyboard&amp;&amp;n._bindKeyboardNav(),e=o(window),n._fsScrollTopOnEnter=e.scrollTop(),n._fsScrollLeftOnEnter=e.scrollLeft(),n._htmlStyle=o("html").attr("style"),n._bodyStyle=o("body").attr("style"),n._sliderStyle=n.slider.attr("style"),o("body, html").css({overflow:"hidden",height:"100%",width:"100%",margin:"0",padding:"0"}),n.slider.addClass("rsFullscreen"),t=0;t&lt;n.numSlides;t++)(e=n.slides[t]).isRendered=!1,e.bigImage&amp;&amp;(e.isBig=!0,e.isMedLoaded=e.isLoaded,e.isMedLoading=e.isLoading,e.medImage=e.image,e.medIW=e.iW,e.medIH=e.iH,e.slideId=-99,e.bigImage!==e.medImage&amp;&amp;(e.sizeType="big"),e.isLoaded=e.isBigLoaded,e.isLoading=!1,e.image=e.bigImage,e.images[0]=e.bigImage,e.iW=e.bigIW,e.iH=e.bigIH,e.isAppended=e.contentAdded=!1,n._updateItemSrc(e));n.isFullscreen=!0,n._isFullscreenUpdating=!1,n.updateSliderSize(),n.ev.trigger("rsEnterFullscreen")}},exitFullscreen:function(e){var t,n=this;if(n._fullScreenApi){if(!e)return void n._fullScreenApi.cancelFullScreen(o("html")[0]);n._doc.off(n._fullScreenApi.fullScreenEventName)}if(!n._isFullscreenUpdating){for(n._isFullscreenUpdating=!0,n._doc.off("keyup"+n.ns+"fullscreen"),n._fsKeyboard&amp;&amp;n._doc.off("keydown"+n.ns),o("html").attr("style",n._htmlStyle||""),o("body").attr("style",n._bodyStyle||""),t=0;t&lt;n.numSlides;t++)(e=n.slides[t]).isRendered=!1,e.bigImage&amp;&amp;(e.isBig=!1,e.slideId=-99,e.isBigLoaded=e.isLoaded,e.isBigLoading=e.isLoading,e.bigImage=e.image,e.bigIW=e.iW,e.bigIH=e.iH,e.isLoaded=e.isMedLoaded,e.isLoading=!1,e.image=e.medImage,e.images[0]=e.medImage,e.iW=e.medIW,e.iH=e.medIH,e.isAppended=e.contentAdded=!1,n._updateItemSrc(e,!0),e.bigImage!==e.medImage&amp;&amp;(e.sizeType="med"));n.isFullscreen=!1,(e=o(window)).scrollTop(n._fsScrollTopOnEnter),e.scrollLeft(n._fsScrollLeftOnEnter),n._isFullscreenUpdating=!1,n.slider.removeClass("rsFullscreen"),n.updateSliderSize(),setTimeout(function(){n.updateSliderSize()},1),n.ev.trigger("rsExitFullscreen")}},_updateItemSrc:function(e,t){var n=e.isLoaded||e.isLoading?'&lt;img class="rsImg rsMainSlideImage" alt="Slider image 2" src="'+e.image+'"/&gt;':'&lt;a class="rsImg rsMainSlideImage" href="'+e.image+'"&gt;&lt;/a&gt;';e.content.hasClass("rsImg")?e.content=o(n):e.content.find(".rsImg").eq(0).replaceWith(n),e.isLoaded||e.isLoading||!e.holder||e.holder.html(e.content)}}),o.rsModules.fullscreen=o.rsProto._initFullscreen}(jQuery),function(r){r.extend(r.rsProto,{_initAutoplay:function(){var i,e=this;e._autoPlayDefaults={enabled:!1,stopAtAction:!0,pauseOnHover:!0,delay:2e3},!e.st.autoPlay&amp;&amp;e.st.autoplay&amp;&amp;(e.st.autoPlay=e.st.autoplay),e.st.autoPlay=r.extend({},e._autoPlayDefaults,e.st.autoPlay),e.st.autoPlay.enabled&amp;&amp;(e.ev.on("rsBeforeParseNode",function(e,t,n){t=r(t),(i=t.attr("data-rsDelay"))&amp;&amp;(n.customDelay=parseInt(i,10))}),e.ev.one("rsAfterInit",function(){e._setupAutoPlay()}),e.ev.on("rsBeforeDestroy",function(){e.stopAutoPlay(),e.slider.off("mouseenter mouseleave"),r(window).off("blur"+e.ns+" focus"+e.ns)}))},_setupAutoPlay:function(){var i=this;i.startAutoPlay(),i.ev.on("rsAfterContentSet",function(e,t){i._isDragging||i._isAnimating||!i._autoPlayEnabled||t!==i.currSlide||i._play()}),i.ev.on("rsDragRelease",function(){i._autoPlayEnabled&amp;&amp;i._autoPlayPaused&amp;&amp;(i._autoPlayPaused=!1,i._play())}),i.ev.on("rsAfterSlideChange",function(){i._autoPlayEnabled&amp;&amp;i._autoPlayPaused&amp;&amp;(i._autoPlayPaused=!1,i.currSlide.isLoaded&amp;&amp;i._play())}),i.ev.on("rsDragStart",function(){i._autoPlayEnabled&amp;&amp;(i.st.autoPlay.stopAtAction?i.stopAutoPlay():(i._autoPlayPaused=!0,i._pause()))}),i.ev.on("rsBeforeMove",function(e,t,n){i._autoPlayEnabled&amp;&amp;(n&amp;&amp;i.st.autoPlay.stopAtAction?i.stopAutoPlay():(i._autoPlayPaused=!0,i._pause()))}),i._pausedByVideo=!1,i.ev.on("rsVideoStop",function(){i._autoPlayEnabled&amp;&amp;(i._pausedByVideo=!1,i._play())}),i.ev.on("rsVideoPlay",function(){i._autoPlayEnabled&amp;&amp;(i._autoPlayPaused=!1,i._pause(),i._pausedByVideo=!0)}),r(window).on("blur"+i.ns,function(){i._autoPlayEnabled&amp;&amp;(i._autoPlayPaused=!0,i._pause())}).on("focus"+i.ns,function(){i._autoPlayEnabled&amp;&amp;i._autoPlayPaused&amp;&amp;(i._autoPlayPaused=!1,i._play())}),i.st.autoPlay.pauseOnHover&amp;&amp;(i._pausedByHover=!1,i.slider.hover(function(){i._autoPlayEnabled&amp;&amp;(i._autoPlayPaused=!1,i._pause(),i._pausedByHover=!0)},function(){i._autoPlayEnabled&amp;&amp;(i._pausedByHover=!1,i._play())}))},toggleAutoPlay:function(){this._autoPlayEnabled?this.stopAutoPlay():this.startAutoPlay()},startAutoPlay:function(){this._autoPlayEnabled=!0,this.currSlide.isLoaded&amp;&amp;this._play()},stopAutoPlay:function(){this._pausedByVideo=this._pausedByHover=this._autoPlayPaused=this._autoPlayEnabled=!1,this._pause()},_play:function(){var t=this;t._pausedByHover||t._pausedByVideo||(t._autoPlayRunning=!0,t._autoPlayTimeout&amp;&amp;clearTimeout(t._autoPlayTimeout),t._autoPlayTimeout=setTimeout(function(){var e;t._loop||t.st.loopRewind||(e=!0,t.st.loopRewind=!0),t.next(!0),e&amp;&amp;(t.st.loopRewind=!1)},t.currSlide.customDelay||t.st.autoPlay.delay))},_pause:function(){this._pausedByHover||this._pausedByVideo||(this._autoPlayRunning=!1,this._autoPlayTimeout&amp;&amp;(clearTimeout(this._autoPlayTimeout),this._autoPlayTimeout=null))}}),r.rsModules.autoplay=r.rsProto._initAutoplay}(jQuery),function(s){s.extend(s.rsProto,{_initVideo:function(){var r=this;r._videoDefaults={autoHideArrows:!0,autoHideControlNav:!1,autoHideBlocks:!1,autoHideCaption:!1,disableCSS3inFF:!0,youTubeCode:'&lt;iframe src="https://www.youtube.com/embed/%id%?rel=1&amp;showinfo=0&amp;autoplay=1&amp;wmode=transparent" frameborder="no"&gt;&lt;/iframe&gt;',vimeoCode:'&lt;iframe src="https://player.vimeo.com/video/%id%?byline=0&amp;portrait=0&amp;autoplay=1" frameborder="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen&gt;&lt;/iframe&gt;'},r.st.video=s.extend({},r._videoDefaults,r.st.video),r.ev.on("rsBeforeSizeSet",function(){r._isVideoPlaying&amp;&amp;setTimeout(function(){var e=(e=r._currHolder).hasClass("rsVideoContainer")?e:e.find(".rsVideoContainer");r._videoFrameHolder&amp;&amp;r._videoFrameHolder.css({width:e.width(),height:e.height()})},32)});var o=r._browser.mozilla;r.ev.on("rsAfterParseNode",function(e,t,n){var i;e=s(t),n.videoURL&amp;&amp;(r.st.video.disableCSS3inFF&amp;&amp;o&amp;&amp;(r._useCSS3Transitions=r._use3dTransform=!1),t=s('&lt;div class="rsVideoContainer"&gt;&lt;/div&gt;'),i=s('&lt;div class="rsBtnCenterer"&gt;&lt;div class="rsPlayBtn"&gt;&lt;div class="rsPlayBtnIcon"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;'),e.hasClass("rsImg")?n.content=t.append(e).append(i):n.content.find(".rsImg").wrap(t).after(i))}),r.ev.on("rsAfterSlideChange",function(){r.stopVideo()})},toggleVideo:function(){return this._isVideoPlaying?this.stopVideo():this.playVideo()},playVideo:function(){var t=this;if(t._isVideoPlaying)return!1;var e=t.currSlide;if(!e.videoURL)return!1;t._playingVideoSlide=e;var n,i,r=t._currVideoContent=e.content;return(e=e.videoURL).match(/youtu\.be/i)||e.match(/youtube\.com/i)?(i=/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&amp;v=)([^#&amp;\?]*).*/,(i=e.match(i))&amp;&amp;11==i[2].length&amp;&amp;(n=i[2]),void 0!==n&amp;&amp;(t._videoFrameHolder=t.st.video.youTubeCode.replace("%id%",n))):e.match(/vimeo\.com/i)&amp;&amp;(i=/(www\.)?vimeo.com\/(\d+)($|\/)/,(i=e.match(i))&amp;&amp;(n=i[2]),void 0!==n&amp;&amp;(t._videoFrameHolder=t.st.video.vimeoCode.replace("%id%",n))),t.videoObj=s(t._videoFrameHolder),t.ev.trigger("rsOnCreateVideoElement",[e]),t.videoObj.length&amp;&amp;(t._videoFrameHolder=s('&lt;div class="rsVideoFrameHolder"&gt;&lt;div class="rsPreloader"&gt;&lt;/div&gt;&lt;div class="rsCloseVideoBtn"&gt;&lt;div class="rsCloseVideoIcn"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;'),t._videoFrameHolder.find(".rsPreloader").after(t.videoObj),r=r.hasClass("rsVideoContainer")?r:r.find(".rsVideoContainer"),t._videoFrameHolder.css({width:r.width(),height:r.height()}).find(".rsCloseVideoBtn").off("click.rsv").on("click.rsv",function(e){return t.stopVideo(),e.preventDefault(),e.stopPropagation(),!1}),r.append(t._videoFrameHolder),t.isIPAD&amp;&amp;r.addClass("rsIOSVideo"),t._toggleHiddenClass(!1),setTimeout(function(){t._videoFrameHolder.addClass("rsVideoActive")},10),t.ev.trigger("rsVideoPlay"),t._isVideoPlaying=!0),!0},stopVideo:function(){var t=this;return!!t._isVideoPlaying&amp;&amp;(t.isIPAD&amp;&amp;t.slider.find(".rsCloseVideoBtn").remove(),t._toggleHiddenClass(!0),setTimeout(function(){t.ev.trigger("rsOnDestroyVideoElement",[t.videoObj]);var e=t._videoFrameHolder.find("iframe");if(e.length)try{e.attr("src","")}catch(e){}t._videoFrameHolder.remove(),t._videoFrameHolder=null},16),t.ev.trigger("rsVideoStop"),!(t._isVideoPlaying=!1))},_toggleHiddenClass:function(e,t){var n=[],i=this.st.video;if(i.autoHideArrows&amp;&amp;(this._arrowLeft&amp;&amp;(n.push(this._arrowLeft,this._arrowRight),this._arrowsAutoHideLocked=!e),this._fsBtn&amp;&amp;n.push(this._fsBtn)),i.autoHideControlNav&amp;&amp;this._controlNav&amp;&amp;n.push(this._controlNav),i.autoHideBlocks&amp;&amp;this._playingVideoSlide.animBlocks&amp;&amp;n.push(this._playingVideoSlide.animBlocks),i.autoHideCaption&amp;&amp;this.globalCaption&amp;&amp;n.push(this.globalCaption),this.slider[e?"removeClass":"addClass"]("rsVideoPlaying"),n.length)for(i=0;i&lt;n.length;i++)e?n[i].removeClass("rsHidden"):n[i].addClass("rsHidden")}}),s.rsModules.video=s.rsProto._initVideo}(jQuery),function(g){g.extend(g.rsProto,{_initAnimatedBlocks:function(){function n(){var e,t=r.currSlide;if(r.currSlide&amp;&amp;r.currSlide.isLoaded&amp;&amp;r._slideWithBlocks!==t){if(0&lt;r._animatedBlockTimeouts.length){for(i=0;i&lt;r._animatedBlockTimeouts.length;i++)clearTimeout(r._animatedBlockTimeouts[i]);r._animatedBlockTimeouts=[]}if(0&lt;r._blockAnimProps.length){for(i=0;i&lt;r._blockAnimProps.length;i++)(e=r._blockAnimProps[i])&amp;&amp;(r._useCSS3Transitions?(e.block.css(r._vendorPref+r._TD,"0s"),e.block.css(e.css)):e.block.stop(!0).css(e.css),r._slideWithBlocks=null,t.animBlocksDisplayed=!1);r._blockAnimProps=[]}t.animBlocks&amp;&amp;(t.animBlocksDisplayed=!0,r._slideWithBlocks=t,r._animateBlocks(t.animBlocks))}}var i,r=this;r._blockDefaults={fadeEffect:!0,moveEffect:"top",moveOffset:20,speed:400,easing:"easeOutSine",delay:200},r.st.block=g.extend({},r._blockDefaults,r.st.block),r._blockAnimProps=[],r._animatedBlockTimeouts=[],r.ev.on("rsAfterInit",function(){n()}),r.ev.on("rsBeforeParseNode",function(e,t,n){t=g(t),n.animBlocks=t.find(".rsABlock").css("display","none"),n.animBlocks.length||(t.hasClass("rsABlock")?n.animBlocks=t.css("display","none"):n.animBlocks=!1)}),r.ev.on("rsAfterContentSet",function(e,t){t.id===r.slides[r.currSlideId].id&amp;&amp;setTimeout(function(){n()},r.st.fadeinLoadedSlide?300:0)}),r.ev.on("rsAfterSlideChange",function(){n()})},_updateAnimBlockProps:function(e,t){setTimeout(function(){e.css(t)},6)},_animateBlocks:function(e){var l,u,c,d,f,h,p,m=this;m._animatedBlockTimeouts=[],e.each(function(e){l=g(this),u={},c={},d=null;var t,n,i,r,o,s,a=l.attr("data-move-offset");0&lt;(a=a?parseInt(a,10):m.st.block.moveOffset)&amp;&amp;((h=l.data("move-effect"))?"none"===(h=h.toLowerCase())?h=!1:"left"!==h&amp;&amp;"top"!==h&amp;&amp;"bottom"!==h&amp;&amp;"right"!==h&amp;&amp;("none"===(h=m.st.block.moveEffect)&amp;&amp;(h=!1)):h=m.st.block.moveEffect,h&amp;&amp;"none"!==h)&amp;&amp;(t="right"===h||"left"===h,p=!1,m._useCSS3Transitions?(n=0,f=m._xProp):(t?isNaN(parseInt(l.css("right"),10))?f="left":(f="right",p=!0):isNaN(parseInt(l.css("bottom"),10))?f="top":(f="bottom",p=!0),f="margin-"+f,p&amp;&amp;(a=-a),m._useCSS3Transitions?n=parseInt(l.css(f),10):void 0===(n=l.data("rs-start-move-prop"))&amp;&amp;(n=parseInt(l.css(f),10),isNaN(n)&amp;&amp;(n=0),l.data("rs-start-move-prop",n))),c[f]=m._getCSS3Prop("top"===h||"left"===h?n-a:n+a,t),u[f]=m._getCSS3Prop(n,t)),(a=l.attr("data-fade-effect"))?"none"!==a.toLowerCase()&amp;&amp;"false"!==a.toLowerCase()||(a=!1):a=m.st.block.fadeEffect,a&amp;&amp;(c.opacity=0,u.opacity=1),(a||h)&amp;&amp;((d={}).hasFade=!!a,h&amp;&amp;(d.moveProp=f,d.hasMove=!0),d.speed=l.data("speed"),isNaN(d.speed)&amp;&amp;(d.speed=m.st.block.speed),d.easing=l.data("easing"),d.easing||(d.easing=m.st.block.easing),d.css3Easing=g.rsCSS3Easing[d.easing],d.delay=l.data("delay"),isNaN(d.delay)&amp;&amp;(d.delay=m.st.block.delay*e)),a={},m._useCSS3Transitions&amp;&amp;(a[m._vendorPref+m._TD]="0ms"),a.moveProp=u.moveProp,a.opacity=u.opacity,a.display="none",m._blockAnimProps.push({block:l,css:a}),m._updateAnimBlockProps(l,c),m._animatedBlockTimeouts.push(setTimeout((i=l,r=u,s=e,function(){var e,t;i.css("display","block"),o&amp;&amp;(e={},m._useCSS3Transitions?(t="",o.hasMove&amp;&amp;(t+=o.moveProp),o.hasFade&amp;&amp;(o.hasMove&amp;&amp;(t+=", "),t+="opacity"),e[m._vendorPref+m._TP]=t,e[m._vendorPref+m._TD]=o.speed+"ms",e[m._vendorPref+m._TTF]=o.css3Easing,i.css(e),setTimeout(function(){i.css(r)},24)):setTimeout(function(){i.animate(r,o.speed,o.easing)},16)),delete m._animatedBlockTimeouts[s]}),(o=d).delay&lt;=6?12:d.delay))})}}),g.rsModules.animatedBlocks=g.rsProto._initAnimatedBlocks}(jQuery),function(e){e.extend(e.rsProto,{_initAutoHeight:function(){var t,n,i,r,o,s=this;s.st.autoHeight&amp;&amp;(r=!0,o=function(e){i=s.slides[s.currSlideId],(t=i.holder)&amp;&amp;(n=t.height())&amp;&amp;void 0!==n&amp;&amp;n&gt;(s.st.minAutoHeight||30)&amp;&amp;(s._wrapHeight=n,s._useCSS3Transitions||!e?s._sliderOverflow.css("height",n):s._sliderOverflow.stop(!0,!0).animate({height:n},s.st.transitionSpeed),s.ev.trigger("rsAutoHeightChange",n),r&amp;&amp;(s._useCSS3Transitions&amp;&amp;setTimeout(function(){s._sliderOverflow.css(s._vendorPref+"transition","height "+s.st.transitionSpeed+"ms ease-in-out")},16),r=!1))},s.ev.on("rsMaybeSizeReady.rsAutoHeight",function(e,t){i===t&amp;&amp;o()}),s.ev.on("rsAfterContentSet.rsAutoHeight",function(e,t){i===t&amp;&amp;o()}),s.slider.addClass("rsAutoHeight"),s.ev.one("rsAfterInit",function(){setTimeout(function(){o(!1),setTimeout(function(){s.slider.append('&lt;div style="clear:both; float: none;"&gt;&lt;/div&gt;')},16)},16)}),s.ev.on("rsBeforeAnimStart",function(){o(!0)}),s.ev.on("rsBeforeSizeSet",function(){setTimeout(function(){o(!1)},16)}))}}),e.rsModules.autoHeight=e.rsProto._initAutoHeight}(jQuery),function(t){t.extend(t.rsProto,{_initGlobalCaption:function(){var e=this;e.st.globalCaption&amp;&amp;(e.ev.on("rsAfterInit",function(){e.globalCaption=t('&lt;div class="rsGCaption"&gt;&lt;/div&gt;').appendTo(e.st.globalCaptionInside?e._sliderOverflow:e.slider),e.globalCaption.html(e.currSlide.caption||"")}),e.ev.on("rsBeforeAnimStart",function(){e.globalCaption.html(e.currSlide.caption||"")}))}}),t.rsModules.globalCaption=t.rsProto._initGlobalCaption}(jQuery),function(e){e.rsProto._initActiveClass=function(){var e,t=this;t.st.addActiveClass&amp;&amp;t.ev.on("rsOnUpdateNav",function(){e&amp;&amp;clearTimeout(e),e=setTimeout(function(){t._oldHolder&amp;&amp;t._oldHolder.removeClass("rsActiveSlide"),t._currHolder&amp;&amp;t._currHolder.addClass("rsActiveSlide"),e=null},50)})},e.rsModules.activeClass=e.rsProto._initActiveClass}(jQuery),function(u){u.extend(u.rsProto,{_initDeeplinking:function(){var t,e,n,i,r,o,s,a,l=this;l._hashDefaults={enabled:!1,change:!1,prefix:""},l.st.deeplinking=u.extend({},l._hashDefaults,l.st.deeplinking),l.st.deeplinking.enabled&amp;&amp;(i=l.st.deeplinking.change,r=l.st.deeplinking.prefix,o="#"+r,-1!==(a=(s=function(){var e=window.location.hash;return e&amp;&amp;0&lt;e.indexOf(r)&amp;&amp;0&lt;=(e=parseInt(e.substring(o.length),10))?e-1:-1})())&amp;&amp;(l.st.startSlideId=a),i&amp;&amp;(u(window).on("hashchange"+l.ns,function(e){t||((e=s())&lt;0||(e&gt;l.numSlides-1&amp;&amp;(e=l.numSlides-1),l.goTo(e)))}),l.ev.on("rsBeforeAnimStart",function(){e&amp;&amp;clearTimeout(e),n&amp;&amp;clearTimeout(n)}),l.ev.on("rsAfterSlideChange",function(){e&amp;&amp;clearTimeout(e),n&amp;&amp;clearTimeout(n),n=setTimeout(function(){t=!0,window.location.replace((""+window.location).split("#")[0]+o+(l.currSlideId+1)),e=setTimeout(function(){t=!1,e=null},60)},400)})),l.ev.on("rsBeforeDestroy",function(){e=n=null,i&amp;&amp;u(window).off("hashchange"+l.ns)}))}}),u.rsModules.deeplinking=u.rsProto._initDeeplinking}(jQuery),function(r,n){function i(e){return"#"+(e=e||location.href).replace(/^[^#]*#?(.*)$/,"$1")}var o=document,e=r.event.special,t=o.documentMode,s="onhashchange"in n&amp;&amp;(void 0===t||7&lt;t);r.fn.hashchange=function(e){return e?this.bind("hashchange",e):this.trigger("hashchange")},r.fn.hashchange.delay=50,e.hashchange=r.extend(e.hashchange,{setup:function(){if(s)return!1;r(h.start)},teardown:function(){if(s)return!1;r(h.stop)}});var a,l,u,c,d,f,h=(e={},c=i(),f=d=m,e.start=function(){a||p()},e.stop=function(){a&amp;&amp;clearTimeout(a),a=void 0},!n.attachEvent||n.addEventListener||s||(e.start=function(){l||(u=(u=r.fn.hashchange.src)&amp;&amp;u+i(),l=r('&lt;iframe tabindex="-1" title="empty"/&gt;').hide().one("load",function(){u||d(i()),p()}).attr("src",u||"javascript:0").insertAfter("body")[0].contentWindow,o.onpropertychange=function(){try{"title"===event.propertyName&amp;&amp;(l.document.title=o.title)}catch(e){}})},e.stop=m,f=function(){return i(l.location.href)},d=function(e,t){var n=l.document,i=r.fn.hashchange.domain;e!==t&amp;&amp;(n.title=o.title,n.open(),i&amp;&amp;n.write('&lt;script&gt;document.domain="'+i+'"&lt;\/script&gt;'),n.close(),l.location.hash=e)}),e);function p(){var e=i(),t=f(c);e!==c?(d(c=e,t),r(n).trigger("hashchange")):t!==c&amp;&amp;(location.href=location.href.replace(/#.*/,"")+t),a=setTimeout(p,r.fn.hashchange.delay)}function m(e){return e}}(jQuery,this),function(e){e.rsProto._initVisibleNearby=function(){var n=this;n.st.visibleNearby&amp;&amp;n.st.visibleNearby.enabled&amp;&amp;(n._vnDefaults={enabled:!0,centerArea:.6,center:!0,breakpoint:0,breakpointCenterArea:.8,hiddenOverflow:!0,navigateByCenterClick:!1},n.st.visibleNearby=e.extend({},n._vnDefaults,n.st.visibleNearby),n.ev.one("rsAfterPropsSetup",function(){n._sliderVisibleNearbyWrap=n._sliderOverflow.css("overflow","visible").wrap('&lt;div class="rsVisibleNearbyWrap"&gt;&lt;/div&gt;').parent(),n.st.visibleNearby.hiddenOverflow||n._sliderVisibleNearbyWrap.css("overflow","visible"),n._controlsContainer=n.st.controlsInside?n._sliderVisibleNearbyWrap:n.slider}),n.ev.on("rsAfterSizePropSet",function(){var e=n.st.visibleNearby,t=e.breakpoint&amp;&amp;n.width&lt;e.breakpoint?e.breakpointCenterArea:e.centerArea;n._slidesHorizontal?(n._wrapWidth*=t,n._sliderVisibleNearbyWrap.css({height:n._wrapHeight,width:n._wrapWidth/t}),n._minPosOffset=n._wrapWidth*(1-t)/2/t):(n._wrapHeight*=t,n._sliderVisibleNearbyWrap.css({height:n._wrapHeight/t,width:n._wrapWidth}),n._minPosOffset=n._wrapHeight*(1-t)/2/t),e.navigateByCenterClick||(n._nextSlidePos=n._slidesHorizontal?n._wrapWidth:n._wrapHeight),e.center&amp;&amp;n._sliderOverflow.css("margin-"+(n._slidesHorizontal?"left":"top"),n._minPosOffset)}))},e.rsModules.visibleNearby=e.rsProto._initVisibleNearby}(jQuery),$(document).ready(function(){$("#report-slider").removeClass("d-none").royalSlider({autoHeight:!0,loop:!1,arrowsNav:!0,arrowsNavAutoHide:!1,controlNavigation:"bullets",imageScaleMode:"none",numImagesToPreload:3,globalCaption:!1,touch:!1}),$("#report-slider-img").removeClass("d-none").royalSlider({addActiveClass:!0,navigateByClick:!1,arrowsNav:!1,controlNavigation:"bullets",imgWidth:200,imgHeight:200,imageScaleMode:"fit",autoScaleSlider:!0,numImagesToPreload:4,loop:!0,fadeinLoadedSlide:!1,globalCaption:!1,keyboardNavEnabled:!1,globalCaptionInside:!1,visibleNearby:{enabled:!0,centerArea:.3,center:!0,breakpoint:650,breakpointCenterArea:.64,navigateByCenterClick:!0}});$("#report-slider-img").data("royalSlider")});
//# sourceMappingURL=main.min.js.map
</pre></body></html>