(function(e,t){"use strict";if(typeof module==="object"&&typeof module.exports==="object"){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)}}
else{t(e)}})(typeof window!=="undefined"?window:this,function(t,n){"use strict";var v=[],o=t.document,Zt=Object.getPrototypeOf,y=v.slice,ke=v.concat,Z=v.push,Y=v.indexOf,z={};var we=z.toString,G=z.hasOwnProperty,me=G.toString,cn=me.call(Object),s={};var r=function(e){return typeof e==="function"&&typeof e.nodeType!=="number"},j=function(e){return e!=null&&e===e.window},ht={type:!0,src:!0,nonce:!0,noModule:!0};function qe(e,t,n){n=n||o;var i,s,r=n.createElement("script");r.text=e;if(t){for(i in ht){s=t[i]||t.getAttribute&&t.getAttribute(i);if(s){r.setAttribute(i,s)}}};n.head.appendChild(r).parentNode.removeChild(r)};function C(e){if(e==null){return e+""};return typeof e==="object"||typeof e==="function"?z[we.call(e)]||"object":typeof e};var Pe="3.4.1",e=function(t,n){return new e.fn.init(t,n)},At=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;e.fn=e.prototype={jquery:Pe,constructor:e,length:0,toArray:function(){return y.call(this)},get:function(e){if(e==null){return y.call(this)};return e<0?this[e+this.length]:this[e]},pushStack:function(t){var n=e.merge(this.constructor(),t);n.prevObject=this;return n},each:function(t){return e.each(this,t)},map:function(t){return this.pushStack(e.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(y.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var n=this.length,t=+e+(e<0?n:0);return this.pushStack(t>=0&&t<n?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:Z,sort:v.sort,splice:v.splice};e.extend=e.fn.extend=function(){var f,o,s,n,a,u,t=arguments[0]||{},i=1,c=arguments.length,l=!1;if(typeof t==="boolean"){l=t;t=arguments[i]||{};i++};if(typeof t!=="object"&&!r(t)){t={}};if(i===c){t=this;i--};for(;i<c;i++){if((f=arguments[i])!=null){for(o in f){n=f[o];if(o==="__proto__"||t===n){continue};if(l&&n&&(e.isPlainObject(n)||(a=Array.isArray(n)))){s=t[o];if(a&&!Array.isArray(s)){u=[]}
else if(!a&&!e.isPlainObject(s)){u={}}
else{u=s};a=!1;t[o]=e.extend(l,u,n)}
else if(n!==undefined){t[o]=n}}}};return t};e.extend({expando:"jQuery"+(Pe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;if(!e||we.call(e)!=="[object Object]"){return!1};t=Zt(e);if(!t){return!0};n=G.call(t,"constructor")&&t.constructor;return typeof n==="function"&&me.call(n)===cn},isEmptyObject:function(e){var t;for(t in e){return!1};return!0},globalEval:function(e,t){qe(e,{nonce:t&&t.nonce})},each:function(e,t){var i,n=0;if(ee(e)){i=e.length;for(;n<i;n++){if(t.call(e[n],n,e[n])===!1){break}}}
else{for(n in e){if(t.call(e[n],n,e[n])===!1){break}}};return e},trim:function(e){return e==null?"":(e+"").replace(At,"")},makeArray:function(t,n){var i=n||[];if(t!=null){if(ee(Object(t))){e.merge(i,typeof t==="string"?[t]:t)}
else{Z.call(i,t)}};return i},inArray:function(e,t,n){return t==null?-1:Y.call(t,e,n)},merge:function(e,t){var r=+t.length,n=0,i=e.length;for(;n<r;n++){e[i++]=t[n]};e.length=i;return e},grep:function(e,t,n){var r,o=[],i=0,s=e.length,a=!n;for(;i<s;i++){r=!t(e[i],i);if(r!==a){o.push(e[i])}};return o},map:function(e,t,n){var s,r,i=0,o=[];if(ee(e)){s=e.length;for(;i<s;i++){r=t(e[i],i,n);if(r!=null){o.push(r)}}}
else{for(i in e){r=t(e[i],i,n);if(r!=null){o.push(r)}}};return ke.apply([],o)},guid:1,support:s});if(typeof Symbol==="function"){e.fn[Symbol.iterator]=v[Symbol.iterator]};e.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){z["[object "+t+"]"]=t.toLowerCase()});function ee(e){var t=!!e&&"length" in e&&e.length,n=C(e);if(r(e)||j(e)){return!1};return n==="array"||t===0||typeof t==="number"&&t>0&&(t-1)in e};var x=(function(e){var k,s,t,R,K,A,X,ee,H,x,S,v,n,l,c,a,b,I,N,o="sizzle"+1*new Date(),f=e.document,g=0,Ae=0,te=M(),oe=M(),re=M(),P=M(),Q=function(e,t){if(e===t){S=!0};return 0},Ne=({}).hasOwnProperty,T=[],Se=T.pop,ke=T.push,y=T.push,ae=T.slice,E=function(e,t){var n=0,i=e.length;for(;n<i;n++){if(e[n]===t){return n}};return-1},V="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",w="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",le="\\["+r+"*("+w+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+w+"))|)"+r+"*\\]",J=":("+w+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+le+")*)|.*)\\)|)",De=new RegExp(r+"+","g"),W=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),Ee=new RegExp("^"+r+"*,"+r+"*"),Ce=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),he=new RegExp(r+"|>"),Te=new RegExp(J),we=new RegExp("^"+w+"$"),q={"ID":new RegExp("^#("+w+")"),"CLASS":new RegExp("^\\.("+w+")"),"TAG":new RegExp("^("+w+"|[*])"),"ATTR":new RegExp("^"+le),"PSEUDO":new RegExp("^"+J),"CHILD":new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),"bool":new RegExp("^(?:"+V+")$","i"),"needsContext":new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},be=/HTML$/i,xe=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,D=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,B=/[+~]/,m=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),h=function(e,t,n){var i="0x"+t-0x10000;return i!==i||n?t:i<0?String.fromCharCode(i+0x10000):String.fromCharCode(i>>10|0xD800,i&0x3FF|0xDC00)},Z=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){if(t){if(e==="\0"){return"\uFFFD"};return e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" "};return"\\"+e},ne=function(){v()},me=j(function(e){return e.disabled===!0&&e.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{y.apply((T=ae.call(f.childNodes)),f.childNodes);T[f.childNodes.length].nodeType}catch(u){y={apply:T.length?function(e,t){ke.apply(e,ae.call(t))}:function(e,t){var n=e.length,i=0;while((e[n++]=t[i++])){};e.length=n-1}}};function i(e,t,i,r){var l,x,d,h,b,g,w,m=t&&t.ownerDocument,p=t?t.nodeType:9;i=i||[];if(typeof e!=="string"||!e||p!==1&&p!==9&&p!==11){return i};if(!r){if((t?t.ownerDocument||t:f)!==n){v(t)};t=t||n;if(c){if(p!==11&&(b=ye.exec(e))){if((l=b[1])){if(p===9){if((d=t.getElementById(l))){if(d.id===l){i.push(d);return i}}
else{return i}}
else{if(m&&(d=m.getElementById(l))&&N(t,d)&&d.id===l){i.push(d);return i}}}
else if(b[2]){y.apply(i,t.getElementsByTagName(e));return i}
else if((l=b[3])&&s.getElementsByClassName&&t.getElementsByClassName){y.apply(i,t.getElementsByClassName(l));return i}};if(s.qsa&&!P[e+" "]&&(!a||!a.test(e))&&(p!==1||t.nodeName.toLowerCase()!=="object")){w=e;m=t;if(p===1&&he.test(e)){if((h=t.getAttribute("id"))){h=h.replace(Z,ie)}
else{t.setAttribute("id",(h=o))};g=A(e);x=g.length;while(x--){g[x]="#"+h+" "+L(g[x])};w=g.join(",");m=B.test(e)&&F(t.parentNode)||t};try{y.apply(i,m.querySelectorAll(w));return i}catch(u){P(e,!0)}finally{if(h===o){t.removeAttribute("id")}}}}};return ee(e.replace(W,"$1"),t,i,r)};function M(){var n=[];function e(i,r){if(n.push(i+" ")>t.cacheLength){delete e[n.shift()]};return(e[i+" "]=r)};return e};function d(e){e[o]=!0;return e};function p(e){var i=n.createElement("fieldset");try{return!!e(i)}catch(t){return!1}finally{if(i.parentNode){i.parentNode.removeChild(i)};i=null}};function U(e,n){var i=e.split("|"),r=i.length;while(r--){t.attrHandle[i[r]]=n}};function fe(e,t){var n=t&&e,i=n&&e.nodeType===1&&t.nodeType===1&&e.sourceIndex-t.sourceIndex;if(i){return i};if(n){while((n=n.nextSibling)){if(n===t){return-1}}};return e?1:-1};function ge(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}};function ce(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}};function se(e){return function(t){if("form" in t){if(t.parentNode&&t.disabled===!1){if("label" in t){if("label" in t.parentNode){return t.parentNode.disabled===e}
else{return t.disabled===e}};return t.isDisabled===e||t.isDisabled!==!e&&me(t)===e};return t.disabled===e}
else if("label" in t){return t.disabled===e};return!1}};function C(e){return d(function(t){t=+t;return d(function(n,i){var r,o=e([],n.length,t),s=o.length;while(s--){if(n[(r=o[s])]){n[r]=!(i[r]=n[r])}}})})};function F(e){return e&&typeof e.getElementsByTagName!=="undefined"&&e};s=i.support={};K=i.isXML=function(e){var n=e.namespaceURI,t=(e.ownerDocument||e).documentElement;return!be.test(n||t&&t.nodeName||"HTML")};v=i.setDocument=function(e){var d,i,u=e?e.ownerDocument||e:f;if(u===n||u.nodeType!==9||!u.documentElement){return n};n=u;l=n.documentElement;c=!K(n);if(f!==n&&(i=n.defaultView)&&i.top!==i){if(i.addEventListener){i.addEventListener("unload",ne,!1)}
else if(i.attachEvent){i.attachEvent("onunload",ne)}};s.attributes=p(function(e){e.className="i";return!e.getAttribute("className")});s.getElementsByTagName=p(function(e){e.appendChild(n.createComment(""));return!e.getElementsByTagName("*").length});s.getElementsByClassName=D.test(n.getElementsByClassName);s.getById=p(function(e){l.appendChild(e).id=o;return!n.getElementsByName||!n.getElementsByName(o).length});if(s.getById){t.filter["ID"]=function(e){var t=e.replace(m,h);return function(e){return e.getAttribute("id")===t}};t.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&c){var n=t.getElementById(e);return n?[n]:[]}}}
else{t.filter["ID"]=function(e){var t=e.replace(m,h);return function(e){var n=typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id");return n&&n.value===t}};t.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&c){var n,r,o,i=t.getElementById(e);if(i){n=i.getAttributeNode("id");if(n&&n.value===e){return[i]};o=t.getElementsByName(e);r=0;while((i=o[r++])){n=i.getAttributeNode("id");if(n&&n.value===e){return[i]}}};return[]}}};t.find["TAG"]=s.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!=="undefined"){return t.getElementsByTagName(e)}
else if(s.qsa){return t.querySelectorAll(e)}}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if(e==="*"){while((n=r[o++])){if(n.nodeType===1){i.push(n)}};return i};return r};t.find["CLASS"]=s.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!=="undefined"&&c){return t.getElementsByClassName(e)}};b=[];a=[];if((s.qsa=D.test(n.querySelectorAll))){p(function(e){l.appendChild(e).innerHTML="<a id='"+o+"'></a><select id='"+o+"-\r\\' msallowcapture=''><option selected=''></option></select>";if(e.querySelectorAll("[msallowcapture^='']").length){a.push("[*^$]="+r+"*(?:''|\"\")")};if(!e.querySelectorAll("[selected]").length){a.push("\\["+r+"*(?:value|"+V+")")};if(!e.querySelectorAll("[id~="+o+"-]").length){a.push("~=")};if(!e.querySelectorAll(":checked").length){a.push(":checked")};if(!e.querySelectorAll("a#"+o+"+*").length){a.push(".#.+[+~]")}});p(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=n.createElement("input");t.setAttribute("type","hidden");e.appendChild(t).setAttribute("name","D");if(e.querySelectorAll("[name=d]").length){a.push("name"+r+"*[*^$|!~]?=")};if(e.querySelectorAll(":enabled").length!==2){a.push(":enabled",":disabled")};l.appendChild(e).disabled=!0;if(e.querySelectorAll(":disabled").length!==2){a.push(":enabled",":disabled")};e.querySelectorAll("*,:x");a.push(",.*:")})};if((s.matchesSelector=D.test((I=l.matches||l.webkitMatchesSelector||l.mozMatchesSelector||l.oMatchesSelector||l.msMatchesSelector)))){p(function(e){s.disconnectedMatch=I.call(e,"*");I.call(e,"[s!='']:x");b.push("!=",J)})};a=a.length&&new RegExp(a.join("|"));b=b.length&&new RegExp(b.join("|"));d=D.test(l.compareDocumentPosition);N=d||D.test(l.contains)?function(e,t){var i=e.nodeType===9?e.documentElement:e,n=t&&t.parentNode;return e===n||!!(n&&n.nodeType===1&&(i.contains?i.contains(n):e.compareDocumentPosition&&e.compareDocumentPosition(n)&16))}:function(e,t){if(t){while((t=t.parentNode)){if(t===e){return!0}}};return!1};Q=d?function(e,t){if(e===t){S=!0;return 0};var i=!e.compareDocumentPosition-!t.compareDocumentPosition;if(i){return i};i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1;if(i&1||(!s.sortDetached&&t.compareDocumentPosition(e)===i)){if(e===n||e.ownerDocument===f&&N(f,e)){return-1};if(t===n||t.ownerDocument===f&&N(f,t)){return 1};return x?(E(x,e)-E(x,t)):0};return i&4?-1:1}:function(e,t){if(e===t){S=!0;return 0};var i,r=0,a=e.parentNode,u=t.parentNode,o=[e],s=[t];if(!a||!u){return e===n?-1:t===n?1:a?-1:u?1:x?(E(x,e)-E(x,t)):0}
else if(a===u){return fe(e,t)};i=e;while((i=i.parentNode)){o.unshift(i)};i=t;while((i=i.parentNode)){s.unshift(i)}
while(o[r]===s[r]){r++};return r?fe(o[r],s[r]):o[r]===f?-1:s[r]===f?1:0};return n};i.matches=function(e,t){return i(e,null,null,t)};i.matchesSelector=function(e,t){if((e.ownerDocument||e)!==n){v(e)};if(s.matchesSelector&&c&&!P[t+" "]&&(!b||!b.test(t))&&(!a||!a.test(t))){try{var o=I.call(e,t);if(o||s.disconnectedMatch||e.document&&e.document.nodeType!==11){return o}}catch(r){P(t,!0)}};return i(t,n,null,[e]).length>0};i.contains=function(e,t){if((e.ownerDocument||e)!==n){v(e)};return N(e,t)};i.attr=function(e,i){if((e.ownerDocument||e)!==n){v(e)};var o=t.attrHandle[i.toLowerCase()],r=o&&Ne.call(t.attrHandle,i.toLowerCase())?o(e,i,!c):undefined;return r!==undefined?r:s.attributes||!c?e.getAttribute(i):(r=e.getAttributeNode(i))&&r.specified?r.value:null};i.escape=function(e){return(e+"").replace(Z,ie)};i.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};i.uniqueSort=function(e){var i,r=[],t=0,n=0;S=!s.detectDuplicates;x=!s.sortStable&&e.slice(0);e.sort(Q);if(S){while((i=e[n++])){if(i===e[n]){t=r.push(n)}}
while(t--){e.splice(r[t],1)}};x=null;return e};R=i.getText=function(e){var i,n="",r=0,t=e.nodeType;if(!t){while((i=e[r++])){n+=R(i)}}
else if(t===1||t===9||t===11){if(typeof e.textContent==="string"){return e.textContent}
else{for(e=e.firstChild;e;e=e.nextSibling){n+=R(e)}}}
else if(t===3||t===4){return e.nodeValue};return n};t=i.selectors={cacheLength:50,createPseudo:d,match:q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{"ATTR":function(e){e[1]=e[1].replace(m,h);e[3]=(e[3]||e[4]||e[5]||"").replace(m,h);if(e[2]==="~="){e[3]=" "+e[3]+" "};return e.slice(0,4)},"CHILD":function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){i.error(e[0])};e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+((e[7]+e[8])||e[3]==="odd")}
else if(e[3]){i.error(e[0])};return e},"PSEUDO":function(e){var n,t=!e[6]&&e[2];if(q["CHILD"].test(e[0])){return null};if(e[3]){e[2]=e[4]||e[5]||""}
else if(t&&Te.test(t)&&(n=A(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)){e[0]=e[0].slice(0,n);e[2]=t.slice(0,n)};return e.slice(0,3)}},filter:{"TAG":function(e){var t=e.replace(m,h).toLowerCase();return e==="*"?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},"CLASS":function(e){var t=te[e+" "];return t||(t=new RegExp("(^|"+r+")"+e+"("+r+"|$)"))&&te(e,function(e){return t.test(typeof e.className==="string"&&e.className||typeof e.getAttribute!=="undefined"&&e.getAttribute("class")||"")})},"ATTR":function(e,t,n){return function(r){var o=i.attr(r,e);if(o==null){return t==="!="};if(!t){return!0};o+="";return t==="="?o===n:t==="!="?o!==n:t==="^="?n&&o.indexOf(n)===0:t==="*="?n&&o.indexOf(n)>-1:t==="$="?n&&o.slice(-n.length)===n:t==="~="?(" "+o.replace(De," ")+" ").indexOf(n)>-1:t==="|="?o===n||o.slice(0,n.length+1)===n+"-":!1}},"CHILD":function(e,t,n,i,r){var u=e.slice(0,3)!=="nth",a=e.slice(-4)!=="last",s=t==="of-type";return i===1&&r===0?function(e){return!!e.parentNode}:function(t,n,f){var h,m,p,l,d,y,v=u!==a?"nextSibling":"previousSibling",x=t.parentNode,w=s&&t.nodeName.toLowerCase(),b=!f&&!s,c=!1;if(x){if(u){while(v){l=t;while((l=l[v])){if(s?l.nodeName.toLowerCase()===w:l.nodeType===1){return!1}};y=v=e==="only"&&!y&&"nextSibling"};return!0};y=[a?x.firstChild:x.lastChild];if(a&&b){l=x;p=l[o]||(l[o]={});m=p[l.uniqueID]||(p[l.uniqueID]={});h=m[e]||[];d=h[0]===g&&h[1];c=d&&h[2];l=d&&x.childNodes[d];while((l=++d&&l&&l[v]||(c=d=0)||y.pop())){if(l.nodeType===1&&++c&&l===t){m[e]=[g,d,c];break}}}
else{if(b){l=t;p=l[o]||(l[o]={});m=p[l.uniqueID]||(p[l.uniqueID]={});h=m[e]||[];d=h[0]===g&&h[1];c=d};if(c===!1){while((l=++d&&l&&l[v]||(c=d=0)||y.pop())){if((s?l.nodeName.toLowerCase()===w:l.nodeType===1)&&++c){if(b){p=l[o]||(l[o]={});m=p[l.uniqueID]||(p[l.uniqueID]={});m[e]=[g,c]};if(l===t){break}}}}};c-=r;return c===i||(c%i===0&&c/i>=0)}}},"PSEUDO":function(e,n){var s,r=t.pseudos[e]||t.setFilters[e.toLowerCase()]||i.error("unsupported pseudo: "+e);if(r[o]){return r(n)};if(r.length>1){s=[e,e,"",n];return t.setFilters.hasOwnProperty(e.toLowerCase())?d(function(e,t){var i,o=r(e,n),s=o.length;while(s--){i=E(e,o[s]);e[i]=!(t[i]=o[s])}}):function(e){return r(e,0,s)}};return r}},pseudos:{"not":d(function(e){var t=[],i=[],n=X(e.replace(W,"$1"));return n[o]?d(function(e,t,i,r){var s,a=n(e,null,r,[]),o=e.length;while(o--){if((s=a[o])){e[o]=!(t[o]=s)}}}):function(e,r,o){t[0]=e;n(t,null,o,i);t[0]=null;return!i.pop()}}),"has":d(function(e){return function(t){return i(e,t).length>0}}),"contains":d(function(e){e=e.replace(m,h);return function(t){return(t.textContent||R(t)).indexOf(e)>-1}}),"lang":d(function(e){if(!we.test(e||"")){i.error("unsupported lang: "+e)};e=e.replace(m,h).toLowerCase();return function(t){var n;do{if((n=c?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))){n=n.toLowerCase();return n===e||n.indexOf(e+"-")===0}}
while((t=t.parentNode)&&t.nodeType===1);return!1}}),"target":function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},"root":function(e){return e===l},"focus":function(e){return e===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},"enabled":se(!1),"disabled":se(!0),"checked":function(e){var t=e.nodeName.toLowerCase();return(t==="input"&&!!e.checked)||(t==="option"&&!!e.selected)},"selected":function(e){if(e.parentNode){e.parentNode.selectedIndex};return e.selected===!0},"empty":function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return!1}};return!0},"parent":function(e){return!t.pseudos["empty"](e)},"header":function(e){return ve.test(e.nodeName)},"input":function(e){return xe.test(e.nodeName)},"button":function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},"text":function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},"first":C(function(){return[0]}),"last":C(function(e,t){return[t-1]}),"eq":C(function(e,t,n){return[n<0?n+t:n]}),"even":C(function(e,t){var n=0;for(;n<t;n+=2){e.push(n)};return e}),"odd":C(function(e,t){var n=1;for(;n<t;n+=2){e.push(n)};return e}),"lt":C(function(e,t,n){var i=n<0?n+t:n>t?t:n;for(;--i>=0;){e.push(i)};return e}),"gt":C(function(e,t,n){var i=n<0?n+t:n;for(;++i<t;){e.push(i)};return e})}};t.pseudos["nth"]=t.pseudos["eq"];for(k in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0}){t.pseudos[k]=ge(k)};for(k in{submit:!0,reset:!0}){t.pseudos[k]=ce(k)};function ue(){};ue.prototype=t.filters=t.pseudos;t.setFilters=new ue();A=i.tokenize=function(e,n){var s,o,u,a,r,f,l,c=oe[e+" "];if(c){return n?0:c.slice(0)};r=e;f=[];l=t.preFilter;while(r){if(!s||(o=Ee.exec(r))){if(o){r=r.slice(o[0].length)||r};f.push((u=[]))};s=!1;if((o=Ce.exec(r))){s=o.shift();u.push({value:s,type:o[0].replace(W," ")});r=r.slice(s.length)};for(a in t.filter){if((o=q[a].exec(r))&&(!l[a]||(o=l[a](o)))){s=o.shift();u.push({value:s,type:a,matches:o});r=r.slice(s.length)}};if(!s){break}};return n?r.length:r?i.error(e):oe(e,f).slice(0)};function L(e){var t=0,i=e.length,n="";for(;t<i;t++){n+=e[t].value};return n};function j(e,t,n){var i=t.dir,r=t.next,s=r||i,a=n&&s==="parentNode",u=Ae++;return t.first?function(t,n,r){while((t=t[i])){if(t.nodeType===1||a){return e(t,n,r)}};return!1}:function(t,n,f){var l,c,d,p=[g,u];if(f){while((t=t[i])){if(t.nodeType===1||a){if(e(t,n,f)){return!0}}}}
else{while((t=t[i])){if(t.nodeType===1||a){d=t[o]||(t[o]={});c=d[t.uniqueID]||(d[t.uniqueID]={});if(r&&r===t.nodeName.toLowerCase()){t=t[i]||t}
else if((l=c[s])&&l[0]===g&&l[1]===u){return(p[2]=l[2])}
else{c[s]=p;if((p[2]=e(t,n,f))){return!0}}}}};return!1}};function z(e){return e.length>1?function(t,n,i){var r=e.length;while(r--){if(!e[r](t,n,i)){return!1}};return!0}:e[0]};function pe(e,t,n){var r=0,o=t.length;for(;r<o;r++){i(e,t[r],n)};return n};function O(e,t,n,i,r){var s,a=[],o=0,u=e.length,f=t!=null;for(;o<u;o++){if((s=e[o])){if(!n||n(s,i,r)){a.push(s);if(f){t.push(o)}}}};return a};function G(e,t,n,i,r,s){if(i&&!i[o]){i=G(i)};if(r&&!r[o]){r=G(r,s)};return d(function(o,s,a,u){var c,l,d,g=[],h=[],m=s.length,v=o||pe(t||"*",a.nodeType?[a]:a,[]),p=e&&(o||!t)?O(v,g,e,a,u):v,f=n?r||(o?e:m||i)?[]:s:p;if(n){n(p,f,a,u)};if(i){c=O(f,h);i(c,[],a,u);l=c.length;while(l--){if((d=c[l])){f[h[l]]=!(p[h[l]]=d)}}};if(o){if(r||e){if(r){c=[];l=f.length;while(l--){if((d=f[l])){c.push((p[l]=d))}};r(null,(f=[]),c,u)};l=f.length;while(l--){if((d=f[l])&&(c=r?E(o,d):g[l])>-1){o[c]=!(s[c]=d)}}}}
else{f=O(f===s?f.splice(m,f.length):f);if(r){r(null,s,f,u)}
else{y.apply(s,f)}}})};function Y(e){var a,r,i,u=e.length,f=t.relative[e[0].type],l=f||t.relative[" "],n=f?1:0,c=j(function(e){return e===a},l,!0),d=j(function(e){return E(a,e)>-1},l,!0),s=[function(e,t,n){var i=(!f&&(n||t!==H))||((a=t).nodeType?c(e,t,n):d(e,t,n));a=null;return i}];for(;n<u;n++){if((r=t.relative[e[n].type])){s=[j(z(s),r)]}
else{r=t.filter[e[n].type].apply(null,e[n].matches);if(r[o]){i=++n;for(;i<u;i++){if(t.relative[e[i].type]){break}};return G(n>1&&z(s),n>1&&L(e.slice(0,n-1).concat({value:e[n-2].type===" "?"*":""})).replace(W,"$1"),r,n<i&&Y(e.slice(n,i)),i<u&&Y((e=e.slice(i))),i<u&&L(e))};s.push(r)}};return z(s)};function de(e,r){var o=r.length>0,s=e.length>0,a=function(a,u,f,l,d){var p,w,x,b=0,h="0",T=a&&[],m=[],C=H,E=a||s&&t.find["TAG"]("*",d),k=(g+=C==null?1:Math.random()||0.1),S=E.length;if(d){H=u===n||u||d};for(;h!==S&&(p=E[h])!=null;h++){if(s&&p){w=0;if(!u&&p.ownerDocument!==n){v(p);f=!c}
while((x=e[w++])){if(x(p,u||n,f)){l.push(p);break}};if(d){g=k}};if(o){if((p=!x&&p)){b--};if(a){T.push(p)}}};b+=h;if(o&&h!==b){w=0;while((x=r[w++])){x(T,m,u,f)};if(a){if(b>0){while(h--){if(!(T[h]||m[h])){m[h]=Se.call(l)}}};m=O(m)};y.apply(l,m);if(d&&!a&&m.length>0&&(b+r.length)>1){i.uniqueSort(l)}};if(d){g=k;H=C};return T};return o?d(a):a};X=i.compile=function(e,t){var i,r=[],s=[],n=re[e+" "];if(!n){if(!t){t=A(e)};i=t.length;while(i--){n=Y(t[i]);if(n[o]){r.push(n)}
else{s.push(n)}};n=re(e,de(s,r));n.selector=e};return n};ee=i.select=function(e,n,i,r){var a,o,s,l,d,f=typeof e==="function"&&e,u=!r&&A((e=f.selector||e));i=i||[];if(u.length===1){o=u[0]=u[0].slice(0);if(o.length>2&&(s=o[0]).type==="ID"&&n.nodeType===9&&c&&t.relative[o[1].type]){n=(t.find["ID"](s.matches[0].replace(m,h),n)||[])[0];if(!n){return i}
else if(f){n=n.parentNode};e=e.slice(o.shift().value.length)};a=q["needsContext"].test(e)?0:o.length;while(a--){s=o[a];if(t.relative[(l=s.type)]){break};if((d=t.find[l])){if((r=d(s.matches[0].replace(m,h),B.test(o[0].type)&&F(n.parentNode)||n))){o.splice(a,1);e=r.length&&L(o);if(!e){y.apply(i,r);return i};break}}}}(f||X(e,u))(r,n,!c,i,!n||B.test(e)&&F(n.parentNode)||n);return i};s.sortStable=o.split("").sort(Q).join("")===o;s.detectDuplicates=!!S;v();s.sortDetached=p(function(e){return e.compareDocumentPosition(n.createElement("fieldset"))&1});if(!p(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"})){U("type|href|height|width",function(e,t,n){if(!n){return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}})};if(!s.attributes||!p(function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""})){U("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input"){return e.defaultValue}})};if(!p(function(e){return e.getAttribute("disabled")==null})){U(V,function(e,t,n){var i;if(!n){return e[t]===!0?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}})};return i})(t);e.find=x;e.expr=x.selectors;e.expr[":"]=e.expr.pseudos;e.uniqueSort=e.unique=x.uniqueSort;e.text=x.getText;e.isXMLDoc=x.isXML;e.contains=x.contains;e.escapeSelector=x.escape;var D=function(t,n,i){var r=[],o=i!==undefined;while((t=t[n])&&t.nodeType!==9){if(t.nodeType===1){if(o&&e(t).is(i)){break};r.push(t)}};return r},Ie=function(e,t){var n=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!==t){n.push(e)}};return n},Me=e.expr.match.needsContext;function c(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()};var Re=(/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i);function ie(t,n,i){if(r(n)){return e.grep(t,function(e,t){return!!n.call(e,t,e)!==i})};if(n.nodeType){return e.grep(t,function(e){return(e===n)!==i})};if(typeof n!=="string"){return e.grep(t,function(e){return(Y.call(n,e)>-1)!==i})};return e.filter(n,t,i)};e.filter=function(t,n,i){var r=n[0];if(i){t=":not("+t+")"};if(n.length===1&&r.nodeType===1){return e.find.matchesSelector(r,t)?[r]:[]};return e.find.matches(t,e.grep(n,function(e){return e.nodeType===1}))};e.fn.extend({find:function(t){var n,i,r=this.length,o=this;if(typeof t!=="string"){return this.pushStack(e(t).filter(function(){for(n=0;n<r;n++){if(e.contains(o[n],this)){return!0}}}))};i=this.pushStack([]);for(n=0;n<r;n++){e.find(t,o[n],i)};return r>1?e.uniqueSort(i):i},filter:function(e){return this.pushStack(ie(this,e||[],!1))},not:function(e){return this.pushStack(ie(this,e||[],!0))},is:function(t){return!!ie(this,typeof t==="string"&&Me.test(t)?e(t):t||[],!1).length}});var st,mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,yt=e.fn.init=function(t,n,i){var s,a;if(!t){return this};i=i||st;if(typeof t==="string"){if(t[0]==="<"&&t[t.length-1]===">"&&t.length>=3){s=[null,t,null]}
else{s=mt.exec(t)};if(s&&(s[1]||!n)){if(s[1]){n=n instanceof e?n[0]:n;e.merge(this,e.parseHTML(s[1],n&&n.nodeType?n.ownerDocument||n:o,!0));if(Re.test(s[1])&&e.isPlainObject(n)){for(s in n){if(r(this[s])){this[s](n[s])}
else{this.attr(s,n[s])}}};return this}
else{a=o.getElementById(s[2]);if(a){this[0]=a;this.length=1};return this}}
else if(!n||n.jquery){return(n||i).find(t)}
else{return this.constructor(n).find(t)}}
else if(t.nodeType){this[0]=t;this.length=1;return this}
else if(r(t)){return i.ready!==undefined?i.ready(t):t(e)};return e.makeArray(t,this)};yt.prototype=e.fn;st=e(o);var ft=/^(?:parents|prev(?:Until|All))/,lt={children:!0,contents:!0,next:!0,prev:!0};e.fn.extend({has:function(t){var n=e(t,this),i=n.length;return this.filter(function(){var t=0;for(;t<i;t++){if(e.contains(this,n[t])){return!0}}})},closest:function(t,n){var i,o=0,a=this.length,r=[],s=typeof t!=="string"&&e(t);if(!Me.test(t)){for(;o<a;o++){for(i=this[o];i&&i!==n;i=i.parentNode){if(i.nodeType<11&&(s?s.index(i)>-1:i.nodeType===1&&e.find.matchesSelector(i,t))){r.push(i);break}}}};return this.pushStack(r.length>1?e.uniqueSort(r):r)},index:function(t){if(!t){return(this[0]&&this[0].parentNode)?this.first().prevAll().length:-1};if(typeof t==="string"){return Y.call(e(t),this[0])};return Y.call(this,t.jquery?t[0]:t)},add:function(t,n){return this.pushStack(e.uniqueSort(e.merge(this.get(),e(t,n))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function Ee(e,t){while((e=e[t])&&e.nodeType!==1){};return e};e.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return D(e,"parentNode")},parentsUntil:function(e,t,n){return D(e,"parentNode",n)},next:function(e){return Ee(e,"nextSibling")},prev:function(e){return Ee(e,"previousSibling")},nextAll:function(e){return D(e,"nextSibling")},prevAll:function(e){return D(e,"previousSibling")},nextUntil:function(e,t,n){return D(e,"nextSibling",n)},prevUntil:function(e,t,n){return D(e,"previousSibling",n)},siblings:function(e){return Ie((e.parentNode||{}).firstChild,e)},children:function(e){return Ie(e.firstChild)},contents:function(t){if(typeof t.contentDocument!=="undefined"){return t.contentDocument};if(c(t,"template")){t=t.content||t};return e.merge([],t.childNodes)}},function(t,n){e.fn[t]=function(i,r){var o=e.map(this,n,i);if(t.slice(-5)!=="Until"){r=i};if(r&&typeof r==="string"){o=e.filter(r,o)};if(this.length>1){if(!lt[t]){e.uniqueSort(o)};if(ft.test(t)){o.reverse()}};return this.pushStack(o)}});var p=(/[^\x20\t\r\n\f]+/g);function Bt(t){var n={};e.each(t.match(p)||[],function(e,t){n[t]=!0});return n};e.Callbacks=function(t){t=typeof t==="string"?Bt(t):e.extend({},t);var a,i,l,o,n=[],u=[],s=-1,c=function(){o=o||t.once;l=a=!0;for(;u.length;s=-1){i=u.shift();while(++s<n.length){if(n[s].apply(i[0],i[1])===!1&&t.stopOnFalse){s=n.length;i=!1}}};if(!t.memory){i=!1};a=!1;if(o){if(i){n=[]}
else{n=""}}},f={add:function(){if(n){if(i&&!a){s=n.length-1;u.push(i)}(function o(i){e.each(i,function(e,i){if(r(i)){if(!t.unique||!f.has(i)){n.push(i)}}
else if(i&&i.length&&C(i)!=="string"){o(i)}})})(arguments);if(i&&!a){c()}};return this},remove:function(){e.each(arguments,function(t,i){var r;while((r=e.inArray(i,n,r))>-1){n.splice(r,1);if(r<=s){s--}}});return this},has:function(t){return t?e.inArray(t,n)>-1:n.length>0},empty:function(){if(n){n=[]};return this},disable:function(){o=u=[];n=i="";return this},disabled:function(){return!n},lock:function(){o=u=[];if(!i&&!a){n=i=""};return this},locked:function(){return!!o},fireWith:function(e,t){if(!o){t=t||[];t=[e,t.slice?t.slice():t];u.push(t);if(!a){c()}};return this},fire:function(){f.fireWith(this,arguments);return this},fired:function(){return!!l}};return f};function k(e){return e};function K(e){throw e};function Oe(e,t,n,i){var s;try{if(e&&r((s=e.promise))){s.call(e).done(t).fail(n)}
else if(e&&r((s=e.then))){s.call(e,t,n)}
else{t.apply(undefined,[e].slice(i))}}catch(o){n.apply(undefined,[o])}};e.extend({Deferred:function(n){var o=[["notify","progress",e.Callbacks("memory"),e.Callbacks("memory"),2],["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),0,"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),1,"rejected"]],a="pending",s={state:function(){return a},always:function(){i.done(arguments).fail(arguments);return this},"catch":function(e){return s.then(null,e)},pipe:function(){var t=arguments;return e.Deferred(function(n){e.each(o,function(e,o){var s=r(t[o[4]])&&t[o[4]];i[o[1]](function(){var e=s&&s.apply(this,arguments);if(e&&r(e.promise)){e.promise().progress(n.notify).done(n.resolve).fail(n.reject)}
else{n[o[0]+"With"](this,s?[e]:arguments)}})});t=null}).promise()},then:function(n,i,s){var a=0;function u(n,i,o,s){return function(){var f=this,l=arguments,d=function(){var e,t;if(n<a){return};e=o.apply(f,l);if(e===i.promise()){throw new TypeError("Thenable self-resolution")};t=e&&(typeof e==="object"||typeof e==="function")&&e.then;if(r(t)){if(s){t.call(e,u(a,i,k,s),u(a,i,K,s))}
else{a++;t.call(e,u(a,i,k,s),u(a,i,K,s),u(a,i,k,i.notifyWith))}}
else{if(o!==k){f=undefined;l=[e]}(s||i.resolveWith)(f,l)}},c=s?d:function(){try{d()}catch(t){if(e.Deferred.exceptionHook){e.Deferred.exceptionHook(t,c.stackTrace)};if(n+1>=a){if(o!==K){f=undefined;l=[t]};i.rejectWith(f,l)}}};if(n){c()}
else{if(e.Deferred.getStackHook){c.stackTrace=e.Deferred.getStackHook()};t.setTimeout(c)}}};return e.Deferred(function(e){o[0][3].add(u(0,e,r(s)?s:k,e.notifyWith));o[1][3].add(u(0,e,r(n)?n:k));o[2][3].add(u(0,e,r(i)?i:K))}).promise()},promise:function(t){return t!=null?e.extend(t,s):s}},i={};e.each(o,function(e,t){var n=t[2],r=t[5];s[t[1]]=n.add;if(r){n.add(function(){a=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock)};n.add(t[3].fire);i[t[0]]=function(){i[t[0]+"With"](this===i?undefined:this,arguments);return this};i[t[0]+"With"]=n.fireWith});s.promise(i);if(n){n.call(i,i)};return i},when:function(t){var s=arguments.length,n=s,a=Array(n),o=y.call(arguments),i=e.Deferred(),u=function(e){return function(t){a[e]=this;o[e]=arguments.length>1?y.call(arguments):t;if(!(--s)){i.resolveWith(a,o)}}};if(s<=1){Oe(t,i.done(u(n)).resolve,i.reject,!s);if(i.state()==="pending"||r(o[n]&&o[n].then)){return i.then()}}
while(n--){Oe(o[n],u(n),i.reject)};return i.promise()}});var on=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;e.Deferred.exceptionHook=function(e,n){if(t.console&&t.console.warn&&e&&on.test(e.name)){t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)}};e.readyException=function(e){t.setTimeout(function(){throw e})};var te=e.Deferred();e.fn.ready=function(t){te.then(t).catch(function(t){e.readyException(t)});return this};e.extend({isReady:!1,readyWait:1,ready:function(t){if(t===!0?--e.readyWait:e.isReady){return};e.isReady=!0;if(t!==!0&&--e.readyWait>0){return};te.resolveWith(o,[e])}});e.ready.then=te.then;function J(){o.removeEventListener("DOMContentLoaded",J);t.removeEventListener("load",J);e.ready()};if(o.readyState==="complete"||(o.readyState!=="loading"&&!o.documentElement.doScroll)){t.setTimeout(e.ready)}
else{o.addEventListener("DOMContentLoaded",J);t.addEventListener("load",J)};var m=function(t,n,i,o,s,u,f){var a=0,c=t.length,l=i==null;if(C(i)==="object"){s=!0;for(a in i){m(t,n,a,i[a],!0,u,f)}}
else if(o!==undefined){s=!0;if(!r(o)){f=!0};if(l){if(f){n.call(t,o);n=null}
else{l=n;n=function(t,n,i){return l.call(e(t),i)}}};if(n){for(;a<c;a++){n(t[a],i,f?o:o.call(t[a],a,n(t[a],i)))}}};if(s){return t};if(l){return n.call(t)};return c?n(t[0],i):u},tn=/^-ms-/,nn=/-([a-z])/g;function Gt(e,t){return t.toUpperCase()};function h(e){return e.replace(tn,"ms-").replace(nn,Gt)};var U=function(e){return e.nodeType===1||e.nodeType===9||!(+e.nodeType)};function P(){this.expando=e.expando+P.uid++};P.uid=1;P.prototype={cache:function(e){var t=e[this.expando];if(!t){t={};if(U(e)){if(e.nodeType){e[this.expando]=t}
else{Object.defineProperty(e,this.expando,{value:t,configurable:!0})}}};return t},set:function(e,t,n){var i,r=this.cache(e);if(typeof t==="string"){r[h(t)]=n}
else{for(i in t){r[h(i)]=t[i]}};return r},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){if(t===undefined||((t&&typeof t==="string")&&n===undefined)){return this.get(e,t)};this.set(e,t,n);return n!==undefined?n:t},remove:function(t,n){var r,i=t[this.expando];if(i===undefined){return};if(n!==undefined){if(Array.isArray(n)){n=n.map(h)}
else{n=h(n);n=n in i?[n]:(n.match(p)||[])};r=n.length;while(r--){delete i[n[r]]}};if(n===undefined||e.isEmptyObject(i)){if(t.nodeType){t[this.expando]=undefined}
else{delete t[this.expando]}}},hasData:function(t){var n=t[this.expando];return n!==undefined&&!e.isEmptyObject(n)}};var i=new P(),u=new P(),Wt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Kt=/[A-Z]/g;function Jt(e){if(e==="true"){return!0};if(e==="false"){return!1};if(e==="null"){return null};if(e===+e+""){return+e};if(Wt.test(e)){return JSON.parse(e)};return e};function He(e,t,n){var r;if(n===undefined&&e.nodeType===1){r="data-"+t.replace(Kt,"-$&").toLowerCase();n=e.getAttribute(r);if(typeof n==="string"){try{n=Jt(n)}catch(i){};u.set(e,t,n)}
else{n=undefined}};return n};e.extend({hasData:function(e){return u.hasData(e)||i.hasData(e)},data:function(e,t,n){return u.access(e,t,n)},removeData:function(e,t){u.remove(e,t)},_data:function(e,t,n){return i.access(e,t,n)},_removeData:function(e,t){i.remove(e,t)}});e.fn.extend({data:function(e,t){var o,r,s,n=this[0],a=n&&n.attributes;if(e===undefined){if(this.length){s=u.get(n);if(n.nodeType===1&&!i.get(n,"hasDataAttrs")){o=a.length;while(o--){if(a[o]){r=a[o].name;if(r.indexOf("data-")===0){r=h(r.slice(5));He(n,r,s[r])}}};i.set(n,"hasDataAttrs",!0)}};return s};if(typeof e==="object"){return this.each(function(){u.set(this,e)})};return m(this,function(t){var i;if(n&&t===undefined){i=u.get(n,e);if(i!==undefined){return i};i=He(n,e);if(i!==undefined){return i};return};this.each(function(){u.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){u.remove(this,e)})}});e.extend({queue:function(t,n,r){var o;if(t){n=(n||"fx")+"queue";o=i.get(t,n);if(r){if(!o||Array.isArray(r)){o=i.access(t,n,e.makeArray(r))}
else{o.push(r)}};return o||[]}},dequeue:function(t,n){n=n||"fx";var i=e.queue(t,n),s=i.length,r=i.shift(),o=e._queueHooks(t,n),a=function(){e.dequeue(t,n)};if(r==="inprogress"){r=i.shift();s--};if(r){if(n==="fx"){i.unshift("inprogress")};delete o.stop;r.call(t,a,o)};if(!s&&o){o.empty.fire()}},_queueHooks:function(t,n){var r=n+"queueHooks";return i.get(t,r)||i.access(t,r,{empty:e.Callbacks("once memory").add(function(){i.remove(t,[n+"queue",r])})})}});e.fn.extend({queue:function(t,n){var i=2;if(typeof t!=="string"){n=t;t="fx";i--};if(arguments.length<i){return e.queue(this[0],t)};return n===undefined?this:this.each(function(){var i=e.queue(this,t,n);e._queueHooks(this,t);if(t==="fx"&&i[0]!=="inprogress"){e.dequeue(this,t)}})},dequeue:function(t){return this.each(function(){e.dequeue(this,t)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(t,n){var r,s=1,a=e.Deferred(),o=this,u=this.length,f=function(){if(!(--s)){a.resolveWith(o,[o])}};if(typeof t!=="string"){n=t;t=undefined};t=t||"fx";while(u--){r=i.get(o[u],t+"queueHooks");if(r&&r.empty){s++;r.empty.add(f)}};f();return a.promise(n)}});var ot=(/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source,I=new RegExp("^(?:([+-])=|)("+ot+")([a-z%]*)$","i"),g=["Top","Right","Bottom","Left"],q=o.documentElement,A=function(t){return e.contains(t.ownerDocument,t)},Mt={composed:!0};if(q.getRootNode){A=function(t){return e.contains(t.ownerDocument,t)||t.getRootNode(Mt)===t.ownerDocument}};var X=function(t,n){t=n||t;return t.style.display==="none"||t.style.display===""&&A(t)&&e.css(t,"display")==="none"},rt=function(e,t,n,i){var o,r,s={};for(r in t){s[r]=e.style[r];e.style[r]=t[r]};o=n.apply(e,i||[]);for(r in t){e.style[r]=s[r]};return o};function Le(t,n,i,r){var u,f,l=20,c=r?function(){return r.cur()}:function(){return e.css(t,n,"")},a=c(),s=i&&i[3]||(e.cssNumber[n]?"":"px"),o=t.nodeType&&(e.cssNumber[n]||s!=="px"&&+a)&&I.exec(e.css(t,n));if(o&&o[3]!==s){a=a/2;s=s||o[3];o=+a||1;while(l--){e.style(t,n,o+s);if((1-f)*(1-(f=c()/a||0.5))<=0){l=0};o=o/f};o=o*2;e.style(t,n,o+s);i=i||[]};if(i){o=+o||+a||0;u=i[1]?o+(i[1]+1)*i[2]:+i[2];if(r){r.unit=s;r.start=o;r.end=u}};return u};var Ge={};function en(t){var i,o=t.ownerDocument,r=t.nodeName,n=Ge[r];if(n){return n};i=o.body.appendChild(o.createElement(r));n=e.css(i,"display");i.parentNode.removeChild(i);if(n==="none"){n="block"};Ge[r]=n;return n};function T(e,t){var s,r,o=[],n=0,a=e.length;for(;n<a;n++){r=e[n];if(!r.style){continue};s=r.style.display;if(t){if(s==="none"){o[n]=i.get(r,"display")||null;if(!o[n]){r.style.display=""}};if(r.style.display===""&&X(r)){o[n]=en(r)}}
else{if(s!=="none"){o[n]="none";i.set(r,"display",s)}}};for(n=0;n<a;n++){if(o[n]!=null){e[n].style.display=o[n]}};return e};e.fn.extend({show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(t){if(typeof t==="boolean"){return t?this.show():this.hide()};return this.each(function(){if(X(this)){e(this).show()}
else{e(this).hide()}})}});var R=(/^(?:checkbox|radio)$/i),We=(/<([a-z][^\/\0>\x20\t\r\n\f]*)/i),nt=(/^$|^module$|\/(?:java|ecma)script/i),l={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};l.optgroup=l.option;l.tbody=l.tfoot=l.colgroup=l.caption=l.thead;l.th=l.td;function f(t,n){var i;if(typeof t.getElementsByTagName!=="undefined"){i=t.getElementsByTagName(n||"*")}
else if(typeof t.querySelectorAll!=="undefined"){i=t.querySelectorAll(n||"*")}
else{i=[]};if(n===undefined||n&&c(t,n)){return e.merge([t],i)};return i};function pe(e,t){var n=0,r=e.length;for(;n<r;n++){i.set(e[n],"globalEval",!t||i.get(t[n],"globalEval"))}};var It=/<|&#?\w+;/;function je(t,n,i,r,s){var o,a,g,d,m,p,u=n.createDocumentFragment(),h=[],c=0,y=t.length;for(;c<y;c++){o=t[c];if(o||o===0){if(C(o)==="object"){e.merge(h,o.nodeType?[o]:o)}
else if(!It.test(o)){h.push(n.createTextNode(o))}
else{a=a||u.appendChild(n.createElement("div"));g=(We.exec(o)||["",""])[1].toLowerCase();d=l[g]||l._default;a.innerHTML=d[1]+e.htmlPrefilter(o)+d[2];p=d[0];while(p--){a=a.lastChild};e.merge(h,a.childNodes);a=u.firstChild;a.textContent=""}}};u.textContent="";c=0;while((o=h[c++])){if(r&&e.inArray(o,r)>-1){if(s){s.push(o)};continue};m=A(o);a=f(u.appendChild(o),"script");if(m){pe(a)};if(i){p=0;while((o=a[p++])){if(nt.test(o.type||"")){i.push(o)}}}};return u}(function(){var n=o.createDocumentFragment(),t=n.appendChild(o.createElement("div")),e=o.createElement("input");e.setAttribute("type","radio");e.setAttribute("checked","checked");e.setAttribute("name","t");t.appendChild(e);s.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked;t.innerHTML="<textarea>x</textarea>";s.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue})();var zt=/^key/,Ft=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Fe=/^([^.]*)(?:\.(.+)|)/;function E(){return!0};function S(){return!1};function un(e,t){return(e===fn())===(t==="focus")};function fn(){try{return o.activeElement}catch(e){}};function ce(t,n,i,r,o,s){var a,u;if(typeof n==="object"){if(typeof i!=="string"){r=r||i;i=undefined};for(u in n){ce(t,u,i,r,n[u],s)};return t};if(r==null&&o==null){o=i;r=i=undefined}
else if(o==null){if(typeof i==="string"){o=r;r=undefined}
else{o=r;r=i;i=undefined}};if(o===!1){o=S}
else if(!o){return t};if(s===1){a=o;o=function(t){e().off(t);return a.apply(this,arguments)};o.guid=a.guid||(a.guid=e.guid++)};return t.each(function(){e.event.add(this,n,o,r,i)})};e.event={global:{},add:function(t,n,r,o,s){var h,d,y,g,m,f,u,l,a,v,x,c=i.get(t);if(!c){return};if(r.handler){h=r;r=h.handler;s=h.selector};if(s){e.find.matchesSelector(q,s)};if(!r.guid){r.guid=e.guid++};if(!(g=c.events)){g=c.events={}};if(!(d=c.handle)){d=c.handle=function(n){return typeof e!=="undefined"&&e.event.triggered!==n.type?e.event.dispatch.apply(t,arguments):undefined}};n=(n||"").match(p)||[""];m=n.length;while(m--){y=Fe.exec(n[m])||[];a=x=y[1];v=(y[2]||"").split(".").sort();if(!a){continue};u=e.event.special[a]||{};a=(s?u.delegateType:u.bindType)||a;u=e.event.special[a]||{};f=e.extend({type:a,origType:x,data:o,handler:r,guid:r.guid,selector:s,needsContext:s&&e.expr.match.needsContext.test(s),namespace:v.join(".")},h);if(!(l=g[a])){l=g[a]=[];l.delegateCount=0;if(!u.setup||u.setup.call(t,o,v,d)===!1){if(t.addEventListener){t.addEventListener(a,d)}}};if(u.add){u.add.call(t,f);if(!f.handler.guid){f.handler.guid=r.guid}};if(s){l.splice(l.delegateCount++,0,f)}
else{l.push(f)};e.event.global[a]=!0}},remove:function(t,n,r,o,s){var g,v,f,d,h,u,l,c,a,y,x,m=i.hasData(t)&&i.get(t);if(!m||!(d=m.events)){return};n=(n||"").match(p)||[""];h=n.length;while(h--){f=Fe.exec(n[h])||[];a=x=f[1];y=(f[2]||"").split(".").sort();if(!a){for(a in d){e.event.remove(t,a+n[h],r,o,!0)};continue};l=e.event.special[a]||{};a=(o?l.delegateType:l.bindType)||a;c=d[a]||[];f=f[2]&&new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)");v=g=c.length;while(g--){u=c[g];if((s||x===u.origType)&&(!r||r.guid===u.guid)&&(!f||f.test(u.namespace))&&(!o||o===u.selector||o==="**"&&u.selector)){c.splice(g,1);if(u.selector){c.delegateCount--};if(l.remove){l.remove.call(t,u)}}};if(v&&!c.length){if(!l.teardown||l.teardown.call(t,y,m.handle)===!1){e.removeEvent(t,a,m.handle)};delete d[a]}};if(e.isEmptyObject(d)){i.remove(t,"handle events")}},dispatch:function(t){var n=e.event.fix(t),r,l,u,s,o,c,f=new Array(arguments.length),d=(i.get(this,"events")||{})[n.type]||[],a=e.event.special[n.type]||{};f[0]=n;for(r=1;r<arguments.length;r++){f[r]=arguments[r]};n.delegateTarget=this;if(a.preDispatch&&a.preDispatch.call(this,n)===!1){return};c=e.event.handlers.call(this,n,d);r=0;while((s=c[r++])&&!n.isPropagationStopped()){n.currentTarget=s.elem;l=0;while((o=s.handlers[l++])&&!n.isImmediatePropagationStopped()){if(!n.rnamespace||o.namespace===!1||n.rnamespace.test(o.namespace)){n.handleObj=o;n.data=o.data;u=((e.event.special[o.origType]||{}).handle||o.handler).apply(s.elem,f);if(u!==undefined){if((n.result=u)===!1){n.preventDefault();n.stopPropagation()}}}}};if(a.postDispatch){a.postDispatch.call(this,n)};return n.result},handlers:function(t,n){var o,s,r,a,u,l=[],f=n.delegateCount,i=t.target;if(f&&i.nodeType&&!(t.type==="click"&&t.button>=1)){for(;i!==this;i=i.parentNode||this){if(i.nodeType===1&&!(t.type==="click"&&i.disabled===!0)){a=[];u={};for(o=0;o<f;o++){s=n[o];r=s.selector+" ";if(u[r]===undefined){u[r]=s.needsContext?e(r,this).index(i)>-1:e.find(r,this,null,[i]).length};if(u[r]){a.push(s)}};if(a.length){l.push({elem:i,handlers:a})}}}};i=this;if(f<n.length){l.push({elem:i,handlers:n.slice(f)})};return l},addProp:function(t,n){Object.defineProperty(e.Event.prototype,t,{enumerable:!0,configurable:!0,get:r(n)?function(){if(this.originalEvent){return n(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(t){return t[e.expando]?t:new e.Event(t)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;if(R.test(t.type)&&t.click&&c(t,"input")){B(t,"click",E)};return!1},trigger:function(e){var t=this||e;if(R.test(t.type)&&t.click&&c(t,"input")){B(t,"click")};return!0},_default:function(e){var t=e.target;return R.test(t.type)&&t.click&&c(t,"input")&&i.get(t,"click")||c(t,"a")}},beforeunload:{postDispatch:function(e){if(e.result!==undefined&&e.originalEvent){e.originalEvent.returnValue=e.result}}}}};function B(t,n,r){if(!r){if(i.get(t,n)===undefined){e.event.add(t,n,E)};return};i.set(t,n,!1);e.event.add(t,n,{namespace:!1,handler:function(t){var a,s,o=i.get(this,n);if((t.isTrigger&1)&&this[n]){if(!o.length){o=y.call(arguments);i.set(this,n,o);a=r(this,n);this[n]();s=i.get(this,n);if(o!==s||a){i.set(this,n,!1)}
else{s={}};if(o!==s){t.stopImmediatePropagation();t.preventDefault();return s.value}}
else if((e.event.special[n]||{}).delegateType){t.stopPropagation()}}
else if(o.length){i.set(this,n,{value:e.event.trigger(e.extend(o[0],e.Event.prototype),o.slice(1),this)});t.stopImmediatePropagation()}}})};e.removeEvent=function(e,t,n){if(e.removeEventListener){e.removeEventListener(t,n)}};e.Event=function(t,n){if(!(this instanceof e.Event)){return new e.Event(t,n)};if(t&&t.type){this.originalEvent=t;this.type=t.type;this.isDefaultPrevented=t.defaultPrevented||t.defaultPrevented===undefined&&t.returnValue===!1?E:S;this.target=(t.target&&t.target.nodeType===3)?t.target.parentNode:t.target;this.currentTarget=t.currentTarget;this.relatedTarget=t.relatedTarget}
else{this.type=t};if(n){e.extend(this,n)};this.timeStamp=t&&t.timeStamp||Date.now();this[e.expando]=!0};e.Event.prototype={constructor:e.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=E;if(e&&!this.isSimulated){e.preventDefault()}},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=E;if(e&&!this.isSimulated){e.stopPropagation()}},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=E;if(e&&!this.isSimulated){e.stopImmediatePropagation()};this.stopPropagation()}};e.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;if(e.which==null&&zt.test(e.type)){return e.charCode!=null?e.charCode:e.keyCode};if(!e.which&&t!==undefined&&Ft.test(e.type)){if(t&1){return 1};if(t&2){return 3};if(t&4){return 2};return 0};return e.which}},e.event.addProp);e.each({focus:"focusin",blur:"focusout"},function(t,n){e.event.special[t]={setup:function(){B(this,t,un);return!1},trigger:function(){B(this,t);return!0},delegateType:n}});e.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,n){e.event.special[t]={delegateType:n,bindType:n,handle:function(t){var r,o=this,i=t.relatedTarget,s=t.handleObj;if(!i||(i!==o&&!e.contains(o,i))){t.type=s.origType;r=s.handler.apply(this,arguments);t.type=n};return r}}});e.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(t,n,i){var r,o;if(t&&t.preventDefault&&t.handleObj){r=t.handleObj;e(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler);return this};if(typeof t==="object"){for(o in t){this.off(o,n,t[o])};return this};if(n===!1||typeof n==="function"){i=n;n=undefined};if(i===!1){i=S};return this.each(function(){e.event.remove(this,t,i,n)})}});var Yt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Vt=/<script|<style|<link/i,Xt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ut=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function De(t,n){if(c(t,"table")&&c(n.nodeType!==11?n:n.firstChild,"tr")){return e(t).children("tbody")[0]||t};return t};function Pt(e){e.type=(e.getAttribute("type")!==null)+"/"+e.type;return e};function Ot(e){if((e.type||"").slice(0,5)==="true/"){e.type=e.type.slice(5)}
else{e.removeAttribute("type")};return e};function Ae(t,n){var o,l,s,a,f,c,d,r;if(n.nodeType!==1){return};if(i.hasData(t)){a=i.access(t);f=i.set(n,a);r=a.events;if(r){delete f.handle;f.events={};for(s in r){for(o=0,l=r[s].length;o<l;o++){e.event.add(n,s,r[s][o])}}}};if(u.hasData(t)){c=u.access(t);d=e.extend({},c);u.set(n,d)}};function at(e,t){var n=t.nodeName.toLowerCase();if(n==="input"&&R.test(e.type)){t.checked=e.checked}
else if(n==="input"||n==="textarea"){t.defaultValue=e.defaultValue}};function L(t,n,o,a){n=ke.apply([],n);var d,m,c,p,u,y,l=0,h=t.length,x=h-1,g=n[0],v=r(g);if(v||(h>1&&typeof g==="string"&&!s.checkClone&&Xt.test(g))){return t.each(function(e){var i=t.eq(e);if(v){n[0]=g.call(this,e,i.html())};L(i,n,o,a)})};if(h){d=je(n,t[0].ownerDocument,!1,t,a);m=d.firstChild;if(d.childNodes.length===1){d=m};if(m||a){c=e.map(f(d,"script"),Pt);p=c.length;for(;l<h;l++){u=d;if(l!==x){u=e.clone(u,!0,!0);if(p){e.merge(c,f(u,"script"))}};o.call(t[l],u,l)};if(p){y=c[c.length-1].ownerDocument;e.map(c,Ot);for(l=0;l<p;l++){u=c[l];if(nt.test(u.type||"")&&!i.access(u,"globalEval")&&e.contains(y,u)){if(u.src&&(u.type||"").toLowerCase()!=="module"){if(e._evalUrl&&!u.noModule){e._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")})}}
else{qe(u.textContent.replace(Ut,""),u,y)}}}}}};return t};function Ne(t,n,i){var r,s=n?e.filter(n,t):t,o=0;for(;(r=s[o])!=null;o++){if(!i&&r.nodeType===1){e.cleanData(f(r))};if(r.parentNode){if(i&&A(r)){pe(f(r,"script"))};r.parentNode.removeChild(r)}};return t};e.extend({htmlPrefilter:function(e){return e.replace(Yt,"<$1></$2>")},clone:function(t,n,i){var r,l,a,o,u=t.cloneNode(!0),c=A(t);if(!s.noCloneChecked&&(t.nodeType===1||t.nodeType===11)&&!e.isXMLDoc(t)){o=f(u);a=f(t);for(r=0,l=a.length;r<l;r++){at(a[r],o[r])}};if(n){if(i){a=a||f(t);o=o||f(u);for(r=0,l=a.length;r<l;r++){Ae(a[r],o[r])}}
else{Ae(t,u)}};o=f(u,"script");if(o.length>0){pe(o,!c&&f(t,"script"))};return u},cleanData:function(t){var r,n,o,a=e.event.special,s=0;for(;(n=t[s])!==undefined;s++){if(U(n)){if((r=n[i.expando])){if(r.events){for(o in r.events){if(a[o]){e.event.remove(n,o)}
else{e.removeEvent(n,o,r.handle)}}};n[i.expando]=undefined};if(n[u.expando]){n[u.expando]=undefined}}}}});e.fn.extend({detach:function(e){return Ne(this,e,!0)},remove:function(e){return Ne(this,e)},text:function(t){return m(this,function(t){return t===undefined?e.text(this):this.empty().each(function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=t}})},null,t,arguments.length)},append:function(){return L(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=De(this,e);t.appendChild(e)}})},prepend:function(){return L(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=De(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return L(this,arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}})},after:function(){return L(this,arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}})},empty:function(){var t,n=0;for(;(t=this[n])!=null;n++){if(t.nodeType===1){e.cleanData(f(t,!1));t.textContent=""}};return this},clone:function(t,n){t=t==null?!1:t;n=n==null?t:n;return this.map(function(){return e.clone(this,t,n)})},html:function(t){return m(this,function(t){var i=this[0]||{},r=0,o=this.length;if(t===undefined&&i.nodeType===1){return i.innerHTML};if(typeof t==="string"&&!Vt.test(t)&&!l[(We.exec(t)||["",""])[1].toLowerCase()]){t=e.htmlPrefilter(t);try{for(;r<o;r++){i=this[r]||{};if(i.nodeType===1){e.cleanData(f(i,!1));i.innerHTML=t}};i=0}catch(n){}};if(i){this.empty().append(t)}},null,t,arguments.length)},replaceWith:function(){var t=[];return L(this,arguments,function(n){var i=this.parentNode;if(e.inArray(this,t)<0){e.cleanData(f(this));if(i){i.replaceChild(n,this)}}},t)}});e.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){e.fn[t]=function(t){var r,o=[],s=e(t),a=s.length-1,i=0;for(;i<=a;i++){r=i===a?this:this.clone(!0);e(s[i])[n](r);Z.apply(o,r.get())};return this.pushStack(o)}});var ne=new RegExp("^("+ot+")(?!px)[a-z%]+$","i"),F=function(e){var n=e.ownerDocument.defaultView;if(!n||!n.opener){n=t};return n.getComputedStyle(e)},Qt=new RegExp(g.join("|"),"i");(function(){function i(){if(!n){return};a.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";n.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";q.appendChild(a).appendChild(n);var e=t.getComputedStyle(n);u=e.top!=="1%";d=r(e.marginLeft)===12;n.style.right="60%";c=r(e.right)===36;f=r(e.width)===36;n.style.position="absolute";l=r(n.offsetWidth/3)===12;q.removeChild(a);n=null};function r(e){return Math.round(parseFloat(e))};var u,f,l,c,d,a=o.createElement("div"),n=o.createElement("div");if(!n.style){return};n.style.backgroundClip="content-box";n.cloneNode(!0).style.backgroundClip="";s.clearCloneStyle=n.style.backgroundClip==="content-box";e.extend(s,{boxSizingReliable:function(){i();return f},pixelBoxStyles:function(){i();return c},pixelPosition:function(){i();return u},reliableMarginLeft:function(){i();return d},scrollboxSize:function(){i();return l}})})();function M(t,n,i){var a,u,f,r,o=t.style;i=i||F(t);if(i){r=i.getPropertyValue(n)||i[n];if(r===""&&!A(t)){r=e.style(t,n)};if(!s.pixelBoxStyles()&&ne.test(r)&&Qt.test(n)){a=o.width;u=o.minWidth;f=o.maxWidth;o.minWidth=o.maxWidth=o.width=r;r=i.width;o.width=a;o.minWidth=u;o.maxWidth=f}};return r!==undefined?r+"":r};function Se(e,t){return{get:function(){if(e()){delete this.get;return};return(this.get=t).apply(this,arguments)}}};var Ue=["Webkit","Moz","ms"],ze=o.createElement("div").style,Be={};function ct(e){var n=e[0].toUpperCase()+e.slice(1),t=Ue.length;while(t--){e=Ue[t]+n;if(e in ze){return e}}};function ae(t){var final=e.cssProps[t]||Be[t];if(final){return final};if(t in ze){return t};return Be[t]=ct(t)||t};var sn=/^(none|table(?!-c[ea]).+)/,it=/^--/,rn={position:"absolute",visibility:"hidden",display:"block"},Xe={letterSpacing:"0",fontWeight:"400"};function Te(e,t,n){var i=I.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t};function oe(t,n,i,r,o,u){var s=n==="width"?1:0,f=0,a=0;if(i===(r?"border":"content")){return 0};for(;s<4;s+=2){if(i==="margin"){a+=e.css(t,i+g[s],!0,o)};if(!r){a+=e.css(t,"padding"+g[s],!0,o);if(i!=="padding"){a+=e.css(t,"border"+g[s]+"Width",!0,o)}
else{f+=e.css(t,"border"+g[s]+"Width",!0,o)}}
else{if(i==="content"){a-=e.css(t,"padding"+g[s],!0,o)};if(i!=="margin"){a-=e.css(t,"border"+g[s]+"Width",!0,o)}}};if(!r&&u>=0){a+=Math.max(0,Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-u-a-f-0.5))||0};return a};function Ce(t,n,i){var o=F(t),l=!s.boxSizingReliable()||i,a=l&&e.css(t,"boxSizing",!1,o)==="border-box",u=a,r=M(t,n,o),f="offset"+n[0].toUpperCase()+n.slice(1);if(ne.test(r)){if(!i){return r};r="auto"};if((!s.boxSizingReliable()&&a||r==="auto"||!parseFloat(r)&&e.css(t,"display",!1,o)==="inline")&&t.getClientRects().length){a=e.css(t,"boxSizing",!1,o)==="border-box";u=f in t;if(u){r=t[f]}};r=parseFloat(r)||0;return(r+oe(t,n,i||(a?"border":"content"),u,o,r))+"px"};e.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=M(e,"opacity");return n===""?"1":n}}}},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(t,n,i,r){if(!t||t.nodeType===3||t.nodeType===8||!t.style){return};var o,u,a,l=h(n),c=it.test(n),f=t.style;if(!c){n=ae(l)};a=e.cssHooks[n]||e.cssHooks[l];if(i!==undefined){u=typeof i;if(u==="string"&&(o=I.exec(i))&&o[1]){i=Le(t,n,o);u="number"};if(i==null||i!==i){return};if(u==="number"&&!c){i+=o&&o[3]||(e.cssNumber[l]?"":"px")};if(!s.clearCloneStyle&&i===""&&n.indexOf("background")===0){f[n]="inherit"};if(!a||!("set" in a)||(i=a.set(t,i,r))!==undefined){if(c){f.setProperty(n,i)}
else{f[n]=i}}}
else{if(a&&"get" in a&&(o=a.get(t,!1,r))!==undefined){return o};return f[n]}},css:function(t,n,i,r){var o,a,s,u=h(n),f=it.test(n);if(!f){n=ae(u)};s=e.cssHooks[n]||e.cssHooks[u];if(s&&"get" in s){o=s.get(t,!0,i)};if(o===undefined){o=M(t,n,r)};if(o==="normal"&&n in Xe){o=Xe[n]};if(i===""||i){a=parseFloat(o);return i===!0||isFinite(a)?a||0:o};return o}});e.each(["height","width"],function(t,n){e.cssHooks[n]={get:function(t,i,r){if(i){return sn.test(e.css(t,"display"))&&(!t.getClientRects().length||!t.getBoundingClientRect().width)?rt(t,rn,function(){return Ce(t,n,r)}):Ce(t,n,r)}},set:function(t,i,r){var u,o=F(t),f=!s.scrollboxSize()&&o.position==="absolute",c=f||r,l=c&&e.css(t,"boxSizing",!1,o)==="border-box",a=r?oe(t,n,r,l,o):0;if(l&&f){a-=Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(o[n])-oe(t,n,"border",!1,o)-0.5)};if(a&&(u=I.exec(i))&&(u[3]||"px")!=="px"){t.style[n]=i;i=e.css(t,n)};return Te(t,i,a)}}});e.cssHooks.marginLeft=Se(s.reliableMarginLeft,function(e,t){if(t){return(parseFloat(M(e,"marginLeft"))||e.getBoundingClientRect().left-rt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}});e.each({margin:"",padding:"",border:"Width"},function(t,n){e.cssHooks[t+n]={expand:function(e){var i=0,o={},r=typeof e==="string"?e.split(" "):[e];for(;i<4;i++){o[t+g[i]+n]=r[i]||r[i-2]||r[0]};return o}};if(t!=="margin"){e.cssHooks[t+n].set=Te}});e.fn.extend({css:function(t,n){return m(this,function(t,n,i){var o,s,a={},r=0;if(Array.isArray(n)){o=F(t);s=n.length;for(;r<s;r++){a[n[r]]=e.css(t,n[r],!1,o)};return a};return i!==undefined?e.style(t,n,i):e.css(t,n)},t,n,arguments.length>1)}});function a(e,t,n,i,r){return new a.prototype.init(e,t,n,i,r)};e.Tween=a;a.prototype={constructor:a,init:function(t,n,i,r,o,s){this.elem=t;this.prop=i;this.easing=o||e.easing._default;this.options=n;this.start=this.now=this.cur();this.end=r;this.unit=s||(e.cssNumber[i]?"":"px")},cur:function(){var e=a.propHooks[this.prop];return e&&e.get?e.get(this):a.propHooks._default.get(this)},run:function(t){var n,i=a.propHooks[this.prop];if(this.options.duration){this.pos=n=e.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration)}
else{this.pos=n=t};this.now=(this.end-this.start)*n+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)};if(i&&i.set){i.set(this)}
else{a.propHooks._default.set(this)};return this}};a.prototype.init.prototype=a.prototype;a.propHooks={_default:{get:function(t){var n;if(t.elem.nodeType!==1||t.elem[t.prop]!=null&&t.elem.style[t.prop]==null){return t.elem[t.prop]};n=e.css(t.elem,t.prop,"");return!n||n==="auto"?0:n},set:function(t){if(e.fx.step[t.prop]){e.fx.step[t.prop](t)}
else if(t.elem.nodeType===1&&(e.cssHooks[t.prop]||t.elem.style[ae(t.prop)]!=null)){e.style(t.elem,t.prop,t.now+t.unit)}
else{t.elem[t.prop]=t.now}}}};a.propHooks.scrollTop=a.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};e.easing={linear:function(e){return e},swing:function(e){return 0.5-Math.cos(e*Math.PI)/2},_default:"swing"};e.fx=a.prototype.init;e.fx.step={};var N,Q,ln=/^(?:toggle|show|hide)$/,an=/queueHooks$/;function se(){if(Q){if(o.hidden===!1&&t.requestAnimationFrame){t.requestAnimationFrame(se)}
else{t.setTimeout(se,e.fx.interval)};e.fx.tick()}};function xe(){t.setTimeout(function(){N=undefined});return(N=Date.now())};function V(e,t){var i,r=0,n={height:e};t=t?1:0;for(;r<4;r+=2-t){i=g[r];n["margin"+i]=n["padding"+i]=e};if(t){n.opacity=n.width=e};return n};function ye(e,t,n){var r,o=(d.tweeners[t]||[]).concat(d.tweeners["*"]),i=0,s=o.length;for(;i<s;i++){if((r=o[i].call(n,t,e))){return r}}};function wt(t,n,r){var o,h,m,l,y,f,a,c,v="width" in n||"height" in n,p=this,g={},u=t.style,d=t.nodeType&&X(t),s=i.get(t,"fxshow");if(!r.queue){l=e._queueHooks(t,"fx");if(l.unqueued==null){l.unqueued=0;y=l.empty.fire;l.empty.fire=function(){if(!l.unqueued){y()}}};l.unqueued++;p.always(function(){p.always(function(){l.unqueued--;if(!e.queue(t,"fx").length){l.empty.fire()}})})};for(o in n){h=n[o];if(ln.test(h)){delete n[o];m=m||h==="toggle";if(h===(d?"hide":"show")){if(h==="show"&&s&&s[o]!==undefined){d=!0}
else{continue}};g[o]=s&&s[o]||e.style(t,o)}};f=!e.isEmptyObject(n);if(!f&&e.isEmptyObject(g)){return};if(v&&t.nodeType===1){r.overflow=[u.overflow,u.overflowX,u.overflowY];a=s&&s.display;if(a==null){a=i.get(t,"display")};c=e.css(t,"display");if(c==="none"){if(a){c=a}
else{T([t],!0);a=t.style.display||a;c=e.css(t,"display");T([t])}};if(c==="inline"||c==="inline-block"&&a!=null){if(e.css(t,"float")==="none"){if(!f){p.done(function(){u.display=a});if(a==null){c=u.display;a=c==="none"?"":c}};u.display="inline-block"}}};if(r.overflow){u.overflow="hidden";p.always(function(){u.overflow=r.overflow[0];u.overflowX=r.overflow[1];u.overflowY=r.overflow[2]})};f=!1;for(o in g){if(!f){if(s){if("hidden" in s){d=s.hidden}}
else{s=i.access(t,"fxshow",{display:a})};if(m){s.hidden=!d};if(d){T([t],!0)};p.done(function(){if(!d){T([t])};i.remove(t,"fxshow");for(o in g){e.style(t,o,g[o])}})};f=ye(d?s[o]:0,o,p);if(!(o in s)){s[o]=f.start;if(d){f.end=f.start;f.start=0}}}};function Tt(t,n){var i,o,s,r,a;for(i in t){o=h(i);s=n[o];r=t[i];if(Array.isArray(r)){s=r[1];r=t[i]=r[0]};if(i!==o){t[o]=r;delete t[i]};a=e.cssHooks[o];if(a&&"expand" in a){r=a.expand(r);delete t[o];for(i in r){if(!(i in t)){t[i]=r[i];n[i]=s}}}
else{n[o]=s}}};function d(t,n,i){var a,u,f=0,p=d.prefilters.length,s=e.Deferred().always(function(){delete c.elem}),c=function(){if(u){return!1};var a=N||xe(),e=Math.max(0,o.startTime+o.duration-a),f=e/o.duration||0,n=1-f,i=0,r=o.tweens.length;for(;i<r;i++){o.tweens[i].run(n)};s.notifyWith(t,[o,n,e]);if(n<1&&r){return e};if(!r){s.notifyWith(t,[o,1,0])};s.resolveWith(t,[o]);return!1},o=s.promise({elem:t,props:e.extend({},n),opts:e.extend(!0,{specialEasing:{},easing:e.easing._default},i),originalProperties:n,originalOptions:i,startTime:N||xe(),duration:i.duration,tweens:[],createTween:function(n,i){var r=e.Tween(t,o.opts,n,i,o.opts.specialEasing[n]||o.opts.easing);o.tweens.push(r);return r},stop:function(e){var n=0,i=e?o.tweens.length:0;if(u){return this};u=!0;for(;n<i;n++){o.tweens[n].run(1)};if(e){s.notifyWith(t,[o,1,0]);s.resolveWith(t,[o,e])}
else{s.rejectWith(t,[o,e])};return this}}),l=o.props;Tt(l,o.opts.specialEasing);for(;f<p;f++){a=d.prefilters[f].call(o,t,l,o.opts);if(a){if(r(a.stop)){e._queueHooks(o.elem,o.opts.queue).stop=a.stop.bind(a)};return a}};e.map(l,ye,o);if(r(o.opts.start)){o.opts.start.call(t,o)};o.progress(o.opts.progress).done(o.opts.done,o.opts.complete).fail(o.opts.fail).always(o.opts.always);e.fx.timer(e.extend(c,{elem:t,anim:o,queue:o.opts.queue}));return o};e.Animation=e.extend(d,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);Le(n.elem,e,I.exec(t),n);return n}]},tweener:function(e,t){if(r(e)){t=e;e=["*"]}
else{e=e.match(p)};var n,i=0,o=e.length;for(;i<o;i++){n=e[i];d.tweeners[n]=d.tweeners[n]||[];d.tweeners[n].unshift(t)}},prefilters:[wt],prefilter:function(e,t){if(t){d.prefilters.unshift(e)}
else{d.prefilters.push(e)}}});e.speed=function(t,n,i){var o=t&&typeof t==="object"?e.extend({},t):{complete:i||!i&&n||r(t)&&t,duration:t,easing:i&&n||n&&!r(n)&&n};if(e.fx.off){o.duration=0}
else{if(typeof o.duration!=="number"){if(o.duration in e.fx.speeds){o.duration=e.fx.speeds[o.duration]}
else{o.duration=e.fx.speeds._default}}};if(o.queue==null||o.queue===!0){o.queue="fx"};o.old=o.complete;o.complete=function(){if(r(o.old)){o.old.call(this)};if(o.queue){e.dequeue(this,o.queue)}};return o};e.fn.extend({fadeTo:function(e,t,n,i){return this.filter(X).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,n,r,o){var u=e.isEmptyObject(t),a=e.speed(n,r,o),s=function(){var n=d(this,e.extend({},t),a);if(u||i.get(this,"finish")){n.stop(!0)}};s.finish=s;return u||a.queue===!1?this.each(s):this.queue(a.queue,s)},stop:function(t,n,r){var o=function(e){var t=e.stop;delete e.stop;t(r)};if(typeof t!=="string"){r=n;n=t;t=undefined};if(n&&t!==!1){this.queue(t||"fx",[])};return this.each(function(){var u=!0,n=t!=null&&t+"queueHooks",a=e.timers,s=i.get(this);if(n){if(s[n]&&s[n].stop){o(s[n])}}
else{for(n in s){if(s[n]&&s[n].stop&&an.test(n)){o(s[n])}}};for(n=a.length;n--;){if(a[n].elem===this&&(t==null||a[n].queue===t)){a[n].anim.stop(r);u=!1;a.splice(n,1)}};if(u||!r){e.dequeue(this,t)}})},finish:function(t){if(t!==!1){t=t||"fx"};return this.each(function(){var n,s=i.get(this),r=s[t+"queue"],a=s[t+"queueHooks"],o=e.timers,u=r?r.length:0;s.finish=!0;e.queue(this,t,[]);if(a&&a.stop){a.stop.call(this,!0)};for(n=o.length;n--;){if(o[n].elem===this&&o[n].queue===t){o[n].anim.stop(!0);o.splice(n,1)}};for(n=0;n<u;n++){if(r[n]&&r[n].finish){r[n].finish.call(this)}};delete s.finish})}});e.each(["toggle","show","hide"],function(t,n){var i=e.fn[n];e.fn[n]=function(e,t,r){return e==null||typeof e==="boolean"?i.apply(this,arguments):this.animate(V(n,!0),e,t,r)}});e.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){e.fn[t]=function(e,t,i){return this.animate(n,e,t,i)}});e.timers=[];e.fx.tick=function(){var i,n=0,t=e.timers;N=Date.now();for(;n<t.length;n++){i=t[n];if(!i()&&t[n]===i){t.splice(n--,1)}};if(!t.length){e.fx.stop()};N=undefined};e.fx.timer=function(t){e.timers.push(t);e.fx.start()};e.fx.interval=13;e.fx.start=function(){if(Q){return};Q=!0;se()};e.fx.stop=function(){Q=null};e.fx.speeds={slow:600,fast:200,_default:400};e.fn.delay=function(n,i){n=e.fx?e.fx.speeds[n]||n:n;i=i||"fx";return this.queue(i,function(e,i){var r=t.setTimeout(e,n);i.stop=function(){t.clearTimeout(r)}})};(function(){var e=o.createElement("input"),t=o.createElement("select"),n=t.appendChild(o.createElement("option"));e.type="checkbox";s.checkOn=e.value!=="";s.optSelected=n.selected;e=o.createElement("input");e.value="t";e.type="radio";s.radioValue=e.value==="t"})();var Ve,W=e.expr.attrHandle;e.fn.extend({attr:function(t,n){return m(this,e.attr,t,n,arguments.length>1)},removeAttr:function(t){return this.each(function(){e.removeAttr(this,t)})}});e.extend({attr:function(t,n,i){var r,o,s=t.nodeType;if(s===3||s===8||s===2){return};if(typeof t.getAttribute==="undefined"){return e.prop(t,n,i)};if(s!==1||!e.isXMLDoc(t)){o=e.attrHooks[n.toLowerCase()]||(e.expr.match.bool.test(n)?Ve:undefined)};if(i!==undefined){if(i===null){e.removeAttr(t,n);return};if(o&&"set" in o&&(r=o.set(t,i,n))!==undefined){return r};t.setAttribute(n,i+"");return i};if(o&&"get" in o&&(r=o.get(t,n))!==null){return r};r=e.find.attr(t,n);return r==null?undefined:r},attrHooks:{type:{set:function(e,t){if(!s.radioValue&&t==="radio"&&c(e,"input")){var n=e.value;e.setAttribute("type",t);if(n){e.value=n};return t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(p);if(i&&e.nodeType===1){while((n=i[r++])){e.removeAttribute(n)}}}});Ve={set:function(t,n,i){if(n===!1){e.removeAttr(t,i)}
else{t.setAttribute(i,i)};return i}};e.each(e.expr.match.bool.source.match(/\w+/g),function(t,n){var i=W[n]||e.find.attr;W[n]=function(e,t,n){var o,s,r=t.toLowerCase();if(!n){s=W[r];W[r]=o;o=i(e,t,n)!=null?r:null;W[r]=s};return o}});var Ht=/^(?:input|select|textarea|button)$/i,Rt=/^(?:a|area)$/i;e.fn.extend({prop:function(t,n){return m(this,e.prop,t,n,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[e.propFix[t]||t]})}});e.extend({prop:function(t,n,i){var o,r,s=t.nodeType;if(s===3||s===8||s===2){return};if(s!==1||!e.isXMLDoc(t)){n=e.propFix[n]||n;r=e.propHooks[n]};if(i!==undefined){if(r&&"set" in r&&(o=r.set(t,i,n))!==undefined){return o};return(t[n]=i)};if(r&&"get" in r&&(o=r.get(t,n))!==null){return o};return t[n]},propHooks:{tabIndex:{get:function(t){var n=e.find.attr(t,"tabindex");if(n){return parseInt(n,10)};if(Ht.test(t.nodeName)||Rt.test(t.nodeName)&&t.href){return 0};return-1}}},propFix:{"for":"htmlFor","class":"className"}});if(!s.optSelected){e.propHooks.selected={get:function(e){var t=e.parentNode;if(t&&t.parentNode){t.parentNode.selectedIndex};return null},set:function(e){var t=e.parentNode;if(t){t.selectedIndex;if(t.parentNode){t.parentNode.selectedIndex}}}}};e.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){e.propFix[this.toLowerCase()]=this});function b(e){var t=e.match(p)||[];return t.join(" ")};function w(e){return e.getAttribute&&e.getAttribute("class")||""};function fe(e){if(Array.isArray(e)){return e};if(typeof e==="string"){return e.match(p)||[]};return[]};e.fn.extend({addClass:function(t){var o,i,n,s,a,f,u,l=0;if(r(t)){return this.each(function(n){e(this).addClass(t.call(this,n,w(this)))})};o=fe(t);if(o.length){while((i=this[l++])){s=w(i);n=i.nodeType===1&&(" "+b(s)+" ");if(n){f=0;while((a=o[f++])){if(n.indexOf(" "+a+" ")<0){n+=a+" "}};u=b(n);if(s!==u){i.setAttribute("class",u)}}}};return this},removeClass:function(t){var o,i,n,s,a,f,u,l=0;if(r(t)){return this.each(function(n){e(this).removeClass(t.call(this,n,w(this)))})};if(!arguments.length){return this.attr("class","")};o=fe(t);if(o.length){while((i=this[l++])){s=w(i);n=i.nodeType===1&&(" "+b(s)+" ");if(n){f=0;while((a=o[f++])){while(n.indexOf(" "+a+" ")>-1){n=n.replace(" "+a+" "," ")}};u=b(n);if(s!==u){i.setAttribute("class",u)}}}};return this},toggleClass:function(t,n){var o=typeof t,s=o==="string"||Array.isArray(t);if(typeof n==="boolean"&&s){return n?this.addClass(t):this.removeClass(t)};if(r(t)){return this.each(function(i){e(this).toggleClass(t.call(this,i,w(this),n),n)})};return this.each(function(){var n,a,r,u;if(s){a=0;r=e(this);u=fe(t);while((n=u[a++])){if(r.hasClass(n)){r.removeClass(n)}
else{r.addClass(n)}}}
else if(t===undefined||o==="boolean"){n=w(this);if(n){i.set(this,"__className__",n)};if(this.setAttribute){this.setAttribute("class",n||t===!1?"":i.get(this,"__className__")||"")}}})},hasClass:function(e){var n,t,i=0;n=" "+e+" ";while((t=this[i++])){if(t.nodeType===1&&(" "+b(w(t))+" ").indexOf(n)>-1){return!0}};return!1}});var ut=/\r/g;e.fn.extend({val:function(t){var n,i,s,o=this[0];if(!arguments.length){if(o){n=e.valHooks[o.type]||e.valHooks[o.nodeName.toLowerCase()];if(n&&"get" in n&&(i=n.get(o,"value"))!==undefined){return i};i=o.value;if(typeof i==="string"){return i.replace(ut,"")};return i==null?"":i};return};s=r(t);return this.each(function(i){var r;if(this.nodeType!==1){return};if(s){r=t.call(this,i,e(this).val())}
else{r=t};if(r==null){r=""}
else if(typeof r==="number"){r+=""}
else if(Array.isArray(r)){r=e.map(r,function(e){return e==null?"":e+""})};n=e.valHooks[this.type]||e.valHooks[this.nodeName.toLowerCase()];if(!n||!("set" in n)||n.set(this,r,"value")===undefined){this.value=r}})}});e.extend({valHooks:{option:{get:function(t){var n=e.find.attr(t,"value");return n!=null?n:b(e.text(t))}},select:{get:function(t){var s,n,i,a=t.options,r=t.selectedIndex,o=t.type==="select-one",u=o?null:[],f=o?r+1:a.length;if(r<0){i=f}
else{i=o?r:0};for(;i<f;i++){n=a[i];if((n.selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!c(n.parentNode,"optgroup"))){s=e(n).val();if(o){return s};u.push(s)}};return u},set:function(t,n){var r,i,o=t.options,s=e.makeArray(n),a=o.length;while(a--){i=o[a];if(i.selected=e.inArray(e.valHooks.option.get(i),s)>-1){r=!0}};if(!r){t.selectedIndex=-1};return s}}}});e.each(["radio","checkbox"],function(){e.valHooks[this]={set:function(t,n){if(Array.isArray(n)){return(t.checked=e.inArray(e(t).val(),n)>-1)}}};if(!s.checkOn){e.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value}}});s.focusin="onfocusin" in t;var Qe=/^(?:focusinfocus|focusoutblur)$/,Ye=function(e){e.stopPropagation()};e.extend(e.event,{trigger:function(n,s,a,u){var v,l,c,x,p,h,d,m,y=[a||o],f=G.call(n,"type")?n.type:n,g=G.call(n,"namespace")?n.namespace.split("."):[];l=m=c=a=a||o;if(a.nodeType===3||a.nodeType===8){return};if(Qe.test(f+e.event.triggered)){return};if(f.indexOf(".")>-1){g=f.split(".");f=g.shift();g.sort()};p=f.indexOf(":")<0&&"on"+f;n=n[e.expando]?n:new e.Event(f,typeof n==="object"&&n);n.isTrigger=u?2:3;n.namespace=g.join(".");n.rnamespace=n.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;n.result=undefined;if(!n.target){n.target=a};s=s==null?[n]:e.makeArray(s,[n]);d=e.event.special[f]||{};if(!u&&d.trigger&&d.trigger.apply(a,s)===!1){return};if(!u&&!d.noBubble&&!j(a)){x=d.delegateType||f;if(!Qe.test(x+f)){l=l.parentNode};for(;l;l=l.parentNode){y.push(l);c=l};if(c===(a.ownerDocument||o)){y.push(c.defaultView||c.parentWindow||t)}};v=0;while((l=y[v++])&&!n.isPropagationStopped()){m=l;n.type=v>1?x:d.bindType||f;h=(i.get(l,"events")||{})[n.type]&&i.get(l,"handle");if(h){h.apply(l,s)};h=p&&l[p];if(h&&h.apply&&U(l)){n.result=h.apply(l,s);if(n.result===!1){n.preventDefault()}}};n.type=f;if(!u&&!n.isDefaultPrevented()){if((!d._default||d._default.apply(y.pop(),s)===!1)&&U(a)){if(p&&r(a[f])&&!j(a)){c=a[p];if(c){a[p]=null};e.event.triggered=f;if(n.isPropagationStopped()){m.addEventListener(f,Ye)};a[f]();if(n.isPropagationStopped()){m.removeEventListener(f,Ye)};e.event.triggered=undefined;if(c){a[p]=c}}}};return n.result},simulate:function(t,n,i){var r=e.extend(new e.Event(),i,{type:t,isSimulated:!0});e.event.trigger(r,null,n)}});e.fn.extend({trigger:function(t,n){return this.each(function(){e.event.trigger(t,n,this)})},triggerHandler:function(t,n){var i=this[0];if(i){return e.event.trigger(t,n,i,!0)}}});if(!s.focusin){e.each({focus:"focusin",blur:"focusout"},function(t,n){var r=function(t){e.event.simulate(n,t.target,e.event.fix(t))};e.event.special[n]={setup:function(){var e=this.ownerDocument||this,o=i.access(e,n);if(!o){e.addEventListener(t,r,!0)};i.access(e,n,(o||0)+1)},teardown:function(){var e=this.ownerDocument||this,o=i.access(e,n)-1;if(!o){e.removeEventListener(t,r,!0);i.remove(e,n)}
else{i.access(e,n,o)}}}})};var H=t.location,Je=Date.now(),ue=(/\?/);e.parseXML=function(n){var r;if(!n||typeof n!=="string"){return null};try{r=(new t.DOMParser()).parseFromString(n,"text/xml")}catch(i){r=undefined};if(!r||r.getElementsByTagName("parsererror").length){e.error("Invalid XML: "+n)};return r};var gt=/\[\]$/,Ke=/\r?\n/g,pt=/^(?:submit|button|image|reset|file)$/i,dt=/^(?:input|select|textarea|keygen)/i;function de(t,n,i,r){var o;if(Array.isArray(n)){e.each(n,function(e,n){if(i||gt.test(t)){r(t,n)}
else{de(t+"["+(typeof n==="object"&&n!=null?e:"")+"]",n,i,r)}})}
else if(!i&&C(n)==="object"){for(o in n){de(t+"["+o+"]",n[o],i,r)}}
else{r(t,n)}};e.param=function(t,n){var i,o=[],s=function(e,t){var n=r(t)?t():t;o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(n==null?"":n)};if(t==null){return""};if(Array.isArray(t)||(t.jquery&&!e.isPlainObject(t))){e.each(t,function(){s(this.name,this.value)})}
else{for(i in t){de(i,t[i],n,s)}};return o.join("&")};e.fn.extend({serialize:function(){return e.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=e.prop(this,"elements");return t?e.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!e(this).is(":disabled")&&dt.test(this.nodeName)&&!pt.test(t)&&(this.checked||!R.test(t))}).map(function(t,n){var i=e(this).val();if(i==null){return null};if(Array.isArray(i)){return e.map(i,function(e){return{name:n.name,value:e.replace(Ke,"\r\n")}})};return{name:n.name,value:i.replace(Ke,"\r\n")}}).get()}});var St=/%20/g,kt=/#.*$/,Et=/([?&])_=[^&]*/,Ct=/^(.*?):[ \t]*([^\r\n]*)$/mg,bt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,xt=/^(?:GET|HEAD)$/,vt=/^\/\//,et={},le={},Ze="*/".concat("*"),re=o.createElement("a");re.href=H.href;function ve(e){return function(t,n){if(typeof t!=="string"){n=t;t="*"};var i,o=0,s=t.toLowerCase().match(p)||[];if(r(n)){while((i=s[o++])){if(i[0]==="+"){i=i.slice(1)||"*";(e[i]=e[i]||[]).unshift(n)}
else{(e[i]=e[i]||[]).push(n)}}}}};function be(t,n,i,r){var o={},a=(t===le);function s(u){var f;o[u]=!0;e.each(t[u]||[],function(e,t){var u=t(n,i,r);if(typeof u==="string"&&!a&&!o[u]){n.dataTypes.unshift(u);s(u);return!1}
else if(a){return!(f=u)}});return f};return s(n.dataTypes[0])||!o["*"]&&s("*")};function ge(t,n){var i,r,o=e.ajaxSettings.flatOptions||{};for(i in n){if(n[i]!==undefined){(o[i]?t:(r||(r={})))[i]=n[i]}};if(r){e.extend(!0,t,r)};return t};function Lt(e,t,n){var s,r,o,a,u=e.contents,i=e.dataTypes;while(i[0]==="*"){i.shift();if(s===undefined){s=e.mimeType||t.getResponseHeader("Content-Type")}};if(s){for(r in u){if(u[r]&&u[r].test(s)){i.unshift(r);break}}};if(i[0]in n){o=i[0]}
else{for(r in n){if(!i[0]||e.converters[r+" "+i[0]]){o=r;break};if(!a){a=r}};o=o||a};if(o){if(o!==i[0]){i.unshift(o)};return n[o]}};function qt(e,t,n,i){var l,r,s,f,a,u={},c=e.dataTypes.slice();if(c[1]){for(s in e.converters){u[s.toLowerCase()]=e.converters[s]}};r=c.shift();while(r){if(e.responseFields[r]){n[e.responseFields[r]]=t};if(!a&&i&&e.dataFilter){t=e.dataFilter(t,e.dataType)};a=r;r=c.shift();if(r){if(r==="*"){r=a}
else if(a!=="*"&&a!==r){s=u[a+" "+r]||u["* "+r];if(!s){for(l in u){f=l.split(" ");if(f[1]===r){s=u[a+" "+f[0]]||u["* "+f[0]];if(s){if(s===!0){s=u[l]}
else if(u[l]!==!0){r=f[0];c.unshift(f[1])};break}}}};if(s!==!0){if(s&&e.throws){t=s(t)}
else{try{t=s(t)}catch(o){return{state:"parsererror",error:s?o:"No conversion from "+a+" to "+r}}}}}}};return{state:"success",data:t}};e.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:H.href,type:"GET",isLocal:bt.test(H.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ze,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":e.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?ge(ge(t,e.ajaxSettings),n):ge(e.ajaxSettings,t)},ajaxPrefilter:ve(et),ajaxTransport:ve(le),ajax:function(n,i){if(typeof n==="object"){i=n;n=undefined};i=i||{};var d,u,w,g,x,c,f,h,T,y,r=e.ajaxSetup({},i),l=r.context||r,b=r.context&&(l.nodeType||l.jquery)?e(l):e.event,C=e.Deferred(),E=e.Callbacks("once memory"),v=r.statusCode||{},k={},S={},N="canceled",s={readyState:0,getResponseHeader:function(e){var t;if(f){if(!g){g={};while((t=Ct.exec(w))){g[t[1].toLowerCase()+" "]=(g[t[1].toLowerCase()+" "]||[]).concat(t[2])}};t=g[e.toLowerCase()+" "]};return t==null?null:t.join(", ")},getAllResponseHeaders:function(){return f?w:null},setRequestHeader:function(e,t){if(f==null){e=S[e.toLowerCase()]=S[e.toLowerCase()]||e;k[e]=t};return this},overrideMimeType:function(e){if(f==null){r.mimeType=e};return this},statusCode:function(e){var t;if(e){if(f){s.always(e[s.status])}
else{for(t in e){v[t]=[v[t],e[t]]}}};return this},abort:function(e){var t=e||N;if(d){d.abort(t)};m(0,t);return this}};C.promise(s);r.url=((n||r.url||H.href)+"").replace(vt,H.protocol+"//");r.type=i.method||i.type||r.method||r.type;r.dataTypes=(r.dataType||"*").toLowerCase().match(p)||[""];if(r.crossDomain==null){c=o.createElement("a");try{c.href=r.url;c.href=c.href;r.crossDomain=re.protocol+"//"+re.host!==c.protocol+"//"+c.host}catch(a){r.crossDomain=!0}};if(r.data&&r.processData&&typeof r.data!=="string"){r.data=e.param(r.data,r.traditional)};be(et,r,i,s);if(f){return s};h=e.event&&r.global;if(h&&e.active++===0){e.event.trigger("ajaxStart")};r.type=r.type.toUpperCase();r.hasContent=!xt.test(r.type);u=r.url.replace(kt,"");if(!r.hasContent){y=r.url.slice(u.length);if(r.data&&(r.processData||typeof r.data==="string")){u+=(ue.test(u)?"&":"?")+r.data;delete r.data};if(r.cache===!1){u=u.replace(Et,"$1");y=(ue.test(u)?"&":"?")+"_="+(Je++)+y};r.url=u+y}
else if(r.data&&r.processData&&(r.contentType||"").indexOf("application/x-www-form-urlencoded")===0){r.data=r.data.replace(St,"+")};if(r.ifModified){if(e.lastModified[u]){s.setRequestHeader("If-Modified-Since",e.lastModified[u])};if(e.etag[u]){s.setRequestHeader("If-None-Match",e.etag[u])}};if(r.data&&r.hasContent&&r.contentType!==!1||i.contentType){s.setRequestHeader("Content-Type",r.contentType)};s.setRequestHeader("Accept",r.dataTypes[0]&&r.accepts[r.dataTypes[0]]?r.accepts[r.dataTypes[0]]+(r.dataTypes[0]!=="*"?", "+Ze+"; q=0.01":""):r.accepts["*"]);for(T in r.headers){s.setRequestHeader(T,r.headers[T])};if(r.beforeSend&&(r.beforeSend.call(l,s,r)===!1||f)){return s.abort()};N="abort";E.add(r.complete);s.done(r.success);s.fail(r.error);d=be(le,r,i,s);if(!d){m(-1,"No Transport")}
else{s.readyState=1;if(h){b.trigger("ajaxSend",[s,r])};if(f){return s};if(r.async&&r.timeout>0){x=t.setTimeout(function(){s.abort("timeout")},r.timeout)};try{f=!1;d.send(k,m)}catch(a){if(f){throw a};m(-1,a)}};function m(n,i,o,a){var p,T,y,g,m,c=i;if(f){return};f=!0;if(x){t.clearTimeout(x)};d=undefined;w=a||"";s.readyState=n>0?4:0;p=n>=200&&n<300||n===304;if(o){g=Lt(r,s,o)};g=qt(r,g,s,p);if(p){if(r.ifModified){m=s.getResponseHeader("Last-Modified");if(m){e.lastModified[u]=m};m=s.getResponseHeader("etag");if(m){e.etag[u]=m}};if(n===204||r.type==="HEAD"){c="nocontent"}
else if(n===304){c="notmodified"}
else{c=g.state;T=g.data;y=g.error;p=!y}}
else{y=c;if(n||!c){c="error";if(n<0){n=0}}};s.status=n;s.statusText=(i||c)+"";if(p){C.resolveWith(l,[T,c,s])}
else{C.rejectWith(l,[s,c,y])};s.statusCode(v);v=undefined;if(h){b.trigger(p?"ajaxSuccess":"ajaxError",[s,r,p?T:y])};E.fireWith(l,[s,c]);if(h){b.trigger("ajaxComplete",[s,r]);if(!(--e.active)){e.event.trigger("ajaxStop")}}};return s},getJSON:function(t,n,i){return e.get(t,n,i,"json")},getScript:function(t,n){return e.get(t,undefined,n,"script")}});e.each(["get","post"],function(t,n){e[n]=function(t,i,o,s){if(r(i)){s=s||o;o=i;i=undefined};return e.ajax(e.extend({url:t,type:n,dataType:s,data:i,success:o},e.isPlainObject(t)&&t))}});e._evalUrl=function(t,n){return e.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){e.globalEval(t,n)}})};e.fn.extend({wrapAll:function(t){var n;if(this[0]){if(r(t)){t=t.call(this[0])};n=e(t,this[0].ownerDocument).eq(0).clone(!0);if(this[0].parentNode){n.insertBefore(this[0])};n.map(function(){var e=this;while(e.firstElementChild){e=e.firstElementChild};return e}).append(this)};return this},wrapInner:function(t){if(r(t)){return this.each(function(n){e(this).wrapInner(t.call(this,n))})};return this.each(function(){var n=e(this),i=n.contents();if(i.length){i.wrapAll(t)}
else{n.append(t)}})},wrap:function(t){var n=r(t);return this.each(function(i){e(this).wrapAll(n?t.call(this,i):t)})},unwrap:function(t){this.parent(t).not("body").each(function(){e(this).replaceWith(this.childNodes)});return this}});e.expr.pseudos.hidden=function(t){return!e.expr.pseudos.visible(t)};e.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};e.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest()}catch(e){}};var Nt={0:200,1223:204},O=e.ajaxSettings.xhr();s.cors=!!O&&("withCredentials" in O);s.ajax=O=!!O;e.ajaxTransport(function(e){var n,i;if(s.cors||O&&!e.crossDomain){return{send:function(r,o){var u,s=e.xhr();s.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields){for(u in e.xhrFields){s[u]=e.xhrFields[u]}};if(e.mimeType&&s.overrideMimeType){s.overrideMimeType(e.mimeType)};if(!e.crossDomain&&!r["X-Requested-With"]){r["X-Requested-With"]="XMLHttpRequest"};for(u in r){s.setRequestHeader(u,r[u])};n=function(e){return function(){if(n){n=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null;if(e==="abort"){s.abort()}
else if(e==="error"){if(typeof s.status!=="number"){o(0,"error")}
else{o(s.status,s.statusText)}}
else{o(Nt[s.status]||s.status,s.statusText,(s.responseType||"text")!=="text"||typeof s.responseText!=="string"?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders())}}}};s.onload=n();i=s.onerror=s.ontimeout=n("error");if(s.onabort!==undefined){s.onabort=i}
else{s.onreadystatechange=function(){if(s.readyState===4){t.setTimeout(function(){if(n){i()}})}}};n=n("abort");try{s.send(e.hasContent&&e.data||null)}catch(a){if(n){throw a}}},abort:function(){if(n){n()}}}}});e.ajaxPrefilter(function(e){if(e.crossDomain){e.contents.script=!1}});e.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){e.globalEval(t);return t}}});e.ajaxPrefilter("script",function(e){if(e.cache===undefined){e.cache=!1};if(e.crossDomain){e.type="GET"}});e.ajaxTransport("script",function(t){if(t.crossDomain||t.scriptAttrs){var i,n;return{send:function(r,s){i=e("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(e){i.remove();n=null;if(e){s(e.type==="error"?404:200,e.type)}});o.head.appendChild(i[0])},abort:function(){if(n){n()}}}}});var tt=[],he=/(=)\?(?=&|$)|\?\?/;e.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=tt.pop()||(e.expando+"_"+(Je++));this[t]=!0;return t}});e.ajaxPrefilter("json jsonp",function(n,i,o){var s,a,u,f=n.jsonp!==!1&&(he.test(n.url)?"url":typeof n.data==="string"&&(n.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&he.test(n.data)&&"data");if(f||n.dataTypes[0]==="jsonp"){s=n.jsonpCallback=r(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback;if(f){n[f]=n[f].replace(he,"$1"+s)}
else if(n.jsonp!==!1){n.url+=(ue.test(n.url)?"&":"?")+n.jsonp+"="+s};n.converters["script json"]=function(){if(!u){e.error(s+" was not called")};return u[0]};n.dataTypes[0]="json";a=t[s];t[s]=function(){u=arguments};o.always(function(){if(a===undefined){e(t).removeProp(s)}
else{t[s]=a};if(n[s]){n.jsonpCallback=i.jsonpCallback;tt.push(s)};if(u&&r(a)){a(u[0])};u=a=undefined});return"script"}});s.createHTMLDocument=(function(){var e=o.implementation.createHTMLDocument("").body;e.innerHTML="<form></form><form></form>";return e.childNodes.length===2})();e.parseHTML=function(t,n,i){if(typeof t!=="string"){return[]};if(typeof n==="boolean"){i=n;n=!1};var u,r,a;if(!n){if(s.createHTMLDocument){n=o.implementation.createHTMLDocument("");u=n.createElement("base");u.href=o.location.href;n.head.appendChild(u)}
else{n=o}};r=Re.exec(t);a=!i&&[];if(r){return[n.createElement(r[1])]};r=je([t],n,a);if(a&&a.length){e(a).remove()};return e.merge([],r.childNodes)};e.fn.load=function(t,n,i){var o,u,f,s=this,a=t.indexOf(" ");if(a>-1){o=b(t.slice(a));t=t.slice(0,a)};if(r(n)){i=n;n=undefined}
else if(n&&typeof n==="object"){u="POST"};if(s.length>0){e.ajax({url:t,type:u||"GET",dataType:"html",data:n}).done(function(t){f=arguments;s.html(o?e("<div>").append(e.parseHTML(t)).find(o):t)}).always(i&&function(e,t){s.each(function(){i.apply(this,f||[e.responseText,t,e])})})};return this};e.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,n){e.fn[n]=function(e){return this.on(n,e)}});e.expr.pseudos.animated=function(t){return e.grep(e.timers,function(e){return t===e.elem}).length};e.offset={setOffset:function(t,n,i){var a,u,f,l,o,c,h,d=e.css(t,"position"),p=e(t),s={};if(d==="static"){t.style.position="relative"};o=p.offset();f=e.css(t,"top");c=e.css(t,"left");h=(d==="absolute"||d==="fixed")&&(f+c).indexOf("auto")>-1;if(h){a=p.position();l=a.top;u=a.left}
else{l=parseFloat(f)||0;u=parseFloat(c)||0};if(r(n)){n=n.call(t,i,e.extend({},o))};if(n.top!=null){s.top=(n.top-o.top)+l};if(n.left!=null){s.left=(n.left-o.left)+u};if("using" in n){n.using.call(t,s)}
else{p.css(s)}}};e.fn.extend({offset:function(t){if(arguments.length){return t===undefined?this:this.each(function(n){e.offset.setOffset(this,t,n)})};var i,r,n=this[0];if(!n){return};if(!n.getClientRects().length){return{top:0,left:0}};i=n.getBoundingClientRect();r=n.ownerDocument.defaultView;return{top:i.top+r.pageYOffset,left:i.left+r.pageXOffset}},position:function(){if(!this[0]){return};var t,r,o,n=this[0],i={top:0,left:0};if(e.css(n,"position")==="fixed"){r=n.getBoundingClientRect()}
else{r=this.offset();o=n.ownerDocument;t=n.offsetParent||o.documentElement;while(t&&(t===o.body||t===o.documentElement)&&e.css(t,"position")==="static"){t=t.parentNode};if(t&&t!==n&&t.nodeType===1){i=e(t).offset();i.top+=e.css(t,"borderTopWidth",!0);i.left+=e.css(t,"borderLeftWidth",!0)}};return{top:r.top-i.top-e.css(n,"marginTop",!0),left:r.left-i.left-e.css(n,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var t=this.offsetParent;while(t&&e.css(t,"position")==="static"){t=t.offsetParent};return t||q})}});e.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var i="pageYOffset"===n;e.fn[t]=function(e){return m(this,function(e,t,r){var o;if(j(e)){o=e}
else if(e.nodeType===9){o=e.defaultView};if(r===undefined){return o?o[n]:e[t]};if(o){o.scrollTo(!i?r:o.pageXOffset,i?r:o.pageYOffset)}
else{e[t]=r}},t,e,arguments.length)}});e.each(["top","left"],function(t,n){e.cssHooks[n]=Se(s.pixelPosition,function(t,i){if(i){i=M(t,n);return ne.test(i)?e(t).position()[n]+"px":i}})});e.each({Height:"height",Width:"width"},function(t,n){e.each({padding:"inner"+t,content:n,"":"outer"+t},function(i,r){e.fn[r]=function(o,s){var a=arguments.length&&(i||typeof o!=="boolean"),u=i||(o===!0||s===!0?"margin":"border");return m(this,function(n,i,o){var s;if(j(n)){return r.indexOf("outer")===0?n["inner"+t]:n.document.documentElement["client"+t]};if(n.nodeType===9){s=n.documentElement;return Math.max(n.body["scroll"+t],s["scroll"+t],n.body["offset"+t],s["offset"+t],s["client"+t])};return o===undefined?e.css(n,i,u):e.style(n,i,o,u)},n,a?o:undefined,a)}})});e.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(t,n){e.fn[n]=function(e,t){return arguments.length>0?this.on(n,null,e,t):this.trigger(n)}});e.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});e.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 arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});e.proxy=function(t,n){var o,s,i;if(typeof n==="string"){o=t[n];n=t;t=o};if(!r(t)){return undefined};s=y.call(arguments,2);i=function(){return t.apply(n||this,s.concat(y.call(arguments)))};i.guid=t.guid=t.guid||e.guid++;return i};e.holdReady=function(t){if(t){e.readyWait++}
else{e.ready(!0)}};e.isArray=Array.isArray;e.parseJSON=JSON.parse;e.nodeName=c;e.isFunction=r;e.isWindow=j;e.camelCase=h;e.type=C;e.now=Date.now;e.isNumeric=function(t){var n=e.type(t);return(n==="number"||n==="string")&&!isNaN(t-parseFloat(t))};if(typeof define==="function"&&define.amd){define("jquery",[],function(){return e})};var jt=t.jQuery,Dt=t.$;e.noConflict=function(n){if(t.$===e){t.$=Dt};if(n&&t.jQuery===e){t.jQuery=jt};return e};if(!n){t.jQuery=t.$=e};return e});!function(t,e){'object'==typeof exports&&'undefined'!=typeof module?e(exports,require('jquery'),require('popper.js')):'function'==typeof define&&define.amd?define(['exports','jquery','popper.js'],e):e(t.bootstrap={},t.jQuery,t.Popper)}(this,function(t,n,o){'use strict';function A(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}};function a(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t};function s(){return(s=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])};return t}).apply(this,arguments)};n=n&&n.hasOwnProperty('default')?n.default:n,o=o&&o.hasOwnProperty('default')?o.default:o;var r,f,m,v,w,T,N,O,P,l,i,h,p,d,g,L,c,R,k,C,S,D,b,I,y,u,e=function(t){var n=!1;function i(n){var s=this,i=!1;return t(this).one(e.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||e.triggerTransitionEnd(s)},n),this};var e={TRANSITION_END:'bsTransitionEnd',getUID:function(t){do{t+=~~(1e6*Math.random())}
while(document.getElementById(t));return t},getSelectorFromElement:function(e){var i,n=e.getAttribute('data-target');n&&'#'!==n||(n=e.getAttribute('href')||''),'#'===n.charAt(0)&&(i=n,n=i='function'==typeof t.escapeSelector?t.escapeSelector(i).substr(1):i.replace(/(:|\.|\[|\]|,|=|@)/g,'\\$1'));try{return t(document).find(n).length>0?n:null}catch(s){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(n.end)},supportsTransitionEnd:function(){return Boolean(n)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,n,i){for(var s in i)if(Object.prototype.hasOwnProperty.call(i,s)){var a=i[s],r=n[s],l=r&&e.isElement(r)?'element':(o=r,{}.toString.call(o).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(a).test(l))throw new Error(t.toUpperCase()+': Option "'+s+'" provided type "'+l+'" but expected type "'+a+'".')};var o}};return n=('undefined'==typeof window||!window.QUnit)&&{end:'transitionend'},t.fn.emulateTransitionEnd=i,e.supportsTransitionEnd()&&(t.event.special[e.TRANSITION_END]={bindType:n.end,delegateType:n.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}),e}(n),M=(f='alert',v='.'+(m='bs.alert'),w=(r=n).fn[f],T={CLOSE:'close'+v,CLOSED:'closed'+v,CLICK_DATA_API:'click'+v+'.data-api'},N='alert',O='fade',P='show',l=function(){function n(t){this._element=t};var t=n.prototype;return t.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){r.removeData(this._element,m),this._element=null},t._getRootElement=function(t){var i=e.getSelectorFromElement(t),n=!1;return i&&(n=r(i)[0]),n||(n=r(t).closest('.'+N)[0]),n},t._triggerCloseEvent=function(t){var e=r.Event(T.CLOSE);return r(t).trigger(e),e},t._removeElement=function(t){var n=this;r(t).removeClass(P),e.supportsTransitionEnd()&&r(t).hasClass(O)?r(t).one(e.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(150):this._destroyElement(t)},t._destroyElement=function(t){r(t).detach().trigger(T.CLOSED).remove()},n._jQueryInterface=function(t){return this.each(function(){var i=r(this),e=i.data(m);e||(e=new n(this),i.data(m,e)),'close'===t&&e[t](this)})},n._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},a(n,null,[{key:'VERSION',get:function(){return'4.0.0'}}]),n}(),r(document).on(T.CLICK_DATA_API,'[data-dismiss="alert"]',l._handleDismiss(new l)),r.fn[f]=l._jQueryInterface,r.fn[f].Constructor=l,r.fn[f].noConflict=function(){return r.fn[f]=w,l._jQueryInterface},l),j=(h='button',d='.'+(p='bs.button'),g='.data-api',L=(i=n).fn[h],c='active',R='btn',k='focus',C='[data-toggle^="button"]',S='[data-toggle="buttons"]',D='input',b='.active',I='.btn',y={CLICK_DATA_API:'click'+d+g,FOCUS_BLUR_DATA_API:'focus'+d+g+' blur'+d+g},u=function(){function t(t){this._element=t};var e=t.prototype;return e.toggle=function(){var n=!0,r=!0,e=i(this._element).closest(S)[0];if(e){var t=i(this._element).find(D)[0];if(t){if('radio'===t.type)if(t.checked&&i(this._element).hasClass(c))n=!1;else{var s=i(e).find(b)[0];s&&i(s).removeClass(c)};if(n){if(t.hasAttribute('disabled')||e.hasAttribute('disabled')||t.classList.contains('disabled')||e.classList.contains('disabled'))return;t.checked=!i(this._element).hasClass(c),i(t).trigger('change')};t.focus(),r=!1}};r&&this._element.setAttribute('aria-pressed',!i(this._element).hasClass(c)),n&&i(this._element).toggleClass(c)},e.dispose=function(){i.removeData(this._element,p),this._element=null},t._jQueryInterface=function(e){return this.each(function(){var n=i(this).data(p);n||(n=new t(this),i(this).data(p,n)),'toggle'===e&&n[e]()})},a(t,null,[{key:'VERSION',get:function(){return'4.0.0'}}]),t}(),i(document).on(y.CLICK_DATA_API,C,function(t){t.preventDefault();var e=t.target;i(e).hasClass(R)||(e=i(e).closest(I)),u._jQueryInterface.call(i(e),'toggle')}).on(y.FOCUS_BLUR_DATA_API,C,function(t){var e=i(t.target).closest(I)[0];i(e).toggleClass(k,/^focus(in)?$/.test(t.type))}),i.fn[h]=u._jQueryInterface,i.fn[h].Constructor=u,i.fn[h].noConflict=function(){return i.fn[h]=L,u._jQueryInterface},u),H=function(t){var l='carousel',c='bs.carousel',i='.'+c,v=t.fn[l],d={interval:5e3,keyboard:!0,slide:!1,pause:'hover',wrap:!0},m={interval:'(number|boolean)',keyboard:'boolean',slide:'(boolean|string)',pause:'(string|boolean)',wrap:'boolean'},u='next',f='prev',g='left',A='right',r={SLIDE:'slide'+i,SLID:'slid'+i,KEYDOWN:'keydown'+i,MOUSEENTER:'mouseenter'+i,MOUSELEAVE:'mouseleave'+i,TOUCHEND:'touchend'+i,LOAD_DATA_API:'load'+i+'.data-api',CLICK_DATA_API:'click'+i+'.data-api'},p='carousel',o='active',E='slide',T='carousel-item-right',y='carousel-item-left',C='carousel-item-next',I='carousel-item-prev',n={ACTIVE:'.active',ACTIVE_ITEM:'.active.carousel-item',ITEM:'.carousel-item',NEXT_PREV:'.carousel-item-next, .carousel-item-prev',INDICATORS:'.carousel-indicators',DATA_SLIDE:'[data-slide], [data-slide-to]',DATA_RIDE:'[data-ride="carousel"]'},h=function(){function v(e,i){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(i),this._element=t(e)[0],this._indicatorsElement=t(this._element).find(n.INDICATORS)[0],this._addEventListeners()};var h=v.prototype;return h.next=function(){this._isSliding||this._slide(u)},h.nextWhenVisible=function(){!document.hidden&&t(this._element).is(':visible')&&'hidden'!==t(this._element).css('visibility')&&this.next()},h.prev=function(){this._isSliding||this._slide(f)},h.pause=function(i){i||(this._isPaused=!0),t(this._element).find(n.NEXT_PREV)[0]&&e.supportsTransitionEnd()&&(e.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},h.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},h.to=function(e){var o=this;this._activeElement=t(this._element).find(n.ACTIVE_ITEM)[0];var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)t(this._element).one(r.SLID,function(){return o.to(e)});else{if(i===e)return this.pause(),void this.cycle();var s=e>i?u:f;this._slide(s,this._items[e])}},h.dispose=function(){t(this._element).off(i),t.removeData(this._element,c),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},h._getConfig=function(t){return t=s({},d,t),e.typeCheckConfig(l,t,m),t},h._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(r.KEYDOWN,function(t){return e._keydown(t)}),'hover'===this._config.pause&&(t(this._element).on(r.MOUSEENTER,function(t){return e.pause(t)}).on(r.MOUSELEAVE,function(t){return e.cycle(t)}),'ontouchstart'in document.documentElement&&t(this._element).on(r.TOUCHEND,function(){e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval)}))},h._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},h._getItemIndex=function(e){return this._items=t.makeArray(t(e).parent().find(n.ITEM)),this._items.indexOf(e)},h._getItemByDirection=function(t,e){var s=t===u,r=t===f,n=this._getItemIndex(e),o=this._items.length-1;if((r&&0===n||s&&n===o)&&!this._config.wrap)return e;var i=(n+(t===f?-1:1))%this._items.length;return-1===i?this._items[this._items.length-1]:this._items[i]},h._triggerSlideEvent=function(e,i){var o=this._getItemIndex(e),a=this._getItemIndex(t(this._element).find(n.ACTIVE_ITEM)[0]),s=t.Event(r.SLIDE,{relatedTarget:e,direction:i,from:a,to:o});return t(this._element).trigger(s),s},h._setActiveIndicatorElement=function(e){if(this._indicatorsElement){t(this._indicatorsElement).find(n.ACTIVE).removeClass(o);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(o)}},h._slide=function(i,s){var h,c,f,m=this,l=t(this._element).find(n.ACTIVE_ITEM)[0],v=this._getItemIndex(l),a=s||l&&this._getItemByDirection(i,l),D=this._getItemIndex(a),p=Boolean(this._interval);if(i===u?(h=y,c=C,f=g):(h=T,c=I,f=A),a&&t(a).hasClass(o))this._isSliding=!1;else if(!this._triggerSlideEvent(a,f).isDefaultPrevented()&&l&&a){this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(a);var d=t.Event(r.SLID,{relatedTarget:a,direction:f,from:v,to:D});e.supportsTransitionEnd()&&t(this._element).hasClass(E)?(t(a).addClass(c),e.reflow(a),t(l).addClass(h),t(a).addClass(h),t(l).one(e.TRANSITION_END,function(){t(a).removeClass(h+' '+c).addClass(o),t(l).removeClass(o+' '+c+' '+h),m._isSliding=!1,setTimeout(function(){return t(m._element).trigger(d)},0)}).emulateTransitionEnd(600)):(t(l).removeClass(o),t(a).addClass(o),this._isSliding=!1,t(this._element).trigger(d)),p&&this.cycle()}},v._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(c),i=s({},d,t(this).data());'object'==typeof e&&(i=s({},i,e));var r='string'==typeof e?e:i.slide;if(n||(n=new v(this,i),t(this).data(c,n)),'number'==typeof e)n.to(e);else if('string'==typeof r){if('undefined'==typeof n[r])throw new TypeError('No method named "'+r+'"');n[r]()}
else i.interval&&(n.pause(),n.cycle())})},v._dataApiClickHandler=function(n){var a=e.getSelectorFromElement(this);if(a){var i=t(a)[0];if(i&&t(i).hasClass(p)){var o=s({},t(i).data(),t(this).data()),r=this.getAttribute('data-slide-to');r&&(o.interval=!1),v._jQueryInterface.call(t(i),o),r&&t(i).data(c).to(r),n.preventDefault()}}},a(v,null,[{key:'VERSION',get:function(){return'4.0.0'}},{key:'Default',get:function(){return d}}]),v}();return t(document).on(r.CLICK_DATA_API,n.DATA_SLIDE,h._dataApiClickHandler),t(window).on(r.LOAD_DATA_API,function(){t(n.DATA_RIDE).each(function(){var e=t(this);h._jQueryInterface.call(e,e.data())})}),t.fn[l]=h._jQueryInterface,t.fn[l].Constructor=h,t.fn[l].noConflict=function(){return t.fn[l]=v,h._jQueryInterface},h}(n),W=function(t){var r='collapse',n='bs.collapse',o='.'+n,p=t.fn[r],f={toggle:!0,parent:''},v={toggle:'boolean',parent:'(string|element)'},l={SHOW:'show'+o,SHOWN:'shown'+o,HIDE:'hide'+o,HIDDEN:'hidden'+o,CLICK_DATA_API:'click'+o+'.data-api'},i='show',c='collapse',u='collapsing',d='collapsed',m='width',E='height',g={ACTIVES:'.show, .collapsing',DATA_TOGGLE:'[data-toggle="collapse"]'},h=function(){function h(n,i){this._isTransitioning=!1,this._element=n,this._config=this._getConfig(i),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'));for(var a=t(g.DATA_TOGGLE),r=0;r<a.length;r++){var o=a[r],s=e.getSelectorFromElement(o);null!==s&&t(s).filter(n).length>0&&(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&&this.toggle()};var o=h.prototype;return o.toggle=function(){t(this._element).hasClass(i)?this.hide():this.show()},o.show=function(){var s,a,o=this;if(!this._isTransitioning&&!t(this._element).hasClass(i)&&(this._parent&&0===(s=t.makeArray(t(this._parent).find(g.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(s=null),!(s&&(a=t(s).not(this._selector).data(n))&&a._isTransitioning))){var m=t.Event(l.SHOW);if(t(this._element).trigger(m),!m.isDefaultPrevented()){s&&(h._jQueryInterface.call(t(s).not(this._selector),'hide'),a||t(s).data(n,null));var r=this._getDimension();t(this._element).removeClass(c).addClass(u),this._element.style[r]=0,this._triggerArray.length>0&&t(this._triggerArray).removeClass(d).attr('aria-expanded',!0),this.setTransitioning(!0);var f=function(){t(o._element).removeClass(u).addClass(c).addClass(i),o._element.style[r]='',o.setTransitioning(!1),t(o._element).trigger(l.SHOWN)};if(e.supportsTransitionEnd()){var p='scroll'+(r[0].toUpperCase()+r.slice(1));t(this._element).one(e.TRANSITION_END,f).emulateTransitionEnd(600),this._element.style[r]=this._element[p]+'px'}
else f()}}},o.hide=function(){var f=this;if(!this._isTransitioning&&t(this._element).hasClass(i)){var h=t.Event(l.HIDE);if(t(this._element).trigger(h),!h.isDefaultPrevented()){var s=this._getDimension();if(this._element.style[s]=this._element.getBoundingClientRect()[s]+'px',e.reflow(this._element),t(this._element).addClass(u).removeClass(c).removeClass(i),this._triggerArray.length>0)for(var n=0;n<this._triggerArray.length;n++){var o=this._triggerArray[n],a=e.getSelectorFromElement(o);if(null!==a)t(a).hasClass(i)||t(o).addClass(d).attr('aria-expanded',!1)};this.setTransitioning(!0);var r=function(){f.setTransitioning(!1),t(f._element).removeClass(u).addClass(c).trigger(l.HIDDEN)};this._element.style[s]='',e.supportsTransitionEnd()?t(this._element).one(e.TRANSITION_END,r).emulateTransitionEnd(600):r()}}},o.setTransitioning=function(t){this._isTransitioning=t},o.dispose=function(){t.removeData(this._element,n),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},o._getConfig=function(t){return(t=s({},f,t)).toggle=Boolean(t.toggle),e.typeCheckConfig(r,t,v),t},o._getDimension=function(){return t(this._element).hasClass(m)?m:E},o._getParent=function(){var s=this,n=null;e.isElement(this._config.parent)?(n=this._config.parent,'undefined'!=typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=t(this._config.parent)[0];var i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(n).find(i).each(function(t,e){s._addAriaAndCollapsedClass(h._getTargetFromElement(e),[e])}),n},o._addAriaAndCollapsedClass=function(e,n){if(e){var s=t(e).hasClass(i);n.length>0&&t(n).toggleClass(d,!s).attr('aria-expanded',s)}},h._getTargetFromElement=function(n){var i=e.getSelectorFromElement(n);return i?t(i)[0]:null},h._jQueryInterface=function(e){return this.each(function(){var r=t(this),i=r.data(n),o=s({},f,r.data(),'object'==typeof e&&e);if(!i&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),i||(i=new h(this,o),r.data(n,i)),'string'==typeof e){if('undefined'==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},a(h,null,[{key:'VERSION',get:function(){return'4.0.0'}},{key:'Default',get:function(){return f}}]),h}();return t(document).on(l.CLICK_DATA_API,g.DATA_TOGGLE,function(i){'A'===i.currentTarget.tagName&&i.preventDefault();var s=t(this),r=e.getSelectorFromElement(this);t(r).each(function(){var e=t(this),i=e.data(n)?'toggle':s.data();h._jQueryInterface.call(e,i)})}),t.fn[r]=h._jQueryInterface,t.fn[r].Constructor=h,t.fn[r].noConflict=function(){return t.fn[r]=p,h._jQueryInterface},h}(n),Q=function(t){var h='dropdown',c='bs.dropdown',i='.'+c,f='.data-api',N=t.fn[h],L=new RegExp('38|40|27'),n={HIDE:'hide'+i,HIDDEN:'hidden'+i,SHOW:'show'+i,SHOWN:'shown'+i,CLICK:'click'+i,CLICK_DATA_API:'click'+i+f,KEYDOWN_DATA_API:'keydown'+i+f,KEYUP_DATA_API:'keyup'+i+f},m='disabled',l='show',p='dropup',P='dropright',k='dropleft',d='dropdown-menu-right',O='dropdown-menu-left',R='position-static',u='[data-toggle="dropdown"]',D='.dropdown form',g='.dropdown-menu',w='.navbar-nav',S='.dropdown-menu .dropdown-item:not(.disabled)',b='top-start',v='top-end',A='bottom-start',I='bottom-end',C='right-start',y='left-start',T={offset:0,flip:!0,boundary:'scrollParent'},E={offset:'(number|string|function)',flip:'boolean',boundary:'(string|element)'},r=function(){function r(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()};var f=r.prototype;return f.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(m)){var e=r._getParentFromElement(this._element),h=t(this._menu).hasClass(l);if(r._clearMenus(),!h){var s={relatedTarget:this._element},a=t.Event(n.SHOW,s);if(t(e).trigger(a),!a.isDefaultPrevented()){if(!this._inNavbar){if('undefined'==typeof o)throw new TypeError('Bootstrap dropdown require Popper.js (https://popper.js.org)');var i=this._element;t(e).hasClass(p)&&(t(this._menu).hasClass(O)||t(this._menu).hasClass(d))&&(i=e),'scrollParent'!==this._config.boundary&&t(e).addClass(R),this._popper=new o(i,this._menu,this._getPopperConfig())};'ontouchstart'in document.documentElement&&0===t(e).closest(w).length&&t('body').children().on('mouseover',null,t.noop),this._element.focus(),this._element.setAttribute('aria-expanded',!0),t(this._menu).toggleClass(l),t(e).toggleClass(l).trigger(t.Event(n.SHOWN,s))}}}},f.dispose=function(){t.removeData(this._element,c),t(this._element).off(i),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},f.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},f._addEventListeners=function(){var e=this;t(this._element).on(n.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},f._getConfig=function(n){return n=s({},this.constructor.Default,t(this._element).data(),n),e.typeCheckConfig(h,n,this.constructor.DefaultType),n},f._getMenuElement=function(){if(!this._menu){var e=r._getParentFromElement(this._element);this._menu=t(e).find(g)[0]};return this._menu},f._getPlacement=function(){var n=t(this._element).parent(),e=A;return n.hasClass(p)?(e=b,t(this._menu).hasClass(d)&&(e=v)):n.hasClass(P)?e=C:n.hasClass(k)?e=y:t(this._menu).hasClass(d)&&(e=I),e},f._detectNavbar=function(){return t(this._element).closest('.navbar').length>0},f._getPopperConfig=function(){var e=this,t={};return'function'==typeof this._config.offset?t.fn=function(t){return t.offsets=s({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},r._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(c);if(n||(n=new r(this,'object'==typeof e?e:null),t(this).data(c,n)),'string'==typeof e){if('undefined'==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},r._clearMenus=function(e){if(!e||3!==e.which&&('keyup'!==e.type||9===e.which))for(var s=t.makeArray(t(u)),i=0;i<s.length;i++){var o=r._getParentFromElement(s[i]),h=t(s[i]).data(c),f={relatedTarget:s[i]};if(h){var d=h._menu;if(t(o).hasClass(l)&&!(e&&('click'===e.type&&/input|textarea/i.test(e.target.tagName)||'keyup'===e.type&&9===e.which)&&t.contains(o,e.target))){var a=t.Event(n.HIDE,f);t(o).trigger(a),a.isDefaultPrevented()||('ontouchstart'in document.documentElement&&t('body').children().off('mouseover',null,t.noop),s[i].setAttribute('aria-expanded','false'),t(d).removeClass(l),t(o).removeClass(l).trigger(t.Event(n.HIDDEN,f)))}}}},r._getParentFromElement=function(n){var i,s=e.getSelectorFromElement(n);return s&&(i=t(s)[0]),i||n.parentNode},r._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||t(e.target).closest(g).length)):L.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!t(this).hasClass(m))){var s=r._getParentFromElement(this),o=t(s).hasClass(l);if((o||27===e.which&&32===e.which)&&(!o||27!==e.which&&32!==e.which)){var i=t(s).find(S).get();if(0!==i.length){var n=i.indexOf(e.target);38===e.which&&n>0&&n--,40===e.which&&n<i.length-1&&n++,n<0&&(n=0),i[n].focus()}}
else{if(27===e.which){var a=t(s).find(u)[0];t(a).trigger('focus')};t(this).trigger('click')}}},a(r,null,[{key:'VERSION',get:function(){return'4.0.0'}},{key:'Default',get:function(){return T}},{key:'DefaultType',get:function(){return E}}]),r}();return t(document).on(n.KEYDOWN_DATA_API,u,r._dataApiKeydownHandler).on(n.KEYDOWN_DATA_API,g,r._dataApiKeydownHandler).on(n.CLICK_DATA_API+' '+n.KEYUP_DATA_API,r._clearMenus).on(n.CLICK_DATA_API,u,function(e){e.preventDefault(),e.stopPropagation(),r._jQueryInterface.call(t(this),'toggle')}).on(n.CLICK_DATA_API,D,function(t){t.stopPropagation()}),t.fn[h]=r._jQueryInterface,t.fn[h].Constructor=r,t.fn[h].noConflict=function(){return t.fn[h]=N,r._jQueryInterface},r}(n),U=function(t){var d='modal',l='bs.modal',i='.'+l,g=t.fn.modal,u={backdrop:!0,keyboard:!0,focus:!0,show:!0},m={backdrop:'(boolean|string)',keyboard:'boolean',focus:'boolean',show:'boolean'},n={HIDE:'hide'+i,HIDDEN:'hidden'+i,SHOW:'show'+i,SHOWN:'shown'+i,FOCUSIN:'focusin'+i,RESIZE:'resize'+i,CLICK_DISMISS:'click.dismiss'+i,KEYDOWN_DISMISS:'keydown.dismiss'+i,MOUSEUP_DISMISS:'mouseup.dismiss'+i,MOUSEDOWN_DISMISS:'mousedown.dismiss'+i,CLICK_DATA_API:'click'+i+'.data-api'},p='modal-scrollbar-measure',v='modal-backdrop',f='modal-open',o='fade',c='show',r={DIALOG:'.modal-dialog',DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:'.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',STICKY_CONTENT:'.sticky-top',NAVBAR_TOGGLER:'.navbar-toggler'},h=function(){function g(e,n){this._config=this._getConfig(n),this._element=e,this._dialog=t(e).find(r.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0};var h=g.prototype;return h.toggle=function(t){return this._isShown?this.hide():this.show(t)},h.show=function(i){var s=this;if(!this._isTransitioning&&!this._isShown){e.supportsTransitionEnd()&&t(this._element).hasClass(o)&&(this._isTransitioning=!0);var a=t.Event(n.SHOW,{relatedTarget:i});t(this._element).trigger(a),this._isShown||a.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),t(document.body).addClass(f),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(n.CLICK_DISMISS,r.DATA_DISMISS,function(t){return s.hide(t)}),t(this._dialog).on(n.MOUSEDOWN_DISMISS,function(){t(s._element).one(n.MOUSEUP_DISMISS,function(e){t(e.target).is(s._element)&&(s._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return s._showElement(i)}))}},h.hide=function(i){var a=this;if(i&&i.preventDefault(),!this._isTransitioning&&this._isShown){var r=t.Event(n.HIDE);if(t(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented()){this._isShown=!1;var s=e.supportsTransitionEnd()&&t(this._element).hasClass(o);s&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(n.FOCUSIN),t(this._element).removeClass(c),t(this._element).off(n.CLICK_DISMISS),t(this._dialog).off(n.MOUSEDOWN_DISMISS),s?t(this._element).one(e.TRANSITION_END,function(t){return a._hideModal(t)}).emulateTransitionEnd(300):this._hideModal()}}},h.dispose=function(){t.removeData(this._element,l),t(window,document,this._element,this._backdrop).off(i),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},h.handleUpdate=function(){this._adjustDialog()},h._getConfig=function(t){return t=s({},u,t),e.typeCheckConfig(d,t,m),t},h._showElement=function(i){var s=this,a=e.supportsTransitionEnd()&&t(this._element).hasClass(o);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display='block',this._element.removeAttribute('aria-hidden'),this._element.scrollTop=0,a&&e.reflow(this._element),t(this._element).addClass(c),this._config.focus&&this._enforceFocus();var l=t.Event(n.SHOWN,{relatedTarget:i}),r=function(){s._config.focus&&s._element.focus(),s._isTransitioning=!1,t(s._element).trigger(l)};a?t(this._dialog).one(e.TRANSITION_END,r).emulateTransitionEnd(300):r()},h._enforceFocus=function(){var e=this;t(document).off(n.FOCUSIN).on(n.FOCUSIN,function(n){document!==n.target&&e._element!==n.target&&0===t(e._element).has(n.target).length&&e._element.focus()})},h._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(n.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||t(this._element).off(n.KEYDOWN_DISMISS)},h._setResizeEvent=function(){var e=this;this._isShown?t(window).on(n.RESIZE,function(t){return e.handleUpdate(t)}):t(window).off(n.RESIZE)},h._hideModal=function(){var e=this;this._element.style.display='none',this._element.setAttribute('aria-hidden',!0),this._isTransitioning=!1,this._showBackdrop(function(){t(document.body).removeClass(f),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(n.HIDDEN)})},h._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},h._showBackdrop=function(i){var s=this,r=t(this._element).hasClass(o)?o:'';if(this._isShown&&this._config.backdrop){var l=e.supportsTransitionEnd()&&r;if(this._backdrop=document.createElement('div'),this._backdrop.className=v,r&&t(this._backdrop).addClass(r),t(this._backdrop).appendTo(document.body),t(this._element).on(n.CLICK_DISMISS,function(t){s._ignoreBackdropClick?s._ignoreBackdropClick=!1:t.target===t.currentTarget&&('static'===s._config.backdrop?s._element.focus():s.hide())}),l&&e.reflow(this._backdrop),t(this._backdrop).addClass(c),!i)return;if(!l)return void i();t(this._backdrop).one(e.TRANSITION_END,i).emulateTransitionEnd(150)}
else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(c);var a=function(){s._removeBackdrop(),i&&i()};e.supportsTransitionEnd()&&t(this._element).hasClass(o)?t(this._backdrop).one(e.TRANSITION_END,a).emulateTransitionEnd(150):a()}
else i&&i()},h._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+'px'),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+'px')},h._resetAdjustments=function(){this._element.style.paddingLeft='',this._element.style.paddingRight=''},h._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},h._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){t(r.FIXED_CONTENT).each(function(n,i){var s=t(i)[0].style.paddingRight,r=t(i).css('padding-right');t(i).data('padding-right',s).css('padding-right',parseFloat(r)+e._scrollbarWidth+'px')}),t(r.STICKY_CONTENT).each(function(n,i){var s=t(i)[0].style.marginRight,r=t(i).css('margin-right');t(i).data('margin-right',s).css('margin-right',parseFloat(r)-e._scrollbarWidth+'px')}),t(r.NAVBAR_TOGGLER).each(function(n,i){var s=t(i)[0].style.marginRight,r=t(i).css('margin-right');t(i).data('margin-right',s).css('margin-right',parseFloat(r)+e._scrollbarWidth+'px')});var n=document.body.style.paddingRight,i=t('body').css('padding-right');t('body').data('padding-right',n).css('padding-right',parseFloat(i)+this._scrollbarWidth+'px')}},h._resetScrollbar=function(){t(r.FIXED_CONTENT).each(function(e,n){var i=t(n).data('padding-right');'undefined'!=typeof i&&t(n).css('padding-right',i).removeData('padding-right')}),t(r.STICKY_CONTENT+', '+r.NAVBAR_TOGGLER).each(function(e,n){var i=t(n).data('margin-right');'undefined'!=typeof i&&t(n).css('margin-right',i).removeData('margin-right')});var e=t('body').data('padding-right');'undefined'!=typeof e&&t('body').css('padding-right',e).removeData('padding-right')},h._getScrollbarWidth=function(){var t=document.createElement('div');t.className=p,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},g._jQueryInterface=function(e,n){return this.each(function(){var i=t(this).data(l),r=s({},g.Default,t(this).data(),'object'==typeof e&&e);if(i||(i=new g(this,r),t(this).data(l,i)),'string'==typeof e){if('undefined'==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e](n)}
else r.show&&i.show(n)})},a(g,null,[{key:'VERSION',get:function(){return'4.0.0'}},{key:'Default',get:function(){return u}}]),g}();return t(document).on(n.CLICK_DATA_API,r.DATA_TOGGLE,function(i){var r,o=this,a=e.getSelectorFromElement(this);a&&(r=t(a)[0]);var u=t(r).data(l)?'toggle':s({},t(r).data(),t(this).data());'A'!==this.tagName&&'AREA'!==this.tagName||i.preventDefault();var c=t(r).one(n.SHOW,function(e){e.isDefaultPrevented()||c.one(n.HIDDEN,function(){t(o).is(':visible')&&o.focus()})});h._jQueryInterface.call(t(r),u,this)}),t.fn.modal=h._jQueryInterface,t.fn.modal.Constructor=h,t.fn.modal.noConflict=function(){return t.fn.modal=g,h._jQueryInterface},h}(n),E=function(t){var i='tooltip',f='bs.tooltip',n='.'+f,y=t.fn[i],T=new RegExp('(^|\\s)bs-tooltip\\S+','g'),v={animation:'boolean',template:'string',title:'(string|element|function)',trigger:'string',delay:'(number|object)',html:'boolean',selector:'(string|boolean)',placement:'(string|function)',offset:'(number|string)',container:'(string|element|boolean)',fallbackPlacement:'(string|array)',boundary:'(string|element)'},p={AUTO:'auto',TOP:'top',RIGHT:'right',BOTTOM:'bottom',LEFT:'left'},m={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:'hover focus',title:'',delay:0,html:!1,selector:!1,placement:'top',offset:0,container:!1,fallbackPlacement:'flip',boundary:'scrollParent'},r='show',g='out',E={HIDE:'hide'+n,HIDDEN:'hidden'+n,SHOW:'show'+n,SHOWN:'shown'+n,INSERTED:'inserted'+n,CLICK:'click'+n,FOCUSIN:'focusin'+n,FOCUSOUT:'focusout'+n,MOUSEENTER:'mouseenter'+n,MOUSELEAVE:'mouseleave'+n},c='fade',h='show',C='.tooltip-inner',I='.arrow',l='hover',d='focus',A='click',D='manual',u=function(){function y(t,e){if('undefined'==typeof o)throw new TypeError('Bootstrap tooltips require Popper.js (https://popper.js.org)');this._isEnabled=!0,this._timeout=0,this._hoverState='',this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()};var u=y.prototype;return u.enable=function(){this._isEnabled=!0},u.disable=function(){this._isEnabled=!1},u.toggleEnabled=function(){this._isEnabled=!this._isEnabled},u.toggle=function(e){if(this._isEnabled)if(e){var i=this.constructor.DATA_KEY,n=t(e.currentTarget).data(i);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}
else{if(t(this.getTipElement()).hasClass(h))return void this._leave(null,this);this._enter(null,this)}},u.dispose=function(){clearTimeout(this._timeout),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest('.modal').off('hide.bs.modal'),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},u.show=function(){var n=this;if('none'===t(this.element).css('display'))throw new Error('Please use show on visible elements');var l=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(l);var d=t.contains(this.element.ownerDocument.documentElement,this.element);if(l.isDefaultPrevented()||!d)return;var i=this.getTipElement(),a=e.getUID(this.constructor.NAME);i.setAttribute('id',a),this.element.setAttribute('aria-describedby',a),this.setContent(),this.config.animation&&t(i).addClass(c);var f='function'==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,r=this._getAttachment(f);this.addAttachmentClass(r);var u=!1===this.config.container?document.body:t(this.config.container);t(i).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(i).appendTo(u),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new o(this.element,i,{placement:r,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:I},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){n._handlePopperPlacementChange(t)}}),t(i).addClass(h),'ontouchstart'in document.documentElement&&t('body').children().on('mouseover',null,t.noop);var s=function(){n.config.animation&&n._fixTransition();var e=n._hoverState;n._hoverState=null,t(n.element).trigger(n.constructor.Event.SHOWN),e===g&&n._leave(null,n)};e.supportsTransitionEnd()&&t(this.tip).hasClass(c)?t(this.tip).one(e.TRANSITION_END,s).emulateTransitionEnd(y._TRANSITION_DURATION):s()}},u.hide=function(n){var i=this,s=this.getTipElement(),o=t.Event(this.constructor.Event.HIDE),a=function(){i._hoverState!==r&&s.parentNode&&s.parentNode.removeChild(s),i._cleanTipClass(),i.element.removeAttribute('aria-describedby'),t(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),n&&n()};t(this.element).trigger(o),o.isDefaultPrevented()||(t(s).removeClass(h),'ontouchstart'in document.documentElement&&t('body').children().off('mouseover',null,t.noop),this._activeTrigger[A]=!1,this._activeTrigger[d]=!1,this._activeTrigger[l]=!1,e.supportsTransitionEnd()&&t(this.tip).hasClass(c)?t(s).one(e.TRANSITION_END,a).emulateTransitionEnd(150):a(),this._hoverState='')},u.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},u.isWithContent=function(){return Boolean(this.getTitle())},u.addAttachmentClass=function(e){t(this.getTipElement()).addClass('bs-tooltip-'+e)},u.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},u.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(C),this.getTitle()),e.removeClass(c+' '+h)},u.setElementContent=function(e,n){var i=this.config.html;'object'==typeof n&&(n.nodeType||n.jquery)?i?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text()):e[i?'html':'text'](n)},u.getTitle=function(){var t=this.element.getAttribute('data-original-title');return t||(t='function'==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},u._getAttachment=function(t){return p[t.toUpperCase()]},u._setListeners=function(){var e=this;this.config.trigger.split(' ').forEach(function(n){if('click'===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if(n!==D){var i=n===l?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,s=n===l?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(i,e.config.selector,function(t){return e._enter(t)}).on(s,e.config.selector,function(t){return e._leave(t)})};t(e.element).closest('.modal').on('hide.bs.modal',function(){return e.hide()})}),this.config.selector?this.config=s({},this.config,{trigger:'manual',selector:''}):this._fixTitle()},u._fixTitle=function(){var t=typeof this.element.getAttribute('data-original-title');(this.element.getAttribute('title')||'string'!==t)&&(this.element.setAttribute('data-original-title',this.element.getAttribute('title')||''),this.element.setAttribute('title',''))},u._enter=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger['focusin'===e.type?d:l]=!0),t(n.getTipElement()).hasClass(h)||n._hoverState===r?n._hoverState=r:(clearTimeout(n._timeout),n._hoverState=r,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===r&&n.show()},n.config.delay.show):n.show())},u._leave=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger['focusout'===e.type?d:l]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=g,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===g&&n.hide()},n.config.delay.hide):n.hide())},u._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},u._getConfig=function(n){return'number'==typeof(n=s({},this.constructor.Default,t(this.element).data(),n)).delay&&(n.delay={show:n.delay,hide:n.delay}),'number'==typeof n.title&&(n.title=n.title.toString()),'number'==typeof n.content&&(n.content=n.content.toString()),e.typeCheckConfig(i,n,this.constructor.DefaultType),n},u._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},u._cleanTipClass=function(){var n=t(this.getTipElement()),e=n.attr('class').match(T);null!==e&&e.length>0&&n.removeClass(e.join(''))},u._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},u._fixTransition=function(){var e=this.getTipElement(),n=this.config.animation;null===e.getAttribute('x-placement')&&(t(e).removeClass(c),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},y._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(f),i='object'==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new y(this,i),t(this).data(f,n)),'string'==typeof e)){if('undefined'==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},a(y,null,[{key:'VERSION',get:function(){return'4.0.0'}},{key:'Default',get:function(){return m}},{key:'NAME',get:function(){return i}},{key:'DATA_KEY',get:function(){return f}},{key:'Event',get:function(){return E}},{key:'EVENT_KEY',get:function(){return n}},{key:'DefaultType',get:function(){return v}}]),y}();return t.fn[i]=u._jQueryInterface,t.fn[i].Constructor=u,t.fn[i].noConflict=function(){return t.fn[i]=y,u._jQueryInterface},u}(n),x=function(t){var n='popover',i='bs.popover',e='.'+i,o=t.fn[n],l=new RegExp('(^|\\s)bs-popover\\S+','g'),h=s({},E.Default,{placement:'right',trigger:'click',content:'',template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),c=s({},E.DefaultType,{content:'(string|element|function)'}),u='fade',f='show',d='.popover-header',g='.popover-body',m={HIDE:'hide'+e,HIDDEN:'hidden'+e,SHOW:'show'+e,SHOWN:'shown'+e,INSERTED:'inserted'+e,CLICK:'click'+e,FOCUSIN:'focusin'+e,FOCUSOUT:'focusout'+e,MOUSEENTER:'mouseenter'+e,MOUSELEAVE:'mouseleave'+e},r=function(s){var p,v;function o(){return s.apply(this,arguments)||this};v=s,(p=o).prototype=Object.create(v.prototype),p.prototype.constructor=p,p.__proto__=v;var r=o.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(e){t(this.getTipElement()).addClass('bs-popover-'+e)},r.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},r.setContent=function(){var n=t(this.getTipElement());this.setElementContent(n.find(d),this.getTitle());var e=this._getContent();'function'==typeof e&&(e=e.call(this.element)),this.setElementContent(n.find(g),e),n.removeClass(u+' '+f)},r._getContent=function(){return this.element.getAttribute('data-content')||this.config.content},r._cleanTipClass=function(){var n=t(this.getTipElement()),e=n.attr('class').match(l);null!==e&&e.length>0&&n.removeClass(e.join(''))},o._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(i),s='object'==typeof e?e:null;if((n||!/destroy|hide/.test(e))&&(n||(n=new o(this,s),t(this).data(i,n)),'string'==typeof e)){if('undefined'==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},a(o,null,[{key:'VERSION',get:function(){return'4.0.0'}},{key:'Default',get:function(){return h}},{key:'NAME',get:function(){return n}},{key:'DATA_KEY',get:function(){return i}},{key:'Event',get:function(){return m}},{key:'EVENT_KEY',get:function(){return e}},{key:'DefaultType',get:function(){return c}}]),o}(E);return t.fn[n]=r._jQueryInterface,t.fn[n].Constructor=r,t.fn[n].noConflict=function(){return t.fn[n]=o,r._jQueryInterface},r}(n),K=function(t){var i='scrollspy',l='bs.scrollspy',h='.'+l,d=t.fn[i],u={offset:10,method:'auto',target:''},g={offset:'number',method:'string',target:'(string|element)'},c={ACTIVATE:'activate'+h,SCROLL:'scroll'+h,LOAD_DATA_API:'load'+h+'.data-api'},m='dropdown-item',r='active',n={DATA_SPY:'[data-spy="scroll"]',ACTIVE:'.active',NAV_LIST_GROUP:'.nav, .list-group',NAV_LINKS:'.nav-link',NAV_ITEMS:'.nav-item',LIST_ITEMS:'.list-group-item',DROPDOWN:'.dropdown',DROPDOWN_ITEMS:'.dropdown-item',DROPDOWN_TOGGLE:'.dropdown-toggle'},p='offset',f='position',o=function(){function d(e,i){var s=this;this._element=e,this._scrollElement='BODY'===e.tagName?window:e,this._config=this._getConfig(i),this._selector=this._config.target+' '+n.NAV_LINKS+','+this._config.target+' '+n.LIST_ITEMS+','+this._config.target+' '+n.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(c.SCROLL,function(t){return s._process(t)}),this.refresh(),this._process()};var o=d.prototype;return o.refresh=function(){var n=this,s=this._scrollElement===this._scrollElement.window?p:f,i='auto'===this._config.method?s:this._config.method,r=i===f?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),t.makeArray(t(this._selector)).map(function(n){var s,o=e.getSelectorFromElement(n);if(o&&(s=t(o)[0]),s){var a=s.getBoundingClientRect();if(a.width||a.height)return[t(s)[i]().top+r,o]};return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){n._offsets.push(t[0]),n._targets.push(t[1])})},o.dispose=function(){t.removeData(this._element,l),t(this._scrollElement).off(h),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},o._getConfig=function(n){if('string'!=typeof(n=s({},u,n)).target){var r=t(n.target).attr('id');r||(r=e.getUID(i),t(n.target).attr('id',r)),n.target='#'+r};return e.typeCheckConfig(i,n,g),n},o._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},o._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},o._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},o._process=function(){var e=this._getScrollTop()+this._config.offset,i=this._getScrollHeight(),s=this._config.offset+i-this._getOffsetHeight();if(this._scrollHeight!==i&&this.refresh(),e>=s){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}
else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var t=this._offsets.length;t--;){this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&('undefined'==typeof this._offsets[t+1]||e<this._offsets[t+1])&&this._activate(this._targets[t])}}},o._activate=function(e){this._activeTarget=e,this._clear();var s=this._selector.split(',');s=s.map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'});var i=t(s.join(','));i.hasClass(m)?(i.closest(n.DROPDOWN).find(n.DROPDOWN_TOGGLE).addClass(r),i.addClass(r)):(i.addClass(r),i.parents(n.NAV_LIST_GROUP).prev(n.NAV_LINKS+', '+n.LIST_ITEMS).addClass(r),i.parents(n.NAV_LIST_GROUP).prev(n.NAV_ITEMS).children(n.NAV_LINKS).addClass(r)),t(this._scrollElement).trigger(c.ACTIVATE,{relatedTarget:e})},o._clear=function(){t(this._selector).filter(n.ACTIVE).removeClass(r)},d._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(l);if(n||(n=new d(this,'object'==typeof e&&e),t(this).data(l,n)),'string'==typeof e){if('undefined'==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},a(d,null,[{key:'VERSION',get:function(){return'4.0.0'}},{key:'Default',get:function(){return u}}]),d}();return t(window).on(c.LOAD_DATA_API,function(){for(var i=t.makeArray(t(n.DATA_SPY)),s=i.length;s--;){var e=t(i[s]);o._jQueryInterface.call(e,e.data())}}),t.fn[i]=o._jQueryInterface,t.fn[i].Constructor=o,t.fn[i].noConflict=function(){return t.fn[i]=d,o._jQueryInterface},o}(n),V=function(t){var o='bs.tab',r='.'+o,u=t.fn.tab,n={HIDE:'hide'+r,HIDDEN:'hidden'+r,SHOW:'show'+r,SHOWN:'shown'+r,CLICK_DATA_API:'click.bs.tab.data-api'},f='dropdown-menu',i='active',d='disabled',g='fade',c='show',m='.dropdown',p='.nav, .list-group',l='.active',h='> li > .active',v='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',E='.dropdown-toggle',T='> .dropdown-menu .active',s=function(){function s(t){this._element=t};var r=s.prototype;return r.show=function(){var g=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(i)||t(this._element).hasClass(d))){var r,s,o=t(this._element).closest(p)[0],f=e.getSelectorFromElement(this._element);if(o){var m='UL'===o.nodeName?h:l;s=(s=t.makeArray(t(o).find(m)))[s.length-1]};var c=t.Event(n.HIDE,{relatedTarget:this._element}),u=t.Event(n.SHOW,{relatedTarget:s});if(s&&t(s).trigger(c),t(this._element).trigger(u),!u.isDefaultPrevented()&&!c.isDefaultPrevented()){f&&(r=t(f)[0]),this._activate(this._element,o);var a=function(){var e=t.Event(n.HIDDEN,{relatedTarget:g._element}),i=t.Event(n.SHOWN,{relatedTarget:s});t(s).trigger(e),t(g._element).trigger(i)};r?this._activate(r,r.parentNode,a):a()}}},r.dispose=function(){t.removeData(this._element,o),this._element=null},r._activate=function(n,i,s){var a=this,r=('UL'===i.nodeName?t(i).find(h):t(i).children(l))[0],c=s&&e.supportsTransitionEnd()&&r&&t(r).hasClass(g),o=function(){return a._transitionComplete(n,r,s)};r&&c?t(r).one(e.TRANSITION_END,o).emulateTransitionEnd(150):o()},r._transitionComplete=function(n,s,r){if(s){t(s).removeClass(c+' '+i);var a=t(s.parentNode).find(T)[0];a&&t(a).removeClass(i),'tab'===s.getAttribute('role')&&s.setAttribute('aria-selected',!1)};if(t(n).addClass(i),'tab'===n.getAttribute('role')&&n.setAttribute('aria-selected',!0),e.reflow(n),t(n).addClass(c),n.parentNode&&t(n.parentNode).hasClass(f)){var o=t(n).closest(m)[0];o&&t(o).find(E).addClass(i),n.setAttribute('aria-expanded',!0)};r&&r()},s._jQueryInterface=function(e){return this.each(function(){var i=t(this),n=i.data(o);if(n||(n=new s(this),i.data(o,n)),'string'==typeof e){if('undefined'==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},a(s,null,[{key:'VERSION',get:function(){return'4.0.0'}}]),s}();return t(document).on(n.CLICK_DATA_API,v,function(e){e.preventDefault(),s._jQueryInterface.call(t(this),'show')}),t.fn.tab=s._jQueryInterface,t.fn.tab.Constructor=s,t.fn.tab.noConflict=function(){return t.fn.tab=u,s._jQueryInterface},s}(n);!function(t){if('undefined'==typeof t)throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.');var e=t.fn.jquery.split(' ')[0].split('.');if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')}(n),t.Util=e,t.Alert=M,t.Button=j,t.Carousel=H,t.Collapse=W,t.Dropdown=Q,t.Modal=U,t.Popover=x,t.Scrollspy=K,t.Tab=V,t.Tooltip=E,Object.defineProperty(t,'__esModule',{value:!0})});(function(e){var s={};var t={mode:'horizontal',slideSelector:'',infiniteLoop:!1,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:'visible',responsive:!0,slideZIndex:50,wrapperClass:'bx-wrapper',touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:'full',pagerShortSeparator:' / ',pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:'',prevText:'',nextSelector:null,prevSelector:null,autoControls:!0,startText:'Start',stopText:'Stop',autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:0,autoStart:!0,autoDirection:'next',autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};e.fn.bxSlider=function(r){if(this.length==0)return this;if(this.length>1){this.each(function(){e(this).bxSlider(r)});return this};var n={};var o=this;s.el=this;var m=e(window).width(),P=e(window).height(),S=function(){n.settings=e.extend({},t,r);n.settings.slideWidth=parseInt(n.settings.slideWidth);n.children=o.children(n.settings.slideSelector);if(n.children.length<n.settings.minSlides)n.settings.minSlides=n.children.length;if(n.children.length<n.settings.maxSlides)n.settings.maxSlides=n.children.length;if(n.settings.randomStart)n.settings.startSlide=Math.floor(Math.random()*n.children.length);n.active={index:n.settings.startSlide};n.carousel=n.settings.minSlides>1||n.settings.maxSlides>1;if(n.carousel)n.settings.preloadImages='all';n.minThreshold=(n.settings.minSlides*n.settings.slideWidth)+((n.settings.minSlides-1)*n.settings.slideMargin);n.maxThreshold=(n.settings.maxSlides*n.settings.slideWidth)+((n.settings.maxSlides-1)*n.settings.slideMargin);n.working=!1;n.controls={};n.interval=null;n.animProp=n.settings.mode=='vertical'?'top':'left';n.usingCSS=n.settings.useCSS&&n.settings.mode!='fade'&&(function(){var i=document.createElement('div'),e=['WebkitPerspective','MozPerspective','OPerspective','msPerspective'];for(var t in e){if(i.style[e[t]]!==undefined){n.cssPrefix=e[t].replace('Perspective','').toLowerCase();n.animProp='-'+n.cssPrefix+'-transform';return!0}};return!1}());if(n.settings.mode=='vertical')n.settings.maxSlides=n.settings.minSlides;o.data('origStyle',o.attr('style'));o.children(n.settings.slideSelector).each(function(){e(this).data('origStyle',e(this).attr('style'))});A()},A=function(){o.wrap('<div class="'+n.settings.wrapperClass+'"><div class="bx-viewport"></div></div>');n.viewport=o.parent();n.loader=e('<div class="bx-loading" />');n.viewport.prepend(n.loader);o.css({width:n.settings.mode=='horizontal'?(n.children.length*100+215)+'%':'auto',position:'relative'});if(n.usingCSS&&n.settings.easing){o.css('-'+n.cssPrefix+'-transition-timing-function',n.settings.easing)}
else if(!n.settings.easing){n.settings.easing='swing'};var i=d();n.viewport.css({width:'100%',overflow:'hidden',position:'relative'});n.viewport.parent().css({maxWidth:N()});if(!n.settings.pager){n.viewport.parent().css({margin:'0 auto 0px'})};n.children.css({'float':n.settings.mode=='horizontal'?'left':'none',listStyle:'none',});n.children.css('width',T());if(n.settings.mode=='horizontal'&&n.settings.slideMargin>0)n.children.css('marginRight',n.settings.slideMargin);if(n.settings.mode=='vertical'&&n.settings.slideMargin>0)n.children.css('marginBottom',n.settings.slideMargin);if(n.settings.mode=='fade'){n.children.css({position:'absolute',zIndex:0,display:'none'});n.children.eq(n.settings.startSlide).css({zIndex:n.settings.slideZIndex,display:'block'})};n.controls.el=e('<div class="bx-controls" />');if(n.settings.captions)V();n.active.last=n.settings.startSlide==a()-1;if(n.settings.video)o.fitVids();var t=n.children.eq(n.settings.startSlide);if(n.settings.preloadImages=='all')t=n.children;if(!n.settings.ticker){if(n.settings.pager)O();if(n.settings.controls)F();if(n.settings.auto&&n.settings.autoControls)L();if(n.settings.controls||n.settings.autoControls||n.settings.pager)n.viewport.after(n.controls.el)}
else{n.settings.pager=!1};X(t,Y)},X=function(t,i){var s=t.find('img, iframe').length;if(s==0){i();return};var n=0;t.find('img, iframe').each(function(){e(this).one('load',function(){if(++n==s)i()}).each(function(){if(this.complete)e(this).trigger('load')})})},Y=function(){if(n.settings.infiniteLoop&&n.settings.mode!='fade'&&!n.settings.ticker){var t=n.settings.mode=='vertical'?n.settings.minSlides:n.settings.maxSlides,i=n.children.slice(0,t).clone().addClass('bx-clone'),s=n.children.slice(-t).clone().addClass('bx-clone');o.append(i).prepend(s)};n.loader.remove();b();if(n.settings.mode=='vertical')n.settings.adaptiveHeight=!0;n.viewport.height(g());o.redrawSlider();n.settings.onSliderLoad(n.active.index);n.initialized=!0;if(n.settings.responsive)e(window).bind('resize',E);if(n.settings.auto&&n.settings.autoStart&&(a()>1||n.settings.autoSlideForOnePage))I();if(n.settings.ticker)k();if(n.settings.pager)u(n.settings.startSlide);if(n.settings.controls)x();if(n.settings.touchEnabled&&!n.settings.ticker)M()},g=function(){var s=0,t=e();if(n.settings.mode!='vertical'&&!n.settings.adaptiveHeight){t=n.children}
else{if(!n.carousel){t=n.children.eq(n.active.index)}
else{var o=n.settings.moveSlides==1?n.active.index:n.active.index*c();t=n.children.eq(o);for(i=1;i<=n.settings.maxSlides-1;i++){if(o+i>=n.children.length){t=t.add(n.children.eq(i-1))}
else{t=t.add(n.children.eq(o+i))}}}};if(n.settings.mode=='vertical'){t.each(function(t){s+=e(this).outerHeight()});if(n.settings.slideMargin>0){s+=n.settings.slideMargin*(n.settings.minSlides-1)}}
else{s=Math.max.apply(Math,t.map(function(){return e(this).outerHeight(!1)}).get())};if(n.viewport.css('box-sizing')=='border-box'){s+=parseFloat(n.viewport.css('padding-top'))+parseFloat(n.viewport.css('padding-bottom'))+parseFloat(n.viewport.css('border-top-width'))+parseFloat(n.viewport.css('border-bottom-width'))}
else if(n.viewport.css('box-sizing')=='padding-box'){s+=parseFloat(n.viewport.css('padding-top'))+parseFloat(n.viewport.css('padding-bottom'))};return s},N=function(){var e='100%';if(n.settings.slideWidth>0){if(n.settings.mode=='horizontal'){e=(n.settings.maxSlides*n.settings.slideWidth)+((n.settings.maxSlides-1)*n.settings.slideMargin)}
else{e=n.settings.slideWidth}};return e},T=function(){var t=n.settings.slideWidth,e=n.viewport.width();if(n.settings.slideWidth==0||(n.settings.slideWidth>e&&!n.carousel)||n.settings.mode=='vertical'){t=e}
else if(n.settings.maxSlides>1&&n.settings.mode=='horizontal'){if(e>n.maxThreshold){}
else if(e<n.minThreshold){t=(e-(n.settings.slideMargin*(n.settings.minSlides-1)))/n.settings.minSlides}};return t},d=function(){var e=1;if(n.settings.mode=='horizontal'&&n.settings.slideWidth>0){if(n.viewport.width()<n.minThreshold){e=n.settings.minSlides}
else if(n.viewport.width()>n.maxThreshold){e=n.settings.maxSlides}
else{var t=n.children.first().width()+n.settings.slideMargin;e=Math.floor((n.viewport.width()+n.settings.slideMargin)/t)}}
else if(n.settings.mode=='vertical'){e=n.settings.minSlides};return e},a=function(){var e=0;if(n.settings.moveSlides>0){if(n.settings.infiniteLoop){e=Math.ceil(n.children.length/c())}
else{var t=0,i=0;while(t<n.children.length){++e;t=i+d();i+=n.settings.moveSlides<=d()?n.settings.moveSlides:d()}}}
else{e=Math.ceil(n.children.length/d())};return e},c=function(){if(n.settings.moveSlides>0&&n.settings.moveSlides<=d()){return n.settings.moveSlides};return d()},b=function(){if(n.children.length>n.settings.maxSlides&&n.active.last&&!n.settings.infiniteLoop){if(n.settings.mode=='horizontal'){var t=n.children.last(),e=t.position();l(-(e.left-(n.viewport.width()-t.outerWidth())),'reset',0)}
else if(n.settings.mode=='vertical'){var i=n.children.length-n.settings.minSlides,e=n.children.eq(i).position();l(-e.top,'reset',0)}}
else{var e=n.children.eq(n.active.index*c()).position();if(n.active.index==a()-1)n.active.last=!0;if(e!=undefined){if(n.settings.mode=='horizontal')l(-e.left,'reset',0);else if(n.settings.mode=='vertical')l(-e.top,'reset',0)}}},l=function(e,t,r,a){if(n.usingCSS){var s=n.settings.mode=='vertical'?'translate3d(0, '+e+'px, 0)':'translate3d('+e+'px, 0, 0)';o.css('-'+n.cssPrefix+'-transition-duration',r/1000+'s');if(t=='slide'){o.css(n.animProp,s);o.bind('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd',function(){o.unbind('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd');h()})}
else if(t=='reset'){o.css(n.animProp,s)}
else if(t=='ticker'){o.css('-'+n.cssPrefix+'-transition-timing-function','linear');o.css(n.animProp,s);o.bind('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd',function(){o.unbind('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd');l(a['resetValue'],'reset',0);f()})}}
else{var i={};i[n.animProp]=e;if(t=='slide'){o.animate(i,r,n.settings.easing,function(){h()})}
else if(t=='reset'){o.css(n.animProp,e)}
else if(t=='ticker'){o.animate(i,speed,'linear',function(){l(a['resetValue'],'reset',0);f()})}}},z=function(){var s='',o=a();for(var t=0;t<o;t++){var i='';if(n.settings.buildPager&&e.isFunction(n.settings.buildPager)){i=n.settings.buildPager(t);n.pagerEl.addClass('bx-custom-pager')}
else{i=t+1;n.pagerEl.addClass('bx-default-pager')};s+='<div class="bx-pager-item"><a data-slide-index="'+t+'" class="bx-pager-link"><span class="bullet-nav"></span></a></div>'};n.pagerEl.html(s)},O=function(){if(!n.settings.pagerCustom){n.pagerEl=e('<div class="bx-pager" />');if(n.settings.pagerSelector){e(n.settings.pagerSelector).html(n.pagerEl)}
else{n.controls.el.addClass('bx-has-pager').append(n.pagerEl)};z()}
else{n.pagerEl=e(n.settings.pagerCustom)};if(e(window).width()>590){n.pagerEl.on('mouseenter','a',v)};if(e(window).width()<=590||isMobile.any()){n.pagerEl.on('click','a',v)}},F=function(){n.controls.next=e('<a class="bx-next" href="">'+n.settings.nextText+'</a>');n.controls.prev=e('<a class="bx-prev" href="">'+n.settings.prevText+'</a>');n.controls.next.bind('click',H);n.controls.prev.bind('click',q);if(n.settings.nextSelector){e(n.settings.nextSelector).append(n.controls.next)};if(n.settings.prevSelector){e(n.settings.prevSelector).append(n.controls.prev)};if(!n.settings.nextSelector&&!n.settings.prevSelector){n.controls.directionEl=e('<div class="bx-controls-direction" />');n.controls.directionEl.append(n.controls.prev).append(n.controls.next);n.controls.el.addClass('bx-has-controls-direction').append(n.controls.directionEl)}},L=function(){n.controls.start=e('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+n.settings.startText+'</a></div>');n.controls.stop=e('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+n.settings.stopText+'</a></div>');n.controls.autoEl=e('<div class="bx-controls-auto" />');n.controls.autoEl.on('click','.bx-start',W);n.controls.autoEl.on('click','.bx-stop',D);if(n.settings.autoControlsCombine){n.controls.autoEl.append(n.controls.start)}
else{n.controls.autoEl.append(n.controls.start).append(n.controls.stop)};if(n.settings.autoControlsSelector){e(n.settings.autoControlsSelector).html(n.controls.autoEl)}
else{n.controls.el.addClass('bx-has-controls-auto').append(n.controls.autoEl)};p(n.settings.autoStart?'stop':'start')},V=function(){n.children.each(function(t){var i=e(this).find('img:first').attr('title');if(i!=undefined&&(''+i).length){e(this).append('<div class="bx-caption"><span>'+i+'</span></div>')}})},H=function(e){if(n.settings.auto)o.stopAuto();o.goToNextSlide();e.preventDefault()},q=function(e){if(n.settings.auto)o.stopAuto();o.goToPrevSlide();e.preventDefault()},W=function(e){o.startAuto();e.preventDefault()},D=function(e){o.stopAuto();e.preventDefault()},v=function(t){if(n.settings.auto)o.stopAuto();var s=e(t.currentTarget);if(s.attr('data-slide-index')!==undefined){var i=parseInt(s.attr('data-slide-index'));if(i!=n.active.index)o.goToSlide(i);t.preventDefault()}},u=function(t){var i=n.children.length;if(n.settings.pagerType=='short'){if(n.settings.maxSlides>1){i=Math.ceil(n.children.length/n.settings.maxSlides)};n.pagerEl.html((t+1)+n.settings.pagerShortSeparator+i);return};n.pagerEl.find('a').removeClass('active');n.pagerEl.each(function(i,s){e(s).find('a').eq(t).addClass('active')})},h=function(){if(n.settings.infiniteLoop){var e='';if(n.active.index==0){e=n.children.eq(0).position()}
else if(n.active.index==a()-1&&n.carousel){e=n.children.eq((a()-1)*c()).position()}
else if(n.active.index==n.children.length-1){e=n.children.eq(n.children.length-1).position()};if(e){if(n.settings.mode=='horizontal'){l(-e.left,'reset',0)}
else if(n.settings.mode=='vertical'){l(-e.top,'reset',0)}}};n.working=!1;n.settings.onSlideAfter(n.children.eq(n.active.index),n.oldIndex,n.active.index)},p=function(e){if(n.settings.autoControlsCombine){n.controls.autoEl.html(n.controls[e])}
else{n.controls.autoEl.find('a').removeClass('active');n.controls.autoEl.find('a:not(.bx-'+e+')').addClass('active')}},x=function(){if(a()==1){n.controls.prev.addClass('disabled');n.controls.next.addClass('disabled')}
else if(!n.settings.infiniteLoop&&n.settings.hideControlOnEnd){if(n.active.index==0){n.controls.prev.addClass('disabled');n.controls.next.removeClass('disabled')}
else if(n.active.index==a()-1){n.controls.next.addClass('disabled');n.controls.prev.removeClass('disabled')}
else{n.controls.prev.removeClass('disabled');n.controls.next.removeClass('disabled')}}},I=function(){if(n.settings.autoDelay>0){var e=setTimeout(o.startAuto,n.settings.autoDelay)}
else{o.startAuto()};if(n.settings.autoHover){o.hover(function(){if(n.interval){o.stopAuto(!0);n.autoPaused=!0}},function(){if(n.autoPaused){o.startAuto(!0);n.autoPaused=null}})}},k=function(){var i=0;if(n.settings.autoDirection=='next'){o.append(n.children.clone().addClass('bx-clone'))}
else{o.prepend(n.children.clone().addClass('bx-clone'));var t=n.children.first().position();i=n.settings.mode=='horizontal'?-t.left:-t.top};l(i,'reset',0);n.settings.pager=!1;n.settings.controls=!1;n.settings.autoControls=!1;if(n.settings.tickerHover&&!n.usingCSS){n.viewport.hover(function(){o.stop()},function(){var t=0;n.children.each(function(i){t+=n.settings.mode=='horizontal'?e(this).outerWidth(!0):e(this).outerHeight(!0)});var i=n.settings.speed/t,s=n.settings.mode=='horizontal'?'left':'top',r=i*(t-(Math.abs(parseInt(o.css(s)))));f(r)})};f()},f=function(e){speed=e?e:n.settings.speed;var i={left:0,top:0};var t={left:0,top:0};if(n.settings.autoDirection=='next'){i=o.find('.bx-clone').first().position()}
else{t=n.children.first().position()};var s=n.settings.mode=='horizontal'?-i.left:-i.top,r=n.settings.mode=='horizontal'?-t.left:-t.top,a={resetValue:r};l(s,'ticker',speed,a)},M=function(){n.touch={start:{x:0,y:0},end:{x:0,y:0}};n.viewport.bind('touchstart',y)},y=function(e){if(n.working){e.preventDefault()}
else{n.touch.originalPos=o.position();var t=e.originalEvent;n.touch.start.x=t.changedTouches[0].pageX;n.touch.start.y=t.changedTouches[0].pageY;n.viewport.bind('touchmove',w);n.viewport.bind('touchend',C)}},w=function(e){var t=e.originalEvent,o=Math.abs(t.changedTouches[0].pageX-n.touch.start.x),r=Math.abs(t.changedTouches[0].pageY-n.touch.start.y);if((o*3)>r&&n.settings.preventDefaultSwipeX){e.preventDefault()}
else if((r*3)>o&&n.settings.preventDefaultSwipeY){e.preventDefault()};if(n.settings.mode!='fade'&&n.settings.oneToOneTouch){var s=0;if(n.settings.mode=='horizontal'){var i=t.changedTouches[0].pageX-n.touch.start.x;s=n.touch.originalPos.left+i}
else{var i=t.changedTouches[0].pageY-n.touch.start.y;s=n.touch.originalPos.top+i};l(s,'reset',0)}},C=function(e){n.viewport.unbind('touchmove',w);var s=e.originalEvent,i=0;n.touch.end.x=s.changedTouches[0].pageX;n.touch.end.y=s.changedTouches[0].pageY;if(n.settings.mode=='fade'){var t=Math.abs(n.touch.start.x-n.touch.end.x);if(t>=n.settings.swipeThreshold){n.touch.start.x>n.touch.end.x?o.goToNextSlide():o.goToPrevSlide();o.stopAuto()}}
else{var t=0;if(n.settings.mode=='horizontal'){t=n.touch.end.x-n.touch.start.x;i=n.touch.originalPos.left}
else{t=n.touch.end.y-n.touch.start.y;i=n.touch.originalPos.top};if(!n.settings.infiniteLoop&&((n.active.index==0&&t>0)||(n.active.last&&t<0))){l(i,'reset',200)}
else{if(Math.abs(t)>=n.settings.swipeThreshold){t<0?o.goToNextSlide():o.goToPrevSlide();o.stopAuto()}
else{l(i,'reset',200)}}};n.viewport.unbind('touchend',C)},E=function(t){if(!n.initialized)return;var i=e(window).width(),s=e(window).height();if(m!=i||P!=s){m=i;P=s;o.redrawSlider();n.settings.onSliderResize.call(o,n.active.index)}};o.goToSlide=function(t,s){if(n.working||n.active.index==t)return;n.working=!0;n.oldIndex=n.active.index;if(t<0){n.active.index=a()-1}
else if(t>=a()){n.active.index=0}
else{n.active.index=t};n.settings.onSlideBefore(n.children.eq(n.active.index),n.oldIndex,n.active.index);if(s=='next'){n.settings.onSlideNext(n.children.eq(n.active.index),n.oldIndex,n.active.index)}
else if(s=='prev'){n.settings.onSlidePrev(n.children.eq(n.active.index),n.oldIndex,n.active.index)};n.active.last=n.active.index>=a()-1;if(n.settings.pager)u(n.active.index);if(n.settings.controls)x();if(n.settings.mode=='fade'){if(n.settings.adaptiveHeight&&n.viewport.height()!=g()){n.viewport.animate({height:g()},n.settings.adaptiveHeightSpeed)};n.children.filter(':visible').fadeOut(n.settings.speed).css({zIndex:0});n.children.eq(n.active.index).css('zIndex',n.settings.slideZIndex+1).fadeIn(n.settings.speed,function(){e(this).css('zIndex',n.settings.slideZIndex);h()})}
else{if(n.settings.adaptiveHeight&&n.viewport.height()!=g()){n.viewport.animate({height:g()},n.settings.adaptiveHeightSpeed)};var d=0,i={left:0,top:0};if(!n.settings.infiniteLoop&&n.carousel&&n.active.last){if(n.settings.mode=='horizontal'){var r=n.children.eq(n.children.length-1);i=r.position();d=n.viewport.width()-r.outerWidth()}
else{var m=n.children.length-n.settings.minSlides;i=n.children.eq(m).position()}}
else if(n.carousel&&n.active.last&&s=='prev'){var v=n.settings.moveSlides==1?n.settings.maxSlides-c():((a()-1)*c())-(n.children.length-n.settings.maxSlides),r=o.children('.bx-clone').eq(v);i=r.position()}
else if(s=='next'&&n.active.index==0){i=o.find('> .bx-clone').eq(n.settings.maxSlides).position();n.active.last=!1}
else if(t>=0){var p=t*c();i=n.children.eq(p).position()};if('undefined'!==typeof(i)){var f=n.settings.mode=='horizontal'?-(i.left-d):-i.top;l(f,'slide',n.settings.speed)}}};o.goToNextSlide=function(){if(!n.settings.infiniteLoop&&n.active.last)return;var e=parseInt(n.active.index)+1;o.goToSlide(e,'next')};o.goToPrevSlide=function(){if(!n.settings.infiniteLoop&&n.active.index==0)return;var e=parseInt(n.active.index)-1;o.goToSlide(e,'prev')};o.startAuto=function(e){if(n.interval)return;n.interval=setInterval(function(){n.settings.autoDirection=='next'?o.goToNextSlide():o.goToPrevSlide()},n.settings.pause);if(n.settings.autoControls&&e!=!0)p('stop')};o.stopAuto=function(e){if(!n.interval)return;clearInterval(n.interval);n.interval=null;if(n.settings.autoControls&&e!=!0)p('start')};o.getCurrentSlide=function(){return n.active.index};o.getCurrentSlideElement=function(){return n.children.eq(n.active.index)};o.getSlideCount=function(){return n.children.length};o.redrawSlider=function(){n.children.add(o.find('.bx-clone')).width(T());n.viewport.css('height',g());if(!n.settings.ticker)b();if(n.active.last)n.active.index=a()-1;if(n.active.index>=a())n.active.last=!0;if(n.settings.pager&&!n.settings.pagerCustom){z();u(n.active.index)}};o.destroySlider=function(){if(!n.initialized)return;n.initialized=!1;e('.bx-clone',this).remove();n.children.each(function(){e(this).data('origStyle')!=undefined?e(this).attr('style',e(this).data('origStyle')):e(this).removeAttr('style')});e(this).data('origStyle')!=undefined?this.attr('style',e(this).data('origStyle')):e(this).removeAttr('style');e(this).unwrap().unwrap();if(n.controls.el)n.controls.el.remove();if(n.controls.next)n.controls.next.remove();if(n.controls.prev)n.controls.prev.remove();if(n.pagerEl&&n.settings.controls)n.pagerEl.remove();e('.bx-caption',this).remove();if(n.controls.autoEl)n.controls.autoEl.remove();clearInterval(n.interval);if(n.settings.responsive)e(window).unbind('resize',E)};o.reloadSlider=function(e){if(e!=undefined)r=e;o.destroySlider();S()};S();return this}})(jQuery);;var isMobile={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return(isMobile.Android()||isMobile.BlackBerry()||isMobile.iOS()||isMobile.Opera()||isMobile.Windows())}};function equalizeBoxHeights(i){if($(i).length){var e=0;$(i).each(function(){$(this).css('height','auto');if($(this).outerHeight()>e){e=$(this).outerHeight()}});$(i).each(function(){$(this).css('height',e)})}};function centerImage(i){if($(i).length){if($(i).find('img').outerWidth()>$(window).outerWidth()){$(i).find('img').css({'position':'relative','left':($(window).outerWidth()-$(i).find('img').outerWidth())/2})}}};function imageHeight(){if($('.homepage-slider').length){$('.homepage-slider li picture img').each(function(){var i=$(window).width()>$(window).height?!0:!1;$(this).css('height','700px');if(Boolean(isMobile.any())&&i){$(this).css('height','700px')}
else if($(window).outerHeight()<500&&!i){$(this).css('height','500px')}
else if(Boolean(isMobile.any())&&$(window).width()<768&&!i){$(this).css('height',$(window).outerHeight()-160)}
else{$(this).css('height',$(window).outerHeight())};if($(this).outerWidth()>$(window).width()){centerImage($(this).parent())}
else{$(this).css({'left':'0'})}})}};function menuScroll(){if($('.main-menu').length&&!Boolean(isMobile.any())){$('.main-menu-wrapper').jScrollPane()}};;jQuery(function(){createSticky(jQuery('#sticky-wrap'));$(window).resize(function(){setTimeout(function(){createSticky(jQuery('#sticky-wrap'))},100)})});function createSticky(i){var s=i.scrollTop(),e=$(window);if($(window).outerWidth()>1600){e.scroll(function(){if(e.scrollTop()>s){i.addClass('stickyhead');$('.main-navigation ul li > ul').css('top','80px')}
else{i.removeClass('stickyhead');$('.main-navigation ul li > ul').css('top','100px')}})}
else if($(window).outerWidth()<1600){e.scroll(function(){if(e.scrollTop()>=s){i.addClass('stickyhead')}
else{i.removeClass('stickyhead')}})}
else if($(document).scrollTop()>50){i.addClass('stickyhead')}};;$(document).ready(function(){const floatingSection=(floatClass)=>{const FLOATING_ELEMENT=document.querySelector(floatClass);if(!FLOATING_ELEMENT)return;const createCopy=(ORIGINAL)=>{const COPY_BTN=ORIGINAL.querySelector('.btn')?.cloneNode(!0);const HOLDER=document.createElement('div');HOLDER.classList.add('floating-bar');HOLDER.classList.add('bg-gray');if(COPY_BTN)HOLDER.append(COPY_BTN);document.querySelector('body').append(HOLDER);return HOLDER};const showFloating=(COPY,ORIGINAL,scrollY,viewportWidth,viewportHeight)=>{const INITIAL_POSITION=ORIGINAL.offsetTop;if(INITIAL_POSITION-viewportHeight>scrollY&&viewportWidth<480){COPY.classList.add('show')}
else{COPY.classList.remove('show')}};const FLOATING_COPY=createCopy(FLOATING_ELEMENT);showFloating(FLOATING_COPY,FLOATING_ELEMENT,window.scrollY,window.innerWidth,window.innerHeight);window.addEventListener('scroll',()=>{showFloating(FLOATING_COPY,FLOATING_ELEMENT,window.scrollY,window.innerWidth,window.innerHeight)});window.addEventListener('resize',()=>{showFloating(FLOATING_COPY,FLOATING_ELEMENT,window.scrollY,window.innerWidth,window.innerHeight)})};floatingSection('.floating');var L=function(t){alert(t)},C,O=function(){C=grecaptcha.render('captcha',{sitekey:'6Lc-Jq4UAAAAACkUh0ybhs3QzbpTS6oI9pkfk0tO',theme:'light',})};$('.btn-menu-trigger').click(function(){$('.slide-menu-wrapper').toggleClass('visible')});$('.btn-nav-trigger').click(function(){$('.main-navigation-holder').toggleClass('visible')});$('.main-navigation ul li').has('ul').each(function(){$(this).append('<span class="toggle"></span>')});$('.toggle').click(function(){$(this).toggleClass('active');$(this).parent().toggleClass('active')});$('nav.main-navigation ul li > ul li a').click(function(){$('.main-navigation').removeClass('visible');$('#menu-toggler').removeClass('button-container-active');$('.hamburger').removeClass('is-active')});$(window).resize(function(){var t=$(window).outerWidth(!0);if(t>1600){if($('.toggle').hasClass('active')){$('.toggle, .main-navigation ul > li').removeClass('active')};if($('.hamburger').hasClass('is-active')){$('.hamburger').removeClass('is-active')};if($('.menu-trigger-holder').hasClass('button-container-active')){$('.menu-trigger-holder').removeClass('button-container-active')};$('.main-navigation').removeClass('visible')}}).resize();function w(){var t=$('.full-width-content').map(function(){return $(this).innerHeight()}).get(),i=Math.max.apply(null,t);$('.bottom-banners .row div').css('min-height',i)};function s(){var n=$('.content').map(function(){return $(this).outerHeight()}).get(),t=Math.max.apply(null,n);$('.bottom-banners .row div').css('min-height',t);var i=$('.bottom-banners .row div').length,e=$('.content:last-child').outerHeight(!0);if(i%2!==0){$('.bottom-banners .row div:not(:last-child)').css('min-height',t);$('.bottom-banners .row div:last-child').css('min-height',e)}
else if(i%2==0){$('.bottom-banners .row div').css('min-height',t)}};function r(){var i=$(window).outerWidth(!0);if(i>1200){s();$('.full-width-content').css({'padding-top':'0','padding-bottom':'0',});$('.full-width-content .content').css({'padding-top':'140px','padding-bottom':'140px',})}
else if($(window).outerWidth()<1200){s();$('.full-width-content').css({'padding-top':'0','padding-bottom':'0',});$('.full-width-content .content').css({'padding-top':'40px','padding-bottom':'40px',})};var t=$('.bottom-banners').outerHeight();$('.full-width').css('height',t)};r();$(window).resize(function(){r();setTimeout(function(){r()},10)});var d=$('.bottom-banners .row div'),t=d.length;if(t<2){d.addClass('col-md-12')}
else if((t==2&&t%2==0)||t==4){d.addClass('col-md-6')}
else if(t==3){$('.bottom-banners .row div:nth-child(1),.bottom-banners .row div:nth-child(2)').addClass('col-md-6');$('.bottom-banners .row div:nth-child(3)').addClass('col-md-12 text-center')}
else if(t%2!==0&&t>1){$('.bottom-banners .row div').addClass('col-md-6');$('.bottom-banners .row div:nth-last-child(1)').removeClass('col-md-6');$('.bottom-banners .row div:nth-last-child(1)').addClass('col-md-12 text-center');$('.bottom-banners .row div:nth-child(even)').addClass('left-padding')}
else if(t%2==0&&t>1){$('.bottom-banners .row div').addClass('col-md-6');$('.bottom-banners .row div:nth-of-type(even)').addClass('left-padding')};var l=$('.full-width-content .row div'),i=l.length;if(i<2){l.addClass('col-md-12 text-center')}
else if(i==2||i==4){l.addClass('col-md-6');$('.full-width-content .row div:nth-child(even)').addClass('left-padding');$('.bottom-banners .row div').addClass('col-md-6')}
else if(i==3){$('.full-width-content .row div:nth-child(1), .full-width-content .row div:nth-child(2)').addClass('col-xl-6 col-md-6');$('.full-width-content .row div:nth-child(2)').addClass('left-padding');$('.full-width-content .row div:nth-child(3)').addClass('col-md-12 text-center')}
else if(t%2!==0&&t>1){$('.full-width-content .row div').addClass('col-md-6');$('.full-width-content .row div:nth-last-child(1)').removeClass('col-md-6');$('.full-width-content .row div:nth-last-child(1)').addClass('col-md-12 text-center')}
else if(t%2==0&&t>1){$('.full-width-content .row div').addClass('col-md-6')};if($(window).outerWidth()>1200&&i>2){w();$('.full-width-content').css({'padding-top':'100px','padding-bottom':'100px',})}
else if($(window).outerWidth()<1200&&i>2){s();$('.full-width-content').css({'padding-top':'0px','padding-bottom':'0px',});$('.full-width-content .content').css({'padding-top':'40px','padding-bottom':'40px',})};if($(window).outerWidth()<1200&&i===3){$('.content').addClass('responsive')};function p(){if($(window).outerWidth()<1200&&$('.full-width-content span').innerHeight()<60){$('.full-width-content span').css({'min-height':'106px',display:'flex','align-items':'center',})}};p();$(window).resize(function(){p()});$('.genetic-table.page-table').prev().addClass('no-line');function m(){if($(window).outerWidth()>991){$('.blog-container').last().css('margin-bottom','100px')}
else{$('.blog-container').last().css('margin-bottom','60px')}};m();$(window).resize(function(){m()});$('#togglebtn').click(function(){$(this).toggleClass('btn-menu-trigger-active')});$('#togglebtn').click(function(){$('#btncontainer').toggleClass('button-container-active');$('#sticky-wrap .hamburger').stop().removeClass('is-active');$('.main-navigation').removeClass('visible');$('.menu-trigger-holder').removeClass('button-container-active')});$('.hamburger-circle').click(function(){$('#sticky-wrap .hamburger').stop().toggleClass('is-active');$('.main-navigation').toggleClass('visible');$('.slide-menu-wrapper').removeClass('visible');$('#btncontainer').removeClass('button-container-active');$('#togglebtn').removeClass('btn-menu-trigger-active');$('.menu-trigger-holder').toggleClass('button-container-active')});$('.content-menu .submenu-trigger-holder').click(function(){$('.content-menu .hamburger').toggleClass('is-active');$('.content-menu').toggleClass('visible')});var y=$('.scroll-to-top');y.on('click',function(t){t.preventDefault();$('html, body').animate({scrollTop:0,},'800')});$('.right-blog-content, .blog-title').last().addClass('last');$('.main-navigation ul > li').each(function(){$(this).mouseover(function(){var d=$(this).position(),c=$(this).width()/2,r=d.left+c,t=0;$('.main-navigation ul > li > ul > li').each(function(){t+=$(this).outerWidth(!0)});var a=t/2,s=$(window).outerWidth()/2,l=r-a;if(t>s&&$(window).outerWidth()<1650){$('.main-navigation ul li:nth-last-child(n+2) > ul').css('left','0')}
else if($(window).outerWidth()<1600){$('.main-navigation ul li:nth-last-child(n+2) > ul').css('left','0')}
else{$('.main-navigation ul li:nth-last-child(n+2) > ul').css('left',l)};var n=$('.main-navigation ul li:nth-child(6)').position(),o=$('.main-navigation ul li:nth-child(6)').outerWidth(),i=0;$('.main-navigation ul li:nth-child(6) > ul > li').each(function(){i+=$(this).outerWidth(!0)});var e=n.left-i+o;if($(window).outerWidth()>1600){$('.main-navigation ul li:last-child > ul').css('left',e)}
else{$('.main-navigation ul li:last-child > ul').css('left','0')}})});function f(){if($(window).width()>768&&$(window).outerWidth()<992){$('.our-mission').css('padding','60px 0 510px')}
else{$('.our-mission').css('padding','')}};f();$(window).resize(function(){f()});function g(){setTimeout(function(){var t=$('.cards-holder, .system-page .first, .advantages .cards').map(function(){return $(this).innerHeight()}).get(),i=Math.max.apply(null,t),t=$('.system-page .second').map(function(){return $(this).innerHeight()}).get(),e=Math.max.apply(null,t);$('.cards-holder, .system-page .first, .system-page .second, .advantages .cards').css('min-height',i);$('.system-page .second').css('min-height',e)},1500)};var b=$(window).outerWidth();if(b>992){g()};$(window).resize(function(){var t=$(window).outerWidth();if(t>992){g()}
else if(t<=992){$('.cards-holder, .system-page .first, .system-page .second, .advantages .cards').css('min-height','auto')}}).resize();var n=1,c=$('body'),u=['jpg','jpeg','png','pdf'],v=u.length;c.on('click','.files-upload label',function(){var t=$('.files-upload'),i,e=$('input[type="file"]').val();i='<div class="one-file"><label for="file-'+n+'">Dodaj nalaz <span>+</span></label><input type="file" name="file-'+n+'" id="file-'+n+'"><div class="file-item hide-btn"><span class="file-name"></span><span class="btn btn-del-file"></span></div></div>';$('input[type="file"]').change(function(){if($('input[type="file"]').val()){n=t.data('count-files')+1;t.data('count-files',n);t.prepend(i)}})});c.on('change','input[type="file"]',function(){var t=$(this),o=t.val(),e=o.split(/(\\|\/)/g).pop(),n=t.siblings('.file-item'),a=e.lastIndexOf('.')+1,s=e.slice(a),l=$('.one-file').length;n.find('.file-name').text(e);if(o!=''){n.removeClass('hide-btn');for(var i=0;i<v;i++){if(s==u[i]){t.parent().addClass('has-mach')}}}
else{n.addClass('hide-btn')};if(!t.parent().hasClass('has-mach')){t.parent().addClass('error')};if(l>=5){$('.files-upload label').css({'pointer-events':'none',opacity:'0.4',})}});c.on('click','.btn-del-file',function(){var t=$(this).closest('.one-file'),i=$('.one-file').length;t.fadeOut(400);setTimeout(function(){t.remove()},400);if(i<=5){$('.files-upload label').css({'pointer-events':'auto',opacity:'1'})}});$('a').on('click',function(t){if(this.hash!==''){var i=this.hash;$('html, body').animate({scrollTop:$(i).offset().top-40,},500,function(){})}});var e=window.location.hash;if(e==''||e=='#'||e==undefined)return!1;var o=$(e);headerHeight=80;o=o.length?o:$('[name='+e.slice(1)+']');if(o.length){$('html,body').stop().animate({scrollTop:o.offset().top-120,},'linear')};var a=$('.header-gray-section.container-fluid h1').text().length;function h(){var t=$(window).outerWidth(!0);if(t>992){if(a>70){$('.single-blog-content').css('margin-top','-70px');$('.header-gray-section.container-fluid').css({height:'512px','padding-bottom':'0',})}}
else if(t>767&&t<992){if(a>70){$('.single-blog-content').css('margin-top','-110px')}}
else if(t<767&&t>490){if(a>70){$('.single-blog-content').css('margin-top','-40px');$('.header-gray-section.container-fluid').css({height:'512px','padding-bottom':'0',})}}
else if(t<490){if(a>70){$('.single-blog-content').css('margin-top','40px');$('.header-gray-section.container-fluid').css({height:'auto','padding-bottom':'40px',})}
else{}}};h();$(window).resize(function(){h()})});function initAccordion(){var t=document.querySelectorAll('.accordion-item'),i=document.querySelectorAll('.accordion-item .accordion-item__header');if(!t||t.length<=0)return;i.forEach(toggler=>{toggler.addEventListener('click',(e)=>{n(e.currentTarget.closest('.accordion-item'))})});function n(i){t.forEach(item=>{if(item==i){item.classList.toggle('active')}
else{item.classList.remove('active')}})}};window.addEventListener('load',function(){initAccordion()});(function(i){i('.form-control').on({'focus':function(){i(this).siblings('.placeholder').addClass('hidden')},'blur':function(){if(i(this).val().trim()!=''){i(this).siblings('.placeholder').addClass('hidden')}
else{i(this).siblings('.placeholder').removeClass('hidden')}}});var l=/^[0-9a-zA-Z]+$/;i('.form-control').each(function(){if(i(this).val().match(l)){i('.placeholder').addClass('hidden')}})})(jQuery);;$(document).ready(function(){var d,i,o=$(window).width();if($('.homepage-slider').length){imageHeight();if(!isMobile.any()&&$(window).outerWidth()>450){d=$('.homepage-slider').bxSlider({mode:'horizontal',auto:!1,controls:!1,speed:500,easing:'ease-in-out',adaptiveHeight:!0,touchEnabled:!0,pagerCustom:$('.homepage-slider-pager')})}
else{d=$('.homepage-slider').bxSlider({mode:'horizontal',auto:!1,touchEnabled:!0,controls:!1,speed:150,easing:'ease-in-out',adaptiveHeight:!0,pagerCustom:$('.homepage-slider-pager')})}};if($('.blog-slider').length>0&&$('.blog-slider').children().length>1){var o=$(window).width(),e;if(o>=975){e=2}
else{e=1};if(!isMobile.any()&&$('.blog-slider').children().length>2){i=$('.blog-slider').bxSlider({minSlides:e,maxSlides:e,moveSlides:e,mode:'horizontal',pager:!0,captions:!1,slideWidth:1200,slideMargin:100,easing:'ease-in-out',infiniteLoop:!1,controls:!0,nextSelector:null,prevSelector:null,autoControls:!1,})}
else{i=$('.blog-slider').bxSlider({minSlides:e,maxSlides:e,moveSlides:e,mode:'horizontal',pager:!1,captions:!1,slideWidth:1200,slideMargin:100,easing:'ease-in-out',controls:!1,nextSelector:null,prevSelector:null,autoControls:!1,})}};if($('.testimonial-slider').length>0){var l;if(!isMobile.any()){sliderTestimonial=$('.testimonial-slider').bxSlider({mode:'horizontal',captions:!1,slideWidth:l,touchEnabled:!0,easing:'ease-in-out'})}
else{sliderTestimonial=$('.testimonial-slider').bxSlider({mode:'horizontal',captions:!1,slideWidth:l,touchEnabled:!0,easing:'ease-in-out'})}};$(window).resize(function(){if($(window).outerWidth()!=l){imageHeight()};var l=$(window).outerWidth(),e;if(l>=975){e=2}
else{e=1};if($('.blog-slider').length>0&&$('.blog-slider').children().length>2){i.reloadSlider({minSlides:e,maxSlides:e,moveSlides:e,slideWidth:1200,slideMargin:100,controls:!0})}
else if($('.blog-slider').length>0&&$('.blog-slider').children().length<=2){i.reloadSlider({minSlides:e,maxSlides:e,moveSlides:e,slideWidth:1200,slideMargin:100,controls:!1,pager:!1})}});$(window).on('orientationchange',function(){imageHeight()})});!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){t.extend(t.fn,{validate:function(e){if(!this.length)return void(e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var i=t.data(this[0],"validator");return i?i:(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(e){i.settings.submitHandler&&(i.submitButton=e.target),t(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(e){function s(){var r,s;return i.settings.submitHandler?(i.submitButton&&(r=t("<input type='hidden'/>").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),s=i.settings.submitHandler.call(i,i.currentForm,e),i.submitButton&&r.remove(),void 0!==s?s:!1):!0};return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,s()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):s():(i.focusInvalid(),!1)})),i)},valid:function(){var e,i,s;return t(this[0]).is("form")?e=this.validate().form():(s=[],e=!0,i=t(this[0].form).validate(),this.each(function(){e=i.element(this)&&e,s=s.concat(i.errorList)}),i.errorList=s),e},rules:function(e,i){var a,l,n,r,o,h,s=this[0];if(e)switch(a=t.data(s.form,"validator").settings,l=a.rules,n=t.validator.staticRules(s),e){case"add":t.extend(n,t.validator.normalizeRule(i)),delete n.messages,l[s.name]=n,i.messages&&(a.messages[s.name]=t.extend(a.messages[s.name],i.messages));break;case"remove":return i?(h={},t.each(i.split(/\s/),function(e,i){h[i]=n[i],delete n[i],"required"===i&&t(s).removeAttr("aria-required")}),h):(delete l[s.name],n)};return r=t.validator.normalizeRules(t.extend({},t.validator.classRules(s),t.validator.attributeRules(s),t.validator.dataRules(s),t.validator.staticRules(s)),s),r.required&&(o=r.required,delete r.required,r=t.extend({required:o},r),t(s).attr("aria-required","true")),r.remote&&(o=r.remote,delete r.remote,r=t.extend(r,{remote:o})),r}}),t.extend(t.expr[":"],{blank:function(e){return!t.trim(""+t(e).val())},filled:function(e){return!!t.trim(""+t(e).val())},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(new RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(e,i){var s=[16,17,18,20,35,36,37,38,39,40,45,144,225];9===i.which&&""===this.elementValue(e)||-1!==t.inArray(i.keyCode,s)||(e.name in this.submitted||e===this.lastElement)&&this.element(e)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(s):t(e).addClass(i).removeClass(s)},unhighlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(s):t(e).removeClass(i).addClass(s)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function i(e){var s=t.data(this.form,"validator"),r="on"+e.type.replace(/^validate/,""),i=s.settings;i[r]&&!t(this).is(i.ignore)&&i[r].call(s,this,e)};this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var e,s=this.groups={};t.each(this.settings.groups,function(e,i){"string"==typeof i&&(i=i.split(/\s/)),t.each(i,function(t,i){s[i]=e})}),e=this.settings.rules,t.each(e,function(i,s){e[i]=t.validator.normalizeRule(s)}),t(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox']",i).on("click.validate","select, option, [type='radio'], [type='checkbox']",i),this.settings.invalidHandler&&t(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler),t(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){var r=this.clean(e),i=this.validationTargetFor(r),s=!0;return this.lastElement=i,void 0===i?delete this.invalid[r.name]:(this.prepareElement(i),this.currentElements=t(i),s=this.check(i)!==!1,s?delete this.invalid[i.name]:this.invalid[i.name]=!0),t(e).attr("aria-invalid",!s),this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),s},showErrors:function(e){if(e){t.extend(this.errorMap,e),this.errorList=[];for(var i in e)this.errorList.push({message:e[i],element:this.findByName(i)[0]});this.successList=t.grep(this.successList,function(t){return!(t.name in e)})};this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors();var e,i=this.elements().removeData("previousValue").removeAttr("aria-invalid");if(this.settings.unhighlight)for(e=0;i[e];e++)this.settings.unhighlight.call(this,i[e],this.settings.errorClass,"");else i.removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var i,e=0;for(i in t)e++;return e},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(e){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,i={};return t(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){return!this.name&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in i||!e.objectLength(t(this).rules())?!1:(i[this.name]=!0,!0)})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return t(this.settings.errorElement+"."+e,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([]),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i,r=t(e),s=e.type;return"radio"===s||"checkbox"===s?this.findByName(e.name).filter(":checked").val():"number"===s&&"undefined"!=typeof e.validity?e.validity.badInput?!1:r.val():(i=r.val(),"string"==typeof i?i.replace(/\r/g,""):i)},check:function(e){e=this.validationTargetFor(this.clean(e));var r,n,i,a=t(e).rules(),l=t.map(a,function(t,e){return e}).length,o=!1,h=this.elementValue(e);for(n in a){i={method:n,parameters:a[n]};try{if(r=t.validator.methods[n].call(this,h,e,i.parameters),"dependency-mismatch"===r&&1===l){o=!0;continue};if(o=!1,"pending"===r)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!r)return this.formatAndAdd(e,i),!1}catch(s){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+i.method+"' method.",s),s instanceof TypeError&&(s.message+=".  Exception occurred when checking element "+e.id+", check the '"+i.method+"' method."),s}};if(!o)return this.objectLength(a)&&this.successList.push(e),!0},customDataMessage:function(e,i){return t(e).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||t(e).data("msg")},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t];return void 0},defaultMessage:function(e,i){return this.findDefined(this.customMessage(e.name,i),this.customDataMessage(e,i),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i],"<strong>Warning: No message defined for "+e.name+"</strong>")},formatAndAdd:function(e,i){var s=this.defaultMessage(e,i.method),r=/\$?\{(\d+)\}/g;"function"==typeof s?s=s.call(this,i.parameters,e):r.test(s)&&(s=t.validator.format(s.replace(r,"{$1}"),i.parameters)),this.errorList.push({message:s,element:e,method:i.method}),this.errorMap[e.name]=s,this.submitted[e.name]=s},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,i,e;for(t=0;this.errorList[t];t++)e=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,e.element,this.settings.errorClass,this.settings.validClass),this.showLabel(e.element,e.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,i=this.validElements();i[t];t++)this.settings.unhighlight.call(this,i[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,i){var r,o,a,s=this.errorsFor(e),l=this.idOrName(e),n=t(e).attr("aria-describedby");s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(i)):(s=t("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass).html(i||""),r=s,this.settings.wrapper&&(r=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(r):this.settings.errorPlacement?this.settings.errorPlacement(r,t(e)):r.insertAfter(e),s.is("label")?s.attr("for",l):0===s.parents("label[for='"+l+"']").length&&(a=s.attr("id").replace(/(:|\.|\[|\]|\$)/g,"\\$1"),n?n.match(new RegExp("\\b"+a+"\\b"))||(n+=" "+a):n=a,t(e).attr("aria-describedby",n),o=this.groups[e.name],o&&t.each(this.groups,function(e,i){i===o&&t("[name='"+e+"']",this.currentForm).attr("aria-describedby",s.attr("id"))}))),!i&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var s=this.idOrName(e),r=t(e).attr("aria-describedby"),i="label[for='"+s+"'], label[for='"+s+"'] *";return r&&(i=i+", #"+r.replace(/\s+/g,", #")),this.errors().filter(i)},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),t(e).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+e+"']")},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length};return e.length},depend:function(t,e){return this.dependTypes[typeof t]?this.dependTypes[typeof t](t,e):!0},dependTypes:{"boolean":function(t){return t},string:function(e,i){return!!t(e,i.form).length},"function":function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,this.pending[t.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(t(this.currentForm).submit(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e){return t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,"remote")})},destroy:function(){this.resetForm(),t(this.currentForm).off(".validate").removeData("validator")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},s=t(e).attr("class");return s&&t.each(s.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(t,e,i,s){/min|max/.test(i)&&(null===e||/number|range|text/.test(e))&&(s=Number(s),isNaN(s)&&(s=void 0)),s||0===s?t[i]=s:e===i&&"range"!==e&&(t[i]=!0)},attributeRules:function(e){var s,i,r={},n=t(e),a=e.getAttribute("type");for(s in t.validator.methods)"required"===s?(i=e.getAttribute(s),""===i&&(i=!0),i=!!i):i=n.attr(s),this.normalizeAttributeRule(r,a,s,i);return r.maxlength&&/-1|2147483647|524288/.test(r.maxlength)&&delete r.maxlength,r},dataRules:function(e){var i,s,r={},n=t(e),a=e.getAttribute("type");for(i in t.validator.methods)s=n.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()),this.normalizeAttributeRule(r,a,i,s);return r},staticRules:function(e){var i={},s=t.data(e.form,"validator");return s.settings.rules&&(i=t.validator.normalizeRule(s.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,function(s,r){if(r===!1)return void delete e[s];if(r.param||r.depends){var n=!0;switch(typeof r.depends){case"string":n=!!t(r.depends,i.form).length;break;case"function":n=r.depends.call(i,i)};n?e[s]=void 0!==r.param?r.param:!0:delete e[s]}}),t.each(e,function(s,r){e[s]=t.isFunction(r)?r(i):r}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var i;e[this]&&(t.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(i=e[this].replace(/[\[\]]/g,"").split(/[\s,]+/),e[this]=[Number(i[0]),Number(i[1])]))}),t.validator.autoCreateRanges&&(null!=e.min&&null!=e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),null!=e.minlength&&null!=e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),function(){i[this]=!0}),e=i};return e},addMethod:function(e,i,s){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==s?s:t.validator.messages[e],i.length<3&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,s){if(!this.depend(s,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var r=t(i).val();return r&&r.length>0};return this.checkable(i)?this.getLength(e,i)>0:e.length>0},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},creditcard:function(t,e){if(this.optional(e))return"dependency-mismatch";if(/[^0-9 \-]+/.test(t))return!1;var i,n,a=0,s=0,r=!1;if(t=t.replace(/\D/g,""),t.length<13||t.length>19)return!1;for(i=t.length-1;i>=0;i--)n=t.charAt(i),s=parseInt(n,10),r&&(s*=2)>9&&(s-=9),a+=s,r=!r;return a%10===0},minlength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||r>=s},maxlength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||s>=r},rangelength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||r>=s[0]&&r<=s[1]},min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||i>=t},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},equalTo:function(e,i,s){var r=t(s);return this.settings.onfocusout&&r.off(".validate-equalTo").on("blur.validate-equalTo",function(){t(i).valid()}),e===r.val()},remote:function(e,i,s){if(this.optional(i))return"dependency-mismatch";var r,a,n=this.previousValue(i);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),n.originalMessage=this.settings.messages[i.name].remote,this.settings.messages[i.name].remote=n.message,s="string"==typeof s&&{url:s}||s,n.old===e?n.valid:(n.old=e,r=this,this.startRequest(i),a={},a[i.name]=e,t.ajax(t.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:a,context:r.currentForm,success:function(s){var o,a,h,l=s===!0||"true"===s;r.settings.messages[i.name].remote=n.originalMessage,l?(h=r.formSubmitted,r.prepareElement(i),r.formSubmitted=h,r.successList.push(i),delete r.invalid[i.name],r.showErrors()):(o={},a=s||r.defaultMessage(i,"remote"),o[i.name]=n.message=t.isFunction(a)?a(e):a,r.invalid[i.name]=!0,r.showErrors(o)),n.valid=l,r.stopRequest(i,l)}},s)),"pending")}}});var i,e={};t.ajaxPrefilter?t.ajaxPrefilter(function(t,i,s){var r=t.port;"abort"===t.mode&&(e[r]&&e[r].abort(),e[r]=s)}):(i=t.ajax,t.ajax=function(s){var n=("mode"in s?s:t.ajaxSettings).mode,r=("port"in s?s:t.ajaxSettings).port;return"abort"===n?(e[r]&&e[r].abort(),e[r]=i.apply(this,arguments),e[r]):i.apply(this,arguments)})});(function(n){n.fn.addTriggersToJqueryValidate=function(){return this.each(function(){var t=n(this),i=t.data('validator');if(!i)return;if(t.data('jQueryValidateTriggersAdded'))return;else t.data('jQueryValidateTriggersAdded',!0);var r=i.form;i.form=function(){var t=r.apply(this,arguments),i=this.currentForm;n(i).trigger((t==!0)?'formValidationSuccess':'formValidationError',i);n(i).trigger('formValidation',[i,t]);return t};var e=i.element;i.element=function(i){var t=e.apply(this,arguments);n(i).trigger((t==!0)?'elementValidationSuccess':'elementValidationError',i);n(i).trigger('elementValidation',[i,t]);return t}})};n.fn.extend({triggerElementValidationsOnFormValidation:function(){return this.each(function(){n(this).bind('formValidation',function(i,t,e){n(t).find('*[data-val=true]').each(function(t,i){if(n(i).hasClass('input-validation-error')){n(i).trigger('elementValidationError',i);n(i).trigger('elementValidation',[i,!1])}
else{n(i).trigger('elementValidationSuccess',i);n(i).trigger('elementValidation',[i,!0])}})})})},formValidation:function(i){return this.each(function(){n(this).bind('formValidation',function(n,t,e){i(t,e)})})},formValidationSuccess:function(i){return this.each(function(){n(this).bind('formValidationSuccess',function(n,t){i(t)})})},formValidationError:function(i){return this.each(function(){n(this).bind('formValidationError',function(n,t){i(t)})})},formValidAndInvalid:function(i,t){return this.each(function(){n(this).bind('formValidationSuccess',function(n,t){i(t)});n(this).bind('formValidationError',function(n,i){t(i)})})},elementValidation:function(i){return this.each(function(){n(this).bind('elementValidation',function(n,t,e){i(t,e)})})},elementValidationSuccess:function(i){return this.each(function(){n(this).bind('elementValidationSuccess',function(n,t){i(t)})})},elementValidationError:function(i){return this.each(function(){n(this).bind('elementValidationError',function(n,t){i(t)})})},elementValidAndInvalid:function(i,t){return this.each(function(){n(this).bind('elementValidationSuccess',function(n,t){i(t)});n(this).bind('elementValidationError',function(n,i){t(i)})})}})})(jQuery);;$(document).ready(function(){$.validator.methods.email=function(e,r){return this.optional(r)||/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e)};$('#contact-form').validate({rules:{name:{required:!0,},email:{required:!0,email:!0,},phone:{required:!0,},message:{required:!0,}}});$('#genetic-counseling-form').validate({rules:{first_name:{required:!0,},last_name:{required:!0,},email:{required:!0,email:!0,},phone:{required:!0,},week_pregnancy:{required:!0,},message:{required:!0,}}})});