/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n,l,h,b,S,T,z,N,R,$,K,G,J,g=[],yt=Object.getPrototypeOf,j=g.slice,bt=g.flat?function(e){return g.flat.call(e)}:function(e){return g.concat.apply([],e)},_e=g.push,U=g.indexOf,Y={},vt=Y.toString,X=Y.hasOwnProperty,gt=X.toString,Gt=gt.call(Object),a={},o=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},O=function(e){return e!=null&&e===e.window},i=e.document,Yt={type:!0,src:!0,nonce:!0,noModule:!0},he,se,it,st,nt,tt,Ge,ce,Fe,ye,ot,_t,at,Ot,ft,pt,jt,Oe,le,Ue,qe,xe,ut,mt,Be;function Ce(e,t,n){var s,a,o=(n=n||i).createElement("script");if(o.text=e,t)for(s in Yt)(a=t[s]||t.getAttribute&&t.getAttribute(s))&&o.setAttribute(s,a);n.head.appendChild(o).parentNode.removeChild(o)}function M(e){return e==null?e+"":"object"==typeof e||"function"==typeof e?Y[vt.call(e)]||"object":typeof e}he="3.6.1",n=function(e,t){return new n.fn.init(e,t)};function de(e){var t=!!e&&"length"in e&&e.length,n=M(e);return!o(e)&&!O(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+s+")"+s+"*"),be=new RegExp(s+"|>"),ve=new RegExp(U),ge=new RegExp("^"+O+"$"),S={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},pe=/HTML$/i,he=/^(?:input|select|textarea|button)$/i,ue=/^h\d$/i,E=/^[^{]+\{\s*\[native \w/,de=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,q=/[+~]/,f=new RegExp("\\\\[\\da-fA-F]{1,6}"+s+`?|\\\\([^\\r\\n\\f])`,"g"),m=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},se=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){g()},le=L(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{v.apply(y=ee.call(d.childNodes),d.childNodes),y[d.childNodes.length].nodeType}catch{v={apply:y.length?function(e,t){_e.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,s=0;e[n++]=t[s++];);e.length=n-1}}}function o(e,t,s,o){var c,d,u,f,p,b,j,m=t&&t.ownerDocument,h=t?t.nodeType:9;if(s=s||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return s;if(!o&&(g(t),t=t||n,l)){if(11!==h&&(f=de.exec(e)))if(c=f[1]){if(9===h){{if(!(d=t.getElementById(c)))return s;if(d.id===c)return s.push(d),s}}else if(m&&(d=m.getElementById(c))&&A(t,d)&&d.id===c)return s.push(d),s}else{if(f[2])return v.apply(s,t.getElementsByTagName(e)),s;if((c=f[3])&&i.getElementsByClassName&&t.getElementsByClassName)return v.apply(s,t.getElementsByClassName(c)),s}if(i.qsa&&!z[e+" "]&&(!r||!r.test(e))&&(1!==h||"object"!==t.nodeName.toLowerCase())){if(j=e,m=t,1===h&&(be.test(e)||Q.test(e))){for((m=q.test(e)&&K(t.parentNode)||t)===t&&i.scope||((u=t.getAttribute("id"))?u=u.replace(se,oe):t.setAttribute("id",u=a)),b=(p=k(e)).length;b--;)p[b]=(u?"#"+u:":scope")+" "+T(p[b]);j=p.join(",")}try{return v.apply(s,m.querySelectorAll(j)),s}catch{z(e,!0)}finally{u===a&&t.removeAttribute("id")}}}return te(e.replace(D,"$1"),t,s,o)}function P(){var e=[];return function n(s,o){return e.push(s+" ")>t.cacheLength&&delete n[e.shift()],n[s+" "]=o}}function u(e){return e[a]=!0,e}function h(e){var t=n.createElement("fieldset");try{return!!e(t)}catch{return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function W(e,n){for(var s=e.split("|"),o=s.length;o--;)t.attrHandle[s[o]]=n}function G(e,t){var n=t&&e,s=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(s)return s;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function me(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ce(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&le(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function _(e){return u(function(t){return t=+t,u(function(n,s){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(s[o]=n[o]))})})}function K(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(C in i=o.support={},ae=o.isXML=function(e){var n=e&&e.namespaceURI,t=e&&(e.ownerDocument||e).documentElement;return!pe.test(n||t&&t.nodeName||"HTML")},g=o.setDocument=function(e){var o,p,u=e?e.ownerDocument||e:d;return u!=n&&9===u.nodeType&&u.documentElement&&(c=(n=u).documentElement,l=!ae(n),d!=n&&(o=n.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),i.scope=h(function(e){return c.appendChild(e).appendChild(n.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),i.attributes=h(function(e){return e.className="i",!e.getAttribute("className")}),i.getElementsByTagName=h(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),i.getElementsByClassName=E.test(n.getElementsByClassName),i.getById=h(function(e){return c.appendChild(e).id=a,!n.getElementsByName||!n.getElementsByName(a).length}),i.getById?(t.filter.ID=function(e){var t=e.replace(f,m);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&l){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(f,m);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&l){var s,o,i,n=t.getElementById(e);if(n){if((s=n.getAttributeNode("id"))&&s.value===e)return[n];for(i=t.getElementsByName(e),o=0;n=i[o++];)if((s=n.getAttributeNode("id"))&&s.value===e)return[n]}return[]}}),t.find.TAG=i.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):i.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,s=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&s.push(n);return s}return o},t.find.CLASS=i.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&l)return t.getElementsByClassName(e)},j=[],r=[],(i.qsa=E.test(n.querySelectorAll))&&(h(function(e){var t;c.appendChild(e).innerHTML="`,e.querySelectorAll("[msallowcapture^='']").length&&r.push("[*^$]="+s+`*(?:''|"")`),e.querySelectorAll("[selected]").length||r.push("\\["+s+"*(?:value|"+B+")"),e.querySelectorAll("[id~="+a+"-]").length||r.push("~="),(t=n.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||r.push("\\["+s+"*name"+s+"*="+s+`*(?:''|"")`),e.querySelectorAll(":checked").length||r.push(":checked"),e.querySelectorAll("a#"+a+"+*").length||r.push(".#.+[+~]"),e.querySelectorAll("\\ "),r.push(`[\\r\\n\\f]`)}),h(function(e){e.innerHTML="";var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&r.push("name"+s+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&r.push(":enabled",":disabled"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&r.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),r.push(",.*:")})),(i.matchesSelector=E.test(F=c.matches||c.webkitMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.msMatchesSelector))&&h(function(e){i.disconnectedMatch=F.call(e,"*"),F.call(e,"[s!='']:x"),j.push("!=",U)}),r=r.length&&new RegExp(r.join("|")),j=j.length&&new RegExp(j.join("|")),p=E.test(c.compareDocumentPosition),A=p||E.test(c.contains)?function(e,t){var s=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(s.contains?s.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Y=p?function(e,t){if(e===t)return x=!0,0;var s=!e.compareDocumentPosition-!t.compareDocumentPosition;return s||(1&(s=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!i.sortDetached&&t.compareDocumentPosition(e)===s?e==n||e.ownerDocument==d&&A(d,e)?-1:t==n||t.ownerDocument==d&&A(d,t)?1:b?w(b,e)-w(b,t):0:4&s?-1:1)}:function(e,t){if(e===t)return x=!0,0;var s,o=0,r=e.parentNode,c=t.parentNode,i=[e],a=[t];if(!r||!c)return e==n?-1:t==n?1:r?-1:c?1:b?w(b,e)-w(b,t):0;if(r===c)return G(e,t);for(s=e;s=s.parentNode;)i.unshift(s);for(s=t;s=s.parentNode;)a.unshift(s);for(;i[o]===a[o];)o++;return o?G(i[o],a[o]):i[o]==d?-1:a[o]==d?1:0}),n},o.matches=function(e,t){return o(e,null,null,t)},o.matchesSelector=function(e,t){if(g(e),i.matchesSelector&&l&&!z[t+" "]&&(!j||!j.test(t))&&(!r||!r.test(t)))try{var s=F.call(e,t);if(s||i.disconnectedMatch||e.document&&11!==e.document.nodeType)return s}catch{z(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(f,m),e[3]=(e[3]||e[4]||e[5]||"").replace(f,m),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||o.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&o.error(e[0]),e},PSEUDO:function(e){var n,t=!e[6]&&e[2];return S.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":t&&ve.test(t)&&(n=k(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(e[0]=e[0].slice(0,n),e[2]=t.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(f,m).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=ne[e+" "];return t||(t=new RegExp("(^|"+s+")"+e+"("+s+"|$)"))&&ne(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(s){var i=o.attr(s,e);return i==null?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function re(e,t,s){return o(t)?n.grep(e,function(e,n){return!!t.call(e,n,e)!==s}):t.nodeType?n.grep(e,function(e){return e===t!==s}):"string"!=typeof t?n.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/,(n.fn.init=function(e,t,s){var a,r;if(!e)return this;if(s=s||it,"string"==typeof e){if(!(a="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:st.exec(e))||!a[1]&&t)return!t||t.jquery?(t||s).find(e):this.constructor(t).find(e);if(a[1]){if(t=t instanceof n?t[0]:t,n.merge(this,n.parseHTML(a[1],t&&t.nodeType?t.ownerDocument||t:i,!0)),se.test(a[1])&&n.isPlainObject(t))for(a in t)o(this[a])?this[a](t[a]):this.attr(a,t[a]);return this}return(r=i.getElementById(a[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):o(e)?void 0!==s.ready?s.ready(e):e(n):n.makeArray(e,this)}).prototype=n.fn,it=n(i),nt=/^(?:parents|prev(?:Until|All))/,tt={children:!0,contents:!0,next:!0,prev:!0};function et(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}n.fn.extend({has:function(e){var t=n(e,this),s=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,ze=/^$|^module$|\/(?:java|ecma)script/i,k=i.createDocumentFragment().appendChild(i.createElement("div"));(Z=i.createElement("input")).setAttribute("type","radio"),Z.setAttribute("checked","checked"),Z.setAttribute("name","t"),k.appendChild(Z),a.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,k.innerHTML="",a.noCloneChecked=!!k.cloneNode(!0).lastChild.defaultValue,k.innerHTML="",a.option=!!k.lastChild,l={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function c(e,t){var s;return s="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&d(e,t)?n.merge([e],s):s}function ve(e,t){for(var n=0,o=e.length;n",""]),Fe=/<|&#?\w+;/;function Ae(e,t,s,o,i){for(var a,r,h,m,p,g,u=t.createDocumentFragment(),f=[],d=0,v=e.length;d\s*$/g;function Se(e,t){return d(e,"table")&&d(11!==t.nodeType?t:t.firstChild,"tr")&&n(e).children("tbody")[0]||e}function Pt(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Rt(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Te(e,t){var o,i,a,c,l,d;if(1===t.nodeType){if(s.hasData(e)&&(a=s.get(e).events))for(i in s.remove(t,"handle events"),a)for(o=0,c=a[i].length;o").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",t=function(e){s.remove(),t=null,e&&a("error"===e.type?404:200,e.type)}),i.head.appendChild(s[0])},abort:function(){t&&t()}}}),xe=[],K=/(=)\?(?=&|$)|\?\?/,n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=xe.pop()||n.expando+"_"+ht.guid++;return this[e]=!0,e}}),n.ajaxPrefilter("json jsonp",function(t,s,i){var a,r,c,l=!1!==t.jsonp&&(K.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&K.test(t.data)&&"data");if(l||"jsonp"===t.dataTypes[0])return a=t.jsonpCallback=o(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,l?t[l]=t[l].replace(K,"$1"+a):!1!==t.jsonp&&(t.url+=(pe.test(t.url)?"&":"?")+t.jsonp+"="+a),t.converters["script json"]=function(){return c||n.error(a+" was not called"),c[0]},t.dataTypes[0]="json",r=e[a],e[a]=function(){c=arguments},i.always(function(){void 0===r?n(e).removeProp(a):e[a]=r,t[a]&&(t.jsonpCallback=s.jsonpCallback,xe.push(a)),c&&o(r)&&r(c[0]),c=r=void 0}),"script"}),a.createHTMLDocument=((qe=i.implementation.createHTMLDocument("").body).innerHTML="
",2===qe.childNodes.length),n.parseHTML=function(e,t,s){return"string"!=typeof e?[]:("boolean"==typeof t&&(s=t,t=!1),t||(a.createHTMLDocument?((c=(t=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,t.head.appendChild(c)):t=i),o=!s&&[],(r=se.exec(e))?[t.createElement(r[1])]:(r=Ae([e],t,o),o&&o.length&&n(o).remove(),n.merge([],r.childNodes)));var o,r,c},n.fn.load=function(e,t,s){var i,c,l,a=this,r=e.indexOf(" ");return-1").append(n.parseHTML(e)).find(i):e)}).always(s&&function(e,t){a.each(function(){s.apply(this,l||[e.responseText,t,e])})}),this},n.expr.pseudos.animated=function(e){return n.grep(n.timers,function(t){return e===t.elem}).length},n.offset={setOffset:function(e,t,s){var a,c,l,d,h,m,r=n.css(e,"position"),u=n(e),i={};"static"===r&&(e.style.position="relative"),a=u.offset(),h=n.css(e,"top"),d=n.css(e,"left"),("absolute"===r||"fixed"===r)&&-1<(h+d).indexOf("auto")?(l=(m=u.position()).top,c=m.left):(l=parseFloat(h)||0,c=parseFloat(d)||0),o(t)&&(t=t.call(e,s,n.extend({},a))),null!=t.top&&(i.top=t.top-a.top+l),null!=t.left&&(i.left=t.left-a.left+c),"using"in t?t.using.call(e,i):u.css(i)}},n.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){n.offset.setOffset(this,e,t)});var s,o,t=this[0];return t?t.getClientRects().length?(s=t.getBoundingClientRect(),o=t.ownerDocument.defaultView,{top:s.top+o.pageYOffset,left:s.left+o.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,s,o,t=this[0],i={top:0,left:0};if("fixed"===n.css(t,"position"))s=t.getBoundingClientRect();else{for(s=this.offset(),o=t.ownerDocument,e=t.offsetParent||o.documentElement;e&&(e===o.body||e===o.documentElement)&&"static"===n.css(e,"position");)e=e.parentNode;e&&e!==t&&1===e.nodeType&&((i=n(e).offset()).top+=n.css(e,"borderTopWidth",!0),i.left+=n.css(e,"borderLeftWidth",!0))}return{top:s.top-i.top-n.css(t,"marginTop",!0),left:s.left-i.left-n.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===n.css(e,"position");)e=e.offsetParent;return e||_})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var s="pageYOffset"===t;n.fn[e]=function(n){return p(this,function(e,n,o){var i;if(O(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[n];i?i.scrollTo(s?i.pageXOffset:o,s?o:i.pageYOffset):e[n]=o},e,n,arguments.length)}}),n.each(["top","left"],function(e,t){n.cssHooks[t]=$e(a.pixelPosition,function(e,s){if(s)return s=V(e,t),me.test(s)?n(e).position()[t]+"px":s})}),n.each({Height:"height",Width:"width"},function(e,t){n.each({padding:"inner"+e,content:t,"":"outer"+e},function(s,o){n.fn[o]=function(i,a){var r=arguments.length&&(s||"boolean"!=typeof i),c=s||(!0===i||!0===a?"margin":"border");return p(this,function(t,s,i){var a;return O(t)?0===o.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?n.css(t,s,c):n.style(t,s,i,c)},t,r?i:void 0,r)}})}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){n.fn[t]=function(e){return this.on(t,e)}}),n.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,s){return this.on(t,e,n,s)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),n.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){n.fn[t]=function(e,n){return 0(e||l.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(t,s,i){var a;i.data&&(s=e.extend(i.data,s)),n(D,[t,s,i]),e.each(s,function(n,s){if(s===void 0||s===!1)return!0;if(a=n.split("_"),a.length>1){var r,i=t.find(o+"-"+a[0]);i.length>0&&(r=a[1],r==="replaceWith"?i[0]!==s[0]&&i.replaceWith(s):r==="img"?i.is("img")?i.attr("src",s):i.replaceWith(e("").attr("src",s).attr("class",i.attr("class"))):i.attr(a[1],s))}else t.find(o+"-"+n).html(s)})},_getScrollbarSize:function(){if(t.scrollbarSize===void 0){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:p.prototype,modules:[],open:function(t,n){return E(),t?t=e.extend(!0,{},t):t={},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(n){if(E(),s=e(this),typeof n=="string")if(n==="open"){var s,o,i=A?s.data("magnificPopup"):s[0].magnificPopup,a=parseInt(arguments[1],10)||0;i.items?o=i.items[a]:(o=s,i.delegate&&(o=o.find(i.delegate)),o=o.eq(a)),t._openClick({mfpEl:o},s,i)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),A?s.data("magnificPopup",n):s[0].magnificPopup=n,t.addGroup(s,n);return s},g="inline",T=function(){b&&(_.after(b.addClass(u)).detach(),b=null)},e.magnificPopup.registerModule(g,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(g),s(c+"."+g,function(){T()})},getInline:function(n,s){if(T(),n.src){var i,a=t.st.inline,o=e(n.src);return o.length?(i=o[0].parentNode,i&&i.tagName&&(_||(u=a.hiddenClass,_=h(u),u="mfp-"+u),b=o.after(_).detach().removeClass(u)),t.updateStatus("ready")):(t.updateStatus("error",a.tNotFound),o=e("
")),n.inlineElement=o,o}return t.updateStatus("ready"),t._parseMarkup(s,{},n),s}}});var m,f="ajax",O=function(){m&&e(document.body).removeClass(m)},L=function(){O(),t.req&&t.req.abort()};e.magnificPopup.registerModule(f,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){t.types.push(f),m=t.st.ajax.cursor,s(c+"."+f,L),s("BeforeChange."+f,L)},getAjax:function(s){m&&e(document.body).addClass(m),t.updateStatus("loading");var o=e.extend({url:s.src,success:function(o,i,a){var r={data:o,xhr:a};n("ParseAjax",r),t.appendContent(e(r.data),f),s.finished=!0,O(),t._setFocus(),setTimeout(function(){t.wrap.addClass(v)},16),t.updateStatus("ready"),n("AjaxContentAdded")},error:function(){O(),s.finished=s.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",s.src))}},t.st.ajax.settings);return t.req=e.ajax(o),""}}}),P=function(n){if(n.data&&n.data.title!==void 0)return n.data.title;var s=t.st.image.titleSrc;if(s){if(e.isFunction(s))return s.call(t,n);if(n.el)return n.el.attr(s)||""}return""},e.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image"),s(N+i,function(){t.currItem.type==="image"&&n.cursor&&e(document.body).addClass(n.cursor)}),s(c+i,function(){n.cursor&&e(document.body).removeClass(n.cursor),l.off("resize"+o)}),s("Resize"+i,t.resizeImage),t.isLowIE&&s("AfterChange",t.resizeImage)},resizeImage:function(){var n,e=t.currItem;if(!e||!e.img)return;t.st.image.verticalFit&&(n=0,t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,a&&clearInterval(a),e.isCheckingImgSize=!1,n("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,o=e.img[0],s=function(i){a&&clearInterval(a),a=setInterval(function(){if(o.naturalWidth>0){t._onImageHasSize(e);return}n>200&&clearInterval(a),n++,n===3?s(10):n===40?s(50):n===100&&s(500)},i)};s(1)},getImage:function(s,o){var i,r=0,c=function(){s&&(s.img[0].complete?(s.img.off(".mfploader"),s===t.currItem&&(t._onImageHasSize(s),t.updateStatus("ready")),s.hasSize=!0,s.loaded=!0,n("ImageLoadComplete")):(r++,r<200?setTimeout(c,100):l()))},l=function(){s&&(s.img.off(".mfploader"),s===t.currItem&&(t._onImageHasSize(s),t.updateStatus("error",d.tError.replace("%url%",s.src))),s.hasSize=!0,s.loaded=!0,s.loadError=!0)},d=t.st.image,u=o.find(".mfp-img");return u.length&&(i=document.createElement("img"),i.className="mfp-img",s.el&&s.el.find("img").length&&s.el.find("img").attr("alt")&&(i.alt=s.el.find("img").attr("alt")),s.img=e(i).on("load.mfploader",c).on("error.mfploader",l),i.src=s.src,u.is("img")&&(s.img=s.img.clone()),i=s.img[0],i.naturalWidth>0?s.hasSize=!0:i.width||(s.hasSize=!1)),t._parseMarkup(o,{title:P(s),img_replaceWith:s.img},s),t.resizeImage(),s.hasSize?(a&&clearInterval(a),s.loadError?(o.addClass("mfp-loading"),t.updateStatus("error",d.tError.replace("%url%",s.src))):(o.removeClass("mfp-loading"),t.updateStatus("ready")),o):(t.updateStatus("loading"),s.loading=!0,s.hasSize||(s.imgHidden=!0,o.addClass("mfp-loading"),t.findImageSize(s)),o)}}}),I=function(){return z===void 0&&(z=document.createElement("p").style.MozTransform!==void 0),z},e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){if(i=t.st.zoom,r=".zoom",!i.enabled||!t.supportsTransition)return;var e,o,i,a,r,d=i.duration,u=function(e){var s=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),o="all "+i.duration/1e3+"s "+i.easing,t={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return t["-webkit-"+n]=t["-moz-"+n]=t["-o-"+n]=t[n]=o,s.css(t),s},l=function(){t.content.css("visibility","visible")};s("BuildControls"+r,function(){if(t._allowZoom()){if(clearTimeout(a),t.content.css("visibility","hidden"),o=t._getItemToZoom(),!o){l();return}e=u(o),e.css(t._getOffset()),t.wrap.append(e),a=setTimeout(function(){e.css(t._getOffset(!0)),a=setTimeout(function(){l(),setTimeout(function(){e.remove(),o=e=null,n("ZoomAnimationEnded")},16)},d)},16)}}),s(B+r,function(){if(t._allowZoom()){if(clearTimeout(a),t.st.removalDelay=d,!o){if(o=t._getItemToZoom(),!o)return;e=u(o)}e.css(t._getOffset(!0)),t.wrap.append(e),t.content.css("visibility","hidden"),setTimeout(function(){e.css(t._getOffset())},16)}}),s(c+r,function(){t._allowZoom()&&(l(),e&&e.remove(),o=null)})},_allowZoom:function(){return t.currItem.type==="image"},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){n?s=t.currItem.img:s=t.st.zoom.opener(t.currItem.el||t.currItem);var s,o,i=s.offset(),a=parseInt(s.css("padding-top"),10),r=parseInt(s.css("padding-bottom"),10);return i.top-=e(window).scrollTop()-a,o={width:s.width(),height:(A?s.innerHeight():s[0].offsetHeight)-r-a},I()?o["-moz-transform"]=o.transform="translate("+i.left+"px,"+i.top+"px)":(o.left=i.left,o.top=i.top),o}}});var d="iframe",W="//about:blank",M=function(e){if(t.currTemplate[d]){var n=t.currTemplate[d].find("iframe");n.length&&(e||(n[0].src=W),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(d,{options:{markup:'
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(d),s("BeforeChange",function(e,t,n){t!==n&&(t===d?M():n===d&&M(!0))}),s(c+"."+d,function(){M()})},getIframe:function(n,s){var a,o=n.src,i=t.st.iframe;return e.each(i.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?o=o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):o=this.id.call(this,o)),o=this.src.replace("%id%",o),!1}),a={},i.srcAction&&(a[i.srcAction]=o),t._parseMarkup(s,a,n),t.updateStatus("ready"),s}}}),y=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},k=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)},e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var o=t.st.gallery,n=".mfp-gallery";if(t.direction=!0,!o||!o.enabled)return!1;r+=" mfp-gallery",s(N+n,function(){o.navigateByImgClick&&t.wrap.on("click"+n,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),i.on("keydown"+n,function(e){!e.altKey&&!e.ctrlKey&&!e.shiftKey&&(e.keyCode===37?t.prev():e.keyCode===39&&t.next())})}),s("UpdateStatus"+n,function(e,n){n.text&&(n.text=k(n.text,t.currItem.index,t.items.length))}),s(D+n,function(e,n,s,i){var a=t.items.length;s.counter=a>1?k(o.tCounter,i.index,a):""}),s("BuildControls"+n,function(){if(t.items.length>1&&o.arrows&&!t.arrowLeft){var n=o.arrowMarkup,s=t.arrowLeft=e(n.replace(/%title%/gi,o.tPrev).replace(/%dir%/gi,"left")).addClass(S),i=t.arrowRight=e(n.replace(/%title%/gi,o.tNext).replace(/%dir%/gi,"right")).addClass(S);s.click(function(){t.prev()}),i.click(function(){t.next()}),t.container.append(s.add(i))}}),s(H+n,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),s(c+n,function(){i.off(n),t.wrap.off("click"+n),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=y(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=y(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,s=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?o:s);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?s:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(s){if(s=y(s),t.items[s].preloaded)return;var o=t.items[s];o.parsed||(o=t.parseEl(s)),n("LazyLoad",o),o.type==="image"&&(o.img=e('').on("load.mfploader",function(){o.hasSize=!0}).on("error.mfploader",function(){o.hasSize=!0,o.loadError=!0,n("LazyLoadError",o)}).attr("src",o.src)),o.preloaded=!0}}}),w="retina",e.magnificPopup.registerModule(w,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var n=t.st.retina,e=n.ratio,e=isNaN(e)?e():e;e>1&&(s("ImageHasSize."+w,function(t,n){n.img.css({"max-width":n.img[0].naturalWidth/e,width:"100%"})}),s("ElementParse."+w,function(t,s){s.src=n.replaceSrc(s,e)}))}}}}),E()}),function(e){e(function(){var n,o,a,r,c,s=e(window),t=e("body"),l=e("#wrapper");t.addClass("loading"),document.readyState!="loading"?window.setTimeout(function(){t.removeClass("loading")},100):s.on("load",function(){window.setTimeout(function(){t.removeClass("loading")},100)}),s.on("resize",function(){window.clearTimeout(a),t.addClass("resizing"),a=window.setTimeout(function(){t.removeClass("resizing")},100)}),s.scrollTop(0),e("form").placeholder(),n=e(".panel"),n.each(function(){var s=e(this),o=e('[href="#'+s.attr("id")+'"]'),i=e('
').appendTo(s);i.on("click",function(){s.trigger("---hide")}),s.on("click",function(e){e.stopPropagation()}).on("---toggle",function(){s.hasClass("active")?s.triggerHandler("---hide"):s.triggerHandler("---show")}).on("---show",function(){t.hasClass("content-active")&&n.trigger("---hide"),s.addClass("active"),o.addClass("active"),t.addClass("content-active")}).on("---hide",function(){s.removeClass("active"),o.removeClass("active"),t.removeClass("content-active")}),o.removeAttr("href").css("cursor","pointer").on("click",function(e){e.preventDefault(),e.stopPropagation(),s.trigger("---toggle")})}),t.on("click",function(e){t.hasClass("content-active")&&(e.preventDefault(),e.stopPropagation(),n.trigger("---hide"))}),s.on("keyup",function(e){e.keyCode==27&&t.hasClass("content-active")&&(e.preventDefault(),e.stopPropagation(),n.trigger("---hide"))}),c=e("#footer"),o=e("#main"),o.children(".thumb").each(function(){var s,o=e(this),t=o.find(".image"),n=t.children("img");if(t.length==0)return;t.css("background-image","url("+n.attr("src")+")"),(s=n.data("position"))&&t.css("background-position",s),n.hide()}),o.children(".thumb").each(function(){var s,o=e(this),t=o.find(".link"),n=t.children("img");if(t.length==0)return;t.css("background-image","url("+n.attr("src")+")"),(s=n.data("position"))&&t.css("background-position",s),n.hide()}),r=e(".gallery-item").sort(function(e,t){return e.getAttribute("gallery_index")-t.getAttribute("gallery_index")}),r.magnificPopup({type:"image",mainClass:"mfp-img-mobile",image:{titleSrc:function(e){let t="";e.el.attr("downloadable")=="true"&&(t+='
'),t+='
',e.el.attr("phototitle")!=""&&(t+="

"+e.el.attr("phototitle")+"

"),e.el.attr("description")!=""&&(t+='
'+e.el.attr("description")+"
");let n=e.el.parent().find(".caption_tax");return n.length>0&&(t+=n[0].outerHTML),t+="
",t}},gallery:{enabled:!0,arrowMarkup:''},callbacks:{change:function(){const e="#"+this.currItem.el.attr("id");window.history.replaceState(void 0,void 0,e)},close:function(){window.history.replaceState(void 0,void 0,"")}},fixedContentPos:!0});let i=function(){let t=e(window.location.hash);if(t.length==1&&(t[0].classList.contains("gallery-item")||t[0].classList.contains("gallery-item-marker"))){let n=e.magnificPopup.instance.currItem;return!(n&&n.el.attr("id")==t[0].id)&&(t.click(),!1)}else return e.magnificPopup.close(),!0;return!0};window.location.hash!=""&&i(),e(window).on("hashchange",i)})}(jQuery),function(e){e.fn.navList=function(){var t=e(this);return $a=t.find("a"),b=[],$a.each(function(){var t=e(this),o=Math.max(0,t.parents("li").length-1),n=t.attr("href"),s=t.attr("target");b.push(''+t.text()+"")}),b.join("")},e.fn.panel=function(t){if(this.length==0)return n;if(this.length>1){for(o=0;o-1*o&&i>r;break;case"right":a=t-1*o&&i<-1*r;break;case"top":a=i-1*o&&t>r;break;case"bottom":a=i-1*o&&t<-1*r;break;default:break}if(a)return n.touchPosX=null,n.touchPosY=null,n._hide(),!1}(n.scrollTop()<0&&t<0||l>c-2&&l0)&&(e.preventDefault(),e.stopPropagation())}),n.on("click touchend touchstart touchmove",function(e){e.stopPropagation()}),n.on("click",'a[href="#'+i+'"]',function(e){e.preventDefault(),e.stopPropagation(),s.target.removeClass(s.visibleClass)}),a.on("click touchend",function(e){n._hide(e)}),a.on("click",'a[href="#'+i+'"]',function(e){e.preventDefault(),e.stopPropagation(),s.target.toggleClass(s.visibleClass)}),s.hideOnEscape&&r.on("keydown",function(e){e.keyCode==27&&n._hide(e)}),n},e.fn.placeholder=function(){if(typeof document.createElement("input").placeholder!="undefined")return e(this);if(this.length==0)return t;if(this.length>1){for(var t,n=0;n").append(t.clone()).remove().html().replace(/type="password"/i,'type="text"').replace(/type=password/i,"type=text"));t.attr("id")!=""&&n.attr("id",t.attr("id")+"-polyfill-field"),t.attr("name")!=""&&n.attr("name",t.attr("name")+"-polyfill-field"),n.addClass("polyfill-placeholder").val(n.attr("placeholder")).insertAfter(t),t.val()==""?t.hide():n.hide(),t.on("blur",function(e){e.preventDefault();var n=t.parent().find("input[name="+t.attr("name")+"-polyfill-field]");t.val()==""&&(t.hide(),n.show())}),n.on("focus",function(e){e.preventDefault();var t=n.parent().find("input[name="+n.attr("name").replace("-polyfill-field","")+"]");n.hide(),t.show().focus()}).on("keypress",function(e){e.preventDefault(),n.val("")})}),t.on("submit",function(){t.find("input[type=text],input[type=password],textarea").each(function(){var n=e(this);n.attr("name").match(/-polyfill-field$/)&&n.attr("name",""),n.val()==n.attr("placeholder")&&(n.removeClass("polyfill-placeholder"),n.val(""))})}).on("reset",function(n){n.preventDefault(),t.find("select").val(e("option:first").val()),t.find("input,textarea").each(function(){var n,t=e(this);switch(t.removeClass("polyfill-placeholder"),this.type){case"submit":case"reset":break;case"password":t.val(t.attr("defaultValue")),n=t.parent().find("input[name="+t.attr("name")+"-polyfill-field]"),t.val()==""?(t.hide(),n.show()):(t.show(),n.hide());break;case"checkbox":case"radio":t.attr("checked",t.attr("defaultValue"));break;case"text":case"textarea":t.val(t.attr("defaultValue")),t.val()==""&&(t.addClass("polyfill-placeholder"),t.val(t.attr("placeholder")));break;default:t.val(t.attr("defaultValue"));break}})}),t},e.prioritize=function(t,n){var s="__prioritize";typeof t!="jQuery"&&(t=e(t)),t.each(function(){var o,t=e(this),i=t.parent();if(i.length==0)return;if(t.data(s)){if(n)return;o=t.data(s),t.insertAfter(o),t.removeData(s)}else{if(!n)return;if(o=t.prev(),o.length==0)return;t.prependTo(i),t.data(s,o)}})}}(jQuery)