!function(t){"use strict";function e(t,n,i,o){return o=o||0,t.id.indexOf(n)>=0?o:(classie.has(t,i)&&++o,t.parentNode&&e(t.parentNode,n,i,o))}function n(t,e){return classie.has(t,e)?t:t.parentNode&&n(t.parentNode,e)}function i(t,e,n){this.el=t,this.trigger=e,this.options=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.defaults,n),this.support=Modernizr.csstransforms3d,this.support&&this._init()}i.prototype={defaults:{type:"overlap",levelSpacing:40,backClass:"mp-back"},_init:function(){this.open=!1,this.level=0,this.wrapper=document.getElementById("mp-pusher"),this.levels=Array.prototype.slice.call(this.el.querySelectorAll("div.mp-level"));var n,i,o=this;this.levels.forEach((function(t,n){t.setAttribute("data-level",e(t,o.el.id,"mp-level"))})),this.menuItems=Array.prototype.slice.call(this.el.querySelectorAll("li")),this.levelBack=Array.prototype.slice.call(this.el.querySelectorAll("."+this.options.backClass)),this.eventtype=(i=!1,n=navigator.userAgent||navigator.vendor||t.opera,(/(android|ipad|playbook|silk|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(n.substr(0,4)))&&(i=!0),i?"touchstart":"click"),classie.add(this.el,"mp-"+this.options.type),this._initEvents()},_initEvents:function(){var t=this,e=function(n){t._resetMenu(),n.removeEventListener(t.eventtype,e)};this.trigger.addEventListener(this.eventtype,(function(n){n.stopPropagation(),n.preventDefault(),t.open?t._resetMenu():(t._openMenu(),document.addEventListener(t.eventtype,(function(n){t.open&&!function(t,e){if(!t)return!1;for(var n=t.target||t.srcElement||t||!1;n&&n.id!=e;)n=n.parentNode||!1;return!1!==n}(n.target,t.el.id)&&e(this)})))})),this.menuItems.forEach((function(e,i){var o=e.querySelector("div.mp-level");o&&null!=e.querySelector("a.right-menu")&&e.querySelector("a.right-menu").addEventListener(t.eventtype,(function(i){i.preventDefault();var r=n(e,"mp-level").getAttribute("data-level");t.level<=r&&(i.stopPropagation(),classie.add(n(e,"mp-level"),"mp-level-overlay"),t._openMenu(o))}))})),this.levels.forEach((function(e,n){e.addEventListener(t.eventtype,(function(n){n.stopPropagation();var i=e.getAttribute("data-level");t.level>i&&(t.level=i,t._closeMenu())}))})),this.levelBack.forEach((function(e,i){e.addEventListener(t.eventtype,(function(i){i.preventDefault();var o=n(e,"mp-level").getAttribute("data-level");t.level<=o&&(i.stopPropagation(),t.level=n(e,"mp-level").getAttribute("data-level")-1,0===t.level?t._resetMenu():t._closeMenu())}))}))},_openMenu:function(t){0==this.level&&++this.level,++this.level;var e=(this.level-1)*this.options.levelSpacing,n="overlap"===this.options.type?this.el.offsetWidth+e:this.el.offsetWidth;if(this._setTransform("translate3d("+n+"px,0,0)"),t){this._setTransform("",t);for(var i=0,o=this.levels.length;i=this.level+1?(classie.remove(n,"mp-level-open"),classie.remove(n,"mp-level-overlay")):Number(n.getAttribute("data-level"))==this.level&&classie.remove(n,"mp-level-overlay")}},_scrollBar:function(t){t>1&&$(".mainScroll").css("overflow","hidden"),1==t&&$(".mainScroll").css("overflow","auto"),$(".mainScroll").scrollTop(0)},_homeLevel:function(){$(".mp-level").removeClass("mp-level-open"),$(".mp-level").removeClass("mp-level-overlay"),this._scrollBar(1)}},t.mlPushMenu=i,i.goHomeLevel=function(){i.prototype._homeLevel()}}(window),function(t){"use strict";function e(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}var n,i,o;function r(t,e){(n(t,e)?o:i)(t,e)}"classList"in document.documentElement?(n=function(t,e){return t.classList.contains(e)},i=function(t,e){t.classList.add(e)},o=function(t,e){t.classList.remove(e)}):(n=function(t,n){return e(n).test(t.className)},i=function(t,e){n(t,e)||(t.className=t.className+" "+e)},o=function(t,n){t.className=t.className.replace(e(n)," ")});var s={hasClass:n,addClass:i,removeClass:o,toggleClass:r,has:n,add:i,remove:o,toggle:r};"function"==typeof define&&define.amd?define(s):t.classie=s}(window),window.Modernizr=function(t,e,n){function i(t,e){return typeof t===e}function o(t,e){return!!~(""+t).indexOf(e)}function r(t,e){for(var i in t){var r=t[i];if(!o(r,"-")&&f[r]!==n)return"pfx"!=e||r}return!1}function s(t,e,o){for(var r in t){var s=e[t[r]];if(s!==n)return!1===o?t[r]:i(s,"function")?s.bind(o||e):s}return!1}function a(t,e,n){var o=t.charAt(0).toUpperCase()+t.slice(1),a=(t+" "+v.join(o+" ")+o).split(" ");return i(e,"string")||i(e,"undefined")?r(a,e):s(a=(t+" "+y.join(o+" ")+o).split(" "),e,n)}var l,c,u={},d=e.documentElement,h="modernizr",p=e.createElement(h),f=p.style,m=" -webkit- -moz- -o- -ms- ".split(" "),g="Webkit Moz O ms",v=g.split(" "),y=g.toLowerCase().split(" "),b={},w=[],x=w.slice,_=function(t,n,i,o){var r,s,a,l,c=e.createElement("div"),u=e.body,p=u||e.createElement("body");if(parseInt(i,10))for(;i--;)(a=e.createElement("div")).id=o?o[i]:h+(i+1),c.appendChild(a);return r=["­",'"].join(""),c.id=h,(u?c:p).innerHTML+=r,p.appendChild(c),u||(p.style.background="",p.style.overflow="hidden",l=d.style.overflow,d.style.overflow="hidden",d.appendChild(p)),s=n(c,t),u?c.parentNode.removeChild(c):(p.parentNode.removeChild(p),d.style.overflow=l),!!s},C={}.hasOwnProperty;for(var E in c=i(C,"undefined")||i(C.call,"undefined")?function(t,e){return e in t&&i(t.constructor.prototype[e],"undefined")}:function(t,e){return C.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;var n=x.call(arguments,1),i=function(){if(this instanceof i){var o=function(){};o.prototype=e.prototype;var r=new o,s=e.apply(r,n.concat(x.call(arguments)));return Object(s)===s?s:r}return e.apply(t,n.concat(x.call(arguments)))};return i}),b.csstransforms3d=function(){var t=!!a("perspective");return t&&"webkitPerspective"in d.style&&_("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",(function(e,n){t=9===e.offsetLeft&&3===e.offsetHeight})),t},b)c(b,E)&&(l=E.toLowerCase(),u[l]=b[E](),w.push((u[l]?"":"no-")+l));return u.addTest=function(t,e){if("object"==typeof t)for(var i in t)c(t,i)&&u.addTest(i,t[i]);else{if(t=t.toLowerCase(),u[t]!==n)return u;e="function"==typeof e?e():e,d.className+=" "+(e?"":"no-")+t,u[t]=e}return u},function(t){f.cssText=t}(""),p=null,function(t,e){function n(){var t=f.elements;return"string"==typeof t?t.split(" "):t}function i(t){var e=p[t[d]];return e||(e={},h++,t[d]=h,p[h]=e),e}function o(t,n,o){return n||(n=e),a?n.createElement(t):(o||(o=i(n)),(r=o.cache[t]?o.cache[t].cloneNode():u.test(t)?(o.cache[t]=o.createElem(t)).cloneNode():o.createElem(t)).canHaveChildren&&!c.test(t)?o.frag.appendChild(r):r);var r}function r(t){t||(t=e);var r=i(t);return f.shivCSS&&!s&&!r.hasCSS&&(r.hasCSS=!!function(t){var e=t.createElement("p"),n=t.getElementsByTagName("head")[0]||t.documentElement;return e.innerHTML="x",n.insertBefore(e.lastChild,n.firstChild)}(t)),a||function(t,e){e.cache||(e.cache={},e.createElem=t.createElement,e.createFrag=t.createDocumentFragment,e.frag=e.createFrag()),t.createElement=function(n){return f.shivMethods?o(n,t,e):e.createElem(n)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/\w+/g,(function(t){return e.createElem(t),e.frag.createElement(t),'c("'+t+'")'}))+");return n}")(f,e.frag)}(t,r),t}var s,a,l=t.html5||{},c=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,d="_html5shiv",h=0,p={};!function(){try{var t=e.createElement("a");t.innerHTML="",s="hidden"in t,a=1==t.childNodes.length||function(){e.createElement("a");var t=e.createDocumentFragment();return void 0===t.cloneNode||void 0===t.createDocumentFragment||void 0===t.createElement}()}catch(t){s=!0,a=!0}}();var f={elements:l.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==l.shivCSS,supportsUnknownElements:a,shivMethods:!1!==l.shivMethods,type:"default",shivDocument:r,createElement:o,createDocumentFragment:function(t,o){if(t||(t=e),a)return t.createDocumentFragment();for(var r=(o=o||i(t)).frag.cloneNode(),s=0,l=n(),c=l.length;s0&&e-1 in t)}h.fn=h.prototype={jquery:d,constructor:h,selector:"",length:0,toArray:function(){return i.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:i.call(this)},pushStack:function(t){var e=h.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return h.each(this,t,e)},map:function(t){return this.pushStack(h.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:r,sort:n.sort,splice:n.splice},h.extend=h.fn.extend=function(){var t,e,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||h.isFunction(s)||(s={}),a===l&&(s=this,a--);l>a;a++)if(null!=(o=arguments[a]))for(i in o)t=s[i],s!==(n=o[i])&&(c&&n&&(h.isPlainObject(n)||(e=h.isArray(n)))?(e?(e=!1,r=t&&h.isArray(t)?t:[]):r=t&&h.isPlainObject(t)?t:{},s[i]=h.extend(c,r,n)):void 0!==n&&(s[i]=n));return s},h.extend({expando:"jQuery"+(d+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===h.type(t)},isArray:Array.isArray||function(t){return"array"===h.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!h.isArray(t)&&t-parseFloat(t)>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==h.type(t)||t.nodeType||h.isWindow(t))return!1;try{if(t.constructor&&!c.call(t,"constructor")&&!c.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(u.ownLast)for(e in t)return c.call(t,e);for(e in t);return void 0===e||c.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?a[l.call(t)]||"object":typeof t},globalEval:function(e){e&&h.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(f,"ms-").replace(m,g)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var i=0,o=t.length,r=v(t);if(n){if(r)for(;o>i&&!1!==e.apply(t[i],n);i++);else for(i in t)if(!1===e.apply(t[i],n))break}else if(r)for(;o>i&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(p,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(v(Object(t))?h.merge(n,"string"==typeof t?[t]:t):r.call(n,t)),n},inArray:function(t,e,n){var i;if(e){if(s)return s.call(e,t,n);for(i=e.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;n>i;)t[o++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[o++]=e[i++];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,r=t.length,s=!n;r>o;o++)!e(t[o],o)!==s&&i.push(t[o]);return i},map:function(t,e,n){var i,r=0,s=t.length,a=[];if(v(t))for(;s>r;r++)null!=(i=e(t[r],r,n))&&a.push(i);else for(r in t)null!=(i=e(t[r],r,n))&&a.push(i);return o.apply([],a)},guid:1,proxy:function(t,e){var n,o,r;return"string"==typeof e&&(r=t[e],e=t,t=r),h.isFunction(t)?(n=i.call(arguments,2),o=function(){return t.apply(e||this,n.concat(i.call(arguments)))},o.guid=t.guid=t.guid||h.guid++,o):void 0},now:function(){return+new Date},support:u}),h.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(t,e){a["[object "+e+"]"]=e.toLowerCase()}));var y=function(t){var e,n,i,o,r,s,a,l,c,u,d,h,p,f,m,g,v,y,b,w="sizzle"+-new Date,x=t.document,_=0,C=0,E=rt(),T=rt(),S=rt(),k=function(t,e){return t===e&&(d=!0),0},A="undefined",D=1<<31,F={}.hasOwnProperty,$=[],L=$.pop,P=$.push,I=$.push,N=$.slice,O=$.indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]===t)return e;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",H="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",B=H.replace("w","w#"),z="\\["+M+"*("+H+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+M+"*\\]",R=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",q=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),W=new RegExp("^"+M+"*,"+M+"*"),V=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),K=new RegExp(R),X=new RegExp("^"+B+"$"),Q={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H.replace("w","w*")+")"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+R),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("^(?:"+j+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,G=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=/'|\\/g,nt=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),it=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{I.apply($=N.call(x.childNodes),x.childNodes),$[x.childNodes.length].nodeType}catch(t){I={apply:$.length?function(t,e){P.apply(t,N.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function ot(t,e,i,o){var r,a,c,u,d,f,v,y,_,C;if((e?e.ownerDocument||e:x)!==p&&h(e),i=i||[],!t||"string"!=typeof t)return i;if(1!==(u=(e=e||p).nodeType)&&9!==u)return[];if(m&&!o){if(r=J.exec(t))if(c=r[1]){if(9===u){if(!(a=e.getElementById(c))||!a.parentNode)return i;if(a.id===c)return i.push(a),i}else if(e.ownerDocument&&(a=e.ownerDocument.getElementById(c))&&b(e,a)&&a.id===c)return i.push(a),i}else{if(r[2])return I.apply(i,e.getElementsByTagName(t)),i;if((c=r[3])&&n.getElementsByClassName&&e.getElementsByClassName)return I.apply(i,e.getElementsByClassName(c)),i}if(n.qsa&&(!g||!g.test(t))){if(y=v=w,_=e,C=9===u&&t,1===u&&"object"!==e.nodeName.toLowerCase()){for(f=s(t),(v=e.getAttribute("id"))?y=v.replace(et,"\\$&"):e.setAttribute("id",y),y="[id='"+y+"'] ",d=f.length;d--;)f[d]=y+mt(f[d]);_=tt.test(t)&&pt(e.parentNode)||e,C=f.join(",")}if(C)try{return I.apply(i,_.querySelectorAll(C)),i}catch(t){}finally{v||e.removeAttribute("id")}}}return l(t.replace(q,"$1"),e,i,o)}function rt(){var t=[];return function e(n,o){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function st(t){return t[w]=!0,t}function at(t){var e=p.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function lt(t,e){for(var n=t.split("|"),o=t.length;o--;)i.attrHandle[n[o]]=e}function ct(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||D)-(~t.sourceIndex||D);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ut(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function dt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function ht(t){return st((function(e){return e=+e,st((function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))}))}))}function pt(t){return t&&typeof t.getElementsByTagName!==A&&t}for(e in n=ot.support={},r=ot.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},h=ot.setDocument=function(t){var e,o=t?t.ownerDocument||t:x,s=o.defaultView;return o!==p&&9===o.nodeType&&o.documentElement?(p=o,f=o.documentElement,m=!r(o),s&&s!==s.top&&(s.addEventListener?s.addEventListener("unload",(function(){h()}),!1):s.attachEvent&&s.attachEvent("onunload",(function(){h()}))),n.attributes=at((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=at((function(t){return t.appendChild(o.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=G.test(o.getElementsByClassName)&&at((function(t){return t.innerHTML="
",t.firstChild.className="i",2===t.getElementsByClassName("i").length})),n.getById=at((function(t){return f.appendChild(t).id=w,!o.getElementsByName||!o.getElementsByName(w).length})),n.getById?(i.find.ID=function(t,e){if(typeof e.getElementById!==A&&m){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(t){var e=t.replace(nt,it);return function(t){return t.getAttribute("id")===e}}):(delete i.find.ID,i.filter.ID=function(t){var e=t.replace(nt,it);return function(t){var n=typeof t.getAttributeNode!==A&&t.getAttributeNode("id");return n&&n.value===e}}),i.find.TAG=n.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==A?e.getElementsByTagName(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==A&&m?e.getElementsByClassName(t):void 0},v=[],g=[],(n.qsa=G.test(o.querySelectorAll))&&(at((function(t){t.innerHTML="",t.querySelectorAll("[msallowclip^='']").length&&g.push("[*^$]="+M+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+M+"*(?:value|"+j+")"),t.querySelectorAll(":checked").length||g.push(":checked")})),at((function(t){var e=o.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+M+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=G.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at((function(t){n.disconnectedMatch=y.call(t,"div"),y.call(t,"[s!='']:x"),v.push("!=",R)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),e=G.test(f.compareDocumentPosition),b=e||G.test(f.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},k=e?function(t,e){if(t===e)return d=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t===o||t.ownerDocument===x&&b(x,t)?-1:e===o||e.ownerDocument===x&&b(x,e)?1:u?O.call(u,t)-O.call(u,e):0:4&i?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,i=0,r=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!r||!s)return t===o?-1:e===o?1:r?-1:s?1:u?O.call(u,t)-O.call(u,e):0;if(r===s)return ct(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?ct(a[i],l[i]):a[i]===x?-1:l[i]===x?1:0},o):p},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&h(t),e=e.replace(U,"='$1']"),!(!n.matchesSelector||!m||v&&v.test(e)||g&&g.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return ot(e,p,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!==p&&h(t),b(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!==p&&h(t);var o=i.attrHandle[e.toLowerCase()],r=o&&F.call(i.attrHandle,e.toLowerCase())?o(t,e,!m):void 0;return void 0!==r?r:n.attributes||!m?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,i=[],o=0,r=0;if(d=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(k),d){for(;e=t[r++];)e===t[r]&&(o=i.push(r));for(;o--;)t.splice(i[o],1)}return u=null,t},o=ot.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=o(e);return n},i=ot.selectors={cacheLength:50,createPseudo:st,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(nt,it),t[3]=(t[3]||t[4]||t[5]||"").replace(nt,it),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Q.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&K.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(nt,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=E[t+" "];return e||(e=new RegExp("(^|"+M+")"+t+"("+M+"|$)"))&&E(t,(function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==A&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var o=ot.attr(i,t);return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,h,p,f,m=r!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a;if(g){if(r){for(;m;){for(d=e;d=d[m];)if(a?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&y){for(p=(c=(u=g[w]||(g[w]={}))[t]||[])[0]===_&&c[1],h=c[0]===_&&c[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(h=p=0)||f.pop();)if(1===d.nodeType&&++h&&d===e){u[t]=[_,p,h];break}}else if(y&&(c=(e[w]||(e[w]={}))[t])&&c[0]===_)h=c[1];else for(;(d=++p&&d&&d[m]||(h=p=0)||f.pop())&&((a?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++h||(y&&((d[w]||(d[w]={}))[t]=[_,h]),d!==e)););return(h-=o)===i||h%i==0&&h/i>=0}}},PSEUDO:function(t,e){var n,o=i.pseudos[t]||i.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return o[w]?o(e):o.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?st((function(t,n){for(var i,r=o(t,e),s=r.length;s--;)t[i=O.call(t,r[s])]=!(n[i]=r[s])})):function(t){return o(t,0,n)}):o}},pseudos:{not:st((function(t){var e=[],n=[],i=a(t.replace(q,"$1"));return i[w]?st((function(t,e,n,o){for(var r,s=i(t,null,o,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))})):function(t,o,r){return e[0]=t,i(e,null,r,n),!n.pop()}})),has:st((function(t){return function(e){return ot(t,e).length>0}})),contains:st((function(t){return function(e){return(e.textContent||e.innerText||o(e)).indexOf(t)>-1}})),lang:st((function(t){return X.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(nt,it).toLowerCase(),function(e){var n;do{if(n=m?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===f},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ht((function(){return[0]})),last:ht((function(t,e){return[e-1]})),eq:ht((function(t,e,n){return[0>n?n+e:n]})),even:ht((function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t})),odd:ht((function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t})),lt:ht((function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t})),gt:ht((function(t,e,n){for(var i=0>n?n+e:n;++ie;e++)i+=t[e].value;return i}function gt(t,e,n){var i=e.dir,o=n&&"parentNode"===i,r=C++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||o)return t(e,n,r)}:function(e,n,s){var a,l,c=[_,r];if(s){for(;e=e[i];)if((1===e.nodeType||o)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||o){if((a=(l=e[w]||(e[w]={}))[i])&&a[0]===_&&a[1]===r)return c[2]=a[2];if(l[i]=c,c[2]=t(e,n,s))return!0}}}function vt(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function yt(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,c=null!=e;l>a;a++)(r=t[a])&&(!n||n(r,i,o))&&(s.push(r),c&&e.push(a));return s}function bt(t,e,n,i,o,r){return i&&!i[w]&&(i=bt(i)),o&&!o[w]&&(o=bt(o,r)),st((function(r,s,a,l){var c,u,d,h=[],p=[],f=s.length,m=r||function(t,e,n){for(var i=0,o=e.length;o>i;i++)ot(t,e[i],n);return n}(e||"*",a.nodeType?[a]:a,[]),g=!t||!r&&e?m:yt(m,h,t,a,l),v=n?o||(r?t:f||i)?[]:s:g;if(n&&n(g,v,a,l),i)for(c=yt(v,p),i(c,[],a,l),u=c.length;u--;)(d=c[u])&&(v[p[u]]=!(g[p[u]]=d));if(r){if(o||t){if(o){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(g[u]=d);o(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=o?O.call(r,d):h[u])>-1&&(r[c]=!(s[c]=d))}}else v=yt(v===s?v.splice(f,v.length):v),o?o(null,s,v,l):I.apply(s,v)}))}function wt(t){for(var e,n,o,r=t.length,s=i.relative[t[0].type],a=s||i.relative[" "],l=s?1:0,u=gt((function(t){return t===e}),a,!0),d=gt((function(t){return O.call(e,t)>-1}),a,!0),h=[function(t,n,i){return!s&&(i||n!==c)||((e=n).nodeType?u(t,n,i):d(t,n,i))}];r>l;l++)if(n=i.relative[t[l].type])h=[gt(vt(h),n)];else{if((n=i.filter[t[l].type].apply(null,t[l].matches))[w]){for(o=++l;r>o&&!i.relative[t[o].type];o++);return bt(l>1&&vt(h),l>1&&mt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(q,"$1"),n,o>l&&wt(t.slice(l,o)),r>o&&wt(t=t.slice(o)),r>o&&mt(t))}h.push(n)}return vt(h)}function xt(t,e){var n=e.length>0,o=t.length>0,r=function(r,s,a,l,u){var d,h,f,m=0,g="0",v=r&&[],y=[],b=c,w=r||o&&i.find.TAG("*",u),x=_+=null==b?1:Math.random()||.1,C=w.length;for(u&&(c=s!==p&&s);g!==C&&null!=(d=w[g]);g++){if(o&&d){for(h=0;f=t[h++];)if(f(d,s,a)){l.push(d);break}u&&(_=x)}n&&((d=!f&&d)&&m--,r&&v.push(d))}if(m+=g,n&&g!==m){for(h=0;f=e[h++];)f(v,y,s,a);if(r){if(m>0)for(;g--;)v[g]||y[g]||(y[g]=L.call(l));y=yt(y)}I.apply(l,y),u&&!r&&y.length>0&&m+e.length>1&&ot.uniqueSort(l)}return u&&(_=x,c=b),v};return n?st(r):r}return ft.prototype=i.filters=i.pseudos,i.setFilters=new ft,s=ot.tokenize=function(t,e){var n,o,r,s,a,l,c,u=T[t+" "];if(u)return e?0:u.slice(0);for(a=t,l=[],c=i.preFilter;a;){for(s in(!n||(o=W.exec(a)))&&(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),n=!1,(o=V.exec(a))&&(n=o.shift(),r.push({value:n,type:o[0].replace(q," ")}),a=a.slice(n.length)),i.filter)!(o=Q[s].exec(a))||c[s]&&!(o=c[s](o))||(n=o.shift(),r.push({value:n,type:s,matches:o}),a=a.slice(n.length));if(!n)break}return e?a.length:a?ot.error(t):T(t,l).slice(0)},a=ot.compile=function(t,e){var n,i=[],o=[],r=S[t+" "];if(!r){for(e||(e=s(t)),n=e.length;n--;)(r=wt(e[n]))[w]?i.push(r):o.push(r);(r=S(t,xt(o,i))).selector=t}return r},l=ot.select=function(t,e,o,r){var l,c,u,d,h,p="function"==typeof t&&t,f=!r&&s(t=p.selector||t);if(o=o||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&n.getById&&9===e.nodeType&&m&&i.relative[c[1].type]){if(!(e=(i.find.ID(u.matches[0].replace(nt,it),e)||[])[0]))return o;p&&(e=e.parentNode),t=t.slice(c.shift().value.length)}for(l=Q.needsContext.test(t)?0:c.length;l--&&(u=c[l],!i.relative[d=u.type]);)if((h=i.find[d])&&(r=h(u.matches[0].replace(nt,it),tt.test(c[0].type)&&pt(e.parentNode)||e))){if(c.splice(l,1),!(t=r.length&&mt(c)))return I.apply(o,r),o;break}}return(p||a(t,f))(r,e,!m,o,tt.test(t)&&pt(e.parentNode)||e),o},n.sortStable=w.split("").sort(k).join("")===w,n.detectDuplicates=!!d,h(),n.sortDetached=at((function(t){return 1&t.compareDocumentPosition(p.createElement("div"))})),at((function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")}))||lt("type|href|height|width",(function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&at((function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||lt("value",(function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue})),at((function(t){return null==t.getAttribute("disabled")}))||lt(j,(function(t,e,n){var i;return n?void 0:!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null})),ot}(t);h.find=y,h.expr=y.selectors,h.expr[":"]=h.expr.pseudos,h.unique=y.uniqueSort,h.text=y.getText,h.isXMLDoc=y.isXML,h.contains=y.contains;var b=h.expr.match.needsContext,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function _(t,e,n){if(h.isFunction(e))return h.grep(t,(function(t,i){return!!e.call(t,i,t)!==n}));if(e.nodeType)return h.grep(t,(function(t){return t===e!==n}));if("string"==typeof e){if(x.test(e))return h.filter(e,t,n);e=h.filter(e,t)}return h.grep(t,(function(t){return h.inArray(t,e)>=0!==n}))}h.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?h.find.matchesSelector(i,t)?[i]:[]:h.find.matches(t,h.grep(e,(function(t){return 1===t.nodeType})))},h.fn.extend({find:function(t){var e,n=[],i=this,o=i.length;if("string"!=typeof t)return this.pushStack(h(t).filter((function(){for(e=0;o>e;e++)if(h.contains(i[e],this))return!0})));for(e=0;o>e;e++)h.find(t,i[e],n);return(n=this.pushStack(o>1?h.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(_(this,t||[],!1))},not:function(t){return this.pushStack(_(this,t||[],!0))},is:function(t){return!!_(this,"string"==typeof t&&b.test(t)?h(t):t||[],!1).length}});var C,E=t.document,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,S=h.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:T.exec(t))||!n[1]&&e)return!e||e.jquery?(e||C).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof h?e[0]:e,h.merge(this,h.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:E,!0)),w.test(n[1])&&h.isPlainObject(e))for(n in e)h.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((i=E.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return C.find(t);this.length=1,this[0]=i}return this.context=E,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):h.isFunction(t)?void 0!==C.ready?C.ready(t):t(h):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),h.makeArray(t,this))};S.prototype=h.fn,C=h(E);var k=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};function D(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}h.extend({dir:function(t,e,n){for(var i=[],o=t[e];o&&9!==o.nodeType&&(void 0===n||1!==o.nodeType||!h(o).is(n));)1===o.nodeType&&i.push(o),o=o[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),h.fn.extend({has:function(t){var e,n=h(t,this),i=n.length;return this.filter((function(){for(e=0;i>e;e++)if(h.contains(this,n[e]))return!0}))},closest:function(t,e){for(var n,i=0,o=this.length,r=[],s=b.test(t)||"string"!=typeof t?h(t,e||this.context):0;o>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&h.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?h.unique(r):r)},index:function(t){return t?"string"==typeof t?h.inArray(this[0],h(t)):h.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(h.unique(h.merge(this.get(),h(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),h.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return h.dir(t,"parentNode")},parentsUntil:function(t,e,n){return h.dir(t,"parentNode",n)},next:function(t){return D(t,"nextSibling")},prev:function(t){return D(t,"previousSibling")},nextAll:function(t){return h.dir(t,"nextSibling")},prevAll:function(t){return h.dir(t,"previousSibling")},nextUntil:function(t,e,n){return h.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return h.dir(t,"previousSibling",n)},siblings:function(t){return h.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return h.sibling(t.firstChild)},contents:function(t){return h.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:h.merge([],t.childNodes)}},(function(t,e){h.fn[t]=function(n,i){var o=h.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=h.filter(i,o)),this.length>1&&(A[t]||(o=h.unique(o)),k.test(t)&&(o=o.reverse())),this.pushStack(o)}}));var F,$=/\S+/g,L={};function P(){E.addEventListener?(E.removeEventListener("DOMContentLoaded",I,!1),t.removeEventListener("load",I,!1)):(E.detachEvent("onreadystatechange",I),t.detachEvent("onload",I))}function I(){(E.addEventListener||"load"===event.type||"complete"===E.readyState)&&(P(),h.ready())}h.Callbacks=function(t){t="string"==typeof t?L[t]||function(t){var e=L[t]={};return h.each(t.match($)||[],(function(t,n){e[n]=!0})),e}(t):h.extend({},t);var e,n,i,o,r,s,a=[],l=!t.once&&[],c=function(d){for(n=t.memory&&d,i=!0,r=s||0,s=0,o=a.length,e=!0;a&&o>r;r++)if(!1===a[r].apply(d[0],d[1])&&t.stopOnFalse){n=!1;break}e=!1,a&&(l?l.length&&c(l.shift()):n?a=[]:u.disable())},u={add:function(){if(a){var i=a.length;!function e(n){h.each(n,(function(n,i){var o=h.type(i);"function"===o?t.unique&&u.has(i)||a.push(i):i&&i.length&&"string"!==o&&e(i)}))}(arguments),e?o=a.length:n&&(s=i,c(n))}return this},remove:function(){return a&&h.each(arguments,(function(t,n){for(var i;(i=h.inArray(n,a,i))>-1;)a.splice(i,1),e&&(o>=i&&o--,r>=i&&r--)})),this},has:function(t){return t?h.inArray(t,a)>-1:!(!a||!a.length)},empty:function(){return a=[],o=0,this},disable:function(){return a=l=n=void 0,this},disabled:function(){return!a},lock:function(){return l=void 0,n||u.disable(),this},locked:function(){return!l},fireWith:function(t,n){return!a||i&&!l||(n=[t,(n=n||[]).slice?n.slice():n],e?l.push(n):c(n)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},h.extend({Deferred:function(t){var e=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return h.Deferred((function(n){h.each(e,(function(e,r){var s=h.isFunction(t[e])&&t[e];o[r[1]]((function(){var t=s&&s.apply(this,arguments);t&&h.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[r[0]+"With"](this===i?n.promise():this,s?[t]:arguments)}))})),t=null})).promise()},promise:function(t){return null!=t?h.extend(t,i):i}},o={};return i.pipe=i.then,h.each(e,(function(t,r){var s=r[2],a=r[3];i[r[1]]=s.add,a&&s.add((function(){n=a}),e[1^t][2].disable,e[2][2].lock),o[r[0]]=function(){return o[r[0]+"With"](this===o?i:this,arguments),this},o[r[0]+"With"]=s.fireWith})),i.promise(o),t&&t.call(o,o),o},when:function(t){var e,n,o,r=0,s=i.call(arguments),a=s.length,l=1!==a||t&&h.isFunction(t.promise)?a:0,c=1===l?t:h.Deferred(),u=function(t,n,o){return function(r){n[t]=this,o[t]=arguments.length>1?i.call(arguments):r,o===e?c.notifyWith(n,o):--l||c.resolveWith(n,o)}};if(a>1)for(e=new Array(a),n=new Array(a),o=new Array(a);a>r;r++)s[r]&&h.isFunction(s[r].promise)?s[r].promise().done(u(r,o,s)).fail(c.reject).progress(u(r,n,e)):--l;return l||c.resolveWith(o,s),c.promise()}}),h.fn.ready=function(t){return h.ready.promise().done(t),this},h.extend({isReady:!1,readyWait:1,holdReady:function(t){t?h.readyWait++:h.ready(!0)},ready:function(t){if(!0===t?! --h.readyWait:!h.isReady){if(!E.body)return setTimeout(h.ready);h.isReady=!0,!0!==t&&--h.readyWait>0||(F.resolveWith(E,[h]),h.fn.triggerHandler&&(h(E).triggerHandler("ready"),h(E).off("ready")))}}}),h.ready.promise=function(e){if(!F)if(F=h.Deferred(),"complete"===E.readyState)setTimeout(h.ready);else if(E.addEventListener)E.addEventListener("DOMContentLoaded",I,!1),t.addEventListener("load",I,!1);else{E.attachEvent("onreadystatechange",I),t.attachEvent("onload",I);var n=!1;try{n=null==t.frameElement&&E.documentElement}catch(t){}n&&n.doScroll&&function t(){if(!h.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}P(),h.ready()}}()}return F.promise(e)};var N,O="undefined";for(N in h(u))break;u.ownLast="0"!==N,u.inlineBlockNeedsLayout=!1,h((function(){var t,e,n,i;(n=E.getElementsByTagName("body")[0])&&n.style&&(e=E.createElement("div"),(i=E.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==O&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",u.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(i))})),function(){var t=E.createElement("div");if(null==u.deleteExpando){u.deleteExpando=!0;try{delete t.test}catch(t){u.deleteExpando=!1}}t=null}(),h.acceptData=function(t){var e=h.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)};var j=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,M=/([A-Z])/g;function H(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(M,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:j.test(n)?h.parseJSON(n):n)}catch(t){}h.data(t,e,n)}else n=void 0}return n}function B(t){var e;for(e in t)if(("data"!==e||!h.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function z(t,e,i,o){if(h.acceptData(t)){var r,s,a=h.expando,l=t.nodeType,c=l?h.cache:t,u=l?t[a]:t[a]&&a;if(u&&c[u]&&(o||c[u].data)||void 0!==i||"string"!=typeof e)return u||(u=l?t[a]=n.pop()||h.guid++:a),c[u]||(c[u]=l?{}:{toJSON:h.noop}),("object"==typeof e||"function"==typeof e)&&(o?c[u]=h.extend(c[u],e):c[u].data=h.extend(c[u].data,e)),s=c[u],o||(s.data||(s.data={}),s=s.data),void 0!==i&&(s[h.camelCase(e)]=i),"string"==typeof e?null==(r=s[e])&&(r=s[h.camelCase(e)]):r=s,r}}function R(t,e,n){if(h.acceptData(t)){var i,o,r=t.nodeType,s=r?h.cache:t,a=r?t[h.expando]:h.expando;if(s[a]){if(e&&(i=n?s[a]:s[a].data)){o=(e=h.isArray(e)?e.concat(h.map(e,h.camelCase)):e in i||(e=h.camelCase(e))in i?[e]:e.split(" ")).length;for(;o--;)delete i[e[o]];if(n?!B(i):!h.isEmptyObject(i))return}(n||(delete s[a].data,B(s[a])))&&(r?h.cleanData([t],!0):u.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}h.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?h.cache[t[h.expando]]:t[h.expando])&&!B(t)},data:function(t,e,n){return z(t,e,n)},removeData:function(t,e){return R(t,e)},_data:function(t,e,n){return z(t,e,n,!0)},_removeData:function(t,e){return R(t,e,!0)}}),h.fn.extend({data:function(t,e){var n,i,o,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(o=h.data(r),1===r.nodeType&&!h._data(r,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&H(r,i=h.camelCase(i.slice(5)),o[i]);h._data(r,"parsedAttrs",!0)}return o}return"object"==typeof t?this.each((function(){h.data(this,t)})):arguments.length>1?this.each((function(){h.data(this,t,e)})):r?H(r,t,h.data(r,t)):void 0},removeData:function(t){return this.each((function(){h.removeData(this,t)}))}}),h.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=h._data(t,e),n&&(!i||h.isArray(n)?i=h._data(t,e,h.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=h.queue(t,e),i=n.length,o=n.shift(),r=h._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,(function(){h.dequeue(t,e)}),r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return h._data(t,n)||h._data(t,n,{empty:h.Callbacks("once memory").add((function(){h._removeData(t,e+"queue"),h._removeData(t,n)}))})}}),h.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.lengtha;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return o?t:c?e.call(t):l?e(t[0],n):r},K=/^(?:checkbox|radio)$/i;!function(){var t=E.createElement("input"),e=E.createElement("div"),n=E.createDocumentFragment();if(e.innerHTML="
a",u.leadingWhitespace=3===e.firstChild.nodeType,u.tbody=!e.getElementsByTagName("tbody").length,u.htmlSerialize=!!e.getElementsByTagName("link").length,u.html5Clone="<:nav>"!==E.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,n.appendChild(t),u.appendChecked=t.checked,e.innerHTML="",u.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n.appendChild(e),e.innerHTML="",u.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,u.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",(function(){u.noCloneEvent=!1})),e.cloneNode(!0).click()),null==u.deleteExpando){u.deleteExpando=!0;try{delete e.test}catch(t){u.deleteExpando=!1}}}(),function(){var e,n,i=E.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(u[e+"Bubbles"]=n in t)||(i.setAttribute(n,"t"),u[e+"Bubbles"]=!1===i.attributes[n].expando);i=null}();var X=/^(?:input|select|textarea)$/i,Q=/^key/,Y=/^(?:mouse|pointer|contextmenu)|click/,Z=/^(?:focusinfocus|focusoutblur)$/,G=/^([^.]*)(?:\.(.+)|)$/;function J(){return!0}function tt(){return!1}function et(){try{return E.activeElement}catch(t){}}function nt(t){var e=it.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}h.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,c,u,d,p,f,m,g,v=h._data(t);if(v){for(n.handler&&(n=(l=n).handler,o=l.selector),n.guid||(n.guid=h.guid++),(s=v.events)||(s=v.events={}),(u=v.handle)||(u=v.handle=function(t){return typeof h===O||t&&h.event.triggered===t.type?void 0:h.event.dispatch.apply(u.elem,arguments)},u.elem=t),a=(e=(e||"").match($)||[""]).length;a--;)f=g=(r=G.exec(e[a])||[])[1],m=(r[2]||"").split(".").sort(),f&&(c=h.event.special[f]||{},f=(o?c.delegateType:c.bindType)||f,c=h.event.special[f]||{},d=h.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&h.expr.match.needsContext.test(o),namespace:m.join(".")},l),(p=s[f])||((p=s[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,i,m,u)||(t.addEventListener?t.addEventListener(f,u,!1):t.attachEvent&&t.attachEvent("on"+f,u))),c.add&&(c.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,d):p.push(d),h.event.global[f]=!0);t=null}},remove:function(t,e,n,i,o){var r,s,a,l,c,u,d,p,f,m,g,v=h.hasData(t)&&h._data(t);if(v&&(u=v.events)){for(c=(e=(e||"").match($)||[""]).length;c--;)if(f=g=(a=G.exec(e[c])||[])[1],m=(a[2]||"").split(".").sort(),f){for(d=h.event.special[f]||{},p=u[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=p.length;r--;)s=p[r],!o&&g!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(p.splice(r,1),s.selector&&p.delegateCount--,d.remove&&d.remove.call(t,s));l&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,m,v.handle)||h.removeEvent(t,f,v.handle),delete u[f])}else for(f in u)h.event.remove(t,f+e[c],n,i,!0);h.isEmptyObject(u)&&(delete v.handle,h._removeData(t,"events"))}},trigger:function(e,n,i,o){var r,s,a,l,u,d,p,f=[i||E],m=c.call(e,"type")?e.type:e,g=c.call(e,"namespace")?e.namespace.split("."):[];if(a=d=i=i||E,3!==i.nodeType&&8!==i.nodeType&&!Z.test(m+h.event.triggered)&&(m.indexOf(".")>=0&&(g=m.split("."),m=g.shift(),g.sort()),s=m.indexOf(":")<0&&"on"+m,(e=e[h.expando]?e:new h.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:h.makeArray(n,[e]),u=h.event.special[m]||{},o||!u.trigger||!1!==u.trigger.apply(i,n))){if(!o&&!u.noBubble&&!h.isWindow(i)){for(l=u.delegateType||m,Z.test(l+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),d=a;d===(i.ownerDocument||E)&&f.push(d.defaultView||d.parentWindow||t)}for(p=0;(a=f[p++])&&!e.isPropagationStopped();)e.type=p>1?l:u.bindType||m,(r=(h._data(a,"events")||{})[e.type]&&h._data(a,"handle"))&&r.apply(a,n),(r=s&&a[s])&&r.apply&&h.acceptData(a)&&(e.result=r.apply(a,n),!1===e.result&&e.preventDefault());if(e.type=m,!o&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(f.pop(),n))&&h.acceptData(i)&&s&&i[m]&&!h.isWindow(i)){(d=i[s])&&(i[s]=null),h.event.triggered=m;try{i[m]()}catch(t){}h.event.triggered=void 0,d&&(i[s]=d)}return e.result}},dispatch:function(t){t=h.event.fix(t);var e,n,o,r,s,a=[],l=i.call(arguments),c=(h._data(this,"events")||{})[t.type]||[],u=h.event.special[t.type]||{};if(l[0]=t,t.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,t)){for(a=h.event.handlers.call(this,t,c),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,s=0;(o=r.handlers[s++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(o.namespace))&&(t.handleObj=o,t.data=o.data,void 0!==(n=((h.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,l))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,r,s=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(o=[],r=0;a>r;r++)void 0===o[n=(i=e[r]).selector+" "]&&(o[n]=i.needsContext?h(n,this).index(l)>=0:h.find(n,this,null,[l]).length),o[n]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return a]","i"),st=/^\s+/,at=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,lt=/<([\w:]+)/,ct=/\s*$/g,gt={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:u.htmlSerialize?[0,"",""]:[1,"X
","
"]},vt=nt(E).appendChild(E.createElement("div"));function yt(t,e){var n,i,o=0,r=typeof t.getElementsByTagName!==O?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==O?t.querySelectorAll(e||"*"):void 0;if(!r)for(r=[],n=t.childNodes||t;null!=(i=n[o]);o++)!e||h.nodeName(i,e)?r.push(i):h.merge(r,yt(i,e));return void 0===e||e&&h.nodeName(t,e)?h.merge([t],r):r}function bt(t){K.test(t.type)&&(t.defaultChecked=t.checked)}function wt(t,e){return h.nodeName(t,"table")&&h.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function xt(t){return t.type=(null!==h.find.attr(t,"type"))+"/"+t.type,t}function _t(t){var e=ft.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Ct(t,e){for(var n,i=0;null!=(n=t[i]);i++)h._data(n,"globalEval",!e||h._data(e[i],"globalEval"))}function Et(t,e){if(1===e.nodeType&&h.hasData(t)){var n,i,o,r=h._data(t),s=h._data(e,r),a=r.events;if(a)for(n in delete s.handle,s.events={},a)for(i=0,o=a[n].length;o>i;i++)h.event.add(e,n,a[n][i]);s.data&&(s.data=h.extend({},s.data))}}function Tt(t,e){var n,i,o;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!u.noCloneEvent&&e[h.expando]){for(i in(o=h._data(e)).events)h.removeEvent(e,i,o.handle);e.removeAttribute(h.expando)}"script"===n&&e.text!==t.text?(xt(e).text=t.text,_t(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),u.html5Clone&&t.innerHTML&&!h.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&K.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td,h.extend({clone:function(t,e,n){var i,o,r,s,a,l=h.contains(t.ownerDocument,t);if(u.html5Clone||h.isXMLDoc(t)||!rt.test("<"+t.nodeName+">")?r=t.cloneNode(!0):(vt.innerHTML=t.outerHTML,vt.removeChild(r=vt.firstChild)),!(u.noCloneEvent&&u.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||h.isXMLDoc(t)))for(i=yt(r),a=yt(t),s=0;null!=(o=a[s]);++s)i[s]&&Tt(o,i[s]);if(e)if(n)for(a=a||yt(t),i=i||yt(r),s=0;null!=(o=a[s]);s++)Et(o,i[s]);else Et(t,r);return(i=yt(r,"script")).length>0&&Ct(i,!l&&yt(t,"script")),i=a=o=null,r},buildFragment:function(t,e,n,i){for(var o,r,s,a,l,c,d,p=t.length,f=nt(e),m=[],g=0;p>g;g++)if((r=t[g])||0===r)if("object"===h.type(r))h.merge(m,r.nodeType?[r]:r);else if(ut.test(r)){for(a=a||f.appendChild(e.createElement("div")),l=(lt.exec(r)||["",""])[1].toLowerCase(),d=gt[l]||gt._default,a.innerHTML=d[1]+r.replace(at,"<$1>")+d[2],o=d[0];o--;)a=a.lastChild;if(!u.leadingWhitespace&&st.test(r)&&m.push(e.createTextNode(st.exec(r)[0])),!u.tbody)for(o=(r="table"!==l||ct.test(r)?""!==d[1]||ct.test(r)?0:a:a.firstChild)&&r.childNodes.length;o--;)h.nodeName(c=r.childNodes[o],"tbody")&&!c.childNodes.length&&r.removeChild(c);for(h.merge(m,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=f.lastChild}else m.push(e.createTextNode(r));for(a&&f.removeChild(a),u.appendChecked||h.grep(yt(m,"input"),bt),g=0;r=m[g++];)if((!i||-1===h.inArray(r,i))&&(s=h.contains(r.ownerDocument,r),a=yt(f.appendChild(r),"script"),s&&Ct(a),n))for(o=0;r=a[o++];)pt.test(r.type||"")&&n.push(r);return a=null,f},cleanData:function(t,e){for(var i,o,r,s,a=0,l=h.expando,c=h.cache,d=u.deleteExpando,p=h.event.special;null!=(i=t[a]);a++)if((e||h.acceptData(i))&&(s=(r=i[l])&&c[r])){if(s.events)for(o in s.events)p[o]?h.event.remove(i,o):h.removeEvent(i,o,s.handle);c[r]&&(delete c[r],d?delete i[l]:typeof i.removeAttribute!==O?i.removeAttribute(l):i[l]=null,n.push(r))}}}),h.fn.extend({text:function(t){return U(this,(function(t){return void 0===t?h.text(this):this.empty().append((this[0]&&this[0].ownerDocument||E).createTextNode(t))}),null,t,arguments.length)},append:function(){return this.domManip(arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||wt(this,t).appendChild(t)}))},prepend:function(){return this.domManip(arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=wt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return this.domManip(arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return this.domManip(arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},remove:function(t,e){for(var n,i=t?h.filter(t,this):this,o=0;null!=(n=i[o]);o++)e||1!==n.nodeType||h.cleanData(yt(n)),n.parentNode&&(e&&h.contains(n.ownerDocument,n)&&Ct(yt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&h.cleanData(yt(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&h.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return h.clone(this,t,e)}))},html:function(t){return U(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(ot,""):void 0;if(!("string"!=typeof t||dt.test(t)||!u.htmlSerialize&&rt.test(t)||!u.leadingWhitespace&&st.test(t)||gt[(lt.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(at,"<$1>");try{for(;i>n;n++)1===(e=this[n]||{}).nodeType&&(h.cleanData(yt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,(function(e){t=this.parentNode,h.cleanData(yt(this)),t&&t.replaceChild(e,this)})),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=o.apply([],t);var n,i,r,s,a,l,c=0,d=this.length,p=this,f=d-1,m=t[0],g=h.isFunction(m);if(g||d>1&&"string"==typeof m&&!u.checkClone&&ht.test(m))return this.each((function(n){var i=p.eq(n);g&&(t[0]=m.call(this,n,i.html())),i.domManip(t,e)}));if(d&&(n=(l=h.buildFragment(t,this[0].ownerDocument,!1,this)).firstChild,1===l.childNodes.length&&(l=n),n)){for(r=(s=h.map(yt(l,"script"),xt)).length;d>c;c++)i=l,c!==f&&(i=h.clone(i,!0,!0),r&&h.merge(s,yt(i,"script"))),e.call(this[c],i,c);if(r)for(a=s[s.length-1].ownerDocument,h.map(s,_t),c=0;r>c;c++)i=s[c],pt.test(i.type||"")&&!h._data(i,"globalEval")&&h.contains(a,i)&&(i.src?h._evalUrl&&h._evalUrl(i.src):h.globalEval((i.text||i.textContent||i.innerHTML||"").replace(mt,"")));l=n=null}return this}}),h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){h.fn[t]=function(t){for(var n,i=0,o=[],s=h(t),a=s.length-1;a>=i;i++)n=i===a?this:this.clone(!0),h(s[i])[e](n),r.apply(o,n.get());return this.pushStack(o)}}));var St,kt={};function At(e,n){var i,o=h(n.createElement(e)).appendTo(n.body),r=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(o[0]))?i.display:h.css(o[0],"display");return o.detach(),r}function Dt(t){var e=E,n=kt[t];return n||("none"!==(n=At(t,e))&&n||((e=((St=(St||h("',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'',spinnerTpl:'
',errorTpl:'

{{ERROR}}

',btnTpl:{download:'',zoom:'',close:'',arrowLeft:'',arrowRight:'',smallBtn:''},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",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(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded.
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:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden.
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:"Vergrößern"}}},r=n(t),s=n(e),a=0,l=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},c=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)},u=function(){var t,n=e.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in i)if(void 0!==n.style[t])return i[t];return"transitionend"}(),d=function(t){return t&&t.length&&t[0].offsetHeight},h=function(t,e){var i=n.extend(!0,{},t,e);return n.each(e,(function(t,e){n.isArray(e)&&(i[t]=e)})),i},p=function(t){var i,o;return!(!t||t.ownerDocument!==e)&&(n(".fancybox-container").css("pointer-events","none"),i={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},o=e.elementFromPoint(i.x,i.y)===t,n(".fancybox-container").css("pointer-events",""),o)},f=function(t,e,i){var o=this;o.opts=h({index:i},n.fancybox.defaults),n.isPlainObject(e)&&(o.opts=h(o.opts,e)),n.fancybox.isMobile&&(o.opts=h(o.opts,o.opts.mobile)),o.id=o.opts.id||++a,o.currIndex=parseInt(o.opts.index,10)||0,o.prevIndex=null,o.prevPos=null,o.currPos=0,o.firstRun=!0,o.group=[],o.slides={},o.addContent(t),o.group.length&&o.init()};n.extend(f.prototype,{init:function(){var i,o,r=this,s=r.group[r.currIndex].opts;s.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==s.hideScrollbar&&!n.fancybox.isMobile&&e.body.scrollHeight>t.innerHeight&&(n("head").append('"),n("body").addClass("compensate-for-scrollbar")),o="",n.each(s.buttons,(function(t,e){o+=s.btnTpl[e]||""})),i=n(r.translate(r,s.baseTpl.replace("{{buttons}}",o).replace("{{arrows}}",s.btnTpl.arrowLeft+s.btnTpl.arrowRight))).attr("id","fancybox-container-"+r.id).addClass(s.baseClass).data("FancyBox",r).appendTo(s.parentEl),r.$refs={container:i},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(t){r.$refs[t]=i.find(".fancybox-"+t)})),r.trigger("onInit"),r.activate(),r.jumpTo(r.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,(function(t,e){return void 0===n[e]?t:n[e]}))},addContent:function(t){var e,i=this,o=n.makeArray(t);n.each(o,(function(t,e){var o,r,s,a,l,c={},u={};n.isPlainObject(e)?(c=e,u=e.opts||e):"object"===n.type(e)&&n(e).length?(u=(o=n(e)).data()||{},(u=n.extend(!0,{},u,u.options)).$orig=o,c.src=i.opts.src||u.src||o.attr("href"),c.type||c.src||(c.type="inline",c.src=e)):c={type:"html",src:e+""},c.opts=n.extend(!0,{},i.opts,u),n.isArray(u.buttons)&&(c.opts.buttons=u.buttons),n.fancybox.isMobile&&c.opts.mobile&&(c.opts=h(c.opts,c.opts.mobile)),r=c.type||c.opts.type,a=c.src||"",!r&&a&&((s=a.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(r="video",c.opts.video.format||(c.opts.video.format="video/"+("ogv"===s[1]?"ogg":s[1]))):a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?r="image":a.match(/\.(pdf)((\?|#).*)?$/i)?(r="iframe",c=n.extend(!0,c,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===a.charAt(0)&&(r="inline")),r?c.type=r:i.trigger("objectNeedsType",c),c.contentType||(c.contentType=n.inArray(c.type,["html","inline","ajax"])>-1?"html":c.type),c.index=i.group.length,"auto"==c.opts.smallBtn&&(c.opts.smallBtn=n.inArray(c.type,["html","inline","ajax"])>-1),"auto"===c.opts.toolbar&&(c.opts.toolbar=!c.opts.smallBtn),c.$thumb=c.opts.$thumb||null,c.opts.$trigger&&c.index===i.opts.index&&(c.$thumb=c.opts.$trigger.find("img:first"),c.$thumb.length&&(c.opts.$orig=c.opts.$trigger)),c.$thumb&&c.$thumb.length||!c.opts.$orig||(c.$thumb=c.opts.$orig.find("img:first")),c.$thumb&&!c.$thumb.length&&(c.$thumb=null),c.thumb=c.opts.thumb||(c.$thumb?c.$thumb[0].src:null),"function"===n.type(c.opts.caption)&&(c.opts.caption=c.opts.caption.apply(e,[i,c])),"function"===n.type(i.opts.caption)&&(c.opts.caption=i.opts.caption.apply(e,[i,c])),c.opts.caption instanceof n||(c.opts.caption=void 0===c.opts.caption?"":c.opts.caption+""),"ajax"===c.type&&(l=a.split(/\s+/,2)).length>1&&(c.src=l.shift(),c.opts.filter=l.shift()),c.opts.modal&&(c.opts=n.extend(!0,c.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),i.group.push(c)})),Object.keys(i.slides).length&&(i.updateControls(),(e=i.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(t){t.stopPropagation(),t.preventDefault(),e.close(t)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(t){t.stopPropagation(),t.preventDefault(),e.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(t){t.stopPropagation(),t.preventDefault(),e.next()})).on("click.fb","[data-fancybox-zoom]",(function(t){e[e.isScaledDown()?"scaleToActual":"scaleToFit"]()})),r.on("orientationchange.fb resize.fb",(function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(e.requestId&&c(e.requestId),e.requestId=l((function(){e.update(t)}))):(e.current&&"iframe"===e.current.type&&e.$refs.stage.hide(),setTimeout((function(){e.$refs.stage.show(),e.update(t)}),n.fancybox.isMobile?600:250))})),s.on("keydown.fb",(function(t){var i=(n.fancybox?n.fancybox.getInstance():null).current,o=t.keyCode||t.which;if(9!=o)return!i.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||n(t.target).is("input,textarea,video,audio,select")?void 0:8===o||27===o?(t.preventDefault(),void e.close(t)):37===o||38===o?(t.preventDefault(),void e.previous()):39===o||40===o?(t.preventDefault(),void e.next()):void e.trigger("afterKeydown",t,o);i.opts.trapFocus&&e.focus(t)})),e.group[e.currIndex].opts.idleTime&&(e.idleSecondsCounter=0,s.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(t){e.idleSecondsCounter=0,e.isIdle&&e.showControls(),e.isIdle=!1})),e.idleInterval=t.setInterval((function(){++e.idleSecondsCounter>=e.group[e.currIndex].opts.idleTime&&!e.isDragging&&(e.isIdle=!0,e.idleSecondsCounter=0,e.hideControls())}),1e3))},removeEvents:function(){var e=this;r.off("orientationchange.fb resize.fb"),s.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e){var i,o,r,s,a,l,c,u,h,p=this,f=p.group.length;if(!(p.isDragging||p.isClosing||p.isAnimating&&p.firstRun)){if(t=parseInt(t,10),!(r=p.current?p.current.opts.loop:p.opts.loop)&&(t<0||t>=f))return!1;if(i=p.firstRun=!Object.keys(p.slides).length,a=p.current,p.prevIndex=p.currIndex,p.prevPos=p.currPos,s=p.createSlide(t),f>1&&((r||s.index0)&&p.createSlide(t-1)),p.current=s,p.currIndex=s.index,p.currPos=s.pos,p.trigger("beforeShow",i),p.updateControls(),s.forcedDuration=void 0,n.isNumeric(e)?s.forcedDuration=e:e=s.opts[i?"animationDuration":"transitionDuration"],e=parseInt(e,10),o=p.isMoved(s),s.$slide.addClass("fancybox-slide--current"),i)return s.opts.animationEffect&&e&&p.$refs.container.css("transition-duration",e+"ms"),p.$refs.container.addClass("fancybox-is-open").trigger("focus"),p.loadSlide(s),void p.preload("image");l=n.fancybox.getTranslate(a.$slide),c=n.fancybox.getTranslate(p.$refs.stage),n.each(p.slides,(function(t,e){n.fancybox.stop(e.$slide,!0)})),a.pos!==s.pos&&(a.isComplete=!1),a.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),o?(h=l.left-(a.pos*l.width+a.pos*a.opts.gutter),n.each(p.slides,(function(t,i){i.$slide.removeClass("fancybox-animated").removeClass((function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var o=i.pos*l.width+i.pos*i.opts.gutter;n.fancybox.setTranslate(i.$slide,{top:0,left:o-c.left+h}),i.pos!==s.pos&&i.$slide.addClass("fancybox-slide--"+(i.pos>s.pos?"next":"previous")),d(i.$slide),n.fancybox.animate(i.$slide,{top:0,left:(i.pos-s.pos)*l.width+(i.pos-s.pos)*i.opts.gutter},e,(function(){i.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),i.pos===p.currPos&&p.complete()}))}))):e&&s.opts.transitionEffect&&(u="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,a.$slide.addClass("fancybox-slide--"+(a.pos>s.pos?"next":"previous")),n.fancybox.animate(a.$slide,u,e,(function(){a.$slide.removeClass(u).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),s.isLoaded?p.revealContent(s):p.loadSlide(s),p.preload("image")}},createSlide:function(t){var e,i,o=this;return i=(i=t%o.group.length)<0?o.group.length+i:i,!o.slides[t]&&o.group[i]&&(e=n('
').appendTo(o.$refs.stage),o.slides[t]=n.extend(!0,{},o.group[i],{pos:t,$slide:e,isLoaded:!1}),o.updateSlide(o.slides[t])),o.slides[t]},scaleToActual:function(t,e,i){var o,r,s,a,l,c=this,u=c.current,d=u.$content,h=n.fancybox.getTranslate(u.$slide).width,p=n.fancybox.getTranslate(u.$slide).height,f=u.width,m=u.height;c.isAnimating||c.isMoved()||!d||"image"!=u.type||!u.isLoaded||u.hasError||(c.isAnimating=!0,n.fancybox.stop(d),t=void 0===t?.5*h:t,e=void 0===e?.5*p:e,(o=n.fancybox.getTranslate(d)).top-=n.fancybox.getTranslate(u.$slide).top,o.left-=n.fancybox.getTranslate(u.$slide).left,a=f/o.width,l=m/o.height,r=.5*h-.5*f,s=.5*p-.5*m,f>h&&((r=o.left*a-(t*a-t))>0&&(r=0),rp&&((s=o.top*l-(e*l-e))>0&&(s=0),se-.5&&(l=e),(c*=o)>i-.5&&(c=i),"image"===t.type?(u.top=Math.floor(.5*(i-c))+parseFloat(a.css("paddingTop")),u.left=Math.floor(.5*(e-l))+parseFloat(a.css("paddingLeft"))):"video"===t.contentType&&(c>l/(r=t.opts.width&&t.opts.height?l/c:t.opts.ratio||16/9)?c=l/r:l>c*r&&(l=c*r)),u.width=l,u.height=c,u)},update:function(t){var e=this;n.each(e.slides,(function(n,i){e.updateSlide(i,t)}))},updateSlide:function(t,e){var i=this,o=t&&t.$content,r=t.width||t.opts.width,s=t.height||t.opts.height,a=t.$slide;i.adjustCaption(t),o&&(r||s||"video"===t.contentType)&&!t.hasError&&(n.fancybox.stop(o),n.fancybox.setTranslate(o,i.getFitPos(t)),t.pos===i.currPos&&(i.isAnimating=!1,i.updateCursor())),i.adjustLayout(t),a.length&&(a.trigger("refresh"),t.pos===i.currPos&&i.$refs.toolbar.add(i.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",a.get(0).scrollHeight>a.get(0).clientHeight)),i.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,i=e.current,o=i.$slide;!e.isClosing&&i&&(o.siblings().css({transform:"",opacity:""}),o.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(o,{top:0,left:0,opacity:1},void 0===t?0:t,(function(){o.css({transform:"",opacity:""}),i.isComplete||e.complete()}),!1))},isMoved:function(t){var e,i,o=t||this.current;return!!o&&(i=n.fancybox.getTranslate(this.$refs.stage),e=n.fancybox.getTranslate(o.$slide),!o.$slide.hasClass("fancybox-animated")&&(Math.abs(e.top-i.top)>.5||Math.abs(e.left-i.left)>.5))},updateCursor:function(t,e){var i,o,r=this,s=r.current,a=r.$refs.container;s&&!r.isClosing&&r.Guestures&&(a.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=!!(i=r.canPan(t,e))||r.isZoomable(),a.toggleClass("fancybox-is-zoomable",o),n("[data-fancybox-zoom]").prop("disabled",!o),i?a.addClass("fancybox-can-pan"):o&&("zoom"===s.opts.clickContent||n.isFunction(s.opts.clickContent)&&"zoom"==s.opts.clickContent(s))?a.addClass("fancybox-can-zoomIn"):s.opts.touch&&(s.opts.touch.vertical||r.group.length>1)&&"video"!==s.contentType&&a.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this,n=e.current;if(n&&!e.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((t=e.getFitPos(n))&&(n.width>t.width||n.height>t.height))return!0}return!1},isScaledDown:function(t,e){var i=!1,o=this.current,r=o.$content;return void 0!==t&&void 0!==e?i=t1.5||Math.abs(o.height-r.height)>1.5)),r},loadSlide:function(t){var e,i,o,r=this;if(!t.isLoading&&!t.isLoaded){if(t.isLoading=!0,!1===r.trigger("beforeLoad",t))return t.isLoading=!1,!1;switch(e=t.type,(i=t.$slide).off("refresh").trigger("onReset").addClass(t.opts.slideClass),e){case"image":r.setImage(t);break;case"iframe":r.setIframe(t);break;case"html":r.setContent(t,t.src||t.content);break;case"video":r.setContent(t,t.opts.video.tpl.replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.opts.videoFormat||t.opts.video.format||"").replace("{{poster}}",t.thumb||""));break;case"inline":n(t.src).length?r.setContent(t,n(t.src)):r.setError(t);break;case"ajax":r.showLoading(t),o=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&r.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&r.setError(t)}})),i.one("onReset",(function(){o.abort()}));break;default:r.setError(t)}return!0}},setImage:function(t){var i,o=this;setTimeout((function(){var e=t.$image;o.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||o.showLoading(t)}),50),o.checkSrcset(t),t.$content=n('
').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,(i=e.createElement("img")).onerror=function(){n(this).remove(),t.$ghost=null},i.onload=function(){o.afterLoad(t)},t.$ghost=n(i).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),o.setBigImage(t)},checkSrcset:function(e){var n,i,o,r,s=e.opts.srcset||e.opts.image.srcset;if(s){o=t.devicePixelRatio||1,r=t.innerWidth*o,i=s.split(",").map((function(t){var e={};return t.trim().split(/\s+/).forEach((function(t,n){var i=parseInt(t.substring(0,t.length-1),10);if(0===n)return e.url=t;i&&(e.value=i,e.postfix=t[t.length-1])})),e})),i.sort((function(t,e){return t.value-e.value}));for(var a=0;a=r||"x"===l.postfix&&l.value>=o){n=l;break}}!n&&i.length&&(n=i[i.length-1]),n&&(e.src=n.url,e.width&&e.height&&"w"==n.postfix&&(e.height=e.width/e.height*n.value,e.width=n.value),e.opts.srcset=s)}},setBigImage:function(t){var i=this,o=e.createElement("img"),s=n(o);t.$image=s.one("error",(function(){i.setError(t)})).one("load",(function(){var e;t.$ghost||(i.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),i.afterLoad(t)),i.isClosing||(t.opts.srcset&&((e=t.opts.sizes)&&"auto"!==e||(e=(t.width/t.height>1&&r.width()/r.height()>1?"100":Math.round(t.width/t.height*100))+"vw"),s.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout((function(){t.$ghost&&!i.isClosing&&t.$ghost.hide()}),Math.min(300,Math.max(1e3,t.height/1600))),i.hideLoading(t))})).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(o.complete||"complete"==o.readyState)&&s.naturalWidth&&s.naturalHeight?s.trigger("load"):o.error&&s.trigger("error")},resolveImageSlideSize:function(t,e,n){var i=parseInt(t.opts.width,10),o=parseInt(t.opts.height,10);t.width=e,t.height=n,i>0&&(t.width=i,t.height=Math.floor(i*n/e)),o>0&&(t.width=Math.floor(o*e/n),t.height=o)},setIframe:function(t){var e,i=this,o=t.opts.iframe,r=t.$slide;t.$content=n('
').css(o.css).appendTo(r),r.addClass("fancybox-slide--"+t.contentType),t.$iframe=e=n(o.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(o.attr).appendTo(t.$content),o.preload?(i.showLoading(t),e.on("load.fb error.fb",(function(e){this.isReady=1,t.$slide.trigger("refresh"),i.afterLoad(t)})),r.on("refresh.fb",(function(){var n,i=t.$content,s=o.css.width,a=o.css.height;if(1===e[0].isReady){try{n=e.contents().find("body")}catch(t){}n&&n.length&&n.children().length&&(r.css("overflow","visible"),i.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===s&&(s=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),i.css("width",s||"").css("max-width",""),void 0===a&&(a=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),i.css("height",a||""),r.css("overflow","auto")),i.removeClass("fancybox-is-hidden")}}))):i.afterLoad(t),e.attr("src",t.src),r.one("onReset",(function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}n(this).off("refresh.fb").empty(),t.isLoaded=!1,t.isRevealed=!1}))},setContent:function(t,e){var i=this;i.isClosing||(i.hideLoading(t),t.$content&&n.fancybox.stop(t.$content),t.$slide.empty(),function(t){return t&&t.hasOwnProperty&&t instanceof n}(e)&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=n("
").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&(e=n("
").append(n.trim(e)).contents()),t.opts.filter&&(e=n("
").html(e).find(t.opts.filter))),t.$slide.one("onReset",(function(){n(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1,t.isRevealed=!1)})),n(e).appendTo(t.$slide),n(e).is("video,audio")&&(n(e).addClass("fancybox-video"),n(e).wrap("
"),t.contentType="video",t.opts.width=t.opts.width||n(e).attr("width"),t.opts.height=t.opts.height||n(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("
").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),i.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){var e=this;(t=t||e.current)&&!t.$spinner&&(t.$spinner=n(e.translate(e,e.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=n(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",(function(t){return 2==t.button&&t.preventDefault(),!0})),"image"===t.type&&n('
').appendTo(t.$content)),e.adjustCaption(t),e.adjustLayout(t),t.pos===e.currPos&&e.updateCursor(),e.revealContent(t))},adjustCaption:function(t){var e,n=this,i=t||n.current,o=i.opts.caption,r=i.opts.preventCaptionOverlap,s=n.$refs.caption,a=!1;s.toggleClass("fancybox-caption--separate",r),r&&o&&o.length&&(i.pos!==n.currPos?((e=s.clone().appendTo(s.parent())).children().eq(0).empty().html(o),a=e.outerHeight(!0),e.empty().remove()):n.$caption&&(a=n.$caption.outerHeight(!0)),i.$slide.css("padding-bottom",a||""))},adjustLayout:function(t){var e,n,i,o,r=t||this.current;r.isLoaded&&!0!==r.opts.disableLayoutFix&&(r.$content.css("margin-bottom",""),r.$content.outerHeight()>r.$slide.height()+.5&&(i=r.$slide[0].style["padding-bottom"],o=r.$slide.css("padding-bottom"),parseFloat(o)>0&&(e=r.$slide[0].scrollHeight,r.$slide.css("padding-bottom",0),Math.abs(e-r.$slide[0].scrollHeight)<1&&(n=o),r.$slide.css("padding-bottom",i))),r.$content.css("margin-bottom",n))},revealContent:function(t){var e,i,o,r,s=this,a=t.$slide,l=!1,c=!1,u=s.isMoved(t),h=t.isRevealed;return t.isRevealed=!0,e=t.opts[s.firstRun?"animationEffect":"transitionEffect"],o=t.opts[s.firstRun?"animationDuration":"transitionDuration"],o=parseInt(void 0===t.forcedDuration?o:t.forcedDuration,10),!u&&t.pos===s.currPos&&o||(e=!1),"zoom"===e&&(t.pos===s.currPos&&o&&"image"===t.type&&!t.hasError&&(c=s.getThumbPos(t))?l=s.getFitPos(t):e="fade"),"zoom"===e?(s.isAnimating=!0,l.scaleX=l.width/c.width,l.scaleY=l.height/c.height,"auto"==(r=t.opts.zoomOpacity)&&(r=Math.abs(t.width/t.height-c.width/c.height)>.1),r&&(c.opacity=.1,l.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),c),d(t.$content),void n.fancybox.animate(t.$content,l,o,(function(){s.isAnimating=!1,s.complete()}))):(s.updateSlide(t),e?(n.fancybox.stop(a),i="fancybox-slide--"+(t.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,a.addClass(i).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),d(a),"image"!==t.type&&t.$content.hide().show(0),void n.fancybox.animate(a,"fancybox-slide--current",o,(function(){a.removeClass(i).css({transform:"",opacity:""}),t.pos===s.currPos&&s.complete()}),!0)):(t.$content.removeClass("fancybox-is-hidden"),h||!u||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===s.currPos&&s.complete())))},getThumbPos:function(t){var e,i,o,r,s,a=!1,l=t.$thumb;return!(!l||!p(l[0]))&&(e=n.fancybox.getTranslate(l),i=parseFloat(l.css("border-top-width")||0),o=parseFloat(l.css("border-right-width")||0),r=parseFloat(l.css("border-bottom-width")||0),s=parseFloat(l.css("border-left-width")||0),a={top:e.top+i,left:e.left+s,width:e.width-o-s,height:e.height-i-r,scaleX:1,scaleY:1},e.width>0&&e.height>0&&a)},complete:function(){var t,e=this,i=e.current,o={};!e.isMoved()&&i.isLoaded&&(i.isComplete||(i.isComplete=!0,i.$slide.siblings().trigger("onReset"),e.preload("inline"),d(i.$slide),i.$slide.addClass("fancybox-slide--complete"),n.each(e.slides,(function(t,i){i.pos>=e.currPos-1&&i.pos<=e.currPos+1?o[i.pos]=i:i&&(n.fancybox.stop(i.$slide),i.$slide.off().remove())})),e.slides=o),e.isAnimating=!1,e.updateCursor(),e.trigger("afterShow"),i.opts.video.autoStart&&i.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),e.next()})),i.opts.autoFocus&&"html"===i.contentType&&((t=i.$content.find("input[autofocus]:enabled:visible:first")).length?t.trigger("focus"):e.focus(null,!0)),i.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,n,i=this;i.group.length<2||(n=i.slides[i.currPos+1],(e=i.slides[i.currPos-1])&&e.type===t&&i.loadSlide(e),n&&n.type===t&&i.loadSlide(n))},focus:function(t,i){var o,r,s=this,a=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");s.isClosing||((o=(o=!t&&s.current&&s.current.isComplete?s.current.$slide.find("*:visible"+(i?":not(.fancybox-close-small)":"")):s.$refs.container.find("*:visible")).filter(a).filter((function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}))).length?(r=o.index(e.activeElement),t&&t.shiftKey?(r<0||0==r)&&(t.preventDefault(),o.eq(o.length-1).trigger("focus")):(r<0||r==o.length-1)&&(t&&t.preventDefault(),o.eq(0).trigger("focus"))):s.$refs.container.trigger("focus"))},activate:function(){var t=this;n(".fancybox-container").each((function(){var e=n(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)})),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var i,o,r,s,a,c,u,h=this,p=h.current,f=function(){h.cleanUp(t)};return!(h.isClosing||(h.isClosing=!0,!1===h.trigger("beforeClose",t)?(h.isClosing=!1,l((function(){h.update()})),1):(h.removeEvents(),r=p.$content,i=p.opts.animationEffect,o=n.isNumeric(e)?e:i?p.opts.animationDuration:0,p.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?n.fancybox.stop(p.$slide):i=!1,p.$slide.siblings().trigger("onReset").remove(),o&&h.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",o+"ms"),h.hideLoading(p),h.hideControls(!0),h.updateCursor(),"zoom"!==i||r&&o&&"image"===p.type&&!h.isMoved()&&!p.hasError&&(u=h.getThumbPos(p))||(i="fade"),"zoom"===i?(n.fancybox.stop(r),s=n.fancybox.getTranslate(r),c={top:s.top,left:s.left,scaleX:s.width/u.width,scaleY:s.height/u.height,width:u.width,height:u.height},a=p.opts.zoomOpacity,"auto"==a&&(a=Math.abs(p.width/p.height-u.width/u.height)>.1),a&&(u.opacity=0),n.fancybox.setTranslate(r,c),d(r),n.fancybox.animate(r,u,o,f),0):(i&&o?n.fancybox.animate(p.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+i,o,f):!0===t?setTimeout(f,o):f(),0))))},cleanUp:function(e){var i,o,r,s=this,a=s.current.opts.$orig;s.current.$slide.trigger("onReset"),s.$refs.container.empty().remove(),s.trigger("afterClose",e),s.current.opts.backFocus&&(a&&a.length&&a.is(":visible")||(a=s.$trigger),a&&a.length&&(o=t.scrollX,r=t.scrollY,a.trigger("focus"),n("html, body").scrollTop(r).scrollLeft(o))),s.current=null,(i=n.fancybox.getInstance())?i.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var i,o=Array.prototype.slice.call(arguments,1),r=this,a=e&&e.opts?e:r.current;if(a?o.unshift(a):a=r,o.unshift(r),n.isFunction(a.opts[t])&&(i=a.opts[t].apply(a,o)),!1===i)return i;"afterClose"!==t&&r.$refs?r.$refs.container.trigger(t+".fb",o):s.trigger(t+".fb",o)},updateControls:function(){var t=this,i=t.current,o=i.index,r=t.$refs.container,s=t.$refs.caption,a=i.opts.caption;i.$slide.trigger("refresh"),a&&a.length?(t.$caption=s,s.children().eq(0).html(a)):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),r.find("[data-fancybox-count]").html(t.group.length),r.find("[data-fancybox-index]").html(o+1),r.find("[data-fancybox-prev]").prop("disabled",!i.opts.loop&&o<=0),r.find("[data-fancybox-next]").prop("disabled",!i.opts.loop&&o>=t.group.length-1),"image"===i.type?r.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",i.opts.image.src||i.src).show():i.opts.toolbar&&r.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(e.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var e=["infobar","toolbar","nav"];!t&&this.current.opts.preventCaptionOverlap||e.push("caption"),this.$refs.container.removeClass(e.map((function(t){return"fancybox-show-"+t})).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-caption",!!t.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:o,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return e instanceof f&&("string"===n.type(t)?e[t].apply(e,i):"function"===n.type(t)&&t.apply(e,i),e)},open:function(t,e,n){return new f(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),s.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var n=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(n)&&t.getComputedStyle(n).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;return!(!t||!t.length)&&{top:(e=t[0].getBoundingClientRect()).top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))}},setTranslate:function(t,e){var n="",i={};if(t&&e)return void 0===e.left&&void 0===e.top||(n=(void 0===e.left?t.position().left:e.left)+"px, "+(void 0===e.top?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==e.scaleX&&void 0!==e.scaleY?n+=" scale("+e.scaleX+", "+e.scaleY+")":void 0!==e.scaleX&&(n+=" scaleX("+e.scaleX+")"),n.length&&(i.transform=n),void 0!==e.opacity&&(i.opacity=e.opacity),void 0!==e.width&&(i.width=e.width),void 0!==e.height&&(i.height=e.height),t.css(i)},animate:function(t,e,i,o,r){var s,a=this;n.isFunction(i)&&(o=i,i=null),a.stop(t),s=a.getTranslate(t),t.on(u,(function(l){(!l||!l.originalEvent||t.is(l.originalEvent.target)&&"z-index"!=l.originalEvent.propertyName)&&(a.stop(t),n.isNumeric(i)&&t.css("transition-duration",""),n.isPlainObject(e)?void 0!==e.scaleX&&void 0!==e.scaleY&&a.setTranslate(t,{top:e.top,left:e.left,width:s.width*e.scaleX,height:s.height*e.scaleY,scaleX:1,scaleY:1}):!0!==r&&t.removeClass(e),n.isFunction(o)&&o(l))})),n.isNumeric(i)&&t.css("transition-duration",i+"ms"),n.isPlainObject(e)?(void 0!==e.scaleX&&void 0!==e.scaleY&&(delete e.width,delete e.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(t,e)):t.addClass(e),t.data("timer",setTimeout((function(){t.trigger(u)}),i+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(u),t.off(u).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(t){var e;return(e=(t=t||{}).selector||!1)?n("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},s.on("click.fb-start","[data-fancybox]",i),s.on("click.fb-start","[data-fancybox-trigger]",(function(t){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})})),function(){var t=null;s.on("mousedown mouseup focus blur",".fancybox-button",(function(e){switch(e.type){case"mousedown":t=n(this);break;case"mouseup":t=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(t)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}}))}()}}(window,document,jQuery),function(t){"use strict";var e={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:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://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},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},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(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[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(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(e,n,i){if(e)return i=i||"","object"===t.type(i)&&(i=t.param(i,!0)),t.each(n,(function(t,n){e=e.replace("$"+t,n||"")})),i.length&&(e+=(e.indexOf("?")>0?"&":"?")+i),e};t(document).on("objectNeedsType.fb",(function(i,o,r){var s,a,l,c,u,d,h,p=r.src||"",f=!1;s=t.extend(!0,{},e,r.opts.media),t.each(s,(function(e,i){if(l=p.match(i.matcher)){if(f=i.type,h=e,d={},i.paramPlace&&l[i.paramPlace]){"?"==(u=l[i.paramPlace])[0]&&(u=u.substring(1)),u=u.split("&");for(var o=0;o1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&i.load(n.contentSource)}})}(jQuery),function(t,e,n){"use strict";var i=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},o=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)},r=function(e){var n=[];for(var i in e=(e=e.originalEvent||e||t.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e])e[i].pageX?n.push({x:e[i].pageX,y:e[i].pageY}):e[i].clientX&&n.push({x:e[i].clientX,y:e[i].clientY});return n},s=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},a=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,i=t[0].attributes,o=i.length;ee.clientHeight,r=("scroll"===i||"auto"===i)&&e.scrollWidth>e.clientWidth;return o||r},c=function(t){for(var e=!1;!(e=l(t.get(0)))&&(t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body"););return e},u=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(e,"ontouchstart"))};u.prototype.destroy=function(){var t=this;t.$container.off(".fb.touch"),n(e).off(".fb.touch"),t.requestId&&(o(t.requestId),t.requestId=null),t.tapped&&(clearTimeout(t.tapped),t.tapped=null)},u.prototype.ontouchstart=function(i){var o=this,l=n(i.target),u=o.instance,d=u.current,h=d.$slide,p=d.$content,f="touchstart"==i.type;if(f&&o.$container.off("mousedown.fb.touch"),(!i.originalEvent||2!=i.originalEvent.button)&&h.length&&l.length&&!a(l)&&!a(l.parent())&&(l.is("img")||!(i.originalEvent.clientX>l[0].clientWidth+l.offset().left))){if(!d||u.isAnimating||d.$slide.hasClass("fancybox-animated"))return i.stopPropagation(),void i.preventDefault();o.realPoints=o.startPoints=r(i),o.startPoints.length&&(d.touch&&i.stopPropagation(),o.startEvent=i,o.canTap=!0,o.$target=l,o.$content=p,o.opts=d.opts.touch,o.isPanning=!1,o.isSwiping=!1,o.isZooming=!1,o.isScrolling=!1,o.canPan=u.canPan(),o.startTime=(new Date).getTime(),o.distanceX=o.distanceY=o.distance=0,o.canvasWidth=Math.round(h[0].clientWidth),o.canvasHeight=Math.round(h[0].clientHeight),o.contentLastPos=null,o.contentStartPos=n.fancybox.getTranslate(o.$content)||{top:0,left:0},o.sliderStartPos=n.fancybox.getTranslate(h),o.stagePos=n.fancybox.getTranslate(u.$refs.stage),o.sliderStartPos.top-=o.stagePos.top,o.sliderStartPos.left-=o.stagePos.left,o.contentStartPos.top-=o.stagePos.top,o.contentStartPos.left-=o.stagePos.left,n(e).off(".fb.touch").on(f?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(o,"ontouchend")).on(f?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(o,"ontouchmove")),n.fancybox.isMobile&&e.addEventListener("scroll",o.onscroll,!0),((o.opts||o.canPan)&&(l.is(o.$stage)||o.$stage.find(l).length)||(l.is(".fancybox-image")&&i.preventDefault(),n.fancybox.isMobile&&l.parents(".fancybox-caption").length))&&(o.isScrollable=c(l)||c(l.parent()),n.fancybox.isMobile&&o.isScrollable||i.preventDefault(),(1===o.startPoints.length||d.hasError)&&(o.canPan?(n.fancybox.stop(o.$content),o.isPanning=!0):o.isSwiping=!0,o.$container.addClass("fancybox-is-grabbing")),2===o.startPoints.length&&"image"===d.type&&(d.isLoaded||d.$ghost)&&(o.canTap=!1,o.isSwiping=!1,o.isPanning=!1,o.isZooming=!0,n.fancybox.stop(o.$content),o.centerPointStartX=.5*(o.startPoints[0].x+o.startPoints[1].x)-n(t).scrollLeft(),o.centerPointStartY=.5*(o.startPoints[0].y+o.startPoints[1].y)-n(t).scrollTop(),o.percentageOfImageAtPinchPointX=(o.centerPointStartX-o.contentStartPos.left)/o.contentStartPos.width,o.percentageOfImageAtPinchPointY=(o.centerPointStartY-o.contentStartPos.top)/o.contentStartPos.height,o.startDistanceBetweenFingers=s(o.startPoints[0],o.startPoints[1]))))}},u.prototype.onscroll=function(t){this.isScrolling=!0,e.removeEventListener("scroll",this.onscroll,!0)},u.prototype.ontouchmove=function(t){var e=this;return void 0!==t.originalEvent.buttons&&0===t.originalEvent.buttons?void e.ontouchend(t):e.isScrolling?void(e.canTap=!1):(e.newPoints=r(t),void((e.opts||e.canPan)&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=s(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=s(e.newPoints[0],e.startPoints[0],"y"),e.distance=s(e.newPoints[0],e.startPoints[0]),e.distance>0&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))))},u.prototype.onSwipe=function(e){var r,s=this,a=s.instance,l=s.isSwiping,c=s.sliderStartPos.left||0;if(!0!==l)"x"==l&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?c+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?c-=Math.pow(-s.distanceX,.8):c+=s.distanceX),s.sliderLastPos={top:"x"==l?0:s.sliderStartPos.top+s.distanceY,left:c},s.requestId&&(o(s.requestId),s.requestId=null),s.requestId=i((function(){s.sliderLastPos&&(n.each(s.instance.slides,(function(t,e){var i=e.pos-s.instance.currPos;n.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+i*s.canvasWidth+i*e.opts.gutter})})),s.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(s.distance)>10){if(s.canTap=!1,a.group.length<2&&s.opts.vertical?s.isSwiping="y":a.isDragging||!1===s.opts.vertical||"auto"===s.opts.vertical&&n(t).width()>800?s.isSwiping="x":(r=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=r>45&&r<135?"y":"x"),"y"===s.isSwiping&&n.fancybox.isMobile&&s.isScrollable)return void(s.isScrolling=!0);a.isDragging=s.isSwiping,s.startPoints=s.newPoints,n.each(a.slides,(function(t,e){var i,o;n.fancybox.stop(e.$slide),i=n.fancybox.getTranslate(e.$slide),o=n.fancybox.getTranslate(a.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass((function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")})),e.pos===a.current.pos&&(s.sliderStartPos.top=i.top-o.top,s.sliderStartPos.left=i.left-o.left),n.fancybox.setTranslate(e.$slide,{top:i.top-o.top,left:i.left-o.left})})),a.SlideShow&&a.SlideShow.isActive&&a.SlideShow.stop()}},u.prototype.onPan=function(){var t=this;s(t.newPoints[0],t.realPoints[0])<(n.fancybox.isMobile?10:5)?t.startPoints=t.newPoints:(t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&o(t.requestId),t.requestId=i((function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)})))},u.prototype.limitMovement=function(){var t,e,n,i,o,r,s=this,a=s.canvasWidth,l=s.canvasHeight,c=s.distanceX,u=s.distanceY,d=s.contentStartPos,h=d.left,p=d.top,f=d.width,m=d.height;return o=f>a?h+c:h,r=p+u,t=Math.max(0,.5*a-.5*f),e=Math.max(0,.5*l-.5*m),n=Math.min(a-f,.5*a-.5*f),i=Math.min(l-m,.5*l-.5*m),c>0&&o>t&&(o=t-1+Math.pow(-t+h+c,.8)||0),c<0&&o0&&r>e&&(r=e-1+Math.pow(-e+p+u,.8)||0),u<0&&ro?(t=t>0?0:t)r?(e=e>0?0:e)1&&(i.dMs>130&&s>10||s>50);i.sliderLastPos=null,"y"==t&&!e&&Math.abs(i.distanceY)>50?(n.fancybox.animate(i.instance.current.$slide,{top:i.sliderStartPos.top+i.distanceY+150*i.velocityY,opacity:0},200),o=i.instance.close(!0,250)):a&&i.distanceX>0?o=i.instance.previous(300):a&&i.distanceX<0&&(o=i.instance.next(300)),!1!==o||"x"!=t&&"y"!=t||i.instance.centerSlide(200),i.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var t,e,i,o=this;o.contentLastPos&&(!1===o.opts.momentum||o.dMs>350?(t=o.contentLastPos.left,e=o.contentLastPos.top):(t=o.contentLastPos.left+500*o.velocityX,e=o.contentLastPos.top+500*o.velocityY),(i=o.limitPosition(t,e,o.contentStartPos.width,o.contentStartPos.height)).width=o.contentStartPos.width,i.height=o.contentStartPos.height,n.fancybox.animate(o.$content,i,366))},u.prototype.endZooming=function(){var t,e,i,o,r=this,s=r.instance.current,a=r.newWidth,l=r.newHeight;r.contentLastPos&&(t=r.contentLastPos.left,o={top:e=r.contentLastPos.top,left:t,width:a,height:l,scaleX:1,scaleY:1},n.fancybox.setTranslate(r.$content,o),as.width||l>s.height?r.instance.scaleToActual(r.centerPointStartX,r.centerPointStartY,150):(i=r.limitPosition(t,e,a,l),n.fancybox.animate(r.$content,i,150)))},u.prototype.onTap=function(e){var i,o=this,s=n(e.target),a=o.instance,l=a.current,c=e&&r(e)||o.startPoints,u=c[0]?c[0].x-n(t).scrollLeft()-o.stagePos.left:0,d=c[0]?c[0].y-n(t).scrollTop()-o.stagePos.top:0,h=function(t){var i=l.opts[t];if(n.isFunction(i)&&(i=i.apply(a,[l,e])),i)switch(i){case"close":a.close(o.startEvent);break;case"toggleControls":a.toggleControls();break;case"next":a.next();break;case"nextOrClose":a.group.length>1?a.next():a.close(o.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(a.canPan()?a.scaleToFit():a.isScaledDown()?a.scaleToActual(u,d):a.group.length<2&&a.close(o.startEvent))}};if((!e.originalEvent||2!=e.originalEvent.button)&&(s.is("img")||!(u>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))i="Outside";else if(s.is(".fancybox-slide"))i="Slide";else{if(!a.current.$content||!a.current.$content.find(s).addBack().filter(s).length)return;i="Content"}if(o.tapped){if(clearTimeout(o.tapped),o.tapped=null,Math.abs(u-o.tapX)>50||Math.abs(d-o.tapY)>50)return this;h("dblclick"+i)}else o.tapX=u,o.tapY=d,l.opts["dblclick"+i]&&l.opts["dblclick"+i]!==l.opts["click"+i]?o.tapped=setTimeout((function(){o.tapped=null,a.isAnimating||h("click"+i)}),500):h("click"+i);return this}},n(e).on("onActivate.fb",(function(t,e){e&&!e.Guestures&&(e.Guestures=new u(e))})).on("beforeClose.fb",(function(t,e){e&&e.Guestures&&e.Guestures.destroy()}))}(window,document,jQuery),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{slideShow:''},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,n=t.instance,i=n.group[n.currIndex].opts.slideShow;t.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){t.toggle()})),n.group.length<2||!i?t.$button.hide():i.progress&&(t.$progress=e('
').appendTo(n.$refs.inner))},set:function(t){var n=this,i=n.instance,o=i.current;o&&(!0===t||o.opts.loop||i.currIndex'},fullScreen:{autoStart:!1}}),e(t).on(n.fullscreenchange,(function(){var t=i.isFullscreen(),n=e.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",t),n.$refs.container.toggleClass("fancybox-is-fullscreen",t),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))}))}e(t).on({"onInit.fb":function(t,e){n?e&&e.group[e.currIndex].opts.fullScreen?(e.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(t){t.stopPropagation(),t.preventDefault(),i.toggle()})),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&i.request(),e.FullScreen=i):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(t,e,n,i,o){e&&e.FullScreen&&70===o&&(i.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&i.exit()}})}(document,jQuery),function(t,e){"use strict";var n="fancybox-thumbs";e.fancybox.defaults=e.extend(!0,{btnTpl:{thumbs:''},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},e.fancybox.defaults);var i=function(t){this.init(t)};e.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,n=t.group,i=0;e.instance=t,e.opts=n[t.currIndex].opts.thumbs,t.Thumbs=e,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var o=0,r=n.length;o1));o++);i>1&&e.opts?(e.$button.removeAttr("style").on("click",(function(){e.toggle()})),e.isActive=!0):e.$button.hide()},create:function(){var t,i=this,o=i.instance,r=i.opts.parentEl,s=[];i.$grid||(i.$grid=e('
').appendTo(o.$refs.container.find(r).addBack().filter(r)),i.$grid.on("click","a",(function(){o.jumpTo(e(this).attr("data-index"))}))),i.$list||(i.$list=e('
').appendTo(i.$grid)),e.each(o.group,(function(e,n){(t=n.thumb)||"image"!==n.type||(t=n.src),s.push('")})),i.$list[0].innerHTML=s.join(""),"x"===i.opts.axis&&i.$list.width(parseInt(i.$grid.css("padding-right"),10)+o.group.length*i.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,n,i=this,o=i.$list,r=i.$grid;i.instance.current&&(n=(e=o.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+i.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===i.opts.axis&&(n.top<0||n.top>o.height()-e.outerHeight())?o.stop().animate({scrollTop:o.scrollTop()+n.top},t):"x"===i.opts.axis&&(n.leftr.scrollLeft()+(r.width()-e.outerWidth()))&&o.parent().stop().animate({scrollLeft:n.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focus(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){var n;e&&!e.Thumbs&&(n=new i(e)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(t,e,n,i){var o=e&&e.Thumbs;o&&o.isVisible&&o.focus(i?0:250)},"afterKeydown.fb":function(t,e,n,i,o){var r=e&&e.Thumbs;r&&r.isActive&&71===o&&(i.preventDefault(),r.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{share:''},share:{url:function(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.src)||window.location},tpl:''}}),e(t).on("click","[data-fancybox-share]",(function(){var t,n,i=e.fancybox.getInstance(),o=i.current||null;o&&("function"===e.type(o.opts.share.url)&&(t=o.opts.share.url.apply(o,[i,o])),n=o.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===o.type?encodeURIComponent(o.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,function(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,(function(t){return e[t]}))}(t)).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):""),e.fancybox.open({src:i.translate(i,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){i.$refs.container.one("beforeClose.fb",(function(){t.close(null,0)})),e.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))},mobile:{autoFocus:!1}}}))}))}(document,jQuery),function(t,e,n){"use strict";function i(){var e=t.location.hash.substr(1),n=e.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:e,index:i<1?1:i,gallery:n.join("-")}}function o(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function r(t){var e,n;return!!t&&""!==(n=(e=t.current?t.current.opts:t.opts).hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&n}n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}))}),n((function(){!1!==n.fancybox.defaults.hash&&(n(e).on({"onInit.fb":function(t,e){var n,o;!1!==e.group[e.currIndex].opts.hash&&(n=i(),(o=r(e))&&n.gallery&&o==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,i,o,s){var a;o&&!1!==o.opts.hash&&(a=r(i))&&(i.currentHash=a+(i.group.length>1?"-"+(o.index+1):""),t.location.hash!=="#"+i.currentHash&&(s&&!i.origHash&&(i.origHash=t.location.hash),i.hashTimer&&clearTimeout(i.hashTimer),i.hashTimer=setTimeout((function(){"replaceState"in t.history?(t.history[s?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+i.currentHash),s&&(i.hasCreatedHistory=!0)):t.location.hash=i.currentHash,i.hashTimer=null}),300)))},"beforeClose.fb":function(n,i,o){o&&!1!==o.opts.hash&&(clearTimeout(i.hashTimer),i.currentHash&&i.hasCreatedHistory?t.history.back():i.currentHash&&("replaceState"in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(i.origHash||"")):t.location.hash=i.origHash),i.currentHash=null)}}),n(t).on("hashchange.fb",(function(){var t=i(),e=null;n.each(n(".fancybox-container").get().reverse(),(function(t,i){var o=n(i).data("FancyBox");if(o&&o.currentHash)return e=o,!1})),e?e.currentHash===t.gallery+"-"+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):""!==t.gallery&&o(t)})),setTimeout((function(){n.fancybox.getInstance()||o(i())}),50))}))}(window,document,jQuery),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,e,i){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(t){var i=e.current,o=(new Date).getTime();e.group.length<2||!1===i.opts.wheel||"auto"===i.opts.wheel&&"image"!==i.type||(t.preventDefault(),t.stopPropagation(),i.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,o-n<250||(n=o,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))}))}})}(document,jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Popper=e()}(this,(function(){"use strict";function t(t){return t&&"[object Function]"==={}.toString.call(t)}function e(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function n(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function i(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var o=e(t),r=o.overflow,s=o.overflowX,a=o.overflowY;return/(auto|scroll|overlay)/.test(r+a+s)?t:i(n(t))}function o(t){return t&&t.referenceNode?t.referenceNode:t}function r(t){return 11===t?Q:10===t?Y:Q||Y}function s(t){if(!t)return document.documentElement;for(var n=r(10)?document.body:null,i=t.offsetParent||null;i===n&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var o=i&&i.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===e(i,"position")?s(i):i:t?t.ownerDocument.documentElement:document.documentElement}function a(t){return null===t.parentNode?t:a(t.parentNode)}function l(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var c=r.commonAncestorContainer;if(t!==c&&e!==c||i.contains(o))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||s(t.firstElementChild)===t)}(c)?c:s(c);var u=a(t);return u.host?l(u.host,e):l(t,a(e).host)}function c(t){var e="top"===(1=n.clientWidth&&i>=n.clientHeight})),u=0c[t]&&!e.escapeWithReference&&(i=R(d[n],c[t]-("right"===t?d.width:d.height))),G({},n,i)}};return u.forEach((function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";d=J({},d,h[e](t))})),t.offsets.popper=d,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=q,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,n){var i;if(!B(t.instance.modifiers,"arrow","keepTogether"))return t;var o=n.element;if("string"==typeof o){if(!(o=t.instance.popper.querySelector(o)))return t}else if(!t.instance.popper.contains(o))return t;var r=t.placement.split("-")[0],s=t.offsets,a=s.popper,l=s.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",d=c?"Top":"Left",h=d.toLowerCase(),p=c?"left":"top",m=c?"bottom":"right",g=E(o)[u];l[m]-ga[m]&&(t.offsets.popper[h]+=l[h]+g-a[m]),t.offsets.popper=f(t.offsets.popper);var v=l[h]+l[u]/2-g/2,y=e(t.instance.popper),b=parseFloat(y["margin"+d]),w=parseFloat(y["border"+d+"Width"]),x=v-t.offsets.popper[h]-b-w;return x=V(R(a[u]-g,x),0),t.arrowElement=o,t.offsets.arrow=(G(i={},h,W(x)),G(i,p,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(F(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=w(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=T(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case"flip":s=[i,o];break;case"clockwise":s=z(i);break;case"counterclockwise":s=z(i,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=T(i);var c=t.offsets.popper,u=t.offsets.reference,d=q,h="left"===i&&d(c.right)>d(u.left)||"right"===i&&d(c.left)d(u.top)||"bottom"===i&&d(c.top)d(n.right),m=d(c.top)d(n.bottom),v="left"===i&&p||"right"===i&&f||"top"===i&&m||"bottom"===i&&g,y=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(y&&"start"===r&&p||y&&"end"===r&&f||!y&&"start"===r&&m||!y&&"end"===r&&g),w=!!e.flipVariationsByContent&&(y&&"start"===r&&f||y&&"end"===r&&p||!y&&"start"===r&&g||!y&&"end"===r&&m),x=b||w;(h||v||x)&&(t.flipped=!0,(h||v)&&(i=s[l+1]),x&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=J({},t.offsets.popper,S(t.instance.popper,t.offsets.reference,t.placement)),t=A(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=T(e),t.offsets.popper=f(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!B(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=k(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.rightwindow.devicePixelRatio||!tt),f="bottom"===o?"top":"bottom",g="right"===r?"left":"right",v=$("transform");if(i="bottom"==f?"HTML"===u.nodeName?-u.clientHeight+p.bottom:-d.height+p.bottom:p.top,n="right"==g?"HTML"===u.nodeName?-u.clientWidth+p.right:-d.width+p.right:p.left,c&&v)h[v]="translate3d("+n+"px, "+i+"px, 0)",h[f]=0,h[g]=0,h.willChange="transform";else{var y="bottom"==f?-1:1,b="right"==g?-1:1;h[f]=i*y,h[g]=n*b,h.willChange=f+", "+g}var w={"x-placement":t.placement};return t.attributes=J({},w,t.attributes),t.styles=J({},h,t.styles),t.arrowStyles=J({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return H(t.instance.popper,t.styles),function(t,e){Object.keys(e).forEach((function(n){!1===e[n]?t.removeAttribute(n):t.setAttribute(n,e[n])}))}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&H(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=C(o,e,t,n.positionFixed),s=_(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),H(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},it})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t=t||self).bootstrap={},t.jQuery,t.Popper)}(this,(function(t,e,n){"use strict";function i(t,e){for(var n=0;n0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(L)},n.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(P)},n.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(t){var n=this;this._activeElement=this._element.querySelector(O);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one(I.SLID,(function(){return n.to(t)}));else{if(i===t)return this.pause(),void this.cycle();var o=t>i?L:P;this._slide(o,this._items[t])}},n.dispose=function(){e(this._element).off(k),e.removeData(this._element,S),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(t){return t=s({},F,t),l.typeCheckConfig(T,t,$),t},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0&&this.prev(),e<0&&this.next()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(I.KEYDOWN,(function(e){return t._keydown(e)})),"hover"===this._config.pause&&e(this._element).on(I.MOUSEENTER,(function(e){return t.pause(e)})).on(I.MOUSELEAVE,(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&j[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&j[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),500+t._config.interval))};e(this._element.querySelectorAll(".carousel-item img")).on(I.DRAG_START,(function(t){return t.preventDefault()})),this._pointerEvent?(e(this._element).on(I.POINTERDOWN,(function(t){return n(t)})),e(this._element).on(I.POINTERUP,(function(t){return i(t)})),this._element.classList.add("pointer-event")):(e(this._element).on(I.TOUCHSTART,(function(t){return n(t)})),e(this._element).on(I.TOUCHMOVE,(function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)})),e(this._element).on(I.TOUCHEND,(function(t){return i(t)})))}},n._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n=t===L,i=t===P,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===P?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},n._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(O)),r=e.Event(I.SLIDE,{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(r),r},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));e(n).removeClass(N);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(N)}},n._slide=function(t,n){var i,o,r,s=this,a=this._element.querySelector(O),c=this._getItemIndex(a),u=n||a&&this._getItemByDirection(t,a),d=this._getItemIndex(u),h=Boolean(this._interval);if(t===L?(i="carousel-item-left",o="carousel-item-next",r="left"):(i="carousel-item-right",o="carousel-item-prev",r="right"),u&&e(u).hasClass(N))this._isSliding=!1;else if(!this._triggerSlideEvent(u,r).isDefaultPrevented()&&a&&u){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(u);var p=e.Event(I.SLID,{relatedTarget:u,direction:r,from:c,to:d});if(e(this._element).hasClass("slide")){e(u).addClass(o),l.reflow(u),e(a).addClass(i),e(u).addClass(i);var f=parseInt(u.getAttribute("data-interval"),10);f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=f):this._config.interval=this._config.defaultInterval||this._config.interval;var m=l.getTransitionDurationFromElement(a);e(a).one(l.TRANSITION_END,(function(){e(u).removeClass(i+" "+o).addClass(N),e(a).removeClass(N+" "+o+" "+i),s._isSliding=!1,setTimeout((function(){return e(s._element).trigger(p)}),0)})).emulateTransitionEnd(m)}else e(a).removeClass(N),e(u).addClass(N),this._isSliding=!1,e(this._element).trigger(p);h&&this.cycle()}},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data(S),o=s({},F,e(this).data());"object"==typeof n&&(o=s({},o,n));var r="string"==typeof n?n:o.slide;if(i||(i=new t(this,o),e(this).data(S,i)),"number"==typeof n)i.to(n);else if("string"==typeof r){if(void 0===i[r])throw new TypeError('No method named "'+r+'"');i[r]()}else o.interval&&o.ride&&(i.pause(),i.cycle())}))},t._dataApiClickHandler=function(n){var i=l.getSelectorFromElement(this);if(i){var o=e(i)[0];if(o&&e(o).hasClass("carousel")){var r=s({},e(o).data(),e(this).data()),a=this.getAttribute("data-slide-to");a&&(r.interval=!1),t._jQueryInterface.call(e(o),r),a&&e(o).data(S).to(a),n.preventDefault()}}},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return F}}]),t}();e(document).on(I.CLICK_DATA_API,"[data-slide], [data-slide-to]",M._dataApiClickHandler),e(window).on(I.LOAD_DATA_API,(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),n=0,i=t.length;n0&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){e(this._element).hasClass(U)?this.hide():this.show()},n.show=function(){var n,i,o=this;if(!(this._isTransitioning||e(this._element).hasClass(U)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains(K)}))).length&&(n=null),n&&(i=e(n).not(this._selector).data(B))&&i._isTransitioning))){var r=e.Event(V.SHOW);if(e(this._element).trigger(r),!r.isDefaultPrevented()){n&&(t._jQueryInterface.call(e(n).not(this._selector),"hide"),i||e(n).data(B,null));var s=this._getDimension();e(this._element).removeClass(K).addClass(X),this._element.style[s]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(Q).attr("aria-expanded",!0),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),c=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,(function(){e(o._element).removeClass(X).addClass(K).addClass(U),o._element.style[s]="",o.setTransitioning(!1),e(o._element).trigger(V.SHOWN)})).emulateTransitionEnd(c),this._element.style[s]=this._element[a]+"px"}}},n.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(U)){var n=e.Event(V.HIDE);if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",l.reflow(this._element),e(this._element).addClass(X).removeClass(K).removeClass(U);var o=this._triggerArray.length;if(o>0)for(var r=0;r0},i._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},i._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data(tt);if(i||(i=new t(this,"object"==typeof n?n:null),e(this).data(tt,i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},t._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll(ct)),o=0,r=i.length;o0&&s--,40===n.which&&sdocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},zt="show",Rt="out",qt={HIDE:"hide"+Pt,HIDDEN:"hidden"+Pt,SHOW:"show"+Pt,SHOWN:"shown"+Pt,INSERTED:"inserted"+Pt,CLICK:"click"+Pt,FOCUSIN:"focusin"+Pt,FOCUSOUT:"focusout"+Pt,MOUSEENTER:"mouseenter"+Pt,MOUSELEAVE:"mouseleave"+Pt},Wt="fade",Vt="show",Ut="hover",Kt="focus",Xt=function(){function t(t,e){if(void 0===n)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var i=t.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass(Vt))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){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"),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var i=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(i);var o=l.findShadowRoot(this.element),r=e.contains(null!==o?o:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!r)return;var s=this.getTipElement(),a=l.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&e(s).addClass(Wt);var c="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,u=this._getAttachment(c);this.addAttachmentClass(u);var d=this._getContainer();e(s).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(s).appendTo(d),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,s,{placement:u,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),e(s).addClass(Vt),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var h=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),n===Rt&&t._leave(null,t)};if(e(this.tip).hasClass(Wt)){var p=l.getTransitionDurationFromElement(this.tip);e(this.tip).one(l.TRANSITION_END,h).emulateTransitionEnd(p)}else h()}},i.hide=function(t){var n=this,i=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),r=function(){n._hoverState!==zt&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(i).removeClass(Vt),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger.click=!1,this._activeTrigger[Kt]=!1,this._activeTrigger[Ut]=!1,e(this.tip).hasClass(Wt)){var s=l.getTransitionDurationFromElement(i);e(i).one(l.TRANSITION_END,r).emulateTransitionEnd(s)}else r();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(t){e(this.getTipElement()).addClass(Nt+"-"+t)},i.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},i.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(".tooltip-inner")),this.getTitle()),e(t).removeClass(Wt+" "+Vt)},i.setElementContent=function(t,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=Ft(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())},i.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},i._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},i._getContainer=function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},i._getAttachment=function(t){return Ht[t.toUpperCase()]},i._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==n){var i=n===Ut?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o=n===Ut?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,(function(e){return t._enter(e)})).on(o,t.config.selector,(function(e){return t._leave(e)}))}})),e(this.element).closest(".modal").on("hide.bs.modal",(function(){t.element&&t.hide()})),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?Kt:Ut]=!0),e(n.getTipElement()).hasClass(Vt)||n._hoverState===zt?n._hoverState=zt:(clearTimeout(n._timeout),n._hoverState=zt,n.config.delay&&n.config.delay.show?n._timeout=setTimeout((function(){n._hoverState===zt&&n.show()}),n.config.delay.show):n.show())},i._leave=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?Kt:Ut]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=Rt,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout((function(){n._hoverState===Rt&&n.hide()}),n.config.delay.hide):n.hide())},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){var n=e(this.element).data();return Object.keys(n).forEach((function(t){-1!==jt.indexOf(t)&&delete n[t]})),"number"==typeof(t=s({},this.constructor.Default,n,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),l.typeCheckConfig($t,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ft(t.template,t.whiteList,t.sanitizeFn)),t},i._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},i._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(Ot);null!==n&&n.length&&t.removeClass(n.join(""))},i._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(Wt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data(Lt),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,o),e(this).data(Lt,i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Bt}},{key:"NAME",get:function(){return $t}},{key:"DATA_KEY",get:function(){return Lt}},{key:"Event",get:function(){return qt}},{key:"EVENT_KEY",get:function(){return Pt}},{key:"DefaultType",get:function(){return Mt}}]),t}();e.fn[$t]=Xt._jQueryInterface,e.fn[$t].Constructor=Xt,e.fn[$t].noConflict=function(){return e.fn[$t]=It,Xt._jQueryInterface};var Qt="popover",Yt="bs.popover",Zt="."+Yt,Gt=e.fn[Qt],Jt="bs-popover",te=new RegExp("(^|\\s)"+Jt+"\\S+","g"),ee=s({},Xt.Default,{placement:"right",trigger:"click",content:"",template:''}),ne=s({},Xt.DefaultType,{content:"(string|element|function)"}),ie={HIDE:"hide"+Zt,HIDDEN:"hidden"+Zt,SHOW:"show"+Zt,SHOWN:"shown"+Zt,INSERTED:"inserted"+Zt,CLICK:"click"+Zt,FOCUSIN:"focusin"+Zt,FOCUSOUT:"focusout"+Zt,MOUSEENTER:"mouseenter"+Zt,MOUSELEAVE:"mouseleave"+Zt},oe=function(t){var n,i;function r(){return t.apply(this,arguments)||this}i=t,(n=r).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var s=r.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(t){e(this.getTipElement()).addClass(Jt+"-"+t)},s.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},s.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(".popover-body"),n),t.removeClass("fade show")},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(te);null!==n&&n.length>0&&t.removeClass(n.join(""))},r._jQueryInterface=function(t){return this.each((function(){var n=e(this).data(Yt),i="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new r(this,i),e(this).data(Yt,n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},o(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return ee}},{key:"NAME",get:function(){return Qt}},{key:"DATA_KEY",get:function(){return Yt}},{key:"Event",get:function(){return ie}},{key:"EVENT_KEY",get:function(){return Zt}},{key:"DefaultType",get:function(){return ne}}]),r}(Xt);e.fn[Qt]=oe._jQueryInterface,e.fn[Qt].Constructor=oe,e.fn[Qt].noConflict=function(){return e.fn[Qt]=Gt,oe._jQueryInterface};var re="scrollspy",se="bs.scrollspy",ae="."+se,le=e.fn[re],ce={offset:10,method:"auto",target:""},ue={offset:"number",method:"string",target:"(string|element)"},de={ACTIVATE:"activate"+ae,SCROLL:"scroll"+ae,LOAD_DATA_API:"load"+ae+".data-api"},he="active",pe=".nav, .list-group",fe=".nav-link",me=".list-group-item",ge="position",ve=function(){function t(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+fe+","+this._config.target+" "+me+","+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(de.SCROLL,(function(t){return i._process(t)})),this.refresh(),this._process()}var n=t.prototype;return n.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?"offset":ge,i="auto"===this._config.method?n:this._config.method,o=i===ge?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var n,r=l.getSelectorFromElement(t);if(r&&(n=document.querySelector(r)),n){var s=n.getBoundingClientRect();if(s.width||s.height)return[e(n)[i]().top+o,r]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},n.dispose=function(){e.removeData(this._element,se),e(this._scrollElement).off(ae),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(t){if("string"!=typeof(t=s({},ce,"object"==typeof t&&t?t:{})).target){var n=e(t.target).attr("id");n||(n=l.getUID(re),e(t.target).attr("id",n)),t.target="#"+n}return l.typeCheckConfig(re,t,ue),t},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t li > .active",Ae=function(){function t(t){this._element=t}var n=t.prototype;return n.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(Ce)||e(this._element).hasClass("disabled"))){var n,i,o=e(this._element).closest(".nav, .list-group")[0],r=l.getSelectorFromElement(this._element);if(o){var s="UL"===o.nodeName||"OL"===o.nodeName?ke:Se;i=(i=e.makeArray(e(o).find(s)))[i.length-1]}var a=e.Event(_e.HIDE,{relatedTarget:this._element}),c=e.Event(_e.SHOW,{relatedTarget:i});if(i&&e(i).trigger(a),e(this._element).trigger(c),!c.isDefaultPrevented()&&!a.isDefaultPrevented()){r&&(n=document.querySelector(r)),this._activate(this._element,o);var u=function(){var n=e.Event(_e.HIDDEN,{relatedTarget:t._element}),o=e.Event(_e.SHOWN,{relatedTarget:i});e(i).trigger(n),e(t._element).trigger(o)};n?this._activate(n,n.parentNode,u):u()}}},n.dispose=function(){e.removeData(this._element,be),this._element=null},n._activate=function(t,n,i){var o=this,r=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?e(n).children(Se):e(n).find(ke))[0],s=i&&r&&e(r).hasClass(Ee),a=function(){return o._transitionComplete(t,r,i)};if(r&&s){var c=l.getTransitionDurationFromElement(r);e(r).removeClass(Te).one(l.TRANSITION_END,a).emulateTransitionEnd(c)}else a()},n._transitionComplete=function(t,n,i){if(n){e(n).removeClass(Ce);var o=e(n.parentNode).find("> .dropdown-menu .active")[0];o&&e(o).removeClass(Ce),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass(Ce),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),l.reflow(t),t.classList.contains(Ee)&&t.classList.add(Te),t.parentNode&&e(t.parentNode).hasClass("dropdown-menu")){var r=e(t).closest(".dropdown")[0];if(r){var s=[].slice.call(r.querySelectorAll(".dropdown-toggle"));e(s).addClass(Ce)}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data(be);if(o||(o=new t(this),i.data(be,o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}}))},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(_e.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),Ae._jQueryInterface.call(e(this),"show")})),e.fn[ye]=Ae._jQueryInterface,e.fn[ye].Constructor=Ae,e.fn[ye].noConflict=function(){return e.fn[ye]=xe,Ae._jQueryInterface};var De="toast",Fe="bs.toast",$e="."+Fe,Le=e.fn[De],Pe={CLICK_DISMISS:"click.dismiss"+$e,HIDE:"hide"+$e,HIDDEN:"hidden"+$e,SHOW:"show"+$e,SHOWN:"shown"+$e},Ie="hide",Ne="show",Oe="showing",je={animation:"boolean",autohide:"boolean",delay:"number"},Me={animation:!0,autohide:!0,delay:500},He=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var n=t.prototype;return n.show=function(){var t=this;e(this._element).trigger(Pe.SHOW),this._config.animation&&this._element.classList.add("fade");var n=function(){t._element.classList.remove(Oe),t._element.classList.add(Ne),e(t._element).trigger(Pe.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(Ie),this._element.classList.add(Oe),this._config.animation){var i=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n.hide=function(t){var n=this;this._element.classList.contains(Ne)&&(e(this._element).trigger(Pe.HIDE),t?this._close():this._timeout=setTimeout((function(){n._close()}),this._config.delay))},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Ne)&&this._element.classList.remove(Ne),e(this._element).off(Pe.CLICK_DISMISS),e.removeData(this._element,Fe),this._element=null,this._config=null},n._getConfig=function(t){return t=s({},Me,e(this._element).data(),"object"==typeof t&&t?t:{}),l.typeCheckConfig(De,t,this.constructor.DefaultType),t},n._setListeners=function(){var t=this;e(this._element).on(Pe.CLICK_DISMISS,'[data-dismiss="toast"]',(function(){return t.hide(!0)}))},n._close=function(){var t=this,n=function(){t._element.classList.add(Ie),e(t._element).trigger(Pe.HIDDEN)};if(this._element.classList.remove(Ne),this._config.animation){var i=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data(Fe);if(o||(o=new t(this,"object"==typeof n&&n),i.data(Fe,o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n](this)}}))},o(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return je}},{key:"Default",get:function(){return Me}}]),t}();e.fn[De]=He._jQueryInterface,e.fn[De].Constructor=He,e.fn[De].noConflict=function(){return e.fn[De]=Le,He._jQueryInterface},function(){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=l,t.Alert=f,t.Button=E,t.Carousel=M,t.Collapse=G,t.Dropdown=pt,t.Modal=St,t.Popover=oe,t.Scrollspy=ve,t.Tab=Ae,t.Toast=He,t.Tooltip=Xt,Object.defineProperty(t,"__esModule",{value:!0})})),function(t){"use strict";var e=function(e,n){this.options=n,this.$element=t(e);var i=this;this.dropdowns=this.$element.hasClass("dropdown-toggle")?this.$element.parent().find(".dropdown-menu").parent(".dropdown"):this.$element.find(".dropdown"),n.onClick?this.dropdowns.each((function(){t(this).children("a, button").on("click.bs.dropdownhover",(function(e){t(this).parent().hasClass("open")?i.hide(t(this)):i.show(t(this))}))})):(this.dropdowns.each((function(){t(this).on("mouseenter.bs.dropdownhover",(function(e){i.show(t(this).children("a, button"))}))})),this.dropdowns.each((function(){t(this).on("mouseleave.bs.dropdownhover",(function(e){i.hide(t(this).children("a, button"))}))})))};function n(e){e&&3===e.which||(t(".dropdown-backdrop").remove(),t('[data-hover="dropdown"]').each((function(){var n=t(this),i=function(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(document).find(n);return i&&i.length?i:e.parent()}(n),o={relatedTarget:this};i.hasClass("open")&&(e&&"click"==e.type&&/input|textarea/i.test(e.target.tagName)&&t.contains(i[0],e.target)||(i.trigger(e=t.Event("hide.bs.dropdownhover",o)),e.isDefaultPrevented()||(n.attr("aria-expanded","false"),i.removeClass("open").trigger(t.Event("hidden.bs.dropdownhover",o)))))})))}function i(n){return this.each((function(){var i=t(this),o=i.data("bs.dropdownhover"),r=i.data();void 0!==i.data("animations")&&null!==i.data("animations")&&(r.animations=t.isArray(r.animations)?r.animations:r.animations.split(" "));var s=t.extend({},e.DEFAULTS,r,"object"==typeof n&&n);o||i.data("bs.dropdownhover",o=new e(this,s))}))}e.TRANSITION_DURATION=300,e.DELAY=150,e.DEFAULTS={onClick:!1,animations:["fadeInDown","fadeInRight","fadeInUp","fadeInLeft"]},e.prototype.show=function(i){var o=t(i);window.clearTimeout(e.TIMEOUT),t(".dropdown").not(o.parents()).each((function(){t(this).removeClass("open")}));var r=this.options.animations[0];if(!o.is(".disabled, :disabled")){var s=o.parent();if(!s.hasClass("open")){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var a=o.next(".dropdown-menu");switch(s.addClass("open"),o.attr("aria-expanded",!0),s.siblings().each((function(){t(this).hasClass("open")||t(this).find('[data-hover="dropdown"]').attr("aria-expanded",!1)})),this.position(a)){case"top":r=this.options.animations[2];break;case"right":r=this.options.animations[3];break;case"left":r=this.options.animations[1];break;default:r=this.options.animations[0]}a.addClass("animated "+r),t.support.transition&&a.hasClass("animated")?a.one("bsTransitionEnd",(function(){a.removeClass("animated "+r)})).emulateTransitionEnd(e.TRANSITION_DURATION):a.removeClass("animated "+r)}return!1}},e.prototype.hide=function(n){var i=t(n),o=i.parent(),r=i.data("dropdown-hover-delay");e.TIMEOUT=window.setTimeout((function(){o.removeClass("open"),i.attr("aria-expanded",!1)}),r||e.DELAY)},e.prototype.position=function(e){var n=t(window);e.css({bottom:"",left:"",top:"",right:""}).removeClass("dropdownhover-top");var i={top:n.scrollTop(),left:n.scrollLeft()};i.right=i.left+n.width(),i.bottom=i.top+n.height();var o=e.offset();o.right=o.left+e.outerWidth(),o.bottom=o.top+e.outerHeight();var r=e.position();r.right=o.left+e.outerWidth(),r.bottom=o.top+e.outerHeight();var s="";if(e.parents(".dropdown-menu").length)r.left<0?(s="left",e.removeClass("dropdownhover-right").addClass("dropdownhover-left")):(s="right",e.addClass("dropdownhover-right").removeClass("dropdownhover-left")),o.lefti.right&&(s="left",e.css({left:"auto",right:"100%"}).removeClass("dropdownhover-right").addClass("dropdownhover-left")),o.bottom>i.bottom?e.css({bottom:"auto",top:-(o.bottom-i.bottom)}):o.topi.right&&e.css({left:-(o.right-i.right),right:"auto"}),o.bottom>i.bottom&&l.top-i.top>i.bottom-l.bottom||e.position().top<0?(s="top",e.css({bottom:"100%",top:"auto"}).addClass("dropdownhover-top").removeClass("dropdownhover-bottom")):(s="bottom",e.addClass("dropdownhover-bottom"))}return s};var o=t.fn.dropdownhover;t.fn.dropdownhover=i,t.fn.dropdownhover.Constructor=e,t.fn.dropdownhover.noConflict=function(){return t.fn.dropdownhover=o,this},t(document).ready((function(){t('[data-hover="dropdown"]').each((function(){var e=t(this);"ontouchstart"in document.documentElement?i.call(e,t.extend({},e.data(),{onClick:!0})):i.call(e,e.data())}))}))}(jQuery),function(t,e,n,i){function o(e,n){this.settings=null,this.options=t.extend({},o.Defaults,n),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,n){this._handlers[n]=t.proxy(this[n],this)}),this)),t.each(o.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(o.Workers,t.proxy((function(e,n){this._pipe.push({filter:n.filter,run:t.proxy(n.run,this)})}),this)),this.setup(),this.initialize()}o.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},o.Width={Default:"default",Inner:"inner",Outer:"outer"},o.Type={Event:"event",State:"state"},o.Plugins={},o.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,o={width:"auto","margin-left":i?e:"","margin-right":i?"":e};!n&&this.$stage.children().css(o),t.css=o}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,o=!this.settings.autoWidth,r=[];for(t.items={merge:!1,width:e};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,t.items.merge=n>1||t.items.merge,r[i]=o?e*n:this._items[i].width();this._widths=r}},{filter:["items","settings"],run:function(){var e=[],n=this._items,i=this.settings,o=Math.max(2*i.items,4),r=2*Math.ceil(n.length/2),s=i.loop&&n.length?i.rewind?o:Math.max(o,r):0,a="",l="";for(s/=2;s>0;)e.push(this.normalize(e.length/2,!0)),a+=n[e[e.length-1]][0].outerHTML,e.push(this.normalize(n.length-1-(e.length-1)/2,!0)),l=n[e[e.length-1]][0].outerHTML+l,s-=1;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,n=-1,i=0,o=0,r=[];++n",a)||this.op(e,"<",s)&&this.op(e,">",a))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],o.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},o.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map((function(e){return t(e)})),this._mergers=this._items.map((function(){return 1})),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},o.prototype.initialize=function(){var t,e,n;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:i,n=this.$element.children(e).width(),t.length&&n<=0&&this.preloadAutoWidthImages(t)),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},o.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},o.prototype.setup=function(){var e=this.viewport(),n=this.options.responsive,i=-1,o=null;n?(t.each(n,(function(t){t<=e&&t>i&&(i=Number(t))})),"function"==typeof(o=t.extend({},this.options,n[i])).stagePadding&&(o.stagePadding=o.stagePadding()),delete o.responsive,o.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):o=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:o}}),this._breakpoint=i,this.settings=o,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},o.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},o.prototype.prepare=function(e){var n=this.trigger("prepare",{content:e});return n.data||(n.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:n.data}),n.data},o.prototype.update=function(){for(var e=0,n=this._pipe.length,i=t.proxy((function(t){return this[t]}),this._invalidated),o={};e0)&&this._pipe[e].run(o),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},o.prototype.width=function(t){switch(t=t||o.Width.Default){case o.Width.Inner:case o.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},o.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},o.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},o.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},o.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",(function(){return!1}))),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},o.prototype.onDragStart=function(e){var i=null;3!==e.which&&(t.support.transform?i={x:(i=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===i.length?12:4],y:i[16===i.length?13:5]}:(i=this.$stage.position(),i={x:this.settings.rtl?i.left+this.$stage.width()-this.width()+this.settings.margin:i.left,y:i.top}),this.is("animating")&&(t.support.transform?this.animate(i.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=i,this._drag.stage.current=i,this._drag.pointer=this.pointer(e),t(n).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(n).one("mousemove.owl.core touchmove.owl.core",t.proxy((function(e){var i=this.difference(this._drag.pointer,this.pointer(e));t(n).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(i.x)0^this.settings.rtl?"left":"right";t(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==i.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(o.x,0!==i.x?r:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=r,(Math.abs(i.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},o.prototype.closest=function(e,n){var o=-1,r=this.width(),s=this.coordinates();return this.settings.freeDrag||t.each(s,t.proxy((function(t,a){return"left"===n&&e>a-30&&ea-r-30&&e",s[t+1]!==i?s[t+1]:a-r)&&(o="left"===n?t+1:t),-1===o}),this)),this.settings.loop||(this.op(e,">",s[this.minimum()])?o=e=this.minimum():this.op(e,"<",s[this.maximum()])&&(o=e=this.maximum())),o},o.prototype.animate=function(e){var n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):n?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},o.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},o.prototype.current=function(t){if(t===i)return this._current;if(0===this._items.length)return i;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==i&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},o.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,(function(t,e){return e}))},o.prototype.reset=function(t){(t=this.normalize(t))!==i&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},o.prototype.normalize=function(t,e){var n=this._items.length,o=e?0:this._clones.length;return!this.isNumeric(t)||n<1?t=i:(t<0||t>=n+o)&&(t=((t-o/2)%n+n)%n+o/2),t},o.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},o.prototype.maximum=function(t){var e,n,i,o=this.settings,r=this._coordinates.length;if(o.loop)r=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){if(e=this._items.length)for(n=this._items[--e].width(),i=this.$element.width();e--&&!((n+=this._items[e].width()+this.settings.margin)>i););r=e+1}else r=o.center?this._items.length-1:this._items.length-o.items;return t&&(r-=this._clones.length/2),Math.max(r,0)},o.prototype.minimum=function(t){return t?0:this._clones.length/2},o.prototype.items=function(t){return t===i?this._items.slice():(t=this.normalize(t,!0),this._items[t])},o.prototype.mergers=function(t){return t===i?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},o.prototype.clones=function(e){var n=this._clones.length/2,o=n+this._items.length,r=function(t){return t%2==0?o+t/2:n-(t+1)/2};return e===i?t.map(this._clones,(function(t,e){return r(e)})):t.map(this._clones,(function(t,n){return t===e?r(n):null}))},o.prototype.speed=function(t){return t!==i&&(this._speed=t),this._speed},o.prototype.coordinates=function(e){var n,o=1,r=e-1;return e===i?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(this.settings.rtl&&(o=-1,r=e+1),n=this._coordinates[e],n+=(this.width()-n+(this._coordinates[r]||0))/2*o):n=this._coordinates[r]||0,n=Math.ceil(n))},o.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},o.prototype.to=function(t,e){var n=this.current(),i=null,o=t-this.relative(n),r=(o>0)-(o<0),s=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>s/2&&(o+=-1*r*s),(i=(((t=n+o)-a)%s+s)%s+a)!==t&&i-o<=l&&i-o>0&&(n=i-o,t=i,this.reset(n))):t=this.settings.rewind?(t%(l+=1)+l)%l:Math.max(a,Math.min(l,t)),this.speed(this.duration(n,t,e)),this.current(t),this.isVisible()&&this.update()},o.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},o.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},o.prototype.onTransitionEnd=function(t){if(t!==i&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},o.prototype.viewport=function(){var i;return this.options.responsiveBaseElement!==e?i=t(this.options.responsiveBaseElement).width():e.innerWidth?i=e.innerWidth:n.documentElement&&n.documentElement.clientWidth&&(i=n.documentElement.clientWidth),i},o.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)}),this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},o.prototype.add=function(e,n){var o=this.relative(this._current);n=n===i?this._items.length:this.normalize(n,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:n}),e=this.prepare(e),0===this._items.length||n===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[n-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[n].before(e),this._items.splice(n,0,e),this._mergers.splice(n,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[o]&&this.reset(this._items[o].index()),this.invalidate("items"),this.trigger("added",{content:e,position:n})},o.prototype.remove=function(t){(t=this.normalize(t,!0))!==i&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},o.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy((function(e,n){this.enter("pre-loading"),n=t(n),t(new Image).one("load",t.proxy((function(t){n.attr("src",t.target.src),n.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()}),this)).attr("src",n.attr("src")||n.attr("data-src")||n.attr("data-src-retina"))}),this))},o.prototype.destroy=function(){for(var i in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(n).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[i].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},o.prototype.op=function(t,e,n){var i=this.settings.rtl;switch(e){case"<":return i?t>n:t":return i?tn;case">=":return i?t<=n:t>=n;case"<=":return i?t>=n:t<=n}},o.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},o.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},o.prototype.trigger=function(e,n,i,r,s){var a={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,i],(function(t){return t})).join("-").toLowerCase()),c=t.Event([e,"owl",i||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,n));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(c)})),this.register({type:o.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},o.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===i&&(this._states.current[e]=0),this._states.current[e]++}),this))},o.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},o.prototype.register=function(e){if(e.type===o.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var n=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!n||!n.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:n.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===o.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy((function(n,i){return t.inArray(n,this._states.tags[e.name])===i}),this)))},o.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},o.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},o.prototype.pointer=function(t){var n={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(n.x=t.pageX,n.y=t.pageY):(n.x=t.clientX,n.y=t.clientY),n},o.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},o.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each((function(){var i=t(this),r=i.data("owl.carousel");r||(r=new o(this,"object"==typeof e&&e),i.data("owl.carousel",r),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(e,n){r.register({type:o.Type.Event,name:n}),r.$element.on(n+".owl.carousel.core",t.proxy((function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([n]),r[n].apply(this,[].slice.call(arguments,1)),this.release([n]))}),r))}))),"string"==typeof e&&"_"!==e.charAt(0)&&r[e].apply(r,n)}))},t.fn.owlCarousel.Constructor=o}(window.Zepto||window.jQuery,window,document),function(t,e){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,n;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(t,e){var n=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var n=this._core.settings,i=n.center&&Math.ceil(n.items/2)||n.items,o=n.center&&-1*i||0,r=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+o,s=this._core.clones().length,a=t.proxy((function(t,e){this.load(e)}),this);for(n.lazyLoadEager>0&&(i+=n.lazyLoadEager,n.loop&&(r-=n.lazyLoadEager,i++));o++-1||(o.each(t.proxy((function(n,i){var o,r=t(i),s=e.devicePixelRatio>1&&r.attr("data-src-retina")||r.attr("data-src")||r.attr("data-srcset");this._core.trigger("load",{element:r,url:s},"lazy"),r.is("img")?r.one("load.owl.lazy",t.proxy((function(){r.css("opacity",1),this._core.trigger("loaded",{element:r,url:s},"lazy")}),this)).attr("src",s):r.is("source")?r.one("load.owl.lazy",t.proxy((function(){this._core.trigger("loaded",{element:r,url:s},"lazy")}),this)).attr("srcset",s):((o=new Image).onload=t.proxy((function(){r.css({"background-image":'url("'+s+'")',opacity:"1"}),this._core.trigger("loaded",{element:r,url:s},"lazy")}),this),o.src=s)}),this)),this._loaded.push(i.get(0)))},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(t,e){var n=function(i){this._core=i,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()}),this),"loaded.owl.lazy":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var o=this;t(e).on("load",(function(){o._core.settings.autoHeight&&o.update()})),t(e).resize((function(){o._core.settings.autoHeight&&(null!=o._intervalId&&clearTimeout(o._intervalId),o._intervalId=setTimeout((function(){o.update()}),250))}))};n.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},n.prototype.update=function(){var e=this._core._current,n=e+this._core.settings.items,i=this._core.settings.lazyLoad,o=this._core.$stage.children().toArray().slice(e,n),r=[],s=0;t.each(o,(function(e,n){r.push(t(n).height())})),(s=Math.max.apply(null,r))<=1&&i&&this._previousHeight&&(s=this._previousHeight),this._previousHeight=s,this._core.$stage.parent().height(s).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.jQuery,window,document),function(t,e,n){var i=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var n=t(e.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,t(e.content)))}}),this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(t,e){var n=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",i=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),o=t.attr("data-width")||this._core.settings.videoWidth,r=t.attr("data-height")||this._core.settings.videoHeight,s=t.attr("href");if(!s)throw new Error("Missing video URL.");if((i=s.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)n="youtube";else if(i[3].indexOf("vimeo")>-1)n="vimeo";else{if(!(i[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[s]={type:n,id:i,width:o,height:r},e.attr("data-video",s),this.thumbnail(t,this._videos[s])},i.prototype.thumbnail=function(e,n){var i,o,r=n.width&&n.height?"width:"+n.width+"px;height:"+n.height+"px;":"",s=e.find("img"),a="src",l="",c=this._core.settings,u=function(n){i=c.lazyLoad?t("
",{class:"owl-video-tn "+l,srcType:n}):t("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+n+")"}),e.after(i),e.after('
')};if(e.wrap(t("
",{class:"owl-video-wrapper",style:r})),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),s.length)return u(s.attr(a)),s.remove(),!1;"youtube"===n.type?(o="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",u(o)):"vimeo"===n.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,u(o)}}):"vzaar"===n.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,u(o)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(e){var n,i=t(e.target).closest("."+this._core.settings.itemClass),o=this._videos[i.attr("data-video")],r=o.width||"100%",s=o.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),(n=t('')).attr("height",s),n.attr("width",r),"youtube"===o.type?n.attr("src","//www.youtube.com/embed/"+o.id+"?autoplay=1&rel=0&v="+o.id):"vimeo"===o.type?n.attr("src","//player.vimeo.com/video/"+o.id+"?autoplay=1"):"vzaar"===o.type&&n.attr("src","//view.vzaar.com/"+o.id+"/player?autoplay=true"),t(n).wrap('
').insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var e=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){var o=function(e){this.core=e,this.core.options=t.extend({},o.Defaults,this.core.options),this.swapping=!0,this.previous=i,this.next=i,this.handlers={"change.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};o.Defaults={animateOut:!1,animateIn:!1},o.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,n=t.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),o=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(t.support.animation.end,n).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s)),r&&o.one(t.support.animation.end,n).addClass("animated owl-animated-in").addClass(r))}},o.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},o.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=o}(window.Zepto||window.jQuery,window,document),function(t,e,n){var i=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy((function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,n){t.namespace&&this.play(e,n)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(i){this._call=e.setTimeout(t.proxy(this._next,this,i),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||n.hidden||this._core.next(i||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(n,i){var o;this._core.is("rotating")||this._core.enter("rotating"),n=n||this._core.settings.autoplayTimeout,o=Math.min(this._time%(this._timeout||n),n),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%n-o,this._timeout=n,this._call=e.setTimeout(t.proxy(this._next,this,i),n-o)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},i.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(t){"use strict";var e=function(n){this._core=n,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('
'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=t.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var e,n=this._core.settings;for(e in this._controls.$relative=(n.navContainer?t(n.navContainer):t("
").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(t){this.prev(n.navSpeed)}),this)),this._controls.$next=t("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(t){this.next(n.navSpeed)}),this)),n.dotsData||(this._templates=[t('\n
    \n
    \n \n

    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n').replace(/(^|\n)\s*/g,""),at=()=>{rt.currentInstance.resetValidationMessage()},lt=(t,e)=>{if(t instanceof HTMLElement)e.appendChild(t);else if("object"==typeof t){var n=t,i=e;n.jquery?ct(i,n):z(i,n.toString())}else t&&z(e,t)},ct=(t,e)=>{if(t.textContent="",0 in e)for(let n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},ut=(()=>{if(ot())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1})();function dt(e,n,i){tt(e,i["show".concat(t(n),"Button")],"inline-block"),z(e,i["".concat(n,"ButtonText")]),e.setAttribute("aria-label",i["".concat(n,"ButtonAriaLabel")]),e.className=g[n],q(e,i,"".concat(n,"Button")),K(e,i["".concat(n,"ButtonClass")])}var ht={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const pt=["input","file","range","select","radio","checkbox","textarea"],ft=(t,e)=>{t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)},mt=(t,e,n)=>{if(n.inputLabel){t.id=g.input;const o=document.createElement("label");var i=g["input-label"];o.setAttribute("for",t.id),o.className=i,K(o,n.customClass.inputLabel),o.innerText=n.inputLabel,e.insertAdjacentElement("beforebegin",o)}},gt=t=>(t=g[t]||g.input,Q(x(),t)),vt={},yt=(vt.text=vt.email=vt.password=vt.number=vt.tel=vt.url=(t,e)=>("string"==typeof e.inputValue||"number"==typeof e.inputValue?t.value=e.inputValue:a(e.inputValue)||'Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof e.inputValue,'"'),mt(t,t,e),ft(t,e),t.type=e.input,t),vt.file=(t,e)=>(mt(t,t,e),ft(t,e),t),vt.range=(t,e)=>{const n=t.querySelector("input"),i=t.querySelector("output");return n.value=e.inputValue,n.type=e.input,i.value=e.inputValue,mt(n,t,e),t},vt.select=(t,e)=>{if(t.textContent="",e.inputPlaceholder){const n=document.createElement("option");z(n,e.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,t.appendChild(n)}return mt(t,t,e),t},vt.radio=t=>(t.textContent="",t),vt.checkbox=(t,e)=>{const n=W(x(),"checkbox");n.value="1",n.id=g.checkbox,n.checked=Boolean(e.inputValue);var i=t.querySelector("span");return z(i,e.inputPlaceholder),t},vt.textarea=(t,e)=>(t.value=e.inputValue,ft(t,e),mt(t,t,e),setTimeout((()=>{if("MutationObserver"in window){const e=parseInt(window.getComputedStyle(x()).width);new MutationObserver((()=>{var n=t.offsetWidth+(n=t,parseInt(window.getComputedStyle(n).marginLeft)+parseInt(window.getComputedStyle(n).marginRight));x().style.width=n>e?"".concat(n,"px"):null})).observe(t,{attributes:!0,attributeFilter:["style"]})}})),t),(t,e)=>{const n=E();q(n,e,"htmlContainer"),e.html?(lt(e.html,n),Z(n,"block")):e.text?(n.textContent=e.text,Z(n,"block")):G(n),((t,e)=>{const n=x();var i;const o=!(t=ht.innerParams.get(t))||e.input!==t.input;pt.forEach((t=>{var i=g[t];const r=Q(n,i);{var s=e.inputAttributes;const n=W(x(),t);if(n){(t=>{for(let n=0;n{if(!vt[t.input])return void'Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"');const e=gt(t.input),n=vt[t.input](e,t);Z(n),setTimeout((()=>{V(n)}))})(e),i=gt((t=e).input),t.customClass&&K(i,t.customClass.input))})(t,e)}),bt=(t,e)=>{for(const n in v)e.icon!==n&&X(t,v[n]);K(t,v[e.icon]),_t(t,e),wt(),q(t,e,"icon")},wt=()=>{const t=x();var e=window.getComputedStyle(t).getPropertyValue("background-color");const n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let t=0;t{t.textContent="",e.iconHtml?z(t,Ct(e.iconHtml)):"success"===e.icon?z(t,'\n
    \n \n
    \n
    \n'):"error"===e.icon?z(t,'\n \n \n \n \n'):z(t,Ct({question:"?",warning:"!",info:"i"}[e.icon]))},_t=(t,e)=>{if(e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])J(t,n,"backgroundColor",e.iconColor);J(t,".swal2-success-ring","borderColor",e.iconColor)}},Ct=t=>'
    ').concat(t,"
    "),Et=(t,e)=>{((t,e)=>{var n=y();const i=x();e.toast?(Y(n,"width",e.width),i.style.width="100%",i.insertBefore(F(),_())):Y(i,"width",e.width),Y(i,"padding",e.padding),e.color&&(i.style.color=e.color),e.background&&(i.style.background=e.background),G(k()),(n=i).className="".concat(g.popup," ").concat(et(n)?e.showClass.popup:""),e.toast?(K([document.documentElement,document.body],g["toast-shown"]),K(n,g.toast)):K(n,g.modal),q(n,e,"popup"),"string"==typeof e.customClass&&K(n,e.customClass),e.icon&&K(n,g["icon-".concat(e.icon)])})(0,e),((t,e)=>{var n,i,o=y();o&&(i=o,"string"==typeof(n=e.backdrop)?i.style.background=n:n||K([document.documentElement,document.body],g["no-backdrop"]),i=o,(n=e.position)in g?K(i,g[n]):K(i,g.center),n=o,(i=e.grow)&&"string"==typeof i&&(i="grow-".concat(i))in g&&K(n,g[i]),q(o,e,"container"))})(0,e),((t,e)=>{const n=S();if(!e.progressSteps||0===e.progressSteps.length)return G(n);Z(n),n.textContent="",e.currentProgressStep,e.progressSteps.length,e.progressSteps.forEach(((t,i)=>{var o;o=document.createElement("li"),K(o,g["progress-step"]),z(o,t),t=o,n.appendChild(t),i===e.currentProgressStep&&K(t,g["active-progress-step"]),i!==e.progressSteps.length-1&&(o=(t=>{const e=document.createElement("li");return K(e,g["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e})(e),n.appendChild(o))}))})(0,e),((t,e)=>{t=ht.innerParams.get(t);var n=_();t&&e.icon===t.icon?(xt(n,e),bt(n,e)):e.icon||e.iconHtml?e.icon&&-1===Object.keys(v).indexOf(e.icon)?('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"'),G(n)):(Z(n),xt(n,e),bt(n,e),K(n,e.showClass.icon)):G(n)})(t,e),((t,e)=>{const n=T();if(!e.imageUrl)return G(n);Z(n,""),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),Y(n,"width",e.imageWidth),Y(n,"height",e.imageHeight),n.className=g.image,q(n,e,"image")})(0,e),((t,e)=>{const n=C();tt(n,e.title||e.titleText,"block"),e.title&<(e.title,n),e.titleText&&(n.innerText=e.titleText),q(n,e,"title")})(0,e),((t,e)=>{const n=N();z(n,e.closeButtonHtml),q(n,e,"closeButton"),tt(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)})(0,e),yt(t,e),((t,e)=>{var n,i,o,r,s,a=L(),l=F();(e.showConfirmButton||e.showDenyButton||e.showCancelButton?Z:G)(a),q(a,e,"actions"),n=l,i=e,o=A(),r=D(),s=$(),dt(o,"confirm",i),dt(r,"deny",i),dt(s,"cancel",i),function(t,e,n,i){if(!i.buttonsStyling)return X([t,e,n],g.styled);K([t,e,n],g.styled),i.confirmButtonColor&&(t.style.backgroundColor=i.confirmButtonColor,K(t,g["default-outline"])),i.denyButtonColor&&(e.style.backgroundColor=i.denyButtonColor,K(e,g["default-outline"])),i.cancelButtonColor&&(n.style.backgroundColor=i.cancelButtonColor,K(n,g["default-outline"]))}(o,r,s,i),i.reverseButtons&&(i.toast?(a.insertBefore(s,o),a.insertBefore(r,o)):(a.insertBefore(s,n),a.insertBefore(r,n),a.insertBefore(o,n))),z(l,e.loaderHtml),q(l,e,"loader")})(0,e),((t,e)=>{var n=P();tt(n,e.footer),e.footer&<(e.footer,n),q(n,e,"footer")})(0,e),"function"==typeof e.didRender&&e.didRender(x())},Tt=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),St=()=>{e(document.body.children).forEach((t=>{t===y()||t.contains(y())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}))},kt=()=>{e(document.body.children).forEach((t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))},At=["swal-title","swal-html","swal-footer"],Dt=(t,n)=>{e(t.attributes).forEach((e=>{-1===n.indexOf(e.name)&&('Unrecognized attribute "'.concat(e.name,'" on <').concat(t.tagName.toLowerCase(),">."),"".concat(n.length?"Allowed attributes are: ".concat(n.join(", ")):"To set the value, use HTML within the element."))}))};var Ft={email:(t,e)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address"),url:(t,e)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")};class $t{constructor(t,e){this.callback=t,this.remaining=e,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(t){var e=this.running;return e&&this.stop(),this.remaining+=t,e&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Lt=t=>{const e=x();if(t.target===e){const t=y();e.removeEventListener(ut,Lt),t.style.overflowY="auto"}},Pt=(t,e,n)=>{(()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&1{e=(t=>{var e,n=t.target,i=y();return!((e=t).touches&&e.touches.length&&"stylus"===e.touches[0].touchType||(e=t).touches&&1{e&&(t.preventDefault(),t.stopPropagation())}}{const t=navigator.userAgent,e=!!t.match(/iPad/i)||!!t.match(/iPhone/i),n=!!t.match(/WebKit/i);e&&n&&!t.match(/CriOS/i)&&x().scrollHeight>window.innerHeight-44&&(y().style.paddingBottom="".concat(44,"px"))}}})(),e&&"hidden"!==n&&null===B.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(B.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(B.previousBodyPadding+(()=>{const t=document.createElement("div");t.className=g["scrollbar-measure"],document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e})(),"px")),setTimeout((()=>{t.scrollTop=0}))},It=t=>{let e=x();e||new Ee,e=x();var n=F();if(M())G(_());else{var i=e;const n=L(),o=F();!t&&et(A())&&(t=A()),Z(n),t&&(G(t),o.setAttribute("data-button-to-replace",t.className)),o.parentNode.insertBefore(o,t),K([i,n],g.loading)}Z(n),e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},Nt=(t,e)=>{const n=x(),i=t=>jt[e.input](n,Mt(t),e);r(e.inputOptions)||a(e.inputOptions)?(It(A()),s(e.inputOptions).then((e=>{t.hideLoading(),i(e)}))):"object"==typeof e.inputOptions?i(e.inputOptions):"Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof e.inputOptions)},Ot=(t,e)=>{const n=t.getInput();G(n),s(e.inputValue).then((i=>{n.value="number"===e.input?parseFloat(i)||0:"".concat(i),Z(n),n.focus(),t.hideLoading()})).catch((e=>{"Error in inputValue promise: ".concat(e),n.value="",Z(n),n.focus(),t.hideLoading()}))},jt={select:(t,e,n)=>{const i=Q(t,g.select),o=(t,e,i)=>{const o=document.createElement("option");o.value=i,z(o,e),o.selected=Ht(i,n.inputValue),t.appendChild(o)};e.forEach((t=>{var e=t[0];const n=t[1];if(Array.isArray(n)){const t=document.createElement("optgroup");t.label=e,t.disabled=!1,i.appendChild(t),n.forEach((e=>o(t,e[1],e[0])))}else o(i,n,e)})),i.focus()},radio:(t,e,n)=>{const i=Q(t,g.radio),o=(e.forEach((t=>{var e=t[0];t=t[1];const o=document.createElement("input"),r=document.createElement("label"),s=(o.type="radio",o.name=g.radio,o.value=e,Ht(e,n.inputValue)&&(o.checked=!0),document.createElement("span"));z(s,t),s.className=g.label,r.appendChild(o),r.appendChild(s),i.appendChild(r)})),i.querySelectorAll("input"));o.length&&o[0].focus()}},Mt=t=>{const e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach(((t,n)=>{let i=t;"object"==typeof i&&(i=Mt(i)),e.push([n,i])})):Object.keys(t).forEach((n=>{let i=t[n];"object"==typeof i&&(i=Mt(i)),e.push([n,i])})),e},Ht=(t,e)=>e&&e.toString()===t.toString();function Bt(){var t,e=ht.innerParams.get(this);if(e){const n=ht.domCache.get(this);G(n.loader),M()?e.icon&&Z(_()):(t=(e=n).popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"))).length?Z(t[0],"inline-block"):!et(A())&&!et(D())&&!et($())&&G(e.actions),X([n.popup,n.actions],g.loading),n.popup.removeAttribute("aria-busy"),n.popup.removeAttribute("data-loading"),n.confirmButton.disabled=!1,n.denyButton.disabled=!1,n.cancelButton.disabled=!1}}var zt={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Rt=()=>A()&&A().click(),qt=t=>{t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1)},Wt=(t,e,n)=>{const i=O();if(i.length)return(e+=n)===i.length?e=0:-1===e&&(e=i.length-1),i[e].focus();x().focus()},Vt=["ArrowRight","ArrowDown"],Ut=["ArrowLeft","ArrowUp"];function Kt(t,e,n,i){M()?Zt(t,i):((t=>new Promise((e=>{if(!t)return e();var n=window.scrollX,i=window.scrollY;rt.restoreFocusTimeout=setTimeout((()=>{rt.previousActiveElement&&rt.previousActiveElement.focus?(rt.previousActiveElement.focus(),rt.previousActiveElement=null):document.body&&document.body.focus(),e()}),100),window.scrollTo(n,i)})))(n).then((()=>Zt(t,i))),qt(rt)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(e.setAttribute("style","display:none !important"),e.removeAttribute("class"),e.innerHTML=""):e.remove(),j()&&(null!==B.previousBodyPadding&&(document.body.style.paddingRight="".concat(B.previousBodyPadding,"px"),B.previousBodyPadding=null),(()=>{var t;R(document.body,g.iosfix)&&(t=parseInt(document.body.style.top,10),X(document.body,g.iosfix),document.body.style.top="",document.body.scrollTop=-1*t)})(),kt()),X([document.documentElement,document.body],[g.shown,g["height-auto"],g["no-backdrop"],g["toast-shown"]])}function Xt(t){t=void 0!==(n=t)?Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},n):{isConfirmed:!1,isDenied:!1,isDismissed:!0};const e=zt.swalPromiseResolve.get(this);var n=(t=>{const e=x();if(!e)return!1;const n=ht.innerParams.get(t);if(!n||R(e,n.hideClass.popup))return!1;X(e,n.showClass.popup),K(e,n.hideClass.popup);const i=y();return X(i,n.showClass.backdrop),K(i,n.hideClass.backdrop),Yt(t,e,n),!0})(this);this.isAwaitingPromise()?t.isDismissed||(Qt(this),e(t)):n&&e(t)}const Qt=t=>{t.isAwaitingPromise()&&(ht.awaitingPromise.delete(t),ht.innerParams.get(t)||t._destroy())},Yt=(t,e,n)=>{var i,o,r,s=y(),a=ut&&it(e);"function"==typeof n.willClose&&n.willClose(e),a?(a=t,i=e,e=s,o=n.returnFocus,r=n.didClose,rt.swalCloseEventFinishedCallback=Kt.bind(null,a,e,o,r),i.addEventListener(ut,(function(t){t.target===i&&(rt.swalCloseEventFinishedCallback(),delete rt.swalCloseEventFinishedCallback)}))):Kt(t,s,n.returnFocus,n.didClose)},Zt=(t,e)=>{setTimeout((()=>{"function"==typeof e&&e.bind(t.params)(),t._destroy()}))};function Gt(t,e,n){const i=ht.domCache.get(t);e.forEach((t=>{i[t].disabled=n}))}function Jt(t,e){if(!t)return!1;if("radio"===t.type){const n=t.parentNode.parentNode.querySelectorAll("input");for(let t=0;t{t.isAwaitingPromise()?(ee(ht,t),ht.awaitingPromise.set(t,!0)):(ee(zt,t),ee(ht,t))},ee=(t,e)=>{for(const n in t)t[n].delete(e)};m=Object.freeze({hideLoading:Bt,disableLoading:Bt,getInput:function(t){var e=ht.innerParams.get(t||this);return(t=ht.domCache.get(t||this))?W(t.popup,e.input):null},close:Xt,isAwaitingPromise:function(){return!!ht.awaitingPromise.get(this)},rejectPromise:function(t){const e=zt.swalPromiseReject.get(this);Qt(this),e&&e(t)},handleAwaitingPromise:Qt,closePopup:Xt,closeModal:Xt,closeToast:Xt,enableButtons:function(){Gt(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){Gt(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return Jt(this.getInput(),!1)},disableInput:function(){return Jt(this.getInput(),!0)},showValidationMessage:function(t){const e=ht.domCache.get(this);var n=ht.innerParams.get(this);z(e.validationMessage,t),e.validationMessage.className=g["validation-message"],n.customClass&&n.customClass.validationMessage&&K(e.validationMessage,n.customClass.validationMessage),Z(e.validationMessage);const i=this.getInput();i&&(i.setAttribute("aria-invalid",!0),i.setAttribute("aria-describedby",g["validation-message"]),V(i),K(i,g.inputerror))},resetValidationMessage:function(){var t=ht.domCache.get(this);t.validationMessage&&G(t.validationMessage);const e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedby"),X(e,g.inputerror))},getProgressSteps:function(){return ht.domCache.get(this).progressSteps},update:function(t){var e=x(),n=ht.innerParams.get(this);e&&!R(e,n.hideClass.popup)&&(e=(t=>{const e={};return Object.keys(t).forEach((n=>{p(n)?e[n]=t[n]:'Invalid parameter to update: "'.concat(n,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md')})),e})(t),n=Object.assign({},n,e),Et(this,n),ht.innerParams.set(this,n),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}}))},_destroy:function(){var t=ht.domCache.get(this);const e=ht.innerParams.get(this);e?(t.popup&&rt.swalCloseEventFinishedCallback&&(rt.swalCloseEventFinishedCallback(),delete rt.swalCloseEventFinishedCallback),rt.deferDisposalTimer&&(clearTimeout(rt.deferDisposalTimer),delete rt.deferDisposalTimer),"function"==typeof e.didDestroy&&e.didDestroy(),te(t=this),delete t.params,delete rt.keydownHandler,delete rt.keydownTarget,delete rt.currentInstance):te(this)}});const ne=(e,n)=>{var i=ht.innerParams.get(e);if(i.input){var o=((t,e)=>{const n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return n.checked?1:0;case"radio":return(i=n).checked?i.value:null;case"file":return(i=n).files.length?null!==i.getAttribute("multiple")?i.files:i.files[0]:null;default:return e.inputAutoTrim?n.value.trim():n.value}var i})(e,i);if(i.inputValidator){var r=e,a=o,l=n;const t=ht.innerParams.get(r);(r.disableInput(),Promise.resolve().then((()=>s(t.inputValidator(a,t.validationMessage))))).then((t=>{r.enableButtons(),r.enableInput(),t?r.showValidationMessage(t):("deny"===l?ie:se)(r,a)}))}else e.getInput().checkValidity()?("deny"===n?ie:se)(e,o):(e.enableButtons(),e.showValidationMessage(i.validationMessage))}else'The "input" parameter is needed to be set when using returnInputValueOn'.concat(t(n))},ie=(t,e)=>{const n=ht.innerParams.get(t||void 0);n.showLoaderOnDeny&&It(D()),n.preDeny?(ht.awaitingPromise.set(t||void 0,!0),Promise.resolve().then((()=>s(n.preDeny(e,n.validationMessage)))).then((n=>{!1===n?(t.hideLoading(),Qt(t)):t.closePopup({isDenied:!0,value:void 0===n?e:n})})).catch((e=>re(t||void 0,e)))):t.closePopup({isDenied:!0,value:e})},oe=(t,e)=>{t.closePopup({isConfirmed:!0,value:e})},re=(t,e)=>{t.rejectPromise(e)},se=(t,e)=>{const n=ht.innerParams.get(t||void 0);n.showLoaderOnConfirm&&It(),n.preConfirm?(t.resetValidationMessage(),ht.awaitingPromise.set(t||void 0,!0),Promise.resolve().then((()=>s(n.preConfirm(e,n.validationMessage)))).then((n=>{et(k())||!1===n?(t.hideLoading(),Qt(t)):oe(t,void 0===n?e:n)})).catch((e=>re(t||void 0,e)))):oe(t,e)};let ae=!1;const le=t=>t instanceof Element||(t=>"object"==typeof t&&t.jquery)(t),ce=()=>{if(rt.timeout){{const e=I();var t=(t=parseInt(window.getComputedStyle(e).width))/(e.style.removeProperty("transition"),e.style.width="100%",parseInt(window.getComputedStyle(e).width))*100;e.style.removeProperty("transition"),e.style.width="".concat(t,"%")}return rt.timeout.stop()}},ue=()=>{var t;if(rt.timeout)return H(t=rt.timeout.start()),t};let de=!1;const he={},pe=t=>{for(let n=t.target;n&&n!==document;n=n.parentNode)for(const t in he){var e=n.getAttribute(t);if(e)return void he[t].fire({template:e})}};var fe=Object.freeze({isValidParameter:h,isUpdatableParameter:p,isDeprecatedParameter:f,argsToParams:t=>{const e={};return"object"!=typeof t[0]||le(t[0])?["title","html","icon"].forEach(((n,i)=>{"string"==typeof(i=t[i])||le(i)?e[n]=i:void 0!==i&&"Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(typeof i)})):Object.assign(e,t[0]),e},isVisible:()=>et(x()),clickConfirm:Rt,clickDeny:()=>D()&&D().click(),clickCancel:()=>$()&&$().click(),getContainer:y,getPopup:x,getTitle:C,getHtmlContainer:E,getImage:T,getIcon:_,getInputLabel:()=>w(g["input-label"]),getCloseButton:N,getActions:L,getConfirmButton:A,getDenyButton:D,getCancelButton:$,getLoader:F,getFooter:P,getTimerProgressBar:I,getFocusableElements:O,getValidationMessage:k,isLoading:()=>x().hasAttribute("data-loading"),fire:function(){for(var t=arguments.length,e=new Array(t),n=0;nrt.timeout&&rt.timeout.getTimerLeft(),stopTimer:ce,resumeTimer:ue,toggleTimer:()=>{var t=rt.timeout;return t&&(t.running?ce:ue)()},increaseTimer:t=>{if(rt.timeout)return H(t=rt.timeout.increase(t),!0),t},isTimerRunning:()=>rt.timeout&&rt.timeout.isRunning(),bindClickHandler:function(){he[0{!t.backdrop&&t.allowOutsideClick;for(const n in t)h(e=n)||'Unknown parameter "'.concat(e,'"'),t.toast&&(e=n,d.includes(e)&&'The parameter "'.concat(e,'" is incompatible with toasts')),f(e=n)&&i(e,f(e));var e})(Object.assign({},e,t)),rt.currentInstance&&(rt.currentInstance._destroy(),j()&&kt()),rt.currentInstance=this,function(t){(e=t).inputValidator||Object.keys(Ft).forEach((t=>{e.input===t&&(e.inputValidator=Ft[t])})),t.showLoaderOnConfirm&&t.preConfirm,(n=t).target&&("string"!=typeof n.target||document.querySelector(n.target))&&("string"==typeof n.target||n.target.appendChild)||(n.target="body"),"string"==typeof t.title&&(t.title=t.title.split("\n").join("
    "));var e,n=t;if(t=(()=>{const t=y();return!!t&&(t.remove(),X([document.documentElement,document.body],[g["no-backdrop"],g["toast-shown"],g["has-column"]]),!0)})(),ot());else{const e=document.createElement("div"),i=(e.className=g.container,t&&K(e,g["no-transition"]),z(e,st),(t=>"string"==typeof t?document.querySelector(t):t)(n.target));i.appendChild(e),(t=>{const e=x();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")})(n),(t=>{"rtl"===window.getComputedStyle(t).direction&&K(y(),g.rtl)})(i),(()=>{const t=x(),e=Q(t,g.input),n=Q(t,g.file),i=t.querySelector(".".concat(g.range," input")),o=t.querySelector(".".concat(g.range," output")),r=Q(t,g.select),s=t.querySelector(".".concat(g.checkbox," input")),a=Q(t,g.textarea);e.oninput=at,n.onchange=at,r.onchange=at,s.onchange=at,a.oninput=at,i.oninput=()=>{at(),o.value=i.value},i.onchange=()=>{at(),i.nextSibling.value=i.value}})()}}(t=ye(t,e)),Object.freeze(t),rt.timeout&&(rt.timeout.stop(),delete rt.timeout),clearTimeout(rt.restoreFocusTimeout),e=be(this),Et(this,t),ht.innerParams.set(this,t),ve(this,e,t)}then(t){return ht.promise.get(this).then(t)}finally(t){return ht.promise.get(this).finally(t)}}const ve=(t,e,n)=>new Promise(((i,s)=>{const l=e=>{t.closePopup({isDismissed:!0,dismiss:e})};var c,u,d;zt.swalPromiseResolve.set(t,i),zt.swalPromiseReject.set(t,s),e.confirmButton.onclick=()=>{var e=t,n=ht.innerParams.get(e);e.disableButtons(),n.input?ne(e,"confirm"):se(e,!0)},e.denyButton.onclick=()=>{var e=t,n=ht.innerParams.get(e);e.disableButtons(),n.returnInputValueOnDeny?ne(e,"deny"):ie(e,!1)},e.cancelButton.onclick=()=>{var e=l;t.disableButtons(),e(Tt.cancel)},e.closeButton.onclick=()=>l(Tt.close),i=t,s=e,d=l,ht.innerParams.get(i).toast?((t,e,n)=>{e.popup.onclick=()=>{var e,i=ht.innerParams.get(t);i&&((e=i).showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton||i.timer||i.input)||n(Tt.close)}})(i,s,d):((t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(ae=!0)}}})(s),(t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,e.target!==t.popup&&!t.popup.contains(e.target)||(ae=!0)}}})(s),((t,e,n)=>{e.container.onclick=i=>{var r=ht.innerParams.get(t);ae?ae=!1:i.target===e.container&&o(r.allowOutsideClick)&&n(Tt.backdrop)}})(i,s,d)),c=t,s=n,u=l,qt(i=rt),s.toast||(i.keydownHandler=t=>((t,e,n)=>{var i=ht.innerParams.get(t);if(i&&!e.isComposing&&229!==e.keyCode)if(i.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key)l=e,o((r=i).allowEnterKey)&&l.target&&t.getInput()&&l.target.outerHTML===t.getInput().outerHTML&&(["textarea","file"].includes(r.input)||(Rt(),l.preventDefault()));else if("Tab"===e.key){var r=i,s=(t=e).target,a=O();let n=-1;for(let t=0;t{K(t,n.showClass.backdrop),e.style.setProperty("opacity","0","important"),Z(e,"grid"),setTimeout((()=>{K(e,n.showClass.popup),e.style.removeProperty("opacity")}),10),K([document.documentElement,document.body],g.shown),n.heightAuto&&n.backdrop&&!n.toast&&K([document.documentElement,document.body],g["height-auto"])})(t,e,h),setTimeout((()=>{((t,e)=>{ut&&it(e)?(t.style.overflowY="hidden",e.addEventListener(ut,Lt)):t.style.overflowY="auto"})(t,e)}),10),j()&&(Pt(t,h.scrollbarPadding,i),St()),M()||rt.previousActiveElement||(rt.previousActiveElement=document.activeElement),"function"==typeof h.didOpen&&setTimeout((()=>h.didOpen(e))),X(t,g["no-transition"])}we(rt,n,l),xe(e,n),setTimeout((()=>{e.container.scrollTop=0}))})),ye=(n,i)=>{var o=(n=>(n="string"==typeof n.template?document.querySelector(n.template):n.template)?((t=>{const n=At.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);e(t.children).forEach((t=>{t=t.tagName.toLowerCase(),-1===n.indexOf(t)&&"Unrecognized element <".concat(t,">")}))})(n=n.content),n=Object.assign((t=>{const n={};return e(t.querySelectorAll("swal-param")).forEach((t=>{Dt(t,["name","value"]);var e=t.getAttribute("name");t=t.getAttribute("value"),"boolean"==typeof l[e]&&"false"===t&&(n[e]=!1),"object"==typeof l[e]&&(n[e]=JSON.parse(t))})),n})(n),(n=>{const i={};return e(n.querySelectorAll("swal-button")).forEach((e=>{Dt(e,["type","color","aria-label"]);var n=e.getAttribute("type");i["".concat(n,"ButtonText")]=e.innerHTML,i["show".concat(t(n),"Button")]=!0,e.hasAttribute("color")&&(i["".concat(n,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(i["".concat(n,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),i})(n),(t=>{const e={},n=t.querySelector("swal-image");return n&&(Dt(n,["src","width","height","alt"]),n.hasAttribute("src")&&(e.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(e.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(e.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(e.imageAlt=n.getAttribute("alt"))),e})(n),(t=>{const e={},n=t.querySelector("swal-icon");return n&&(Dt(n,["type","color"]),n.hasAttribute("type")&&(e.icon=n.getAttribute("type")),n.hasAttribute("color")&&(e.iconColor=n.getAttribute("color")),e.iconHtml=n.innerHTML),e})(n),(t=>{const n={},i=t.querySelector("swal-input");return i&&(Dt(i,["type","label","placeholder","value"]),n.input=i.getAttribute("type")||"text",i.hasAttribute("label")&&(n.inputLabel=i.getAttribute("label")),i.hasAttribute("placeholder")&&(n.inputPlaceholder=i.getAttribute("placeholder")),i.hasAttribute("value")&&(n.inputValue=i.getAttribute("value"))),(t=t.querySelectorAll("swal-input-option")).length&&(n.inputOptions={},e(t).forEach((t=>{Dt(t,["value"]);var e=t.getAttribute("value");t=t.innerHTML,n.inputOptions[e]=t}))),n})(n),((t,e)=>{const n={};for(const i in e){const o=e[i],r=t.querySelector(o);r&&(Dt(r,[]),n[o.replace(/^swal-/,"")]=r.innerHTML.trim())}return n})(n,At)),n):{})(n);const r=Object.assign({},l,i,o,n);return r.showClass=Object.assign({},l.showClass,r.showClass),r.hideClass=Object.assign({},l.hideClass,r.hideClass),r},be=t=>{var e={popup:x(),container:y(),actions:L(),confirmButton:A(),denyButton:D(),cancelButton:$(),loader:F(),closeButton:N(),validationMessage:k(),progressSteps:S()};return ht.domCache.set(t,e),e},we=(t,e,n)=>{var i=I();G(i),e.timer&&(t.timeout=new $t((()=>{n("timer"),delete t.timeout}),e.timer),e.timerProgressBar&&(Z(i),q(i,e,"timerProgressBar"),setTimeout((()=>{t.timeout&&t.timeout.running&&H(e.timer)}))))},xe=(t,e)=>{if(!e.toast)return o(e.allowEnterKey)?void(_e(t,e)||Wt(0,-1,1)):Ce()},_e=(t,e)=>e.focusDeny&&et(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&et(t.cancelButton)?(t.cancelButton.focus(),!0):!(!e.focusConfirm||!et(t.confirmButton)||(t.confirmButton.focus(),0)),Ce=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()},Ee=(Object.assign(ge.prototype,m),Object.assign(ge,fe),Object.keys(m).forEach((t=>{ge[t]=function(){if(me)return me[t](...arguments)}})),ge.DismissReason=Tt,ge.version="11.4.8",ge);return Ee.default=Ee})),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),$(document).ready((function(){$(document).on("click","a.popupLink",(function(t){return t.preventDefault(),$.ajax({url:$(this).attr("href"),success:function(t){Swal.fire({html:t})}}),!1}))})),$(document).ready((function(){$(".dropdown-toggle").dropdown(),$(".validateForm").validate(),$("#mobile-main-menu").click((function(){$(".mobileMainMenu").hasClass("hideit")?$(".mobileMainMenu").removeClass("hideit"):($(".navBlock").hasClass("hideit")&&$(".navBlock").removeClass("hideit"),$(".mobileMainMenu").addClass("hideit"))})),$("#mobile-top-menu").click((function(){$(".navBlock").hasClass("hideit")?$(".navBlock").removeClass("hideit"):($(".mobileMainMenu").hasClass("hideit")&&$(".mobileMainMenu").removeClass("hideit"),$(".navBlock").addClass("hideit"))})),$("#mobile-search").click((function(){$("#mobileSearch").hasClass("hideit")?$("#mobileSearch").removeClass("hideit"):$("#mobileSearch").addClass("hideit ")})),$(".navBlock li span.subMenuItem").click((function(){$(this).parent().children("div, div, div, div.menu-level-2").slideToggle("slow")})),$(".navBlock li span.subMenuItem i").click((function(){$(this).hasClass("fa-minus")?($(this).removeClass("fa-minus"),$(this).addClass("fa-plus")):($(this).hasClass("fa-plus")&&$(this).removeClass("fa-plus"),$(this).addClass("fa-minus"))})),$("#mainSlider").owlCarousel({responsive:!0,slideSpeed:0,autoPlay:!0,singleItem:!0,pagination:!1,navigation:!1,transitionStyle:"fade"}),$("#navBlockDark").hover((function(){$("#darkness").fadeTo(200,1)}),(function(){$("#darkness").fadeTo(200,0,(function(){$(this).hide()}))})),$(window).scroll((function(){$(window).scrollTop()>=50?($(".topMenuBlock").addClass("hideTopBar"),$(".logo-menu-block").addClass("scrollLogo"),$(".navBlock").addClass("scrollNavBlock"),$(".mobileMainMenu").addClass("scrollNavBlock"),$(".headerBlock").addClass("rHeaderPadd")):($(".topMenuBlock").removeClass("hideTopBar"),$(".logo-menu-block").removeClass("scrollLogo"),$(".navBlock").removeClass("scrollNavBlock"),$(".mobileMainMenu").removeClass("scrollNavBlock"),$(".headerBlock").removeClass("rHeaderPadd"))}))}));