%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.16.212.27
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/templates/landing24/assets/vendor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/templates/landing24/assets/vendor/vendors_base.min.js
(function(e,t){"use strict";if(typeof module==="object"&&typeof module.exports==="object"){module.exports=e.document?t(e,true):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(e,t){"use strict";var n=[];var i=e.document;var r=Object.getPrototypeOf;var s=n.slice;var a=n.concat;var o=n.push;var l=n.indexOf;var f={};var u=f.toString;var c=f.hasOwnProperty;var h=c.toString;var d=h.call(Object);var p={};function m(e,t){t=t||i;var n=t.createElement("script");n.text=e;t.head.appendChild(n).parentNode.removeChild(n)}var g="3.2.1",v=function(e,t){return new v.fn.init(e,t)},y=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,b=/^-ms-/,w=/-([a-z])/g,x=function(e,t){return t.toUpperCase()};v.fn=v.prototype={jquery:g,constructor:v,length:0,toArray:function(){return s.call(this)},get:function(e){if(e==null){return s.call(this)}return e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=v.merge(this.constructor(),e);t.prevObject=this;return t},each:function(e){return v.each(this,e)},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:o,sort:n.sort,splice:n.splice};v.extend=v.fn.extend=function(){var e,t,n,i,r,s,a=arguments[0]||{},o=1,l=arguments.length,f=false;if(typeof a==="boolean"){f=a;a=arguments[o]||{};o++}if(typeof a!=="object"&&!v.isFunction(a)){a={}}if(o===l){a=this;o--}for(;o<l;o++){if((e=arguments[o])!=null){for(t in e){n=a[t];i=e[t];if(a===i){continue}if(f&&i&&(v.isPlainObject(i)||(r=Array.isArray(i)))){if(r){r=false;s=n&&Array.isArray(n)?n:[]}else{s=n&&v.isPlainObject(n)?n:{}}a[t]=v.extend(f,s,i)}else if(i!==undefined){a[t]=i}}}}return a};v.extend({expando:"jQuery"+(g+Math.random()).replace(/\D/g,""),isReady:true,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return v.type(e)==="function"},isWindow:function(e){return e!=null&&e===e.window},isNumeric:function(e){var t=v.type(e);return(t==="number"||t==="string")&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;if(!e||u.call(e)!=="[object Object]"){return false}t=r(e);if(!t){return true}n=c.call(t,"constructor")&&t.constructor;return typeof n==="function"&&h.call(n)===d},isEmptyObject:function(e){var t;for(t in e){return false}return true},type:function(e){if(e==null){return e+""}return typeof e==="object"||typeof e==="function"?f[u.call(e)]||"object":typeof e},globalEval:function(e){m(e)},camelCase:function(e){return e.replace(b,"ms-").replace(w,x)},each:function(e,t){var n,i=0;if(C(e)){n=e.length;for(;i<n;i++){if(t.call(e[i],i,e[i])===false){break}}}else{for(i in e){if(t.call(e[i],i,e[i])===false){break}}}return e},trim:function(e){return e==null?"":(e+"").replace(y,"")},makeArray:function(e,t){var n=t||[];if(e!=null){if(C(Object(e))){v.merge(n,typeof e==="string"?[e]:e)}else{o.call(n,e)}}return n},inArray:function(e,t,n){return t==null?-1:l.call(t,e,n)},merge:function(e,t){var n=+t.length,i=0,r=e.length;for(;i<n;i++){e[r++]=t[i]}e.length=r;return e},grep:function(e,t,n){var i,r=[],s=0,a=e.length,o=!n;for(;s<a;s++){i=!t(e[s],s);if(i!==o){r.push(e[s])}}return r},map:function(e,t,n){var i,r,s=0,o=[];if(C(e)){i=e.length;for(;s<i;s++){r=t(e[s],s,n);if(r!=null){o.push(r)}}}else{for(s in e){r=t(e[s],s,n);if(r!=null){o.push(r)}}}return a.apply([],o)},guid:1,proxy:function(e,t){var n,i,r;if(typeof t==="string"){n=e[t];t=e;e=n}if(!v.isFunction(e)){return undefined}i=s.call(arguments,2);r=function(){return e.apply(t||this,i.concat(s.call(arguments)))};r.guid=e.guid=e.guid||v.guid++;return r},now:Date.now,support:p});if(typeof Symbol==="function"){v.fn[Symbol.iterator]=n[Symbol.iterator]}v.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()});function C(e){var t=!!e&&"length"in e&&e.length,n=v.type(e);if(n==="function"||v.isWindow(e)){return false}return n==="array"||t===0||typeof t==="number"&&t>0&&t-1 in e}var T=function(e){var t,n,i,r,s,a,o,l,f,u,c,h,d,p,m,g,v,y,b,w="sizzle"+1*new Date,x=e.document,C=0,T=0,_=ae(),S=ae(),E=ae(),A=function(e,t){if(e===t){c=true}return 0},I={}.hasOwnProperty,D=[],O=D.pop,P=D.push,N=D.push,k=D.slice,L=function(e,t){var n=0,i=e.length;for(;n<i;n++){if(e[n]===t){return n}}return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",F="\\["+M+"*("+j+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+M+"*\\]",$=":("+j+")(?:\\(("+"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|"+"((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|"+".*"+")\\)|)",R=new RegExp(M+"+","g"),W=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),B=new RegExp("^"+M+"*,"+M+"*"),q=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),V=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),U=new RegExp($),G=new RegExp("^"+j+"$"),Y={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},z=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,i&1023|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){if(t){if(e==="\0"){return"�"}return e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" "}return"\\"+e},ie=function(){h()},re=ye(function(e){return e.disabled===true&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{N.apply(D=k.call(x.childNodes),x.childNodes);D[x.childNodes.length].nodeType}catch(e){N={apply:D.length?function(e,t){P.apply(e,k.call(t))}:function(e,t){var n=e.length,i=0;while(e[n++]=t[i++]){}e.length=n-1}}}function se(e,t,i,r){var s,o,f,u,c,p,v,y=t&&t.ownerDocument,C=t?t.nodeType:9;i=i||[];if(typeof e!=="string"||!e||C!==1&&C!==9&&C!==11){return i}if(!r){if((t?t.ownerDocument||t:x)!==d){h(t)}t=t||d;if(m){if(C!==11&&(c=K.exec(e))){if(s=c[1]){if(C===9){if(f=t.getElementById(s)){if(f.id===s){i.push(f);return i}}else{return i}}else{if(y&&(f=y.getElementById(s))&&b(t,f)&&f.id===s){i.push(f);return i}}}else if(c[2]){N.apply(i,t.getElementsByTagName(e));return i}else if((s=c[3])&&n.getElementsByClassName&&t.getElementsByClassName){N.apply(i,t.getElementsByClassName(s));return i}}if(n.qsa&&!E[e+" "]&&(!g||!g.test(e))){if(C!==1){y=t;v=e}else if(t.nodeName.toLowerCase()!=="object"){if(u=t.getAttribute("id")){u=u.replace(te,ne)}else{t.setAttribute("id",u=w)}p=a(e);o=p.length;while(o--){p[o]="#"+u+" "+ve(p[o])}v=p.join(",");y=Z.test(e)&&me(t.parentNode)||t}if(v){try{N.apply(i,y.querySelectorAll(v));return i}catch(e){}finally{if(u===w){t.removeAttribute("id")}}}}}}return l(e.replace(W,"$1"),t,i,r)}function ae(){var e=[];function t(n,r){if(e.push(n+" ")>i.cacheLength){delete t[e.shift()]}return t[n+" "]=r}return t}function oe(e){e[w]=true;return e}function le(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return false}finally{if(t.parentNode){t.parentNode.removeChild(t)}t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--){i.attrHandle[n[r]]=t}}function ue(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 ce(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function de(e){return function(t){if("form"in t){if(t.parentNode&&t.disabled===false){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&&re(t)===e}return t.disabled===e}else if("label"in t){return t.disabled===e}return false}}function pe(e){return oe(function(t){t=+t;return oe(function(n,i){var r,s=e([],n.length,t),a=s.length;while(a--){if(n[r=s[a]]){n[r]=!(i[r]=n[r])}}})})}function me(e){return e&&typeof e.getElementsByTagName!=="undefined"&&e}n=se.support={};s=se.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":false};h=se.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:x;if(a===d||a.nodeType!==9||!a.documentElement){return d}d=a;p=d.documentElement;m=!s(d);if(x!==d&&(r=d.defaultView)&&r.top!==r){if(r.addEventListener){r.addEventListener("unload",ie,false)}else if(r.attachEvent){r.attachEvent("onunload",ie)}}n.attributes=le(function(e){e.className="i";return!e.getAttribute("className")});n.getElementsByTagName=le(function(e){e.appendChild(d.createComment(""));return!e.getElementsByTagName("*").length});n.getElementsByClassName=X.test(d.getElementsByClassName);n.getById=le(function(e){p.appendChild(e).id=w;return!d.getElementsByName||!d.getElementsByName(w).length});if(n.getById){i.filter["ID"]=function(e){var t=e.replace(J,ee);return function(e){return e.getAttribute("id")===t}};i.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&m){var n=t.getElementById(e);return n?[n]:[]}}}else{i.filter["ID"]=function(e){var t=e.replace(J,ee);return function(e){var n=typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id");return n&&n.value===t}};i.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&m){var n,i,r,s=t.getElementById(e);if(s){n=s.getAttributeNode("id");if(n&&n.value===e){return[s]}r=t.getElementsByName(e);i=0;while(s=r[i++]){n=s.getAttributeNode("id");if(n&&n.value===e){return[s]}}}return[]}}}i.find["TAG"]=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!=="undefined"){return t.getElementsByTagName(e)}else if(n.qsa){return t.querySelectorAll(e)}}:function(e,t){var n,i=[],r=0,s=t.getElementsByTagName(e);if(e==="*"){while(n=s[r++]){if(n.nodeType===1){i.push(n)}}return i}return s};i.find["CLASS"]=n.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!=="undefined"&&m){return t.getElementsByClassName(e)}};v=[];g=[];if(n.qsa=X.test(d.querySelectorAll)){le(function(e){p.appendChild(e).innerHTML="<a id='"+w+"'></a>"+"<select id='"+w+"-\r\\' msallowcapture=''>"+"<option selected=''></option></select>";if(e.querySelectorAll("[msallowcapture^='']").length){g.push("[*^$]="+M+"*(?:''|\"\")")}if(!e.querySelectorAll("[selected]").length){g.push("\\["+M+"*(?:value|"+H+")")}if(!e.querySelectorAll("[id~="+w+"-]").length){g.push("~=")}if(!e.querySelectorAll(":checked").length){g.push(":checked")}if(!e.querySelectorAll("a#"+w+"+*").length){g.push(".#.+[+~]")}});le(function(e){e.innerHTML="<a href='' disabled='disabled'></a>"+"<select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden");e.appendChild(t).setAttribute("name","D");if(e.querySelectorAll("[name=d]").length){g.push("name"+M+"*[*^$|!~]?=")}if(e.querySelectorAll(":enabled").length!==2){g.push(":enabled",":disabled")}p.appendChild(e).disabled=true;if(e.querySelectorAll(":disabled").length!==2){g.push(":enabled",":disabled")}e.querySelectorAll("*,:x");g.push(",.*:")})}if(n.matchesSelector=X.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector)){le(function(e){n.disconnectedMatch=y.call(e,"*");y.call(e,"[s!='']:x");v.push("!=",$)})}g=g.length&&new RegExp(g.join("|"));v=v.length&&new RegExp(v.join("|"));t=X.test(p.compareDocumentPosition);b=t||X.test(p.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,i=t&&t.parentNode;return e===i||!!(i&&i.nodeType===1&&(n.contains?n.contains(i):e.compareDocumentPosition&&e.compareDocumentPosition(i)&16))}:function(e,t){if(t){while(t=t.parentNode){if(t===e){return true}}}return false};A=t?function(e,t){if(e===t){c=true;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||!n.sortDetached&&t.compareDocumentPosition(e)===i){if(e===d||e.ownerDocument===x&&b(x,e)){return-1}if(t===d||t.ownerDocument===x&&b(x,t)){return 1}return u?L(u,e)-L(u,t):0}return i&4?-1:1}:function(e,t){if(e===t){c=true;return 0}var n,i=0,r=e.parentNode,s=t.parentNode,a=[e],o=[t];if(!r||!s){return e===d?-1:t===d?1:r?-1:s?1:u?L(u,e)-L(u,t):0}else if(r===s){return ue(e,t)}n=e;while(n=n.parentNode){a.unshift(n)}n=t;while(n=n.parentNode){o.unshift(n)}while(a[i]===o[i]){i++}return i?ue(a[i],o[i]):a[i]===x?-1:o[i]===x?1:0};return d};se.matches=function(e,t){return se(e,null,null,t)};se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d){h(e)}t=t.replace(V,"='$1']");if(n.matchesSelector&&m&&!E[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t))){try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&e.document.nodeType!==11){return i}}catch(e){}}return se(t,d,null,[e]).length>0};se.contains=function(e,t){if((e.ownerDocument||e)!==d){h(e)}return b(e,t)};se.attr=function(e,t){if((e.ownerDocument||e)!==d){h(e)}var r=i.attrHandle[t.toLowerCase()],s=r&&I.call(i.attrHandle,t.toLowerCase())?r(e,t,!m):undefined;return s!==undefined?s:n.attributes||!m?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null};se.escape=function(e){return(e+"").replace(te,ne)};se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};se.uniqueSort=function(e){var t,i=[],r=0,s=0;c=!n.detectDuplicates;u=!n.sortStable&&e.slice(0);e.sort(A);if(c){while(t=e[s++]){if(t===e[s]){r=i.push(s)}}while(r--){e.splice(i[r],1)}}u=null;return e};r=se.getText=function(e){var t,n="",i=0,s=e.nodeType;if(!s){while(t=e[i++]){n+=r(t)}}else if(s===1||s===9||s===11){if(typeof e.textContent==="string"){return e.textContent}else{for(e=e.firstChild;e;e=e.nextSibling){n+=r(e)}}}else if(s===3||s===4){return e.nodeValue}return n};i=se.selectors={cacheLength:50,createPseudo:oe,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(J,ee);e[3]=(e[3]||e[4]||e[5]||"").replace(J,ee);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]){se.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]){se.error(e[0])}return e},PSEUDO:function(e){var t,n=!e[6]&&e[2];if(Y["CHILD"].test(e[0])){return null}if(e[3]){e[2]=e[4]||e[5]||""}else if(n&&U.test(n)&&(t=a(n,true))&&(t=n.indexOf(")",n.length-t)-n.length)){e[0]=e[0].slice(0,t);e[2]=n.slice(0,t)}return e.slice(0,3)}},filter:{TAG:function(e){var t=e.replace(J,ee).toLowerCase();return e==="*"?function(){return true}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&_(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(i){var r=se.attr(i,e);if(r==null){return t==="!="}if(!t){return true}r+="";return t==="="?r===n:t==="!="?r!==n:t==="^="?n&&r.indexOf(n)===0:t==="*="?n&&r.indexOf(n)>-1:t==="$="?n&&r.slice(-n.length)===n:t==="~="?(" "+r.replace(R," ")+" ").indexOf(n)>-1:t==="|="?r===n||r.slice(0,n.length+1)===n+"-":false}},CHILD:function(e,t,n,i,r){var s=e.slice(0,3)!=="nth",a=e.slice(-4)!=="last",o=t==="of-type";return i===1&&r===0?function(e){return!!e.parentNode}:function(t,n,l){var f,u,c,h,d,p,m=s!==a?"nextSibling":"previousSibling",g=t.parentNode,v=o&&t.nodeName.toLowerCase(),y=!l&&!o,b=false;if(g){if(s){while(m){h=t;while(h=h[m]){if(o?h.nodeName.toLowerCase()===v:h.nodeType===1){return false}}p=m=e==="only"&&!p&&"nextSibling"}return true}p=[a?g.firstChild:g.lastChild];if(a&&y){h=g;c=h[w]||(h[w]={});u=c[h.uniqueID]||(c[h.uniqueID]={});f=u[e]||[];d=f[0]===C&&f[1];b=d&&f[2];h=d&&g.childNodes[d];while(h=++d&&h&&h[m]||(b=d=0)||p.pop()){if(h.nodeType===1&&++b&&h===t){u[e]=[C,d,b];break}}}else{if(y){h=t;c=h[w]||(h[w]={});u=c[h.uniqueID]||(c[h.uniqueID]={});f=u[e]||[];d=f[0]===C&&f[1];b=d}if(b===false){while(h=++d&&h&&h[m]||(b=d=0)||p.pop()){if((o?h.nodeName.toLowerCase()===v:h.nodeType===1)&&++b){if(y){c=h[w]||(h[w]={});u=c[h.uniqueID]||(c[h.uniqueID]={});u[e]=[C,b]}if(h===t){break}}}}}b-=r;return b===i||b%i===0&&b/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);if(r[w]){return r(t)}if(r.length>1){n=[e,e,"",t];return i.setFilters.hasOwnProperty(e.toLowerCase())?oe(function(e,n){var i,s=r(e,t),a=s.length;while(a--){i=L(e,s[a]);e[i]=!(n[i]=s[a])}}):function(e){return r(e,0,n)}}return r}},pseudos:{not:oe(function(e){var t=[],n=[],i=o(e.replace(W,"$1"));return i[w]?oe(function(e,t,n,r){var s,a=i(e,null,r,[]),o=e.length;while(o--){if(s=a[o]){e[o]=!(t[o]=s)}}}):function(e,r,s){t[0]=e;i(t,null,s,n);t[0]=null;return!n.pop()}}),has:oe(function(e){return function(t){return se(e,t).length>0}}),contains:oe(function(e){e=e.replace(J,ee);return function(t){return(t.textContent||t.innerText||r(t)).indexOf(e)>-1}}),lang:oe(function(e){if(!G.test(e||"")){se.error("unsupported lang: "+e)}e=e.replace(J,ee).toLowerCase();return function(t){var n;do{if(n=m?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 false}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(false),disabled:de(true),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===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return!i.pseudos["empty"](e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return z.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:pe(function(){return[0]}),last:pe(function(e,t){return[t-1]}),eq:pe(function(e,t,n){return[n<0?n+t:n]}),even:pe(function(e,t){var n=0;for(;n<t;n+=2){e.push(n)}return e}),odd:pe(function(e,t){var n=1;for(;n<t;n+=2){e.push(n)}return e}),lt:pe(function(e,t,n){var i=n<0?n+t:n;for(;--i>=0;){e.push(i)}return e}),gt:pe(function(e,t,n){var i=n<0?n+t:n;for(;++i<t;){e.push(i)}return e})}};i.pseudos["nth"]=i.pseudos["eq"];for(t in{radio:true,checkbox:true,file:true,password:true,image:true}){i.pseudos[t]=ce(t)}for(t in{submit:true,reset:true}){i.pseudos[t]=he(t)}function ge(){}ge.prototype=i.filters=i.pseudos;i.setFilters=new ge;a=se.tokenize=function(e,t){var n,r,s,a,o,l,f,u=S[e+" "];if(u){return t?0:u.slice(0)}o=e;l=[];f=i.preFilter;while(o){if(!n||(r=B.exec(o))){if(r){o=o.slice(r[0].length)||o}l.push(s=[])}n=false;if(r=q.exec(o)){n=r.shift();s.push({value:n,type:r[0].replace(W," ")});o=o.slice(n.length)}for(a in i.filter){if((r=Y[a].exec(o))&&(!f[a]||(r=f[a](r)))){n=r.shift();s.push({value:n,type:a,matches:r});o=o.slice(n.length)}}if(!n){break}}return t?o.length:o?se.error(e):S(e,l).slice(0)};function ve(e){var t=0,n=e.length,i="";for(;t<n;t++){i+=e[t].value}return i}function ye(e,t,n){var i=t.dir,r=t.next,s=r||i,a=n&&s==="parentNode",o=T++;return t.first?function(t,n,r){while(t=t[i]){if(t.nodeType===1||a){return e(t,n,r)}}return false}:function(t,n,l){var f,u,c,h=[C,o];if(l){while(t=t[i]){if(t.nodeType===1||a){if(e(t,n,l)){return true}}}}else{while(t=t[i]){if(t.nodeType===1||a){c=t[w]||(t[w]={});u=c[t.uniqueID]||(c[t.uniqueID]={});if(r&&r===t.nodeName.toLowerCase()){t=t[i]||t}else if((f=u[s])&&f[0]===C&&f[1]===o){return h[2]=f[2]}else{u[s]=h;if(h[2]=e(t,n,l)){return true}}}}}return false}}function be(e){return e.length>1?function(t,n,i){var r=e.length;while(r--){if(!e[r](t,n,i)){return false}}return true}:e[0]}function we(e,t,n){var i=0,r=t.length;for(;i<r;i++){se(e,t[i],n)}return n}function xe(e,t,n,i,r){var s,a=[],o=0,l=e.length,f=t!=null;for(;o<l;o++){if(s=e[o]){if(!n||n(s,i,r)){a.push(s);if(f){t.push(o)}}}}return a}function Ce(e,t,n,i,r,s){if(i&&!i[w]){i=Ce(i)}if(r&&!r[w]){r=Ce(r,s)}return oe(function(s,a,o,l){var f,u,c,h=[],d=[],p=a.length,m=s||we(t||"*",o.nodeType?[o]:o,[]),g=e&&(s||!t)?xe(m,h,e,o,l):m,v=n?r||(s?e:p||i)?[]:a:g;if(n){n(g,v,o,l)}if(i){f=xe(v,d);i(f,[],o,l);u=f.length;while(u--){if(c=f[u]){v[d[u]]=!(g[d[u]]=c)}}}if(s){if(r||e){if(r){f=[];u=v.length;while(u--){if(c=v[u]){f.push(g[u]=c)}}r(null,v=[],f,l)}u=v.length;while(u--){if((c=v[u])&&(f=r?L(s,c):h[u])>-1){s[f]=!(a[f]=c)}}}}else{v=xe(v===a?v.splice(p,v.length):v);if(r){r(null,a,v,l)}else{N.apply(a,v)}}})}function Te(e){var t,n,r,s=e.length,a=i.relative[e[0].type],o=a||i.relative[" "],l=a?1:0,u=ye(function(e){return e===t},o,true),c=ye(function(e){return L(t,e)>-1},o,true),h=[function(e,n,i){var r=!a&&(i||n!==f)||((t=n).nodeType?u(e,n,i):c(e,n,i));t=null;return r}];for(;l<s;l++){if(n=i.relative[e[l].type]){h=[ye(be(h),n)]}else{n=i.filter[e[l].type].apply(null,e[l].matches);if(n[w]){r=++l;for(;r<s;r++){if(i.relative[e[r].type]){break}}return Ce(l>1&&be(h),l>1&&ve(e.slice(0,l-1).concat({value:e[l-2].type===" "?"*":""})).replace(W,"$1"),n,l<r&&Te(e.slice(l,r)),r<s&&Te(e=e.slice(r)),r<s&&ve(e))}h.push(n)}}return be(h)}function _e(e,t){var n=t.length>0,r=e.length>0,s=function(s,a,o,l,u){var c,p,g,v=0,y="0",b=s&&[],w=[],x=f,T=s||r&&i.find["TAG"]("*",u),_=C+=x==null?1:Math.random()||.1,S=T.length;if(u){f=a===d||a||u}for(;y!==S&&(c=T[y])!=null;y++){if(r&&c){p=0;if(!a&&c.ownerDocument!==d){h(c);o=!m}while(g=e[p++]){if(g(c,a||d,o)){l.push(c);break}}if(u){C=_}}if(n){if(c=!g&&c){v--}if(s){b.push(c)}}}v+=y;if(n&&y!==v){p=0;while(g=t[p++]){g(b,w,a,o)}if(s){if(v>0){while(y--){if(!(b[y]||w[y])){w[y]=O.call(l)}}}w=xe(w)}N.apply(l,w);if(u&&!s&&w.length>0&&v+t.length>1){se.uniqueSort(l)}}if(u){C=_;f=x}return b};return n?oe(s):s}o=se.compile=function(e,t){var n,i=[],r=[],s=E[e+" "];if(!s){if(!t){t=a(e)}n=t.length;while(n--){s=Te(t[n]);if(s[w]){i.push(s)}else{r.push(s)}}s=E(e,_e(r,i));s.selector=e}return s};l=se.select=function(e,t,n,r){var s,l,f,u,c,h=typeof e==="function"&&e,d=!r&&a(e=h.selector||e);n=n||[];if(d.length===1){l=d[0]=d[0].slice(0);if(l.length>2&&(f=l[0]).type==="ID"&&t.nodeType===9&&m&&i.relative[l[1].type]){t=(i.find["ID"](f.matches[0].replace(J,ee),t)||[])[0];if(!t){return n}else if(h){t=t.parentNode}e=e.slice(l.shift().value.length)}s=Y["needsContext"].test(e)?0:l.length;while(s--){f=l[s];if(i.relative[u=f.type]){break}if(c=i.find[u]){if(r=c(f.matches[0].replace(J,ee),Z.test(l[0].type)&&me(t.parentNode)||t)){l.splice(s,1);e=r.length&&ve(l);if(!e){N.apply(n,r);return n}break}}}}(h||o(e,d))(r,t,!m,n,!t||Z.test(e)&&me(t.parentNode)||t);return n};n.sortStable=w.split("").sort(A).join("")===w;n.detectDuplicates=!!c;h();n.sortDetached=le(function(e){return e.compareDocumentPosition(d.createElement("fieldset"))&1});if(!le(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"})){fe("type|href|height|width",function(e,t,n){if(!n){return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}})}if(!n.attributes||!le(function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""})){fe("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input"){return e.defaultValue}})}if(!le(function(e){return e.getAttribute("disabled")==null})){fe(H,function(e,t,n){var i;if(!n){return e[t]===true?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}})}return se}(e);v.find=T;v.expr=T.selectors;v.expr[":"]=v.expr.pseudos;v.uniqueSort=v.unique=T.uniqueSort;v.text=T.getText;v.isXMLDoc=T.isXML;v.contains=T.contains;v.escapeSelector=T.escape;var _=function(e,t,n){var i=[],r=n!==undefined;while((e=e[t])&&e.nodeType!==9){if(e.nodeType===1){if(r&&v(e).is(n)){break}i.push(e)}}return i};var S=function(e,t){var n=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!==t){n.push(e)}}return n};var E=v.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;var D=/^.[^:#\[\.,]*$/;function O(e,t,n){if(v.isFunction(t)){return v.grep(e,function(e,i){return!!t.call(e,i,e)!==n})}if(t.nodeType){return v.grep(e,function(e){return e===t!==n})}if(typeof t!=="string"){return v.grep(e,function(e){return l.call(t,e)>-1!==n})}if(D.test(t)){return v.filter(t,e,n)}t=v.filter(t,e);return v.grep(e,function(e){return l.call(t,e)>-1!==n&&e.nodeType===1})}v.filter=function(e,t,n){var i=t[0];if(n){e=":not("+e+")"}if(t.length===1&&i.nodeType===1){return v.find.matchesSelector(i,e)?[i]:[]}return v.find.matches(e,v.grep(t,function(e){return e.nodeType===1}))};v.fn.extend({find:function(e){var t,n,i=this.length,r=this;if(typeof e!=="string"){return this.pushStack(v(e).filter(function(){for(t=0;t<i;t++){if(v.contains(r[t],this)){return true}}}))}n=this.pushStack([]);for(t=0;t<i;t++){v.find(e,r[t],n)}return i>1?v.uniqueSort(n):n},filter:function(e){return this.pushStack(O(this,e||[],false))},not:function(e){return this.pushStack(O(this,e||[],true))},is:function(e){return!!O(this,typeof e==="string"&&E.test(e)?v(e):e||[],false).length}});var P,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,k=v.fn.init=function(e,t,n){var r,s;if(!e){return this}n=n||P;if(typeof e==="string"){if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3){r=[null,e,null]}else{r=N.exec(e)}if(r&&(r[1]||!t)){if(r[1]){t=t instanceof v?t[0]:t;v.merge(this,v.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:i,true));if(I.test(r[1])&&v.isPlainObject(t)){for(r in t){if(v.isFunction(this[r])){this[r](t[r])}else{this.attr(r,t[r])}}}return this}else{s=i.getElementById(r[2]);if(s){this[0]=s;this.length=1}return this}}else if(!t||t.jquery){return(t||n).find(e)}else{return this.constructor(t).find(e)}}else if(e.nodeType){this[0]=e;this.length=1;return this}else if(v.isFunction(e)){return n.ready!==undefined?n.ready(e):e(v)}return v.makeArray(e,this)};k.prototype=v.fn;P=v(i);var L=/^(?:parents|prev(?:Until|All))/,H={children:true,contents:true,next:true,prev:true};v.fn.extend({has:function(e){var t=v(e,this),n=t.length;return this.filter(function(){var e=0;for(;e<n;e++){if(v.contains(this,t[e])){return true}}})},closest:function(e,t){var n,i=0,r=this.length,s=[],a=typeof e!=="string"&&v(e);if(!E.test(e)){for(;i<r;i++){for(n=this[i];n&&n!==t;n=n.parentNode){if(n.nodeType<11&&(a?a.index(n)>-1:n.nodeType===1&&v.find.matchesSelector(n,e))){s.push(n);break}}}}return this.pushStack(s.length>1?v.uniqueSort(s):s)},index:function(e){if(!e){return this[0]&&this[0].parentNode?this.first().prevAll().length:-1}if(typeof e==="string"){return l.call(v(e),this[0])}return l.call(this,e.jquery?e[0]:e)},add:function(e,t){return this.pushStack(v.uniqueSort(v.merge(this.get(),v(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function M(e,t){while((e=e[t])&&e.nodeType!==1){}return e}v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return _(e,"parentNode")},parentsUntil:function(e,t,n){return _(e,"parentNode",n)},next:function(e){return M(e,"nextSibling")},prev:function(e){return M(e,"previousSibling")},nextAll:function(e){return _(e,"nextSibling")},prevAll:function(e){return _(e,"previousSibling")},nextUntil:function(e,t,n){return _(e,"nextSibling",n)},prevUntil:function(e,t,n){return _(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){if(A(e,"iframe")){return e.contentDocument}if(A(e,"template")){e=e.content||e}return v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,i){var r=v.map(this,t,n);if(e.slice(-5)!=="Until"){i=n}if(i&&typeof i==="string"){r=v.filter(i,r)}if(this.length>1){if(!H[e]){v.uniqueSort(r)}if(L.test(e)){r.reverse()}}return this.pushStack(r)}});var j=/[^\x20\t\r\n\f]+/g;function F(e){var t={};v.each(e.match(j)||[],function(e,n){t[n]=true});return t}v.Callbacks=function(e){e=typeof e==="string"?F(e):v.extend({},e);var t,n,i,r,s=[],a=[],o=-1,l=function(){r=r||e.once;i=t=true;for(;a.length;o=-1){n=a.shift();while(++o<s.length){if(s[o].apply(n[0],n[1])===false&&e.stopOnFalse){o=s.length;n=false}}}if(!e.memory){n=false}t=false;if(r){if(n){s=[]}else{s=""}}},f={add:function(){if(s){if(n&&!t){o=s.length-1;a.push(n)}(function t(n){v.each(n,function(n,i){if(v.isFunction(i)){if(!e.unique||!f.has(i)){s.push(i)}}else if(i&&i.length&&v.type(i)!=="string"){t(i)}})})(arguments);if(n&&!t){l()}}return this},remove:function(){v.each(arguments,function(e,t){var n;while((n=v.inArray(t,s,n))>-1){s.splice(n,1);if(n<=o){o--}}});return this},has:function(e){return e?v.inArray(e,s)>-1:s.length>0},empty:function(){if(s){s=[]}return this},disable:function(){r=a=[];s=n="";return this},disabled:function(){return!s},lock:function(){r=a=[];if(!n&&!t){s=n=""}return this},locked:function(){return!!r},fireWith:function(e,n){if(!r){n=n||[];n=[e,n.slice?n.slice():n];a.push(n);if(!t){l()}}return this},fire:function(){f.fireWith(this,arguments);return this},fired:function(){return!!i}};return f};function $(e){return e}function R(e){throw e}function W(e,t,n,i){var r;try{if(e&&v.isFunction(r=e.promise)){r.call(e).done(t).fail(n)}else if(e&&v.isFunction(r=e.then)){r.call(e,t,n)}else{t.apply(undefined,[e].slice(i))}}catch(e){n.apply(undefined,[e])}}v.extend({Deferred:function(t){var n=[["notify","progress",v.Callbacks("memory"),v.Callbacks("memory"),2],["resolve","done",v.Callbacks("once memory"),v.Callbacks("once memory"),0,"resolved"],["reject","fail",v.Callbacks("once memory"),v.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){s.done(arguments).fail(arguments);return this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return v.Deferred(function(t){v.each(n,function(n,i){var r=v.isFunction(e[i[4]])&&e[i[4]];s[i[1]](function(){var e=r&&r.apply(this,arguments);if(e&&v.isFunction(e.promise)){e.promise().progress(t.notify).done(t.resolve).fail(t.reject)}else{t[i[0]+"With"](this,r?[e]:arguments)}})});e=null}).promise()},then:function(t,i,r){var s=0;function a(t,n,i,r){return function(){var o=this,l=arguments,f=function(){var e,f;if(t<s){return}e=i.apply(o,l);if(e===n.promise()){throw new TypeError("Thenable self-resolution")}f=e&&(typeof e==="object"||typeof e==="function")&&e.then;if(v.isFunction(f)){if(r){f.call(e,a(s,n,$,r),a(s,n,R,r))}else{s++;f.call(e,a(s,n,$,r),a(s,n,R,r),a(s,n,$,n.notifyWith))}}else{if(i!==$){o=undefined;l=[e]}(r||n.resolveWith)(o,l)}},u=r?f:function(){try{f()}catch(e){if(v.Deferred.exceptionHook){v.Deferred.exceptionHook(e,u.stackTrace)}if(t+1>=s){if(i!==R){o=undefined;l=[e]}n.rejectWith(o,l)}}};if(t){u()}else{if(v.Deferred.getStackHook){u.stackTrace=v.Deferred.getStackHook()}e.setTimeout(u)}}}return v.Deferred(function(e){n[0][3].add(a(0,e,v.isFunction(r)?r:$,e.notifyWith));n[1][3].add(a(0,e,v.isFunction(t)?t:$));n[2][3].add(a(0,e,v.isFunction(i)?i:R))}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},s={};v.each(n,function(e,t){var a=t[2],o=t[5];r[t[1]]=a.add;if(o){a.add(function(){i=o},n[3-e][2].disable,n[0][2].lock)}a.add(t[3].fire);s[t[0]]=function(){s[t[0]+"With"](this===s?undefined:this,arguments);return this};s[t[0]+"With"]=a.fireWith});r.promise(s);if(t){t.call(s,s)}return s},when:function(e){var t=arguments.length,n=t,i=Array(n),r=s.call(arguments),a=v.Deferred(),o=function(e){return function(n){i[e]=this;r[e]=arguments.length>1?s.call(arguments):n;if(!--t){a.resolveWith(i,r)}}};if(t<=1){W(e,a.done(o(n)).resolve,a.reject,!t);if(a.state()==="pending"||v.isFunction(r[n]&&r[n].then)){return a.then()}}while(n--){W(r[n],o(n),a.reject)}return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;v.Deferred.exceptionHook=function(t,n){if(e.console&&e.console.warn&&t&&B.test(t.name)){e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)}};v.readyException=function(t){e.setTimeout(function(){throw t})};var q=v.Deferred();v.fn.ready=function(e){q.then(e).catch(function(e){v.readyException(e)});return this};v.extend({isReady:false,readyWait:1,ready:function(e){if(e===true?--v.readyWait:v.isReady){return}v.isReady=true;if(e!==true&&--v.readyWait>0){return}q.resolveWith(i,[v])}});v.ready.then=q.then;function V(){i.removeEventListener("DOMContentLoaded",V);e.removeEventListener("load",V);v.ready()}if(i.readyState==="complete"||i.readyState!=="loading"&&!i.documentElement.doScroll){e.setTimeout(v.ready)}else{i.addEventListener("DOMContentLoaded",V);e.addEventListener("load",V)}var U=function(e,t,n,i,r,s,a){var o=0,l=e.length,f=n==null;if(v.type(n)==="object"){r=true;for(o in n){U(e,t,o,n[o],true,s,a)}}else if(i!==undefined){r=true;if(!v.isFunction(i)){a=true}if(f){if(a){t.call(e,i);t=null}else{f=t;t=function(e,t,n){return f.call(v(e),n)}}}if(t){for(;o<l;o++){t(e[o],n,a?i:i.call(e[o],o,t(e[o],n)))}}}if(r){return e}if(f){return t.call(e)}return l?t(e[0],n):s};var G=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function Y(){this.expando=v.expando+Y.uid++}Y.uid=1;Y.prototype={cache:function(e){var t=e[this.expando];if(!t){t={};if(G(e)){if(e.nodeType){e[this.expando]=t}else{Object.defineProperty(e,this.expando,{value:t,configurable:true})}}}return t},set:function(e,t,n){var i,r=this.cache(e);if(typeof t==="string"){r[v.camelCase(t)]=n}else{for(i in t){r[v.camelCase(i)]=t[i]}}return r},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][v.camelCase(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(e,t){var n,i=e[this.expando];if(i===undefined){return}if(t!==undefined){if(Array.isArray(t)){t=t.map(v.camelCase)}else{t=v.camelCase(t);t=t in i?[t]:t.match(j)||[]}n=t.length;while(n--){delete i[t[n]]}}if(t===undefined||v.isEmptyObject(i)){if(e.nodeType){e[this.expando]=undefined}else{delete e[this.expando]}}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!v.isEmptyObject(t)}};var z=new Y;var Q=new Y;var X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e){if(e==="true"){return true}if(e==="false"){return false}if(e==="null"){return null}if(e===+e+""){return+e}if(X.test(e)){return JSON.parse(e)}return e}function J(e,t,n){var i;if(n===undefined&&e.nodeType===1){i="data-"+t.replace(K,"-$&").toLowerCase();n=e.getAttribute(i);if(typeof n==="string"){try{n=Z(n)}catch(e){}Q.set(e,t,n)}else{n=undefined}}return n}v.extend({hasData:function(e){return Q.hasData(e)||z.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return z.access(e,t,n)},_removeData:function(e,t){z.remove(e,t)}});v.fn.extend({data:function(e,t){var n,i,r,s=this[0],a=s&&s.attributes;if(e===undefined){if(this.length){r=Q.get(s);if(s.nodeType===1&&!z.get(s,"hasDataAttrs")){n=a.length;while(n--){if(a[n]){i=a[n].name;if(i.indexOf("data-")===0){i=v.camelCase(i.slice(5));J(s,i,r[i])}}}z.set(s,"hasDataAttrs",true)}}return r}if(typeof e==="object"){return this.each(function(){Q.set(this,e)})}return U(this,function(t){var n;if(s&&t===undefined){n=Q.get(s,e);if(n!==undefined){return n}n=J(s,e);if(n!==undefined){return n}return}this.each(function(){Q.set(this,e,t)})},null,t,arguments.length>1,null,true)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}});v.extend({queue:function(e,t,n){var i;if(e){t=(t||"fx")+"queue";i=z.get(e,t);if(n){if(!i||Array.isArray(n)){i=z.access(e,t,v.makeArray(n))}else{i.push(n)}}return i||[]}},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),i=n.length,r=n.shift(),s=v._queueHooks(e,t),a=function(){v.dequeue(e,t)};if(r==="inprogress"){r=n.shift();i--}if(r){if(t==="fx"){n.unshift("inprogress")}delete s.stop;r.call(e,a,s)}if(!i&&s){s.empty.fire()}},_queueHooks:function(e,t){var n=t+"queueHooks";return z.get(e,n)||z.access(e,n,{empty:v.Callbacks("once memory").add(function(){z.remove(e,[t+"queue",n])})})}});v.fn.extend({queue:function(e,t){var n=2;if(typeof e!=="string"){t=e;e="fx";n--}if(arguments.length<n){return v.queue(this[0],e)}return t===undefined?this:this.each(function(){var n=v.queue(this,e,t);v._queueHooks(this,e);if(e==="fx"&&n[0]!=="inprogress"){v.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=v.Deferred(),s=this,a=this.length,o=function(){if(!--i){r.resolveWith(s,[s])}};if(typeof e!=="string"){t=e;e=undefined}e=e||"fx";while(a--){n=z.get(s[a],e+"queueHooks");if(n&&n.empty){i++;n.empty.add(o)}}o();return r.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i");var ne=["Top","Right","Bottom","Left"];var ie=function(e,t){e=t||e;return e.style.display==="none"||e.style.display===""&&v.contains(e.ownerDocument,e)&&v.css(e,"display")==="none"};var re=function(e,t,n,i){var r,s,a={};for(s in t){a[s]=e.style[s];e.style[s]=t[s]}r=n.apply(e,i||[]);for(s in t){e.style[s]=a[s]}return r};function se(e,t,n,i){var r,s=1,a=20,o=i?function(){return i.cur()}:function(){return v.css(e,t,"")},l=o(),f=n&&n[3]||(v.cssNumber[t]?"":"px"),u=(v.cssNumber[t]||f!=="px"&&+l)&&te.exec(v.css(e,t));if(u&&u[3]!==f){f=f||u[3];n=n||[];u=+l||1;do{s=s||".5";u=u/s;v.style(e,t,u+f)}while(s!==(s=o()/l)&&s!==1&&--a)}if(n){u=+u||+l||0;r=n[1]?u+(n[1]+1)*n[2]:+n[2];if(i){i.unit=f;i.start=u;i.end=r}}return r}var ae={};function oe(e){var t,n=e.ownerDocument,i=e.nodeName,r=ae[i];if(r){return r}t=n.body.appendChild(n.createElement(i));r=v.css(t,"display");t.parentNode.removeChild(t);if(r==="none"){r="block"}ae[i]=r;return r}function le(e,t){var n,i,r=[],s=0,a=e.length;for(;s<a;s++){i=e[s];if(!i.style){continue}n=i.style.display;if(t){if(n==="none"){r[s]=z.get(i,"display")||null;if(!r[s]){i.style.display=""}}if(i.style.display===""&&ie(i)){r[s]=oe(i)}}else{if(n!=="none"){r[s]="none";z.set(i,"display",n)}}}for(s=0;s<a;s++){if(r[s]!=null){e[s].style.display=r[s]}}return e}v.fn.extend({show:function(){return le(this,true)},hide:function(){return le(this)},toggle:function(e){if(typeof e==="boolean"){return e?this.show():this.hide()}return this.each(function(){if(ie(this)){v(this).show()}else{v(this).hide()}})}});var fe=/^(?:checkbox|radio)$/i;var ue=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i;var ce=/^$|\/(?:java|ecma)script/i;var he={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,"",""]};he.optgroup=he.option;he.tbody=he.tfoot=he.colgroup=he.caption=he.thead;he.th=he.td;function de(e,t){var n;if(typeof e.getElementsByTagName!=="undefined"){n=e.getElementsByTagName(t||"*")}else if(typeof e.querySelectorAll!=="undefined"){n=e.querySelectorAll(t||"*")}else{n=[]}if(t===undefined||t&&A(e,t)){return v.merge([e],n)}return n}function pe(e,t){var n=0,i=e.length;for(;n<i;n++){z.set(e[n],"globalEval",!t||z.get(t[n],"globalEval"))}}var me=/<|&#?\w+;/;function ge(e,t,n,i,r){var s,a,o,l,f,u,c=t.createDocumentFragment(),h=[],d=0,p=e.length;for(;d<p;d++){s=e[d];if(s||s===0){if(v.type(s)==="object"){v.merge(h,s.nodeType?[s]:s)}else if(!me.test(s)){h.push(t.createTextNode(s))}else{a=a||c.appendChild(t.createElement("div"));o=(ue.exec(s)||["",""])[1].toLowerCase();l=he[o]||he._default;a.innerHTML=l[1]+v.htmlPrefilter(s)+l[2];u=l[0];while(u--){a=a.lastChild}v.merge(h,a.childNodes);a=c.firstChild;a.textContent=""}}}c.textContent="";d=0;while(s=h[d++]){if(i&&v.inArray(s,i)>-1){if(r){r.push(s)}continue}f=v.contains(s.ownerDocument,s);a=de(c.appendChild(s),"script");if(f){pe(a)}if(n){u=0;while(s=a[u++]){if(ce.test(s.type||"")){n.push(s)}}}}return c}(function(){var e=i.createDocumentFragment(),t=e.appendChild(i.createElement("div")),n=i.createElement("input");n.setAttribute("type","radio");n.setAttribute("checked","checked");n.setAttribute("name","t");t.appendChild(n);p.checkClone=t.cloneNode(true).cloneNode(true).lastChild.checked;t.innerHTML="<textarea>x</textarea>";p.noCloneChecked=!!t.cloneNode(true).lastChild.defaultValue})();var ve=i.documentElement;var ye=/^key/,be=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,we=/^([^.]*)(?:\.(.+)|)/;function xe(){return true}function Ce(){return false}function Te(){try{return i.activeElement}catch(e){}}function _e(e,t,n,i,r,s){var a,o;if(typeof t==="object"){if(typeof n!=="string"){i=i||n;n=undefined}for(o in t){_e(e,o,n,i,t[o],s)}return e}if(i==null&&r==null){r=n;i=n=undefined}else if(r==null){if(typeof n==="string"){r=i;i=undefined}else{r=i;i=n;n=undefined}}if(r===false){r=Ce}else if(!r){return e}if(s===1){a=r;r=function(e){v().off(e);return a.apply(this,arguments)};r.guid=a.guid||(a.guid=v.guid++)}return e.each(function(){v.event.add(this,t,r,i,n)})}v.event={global:{},add:function(e,t,n,i,r){var s,a,o,l,f,u,c,h,d,p,m,g=z.get(e);if(!g){return}if(n.handler){s=n;n=s.handler;r=s.selector}if(r){v.find.matchesSelector(ve,r)}if(!n.guid){n.guid=v.guid++}if(!(l=g.events)){l=g.events={}}if(!(a=g.handle)){a=g.handle=function(t){return typeof v!=="undefined"&&v.event.triggered!==t.type?v.event.dispatch.apply(e,arguments):undefined}}t=(t||"").match(j)||[""];f=t.length;while(f--){o=we.exec(t[f])||[];d=m=o[1];p=(o[2]||"").split(".").sort();if(!d){continue}c=v.event.special[d]||{};d=(r?c.delegateType:c.bindType)||d;c=v.event.special[d]||{};u=v.extend({type:d,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&v.expr.match.needsContext.test(r),namespace:p.join(".")},s);if(!(h=l[d])){h=l[d]=[];h.delegateCount=0;if(!c.setup||c.setup.call(e,i,p,a)===false){if(e.addEventListener){e.addEventListener(d,a)}}}if(c.add){c.add.call(e,u);if(!u.handler.guid){u.handler.guid=n.guid}}if(r){h.splice(h.delegateCount++,0,u)}else{h.push(u)}v.event.global[d]=true}},remove:function(e,t,n,i,r){var s,a,o,l,f,u,c,h,d,p,m,g=z.hasData(e)&&z.get(e);if(!g||!(l=g.events)){return}t=(t||"").match(j)||[""];f=t.length;while(f--){o=we.exec(t[f])||[];d=m=o[1];p=(o[2]||"").split(".").sort();if(!d){for(d in l){v.event.remove(e,d+t[f],n,i,true)}continue}c=v.event.special[d]||{};d=(i?c.delegateType:c.bindType)||d;h=l[d]||[];o=o[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)");a=s=h.length;while(s--){u=h[s];if((r||m===u.origType)&&(!n||n.guid===u.guid)&&(!o||o.test(u.namespace))&&(!i||i===u.selector||i==="**"&&u.selector)){h.splice(s,1);if(u.selector){h.delegateCount--}if(c.remove){c.remove.call(e,u)}}}if(a&&!h.length){if(!c.teardown||c.teardown.call(e,p,g.handle)===false){v.removeEvent(e,d,g.handle)}delete l[d]}}if(v.isEmptyObject(l)){z.remove(e,"handle events")}},dispatch:function(e){var t=v.event.fix(e);var n,i,r,s,a,o,l=new Array(arguments.length),f=(z.get(this,"events")||{})[t.type]||[],u=v.event.special[t.type]||{};l[0]=t;for(n=1;n<arguments.length;n++){l[n]=arguments[n]}t.delegateTarget=this;if(u.preDispatch&&u.preDispatch.call(this,t)===false){return}o=v.event.handlers.call(this,t,f);n=0;while((s=o[n++])&&!t.isPropagationStopped()){t.currentTarget=s.elem;i=0;while((a=s.handlers[i++])&&!t.isImmediatePropagationStopped()){if(!t.rnamespace||t.rnamespace.test(a.namespace)){t.handleObj=a;t.data=a.data;r=((v.event.special[a.origType]||{}).handle||a.handler).apply(s.elem,l);if(r!==undefined){if((t.result=r)===false){t.preventDefault();t.stopPropagation()}}}}}if(u.postDispatch){u.postDispatch.call(this,t)}return t.result},handlers:function(e,t){var n,i,r,s,a,o=[],l=t.delegateCount,f=e.target;if(l&&f.nodeType&&!(e.type==="click"&&e.button>=1)){for(;f!==this;f=f.parentNode||this){if(f.nodeType===1&&!(e.type==="click"&&f.disabled===true)){s=[];a={};for(n=0;n<l;n++){i=t[n];r=i.selector+" ";if(a[r]===undefined){a[r]=i.needsContext?v(r,this).index(f)>-1:v.find(r,this,null,[f]).length}if(a[r]){s.push(i)}}if(s.length){o.push({elem:f,handlers:s})}}}}f=this;if(l<t.length){o.push({elem:f,handlers:t.slice(l)})}return o},addProp:function(e,t){Object.defineProperty(v.Event.prototype,e,{enumerable:true,configurable:true,get:v.isFunction(t)?function(){if(this.originalEvent){return t(this.originalEvent)}}:function(){if(this.originalEvent){return this.originalEvent[e]}},set:function(t){Object.defineProperty(this,e,{enumerable:true,configurable:true,writable:true,value:t})}})},fix:function(e){return e[v.expando]?e:new v.Event(e)},special:{load:{noBubble:true},focus:{trigger:function(){if(this!==Te()&&this.focus){this.focus();return false}},delegateType:"focusin"},blur:{trigger:function(){if(this===Te()&&this.blur){this.blur();return false}},delegateType:"focusout"},click:{trigger:function(){if(this.type==="checkbox"&&this.click&&A(this,"input")){this.click();return false}},_default:function(e){return A(e.target,"a")}},beforeunload:{postDispatch:function(e){if(e.result!==undefined&&e.originalEvent){e.originalEvent.returnValue=e.result}}}}};v.removeEvent=function(e,t,n){if(e.removeEventListener){e.removeEventListener(t,n)}};v.Event=function(e,t){if(!(this instanceof v.Event)){return new v.Event(e,t)}if(e&&e.type){this.originalEvent=e;this.type=e.type;this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&e.returnValue===false?xe:Ce;this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target;this.currentTarget=e.currentTarget;this.relatedTarget=e.relatedTarget}else{this.type=e}if(t){v.extend(this,t)}this.timeStamp=e&&e.timeStamp||v.now();this[v.expando]=true};v.Event.prototype={constructor:v.Event,isDefaultPrevented:Ce,isPropagationStopped:Ce,isImmediatePropagationStopped:Ce,isSimulated:false,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=xe;if(e&&!this.isSimulated){e.preventDefault()}},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=xe;if(e&&!this.isSimulated){e.stopPropagation()}},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=xe;if(e&&!this.isSimulated){e.stopImmediatePropagation()}this.stopPropagation()}};v.each({altKey:true,bubbles:true,cancelable:true,changedTouches:true,ctrlKey:true,detail:true,eventPhase:true,metaKey:true,pageX:true,pageY:true,shiftKey:true,view:true,char:true,charCode:true,key:true,keyCode:true,button:true,buttons:true,clientX:true,clientY:true,offsetX:true,offsetY:true,pointerId:true,pointerType:true,screenX:true,screenY:true,targetTouches:true,toElement:true,touches:true,which:function(e){var t=e.button;if(e.which==null&&ye.test(e.type)){return e.charCode!=null?e.charCode:e.keyCode}if(!e.which&&t!==undefined&&be.test(e.type)){if(t&1){return 1}if(t&2){return 3}if(t&4){return 2}return 0}return e.which}},v.event.addProp);v.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){v.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,s=e.handleObj;if(!r||r!==i&&!v.contains(i,r)){e.type=s.origType;n=s.handler.apply(this,arguments);e.type=t}return n}}});v.fn.extend({on:function(e,t,n,i){return _e(this,e,t,n,i)},one:function(e,t,n,i){return _e(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj){i=e.handleObj;v(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);return this}if(typeof e==="object"){for(r in e){this.off(r,t,e[r])}return this}if(t===false||typeof t==="function"){n=t;t=undefined}if(n===false){n=Ce}return this.each(function(){v.event.remove(this,e,n,t)})}});var Se=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ee=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^true\/(.*)/,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Oe(e,t){if(A(e,"table")&&A(t.nodeType!==11?t:t.firstChild,"tr")){return v(">tbody",e)[0]||e}return e}function Pe(e){e.type=(e.getAttribute("type")!==null)+"/"+e.type;return e}function Ne(e){var t=Ie.exec(e.type);if(t){e.type=t[1]}else{e.removeAttribute("type")}return e}function ke(e,t){var n,i,r,s,a,o,l,f;if(t.nodeType!==1){return}if(z.hasData(e)){s=z.access(e);a=z.set(t,s);f=s.events;if(f){delete a.handle;a.events={};for(r in f){for(n=0,i=f[r].length;n<i;n++){v.event.add(t,r,f[r][n])}}}}if(Q.hasData(e)){o=Q.access(e);l=v.extend({},o);Q.set(t,l)}}function Le(e,t){var n=t.nodeName.toLowerCase();if(n==="input"&&fe.test(e.type)){t.checked=e.checked}else if(n==="input"||n==="textarea"){t.defaultValue=e.defaultValue}}function He(e,t,n,i){t=a.apply([],t);var r,s,o,l,f,u,c=0,h=e.length,d=h-1,g=t[0],y=v.isFunction(g);if(y||h>1&&typeof g==="string"&&!p.checkClone&&Ae.test(g)){return e.each(function(r){var s=e.eq(r);if(y){t[0]=g.call(this,r,s.html())}He(s,t,n,i)})}if(h){r=ge(t,e[0].ownerDocument,false,e,i);s=r.firstChild;if(r.childNodes.length===1){r=s}if(s||i){o=v.map(de(r,"script"),Pe);l=o.length;for(;c<h;c++){f=r;if(c!==d){f=v.clone(f,true,true);if(l){v.merge(o,de(f,"script"))}}n.call(e[c],f,c)}if(l){u=o[o.length-1].ownerDocument;v.map(o,Ne);for(c=0;c<l;c++){f=o[c];if(ce.test(f.type||"")&&!z.access(f,"globalEval")&&v.contains(u,f)){if(f.src){if(v._evalUrl){v._evalUrl(f.src)}}else{m(f.textContent.replace(De,""),u)}}}}}}return e}function Me(e,t,n){var i,r=t?v.filter(t,e):e,s=0;for(;(i=r[s])!=null;s++){if(!n&&i.nodeType===1){v.cleanData(de(i))}if(i.parentNode){if(n&&v.contains(i.ownerDocument,i)){pe(de(i,"script"))}i.parentNode.removeChild(i)}}return e}v.extend({htmlPrefilter:function(e){return e.replace(Se,"<$1></$2>")},clone:function(e,t,n){var i,r,s,a,o=e.cloneNode(true),l=v.contains(e.ownerDocument,e);if(!p.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){a=de(o);s=de(e);for(i=0,r=s.length;i<r;i++){Le(s[i],a[i])}}if(t){if(n){s=s||de(e);a=a||de(o);for(i=0,r=s.length;i<r;i++){ke(s[i],a[i])}}else{ke(e,o)}}a=de(o,"script");if(a.length>0){pe(a,!l&&de(e,"script"))}return o},cleanData:function(e){var t,n,i,r=v.event.special,s=0;for(;(n=e[s])!==undefined;s++){if(G(n)){if(t=n[z.expando]){if(t.events){for(i in t.events){if(r[i]){v.event.remove(n,i)}else{v.removeEvent(n,i,t.handle)}}}n[z.expando]=undefined}if(n[Q.expando]){n[Q.expando]=undefined}}}}});v.fn.extend({detach:function(e){return Me(this,e,true)},remove:function(e){return Me(this,e)},text:function(e){return U(this,function(e){return e===undefined?v.text(this):this.empty().each(function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=e}})},null,e,arguments.length)},append:function(){return He(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Oe(this,e);t.appendChild(e)}})},prepend:function(){return He(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return He(this,arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}})},after:function(){return He(this,arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}})},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){if(e.nodeType===1){v.cleanData(de(e,false));e.textContent=""}}return this},clone:function(e,t){e=e==null?false:e;t=t==null?e:t;return this.map(function(){return v.clone(this,e,t)})},html:function(e){return U(this,function(e){var t=this[0]||{},n=0,i=this.length;if(e===undefined&&t.nodeType===1){return t.innerHTML}if(typeof e==="string"&&!Ee.test(e)&&!he[(ue.exec(e)||["",""])[1].toLowerCase()]){e=v.htmlPrefilter(e);try{for(;n<i;n++){t=this[n]||{};if(t.nodeType===1){v.cleanData(de(t,false));t.innerHTML=e}}t=0}catch(e){}}if(t){this.empty().append(e)}},null,e,arguments.length)},replaceWith:function(){var e=[];return He(this,arguments,function(t){var n=this.parentNode;if(v.inArray(this,e)<0){v.cleanData(de(this));if(n){n.replaceChild(t,this)}}},e)}});v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){v.fn[e]=function(e){var n,i=[],r=v(e),s=r.length-1,a=0;for(;a<=s;a++){n=a===s?this:this.clone(true);v(r[a])[t](n);o.apply(i,n.get())}return this.pushStack(i)}});var je=/^margin/;var Fe=new RegExp("^("+ee+")(?!px)[a-z%]+$","i");var $e=function(t){var n=t.ownerDocument.defaultView;if(!n||!n.opener){n=e}return n.getComputedStyle(t)};(function(){function t(){if(!l){return}l.style.cssText="box-sizing:border-box;"+"position:relative;display:block;"+"margin:auto;border:1px;padding:1px;"+"top:1%;width:50%";l.innerHTML="";ve.appendChild(o);var t=e.getComputedStyle(l);n=t.top!=="1%";a=t.marginLeft==="2px";r=t.width==="4px";l.style.marginRight="50%";s=t.marginRight==="4px";ve.removeChild(o);l=null}var n,r,s,a,o=i.createElement("div"),l=i.createElement("div");if(!l.style){return}l.style.backgroundClip="content-box";l.cloneNode(true).style.backgroundClip="";p.clearCloneStyle=l.style.backgroundClip==="content-box";o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;"+"padding:0;margin-top:1px;position:absolute";o.appendChild(l);v.extend(p,{pixelPosition:function(){t();return n},boxSizingReliable:function(){t();return r},pixelMarginRight:function(){t();return s},reliableMarginLeft:function(){t();return a}})})();function Re(e,t,n){var i,r,s,a,o=e.style;n=n||$e(e);if(n){a=n.getPropertyValue(t)||n[t];if(a===""&&!v.contains(e.ownerDocument,e)){a=v.style(e,t)}if(!p.pixelMarginRight()&&Fe.test(a)&&je.test(t)){i=o.width;r=o.minWidth;s=o.maxWidth;o.minWidth=o.maxWidth=o.width=a;a=n.width;o.width=i;o.minWidth=r;o.maxWidth=s}}return a!==undefined?a+"":a}function We(e,t){return{get:function(){if(e()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}var Be=/^(none|table(?!-c[ea]).+)/,qe=/^--/,Ve={position:"absolute",visibility:"hidden",display:"block"},Ue={letterSpacing:"0",fontWeight:"400"},Ge=["Webkit","Moz","ms"],Ye=i.createElement("div").style;function ze(e){if(e in Ye){return e}var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;while(n--){e=Ge[n]+t;if(e in Ye){return e}}}function Qe(e){var t=v.cssProps[e];if(!t){t=v.cssProps[e]=ze(e)||e}return t}function Xe(e,t,n){var i=te.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function Ke(e,t,n,i,r){var s,a=0;if(n===(i?"border":"content")){s=4}else{s=t==="width"?1:0}for(;s<4;s+=2){if(n==="margin"){a+=v.css(e,n+ne[s],true,r)}if(i){if(n==="content"){a-=v.css(e,"padding"+ne[s],true,r)}if(n!=="margin"){a-=v.css(e,"border"+ne[s]+"Width",true,r)}}else{a+=v.css(e,"padding"+ne[s],true,r);if(n!=="padding"){a+=v.css(e,"border"+ne[s]+"Width",true,r)}}}return a}function Ze(e,t,n){var i,r=$e(e),s=Re(e,t,r),a=v.css(e,"boxSizing",false,r)==="border-box";if(Fe.test(s)){return s}i=a&&(p.boxSizingReliable()||s===e.style[t]);if(s==="auto"){s=e["offset"+t[0].toUpperCase()+t.slice(1)]}s=parseFloat(s)||0;return s+Ke(e,t,n||(a?"border":"content"),i,r)+"px"}v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Re(e,"opacity");return n===""?"1":n}}}},cssNumber:{animationIterationCount:true,columnCount:true,fillOpacity:true,flexGrow:true,flexShrink:true,fontWeight:true,lineHeight:true,opacity:true,order:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{float:"cssFloat"},style:function(e,t,n,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style){return}var r,s,a,o=v.camelCase(t),l=qe.test(t),f=e.style;if(!l){t=Qe(o)}a=v.cssHooks[t]||v.cssHooks[o];if(n!==undefined){s=typeof n;if(s==="string"&&(r=te.exec(n))&&r[1]){n=se(e,t,r);s="number"}if(n==null||n!==n){return}if(s==="number"){n+=r&&r[3]||(v.cssNumber[o]?"":"px")}if(!p.clearCloneStyle&&n===""&&t.indexOf("background")===0){f[t]="inherit"}if(!a||!("set"in a)||(n=a.set(e,n,i))!==undefined){if(l){f.setProperty(t,n)}else{f[t]=n}}}else{if(a&&"get"in a&&(r=a.get(e,false,i))!==undefined){return r}return f[t]}},css:function(e,t,n,i){var r,s,a,o=v.camelCase(t),l=qe.test(t);if(!l){t=Qe(o)}a=v.cssHooks[t]||v.cssHooks[o];if(a&&"get"in a){r=a.get(e,true,n)}if(r===undefined){r=Re(e,t,i)}if(r==="normal"&&t in Ue){r=Ue[t]}if(n===""||n){s=parseFloat(r);return n===true||isFinite(s)?s||0:r}return r}});v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,i){if(n){return Be.test(v.css(e,"display"))&&(!e.getClientRects().length||!e.getBoundingClientRect().width)?re(e,Ve,function(){return Ze(e,t,i)}):Ze(e,t,i)}},set:function(e,n,i){var r,s=i&&$e(e),a=i&&Ke(e,t,i,v.css(e,"boxSizing",false,s)==="border-box",s);if(a&&(r=te.exec(n))&&(r[3]||"px")!=="px"){e.style[t]=n;n=v.css(e,t)}return Xe(e,n,a)}}});v.cssHooks.marginLeft=We(p.reliableMarginLeft,function(e,t){if(t){return(parseFloat(Re(e,"marginLeft"))||e.getBoundingClientRect().left-re(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}});v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var i=0,r={},s=typeof n==="string"?n.split(" "):[n];for(;i<4;i++){r[e+ne[i]+t]=s[i]||s[i-2]||s[0]}return r}};if(!je.test(e)){v.cssHooks[e+t].set=Xe}});v.fn.extend({css:function(e,t){return U(this,function(e,t,n){var i,r,s={},a=0;if(Array.isArray(t)){i=$e(e);r=t.length;for(;a<r;a++){s[t[a]]=v.css(e,t[a],false,i)}return s}return n!==undefined?v.style(e,t,n):v.css(e,t)},e,t,arguments.length>1)}});function Je(e,t,n,i,r){return new Je.prototype.init(e,t,n,i,r)}v.Tween=Je;Je.prototype={constructor:Je,init:function(e,t,n,i,r,s){this.elem=e;this.prop=n;this.easing=r||v.easing._default;this.options=t;this.start=this.now=this.cur();this.end=i;this.unit=s||(v.cssNumber[n]?"":"px")},cur:function(){var e=Je.propHooks[this.prop];return e&&e.get?e.get(this):Je.propHooks._default.get(this)},run:function(e){var t,n=Je.propHooks[this.prop];if(this.options.duration){this.pos=t=v.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration)}else{this.pos=t=e}this.now=(this.end-this.start)*t+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(n&&n.set){n.set(this)}else{Je.propHooks._default.set(this)}return this}};Je.prototype.init.prototype=Je.prototype;Je.propHooks={_default:{get:function(e){var t;if(e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null){return e.elem[e.prop]}t=v.css(e.elem,e.prop,"");return!t||t==="auto"?0:t},set:function(e){if(v.fx.step[e.prop]){v.fx.step[e.prop](e)}else if(e.elem.nodeType===1&&(e.elem.style[v.cssProps[e.prop]]!=null||v.cssHooks[e.prop])){v.style(e.elem,e.prop,e.now+e.unit)}else{e.elem[e.prop]=e.now}}}};Je.propHooks.scrollTop=Je.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};v.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"};v.fx=Je.prototype.init;v.fx.step={};var et,tt,nt=/^(?:toggle|show|hide)$/,it=/queueHooks$/;function rt(){if(tt){if(i.hidden===false&&e.requestAnimationFrame){e.requestAnimationFrame(rt)}else{e.setTimeout(rt,v.fx.interval)}v.fx.tick()}}function st(){e.setTimeout(function(){et=undefined});return et=v.now()}function at(e,t){var n,i=0,r={height:e};t=t?1:0;for(;i<4;i+=2-t){n=ne[i];r["margin"+n]=r["padding"+n]=e}if(t){r.opacity=r.width=e}return r}function ot(e,t,n){var i,r=(ut.tweeners[t]||[]).concat(ut.tweeners["*"]),s=0,a=r.length;for(;s<a;s++){if(i=r[s].call(n,t,e)){return i}}}function lt(e,t,n){var i,r,s,a,o,l,f,u,c="width"in t||"height"in t,h=this,d={},p=e.style,m=e.nodeType&&ie(e),g=z.get(e,"fxshow");if(!n.queue){a=v._queueHooks(e,"fx");if(a.unqueued==null){a.unqueued=0;o=a.empty.fire;a.empty.fire=function(){if(!a.unqueued){o()}}}a.unqueued++;h.always(function(){h.always(function(){a.unqueued--;if(!v.queue(e,"fx").length){a.empty.fire()}})})}for(i in t){r=t[i];if(nt.test(r)){delete t[i];s=s||r==="toggle";if(r===(m?"hide":"show")){if(r==="show"&&g&&g[i]!==undefined){m=true}else{continue}}d[i]=g&&g[i]||v.style(e,i)}}l=!v.isEmptyObject(t);if(!l&&v.isEmptyObject(d)){return}if(c&&e.nodeType===1){n.overflow=[p.overflow,p.overflowX,p.overflowY];f=g&&g.display;if(f==null){f=z.get(e,"display")}u=v.css(e,"display");if(u==="none"){if(f){u=f}else{le([e],true);f=e.style.display||f;u=v.css(e,"display");le([e])}}if(u==="inline"||u==="inline-block"&&f!=null){if(v.css(e,"float")==="none"){if(!l){h.done(function(){p.display=f});if(f==null){u=p.display;f=u==="none"?"":u}}p.display="inline-block"}}}if(n.overflow){p.overflow="hidden";h.always(function(){p.overflow=n.overflow[0];p.overflowX=n.overflow[1];p.overflowY=n.overflow[2]})}l=false;for(i in d){if(!l){if(g){if("hidden"in g){m=g.hidden}}else{g=z.access(e,"fxshow",{display:f})}if(s){g.hidden=!m}if(m){le([e],true)}h.done(function(){if(!m){le([e])}z.remove(e,"fxshow");for(i in d){v.style(e,i,d[i])}})}l=ot(m?g[i]:0,i,h);if(!(i in g)){g[i]=l.start;if(m){l.end=l.start;l.start=0}}}}function ft(e,t){var n,i,r,s,a;for(n in e){i=v.camelCase(n);r=t[i];s=e[n];if(Array.isArray(s)){r=s[1];s=e[n]=s[0]}if(n!==i){e[i]=s;delete e[n]}a=v.cssHooks[i];if(a&&"expand"in a){s=a.expand(s);delete e[i];for(n in s){if(!(n in e)){e[n]=s[n];t[n]=r}}}else{t[i]=r}}}function ut(e,t,n){var i,r,s=0,a=ut.prefilters.length,o=v.Deferred().always(function(){delete l.elem}),l=function(){if(r){return false}var t=et||st(),n=Math.max(0,f.startTime+f.duration-t),i=n/f.duration||0,s=1-i,a=0,l=f.tweens.length;for(;a<l;a++){f.tweens[a].run(s)}o.notifyWith(e,[f,s,n]);if(s<1&&l){return n}if(!l){o.notifyWith(e,[f,1,0])}o.resolveWith(e,[f]);return false},f=o.promise({elem:e,props:v.extend({},t),opts:v.extend(true,{specialEasing:{},easing:v.easing._default},n),originalProperties:t,originalOptions:n,startTime:et||st(),duration:n.duration,tweens:[],createTween:function(t,n){var i=v.Tween(e,f.opts,t,n,f.opts.specialEasing[t]||f.opts.easing);f.tweens.push(i);return i},stop:function(t){var n=0,i=t?f.tweens.length:0;if(r){return this}r=true;for(;n<i;n++){f.tweens[n].run(1)}if(t){o.notifyWith(e,[f,1,0]);o.resolveWith(e,[f,t])}else{o.rejectWith(e,[f,t])}return this}}),u=f.props;ft(u,f.opts.specialEasing);for(;s<a;s++){i=ut.prefilters[s].call(f,e,u,f.opts);if(i){if(v.isFunction(i.stop)){v._queueHooks(f.elem,f.opts.queue).stop=v.proxy(i.stop,i)}return i}}v.map(u,ot,f);if(v.isFunction(f.opts.start)){f.opts.start.call(e,f)}f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always);v.fx.timer(v.extend(l,{elem:e,anim:f,queue:f.opts.queue}));return f}v.Animation=v.extend(ut,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);se(n.elem,e,te.exec(t),n);return n}]},tweener:function(e,t){if(v.isFunction(e)){t=e;e=["*"]}else{e=e.match(j)}var n,i=0,r=e.length;for(;i<r;i++){n=e[i];ut.tweeners[n]=ut.tweeners[n]||[];ut.tweeners[n].unshift(t)}},prefilters:[lt],prefilter:function(e,t){if(t){ut.prefilters.unshift(e)}else{ut.prefilters.push(e)}}});v.speed=function(e,t,n){var i=e&&typeof e==="object"?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};if(v.fx.off){i.duration=0}else{if(typeof i.duration!=="number"){if(i.duration in v.fx.speeds){i.duration=v.fx.speeds[i.duration]}else{i.duration=v.fx.speeds._default}}}if(i.queue==null||i.queue===true){i.queue="fx"}i.old=i.complete;i.complete=function(){if(v.isFunction(i.old)){i.old.call(this)}if(i.queue){v.dequeue(this,i.queue)}};return i};v.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ie).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=v.isEmptyObject(e),s=v.speed(t,n,i),a=function(){var t=ut(this,v.extend({},e),s);if(r||z.get(this,"finish")){t.stop(true)}};a.finish=a;return r||s.queue===false?this.each(a):this.queue(s.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop;t(n)};if(typeof e!=="string"){n=t;t=e;e=undefined}if(t&&e!==false){this.queue(e||"fx",[])}return this.each(function(){var t=true,r=e!=null&&e+"queueHooks",s=v.timers,a=z.get(this);if(r){if(a[r]&&a[r].stop){i(a[r])}}else{for(r in a){if(a[r]&&a[r].stop&&it.test(r)){i(a[r])}}}for(r=s.length;r--;){if(s[r].elem===this&&(e==null||s[r].queue===e)){s[r].anim.stop(n);t=false;s.splice(r,1)}}if(t||!n){v.dequeue(this,e)}})},finish:function(e){if(e!==false){e=e||"fx"}return this.each(function(){var t,n=z.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],s=v.timers,a=i?i.length:0;n.finish=true;v.queue(this,e,[]);if(r&&r.stop){r.stop.call(this,true)}for(t=s.length;t--;){if(s[t].elem===this&&s[t].queue===e){s[t].anim.stop(true);s.splice(t,1)}}for(t=0;t<a;t++){if(i[t]&&i[t].finish){i[t].finish.call(this)}}delete n.finish})}});v.each(["toggle","show","hide"],function(e,t){var n=v.fn[t];v.fn[t]=function(e,i,r){return e==null||typeof e==="boolean"?n.apply(this,arguments):this.animate(at(t,true),e,i,r)}});v.each({slideDown:at("show"),slideUp:at("hide"),slideToggle:at("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){v.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}});v.timers=[];v.fx.tick=function(){var e,t=0,n=v.timers;et=v.now();for(;t<n.length;t++){e=n[t];if(!e()&&n[t]===e){n.splice(t--,1)}}if(!n.length){v.fx.stop()}et=undefined};v.fx.timer=function(e){v.timers.push(e);v.fx.start()};v.fx.interval=13;v.fx.start=function(){if(tt){return}tt=true;rt()};v.fx.stop=function(){tt=null};v.fx.speeds={slow:600,fast:200,_default:400};v.fn.delay=function(t,n){t=v.fx?v.fx.speeds[t]||t:t;n=n||"fx";return this.queue(n,function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}})};(function(){var e=i.createElement("input"),t=i.createElement("select"),n=t.appendChild(i.createElement("option"));e.type="checkbox";p.checkOn=e.value!=="";p.optSelected=n.selected;e=i.createElement("input");e.value="t";e.type="radio";p.radioValue=e.value==="t"})();var ct,ht=v.expr.attrHandle;v.fn.extend({attr:function(e,t){return U(this,v.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})}});v.extend({attr:function(e,t,n){var i,r,s=e.nodeType;if(s===3||s===8||s===2){return}if(typeof e.getAttribute==="undefined"){return v.prop(e,t,n)}if(s!==1||!v.isXMLDoc(e)){r=v.attrHooks[t.toLowerCase()]||(v.expr.match.bool.test(t)?ct:undefined)}if(n!==undefined){if(n===null){v.removeAttr(e,t);return}if(r&&"set"in r&&(i=r.set(e,n,t))!==undefined){return i}e.setAttribute(t,n+"");return n}if(r&&"get"in r&&(i=r.get(e,t))!==null){return i}i=v.find.attr(e,t);return i==null?undefined:i},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&t==="radio"&&A(e,"input")){var n=e.value;e.setAttribute("type",t);if(n){e.value=n}return t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(j);if(r&&e.nodeType===1){while(n=r[i++]){e.removeAttribute(n)}}}});ct={set:function(e,t,n){if(t===false){v.removeAttr(e,n)}else{e.setAttribute(n,n)}return n}};v.each(v.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||v.find.attr;ht[t]=function(e,t,i){var r,s,a=t.toLowerCase();if(!i){s=ht[a];ht[a]=r;r=n(e,t,i)!=null?a:null;ht[a]=s}return r}});var dt=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;v.fn.extend({prop:function(e,t){return U(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[v.propFix[e]||e]})}});v.extend({prop:function(e,t,n){var i,r,s=e.nodeType;if(s===3||s===8||s===2){return}if(s!==1||!v.isXMLDoc(e)){t=v.propFix[t]||t;r=v.propHooks[t]}if(n!==undefined){if(r&&"set"in r&&(i=r.set(e,n,t))!==undefined){return i}return e[t]=n}if(r&&"get"in r&&(i=r.get(e,t))!==null){return i}return e[t]},propHooks:{tabIndex:{get:function(e){var t=v.find.attr(e,"tabindex");if(t){return parseInt(t,10)}if(dt.test(e.nodeName)||pt.test(e.nodeName)&&e.href){return 0}return-1}}},propFix:{for:"htmlFor",class:"className"}});if(!p.optSelected){v.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}}}}}v.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){v.propFix[this.toLowerCase()]=this});function mt(e){var t=e.match(j)||[];return t.join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}v.fn.extend({addClass:function(e){var t,n,i,r,s,a,o,l=0;if(v.isFunction(e)){return this.each(function(t){v(this).addClass(e.call(this,t,gt(this)))})}if(typeof e==="string"&&e){t=e.match(j)||[];while(n=this[l++]){r=gt(n);i=n.nodeType===1&&" "+mt(r)+" ";if(i){a=0;while(s=t[a++]){if(i.indexOf(" "+s+" ")<0){i+=s+" "}}o=mt(i);if(r!==o){n.setAttribute("class",o)}}}}return this},removeClass:function(e){var t,n,i,r,s,a,o,l=0;if(v.isFunction(e)){return this.each(function(t){v(this).removeClass(e.call(this,t,gt(this)))})}if(!arguments.length){return this.attr("class","")}if(typeof e==="string"&&e){t=e.match(j)||[];while(n=this[l++]){r=gt(n);i=n.nodeType===1&&" "+mt(r)+" ";if(i){a=0;while(s=t[a++]){while(i.indexOf(" "+s+" ")>-1){i=i.replace(" "+s+" "," ")}}o=mt(i);if(r!==o){n.setAttribute("class",o)}}}}return this},toggleClass:function(e,t){var n=typeof e;if(typeof t==="boolean"&&n==="string"){return t?this.addClass(e):this.removeClass(e)}if(v.isFunction(e)){return this.each(function(n){v(this).toggleClass(e.call(this,n,gt(this),t),t)})}return this.each(function(){var t,i,r,s;if(n==="string"){i=0;r=v(this);s=e.match(j)||[];while(t=s[i++]){if(r.hasClass(t)){r.removeClass(t)}else{r.addClass(t)}}}else if(e===undefined||n==="boolean"){t=gt(this);if(t){z.set(this,"__className__",t)}if(this.setAttribute){this.setAttribute("class",t||e===false?"":z.get(this,"__className__")||"")}}})},hasClass:function(e){var t,n,i=0;t=" "+e+" ";while(n=this[i++]){if(n.nodeType===1&&(" "+mt(gt(n))+" ").indexOf(t)>-1){return true}}return false}});var vt=/\r/g;v.fn.extend({val:function(e){var t,n,i,r=this[0];if(!arguments.length){if(r){t=v.valHooks[r.type]||v.valHooks[r.nodeName.toLowerCase()];if(t&&"get"in t&&(n=t.get(r,"value"))!==undefined){return n}n=r.value;if(typeof n==="string"){return n.replace(vt,"")}return n==null?"":n}return}i=v.isFunction(e);return this.each(function(n){var r;if(this.nodeType!==1){return}if(i){r=e.call(this,n,v(this).val())}else{r=e}if(r==null){r=""}else if(typeof r==="number"){r+=""}else if(Array.isArray(r)){r=v.map(r,function(e){return e==null?"":e+""})}t=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,r,"value")===undefined){this.value=r}})}});v.extend({valHooks:{option:{get:function(e){var t=v.find.attr(e,"value");return t!=null?t:mt(v.text(e))}},select:{get:function(e){var t,n,i,r=e.options,s=e.selectedIndex,a=e.type==="select-one",o=a?null:[],l=a?s+1:r.length;if(s<0){i=l}else{i=a?s:0}for(;i<l;i++){n=r[i];if((n.selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){t=v(n).val();if(a){return t}o.push(t)}}return o},set:function(e,t){var n,i,r=e.options,s=v.makeArray(t),a=r.length;while(a--){i=r[a];if(i.selected=v.inArray(v.valHooks.option.get(i),s)>-1){n=true}}if(!n){e.selectedIndex=-1}return s}}}});v.each(["radio","checkbox"],function(){v.valHooks[this]={set:function(e,t){if(Array.isArray(t)){return e.checked=v.inArray(v(e).val(),t)>-1}}};if(!p.checkOn){v.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value}}});var yt=/^(?:focusinfocus|focusoutblur)$/;v.extend(v.event,{trigger:function(t,n,r,s){var a,o,l,f,u,h,d,p=[r||i],m=c.call(t,"type")?t.type:t,g=c.call(t,"namespace")?t.namespace.split("."):[];o=l=r=r||i;if(r.nodeType===3||r.nodeType===8){return}if(yt.test(m+v.event.triggered)){return}if(m.indexOf(".")>-1){g=m.split(".");m=g.shift();g.sort()}u=m.indexOf(":")<0&&"on"+m;t=t[v.expando]?t:new v.Event(m,typeof t==="object"&&t);t.isTrigger=s?2:3;t.namespace=g.join(".");t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;t.result=undefined;if(!t.target){t.target=r}n=n==null?[t]:v.makeArray(n,[t]);d=v.event.special[m]||{};if(!s&&d.trigger&&d.trigger.apply(r,n)===false){return}if(!s&&!d.noBubble&&!v.isWindow(r)){f=d.delegateType||m;if(!yt.test(f+m)){o=o.parentNode}for(;o;o=o.parentNode){p.push(o);l=o}if(l===(r.ownerDocument||i)){p.push(l.defaultView||l.parentWindow||e)}}a=0;while((o=p[a++])&&!t.isPropagationStopped()){t.type=a>1?f:d.bindType||m;h=(z.get(o,"events")||{})[t.type]&&z.get(o,"handle");if(h){h.apply(o,n)}h=u&&o[u];if(h&&h.apply&&G(o)){t.result=h.apply(o,n);if(t.result===false){t.preventDefault()}}}t.type=m;if(!s&&!t.isDefaultPrevented()){if((!d._default||d._default.apply(p.pop(),n)===false)&&G(r)){if(u&&v.isFunction(r[m])&&!v.isWindow(r)){l=r[u];if(l){r[u]=null}v.event.triggered=m;r[m]();v.event.triggered=undefined;if(l){r[u]=l}}}}return t.result},simulate:function(e,t,n){var i=v.extend(new v.Event,n,{type:e,isSimulated:true});v.event.trigger(i,null,t)}});v.fn.extend({trigger:function(e,t){return this.each(function(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n){return v.event.trigger(e,t,n,true)}}});v.each(("blur focus focusin focusout resize scroll click dblclick "+"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave "+"change select submit keydown keypress keyup contextmenu").split(" "),function(e,t){v.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});v.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});p.focusin="onfocusin"in e;if(!p.focusin){v.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){v.event.simulate(t,e.target,v.event.fix(e))};v.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=z.access(i,t);if(!r){i.addEventListener(e,n,true)}z.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=z.access(i,t)-1;if(!r){i.removeEventListener(e,n,true);z.remove(i,t)}else{z.access(i,t,r)}}}})}var bt=e.location;var wt=v.now();var xt=/\?/;v.parseXML=function(t){var n;if(!t||typeof t!=="string"){return null}try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=undefined}if(!n||n.getElementsByTagName("parsererror").length){v.error("Invalid XML: "+t)}return n};var Ct=/\[\]$/,Tt=/\r?\n/g,_t=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function Et(e,t,n,i){var r;if(Array.isArray(t)){v.each(t,function(t,r){if(n||Ct.test(e)){i(e,r)}else{Et(e+"["+(typeof r==="object"&&r!=null?t:"")+"]",r,n,i)}})}else if(!n&&v.type(t)==="object"){for(r in t){Et(e+"["+r+"]",t[r],n,i)}}else{i(e,t)}}v.param=function(e,t){var n,i=[],r=function(e,t){var n=v.isFunction(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(n==null?"":n)};if(Array.isArray(e)||e.jquery&&!v.isPlainObject(e)){v.each(e,function(){r(this.name,this.value)})}else{for(n in e){Et(n,e[n],t,r)}}return i.join("&")};v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=v.prop(this,"elements");return e?v.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!v(this).is(":disabled")&&St.test(this.nodeName)&&!_t.test(e)&&(this.checked||!fe.test(e))}).map(function(e,t){var n=v(this).val();if(n==null){return null}if(Array.isArray(n)){return v.map(n,function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}})}return{name:t.name,value:n.replace(Tt,"\r\n")}}).get()}});var At=/%20/g,It=/#.*$/,Dt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nt=/^(?:GET|HEAD)$/,kt=/^\/\//,Lt={},Ht={},Mt="*/".concat("*"),jt=i.createElement("a");jt.href=bt.href;function Ft(e){return function(t,n){if(typeof t!=="string"){n=t;t="*"}var i,r=0,s=t.toLowerCase().match(j)||[];if(v.isFunction(n)){while(i=s[r++]){if(i[0]==="+"){i=i.slice(1)||"*";(e[i]=e[i]||[]).unshift(n)}else{(e[i]=e[i]||[]).push(n)}}}}}function $t(e,t,n,i){var r={},s=e===Ht;function a(o){var l;r[o]=true;v.each(e[o]||[],function(e,o){var f=o(t,n,i);if(typeof f==="string"&&!s&&!r[f]){t.dataTypes.unshift(f);a(f);return false}else if(s){return!(l=f)}});return l}return a(t.dataTypes[0])||!r["*"]&&a("*")}function Rt(e,t){var n,i,r=v.ajaxSettings.flatOptions||{};for(n in t){if(t[n]!==undefined){(r[n]?e:i||(i={}))[n]=t[n]}}if(i){v.extend(true,e,i)}return e}function Wt(e,t,n){var i,r,s,a,o=e.contents,l=e.dataTypes;while(l[0]==="*"){l.shift();if(i===undefined){i=e.mimeType||t.getResponseHeader("Content-Type")}}if(i){for(r in o){if(o[r]&&o[r].test(i)){l.unshift(r);break}}}if(l[0]in n){s=l[0]}else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}if(!a){a=r}}s=s||a}if(s){if(s!==l[0]){l.unshift(s)}return n[s]}}function Bt(e,t,n,i){var r,s,a,o,l,f={},u=e.dataTypes.slice();if(u[1]){for(a in e.converters){f[a.toLowerCase()]=e.converters[a]}}s=u.shift();while(s){if(e.responseFields[s]){n[e.responseFields[s]]=t}if(!l&&i&&e.dataFilter){t=e.dataFilter(t,e.dataType)}l=s;s=u.shift();if(s){if(s==="*"){s=l}else if(l!=="*"&&l!==s){a=f[l+" "+s]||f["* "+s];if(!a){for(r in f){o=r.split(" ");if(o[1]===s){a=f[l+" "+o[0]]||f["* "+o[0]];if(a){if(a===true){a=f[r]}else if(f[r]!==true){s=o[0];u.unshift(o[1])}break}}}}if(a!==true){if(a&&e.throws){t=a(t)}else{try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+s}}}}}}}return{state:"success",data:t}}v.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:bt.href,type:"GET",isLocal:Pt.test(bt.protocol),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Mt,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":true,"text json":JSON.parse,"text xml":v.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(e,t){return t?Rt(Rt(e,v.ajaxSettings),t):Rt(v.ajaxSettings,e)},ajaxPrefilter:Ft(Lt),ajaxTransport:Ft(Ht),ajax:function(t,n){if(typeof t==="object"){n=t;t=undefined}n=n||{};var r,s,a,o,l,f,u,c,h,d,p=v.ajaxSetup({},n),m=p.context||p,g=p.context&&(m.nodeType||m.jquery)?v(m):v.event,y=v.Deferred(),b=v.Callbacks("once memory"),w=p.statusCode||{},x={},C={},T="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(u){if(!o){o={};while(t=Ot.exec(a)){o[t[1].toLowerCase()]=t[2]}}t=o[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return u?a:null},setRequestHeader:function(e,t){if(u==null){e=C[e.toLowerCase()]=C[e.toLowerCase()]||e;x[e]=t}return this},overrideMimeType:function(e){if(u==null){p.mimeType=e}return this},statusCode:function(e){var t;if(e){if(u){_.always(e[_.status])}else{for(t in e){w[t]=[w[t],e[t]]}}}return this},abort:function(e){var t=e||T;if(r){r.abort(t)}S(0,t);return this}};y.promise(_);p.url=((t||p.url||bt.href)+"").replace(kt,bt.protocol+"//");p.type=n.method||n.type||p.method||p.type;p.dataTypes=(p.dataType||"*").toLowerCase().match(j)||[""];if(p.crossDomain==null){f=i.createElement("a");try{f.href=p.url;f.href=f.href;p.crossDomain=jt.protocol+"//"+jt.host!==f.protocol+"//"+f.host}catch(e){p.crossDomain=true}}if(p.data&&p.processData&&typeof p.data!=="string"){p.data=v.param(p.data,p.traditional)}$t(Lt,p,n,_);if(u){return _}c=v.event&&p.global;if(c&&v.active++===0){v.event.trigger("ajaxStart")}p.type=p.type.toUpperCase();p.hasContent=!Nt.test(p.type);s=p.url.replace(It,"");if(!p.hasContent){d=p.url.slice(s.length);if(p.data){s+=(xt.test(s)?"&":"?")+p.data;delete p.data}if(p.cache===false){s=s.replace(Dt,"$1");d=(xt.test(s)?"&":"?")+"_="+wt+++d}p.url=s+d}else if(p.data&&p.processData&&(p.contentType||"").indexOf("application/x-www-form-urlencoded")===0){p.data=p.data.replace(At,"+")}if(p.ifModified){if(v.lastModified[s]){_.setRequestHeader("If-Modified-Since",v.lastModified[s])}if(v.etag[s]){_.setRequestHeader("If-None-Match",v.etag[s])}}if(p.data&&p.hasContent&&p.contentType!==false||n.contentType){_.setRequestHeader("Content-Type",p.contentType)}_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+(p.dataTypes[0]!=="*"?", "+Mt+"; q=0.01":""):p.accepts["*"]);for(h in p.headers){_.setRequestHeader(h,p.headers[h])}if(p.beforeSend&&(p.beforeSend.call(m,_,p)===false||u)){return _.abort()}T="abort";b.add(p.complete);_.done(p.success);_.fail(p.error);r=$t(Ht,p,n,_);if(!r){S(-1,"No Transport")}else{_.readyState=1;if(c){g.trigger("ajaxSend",[_,p])}if(u){return _}if(p.async&&p.timeout>0){l=e.setTimeout(function(){_.abort("timeout")},p.timeout)}try{u=false;r.send(x,S)}catch(e){if(u){throw e}S(-1,e)}}function S(t,n,i,o){var f,h,d,x,C,T=n;if(u){return}u=true;if(l){e.clearTimeout(l)}r=undefined;a=o||"";_.readyState=t>0?4:0;f=t>=200&&t<300||t===304;if(i){x=Wt(p,_,i)}x=Bt(p,x,_,f);if(f){if(p.ifModified){C=_.getResponseHeader("Last-Modified");if(C){v.lastModified[s]=C}C=_.getResponseHeader("etag");if(C){v.etag[s]=C}}if(t===204||p.type==="HEAD"){T="nocontent"}else if(t===304){T="notmodified"}else{T=x.state;h=x.data;d=x.error;f=!d}}else{d=T;if(t||!T){T="error";if(t<0){t=0}}}_.status=t;_.statusText=(n||T)+"";if(f){y.resolveWith(m,[h,T,_])}else{y.rejectWith(m,[_,T,d])}_.statusCode(w);w=undefined;if(c){g.trigger(f?"ajaxSuccess":"ajaxError",[_,p,f?h:d])}b.fireWith(m,[_,T]);if(c){g.trigger("ajaxComplete",[_,p]);if(!--v.active){v.event.trigger("ajaxStop")}}}return _},getJSON:function(e,t,n){return v.get(e,t,n,"json")},getScript:function(e,t){return v.get(e,undefined,t,"script")}});v.each(["get","post"],function(e,t){v[t]=function(e,n,i,r){if(v.isFunction(n)){r=r||i;i=n;n=undefined}return v.ajax(v.extend({url:e,type:t,dataType:r,data:n,success:i},v.isPlainObject(e)&&e))}});v._evalUrl=function(e){return v.ajax({url:e,type:"GET",dataType:"script",cache:true,async:false,global:false,throws:true})};v.fn.extend({wrapAll:function(e){var t;if(this[0]){if(v.isFunction(e)){e=e.call(this[0])}t=v(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){t.insertBefore(this[0])}t.map(function(){var e=this;while(e.firstElementChild){e=e.firstElementChild}return e}).append(this)}return this},wrapInner:function(e){if(v.isFunction(e)){return this.each(function(t){v(this).wrapInner(e.call(this,t))})}return this.each(function(){var t=v(this),n=t.contents();if(n.length){n.wrapAll(e)}else{t.append(e)}})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){this.parent(e).not("body").each(function(){v(this).replaceWith(this.childNodes)});return this}});v.expr.pseudos.hidden=function(e){return!v.expr.pseudos.visible(e)};v.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};v.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Vt=v.ajaxSettings.xhr();p.cors=!!Vt&&"withCredentials"in Vt;p.ajax=Vt=!!Vt;v.ajaxTransport(function(t){var n,i;if(p.cors||Vt&&!t.crossDomain){return{send:function(r,s){var a,o=t.xhr();o.open(t.type,t.url,t.async,t.username,t.password);if(t.xhrFields){for(a in t.xhrFields){o[a]=t.xhrFields[a]}}if(t.mimeType&&o.overrideMimeType){o.overrideMimeType(t.mimeType)}if(!t.crossDomain&&!r["X-Requested-With"]){r["X-Requested-With"]="XMLHttpRequest"}for(a in r){o.setRequestHeader(a,r[a])}n=function(e){return function(){if(n){n=i=o.onload=o.onerror=o.onabort=o.onreadystatechange=null;if(e==="abort"){o.abort()}else if(e==="error"){if(typeof o.status!=="number"){s(0,"error")}else{s(o.status,o.statusText)}}else{s(qt[o.status]||o.status,o.statusText,(o.responseType||"text")!=="text"||typeof o.responseText!=="string"?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders())}}}};o.onload=n();i=o.onerror=n("error");if(o.onabort!==undefined){o.onabort=i}else{o.onreadystatechange=function(){if(o.readyState===4){e.setTimeout(function(){if(n){i()}})}}}n=n("abort");try{o.send(t.hasContent&&t.data||null)}catch(e){if(n){throw e}}},abort:function(){if(n){n()}}}}});v.ajaxPrefilter(function(e){if(e.crossDomain){e.contents.script=false}});v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, "+"application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){v.globalEval(e);return e}}});v.ajaxPrefilter("script",function(e){if(e.cache===undefined){e.cache=false}if(e.crossDomain){e.type="GET"}});v.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,s){t=v("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove();n=null;if(e){s(e.type==="error"?404:200,e.type)}});i.head.appendChild(t[0])},abort:function(){if(n){n()}}}}});var Ut=[],Gt=/(=)\?(?=&|$)|\?\?/;v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ut.pop()||v.expando+"_"+wt++;this[e]=true;return e}});v.ajaxPrefilter("json jsonp",function(t,n,i){var r,s,a,o=t.jsonp!==false&&(Gt.test(t.url)?"url":typeof t.data==="string"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Gt.test(t.data)&&"data");if(o||t.dataTypes[0]==="jsonp"){r=t.jsonpCallback=v.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback;if(o){t[o]=t[o].replace(Gt,"$1"+r)}else if(t.jsonp!==false){t.url+=(xt.test(t.url)?"&":"?")+t.jsonp+"="+r}t.converters["script json"]=function(){if(!a){v.error(r+" was not called")}return a[0]};t.dataTypes[0]="json";s=e[r];e[r]=function(){a=arguments};i.always(function(){if(s===undefined){v(e).removeProp(r)}else{e[r]=s}if(t[r]){t.jsonpCallback=n.jsonpCallback;Ut.push(r)}if(a&&v.isFunction(s)){s(a[0])}a=s=undefined});return"script"}});p.createHTMLDocument=function(){var e=i.implementation.createHTMLDocument("").body;e.innerHTML="<form></form><form></form>";return e.childNodes.length===2}();v.parseHTML=function(e,t,n){if(typeof e!=="string"){return[]}if(typeof t==="boolean"){n=t;t=false}var r,s,a;if(!t){if(p.createHTMLDocument){t=i.implementation.createHTMLDocument("");r=t.createElement("base");r.href=i.location.href;t.head.appendChild(r)}else{t=i}}s=I.exec(e);a=!n&&[];if(s){return[t.createElement(s[1])]}s=ge([e],t,a);if(a&&a.length){v(a).remove()}return v.merge([],s.childNodes)};v.fn.load=function(e,t,n){var i,r,s,a=this,o=e.indexOf(" ");if(o>-1){i=mt(e.slice(o));e=e.slice(0,o)}if(v.isFunction(t)){n=t;t=undefined}else if(t&&typeof t==="object"){r="POST"}if(a.length>0){v.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){s=arguments;a.html(i?v("<div>").append(v.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,s||[e.responseText,t,e])})})}return this};v.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){v.fn[t]=function(e){return this.on(t,e)}});v.expr.pseudos.animated=function(e){return v.grep(v.timers,function(t){return e===t.elem}).length};v.offset={setOffset:function(e,t,n){var i,r,s,a,o,l,f,u=v.css(e,"position"),c=v(e),h={};if(u==="static"){e.style.position="relative"}o=c.offset();s=v.css(e,"top");l=v.css(e,"left");f=(u==="absolute"||u==="fixed")&&(s+l).indexOf("auto")>-1;if(f){i=c.position();a=i.top;r=i.left}else{a=parseFloat(s)||0;r=parseFloat(l)||0}if(v.isFunction(t)){t=t.call(e,n,v.extend({},o))}if(t.top!=null){h.top=t.top-o.top+a}if(t.left!=null){h.left=t.left-o.left+r}if("using"in t){t.using.call(e,h)}else{c.css(h)}}};v.fn.extend({offset:function(e){if(arguments.length){return e===undefined?this:this.each(function(t){v.offset.setOffset(this,e,t)})}var t,n,i,r,s=this[0];if(!s){return}if(!s.getClientRects().length){return{top:0,left:0}}i=s.getBoundingClientRect();t=s.ownerDocument;n=t.documentElement;r=t.defaultView;return{top:i.top+r.pageYOffset-n.clientTop,left:i.left+r.pageXOffset-n.clientLeft}},position:function(){if(!this[0]){return}var e,t,n=this[0],i={top:0,left:0};if(v.css(n,"position")==="fixed"){t=n.getBoundingClientRect()}else{e=this.offsetParent();t=this.offset();if(!A(e[0],"html")){i=e.offset()}i={top:i.top+v.css(e[0],"borderTopWidth",true),left:i.left+v.css(e[0],"borderLeftWidth",true)}}return{top:t.top-i.top-v.css(n,"marginTop",true),left:t.left-i.left-v.css(n,"marginLeft",true)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&v.css(e,"position")==="static"){e=e.offsetParent}return e||ve})}});v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;v.fn[e]=function(i){return U(this,function(e,i,r){var s;if(v.isWindow(e)){s=e}else if(e.nodeType===9){s=e.defaultView}if(r===undefined){return s?s[t]:e[i]}if(s){s.scrollTo(!n?r:s.pageXOffset,n?r:s.pageYOffset)}else{e[i]=r}},e,i,arguments.length)}});v.each(["top","left"],function(e,t){v.cssHooks[t]=We(p.pixelPosition,function(e,n){if(n){n=Re(e,t);return Fe.test(n)?v(e).position()[t]+"px":n}})});v.each({Height:"height",Width:"width"},function(e,t){v.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){v.fn[i]=function(r,s){var a=arguments.length&&(n||typeof r!=="boolean"),o=n||(r===true||s===true?"margin":"border");return U(this,function(t,n,r){var s;if(v.isWindow(t)){return i.indexOf("outer")===0?t["inner"+e]:t.document.documentElement["client"+e]}if(t.nodeType===9){s=t.documentElement;return Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])}return r===undefined?v.css(t,n,o):v.style(t,n,r,o)},t,a?r:undefined,a)}})});v.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)}});v.holdReady=function(e){if(e){v.readyWait++}else{v.ready(true)}};v.isArray=Array.isArray;v.parseJSON=JSON.parse;v.nodeName=A;if(typeof define==="function"&&define.amd){define("jquery",[],function(){return v})}var Yt=e.jQuery,zt=e.$;v.noConflict=function(t){if(e.$===v){e.$=zt}if(t&&e.jQuery===v){e.jQuery=Yt}return v};if(!t){e.jQuery=e.$=v}return v});jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,i,r){return jQuery.easing[jQuery.easing.def](e,t,n,i,r)},easeInQuad:function(e,t,n,i,r){return i*(t/=r)*t+n},easeOutQuad:function(e,t,n,i,r){return-i*(t/=r)*(t-2)+n},easeInOutQuad:function(e,t,n,i,r){if((t/=r/2)<1)return i/2*t*t+n;return-i/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,i,r){return i*(t/=r)*t*t+n},easeOutCubic:function(e,t,n,i,r){return i*((t=t/r-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,i,r){if((t/=r/2)<1)return i/2*t*t*t+n;return i/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,i,r){return i*(t/=r)*t*t*t+n},easeOutQuart:function(e,t,n,i,r){return-i*((t=t/r-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,i,r){if((t/=r/2)<1)return i/2*t*t*t*t+n;return-i/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,i,r){return i*(t/=r)*t*t*t*t+n},easeOutQuint:function(e,t,n,i,r){return i*((t=t/r-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,i,r){if((t/=r/2)<1)return i/2*t*t*t*t*t+n;return i/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,i,r){return-i*Math.cos(t/r*(Math.PI/2))+i+n},easeOutSine:function(e,t,n,i,r){return i*Math.sin(t/r*(Math.PI/2))+n},easeInOutSine:function(e,t,n,i,r){return-i/2*(Math.cos(Math.PI*t/r)-1)+n},easeInExpo:function(e,t,n,i,r){return t==0?n:i*Math.pow(2,10*(t/r-1))+n},easeOutExpo:function(e,t,n,i,r){return t==r?n+i:i*(-Math.pow(2,-10*t/r)+1)+n},easeInOutExpo:function(e,t,n,i,r){if(t==0)return n;if(t==r)return n+i;if((t/=r/2)<1)return i/2*Math.pow(2,10*(t-1))+n;return i/2*(-Math.pow(2,-10*--t)+2)+n},easeInCirc:function(e,t,n,i,r){return-i*(Math.sqrt(1-(t/=r)*t)-1)+n},easeOutCirc:function(e,t,n,i,r){return i*Math.sqrt(1-(t=t/r-1)*t)+n},easeInOutCirc:function(e,t,n,i,r){if((t/=r/2)<1)return-i/2*(Math.sqrt(1-t*t)-1)+n;return i/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,i,r){var s=1.70158;var a=0;var o=i;if(t==0)return n;if((t/=r)==1)return n+i;if(!a)a=r*.3;if(o<Math.abs(i)){o=i;var s=a/4}else var s=a/(2*Math.PI)*Math.asin(i/o);return-(o*Math.pow(2,10*(t-=1))*Math.sin((t*r-s)*(2*Math.PI)/a))+n},easeOutElastic:function(e,t,n,i,r){var s=1.70158;var a=0;var o=i;if(t==0)return n;if((t/=r)==1)return n+i;if(!a)a=r*.3;if(o<Math.abs(i)){o=i;var s=a/4}else var s=a/(2*Math.PI)*Math.asin(i/o);return o*Math.pow(2,-10*t)*Math.sin((t*r-s)*(2*Math.PI)/a)+i+n},easeInOutElastic:function(e,t,n,i,r){var s=1.70158;var a=0;var o=i;if(t==0)return n;if((t/=r/2)==2)return n+i;if(!a)a=r*(.3*1.5);if(o<Math.abs(i)){o=i;var s=a/4}else var s=a/(2*Math.PI)*Math.asin(i/o);if(t<1)return-.5*(o*Math.pow(2,10*(t-=1))*Math.sin((t*r-s)*(2*Math.PI)/a))+n;return o*Math.pow(2,-10*(t-=1))*Math.sin((t*r-s)*(2*Math.PI)/a)*.5+i+n},easeInBack:function(e,t,n,i,r,s){if(s==undefined)s=1.70158;return i*(t/=r)*t*((s+1)*t-s)+n},easeOutBack:function(e,t,n,i,r,s){if(s==undefined)s=1.70158;return i*((t=t/r-1)*t*((s+1)*t+s)+1)+n},easeInOutBack:function(e,t,n,i,r,s){if(s==undefined)s=1.70158;if((t/=r/2)<1)return i/2*(t*t*(((s*=1.525)+1)*t-s))+n;return i/2*((t-=2)*t*(((s*=1.525)+1)*t+s)+2)+n},easeInBounce:function(e,t,n,i,r){return i-jQuery.easing.easeOutBounce(e,r-t,0,i,r)+n},easeOutBounce:function(e,t,n,i,r){if((t/=r)<1/2.75){return i*(7.5625*t*t)+n}else if(t<2/2.75){return i*(7.5625*(t-=1.5/2.75)*t+.75)+n}else if(t<2.5/2.75){return i*(7.5625*(t-=2.25/2.75)*t+.9375)+n}else{return i*(7.5625*(t-=2.625/2.75)*t+.984375)+n}},easeInOutBounce:function(e,t,n,i,r){if(t<r/2)return jQuery.easing.easeInBounce(e,t*2,0,i,r)*.5+n;return jQuery.easing.easeOutBounce(e,t*2-r,0,i,r)*.5+i*.5+n}});(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?module.exports=t():typeof define==="function"&&define.amd?define(t):e.Popper=t()})(this,function(){"use strict";var e=["native code","[object MutationObserverConstructor]"];var t=function(t){return e.some(function(e){return(t||"").toString().indexOf(e)>-1})};var n=typeof window!=="undefined";var i=["Edge","Trident","Firefox"];var r=0;for(var s=0;s<i.length;s+=1){if(n&&navigator.userAgent.indexOf(i[s])>=0){r=1;break}}function a(e){var t=false;var n=0;var i=document.createElement("span");var r=new MutationObserver(function(){e();t=false});r.observe(i,{attributes:true});return function(){if(!t){t=true;i.setAttribute("x-index",n);n=n+1}}}function o(e){var t=false;return function(){if(!t){t=true;setTimeout(function(){t=false;e()},r)}}}var l=n&&t(window.MutationObserver);var f=l?a:o;function u(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function c(e,t){if(e.nodeType!==1){return[]}var n=window.getComputedStyle(e,null);return t?n[t]:n}function h(e){if(e.nodeName==="HTML"){return e}return e.parentNode||e.host}function d(e){if(!e||["HTML","BODY","#document"].indexOf(e.nodeName)!==-1){return window.document.body}var t=c(e),n=t.overflow,i=t.overflowX,r=t.overflowY;if(/(auto|scroll)/.test(n+r+i)){return e}return d(h(e))}function p(e){var t=e&&e.offsetParent;var n=t&&t.nodeName;if(!n||n==="BODY"||n==="HTML"){return window.document.documentElement}if(["TD","TABLE"].indexOf(t.nodeName)!==-1&&c(t,"position")==="static"){return p(t)}return t}function m(e){var t=e.nodeName;if(t==="BODY"){return false}return t==="HTML"||p(e.firstElementChild)===e}function g(e){if(e.parentNode!==null){return g(e.parentNode)}return e}function v(e,t){if(!e||!e.nodeType||!t||!t.nodeType){return window.document.documentElement}var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING;var i=n?e:t;var r=n?t:e;var s=document.createRange();s.setStart(i,0);s.setEnd(r,0);var a=s.commonAncestorContainer;if(e!==a&&t!==a||i.contains(r)){if(m(a)){return a}return p(a)}var o=g(e);if(o.host){return v(o.host,t)}else{return v(e,g(t).host)}}function y(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top";var n=t==="top"?"scrollTop":"scrollLeft";var i=e.nodeName;if(i==="BODY"||i==="HTML"){var r=window.document.documentElement;var s=window.document.scrollingElement||r;return s[n]}return e[n]}function b(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var i=y(t,"top");var r=y(t,"left");var s=n?-1:1;e.top+=i*s;e.bottom+=i*s;e.left+=r*s;e.right+=r*s;return e}function w(e,t){var n=t==="x"?"Left":"Top";var i=n==="Left"?"Right":"Bottom";return+e["border"+n+"Width"].split("px")[0]+ +e["border"+i+"Width"].split("px")[0]}var x=undefined;var C=function(){if(x===undefined){x=navigator.appVersion.indexOf("MSIE 10")!==-1}return x};function T(e,t,n,i){return Math.max(t["offset"+e],n["client"+e],n["offset"+e],C()?n["offset"+e]+i["margin"+(e==="Height"?"Top":"Left")]+i["margin"+(e==="Height"?"Bottom":"Right")]:0)}function _(){var e=window.document.body;var t=window.document.documentElement;var n=C()&&window.getComputedStyle(t);return{height:T("Height",e,t,n),width:T("Width",e,t,n)}}var S=function(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}};var E=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||false;i.configurable=true;if("value"in i)i.writable=true;Object.defineProperty(e,i.key,i)}}return function(t,n,i){if(n)e(t.prototype,n);if(i)e(t,i);return t}}();var A=function(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e};var I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n){if(Object.prototype.hasOwnProperty.call(n,i)){e[i]=n[i]}}}return e};function D(e){return I({},e,{right:e.left+e.width,bottom:e.top+e.height})}function O(e){var t={};if(C()){try{t=e.getBoundingClientRect();var n=y(e,"top");var i=y(e,"left");t.top+=n;t.left+=i;t.bottom+=n;t.right+=i}catch(e){}}else{t=e.getBoundingClientRect()}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top};var s=e.nodeName==="HTML"?_():{};var a=s.width||e.clientWidth||r.right-r.left;var o=s.height||e.clientHeight||r.bottom-r.top;var l=e.offsetWidth-a;var f=e.offsetHeight-o;if(l||f){var u=c(e);l-=w(u,"x");f-=w(u,"y");r.width-=l;r.height-=f}return D(r)}function P(e,t){var n=C();var i=t.nodeName==="HTML";var r=O(e);var s=O(t);var a=d(e);var o=c(t);var l=+o.borderTopWidth.split("px")[0];var f=+o.borderLeftWidth.split("px")[0];var u=D({top:r.top-s.top-l,left:r.left-s.left-f,width:r.width,height:r.height});u.marginTop=0;u.marginLeft=0;if(!n&&i){var h=+o.marginTop.split("px")[0];var p=+o.marginLeft.split("px")[0];u.top-=l-h;u.bottom-=l-h;u.left-=f-p;u.right-=f-p;u.marginTop=h;u.marginLeft=p}if(n?t.contains(a):t===a&&a.nodeName!=="BODY"){u=b(u,t)}return u}function N(e){var t=window.document.documentElement;var n=P(e,t);var i=Math.max(t.clientWidth,window.innerWidth||0);var r=Math.max(t.clientHeight,window.innerHeight||0);var s=y(t);var a=y(t,"left");var o={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:i,height:r};return D(o)}function k(e){var t=e.nodeName;if(t==="BODY"||t==="HTML"){return false}if(c(e,"position")==="fixed"){return true}return k(h(e))}function L(e,t,n,i){var r={top:0,left:0};var s=v(e,t);if(i==="viewport"){r=N(s)}else{var a=void 0;if(i==="scrollParent"){a=d(h(e));if(a.nodeName==="BODY"){a=window.document.documentElement}}else if(i==="window"){a=window.document.documentElement}else{a=i}var o=P(a,s);if(a.nodeName==="HTML"&&!k(s)){var l=_(),f=l.height,u=l.width;r.top+=o.top-o.marginTop;r.bottom=f+o.top;r.left+=o.left-o.marginLeft;r.right=u+o.left}else{r=o}}r.left+=n;r.top+=n;r.right-=n;r.bottom-=n;return r}function H(e){var t=e.width,n=e.height;return t*n}function M(e,t,n,i,r){var s=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(e.indexOf("auto")===-1){return e}var a=L(n,i,s,r);var o={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}};var l=Object.keys(o).map(function(e){return I({key:e},o[e],{area:H(o[e])})}).sort(function(e,t){return t.area-e.area});var f=l.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight});var u=f.length>0?f[0].key:l[0].key;var c=e.split("-")[1];return u+(c?"-"+c:"")}function j(e,t,n){var i=v(t,n);return P(n,i)}function F(e){var t=window.getComputedStyle(e);var n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);var i=parseFloat(t.marginLeft)+parseFloat(t.marginRight);var r={width:e.offsetWidth+i,height:e.offsetHeight+n};return r}function $(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function R(e,t,n){n=n.split("-")[0];var i=F(e);var r={width:i.width,height:i.height};var s=["right","left"].indexOf(n)!==-1;var a=s?"top":"left";var o=s?"left":"top";var l=s?"height":"width";var f=!s?"height":"width";r[a]=t[a]+t[l]/2-i[l]/2;if(n===o){r[o]=t[o]-i[f]}else{r[o]=t[$(o)]}return r}function W(e,t){if(Array.prototype.find){return e.find(t)}return e.filter(t)[0]}function B(e,t,n){if(Array.prototype.findIndex){return e.findIndex(function(e){return e[t]===n})}var i=W(e,function(e){return e[t]===n});return e.indexOf(i)}function q(e,t,n){var i=n===undefined?e:e.slice(0,B(e,"name",n));i.forEach(function(e){if(e.function){console.warn("`modifier.function` is deprecated, use `modifier.fn`!")}var n=e.function||e.fn;if(e.enabled&&u(n)){t.offsets.popper=D(t.offsets.popper);t.offsets.reference=D(t.offsets.reference);t=n(t,e)}});return t}function V(){if(this.state.isDestroyed){return}var e={instance:this,styles:{},attributes:{},flipped:false,offsets:{}};e.offsets.reference=j(this.state,this.popper,this.reference);e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);e.originalPlacement=e.placement;e.offsets.popper=R(this.popper,e.offsets.reference,e.placement);e.offsets.popper.position="absolute";e=q(this.modifiers,e);if(!this.state.isCreated){this.state.isCreated=true;this.options.onCreate(e)}else{this.options.onUpdate(e)}}function U(e,t){return e.some(function(e){var n=e.name,i=e.enabled;return i&&n===t})}function G(e){var t=[false,"ms","Webkit","Moz","O"];var n=e.charAt(0).toUpperCase()+e.slice(1);for(var i=0;i<t.length-1;i++){var r=t[i];var s=r?""+r+n:e;if(typeof window.document.body.style[s]!=="undefined"){return s}}return null}function Y(){this.state.isDestroyed=true;if(U(this.modifiers,"applyStyle")){this.popper.removeAttribute("x-placement");this.popper.style.left="";this.popper.style.position="";this.popper.style.top="";this.popper.style[G("transform")]=""}this.disableEventListeners();if(this.options.removeOnDestroy){this.popper.parentNode.removeChild(this.popper)}return this}function z(e,t,n,i){var r=e.nodeName==="BODY";var s=r?window:e;s.addEventListener(t,n,{passive:true});if(!r){z(d(s.parentNode),t,n,i)}i.push(s)}function Q(e,t,n,i){n.updateBound=i;window.addEventListener("resize",n.updateBound,{passive:true});var r=d(e);z(r,"scroll",n.updateBound,n.scrollParents);n.scrollElement=r;n.eventsEnabled=true;return n}function X(){if(!this.state.eventsEnabled){this.state=Q(this.reference,this.options,this.state,this.scheduleUpdate)}}function K(e,t){window.removeEventListener("resize",t.updateBound);t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)});t.updateBound=null;t.scrollParents=[];t.scrollElement=null;t.eventsEnabled=false;return t}function Z(){if(this.state.eventsEnabled){window.cancelAnimationFrame(this.scheduleUpdate);this.state=K(this.reference,this.state)}}function J(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function ee(e,t){Object.keys(t).forEach(function(n){var i="";if(["width","height","top","right","bottom","left"].indexOf(n)!==-1&&J(t[n])){i="px"}e.style[n]=t[n]+i})}function te(e,t){Object.keys(t).forEach(function(n){var i=t[n];if(i!==false){e.setAttribute(n,t[n])}else{e.removeAttribute(n)}})}function ne(e){ee(e.instance.popper,e.styles);te(e.instance.popper,e.attributes);if(e.offsets.arrow){ee(e.arrowElement,e.offsets.arrow)}return e}function ie(e,t,n,i,r){var s=j(r,t,e);var a=M(n.placement,s,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);t.setAttribute("x-placement",a);ee(t,{position:"absolute"});return n}function re(e,t){var n=t.x,i=t.y;var r=e.offsets.popper;var s=W(e.instance.modifiers,function(e){return e.name==="applyStyle"}).gpuAcceleration;if(s!==undefined){console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!")}var a=s!==undefined?s:t.gpuAcceleration;var o=p(e.instance.popper);var l=O(o);var f={position:r.position};var u={left:Math.floor(r.left),top:Math.floor(r.top),bottom:Math.floor(r.bottom),right:Math.floor(r.right)};var c=n==="bottom"?"top":"bottom";var h=i==="right"?"left":"right";var d=G("transform");var m=void 0,g=void 0;if(c==="bottom"){g=-l.height+u.bottom}else{g=u.top}if(h==="right"){m=-l.width+u.right}else{m=u.left}if(a&&d){f[d]="translate3d("+m+"px, "+g+"px, 0)";f[c]=0;f[h]=0;f.willChange="transform"}else{var v=c==="bottom"?-1:1;var y=h==="right"?-1:1;f[c]=g*v;f[h]=m*y;f.willChange=c+", "+h}var b={"x-placement":e.placement};e.attributes=I({},b,e.attributes);e.styles=I({},f,e.styles);return e}function se(e,t,n){var i=W(e,function(e){var n=e.name;return n===t});var r=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!r){var s="`"+t+"`";var a="`"+n+"`";console.warn(a+" modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return r}function ae(e,t){if(!se(e.instance.modifiers,"arrow","keepTogether")){return e}var n=t.element;if(typeof n==="string"){n=e.instance.popper.querySelector(n);if(!n){return e}}else{if(!e.instance.popper.contains(n)){console.warn("WARNING: `arrow.element` must be child of its popper element!");return e}}var i=e.placement.split("-")[0];var r=e.offsets,s=r.popper,a=r.reference;var o=["left","right"].indexOf(i)!==-1;var l=o?"height":"width";var f=o?"top":"left";var u=o?"left":"top";var c=o?"bottom":"right";var h=F(n)[l];if(a[c]-h<s[f]){e.offsets.popper[f]-=s[f]-(a[c]-h)}if(a[f]+h>s[c]){e.offsets.popper[f]+=a[f]+h-s[c]}var d=a[f]+a[l]/2-h/2;var p=d-D(e.offsets.popper)[f];p=Math.max(Math.min(s[l]-h,p),0);e.arrowElement=n;e.offsets.arrow={};e.offsets.arrow[f]=Math.round(p);e.offsets.arrow[u]="";return e}function oe(e){if(e==="end"){return"start"}else if(e==="start"){return"end"}return e}var le=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"];var fe=le.slice(3);function ue(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var n=fe.indexOf(e);var i=fe.slice(n+1).concat(fe.slice(0,n));return t?i.reverse():i}var ce={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function he(e,t){if(U(e.instance.modifiers,"inner")){return e}if(e.flipped&&e.placement===e.originalPlacement){return e}var n=L(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement);var i=e.placement.split("-")[0];var r=$(i);var s=e.placement.split("-")[1]||"";var a=[];switch(t.behavior){case ce.FLIP:a=[i,r];break;case ce.CLOCKWISE:a=ue(i);break;case ce.COUNTERCLOCKWISE:a=ue(i,true);break;default:a=t.behavior}a.forEach(function(o,l){if(i!==o||a.length===l+1){return e}i=e.placement.split("-")[0];r=$(i);var f=e.offsets.popper;var u=e.offsets.reference;var c=Math.floor;var h=i==="left"&&c(f.right)>c(u.left)||i==="right"&&c(f.left)<c(u.right)||i==="top"&&c(f.bottom)>c(u.top)||i==="bottom"&&c(f.top)<c(u.bottom);var d=c(f.left)<c(n.left);var p=c(f.right)>c(n.right);var m=c(f.top)<c(n.top);var g=c(f.bottom)>c(n.bottom);var v=i==="left"&&d||i==="right"&&p||i==="top"&&m||i==="bottom"&&g;var y=["top","bottom"].indexOf(i)!==-1;var b=!!t.flipVariations&&(y&&s==="start"&&d||y&&s==="end"&&p||!y&&s==="start"&&m||!y&&s==="end"&&g);if(h||v||b){e.flipped=true;if(h||v){i=a[l+1]}if(b){s=oe(s)}e.placement=i+(s?"-"+s:"");e.offsets.popper=I({},e.offsets.popper,R(e.instance.popper,e.offsets.reference,e.placement));e=q(e.instance.modifiers,e,"flip")}});return e}function de(e){var t=e.offsets,n=t.popper,i=t.reference;var r=e.placement.split("-")[0];var s=Math.floor;var a=["top","bottom"].indexOf(r)!==-1;var o=a?"right":"bottom";var l=a?"left":"top";var f=a?"width":"height";if(n[o]<s(i[l])){e.offsets.popper[l]=s(i[l])-n[f]}if(n[l]>s(i[o])){e.offsets.popper[l]=s(i[o])}return e}function pe(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/);var s=+r[1];var a=r[2];if(!s){return e}if(a.indexOf("%")===0){var o=void 0;switch(a){case"%p":o=n;break;case"%":case"%r":default:o=i}var l=D(o);return l[t]/100*s}else if(a==="vh"||a==="vw"){var f=void 0;if(a==="vh"){f=Math.max(document.documentElement.clientHeight,window.innerHeight||0)}else{f=Math.max(document.documentElement.clientWidth,window.innerWidth||0)}return f/100*s}else{return s}}function me(e,t,n,i){var r=[0,0];var s=["right","left"].indexOf(i)!==-1;var a=e.split(/(\+|\-)/).map(function(e){return e.trim()});var o=a.indexOf(W(a,function(e){return e.search(/,|\s/)!==-1}));if(a[o]&&a[o].indexOf(",")===-1){console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.")}var l=/\s*,\s*|\s+/;var f=o!==-1?[a.slice(0,o).concat([a[o].split(l)[0]]),[a[o].split(l)[1]].concat(a.slice(o+1))]:[a];f=f.map(function(e,i){var r=(i===1?!s:s)?"height":"width";var a=false;return e.reduce(function(e,t){if(e[e.length-1]===""&&["+","-"].indexOf(t)!==-1){e[e.length-1]=t;a=true;return e}else if(a){e[e.length-1]+=t;a=false;return e}else{return e.concat(t)}},[]).map(function(e){return pe(e,r,t,n)})});f.forEach(function(e,t){e.forEach(function(n,i){if(J(n)){r[t]+=n*(e[i-1]==="-"?-1:1)}})});return r}function ge(e,t){var n=t.offset;var i=e.placement,r=e.offsets,s=r.popper,a=r.reference;var o=i.split("-")[0];var l=void 0;if(J(+n)){l=[+n,0]}else{l=me(n,s,a,o)}if(o==="left"){s.top+=l[0];s.left-=l[1]}else if(o==="right"){s.top+=l[0];s.left+=l[1]}else if(o==="top"){s.left+=l[0];s.top-=l[1]}else if(o==="bottom"){s.left+=l[0];s.top+=l[1]}e.popper=s;return e}function ve(e,t){var n=t.boundariesElement||p(e.instance.popper);if(e.instance.reference===n){n=p(n)}var i=L(e.instance.popper,e.instance.reference,t.padding,n);t.boundaries=i;var r=t.priority;var s=e.offsets.popper;var a={primary:function e(n){var r=s[n];if(s[n]<i[n]&&!t.escapeWithReference){r=Math.max(s[n],i[n])}return A({},n,r)},secondary:function e(n){var r=n==="right"?"left":"top";var a=s[r];if(s[n]>i[n]&&!t.escapeWithReference){a=Math.min(s[r],i[n]-(n==="right"?s.width:s.height))}return A({},r,a)}};r.forEach(function(e){var t=["left","top"].indexOf(e)!==-1?"primary":"secondary";s=I({},s,a[t](e))});e.offsets.popper=s;return e}function ye(e){var t=e.placement;var n=t.split("-")[0];var i=t.split("-")[1];if(i){var r=e.offsets,s=r.reference,a=r.popper;var o=["bottom","top"].indexOf(n)!==-1;var l=o?"left":"top";var f=o?"width":"height";var u={start:A({},l,s[l]),end:A({},l,s[l]+s[f]-a[f])};e.offsets.popper=I({},a,u[i])}return e}function be(e){if(!se(e.instance.modifiers,"hide","preventOverflow")){return e}var t=e.offsets.reference;var n=W(e.instance.modifiers,function(e){return e.name==="preventOverflow"}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(e.hide===true){return e}e.hide=true;e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===false){return e}e.hide=false;e.attributes["x-out-of-boundaries"]=false}return e}function we(e){var t=e.placement;var n=t.split("-")[0];var i=e.offsets,r=i.popper,s=i.reference;var a=["left","right"].indexOf(n)!==-1;var o=["top","left"].indexOf(n)===-1;r[a?"left":"top"]=s[t]-(o?r[a?"width":"height"]:0);e.placement=$(t);e.offsets.popper=D(r);return e}var xe={shift:{order:100,enabled:true,fn:ye},offset:{order:200,enabled:true,fn:ge,offset:0},preventOverflow:{order:300,enabled:true,fn:ve,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:true,fn:de},arrow:{order:500,enabled:true,fn:ae,element:"[x-arrow]"},flip:{order:600,enabled:true,fn:he,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:false,fn:we},hide:{order:800,enabled:true,fn:be},computeStyle:{order:850,enabled:true,fn:re,gpuAcceleration:true,x:"bottom",y:"right"},applyStyle:{order:900,enabled:true,fn:ne,onLoad:ie,gpuAcceleration:undefined}};var Ce={placement:"bottom",eventsEnabled:true,removeOnDestroy:false,onCreate:function e(){},onUpdate:function e(){},modifiers:xe};var Te=function(){function e(t,n){var i=this;var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};S(this,e);this.scheduleUpdate=function(){return requestAnimationFrame(i.update)};this.update=f(this.update.bind(this));this.options=I({},e.Defaults,r);this.state={isDestroyed:false,isCreated:false,scrollParents:[]};this.reference=t.jquery?t[0]:t;this.popper=n.jquery?n[0]:n;this.options.modifiers={};Object.keys(I({},e.Defaults.modifiers,r.modifiers)).forEach(function(t){i.options.modifiers[t]=I({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(e){return I({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order});this.modifiers.forEach(function(e){if(e.enabled&&u(e.onLoad)){e.onLoad(i.reference,i.popper,i.options,e,i.state)}});this.update();var s=this.options.eventsEnabled;if(s){this.enableEventListeners()}this.state.eventsEnabled=s}E(e,[{key:"update",value:function e(){return V.call(this)}},{key:"destroy",value:function e(){return Y.call(this)}},{key:"enableEventListeners",value:function e(){return X.call(this)}},{key:"disableEventListeners",value:function e(){return Z.call(this)}}]);return e}();Te.Utils=(typeof window!=="undefined"?window:global).PopperUtils;Te.placements=le;Te.Defaults=Ce;return Te});(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?t(exports,require("jquery"),require("popper.js")):typeof define==="function"&&define.amd?define(["exports","jquery","popper.js"],t):t(e.bootstrap={},e.jQuery,e.Popper)})(this,function(e,t,n){"use strict";t=t&&t.hasOwnProperty("default")?t["default"]:t;n=n&&n.hasOwnProperty("default")?n["default"]:n;function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||false;i.configurable=true;if("value"in i)i.writable=true;Object.defineProperty(e,i.key,i)}}function r(e,t,n){if(t)i(e.prototype,t);if(n)i(e,n);return e}function s(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function a(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};var i=Object.keys(n);if(typeof Object.getOwnPropertySymbols==="function"){i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))}i.forEach(function(t){s(e,t,n[t])})}return e}function o(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var l=function(e){var t="transitionend";var n=1e6;var i=1e3;function r(e){return{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function s(){return{bindType:t,delegateType:t,handle:function t(n){if(e(n.target).is(this)){return n.handleObj.handler.apply(this,arguments)}return undefined}}}function a(t){var n=this;var i=false;e(this).one(l.TRANSITION_END,function(){i=true});setTimeout(function(){if(!i){l.triggerTransitionEnd(n)}},t);return this}function o(){e.fn.emulateTransitionEnd=a;e.event.special[l.TRANSITION_END]=s()}var l={TRANSITION_END:"bsTransitionEnd",getUID:function e(t){do{t+=~~(Math.random()*n)}while(document.getElementById(t));return t},getSelectorFromElement:function t(n){var i=n.getAttribute("data-target");if(!i||i==="#"){i=n.getAttribute("href")||""}try{var r=e(document).find(i);return r.length>0?i:null}catch(e){return null}},getTransitionDurationFromElement:function t(n){if(!n){return 0}var r=e(n).css("transition-duration");var s=parseFloat(r);if(!s){return 0}r=r.split(",")[0];return parseFloat(r)*i},reflow:function e(t){return t.offsetHeight},triggerTransitionEnd:function n(i){e(i).trigger(t)},supportsTransitionEnd:function e(){return Boolean(t)},isElement:function e(t){return(t[0]||t).nodeType},typeCheckConfig:function e(t,n,i){for(var s in i){if(Object.prototype.hasOwnProperty.call(i,s)){var a=i[s];var o=n[s];var f=o&&l.isElement(o)?"element":r(o);if(!new RegExp(a).test(f)){throw new Error(t.toUpperCase()+": "+('Option "'+s+'" provided type "'+f+'" ')+('but expected type "'+a+'".'))}}}}};o();return l}(t);var f=function(e){var t="alert";var n="4.1.0";var i="bs.alert";var s="."+i;var a=".data-api";var o=e.fn[t];var f={DISMISS:'[data-dismiss="alert"]'};var u={CLOSE:"close"+s,CLOSED:"closed"+s,CLICK_DATA_API:"click"+s+a};var c={ALERT:"alert",FADE:"fade",SHOW:"show"};var h=function(){function t(e){this._element=e}var s=t.prototype;s.close=function e(t){t=t||this._element;var n=this._getRootElement(t);var i=this._triggerCloseEvent(n);if(i.isDefaultPrevented()){return}this._removeElement(n)};s.dispose=function t(){e.removeData(this._element,i);this._element=null};s._getRootElement=function t(n){var i=l.getSelectorFromElement(n);var r=false;if(i){r=e(i)[0]}if(!r){r=e(n).closest("."+c.ALERT)[0]}return r};s._triggerCloseEvent=function t(n){var i=e.Event(u.CLOSE);e(n).trigger(i);return i};s._removeElement=function t(n){var i=this;e(n).removeClass(c.SHOW);if(!e(n).hasClass(c.FADE)){this._destroyElement(n);return}var r=l.getTransitionDurationFromElement(n);e(n).one(l.TRANSITION_END,function(e){return i._destroyElement(n,e)}).emulateTransitionEnd(r)};s._destroyElement=function t(n){e(n).detach().trigger(u.CLOSED).remove()};t._jQueryInterface=function n(r){return this.each(function(){var n=e(this);var s=n.data(i);if(!s){s=new t(this);n.data(i,s)}if(r==="close"){s[r](this)}})};t._handleDismiss=function e(t){return function(e){if(e){e.preventDefault()}t.close(this)}};r(t,null,[{key:"VERSION",get:function e(){return n}}]);return t}();e(document).on(u.CLICK_DATA_API,f.DISMISS,h._handleDismiss(new h));e.fn[t]=h._jQueryInterface;e.fn[t].Constructor=h;e.fn[t].noConflict=function(){e.fn[t]=o;return h._jQueryInterface};return h}(t);var u=function(e){var t="button";var n="4.1.0";var i="bs.button";var s="."+i;var a=".data-api";var o=e.fn[t];var l={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"};var f={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"};var u={CLICK_DATA_API:"click"+s+a,FOCUS_BLUR_DATA_API:"focus"+s+a+" "+("blur"+s+a)};var c=function(){function t(e){this._element=e}var s=t.prototype;s.toggle=function t(){var n=true;var i=true;var r=e(this._element).closest(f.DATA_TOGGLE)[0];if(r){var s=e(this._element).find(f.INPUT)[0];if(s){if(s.type==="radio"){if(s.checked&&e(this._element).hasClass(l.ACTIVE)){n=false}else{var a=e(r).find(f.ACTIVE)[0];if(a){e(a).removeClass(l.ACTIVE)}}}if(n){if(s.hasAttribute("disabled")||r.hasAttribute("disabled")||s.classList.contains("disabled")||r.classList.contains("disabled")){return}s.checked=!e(this._element).hasClass(l.ACTIVE);e(s).trigger("change")}s.focus();i=false}}if(i){this._element.setAttribute("aria-pressed",!e(this._element).hasClass(l.ACTIVE))}if(n){e(this._element).toggleClass(l.ACTIVE)}};s.dispose=function t(){e.removeData(this._element,i);this._element=null};t._jQueryInterface=function n(r){return this.each(function(){var n=e(this).data(i);if(!n){n=new t(this);e(this).data(i,n)}if(r==="toggle"){n[r]()}})};r(t,null,[{key:"VERSION",get:function e(){return n}}]);return t}();e(document).on(u.CLICK_DATA_API,f.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var n=t.target;if(!e(n).hasClass(l.BUTTON)){n=e(n).closest(f.BUTTON)}c._jQueryInterface.call(e(n),"toggle")}).on(u.FOCUS_BLUR_DATA_API,f.DATA_TOGGLE_CARROT,function(t){var n=e(t.target).closest(f.BUTTON)[0];e(n).toggleClass(l.FOCUS,/^focus(in)?$/.test(t.type))});e.fn[t]=c._jQueryInterface;e.fn[t].Constructor=c;e.fn[t].noConflict=function(){e.fn[t]=o;return c._jQueryInterface};return c}(t);var c=function(e){var t="carousel";var n="4.1.0";var i="bs.carousel";var s="."+i;var o=".data-api";var f=e.fn[t];var u=37;var c=39;var h=500;var d={interval:5e3,keyboard:true,slide:false,pause:"hover",wrap:true};var p={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"};var m={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"};var g={SLIDE:"slide"+s,SLID:"slid"+s,KEYDOWN:"keydown"+s,MOUSEENTER:"mouseenter"+s,MOUSELEAVE:"mouseleave"+s,TOUCHEND:"touchend"+s,LOAD_DATA_API:"load"+s+o,CLICK_DATA_API:"click"+s+o};var v={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"};var y={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"]'};var b=function(){function o(t,n){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=false;this._isSliding=false;this.touchTimeout=null;this._config=this._getConfig(n);this._element=e(t)[0];this._indicatorsElement=e(this._element).find(y.INDICATORS)[0];this._addEventListeners()}var f=o.prototype;f.next=function e(){if(!this._isSliding){this._slide(m.NEXT)}};f.nextWhenVisible=function t(){if(!document.hidden&&e(this._element).is(":visible")&&e(this._element).css("visibility")!=="hidden"){this.next()}};f.prev=function e(){if(!this._isSliding){this._slide(m.PREV)}};f.pause=function t(n){if(!n){this._isPaused=true}if(e(this._element).find(y.NEXT_PREV)[0]){l.triggerTransitionEnd(this._element);this.cycle(true)}clearInterval(this._interval);this._interval=null};f.cycle=function e(t){if(!t){this._isPaused=false}if(this._interval){clearInterval(this._interval);this._interval=null}if(this._config.interval&&!this._isPaused){this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval)}};f.to=function t(n){var i=this;this._activeElement=e(this._element).find(y.ACTIVE_ITEM)[0];var r=this._getItemIndex(this._activeElement);if(n>this._items.length-1||n<0){return}if(this._isSliding){e(this._element).one(g.SLID,function(){return i.to(n)});return}if(r===n){this.pause();this.cycle();return}var s=n>r?m.NEXT:m.PREV;this._slide(s,this._items[n])};f.dispose=function t(){e(this._element).off(s);e.removeData(this._element,i);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null};f._getConfig=function e(n){n=a({},d,n);l.typeCheckConfig(t,n,p);return n};f._addEventListeners=function t(){var n=this;if(this._config.keyboard){e(this._element).on(g.KEYDOWN,function(e){return n._keydown(e)})}if(this._config.pause==="hover"){e(this._element).on(g.MOUSEENTER,function(e){return n.pause(e)}).on(g.MOUSELEAVE,function(e){return n.cycle(e)});if("ontouchstart"in document.documentElement){e(this._element).on(g.TOUCHEND,function(){n.pause();if(n.touchTimeout){clearTimeout(n.touchTimeout)}n.touchTimeout=setTimeout(function(e){return n.cycle(e)},h+n._config.interval)})}}};f._keydown=function e(t){if(/input|textarea/i.test(t.target.tagName)){return}switch(t.which){case u:t.preventDefault();this.prev();break;case c:t.preventDefault();this.next();break;default:}};f._getItemIndex=function t(n){this._items=e.makeArray(e(n).parent().find(y.ITEM));return this._items.indexOf(n)};f._getItemByDirection=function e(t,n){var i=t===m.NEXT;var r=t===m.PREV;var s=this._getItemIndex(n);var a=this._items.length-1;var o=r&&s===0||i&&s===a;if(o&&!this._config.wrap){return n}var l=t===m.PREV?-1:1;var f=(s+l)%this._items.length;return f===-1?this._items[this._items.length-1]:this._items[f]};f._triggerSlideEvent=function t(n,i){var r=this._getItemIndex(n);var s=this._getItemIndex(e(this._element).find(y.ACTIVE_ITEM)[0]);var a=e.Event(g.SLIDE,{relatedTarget:n,direction:i,from:s,to:r});e(this._element).trigger(a);return a};f._setActiveIndicatorElement=function t(n){if(this._indicatorsElement){e(this._indicatorsElement).find(y.ACTIVE).removeClass(v.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(n)];if(i){e(i).addClass(v.ACTIVE)}}};f._slide=function t(n,i){var r=this;var s=e(this._element).find(y.ACTIVE_ITEM)[0];var a=this._getItemIndex(s);var o=i||s&&this._getItemByDirection(n,s);var f=this._getItemIndex(o);var u=Boolean(this._interval);var c;var h;var d;if(n===m.NEXT){c=v.LEFT;h=v.NEXT;d=m.LEFT}else{c=v.RIGHT;h=v.PREV;d=m.RIGHT}if(o&&e(o).hasClass(v.ACTIVE)){this._isSliding=false;return}var p=this._triggerSlideEvent(o,d);if(p.isDefaultPrevented()){return}if(!s||!o){return}this._isSliding=true;if(u){this.pause()}this._setActiveIndicatorElement(o);var b=e.Event(g.SLID,{relatedTarget:o,direction:d,from:a,to:f});if(e(this._element).hasClass(v.SLIDE)){e(o).addClass(h);l.reflow(o);e(s).addClass(c);e(o).addClass(c);var w=l.getTransitionDurationFromElement(s);e(s).one(l.TRANSITION_END,function(){e(o).removeClass(c+" "+h).addClass(v.ACTIVE);e(s).removeClass(v.ACTIVE+" "+h+" "+c);r._isSliding=false;setTimeout(function(){return e(r._element).trigger(b)},0)}).emulateTransitionEnd(w)}else{e(s).removeClass(v.ACTIVE);e(o).addClass(v.ACTIVE);this._isSliding=false;e(this._element).trigger(b)}if(u){this.cycle()}};o._jQueryInterface=function t(n){return this.each(function(){var t=e(this).data(i);var r=a({},d,e(this).data());if(typeof n==="object"){r=a({},r,n)}var s=typeof n==="string"?n:r.slide;if(!t){t=new o(this,r);e(this).data(i,t)}if(typeof n==="number"){t.to(n)}else if(typeof s==="string"){if(typeof t[s]==="undefined"){throw new TypeError('No method named "'+s+'"')}t[s]()}else if(r.interval){t.pause();t.cycle()}})};o._dataApiClickHandler=function t(n){var r=l.getSelectorFromElement(this);if(!r){return}var s=e(r)[0];if(!s||!e(s).hasClass(v.CAROUSEL)){return}var f=a({},e(s).data(),e(this).data());var u=this.getAttribute("data-slide-to");if(u){f.interval=false}o._jQueryInterface.call(e(s),f);if(u){e(s).data(i).to(u)}n.preventDefault()};r(o,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return d}}]);return o}();e(document).on(g.CLICK_DATA_API,y.DATA_SLIDE,b._dataApiClickHandler);e(window).on(g.LOAD_DATA_API,function(){e(y.DATA_RIDE).each(function(){var t=e(this);b._jQueryInterface.call(t,t.data())})});e.fn[t]=b._jQueryInterface;e.fn[t].Constructor=b;e.fn[t].noConflict=function(){e.fn[t]=f;return b._jQueryInterface};return b}(t);var h=function(e){var t="collapse";var n="4.1.0";var i="bs.collapse";var s="."+i;var o=".data-api";var f=e.fn[t];var u={toggle:true,parent:""};var c={toggle:"boolean",parent:"(string|element)"};var h={SHOW:"show"+s,SHOWN:"shown"+s,HIDE:"hide"+s,HIDDEN:"hidden"+s,CLICK_DATA_API:"click"+s+o};var d={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"};var p={WIDTH:"width",HEIGHT:"height"};var m={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'};var g=function(){function s(t,n){this._isTransitioning=false;this._element=t;this._config=this._getConfig(n);this._triggerArray=e.makeArray(e('[data-toggle="collapse"][href="#'+t.id+'"],'+('[data-toggle="collapse"][data-target="#'+t.id+'"]')));var i=e(m.DATA_TOGGLE);for(var r=0;r<i.length;r++){var s=i[r];var a=l.getSelectorFromElement(s);if(a!==null&&e(a).filter(t).length>0){this._selector=a;this._triggerArray.push(s)}}this._parent=this._config.parent?this._getParent():null;if(!this._config.parent){this._addAriaAndCollapsedClass(this._element,this._triggerArray)}if(this._config.toggle){this.toggle()}}var o=s.prototype;o.toggle=function t(){if(e(this._element).hasClass(d.SHOW)){this.hide()}else{this.show()}};o.show=function t(){var n=this;if(this._isTransitioning||e(this._element).hasClass(d.SHOW)){return}var r;var a;if(this._parent){r=e.makeArray(e(this._parent).find(m.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'));if(r.length===0){r=null}}if(r){a=e(r).not(this._selector).data(i);if(a&&a._isTransitioning){return}}var o=e.Event(h.SHOW);e(this._element).trigger(o);if(o.isDefaultPrevented()){return}if(r){s._jQueryInterface.call(e(r).not(this._selector),"hide");if(!a){e(r).data(i,null)}}var f=this._getDimension();e(this._element).removeClass(d.COLLAPSE).addClass(d.COLLAPSING);this._element.style[f]=0;if(this._triggerArray.length>0){e(this._triggerArray).removeClass(d.COLLAPSED).attr("aria-expanded",true)}this.setTransitioning(true);var u=function t(){e(n._element).removeClass(d.COLLAPSING).addClass(d.COLLAPSE).addClass(d.SHOW);n._element.style[f]="";n.setTransitioning(false);e(n._element).trigger(h.SHOWN)};var c=f[0].toUpperCase()+f.slice(1);var p="scroll"+c;var g=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,u).emulateTransitionEnd(g);this._element.style[f]=this._element[p]+"px"};o.hide=function t(){var n=this;if(this._isTransitioning||!e(this._element).hasClass(d.SHOW)){return}var i=e.Event(h.HIDE);e(this._element).trigger(i);if(i.isDefaultPrevented()){return}var r=this._getDimension();this._element.style[r]=this._element.getBoundingClientRect()[r]+"px";l.reflow(this._element);e(this._element).addClass(d.COLLAPSING).removeClass(d.COLLAPSE).removeClass(d.SHOW);if(this._triggerArray.length>0){for(var s=0;s<this._triggerArray.length;s++){var a=this._triggerArray[s];var o=l.getSelectorFromElement(a);if(o!==null){var f=e(o);if(!f.hasClass(d.SHOW)){e(a).addClass(d.COLLAPSED).attr("aria-expanded",false)}}}}this.setTransitioning(true);var u=function t(){n.setTransitioning(false);e(n._element).removeClass(d.COLLAPSING).addClass(d.COLLAPSE).trigger(h.HIDDEN)};this._element.style[r]="";var c=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,u).emulateTransitionEnd(c)};o.setTransitioning=function e(t){this._isTransitioning=t};o.dispose=function t(){e.removeData(this._element,i);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null};o._getConfig=function e(n){n=a({},u,n);n.toggle=Boolean(n.toggle);l.typeCheckConfig(t,n,c);return n};o._getDimension=function t(){var n=e(this._element).hasClass(p.WIDTH);return n?p.WIDTH:p.HEIGHT};o._getParent=function t(){var n=this;var i=null;if(l.isElement(this._config.parent)){i=this._config.parent;if(typeof this._config.parent.jquery!=="undefined"){i=this._config.parent[0]}}else{i=e(this._config.parent)[0]}var r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';e(i).find(r).each(function(e,t){n._addAriaAndCollapsedClass(s._getTargetFromElement(t),[t])});return i};o._addAriaAndCollapsedClass=function t(n,i){if(n){var r=e(n).hasClass(d.SHOW);if(i.length>0){e(i).toggleClass(d.COLLAPSED,!r).attr("aria-expanded",r)}}};s._getTargetFromElement=function t(n){var i=l.getSelectorFromElement(n);return i?e(i)[0]:null};s._jQueryInterface=function t(n){return this.each(function(){var t=e(this);var r=t.data(i);var o=a({},u,t.data(),typeof n==="object"&&n);if(!r&&o.toggle&&/show|hide/.test(n)){o.toggle=false}if(!r){r=new s(this,o);t.data(i,r)}if(typeof n==="string"){if(typeof r[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}r[n]()}})};r(s,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return u}}]);return s}();e(document).on(h.CLICK_DATA_API,m.DATA_TOGGLE,function(t){if(t.currentTarget.tagName==="A"){t.preventDefault()}var n=e(this);var r=l.getSelectorFromElement(this);e(r).each(function(){var t=e(this);var r=t.data(i);var s=r?"toggle":n.data();g._jQueryInterface.call(t,s)})});e.fn[t]=g._jQueryInterface;e.fn[t].Constructor=g;e.fn[t].noConflict=function(){e.fn[t]=f;return g._jQueryInterface};return g}(t);var d=function(e){var t="dropdown";var i="4.1.0";var s="bs.dropdown";var o="."+s;var f=".data-api";var u=e.fn[t];var c=27;var h=32;var d=9;var p=38;var m=40;var g=3;var v=new RegExp(p+"|"+m+"|"+c);var y={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK:"click"+o,CLICK_DATA_API:"click"+o+f,KEYDOWN_DATA_API:"keydown"+o+f,KEYUP_DATA_API:"keyup"+o+f};var b={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"};var w={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"};var x={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"};var C={offset:0,flip:true,boundary:"scrollParent",reference:"toggle",display:"dynamic"};var T={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"};var _=function(){function f(e,t){this._element=e;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var u=f.prototype;u.toggle=function t(){if(this._element.disabled||e(this._element).hasClass(b.DISABLED)){return}var i=f._getParentFromElement(this._element);var r=e(this._menu).hasClass(b.SHOW);f._clearMenus();if(r){return}var s={relatedTarget:this._element};var a=e.Event(y.SHOW,s);e(i).trigger(a);if(a.isDefaultPrevented()){return}if(!this._inNavbar){if(typeof n==="undefined"){throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)")}var o=this._element;if(this._config.reference==="parent"){o=i}else if(l.isElement(this._config.reference)){o=this._config.reference;if(typeof this._config.reference.jquery!=="undefined"){o=this._config.reference[0]}}if(this._config.boundary!=="scrollParent"){e(i).addClass(b.POSITION_STATIC)}this._popper=new n(o,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&e(i).closest(w.NAVBAR_NAV).length===0){e(document.body).children().on("mouseover",null,e.noop)}this._element.focus();this._element.setAttribute("aria-expanded",true);e(this._menu).toggleClass(b.SHOW);e(i).toggleClass(b.SHOW).trigger(e.Event(y.SHOWN,s))};u.dispose=function t(){e.removeData(this._element,s);e(this._element).off(o);this._element=null;this._menu=null;if(this._popper!==null){this._popper.destroy();this._popper=null}};u.update=function e(){this._inNavbar=this._detectNavbar();if(this._popper!==null){this._popper.scheduleUpdate()}};u._addEventListeners=function t(){var n=this;e(this._element).on(y.CLICK,function(e){e.preventDefault();e.stopPropagation();n.toggle()})};u._getConfig=function n(i){i=a({},this.constructor.Default,e(this._element).data(),i);l.typeCheckConfig(t,i,this.constructor.DefaultType);return i};u._getMenuElement=function t(){if(!this._menu){var n=f._getParentFromElement(this._element);this._menu=e(n).find(w.MENU)[0]}return this._menu};u._getPlacement=function t(){var n=e(this._element).parent();var i=x.BOTTOM;if(n.hasClass(b.DROPUP)){i=x.TOP;if(e(this._menu).hasClass(b.MENURIGHT)){i=x.TOPEND}}else if(n.hasClass(b.DROPRIGHT)){i=x.RIGHT}else if(n.hasClass(b.DROPLEFT)){i=x.LEFT}else if(e(this._menu).hasClass(b.MENURIGHT)){i=x.BOTTOMEND}return i};u._detectNavbar=function t(){return e(this._element).closest(".navbar").length>0};u._getPopperConfig=function e(){var t=this;var n={};if(typeof this._config.offset==="function"){n.fn=function(e){e.offsets=a({},e.offsets,t._config.offset(e.offsets)||{});return e}}else{n.offset=this._config.offset}var i={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};if(this._config.display==="static"){i.modifiers.applyStyle={enabled:false}}return i};f._jQueryInterface=function t(n){return this.each(function(){var t=e(this).data(s);var i=typeof n==="object"?n:null;if(!t){t=new f(this,i);e(this).data(s,t)}if(typeof n==="string"){if(typeof t[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}t[n]()}})};f._clearMenus=function t(n){if(n&&(n.which===g||n.type==="keyup"&&n.which!==d)){return}var i=e.makeArray(e(w.DATA_TOGGLE));for(var r=0;r<i.length;r++){var a=f._getParentFromElement(i[r]);var o=e(i[r]).data(s);var l={relatedTarget:i[r]};if(!o){continue}var u=o._menu;if(!e(a).hasClass(b.SHOW)){continue}if(n&&(n.type==="click"&&/input|textarea/i.test(n.target.tagName)||n.type==="keyup"&&n.which===d)&&e.contains(a,n.target)){continue}var c=e.Event(y.HIDE,l);e(a).trigger(c);if(c.isDefaultPrevented()){continue}if("ontouchstart"in document.documentElement){e(document.body).children().off("mouseover",null,e.noop)}i[r].setAttribute("aria-expanded","false");e(u).removeClass(b.SHOW);e(a).removeClass(b.SHOW).trigger(e.Event(y.HIDDEN,l))}};f._getParentFromElement=function t(n){var i;var r=l.getSelectorFromElement(n);if(r){i=e(r)[0]}return i||n.parentNode};f._dataApiKeydownHandler=function t(n){if(/input|textarea/i.test(n.target.tagName)?n.which===h||n.which!==c&&(n.which!==m&&n.which!==p||e(n.target).closest(w.MENU).length):!v.test(n.which)){return}n.preventDefault();n.stopPropagation();if(this.disabled||e(this).hasClass(b.DISABLED)){return}var i=f._getParentFromElement(this);var r=e(i).hasClass(b.SHOW);if(!r&&(n.which!==c||n.which!==h)||r&&(n.which===c||n.which===h)){if(n.which===c){var s=e(i).find(w.DATA_TOGGLE)[0];e(s).trigger("focus")}e(this).trigger("click");return}var a=e(i).find(w.VISIBLE_ITEMS).get();if(a.length===0){return}var o=a.indexOf(n.target);if(n.which===p&&o>0){o--}if(n.which===m&&o<a.length-1){o++}if(o<0){o=0}a[o].focus()};r(f,null,[{key:"VERSION",get:function e(){return i}},{key:"Default",get:function e(){return C}},{key:"DefaultType",get:function e(){return T}}]);return f}();e(document).on(y.KEYDOWN_DATA_API,w.DATA_TOGGLE,_._dataApiKeydownHandler).on(y.KEYDOWN_DATA_API,w.MENU,_._dataApiKeydownHandler).on(y.CLICK_DATA_API+" "+y.KEYUP_DATA_API,_._clearMenus).on(y.CLICK_DATA_API,w.DATA_TOGGLE,function(t){t.preventDefault();t.stopPropagation();_._jQueryInterface.call(e(this),"toggle")}).on(y.CLICK_DATA_API,w.FORM_CHILD,function(e){e.stopPropagation()});e.fn[t]=_._jQueryInterface;e.fn[t].Constructor=_;e.fn[t].noConflict=function(){e.fn[t]=u;return _._jQueryInterface};return _}(t,n);var p=function(e){var t="modal";var n="4.1.0";var i="bs.modal";var s="."+i;var o=".data-api";var f=e.fn[t];var u=27;var c={backdrop:true,keyboard:true,focus:true,show:true};var h={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"};var d={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,FOCUSIN:"focusin"+s,RESIZE:"resize"+s,CLICK_DISMISS:"click.dismiss"+s,KEYDOWN_DISMISS:"keydown.dismiss"+s,MOUSEUP_DISMISS:"mouseup.dismiss"+s,MOUSEDOWN_DISMISS:"mousedown.dismiss"+s,CLICK_DATA_API:"click"+s+o};var p={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"};var m={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"};var g=function(){function o(t,n){this._config=this._getConfig(n);this._element=t;this._dialog=e(t).find(m.DIALOG)[0];this._backdrop=null;this._isShown=false;this._isBodyOverflowing=false;this._ignoreBackdropClick=false;this._scrollbarWidth=0}var f=o.prototype;f.toggle=function e(t){return this._isShown?this.hide():this.show(t)};f.show=function t(n){var i=this;if(this._isTransitioning||this._isShown){return}if(e(this._element).hasClass(p.FADE)){this._isTransitioning=true}var r=e.Event(d.SHOW,{relatedTarget:n});e(this._element).trigger(r);if(this._isShown||r.isDefaultPrevented()){return}this._isShown=true;this._checkScrollbar();this._setScrollbar();this._adjustDialog();e(document.body).addClass(p.OPEN);this._setEscapeEvent();this._setResizeEvent();e(this._element).on(d.CLICK_DISMISS,m.DATA_DISMISS,function(e){return i.hide(e)});e(this._dialog).on(d.MOUSEDOWN_DISMISS,function(){e(i._element).one(d.MOUSEUP_DISMISS,function(t){if(e(t.target).is(i._element)){i._ignoreBackdropClick=true}})});this._showBackdrop(function(){return i._showElement(n)})};f.hide=function t(n){var i=this;if(n){n.preventDefault()}if(this._isTransitioning||!this._isShown){return}var r=e.Event(d.HIDE);e(this._element).trigger(r);if(!this._isShown||r.isDefaultPrevented()){return}this._isShown=false;var s=e(this._element).hasClass(p.FADE);if(s){this._isTransitioning=true}this._setEscapeEvent();this._setResizeEvent();e(document).off(d.FOCUSIN);e(this._element).removeClass(p.SHOW);e(this._element).off(d.CLICK_DISMISS);e(this._dialog).off(d.MOUSEDOWN_DISMISS);if(s){var a=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,function(e){return i._hideModal(e)}).emulateTransitionEnd(a)}else{this._hideModal()}};f.dispose=function t(){e.removeData(this._element,i);e(window,document,this._element,this._backdrop).off(s);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null};f.handleUpdate=function e(){this._adjustDialog()};f._getConfig=function e(n){n=a({},c,n);l.typeCheckConfig(t,n,h);return n};f._showElement=function t(n){var i=this;var r=e(this._element).hasClass(p.FADE);if(!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;if(r){l.reflow(this._element)}e(this._element).addClass(p.SHOW);if(this._config.focus){this._enforceFocus()}var s=e.Event(d.SHOWN,{relatedTarget:n});var a=function t(){if(i._config.focus){i._element.focus()}i._isTransitioning=false;e(i._element).trigger(s)};if(r){var o=l.getTransitionDurationFromElement(this._element);e(this._dialog).one(l.TRANSITION_END,a).emulateTransitionEnd(o)}else{a()}};f._enforceFocus=function t(){var n=this;e(document).off(d.FOCUSIN).on(d.FOCUSIN,function(t){if(document!==t.target&&n._element!==t.target&&e(n._element).has(t.target).length===0){n._element.focus()}})};f._setEscapeEvent=function t(){var n=this;if(this._isShown&&this._config.keyboard){e(this._element).on(d.KEYDOWN_DISMISS,function(e){if(e.which===u){e.preventDefault();n.hide()}})}else if(!this._isShown){e(this._element).off(d.KEYDOWN_DISMISS)}};f._setResizeEvent=function t(){var n=this;if(this._isShown){e(window).on(d.RESIZE,function(e){return n.handleUpdate(e)})}else{e(window).off(d.RESIZE)}};f._hideModal=function t(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",true);this._isTransitioning=false;this._showBackdrop(function(){e(document.body).removeClass(p.OPEN);n._resetAdjustments();n._resetScrollbar();e(n._element).trigger(d.HIDDEN)})};f._removeBackdrop=function t(){if(this._backdrop){e(this._backdrop).remove();this._backdrop=null}};f._showBackdrop=function t(n){var i=this;var r=e(this._element).hasClass(p.FADE)?p.FADE:"";if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=p.BACKDROP;if(r){e(this._backdrop).addClass(r)}e(this._backdrop).appendTo(document.body);e(this._element).on(d.CLICK_DISMISS,function(e){if(i._ignoreBackdropClick){i._ignoreBackdropClick=false;return}if(e.target!==e.currentTarget){return}if(i._config.backdrop==="static"){i._element.focus()}else{i.hide()}});if(r){l.reflow(this._backdrop)}e(this._backdrop).addClass(p.SHOW);if(!n){return}if(!r){n();return}var s=l.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(l.TRANSITION_END,n).emulateTransitionEnd(s)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(p.SHOW);var a=function e(){i._removeBackdrop();if(n){n()}};if(e(this._element).hasClass(p.FADE)){var o=l.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(l.TRANSITION_END,a).emulateTransitionEnd(o)}else{a()}}else if(n){n()}};f._adjustDialog=function e(){var t=this._element.scrollHeight>document.documentElement.clientHeight;if(!this._isBodyOverflowing&&t){this._element.style.paddingLeft=this._scrollbarWidth+"px"}if(this._isBodyOverflowing&&!t){this._element.style.paddingRight=this._scrollbarWidth+"px"}};f._resetAdjustments=function e(){this._element.style.paddingLeft="";this._element.style.paddingRight=""};f._checkScrollbar=function e(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()};f._setScrollbar=function t(){var n=this;if(this._isBodyOverflowing){e(m.FIXED_CONTENT).each(function(t,i){var r=e(i)[0].style.paddingRight;var s=e(i).css("padding-right");e(i).data("padding-right",r).css("padding-right",parseFloat(s)+n._scrollbarWidth+"px")});e(m.STICKY_CONTENT).each(function(t,i){var r=e(i)[0].style.marginRight;var s=e(i).css("margin-right");e(i).data("margin-right",r).css("margin-right",parseFloat(s)-n._scrollbarWidth+"px")});e(m.NAVBAR_TOGGLER).each(function(t,i){var r=e(i)[0].style.marginRight;var s=e(i).css("margin-right");e(i).data("margin-right",r).css("margin-right",parseFloat(s)+n._scrollbarWidth+"px")});var i=document.body.style.paddingRight;var r=e(document.body).css("padding-right");e(document.body).data("padding-right",i).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}};f._resetScrollbar=function t(){e(m.FIXED_CONTENT).each(function(t,n){var i=e(n).data("padding-right");if(typeof i!=="undefined"){e(n).css("padding-right",i).removeData("padding-right")}});e(m.STICKY_CONTENT+", "+m.NAVBAR_TOGGLER).each(function(t,n){var i=e(n).data("margin-right");if(typeof i!=="undefined"){e(n).css("margin-right",i).removeData("margin-right")}});var n=e(document.body).data("padding-right");if(typeof n!=="undefined"){e(document.body).css("padding-right",n).removeData("padding-right")}};f._getScrollbarWidth=function e(){var t=document.createElement("div");t.className=p.SCROLLBAR_MEASURER;document.body.appendChild(t);var n=t.getBoundingClientRect().width-t.clientWidth;document.body.removeChild(t);return n};o._jQueryInterface=function t(n,r){return this.each(function(){var t=e(this).data(i);var s=a({},o.Default,e(this).data(),typeof n==="object"&&n);if(!t){t=new o(this,s);e(this).data(i,t)}if(typeof n==="string"){if(typeof t[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}t[n](r)}else if(s.show){t.show(r)}})};r(o,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return c}}]);return o}();e(document).on(d.CLICK_DATA_API,m.DATA_TOGGLE,function(t){var n=this;var r;var s=l.getSelectorFromElement(this);if(s){r=e(s)[0]}var o=e(r).data(i)?"toggle":a({},e(r).data(),e(this).data());if(this.tagName==="A"||this.tagName==="AREA"){t.preventDefault()}var f=e(r).one(d.SHOW,function(t){if(t.isDefaultPrevented()){return}f.one(d.HIDDEN,function(){if(e(n).is(":visible")){n.focus()}})});g._jQueryInterface.call(e(r),o,this)});e.fn[t]=g._jQueryInterface;e.fn[t].Constructor=g;e.fn[t].noConflict=function(){e.fn[t]=f;return g._jQueryInterface};return g}(t);var m=function(e){var t="tooltip";var i="4.1.0";var s="bs.tooltip";var o="."+s;var f=e.fn[t];var u="bs-tooltip";var c=new RegExp("(^|\\s)"+u+"\\S+","g");var h={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)"};var d={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"};var p={animation:true,template:'<div class="tooltip" role="tooltip">'+'<div class="arrow"></div>'+'<div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:false,selector:false,placement:"top",offset:0,container:false,fallbackPlacement:"flip",boundary:"scrollParent"};var m={SHOW:"show",OUT:"out"};var g={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,INSERTED:"inserted"+o,CLICK:"click"+o,FOCUSIN:"focusin"+o,FOCUSOUT:"focusout"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o};var v={FADE:"fade",SHOW:"show"};var y={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"};var b={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"};var w=function(){function f(e,t){if(typeof n==="undefined"){throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)")}this._isEnabled=true;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=e;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var w=f.prototype;w.enable=function e(){this._isEnabled=true};w.disable=function e(){this._isEnabled=false};w.toggleEnabled=function e(){this._isEnabled=!this._isEnabled};w.toggle=function t(n){if(!this._isEnabled){return}if(n){var i=this.constructor.DATA_KEY;var r=e(n.currentTarget).data(i);if(!r){r=new this.constructor(n.currentTarget,this._getDelegateConfig());e(n.currentTarget).data(i,r)}r._activeTrigger.click=!r._activeTrigger.click;if(r._isWithActiveTrigger()){r._enter(null,r)}else{r._leave(null,r)}}else{if(e(this.getTipElement()).hasClass(v.SHOW)){this._leave(null,this);return}this._enter(null,this)}};w.dispose=function t(){clearTimeout(this._timeout);e.removeData(this.element,this.constructor.DATA_KEY);e(this.element).off(this.constructor.EVENT_KEY);e(this.element).closest(".modal").off("hide.bs.modal");if(this.tip){e(this.tip).remove()}this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;if(this._popper!==null){this._popper.destroy()}this._popper=null;this.element=null;this.config=null;this.tip=null};w.show=function t(){var i=this;if(e(this.element).css("display")==="none"){throw new Error("Please use show on visible elements")}var r=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(r);var s=e.contains(this.element.ownerDocument.documentElement,this.element);if(r.isDefaultPrevented()||!s){return}var a=this.getTipElement();var o=l.getUID(this.constructor.NAME);a.setAttribute("id",o);this.element.setAttribute("aria-describedby",o);this.setContent();if(this.config.animation){e(a).addClass(v.FADE)}var f=typeof this.config.placement==="function"?this.config.placement.call(this,a,this.element):this.config.placement;var u=this._getAttachment(f);this.addAttachmentClass(u);var c=this.config.container===false?document.body:e(this.config.container);e(a).data(this.constructor.DATA_KEY,this);if(!e.contains(this.element.ownerDocument.documentElement,this.tip)){e(a).appendTo(c)}e(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new n(this.element,a,{placement:u,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:y.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function e(t){if(t.originalPlacement!==t.placement){i._handlePopperPlacementChange(t)}},onUpdate:function e(t){i._handlePopperPlacementChange(t)}});e(a).addClass(v.SHOW);if("ontouchstart"in document.documentElement){e(document.body).children().on("mouseover",null,e.noop)}var h=function t(){if(i.config.animation){i._fixTransition()}var n=i._hoverState;i._hoverState=null;e(i.element).trigger(i.constructor.Event.SHOWN);if(n===m.OUT){i._leave(null,i)}};if(e(this.tip).hasClass(v.FADE)){var d=l.getTransitionDurationFromElement(this.tip);e(this.tip).one(l.TRANSITION_END,h).emulateTransitionEnd(d)}else{h()}}};w.hide=function t(n){var i=this;var r=this.getTipElement();var s=e.Event(this.constructor.Event.HIDE);var a=function t(){if(i._hoverState!==m.SHOW&&r.parentNode){r.parentNode.removeChild(r)}i._cleanTipClass();i.element.removeAttribute("aria-describedby");e(i.element).trigger(i.constructor.Event.HIDDEN);if(i._popper!==null){i._popper.destroy()}if(n){n()}};e(this.element).trigger(s);if(s.isDefaultPrevented()){return}e(r).removeClass(v.SHOW);if("ontouchstart"in document.documentElement){e(document.body).children().off("mouseover",null,e.noop)}this._activeTrigger[b.CLICK]=false;this._activeTrigger[b.FOCUS]=false;this._activeTrigger[b.HOVER]=false;if(e(this.tip).hasClass(v.FADE)){var o=l.getTransitionDurationFromElement(r);e(r).one(l.TRANSITION_END,a).emulateTransitionEnd(o)}else{a()}this._hoverState=""};w.update=function e(){if(this._popper!==null){this._popper.scheduleUpdate()}};w.isWithContent=function e(){return Boolean(this.getTitle())};w.addAttachmentClass=function t(n){e(this.getTipElement()).addClass(u+"-"+n)};w.getTipElement=function t(){this.tip=this.tip||e(this.config.template)[0];return this.tip};w.setContent=function t(){var n=e(this.getTipElement());this.setElementContent(n.find(y.TOOLTIP_INNER),this.getTitle());n.removeClass(v.FADE+" "+v.SHOW)};w.setElementContent=function t(n,i){var r=this.config.html;if(typeof i==="object"&&(i.nodeType||i.jquery)){if(r){if(!e(i).parent().is(n)){n.empty().append(i)}}else{n.text(e(i).text())}}else{n[r?"html":"text"](i)}};w.getTitle=function e(){var t=this.element.getAttribute("data-original-title");if(!t){t=typeof this.config.title==="function"?this.config.title.call(this.element):this.config.title}return t};w._getAttachment=function e(t){return d[t.toUpperCase()]};w._setListeners=function t(){var n=this;var i=this.config.trigger.split(" ");i.forEach(function(t){if(t==="click"){e(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)})}else if(t!==b.MANUAL){var i=t===b.HOVER?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN;var r=t===b.HOVER?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;e(n.element).on(i,n.config.selector,function(e){return n._enter(e)}).on(r,n.config.selector,function(e){return n._leave(e)})}e(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})});if(this.config.selector){this.config=a({},this.config,{trigger:"manual",selector:""})}else{this._fixTitle()}};w._fixTitle=function e(){var t=typeof this.element.getAttribute("data-original-title");if(this.element.getAttribute("title")||t!=="string"){this.element.setAttribute("data-original-title",this.element.getAttribute("title")||"");this.element.setAttribute("title","")}};w._enter=function t(n,i){var r=this.constructor.DATA_KEY;i=i||e(n.currentTarget).data(r);if(!i){i=new this.constructor(n.currentTarget,this._getDelegateConfig());e(n.currentTarget).data(r,i)}if(n){i._activeTrigger[n.type==="focusin"?b.FOCUS:b.HOVER]=true}if(e(i.getTipElement()).hasClass(v.SHOW)||i._hoverState===m.SHOW){i._hoverState=m.SHOW;return}clearTimeout(i._timeout);i._hoverState=m.SHOW;if(!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){if(i._hoverState===m.SHOW){i.show()}},i.config.delay.show)};w._leave=function t(n,i){var r=this.constructor.DATA_KEY;i=i||e(n.currentTarget).data(r);if(!i){i=new this.constructor(n.currentTarget,this._getDelegateConfig());e(n.currentTarget).data(r,i)}if(n){i._activeTrigger[n.type==="focusout"?b.FOCUS:b.HOVER]=false}if(i._isWithActiveTrigger()){return}clearTimeout(i._timeout);i._hoverState=m.OUT;if(!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){if(i._hoverState===m.OUT){i.hide()}},i.config.delay.hide)};w._isWithActiveTrigger=function e(){for(var t in this._activeTrigger){if(this._activeTrigger[t]){return true}}return false};w._getConfig=function n(i){i=a({},this.constructor.Default,e(this.element).data(),i);if(typeof i.delay==="number"){i.delay={show:i.delay,hide:i.delay}}if(typeof i.title==="number"){i.title=i.title.toString()}if(typeof i.content==="number"){i.content=i.content.toString()}l.typeCheckConfig(t,i,this.constructor.DefaultType);return i};w._getDelegateConfig=function e(){var t={};if(this.config){for(var n in this.config){if(this.constructor.Default[n]!==this.config[n]){t[n]=this.config[n]}}}return t};w._cleanTipClass=function t(){var n=e(this.getTipElement());var i=n.attr("class").match(c);if(i!==null&&i.length>0){n.removeClass(i.join(""))}};w._handlePopperPlacementChange=function e(t){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(t.placement))};w._fixTransition=function t(){var n=this.getTipElement();var i=this.config.animation;if(n.getAttribute("x-placement")!==null){return}e(n).removeClass(v.FADE);this.config.animation=false;this.hide();this.show();this.config.animation=i};f._jQueryInterface=function t(n){return this.each(function(){var t=e(this).data(s);var i=typeof n==="object"&&n;if(!t&&/dispose|hide/.test(n)){return}if(!t){t=new f(this,i);e(this).data(s,t)}if(typeof n==="string"){if(typeof t[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}t[n]()}})};r(f,null,[{key:"VERSION",get:function e(){return i}},{key:"Default",get:function e(){return p}},{key:"NAME",get:function e(){return t}},{key:"DATA_KEY",get:function e(){return s}},{key:"Event",get:function e(){return g}},{key:"EVENT_KEY",get:function e(){return o}},{key:"DefaultType",get:function e(){return h}}]);return f}();e.fn[t]=w._jQueryInterface;e.fn[t].Constructor=w;e.fn[t].noConflict=function(){e.fn[t]=f;return w._jQueryInterface};return w}(t,n);var g=function(e){var t="popover";var n="4.1.0";var i="bs.popover";var s="."+i;var l=e.fn[t];var f="bs-popover";var u=new RegExp("(^|\\s)"+f+"\\S+","g");var c=a({},m.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>'});var h=a({},m.DefaultType,{content:"(string|element|function)"});var d={FADE:"fade",SHOW:"show"};var p={TITLE:".popover-header",CONTENT:".popover-body"};var g={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,INSERTED:"inserted"+s,CLICK:"click"+s,FOCUSIN:"focusin"+s,FOCUSOUT:"focusout"+s,MOUSEENTER:"mouseenter"+s,MOUSELEAVE:"mouseleave"+s};var v=function(a){o(l,a);function l(){return a.apply(this,arguments)||this}var m=l.prototype;m.isWithContent=function e(){return this.getTitle()||this._getContent()};m.addAttachmentClass=function t(n){e(this.getTipElement()).addClass(f+"-"+n)};m.getTipElement=function t(){this.tip=this.tip||e(this.config.template)[0];return this.tip};m.setContent=function t(){var n=e(this.getTipElement());this.setElementContent(n.find(p.TITLE),this.getTitle());var i=this._getContent();if(typeof i==="function"){i=i.call(this.element)}this.setElementContent(n.find(p.CONTENT),i);n.removeClass(d.FADE+" "+d.SHOW)};m._getContent=function e(){return this.element.getAttribute("data-content")||this.config.content};m._cleanTipClass=function t(){var n=e(this.getTipElement());var i=n.attr("class").match(u);if(i!==null&&i.length>0){n.removeClass(i.join(""))}};l._jQueryInterface=function t(n){return this.each(function(){var t=e(this).data(i);var r=typeof n==="object"?n:null;if(!t&&/destroy|hide/.test(n)){return}if(!t){t=new l(this,r);e(this).data(i,t)}if(typeof n==="string"){if(typeof t[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}t[n]()}})};r(l,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return c}},{key:"NAME",get:function e(){return t}},{key:"DATA_KEY",get:function e(){return i}},{key:"Event",get:function e(){return g}},{key:"EVENT_KEY",get:function e(){return s}},{key:"DefaultType",get:function e(){return h}}]);return l}(m);e.fn[t]=v._jQueryInterface;e.fn[t].Constructor=v;e.fn[t].noConflict=function(){e.fn[t]=l;return v._jQueryInterface};return v}(t);var v=function(e){var t="scrollspy";var n="4.1.0";var i="bs.scrollspy";var s="."+i;var o=".data-api";var f=e.fn[t];var u={offset:10,method:"auto",target:""};var c={offset:"number",method:"string",target:"(string|element)"};var h={ACTIVATE:"activate"+s,SCROLL:"scroll"+s,LOAD_DATA_API:"load"+s+o};var d={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"};var p={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"};var m={OFFSET:"offset",POSITION:"position"};var g=function(){function o(t,n){var i=this;this._element=t;this._scrollElement=t.tagName==="BODY"?window:t;this._config=this._getConfig(n);this._selector=this._config.target+" "+p.NAV_LINKS+","+(this._config.target+" "+p.LIST_ITEMS+",")+(this._config.target+" "+p.DROPDOWN_ITEMS);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;e(this._scrollElement).on(h.SCROLL,function(e){return i._process(e)});this.refresh();this._process()}var f=o.prototype;f.refresh=function t(){var n=this;var i=this._scrollElement===this._scrollElement.window?m.OFFSET:m.POSITION;var r=this._config.method==="auto"?i:this._config.method;var s=r===m.POSITION?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();var a=e.makeArray(e(this._selector));a.map(function(t){var n;var i=l.getSelectorFromElement(t);if(i){n=e(i)[0]}if(n){var a=n.getBoundingClientRect();if(a.width||a.height){return[e(n)[r]().top+s,i]}}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){n._offsets.push(e[0]);n._targets.push(e[1])})};f.dispose=function t(){e.removeData(this._element,i);e(this._scrollElement).off(s);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null};f._getConfig=function n(i){i=a({},u,i);if(typeof i.target!=="string"){var r=e(i.target).attr("id");if(!r){r=l.getUID(t);e(i.target).attr("id",r)}i.target="#"+r}l.typeCheckConfig(t,i,c);return i};f._getScrollTop=function e(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop};f._getScrollHeight=function e(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)};f._getOffsetHeight=function e(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height};f._process=function e(){var t=this._getScrollTop()+this._config.offset;var n=this._getScrollHeight();var i=this._config.offset+n-this._getOffsetHeight();if(this._scrollHeight!==n){this.refresh()}if(t>=i){var r=this._targets[this._targets.length-1];if(this._activeTarget!==r){this._activate(r)}return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(var s=this._offsets.length;s--;){var a=this._activeTarget!==this._targets[s]&&t>=this._offsets[s]&&(typeof this._offsets[s+1]==="undefined"||t<this._offsets[s+1]);if(a){this._activate(this._targets[s])}}};f._activate=function t(n){this._activeTarget=n;this._clear();var i=this._selector.split(",");i=i.map(function(e){return e+'[data-target="'+n+'"],'+(e+'[href="'+n+'"]')});var r=e(i.join(","));if(r.hasClass(d.DROPDOWN_ITEM)){r.closest(p.DROPDOWN).find(p.DROPDOWN_TOGGLE).addClass(d.ACTIVE);r.addClass(d.ACTIVE)}else{r.addClass(d.ACTIVE);r.parents(p.NAV_LIST_GROUP).prev(p.NAV_LINKS+", "+p.LIST_ITEMS).addClass(d.ACTIVE);r.parents(p.NAV_LIST_GROUP).prev(p.NAV_ITEMS).children(p.NAV_LINKS).addClass(d.ACTIVE)}e(this._scrollElement).trigger(h.ACTIVATE,{relatedTarget:n})};f._clear=function t(){e(this._selector).filter(p.ACTIVE).removeClass(d.ACTIVE)};o._jQueryInterface=function t(n){return this.each(function(){var t=e(this).data(i);var r=typeof n==="object"&&n;if(!t){t=new o(this,r);e(this).data(i,t)}if(typeof n==="string"){if(typeof t[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}t[n]()}})};r(o,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return u}}]);return o}();e(window).on(h.LOAD_DATA_API,function(){var t=e.makeArray(e(p.DATA_SPY));for(var n=t.length;n--;){var i=e(t[n]);g._jQueryInterface.call(i,i.data())}});e.fn[t]=g._jQueryInterface;e.fn[t].Constructor=g;e.fn[t].noConflict=function(){e.fn[t]=f;return g._jQueryInterface};return g}(t);var y=function(e){var t="tab";var n="4.1.0";var i="bs.tab";var s="."+i;var a=".data-api";var o=e.fn[t];var f={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,CLICK_DATA_API:"click"+s+a};var u={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"};var c={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"};var h=function(){function t(e){this._element=e}var s=t.prototype;s.show=function t(){var n=this;if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(u.ACTIVE)||e(this._element).hasClass(u.DISABLED)){return}var i;var r;var s=e(this._element).closest(c.NAV_LIST_GROUP)[0];var a=l.getSelectorFromElement(this._element);if(s){var o=s.nodeName==="UL"?c.ACTIVE_UL:c.ACTIVE;r=e.makeArray(e(s).find(o));r=r[r.length-1]}var h=e.Event(f.HIDE,{relatedTarget:this._element});var d=e.Event(f.SHOW,{relatedTarget:r});if(r){e(r).trigger(h)}e(this._element).trigger(d);if(d.isDefaultPrevented()||h.isDefaultPrevented()){return}if(a){i=e(a)[0]}this._activate(this._element,s);var p=function t(){var i=e.Event(f.HIDDEN,{relatedTarget:n._element});var s=e.Event(f.SHOWN,{relatedTarget:r});e(r).trigger(i);e(n._element).trigger(s)};if(i){this._activate(i,i.parentNode,p)}else{p()}};s.dispose=function t(){e.removeData(this._element,i);this._element=null};s._activate=function t(n,i,r){var s=this;var a;if(i.nodeName==="UL"){a=e(i).find(c.ACTIVE_UL)}else{a=e(i).children(c.ACTIVE)}var o=a[0];var f=r&&o&&e(o).hasClass(u.FADE);var h=function e(){return s._transitionComplete(n,o,r)};if(o&&f){var d=l.getTransitionDurationFromElement(o);e(o).one(l.TRANSITION_END,h).emulateTransitionEnd(d)}else{h()}};s._transitionComplete=function t(n,i,r){if(i){e(i).removeClass(u.SHOW+" "+u.ACTIVE);var s=e(i.parentNode).find(c.DROPDOWN_ACTIVE_CHILD)[0];if(s){e(s).removeClass(u.ACTIVE)}if(i.getAttribute("role")==="tab"){i.setAttribute("aria-selected",false)}}e(n).addClass(u.ACTIVE);if(n.getAttribute("role")==="tab"){n.setAttribute("aria-selected",true)}l.reflow(n);e(n).addClass(u.SHOW);if(n.parentNode&&e(n.parentNode).hasClass(u.DROPDOWN_MENU)){var a=e(n).closest(c.DROPDOWN)[0];if(a){e(a).find(c.DROPDOWN_TOGGLE).addClass(u.ACTIVE)}n.setAttribute("aria-expanded",true)}if(r){r()}};t._jQueryInterface=function n(r){return this.each(function(){var n=e(this);var s=n.data(i);if(!s){s=new t(this);n.data(i,s)}if(typeof r==="string"){if(typeof s[r]==="undefined"){throw new TypeError('No method named "'+r+'"')}s[r]()}})};r(t,null,[{key:"VERSION",get:function e(){return n}}]);return t}();e(document).on(f.CLICK_DATA_API,c.DATA_TOGGLE,function(t){t.preventDefault();h._jQueryInterface.call(e(this),"show")});e.fn[t]=h._jQueryInterface;e.fn[t].Constructor=h;e.fn[t].noConflict=function(){e.fn[t]=o;return h._jQueryInterface};return h}(t);(function(e){if(typeof e==="undefined"){throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.")}var t=e.fn.jquery.split(" ")[0].split(".");var n=1;var i=2;var r=9;var s=1;var a=4;if(t[0]<i&&t[1]<r||t[0]===n&&t[1]===r&&t[2]<s||t[0]>=a){throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}})(t);e.Util=l;e.Alert=f;e.Button=u;e.Carousel=c;e.Collapse=h;e.Dropdown=d;e.Modal=p;e.Popover=g;e.Scrollspy=v;e.Tab=y;e.Tooltip=m;Object.defineProperty(e,"__esModule",{value:true})});(function(e,t,n,i){"use strict";if(!n){return}if(n.fn.fancybox){if("console"in e){console.log("fancyBox already initialized")}return}var r={loop:false,margin:[44,0],gutter:50,keyboard:true,arrows:true,infobar:true,toolbar:true,buttons:["slideShow","fullScreen","thumbs","share","close"],idleTime:3,smallBtn:"auto",protect:false,modal:false,image:{preload:"auto"},ajax:{settings:{data:{fancybox:true}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>',preload:true,css:{},attr:{scrolling:"auto"}},defaultType:"image",animationEffect:"zoom",animationDuration:500,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1">'+'<div class="fancybox-bg"></div>'+'<div class="fancybox-inner">'+'<div class="fancybox-infobar">'+"<span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span>"+"</div>"+'<div class="fancybox-toolbar">{{buttons}}</div>'+'<div class="fancybox-navigation">{{arrows}}</div>'+'<div class="fancybox-stage"></div>'+'<div class="fancybox-caption-wrap"><div class="fancybox-caption"></div></div>'+"</div>"+"</div>",spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}<p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}">'+'<svg viewBox="0 0 40 40">'+'<path d="M20,23 L20,8 L20,23 L13,16 L20,23 L27,16 L20,23 M26,28 L13,28 L27,28 L14,28" />'+"</svg>"+"</a>",zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}">'+'<svg viewBox="0 0 40 40">'+'<path d="M 18,17 m-8,0 a 8,8 0 1,0 16,0 a 8,8 0 1,0 -16,0 M25,23 L31,29 L25,23" />'+"</svg>"+"</button>",close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}">'+'<svg viewBox="0 0 40 40">'+'<path d="M10,10 L30,30 M30,10 L10,30" />'+"</svg>"+"</button>",smallBtn:'<button data-fancybox-close class="fancybox-close-small" title="{{CLOSE}}"></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}">'+'<svg viewBox="0 0 40 40">'+'<path d="M10,20 L30,20 L10,20 L18,28 L10,20 L18,12 L10,20"></path>'+"</svg>"+"</button>",arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}">'+'<svg viewBox="0 0 40 40">'+'<path d="M30,20 L10,20 L30,20 L22,28 L30,20 L22,12 L30,20"></path>'+"</svg>"+"</button>"},parentEl:"body",autoFocus:false,backFocus:true,trapFocus:true,fullScreen:{autoStart:false},touch:{vertical:true,momentum:true},hash:null,media:{},slideShow:{autoStart:false,speed:4e3},thumbs:{autoStart:false,hideOnClose:true,parentEl:".fancybox-container",axis:"y"},onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(e,t){return e.type==="image"?"zoom":false},clickSlide:"close",clickOutside:"close",dblclickContent:false,dblclickSlide:false,dblclickOutside:false,mobile:{margin:0,clickContent:function(e,t){return e.type==="image"?"toggleControls":false},clickSlide:function(e,t){return e.type==="image"?"toggleControls":"close"},dblclickContent:function(e,t){return e.type==="image"?"zoom":false},dblclickSlide:function(e,t){return e.type==="image"?"zoom":false}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schliessen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Maßstab"}}};var s=n(e);var a=n(t);var o=0;var l=function(e){return e&&e.hasOwnProperty&&e instanceof n};var f=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)}}();var u=function(){var e,n=t.createElement("fakeelement");var r={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in r){if(n.style[e]!==i){return r[e]}}return"transitionend"}();var c=function(e){return e&&e.length&&e[0].offsetHeight};var h=function(e,i,r){var s=this;s.opts=n.extend(true,{index:r},n.fancybox.defaults,i||{});if(n.fancybox.isMobile){s.opts=n.extend(true,{},s.opts,s.opts.mobile)}if(i&&n.isArray(i.buttons)){s.opts.buttons=i.buttons}s.id=s.opts.id||++o;s.group=[];s.currIndex=parseInt(s.opts.index,10)||0;s.prevIndex=null;s.prevPos=null;s.currPos=0;s.firstRun=null;s.createGroup(e);if(!s.group.length){return}s.$lastFocus=n(t.activeElement).blur();s.slides={};s.init()};n.extend(h.prototype,{init:function(){var r=this,s=r.group[r.currIndex],o=s.opts,l=n.fancybox.scrollbarWidth,f,u,c;r.scrollTop=a.scrollTop();r.scrollLeft=a.scrollLeft();if(!n.fancybox.getInstance()){n("body").addClass("fancybox-active");if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!e.MSStream){if(s.type!=="image"){n("body").css("top",n("body").scrollTop()*-1).addClass("fancybox-iosfix")}}else if(!n.fancybox.isMobile&&t.body.scrollHeight>e.innerHeight){if(l===i){f=n('<div style="width:50px;height:50px;overflow:scroll;" />').appendTo("body");l=n.fancybox.scrollbarWidth=f[0].offsetWidth-f[0].clientWidth;f.remove()}n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar { margin-right: '+l+"px; }</style>");n("body").addClass("compensate-for-scrollbar")}}c="";n.each(o.buttons,function(e,t){c+=o.btnTpl[t]||""});u=n(r.translate(r,o.baseTpl.replace("{{buttons}}",c).replace("{{arrows}}",o.btnTpl.arrowLeft+o.btnTpl.arrowRight))).attr("id","fancybox-container-"+r.id).addClass("fancybox-is-hidden").addClass(o.baseClass).data("FancyBox",r).appendTo(o.parentEl);r.$refs={container:u};["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(e){r.$refs[e]=u.find(".fancybox-"+e)});r.trigger("onInit");r.activate();r.jumpTo(r.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang];return t.replace(/\{\{(\w+)\}\}/g,function(e,t){var r=n[t];if(r===i){return e}return r})},createGroup:function(e){var t=this;var r=n.makeArray(e);n.each(r,function(e,r){var s={},a={},o,l,f,u;if(n.isPlainObject(r)){s=r;a=r.opts||r}else if(n.type(r)==="object"&&n(r).length){o=n(r);a=o.data();a=n.extend({},a,a.options||{});a.$orig=o;s.src=a.src||o.attr("href");if(!s.type&&!s.src){s.type="inline";s.src=r}}else{s={type:"html",src:r+""}}s.opts=n.extend(true,{},t.opts,a);if(n.isArray(a.buttons)){s.opts.buttons=a.buttons}l=s.type||s.opts.type;f=s.src||"";if(!l&&f){if(f.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)){l="image"}else if(f.match(/\.(pdf)((\?|#).*)?$/i)){l="pdf"}else if(f.charAt(0)==="#"){l="inline"}}if(l){s.type=l}else{t.trigger("objectNeedsType",s)}s.index=t.group.length;if(s.opts.$orig&&!s.opts.$orig.length){delete s.opts.$orig}if(!s.opts.$thumb&&s.opts.$orig){s.opts.$thumb=s.opts.$orig.find("img:first")}if(s.opts.$thumb&&!s.opts.$thumb.length){delete s.opts.$thumb}if(n.type(s.opts.caption)==="function"){s.opts.caption=s.opts.caption.apply(r,[t,s])}if(n.type(t.opts.caption)==="function"){s.opts.caption=t.opts.caption.apply(r,[t,s])}if(!(s.opts.caption instanceof n)){s.opts.caption=s.opts.caption===i?"":s.opts.caption+""}if(l==="ajax"){u=f.split(/\s+/,2);if(u.length>1){s.src=u.shift();s.opts.filter=u.shift()}}if(s.opts.smallBtn=="auto"){if(n.inArray(l,["html","inline","ajax"])>-1){s.opts.toolbar=false;s.opts.smallBtn=true}else{s.opts.smallBtn=false}}if(l==="pdf"){s.type="iframe";s.opts.iframe.preload=false}if(s.opts.modal){s.opts=n.extend(true,s.opts,{infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:false,clickSlide:false,clickOutside:false,dblclickContent:false,dblclickSlide:false,dblclickOutside:false})}t.group.push(s)})},addEvents:function(){var i=this;i.removeEvents();i.$refs.container.on("click.fb-close","[data-fancybox-close]",function(e){e.stopPropagation();e.preventDefault();i.close(e)}).on("click.fb-prev touchend.fb-prev","[data-fancybox-prev]",function(e){e.stopPropagation();e.preventDefault();i.previous()}).on("click.fb-next touchend.fb-next","[data-fancybox-next]",function(e){e.stopPropagation();e.preventDefault();i.next()}).on("click.fb","[data-fancybox-zoom]",function(e){i[i.isScaledDown()?"scaleToActual":"scaleToFit"]()});s.on("orientationchange.fb resize.fb",function(e){if(e&&e.originalEvent&&e.originalEvent.type==="resize"){f(function(){i.update()})}else{i.$refs.stage.hide();setTimeout(function(){i.$refs.stage.show();i.update()},600)}});a.on("focusin.fb",function(e){var r=n.fancybox?n.fancybox.getInstance():null;if(r.isClosing||!r.current||!r.current.opts.trapFocus||n(e.target).hasClass("fancybox-container")||n(e.target).is(t)){return}if(r&&n(e.target).css("position")!=="fixed"&&!r.$refs.container.has(e.target).length){e.stopPropagation();r.focus();s.scrollTop(i.scrollTop).scrollLeft(i.scrollLeft)}});a.on("keydown.fb",function(e){var t=i.current,r=e.keyCode||e.which;if(!t||!t.opts.keyboard){return}if(n(e.target).is("input")||n(e.target).is("textarea")){return}if(r===8||r===27){e.preventDefault();i.close(e);return}if(r===37||r===38){e.preventDefault();i.previous();return}if(r===39||r===40){e.preventDefault();i.next();return}i.trigger("afterKeydown",e,r)});if(i.group[i.currIndex].opts.idleTime){i.idleSecondsCounter=0;a.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(e){i.idleSecondsCounter=0;if(i.isIdle){i.showControls()}i.isIdle=false});i.idleInterval=e.setInterval(function(){i.idleSecondsCounter++;if(i.idleSecondsCounter>=i.group[i.currIndex].opts.idleTime){i.isIdle=true;i.idleSecondsCounter=0;i.hideControls()}},1e3)}},removeEvents:function(){var t=this;s.off("orientationchange.fb resize.fb");a.off("focusin.fb keydown.fb .fb-idle");this.$refs.container.off(".fb-close .fb-prev .fb-next");if(t.idleInterval){e.clearInterval(t.idleInterval);t.idleInterval=null}},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,t,r){var s=this,a,o,l,f,u,h,d;var p=s.group.length;if(s.isSliding||s.isClosing||s.isAnimating&&s.firstRun){return}e=parseInt(e,10);o=s.current?s.current.opts.loop:s.opts.loop;if(!o&&(e<0||e>=p)){return false}a=s.firstRun=s.firstRun===null;if(p<2&&!a&&!!s.isSliding){return}f=s.current;s.prevIndex=s.currIndex;s.prevPos=s.currPos;l=s.createSlide(e);if(p>1){if(o||l.index>0){s.createSlide(e-1)}if(o||l.index<p-1){s.createSlide(e+1)}}s.current=l;s.currIndex=l.index;s.currPos=l.pos;s.trigger("beforeShow",a);s.updateControls();h=n.fancybox.getTranslate(l.$slide);l.isMoved=(h.left!==0||h.top!==0)&&!l.$slide.hasClass("fancybox-animated");l.forcedDuration=i;if(n.isNumeric(t)){l.forcedDuration=t}else{t=l.opts[a?"animationDuration":"transitionDuration"]}t=parseInt(t,10);if(a){if(l.opts.animationEffect&&t){s.$refs.container.css("transition-duration",t+"ms")}s.$refs.container.removeClass("fancybox-is-hidden");c(s.$refs.container);s.$refs.container.addClass("fancybox-is-open");l.$slide.addClass("fancybox-slide--current");s.loadSlide(l);s.preload();return}n.each(s.slides,function(e,t){n.fancybox.stop(t.$slide)});l.$slide.removeClass("fancybox-slide--next fancybox-slide--previous").addClass("fancybox-slide--current");if(l.isMoved){u=Math.round(l.$slide.width());n.each(s.slides,function(e,i){var r=i.pos-l.pos;n.fancybox.animate(i.$slide,{top:0,left:r*u+r*i.opts.gutter},t,function(){i.$slide.removeAttr("style").removeClass("fancybox-slide--next fancybox-slide--previous");if(i.pos===s.currPos){l.isMoved=false;s.complete()}})})}else{s.$refs.stage.children().removeAttr("style")}if(l.isLoaded){s.revealContent(l)}else{s.loadSlide(l)}s.preload();if(f.pos===l.pos){return}d="fancybox-slide--"+(f.pos>l.pos?"next":"previous");f.$slide.removeClass("fancybox-slide--complete fancybox-slide--current fancybox-slide--next fancybox-slide--previous");f.isComplete=false;if(!t||!l.isMoved&&!l.opts.transitionEffect){return}if(l.isMoved){f.$slide.addClass(d)}else{d="fancybox-animated "+d+" fancybox-fx-"+l.opts.transitionEffect;n.fancybox.animate(f.$slide,d,t,function(){f.$slide.removeClass(d).removeAttr("style")})}},createSlide:function(e){var t=this;var i;var r;r=e%t.group.length;r=r<0?t.group.length+r:r;if(!t.slides[e]&&t.group[r]){i=n('<div class="fancybox-slide"></div>').appendTo(t.$refs.stage);t.slides[e]=n.extend(true,{},t.group[r],{pos:e,$slide:i,isLoaded:false});t.updateSlide(t.slides[e])}return t.slides[e]},scaleToActual:function(e,t,r){var s=this;var a=s.current;var o=a.$content;var l,f,u,c,h;var d=parseInt(a.$slide.width(),10);var p=parseInt(a.$slide.height(),10);var m=a.width;var g=a.height;if(!(a.type=="image"&&!a.hasError)||!o||s.isAnimating){return}n.fancybox.stop(o);s.isAnimating=true;e=e===i?d*.5:e;t=t===i?p*.5:t;l=n.fancybox.getTranslate(o);c=m/l.width;h=g/l.height;f=d*.5-m*.5;u=p*.5-g*.5;if(m>d){f=l.left*c-(e*c-e);if(f>0){f=0}if(f<d-m){f=d-m}}if(g>p){u=l.top*h-(t*h-t);if(u>0){u=0}if(u<p-g){u=p-g}}s.updateCursor(m,g);n.fancybox.animate(o,{top:u,left:f,scaleX:c,scaleY:h},r||330,function(){s.isAnimating=false});if(s.SlideShow&&s.SlideShow.isActive){s.SlideShow.stop()}},scaleToFit:function(e){var t=this;var i=t.current;var r=i.$content;var s;if(!(i.type=="image"&&!i.hasError)||!r||t.isAnimating){return}n.fancybox.stop(r);t.isAnimating=true;s=t.getFitPos(i);t.updateCursor(s.width,s.height);n.fancybox.animate(r,{top:s.top,left:s.left,scaleX:s.width/r.width(),scaleY:s.height/r.height()},e||330,function(){t.isAnimating=false})},getFitPos:function(e){var t=this;var i=e.$content;var r=e.width;var s=e.height;var a=e.opts.margin;var o,l,f,u,c;if(!i||!i.length||!r&&!s){return false}if(n.type(a)==="number"){a=[a,a]}if(a.length==2){a=[a[0],a[1],a[0],a[1]]}o=parseInt(t.$refs.stage.width(),10)-(a[1]+a[3]);l=parseInt(t.$refs.stage.height(),10)-(a[0]+a[2]);f=Math.min(1,o/r,l/s);u=Math.floor(f*r);c=Math.floor(f*s);return{top:Math.floor((l-c)*.5)+a[0],left:Math.floor((o-u)*.5)+a[3],width:u,height:c}},update:function(){var e=this;n.each(e.slides,function(t,n){e.updateSlide(n)})},updateSlide:function(e){var t=this;var i=e.$content;if(i&&(e.width||e.height)){t.isAnimating=false;n.fancybox.stop(i);n.fancybox.setTranslate(i,t.getFitPos(e));if(e.pos===t.currPos){t.updateCursor()}}e.$slide.trigger("refresh");t.trigger("onUpdate",e)},updateCursor:function(e,t){var n=this;var r;var s=n.$refs.container.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-drag fancybox-can-zoomOut");if(!n.current||n.isClosing){return}if(n.isZoomable()){s.addClass("fancybox-is-zoomable");if(e!==i&&t!==i){r=e<n.current.width&&t<n.current.height}else{r=n.isScaledDown()}if(r){s.addClass("fancybox-can-zoomIn")}else{if(n.current.opts.touch){s.addClass("fancybox-can-drag")}else{s.addClass("fancybox-can-zoomOut")}}}else if(n.current.opts.touch){s.addClass("fancybox-can-drag")}},isZoomable:function(){var e=this;var t=e.current;var i;if(!t||e.isClosing){return}if(t.type==="image"&&t.isLoaded&&!t.hasError&&(t.opts.clickContent==="zoom"||n.isFunction(t.opts.clickContent)&&t.opts.clickContent(t)==="zoom")){i=e.getFitPos(t);if(t.width>i.width||t.height>i.height){return true}}return false},isScaledDown:function(){var e=this;var t=e.current;var i=t.$content;var r=false;if(i){r=n.fancybox.getTranslate(i);r=r.width<t.width||r.height<t.height}return r},canPan:function(){var e=this;var t=e.current;var n=t.$content;var i=false;if(n){i=e.getFitPos(t);i=Math.abs(n.width()-i.width)>1||Math.abs(n.height()-i.height)>1}return i},loadSlide:function(e){var t=this,i,r;var s;if(e.isLoading){return}if(e.isLoaded){return}e.isLoading=true;t.trigger("beforeLoad",e);i=e.type;r=e.$slide;r.off("refresh").trigger("onReset").addClass("fancybox-slide--"+(i||"unknown")).addClass(e.opts.slideClass);switch(i){case"image":t.setImage(e);break;case"iframe":t.setIframe(e);break;case"html":t.setContent(e,e.src||e.content);break;case"inline":if(n(e.src).length){t.setContent(e,n(e.src))}else{t.setError(e)}break;case"ajax":t.showLoading(e);s=n.ajax(n.extend({},e.opts.ajax.settings,{url:e.src,success:function(n,i){if(i==="success"){t.setContent(e,n)}},error:function(n,i){if(n&&i!=="abort"){t.setError(e)}}}));r.one("onReset",function(){s.abort()});break;default:t.setError(e);break}return true},setImage:function(t){var i=this;var r=t.opts.srcset||t.opts.image.srcset;var s,a,o,l;if(r){o=e.devicePixelRatio||1;l=e.innerWidth*o;a=r.split(",").map(function(e){var t={};e.trim().split(/\s+/).forEach(function(e,n){var i=parseInt(e.substring(0,e.length-1),10);if(n===0){return t.url=e}if(i){t.value=i;t.postfix=e[e.length-1]}});return t});a.sort(function(e,t){return e.value-t.value});for(var f=0;f<a.length;f++){var u=a[f];if(u.postfix==="w"&&u.value>=l||u.postfix==="x"&&u.value>=o){s=u;break}}if(!s&&a.length){s=a[a.length-1]}if(s){t.src=s.url;if(t.width&&t.height&&s.postfix=="w"){t.height=t.width/t.height*s.value;t.width=s.value}}}t.$content=n('<div class="fancybox-image-wrap"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide);if(t.opts.preload!==false&&t.opts.width&&t.opts.height&&(t.opts.thumb||t.opts.$thumb)){t.width=t.opts.width;t.height=t.opts.height;t.$ghost=n("<img />").one("error",function(){n(this).remove();t.$ghost=null;i.setBigImage(t)}).one("load",function(){i.afterLoad(t);i.setBigImage(t)}).addClass("fancybox-image").appendTo(t.$content).attr("src",t.opts.thumb||t.opts.$thumb.attr("src"))}else{i.setBigImage(t)}},setBigImage:function(e){var t=this;var i=n("<img />");e.$image=i.one("error",function(){t.setError(e)}).one("load",function(){clearTimeout(e.timouts);e.timouts=null;if(t.isClosing){return}e.width=this.naturalWidth;e.height=this.naturalHeight;if(e.opts.image.srcset){i.attr("sizes","100vw").attr("srcset",e.opts.image.srcset)}t.hideLoading(e);if(e.$ghost){e.timouts=setTimeout(function(){e.timouts=null;e.$ghost.hide()},Math.min(300,Math.max(1e3,e.height/1600)))}else{t.afterLoad(e)}}).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content);if((i[0].complete||i[0].readyState=="complete")&&i[0].naturalWidth&&i[0].naturalHeight){i.trigger("load")}else if(i[0].error){i.trigger("error")}else{e.timouts=setTimeout(function(){if(!i[0].complete&&!e.hasError){t.showLoading(e)}},100)}},setIframe:function(e){var t=this,r=e.opts.iframe,s=e.$slide,a;e.$content=n('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(s);a=n(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(e.$content);if(r.preload){t.showLoading(e);a.on("load.fb error.fb",function(n){this.isReady=1;e.$slide.trigger("refresh");t.afterLoad(e)});s.on("refresh.fb",function(){var t=e.$content,n=r.css.width,s=r.css.height,o,l,f;if(a[0].isReady!==1){return}try{l=a.contents();f=l.find("body")}catch(e){}if(f&&f.length){if(n===i){o=a[0].contentWindow.document.documentElement.scrollWidth;n=Math.ceil(f.outerWidth(true)+(t.width()-o));n+=t.outerWidth()-t.innerWidth()}if(s===i){s=Math.ceil(f.outerHeight(true));s+=t.outerHeight()-t.innerHeight()}if(n){t.width(n)}if(s){t.height(s)}}t.removeClass("fancybox-is-hidden")})}else{this.afterLoad(e)}a.attr("src",e.src);if(e.opts.smallBtn===true){e.$content.prepend(t.translate(e,e.opts.btnTpl.smallBtn))}s.one("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank")}catch(e){}n(this).empty();e.isLoaded=false})},setContent:function(e,t){var i=this;if(i.isClosing){return}i.hideLoading(e);e.$slide.empty();if(l(t)&&t.parent().length){t.parent(".fancybox-slide--inline").trigger("onReset");e.$placeholder=n("<div></div>").hide().insertAfter(t);t.css("display","inline-block")}else if(!e.hasError){if(n.type(t)==="string"){t=n("<div>").append(n.trim(t)).contents();if(t[0].nodeType===3){t=n("<div>").html(t)}}if(e.opts.filter){t=n("<div>").html(t).find(e.opts.filter)}}e.$slide.one("onReset",function(){if(e.$placeholder){e.$placeholder.after(t.hide()).remove();e.$placeholder=null}if(e.$smallBtn){e.$smallBtn.remove();e.$smallBtn=null}if(!e.hasError){n(this).empty();e.isLoaded=false}});e.$content=n(t).appendTo(e.$slide);this.afterLoad(e)},setError:function(e){e.hasError=true;e.$slide.removeClass("fancybox-slide--"+e.type);this.setContent(e,this.translate(e,e.opts.errorTpl))},showLoading:function(e){var t=this;e=e||t.current;if(e&&!e.$spinner){e.$spinner=n(t.opts.spinnerTpl).appendTo(e.$slide)}},hideLoading:function(e){var t=this;e=e||t.current;if(e&&e.$spinner){e.$spinner.remove();delete e.$spinner}},afterLoad:function(e){var t=this;if(t.isClosing){return}e.isLoading=false;e.isLoaded=true;t.trigger("afterLoad",e);t.hideLoading(e);if(e.opts.smallBtn&&!e.$smallBtn){e.$smallBtn=n(t.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content.filter("div,form").first())}if(e.opts.protect&&e.$content&&!e.hasError){e.$content.on("contextmenu.fb",function(e){if(e.button==2){e.preventDefault()}return true});if(e.type==="image"){n('<div class="fancybox-spaceball"></div>').appendTo(e.$content)}}t.revealContent(e)},revealContent:function(e){var t=this;var r=e.$slide;var s,a,o,l,f,u=false;s=e.opts[t.firstRun?"animationEffect":"transitionEffect"];o=e.opts[t.firstRun?"animationDuration":"transitionDuration"];o=parseInt(e.forcedDuration===i?o:e.forcedDuration,10);if(e.isMoved||e.pos!==t.currPos||!o){s=false}if(s==="zoom"&&!(e.pos===t.currPos&&o&&e.type==="image"&&!e.hasError&&(u=t.getThumbPos(e)))){s="fade"}if(s==="zoom"){f=t.getFitPos(e);f.scaleX=f.width/u.width;f.scaleY=f.height/u.height;delete f.width;delete f.height;l=e.opts.zoomOpacity;if(l=="auto"){l=Math.abs(e.width/e.height-u.width/u.height)>.1}if(l){u.opacity=.1;f.opacity=1}n.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),u);c(e.$content);n.fancybox.animate(e.$content,f,o,function(){t.complete()});return}t.updateSlide(e);if(!s){c(r);e.$content.removeClass("fancybox-is-hidden");if(e.pos===t.currPos){t.complete()}return}n.fancybox.stop(r);a="fancybox-animated fancybox-slide--"+(e.pos>=t.prevPos?"next":"previous")+" fancybox-fx-"+s;r.removeAttr("style").removeClass("fancybox-slide--current fancybox-slide--next fancybox-slide--previous").addClass(a);e.$content.removeClass("fancybox-is-hidden");c(r);n.fancybox.animate(r,"fancybox-slide--current",o,function(n){r.removeClass(a).removeAttr("style");if(e.pos===t.currPos){t.complete()}},true)},getThumbPos:function(i){var r=this;var s=false;var a=function(t){var i=t[0];var r=i.getBoundingClientRect();var s=[];var a;while(i.parentElement!==null){if(n(i.parentElement).css("overflow")==="hidden"||n(i.parentElement).css("overflow")==="auto"){s.push(i.parentElement.getBoundingClientRect())}i=i.parentElement}a=s.every(function(e){var t=Math.min(r.right,e.right)-Math.max(r.left,e.left);var n=Math.min(r.bottom,e.bottom)-Math.max(r.top,e.top);return t>0&&n>0});return a&&r.bottom>0&&r.right>0&&r.left<n(e).width()&&r.top<n(e).height()};var o=i.opts.$thumb;var l=o?o.offset():0;var f;if(l&&o[0].ownerDocument===t&&a(o)){f=r.$refs.stage.offset();s={top:l.top-f.top+parseFloat(o.css("border-top-width")||0),left:l.left-f.left+parseFloat(o.css("border-left-width")||0),width:o.width(),height:o.height(),scaleX:1,scaleY:1}}return s},complete:function(){var e=this;var i=e.current;var r={};if(i.isMoved||!i.isLoaded||i.isComplete){return}i.isComplete=true;i.$slide.siblings().trigger("onReset");c(i.$slide);i.$slide.addClass("fancybox-slide--complete");n.each(e.slides,function(t,i){if(i.pos>=e.currPos-1&&i.pos<=e.currPos+1){r[i.pos]=i}else if(i){n.fancybox.stop(i.$slide);i.$slide.off().remove()}});e.slides=r;e.updateCursor();e.trigger("afterShow");if(n(t.activeElement).is("[disabled]")||i.opts.autoFocus&&!(i.type=="image"||i.type==="iframe")){e.focus()}},preload:function(){var e=this;var t,n;if(e.group.length<2){return}t=e.slides[e.currPos+1];n=e.slides[e.currPos-1];if(t&&t.type==="image"){e.loadSlide(t)}if(n&&n.type==="image"){e.loadSlide(n)}},focus:function(){var e=this.current;var t;if(this.isClosing){return}if(e&&e.isComplete){t=e.$slide.find("input[autofocus]:enabled:visible:first");if(!t.length){t=e.$slide.find("button,:input,[tabindex],a").filter(":enabled:visible:first")}}t=t&&t.length?t:this.$refs.container;t.focus()},activate:function(){var e=this;n(".fancybox-container").each(function(){var t=n(this).data("FancyBox");if(t&&t.id!==e.id&&!t.isClosing){t.trigger("onDeactivate");t.removeEvents();t.isVisible=false}});e.isVisible=true;if(e.current||e.isIdle){e.update();e.updateControls()}e.trigger("onActivate");e.addEvents()},close:function(e,t){var i=this;var r=i.current;var s,a;var o,l,h,d;var p=function(){i.cleanUp(e)};if(i.isClosing){return false}i.isClosing=true;if(i.trigger("beforeClose",e)===false){i.isClosing=false;f(function(){i.update()});return false}i.removeEvents();if(r.timouts){clearTimeout(r.timouts)}o=r.$content;s=r.opts.animationEffect;a=n.isNumeric(t)?t:s?r.opts.animationDuration:0;r.$slide.off(u).removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated");r.$slide.siblings().trigger("onReset").remove();if(a){i.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing")}i.hideLoading(r);i.hideControls();i.updateCursor();if(s==="zoom"&&!(e!==true&&o&&a&&r.type==="image"&&!r.hasError&&(d=i.getThumbPos(r)))){s="fade"}if(s==="zoom"){n.fancybox.stop(o);h=n.fancybox.getTranslate(o);h.width=h.width*h.scaleX;h.height=h.height*h.scaleY;l=r.opts.zoomOpacity;if(l=="auto"){l=Math.abs(r.width/r.height-d.width/d.height)>.1}if(l){d.opacity=0}h.scaleX=h.width/d.width;h.scaleY=h.height/d.height;h.width=d.width;h.height=d.height;n.fancybox.setTranslate(r.$content,h);c(r.$content);n.fancybox.animate(r.$content,d,a,p);return true}if(s&&a){if(e===true){setTimeout(p,a)}else{n.fancybox.animate(r.$slide.removeClass("fancybox-slide--current"),"fancybox-animated fancybox-slide--previous fancybox-fx-"+s,a,p)}}else{p()}return true},cleanUp:function(e){var i=this,r=n("body"),a,o;i.current.$slide.trigger("onReset");i.$refs.container.empty().remove();i.trigger("afterClose",e);if(i.$lastFocus&&!!i.current.opts.backFocus){i.$lastFocus.focus()}i.current=null;a=n.fancybox.getInstance();if(a){a.activate()}else{s.scrollTop(i.scrollTop).scrollLeft(i.scrollLeft);r.removeClass("fancybox-active compensate-for-scrollbar");if(r.hasClass("fancybox-iosfix")){o=parseInt(t.body.style.top,10);r.removeClass("fancybox-iosfix").css("top","").scrollTop(o*-1)}n("#fancybox-style-noscroll").remove()}},trigger:function(e,t){var i=Array.prototype.slice.call(arguments,1),r=this,s=t&&t.opts?t:r.current,o;if(s){i.unshift(s)}else{s=r}i.unshift(r);if(n.isFunction(s.opts[e])){o=s.opts[e].apply(s,i)}if(o===false){return o}if(e==="afterClose"||!r.$refs){a.trigger(e+".fb",i)}else{r.$refs.container.trigger(e+".fb",i)}},updateControls:function(e){var t=this;var n=t.current,i=n.index,r=n.opts.caption,s=t.$refs.container,a=t.$refs.caption;n.$slide.trigger("refresh");t.$caption=r&&r.length?a.html(r):null;if(!t.isHiddenControls&&!t.isIdle){t.showControls()}s.find("[data-fancybox-count]").html(t.group.length);s.find("[data-fancybox-index]").html(i+1);s.find("[data-fancybox-prev]").prop("disabled",!n.opts.loop&&i<=0);s.find("[data-fancybox-next]").prop("disabled",!n.opts.loop&&i>=t.group.length-1);if(n.type==="image"){s.find("[data-fancybox-download]").attr("href",n.opts.image.src||n.src).show()}else{s.find("[data-fancybox-download],[data-fancybox-zoom]").hide()}},hideControls:function(){this.isHiddenControls=true;this.$refs.container.removeClass("fancybox-show-infobar fancybox-show-toolbar fancybox-show-caption fancybox-show-nav")},showControls:function(){var e=this;var t=e.current?e.current.opts:e.opts;var n=e.$refs.container;e.isHiddenControls=false;e.idleSecondsCounter=0;n.toggleClass("fancybox-show-toolbar",!!(t.toolbar&&t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&e.group.length>1)).toggleClass("fancybox-show-nav",!!(t.arrows&&e.group.length>1)).toggleClass("fancybox-is-modal",!!t.modal);if(e.$caption){n.addClass("fancybox-show-caption ")}else{n.removeClass("fancybox-show-caption")}},toggleControls:function(){if(this.isHiddenControls){this.showControls()}else{this.hideControls()}}});n.fancybox={version:"3.2.5",defaults:r,getInstance:function(e){var t=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox");var i=Array.prototype.slice.call(arguments,1);if(t instanceof h){if(n.type(e)==="string"){t[e].apply(t,i)}else if(n.type(e)==="function"){e.apply(t,i)}return t}return false},open:function(e,t,n){return new h(e,t,n)},close:function(e){var t=this.getInstance();if(t){t.close();if(e===true){this.close()}}},destroy:function(){this.close(true);a.off("click.fb-start")},isMobile:t.createTouch!==i&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var n=t.createElement("div");return e.getComputedStyle&&e.getComputedStyle(n).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<11)}(),getTranslate:function(e){var t;if(!e||!e.length){return false}t=e.eq(0).css("transform");if(t&&t.indexOf("matrix")!==-1){t=t.split("(")[1];t=t.split(")")[0];t=t.split(",")}else{t=[]}if(t.length){if(t.length>10){t=[t[13],t[12],t[0],t[5]]}else{t=[t[5],t[4],t[0],t[3]]}t=t.map(parseFloat)}else{t=[0,0,1,1];var n=/\.*translate\((.*)px,(.*)px\)/i;var i=n.exec(e.eq(0).attr("style"));if(i){t[0]=parseFloat(i[2]);t[1]=parseFloat(i[1])}}return{top:t[0],left:t[1],scaleX:t[2],scaleY:t[3],opacity:parseFloat(e.css("opacity")),width:e.width(),height:e.height()}},setTranslate:function(e,t){var n="";var r={};if(!e||!t){return}if(t.left!==i||t.top!==i){n=(t.left===i?e.position().left:t.left)+"px, "+(t.top===i?e.position().top:t.top)+"px";if(this.use3d){n="translate3d("+n+", 0px)"}else{n="translate("+n+")"}}if(t.scaleX!==i&&t.scaleY!==i){n=(n.length?n+" ":"")+"scale("+t.scaleX+", "+t.scaleY+")"}if(n.length){r.transform=n}if(t.opacity!==i){r.opacity=t.opacity}if(t.width!==i){r.width=t.width}if(t.height!==i){r.height=t.height}return e.css(r)},animate:function(e,t,r,s,a){if(n.isFunction(r)){s=r;r=null}if(!n.isPlainObject(t)){e.removeAttr("style")}e.on(u,function(r){if(r&&r.originalEvent&&(!e.is(r.originalEvent.target)||r.originalEvent.propertyName=="z-index")){return}n.fancybox.stop(e);if(n.isPlainObject(t)){if(t.scaleX!==i&&t.scaleY!==i){e.css("transition-duration","");t.width=Math.round(e.width()*t.scaleX);t.height=Math.round(e.height()*t.scaleY);t.scaleX=1;t.scaleY=1;n.fancybox.setTranslate(e,t)}}else if(a!==true){e.removeClass(t)}if(n.isFunction(s)){s(r)}});if(n.isNumeric(r)){e.css("transition-duration",r+"ms")}if(n.isPlainObject(t)){n.fancybox.setTranslate(e,t)}else{e.addClass(t)}if(t.scaleX&&e.hasClass("fancybox-image-wrap")){e.parent().addClass("fancybox-is-scaling")}e.data("timer",setTimeout(function(){e.trigger("transitionend")},r+16))},stop:function(e){clearTimeout(e.data("timer"));e.off("transitionend").css("transition-duration","");if(e.hasClass("fancybox-image-wrap")){e.parent().removeClass("fancybox-is-scaling")}}};function d(e){var t=n(e.currentTarget),i=e.data?e.data.options:{},r=t.attr("data-fancybox")||"",s=0,a=[];if(e.isDefaultPrevented()){return}e.preventDefault();if(r){a=i.selector?n(i.selector):e.data?e.data.items:[];a=a.length?a.filter('[data-fancybox="'+r+'"]'):n('[data-fancybox="'+r+'"]');s=a.index(t);if(s<0){s=0}}else{a=[t]}n.fancybox.open(a,i,s)}n.fn.fancybox=function(e){var t;e=e||{};t=e.selector||false;if(t){n("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},d)}else{this.off("click.fb-start").on("click.fb-start",{items:this,options:e},d)}return this};a.on("click.fb-start","[data-fancybox]",d)})(window,document,window.jQuery||jQuery);(function(e){"use strict";var t=function(t,n,i){if(!t){return}i=i||"";if(e.type(i)==="object"){i=e.param(i,true)}e.each(n,function(e,n){t=t.replace("$"+e,n||"")});if(i.length){t+=(t.indexOf("?")>0?"&":"?")+i}return t};var n={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"//www.youtube.com/embed/$4",thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1,api:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},metacafe:{matcher:/metacafe.com\/watch\/(\d+)\/(.*)?/,type:"iframe",url:"//www.metacafe.com/embed/$1/?ap=1"},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"iframe",url:"//www.dailymotion.com/embed/video/$1"},vine:{matcher:/vine.co\/v\/([a-zA-Z0-9\?\=\-]+)/,type:"iframe",url:"//vine.co/v/$1/embed/simple"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12])+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}};e(document).on("objectNeedsType.fb",function(i,r,s){var a=s.src||"",o=false,l,f,u,c,h,d,p;l=e.extend(true,{},n,s.opts.media);e.each(l,function(n,i){u=a.match(i.matcher);if(!u){return}o=i.type;d={};if(i.paramPlace&&u[i.paramPlace]){h=u[i.paramPlace];if(h[0]=="?"){h=h.substring(1)}h=h.split("&");for(var r=0;r<h.length;++r){var l=h[r].split("=",2);if(l.length==2){d[l[0]]=decodeURIComponent(l[1].replace(/\+/g," "))}}}c=e.extend(true,{},i.params,s.opts[n],d);a=e.type(i.url)==="function"?i.url.call(this,u,c,s):t(i.url,u,c);f=e.type(i.thumb)==="function"?i.thumb.call(this,u,c,s):t(i.thumb,u);if(n==="vimeo"){a=a.replace("&%23","#")}return false});if(o){s.src=a;s.type=o;if(!s.opts.thumb&&!(s.opts.$thumb&&s.opts.$thumb.length)){s.opts.thumb=f}if(o==="iframe"){e.extend(true,s.opts,{iframe:{preload:false,attr:{scrolling:"no"}}});s.contentProvider=p;s.opts.slideClass+=" fancybox-slide--"+(p=="gmap_place"||p=="gmap_search"?"map":"video")}}else if(a){s.type=s.opts.defaultType}})})(window.jQuery||jQuery);(function(e,t,n){"use strict";var i=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)}}();var r=function(){return e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)}}();var s=function(t){var n=[];t=t.originalEvent||t||e.e;t=t.touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t];for(var i in t){if(t[i].pageX){n.push({x:t[i].pageX,y:t[i].pageY})}else if(t[i].clientX){n.push({x:t[i].clientX,y:t[i].clientY})}}return n};var a=function(e,t,n){if(!t||!e){return 0}if(n==="x"){return e.x-t.x}else if(n==="y"){return e.y-t.y}return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))};var o=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea')||n.isFunction(e.get(0).onclick)||e.data("selectable")){return true}for(var t=0,i=e[0].attributes,r=i.length;t<r;t++){if(i[t].nodeName.substr(0,14)==="data-fancybox-"){return true}}return false};var l=function(t){var n=e.getComputedStyle(t)["overflow-y"];var i=e.getComputedStyle(t)["overflow-x"];var r=(n==="scroll"||n==="auto")&&t.scrollHeight>t.clientHeight;var s=(i==="scroll"||i==="auto")&&t.scrollWidth>t.clientWidth;return r||s};var f=function(e){var t=false;while(true){t=l(e.get(0));if(t){break}e=e.parent();if(!e.length||e.hasClass("fancybox-stage")||e.is("body")){break}}return t};var u=function(e){var t=this;t.instance=e;t.$bg=e.$refs.bg;t.$stage=e.$refs.stage;t.$container=e.$refs.container;t.destroy();t.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(t,"ontouchstart"))};u.prototype.destroy=function(){this.$container.off(".fb.touch")};u.prototype.ontouchstart=function(i){var r=this;var l=n(i.target);var u=r.instance;var c=u.current;var h=c.$content;var d=i.type=="touchstart";if(d){r.$container.off("mousedown.fb.touch")}if(!c||r.instance.isAnimating||r.instance.isClosing){i.stopPropagation();i.preventDefault();return}if(i.originalEvent&&i.originalEvent.button==2){return}if(!l.length||o(l)||o(l.parent())){return}if(i.originalEvent.clientX>l[0].clientWidth+l.offset().left){return}r.startPoints=s(i);if(!r.startPoints||r.startPoints.length>1&&u.isSliding){return}r.$target=l;r.$content=h;r.canTap=true;r.opts=c.opts.touch;n(t).off(".fb.touch");n(t).on(d?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(r,"ontouchend"));n(t).on(d?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(r,"ontouchmove"));if(!(r.opts||u.canPan())||!(l.is(r.$stage)||r.$stage.find(l).length)){if(l.is("img")){i.preventDefault()}return}i.stopPropagation();if(!(n.fancybox.isMobile&&(f(r.$target)||f(r.$target.parent())))){i.preventDefault()}r.canvasWidth=Math.round(c.$slide[0].clientWidth);r.canvasHeight=Math.round(c.$slide[0].clientHeight);r.startTime=(new Date).getTime();r.distanceX=r.distanceY=r.distance=0;r.isPanning=false;r.isSwiping=false;r.isZooming=false;r.sliderStartPos=r.sliderLastPos||{top:0,left:0};r.contentStartPos=n.fancybox.getTranslate(r.$content);r.contentLastPos=null;if(r.startPoints.length===1&&!r.isZooming){r.canTap=!u.isSliding;if(c.type==="image"&&(r.contentStartPos.width>r.canvasWidth+1||r.contentStartPos.height>r.canvasHeight+1)){n.fancybox.stop(r.$content);r.$content.css("transition-duration","0ms");r.isPanning=true}else{r.isSwiping=true}r.$container.addClass("fancybox-controls--isGrabbing")}if(r.startPoints.length===2&&!u.isAnimating&&!c.hasError&&c.type==="image"&&(c.isLoaded||c.$ghost)){r.isZooming=true;r.isSwiping=false;r.isPanning=false;n.fancybox.stop(r.$content);r.$content.css("transition-duration","0ms");r.centerPointStartX=(r.startPoints[0].x+r.startPoints[1].x)*.5-n(e).scrollLeft();r.centerPointStartY=(r.startPoints[0].y+r.startPoints[1].y)*.5-n(e).scrollTop();r.percentageOfImageAtPinchPointX=(r.centerPointStartX-r.contentStartPos.left)/r.contentStartPos.width;r.percentageOfImageAtPinchPointY=(r.centerPointStartY-r.contentStartPos.top)/r.contentStartPos.height;r.startDistanceBetweenFingers=a(r.startPoints[0],r.startPoints[1])}};u.prototype.ontouchmove=function(e){var t=this;t.newPoints=s(e);if(n.fancybox.isMobile&&(f(t.$target)||f(t.$target.parent()))){e.stopPropagation();t.canTap=false;return}if(!(t.opts||t.instance.canPan())||!t.newPoints||!t.newPoints.length){return}t.distanceX=a(t.newPoints[0],t.startPoints[0],"x");t.distanceY=a(t.newPoints[0],t.startPoints[0],"y");t.distance=a(t.newPoints[0],t.startPoints[0]);if(t.distance>0){if(!(t.$target.is(t.$stage)||t.$stage.find(t.$target).length)){return}e.stopPropagation();e.preventDefault();if(t.isSwiping){t.onSwipe()}else if(t.isPanning){t.onPan()}else if(t.isZooming){t.onZoom()}}};u.prototype.onSwipe=function(){var t=this;var s=t.isSwiping;var a=t.sliderStartPos.left||0;var o;if(s===true){if(Math.abs(t.distance)>10){t.canTap=false;if(t.instance.group.length<2&&t.opts.vertical){t.isSwiping="y"}else if(t.instance.isSliding||t.opts.vertical===false||t.opts.vertical==="auto"&&n(e).width()>800){t.isSwiping="x"}else{o=Math.abs(Math.atan2(t.distanceY,t.distanceX)*180/Math.PI);t.isSwiping=o>45&&o<135?"y":"x"}t.instance.isSliding=t.isSwiping;t.startPoints=t.newPoints;n.each(t.instance.slides,function(e,i){n.fancybox.stop(i.$slide);i.$slide.css("transition-duration","0ms");i.inTransition=false;if(i.pos===t.instance.current.pos){t.sliderStartPos.left=n.fancybox.getTranslate(i.$slide).left}});if(t.instance.SlideShow&&t.instance.SlideShow.isActive){t.instance.SlideShow.stop()}}}else{if(s=="x"){if(t.distanceX>0&&(t.instance.group.length<2||t.instance.current.index===0&&!t.instance.current.opts.loop)){a=a+Math.pow(t.distanceX,.8)}else if(t.distanceX<0&&(t.instance.group.length<2||t.instance.current.index===t.instance.group.length-1&&!t.instance.current.opts.loop)){a=a-Math.pow(-t.distanceX,.8)}else{a=a+t.distanceX}}t.sliderLastPos={top:s=="x"?0:t.sliderStartPos.top+t.distanceY,left:a};if(t.requestId){r(t.requestId);t.requestId=null}t.requestId=i(function(){if(t.sliderLastPos){n.each(t.instance.slides,function(e,i){var r=i.pos-t.instance.currPos;n.fancybox.setTranslate(i.$slide,{top:t.sliderLastPos.top,left:t.sliderLastPos.left+r*t.canvasWidth+r*i.opts.gutter})});t.$container.addClass("fancybox-is-sliding")}})}};u.prototype.onPan=function(){var e=this;var t,s,a;e.canTap=false;if(e.contentStartPos.width>e.canvasWidth){t=e.contentStartPos.left+e.distanceX}else{t=e.contentStartPos.left}s=e.contentStartPos.top+e.distanceY;a=e.limitMovement(t,s,e.contentStartPos.width,e.contentStartPos.height);a.scaleX=e.contentStartPos.scaleX;a.scaleY=e.contentStartPos.scaleY;e.contentLastPos=a;if(e.requestId){r(e.requestId);e.requestId=null}e.requestId=i(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})};u.prototype.limitMovement=function(e,t,n,i){var r=this;var s,a,o,l;var f=r.canvasWidth;var u=r.canvasHeight;var c=r.contentStartPos.left;var h=r.contentStartPos.top;var d=r.distanceX;var p=r.distanceY;s=Math.max(0,f*.5-n*.5);a=Math.max(0,u*.5-i*.5);o=Math.min(f-n,f*.5-n*.5);l=Math.min(u-i,u*.5-i*.5);if(n>f){if(d>0&&e>s){e=s-1+Math.pow(-s+c+d,.8)||0}if(d<0&&e<o){e=o+1-Math.pow(o-c-d,.8)||0}}if(i>u){if(p>0&&t>a){t=a-1+Math.pow(-a+h+p,.8)||0}if(p<0&&t<l){t=l+1-Math.pow(l-h-p,.8)||0}}return{top:t,left:e}};u.prototype.limitPosition=function(e,t,n,i){var r=this;var s=r.canvasWidth;var a=r.canvasHeight;if(n>s){e=e>0?0:e;e=e<s-n?s-n:e}else{e=Math.max(0,s/2-n/2)}if(i>a){t=t>0?0:t;t=t<a-i?a-i:t}else{t=Math.max(0,a/2-i/2)}return{top:t,left:e}};u.prototype.onZoom=function(){var t=this;var s=t.contentStartPos.width;var o=t.contentStartPos.height;var l=t.contentStartPos.left;var f=t.contentStartPos.top;var u=a(t.newPoints[0],t.newPoints[1]);var c=u/t.startDistanceBetweenFingers;var h=Math.floor(s*c);var d=Math.floor(o*c);var p=(s-h)*t.percentageOfImageAtPinchPointX;var m=(o-d)*t.percentageOfImageAtPinchPointY;var g=(t.newPoints[0].x+t.newPoints[1].x)/2-n(e).scrollLeft();var v=(t.newPoints[0].y+t.newPoints[1].y)/2-n(e).scrollTop();var y=g-t.centerPointStartX;var b=v-t.centerPointStartY;var w=l+(p+y);var x=f+(m+b);var C={top:x,left:w,scaleX:t.contentStartPos.scaleX*c,scaleY:t.contentStartPos.scaleY*c};t.canTap=false;t.newWidth=h;t.newHeight=d;t.contentLastPos=C;if(t.requestId){r(t.requestId);t.requestId=null}t.requestId=i(function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)})};u.prototype.ontouchend=function(e){var i=this;var a=Math.max((new Date).getTime()-i.startTime,1);var o=i.isSwiping;var l=i.isPanning;var f=i.isZooming;i.endPoints=s(e);i.$container.removeClass("fancybox-controls--isGrabbing");n(t).off(".fb.touch");if(i.requestId){r(i.requestId);i.requestId=null}i.isSwiping=false;i.isPanning=false;i.isZooming=false;if(i.canTap){return i.onTap(e)}i.speed=366;i.velocityX=i.distanceX/a*.5;i.velocityY=i.distanceY/a*.5;i.speedX=Math.max(i.speed*.5,Math.min(i.speed*1.5,1/Math.abs(i.velocityX)*i.speed));if(l){i.endPanning()}else if(f){i.endZooming()}else{i.endSwiping(o)}return};u.prototype.endSwiping=function(e){var t=this;var i=false;t.instance.isSliding=false;t.sliderLastPos=null;if(e=="y"&&Math.abs(t.distanceY)>50){n.fancybox.animate(t.instance.current.$slide,{top:t.sliderStartPos.top+t.distanceY+t.velocityY*150,opacity:0},150);i=t.instance.close(true,300)}else if(e=="x"&&t.distanceX>50&&t.instance.group.length>1){i=t.instance.previous(t.speedX)}else if(e=="x"&&t.distanceX<-50&&t.instance.group.length>1){i=t.instance.next(t.speedX)}if(i===false&&(e=="x"||e=="y")){t.instance.jumpTo(t.instance.current.index,150)}t.$container.removeClass("fancybox-is-sliding")};u.prototype.endPanning=function(){var e=this;var t,i,r;if(!e.contentLastPos){return}if(e.opts.momentum===false){t=e.contentLastPos.left;i=e.contentLastPos.top}else{t=e.contentLastPos.left+e.velocityX*e.speed;i=e.contentLastPos.top+e.velocityY*e.speed}r=e.limitPosition(t,i,e.contentStartPos.width,e.contentStartPos.height);r.width=e.contentStartPos.width;r.height=e.contentStartPos.height;n.fancybox.animate(e.$content,r,330)};u.prototype.endZooming=function(){var e=this;var t=e.instance.current;var i,r,s,a;var o=e.newWidth;var l=e.newHeight;if(!e.contentLastPos){return}i=e.contentLastPos.left;r=e.contentLastPos.top;a={top:r,left:i,width:o,height:l,scaleX:1,scaleY:1};n.fancybox.setTranslate(e.$content,a);if(o<e.canvasWidth&&l<e.canvasHeight){e.instance.scaleToFit(150)}else if(o>t.width||l>t.height){e.instance.scaleToActual(e.centerPointStartX,e.centerPointStartY,150)}else{s=e.limitPosition(i,r,o,l);n.fancybox.setTranslate(e.content,n.fancybox.getTranslate(e.$content));n.fancybox.animate(e.$content,s,150)}};u.prototype.onTap=function(e){var t=this;var i=n(e.target);var r=t.instance;var a=r.current;var o=e&&s(e)||t.startPoints;var l=o[0]?o[0].x-t.$stage.offset().left:0;var f=o[0]?o[0].y-t.$stage.offset().top:0;var u;var c=function(i){var s=a.opts[i];if(n.isFunction(s)){s=s.apply(r,[a,e])}if(!s){return}switch(s){case"close":r.close(t.startEvent);break;case"toggleControls":r.toggleControls(true);break;case"next":r.next();break;case"nextOrClose":if(r.group.length>1){r.next()}else{r.close(t.startEvent)}break;case"zoom":if(a.type=="image"&&(a.isLoaded||a.$ghost)){if(r.canPan()){r.scaleToFit()}else if(r.isScaledDown()){r.scaleToActual(l,f)}else if(r.group.length<2){r.close(t.startEvent)}}break}};if(e.originalEvent&&e.originalEvent.button==2){return}if(r.isSliding){return}if(l>i[0].clientWidth+i.offset().left){return}if(i.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container")){u="Outside"}else if(i.is(".fancybox-slide")){u="Slide"}else if(r.current.$content&&r.current.$content.has(e.target).length){u="Content"}else{return}if(t.tapped){clearTimeout(t.tapped);t.tapped=null;if(Math.abs(l-t.tapX)>50||Math.abs(f-t.tapY)>50||r.isSliding){return this}c("dblclick"+u)}else{t.tapX=l;t.tapY=f;if(a.opts["dblclick"+u]&&a.opts["dblclick"+u]!==a.opts["click"+u]){t.tapped=setTimeout(function(){t.tapped=null;c("click"+u)},300)}else{c("click"+u)}}return this};n(t).on("onActivate.fb",function(e,t){if(t&&!t.Guestures){t.Guestures=new u(t)}});n(t).on("beforeClose.fb",function(e,t){if(t&&t.Guestures){t.Guestures.destroy()}})})(window,document,window.jQuery||jQuery);(function(e,t){"use strict";t.extend(true,t.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}">'+'<svg viewBox="0 0 40 40">'+'<path d="M13,12 L27,20 L13,27 Z" />'+'<path d="M15,10 v19 M23,10 v19" />'+"</svg>"+"</button>"},slideShow:{autoStart:false,speed:3e3}});var n=function(e){this.instance=e;this.init()};t.extend(n.prototype,{timer:null,isActive:false,$button:null,init:function(){var e=this;e.$button=e.instance.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){e.toggle()});if(e.instance.group.length<2||!e.instance.group[e.instance.currIndex].opts.slideShow){e.$button.hide()}},set:function(e){var t=this;if(t.instance&&t.instance.current&&(e===true||t.instance.current.opts.loop||t.instance.currIndex<t.instance.group.length-1)){t.timer=setTimeout(function(){if(t.isActive){t.instance.jumpTo((t.instance.currIndex+1)%t.instance.group.length)}},t.instance.current.opts.slideShow.speed)}else{t.stop();t.instance.idleSecondsCounter=0;t.instance.showControls()}},clear:function(){var e=this;clearTimeout(e.timer);e.timer=null},start:function(){var e=this;var t=e.instance.current;if(t){e.isActive=true;e.$button.attr("title",t.opts.i18n[t.opts.lang].PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause");e.set(true)}},stop:function(){var e=this;var t=e.instance.current;e.clear();e.$button.attr("title",t.opts.i18n[t.opts.lang].PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play");e.isActive=false},toggle:function(){var e=this;if(e.isActive){e.stop()}else{e.start()}}});t(e).on({"onInit.fb":function(e,t){if(t&&!t.SlideShow){t.SlideShow=new n(t)}},"beforeShow.fb":function(e,t,n,i){var r=t&&t.SlideShow;if(i){if(r&&n.opts.slideShow.autoStart){r.start()}}else if(r&&r.isActive){r.clear()}},"afterShow.fb":function(e,t,n){var i=t&&t.SlideShow;if(i&&i.isActive){i.set()}},"afterKeydown.fb":function(n,i,r,s,a){var o=i&&i.SlideShow;if(o&&r.opts.slideShow&&(a===80||a===32)&&!t(e.activeElement).is("button,a,input")){s.preventDefault();o.toggle()}},"beforeClose.fb onDeactivate.fb":function(e,t){var n=t&&t.SlideShow;if(n){n.stop()}}});t(e).on("visibilitychange",function(){var n=t.fancybox.getInstance();var i=n&&n.SlideShow;if(i&&i.isActive){if(e.hidden){i.clear()}else{i.set()}}})})(document,window.jQuery||jQuery);(function(e,t){"use strict";var n=function(){var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var n;var i={};var r,s;for(r=0;r<t.length;r++){n=t[r];if(n&&n[1]in e){for(s=0;s<n.length;s++){i[t[0][s]]=n[s]}return i}}return false}();if(!n){if(t&&t.fancybox){t.fancybox.defaults.btnTpl.fullScreen=false}return}var i={request:function(t){t=t||e.documentElement;t[n.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){e[n.exitFullscreen]()},toggle:function(t){t=t||e.documentElement;if(this.isFullscreen()){this.exit()}else{this.request(t)}},isFullscreen:function(){return Boolean(e[n.fullscreenElement])},enabled:function(){return Boolean(e[n.fullscreenEnabled])}};t.extend(true,t.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="{{FULL_SCREEN}}">'+'<svg viewBox="0 0 40 40">'+'<path d="M9,12 h22 v16 h-22 v-16 v16 h22 v-16 Z" />'+"</svg>"+"</button>"},fullScreen:{autoStart:false}});t(e).on({"onInit.fb":function(e,t){var n;if(t&&t.group[t.currIndex].opts.fullScreen){n=t.$refs.container;n.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(e){e.stopPropagation();e.preventDefault();i.toggle(n[0])});if(t.opts.fullScreen&&t.opts.fullScreen.autoStart===true){i.request(n[0])}t.FullScreen=i}else if(t){t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()}},"afterKeydown.fb":function(e,t,n,i,r){if(t&&t.FullScreen&&r===70){i.preventDefault();t.FullScreen.toggle(t.$refs.container[0])}},"beforeClose.fb":function(e){if(e&&e.FullScreen){i.exit()}}});t(e).on(n.fullscreenchange,function(){var e=i.isFullscreen(),n=t.fancybox.getInstance();if(n){if(n.current&&n.current.type==="image"&&n.isAnimating){n.current.$content.css("transition","none");n.isAnimating=false;n.update(true,true,0)}n.trigger("onFullscreenChange",e);n.$refs.container.toggleClass("fancybox-is-fullscreen",e)}})})(document,window.jQuery||jQuery);(function(e,t){"use strict";t.fancybox.defaults=t.extend(true,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}">'+'<svg viewBox="0 0 120 120">'+'<path d="M30,30 h14 v14 h-14 Z M50,30 h14 v14 h-14 Z M70,30 h14 v14 h-14 Z M30,50 h14 v14 h-14 Z M50,50 h14 v14 h-14 Z M70,50 h14 v14 h-14 Z M30,70 h14 v14 h-14 Z M50,70 h14 v14 h-14 Z M70,70 h14 v14 h-14 Z" />'+"</svg>"+"</button>"},thumbs:{autoStart:false,hideOnClose:true,parentEl:".fancybox-container",axis:"y"}},t.fancybox.defaults);var n=function(e){this.init(e)};t.extend(n.prototype,{$button:null,$grid:null,$list:null,isVisible:false,isActive:false,init:function(e){var t=this;t.instance=e;e.Thumbs=t;var n=e.group[0],i=e.group[1];t.opts=e.group[e.currIndex].opts.thumbs;t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");if(t.opts&&n&&i&&((n.type=="image"||n.opts.thumb||n.opts.$thumb)&&(i.type=="image"||i.opts.thumb||i.opts.$thumb))){t.$button.show().on("click",function(){t.toggle()});t.isActive=true}else{t.$button.hide()}},create:function(){var e=this,n=e.instance,i=e.opts.parentEl,r,s;e.$grid=t('<div class="fancybox-thumbs fancybox-thumbs-'+e.opts.axis+'"></div>').appendTo(n.$refs.container.find(i).addBack().filter(i));r="<ul>";t.each(n.group,function(e,t){s=t.opts.thumb||(t.opts.$thumb?t.opts.$thumb.attr("src"):null);if(!s&&t.type==="image"){s=t.src}if(s&&s.length){r+='<li data-index="'+e+'"  tabindex="0" class="fancybox-thumbs-loading"><img data-src="'+s+'" /></li>'}});r+="</ul>";e.$list=t(r).appendTo(e.$grid).on("click","li",function(){n.jumpTo(t(this).data("index"))});e.$list.find("img").hide().one("load",function(){var e=t(this).parent().removeClass("fancybox-thumbs-loading"),n=e.outerWidth(),i=e.outerHeight(),r,s,a,o;r=this.naturalWidth||this.width;s=this.naturalHeight||this.height;a=r/n;o=s/i;if(a>=1&&o>=1){if(a>o){r=r/o;s=i}else{r=n;s=s/a}}t(this).css({width:Math.floor(r),height:Math.floor(s),"margin-top":s>i?Math.floor(i*.3-s*.3):Math.floor(i*.5-s*.5),"margin-left":Math.floor(n*.5-r*.5)}).show()}).each(function(){this.src=t(this).data("src")});if(e.opts.axis==="x"){e.$list.width(parseInt(e.$grid.css("padding-right"))+n.group.length*e.$list.children().eq(0).outerWidth(true)+"px")}},focus:function(e){var t=this,n=t.$list,i,r;if(t.instance.current){i=n.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+t.instance.current.index+'"]').addClass("fancybox-thumbs-active");r=i.position();if(t.opts.axis==="y"&&(r.top<0||r.top>n.height()-i.outerHeight())){n.stop().animate({scrollTop:n.scrollTop()+r.top},e)}else if(t.opts.axis==="x"&&(r.left<n.parent().scrollLeft()||r.left>n.parent().scrollLeft()+(n.parent().width()-i.outerWidth()))){n.parent().stop().animate({scrollLeft:r.left},e)}}},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible);if(this.isVisible){if(!this.$grid){this.create()}this.instance.trigger("onThumbsShow");this.focus(0)}else if(this.$grid){this.instance.trigger("onThumbsHide")}this.instance.update()},hide:function(){this.isVisible=false;this.update()},show:function(){this.isVisible=true;this.update()},toggle:function(){this.isVisible=!this.isVisible;this.update()}});t(e).on({"onInit.fb":function(e,t){var i;if(t&&!t.Thumbs){i=new n(t);if(i.isActive&&i.opts.autoStart===true){i.show()}}},"beforeShow.fb":function(e,t,n,i){var r=t&&t.Thumbs;if(r&&r.isVisible){r.focus(i?0:250)}},"afterKeydown.fb":function(e,t,n,i,r){var s=t&&t.Thumbs;if(s&&s.isActive&&r===71){i.preventDefault();s.toggle()}},"beforeClose.fb":function(e,t){var n=t&&t.Thumbs;if(n&&n.isVisible&&n.opts.hideOnClose!==false){n.$grid.hide()}}})})(document,window.jQuery);(function(e,t){"use strict";t.extend(true,t.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}">'+'<svg viewBox="0 0 40 40">'+'<path d="M6,30 C8,18 19,16 23,16 L23,16 L23,10 L33,20 L23,29 L23,24 C19,24 8,27 6,30 Z">'+"</svg>"+"</button>"},share:{tpl:'<div class="fancybox-share">'+"<h1>{{SHARE}}</h1>"+"<p>"+'<a href="https://www.facebook.com/sharer/sharer.php?u={{src}}" target="_blank" class="fancybox-share_button">'+'<svg version="1.1" viewBox="0 0 32 32" fill="#3b5998"><path d="M27.6 3h-23.2c-.8 0-1.4.6-1.4 1.4v23.1c0 .9.6 1.5 1.4 1.5h12.5v-10.1h-3.4v-3.9h3.4v-2.9c0-3.4 2.1-5.2 5-5.2 1.4 0 2.7.1 3 .2v3.5h-2.1c-1.6 0-1.9.8-1.9 1.9v2.5h3.9l-.5 3.9h-3.4v10.1h6.6c.8 0 1.4-.6 1.4-1.4v-23.2c.1-.8-.5-1.4-1.3-1.4z"></path></svg>'+"<span>Facebook</span>"+"</a>"+'<a href="https://www.pinterest.com/pin/create/button/?url={{src}}&amp;description={{descr}}" target="_blank" class="fancybox-share_button">'+'<svg version="1.1" viewBox="0 0 32 32" fill="#c92228"><path d="M16 3c-7.2 0-13 5.8-13 13 0 5.5 3.4 10.2 8.3 12.1-.1-1-.2-2.6 0-3.7.2-1 1.5-6.5 1.5-6.5s-.4-.8-.4-1.9c0-1.8 1-3.2 2.4-3.2 1.1 0 1.6.8 1.6 1.8 0 1.1-.7 2.8-1.1 4.3-.3 1.3.6 2.3 1.9 2.3 2.3 0 4.1-2.4 4.1-6 0-3.1-2.2-5.3-5.4-5.3-3.7 0-5.9 2.8-5.9 5.6 0 1.1.4 2.3 1 3 .1.1.1.2.1.4-.1.4-.3 1.3-.4 1.5-.1.2-.2.3-.4.2-1.6-.8-2.6-3.1-2.6-5 0-4.1 3-7.9 8.6-7.9 4.5 0 8 3.2 8 7.5 0 4.5-2.8 8.1-6.7 8.1-1.3 0-2.6-.7-3-1.5 0 0-.7 2.5-.8 3.1-.3 1.1-1.1 2.5-1.6 3.4 1.2.4 2.5.6 3.8.6 7.2 0 13-5.8 13-13 0-7.1-5.8-12.9-13-12.9z"></path></svg>'+"<span>Pinterest</span>"+"</a>"+'<a href="https://twitter.com/intent/tweet?url={{src}}&amp;text={{descr}}" target="_blank" class="fancybox-share_button">'+'<svg version="1.1" viewBox="0 0 32 32" fill="#1da1f2"><path d="M30 7.3c-1 .5-2.1.8-3.3.9 1.2-.7 2.1-1.8 2.5-3.2-1.1.7-2.3 1.1-3.6 1.4-1-1.1-2.5-1.8-4.2-1.8-3.2 0-5.7 2.6-5.7 5.7 0 .5.1.9.1 1.3-4.8-.2-9-2.5-11.8-6-.5.9-.8 1.9-.8 3 0 2 1 3.8 2.6 4.8-.9 0-1.8-.3-2.6-.7v.1c0 2.8 2 5.1 4.6 5.6-.5.1-1 .2-1.5.2-.4 0-.7 0-1.1-.1.7 2.3 2.9 3.9 5.4 4-2 1.5-4.4 2.5-7.1 2.5-.5 0-.9 0-1.4-.1 2.5 1.6 5.6 2.6 8.8 2.6 10.6 0 16.3-8.8 16.3-16.3v-.7c1.1-1 2-2 2.8-3.2z"></path></svg>'+"<span>Twitter</span>"+"</a>"+"</p>"+'<p><input type="text" value="{{src_raw}}" onfocus="this.select()" /></p>'+"</div>"}});function n(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};return String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]})}t(e).on("click","[data-fancybox-share]",function(){var e=t.fancybox.getInstance(),i,r;if(e){i=e.current.opts.hash===false?e.current.src:window.location;r=e.current.opts.share.tpl.replace(/\{\{src\}\}/g,encodeURIComponent(i)).replace(/\{\{src_raw\}\}/g,n(i)).replace(/\{\{descr\}\}/g,e.$caption?encodeURIComponent(e.$caption.text()):"");t.fancybox.open({src:e.translate(e,r),type:"html",opts:{animationEffect:"fade",animationDuration:250}})}})})(document,window.jQuery||jQuery);(function(e,t,n){"use strict";if(!n.escapeSelector){n.escapeSelector=function(e){var t=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;var n=function(e,t){if(t){if(e==="\0"){return"�"}return e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" "}return"\\"+e};return(e+"").replace(t,n)}}var i=true;var r=null;var s=null;function a(){var e=t.location.hash.substr(1);var n=e.split("-");var i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1;var r=n.join("-");if(i<1){i=1}return{hash:e,index:i,gallery:r}}function o(e){var t;if(e.gallery!==""){t=n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1);if(!t.length){t=n("#"+n.escapeSelector(e.gallery)+"")}if(t.length){i=false;t.trigger("click")}}}function l(e){var t;if(!e){return false}t=e.current?e.current.opts:e.opts;return t.hash||(t.$orig?t.$orig.data("fancybox"):"")}n(function(){if(n.fancybox.defaults.hash===false){return}n(e).on({"onInit.fb":function(e,t){var n,i;if(t.group[t.currIndex].opts.hash===false){return}n=a();i=l(t);if(i&&n.gallery&&i==n.gallery){t.currIndex=n.index-1}},"beforeShow.fb":function(n,a,o){var f;if(!o||o.opts.hash===false){return}f=l(a);if(f&&f!==""){if(t.location.hash.indexOf(f)<0){a.opts.origHash=t.location.hash}r=f+(a.group.length>1?"-"+(o.index+1):"");if("replaceState"in t.history){if(s){clearTimeout(s)}s=setTimeout(function(){t.history[i?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+r);s=null;i=false},300)}else{t.location.hash=r}}},"beforeClose.fb":function(i,a,o){var f,u;if(s){clearTimeout(s)}if(o.opts.hash===false){return}f=l(a);u=a&&a.opts.origHash?a.opts.origHash:"";if(f&&f!==""){if("replaceState"in history){t.history.replaceState({},e.title,t.location.pathname+t.location.search+u)}else{t.location.hash=u;n(t).scrollTop(a.scrollTop).scrollLeft(a.scrollLeft)}}r=null}});n(t).on("hashchange.fb",function(){var e=a();if(n.fancybox.getInstance()){if(r&&r!==e.gallery+"-"+e.index&&!(e.index===1&&r==e.gallery)){r=null;n.fancybox.close()}}else if(e.gallery!==""){o(e)}});setTimeout(function(){o(a())},50)})})(document,window,window.jQuery||jQuery);appear=function(){"use strict";var e=null,t=0,n={};function i(){var i=window.scrollY||window.pageYOffset;if(e!=null){n.velocity=i-e;n.delta=n.velocity>=0?n.velocity:-1*n.velocity}e=i;if(t){clearTimeout(t)}t=setTimeout(function(){e=null},30)}addEventListener("scroll",i,false);function r(e,t){var n=e.getBoundingClientRect();return n.top+n.height>=0&&n.left+n.width>=0&&n.bottom-n.height<=(window.innerHeight||document.documentElement.clientHeight)+t&&n.right-n.width<=(window.innerWidth||document.documentElement.clientWidth)+t}return function(e){return function(e){var t=false,i=[],s,a=[],o=0,l=0,f,u,c={},h;function d(e,t){return function(){var n=this,i=arguments;clearTimeout(f);f=setTimeout(function(){e.apply(n,i)},t)}}function p(){if(n.delta<c.delta.speed){if(!u){u=true;y();setTimeout(function(){u=false},c.delta.timeout)}}d(function(){y()},c.debounce)()}function m(){y();addEventListener("scroll",p,false);addEventListener("resize",p,false)}function g(){i=[];if(f){clearTimeout(f)}v()}function v(){removeEventListener("scroll",p,false);removeEventListener("resize",p,false)}function y(){if(h){return}i.forEach(function(e,t){if(e&&r(e,c.bounds)){if(a[t]){a[t]=false;o++;if(c.appear){c.appear(e)}if(!c.disappear&&!c.reappear){i[t]=null}}}else{if(a[t]===false){if(c.disappear){c.disappear(e)}l++;if(!c.reappear){i[t]=null}}a[t]=true}});if(!c.reappear&&(!c.appear||c.appear&&o===s)&&(!c.disappear||c.disappear&&l===s)){h=true;v();if(c.done){c.done()}}}function b(){if(t){return}t=true;if(c.init){c.init()}var e;if(typeof c.elements==="function"){e=c.elements()}else{e=c.elements}if(e){s=e.length;for(var n=0;n<s;n+=1){i.push(e[n]);a.push(true)}m()}}return function(e){e=e||{};c={init:e.init,elements:e.elements,appear:e.appear,disappear:e.disappear,done:e.done,reappear:e.reappear,bounds:e.bounds||0,debounce:e.debounce||50,delta:{speed:e.deltaSpeed||50,timeout:e.deltaTimeout||500}};addEventListener("DOMContentLoaded",b,false);var t=false;if(Function("/*@cc_on return document.documentMode===10@*/")()){t=true}var n=document.readyState==="complete"||document.readyState==="loaded";if(t){if(n){b()}}else{if(n||document.readyState==="interactive"){b()}}return{trigger:function e(){y()},pause:function e(){v()},resume:function e(){m()},destroy:function e(){g()}}}}()(e)}}();(function(e){"use strict";e.HSCore={init:function(){e(document).ready(function(t){e('[data-toggle="tooltip"]').tooltip();if(e("[data-bg-img-src]").length)e.HSCore.helpers.bgImage(e("[data-bg-img-src]"));e.HSCore.helpers.extendjQuery();e.HSCore.helpers.detectIE();e.HSCore.helpers.bootstrapNavOptions.init()});e(window).on("load",function(e){})},components:{},helpers:{Math:{getRandomValueFromRange:function(e,t,n){var i=n?n:false;Math.random();return i?Math.random()*(t-e)+e:Math.floor(Math.random()*(t-e+1))+e}},bgImage:function(t){if(!t||!t.length)return;return t.each(function(t,n){var i=e(n),r=i.data("bg-img-src");if(r)i.css("background-image","url("+r+")")})},extendjQuery:function(){e.fn.extend({imagesLoaded:function(){var t=this.find('img[src!=""]');if(!t.length){return e.Deferred().resolve().promise()}var n=[];t.each(function(){var t=e.Deferred();n.push(t);var i=new Image;i.onload=function(){t.resolve()};i.onerror=function(){t.resolve()};i.src=this.src});return e.when.apply(e,n)}})},detectIE:function(){var e=window.navigator.userAgent;var t=e.indexOf("Trident/");if(t>0){var n=e.indexOf("rv:");var i=parseInt(e.substring(n+3,e.indexOf(".",n)),10);document.querySelector("body").className+=" IE"}var r=e.indexOf("Edge/");if(r>0){var i=parseInt(e.substring(r+5,e.indexOf(".",r)),10);document.querySelector("body").className+=" IE"}return false},bootstrapNavOptions:{init:function(){this.mobileHideOnScroll()},mobileHideOnScroll:function(){var t=e(".navbar");if(!t.length)return;var n=e(window),i={sm:576,md:768,lg:992,xl:1200};e("body").on("click.HSMobileHideOnScroll",".navbar-toggler",function(t){var i=e(this).closest(".navbar");if(i.length){i.data("mobile-menu-scroll-position",n.scrollTop())}t.preventDefault()});n.on("scroll.HSMobileHideOnScroll",function(r){t.each(function(t,r){var s=e(r),a,o,l,f,u;if(s.hasClass("navbar-expand-xl"))u=i["xl"];else if(s.hasClass("navbar-expand-lg"))u=i["lg"];else if(s.hasClass("navbar-expand-md"))u=i["md"];else if(s.hasClass("navbar-expand-xs"))u=i["xs"];if(n.width()>u)return;a=s.find(".navbar-toggler");o=s.find(".navbar-collapse");if(!o.data("mobile-scroll-hide"))return;if(o.length){l=s.data("mobile-menu-scroll-position");if(Math.abs(n.scrollTop()-l)>40&&o.hasClass("show")){a.trigger("click");f=a.find(".is-active");if(f.length){f.removeClass("is-active")}}}})})}}},settings:{rtl:false}};e.HSCore.init()})(jQuery);(function(e){"use strict";e.HSCore.components.HSPopup={_baseConfig:{parentEl:"html",baseClass:"u-fancybox-theme",slideClass:"u-fancybox-slide",speed:1e3,slideSpeedCoefficient:1,infobar:false,fullScreen:true,thumbs:true,closeBtn:true,baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1">'+'<div class="fancybox-content">'+'<div class="fancybox-bg"></div>'+'<div class="fancybox-controls" style="position: relative; z-index: 99999;">'+'<div class="fancybox-infobar">'+'<div class="fancybox-infobar__body">'+"<span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span>"+"</div>"+"</div>"+'<div class="fancybox-toolbar">{{BUTTONS}}</div>'+"</div>"+'<div class="fancybox-slider-wrap">'+'<button data-fancybox-prev class="fancybox-arrow fancybox-arrow--left" title="Previous"></button>'+'<button data-fancybox-next class="fancybox-arrow fancybox-arrow--right" title="Next"></button>'+'<div class="fancybox-stage"></div>'+"</div>"+'<div class="fancybox-caption-wrap">'+'<div class="fancybox-caption"></div>'+"</div>"+"</div>"+"</div>",animationEffect:"fade"},pageCollection:e(),init:function(t,n){if(!t)return;var i=e(t);if(!i.length)return;n=n&&e.isPlainObject(n)?e.extend(true,{},this._baseConfig,n):this._baseConfig;this.initPopup(t,n)},initPopup:function(t,n){var i=e(t);i.on("click",function(){var t=e(this),n=t.data("speed"),i=t.data("fancybox"),r=Boolean(t.data("is-infinite")),s=t.data("slideshow-speed");e.fancybox.defaults.animationDuration=n;if(r==true){e.fancybox.defaults.loop=true}if(i){e.fancybox.defaults.transitionEffect="slide";e.fancybox.defaults.slideShow.speed=s}});i.fancybox(e.extend(true,{},n,{beforeShow:function(t,n){var i=e(t.$refs.container),r=e(t.$refs.bg[0]),s=e(t.current.$slide),a=t.current.opts.$orig[0].dataset.animateIn,o=t.current.opts.$orig[0].dataset.animateOut,l=t.current.opts.$orig[0].dataset.speed,f=t.current.opts.$orig[0].dataset.overlayBg,u=t.current.opts.$orig[0].dataset.overlayBlurBg;if(a&&e("body").hasClass("u-first-slide-init")){var c=e(t.slides[t.prevPos].$slide);s.addClass("has-animation");c.addClass("animated "+o);setTimeout(function(){s.addClass("animated "+a)},l/2)}else if(a){var c=e(t.slides[t.prevPos].$slide);s.addClass("has-animation");s.addClass("animated "+a);e("body").addClass("u-first-slide-init")}if(l){r.css("transition-duration",l+"ms")}else{r.css("transition-duration","1000ms")}if(f){r.css("background-color",f)}if(u){e("body").addClass("g-blur-30")}},beforeClose:function(t,n){var i=e(t.$refs.container),r=e(t.current.$slide),s=t.current.opts.$orig[0].dataset.animateIn,a=t.current.opts.$orig[0].dataset.animateOut,o=t.current.opts.$orig[0].dataset.overlayBlurBg;if(a){r.removeClass(s).addClass(a);e("body").removeClass("u-first-slide-init")}if(o){e("body").removeClass("g-blur-30")}}}))}}})(jQuery);(function(e){"use strict";e.HSCore.components.HSGoTo={_baseConfig:{},pageCollection:e(),init:function(t,n){this.collection=t&&e(t).length?e(t):e();if(!e(t).length)return;this.config=n&&e.isPlainObject(n)?e.extend({},this._baseConfig,n):this._baseConfig;this.config.itemSelector=t;this.initGoTo();return this.pageCollection},initGoTo:function(){var t=this,n=t.pageCollection;this.collection.each(function(t,i){var r=e(i),s=r.data("target"),a=r.data("type"),o=r.data("show-effect"),l=r.data("hide-effect"),f=JSON.parse(i.getAttribute("data-position")),u=e(r.data("compensation")).outerHeight(),c=r.data("offset-top");r.addClass("animated").css({display:"inline-block",position:a,opacity:0});if(a=="fixed"||a=="absolute"){r.css(f)}r.on("click",function(t){t.preventDefault();e("html, body").stop().animate({scrollTop:s?e(s).offset().top-u:0},800)});if(!r.data("offset-top")&&!r.hasClass("js-animation-was-fired")){if(r.offset().top<=e(window).height()){r.show();setTimeout(function(){r.addClass("js-animation-was-fired "+o).css({opacity:""})})}}e(window).on("scroll",function(){if(r.data("offset-top")){if(e(window).scrollTop()>=c&&!r.hasClass("js-animation-was-fired")){r.show();setTimeout(function(){r.addClass("js-animation-was-fired "+o).css({opacity:""})})}else if(e(window).scrollTop()<=c&&r.hasClass("js-animation-was-fired")){r.removeClass("js-animation-was-fired "+o);setTimeout(function(){r.addClass(l).css({opacity:0})},100);setTimeout(function(){r.removeClass(l).hide()},400)}}else{var t=r.offset().top;if(!r.hasClass("js-animation-was-fired")){if(e(window).scrollTop()>=t-e(window).height()){r.show();setTimeout(function(){r.addClass("js-animation-was-fired "+o).css({opacity:""})})}}}});e(window).trigger("scroll");n=n.add(r)})}}})(jQuery);(function(e){"use strict";e.HSCore.components.HSHeader={_baseConfig:{headerFixMoment:0,headerFixEffect:"slide",breakpointsMap:{md:768,sm:576,lg:992,xl:1200}},init:function(n){if(!n||n.length!==1||n.data("HSHeader"))return;var i=this;this.element=n;this.config=e.extend(true,{},this._baseConfig,n.data());this.observers=this._detectObservers();this.fixMediaDifference(this.element);this.element.data("HSHeader",new t(this.element,this.config,this.observers));e(window).on("scroll.uHeader",function(e){n.data("HSHeader").notify()}).on("resize.uHeader",function(e){if(i.resizeTimeOutId)clearTimeout(i.resizeTimeOutId);i.resizeTimeOutId=setTimeout(function(){n.data("HSHeader").checkViewport().update()},100)}).trigger("scroll.uHeader");return this.element},_detectObservers:function(){if(!this.element||!this.element.length)return;var e={xs:[],sm:[],md:[],lg:[],xl:[]};if(this.element.hasClass("u-header--has-hidden-element")){e["xs"].push(new f(this.element))}if(this.element.hasClass("u-header--sticky-top")){if(this.element.hasClass("u-header--show-hide")){e["xs"].push(new r(this.element))}else if(this.element.hasClass("u-header--toggle-section")){e["xs"].push(new o(this.element))}if(this.element.hasClass("u-header--change-logo")){e["xs"].push(new a(this.element))}if(this.element.hasClass("u-header--change-appearance")){e["xs"].push(new l(this.element))}}if(this.element.hasClass("u-header--floating")){e["xs"].push(new u(this.element))}if(this.element.hasClass("u-header--invulnerable")){e["xs"].push(new c(this.element))}if(this.element.hasClass("u-header--sticky-bottom")){if(this.element.hasClass("u-header--change-appearance")){e["xs"].push(new l(this.element))}if(this.element.hasClass("u-header--change-logo")){e["xs"].push(new a(this.element))}}if(this.element.hasClass("u-header--abs-top")||this.element.hasClass("u-header--static")){if(this.element.hasClass("u-header--show-hide")){e["xs"].push(new s(this.element))}if(this.element.hasClass("u-header--change-logo")){e["xs"].push(new a(this.element))}if(this.element.hasClass("u-header--change-appearance")){e["xs"].push(new l(this.element))}}if(this.element.hasClass("u-header--abs-bottom")||this.element.hasClass("u-header--abs-top-2nd-screen")){e["xs"].push(new i(this.element));if(this.element.hasClass("u-header--change-appearance")){e["xs"].push(new l(this.element,{fixPointSelf:true}))}if(this.element.hasClass("u-header--change-logo")){e["xs"].push(new a(this.element,{fixPointSelf:true}))}}if(this.element.hasClass("u-header--has-hidden-element--sm")){e["sm"].push(new f(this.element))}if(this.element.hasClass("u-header--sticky-top--sm")){if(this.element.hasClass("u-header--show-hide--sm")){e["sm"].push(new r(this.element))}else if(this.element.hasClass("u-header--toggle-section--sm")){e["sm"].push(new o(this.element))}if(this.element.hasClass("u-header--change-logo--sm")){e["sm"].push(new a(this.element))}if(this.element.hasClass("u-header--change-appearance--sm")){e["sm"].push(new l(this.element))}}if(this.element.hasClass("u-header--floating--sm")){e["sm"].push(new u(this.element))}if(this.element.hasClass("u-header--invulnerable--sm")){e["sm"].push(new c(this.element))}if(this.element.hasClass("u-header--sticky-bottom--sm")){if(this.element.hasClass("u-header--change-appearance--sm")){e["sm"].push(new l(this.element))}if(this.element.hasClass("u-header--change-logo--sm")){e["sm"].push(new a(this.element))}}if(this.element.hasClass("u-header--abs-top--sm")||this.element.hasClass("u-header--static--sm")){if(this.element.hasClass("u-header--show-hide--sm")){e["sm"].push(new s(this.element))}if(this.element.hasClass("u-header--change-logo--sm")){e["sm"].push(new a(this.element))}if(this.element.hasClass("u-header--change-appearance--sm")){e["sm"].push(new l(this.element))}}if(this.element.hasClass("u-header--abs-bottom--sm")||this.element.hasClass("u-header--abs-top-2nd-screen--sm")){e["sm"].push(new i(this.element));if(this.element.hasClass("u-header--change-appearance--sm")){e["sm"].push(new l(this.element,{fixPointSelf:true}))}if(this.element.hasClass("u-header--change-logo--sm")){e["sm"].push(new a(this.element,{fixPointSelf:true}))}}if(this.element.hasClass("u-header--has-hidden-element--md")){e["md"].push(new f(this.element))}if(this.element.hasClass("u-header--sticky-top--md")){if(this.element.hasClass("u-header--show-hide--md")){e["md"].push(new r(this.element))}else if(this.element.hasClass("u-header--toggle-section--md")){e["md"].push(new o(this.element))}if(this.element.hasClass("u-header--change-logo--md")){e["md"].push(new a(this.element))}if(this.element.hasClass("u-header--change-appearance--md")){e["md"].push(new l(this.element))}}if(this.element.hasClass("u-header--floating--md")){e["md"].push(new u(this.element))}if(this.element.hasClass("u-header--invulnerable--md")){e["md"].push(new c(this.element))}if(this.element.hasClass("u-header--sticky-bottom--md")){if(this.element.hasClass("u-header--change-appearance--md")){e["md"].push(new l(this.element))}if(this.element.hasClass("u-header--change-logo--md")){e["md"].push(new a(this.element))}}if(this.element.hasClass("u-header--abs-top--md")||this.element.hasClass("u-header--static--md")){if(this.element.hasClass("u-header--show-hide--md")){e["md"].push(new s(this.element))}if(this.element.hasClass("u-header--change-logo--md")){e["md"].push(new a(this.element))}if(this.element.hasClass("u-header--change-appearance--md")){e["md"].push(new l(this.element))}}if(this.element.hasClass("u-header--abs-bottom--md")||this.element.hasClass("u-header--abs-top-2nd-screen--md")){e["md"].push(new i(this.element));if(this.element.hasClass("u-header--change-appearance--md")){e["md"].push(new l(this.element,{fixPointSelf:true}))}if(this.element.hasClass("u-header--change-logo--md")){e["md"].push(new a(this.element,{fixPointSelf:true}))}}if(this.element.hasClass("u-header--has-hidden-element--lg")){e["lg"].push(new f(this.element))}if(this.element.hasClass("u-header--sticky-top--lg")){if(this.element.hasClass("u-header--show-hide--lg")){e["lg"].push(new r(this.element))}else if(this.element.hasClass("u-header--toggle-section--lg")){e["lg"].push(new o(this.element))}if(this.element.hasClass("u-header--change-logo--lg")){e["lg"].push(new a(this.element))}if(this.element.hasClass("u-header--change-appearance--lg")){e["lg"].push(new l(this.element))}}if(this.element.hasClass("u-header--floating--lg")){e["lg"].push(new u(this.element))}if(this.element.hasClass("u-header--invulnerable--lg")){e["lg"].push(new c(this.element))}if(this.element.hasClass("u-header--sticky-bottom--lg")){if(this.element.hasClass("u-header--change-appearance--lg")){e["lg"].push(new l(this.element))}if(this.element.hasClass("u-header--change-logo--lg")){e["lg"].push(new a(this.element))}}if(this.element.hasClass("u-header--abs-top--lg")||this.element.hasClass("u-header--static--lg")){if(this.element.hasClass("u-header--show-hide--lg")){e["lg"].push(new s(this.element))}if(this.element.hasClass("u-header--change-logo--lg")){e["lg"].push(new a(this.element))}if(this.element.hasClass("u-header--change-appearance--lg")){e["lg"].push(new l(this.element))}}if(this.element.hasClass("u-header--abs-bottom--lg")||this.element.hasClass("u-header--abs-top-2nd-screen--lg")){e["lg"].push(new i(this.element));if(this.element.hasClass("u-header--change-appearance--lg")){e["lg"].push(new l(this.element,{fixPointSelf:true}))}if(this.element.hasClass("u-header--change-logo--lg")){e["lg"].push(new a(this.element,{fixPointSelf:true}))}}if(this.element.hasClass("u-header--has-hidden-element--xl")){e["xl"].push(new f(this.element))}if(this.element.hasClass("u-header--sticky-top--xl")){if(this.element.hasClass("u-header--show-hide--xl")){e["xl"].push(new r(this.element))}else if(this.element.hasClass("u-header--toggle-section--xl")){e["xl"].push(new o(this.element))}if(this.element.hasClass("u-header--change-logo--xl")){e["xl"].push(new a(this.element))}if(this.element.hasClass("u-header--change-appearance--xl")){e["xl"].push(new l(this.element))}}if(this.element.hasClass("u-header--floating--xl")){e["xl"].push(new u(this.element))}if(this.element.hasClass("u-header--invulnerable--xl")){e["xl"].push(new c(this.element))}if(this.element.hasClass("u-header--sticky-bottom--xl")){if(this.element.hasClass("u-header--change-appearance--xl")){e["xl"].push(new l(this.element))}if(this.element.hasClass("u-header--change-logo--xl")){e["xl"].push(new a(this.element))}}if(this.element.hasClass("u-header--abs-top--xl")||this.element.hasClass("u-header--static--xl")){if(this.element.hasClass("u-header--show-hide--xl")){e["xl"].push(new s(this.element))}if(this.element.hasClass("u-header--change-logo--xl")){e["xl"].push(new a(this.element))}if(this.element.hasClass("u-header--change-appearance--xl")){e["xl"].push(new l(this.element))}}if(this.element.hasClass("u-header--abs-bottom--xl")||this.element.hasClass("u-header--abs-top-2nd-screen--xl")){e["xl"].push(new i(this.element));if(this.element.hasClass("u-header--change-appearance--xl")){e["xl"].push(new l(this.element,{fixPointSelf:true}))}if(this.element.hasClass("u-header--change-logo--xl")){e["xl"].push(new a(this.element,{fixPointSelf:true}))}}return e},fixMediaDifference:function(e){if(!e||!e.length||!e.filter('[class*="u-header--side"]').length)return;var t;if(e.hasClass("u-header--side-left--xl")||e.hasClass("u-header--side-right--xl")){t=e.find(".navbar-expand-xl");if(t.length){t.removeClass("navbar-expand-xl").addClass("navbar-expand-lg")}}else if(e.hasClass("u-header--side-left--lg")||e.hasClass("u-header--side-right--lg")){t=e.find(".navbar-expand-lg");if(t.length){t.removeClass("navbar-expand-lg").addClass("navbar-expand-md")}}else if(e.hasClass("u-header--side-left--md")||e.hasClass("u-header--side-right--md")){t=e.find(".navbar-expand-md");if(t.length){t.removeClass("navbar-expand-md").addClass("navbar-expand-sm")}}else if(e.hasClass("u-header--side-left--sm")||e.hasClass("u-header--side-right--sm")){t=e.find(".navbar-expand-sm");if(t.length){t.removeClass("navbar-expand-sm").addClass("navbar-expand")}}}};function t(t,n,i){if(!t||!t.length)return;this.element=t;this.config=n;this.observers=i&&e.isPlainObject(i)?i:{};this.viewport="xs";this.checkViewport()}t.prototype.checkViewport=function(){var t=e(window);if(t.width()>this.config.breakpointsMap["sm"]&&this.observers["sm"].length){this.prevViewport=this.viewport;this.viewport="sm";return this}if(t.width()>this.config.breakpointsMap["md"]&&this.observers["md"].length){this.prevViewport=this.viewport;this.viewport="md";return this}if(t.width()>this.config.breakpointsMap["lg"]&&this.observers["lg"].length){this.prevViewport=this.viewport;this.viewport="lg";return this}if(t.width()>this.config.breakpointsMap["xl"]&&this.observers["xl"].length){this.prevViewport=this.viewport;this.viewport="xl";return this}if(this.prevViewport)this.prevViewport=this.viewport;this.viewport="xs";return this};t.prototype.notify=function(){if(this.prevViewport){this.observers[this.prevViewport].forEach(function(e){e.destroy()});this.prevViewport=null}this.observers[this.viewport].forEach(function(e){e.check()});return this};t.prototype.update=function(){for(var e in this.observers){this.observers[e].forEach(function(e){e.destroy()})}this.prevViewport=null;this.observers[this.viewport].forEach(function(e){e.reinit()});return this};function n(e){if(!e||!e.length)return;this.element=e;this.defaultState=true;this.reinit=function(){this.destroy().init().check()};return true}function i(e){if(!n.call(this,e))return;this.init()}i.prototype.init=function(){this.defaultState=true;this.offset=this.element.offset().top;return this};i.prototype.destroy=function(){this.toDefaultState();return this};i.prototype.check=function(){var t=e(window),n=t.scrollTop();if(n>this.offset&&this.defaultState){this.changeState()}else if(n<this.offset&&!this.defaultState){this.toDefaultState()}return this};i.prototype.changeState=function(){this.element.addClass("js-header-fix-moment");this.defaultState=!this.defaultState;return this};i.prototype.toDefaultState=function(){this.element.removeClass("js-header-fix-moment");this.defaultState=!this.defaultState;return this};function r(e){if(!n.call(this,e))return;this.init()}r.prototype.init=function(){this.direction="down";this.delta=0;this.defaultState=true;this.offset=isFinite(this.element.data("header-fix-moment"))&&this.element.data("header-fix-moment")!=0?this.element.data("header-fix-moment"):5;this.effect=this.element.data("header-fix-effect")?this.element.data("header-fix-effect"):"show-hide";return this};r.prototype.destroy=function(){this.toDefaultState();return this};r.prototype.checkDirection=function(){if(e(window).scrollTop()>this.delta){this.direction="down"}else{this.direction="up"}this.delta=e(window).scrollTop();return this};r.prototype.toDefaultState=function(){switch(this.effect){case"slide":this.element.removeClass("u-header--moved-up");break;case"fade":this.element.removeClass("u-header--faded");break;default:this.element.removeClass("u-header--invisible")}this.defaultState=!this.defaultState;return this};r.prototype.changeState=function(){switch(this.effect){case"slide":this.element.addClass("u-header--moved-up");break;case"fade":this.element.addClass("u-header--faded");break;default:this.element.addClass("u-header--invisible")}this.defaultState=!this.defaultState;return this};r.prototype.check=function(){var t=e(window).scrollTop();this.checkDirection();if(t>=this.offset&&this.defaultState&&this.direction=="down"){this.changeState()}else if(!this.defaultState&&this.direction=="up"){this.toDefaultState()}return this};function s(e){if(!n.call(this,e))return;this.init()}s.prototype.init=function(){if(!this.defaultState&&e(window).scrollTop()>this.offset)return this;this.defaultState=true;this.transitionDuration=parseFloat(getComputedStyle(this.element.get(0))["transition-duration"],10)*1e3;this.offset=isFinite(this.element.data("header-fix-moment"))&&this.element.data("header-fix-moment")>this.element.outerHeight()?this.element.data("header-fix-moment"):this.element.outerHeight()+100;this.effect=this.element.data("header-fix-effect")?this.element.data("header-fix-effect"):"show-hide";return this};s.prototype.destroy=function(){if(!this.defaultState&&e(window).scrollTop()>this.offset)return this;this.element.removeClass("u-header--untransitioned");this._removeCap();return this};s.prototype._insertCap=function(){this.element.addClass("js-header-fix-moment u-header--untransitioned");if(this.element.hasClass("u-header--static")){e("html").css("padding-top",this.element.outerHeight())}switch(this.effect){case"fade":this.element.addClass("u-header--faded");break;case"slide":this.element.addClass("u-header--moved-up");break;default:this.element.addClass("u-header--invisible")}this.capInserted=true};s.prototype._removeCap=function(){var t=this;this.element.removeClass("js-header-fix-moment");if(this.element.hasClass("u-header--static")){e("html").css("padding-top",0)}if(this.removeCapTimeOutId)clearTimeout(this.removeCapTimeOutId);this.removeCapTimeOutId=setTimeout(function(){t.element.removeClass("u-header--moved-up u-header--faded u-header--invisible")},10);this.capInserted=false};s.prototype.check=function(){var t=e(window);if(t.scrollTop()>this.element.outerHeight()&&!this.capInserted){this._insertCap()}else if(t.scrollTop()<=this.element.outerHeight()&&this.capInserted){this._removeCap()}if(t.scrollTop()>this.offset&&this.defaultState){this.changeState()}else if(t.scrollTop()<=this.offset&&!this.defaultState){this.toDefaultState()}};s.prototype.changeState=function(){this.element.removeClass("u-header--untransitioned");if(this.animationTimeoutId)clearTimeout(this.animationTimeoutId);switch(this.effect){case"fade":this.element.removeClass("u-header--faded");break;case"slide":this.element.removeClass("u-header--moved-up");break;default:this.element.removeClass("u-header--invisible")}this.defaultState=!this.defaultState};s.prototype.toDefaultState=function(){var e=this;this.animationTimeoutId=setTimeout(function(){e.element.addClass("u-header--untransitioned")},this.transitionDuration);switch(this.effect){case"fade":this.element.addClass("u-header--faded");break;case"slide":this.element.addClass("u-header--moved-up");break;default:this.element.addClass("u-header--invisible")}this.defaultState=!this.defaultState};function a(t,i){if(!n.call(this,t))return;this.config={fixPointSelf:false};if(i&&e.isPlainObject(i))this.config=e.extend(true,{},this.config,i);this.init()}a.prototype.init=function(){if(this.element.hasClass("js-header-fix-moment")){this.hasFixedClass=true;this.element.removeClass("js-header-fix-moment")}if(this.config.fixPointSelf){this.offset=this.element.offset().top}else{this.offset=isFinite(this.element.data("header-fix-moment"))?this.element.data("header-fix-moment"):0}if(this.hasFixedClass){this.hasFixedClass=false;this.element.addClass("js-header-fix-moment")}this.imgs=this.element.find(".u-header__logo-img");this.defaultState=true;this.mainLogo=this.imgs.filter(".u-header__logo-img--main");this.additionalLogo=this.imgs.not(".u-header__logo-img--main");if(!this.imgs.length)return this;return this};a.prototype.destroy=function(){this.toDefaultState();return this};a.prototype.check=function(){var t=e(window);if(!this.imgs.length)return this;if(t.scrollTop()>this.offset&&this.defaultState){this.changeState()}else if(t.scrollTop()<=this.offset&&!this.defaultState){this.toDefaultState()}return this};a.prototype.changeState=function(){if(this.mainLogo.length){this.mainLogo.removeClass("u-header__logo-img--main")}if(this.additionalLogo.length){this.additionalLogo.addClass("u-header__logo-img--main")}this.defaultState=!this.defaultState;return this};a.prototype.toDefaultState=function(){if(this.mainLogo.length){this.mainLogo.addClass("u-header__logo-img--main")}if(this.additionalLogo.length){this.additionalLogo.removeClass("u-header__logo-img--main")}this.defaultState=!this.defaultState;return this};function o(e){if(!n.call(this,e))return;this.init()}o.prototype.init=function(){this.offset=isFinite(this.element.data("header-fix-moment"))?this.element.data("header-fix-moment"):5;this.section=this.element.find(".u-header__section--hidden");this.defaultState=true;this.sectionHeight=this.section.length?this.section.get(0).offsetHeight:0;return this};o.prototype.destroy=function(){if(this.section.length){this.element.css({"margin-top":0})}return this};o.prototype.check=function(){if(!this.section.length)return this;var t=e(window),n=t.scrollTop();if(n>this.offset&&this.defaultState){this.changeState()}else if(n<=this.offset&&!this.defaultState){this.toDefaultState()}return this};o.prototype.changeState=function(){var e=this;this.element.stop().animate({"margin-top":e.sectionHeight*-1-1});this.defaultState=!this.defaultState;return this};o.prototype.toDefaultState=function(){this.element.stop().animate({"margin-top":0});this.defaultState=!this.defaultState;return this};function l(t,i){if(!n.call(this,t))return;this.config={fixPointSelf:false};if(i&&e.isPlainObject(i))this.config=e.extend(true,{},this.config,i);this.init()}l.prototype.init=function(){if(this.element.hasClass("js-header-fix-moment")){this.hasFixedClass=true;this.element.removeClass("js-header-fix-moment")}if(this.config.fixPointSelf){this.offset=this.element.offset().top}else{this.offset=isFinite(this.element.data("header-fix-moment"))?this.element.data("header-fix-moment"):5}if(this.hasFixedClass){this.hasFixedClass=false;this.element.addClass("js-header-fix-moment")}this.sections=this.element.find("[data-header-fix-moment-classes]");this.defaultState=true;return this};l.prototype.destroy=function(){this.toDefaultState();return this};l.prototype.check=function(){if(!this.sections.length)return this;var t=e(window),n=t.scrollTop();if(n>this.offset&&this.defaultState){this.changeState()}else if(n<=this.offset&&!this.defaultState){this.toDefaultState()}return this};l.prototype.changeState=function(){this.sections.each(function(t,n){var i=e(n),r=i.data("header-fix-moment-classes"),s=i.data("header-fix-moment-exclude");if(!r&&!s)return;i.addClass(r+" js-header-change-moment");i.removeClass(s)});this.defaultState=!this.defaultState;return this};l.prototype.toDefaultState=function(){this.sections.each(function(t,n){var i=e(n),r=i.data("header-fix-moment-classes"),s=i.data("header-fix-moment-exclude");if(!r&&!s)return;i.removeClass(r+" js-header-change-moment");i.addClass(s)});this.defaultState=!this.defaultState;return this};function f(t,i){if(!n.call(this,t))return;this.config={animated:true};if(i&&e.isPlainObject(i))this.config=e.extend(true,{},this.config,i);this.init()}f.prototype.init=function(){this.offset=isFinite(this.element.data("header-fix-moment"))?this.element.data("header-fix-moment"):5;this.elements=this.element.find(".u-header--hidden-element");this.defaultState=true;return this};f.prototype.destroy=function(){this.toDefaultState();return this};f.prototype.check=function(){if(!this.elements.length)return this;var t=e(window),n=t.scrollTop();if(n>this.offset&&this.defaultState){this.changeState()}else if(n<=this.offset&&!this.defaultState){this.toDefaultState()}return this};f.prototype.changeState=function(){if(this.config.animated){this.elements.stop().slideUp()}else{this.elements.hide()}this.defaultState=!this.defaultState;return this};f.prototype.toDefaultState=function(){if(this.config.animated){this.elements.stop().slideDown()}else{this.elements.show()}this.defaultState=!this.defaultState;return this};function u(t,i){if(!n.call(this,t))return;this.config=i&&e.isPlainObject(i)?e.extend(true,{},this.config,i):{};this.init()}u.prototype.init=function(){this.offset=this.element.offset().top;this.elementHeight=this.element.get(0).offsetHeight;this.sections=this.element.find("[data-header-fix-moment-classes]");this.hiddenSection=this.element.find(".u-header__section--hidden");this.hidenSectionHeight=this.hiddenSection.length?this.hiddenSection.get(0).offsetHeight:0;this.defaultState=true;return this};u.prototype.destroy=function(){this.toDefaultState();return this};u.prototype.check=function(){var t=e(window),n=t.scrollTop();if(n>this.offset&&this.defaultState){this.changeState()}else if(n<=this.offset&&!this.defaultState){this.toDefaultState()}return this};u.prototype.changeState=function(){if(this.hiddenSection.length){this.element.stop().animate({"margin-top":this.hidenSectionHeight*-1-1})}this.element.addClass("js-header-fix-moment").addClass(this.element.data("header-fix-moment-classes")).removeClass(this.element.data("header-fix-moment-exclude"));if(this.element.hasClass("u-header--floating-relative")){this.elementWhitespace=e('<div style="height:'+this.elementHeight+'px"></div>').insertAfter(this.element)}if(this.sections.length){this.sections.each(function(t,n){var i=e(n);i.addClass(i.data("header-fix-moment-classes")).removeClass(i.data("header-fix-moment-exclude"))})}this.defaultState=!this.defaultState;return this};u.prototype.toDefaultState=function(){if(this.hiddenSection.length){this.element.stop().animate({"margin-top":0})}if(this.element.hasClass("u-header--floating-relative")&&this.elementWhitespace){this.elementWhitespace.remove()}this.element.removeClass("js-header-fix-moment").removeClass(this.element.data("header-fix-moment-classes")).addClass(this.element.data("header-fix-moment-exclude"));if(this.sections.length){this.sections.each(function(t,n){var i=e(n);i.removeClass(i.data("header-fix-moment-classes")).addClass(i.data("header-fix-moment-exclude"))})}this.defaultState=!this.defaultState;return this};function c(e){if(!n.call(this,e))return}c.prototype.check=function(){return this};c.prototype.init=function(){return this};c.prototype.destroy=function(){return this};c.prototype.changeState=function(){return this};c.prototype.toDefaultState=function(){return this}})(jQuery);(function(e){"use strict";e.HSCore.components.HSScrollNav={_baseConfig:{duration:400,easing:"linear",over:e(),activeItemClass:"active",afterShow:function(){},beforeShow:function(){}},_pageCollection:e(),init:function(n,i){var r=this;if(!n||!n.length)return e();n.each(function(n,s){var a=e(s),o=i&&e.isPlainObject(i)?e.extend(true,{},r._baseConfig,i,a.data()):e.extend(true,{},r._baseConfig,a.data());if(!a.data("HSScrollNav")){a.data("HSScrollNav",new t(a,o));r._pageCollection=r._pageCollection.add(a)}});e(window).on("scroll.HSScrollNav",function(){r._pageCollection.each(function(t,n){if(e.contains(document,n)){e(n).data("HSScrollNav").highlight()}})}).trigger("scroll.HSScrollNav");return n}};function t(t,n){this.element=t;this.config=n;this._items=e();this._makeItems();this._bindEvents()}t.prototype._makeItems=function(){var t=this;this.element.find('a[href*="#"]').filter(function(e,t){var n=t.getAttribute("href").split("#")[1];return!!document.getElementById(n)}).each(function(i,r){var s=e(r);if(!s.data("HSScrollNavSection")){s.data("HSScrollNavSection",new n(s,t.config));t._items=t._items.add(s)}})};t.prototype._bindEvents=function(){var t=this;this.element.on("click.HSScrollNav",'a[href*="#"]',function(n){var i=this;t._lockHightlight=true;if(t.current)t.current.unhighlight();i.blur();t.current=e(i).data("HSScrollNavSection");if(t.current){t.current.highlight();e(this).data("HSScrollNavSection").show(function(){t._lockHightlight=false});n.preventDefault()}})};t.prototype.highlight=function(){var t=this,n,i,r,s;if(!this._items.length||this._lockHightlight)return;s=e(window).scrollTop();if(s+e(window).height()===e(document).height()){this.current=this._items.last().data("HSScrollNavSection");this.unhighlight();this.current.highlight();this.current.changeHash();return}this._items.each(function(t,n){var i=e(n).data("HSScrollNavSection"),a=i.section;if(s>=i.offset){r=i}});if(r&&this.current!=r){this.unhighlight();r.highlight();if(this.current)r.changeHash();this.current=r}};t.prototype.unhighlight=function(){this._items.each(function(t,n){e(n).data("HSScrollNavSection").unhighlight()})};function n(t,n){var i=this;this.element=t;this.config=n;Object.defineProperty(this,"section",{value:e("#"+i.element.attr("href").split("#")[1])});Object.defineProperty(this,"offset",{get:function(){var t=e(".u-header"),n=getComputedStyle(t.get(0)),r=n.position,s=i.section.offset().top;if(t.length&&r=="fixed"&&parseInt(n.top)==0){s=s-t.outerHeight()-parseInt(n.marginTop)}if(i.config.over.length){s=s-i.config.over.outerHeight()}return s}})}n.prototype.show=function(t){var n=this;if(!this.section.length)return;n.config.beforeShow.call(n.section);this.changeHash();e("html, body").stop().animate({scrollTop:n.offset},{duration:n.config.duration,easing:n.config.easing})};n.prototype.changeHash=function(){this.section.attr("id","");window.location.hash="#"+this.element.attr("href").split("#")[1];this.section.attr("id",this.element.attr("href").split("#")[1])};n.prototype.highlight=function(){var e=this.element.parent("li");if(e.length)e.addClass(this.config.activeItemClass)};n.prototype.unhighlight=function(){var e=this.element.parent("li");if(e.length)e.removeClass(this.config.activeItemClass)}})(jQuery);(function(e){"use strict";e.HSCore.helpers.HSHamburgers={init:function(t){if(!t||!e(t).length)return;var n=e(t),i;n.each(function(n,r){var s=e(this);if(s.closest("button").length){s.closest("button").get(0).addEventListener("click",function(n){var r=e(this),s=e(t);if(i)clearTimeout(i);i=setTimeout(function(){s.toggleClass("is-active")},10);n.preventDefault()},false)}else{s.get(0).addEventListener("click",function(t){var n=e(this);if(i)clearTimeout(i);i=setTimeout(function(){n.toggleClass("is-active")},10);t.preventDefault()},false)}})}}})(jQuery);
//# sourceMappingURL=vendors_base.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit