/*!
 * jQuery Mousewheel 3.1.13
 *
 * © 2015 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.on("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.off("mousewheel",a)}})});

/**
 * Vanilla LazyLoad 19.1.2
 * LazyLoad is a lightweight mand flexible script that speeds up your web application by deferring the loading of your below-the-fold images, videos and iframes to when they will enter the viewport.
 * https://github.com/verlok/vanilla-lazyload
 *
 * Licensed under the MIT license.
 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).LazyLoad=t()}(this,(function(){"use strict";const e="undefined"!=typeof window,t=e&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),a=e&&window.devicePixelRatio>1,n={elements_selector:".lazy",container:t||e?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},s=e=>Object.assign({},n,e),l=function(e,t){let a;const n="LazyLoad::Initialized",s=new e(t);try{a=new CustomEvent(n,{detail:{instance:s}})}catch(e){a=document.createEvent("CustomEvent"),a.initCustomEvent(n,!1,!1,{instance:s})}window.dispatchEvent(a)},o="src",r="srcset",i="sizes",d="poster",c="llOriginalAttrs",_="data",u="loading",g="loaded",b="applied",h="error",m="native",p="data-",f="ll-status",v=(e,t)=>e.getAttribute(p+t),E=e=>v(e,f),I=(e,t)=>((e,t,a)=>{const n=p+t;null!==a?e.setAttribute(n,a):e.removeAttribute(n)})(e,f,t),y=e=>I(e,null),k=e=>null===E(e),A=e=>E(e)===m,L=[u,g,b,h],w=(e,t,a,n)=>{e&&"function"==typeof e&&(void 0===n?void 0===a?e(t):e(t,a):e(t,a,n))},x=(t,a)=>{e&&""!==a&&t.classList.add(a)},C=(t,a)=>{e&&""!==a&&t.classList.remove(a)},O=e=>e.llTempImage,M=(e,t)=>{if(!t)return;const a=t._observer;a&&a.unobserve(e)},z=(e,t)=>{e&&(e.loadingCount+=t)},N=(e,t)=>{e&&(e.toLoadCount=t)},T=e=>{let t=[];for(let a,n=0;a=e.children[n];n+=1)"SOURCE"===a.tagName&&t.push(a);return t},R=(e,t)=>{const a=e.parentNode;a&&"PICTURE"===a.tagName&&T(a).forEach(t)},G=(e,t)=>{T(e).forEach(t)},D=[o],H=[o,d],V=[o,r,i],F=[_],j=e=>!!e[c],B=e=>e[c],J=e=>delete e[c],S=(e,t)=>{if(j(e))return;const a={};t.forEach((t=>{a[t]=e.getAttribute(t)})),e[c]=a},P=(e,t)=>{if(!j(e))return;const a=B(e);t.forEach((t=>{((e,t,a)=>{a?e.setAttribute(t,a):e.removeAttribute(t)})(e,t,a[t])}))},U=(e,t,a)=>{x(e,t.class_applied),I(e,b),a&&(t.unobserve_completed&&M(e,t),w(t.callback_applied,e,a))},$=(e,t,a)=>{x(e,t.class_loading),I(e,u),a&&(z(a,1),w(t.callback_loading,e,a))},q=(e,t,a)=>{a&&e.setAttribute(t,a)},K=(e,t)=>{q(e,i,v(e,t.data_sizes)),q(e,r,v(e,t.data_srcset)),q(e,o,v(e,t.data_src))},Q={IMG:(e,t)=>{R(e,(e=>{S(e,V),K(e,t)})),S(e,V),K(e,t)},IFRAME:(e,t)=>{S(e,D),q(e,o,v(e,t.data_src))},VIDEO:(e,t)=>{G(e,(e=>{S(e,D),q(e,o,v(e,t.data_src))})),S(e,H),q(e,d,v(e,t.data_poster)),q(e,o,v(e,t.data_src)),e.load()},OBJECT:(e,t)=>{S(e,F),q(e,_,v(e,t.data_src))}},W=["IMG","IFRAME","VIDEO","OBJECT"],X=(e,t)=>{!t||(e=>e.loadingCount>0)(t)||(e=>e.toLoadCount>0)(t)||w(e.callback_finish,t)},Y=(e,t,a)=>{e.addEventListener(t,a),e.llEvLisnrs[t]=a},Z=(e,t,a)=>{e.removeEventListener(t,a)},ee=e=>!!e.llEvLisnrs,te=e=>{if(!ee(e))return;const t=e.llEvLisnrs;for(let a in t){const n=t[a];Z(e,a,n)}delete e.llEvLisnrs},ae=(e,t,a)=>{(e=>{delete e.llTempImage})(e),z(a,-1),(e=>{e&&(e.toLoadCount-=1)})(a),C(e,t.class_loading),t.unobserve_completed&&M(e,a)},ne=(e,t,a)=>{const n=O(e)||e;ee(n)||((e,t,a)=>{ee(e)||(e.llEvLisnrs={});const n="VIDEO"===e.tagName?"loadeddata":"load";Y(e,n,t),Y(e,"error",a)})(n,(s=>{((e,t,a,n)=>{const s=A(t);ae(t,a,n),x(t,a.class_loaded),I(t,g),w(a.callback_loaded,t,n),s||X(a,n)})(0,e,t,a),te(n)}),(s=>{((e,t,a,n)=>{const s=A(t);ae(t,a,n),x(t,a.class_error),I(t,h),w(a.callback_error,t,n),a.restore_on_error&&P(t,V),s||X(a,n)})(0,e,t,a),te(n)}))},se=(e,t,n)=>{(e=>W.indexOf(e.tagName)>-1)(e)?((e,t,a)=>{ne(e,t,a),((e,t,a)=>{const n=Q[e.tagName];n&&(n(e,t),$(e,t,a))})(e,t,a)})(e,t,n):((e,t,n)=>{(e=>{e.llTempImage=document.createElement("IMG")})(e),ne(e,t,n),(e=>{j(e)||(e[c]={backgroundImage:e.style.backgroundImage})})(e),((e,t,n)=>{const s=v(e,t.data_bg),l=v(e,t.data_bg_hidpi),r=a&&l?l:s;r&&(e.style.backgroundImage=`url("${r}")`,O(e).setAttribute(o,r),$(e,t,n))})(e,t,n),((e,t,n)=>{const s=v(e,t.data_bg_multi),l=v(e,t.data_bg_multi_hidpi),o=a&&l?l:s;o&&(e.style.backgroundImage=o,U(e,t,n))})(e,t,n),((e,t,a)=>{const n=v(e,t.data_bg_set);if(!n)return;let s=n.split("|").map((e=>`image-set(${e})`));e.style.backgroundImage=s.join(),U(e,t,a)})(e,t,n)})(e,t,n)},le=e=>{e.removeAttribute(o),e.removeAttribute(r),e.removeAttribute(i)},oe=e=>{R(e,(e=>{P(e,V)})),P(e,V)},re={IMG:oe,IFRAME:e=>{P(e,D)},VIDEO:e=>{G(e,(e=>{P(e,D)})),P(e,H),e.load()},OBJECT:e=>{P(e,F)}},ie=(e,t)=>{(e=>{const t=re[e.tagName];t?t(e):(e=>{if(!j(e))return;const t=B(e);e.style.backgroundImage=t.backgroundImage})(e)})(e),((e,t)=>{k(e)||A(e)||(C(e,t.class_entered),C(e,t.class_exited),C(e,t.class_applied),C(e,t.class_loading),C(e,t.class_loaded),C(e,t.class_error))})(e,t),y(e),J(e)},de=["IMG","IFRAME","VIDEO"],ce=e=>e.use_native&&"loading"in HTMLImageElement.prototype,_e=(e,t,a)=>{e.forEach((e=>(e=>e.isIntersecting||e.intersectionRatio>0)(e)?((e,t,a,n)=>{const s=(e=>L.indexOf(E(e))>=0)(e);I(e,"entered"),x(e,a.class_entered),C(e,a.class_exited),((e,t,a)=>{t.unobserve_entered&&M(e,a)})(e,a,n),w(a.callback_enter,e,t,n),s||se(e,a,n)})(e.target,e,t,a):((e,t,a,n)=>{k(e)||(x(e,a.class_exited),((e,t,a,n)=>{a.cancel_on_exit&&(e=>E(e)===u)(e)&&"IMG"===e.tagName&&(te(e),(e=>{R(e,(e=>{le(e)})),le(e)})(e),oe(e),C(e,a.class_loading),z(n,-1),y(e),w(a.callback_cancel,e,t,n))})(e,t,a,n),w(a.callback_exit,e,t,n))})(e.target,e,t,a)))},ue=e=>Array.prototype.slice.call(e),ge=e=>e.container.querySelectorAll(e.elements_selector),be=e=>(e=>E(e)===h)(e),he=(e,t)=>(e=>ue(e).filter(k))(e||ge(t)),me=function(t,a){const n=s(t);this._settings=n,this.loadingCount=0,((e,t)=>{ce(e)||(t._observer=new IntersectionObserver((a=>{_e(a,e,t)}),(e=>({root:e.container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}))(e)))})(n,this),((t,a)=>{e&&(a._onlineHandler=()=>{((e,t)=>{var a;(a=ge(e),ue(a).filter(be)).forEach((t=>{C(t,e.class_error),y(t)})),t.update()})(t,a)},window.addEventListener("online",a._onlineHandler))})(n,this),this.update(a)};return me.prototype={update:function(e){const a=this._settings,n=he(e,a);var s,l;N(this,n.length),t?this.loadAll(n):ce(a)?((e,t,a)=>{e.forEach((e=>{-1!==de.indexOf(e.tagName)&&((e,t,a)=>{e.setAttribute("loading","lazy"),ne(e,t,a),((e,t)=>{const a=Q[e.tagName];a&&a(e,t)})(e,t),I(e,m)})(e,t,a)})),N(a,0)})(n,a,this):(l=n,(e=>{e.disconnect()})(s=this._observer),((e,t)=>{t.forEach((t=>{e.observe(t)}))})(s,l))},destroy:function(){this._observer&&this._observer.disconnect(),e&&window.removeEventListener("online",this._onlineHandler),ge(this._settings).forEach((e=>{J(e)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){const t=this._settings;he(e,t).forEach((e=>{M(e,this),se(e,t,this)}))},restoreAll:function(){const e=this._settings;ge(e).forEach((t=>{ie(t,e)}))}},me.load=(e,t)=>{const a=s(t);se(e,a)},me.resetStatus=e=>{y(e)},e&&((e,t)=>{if(t)if(t.length)for(let a,n=0;a=t[n];n+=1)l(e,a);else l(e,t)})(me,window.lazyLoadOptions),me}));

/**
 * jQuery Inview
 * author Christopher Blum
 *    - based on the idea of Remy Sharp, http://remysharp.com/2009/01/26/element-in-view-event-plugin/
 *    - forked from http://github.com/zuk/jquery.inview/
 */
(function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)})(function(a){function b(){var b,c,e={height:d.innerHeight,width:d.innerWidth};return e.height||(b=k.compatMode,(b||!a.support.boxModel)&&(c="CSS1Compat"===b?l:k.body,e={height:c.clientHeight,width:c.clientWidth})),e}function c(){return{top:d.pageYOffset||l.scrollTop||k.body.scrollTop,left:d.pageXOffset||l.scrollLeft||k.body.scrollLeft}}function e(){if(j.length){var d=0,e=a.map(j,function(a){var b=a.data.selector,c=a.$element;return b?c.find(b):c});for(f=f||b(),g=g||c();d<j.length;d++)if("undefined"!=typeof e[d]&&a.contains(l,e[d][0])){var h=a(e[d]),k={height:h[0].offsetHeight,width:h[0].offsetWidth},m=h.offset(),n=h.data("inview");if(!g||!f)return;m.top+k.height>g.top&&m.top<g.top+f.height&&m.left+k.width>g.left&&m.left<g.left+f.width?!n&&h.data("inview",!0).trigger("inview",[!0]):n&&h.data("inview",!1).trigger("inview",[!1])}}}var f,g,h,j=[],k=document,d=window,l=k.documentElement;a.event.special.inview={add:function(b){j.push({data:b,$element:a(this),element:this}),!h&&j.length&&(h=setInterval(e,250))},remove:function(a){for(var b,c=0;c<j.length;c++)if(b=j[c],b.element===this&&b.data.guid===a.guid){j.splice(c,1);break}j.length||(clearInterval(h),h=null)}},a(d).on("scroll resize scrollstop",function(){f=g=null}),!l.addEventListener&&l.attachEvent&&l.attachEvent("onfocusin",function(){g=null})});

/*!
 *
 * jQuery collagePlus Plugin v0.3.3
 * https://github.com/ed-lea/jquery-collagePlus
 *
 * © 2012, Ed Lea twitter.com/ed_lea
 *
 * built for http://qiip.me
 *
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.opensource.org/licenses/GPL-2.0
 *
 */
!function(m){m.fn.collagePlus=function(a){var d="rtl"===m("body").css("direction");return this.each(function(){var o=0,h=[],s=1,t=m(this);m.fn.collagePlus.defaults.albumWidth=t.width(),m.fn.collagePlus.defaults.padding=parseFloat(t.css("padding-left")),m.fn.collagePlus.defaults.images=t.children();var g=m.extend({},m.fn.collagePlus.defaults,a);g.images.each(function(t){var a=m(this),i=a.is("img")?a:m(this).find("img"),e=void 0!==i.data("width")?i.data("width"):i.width(),d=void 0!==i.data("height")?i.data("height"):i.height(),l=function(t){$img=m(t);var a=new Array;return a.w=parseFloat($img.css("border-left-width"))+parseFloat($img.css("border-right-width")),a.h=parseFloat($img.css("border-top-width"))+parseFloat($img.css("border-bottom-width")),a}(i);i.data("width",e),i.data("height",d);var n=Math.ceil(e/d*g.targetHeight),r=Math.ceil(g.targetHeight);h.push([this,n,r,l.w,l.h]),(o+=n+l.w+g.padding)>g.albumWidth&&0!=h.length&&(f(h,o-g.padding,g,s),delete o,delete h,o=0,h=[],s+=1),g.images.length-1==t&&0!=h.length&&(f(h,o,g,s),delete o,delete h,o=0,h=[],s+=1)})});function f(t,a,i,e){for(var d=i.padding*(t.length-1)+t.length*t[0][3],l=(i.albumWidth-d)/(a-d),n=d,r=a<i.albumWidth,o=0;o<t.length;o++){var h=m(t[o][0]),s=Math.floor(t[o][1]*l),g=Math.floor(t[o][2]*l),f=!!(o<t.length-1);!0===i.allowPartialLastRow&&!0==r&&(s=t[o][1],g=t[o][2]),n+=s,!f&&n<i.albumWidth&&(!0===i.allowPartialLastRow&&!0==r?s=s:s+=i.albumWidth-n),s--;var c=h.is("img")?h:h.find("img");c.width(s),h.is("img")||h.width(s+t[o][3]),c.height(g),h.is("img")||h.height(g+t[o][4]),u(h,f,i),c.one("load",function(a){return function(){var t;"default"==i.effect?a.animate({opacity:"1"},{duration:i.fadeSpeed}):(t="vertical"==i.direction?e<=10?e:10:o<=9?o+1:10,a.removeClass(function(t,a){return(a.match(/\beffect-\S+/g)||[]).join(" ")}),a.addClass(i.effect),a.addClass("effect-duration-"+t))}}(h)).each(function(){this.complete&&m(this).trigger("load")})}}function u(t,a,i){var e={"margin-bottom":i.padding+"px",display:i.display,"vertical-align":"bottom",overflow:"hidden"};return d?e["margin-left"]=a?i.padding+"px":"0px":e["margin-right"]=a?i.padding+"px":"0px",t.css(e)}},m.fn.collagePlus.defaults={targetHeight:400,fadeSpeed:"fast",display:"inline-block",effect:"default",direction:"vertical",allowPartialLastRow:!1}}(jQuery);

/**
 * Custom DropDown plugin by PC
 * http://designwithpc.com/Plugins/ddslick
 */
(function(e){e.fn.ddslick=function(l){if(c[l]){return c[l].apply(this,Array.prototype.slice.call(arguments,1))}else{if(typeof l==="object"||!l){return c.init.apply(this,arguments)}else{e.error("Method "+l+" does not exists.")}}};var c={},d={data:[],keepJSONItemsOnTop:false,width:260,height:null,background:"#eee",selectText:"",defaultSelectedIndex:null,truncateDescription:true,imagePosition:"left",showSelectedHTML:true,clickOffToClose:true,embedCSS:true,onSelected:function(){}},i='<div class="dd-select"><input class="dd-selected-value" type="hidden" /><a class="dd-selected"></a><span class="dd-pointer dd-pointer-down"></span></div>',a='<ul class="dd-options"></ul>',b='<style id="css-ddslick" type="text/css">.dd-select{ border-radius:2px; border:solid 1px #ccc; position:relative; cursor:pointer;}.dd-desc { color:#aaa; display:block; overflow: hidden; font-weight:normal; line-height: 1.4em; }.dd-selected{ overflow:hidden; display:block; padding:10px; font-weight:bold;}.dd-pointer{ width:0; height:0; position:absolute; right:10px; top:50%; margin-top:-3px;}.dd-pointer-down{ border:solid 5px transparent; border-top:solid 5px #000; }.dd-pointer-up{border:solid 5px transparent !important; border-bottom:solid 5px #000 !important; margin-top:-8px;}.dd-options{ border:solid 1px #ccc; border-top:none; list-style:none; box-shadow:0px 1px 5px #ddd; display:none; position:absolute; z-index:2000; margin:0; padding:0;background:#fff; overflow:auto;}.dd-option{ padding:10px; display:block; border-bottom:solid 1px #ddd; overflow:hidden; text-decoration:none; color:#333; cursor:pointer;-webkit-transition: all 0.25s ease-in-out; -moz-transition: all 0.25s ease-in-out;-o-transition: all 0.25s ease-in-out;-ms-transition: all 0.25s ease-in-out; }.dd-options > li:last-child > .dd-option{ border-bottom:none;}.dd-option:hover{ background:#f3f3f3; color:#000;}.dd-selected-description-truncated { text-overflow: ellipsis; white-space:nowrap; }.dd-option-selected { background:#f6f6f6; }.dd-option-image, .dd-selected-image { vertical-align:middle; float:left; margin-right:5px; max-width:64px;}.dd-image-right { float:right; margin-right:15px; margin-left:5px;}.dd-container{ position:relative;}​ .dd-selected-text { font-weight:bold}​</style>';c.init=function(l){var l=e.extend({},d,l);if(e("#css-ddslick").length<=0&&l.embedCSS){e(b).appendTo("head")}return this.each(function(){var p=e(this),q=p.data("ddslick");if(!q){var n=[],o=l.data;p.find("option").each(function(){var w=e(this),v=w.data();n.push({text:e.trim(w.text()),value:w.val(),selected:w.is(":selected"),description:v.description,imageSrc:v.imagesrc})});if(l.keepJSONItemsOnTop){e.merge(l.data,n)}else{l.data=e.merge(n,l.data)}var m=p,s=e('<div id="'+p.attr("id")+'"></div>');p.replaceWith(s);p=s;p.addClass("dd-container").append(i).append(a);var n=p.find(".dd-select"),u=p.find(".dd-options");u.css({width:l.width});n.css({width:l.width,background:l.background});p.css({width:l.width});if(l.height!=null){u.css({height:l.height,overflow:"auto"})}e.each(l.data,function(v,w){if(w.selected){l.defaultSelectedIndex=v}u.append('<li><a class="dd-option">'+(w.value?' <input class="dd-option-value" type="hidden" value="'+w.value+'" />':"")+(w.imageSrc?' <img class="dd-option-image'+(l.imagePosition=="right"?" dd-image-right":"")+'" src="'+w.imageSrc+'" />':"")+(w.text?' <label class="dd-option-text">'+w.text+"</label>":"")+(w.description?' <small class="dd-option-description dd-desc">'+w.description+"</small>":"")+"</a></li>")});var t={settings:l,original:m,selectedIndex:-1,selectedItem:null,selectedData:null};p.data("ddslick",t);if(l.selectText.length>0&&l.defaultSelectedIndex==null){p.find(".dd-selected").html(l.selectText)}else{var r=(l.defaultSelectedIndex!=null&&l.defaultSelectedIndex>=0&&l.defaultSelectedIndex<l.data.length)?l.defaultSelectedIndex:0;j(p,r)}p.find(".dd-select").on("click.ddslick",function(){f(p)});p.find(".dd-option").on("click.ddslick",function(){j(p,e(this).closest("li").index())});if(l.clickOffToClose){u.addClass("dd-click-off-close");p.on("click.ddslick",function(v){v.stopPropagation()});e("body").on("click",function(){e(".dd-click-off-close").slideUp(50).siblings(".dd-select").find(".dd-pointer").removeClass("dd-pointer-up")})}}})};c.select=function(l){return this.each(function(){if(l.index!==undefined){j(e(this),l.index)}})};c.open=function(){return this.each(function(){var m=e(this),l=m.data("ddslick");if(l){f(m)}})};c.close=function(){return this.each(function(){var m=e(this),l=m.data("ddslick");if(l){k(m)}})};c.destroy=function(){return this.each(function(){var n=e(this),m=n.data("ddslick");if(m){var l=m.original;n.removeData("ddslick").off(".ddslick").replaceWith(l)}})};function j(q,s){var u=q.data("ddslick");var r=q.find(".dd-selected"),n=r.siblings(".dd-selected-value"),v=q.find(".dd-options"),l=r.siblings(".dd-pointer"),p=q.find(".dd-option").eq(s),m=p.closest("li"),o=u.settings,t=u.settings.data[s];q.find(".dd-option").removeClass("dd-option-selected");p.addClass("dd-option-selected");u.selectedIndex=s;u.selectedItem=m;u.selectedData=t;if(o.showSelectedHTML){r.html((t.imageSrc?'<img class="dd-selected-image'+(o.imagePosition=="right"?" dd-image-right":"")+'" src="'+t.imageSrc+'" />':"")+(t.text?'<label class="dd-selected-text">'+t.text+"</label>":"")+(t.description?'<small class="dd-selected-description dd-desc'+(o.truncateDescription?" dd-selected-description-truncated":"")+'" >'+t.description+"</small>":""))}else{r.html(t.text)}n.val(t.value);u.original.val(t.value);q.data("ddslick",u);k(q);g(q);if(typeof o.onSelected=="function"){o.onSelected.call(this,u)}}function f(p){var o=p.find(".dd-select"),m=o.siblings(".dd-options"),l=o.find(".dd-pointer"),n=m.is(":visible");e(".dd-click-off-close").not(m).slideUp(50);e(".dd-pointer").removeClass("dd-pointer-up");if(n){m.slideUp("fast");l.removeClass("dd-pointer-up")}else{m.slideDown("fast");l.addClass("dd-pointer-up")}h(p)}function k(l){l.find(".dd-options").slideUp(50);l.find(".dd-pointer").removeClass("dd-pointer-up").removeClass("dd-pointer-up")}function g(o){var n=o.find(".dd-select").css("height");var m=o.find(".dd-selected-description");var l=o.find(".dd-selected-image");if(m.length<=0&&l.length>0){o.find(".dd-selected-text").css("lineHeight",n)}}function h(l){l.find(".dd-option").each(function(){var p=e(this);var n=p.css("height");var o=p.find(".dd-option-description");var m=l.find(".dd-option-image");if(o.length<=0&&m.length>0){p.find(".dd-option-text").css("lineHeight",n)}})}})(jQuery);

/**
 * jquery.removeWhitespace.js
 */
(function(a){a.fn.removeWhitespace=function(){this.contents().filter(function(){return this.nodeType==3&&!/\S/.test(this.nodeValue)}).remove();return this}})(jQuery)

/**
 * @popperjs/core v2.11.6 - MIT License
 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){"use strict";function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function n(e){return e instanceof t(e).Element||e instanceof Element}function r(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}var i=Math.max,a=Math.min,s=Math.round;function f(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function c(){return!/^((?!chrome|android).)*safari/i.test(f())}function p(e,o,i){void 0===o&&(o=!1),void 0===i&&(i=!1);var a=e.getBoundingClientRect(),f=1,p=1;o&&r(e)&&(f=e.offsetWidth>0&&s(a.width)/e.offsetWidth||1,p=e.offsetHeight>0&&s(a.height)/e.offsetHeight||1);var u=(n(e)?t(e):window).visualViewport,l=!c()&&i,d=(a.left+(l&&u?u.offsetLeft:0))/f,h=(a.top+(l&&u?u.offsetTop:0))/p,m=a.width/f,v=a.height/p;return{width:m,height:v,top:h,right:d+m,bottom:h+v,left:d,x:d,y:h}}function u(e){var n=t(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function l(e){return e?(e.nodeName||"").toLowerCase():null}function d(e){return((n(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return p(d(e)).left+u(e).scrollLeft}function m(e){return t(e).getComputedStyle(e)}function v(e){var t=m(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function y(e,n,o){void 0===o&&(o=!1);var i,a,f=r(n),c=r(n)&&function(e){var t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||1,r=s(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(n),m=d(n),y=p(e,c,o),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(f||!f&&!o)&&(("body"!==l(n)||v(m))&&(g=(i=n)!==t(i)&&r(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:u(i)),r(n)?((b=p(n,!0)).x+=n.clientLeft,b.y+=n.clientTop):m&&(b.x=h(m))),{x:y.left+g.scrollLeft-b.x,y:y.top+g.scrollTop-b.y,width:y.width,height:y.height}}function g(e){var t=p(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function b(e){return"html"===l(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||d(e)}function w(e){return["html","body","#document"].indexOf(l(e))>=0?e.ownerDocument.body:r(e)&&v(e)?e:w(b(e))}function x(e,n){var r;void 0===n&&(n=[]);var o=w(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=t(o),s=i?[a].concat(a.visualViewport||[],v(o)?o:[]):o,f=n.concat(s);return i?f:f.concat(x(b(s)))}function O(e){return["table","td","th"].indexOf(l(e))>=0}function j(e){return r(e)&&"fixed"!==m(e).position?e.offsetParent:null}function E(e){for(var n=t(e),i=j(e);i&&O(i)&&"static"===m(i).position;)i=j(i);return i&&("html"===l(i)||"body"===l(i)&&"static"===m(i).position)?n:i||function(e){var t=/firefox/i.test(f());if(/Trident/i.test(f())&&r(e)&&"fixed"===m(e).position)return null;var n=b(e);for(o(n)&&(n=n.host);r(n)&&["html","body"].indexOf(l(n))<0;){var i=m(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||n}var D="top",A="bottom",L="right",P="left",M="auto",k=[D,A,L,P],W="start",B="end",H="viewport",T="popper",R=k.reduce((function(e,t){return e.concat([t+"-"+W,t+"-"+B])}),[]),S=[].concat(k,[M]).reduce((function(e,t){return e.concat([t,t+"-"+W,t+"-"+B])}),[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function q(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function C(e){return e.split("-")[0]}function N(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&o(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function I(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _(e,r,o){return r===H?I(function(e,n){var r=t(e),o=d(e),i=r.visualViewport,a=o.clientWidth,s=o.clientHeight,f=0,p=0;if(i){a=i.width,s=i.height;var u=c();(u||!u&&"fixed"===n)&&(f=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:f+h(e),y:p}}(e,o)):n(r)?function(e,t){var n=p(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(r,o):I(function(e){var t,n=d(e),r=u(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=i(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=i(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-r.scrollLeft+h(e),c=-r.scrollTop;return"rtl"===m(o||n).direction&&(f+=i(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:f,y:c}}(d(e)))}function F(e,t,o,s){var f="clippingParents"===t?function(e){var t=x(b(e)),o=["absolute","fixed"].indexOf(m(e).position)>=0&&r(e)?E(e):e;return n(o)?t.filter((function(e){return n(e)&&N(e,o)&&"body"!==l(e)})):[]}(e):[].concat(t),c=[].concat(f,[o]),p=c[0],u=c.reduce((function(t,n){var r=_(e,n,s);return t.top=i(r.top,t.top),t.right=a(r.right,t.right),t.bottom=a(r.bottom,t.bottom),t.left=i(r.left,t.left),t}),_(e,p,s));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function U(e){return e.split("-")[1]}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?C(o):null,a=o?U(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case D:t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case L:t={x:n.x+n.width,y:f};break;case P:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?z(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case W:t[c]=t[c]-(n[p]/2-r[p]/2);break;case B:t[c]=t[c]+(n[p]/2-r[p]/2)}}return t}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function G(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function J(e,t){void 0===t&&(t={});var r=t,o=r.placement,i=void 0===o?e.placement:o,a=r.strategy,s=void 0===a?e.strategy:a,f=r.boundary,c=void 0===f?"clippingParents":f,u=r.rootBoundary,l=void 0===u?H:u,h=r.elementContext,m=void 0===h?T:h,v=r.altBoundary,y=void 0!==v&&v,g=r.padding,b=void 0===g?0:g,w=Y("number"!=typeof b?b:G(b,k)),x=m===T?"reference":T,O=e.rects.popper,j=e.elements[y?x:m],E=F(n(j)?j:j.contextElement||d(e.elements.popper),c,l,s),P=p(e.elements.reference),M=X({reference:P,element:O,strategy:"absolute",placement:i}),W=I(Object.assign({},O,M)),B=m===T?W:P,R={top:E.top-B.top+w.top,bottom:B.bottom-E.bottom+w.bottom,left:E.left-B.left+w.left,right:B.right-E.right+w.right},S=e.modifiersData.offset;if(m===T&&S){var V=S[i];Object.keys(R).forEach((function(e){var t=[L,A].indexOf(e)>=0?1:-1,n=[D,A].indexOf(e)>=0?"y":"x";R[e]+=V[n]*t}))}return R}var K={placement:"bottom",modifiers:[],strategy:"absolute"};function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Z(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,o=void 0===r?[]:r,i=t.defaultOptions,a=void 0===i?K:i;return function(e,t,r){void 0===r&&(r=a);var i,s,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},K,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,u={state:f,setOptions:function(r){var i="function"==typeof r?r(f.options):r;l(),f.options=Object.assign({},a,f.options,i),f.scrollParents={reference:n(e)?x(e):e.contextElement?x(e.contextElement):[],popper:x(t)};var s,p,d=function(e){var t=q(e);return V.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(o,f.options.modifiers),p=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(p).map((function(e){return p[e]}))));return f.orderedModifiers=d.filter((function(e){return e.enabled})),f.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:f,name:t,instance:u,options:r}),a=function(){};c.push(i||a)}})),u.update()},forceUpdate:function(){if(!p){var e=f.elements,t=e.reference,n=e.popper;if(Q(t,n)){f.rects={reference:y(t,E(n),"fixed"===f.options.strategy),popper:g(n)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach((function(e){return f.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<f.orderedModifiers.length;r++)if(!0!==f.reset){var o=f.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,c=o.name;"function"==typeof i&&(f=i({state:f,options:s,name:c,instance:u})||f)}else f.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){u.forceUpdate(),e(f)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){l(),p=!0}};if(!Q(e,t))return u;function l(){c.forEach((function(e){return e()})),c=[]}return u.setOptions(r).then((function(e){!p&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var $={passive:!0};var ee={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var n=e.state,r=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,f=void 0===s||s,c=t(n.elements.popper),p=[].concat(n.scrollParents.reference,n.scrollParents.popper);return a&&p.forEach((function(e){e.addEventListener("scroll",r.update,$)})),f&&c.addEventListener("resize",r.update,$),function(){a&&p.forEach((function(e){e.removeEventListener("scroll",r.update,$)})),f&&c.removeEventListener("resize",r.update,$)}},data:{}};var te={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=X({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function re(e){var n,r=e.popper,o=e.popperRect,i=e.placement,a=e.variation,f=e.offsets,c=e.position,p=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,h=e.isFixed,v=f.x,y=void 0===v?0:v,g=f.y,b=void 0===g?0:g,w="function"==typeof l?l({x:y,y:b}):{x:y,y:b};y=w.x,b=w.y;var x=f.hasOwnProperty("x"),O=f.hasOwnProperty("y"),j=P,M=D,k=window;if(u){var W=E(r),H="clientHeight",T="clientWidth";if(W===t(r)&&"static"!==m(W=d(r)).position&&"absolute"===c&&(H="scrollHeight",T="scrollWidth"),W=W,i===D||(i===P||i===L)&&a===B)M=A,b-=(h&&W===k&&k.visualViewport?k.visualViewport.height:W[H])-o.height,b*=p?1:-1;if(i===P||(i===D||i===A)&&a===B)j=L,y-=(h&&W===k&&k.visualViewport?k.visualViewport.width:W[T])-o.width,y*=p?1:-1}var R,S=Object.assign({position:c},u&&ne),V=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:s(t*r)/r||0,y:s(n*r)/r||0}}({x:y,y:b}):{x:y,y:b};return y=V.x,b=V.y,p?Object.assign({},S,((R={})[M]=O?"0":"",R[j]=x?"0":"",R.transform=(k.devicePixelRatio||1)<=1?"translate("+y+"px, "+b+"px)":"translate3d("+y+"px, "+b+"px, 0)",R)):Object.assign({},S,((n={})[M]=O?b+"px":"",n[j]=x?y+"px":"",n.transform="",n))}var oe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s,c={placement:C(t.placement),variation:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,re(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,re(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ie={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];r(i)&&l(i)&&(Object.assign(i.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});r(o)&&l(o)&&(Object.assign(o.style,a),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};var ae={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=S.reduce((function(e,n){return e[n]=function(e,t,n){var r=C(e),o=[P,D].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[P,L].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},se={left:"right",right:"left",bottom:"top",top:"bottom"};function fe(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var ce={start:"end",end:"start"};function pe(e){return e.replace(/start|end/g,(function(e){return ce[e]}))}function ue(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?S:f,p=U(r),u=p?s?R:R.filter((function(e){return U(e)===p})):k,l=u.filter((function(e){return c.indexOf(e)>=0}));0===l.length&&(l=u);var d=l.reduce((function(t,n){return t[n]=J(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[C(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var le={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,v=t.options.placement,y=C(v),g=f||(y===v||!h?[fe(v)]:function(e){if(C(e)===M)return[];var t=fe(e);return[pe(e),t,pe(t)]}(v)),b=[v].concat(g).reduce((function(e,n){return e.concat(C(n)===M?ue(t,{placement:n,boundary:p,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,j=!0,E=b[0],k=0;k<b.length;k++){var B=b[k],H=C(B),T=U(B)===W,R=[D,A].indexOf(H)>=0,S=R?"width":"height",V=J(t,{placement:B,boundary:p,rootBoundary:u,altBoundary:l,padding:c}),q=R?T?L:P:T?A:D;w[S]>x[S]&&(q=fe(q));var N=fe(q),I=[];if(i&&I.push(V[H]<=0),s&&I.push(V[q]<=0,V[N]<=0),I.every((function(e){return e}))){E=B,j=!1;break}O.set(B,I)}if(j)for(var _=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},F=h?3:1;F>0;F--){if("break"===_(F))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function de(e,t,n){return i(e,a(t,n))}var he={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=void 0===o||o,f=n.altAxis,c=void 0!==f&&f,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,v=n.tetherOffset,y=void 0===v?0:v,b=J(t,{boundary:p,rootBoundary:u,padding:d,altBoundary:l}),w=C(t.placement),x=U(t.placement),O=!x,j=z(w),M="x"===j?"y":"x",k=t.modifiersData.popperOffsets,B=t.rects.reference,H=t.rects.popper,T="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,R="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(k){if(s){var q,N="y"===j?D:P,I="y"===j?A:L,_="y"===j?"height":"width",F=k[j],X=F+b[N],Y=F-b[I],G=m?-H[_]/2:0,K=x===W?B[_]:H[_],Q=x===W?-H[_]:-B[_],Z=t.elements.arrow,$=m&&Z?g(Z):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[N],ne=ee[I],re=de(0,B[_],$[_]),oe=O?B[_]/2-G-re-te-R.mainAxis:K-re-te-R.mainAxis,ie=O?-B[_]/2+G+re+ne+R.mainAxis:Q+re+ne+R.mainAxis,ae=t.elements.arrow&&E(t.elements.arrow),se=ae?"y"===j?ae.clientTop||0:ae.clientLeft||0:0,fe=null!=(q=null==S?void 0:S[j])?q:0,ce=F+ie-fe,pe=de(m?a(X,F+oe-fe-se):X,F,m?i(Y,ce):Y);k[j]=pe,V[j]=pe-F}if(c){var ue,le="x"===j?D:P,he="x"===j?A:L,me=k[M],ve="y"===M?"height":"width",ye=me+b[le],ge=me-b[he],be=-1!==[D,P].indexOf(w),we=null!=(ue=null==S?void 0:S[M])?ue:0,xe=be?ye:me-B[ve]-H[ve]-we+R.altAxis,Oe=be?me+B[ve]+H[ve]-we-R.altAxis:ge,je=m&&be?function(e,t,n){var r=de(e,t,n);return r>n?n:r}(xe,me,Oe):de(m?xe:ye,me,m?Oe:ge);k[M]=je,V[M]=je-me}t.modifiersData[r]=V}},requiresIfExists:["offset"]};var me={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=C(n.placement),f=z(s),c=[P,L].indexOf(s)>=0?"height":"width";if(i&&a){var p=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:G(e,k))}(o.padding,n),u=g(i),l="y"===f?D:P,d="y"===f?A:L,h=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],m=a[f]-n.rects.reference[f],v=E(i),y=v?"y"===f?v.clientHeight||0:v.clientWidth||0:0,b=h/2-m/2,w=p[l],x=y-u[c]-p[d],O=y/2-u[c]/2+b,j=de(w,O,x),M=f;n.modifiersData[r]=((t={})[M]=j,t.centerOffset=j-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&N(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ve(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ye(e){return[D,L,A,P].some((function(t){return e[t]>=0}))}var ge={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=J(t,{elementContext:"reference"}),s=J(t,{altBoundary:!0}),f=ve(a,r),c=ve(s,o,i),p=ye(f),u=ye(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}},be=Z({defaultModifiers:[ee,te,oe,ie]}),we=[ee,te,oe,ie,ae,le,he,me,ge],xe=Z({defaultModifiers:we});e.applyStyles=ie,e.arrow=me,e.computeStyles=oe,e.createPopper=xe,e.createPopperLite=be,e.defaultModifiers=we,e.detectOverflow=J,e.eventListeners=ee,e.flip=le,e.hide=ge,e.offset=ae,e.popperGenerator=Z,e.popperOffsets=te,e.preventOverflow=he,Object.defineProperty(e,"__esModule",{value:!0})}));

/**
 * tippy v6.3.7 - MIT License
 */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],e):(t=t||self).tippy=e(t.Popper)}(this,(function(t){"use strict";var e="undefined"!=typeof window&&"undefined"!=typeof document,n=!!e&&!!window.msCrypto,r={passive:!0,capture:!0},o=function(){return document.body};function i(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function a(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function s(t,e){return"function"==typeof t?t.apply(void 0,e):t}function u(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout((function(){t(r)}),e)};var n}function p(t,e){var n=Object.assign({},t);return e.forEach((function(t){delete n[t]})),n}function c(t){return[].concat(t)}function f(t,e){-1===t.indexOf(e)&&t.push(e)}function l(t){return t.split("-")[0]}function d(t){return[].slice.call(t)}function v(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function m(){return document.createElement("div")}function g(t){return["Element","Fragment"].some((function(e){return a(t,e)}))}function h(t){return a(t,"MouseEvent")}function b(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function y(t){return g(t)?[t]:function(t){return a(t,"NodeList")}(t)?d(t):Array.isArray(t)?t:d(document.querySelectorAll(t))}function w(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function x(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function E(t){var e,n=c(t)[0];return null!=n&&null!=(e=n.ownerDocument)&&e.body?n.ownerDocument:document}function O(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,n)}))}function C(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var T={isTouch:!1},A=0;function L(){T.isTouch||(T.isTouch=!0,window.performance&&document.addEventListener("mousemove",D))}function D(){var t=performance.now();t-A<20&&(T.isTouch=!1,document.removeEventListener("mousemove",D)),A=t}function k(){var t=document.activeElement;if(b(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var R=Object.assign({appendTo:o,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),P=Object.keys(R);function j(t){var e=(t.plugins||[]).reduce((function(e,n){var r,o=n.name,i=n.defaultValue;o&&(e[o]=void 0!==t[o]?t[o]:null!=(r=R[o])?r:i);return e}),{});return Object.assign({},t,e)}function M(t,e){var n=Object.assign({},e,{content:s(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(j(Object.assign({},R,{plugins:e}))):P).reduce((function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},R.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function V(t,e){t.innerHTML=e}function I(t){var e=m();return!0===t?e.className="tippy-arrow":(e.className="tippy-svg-arrow",g(t)?e.appendChild(t):V(e,t)),e}function S(t,e){g(e.content)?(V(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?V(t,e.content):t.textContent=e.content)}function B(t){var e=t.firstElementChild,n=d(e.children);return{box:e,content:n.find((function(t){return t.classList.contains("tippy-content")})),arrow:n.find((function(t){return t.classList.contains("tippy-arrow")||t.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(t){return t.classList.contains("tippy-backdrop")}))}}function N(t){var e=m(),n=m();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=m();function o(n,r){var o=B(e),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||S(a,t.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(I(r.arrow))):i.appendChild(I(r.arrow)):s&&i.removeChild(s)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),S(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props),{popper:e,onUpdate:o}}N.$$tippy=!0;var H=1,U=[],_=[];function z(e,a){var p,g,b,y,A,L,D,k,P=M(e,Object.assign({},R,j(v(a)))),V=!1,I=!1,S=!1,N=!1,z=[],F=u(wt,P.interactiveDebounce),W=H++,X=(k=P.plugins).filter((function(t,e){return k.indexOf(t)===e})),Y={id:W,reference:e,popper:m(),popperInstance:null,props:P,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:X,clearDelayTimeouts:function(){clearTimeout(p),clearTimeout(g),cancelAnimationFrame(b)},setProps:function(t){if(Y.state.isDestroyed)return;at("onBeforeUpdate",[Y,t]),bt();var n=Y.props,r=M(e,Object.assign({},n,v(t),{ignoreAttributes:!0}));Y.props=r,ht(),n.interactiveDebounce!==r.interactiveDebounce&&(pt(),F=u(wt,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?c(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");ut(),it(),J&&J(n,r);Y.popperInstance&&(Ct(),At().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));at("onAfterUpdate",[Y,t])},setContent:function(t){Y.setProps({content:t})},show:function(){var t=Y.state.isVisible,e=Y.state.isDestroyed,n=!Y.state.isEnabled,r=T.isTouch&&!Y.props.touch,a=i(Y.props.duration,0,R.duration);if(t||e||n||r)return;if(et().hasAttribute("disabled"))return;if(at("onShow",[Y],!1),!1===Y.props.onShow(Y))return;Y.state.isVisible=!0,tt()&&($.style.visibility="visible");it(),dt(),Y.state.isMounted||($.style.transition="none");if(tt()){var u=rt(),p=u.box,c=u.content;w([p,c],0)}L=function(){var t;if(Y.state.isVisible&&!N){if(N=!0,$.offsetHeight,$.style.transition=Y.props.moveTransition,tt()&&Y.props.animation){var e=rt(),n=e.box,r=e.content;w([n,r],a),x([n,r],"visible")}st(),ut(),f(_,Y),null==(t=Y.popperInstance)||t.forceUpdate(),at("onMount",[Y]),Y.props.animation&&tt()&&function(t,e){mt(t,e)}(a,(function(){Y.state.isShown=!0,at("onShown",[Y])}))}},function(){var t,e=Y.props.appendTo,n=et();t=Y.props.interactive&&e===o||"parent"===e?n.parentNode:s(e,[n]);t.contains($)||t.appendChild($);Y.state.isMounted=!0,Ct()}()},hide:function(){var t=!Y.state.isVisible,e=Y.state.isDestroyed,n=!Y.state.isEnabled,r=i(Y.props.duration,1,R.duration);if(t||e||n)return;if(at("onHide",[Y],!1),!1===Y.props.onHide(Y))return;Y.state.isVisible=!1,Y.state.isShown=!1,N=!1,V=!1,tt()&&($.style.visibility="hidden");if(pt(),vt(),it(!0),tt()){var o=rt(),a=o.box,s=o.content;Y.props.animation&&(w([a,s],r),x([a,s],"hidden"))}st(),ut(),Y.props.animation?tt()&&function(t,e){mt(t,(function(){!Y.state.isVisible&&$.parentNode&&$.parentNode.contains($)&&e()}))}(r,Y.unmount):Y.unmount()},hideWithInteractivity:function(t){nt().addEventListener("mousemove",F),f(U,F),F(t)},enable:function(){Y.state.isEnabled=!0},disable:function(){Y.hide(),Y.state.isEnabled=!1},unmount:function(){Y.state.isVisible&&Y.hide();if(!Y.state.isMounted)return;Tt(),At().forEach((function(t){t._tippy.unmount()})),$.parentNode&&$.parentNode.removeChild($);_=_.filter((function(t){return t!==Y})),Y.state.isMounted=!1,at("onHidden",[Y])},destroy:function(){if(Y.state.isDestroyed)return;Y.clearDelayTimeouts(),Y.unmount(),bt(),delete e._tippy,Y.state.isDestroyed=!0,at("onDestroy",[Y])}};if(!P.render)return Y;var q=P.render(Y),$=q.popper,J=q.onUpdate;$.setAttribute("data-tippy-root",""),$.id="tippy-"+Y.id,Y.popper=$,e._tippy=Y,$._tippy=Y;var G=X.map((function(t){return t.fn(Y)})),K=e.hasAttribute("aria-expanded");return ht(),ut(),it(),at("onCreate",[Y]),P.showOnCreate&&Lt(),$.addEventListener("mouseenter",(function(){Y.props.interactive&&Y.state.isVisible&&Y.clearDelayTimeouts()})),$.addEventListener("mouseleave",(function(){Y.props.interactive&&Y.props.trigger.indexOf("mouseenter")>=0&&nt().addEventListener("mousemove",F)})),Y;function Q(){var t=Y.props.touch;return Array.isArray(t)?t:[t,0]}function Z(){return"hold"===Q()[0]}function tt(){var t;return!(null==(t=Y.props.render)||!t.$$tippy)}function et(){return D||e}function nt(){var t=et().parentNode;return t?E(t):document}function rt(){return B($)}function ot(t){return Y.state.isMounted&&!Y.state.isVisible||T.isTouch||y&&"focus"===y.type?0:i(Y.props.delay,t?0:1,R.delay)}function it(t){void 0===t&&(t=!1),$.style.pointerEvents=Y.props.interactive&&!t?"":"none",$.style.zIndex=""+Y.props.zIndex}function at(t,e,n){var r;(void 0===n&&(n=!0),G.forEach((function(n){n[t]&&n[t].apply(n,e)})),n)&&(r=Y.props)[t].apply(r,e)}function st(){var t=Y.props.aria;if(t.content){var n="aria-"+t.content,r=$.id;c(Y.props.triggerTarget||e).forEach((function(t){var e=t.getAttribute(n);if(Y.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var o=e&&e.replace(r,"").trim();o?t.setAttribute(n,o):t.removeAttribute(n)}}))}}function ut(){!K&&Y.props.aria.expanded&&c(Y.props.triggerTarget||e).forEach((function(t){Y.props.interactive?t.setAttribute("aria-expanded",Y.state.isVisible&&t===et()?"true":"false"):t.removeAttribute("aria-expanded")}))}function pt(){nt().removeEventListener("mousemove",F),U=U.filter((function(t){return t!==F}))}function ct(t){if(!T.isTouch||!S&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!Y.props.interactive||!C($,n)){if(c(Y.props.triggerTarget||e).some((function(t){return C(t,n)}))){if(T.isTouch)return;if(Y.state.isVisible&&Y.props.trigger.indexOf("click")>=0)return}else at("onClickOutside",[Y,t]);!0===Y.props.hideOnClick&&(Y.clearDelayTimeouts(),Y.hide(),I=!0,setTimeout((function(){I=!1})),Y.state.isMounted||vt())}}}function ft(){S=!0}function lt(){S=!1}function dt(){var t=nt();t.addEventListener("mousedown",ct,!0),t.addEventListener("touchend",ct,r),t.addEventListener("touchstart",lt,r),t.addEventListener("touchmove",ft,r)}function vt(){var t=nt();t.removeEventListener("mousedown",ct,!0),t.removeEventListener("touchend",ct,r),t.removeEventListener("touchstart",lt,r),t.removeEventListener("touchmove",ft,r)}function mt(t,e){var n=rt().box;function r(t){t.target===n&&(O(n,"remove",r),e())}if(0===t)return e();O(n,"remove",A),O(n,"add",r),A=r}function gt(t,n,r){void 0===r&&(r=!1),c(Y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),z.push({node:e,eventType:t,handler:n,options:r})}))}function ht(){var t;Z()&&(gt("touchstart",yt,{passive:!0}),gt("touchend",xt,{passive:!0})),(t=Y.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch(gt(t,yt),t){case"mouseenter":gt("mouseleave",xt);break;case"focus":gt(n?"focusout":"blur",Et);break;case"focusin":gt("focusout",Et)}}))}function bt(){z.forEach((function(t){var e=t.node,n=t.eventType,r=t.handler,o=t.options;e.removeEventListener(n,r,o)})),z=[]}function yt(t){var e,n=!1;if(Y.state.isEnabled&&!Ot(t)&&!I){var r="focus"===(null==(e=y)?void 0:e.type);y=t,D=t.currentTarget,ut(),!Y.state.isVisible&&h(t)&&U.forEach((function(e){return e(t)})),"click"===t.type&&(Y.props.trigger.indexOf("mouseenter")<0||V)&&!1!==Y.props.hideOnClick&&Y.state.isVisible?n=!0:Lt(t),"click"===t.type&&(V=!n),n&&!r&&Dt(t)}}function wt(t){var e=t.target,n=et().contains(e)||$.contains(e);"mousemove"===t.type&&n||function(t,e){var n=e.clientX,r=e.clientY;return t.every((function(t){var e=t.popperRect,o=t.popperState,i=t.props.interactiveBorder,a=l(o.placement),s=o.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,p="top"===a?s.bottom.y:0,c="right"===a?s.left.x:0,f="left"===a?s.right.x:0,d=e.top-r+u>i,v=r-e.bottom-p>i,m=e.left-n+c>i,g=n-e.right-f>i;return d||v||m||g}))}(At().concat($).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:P}:null})).filter(Boolean),t)&&(pt(),Dt(t))}function xt(t){Ot(t)||Y.props.trigger.indexOf("click")>=0&&V||(Y.props.interactive?Y.hideWithInteractivity(t):Dt(t))}function Et(t){Y.props.trigger.indexOf("focusin")<0&&t.target!==et()||Y.props.interactive&&t.relatedTarget&&$.contains(t.relatedTarget)||Dt(t)}function Ot(t){return!!T.isTouch&&Z()!==t.type.indexOf("touch")>=0}function Ct(){Tt();var n=Y.props,r=n.popperOptions,o=n.placement,i=n.offset,a=n.getReferenceClientRect,s=n.moveTransition,u=tt()?B($).arrow:null,p=a?{getBoundingClientRect:a,contextElement:a.contextElement||et()}:e,c=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(tt()){var n=rt().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)})),e.attributes.popper={}}}}];tt()&&u&&c.push({name:"arrow",options:{element:u,padding:3}}),c.push.apply(c,(null==r?void 0:r.modifiers)||[]),Y.popperInstance=t.createPopper(p,$,Object.assign({},r,{placement:o,onFirstUpdate:L,modifiers:c}))}function Tt(){Y.popperInstance&&(Y.popperInstance.destroy(),Y.popperInstance=null)}function At(){return d($.querySelectorAll("[data-tippy-root]"))}function Lt(t){Y.clearDelayTimeouts(),t&&at("onTrigger",[Y,t]),dt();var e=ot(!0),n=Q(),r=n[0],o=n[1];T.isTouch&&"hold"===r&&o&&(e=o),e?p=setTimeout((function(){Y.show()}),e):Y.show()}function Dt(t){if(Y.clearDelayTimeouts(),at("onUntrigger",[Y,t]),Y.state.isVisible){if(!(Y.props.trigger.indexOf("mouseenter")>=0&&Y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&V)){var e=ot(!1);e?g=setTimeout((function(){Y.state.isVisible&&Y.hide()}),e):b=requestAnimationFrame((function(){Y.hide()}))}}else vt()}}function F(t,e){void 0===e&&(e={});var n=R.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",L,r),window.addEventListener("blur",k);var o=Object.assign({},e,{plugins:n}),i=y(t).reduce((function(t,e){var n=e&&z(e,o);return n&&t.push(n),t}),[]);return g(t)?i[0]:i}F.defaultProps=R,F.setDefaultProps=function(t){Object.keys(t).forEach((function(e){R[e]=t[e]}))},F.currentInput=T;var W=Object.assign({},t.applyStyles,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}}),X={mouseover:"mouseenter",focusin:"focus",click:"click"};var Y={name:"animateFill",defaultValue:!1,fn:function(t){var e;if(null==(e=t.props.render)||!e.$$tippy)return{};var n=B(t.popper),r=n.box,o=n.content,i=t.props.animateFill?function(){var t=m();return t.className="tippy-backdrop",x([t],"hidden"),t}():null;return{onCreate:function(){i&&(r.insertBefore(i,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var t=r.style.transitionDuration,e=Number(t.replace("ms",""));o.style.transitionDelay=Math.round(e/10)+"ms",i.style.transitionDuration=t,x([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&x([i],"hidden")}}}};var q={clientX:0,clientY:0},$=[];function J(t){var e=t.clientX,n=t.clientY;q={clientX:e,clientY:n}}var G={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,n=E(t.props.triggerTarget||e),r=!1,o=!1,i=!0,a=t.props;function s(){return"initial"===t.props.followCursor&&t.state.isVisible}function u(){n.addEventListener("mousemove",f)}function p(){n.removeEventListener("mousemove",f)}function c(){r=!0,t.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||e.contains(n.target),o=t.props.followCursor,i=n.clientX,a=n.clientY,s=e.getBoundingClientRect(),u=i-s.left,p=a-s.top;!r&&t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=t.left+u,r=t.top+p);var s="horizontal"===o?t.top:r,c="vertical"===o?t.right:n,f="horizontal"===o?t.bottom:r,l="vertical"===o?t.left:n;return{width:c-l,height:f-s,top:s,right:c,bottom:f,left:l}}})}function l(){t.props.followCursor&&($.push({instance:t,doc:n}),function(t){t.addEventListener("mousemove",J)}(n))}function d(){0===($=$.filter((function(e){return e.instance!==t}))).filter((function(t){return t.doc===n})).length&&function(t){t.removeEventListener("mousemove",J)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=t.props},onAfterUpdate:function(e,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!t.state.isMounted||o||s()||u()):(p(),c()))},onMount:function(){t.props.followCursor&&!o&&(i&&(f(q),i=!1),s()||u())},onTrigger:function(t,e){h(e)&&(q={clientX:e.clientX,clientY:e.clientY}),o="focus"===e.type},onHidden:function(){t.props.followCursor&&(c(),p(),i=!0)}}}};var K={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,n=t.reference;var r=-1,o=!1,i=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(o){var a=o.state;t.props.inlinePositioning&&(-1!==i.indexOf(a.placement)&&(i=[]),e!==a.placement&&-1===i.indexOf(a.placement)&&(i.push(a.placement),t.setProps({getReferenceClientRect:function(){return function(t){return function(t,e,n,r){if(n.length<2||null===t)return e;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||e;switch(t){case"top":case"bottom":var o=n[0],i=n[n.length-1],a="top"===t,s=o.top,u=i.bottom,p=a?o.left:i.left,c=a?o.right:i.right;return{top:s,bottom:u,left:p,right:c,width:c-p,height:u-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(t){return t.left}))),l=Math.max.apply(Math,n.map((function(t){return t.right}))),d=n.filter((function(e){return"left"===t?e.left===f:e.right===l})),v=d[0].top,m=d[d.length-1].bottom;return{top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};default:return e}}(l(t),n.getBoundingClientRect(),d(n.getClientRects()),r)}(a.placement)}})),e=a.placement)}};function s(){var e;o||(e=function(t,e){var n;return{popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(n=t.popperOptions)?void 0:n.modifiers)||[]).filter((function(t){return t.name!==e.name})),[e])})}}(t.props,a),o=!0,t.setProps(e),o=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(e,n){if(h(n)){var o=d(t.reference.getClientRects()),i=o.find((function(t){return t.left-2<=n.clientX&&t.right+2>=n.clientX&&t.top-2<=n.clientY&&t.bottom+2>=n.clientY})),a=o.indexOf(i);r=a>-1?a:r}},onHidden:function(){r=-1}}}};var Q={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var o=null,i=null;function a(){var s=r("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,u=r("popper")?n.getBoundingClientRect():null;(s&&Z(o,s)||u&&Z(i,u))&&t.popperInstance&&t.popperInstance.update(),o=s,i=u,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function Z(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}return e&&function(t){var e=document.createElement("style");e.textContent=t,e.setAttribute("data-tippy-stylesheet","");var n=document.head,r=document.querySelector("head>style,head>link");r?n.insertBefore(e,r):n.appendChild(e)}('.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}'),F.setDefaultProps({plugins:[Y,G,K,Q],render:N}),F.createSingleton=function(t,e){var n;void 0===e&&(e={});var r,o=t,i=[],a=[],s=e.overrides,u=[],f=!1;function l(){a=o.map((function(t){return c(t.props.triggerTarget||t.reference)})).reduce((function(t,e){return t.concat(e)}),[])}function d(){i=o.map((function(t){return t.reference}))}function v(t){o.forEach((function(e){t?e.enable():e.disable()}))}function g(t){return o.map((function(e){var n=e.setProps;return e.setProps=function(o){n(o),e.reference===r&&t.setProps(o)},function(){e.setProps=n}}))}function h(t,e){var n=a.indexOf(e);if(e!==r){r=e;var u=(s||[]).concat("content").reduce((function(t,e){return t[e]=o[n].props[e],t}),{});t.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){var t;return null==(t=i[n])?void 0:t.getBoundingClientRect()}}))}}v(!1),d(),l();var b={fn:function(){return{onDestroy:function(){v(!0)},onHidden:function(){r=null},onClickOutside:function(t){t.props.showOnCreate&&!f&&(f=!0,r=null)},onShow:function(t){t.props.showOnCreate&&!f&&(f=!0,h(t,i[0]))},onTrigger:function(t,e){h(t,e.currentTarget)}}}},y=F(m(),Object.assign({},p(e,["overrides"]),{plugins:[b].concat(e.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],[W])})})),w=y.show;y.show=function(t){if(w(),!r&&null==t)return h(y,i[0]);if(!r||null!=t){if("number"==typeof t)return i[t]&&h(y,i[t]);if(o.indexOf(t)>=0){var e=t.reference;return h(y,e)}return i.indexOf(t)>=0?h(y,t):void 0}},y.showNext=function(){var t=i[0];if(!r)return y.show(0);var e=i.indexOf(r);y.show(i[e+1]||t)},y.showPrevious=function(){var t=i[i.length-1];if(!r)return y.show(t);var e=i.indexOf(r),n=i[e-1]||t;y.show(n)};var x=y.setProps;return y.setProps=function(t){s=t.overrides||s,x(t)},y.setInstances=function(t){v(!0),u.forEach((function(t){return t()})),o=t,v(!1),d(),l(),u=g(y),y.setProps({triggerTarget:a})},u=g(y),y},F.delegate=function(t,e){var n=[],o=[],i=!1,a=e.target,s=p(e,["target"]),u=Object.assign({},s,{trigger:"manual",touch:!1}),f=Object.assign({touch:R.touch},s,{showOnCreate:!0}),l=F(t,u);function d(t){if(t.target&&!i){var n=t.target.closest(a);if(n){var r=n.getAttribute("data-tippy-trigger")||e.trigger||R.trigger;if(!n._tippy&&!("touchstart"===t.type&&"boolean"==typeof f.touch||"touchstart"!==t.type&&r.indexOf(X[t.type])<0)){var s=F(n,f);s&&(o=o.concat(s))}}}}function v(t,e,r,o){void 0===o&&(o=!1),t.addEventListener(e,r,o),n.push({node:t,eventType:e,handler:r,options:o})}return c(l).forEach((function(t){var e=t.destroy,a=t.enable,s=t.disable;t.destroy=function(t){void 0===t&&(t=!0),t&&o.forEach((function(t){t.destroy()})),o=[],n.forEach((function(t){var e=t.node,n=t.eventType,r=t.handler,o=t.options;e.removeEventListener(n,r,o)})),n=[],e()},t.enable=function(){a(),o.forEach((function(t){return t.enable()})),i=!1},t.disable=function(){s(),o.forEach((function(t){return t.disable()})),i=!0},function(t){var e=t.reference;v(e,"touchstart",d,r),v(e,"mouseover",d),v(e,"focusin",d),v(e,"click",d)}(t)})),l},F.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,r=e.duration;_.forEach((function(t){var e=!1;if(n&&(e=b(n)?t.reference===n:t.popper===n.popper),!e){var o=t.props.duration;t.setProps({duration:r}),t.hide(),t.state.isDestroyed||t.setProps({duration:o})}}))},F.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',F}));

/**
 * jQuery iLightBox - Revolutionary Lightbox Plugin
 * http://www.ilightbox.net/
 *
 * @version: 2.2.3 - June 03, 2017
 *
 * @author: Hemn Chawroka
 *          http://www.iprodev.com/
 *
 * @author: Modified by WP Cloud Plugins (2022) 
 */
(function($,window,undefined){function getPixel(e,t){return parseInt(e.css(t),10)||0}function within(e,t,i){return e<t?t:e>i?i:e}function getViewport(){var t=window,i="inner";return"innerWidth"in window||(i="client",t=document.documentElement||document.body),{width:t[i+"Width"],height:t[i+"Height"]}}function removeHash(){var e=getScrollXY();window.location.hash="",window.scrollTo(e.x,e.y)}function doAjax(e,t){var e="//ilightbox.net/getSource/jsonp.php?url="+encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A");$.ajax({url:e,dataType:"jsonp"}),iLCallback=function(e){t.call(this,e)}}function findImageInElement(e){var t=$("*",e),o=[];return t.each(function(){var e="",t=this;if("none"==$(t).css("background-image")?"undefined"!=typeof $(t).attr("src")&&"img"==t.nodeName.toLowerCase()&&(e=$(t).attr("src")):e=$(t).css("background-image"),-1==e.indexOf("gradient")){e=e.replace(/url\(\"/g,""),e=e.replace(/url\(/g,""),e=e.replace(/\"\)/g,""),e=e.replace(/\)/g,"");for(var n=e.split(","),a=0;a<n.length;a++)if(0<n[a].length&&-1==$.inArray(n[a],o)){var s="";browser.msie&&9>browser.version&&(s="?"+floor(3e3*random())),o.push(n[a]+s)}}}),o}function getExtension(e){var t=e.split(".").pop().toLowerCase(),i=-1===t.indexOf("?")?"":t.split("?").pop();return t.replace(i,"")}function getTypeByExtension(e){var t,i=getExtension(e);return t=-1===extensions.image.indexOf(i)?-1===extensions.flash.indexOf(i)?-1===extensions.video.indexOf(i)?"iframe":"video":"flash":"image",t}function percentToValue(e,t){return parseInt(t/100*e)}function parseURI(e){var t=(e+"").replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);return t?{href:t[0]||"",protocol:t[1]||"",authority:t[2]||"",host:t[3]||"",hostname:t[4]||"",port:t[5]||"",pathname:t[6]||"",search:t[7]||"",hash:t[8]||""}:null}function absolutizeURI(e,t){this;return t=parseURI(t||""),e=parseURI(e||""),t&&e?(t.protocol||e.protocol)+(t.protocol||t.authority?t.authority:e.authority)+function(e){var t=[];return e.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?t.pop():t.push(e)}),t.join("").replace(/^\//,"/"===e.charAt(0)?"/":"")}(t.protocol||t.authority||"/"===t.pathname.charAt(0)?t.pathname:t.pathname?(e.authority&&!e.pathname?"/":"")+e.pathname.slice(0,e.pathname.lastIndexOf("/")+1)+t.pathname:e.pathname)+(t.protocol||t.authority||t.pathname?t.search:t.search||e.search)+t.hash:null}function version_compare(e,t,o){this.php_js=this.php_js||{},this.php_js.ENV=this.php_js.ENV||{};var n=0,a=0,s=0,l={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},r=function(e){return e=(""+e).replace(/[_\-+]/g,"."),e=e.replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,"."),e.length?e.split("."):[-8]},d=function(e){return e?isNaN(e)?l[e]||-7:parseInt(e,10):0};for(e=r(e),t=r(t),a=max(e.length,t.length),n=0;n<a;n++)if(e[n]!=t[n])if(e[n]=d(e[n]),t[n]=d(t[n]),e[n]<t[n]){s=-1;break}else if(e[n]>t[n]){s=1;break}if(!o)return s;return">"===o||"gt"===o?0<s:">="===o||"ge"===o?0<=s:"<="===o||"le"===o?0>=s:"=="===o||"="===o||"eq"===o?0===s:"<>"===o||"!="===o||"ne"===o?0!==s:""===o||"<"===o||"lt"===o?0>s:null}function getScrollXY(){var e=0,t=0;return"number"==typeof window.pageYOffset?(t=window.pageYOffset,e=window.pageXOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(t=document.body.scrollTop,e=document.body.scrollLeft):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(t=document.documentElement.scrollTop,e=document.documentElement.scrollLeft),{x:e,y:t}}function AC_QuickTimeVersion(){return 1}function _QTComplain(e,t){t=t.replace("%%",e),alert(t)}function _QTAddAttribute(e,t,i){var o;return o=gTagAttrs[e+t],null==o&&(o=gTagAttrs[t]),null==o?"":(0==t.indexOf(e)&&null==i&&(i=t.substring(e.length)),null==i&&(i=t),i+"=\""+o+"\" ")}function _QTAddObjectAttr(e,t){return 0==e.indexOf("emb#")?"":(0==e.indexOf("obj#")&&null==t&&(t=e.substring(4)),_QTAddAttribute("obj#",e,t))}function _QTAddEmbedAttr(e,t){return 0==e.indexOf("obj#")?"":(0==e.indexOf("emb#")&&null==t&&(t=e.substring(4)),_QTAddAttribute("emb#",e,t))}function _QTAddObjectParam(t,i){var o,n="",s=i?" />":">";return-1==t.indexOf("emb#")&&(o=gTagAttrs["obj#"+t],null==o&&(o=gTagAttrs[t]),0==t.indexOf("obj#")&&(t=t.substring(4)),null!=o&&(n="  <param name=\""+t+"\" value=\""+o+"\""+s+"\n")),n}function _QTDeleteTagAttrs(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],delete gTagAttrs[e],delete gTagAttrs["emb#"+e],delete gTagAttrs["obj#"+e]}function _QTGenerate(t,i,o){if(4>o.length||0!=o.length%2)return _QTComplain(t,"The \"%%\" function requires an even number of arguments.\nArguments should be in the form \"atttributeName\", \"attributeValue\", ..."),"";gTagAttrs=[],gTagAttrs.src=o[0],gTagAttrs.width=o[1],gTagAttrs.height=o[2],gTagAttrs.classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",gTagAttrs.pluginspage="http://www.apple.com/quicktime/download/",t=o[3],(null==t||""==t)&&(t="6,0,2,0"),gTagAttrs.codebase="http://www.apple.com/qtactivex/qtplugin.cab#version="+t;for(var n,s=4;s<o.length;s+=2)n=o[s].toLowerCase(),t=o[s+1],"name"==n||"id"==n?gTagAttrs.name=t:gTagAttrs[n]=t;for(n in o="<object "+_QTAddObjectAttr("classid")+_QTAddObjectAttr("width")+_QTAddObjectAttr("height")+_QTAddObjectAttr("codebase")+_QTAddObjectAttr("name","id")+_QTAddObjectAttr("tabindex")+_QTAddObjectAttr("hspace")+_QTAddObjectAttr("vspace")+_QTAddObjectAttr("border")+_QTAddObjectAttr("align")+_QTAddObjectAttr("class")+_QTAddObjectAttr("title")+_QTAddObjectAttr("accesskey")+_QTAddObjectAttr("noexternaldata")+">\n"+_QTAddObjectParam("src",i),s="  <embed "+_QTAddEmbedAttr("src")+_QTAddEmbedAttr("width")+_QTAddEmbedAttr("height")+_QTAddEmbedAttr("pluginspage")+_QTAddEmbedAttr("name")+_QTAddEmbedAttr("align")+_QTAddEmbedAttr("tabindex"),_QTDeleteTagAttrs("src","width","height","pluginspage","classid","codebase","name","tabindex","hspace","vspace","border","align","noexternaldata","class","title","accesskey"),gTagAttrs)t=gTagAttrs[n],null!=t&&(s+=_QTAddEmbedAttr(n),o+=_QTAddObjectParam(n,i));return o+s+"> </embed>\n</object>"}function QT_GenerateOBJECTText(){return _QTGenerate("QT_GenerateOBJECTText",!1,arguments)}var browser,transform,gpuAcceleration,extensions={flash:["swf"],image:["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe"],iframe:["asp","aspx","cgi","cfm","htm","html","jsp","php","pl","php3","php4","php5","phtml","rb","rhtml","shtml","txt"],video:["avi","mov","mpg","mpeg","movie","mp4","webm","ogv","ogg","3gp","m4v"]},$win=$(window),$doc=$(document),fullScreenApi="",userAgent=navigator.userAgent||navigator.vendor||window.opera,supportTouch=!!("ontouchstart"in window)&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(userAgent)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints,isMobile="MacIntel"===navigator.platform&&1<navigator.maxTouchPoints||/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|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|xda|xiino/i.test(userAgent)||/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(userAgent.substr(0,4)),clickEvent=supportTouch?"itap.iLightBox":"click.iLightBox",touchStartEvent=supportTouch?"touchstart.iLightBox":"mousedown.iLightBox",touchStopEvent=supportTouch?"touchend.iLightBox":"mouseup.iLightBox",touchMoveEvent=supportTouch?"touchmove.iLightBox":"mousemove.iLightBox",abs=Math.abs,sqrt=Math.sqrt,round=Math.round,max=Math.max,min=Math.min,floor=Math.floor,random=Math.random,pluginspages={quicktime:"http://www.apple.com/quicktime/download",flash:"http://www.adobe.com/go/getflash"},WPCP_iLightBox=function(e,t,i,o){var n=this;if(n.options=t,n.selector=e.selector||e,n.context=e.context,n.instant=o,1>i.length?n.attachItems():n.items=i,n.vars={total:n.items.length,start:0,current:null,next:null,prev:null,BODY:$("body"),loadRequests:0,overlay:$("<div class=\"ilightbox-overlay\"></div>"),loader:$("<div class=\"ilightbox-loader\"><div></div></div>"),toolbar:$("<div class=\"ilightbox-toolbar\"></div>"),innerToolbar:$("<div class=\"ilightbox-inner-toolbar\"></div>"),title:$("<div class=\"ilightbox-title\"></div>"),closeButton:$("<a class=\"ilightbox-close\" title=\""+n.options.text.close+"\"></a>"),fullScreenButton:$("<a class=\"ilightbox-fullscreen\" title=\""+n.options.text.enterFullscreen+"\"></a>"),innerPlayButton:$("<a class=\"ilightbox-play\" title=\""+n.options.text.slideShow+"\"></a>"),innerNextButton:$("<a class=\"ilightbox-next-button\" title=\""+n.options.text.next+"\"></a>"),innerPrevButton:$("<a class=\"ilightbox-prev-button\" title=\""+n.options.text.previous+"\"></a>"),downloadButton:$("<a class=\"ilightbox-download\"></a>"),holder:$("<div class=\"ilightbox-holder"+(supportTouch?" supportTouch":"")+(!0===n.options.header.show?" staticHeader":"")+"\" ondragstart=\"return false;\"><div class=\"ilightbox-container\"></div></div>"),nextPhoto:$("<div class=\"ilightbox-holder"+(supportTouch?" supportTouch":"")+(!0===n.options.header.show?" staticHeader":"")+" ilightbox-next\" ondragstart=\"return false;\"><div class=\"ilightbox-container\"></div></div>"),prevPhoto:$("<div class=\"ilightbox-holder"+(supportTouch?" supportTouch":"")+(!0===n.options.header.show?" staticHeader":"")+" ilightbox-prev\" ondragstart=\"return false;\"><div class=\"ilightbox-container\"></div></div>"),nextButton:$("<a class=\"ilightbox-button ilightbox-next-button\" ondragstart=\"return false;\" title=\""+n.options.text.next+"\"><span></span></a>"),prevButton:$("<a class=\"ilightbox-button ilightbox-prev-button\" ondragstart=\"return false;\" title=\""+n.options.text.previous+"\"><span></span></a>"),thumbnails:$("<div class=\"ilightbox-thumbnails\" ondragstart=\"return false;\"><div class=\"ilightbox-thumbnails-container\"><a class=\"ilightbox-thumbnails-dragger\"></a><div class=\"ilightbox-thumbnails-grid\"></div></div></div>"),thumbs:!1,nextLock:!1,prevLock:!1,hashLock:!1,isMobile:!1,mobileMaxWidth:980,isInFullScreen:!1,isSwipe:!1,mouseID:0,cycleID:0,isPaused:0},n.vars.hideableElements=n.vars.nextButton.add(n.vars.prevButton),n.normalizeItems(),n.availPlugins(),n.options.startFrom=0<n.options.startFrom&&n.options.startFrom>=n.vars.total?n.vars.total-1:n.options.startFrom,n.options.startFrom=n.options.randomStart?floor(random()*n.vars.total):n.options.startFrom,n.vars.start=n.options.startFrom,o?n.instantCall():n.patchItemsEvents(),n.options.linkId&&(n.hashChangeHandler(),$win.iLightBoxHashChange(function(){n.hashChangeHandler()})),!0!==n.options.header.show&&(n.options.headerHeight=0),supportTouch){var a=/(click|mouseenter|mouseleave|mouseover|mouseout)/gi;n.options.header.show="boolean"==typeof n.options.header.show?n.options.header.show:n.options.header.show.replace(a,"itap"),n.options.header.hide="boolean"==typeof n.options.header.hide?n.options.header.hide:n.options.header.hide.replace(a,"itap"),n.options.caption.show="boolean"==typeof n.options.caption.show?n.options.caption.show:n.options.caption.show.replace(a,"itap"),n.options.caption.hide="boolean"==typeof n.options.caption.hide?n.options.caption.hide:n.options.caption.hide.replace(a,"itap"),n.options.social.show="boolean"==typeof n.options.social.show?n.options.social.show:n.options.social.show.replace(a,"itap"),n.options.social.hide="boolean"==typeof n.options.social.hide?n.options.social.hide:n.options.social.hide.replace(a,"itap")}n.options.controls.arrows&&$.extend(n.options.styles,{nextOffsetX:0,prevOffsetX:0,nextOpacity:0,prevOpacity:0})};WPCP_iLightBox.prototype={showLoader:function(){var e=this;e.vars.loadRequests+=1,"horizontal"==e.options.path.toLowerCase()?e.vars.loader.addClass("ilightbox-show").stop().animate({top:"-30px"},e.options.show.speed,"easeOutCirc"):e.vars.loader.addClass("ilightbox-show").stop().animate({left:"-30px"},e.options.show.speed,"easeOutCirc")},hideLoader:function(){var e=this;e.vars.loadRequests-=1,e.vars.loadRequests=0>e.vars.loadRequests?0:e.vars.loadRequests,"horizontal"==e.options.path.toLowerCase()?0>=e.vars.loadRequests&&e.vars.loader.removeClass("ilightbox-show").stop().animate({top:"-192px"},e.options.show.speed,"easeInCirc"):0>=e.vars.loadRequests&&e.vars.loader.removeClass("ilightbox-show").stop().animate({left:"-192px"},e.options.show.speed,"easeInCirc")},createUI:function(){var e=this;e.ui={currentElement:e.vars.holder,nextElement:e.vars.nextPhoto,prevElement:e.vars.prevPhoto,currentItem:e.vars.current,nextItem:e.vars.next,prevItem:e.vars.prev,hide:function(){e.closeAction()},refresh:function(){0<arguments.length?e.repositionPhoto(!0):e.repositionPhoto()},fullscreen:function(){e.fullScreenAction()}}},attachItems:function(){var iL=this,itemsObject=[],items=[];$(iL.selector,iL.context).each(function(){var t=$(this),URL=t.attr(iL.options.attr)||null,options=t.data("options")&&eval("({"+t.data("options")+"})")||{},caption=t.data("caption"),entryId=t.data("entry-id"),title=t.data("title")||t.attr("title"),type=t.data("type")||getTypeByExtension(URL);items.push({URL:URL,caption:caption,entryId:entryId,title:title,type:type,options:options}),iL.instant||itemsObject.push(t)}),iL.items=items,iL.itemsObject=itemsObject},normalizeItems:function(){var e=this,t=[];$.each(e.items,function(i,o){"string"==typeof o&&(o={url:o});var n=o.url||o.URL||null,a=o.options||{},s=o.caption||null,l=o.entryId||null,r=o.title||null,d=o.type?o.type.toLowerCase():getTypeByExtension(n),c="object"==typeof n?"":getExtension(n);a.thumbnail=a.thumbnail||("image"==d?n:null),a.videoType=a.videoType||null,a.skin=a.skin||e.options.skin,a.width=a.width||null,a.height=a.height||null,a.mousewheel=!("undefined"!=typeof a.mousewheel)||a.mousewheel,a.swipe=!("undefined"!=typeof a.swipe)||a.swipe,a.social="undefined"==typeof a.social?e.options.social.buttons&&$.extend({},{},e.options.social.buttons):a.social,"video"==d&&(a.html5video="undefined"==typeof a.html5video?{}:a.html5video,a.html5video.webm=a.html5video.webm||a.html5video.WEBM||null,a.html5video.controls="undefined"==typeof a.html5video.controls?"controls":a.html5video.controls,a.html5video.preload=a.html5video.preload||"metadata",a.html5video.autoplay="undefined"!=typeof a.html5video.autoplay&&a.html5video.autoplay),a.width&&a.height||("video"==d?(a.width=1280,a.height=720):"iframe"==d?(a.width="100%",a.height="90%"):"flash"==d&&(a.width=1280,a.height=720)),delete o.url,o.index=i,o.URL=n,o.caption=s,o.entryId=l,o.title=r,o.type=d,o.options=a,o.ext=c,t.push(o)}),e.items=t},instantCall:function(){var e=this,t=e.vars.start;e.vars.current=t,e.vars.next=e.items[t+1]?t+1:null,e.vars.prev=e.items[t-1]?t-1:null,e.addContents(),e.patchEvents()},addContents:function(){var e=this,t=e.vars,i=e.options,o=getViewport(),n=i.path.toLowerCase(),a=0<t.total&&e.items.filter(function(t){return-1===["image","flash","video"].indexOf(t.type)&&"undefined"==typeof t.recognized&&(i.smartRecognition||t.options.smartRecognition)}),s=0<a.length;i.mobileOptimizer&&!i.innerToolbar&&(t.isMobile=o.width<=t.mobileMaxWidth),t.overlay.addClass(i.skin).hide().css("opacity",i.overlay.opacity),i.linkId&&t.overlay[0].setAttribute("linkid",i.linkId),i.controls.toolbar&&(t.toolbar.addClass(i.skin).append(t.closeButton),i.controls.fullscreen&&t.toolbar.append(t.fullScreenButton),i.controls.slideshow&&t.toolbar.append(t.innerPlayButton),1<t.total&&t.toolbar.append(t.innerPrevButton).append(t.innerNextButton),i.candownload&&t.toolbar.append(t.downloadButton)),t.BODY.addClass("ilightbox-noscroll").append(t.overlay).append(t.loader).append(t.holder).append(t.nextPhoto).append(t.prevPhoto),i.innerToolbar||t.BODY.append(t.toolbar),i.controls.arrows&&t.BODY.append(t.nextButton).append(t.prevButton),i.controls.thumbnail&&1<t.total&&(t.BODY.append(t.thumbnails),t.thumbnails.addClass(i.skin).addClass("ilightbox-"+n),$("div.ilightbox-thumbnails-grid",t.thumbnails).empty(),t.thumbs=!0);var l="horizontal"==i.path.toLowerCase()?{left:parseInt(o.width/2-t.loader.outerWidth()/2)}:{top:parseInt(o.height/2-t.loader.outerHeight()/2)};t.loader.addClass(i.skin).css(l),t.nextButton.add(t.prevButton).addClass(i.skin),"horizontal"==n&&t.loader.add(t.nextButton).add(t.prevButton).addClass("horizontal"),t.BODY[t.isMobile?"addClass":"removeClass"]("isMobile"),i.infinite||(t.prevButton.add(t.prevButton).add(t.innerPrevButton).add(t.innerNextButton).removeClass("disabled"),0==t.current&&t.prevButton.add(t.innerPrevButton).addClass("disabled"),t.current>=t.total-1&&t.nextButton.add(t.innerNextButton).addClass("disabled")),i.show.effect?(t.overlay.stop().fadeIn(i.show.speed),t.toolbar.stop().fadeIn(i.show.speed)):(t.overlay.show(),t.toolbar.show());var r=a.length;s?(e.showLoader(),$.each(a,function(){var o=function(o){console.log(o);var n=-1,a=e.items.filter(function(t,e){return t.URL==o.url&&(n=e),t.URL==o.url}),s=e.items[n];o&&$.extend(!0,s,{URL:o.source,type:o.type,recognized:!0,options:{html5video:o.html5video,width:"image"==o.type?0:o.width||s.width,height:"image"==o.type?0:o.height||s.height,thumbnail:s.options.thumbnail||o.thumbnail}}),r--,0==r&&(e.hideLoader(),t.dontGenerateThumbs=!1,e.generateThumbnails(),i.show.effect?setTimeout(function(){e.generateBoxes()},i.show.speed):e.generateBoxes())};e.ogpRecognition(this,o)})):i.show.effect?setTimeout(function(){e.generateBoxes()},i.show.speed):e.generateBoxes(),e.createUI(),window.WPCP_iLightBox={close:function(){e.closeAction()},fullscreen:function(){e.fullScreenAction()},moveNext:function(){e.moveTo("next")},movePrev:function(){e.moveTo("prev")},goTo:function(t){e.goTo(t)},refresh:function(){e.refresh()},reposition:function(){0<arguments.length?e.repositionPhoto(!0):e.repositionPhoto()},setOption:function(t){e.setOption(t)},destroy:function(){e.closeAction(),e.dispatchItemsEvents()},il:e},i.linkId&&(t.hashLock=!0,window.location.hash=i.linkId+"/"+t.current,setTimeout(function(){t.hashLock=!1},55)),i.slideshow.startPaused||(e.resume(),t.innerPlayButton.removeClass("ilightbox-play").addClass("ilightbox-pause")),"function"==typeof e.options.callback.onOpen&&e.options.callback.onOpen.call(e)},loadContent:function(e,t,i){var o,n,a=this;if(a.createUI(),e.speed=i||a.options.effects.loadedFadeSpeed,"current"==t&&(a.vars.lockWheel=!e.options.mousewheel,a.vars.lockSwipe=!e.options.swipe),"current"===t?(o=a.vars.holder,n=a.vars.current):"next"===t?(o=a.vars.nextPhoto,n=a.vars.next):"prev"===t?(o=a.vars.prevPhoto,n=a.vars.prev):void 0,(o.removeAttr("style class").addClass("ilightbox-holder"+(supportTouch?" supportTouch":"")+(!0===a.options.header.show?" staticHeader":"")).addClass(e.options.skin),$("div.ilightbox-inner-toolbar",o).remove(),$("div.ilightbox-header",o).remove(),a.options.innerToolbar)){var s=a.vars.innerToolbar.clone();if(e.title&&a.options.show.title){var l=a.vars.title.clone();l.empty().html(e.title),s.append(l)}a.options.innerToolbar&&s.append(1<a.vars.total?a.vars.toolbar.clone():a.vars.toolbar),o.prepend(s)}a.loadSwitcher(e,o,n,t)},loadSwitcher:function(e,t,i,o){var n=this,a=n.options,s={element:t,position:i};switch(e.type){case"image":"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,i),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,s),n.loadImage(e.URL,function(l){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,s);var r=l?l.width:400,d=l?l.height:200;t.data({naturalWidth:r,naturalHeight:d}),$("div.ilightbox-container",t).empty().append(l?"<img src=\""+e.URL+"\" class=\"ilightbox-image\" alt=\""+(null===e.caption?e.title:e.caption)+"\" referrerpolicy=\"no-referrer\"/>":"<span class=\"ilightbox-alert\">"+a.errors.loadImage+"</span>");var c=$(".ilightbox-container img",t);if(0===c.closest(".panzoom-container").length){c.wrap("<div class=\"panzoom-container\"></div>");var h=Panzoom(c.get(0),{cursor:"auto",minScale:1,maxScale:10,panOnlyWhenZoomed:!0,contain:"outside"});c.parent().get(0).addEventListener("wheel",function(e){e.shiftKey&&(e.stopPropagation(),h.zoomWithWheel(e))})}"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,s),n.configureHolder(e,o,t)});break;case"video":t.data({naturalWidth:e.options.width,naturalHeight:e.options.height}),"current"===o?(n.addContent(t,e),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,s)):$("div.ilightbox-container",t).empty(),n.configureHolder(e,o,t);break;case"iframe":if(t.data({naturalWidth:e.options.width,naturalHeight:e.options.height}),n.configureHolder(e,o,t),"current"===o){var l=n.addContent(t,e);"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,s),"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,i),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,s),l.on("load",function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,s),l.off("load")})}else $("div.ilightbox-container",t).empty();break;case"inline":var l=$(e.URL),r=n.addContent(t,e),d=findImageInElement(t);t.data({naturalWidth:n.items[i].options.width||l.outerWidth(),naturalHeight:n.items[i].options.height||l.outerHeight()}),r.children().eq(0).show(),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,s),"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,i),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,s),n.loadImage(d,function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,s),n.configureHolder(e,o,t)});break;case"flash":var l=n.addContent(t,e);t.data({naturalWidth:n.items[i].options.width||l.outerWidth(),naturalHeight:n.items[i].options.height||l.outerHeight()}),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,s),n.configureHolder(e,o,t);break;case"ajax":var c=e.options.ajax||{};"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,i),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,s),n.showLoader(),$.ajax({url:e.URL||a.ajaxSetup.url,data:c.data||null,dataType:c.dataType||"html",type:c.type||a.ajaxSetup.type,cache:c.cache||a.ajaxSetup.cache,crossDomain:c.crossDomain||a.ajaxSetup.crossDomain,global:c.global||a.ajaxSetup.global,ifModified:c.ifModified||a.ajaxSetup.ifModified,username:c.username||a.ajaxSetup.username,password:c.password||a.ajaxSetup.password,beforeSend:c.beforeSend||a.ajaxSetup.beforeSend,complete:c.complete||a.ajaxSetup.complete,success:function(l,r,d){n.hideLoader();var h=$(l),p=$("div.ilightbox-container",t),u=n.items[i].options.width||parseInt(h[0].getAttribute("width")),f=n.items[i].options.height||parseInt(h[0].getAttribute("height")),m=h[0].getAttribute("width")&&h[0].getAttribute("height")?{overflow:"hidden"}:{};p.empty().append($("<div class=\"ilightbox-wrapper\"></div>").css(m).html(h)),t.show().data({naturalWidth:u||p.outerWidth(),naturalHeight:f||p.outerHeight()}).hide(),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,s);var g=findImageInElement(t);n.loadImage(g,function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,s),n.configureHolder(e,o,t)}),a.ajaxSetup.success(l,r,d),"function"==typeof c.success&&c.success(l,r,d)},error:function(l,r,d){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,s),n.hideLoader(),$("div.ilightbox-container",t).empty().append("<span class=\"ilightbox-alert\">"+a.errors.loadContents+"</span>"),n.configureHolder(e,o,t),a.ajaxSetup.error(l,r,d),"function"==typeof c.error&&c.error(l,r,d)}});break;case"html":var l,h=e.URL;if(container=$("div.ilightbox-container",t),h[0].nodeName)l=h.clone();else{var p=$(h);l=p.selector?$("<div>"+p+"</div>"):p}var u=n.items[i].options.width||parseInt(l.attr("width")),f=n.items[i].options.height||parseInt(l.attr("height"));n.addContent(t,e),l.appendTo(document.documentElement).hide(),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,s);var d=findImageInElement(t);"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,i),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,s),n.loadImage(d,function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,s),t.show().data({naturalWidth:u||container.outerWidth(),naturalHeight:f||container.outerHeight()}).hide(),l.remove(),n.configureHolder(e,o,t)});}},configureHolder:function(e,t,i){var o=this,n=o.vars,a=o.options;if("current"!=t&&("next"==t?i.addClass("ilightbox-next"):i.addClass("ilightbox-prev")),"current"==t)var s=n.current;else if("next"==t)var l=a.styles.nextOpacity,s=n.next;else var l=a.styles.prevOpacity,s=n.prev;var r={element:i,position:s};if(o.items[s].options.width=o.items[s].options.width||0,o.items[s].options.height=o.items[s].options.height||0,"current"==t){if(e.caption){o.setCaption(e,i);var d=$("div.ilightbox-caption",i),c=parseInt(100*(d.outerHeight()/i.outerHeight()));a.caption.start&50>=c&&d.fadeIn(a.effects.fadeSpeed)}if(e.entryId){o.setHeader(e,i);var h=$("div.ilightbox-header",i);a.header.start&&h.fadeIn(a.effects.fadeSpeed)}a.show.effect?i.css(transform,gpuAcceleration).fadeIn(e.speed,function(){i.css(transform,"");var t=e.options.social;t&&(o.setSocial(t,e.URL,i),a.social.start&&$("div.ilightbox-social",i).fadeIn(a.effects.fadeSpeed)),o.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(o,o.ui,s),"function"==typeof e.options.onShow&&e.options.onShow.call(o,r)}):(i.show(),o.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(o,o.ui,s),"function"==typeof e.options.onShow&&e.options.onShow.call(o,r))}else a.show.effect?i.fadeTo(e.speed,l,function(){"next"==t?n.nextLock=!1:n.prevLock=!1,o.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(o,o.ui,s),"function"==typeof e.options.onShow&&e.options.onShow.call(o,r)}):(i.css({opacity:l}).show(),"next"==t?n.nextLock=!1:n.prevLock=!1,o.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(o,o.ui,s),"function"==typeof e.options.onShow&&e.options.onShow.call(o,r));setTimeout(function(){o.repositionPhoto()},0)},generateBoxes:function(){var e=this,t=e.vars,i=e.options;i.infinite&&3<=t.total?(t.current==t.total-1&&(t.next=0),0==t.current&&(t.prev=t.total-1)):i.infinite=!1,e.loadContent(e.items[t.current],"current",i.show.speed),e.items[t.next]&&e.loadContent(e.items[t.next],"next",i.show.speed),e.items[t.prev]&&e.loadContent(e.items[t.prev],"prev",i.show.speed)},generateThumbnails:function(){var e=this,t=e.vars,o=e.options,n=null;if(t.thumbs&&!e.vars.dontGenerateThumbs){var a=t.thumbnails,s=$("div.ilightbox-thumbnails-container",a),l=$("div.ilightbox-thumbnails-grid",s),r=0;l.removeAttr("style").empty(),$.each(e.items,function(i,d){var c=t.current==i?"ilightbox-active":"",h=t.current==i?o.thumbnails.activeOpacity:o.thumbnails.normalOpacity,p=d.options.thumbnail,u=$("<div class=\"ilightbox-thumbnail\"></div>"),f=$("<div class=\"ilightbox-thumbnail-icon\"></div>");u.css({opacity:0}).addClass(c),("video"==d.type||"flash"==d.type)&&"undefined"==typeof d.options.icon?(f.addClass("ilightbox-thumbnail-video"),u.append(f)):d.options.icon&&(f.addClass("ilightbox-thumbnail-"+d.options.icon),u.append(f)),p&&(r++,u.append("<img class=\"preloading preloading-lightbox-thumbnail\" src=\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" data-src=\""+p+"\" data-src-retina=\""+p+"\" data-src-backup=\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\""+d.title+"\" border=\"0\" />"),clearTimeout(n),n=setTimeout(function(){e.positionThumbnails(a,s,l)},20),setTimeout(function(){u.fadeTo(o.effects.loadedFadeSpeed,h)},20*r)),l.append(u)}),e.vars.dontGenerateThumbs=!0}},positionThumbnails:function(e,t,i){var o=this,n=o.vars,a=o.options,s=getViewport(),l=a.path.toLowerCase();e||(e=n.thumbnails),t||(t=$("div.ilightbox-thumbnails-container",e)),i||(i=$("div.ilightbox-thumbnails-grid",t));var r=$(".ilightbox-thumbnail",i),d="horizontal"==l?s.width-a.styles.pageOffsetX:r.eq(0).outerWidth()-a.styles.pageOffsetX,c="horizontal"==l?r.eq(0).outerHeight()-a.styles.pageOffsetY:s.height-a.styles.pageOffsetY,h="horizontal"==l?0:d,p="horizontal"==l?c:0,u=$(".ilightbox-active",i),f={};3>arguments.length&&(r.css({opacity:a.thumbnails.normalOpacity}),u.css({opacity:a.thumbnails.activeOpacity})),r.each(function(){var e=$(this),t=e.data(),i="horizontal"==l?0:a.thumbnails.maxWidth;height="horizontal"==l?a.thumbnails.maxHeight:0,dims=o.getNewDimenstions(i,height,t.naturalWidth,t.naturalHeight,!0),e.css({width:dims.width,height:dims.height}),"horizontal"==l&&e.css({float:"left"}),"horizontal"==l?h+=e.outerWidth():p+=e.outerHeight()}),f={width:h,height:p},i.css(f),f={};var m=i.offset(),g=u.length?u.offset():{top:parseInt(c/2),left:parseInt(d/2)};m.top-=$doc.scrollTop(),m.left-=$doc.scrollLeft(),g.top=g.top-m.top-$doc.scrollTop(),g.left=g.left-m.left-$doc.scrollLeft(),"horizontal"==l?(f.top=0,f.left=parseInt(d/2-g.left-u.outerWidth()/2)):(f.top=parseInt(c/2-g.top-u.outerHeight()/2),f.left=0),3>arguments.length?i.stop().animate(f,a.effects.repositionSpeed,"easeOutCirc"):i.css(f)},loadImage:function(e,t){$.isArray(e)||(e=[e]);var i=this,o=e.length;0<o?(i.showLoader(),$.each(e,function(n){var a=new Image;a.referrerPolicy='no-referrer';a.onload=function(){o-=1,0==o&&(i.hideLoader(),t(a))},a.onerror=a.onabort=function(){o-=1,0==o&&(i.hideLoader(),t(!1))},a.src=e[n]})):t(!1)},patchItemsEvents:function(){var e=this,t=e.vars,i=supportTouch?"itap.iL":"click.iL",o=supportTouch?"click.iL":"itap.iL";if(e.context&&e.selector){var n=$(e.selector,e.context);$(e.context).on(i,e.selector,function(){var i=$(this),o=n.index(i);return t.current=o,t.next=e.items[o+1]?o+1:null,t.prev=e.items[o-1]?o-1:null,e.addContents(),e.patchEvents(),!1}).on(o,e.selector,function(){return!1})}else $.each(e.itemsObject,function(n,a){a.on(i,function(i){if(supportTouch){let e=$(i.target).closest(".entry");if(e.length&&!1===e.hasClass("hasfocus")&&!1===e.hasClass("is-selected"))return!0}return t.current=n,t.next=e.items[n+1]?n+1:null,t.prev=e.items[n-1]?n-1:null,e.addContents(),e.patchEvents(),!1}).on(o,function(e){e.preventDefault()})})},dispatchItemsEvents:function(){var e=this,t=e.vars,i=e.options;e.context&&e.selector?$(e.context).off(".iL",e.selector):$.each(e.itemsObject,function(e,t){t.off(".iL")})},refresh:function(){var e=this;e.dispatchItemsEvents(),e.attachItems(),e.normalizeItems(),e.patchItemsEvents()},patchEvents:function(){var i=this,o=i.vars,n=i.options,a=n.path.toLowerCase(),s=$(".ilightbox-holder"),l=fullScreenApi.fullScreenEventName+".iLightBox",r=verticalDistanceThreshold=100,d=[o.nextButton[0],o.prevButton[0],o.nextButton[0].firstChild,o.prevButton[0].firstChild];$win.on("resize.iLightBox",function(){var e=getViewport();n.mobileOptimizer&&!n.innerToolbar&&(o.isMobile=e.width<=o.mobileMaxWidth),o.BODY[o.isMobile?"addClass":"removeClass"]("isMobile"),i.repositionPhoto(),supportTouch&&(clearTimeout(o.setTime),o.setTime=setTimeout(function(){var e=getScrollXY().y;window.scrollTo(0,e-30),window.scrollTo(0,e+30),window.scrollTo(0,e)},2e3)),o.thumbs&&i.positionThumbnails()}).on("keydown.iLightBox",function(e){if(n.controls.keyboard)switch(e.keyCode){case 13:e.shiftKey&&n.keyboard.shift_enter&&i.fullScreenAction();break;case 27:n.keyboard.esc&&i.closeAction();break;case 37:n.keyboard.left&&!o.lockKey&&i.moveTo("prev");break;case 38:n.keyboard.up&&!o.lockKey&&i.moveTo("prev");break;case 39:n.keyboard.right&&!o.lockKey&&i.moveTo("next");break;case 40:n.keyboard.down&&!o.lockKey&&i.moveTo("next");}}),fullScreenApi.supportsFullScreen&&$win.on(l,function(){i.doFullscreen()});var c=[n.header.show+".iLightBox",n.header.hide+".iLightBox",n.caption.show+".iLightBox",n.caption.hide+".iLightBox",n.social.show+".iLightBox",n.social.hide+".iLightBox"].filter(function(t,e,i){return i.lastIndexOf(t)===e}),h="";$.each(c,function(e,t){0!=e&&(h+=" "),h+=t}),$doc.on(clickEvent,".ilightbox-overlay",function(){n.overlay.blur&&i.closeAction()}).on(clickEvent,".ilightbox-next, .ilightbox-next-button",function(){i.moveTo("next")}).on(clickEvent,".ilightbox-prev, .ilightbox-prev-button",function(){i.moveTo("prev")}).on(clickEvent,".ilightbox-thumbnail",function(){var e=$(this),t=$(".ilightbox-thumbnail",o.thumbnails),n=t.index(e);n!=o.current&&i.goTo(n)}).on(h,".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(t){var e=$("div.ilightbox-header",o.holder),i=$("div.ilightbox-caption",o.holder),a=$("div.ilightbox-social",o.holder),s=n.effects.fadeSpeed;o.nextLock||o.prevLock?(t.type!=n.header.show||e.is(":visible")?t.type==n.header.hide&&e.is(":visible")&&e.fadeOut(s):e.fadeIn(s),t.type!=n.caption.show||i.is(":visible")?t.type==n.caption.hide&&i.is(":visible")&&i.fadeOut(s):i.fadeIn(s),t.type!=n.social.show||a.is(":visible")?t.type==n.social.hide&&a.is(":visible")&&a.fadeOut(s):a.fadeIn(s)):(t.type!=n.header.show||e.is(":visible")?t.type==n.header.hide&&e.is(":visible")&&e.stop().fadeOut(s):e.stop().fadeIn(s),t.type!=n.caption.show||i.is(":visible")?t.type==n.caption.hide&&i.is(":visible")&&i.stop().fadeOut(s):i.stop().fadeIn(s),t.type!=n.social.show||a.is(":visible")?t.type==n.social.hide&&a.is(":visible")&&a.stop().fadeOut(s):a.stop().fadeIn(s))}).on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-wrapper",function(t){o.lockWheel=!("mouseenter"!=t.type)}).on(clickEvent,".ilightbox-toolbar a.ilightbox-close, .ilightbox-toolbar a.ilightbox-fullscreen, .ilightbox-toolbar a.ilightbox-play, .ilightbox-toolbar a.ilightbox-pause, .ilightbox-toolbar a.ilightbox-download",function(o){var e=$(this);if(e.hasClass("ilightbox-fullscreen"))i.fullScreenAction();else if(e.hasClass("ilightbox-play"))i.resume(),e.addClass("ilightbox-pause").removeClass("ilightbox-play");else if(e.hasClass("ilightbox-pause"))i.pause(),e.addClass("ilightbox-play").removeClass("ilightbox-pause");else if(e.hasClass("ilightbox-download")){var t=i.items[i.vars.current],n=i.options.WPCP.element.find(".entry[data-id=\""+t.entryId+"\"]:first a.entry_action_download:first");$(this).attr("href",n.attr("href"))}else o.preventDefault(),o.stopPropagation(),i.closeAction()}).on(touchMoveEvent,".ilightbox-overlay, .ilightbox-thumbnails-container",function(t){t.preventDefault()}),n.controls.arrows&&!supportTouch&&$doc.on("mousemove.iLightBox",function(t){o.isMobile||(!o.mouseID&&o.hideableElements.show(),o.mouseID=clearTimeout(o.mouseID),-1===d.indexOf(t.target)&&(o.mouseID=setTimeout(function(){o.hideableElements.hide(),o.mouseID=clearTimeout(o.mouseID)},3e3)))}),n.controls.slideshow&&n.slideshow.pauseOnHover&&$doc.on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(t){"mouseenter"==t.type&&o.cycleID?i.pause():"mouseleave"==t.type&&o.isPaused&&i.resume()});var p=$(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails");n.controls.mousewheel&&p.on("mousewheel.iLightBox",function(e,t){o.lockWheel||(e.preventDefault(),0>t?i.moveTo("next"):0<t&&i.moveTo("prev"))}),n.controls.swipe&&s.on(touchStartEvent,function(e){function t(e){var i=$(this),t=m[e],o=[g.coords[0]-c.coords[0],g.coords[1]-c.coords[1]];i[0].style["horizontal"==a?"left":"top"]=("horizontal"==a?t.left-o[0]:t.top-o[1])+"px"}function l(e){if(g){var i=e.originalEvent.touches?e.originalEvent.touches[0]:e;c={time:new Date().getTime(),coords:[i.pageX-u,i.pageY-p]},s.each(t),e.preventDefault()}}function d(){s.each(function(){var e=$(this),t=e.data("offset")||{top:e.offset().top-p,left:e.offset().left-u},i=t.top,o=t.left;e.css(transform,gpuAcceleration).stop().animate({top:i,left:o},500,"easeOutCirc",function(){e.css(transform,"")})})}if(!(o.nextLock||o.prevLock||1==o.total||o.lockSwipe)){o.BODY.addClass("ilightbox-closedhand");var c,h=e.originalEvent.touches?e.originalEvent.touches[0]:e,p=$doc.scrollTop(),u=$doc.scrollLeft(),f=[s.eq(0).offset(),s.eq(1).offset(),s.eq(2).offset()],m=[{top:f[0].top-p,left:f[0].left-u},{top:f[1].top-p,left:f[1].left-u},{top:f[2].top-p,left:f[2].left-u}],g={time:new Date().getTime(),coords:[h.pageX-u,h.pageY-p]};s.on(touchMoveEvent,l),$doc.one(touchStopEvent,function(){s.off(touchMoveEvent,l),o.BODY.removeClass("ilightbox-closedhand"),g&&c&&("horizontal"==a&&1000>c.time-g.time&&abs(g.coords[0]-c.coords[0])>r&&abs(g.coords[1]-c.coords[1])<verticalDistanceThreshold?g.coords[0]>c.coords[0]?o.current!=o.total-1||n.infinite?(o.isSwipe=!0,i.moveTo("next")):d():0!=o.current||n.infinite?(o.isSwipe=!0,i.moveTo("prev")):d():"vertical"==a&&1000>c.time-g.time&&abs(g.coords[1]-c.coords[1])>r&&abs(g.coords[0]-c.coords[0])<verticalDistanceThreshold?g.coords[1]>c.coords[1]?o.current!=o.total-1||n.infinite?(o.isSwipe=!0,i.moveTo("next")):d():0!=o.current||n.infinite?(o.isSwipe=!0,i.moveTo("prev")):d():d()),g=c=void 0})}})},goTo:function(e){var t=this,i=t.vars,o=t.options,n=e-i.current;if(o.infinite&&(e==i.total-1&&0==i.current&&(n=-1),i.current==i.total-1&&0==e&&(n=1)),1==n)t.moveTo("next");else if(-1==n)t.moveTo("prev");else{if(i.nextLock||i.prevLock)return!1;"function"==typeof o.callback.onBeforeChange&&o.callback.onBeforeChange.call(t,t.ui),o.linkId&&(i.hashLock=!0,window.location.hash=o.linkId+"/"+e),t.items[e]&&(t.items[e].options.mousewheel?t.vars.lockWheel=!1:i.lockWheel=!0,i.lockSwipe=!t.items[e].options.swipe),$.each([i.holder,i.nextPhoto,i.prevPhoto],function(e,t){t.css(transform,gpuAcceleration).fadeOut(o.effects.loadedFadeSpeed)}),i.current=e,i.next=e+1,i.prev=e-1,t.createUI(),setTimeout(function(){t.generateBoxes()},o.effects.loadedFadeSpeed+50),$(".ilightbox-thumbnail",i.thumbnails).removeClass("ilightbox-active").eq(e).addClass("ilightbox-active"),t.positionThumbnails(),o.linkId&&setTimeout(function(){i.hashLock=!1},55),o.infinite||(i.nextButton.add(i.prevButton).add(i.innerPrevButton).add(i.innerNextButton).removeClass("disabled"),0==i.current&&i.prevButton.add(i.innerPrevButton).addClass("disabled"),i.current>=i.total-1&&i.nextButton.add(i.innerNextButton).addClass("disabled")),t.resetCycle(),"function"==typeof o.callback.onAfterChange&&o.callback.onAfterChange.call(t,t.ui)}},moveTo:function(e){var t=this,i=t.vars,o=t.options,n=o.path.toLowerCase(),a=getViewport(),s=o.effects.switchSpeed;if(i.nextLock||i.prevLock)return!1;var l="next"==e?i.next:i.prev;if(o.linkId&&(i.hashLock=!0,window.location.hash=o.linkId+"/"+l),"next"==e){if(!t.items[l])return!1;var r=i.nextPhoto,d=i.holder,c=i.prevPhoto,h="ilightbox-prev",p="ilightbox-next"}else if("prev"==e){if(!t.items[l])return!1;var r=i.prevPhoto,d=i.holder,c=i.nextPhoto,h="ilightbox-next",p="ilightbox-prev"}"function"==typeof o.callback.onBeforeChange&&o.callback.onBeforeChange.call(t,t.ui),"next"==e?i.nextLock=!0:i.prevLock=!0;var u=$("div.ilightbox-header",d),f=$("div.ilightbox-caption",d),m=$("div.ilightbox-social",d);if(u.length&&u.stop().fadeOut(s,function(){$(this).remove()}),f.length&&f.stop().fadeOut(s,function(){$(this).remove()}),m.length&&m.stop().fadeOut(s,function(){$(this).remove()}),t.items[l].caption){t.setCaption(t.items[l],r);var g=$("div.ilightbox-caption",r),v=parseInt(100*(g.outerHeight()/r.outerHeight()));o.caption.start&&50>=v&&g.fadeIn(s)}if(t.items[l].entryId){t.setHeader(t.items[l],r);var b=$("div.ilightbox-header",r);o.header.start&&b.fadeIn(s)}var x=t.items[l].options.social;x&&(t.setSocial(x,t.items[l].URL,r),o.social.start&&$("div.ilightbox-social",r).fadeIn(o.effects.fadeSpeed)),$.each([r,d,c],function(e,t){t.removeClass("ilightbox-next ilightbox-prev")});var w=r.data("offset"),y=a.width-o.styles.pageOffsetX,S=a.height-o.styles.pageOffsetY-o.headerHeight,L=w.newDims.width,C=w.newDims.height,k=w.thumbsOffset,A=w.diff,B=parseInt(S/2-C/2-A.H-k.H/2),O=parseInt(y/2-L/2-A.W-k.W/2);r.css(transform,gpuAcceleration).animate({top:B,left:O,opacity:1},s,i.isSwipe?"easeOutCirc":"easeInOutCirc",function(){r.css(transform,"")}),$("div.ilightbox-container",r).animate({width:L,height:C},s,i.isSwipe?"easeOutCirc":"easeInOutCirc");var I=d.data("offset"),T=I.object;A=I.diff,L=I.newDims.width,C=I.newDims.height,L=parseInt(L*o.styles["next"==e?"prevScale":"nextScale"]),C=parseInt(C*o.styles["next"==e?"prevScale":"nextScale"]),B="horizontal"==n?parseInt(S/2-T.offsetY-C/2-A.H-k.H/2):parseInt(S-T.offsetX-A.H-k.H/2),"prev"==e?O="horizontal"==n?parseInt(y-T.offsetX-A.W-k.W/2):parseInt(y/2-L/2-A.W-T.offsetY-k.W/2):(B="horizontal"==n?B:parseInt(T.offsetX-A.H-C-k.H/2),O="horizontal"==n?parseInt(T.offsetX-A.W-L-k.W/2):parseInt(y/2-T.offsetY-L/2-A.W-k.W/2)),$("div.ilightbox-container",d).animate({width:L,height:C},s,i.isSwipe?"easeOutCirc":"easeInOutCirc"),d.addClass(h).css(transform,gpuAcceleration).animate({top:B,left:O,opacity:o.styles.prevOpacity},s,i.isSwipe?"easeOutCirc":"easeInOutCirc",function(){d.css(transform,""),$(".ilightbox-thumbnail",i.thumbnails).removeClass("ilightbox-active").eq(l).addClass("ilightbox-active"),t.positionThumbnails(),t.items[l]&&(i.lockWheel=!t.items[l].options.mousewheel,i.lockSwipe=!t.items[l].options.swipe),i.isSwipe=!1,-1!==["iframe","video"].indexOf(t.items[i.current].type)&&$("div.ilightbox-container",d).empty(),"next"==e?(i.nextPhoto=c,i.prevPhoto=d,i.holder=r,i.nextPhoto.hide(),++i.next,i.prev=i.current,++i.current,o.infinite&&(i.current>i.total-1&&(i.current=0),i.current==i.total-1&&(i.next=0),0==i.current&&(i.prev=i.total-1)),t.createUI(),t.items[i.next]?t.loadContent(t.items[i.next],"next"):i.nextLock=!1):(i.prevPhoto=c,i.nextPhoto=d,i.holder=r,i.prevPhoto.hide(),i.next=i.current,i.current=i.prev,i.prev=i.current-1,o.infinite&&(i.current==i.total-1&&(i.next=0),0==i.current&&(i.prev=i.total-1)),t.createUI(),t.items[i.prev]?t.loadContent(t.items[i.prev],"prev"):i.prevLock=!1),-1!==["iframe","video"].indexOf(t.items[i.current].type)&&t.loadContent(t.items[i.current],"current"),o.linkId&&setTimeout(function(){i.hashLock=!1},55),o.infinite||(i.nextButton.add(i.prevButton).add(i.innerPrevButton).add(i.innerNextButton).removeClass("disabled"),0==i.current&&i.prevButton.add(i.innerPrevButton).addClass("disabled"),i.current>=i.total-1&&i.nextButton.add(i.innerNextButton).addClass("disabled")),t.repositionPhoto(),t.resetCycle(),"function"==typeof o.callback.onAfterChange&&o.callback.onAfterChange.call(t,t.ui)}),B="horizontal"==n?getPixel(c,"top"):"next"==e?parseInt(-(S/2)-c.outerHeight()):parseInt(2*B),O="horizontal"==n?"next"==e?parseInt(-(y/2)-c.outerWidth()):parseInt(2*O):getPixel(c,"left"),c.css(transform,gpuAcceleration).animate({top:B,left:O,opacity:o.styles.nextOpacity},s,i.isSwipe?"easeOutCirc":"easeInOutCirc",function(){c.css(transform,"")}).addClass(p)},setCaption:function(e,t){var i=this,o=$("<div class=\"ilightbox-caption panzoom-exclude lightbox-caption-inside\"></div>");!1===i.options.caption.show||e.caption&&(o.html("<p>"+e.caption+"</p>"),$("div.ilightbox-container",t).append(o))},positionCaption:function(e,t){var i=this,o=$(".ilightbox-caption",t)},setHeader:function(e,t){var i=this,o=$("<div class=\"ilightbox-header panzoom-exclude\"></div>");if(!1!==i.options.header.show&&(!0!==i.options.header.show&&o.addClass("ilightbox-header-overlay ilightbox-header-accent"),i.options.WPCP.options.topContainer.hasClass("files")&&o.addClass("ilightbox-header-accent"),!!e.entryId)){t.prepend(o);var n=i.options.WPCP.element.find(".entry[data-id=\""+e.entryId+"\"]:first").find(".entry-info");n.clone(!0).appendTo(o),o.find(".entry-action-menu-button ul li a").each(function(e,t){($(t).hasClass("entry_action_view")||$(t).hasClass("entry_action_external_view"))&&$(t).parent().remove()}),o.find(".entry-action-menu-button ul li").length?tippy(o.find(".entry-action-menu-button").get(0),{trigger:"click",content:function(e){return $(e).find(".tippy-content-holder").clone(!0).get(0)},maxWidth:350,allowHTML:!0,placement:self.is_rtl?"bottom-start":"bottom-end",appendTo:o.get(0),moveTransition:"transform 0.2s ease-out",interactive:!0,theme:"wpcloudplugins-"+i.options.WPCP.options.content_skin,onShow:function(e){$(e.popper).find(".tippy-content-holder").removeClass("tippy-content-holder")},onHide:function(){}}):o.find(".entry-action-menu-button").remove(),o.find(".entry-description-button").length&&tippy(o.find(".entry-description-button").get(0),{trigger:"mouseenter focus click",content:function(e){return e.querySelector(".tippy-content-holder").innerHTML},maxWidth:350,allowHTML:!0,placement:self.is_rtl?"bottom-start":"bottom-end",delay:[100,null],moveTransition:"transform 0.2s ease-out",interactive:!0,theme:"wpcloudplugins-"+i.options.WPCP.options.content_skin,onShow:function(e){$(e.reference).closest(".entry").addClass("hasfocus")},onHide:function(e){$(e.reference).closest(".entry").removeClass("hasfocus")}})}},normalizeSocial:function(e,t){var i=this,o=i.vars,n=i.options,a=window.location.href;return $.each(e,function(i,o){if(!o)return!0;var s,l,r=i.toLowerCase();"facebook"===r?(s="http://www.facebook.com/share.php?v=4&src=bm&u={URL}",l="Share on Facebook"):"twitter"===r?(s="http://twitter.com/home?status={URL}",l="Share on Twitter"):"googleplus"===r?(s="https://plus.google.com/share?url={URL}",l="Share on Google+"):"delicious"===r?(s="http://delicious.com/post?url={URL}",l="Share on Delicious"):"digg"===r?(s="http://digg.com/submit?phase=2&url={URL}",l="Share on Digg"):"reddit"===r?(s="http://reddit.com/submit?url={URL}",l="Share on reddit"):void 0,e[i]={URL:o.URL&&absolutizeURI(a,o.URL)||n.linkId&&window.location.href||"string"!=typeof t&&a||t&&absolutizeURI(a,t)||a,source:o.source||s||o.URL&&absolutizeURI(a,o.URL)||t&&absolutizeURI(a,t),text:o.text||l||"Share on "+i,width:"undefined"==typeof o.width||isNaN(o.width)?640:parseInt(o.width),height:o.height||360}}),e},setSocial:function(e,t,i){var o=this,n=$("<div class=\"ilightbox-social\"></div>"),a="<ul>";e=o.normalizeSocial(e,t),$.each(e,function(e,t){var i=e.toLowerCase(),o=t.source.replace(/\{URL\}/g,encodeURIComponent(t.URL).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+"));a+="<li class=\""+e+"\"><a href=\""+o+"\" onclick=\"javascript:window.open(this.href"+(0>=t.width||0>=t.height?"":", '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height="+t.height+",width="+t.width+",left=40,top=40'")+");return false;\" title=\""+t.text+"\" target=\"_blank\"></a></li>"}),a+="</ul>",n.html(a),$("div.ilightbox-container",i).append(n)},fullScreenAction:function(){var e=this,t=e.vars;fullScreenApi.supportsFullScreen?fullScreenApi.isFullScreen()?fullScreenApi.cancelFullScreen(document.documentElement):fullScreenApi.requestFullScreen(document.documentElement):e.doFullscreen()},doFullscreen:function(){var e=this,t=e.vars,i=getViewport(),o=e.options;if(o.fullAlone){var n=t.holder,a=e.items[t.current],s=i.width,l=i.height,r=[n,t.nextPhoto,t.prevPhoto,t.nextButton,t.prevButton,t.overlay,t.toolbar,t.thumbnails,t.loader],d=[t.nextButton,t.prevButton,t.loader,t.thumbnails];if(!t.isInFullScreen){if(t.isInFullScreen=t.lockKey=t.lockWheel=t.lockSwipe=!0,t.overlay.css({opacity:1}),$.each(d,function(e,t){t.hide()}),t.nextPhoto.css({opacity:0}),t.nextPhoto.css({opacity:0}),t.fullScreenButton.attr("title",o.text.exitFullscreen),-1!=o.fullStretchTypes.indexOf(a.type))n.data({naturalWidthOld:n.data("naturalWidth"),naturalHeightOld:n.data("naturalHeight"),naturalWidth:s,naturalHeight:l});else{var i=a.options.fullViewPort||o.fullViewPort||"",c=s,h=l,p=n.data("naturalWidth"),u=n.data("naturalHeight");if("fill"==i.toLowerCase())h=c/p*u,h<l&&(c=l/u*p,h=l);else if("fit"==i.toLowerCase()){var f=e.getNewDimenstions(c,h,p,u,!0);c=f.width,h=f.height}else if("stretch"==i.toLowerCase())c=c,h=h;else{var m=!!(p>c||u>h),f=e.getNewDimenstions(c,h,p,u,m);c=f.width,h=f.height}n.data({naturalWidthOld:n.data("naturalWidth"),naturalHeightOld:n.data("naturalHeight"),naturalWidth:c,naturalHeight:h})}$.each(r,function(e,t){t.addClass("ilightbox-fullscreen")}),"function"==typeof o.callback.onEnterFullScreen&&o.callback.onEnterFullScreen.call(e,e.ui)}else t.isInFullScreen=t.lockKey=t.lockWheel=t.lockSwipe=!1,t.overlay.css({opacity:e.options.overlay.opacity}),$.each(d,function(e,t){t.show()}),t.fullScreenButton.attr("title",o.text.enterFullscreen),n.data({naturalWidth:n.data("naturalWidthOld"),naturalHeight:n.data("naturalHeightOld"),naturalWidthOld:null,naturalHeightOld:null}),$.each(r,function(e,t){t.removeClass("ilightbox-fullscreen")}),"function"==typeof o.callback.onExitFullScreen&&o.callback.onExitFullScreen.call(e,e.ui)}else t.isInFullScreen=!t.isInFullScreen;e.repositionPhoto(!0)},closeAction:function(){var e=this,t=e.vars,i=e.options;$win.off(".iLightBox"),$doc.off(".iLightBox"),t.isInFullScreen&&fullScreenApi.cancelFullScreen(document.documentElement),$(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails").off(".iLightBox"),i.hide.effect?t.overlay.stop().fadeOut(i.hide.speed,function(){t.overlay.remove(),t.BODY.removeClass("ilightbox-noscroll").off(".iLightBox")}):(t.overlay.remove(),t.BODY.removeClass("ilightbox-noscroll").off(".iLightBox"));var o=[t.toolbar,t.holder,t.nextPhoto,t.prevPhoto,t.nextButton,t.prevButton,t.loader,t.thumbnails];$.each(o,function(e,t){t.removeAttr("style").remove()}),e.vars.holder=$("<div class=\"ilightbox-holder"+(supportTouch?" supportTouch":"")+(!0===e.options.header.show?" staticHeader":"")+"\" ondragstart=\"return false;\"><div class=\"ilightbox-container\"></div></div>"),e.vars.nextPhoto=$("<div class=\"ilightbox-holder"+(supportTouch?" supportTouch":"")+(!0===e.options.header.show?" staticHeader":"")+" ilightbox-next\" ondragstart=\"return false;\"><div class=\"ilightbox-container\"></div></div>"),e.vars.prevPhoto=$("<div class=\"ilightbox-holder"+(supportTouch?" supportTouch":"")+(!0===e.options.header.show?"  staticHeader":"")+" ilightbox-prev\" ondragstart=\"return false;\"><div class=\"ilightbox-container\"></div></div>"),t.dontGenerateThumbs=t.isInFullScreen=!1,window.WPCP_iLightBox=null,i.linkId&&(t.hashLock=!0,removeHash(),setTimeout(function(){t.hashLock=!1},55)),"function"==typeof i.callback.onHide&&i.callback.onHide.call(e,e.ui)},repositionPhoto:function(){var e=this,t=e.vars,i=e.options,o=i.path.toLowerCase(),n=getViewport(),a=n.width,s=n.height,l=t.isInFullScreen&&i.fullAlone||t.isMobile?0:"horizontal"==o?0:t.thumbnails.outerWidth(),r=t.isMobile?t.toolbar.outerHeight():t.isInFullScreen&&i.fullAlone?0:"horizontal"==o?t.thumbnails.outerHeight():0,d=t.isInFullScreen&&i.fullAlone?a:a-i.styles.pageOffsetX,c=t.isInFullScreen&&i.fullAlone?s:s-i.styles.pageOffsetY-i.headerHeight,h="horizontal"==o?parseInt(e.items[t.next]||e.items[t.prev]?2*(i.styles.nextOffsetX+i.styles.prevOffsetX):30>=d/10?30:d/10):parseInt(30>=d/10?30:d/10)+l,p="horizontal"==o?parseInt(30>=c/10?30:c/10)+r:parseInt(e.items[t.next]||e.items[t.prev]?2*(i.styles.nextOffsetX+i.styles.prevOffsetX):30>=c/10?30:c/10),u={type:"current",width:d,height:c,item:e.items[t.current],offsetW:h,offsetH:p,thumbsOffsetW:l,thumbsOffsetH:r,animate:arguments.length,holder:t.holder};e.repositionEl(u),e.items[t.next]&&(u=$.extend(u,{type:"next",item:e.items[t.next],offsetX:i.styles.nextOffsetX,offsetY:i.styles.nextOffsetY,holder:t.nextPhoto}),e.repositionEl(u)),e.items[t.prev]&&(u=$.extend(u,{type:"prev",item:e.items[t.prev],offsetX:i.styles.prevOffsetX,offsetY:i.styles.prevOffsetY,holder:t.prevPhoto}),e.repositionEl(u));var f="horizontal"==o?{left:parseInt(d/2-t.loader.outerWidth()/2)}:{top:parseInt(c/2-t.loader.outerHeight()/2)};t.loader.css(f)},repositionEl:function(e){var t=this,i=t.vars,o=t.options,n=o.path.toLowerCase(),a="current"==e.type?i.isInFullScreen&&o.fullAlone?e.width:e.width-e.offsetW:e.width-e.offsetW,s="current"==e.type?i.isInFullScreen&&o.fullAlone?e.height:e.height-e.offsetH:e.height-e.offsetH,l=e.item,r=e.item.options,d=e.holder,c=e.offsetX||0,h=e.offsetY||0,p=e.thumbsOffsetW,u=e.thumbsOffsetH;"current"==e.type?("number"==typeof r.width&&r.width&&(a=i.isInFullScreen&&o.fullAlone&&(-1!=o.fullStretchTypes.indexOf(l.type)||r.fullViewPort||o.fullViewPort)?a:r.width>a?a:r.width),"number"==typeof r.height&&r.height&&(s=i.isInFullScreen&&o.fullAlone&&(-1!=o.fullStretchTypes.indexOf(l.type)||r.fullViewPort||o.fullViewPort)?s:r.height>s?s:r.height)):("number"==typeof r.width&&r.width&&(a=r.width>a?a:r.width),"number"==typeof r.height&&r.height&&(s=r.height>s?s:r.height)),o.innerToolbar&&(s=parseInt(s-$(".ilightbox-inner-toolbar",d).outerHeight()));var f="string"==typeof r.width&&-1!=r.width.indexOf("%")?percentToValue(parseInt(r.width.replace("%","")),e.width):d.data("naturalWidth"),m="string"==typeof r.height&&-1!=r.height.indexOf("%")?percentToValue(parseInt(r.height.replace("%","")),e.height):d.data("naturalHeight"),g="string"==typeof r.width&&-1!=r.width.indexOf("%")||"string"==typeof r.height&&-1!=r.height.indexOf("%")?{width:f,height:m}:t.getNewDimenstions(a,s,f,m),v=$.extend({},g,{});"prev"==e.type||"next"==e.type?(f=parseInt(g.width*("next"==e.type?o.styles.nextScale:o.styles.prevScale)),m=parseInt(g.height*("next"==e.type?o.styles.nextScale:o.styles.prevScale))):(f=g.width,m=g.height);var b=parseInt((getPixel(d,"padding-left")+getPixel(d,"padding-right")+getPixel(d,"border-left-width")+getPixel(d,"border-right-width"))/2),x=parseInt((getPixel(d,"padding-top")+getPixel(d,"padding-bottom")+getPixel(d,"border-top-width")+getPixel(d,"border-bottom-width")+($(".ilightbox-inner-toolbar",d).outerHeight()||0))/2);switch(e.type){case"current":var w=parseInt(e.height/2-m/2-x-u/2),y=parseInt(e.width/2-f/2-b-p/2);t.positionCaption(s-m,d);break;case"next":var w="horizontal"==n?parseInt(e.height/2-h-m/2-x-u/2):parseInt(e.height-c-x-u/2),y="horizontal"==n?parseInt(e.width-c-b-p/2):parseInt(e.width/2-f/2-b-h-p/2);break;case"prev":var w="horizontal"==n?parseInt(e.height/2-h-m/2-x-u/2):parseInt(c-x-m-u/2),y="horizontal"==n?parseInt(c-b-f-p/2):parseInt(e.width/2-h-f/2-b-p/2);}d.data("offset",{top:w,left:y,newDims:v,diff:{W:b,H:x},thumbsOffset:{W:p,H:u},object:e}),0<e.animate&&o.effects.reposition?(d.css(transform,gpuAcceleration).stop().animate({top:w,left:y},o.effects.repositionSpeed,"easeOutCirc",function(){d.css(transform,"")}),$("div.ilightbox-container",d).stop().animate({width:f,height:m},o.effects.repositionSpeed,"easeOutCirc"),$("div.ilightbox-inner-toolbar",d).stop().animate({width:f},o.effects.repositionSpeed,"easeOutCirc",function(){$(this).css("overflow","visible")})):(d.css({top:w,left:y}),$("div.ilightbox-container",d).css({width:f,height:m}),$("div.ilightbox-inner-toolbar",d).css({width:f}))},resume:function(e){var t=this,i=t.vars,o=t.options;if(!(!o.slideshow.pauseTime||o.controls.slideshow&&1>=i.total||e<i.isPaused)){let e=$(t.ui.currentElement).find("audio,video");if(e.length){let i=e.get(0);if("undefined"==typeof navigator.userActivation||navigator.userActivation.hasBeenActive||(i.muted=!0),!i.ended)return 0===i.readyState&&(i.autoplay=!0),void(i.onended=function(){t.resume()})}i.isPaused=0,i.cycleID&&(i.cycleID=clearTimeout(i.cycleID)),i.cycleID=setTimeout(function(){i.current==i.total-1?t.goTo(0):t.moveTo("next")},o.slideshow.pauseTime)}},pause:function(e){var t=this,i=t.vars,o=t.options;e<i.isPaused||(i.isPaused=e||100,i.cycleID&&(i.cycleID=clearTimeout(i.cycleID)))},resetCycle:function(){var e=this,t=e.vars,i=e.options;i.controls.slideshow&&t.cycleID&&!t.isPaused&&e.resume()},getNewDimenstions:function(e,t,i,o,n){var a=this;factor=e?t?min(e/i,t/o):e/i:t/o,n||(factor>a.options.maxScale?factor=a.options.maxScale:factor<a.options.minScale&&(factor=a.options.minScale));var s=a.options.keepAspectRatio?round(i*factor):e,l=a.options.keepAspectRatio?round(o*factor):t;return{width:s,height:l,ratio:factor}},setOption:function(e){var t=this;t.options=$.extend(!0,t.options,e||{}),t.refresh()},availPlugins:function(){var e=this,t=document.createElement("video");e.plugins={flash:!isMobile,quicktime:!!(0<=parseInt(PluginDetect.getVersion("QuickTime"))),html5H264:!!(t.canPlayType&&t.canPlayType("video/mp4").replace(/no/,"")),html5WebM:!!(t.canPlayType&&t.canPlayType("video/webm").replace(/no/,"")),html5Vorbis:!!(t.canPlayType&&t.canPlayType("video/ogg").replace(/no/,"")),html5QuickTime:!!(t.canPlayType&&t.canPlayType("video/quicktime").replace(/no/,""))}},addContent:function(e,t){var o,n=this;switch(t.type){case"video":var a=!1,s=t.videoType,l=t.options.html5video;("video/mp4"==s||"mp4"==t.ext||"m4v"==t.ext||l.h264)&&n.plugins.html5H264?(t.ext="mp4",t.URL=l.h264||t.URL):l.webm&&n.plugins.html5WebM?(t.ext="webm",t.URL=l.webm||t.URL):l.ogg&&n.plugins.html5Vorbis&&(t.ext="ogv",t.URL=l.ogg||t.URL),n.plugins.html5H264&&("video/mp4"==s||"mp4"==t.ext||"m4v"==t.ext)?(a=!0,s="video/mp4"):n.plugins.html5WebM&&("video/webm"==s||"webm"==t.ext)?(a=!0,s="video/webm"):n.plugins.html5Vorbis&&("video/ogg"==s||"ogv"==t.ext)?(a=!0,s="video/ogg"):n.plugins.html5QuickTime&&("video/quicktime"==s||"mov"==t.ext||"qt"==t.ext)&&(a=!0,s="video/quicktime"),a?o=$("<video />",{width:"100%",height:"100%",preload:l.preload,autoplay:l.autoplay,poster:l.poster,controls:l.controls,controlsList:"nodownload"}).append($("<source />",{src:t.URL,type:s})):n.plugins.quicktime?(o=$("<object />",{type:"video/quicktime",pluginspage:pluginspages.quicktime}).attr({data:t.URL,width:"100%",height:"100%"}).append($("<param />",{name:"src",value:t.URL})).append($("<param />",{name:"autoplay",value:"false"})).append($("<param />",{name:"loop",value:"false"})).append($("<param />",{name:"scale",value:"tofit"})),browser.msie&&(o=QT_GenerateOBJECTText(t.URL,"100%","100%","","SCALE","tofit","AUTOPLAY","false","LOOP","false"))):o=$("<span />",{class:"ilightbox-alert",html:n.options.errors.missingPlugin.replace("{pluginspage}",pluginspages.quicktime).replace("{type}","QuickTime")});break;case"flash":if(!n.plugins.flash)o=$("<span />",{class:"ilightbox-alert",html:n.options.errors.missingPlugin.replace("{pluginspage}",pluginspages.flash).replace("{type}","Adobe Flash player")});else{var r="",d=0;t.options.flashvars?$.each(t.options.flashvars,function(e,t){0!=d&&(r+="&"),r+=e+"="+encodeURIComponent(t),d++}):r=null,o=$("<embed />").attr({type:"application/x-shockwave-flash",src:t.URL,width:"number"==typeof t.options.width&&t.options.width&&"1"==n.options.minScale&&"1"==n.options.maxScale?t.options.width:"100%",height:"number"==typeof t.options.height&&t.options.height&&"1"==n.options.minScale&&"1"==n.options.maxScale?t.options.height:"100%",quality:"high",bgcolor:"#000000",play:"true",loop:"true",menu:"true",wmode:"transparent",scale:"showall",allowScriptAccess:"always",allowFullScreen:"true",flashvars:r,fullscreen:"yes"})}break;case"iframe":o=$("<iframe />").attr({width:"number"==typeof t.options.width&&t.options.width&&"1"==n.options.minScale&&"1"==n.options.maxScale?t.options.width:"100%",height:"number"==typeof t.options.height&&t.options.height&&"1"==n.options.minScale&&"1"==n.options.maxScale?t.options.height:"100%",src:t.URL,frameborder:0,hspace:0,vspace:0,scrolling:supportTouch?"auto":"scroll",webkitAllowFullScreen:"",mozallowfullscreen:"",allowFullScreen:""});break;case"inline":o=$("<div class=\"ilightbox-wrapper\"></div>").html($(t.URL).clone(!0));break;case"html":var o,c=t.URL;if(c[0].nodeName)o=$("<div class=\"ilightbox-wrapper\"></div>").html(c);else{var h=$(t.URL),p=h.selector?$("<div>"+h+"</div>"):h;o=$("<div class=\"ilightbox-wrapper\"></div>").html(p)}}return $("div.ilightbox-container",e).empty().html(o),"video"===o[0].tagName.toLowerCase()&&browser.webkit&&setTimeout(function(){var e=o[0].currentSrc+"&"+floor(3e4*random());o[0].currentSrc=e,o[0].src=e}),o},ogpRecognition:function(e,t){var i=this,o=e.URL;i.showLoader(),doAjax(o,function(e){if(i.hideLoader(),e){var o={};if(o.length=!1,o.url=e.url,200==e.status){var n=e.results,a=n.type,s=n.source;o.source=s.src,o.width=s.width&&parseInt(s.width)||0,o.height=s.height&&parseInt(s.height)||0,o.type=a,o.thumbnail=s.thumbnail||n.images&&n.images[0],o.html5video=n.html5video||{},o.length=!0,"application/x-shockwave-flash"==s.type?o.type="flash":-1==s.type.indexOf("video/")?-1==s.type.indexOf("/html")?-1!=s.type.indexOf("image/")&&(o.type="image"):o.type="iframe":o.type="video"}else if("undefined"!=typeof e.response)throw e.response;t.call(this,!!o.length&&o)}})},hashChangeHandler:function(e){var t=this,i=t.vars,o=t.options,n=e||window.location.href,a=parseURI(n).hash,s=a.split("/"),l=s[1];if(!(i.hashLock||"#"+o.linkId!=s[0]&&1<a.length))if(l){var r=s[1]||0;if(t.items[r]){var d=$(".ilightbox-overlay");d.length&&d.attr("linkid")==o.linkId?t.goTo(r):t.itemsObject[r].trigger(supportTouch?"itap":"click")}else{var d=$(".ilightbox-overlay");d.length&&t.closeAction()}}else{var d=$(".ilightbox-overlay");d.length&&t.closeAction()}}},$.fn.WPCP_iLightBox=function(){var e=arguments,t=$.isPlainObject(e[0])?e[0]:e[1],i=$.isArray(e[0])||"string"==typeof e[0]?e[0]:e[1];t||(t={});var o=$.extend(!0,{attr:"href",path:"vertical",skin:"dark",linkId:!1,infinite:!1,startFrom:0,randomStart:!1,keepAspectRatio:!0,maxScale:1,minScale:.2,innerToolbar:!1,headerHeight:50,WPCP:null,smartRecognition:!1,mobileOptimizer:!0,fullAlone:!0,fullViewPort:null,fullStretchTypes:"flash, video",overlay:{blur:!0,opacity:.85},controls:{arrows:!1,slideshow:!1,toolbar:!0,fullscreen:!0,thumbnail:!0,keyboard:!0,mousewheel:!0,swipe:!0},keyboard:{left:!0,right:!0,up:!0,down:!0,esc:!0,shift_enter:!0},show:{effect:!0,speed:300,title:!0},hide:{effect:!0,speed:300},header:{start:!0,show:!0,hide:!0},caption:{start:!0,show:"mouseenter",hide:"mouseleave"},social:{start:!0,show:"mouseenter",hide:"mouseleave",buttons:!1},styles:{pageOffsetX:0,pageOffsetY:0,nextOffsetX:45,nextOffsetY:0,nextOpacity:1,nextScale:1,prevOffsetX:45,prevOffsetY:0,prevOpacity:1,prevScale:1},thumbnails:{maxWidth:120,maxHeight:80,normalOpacity:1,activeOpacity:.6},effects:{reposition:!0,repositionSpeed:200,switchSpeed:500,loadedFadeSpeed:180,fadeSpeed:200},slideshow:{pauseTime:5e3,pauseOnHover:!1,startPaused:!0},text:{close:"Press Esc to close",enterFullscreen:"Enter Fullscreen (Shift+Enter)",exitFullscreen:"Exit Fullscreen (Shift+Enter)",slideShow:"Slideshow",next:"Next",previous:"Previous"},errors:{loadImage:"An error occurred when trying to load photo.",loadContents:"An error occurred when trying to load contents.",missingPlugin:"The content your are attempting to view requires the <a href='{pluginspage}' target='_blank'>{type} plugin</a>."},ajaxSetup:{url:"",beforeSend:function(){},cache:!1,complete:function(){},crossDomain:!1,error:function(){},success:function(){},global:!0,ifModified:!1,username:null,password:null,type:"GET"},callback:{}},t),n=!!($.isArray(i)||"string"==typeof i);if(i=$.isArray(i)?i:[],"string"==typeof e[0]&&(i[0]=e[0]),version_compare($.fn.jquery,"1.8",">=")){var a=new WPCP_iLightBox($(this),o,i,n);return{close:function(){a.closeAction()},fullscreen:function(){a.fullScreenAction()},moveNext:function(){a.moveTo("next")},movePrev:function(){a.moveTo("prev")},goTo:function(e){a.goTo(e)},refresh:function(){a.refresh()},reposition:function(){0<arguments.length?a.repositionPhoto(!0):a.repositionPhoto()},setOption:function(e){a.setOption(e)},destroy:function(){a.closeAction(),a.dispatchItemsEvents()}}}throw"The jQuery version that was loaded is too old. iLightBox requires jQuery 1.8+"},$.WPCP_iLightBox=function(){return $.fn.WPCP_iLightBox(arguments[0],arguments[1])},$.extend($.easing,{easeInCirc:function(e,i,o,n,a){return-n*(sqrt(1-(i/=a)*i)-1)+o},easeOutCirc:function(e,i,o,n,a){return n*sqrt(1-(i=i/a-1)*i)+o},easeInOutCirc:function(e,i,o,n,a){return 1>(i/=a/2)?-n/2*(sqrt(1-i*i)-1)+o:n/2*(sqrt(1-(i-=2)*i)+1)+o}}),function(){$.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(e,t){$.fn[t]=function(e){return e?this.on(t,e):this.trigger(t)}});var e={startEvent:"touchstart.iTap",endEvent:"touchend.iTap"};$.event.special.itap={setup:function(){var t,i,o,n,a=this,s=$(this),l=s.parents(".ajax-filelist");s.on(e.startEvent,function(){t=getScrollXY(),i={x:l.scrollTop(),y:l.scrollLeft()},s.one(e.endEvent,function(e){if(o=getScrollXY(),n={x:l.scrollTop(),y:l.scrollLeft()},!(i&&n&&(i.x!=n.x||i.y!=n.y))){var s=e||window.event;e=$.event.fix(s),e.type="itap",t&&o&&t.x==o.x&&t.y==o.y&&($.event.dispatch||$.event.handle).call(a,e),t=o=void 0}})})},teardown:function(){$(this).off(e.startEvent)}}}(),function(){if(fullScreenApi={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},browserPrefixes=["webkit","moz","o","ms","khtml"],"undefined"!=typeof document.cancelFullScreen)fullScreenApi.supportsFullScreen=!0;else for(var e=0,t=browserPrefixes.length;e<t;e++)if(fullScreenApi.prefix=browserPrefixes[e],"undefined"!=typeof document[fullScreenApi.prefix+"CancelFullScreen"]){fullScreenApi.supportsFullScreen=!0;break}fullScreenApi.supportsFullScreen&&(fullScreenApi.fullScreenEventName=fullScreenApi.prefix+"fullscreenchange",fullScreenApi.isFullScreen=function(){switch(this.prefix){case"":return document.fullScreen;case"webkit":return document.webkitIsFullScreen;default:return document[this.prefix+"FullScreen"];}},fullScreenApi.requestFullScreen=function(e){return""===this.prefix?e.requestFullScreen():e[this.prefix+"RequestFullScreen"]()},fullScreenApi.cancelFullScreen=function(){return""===this.prefix?document.cancelFullScreen():document[this.prefix+"CancelFullScreen"]()})}(),function(){var e=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}(navigator.userAgent);browser={},e.browser&&(browser[e.browser]=!0,browser.version=e.version),browser.chrome?browser.webkit=!0:browser.webkit&&(browser.safari=!0)}(),function(){function e(e){for(var o,n=0,a=t.length;n<a;n++)if(o=t[n]?t[n]+e.charAt(0).toUpperCase()+e.slice(1):e,void 0!==i.style[o])return o}var t=["","webkit","moz","ms","o"],i=document.createElement("div");transform=e("transform")||"",gpuAcceleration=e("perspective")?"translateZ(0) ":""}();var PluginDetect={version:"0.7.9",name:"PluginDetect",handler:function(e,t,i){return function(){e(t,i)}},openTag:"<",isDefined:function(e){return"undefined"!=typeof e},isArray:function(e){return /array/i.test(Object.prototype.toString.call(e))},isFunc:function(e){return"function"==typeof e},isString:function(e){return"string"==typeof e},isNum:function(e){return"number"==typeof e},isStrNum:function(e){return"string"==typeof e&&/\d/.test(e)},getNumRegx:/[\d][\d\.\_,-]*/,splitNumRegx:/[\.\_,-]/g,getNum:function(e,t){var i=this,o=i.isStrNum(e)?(i.isDefined(t)?new RegExp(t):i.getNumRegx).exec(e):null;return o?o[0]:null},compareNums:function(t,i,o){var n,s,l,r=this,e=parseInt;if(r.isStrNum(t)&&r.isStrNum(i)){if(r.isDefined(o)&&o.compareNums)return o.compareNums(t,i);for(n=t.split(r.splitNumRegx),s=i.split(r.splitNumRegx),l=0;l<min(n.length,s.length);l++){if(e(n[l],10)>e(s[l],10))return 1;if(e(n[l],10)<e(s[l],10))return-1}}return 0},formatNum:function(t,i){var o,n,s=this;if(!s.isStrNum(t))return null;for(s.isNum(i)||(i=4),i--,n=t.replace(/\s/g,"").split(s.splitNumRegx).concat(["0","0","0","0"]),o=0;4>o;o++)/^(0+)(.+)$/.test(n[o])&&(n[o]=RegExp.$2),(o>i||!/\d/.test(n[o]))&&(n[o]="0");return n.slice(0,4).join(",")},$$hasMimeType:function(t){return function(i){if(!t.isIE&&i){var o,n,a,s=t.isArray(i)?i:t.isString(i)?[i]:[];for(a=0;a<s.length;a++)if(t.isString(s[a])&&/[^\s]/.test(s[a])&&(o=navigator.mimeTypes[s[a]],n=o?o.enabledPlugin:0,n&&(n.name||n.description)))return o}return null}},findNavPlugin:function(t,i,e){var o,n,s,l=this,r=new RegExp(t,"i"),c=!l.isDefined(i)||i?/\d/:0,d=e?new RegExp(e,"i"):0,h=navigator.plugins;for(o=0;o<h.length;o++)if(s=h[o].description||"",n=h[o].name||"",(r.test(s)&&(!c||c.test(RegExp.leftContext+RegExp.rightContext))||r.test(n)&&(!c||c.test(RegExp.leftContext+RegExp.rightContext)))&&(!d||!(d.test(s)||d.test(n))))return h[o];return null},getMimeEnabledPlugin:function(t,i,o){var n,s,r,c,h=this,e=new RegExp(i,"i"),p=o?new RegExp(o,"i"):0,u=h.isString(t)?[t]:t;for(c=0;c<u.length;c++)if((n=h.hasMimeType(u[c]))&&(n=n.enabledPlugin)&&(r=n.description||"",s=n.name||"",(e.test(r)||e.test(s))&&(!p||!(p.test(r)||p.test(s)))))return n;return 0},getPluginFileVersion:function(t,i){var o,n,s,l,r=this,h=-1;if(2<r.OS||!t||!t.version||!(o=r.getNum(t.version)))return i;if(!i)return o;for(o=r.formatNum(o),i=r.formatNum(i),n=i.split(r.splitNumRegx),s=o.split(r.splitNumRegx),l=0;l<n.length;l++){if(-1<h&&l>h&&"0"!=n[l])return i;if(s[l]!=n[l]&&(-1==h&&(h=l),"0"!=n[l]))return i}return o},AXO:window.ActiveXObject,getAXO:function(e){var t=null,i=this;try{t=new i.AXO(e)}catch(e){}return t},convertFuncs:function(e){var t,i,o=this;for(t in e)if(/^[\$][\$]/.test(t))try{i=t.slice(2),0<i.length&&!e[i]&&(e[i]=e[t](e),delete e[t])}catch(e){}},initObj:function(t,e,i){var o,n;if(t){if(1==t[e[0]]||i)for(o=0;o<e.length;o+=2)t[e[o]]=e[o+1];for(o in t)n=t[o],n&&1==n[e[0]]&&this.initObj(n,e)}},initScript:function(){var e,t=this,o=navigator,a=document,i=o.userAgent||"",s=o.vendor||"",l=o.platform||"",r=o.product||"";for(e in t.initObj(t,["$",t]),t.Plugins)t.Plugins[e]&&t.initObj(t.Plugins[e],["$",t,"$$",t.Plugins[e]],1);if(t.convertFuncs(t),t.OS=100,l){var d=["Win",1,"Mac",2,"Linux",3,"FreeBSD",4,"iPhone",21.1,"iPod",21.2,"iPad",21.3,"Win.*CE",22.1,"Win.*Mobile",22.2,"Pocket\\s*PC",22.3,"",100];for(e=d.length-2;0<=e;e-=2)if(d[e]&&new RegExp(d[e],"i").test(l)){t.OS=d[e+1];break}}if(t.head=a.getElementsByTagName("head")[0]||a.getElementsByTagName("body")[0]||a.body||null,t.isIE=new Function("return/*@cc_on!@*/!1")(),t.verIE=t.isIE&&/MSIE\s*(\d+\.?\d*)/i.test(i)?parseFloat(RegExp.$1,10):null,t.verIEfull=null,t.docModeIE=null,t.isIE){var p,u=document.createElement("div");try{u.style.behavior="url(#default#clientcaps)",t.verIEfull=u.getComponentVersion("{89820200-ECBD-11CF-8B85-00AA005B4383}","componentid").replace(/,/g,".")}catch(e){}p=parseFloat(t.verIEfull||"0",10),t.docModeIE=a.documentMode||(/back/i.test(a.compatMode||"")?5:p)||t.verIE,t.verIE=p||t.docModeIE}if(t.ActiveXEnabled=!1,t.isIE){var e,c=["Msxml2.XMLHTTP","Msxml2.DOMDocument","Microsoft.XMLDOM","ShockwaveFlash.ShockwaveFlash","TDCCtl.TDCCtl","Shell.UIHelper","Scripting.Dictionary","wmplayer.ocx"];for(e=0;e<c.length;e++)if(t.getAXO(c[e])){t.ActiveXEnabled=!0;break}}t.isGecko=/Gecko/i.test(r)&&/Gecko\s*\/\s*\d/i.test(i),t.verGecko=t.isGecko?t.formatNum(/rv\s*\:\s*([\.\,\d]+)/i.test(i)?RegExp.$1:"0.9"):null,t.isChrome=/Chrome\s*\/\s*(\d[\d\.]*)/i.test(i),t.verChrome=t.isChrome?t.formatNum(RegExp.$1):null,t.isSafari=(/Apple/i.test(s)||!s&&!t.isChrome)&&/Safari\s*\/\s*(\d[\d\.]*)/i.test(i),t.verSafari=t.isSafari&&/Version\s*\/\s*(\d[\d\.]*)/i.test(i)?t.formatNum(RegExp.$1):null,t.isOpera=/Opera\s*[\/]?\s*(\d+\.?\d*)/i.test(i),t.verOpera=t.isOpera&&(/Version\s*\/\s*(\d+\.?\d*)/i.test(i)||1)?parseFloat(RegExp.$1,10):null,t.addWinEvent("load",t.handler(t.runWLfuncs,t))},init:function(e){var t,e,i=this,o={status:-3,plugin:0};return i.isString(e)?1==e.length?(i.getVersionDelimiter=e,o):(e=e.toLowerCase().replace(/\s/g,""),t=i.Plugins[e],!t||!t.getVersion)?o:(o.plugin=t,i.isDefined(t.installed)||(t.installed=null,t.version=null,t.version0=null,t.getVersionDone=null,t.pluginName=e),i.garbage=!1,i.isIE&&!i.ActiveXEnabled&&"java"!==e)?(o.status=-2,o):(o.status=1,o):o},fPush:function(e,t){var i=this;i.isArray(t)&&(i.isFunc(e)||i.isArray(e)&&0<e.length&&i.isFunc(e[0]))&&t.push(e)},callArray:function(e){var t,i=this;if(i.isArray(e))for(t=0;t<e.length;t++){if(null===e[t])return;i.call(e[t]),e[t]=null}},call:function(e){var t=this,i=t.isArray(e)?e.length:-1;0<i&&t.isFunc(e[0])?e[0](t,1<i?e[1]:0,2<i?e[2]:0,3<i?e[3]:0):t.isFunc(e)&&e(t)},getVersionDelimiter:",",$$getVersion:function(t){return function(i,o,n){var a,s,l=t.init(i);return 0>l.status?null:(a=l.plugin,1!=a.getVersionDone&&(a.getVersion(null,o,n),null===a.getVersionDone&&(a.getVersionDone=1)),t.cleanup(),s=a.version||a.version0,s=s?s.replace(t.splitNumRegx,t.getVersionDelimiter):s,s)}},cleanup:function(){var e=this;e.garbage&&e.isDefined(window.CollectGarbage)&&window.CollectGarbage()},isActiveXObject:function(e,t){var i=this,o=!1,n="<object width=\"1\" height=\"1\" style=\"display:none\" "+e.getCodeBaseVersion(t)+">"+e.HTML+i.openTag+"/object>";if(!i.head)return o;i.head.insertBefore(document.createElement("object"),i.head.firstChild),i.head.firstChild.outerHTML=n;try{i.head.firstChild.classid=e.classID}catch(e){}try{i.head.firstChild.object&&(o=!0)}catch(e){}try{o&&4>i.head.firstChild.readyState&&(i.garbage=!0)}catch(e){}return i.head.removeChild(i.head.firstChild),o},codebaseSearch:function(t,s){var u=this;if(!u.ActiveXEnabled||!t)return null;t.BIfuncs&&t.BIfuncs.length&&null!==t.BIfuncs[t.BIfuncs.length-1]&&u.callArray(t.BIfuncs);var r,c=t.SEARCH;if(u.isStrNum(s))return!!(c.match&&c.min&&0>=u.compareNums(s,c.min))||!(c.match&&c.max&&0<=u.compareNums(s,c.max))&&(r=u.isActiveXObject(t,s),r&&(!c.min||0<u.compareNums(s,c.min))&&(c.min=s),r||c.max&&!(0>u.compareNums(s,c.max))||(c.max=s),r);var o,p,f,v,b,x=[0,0,0,0],e=[].concat(c.digits),l=c.min?1:0,w=function(e,i){var o=[].concat(x);return o[e]=i,u.isActiveXObject(t,o.join(","))};if(c.max){for(v=c.max.split(u.splitNumRegx),o=0;o<v.length;o++)v[o]=parseInt(v[o],10);v[0]<e[0]&&(e[0]=v[0])}if(c.min){for(b=c.min.split(u.splitNumRegx),o=0;o<b.length;o++)b[o]=parseInt(b[o],10);b[0]>x[0]&&(x[0]=b[0])}if(b&&v)for(o=1;o<b.length&&b[o-1]==v[o-1];o++)v[o]<e[o]&&(e[o]=v[o]),b[o]>x[o]&&(x[o]=b[o]);if(c.max)for(o=1;o<e.length;o++)if(0<v[o]&&0==e[o]&&e[o-1]<c.digits[o-1]){e[o-1]+=1;break}for(o=0;o<e.length;o++){for(f={},p=0;20>p&&!(1>e[o]-x[o])&&(r=round((e[o]+x[o])/2),!f["a"+r]);p++)f["a"+r]=1,w(o,r)?(x[o]=r,l=1):e[o]=r;if(e[o]=x[o],!l&&w(o,x[o])&&(l=1),!l)break}return l?x.join(","):null},addWinEvent:function(t,i){var o,n=this,e=window;n.isFunc(i)&&(e.addEventListener?e.addEventListener(t,i,!1):e.attachEvent?e.attachEvent("on"+t,i):(o=e["on"+t],e["on"+t]=n.winHandler(i,o)))},winHandler:function(e,t){return function(){e(),"function"==typeof t&&t()}},WLfuncs0:[],WLfuncs:[],runWLfuncs:function(e){e.winLoaded=!0,e.callArray(e.WLfuncs0),e.callArray(e.WLfuncs),e.onDoneEmptyDiv&&e.onDoneEmptyDiv()},winLoaded:!1,$$onWindowLoaded:function(e){return function(t){e.winLoaded?e.call(t):e.fPush(t,e.WLfuncs)}},div:null,divID:"plugindetect",divWidth:50,pluginSize:1,emptyDiv:function(){var e,t,i,o,n,s=this;if(s.div&&s.div.childNodes)for(e=s.div.childNodes.length-1;0<=e;e--){if(i=s.div.childNodes[e],i&&i.childNodes)for(t=i.childNodes.length-1;0<=t;t--){n=i.childNodes[t];try{i.removeChild(n)}catch(e){}}if(i)try{s.div.removeChild(i)}catch(e){}}if(s.div||(o=document.getElementById(s.divID),o&&(s.div=o)),s.div&&s.div.parentNode){try{s.div.parentNode.removeChild(s.div)}catch(e){}s.div=null}},DONEfuncs:[],onDoneEmptyDiv:function(){var e,t,i=this;if(i.winLoaded&&!(i.WLfuncs&&i.WLfuncs.length&&null!==i.WLfuncs[i.WLfuncs.length-1])){for(e in i)if(t=i[e],t&&t.funcs){if(3==t.OTF)return;if(t.funcs.length&&null!==t.funcs[t.funcs.length-1])return}for(e=0;e<i.DONEfuncs.length;e++)i.callArray(i.DONEfuncs);i.emptyDiv()}},getWidth:function(e){if(e){var t=e.scrollWidth||e.offsetWidth,i=this;if(i.isNum(t))return t}return-1},getTagStatus:function(e,t,o,n){var a=this,s=e.span,r=a.getWidth(s),l=o.span,c=a.getWidth(l),h=t.span,d=a.getWidth(h);if(!s||!l||!h||!a.getDOMobj(e))return-2;if(c<d||0>r||0>c||0>d||d<=a.pluginSize||1>a.pluginSize)return 0;if(r>=d)return-1;try{if(r==a.pluginSize&&(!a.isIE||4==a.getDOMobj(e).readyState)){if(!e.winLoaded&&a.winLoaded)return 1;if(e.winLoaded&&a.isNum(n)&&(a.isNum(e.count)||(e.count=n),10<=n-e.count))return 1}}catch(e){}return 0},getDOMobj:function(e,t){var i=this,o=e?e.span:0,n=o&&o.firstChild?1:0;try{n&&t&&i.div.focus()}catch(e){}return n?o.firstChild:null},setStyle:function(e,t){var i,o=e.style,n=this;if(o&&t)for(i=0;i<t.length;i+=2)try{o[t[i]]=t[i+1]}catch(e){}},insertDivInBody:function(e,t){var i=this,o=null,n=t?window.top.document:window.document,s=n.getElementsByTagName("body")[0]||n.body;if(!s)try{n.write("<div id=\"pd33993399\">."+i.openTag+"/div>"),o=n.getElementById("pd33993399")}catch(e){}s=n.getElementsByTagName("body")[0]||n.body,s&&(s.insertBefore(e,s.firstChild),o&&s.removeChild(o))},insertHTML:function(e,t,s,l){var r,d,h,u=document,m=this,g=u.createElement("span"),o=["outlineStyle","none","borderStyle","none","padding","0px","margin","0px","visibility","visible"];if(m.isDefined(l)||(l=""),m.isString(e)&&/[^\s]/.test(e)){for(e=e.toLowerCase().replace(/\s/g,""),r=m.openTag+e+" width=\""+m.pluginSize+"\" height=\""+m.pluginSize+"\" ",r+="style=\""+"outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;"+"display:inline;\" ",d=0;d<t.length;d+=2)/[^\s]/.test(t[d+1])&&(r+=t[d]+"=\""+t[d+1]+"\" ");for(r+=">",d=0;d<s.length;d+=2)/[^\s]/.test(s[d+1])&&(r+=m.openTag+"param name=\""+s[d]+"\" value=\""+s[d+1]+"\" />");r+=l+m.openTag+"/"+e+">"}else r=l;if(m.div||(h=u.getElementById(m.divID),h?m.div=h:(m.div=u.createElement("div"),m.div.id=m.divID),m.setStyle(m.div,o.concat(["width",m.divWidth+"px","height",m.pluginSize+3+"px","fontSize",m.pluginSize+3+"px","lineHeight",m.pluginSize+3+"px","verticalAlign","baseline","display","block"])),!h&&(m.setStyle(m.div,["position","absolute","right","0px","top","0px"]),m.insertDivInBody(m.div))),m.div&&m.div.parentNode){m.setStyle(g,o.concat(["fontSize",m.pluginSize+3+"px","lineHeight",m.pluginSize+3+"px","verticalAlign","baseline","display","inline"]));try{g.innerHTML=r}catch(e){}try{m.div.appendChild(g)}catch(e){}return{span:g,winLoaded:m.winLoaded,tagName:e,outerHTML:r}}return{span:null,winLoaded:m.winLoaded,tagName:"",outerHTML:r}},Plugins:{quicktime:{mimeType:["video/quicktime","application/x-quicktimeplayer","image/x-macpaint","image/x-quicktime"],progID:"QuickTimeCheckObject.QuickTimeCheck.1",progID0:"QuickTime.QuickTime",classID:"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",minIEver:7,HTML:"<param name=\"src\" value=\"\" /><param name=\"controller\" value=\"false\" />",getCodeBaseVersion:function(e){return"codebase=\"#version="+e+"\""},SEARCH:{min:0,max:0,match:0,digits:[16,128,128,0]},getVersion:function(t){var i,o=this,n=o.$,s=null,l=null;if(!n.isIE)n.hasMimeType(o.mimeType)&&(l=3==n.OS?null:n.findNavPlugin("QuickTime.*Plug-?in",0),l&&l.name&&(s=n.getNum(l.name)));else{if(n.isStrNum(t)&&(i=t.split(n.splitNumRegx),3<i.length&&0<parseInt(i[3],10)&&(i[3]="9999"),t=i.join(",")),n.isStrNum(t)&&n.verIE>=o.minIEver&&0<o.canUseIsMin())return o.installed=o.isMin(t),void(o.getVersionDone=0);o.getVersionDone=1,!s&&n.verIE>=o.minIEver&&(s=o.CDBASE2VER(n.codebaseSearch(o))),s||(l=n.getAXO(o.progID),l&&l.QuickTimeVersion&&(s=l.QuickTimeVersion.toString(16),s=parseInt(s.charAt(0),16)+"."+parseInt(s.charAt(1),16)+"."+parseInt(s.charAt(2),16)))}o.installed=s?1:l?0:-1,o.version=n.formatNum(s,3)},cdbaseUpper:["7,60,0,0","0,0,0,0"],cdbaseLower:["7,50,0,0",null],cdbase2ver:[function(e,t){var i=t.split(e.$.splitNumRegx);return[i[0],i[1].charAt(0),i[1].charAt(1),i[2]].join(",")},null],CDBASE2VER:function(t){var i,o=this,e=o.$,n=o.cdbaseUpper,a=o.cdbaseLower;if(t)for(t=e.formatNum(t),i=0;i<n.length;i++)if(n[i]&&0>e.compareNums(t,n[i])&&a[i]&&0<=e.compareNums(t,a[i])&&o.cdbase2ver[i])return o.cdbase2ver[i](o,t);return t},canUseIsMin:function(){var t,i=this,o=i.$,n=i.canUseIsMin,s=i.cdbaseUpper,a=i.cdbaseLower;if(!n.value)for(n.value=-1,t=0;t<s.length;t++){if(s[t]&&o.codebaseSearch(i,s[t])){n.value=1;break}if(a[t]&&o.codebaseSearch(i,a[t])){n.value=-1;break}}return i.SEARCH.match=1==n.value?1:0,n.value},isMin:function(e){var t=this,i=t.$;return i.codebaseSearch(t,e)?.7:-1}},flash:{mimeType:"application/x-shockwave-flash",progID:"ShockwaveFlash.ShockwaveFlash",classID:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000",getVersion:function(){var e,t,i,o,n=function(t){if(!t)return null;var i=/[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(t);return i?i[0].replace(/[rRdD\.]/g,",").replace(/\s/g,""):null},s=this,r=s.$,p=null,u=null,g=null;if(!r.isIE){if(i=r.hasMimeType(s.mimeType),i){t=r.getDOMobj(r.insertHTML("object",["type",s.mimeType],[],"",s));try{p=r.getNum(t.GetVariable("$version"))}catch(e){}}p||(o=i?i.enabledPlugin:null,o&&o.description&&(p=n(o.description)),p&&(p=r.getPluginFileVersion(o,p)))}else{for(e=15;2<e;e--)if(u=r.getAXO(s.progID+"."+e),u){g=e.toString();break}if(u||(u=r.getAXO(s.progID)),"6"==g)try{u.AllowScriptAccess="always"}catch(e){return"6,0,21,0"}try{p=n(u.GetVariable("$version"))}catch(e){}!p&&g&&(p=g)}return s.installed=p?1:-1,s.version=r.formatNum(p),!0}},shockwave:{mimeType:"application/x-director",progID:"SWCtl.SWCtl",classID:"clsid:166B1BCA-3F9C-11CF-8075-444553540000",getVersion:function(){var e,t=null,i=null,o=this,n=o.$;if(!n.isIE)e=n.findNavPlugin("Shockwave\\s*for\\s*Director"),e&&e.description&&n.hasMimeType(o.mimeType)&&(t=n.getNum(e.description)),t&&(t=n.getPluginFileVersion(e,t));else{try{i=n.getAXO(o.progID).ShockwaveVersion("")}catch(e){}n.isString(i)&&0<i.length?t=n.getNum(i):n.getAXO(o.progID+".8")?t="8":n.getAXO(o.progID+".7")?t="7":n.getAXO(o.progID+".1")&&(t="6")}o.installed=t?1:-1,o.version=n.formatNum(t)}},zz:0}};PluginDetect.initScript();var gArgCountErr="The \"%%\" function requires an even number of arguments.\nArguments should be in the form \"atttributeName\", \"attributeValue\", ...",gTagAttrs=null,gQTGeneratorVersion=1;(function(){function t(e){return e=e||location.href,"#"+e.replace(/^[^#]*#?(.*)$/,"$1")}var e,i=document,o=$.event.special,n=i.documentMode,s="oniLightBoxHashChange"in window&&(void 0===n||7<n);$.fn.iLightBoxHashChange=function(e){return e?this.on("iLightBoxHashChange",e):this.trigger("iLightBoxHashChange")},$.fn.iLightBoxHashChange.delay=50,o.iLightBoxHashChange=$.extend(o.iLightBoxHashChange,{setup:function(){return!s&&void $(e.start)},teardown:function(){return!s&&void $(e.stop)}}),e=function(){function e(){var i=t(),n=u(r);i===r?n!==r&&(location.href=location.href.replace(/#.*/,"")+n):(p(r=i,n),$(window).trigger("iLightBoxHashChange")),o=setTimeout(e,$.fn.iLightBoxHashChange.delay)}var o,a={},r=t(),h=function(e){return e},p=h,u=h;return a.start=function(){o||e()},a.stop=function(){o&&clearTimeout(o),o=void 0},browser.msie&&!s&&function(){var o,n;a.start=function(){o||(n=(n=$.fn.iLightBoxHashChange.src)&&n+t(),o=$("<iframe tabindex=\"-1\" title=\"empty\"/>").hide().one("load",function(){n||p(t()),e()}).attr("src",n||"javascript:0").insertAfter("body")[0].contentWindow,i.onpropertychange=function(){try{"title"===event.propertyName&&(o.document.title=i.title)}catch(e){}})},a.stop=h,u=function(){return t(o.location.href)},p=function(t,n){var a=o.document,s=$.fn.iLightBoxHashChange.domain;t!==n&&(a.title=i.title,a.open(),s&&a.write("<script>document.domain=\""+s+"\"</script>"),a.close(),o.location.hash=t)}}(),a}()})(),Array.prototype.filter||(Array.prototype.filter=function(e){'use strict';if(null==this)throw new TypeError;var o=Object(this),t=o.length>>>0;if("function"!=typeof e)throw new TypeError;for(var n=[],a=arguments[1],s=0;s<t;s++)if(s in o){var l=o[s];e.call(a,l,s,o)&&n.push(l)}return n}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i;if(null==this)throw new TypeError("\"this\" is null or not defined");var o=Object(this),a=o.length>>>0;if(0===a)return-1;var s=+t||0;if(abs(s)===1/0&&(s=0),s>=a)return-1;for(i=max(0<=s?s:a-abs(s),0);i<a;){if(i in o&&o[i]===e)return i;i++}return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(e){'use strict';if(null==this)throw new TypeError;var i=Object(this),t=i.length>>>0;if(0===t)return-1;var o=t;1<arguments.length&&(o=+arguments[1],o==o?0!=o&&o!=1/0&&o!=-(1/0)&&(o=(0<o||-1)*floor(abs(o))):o=0);for(var a=0<=o?min(o,t-1):t-abs(o);0<=a;a--)if(a in i&&i[a]===e)return a;return-1})})(jQuery,this);

/**
 * rModal v1.1.0 - MIT License
 */
!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(t="undefined"!=typeof globalThis?globalThis:t||self).RModal=o()}(this,(function(){var t=function(t){return(""+(t||"")).split(" ").filter((function(t){return!!t}))},o=function(o,e){t(e).forEach((function(t){o.classList.add(t)}))},e=function(o,e){t(e).forEach((function(t){o.classList.remove(t)}))};return function(){function t(t,o){var e=this;void 0===o&&(o={}),this.version="1.1.0",this.focusOutElement=null,this.opened=!1,this.opts={bodyClass:"modal-open",dialogClass:"modal-dialog",dialogOpenClass:"bounceInDown",dialogCloseClass:"bounceOutUp",focus:!0,focusElements:["a[href]","area[href]","input:not([disabled]):not([type=hidden])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])","iframe","object","embed","*[tabindex]","*[contenteditable]"],escapeClose:!0,content:void 0,closeTimeout:500},Object.keys(o).forEach((function(t){var s=t;void 0!==o[s]&&(e.opts[s]=o[s])})),this.overlay=t,this.dialog=t.querySelector("."+this.opts.dialogClass),this.opts.content&&this.content(this.opts.content)}return t.prototype.open=function(t){var o=this;if(this.content(t),"function"!=typeof this.opts.beforeOpen)return this._doOpen();this.opts.beforeOpen((function(){o._doOpen()}))},t.prototype._doOpen=function(){o(document.body,this.opts.bodyClass),e(this.dialog,this.opts.dialogCloseClass),o(this.dialog,this.opts.dialogOpenClass),this.overlay.style.display="block",this.opts.focus&&(this.focusOutElement=document.activeElement,this.focus()),"function"==typeof this.opts.afterOpen&&this.opts.afterOpen(),this.opened=!0},t.prototype.close=function(){var t=this;if("function"!=typeof this.opts.beforeClose)return this._doClose();this.opts.beforeClose((function(){t._doClose()}))},t.prototype._doClose=function(){var t=this;e(this.dialog,this.opts.dialogOpenClass),o(this.dialog,this.opts.dialogCloseClass),e(document.body,this.opts.bodyClass),this.opts.focus&&this.focus(this.focusOutElement),setTimeout((function(){t.overlay.style.display="none","function"==typeof t.opts.afterClose&&t.opts.afterClose(),t.opened=!1}),this.opts.closeTimeout)},t.prototype.content=function(t){if(void 0===t)return this.dialog.innerHTML;this.dialog.innerHTML=t},t.prototype.elements=function(t,o){return o=o||window.navigator.appVersion.indexOf("MSIE 9.0")>-1,t=Array.isArray(t)?t.join(","):t,[].filter.call(this.dialog.querySelectorAll(t),(function(t){if(o){var e=window.getComputedStyle(t);return"none"!==e.display&&"hidden"!==e.visibility}return null!==t.offsetParent}))},t.prototype.focus=function(t){(t=t||this.elements(this.opts.focusElements||"")[0]||this.dialog.firstChild)&&"function"==typeof t.focus&&t.focus()},t.prototype.keydown=function(t){this.opts.escapeClose&&27==t.which&&this.close();var o=function(){t.preventDefault(),t.stopPropagation()};if(this.opened&&9==t.which&&this.dialog.contains(t.target)){var e=this.elements(this.opts.focusElements||""),s=e[0],i=e[e.length-1];s==i?o():t.target==s&&t.shiftKey?(o(),i.focus()):t.target!=i||t.shiftKey||(o(),s.focus())}},t.version="1.1.0",t}()}));


(function ($) {
  $.fn.extend({
    animateCss: function (animationName) {
      var animationEnd = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend';
      $(this).addClass('animated ' + animationName).one(animationEnd, function () {
        $(this).removeClass('animated ' + animationName);
      });
    }
  });
})(jQuery);

/*!
 * shareon v2.0.0 by Nikita Karamov
 * https://shareon.js.org
 */
var Shareon=function(t){"use strict";const e={facebook:t=>`https://www.facebook.com/sharer/sharer.php?u=${t.url}`,linkedin:t=>`https://www.linkedin.com/sharing/share-offsite/?url=${t.url}`,mastodon:t=>`https://toot.kytta.dev/?text=${t.title}%0D%0A${t.url}${t.text?`%0D%0A%0D%0A${t.text}`:""}${t.via?`%0D%0A%0D%0A${t.via}`:""}`,messenger:t=>`https://www.facebook.com/dialog/send?app_id=${t.fbAppId}&link=${t.url}&redirect_uri=${t.url}`,odnoklassniki:t=>`https://connect.ok.ru/offer?url=${t.url}&title=${t.title}${t.media?`&imageUrl=${t.media}`:""}`,pinterest:t=>`https://pinterest.com/pin/create/button/?url=${t.url}&description=${t.title}${t.media?`&media=${t.media}`:""}`,pocket:t=>`https://getpocket.com/edit.php?url=${t.url}`,reddit:t=>`https://www.reddit.com/submit?title=${t.title}&url=${t.url}`,telegram:t=>`https://telegram.me/share/url?url=${t.url}${t.text?`&text=${t.text}`:""}`,twitter:t=>`https://twitter.com/intent/tweet?url=${t.url}&text=${t.title}${t.via?`&via=${t.via}`:""}`,viber:t=>`viber://forward?text=${t.title}%0D%0A${t.url}${t.text?`%0D%0A%0D%0A${t.text}`:""}`,vkontakte:t=>`https://vk.com/share.php?url=${t.url}&title=${t.title}${t.media?`&image=${t.media}`:""}`,whatsapp:t=>`https://wa.me/?text=${t.title}%0D%0A${t.url}${t.text?`%0D%0A%0D%0A${t.text}`:""}`},r=t=>()=>{window.open(t,"_blank","noopener,noreferrer")},o=()=>{const t=document.querySelectorAll(".shareon");for(const o of t)for(const t of o.children)if(t){const a=t.classList.length;for(let i=0;i<a;i+=1){const a=t.classList.item(i);if(Object.prototype.hasOwnProperty.call(e,a)){const i={url:encodeURIComponent(t.dataset.url||o.dataset.url||window.location.href),title:encodeURIComponent(t.dataset.title||o.dataset.title||document.title),media:encodeURIComponent(t.dataset.media||o.dataset.media||""),text:encodeURIComponent(t.dataset.text||o.dataset.text||""),via:encodeURIComponent(t.dataset.via||o.dataset.via||""),fbAppId:encodeURIComponent(t.dataset.fbAppId||o.dataset.fbAppId||"")},n=e[a](i);"a"===t.tagName.toLowerCase()?(t.setAttribute("href",n),t.setAttribute("rel","noopener noreferrer"),t.setAttribute("target","_blank")):t.addEventListener("click",r(n));break}}}},a=document.currentScript;return a&&a.hasAttribute("init")&&o(),t.init=o,Object.defineProperty(t,"__esModule",{value:!0}),t[Symbol.toStringTag]="Module",t}({});

/**
* Panzoom for panning and zooming elements using CSS transforms
* © Timmy Willison and other contributors
* https://github.com/timmywil/panzoom/blob/master/MIT-License.txt
*
* 4.4.4
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Panzoom=e()}(this,function(){"use strict";var Y=function(){return(Y=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function C(t,e){for(var n=t.length;n--;)if(t[n].pointerId===e.pointerId)return n;return-1}function T(t,e){if(e.touches)for(var n=0,o=0,r=e.touches;o<r.length;o++){var a=r[o];a.pointerId=n++,T(t,a)}else-1<(n=C(t,e))&&t.splice(n,1),t.push(e)}function N(t){for(var e,n=(t=t.slice(0)).pop();e=t.pop();)n={clientX:(e.clientX-n.clientX)/2+n.clientX,clientY:(e.clientY-n.clientY)/2+n.clientY};return n}function L(t){if(t.length<2)return 0;var e=t[0],t=t[1];return Math.sqrt(Math.pow(Math.abs(t.clientX-e.clientX),2)+Math.pow(Math.abs(t.clientY-e.clientY),2))}"undefined"!=typeof window&&(window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}));var V={down:"mousedown",move:"mousemove",up:"mouseup mouseleave"};function G(t,e,n,o){V[t].split(" ").forEach(function(t){e.addEventListener(t,n,o)})}function I(t,e,n){V[t].split(" ").forEach(function(t){e.removeEventListener(t,n)})}"undefined"!=typeof window&&("function"==typeof window.PointerEvent?V={down:"pointerdown",move:"pointermove",up:"pointerup pointerleave pointercancel"}:"function"==typeof window.TouchEvent&&(V={down:"touchstart",move:"touchmove",up:"touchend touchcancel"}));var a,i="undefined"!=typeof document&&!!document.documentMode;var l=["webkit","moz","ms"],c={};function W(t){if(c[t])return c[t];var e=a=a||document.createElement("div").style;if(t in e)return c[t]=t;for(var n=t[0].toUpperCase()+t.slice(1),o=l.length;o--;){var r=""+l[o]+n;if(r in e)return c[t]=r}}function r(t,e){return parseFloat(e[W(t)])||0}function s(t,e,n){var o="border"===e?"Width":"";return{left:r(e+"Left"+o,n=void 0===n?window.getComputedStyle(t):n),right:r(e+"Right"+o,n),top:r(e+"Top"+o,n),bottom:r(e+"Bottom"+o,n)}}function Z(t,e,n){t.style[W(e)]=n}function q(t){var e=t.parentNode,n=window.getComputedStyle(t),o=window.getComputedStyle(e),r=t.getBoundingClientRect(),a=e.getBoundingClientRect();return{elem:{style:n,width:r.width,height:r.height,top:r.top,bottom:r.bottom,left:r.left,right:r.right,margin:s(t,"margin",n),border:s(t,"border",n)},parent:{style:o,width:a.width,height:a.height,top:a.top,bottom:a.bottom,left:a.left,right:a.right,padding:s(e,"padding",o),border:s(e,"border",o)}}}var B=/^http:[\w\.\/]+svg$/;var D={animate:!1,canvas:!1,cursor:"move",disablePan:!1,disableZoom:!1,disableXAxis:!1,disableYAxis:!1,duration:200,easing:"ease-in-out",exclude:[],excludeClass:"panzoom-exclude",handleStartEvent:function(t){t.preventDefault(),t.stopPropagation()},maxScale:4,minScale:.125,overflow:"hidden",panOnlyWhenZoomed:!1,relative:!1,setTransform:function(t,e,n){var o=e.x,r=e.y,a=e.scale,e=e.isSVG;Z(t,"transform","scale("+a+") translate("+o+"px, "+r+"px)"),e&&i&&(e=window.getComputedStyle(t).getPropertyValue("transform"),t.setAttribute("transform",e))},startX:0,startY:0,startScale:1,step:.3,touchAction:"none"};function t(d,f){if(!d)throw new Error("Panzoom requires an element as an argument");if(1!==d.nodeType)throw new Error("Panzoom requires an element with a nodeType of 1");if(t=(e=d).ownerDocument,e=e.parentNode,!(t&&e&&9===t.nodeType&&1===e.nodeType&&t.documentElement.contains(e)))throw new Error("Panzoom should be called on elements that have been attached to the DOM");var t;f=Y(Y({},D),f);var e,c=(e=d,B.test(e.namespaceURI)&&"svg"!==e.nodeName.toLowerCase()),n=d.parentNode;n.style.overflow=f.overflow,n.style.userSelect="none",n.style.touchAction=f.touchAction,(f.canvas?n:d).style.cursor=f.cursor,d.style.userSelect="none",d.style.touchAction=f.touchAction,Z(d,"transformOrigin","string"==typeof f.origin?f.origin:c?"0 0":"50% 50%");var o,r,a,i,l,s,m=0,h=0,v=1,p=!1;function u(t,e,n){n.silent||(e=new CustomEvent(t,{detail:e}),d.dispatchEvent(e))}function g(e,n,t){var o={x:m,y:h,scale:v,isSVG:c,originalEvent:t};return requestAnimationFrame(function(){var t;"boolean"==typeof n.animate&&(n.animate?(t=n,Z(d,"transition",W("transform")+" "+t.duration+"ms "+t.easing)):Z(d,"transition","none")),n.setTransform(d,o,n),u(e,o,n),u("panzoomchange",o,n)}),o}function y(t,e,n,o){var r,a,i,l,c,s,p=Y(Y({},f),o),u={x:m,y:h,opts:p};return!p.force&&(p.disablePan||p.panOnlyWhenZoomed&&v===p.startScale)||(t=parseFloat(t),e=parseFloat(e),p.disableXAxis||(u.x=(p.relative?m:0)+t),p.disableYAxis||(u.y=(p.relative?h:0)+e),p.contain&&(t=((o=(a=(r=q(d)).elem.width/v)*n)-a)/2,e=((a=(e=r.elem.height/v)*n)-e)/2,"inside"===p.contain?(i=(-r.elem.margin.left-r.parent.padding.left+t)/n,l=(r.parent.width-o-r.parent.padding.left-r.elem.margin.left-r.parent.border.left-r.parent.border.right+t)/n,u.x=Math.max(Math.min(u.x,l),i),c=(-r.elem.margin.top-r.parent.padding.top+e)/n,s=(r.parent.height-a-r.parent.padding.top-r.elem.margin.top-r.parent.border.top-r.parent.border.bottom+e)/n,u.y=Math.max(Math.min(u.y,s),c)):"outside"===p.contain&&(i=(-(o-r.parent.width)-r.parent.padding.left-r.parent.border.left-r.parent.border.right+t)/n,l=(t-r.parent.padding.left)/n,u.x=Math.max(Math.min(u.x,l),i),c=(-(a-r.parent.height)-r.parent.padding.top-r.parent.border.top-r.parent.border.bottom+e)/n,s=(e-r.parent.padding.top)/n,u.y=Math.max(Math.min(u.y,s),c))),p.roundPixels&&(u.x=Math.round(u.x),u.y=Math.round(u.y))),u}function w(t,e){var n=Y(Y({},f),e),o={scale:v,opts:n};if(!n.force&&n.disableZoom)return o;var r,a=f.minScale,i=f.maxScale;return n.contain&&(e=(r=q(d)).elem.width/v,n=r.elem.height/v,1<e&&1<n&&(e=(r.parent.width-r.parent.border.left-r.parent.border.right)/e,n=(r.parent.height-r.parent.border.top-r.parent.border.bottom)/n,"inside"===f.contain?i=Math.min(i,e,n):"outside"===f.contain&&(a=Math.max(a,e,n)))),o.scale=Math.min(Math.max(t,a),i),o}function b(t,e,n,o){n=y(t,e,v,n);return m!==n.x||h!==n.y?(m=n.x,h=n.y,g("panzoompan",n.opts,o)):{x:m,y:h,scale:v,isSVG:c,originalEvent:o}}function x(t,e,n){var o=w(t,e),r=o.opts;if(r.force||!r.disableZoom){t=o.scale;var a=m,e=h;r.focal&&(a=((o=r.focal).x/t-o.x/v+m*t)/t,e=(o.y/t-o.y/v+h*t)/t);e=y(a,e,t,{relative:!1,force:!0});return m=e.x,h=e.y,v=t,g("panzoomzoom",r,n)}}function E(t,e){e=Y(Y(Y({},f),{animate:!0}),e);return x(v*Math.exp((t?1:-1)*e.step),e)}function S(t,e,n,o){var r=q(d),a=r.parent.width-r.parent.padding.left-r.parent.padding.right-r.parent.border.left-r.parent.border.right,i=r.parent.height-r.parent.padding.top-r.parent.padding.bottom-r.parent.border.top-r.parent.border.bottom,l=e.clientX-r.parent.left-r.parent.padding.left-r.parent.border.left-r.elem.margin.left,e=e.clientY-r.parent.top-r.parent.padding.top-r.parent.border.top-r.elem.margin.top;c||(l-=r.elem.width/v/2,e-=r.elem.height/v/2);i={x:l/a*(a*t),y:e/i*(i*t)};return x(t,Y(Y({animate:!1},n),{focal:i}),o)}x(f.startScale,{animate:!1,force:!0}),setTimeout(function(){b(f.startX,f.startY,{animate:!1,force:!0})});var M=[];function A(t){!function(t,e){for(var n,o,r=t;null!=r;r=r.parentNode)if(n=r,o=e.excludeClass,1===n.nodeType&&-1<(" "+(n.getAttribute("class")||"").trim()+" ").indexOf(" "+o+" ")||-1<e.exclude.indexOf(r))return 1}(t.target,f)&&(T(M,t),p=!0,f.handleStartEvent(t),u("panzoomstart",{x:o=m,y:r=h,scale:v,isSVG:c,originalEvent:t},f),t=N(M),a=t.clientX,i=t.clientY,l=v,s=L(M))}function O(t){var e;p&&void 0!==o&&void 0!==r&&void 0!==a&&void 0!==i&&(T(M,t),e=N(M),1<M.length?(0===s&&(s=L(M)),S(w((L(M)-s)*f.step/80+l).scale,e)):b(o+(e.clientX-a)/v,r+(e.clientY-i)/v,{animate:!1},t))}function P(t){1===M.length&&u("panzoomend",{x:m,y:h,scale:v,isSVG:c,originalEvent:t},f),function(t,e){if(e.touches)for(;t.length;)t.pop();else{e=C(t,e);-1<e&&t.splice(e,1)}}(M,t),p&&(p=!1,o=r=a=i=void 0)}var z=!1;function X(){z||(z=!0,G("down",f.canvas?n:d,A),G("move",document,O,{passive:!0}),G("up",document,P,{passive:!0}))}return f.noBind||X(),{bind:X,destroy:function(){z=!1,I("down",f.canvas?n:d,A),I("move",document,O),I("up",document,P)},eventNames:V,getPan:function(){return{x:m,y:h}},getScale:function(){return v},getOptions:function(){return function(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}(f)},pan:b,reset:function(t){var e=Y(Y(Y({},f),{animate:!0,force:!0}),t);return v=w(e.startScale,e).scale,t=y(e.startX,e.startY,v,e),m=t.x,h=t.y,g("panzoomreset",e)},resetStyle:function(){n.style.overflow="",n.style.userSelect="",n.style.touchAction="",n.style.cursor="",d.style.cursor="",d.style.userSelect="",d.style.touchAction="",Z(d,"transformOrigin","")},setOptions:function(t){for(var e in t=void 0===t?{}:t)t.hasOwnProperty(e)&&(f[e]=t[e]);(t.hasOwnProperty("cursor")||t.hasOwnProperty("canvas"))&&(n.style.cursor=d.style.cursor="",(f.canvas?n:d).style.cursor=f.cursor),t.hasOwnProperty("overflow")&&(n.style.overflow=t.overflow),t.hasOwnProperty("touchAction")&&(n.style.touchAction=t.touchAction,d.style.touchAction=t.touchAction)},setStyle:function(t,e){return Z(d,t,e)},zoom:x,zoomIn:function(t){return E(!0,t)},zoomOut:function(t){return E(!1,t)},zoomToPoint:S,zoomWithWheel:function(t,e){t.preventDefault();var n=Y(Y(Y({},f),e),{animate:!1}),e=0===t.deltaY&&t.deltaX?t.deltaX:t.deltaY;return S(w(v*Math.exp((e<0?1:-1)*n.step/3),n).scale,t,n)}}}return t.defaultOptions=D,t});

/* String -> Hash*/
const WPCPhashCode = s => s.split('').reduce((a,b) => (((a << 5) - a) + b.charCodeAt(0))|0, 0)

/*!
 * clipboard.js v2.0.11
 * https://clipboardjs.com/
 *
 * Licensed MIT © Zeno Rocha
 */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return b}});var e=n(279),i=n.n(e),e=n(370),u=n.n(e),e=n(817),r=n.n(e);function c(t){try{return document.execCommand(t)}catch(t){return}}var a=function(t){t=r()(t);return c("cut"),t};function o(t,e){var n,o,t=(n=t,o="rtl"===document.documentElement.getAttribute("dir"),(t=document.createElement("textarea")).style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style[o?"right":"left"]="-9999px",o=window.pageYOffset||document.documentElement.scrollTop,t.style.top="".concat(o,"px"),t.setAttribute("readonly",""),t.value=n,t);return e.container.appendChild(t),e=r()(t),c("copy"),t.remove(),e}var f=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof t?n=o(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=o(t.value,e):(n=r()(t),c("copy")),n};function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,o=t.container,e=t.target,t=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==e){if(!e||"object"!==l(e)||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return t?f(t,{container:o}):e?"cut"===n?a(e):f(e,{container:o}):void 0};function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(n){var o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=v(n);return t=o?(t=v(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,!(t=t)||"object"!==p(t)&&"function"!=typeof t?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){t="data-clipboard-".concat(t);if(e.hasAttribute(t))return e.getAttribute(t)}var b=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(r,i());var t,e,n,o=h(r);function r(t,e){var n;return function(t){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),(n=o.call(this)).resolveOptions(e),n.listenClick(t),n}return t=r,n=[{key:"copy",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(t,e)}},{key:"cut",value:function(t){return a(t)}},{key:"isSupported",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof t?[t]:t,e=!!document.queryCommandSupported;return t.forEach(function(t){e=e&&!!document.queryCommandSupported(t)}),e}}],(e=[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===p(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=u()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",t=s({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(t?"success":"error",{action:n,text:t,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return m("action",t)}},{key:"defaultTarget",value:function(t){t=m("target",t);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(t){return m("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&d(t.prototype,e),n&&d(t,n),r}()},828:function(t){var e;"undefined"==typeof Element||Element.prototype.matches||((e=Element.prototype).matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector),t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var u=n(828);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t.delegateTarget=u(t.target,n),t.delegateTarget&&o.call(e,t)}}.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,o,r)}))}},879:function(t,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeof t||t instanceof String},n.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var f=n(879),l=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!f.string(e))throw new TypeError("Second argument must be a String");if(!f.fn(n))throw new TypeError("Third argument must be a Function");if(f.node(t))return c=e,a=n,(u=t).addEventListener(c,a),{destroy:function(){u.removeEventListener(c,a)}};if(f.nodeList(t))return o=t,r=e,i=n,Array.prototype.forEach.call(o,function(t){t.addEventListener(r,i)}),{destroy:function(){Array.prototype.forEach.call(o,function(t){t.removeEventListener(r,i)})}};if(f.string(t))return t=t,e=e,n=n,l(document.body,t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,r,i,u,c,a}},817:function(t){t.exports=function(t){var e,n="SELECT"===t.nodeName?(t.focus(),t.value):"INPUT"===t.nodeName||"TEXTAREA"===t.nodeName?((e=t.hasAttribute("readonly"))||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),e||t.removeAttribute("readonly"),t.value):(t.hasAttribute("contenteditable")&&t.focus(),n=window.getSelection(),(e=document.createRange()).selectNodeContents(t),n.removeAllRanges(),n.addRange(e),n.toString());return n}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,u=o.length;i<u;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},r={},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o(686).default;function o(t){if(r[t])return r[t].exports;var e=r[t]={exports:{}};return n[t](e,e.exports,o),e.exports}var n,r});

/**
* © 2012, Digital Fusion
* Licensed under the MIT license.
* https://github.com/customd/jquery-visible
*
* @author Sam Sehnert
* @desc A small plugin that checks whether elements are within
*       the user visible viewport of a web browser.
*       can accounts for vertical position, horizontal, or both
*       
*       $('#element').visible( true );
*/
!function(t){var i=t(window);t.fn.visible=function(t,e,o){if(!(this.length<1)){var r=this.length>1?this.eq(0):this,n=r.get(0),f=i.width(),h=i.height(),o=o?o:"both",l=e===!0?n.offsetWidth*n.offsetHeight:!0;if("function"==typeof n.getBoundingClientRect){var g=n.getBoundingClientRect(),u=g.top>=0&&g.top<h,s=g.bottom>0&&g.bottom<=h,c=g.left>=0&&g.left<f,a=g.right>0&&g.right<=f,v=t?u||s:u&&s,b=t?c||a:c&&a;if("both"===o)return l&&v&&b;if("vertical"===o)return l&&v;if("horizontal"===o)return l&&b}else{var d=i.scrollTop(),p=d+h,w=i.scrollLeft(),m=w+f,y=r.offset(),z=y.top,B=z+r.height(),C=y.left,R=C+r.width(),j=t===!0?B:z,q=t===!0?z:B,H=t===!0?R:C,L=t===!0?C:R;if("both"===o)return!!l&&p>=q&&j>=d&&m>=L&&H>=w;if("vertical"===o)return!!l&&p>=q&&j>=d;if("horizontal"===o)return!!l&&m>=L&&H>=w}}}}(jQuery);

/**
* jQuery asBreadcrumbs v0.2.3
* https://github.com/amazingSurge/jquery-asBreadcrumbs
*
* © (c) amazingSurge
* Released under the LGPL-3.0 license
*/
!function(s,e){if("function"==typeof define&&define.amd)define(["jquery"],e);else if("undefined"!=typeof exports)e(require("jquery"));else{var t={exports:{}};e(s.jQuery),s.jqueryAsBreadcrumbsEs=t.exports}}(this,function(s){"use strict";function e(s,e){if(!(s instanceof e))throw new TypeError("Cannot call a class as a function")}var t=function(s){return s&&s.__esModule?s:{default:s}}(s),i=function(){function s(s,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(s,i.key,i)}}return function(e,t,i){return t&&s(e.prototype,t),i&&s(e,i),e}}(),n={namespace:"breadcrumb",overflow:"left",responsive:!0,ellipsisText:"&#8230;",ellipsisClass:null,hiddenClass:"is-hidden",dropdownClass:null,dropdownMenuClass:null,dropdownItemClass:null,dropdownItemDisableClass:"disabled",toggleClass:null,toggleIconClass:"caret",getItems:function(s){return s.children()},getItemLink:function(s){return s.find("a")},ellipsis:function(s,e){return'<li class="'+s.ellipsisClass+'">'+e+"</li>"},dropdown:function(s){var e="dropdown-menu";return"right"===this.options.overflow&&(e+=" dropdown-menu-right"),'<li class="dropdown '+s.dropdownClass+'">\n      <a href="javascript:void(0);" class="'+s.toggleClass+'" data-toggle="dropdown">\n        <i class="'+s.toggleIconClass+'"></i>\n      </a>\n      <ul class="'+e+" "+s.dropdownMenuClass+'"></ul>\n    </li>'},dropdownItem:function(s,e,t){return t?'<li class="'+s.dropdownItemClass+'"><a href="'+t+'">'+e+"</a></li>":'<li class="'+s.dropdownItemClass+" "+s.dropdownItemDisableClass+'"><a href="#">'+e+"</a></li>"},onInit:null,onReady:null},o=0,l=function(){function s(i,l){e(this,s),this.element=i,this.$element=(0,t.default)(i),this.options=t.default.extend({},n,l,this.$element.data()),this.namespace=this.options.namespace,this.$element.addClass(this.namespace),this.classes={toggleClass:this.options.toggleClass?this.options.toggleClass:this.namespace+"-toggle",toggleIconClass:this.options.toggleIconClass,dropdownClass:this.options.dropdownClass?this.options.dropdownClass:this.namespace+"-dropdown",dropdownMenuClass:this.options.dropdownMenuClass?this.options.dropdownMenuClass:this.namespace+"-dropdown-menu",dropdownItemClass:this.options.dropdownItemClass?this.options.dropdownItemClass:"",dropdownItemDisableClass:this.options.dropdownItemDisableClass?this.options.dropdownItemDisableClass:"",ellipsisClass:this.options.ellipsisClass?this.options.ellipsisClass:this.namespace+"-ellipsis",hiddenClass:this.options.hiddenClass},this.initialized=!1,this.instanceId=++o,this.$children=this.options.getItems(this.$element),this.$firstChild=this.$children.eq(0),this.$dropdown=null,this.$dropdownMenu=null,this.gap=6,this.items=[],this._trigger("init"),this.init()}return i(s,[{key:"init",value:function(){var s=this;this.$element.addClass(this.namespace+"-"+this.options.overflow),this._prepareItems(),this._createDropdown(),this._createEllipsis(),this.render(),this.options.responsive&&(0,t.default)(window).on(this.eventNameWithId("resize"),this._throttle(function(){s.resize()},250)),this.initialized=!0,this._trigger("ready")}},{key:"_prepareItems",value:function(){var s=this;this.$children.each(function(){var e=(0,t.default)(this),i=s.options.getItemLink(e),n=(0,t.default)(s.options.dropdownItem.call(s,s.classes,e.text(),i.attr("href")));s.items.push({$this:e,outerWidth:e.outerWidth(),$item:n})}),"left"===this.options.overflow&&this.items.reverse()}},{key:"_createDropdown",value:function(){this.$dropdown=(0,t.default)(this.options.dropdown.call(this,this.classes)).addClass(this.classes.hiddenClass).appendTo(this.$element),this.$dropdownMenu=this.$dropdown.find("."+this.classes.dropdownMenuClass),this._createDropdownItems(),"right"===this.options.overflow?this.$dropdown.appendTo(this.$element):this.$dropdown.prependTo(this.$element)}},{key:"_createDropdownItems",value:function(){for(var s=0;s<this.items.length;s++)this.items[s].$item.appendTo(this.$dropdownMenu).addClass(this.classes.hiddenClass)}},{key:"_createEllipsis",value:function(){this.options.ellipsisText&&(this.$ellipsis=(0,t.default)(this.options.ellipsis.call(this,this.classes,this.options.ellipsisText)).addClass(this.classes.hiddenClass),"right"===this.options.overflow?this.$ellipsis.insertBefore(this.$dropdown):this.$ellipsis.insertAfter(this.$dropdown))}},{key:"render",value:function(){for(var s=this.getDropdownWidth(),e=0,t=this.getConatinerWidth(),i=!1,n=0;n<this.items.length;n++)(e+=this.items[n].outerWidth)+s>t?(i=!0,this._showDropdownItem(n)):this._hideDropdownItem(n);i?(this.$ellipsis.removeClass(this.classes.hiddenClass),this.$dropdown.removeClass(this.classes.hiddenClass)):(this.$ellipsis.addClass(this.classes.hiddenClass),this.$dropdown.addClass(this.classes.hiddenClass)),this._trigger("update")}},{key:"resize",value:function(){this.render()}},{key:"getDropdownWidth",value:function(){return this.$dropdown.outerWidth()+(this.options.ellipsisText?this.$ellipsis.outerWidth():0)}},{key:"getConatinerWidth",value:function(){var s=0,e=this;return this.$element.children().each(function(){"inline-block"===(0,t.default)(this).css("display")&&"none"===(0,t.default)(this).css("float")&&(s+=e.gap)}),this.$element.width()-s}},{key:"_showDropdownItem",value:function(s){this.items[s].$item.removeClass(this.classes.hiddenClass),this.items[s].$this.addClass(this.classes.hiddenClass)}},{key:"_hideDropdownItem",value:function(s){this.items[s].$this.removeClass(this.classes.hiddenClass),this.items[s].$item.addClass(this.classes.hiddenClass)}},{key:"_trigger",value:function(s){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];var n=[this].concat(t);this.$element.trigger("asBreadcrumbs::"+s,n);var o="on"+(s=s.replace(/\b\w+\b/g,function(s){return s.substring(0,1).toUpperCase()+s.substring(1)}));"function"==typeof this.options[o]&&this.options[o].apply(this,t)}},{key:"eventName",value:function(s){if("string"!=typeof s||""===s)return"."+this.options.namespace;for(var e=(s=s.split(" ")).length,t=0;t<e;t++)s[t]=s[t]+"."+this.options.namespace;return s.join(" ")}},{key:"eventNameWithId",value:function(s){if("string"!=typeof s||""===s)return"."+this.options.namespace+"-"+this.instanceId;for(var e=(s=s.split(" ")).length,t=0;t<e;t++)s[t]=s[t]+"."+this.options.namespace+"-"+this.instanceId;return s.join(" ")}},{key:"_throttle",value:function(s,e){var t=this,i=Date.now||function(){return(new Date).getTime()},n=void 0,o=void 0,l=void 0,a=void 0,r=0,d=function(){r=i(),n=null,a=s.apply(o,l),n||(o=l=null)};return function(){for(var h=arguments.length,p=Array(h),u=0;u<h;u++)p[u]=arguments[u];var c=i(),f=e-(c-r);return o=t,l=p,f<=0||f>e?(n&&(clearTimeout(n),n=null),r=c,a=s.apply(o,l),n||(o=l=null)):n||(n=setTimeout(d,f)),a}}},{key:"destroy",value:function(){this.$element.children().removeClass(this.classes.hiddenClass),this.$dropdown.remove(),this.options.ellipsisText&&this.$ellipsis.remove(),this.initialized=!1,this.$element.data("asBreadcrumbs",null),(0,t.default)(window).off(this.eventNameWithId("resize")),this._trigger("destroy")}}],[{key:"setDefaults",value:function(s){t.default.extend(n,t.default.isPlainObject(s)&&s)}}]),s}(),a={version:"0.2.3"},r="asBreadcrumbs",d=t.default.fn.asBreadcrumbs,h=function(s){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];if("string"==typeof s){var o=s;if(/^_/.test(o))return!1;if(!/^(get)/.test(o))return this.each(function(){var s=t.default.data(this,r);s&&"function"==typeof s[o]&&s[o].apply(s,i)});var a=this.first().data(r);if(a&&"function"==typeof a[o])return a[o].apply(a,i)}return this.each(function(){(0,t.default)(this).data(r)||(0,t.default)(this).data(r,new l(this,s))})};t.default.fn.asBreadcrumbs=h,t.default.asBreadcrumbs=t.default.extend({setDefaults:l.setDefaults,noConflict:function(){return t.default.fn.asBreadcrumbs=d,h}},a)});

/*! ie11CustomProperties.js v4.1.0 | MIT License | https://git.io/fjXMN */
!function(){"use strict";var s,l,c,i,u,t,r,n,o,a,p,f,d,m,y,v,e,h,S,E,P,C,g,b,T=document.createElement("i");function L(e,t){try{return e.querySelectorAll(t)}catch(e){return[]}}function _(e,t){for(var r,n={selector:e,callback:t,elements:new WeakMap},o=L(l,n.selector),i=0;r=o[i++];)n.elements.set(r,!0),n.callback.call(r,r);s.push(n),c||(c=new MutationObserver(M)).observe(l,{childList:!0,subtree:!0}),w(n)}function w(e,t){var r,n=0,o=[];try{t&&t.matches(e.selector)&&o.push(t)}catch(e){}for(i&&Array.prototype.push.apply(o,L(t||l,e.selector));r=o[n++];)e.elements.has(r)||(e.elements.set(r,!0),e.callback.call(r,r))}function M(e){for(var t,r,n,o,i=0;r=e[i++];)for(n=r.addedNodes,t=0;o=n[t++];)1===o.nodeType&&function(e){for(var t,r=0;t=s[r++];)w(t,e)}(o)}function A(e,t,r){t=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,t)}function V(r){if(!r.ieCP_polyfilled&&!r.ieCP_elementSheet&&r.sheet){if(r.href)return o=r.href,e=function(e){var t=O(e);e!==t&&k(r,t)},(t=new XMLHttpRequest).open("GET",o),t.overrideMimeType("text/css"),t.onload=function(){200<=t.status&&t.status<400&&e(t.responseText)},void t.send();var e,t,n=r.innerHTML,o=O(n);n!==o&&k(r,o)}}function O(e){return e.replace(o,function(e,t,r,n,o,i){return t+"-ie-"+(i?"❗":"")+n+":"+H(o)}).replace(a,function(e,t,r,n){return t+"-ieVar-"+(n?"❗":"")+r+"; "+r})}function H(e){return e}function q(e){return e}function B(t){t["z-index"]===t&&x();const e=t.cssText;var r,n=e.match(p);if(n)for(var o=[],i=0;r=n[i++];){let e=r.slice(7,-1);"❗"===e[0]&&(e=e.substr(1)),o.push(e),u[e]||(u[e]=[]),u[e].push(t)}var s=e.match(f);if(s){var l={};for(i=0;r=s[i++];){var c=r.substr(4).split(":");let e=c[0];c=c[1];"❗"===e[0]&&(e=e.substr(1)),l[e]=c}}return{getters:o,setters:l}}function k(e,t){e.sheet.cssText=t,e.ieCP_polyfilled=!0;for(var r=e.sheet.rules,n=0;i=r[n++];){var o=B(i.style);o.getters&&function(t,r){F(t),_(N(t),function(e){D(e,r,t),z(e)})}(i.selectorText,o.getters),o.setters&&function(e,t){F(e),_(N(e),function(e){R(e,t)})}(i.selectorText,o.setters);var i=i.parentRule&&i.parentRule.media&&i.parentRule.media.mediaText;i&&(o.getters||o.setters)&&matchMedia(i).addListener(function(){$(document.documentElement)})}j()}function D(e,t,r){var n,o,i=0,s=r.split(",");for(e.setAttribute("iecp-needed",!0),e.ieCPSelectors||(e.ieCPSelectors={});n=t[i++];)for(o=0;r=s[o++];){var l=r.trim().split("::");e.ieCPSelectors[n]||(e.ieCPSelectors[n]=[]),e.ieCPSelectors[n].push({selector:l[0],pseudo:l[1]?"::"+l[1]:""})}}function R(e,t){for(var r in e.ieCP_setters||(e.ieCP_setters={}),t)e.ieCP_setters["--"+r]=1;$(e)}function j(){for(var e in u)for(var t,r=u[e],n=0;t=r[n++];)if(!t.owningElement){var o=t["-ieVar-"+e];if(o&&""!==(o=Z(getComputedStyle(document.documentElement),o)))try{t[e]=o}catch(e){}}}function F(e){for(var t in e=e.split(",")[0],m){var r,n,o=e.split(":"+t);1<o.length&&(r=o[1].match(/^[^\s]*/),r=N(o[0]+r),n=m[t],_(r,function(e){e.addEventListener(n.on,I),e.addEventListener(n.off,I)}))}}function N(e){return e.replace(d,"").replace(":not()","")}function z(e){t.add(e),r||(r=!0,requestAnimationFrame(function(){n=!(r=!1),t.forEach(G),t.clear(),setTimeout(function(){n=!1})}))}function G(e){e.ieCP_unique||(e.ieCP_unique=++v,e.classList.add("iecp-u"+e.ieCP_unique));var t,r=getComputedStyle(e);let n="";for(t in e.runtimeStyle.cssText="",e.ieCPSelectors){var o=r["-ieVar-❗"+t],i=o||r["-ieVar-"+t];if(i){var s={},l=Z(r,i,s);o&&(l+=" !important");for(var c,u=0;c=e.ieCPSelectors[t][u++];)"%styleAttr"===c.selector&&(e.style[t]=l),!o&&!1!==s.allByRoot||(c.pseudo?n+=c.selector+".iecp-u"+e.ieCP_unique+c.pseudo+"{"+t+":"+l+"}\n":e.runtimeStyle[t]=l)}}!function(e,t){if(!e.ieCP_styleEl&&t){const r=document.createElement("style");r.ieCP_elementSheet=1,document.head.appendChild(r),e.ieCP_styleEl=r}e.ieCP_styleEl&&(e.ieCP_styleEl.innerHTML=t)}(e,n)}function $(e){if(e){e===document.documentElement&&j();var t=e.querySelectorAll("[iecp-needed]");e.hasAttribute&&e.hasAttribute("iecp-needed")&&z(e);for(var r,n=0;r=t[n++];)z(r)}}function I(e){$(e.target)}function Z(n,e,o){return function(r,n){let e=0,o=null,i=0,s="",l=0,t,c;for(;t=r[l++];){if("("===t&&(++e,null===o&&r[l-4]+r[l-3]+r[l-2]==="var"&&(o=e,s+=r.substring(i,l-4),i=l),r[l-5]+r[l-4]+r[l-3]+r[l-2]==="calc"&&(c=e)),")"===t&&o===e){let e=r.substring(i,l-1).trim(),t;var u=e.indexOf(",");-1!==u&&(t=e.slice(u+1),e=e.slice(0,u)),s+=n(e,t,c),i=l,o=null}")"===t&&(--e,c===e&&(c=null))}return s+=r.substring(i),s}(e,function(e,t,r){e=n.getPropertyValue(e);return r&&(e=e.replace(/^calc\(/,"(")),o&&n.lastPropertyServedBy!==document.documentElement&&(o.allByRoot=!1),""===e&&t&&(e=Z(n,t,o)),e})}T.style.setProperty("--x","y"),"y"!==T.style.getPropertyValue("--x")&&T.msMatchesSelector&&(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector),s=[],l=document,i=!1,document.addEventListener("DOMContentLoaded",function(){i=!0}),"classList"in Element.prototype||A("classList",HTMLElement.prototype,Element.prototype),"innerHTML"in Element.prototype||A("innerHTML",HTMLElement.prototype,Element.prototype),"runtimeStyle"in Element.prototype||A("runtimeStyle",HTMLElement.prototype,Element.prototype),"sheet"in SVGStyleElement.prototype||Object.defineProperty(SVGStyleElement.prototype,"sheet",{get:function(){for(var e,t=document.styleSheets,r=0;e=t[r++];)if(e.ownerNode===this)return e}}),u={},t=new Set,n=r=!1,o=/([\s{;])(--([A-Za-z0-9-_]*)\s*:([^;!}{]+)(!important)?)(?=\s*([;}]|$))/g,a=/([{;]\s*)([A-Za-z0-9-_]+\s*:[^;}{]*var\([^!;}{]+)(!important)?(?=\s*([;}$]|$))/g,p=/-ieVar-([^:]+):/g,f=/-ie-([^};]+)/g,d=/:(hover|active|focus|target|visited|link|:before|:after|:first-letter|:first-line)/,_("style",V),_('link[rel="stylesheet"]',V),_("[ie-style]",function(e){var t=O("{"+e.getAttribute("ie-style")).substr(1);e.style.cssText+=";"+t;t=B(e.style);t.getters&&D(e,t.getters,"%styleAttr"),t.setters&&R(e,t.setters)}),m={hover:{on:"mouseenter",off:"mouseleave"},focus:{on:"focusin",off:"focusout"},active:{on:"CSSActivate",off:"CSSDeactivate"}},y=null,document.addEventListener("mousedown",function(t){setTimeout(function(){var e;t.target===document.activeElement&&((e=document.createEvent("Event")).initEvent("CSSActivate",!0,!0),(y=t.target).dispatchEvent(e))})}),document.addEventListener("mouseup",function(){var e;y&&((e=document.createEvent("Event")).initEvent("CSSDeactivate",!0,!0),y.dispatchEvent(e),y=null)}),v=0,e=new MutationObserver(function(e){if(!n)for(var t,r=0;t=e[r++];)"iecp-needed"!==t.attributeName&&$(t.target)}),setTimeout(function(){e.observe(document,{attributes:!0,subtree:!0})}),h=location.hash,addEventListener("hashchange",function(e){var t,r=document.getElementById(location.hash.substr(1));r?(t=document.getElementById(h.substr(1)),$(r),$(t)):$(document),h=location.hash}),T=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"style"),S=T.get,T.get=function(){const e=S.call(this);return e.owningElement=this,e},Object.defineProperty(HTMLElement.prototype,"style",T),E=getComputedStyle,window.getComputedStyle=function(e){var t=E.apply(this,arguments);return t.computedFor=e,t},T=CSSStyleDeclaration.prototype,P=T.getPropertyValue,T.getPropertyValue=function(t){if(this.lastPropertyServedBy=!1,"-"!==(t=t.trim())[0]||"-"!==t[1])return P.apply(this,arguments);var e=t.substr(2),r="-ie-"+e,n="-ie-❗"+e;let o=q(this[n]||this[r]);if(this.computedFor){if(void 0===o||C[o]){if(C[o]||!b[t]||b[t].inherits){let e=this.computedFor.parentNode;for(;1===e.nodeType;){if(e.ieCP_setters&&e.ieCP_setters[t]){var i=getComputedStyle(e),i=q(i[n]||i[r]);if(void 0!==i){o=Z(this,i),this.lastPropertyServedBy=e;break}}e=e.parentNode}}}else o=Z(this,o),this.lastPropertyServedBy=this.computedFor;if("initial"===o)return""}return void 0===o&&b[t]&&(o=b[t].initialValue),void 0===o?"":o},C={inherit:1,revert:1,unset:1},g=T.setProperty,T.setProperty=function(e,t,r){if("-"!==e[0]||"-"!==e[1])return g.apply(this,arguments);const n=this.owningElement;n&&(n.ieCP_setters||(n.ieCP_setters={}),n.ieCP_setters[e]=1),e="-ie-"+("important"===r?"❗":"")+e.substr(2),this.cssText+="; "+e+":"+H(t)+";",n&&$(n)},window.CSS||(window.CSS={}),b={},CSS.registerProperty=function(e){b[e.name]=e})}();

/*! loading-Bar v3.1.0 | MIT License | https://github.com/loadingio/loading-bar */
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){var presets,simpleStr,wrap,slice$=[].slice,toString$={}.toString;presets=require("./presets").presets;simpleStr=function(arr){return arr.join("")};wrap=function(content){return"data:image/svg+xml;base64,"+btoa(content)};(function(){var make,handler,ldBar;make={head:function(viewBox){return'<?xml version="1.0" encoding="utf-8"?>\n        <svg xmlns="http://www.w3.org/2000/svg" viewBox="'+viewBox+'">'},gradient:function(dir,dur){var colors,ret,len,gx,gy,x,y,i$,i,idx;dir==null&&(dir=45);dur==null&&(dur=1);colors=slice$.call(arguments,2);ret=[this.head("0 0 100 100")];len=colors.length*4+1;dir=dir*Math.PI/180;gx=Math.pow(Math.cos(dir),2);gy=Math.sqrt(gx-Math.pow(gx,2));if(dir>Math.PI*.25){gy=Math.pow(Math.sin(dir),2);gx=Math.sqrt(gy-Math.pow(gy,2))}x=gx*100;y=gy*100;ret.push('<defs><linearGradient id="gradient" x1="0" x2="'+gx+'" y1="0" y2="'+gy+'">');for(i$=0;i$<len;++i$){i=i$;idx=i*100/(len-1);ret.push('<stop offset="'+idx+'%" stop-color="'+colors[i%colors.length]+'"/>')}ret.push('</linearGradient></defs>\n<rect x="0" y="0" width="400" height="400" fill="url(#gradient)">\n<animateTransform attributeName="transform" type="translate" from="-'+x+",-"+y+'"\nto="0,0" dur="'+dur+'s" repeatCount="indefinite"/></rect></svg>');return wrap(ret.join(""))},stripe:function(c1,c2,dur){var ret,i;c1==null&&(c1="#b4b4b4");c2==null&&(c2="#e6e6e6");dur==null&&(dur=1);ret=[this.head("0 0 100 100")];ret=ret.concat(['<rect fill="'+c2+'" width="100" height="100"/>',"<g><g>",function(){var i$,results$=[];for(i$=0;i$<13;++i$){i=i$;results$.push('<polygon fill="'+c1+'" '+('points="'+(-90+i*20)+",100 "+(-100+i*20)+",")+("100 "+(-60+i*20)+",0 "+(-50+i*20)+',0 "/>'))}return results$}().join(""),'</g><animateTransform attributeName="transform" type="translate" ','from="0,0" to="20,0" dur="'+dur+'s" repeatCount="indefinite"/></g></svg>'].join(""));return wrap(ret)},bubble:function(c1,c2,count,dur,size,sw){var ret,i$,i,idx,x,r,d;c1==null&&(c1="#39d");c2==null&&(c2="#9cf");count==null&&(count=15);dur==null&&(dur=1);size==null&&(size=6);sw==null&&(sw=1);ret=[this.head("0 0 200 200"),'<rect x="0" y="0" width="200" height="200" fill="'+c1+'"/>'];for(i$=0;i$<count;++i$){i=i$;idx=-(i/count)*dur;x=Math.random()*184+8;r=(Math.random()*.7+.3)*size;d=dur*(1+Math.random()*.5);ret.push(['<circle cx="'+x+'" cy="0" r="'+r+'" fill="none" stroke="'+c2+'" stroke-width="'+sw+'">','<animate attributeName="cy" values="190;-10" times="0;1" ','dur="'+d+'s" begin="'+idx+'s" repeatCount="indefinite"/>',"</circle>",'<circle cx="'+x+'" cy="0" r="'+r+'" fill="none" stroke="'+c2+'" stroke-width="'+sw+'">','<animate attributeName="cy" values="390;190" times="0;1" ','dur="'+d+'s" begin="'+idx+'s" repeatCount="indefinite"/>',"</circle>"].join(""))}return wrap(ret.join("")+"</svg>")}};handler={queue:{},running:false,main:function(timestamp){var keepon,removed,k,ref$,func,ret,this$=this;keepon=false;removed=[];for(k in ref$=this.queue){func=ref$[k];ret=func(timestamp);if(!ret){removed.push(func)}keepon=keepon||ret}for(k in ref$=this.queue){func=ref$[k];if(removed.indexOf(func)>=0){delete this.queue[k]}}if(keepon){return requestAnimationFrame(function(it){return this$.main(it)})}else{return this.running=false}},add:function(key,f){var this$=this;if(!this.queue[key]){this.queue[key]=f}if(!this.running){this.running=true;return requestAnimationFrame(function(it){return this$.main(it)})}}};window.ldBar=ldBar=function(selector,option){var xmlns,root,cls,idPrefix,id,domTree,newNode,x$,config,attr,that,isStroke,parseRes,dom,svg,text,group,length,path0,path1,patimg,img,ret,size,this$=this;option==null&&(option={});xmlns={xlink:"http://www.w3.org/1999/xlink"};root=toString$.call(selector).slice(8,-1)==="String"?document.querySelector(selector):selector;if(!root.ldBar){root.ldBar=this}else{return root.ldBar}cls=root.getAttribute("class")||"";if(!~cls.indexOf("ldBar")){root.setAttribute("class",cls+" ldBar")}idPrefix="ldBar-"+Math.random().toString(16).substring(2);id={key:idPrefix,clip:idPrefix+"-clip",filter:idPrefix+"-filter",pattern:idPrefix+"-pattern",mask:idPrefix+"-mask",maskPath:idPrefix+"-mask-path"};domTree=function(n,o){var k,v;n=newNode(n);for(k in o){v=o[k];if(k!=="attr"){n.appendChild(domTree(k,v||{}))}}n.attrs(o.attr||{});return n};newNode=function(n){return document.createElementNS("http://www.w3.org/2000/svg",n)};x$=document.body.__proto__.__proto__.__proto__;x$.text=function(t){return this.appendChild(document.createTextNode(t))};x$.attrs=function(o){var k,v,ret,results$=[];for(k in o){v=o[k];ret=/([^:]+):([^:]+)/.exec(k);if(!ret||!xmlns[ret[1]]){results$.push(this.setAttribute(k,v))}else{results$.push(this.setAttributeNS(xmlns[ret[1]],k,v))}}return results$};x$.styles=function(o){var k,v,results$=[];for(k in o){v=o[k];results$.push(this.style[k]=v)}return results$};x$.append=function(n){var r;return this.appendChild(r=document.createElementNS("http://www.w3.og/2000/svg",n))};x$.attr=function(n,v){if(v!=null){return this.setAttribute(n,v)}else{return this.getAttribute(n)}};config={type:"stroke",img:"",path:"M10 10L90 10M90 8M90 12","fill-dir":"btt",fill:"#25b","fill-background":"#ddd","fill-background-extrude":3,"pattern-size":null,"stroke-dir":"normal",stroke:"#25b","stroke-width":"3","stroke-trail":"#ddd","stroke-trail-width":.5,duration:1,easing:"linear",value:0,"img-size":null,bbox:null,"set-dim":true,"aspect-ratio":"xMidYMid","transition-in":false,min:0,max:100,precision:0,padding:undefined};config["preset"]=root.attr("data-preset")||option["preset"];if(config.preset!=null){import$(config,presets[config.preset])}for(attr in config){if(that=that=root.attr("data-"+attr)){config[attr]=that}}import$(config,option);if(config.img){config.path=null}isStroke=config.type==="stroke";parseRes=function(v){var parser,ret;parser=/data:ldbar\/res,([^()]+)\(([^)]+)\)/;ret=parser.exec(v);if(!ret){return v}return ret=make[ret[1]].apply(make,ret[2].split(","))};config.fill=parseRes(config.fill);config.stroke=parseRes(config.stroke);if(config["set-dim"]==="false"){config["set-dim"]=false}dom={attr:{"xmlns:xlink":"http://www.w3.org/1999/xlink",preserveAspectRatio:config["aspect-ratio"],width:"100%",height:"100%"},defs:{filter:{attr:{id:id.filter,x:-1,y:-1,width:3,height:3},feMorphology:{attr:{operator:+config["fill-background-extrude"]>=0?"dilate":"erode",radius:Math.abs(+config["fill-background-extrude"])}},feColorMatrix:{attr:{values:"0 0 0 0 1    0 0 0 0 1    0 0 0 0 1    0 0 0 1 0",result:"cm"}}},mask:{attr:{id:id.mask},image:{attr:{"xlink:href":config.img,filter:"url(#"+id.filter+")",x:0,y:0,width:100,height:100,preserveAspectRatio:config["aspect-ratio"]}}},g:{mask:{attr:{id:id.maskPath},path:{attr:{d:config.path||"",fill:"#fff",stroke:"#fff",filter:"url(#"+id.filter+")"}}}},clipPath:{attr:{id:id.clip},rect:{attr:{class:"mask",fill:"#000"}}},pattern:{attr:{id:id.pattern,patternUnits:"userSpaceOnUse",x:0,y:0,width:300,height:300},image:{attr:{x:0,y:0,width:300,height:300}}}}};svg=domTree("svg",dom);text=document.createElement("div");text.setAttribute("class","ldBar-label");root.appendChild(svg);root.appendChild(text);group=[0,0];length=0;this.fit=function(){var that,box,d,rect;if(that=config["bbox"]){box=that.split(" ").map(function(it){return+it.trim()});box={x:box[0],y:box[1],width:box[2],height:box[3]}}else{box=group[1].getBBox()}if(!box||box.width===0||box.height===0){box={x:0,y:0,width:100,height:100}}d=Math.max.apply(null,["stroke-width","stroke-trail-width","fill-background-extrude"].map(function(it){return config[it]}))*1.5;if(config["padding"]!=null){d=+config["padding"]}svg.attrs({viewBox:[box.x-d,box.y-d,box.width+d*2,box.height+d*2].join(" ")});if(config["set-dim"]){["width","height"].map(function(it){if(!root.style[it]||this$.fit[it]){root.style[it]=box[it]+d*2+"px";return this$.fit[it]=true}})}rect=group[0].querySelector("rect");if(rect){return rect.attrs({x:box.x-d,y:box.y-d,width:box.width+d*2,height:box.height+d*2})}};if(config.path){if(isStroke){group[0]=domTree("g",{path:{attr:{d:config.path,fill:"none",class:"baseline"}}})}else{group[0]=domTree("g",{rect:{attr:{x:0,y:0,width:100,height:100,mask:"url(#"+id.maskPath+")",fill:config["fill-background"],class:"frame"}}})}svg.appendChild(group[0]);group[1]=domTree("g",{path:{attr:{d:config.path,class:isStroke?"mainline":"solid","clip-path":config.type==="fill"?"url(#"+id.clip+")":""}}});svg.appendChild(group[1]);path0=group[0].querySelector(isStroke?"path":"rect");path1=group[1].querySelector("path");if(isStroke){path1.attrs({fill:"none"})}patimg=svg.querySelector("pattern image");img=new Image;img.addEventListener("load",function(){var box,that;box=(that=config["pattern-size"])?{width:+that,height:+that}:img.width&&img.height?{width:img.width,height:img.height}:{width:300,height:300};svg.querySelector("pattern").attrs({width:box.width,height:box.height});return patimg.attrs({width:box.width,height:box.height})});if(/.+\..+|^data:/.exec(!isStroke?config.fill:config.stroke)){img.src=!isStroke?config.fill:config.stroke;patimg.attrs({"xlink:href":img.src})}if(isStroke){path0.attrs({stroke:config["stroke-trail"],"stroke-width":config["stroke-trail-width"]});path1.attrs({"stroke-width":config["stroke-width"],stroke:/.+\..+|^data:/.exec(config.stroke)?"url(#"+id.pattern+")":config.stroke})}if(config.fill&&!isStroke){path1.attrs({fill:/.+\..+|^data:/.exec(config.fill)?"url(#"+id.pattern+")":config.fill})}length=path1.getTotalLength();this.fit();this.inited=true}else if(config.img){if(config["img-size"]){ret=config["img-size"].split(",");size={width:+ret[0],height:+ret[1]}}else{size={width:100,height:100}}group[0]=domTree("g",{rect:{attr:{x:0,y:0,width:100,height:100,mask:"url(#"+id.mask+")",fill:config["fill-background"]}}});svg.querySelector("mask image").attrs({width:size.width,height:size.height});group[1]=domTree("g",{image:{attr:{width:size.width,height:size.height,x:0,y:0,preserveAspectRatio:config["aspect-ratio"],"clip-path":config.type==="fill"?"url(#"+id.clip+")":"","xlink:href":config.img,class:"solid"}}});img=new Image;img.addEventListener("load",function(){var ret,size,v;if(config["img-size"]){ret=config["img-size"].split(",");size={width:+ret[0],height:+ret[1]}}else if(img.width&&img.height){size={width:img.width,height:img.height}}else{size={width:100,height:100}}svg.querySelector("mask image").attrs({width:size.width,height:size.height});group[1].querySelector("image").attrs({width:size.width,height:size.height});this$.fit();v=this$.value;this$.value=undefined;this$.set(v,true);return this$.inited=true});img.src=config.img;svg.appendChild(group[0]);svg.appendChild(group[1])}svg.attrs({width:"100%",height:"100%"});this.transition={value:{src:0,des:0},time:{},ease:function(t,b,c,d){t=t/(d*.5);if(t<1){return c*.5*t*t+b}t=t-1;return-c*.5*(t*(t-2)-1)+b},handler:function(time,doTransition){var ref$,min,max,prec,dv,dt,dur,v,p,node,style,box,dir;doTransition==null&&(doTransition=true);if(this.time.src==null){this.time.src=time}ref$=[config["min"],config["max"],1/config["precision"]],min=ref$[0],max=ref$[1],prec=ref$[2];ref$=[this.value.des-this.value.src,(time-this.time.src)*.001,+config["duration"]||1],dv=ref$[0],dt=ref$[1],dur=ref$[2];v=doTransition?this.ease(dt,this.value.src,dv,dur):this.value.des;if(config.precision){v=Math.round(v*prec)/prec}else if(doTransition){v=Math.round(v)}v>=min||(v=min);v<=max||(v=max);text.textContent=v;p=100*(v-min)/(max-min);if(isStroke){node=path1;style={"stroke-dasharray":config["stroke-dir"]==="reverse"?"0 "+length*(100-p)*.01+" "+length*p*.01+" 0":p*.01*length+" "+((100-p)*.01*length+1)}}else{box=group[1].getBBox();dir=config["fill-dir"];style=dir==="btt"||!dir?{y:box.y+box.height*(100-p)*.01,height:box.height*p*.01,x:box.x,width:box.width}:dir==="ttb"?{y:box.y,height:box.height*p*.01,x:box.x,width:box.width}:dir==="ltr"?{y:box.y,height:box.height,x:box.x,width:box.width*p*.01}:dir==="rtl"?{y:box.y,height:box.height,x:box.x+box.width*(100-p)*.01,width:box.width*p*.01}:void 8;node=svg.querySelector("rect")}node.attrs(style);if(dt>=dur){delete this.time.src;return false}return true},start:function(src,des,doTransition){var ref$,this$=this;ref$=this.value;ref$.src=src;ref$.des=des;!!(root.offsetWidth||root.offsetHeight||root.getClientRects().length);if(!doTransition||!(root.offsetWidth||root.offsetHeight||root.getClientRects().length)){this.time.src=0;this.handler(1e3,false);return}return handler.add(id.key,function(time){return this$.handler(time)})}};this.set=function(v,doTransition){var src,des;doTransition==null&&(doTransition=true);src=this.value||0;if(v!=null){this.value=v}else{v=this.value}des=this.value;return this.transition.start(src,des,doTransition)};this.set(+config.value||0,config["transition-in"])||false;return this};return window.addEventListener("load",function(){var i$,ref$,len$,node,results$=[];for(i$=0,len$=(ref$=document.querySelectorAll(".ldBar")).length;i$<len$;++i$){node=ref$[i$];if(!node.ldBar){results$.push(node.ldBar=new ldBar(node))}}return results$},false)})();module.exports=ldBar;function import$(obj,src){var own={}.hasOwnProperty;for(var key in src)if(own.call(src,key))obj[key]=src[key];return obj}},{"./presets":2}],2:[function(require,module,exports){var presets,out$=typeof exports!="undefined"&&exports||this;out$.presets=presets={rainbow:{type:"stroke",path:"M10 10L90 10",stroke:"data:ldbar/res,gradient(0,1,#a551df,#fd51ad,#ff7f82,#ffb874,#ffeb90)",bbox:"10 10 80 10"},energy:{type:"fill",path:"M15 5L85 5A5 5 0 0 1 85 15L15 15A5 5 0 0 1 15 5",stroke:"#f00",fill:"data:ldbar/res,gradient(45,2,#4e9,#8fb,#4e9)","fill-dir":"ltr","fill-background":"#444","fill-background-extrude":1,bbox:"10 5 80 10"},stripe:{type:"fill",path:"M15 5L85 5A5 5 0 0 1 85 15L15 15A5 5 0 0 1 15 5",stroke:"#f00",fill:"data:ldbar/res,stripe(#25b,#58e,1)","fill-dir":"ltr","fill-background":"#ddd","fill-background-extrude":1,bbox:"10 5 80 10"},text:{type:"fill",img:'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="70" height="20" viewBox="0 0 70 20"><text x="35" y="10" text-anchor="middle" dominant-baseline="central" font-family="arial">LOADING</text></svg>',"fill-background-extrude":1.3,"pattern-size":100,"fill-dir":"ltr","img-size":"70,20",bbox:"0 0 70 20"},line:{type:"stroke",path:"M10 10L90 10",stroke:"#25b","stroke-width":3,"stroke-trail":"#ddd","stroke-trail-width":1,bbox:"10 10 80 10"},fan:{type:"stroke",path:"M10 90A40 40 0 0 1 90 90","fill-dir":"btt",fill:"#25b","fill-background":"#ddd","fill-background-extrude":3,"stroke-dir":"normal",stroke:"#25b","stroke-width":"3","stroke-trail":"#ddd","stroke-trail-width":.5,bbox:"10 50 80 40"},circle:{type:"stroke",path:"M50 10A40 40 0 0 1 50 90A40 40 0 0 1 50 10","fill-dir":"btt",fill:"#25b","fill-background":"#ddd","fill-background-extrude":3,"stroke-dir":"normal",stroke:"#25b","stroke-width":"3","stroke-trail":"#ddd","stroke-trail-width":.5,bbox:"10 10 80 80"},bubble:{type:"fill",path:"M50 10A40 40 0 0 1 50 90A40 40 0 0 1 50 10","fill-dir":"btt",fill:"data:ldbar/res,bubble(#39d,#cef)","pattern-size":"150","fill-background":"#ddd","fill-background-extrude":2,"stroke-dir":"normal",stroke:"#25b","stroke-width":"3","stroke-trail":"#ddd","stroke-trail-width":.5,bbox:"10 10 80 80"}}},{}]},{},[1]);

/**
 * Plugin for using queue for multiple ajax requests.
 *
 * @autor Pavel Máca
 * @github https://github.com/PavelMaca
 * @license MIT
 */
(function (a) { var b = function (b) { this.options = b || {}; var c = b.complete || function () { }; this.options.complete = function (b, d) { (function () { c(b, d) })(), a.ajaxQueue.currentRequest = null, a.ajaxQueue.startNextRequest() } }; b.prototype = { options: {}, perform: function () { a.ajax(this.options) } }, a.ajaxQueue = { queue: [], currentRequest: null, stopped: !1, stop: function () { a.ajaxQueue.stopped = !0 }, run: function () { a.ajaxQueue.stopped = !1, a.ajaxQueue.startNextRequest() }, clear: function () { a.ajaxQueue.queue = [], a.ajaxQueue.currentRequest = null }, addRequest: function (c) { var d = new b(c); a.ajaxQueue.queue.push(d), a.ajaxQueue.startNextRequest() }, startNextRequest: function () { if (a.ajaxQueue.currentRequest) return !1; var b = a.ajaxQueue.queue.shift(); b && (a.ajaxQueue.currentRequest = b, b.perform()) } } })(jQuery);

/**
 * Tiny Slider 2 (2.9.3)
 * Vanilla javascript slider for all purposes.
 * https://github.com/ganlanyuan/tiny-slider
 *
 * Licensed under the MIT license.
 * © 2015 William Lin
 * https://github.com/ganlanyuan/
 */
var tns=function(){function e(){for(var e,t,n,a=arguments[0]||{},o=1,s=arguments.length;o<s;o++)if(null!==(e=arguments[o]))for(t in e)if(n=e[t],a===n)continue;else void 0!==n&&(a[t]=n);return a}function t(e){return 0<=["true","false"].indexOf(e)?JSON.parse(e):e}function n(e,t,n,i){if(i)try{e.setItem(t,n)}catch(t){}return n}function i(){var e=window.tnsId;return window.tnsId=e?e+1:1,"tns"+window.tnsId}function a(){var e=document,t=e.body;return t||(t=e.createElement("body"),t.fake=!0),t}function o(e){var t="";return e.fake&&(t=P.style.overflow,e.style.background="",e.style.overflow=P.style.overflow="hidden",P.appendChild(e)),t}function s(e,t){e.fake&&(e.remove(),P.style.overflow=t,P.offsetHeight)}function r(){var e=document,t=a(),n=o(t),r=e.createElement("div"),l=!1;t.appendChild(r);try{for(var d,u="(10px * 10)",c=["calc"+u,"-moz-calc"+u,"-webkit-calc"+u],p=0;3>p;p++)if(d=c[p],r.style.width=d,100===r.offsetWidth){l=d.replace(u,"");break}}catch(t){}return t.fake?s(t,n):r.remove(),l}function l(){var e=document,t=a(),n=o(t),r=e.createElement("div"),l=e.createElement("div"),d="",u=!1;r.className="tns-t-subp2",l.className="tns-t-ct";for(var c=0;70>c;c++)d+="<div></div>";return l.innerHTML=d,r.appendChild(l),t.appendChild(r),u=2>Math.abs(r.getBoundingClientRect().left-l.children[67].getBoundingClientRect().left),t.fake?s(t,n):r.remove(),u}function d(){if(window.matchMedia||window.msMatchMedia)return!0;var e,t=document,n=a(),i=o(n),r=t.createElement("div"),l=t.createElement("style");return l.type="text/css",r.className="tns-mq-test",n.appendChild(l),n.appendChild(r),l.styleSheet?l.styleSheet.cssText="@media all and (min-width:1px){.tns-mq-test{position:absolute}}":l.appendChild(t.createTextNode("@media all and (min-width:1px){.tns-mq-test{position:absolute}}")),e=window.getComputedStyle?window.getComputedStyle(r).position:r.currentStyle.position,n.fake?s(n,i):r.remove(),"absolute"===e}function u(e,t){var n=document.createElement("style");return e&&n.setAttribute("media",e),t&&n.setAttribute("nonce",t),document.querySelector("head").appendChild(n),n.sheet?n.sheet:n.styleSheet}function c(e,t,n,i){"insertRule"in e?e.insertRule(t+"{"+n+"}",i):e.addRule(t,n,i)}function p(e,t){"deleteRule"in e?e.deleteRule(t):e.removeRule(t)}function m(e){var t="insertRule"in e?e.cssRules:e.rules;return t.length}function h(e,t){return Math.atan2(e,t)*(180/Math.PI)}function y(e,t){var n=!1,i=Math.abs(90-Math.abs(e));return i>=90-t?n="horizontal":i<=t&&(n="vertical"),n}function g(e,t,n){for(var a=0,o=e.length;a<o;a++)t.call(n,e[a],a)}function f(e,t){return e.hasAttribute(t)}function v(e,t){return e.getAttribute(t)}function x(e){return"undefined"!=typeof e.item}function b(e,t){if(e=x(e)||e instanceof Array?e:[e],"[object Object]"===Object.prototype.toString.call(t))for(var n=e.length;n--;)for(var a in t)e[n].setAttribute(a,t[a])}function C(e,t){e=x(e)||e instanceof Array?e:[e],t=t instanceof Array?t:[t];for(var n=t.length,a=e.length;a--;)for(var o=n;o--;)e[a].removeAttribute(t[o])}function T(e){for(var t=[],n=0,a=e.length;n<a;n++)t.push(e[n]);return t}function N(e){"none"!==e.style.display&&(e.style.display="none")}function A(e){"none"===e.style.display&&(e.style.display="")}function E(e){return"none"!==window.getComputedStyle(e).display}function w(e){if("string"==typeof e){var t=[e],n=e.charAt(0).toUpperCase()+e.substr(1);["Webkit","Moz","ms","O"].forEach(function(i){("ms"!==i||"transform"===e)&&t.push(i+n)}),e=t}for(var a,o=document.createElement("fakeelement"),s=e.length,r=0;r<e.length;r++)if(a=e[r],void 0!==o.style[a])return a;return!1}function I(e){if(!e)return!1;if(!window.getComputedStyle)return!1;var t,n=document,i=a(),r=o(i),l=n.createElement("p"),d=9<e.length?"-"+e.slice(0,-9).toLowerCase()+"-":"";return d+="transform",i.insertBefore(l,null),l.style[e]="translate3d(1px,1px,1px)",t=window.getComputedStyle(l).getPropertyValue(d),i.fake?s(i,r):l.remove(),void 0!==t&&0<t.length&&"none"!==t}function L(e,t){var n=!1;return /^Webkit/.test(e)?n="webkit"+t+"End":/^O/.test(e)?n="o"+t+"End":e&&(n=t.toLowerCase()+"end"),n}function S(e,t,n){for(var i in t){var a=!(!(0<=["touchstart","touchmove"].indexOf(i))||n)&&V;e.addEventListener(i,t[i],a)}}function D(e,t){for(var n in t){var i=!!(0<=["touchstart","touchmove"].indexOf(n))&&V;e.removeEventListener(n,t[n],i)}}function B(){return{topics:{},on:function(e,t){this.topics[e]=this.topics[e]||[],this.topics[e].push(t)},off:function(e,t){if(this.topics[e])for(var n=0;n<this.topics[e].length;n++)if(this.topics[e][n]===t){this.topics[e].splice(n,1);break}},emit:function(e,t){t.type=e,this.topics[e]&&this.topics[e].forEach(function(n){n(t,e)})}}}function O(e,t,n,i,a,o,s){function r(){o-=l,u+=c,e.style[t]=n+u+d+i,0<o?setTimeout(r,l):s()}var l=Math.min(o,10),d=0<=a.indexOf("%")?"%":"px",a=a.replace(d,""),u=+e.style[t].replace(n,"").replace(i,"").replace(d,""),c=(a-u)/o*l;setTimeout(r,l)}var R=window,k=R.requestAnimationFrame||R.webkitRequestAnimationFrame||R.mozRequestAnimationFrame||R.msRequestAnimationFrame||function(e){return setTimeout(e,16)},H=window,M=H.cancelAnimationFrame||H.mozCancelAnimationFrame||function(e){clearTimeout(e)},P=document.documentElement,z=("classList"in document.createElement("_")),W=z?function(e,t){return e.classList.contains(t)}:function(e,t){return 0<=e.className.indexOf(t)},q=z?function(e,t){W(e,t)||e.classList.add(t)}:function(e,t){W(e,t)||(e.className+=" "+t)},F=z?function(e,t){W(e,t)&&e.classList.remove(t)}:function(e,t){W(e,t)&&(e.className=e.className.replace(t,""))},j=!1;try{var Y=Object.defineProperty({},"passive",{get:function(){j=!0}});window.addEventListener("test",null,Y)}catch(t){}var V=!!j&&{passive:!0};Object.keys||(Object.keys=function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}),"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)});var G=function(a){function o(e){for(var t in e)tn||("slideBy"===t&&(e[t]="page"),"edgePadding"===t&&(e[t]=!1),"autoHeight"===t&&(e[t]=!1)),"responsive"==t&&o(e[t])}function s(e){e&&(qn=jn=Yn=Vn=Hn=Gn=Kn=Un=!1)}function x(){for(var e=tn?di-ei:di;0>e;)e+=xn;return e%xn+1}function R(e){return e=e?Math.max(0,Math.min(zn?xn-1:xn-On,e)):0,tn?e+ei:e}function H(e){for(null==e&&(e=di),tn&&(e-=ei);0>e;)e+=xn;return Math.floor(e%xn)}function P(){var e,t=H();return e=Mi?t:In||wn?Math.ceil((t+1)*ta/xn-1):Math.floor(t/On),!zn&&tn&&di===mi&&(e=ta-1),e}function z(){if(wn||In&&!kn)return xn-1;var e=In?"fixedWidth":"items",t=[];if((In||a[e]<xn)&&t.push(a[e]),$t)for(var n in $t){var i=$t[n][e];i&&(In||i<xn)&&t.push(i)}return t.length||t.push(0),Math.ceil(In?kn/Math.min.apply(null,t):Math.max.apply(null,t))}function j(){var e=z(),t=tn?Math.ceil((5*e-xn)/2):4*e-xn;return t=Math.max(e,t),K("edgePadding")?t+1:t}function Y(){return Rt.innerWidth||Ot.documentElement.clientWidth||Ot.body.clientWidth}function V(e){return"top"===e?"afterbegin":"beforeend"}function Q(e){if(null!=e){var t,n,i=Ot.createElement("div");return e.appendChild(i),t=i.getBoundingClientRect(),n=t.right-t.left,i.remove(),n||Q(e.parentNode)}}function X(){var e=Ln?2*Ln-Sn:0;return Q(gn)-e}function K(e){if(a[e])return!0;if($t)for(var t in $t)if($t[t][e])return!0;return!1}function U(e,t){if(null==t&&(t=bn),"items"===e&&In)return Math.floor((Dn+Sn)/(In+Sn))||1;var n=a[e];if($t)for(var i in $t)t>=parseInt(i)&&e in $t[i]&&(n=$t[i][e]);return"slideBy"==e&&"page"===n&&(n=U("items")),tn||"slideBy"!=e&&"items"!=e||(n=Math.floor(n)),n}function _(e){return Wt?Wt+"("+100*e+"% / "+ti+")":100*e/ti+"%"}function J(e,t,n,i,a){var o="";if(void 0!==e){var s=e;t&&(s-=t),o=pn?"margin: 0 "+s+"px 0 "+e+"px;":"margin: "+e+"px 0 "+s+"px 0;"}else if(t&&!n){var r="-"+t+"px",l=pn?r+" 0 0":"0 "+r+" 0";o="margin: 0 "+l+";"}return!tn&&a&&Vt&&i&&(o+=ne(i)),o}function Z(e,t,n){return e?(e+t)*ti+"px":Wt?Wt+"("+100*ti+"% / "+n+")":100*ti/n+"%"}function $(e,t,n){var i;if(e)i=e+t+"px";else{tn||(n=Math.floor(n));var a=tn?ti:n;i=Wt?Wt+"(100% / "+a+")":100/a+"%"}return i="width:"+i,"inner"===en?i+" !important;":i+";"}function ee(e){var t="";if(!1!==e){var n=pn?"padding-":"margin-",i=pn?"right":"bottom";t=n+i+": "+e+"px;"}return t}function te(e,t){var n=e.substring(0,e.length-t).toLowerCase();return n&&(n="-"+n+"-"),n}function ne(e){return te(Vt,18)+"transition-duration:"+e/1e3+"s;"}function ie(e){return te(Qt,17)+"animation-duration:"+e/1e3+"s;"}function ae(){K("gutter");if(mn.className="tns-outer",hn.className="tns-inner",mn.id=Ci+"-ow",hn.id=Ci+"-iw",""===yn.id&&(yn.id=Ci),bi+=qt||wn?" tns-subpixel":" tns-no-subpixel",bi+=Wt?" tns-calc":" tns-no-calc",wn&&(bi+=" tns-autowidth"),bi+=" tns-"+a.axis,yn.className+=bi,tn?(un=Ot.createElement("div"),un.id=Ci+"-mw",un.className="tns-ovh",mn.appendChild(un),un.appendChild(hn)):mn.appendChild(hn),Wn){var e=un?un:hn;e.className+=" tns-ah"}if(gn.insertBefore(mn,yn),hn.appendChild(yn),g(vn,function(e,t){q(e,"tns-item"),e.id||(e.id=Ci+"-item"+t),!tn&&dn&&q(e,dn),b(e,{"aria-hidden":"true",tabindex:"-1"})}),ei){for(var t=Ot.createDocumentFragment(),n=Ot.createDocumentFragment(),i=ei;i--;){var o=i%xn,s=vn[o].cloneNode(!0);if(q(s,"tns-slide-cloned"),C(s,"id"),n.insertBefore(s,n.firstChild),tn){var r=vn[xn-1-o].cloneNode(!0);q(r,"tns-slide-cloned"),C(r,"id"),t.appendChild(r)}}yn.insertBefore(t,yn.firstChild),yn.appendChild(n),vn=yn.children}}function oe(){if(K("autoHeight")||wn||!pn){var e=yn.querySelectorAll("img");g(e,function(e){var t=e.src;Jn||(t&&0>t.indexOf("data:image")?(e.src="",S(e,ji),q(e,"loading"),e.src=t):we(e))}),k(function(){Be(T(e),function(){An=!0})}),K("autoHeight")&&(e=Se(di,Math.min(di+On-1,ti-1))),Jn?se():k(function(){Be(T(e),se)})}else tn&&_e(),de(),ue()}function se(){if(wn&&1<xn){var e=zn?di:xn-1;(function t(){var n=vn[e].getBoundingClientRect().left,i=vn[e-1].getBoundingClientRect().right;1>=Math.abs(n-i)?re():setTimeout(function(){t()},16)})()}else re()}function re(){(!pn||wn)&&(Me(),wn?(ii=Ke(),Ai&&(Ei=he()),mi=li(),s(Ti||Ei)):Lt()),tn&&_e(),de(),ue()}function le(){if(!tn)for(var e,t=di,n=di+Math.min(xn,On);t<n;t++)e=vn[t],e.style.left=100*(t-di)/On+"%",q(e,sn),F(e,dn);if(pn&&(qt||wn?(c(_n,"#"+Ci+" > .tns-item","font-size:"+Rt.getComputedStyle(vn[0]).fontSize+";",m(_n)),c(_n,"#"+Ci,"font-size:0;",m(_n))):tn&&g(vn,function(e,t){e.style.marginLeft=_(t)})),Ft){if(Vt){var o=un&&a.autoHeight?ne(a.speed):"";c(_n,"#"+Ci+"-mw",o,m(_n))}o=J(a.edgePadding,a.gutter,a.fixedWidth,a.speed,a.autoHeight),c(_n,"#"+Ci+"-iw",o,m(_n)),tn&&(o=pn&&!wn?"width:"+Z(a.fixedWidth,a.gutter,a.items)+";":"",Vt&&(o+=ne(Mn)),c(_n,"#"+Ci,o,m(_n))),o=pn&&!wn?$(a.fixedWidth,a.gutter,a.items):"",a.gutter&&(o+=ee(a.gutter)),tn||(Vt&&(o+=ne(Mn)),Qt&&(o+=ie(Mn))),o&&c(_n,"#"+Ci+" > .tns-item",o,m(_n))}else{Re(),hn.style.cssText=J(Ln,Sn,In,Wn),tn&&pn&&!wn&&(yn.style.width=Z(In,Sn,On));var o=pn&&!wn?$(In,Sn,On):"";Sn&&(o+=ee(Sn)),o&&c(_n,"#"+Ci+" > .tns-item",o,m(_n))}if($t&&Ft)for(var s in $t){s=parseInt(s);var r=$t[s],o="",l="",d="",u="",p="",h=wn?null:U("items",s),y=U("fixedWidth",s),f=U("speed",s),v=U("edgePadding",s),x=U("autoHeight",s),b=U("gutter",s);Vt&&un&&U("autoHeight",s)&&"speed"in r&&(l="#"+Ci+"-mw{"+ne(f)+"}"),("edgePadding"in r||"gutter"in r)&&(d="#"+Ci+"-iw{"+J(v,b,y,f,x)+"}"),tn&&pn&&!wn&&("fixedWidth"in r||"items"in r||In&&"gutter"in r)&&(u="width:"+Z(y,b,h)+";"),Vt&&"speed"in r&&(u+=ne(f)),u&&(u="#"+Ci+"{"+u+"}"),("fixedWidth"in r||In&&"gutter"in r||!tn&&"items"in r)&&(p+=$(y,b,h)),"gutter"in r&&(p+=ee(b)),!tn&&"speed"in r&&(Vt&&(p+=ne(f)),Qt&&(p+=ie(f))),p&&(p="#"+Ci+" > .tns-item{"+p+"}"),o=l+d+u+p,o&&_n.insertRule("@media (min-width: "+s/16+"em) {"+o+"}",_n.cssRules.length)}}function de(){if(Pe(),mn.insertAdjacentHTML("afterbegin","<div class=\"tns-liveregion tns-visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\">slide <span class=\"current\">"+Ne()+"</span>  of "+xn+"</div>"),En=mn.querySelector(".tns-liveregion .current"),Pi){var e=Gn?"stop":"start";ya?b(ya,{"data-action":e}):a.autoplayButtonOutput&&(mn.insertAdjacentHTML(V(a.autoplayPosition),"<button type=\"button\" data-action=\""+e+"\">"+fa[0]+e+fa[1]+Xn[0]+"</button>"),ya=mn.querySelector("[data-action]")),ya&&S(ya,{click:pt}),Gn&&(lt(),Kn&&S(yn,Si),Un&&S(yn,Di))}if(Hi){tn?ei:0;if($i)b($i,{"aria-label":"Carousel Pagination"}),Zi=$i.children,g(Zi,function(e,t){b(e,{"data-nav":t,tabindex:"-1","aria-label":ra+(t+1),"aria-controls":Ci})});else{for(var t="",n=Mi?"":"style=\"display:none\"",o=0;o<xn;o++)t+="<button type=\"button\" data-nav=\""+o+"\" tabindex=\"-1\" aria-controls=\""+Ci+"\" "+n+" aria-label=\""+ra+(o+1)+"\"></button>";t="<div class=\"tns-nav\" aria-label=\"Carousel Pagination\">"+t+"</div>",mn.insertAdjacentHTML(V(a.navPosition),t),$i=mn.querySelector(".tns-nav"),Zi=$i.children}if(Dt(),Vt){var s=Vt.substring(0,Vt.length-18).toLowerCase(),r="transition: all "+Mn/1e3+"s";s&&(r="-"+s+"-"+r),c(_n,"[aria-controls^="+Ci+"-item]",r,m(_n))}b(Zi[aa],{"aria-label":ra+(aa+1)+la}),C(Zi[aa],"tabindex"),q(Zi[aa],sa),S($i,Li)}ki&&(!Qi&&(!Ki||!Ui)&&(mn.insertAdjacentHTML(V(a.controlsPosition),"<div class=\"tns-controls\" aria-label=\"Carousel Navigation\" tabindex=\"0\"><button type=\"button\" data-controls=\"prev\" tabindex=\"-1\" aria-controls=\""+Ci+"\">"+Fn[0]+"</button><button type=\"button\" data-controls=\"next\" tabindex=\"-1\" aria-controls=\""+Ci+"\">"+Fn[1]+"</button></div>"),Qi=mn.querySelector(".tns-controls")),(!Ki||!Ui)&&(Ki=Qi.children[0],Ui=Qi.children[1]),a.controlsContainer&&b(Qi,{"aria-label":"Carousel Navigation",tabindex:"0"}),(a.controlsContainer||a.prevButton&&a.nextButton)&&b([Ki,Ui],{"aria-controls":Ci,tabindex:"-1"}),(a.controlsContainer||a.prevButton&&a.nextButton)&&(b(Ki,{"data-controls":"prev"}),b(Ui,{"data-controls":"next"})),Vi=Fe(Ki),Gi=Fe(Ui),Ve(),Qi?S(Qi,Ii):(S(Ki,Ii),S(Ui,Ii))),ge()}function ue(){if(tn&&Kt){var e={};e[Kt]=tt,S(yn,e)}Yn&&S(yn,Oi,a.preventScrollOnTouch),Vn&&S(yn,Ri),Hn&&S(Ot,Bi),"inner"===en?xi.on("outerResized",function(){me(),xi.emit("innerLoaded",Bt())}):($t||In||wn||Wn||!pn)&&S(Rt,{resize:pe}),Wn&&("outer"===en?xi.on("innerLoaded",De):!Ti&&De()),Ee(),Ti?be():Ei&&ve(),xi.on("indexChanged",Oe),"inner"===en&&xi.emit("innerLoaded",Bt()),"function"==typeof vi&&vi(Bt()),Cn=!0}function ce(){if(_n.disabled=!0,_n.ownerNode&&_n.ownerNode.remove(),D(Rt,{resize:pe}),Hn&&D(Ot,Bi),Qi&&D(Qi,Ii),$i&&D($i,Li),D(yn,Si),D(yn,Di),ya&&D(ya,{click:pt}),Gn&&clearInterval(da),tn&&Kt){var e={};e[Kt]=tt,D(yn,e)}Yn&&D(yn,Oi),Vn&&D(yn,Ri);var t=[fn,Xi,_i,Ji,ea,ga];for(var n in Jt.forEach(function(e,n){var i="container"===e?mn:a[e];if("object"==typeof i&&i){var o=!!i.previousElementSibling&&i.previousElementSibling,s=i.parentNode;i.outerHTML=t[n],a[e]=o?o.nextElementSibling:s.firstElementChild}}),Jt=sn=rn=ln=dn=pn=mn=hn=yn=gn=fn=vn=xn=cn=bn=wn=In=Ln=Sn=Dn=On=Rn=kn=Hn=Mn=Pn=zn=Wn=_n=Jn=Tn=$n=ei=ti=ni=ii=ai=oi=si=ri=li=di=ui=pi=mi=Nn=yi=gi=fi=vi=xi=bi=Ci=Ti=Ni=Ai=Ei=wi=Ii=Li=Si=Di=Bi=Oi=Ri=ki=Hi=Mi=Pi=zi=Wi=qi=Fi=ji=An=qn=Fn=Qi=Xi=Ki=Ui=Vi=Gi=jn=$i=ea=Zi=ta=na=ia=aa=oa=sa=ra=la=Gn=Qn=ha=Xn=Kn=ya=ga=Un=fa=da=ua=ca=pa=ma=Ta=Na=va=xa=ba=Aa=Ca=Ea=Yn=Vn=null,this)"rebuild"!=n&&(this[n]=null);Cn=!1}function pe(t){k(function(){me(xt(t))})}function me(t){if(Cn){"outer"===en&&xi.emit("outerResized",Bt(t)),bn=Y();var e,n=cn,o=!1;$t&&(ye(),e=n!==cn,e&&xi.emit("newBreakpointStart",Bt(t)));var r,l,d=On,u=Ti,h=Ei,y=Hn,g=qn,f=jn,v=Yn,x=Vn,b=Gn,C=Kn,T=Un,E=di;if(e){var w=In,I=Wn,L=Fn,B=Bn,O=Xn;if(!Ft)var k=Sn,H=Ln}if(Hn=U("arrowKeys"),qn=U("controls"),jn=U("nav"),Yn=U("touch"),Bn=U("center"),Vn=U("mouseDrag"),Gn=U("autoplay"),Kn=U("autoplayHoverPause"),Un=U("autoplayResetOnVisibility"),e&&(Ti=U("disable"),In=U("fixedWidth"),Mn=U("speed"),Wn=U("autoHeight"),Fn=U("controlsText"),Xn=U("autoplayText"),Qn=U("autoplayTimeout"),!Ft&&(Ln=U("edgePadding"),Sn=U("gutter"))),s(Ti),Dn=X(),pn&&!wn||Ti||(Me(),!pn&&(Lt(),o=!0)),(In||wn)&&(ii=Ke(),mi=li()),(e||In)&&(On=U("items"),Rn=U("slideBy"),l=On!==d,l&&(!In&&!wn&&(mi=li()),wa())),e&&Ti!==u&&(Ti?be():Ce()),Ai&&(e||In||wn)&&(Ei=he(),Ei!==h&&(Ei?(Je(Ue(R(0))),ve()):(xe(),o=!0))),s(Ti||Ei),Gn||(Kn=Un=!1),Hn!==y&&(Hn?S(Ot,Bi):D(Ot,Bi)),qn!==g&&(qn?Qi?A(Qi):(Ki&&A(Ki),Ui&&A(Ui)):Qi?N(Qi):(Ki&&N(Ki),Ui&&N(Ui))),jn!==f&&(jn?(A($i),Dt()):N($i)),Yn!==v&&(Yn?S(yn,Oi,a.preventScrollOnTouch):D(yn,Oi)),Vn!==x&&(Vn?S(yn,Ri):D(yn,Ri)),Gn!==b&&(Gn?(ya&&A(ya),!ua&&!pa&&lt()):(ya&&N(ya),ua&&dt())),Kn!==C&&(Kn?S(yn,Si):D(yn,Si)),Un!==T&&(Un?S(Ot,Di):D(Ot,Di)),!e)Bn&&(In||wn)&&(o=!0);else if((In!==w||Bn!==B)&&(o=!0),Wn===I||Wn||(hn.style.height=""),qn&&Fn!==L&&(Ki.innerHTML=Fn[0],Ui.innerHTML=Fn[1]),ya&&Xn!==O){var M=Gn?1:0,i=ya.innerHTML,P=i.length-O[M].length;i.substring(P)===O[M]&&(ya.innerHTML=i.substring(0,P)+Xn[M])}if((l||In&&!wn)&&(ta=St(),Dt()),r=di!==E,r?(xi.emit("indexChanged",Bt()),o=!0):l?!r&&Oe():(In||wn)&&(Ee(),Pe(),Te()),l&&!tn&&ze(),!Ti&&!Ei){if(e&&!Ft&&((Ln!==H||Sn!==k)&&(hn.style.cssText=J(Ln,Sn,In,Mn,Wn)),pn)){tn&&(yn.style.width=Z(In,Sn,On));var z=$(In,Sn,On)+ee(Sn);p(_n,m(_n)-1),c(_n,"#"+Ci+" > .tns-item",z,m(_n))}Wn&&De(),o&&(_e(),ui=di)}e&&xi.emit("newBreakpointEnd",Bt(t))}}function he(){if(!In&&!wn){var e=Bn?On-(On-1)/2:On;return xn<=e}var t=In?(In+Sn)*xn:Tn[xn],n=Ln?Dn+2*Ln:Dn+Sn;return Bn&&(n-=In?(Dn-In)/2:(Dn-(Tn[di+1]-Tn[di]-Sn))/2),t<=n}function ye(){for(var e in cn=0,$t)e=parseInt(e),bn>=e&&(cn=e)}function ge(){!Gn&&ya&&N(ya),!jn&&$i&&N($i),qn||(Qi?N(Qi):(Ki&&N(Ki),Ui&&N(Ui)))}function fe(){Gn&&ya&&A(ya),jn&&$i&&A($i),qn&&(Qi?A(Qi):(Ki&&A(Ki),Ui&&A(Ui)))}function ve(){if(!wi){if(Ln&&(hn.style.margin="0px"),ei)for(var e="tns-transparent",t=ei;t--;)tn&&q(vn[t],e),q(vn[ti-t-1],e);ge(),wi=!0}}function xe(){if(wi){if(Ln&&Ft&&(hn.style.margin=""),ei)for(var e="tns-transparent",t=ei;t--;)tn&&F(vn[t],e),F(vn[ti-t-1],e);fe(),wi=!1}}function be(){if(!Ni){if(_n.disabled=!0,yn.className=yn.className.replace(bi.substring(1),""),C(yn,["style"]),zn)for(var e=ei;e--;)tn&&N(vn[e]),N(vn[ti-e-1]);if(pn&&tn||C(hn,["style"]),!tn)for(var t,n=di,a=di+xn;n<a;n++)t=vn[n],C(t,["style"]),F(t,sn),F(t,dn);ge(),Ni=!0}}function Ce(){if(Ni){if(_n.disabled=!1,yn.className+=bi,_e(),zn)for(var e=ei;e--;)tn&&A(vn[e]),A(vn[ti-e-1]);if(!tn)for(var t=di,n=di+xn;t<n;t++){var a=vn[t],o=t<di+On?sn:dn;a.style.left=100*(t-di)/On+"%",q(a,o)}fe(),Ni=!1}}function Te(){var e=Ne();En.innerHTML!==e&&(En.innerHTML=e)}function Ne(){var e=Ae(),t=e[0]+1,n=e[1]+1;return t===n?t+"":t+" to "+n}function Ae(e){null==e&&(e=Ue());var t,n,o,s=di;if(Bn||Ln?(wn||In)&&(n=-(parseFloat(e)+Ln),o=n+Dn+2*Ln):wn&&(n=Tn[di],o=n+Dn),wn)Tn.forEach(function(e,a){a<ti&&((Bn||Ln)&&e<=n+.5&&(s=a),.5<=o-e&&(t=a))});else{if(In){var r=In+Sn;Bn||Ln?(s=Math.floor(n/r),t=Math.ceil(o/r-1)):t=s+Math.ceil(Dn/r)-1}else if(Bn||Ln){var l=On-1;if(Bn?(s-=l/2,t=di+l/2):t=di+l,Ln){var i=Ln*On/Dn;s-=i,t+=i}s=Math.floor(s),t=Math.ceil(t)}else t=s+On-1;s=Math.max(s,0),t=Math.min(t,ti-1)}return[s,t]}function Ee(){if(Jn&&!Ti){var e=Ae();e.push(Zn),Se.apply(null,e).forEach(function(e){if(!W(e,Fi)){var t={};t[Kt]=function(t){t.stopPropagation()},S(e,t),S(e,ji),e.src=v(e,"data-src");var n=v(e,"data-srcset");n&&(e.srcset=n),q(e,"loading")}})}}function we(e){q(e,"loaded"),Le(e)}function Ie(e){q(e,"failed"),Le(e)}function Le(e){q(e,Fi),F(e,"loading"),D(e,ji)}function Se(e,t,n){var i=[];for(n||(n="img");e<=t;)g(vn[e].querySelectorAll(n),function(e){i.push(e)}),e++;return i}function De(){var e=Se.apply(null,Ae());k(function(){Be(e,He)})}function Be(e,t){return An?t():(e.forEach(function(t,n){!Jn&&t.complete&&Le(t),W(t,Fi)&&e.splice(n,1)}),e.length?void k(function(){Be(e,t)}):t())}function Oe(){Ee(),Pe(),Te(),Ve(),We()}function Re(){tn&&Wn&&(un.style[Vt]=Mn/1e3+"s")}function ke(e,t){for(var n=[],a=e,o=Math.min(e+t,ti);a<o;a++)n.push(vn[a].offsetHeight);return Math.max.apply(null,n)}function He(){var e=Wn?ke(di,On):ke(ei,xn),t=un?un:hn;t.style.height!==e&&(t.style.height=e+"px")}function Me(){Tn=[0];var e=pn?"left":"top",t=pn?"right":"bottom",n=vn[0].getBoundingClientRect()[e];g(vn,function(a,o){o&&Tn.push(a.getBoundingClientRect()[e]-n),o===ti-1&&Tn.push(a.getBoundingClientRect()[t]-n)})}function Pe(){var e=Ae(),t=e[0],n=e[1];g(vn,function(e,a){a>=t&&a<=n?f(e,"aria-hidden")&&(C(e,["aria-hidden","tabindex"]),q(e,qi)):!f(e,"aria-hidden")&&(b(e,{"aria-hidden":"true",tabindex:"-1"}),F(e,qi))})}function ze(){for(var e,t=di+Math.min(xn,On),n=ti;n--;)e=vn[n],n>=di&&n<t?(q(e,"tns-moving"),e.style.left=100*(n-di)/On+"%",q(e,sn),F(e,dn)):e.style.left&&(e.style.left="",q(e,dn),F(e,sn)),F(e,rn);setTimeout(function(){g(vn,function(e){F(e,"tns-moving")})},300)}function We(){if(jn&&(aa=0<=ia?ia:P(),ia=-1,aa!==oa)){var e=Zi[oa],t=Zi[aa];b(e,{tabindex:"-1","aria-label":ra+(oa+1)}),F(e,sa),b(t,{"aria-label":ra+(aa+1)+la}),C(t,"tabindex"),q(t,sa),oa=aa}}function qe(e){return e.nodeName.toLowerCase()}function Fe(e){return"button"===qe(e)}function je(e){return"true"===e.getAttribute("aria-disabled")}function Ye(e,t,n){e?t.disabled=n:t.setAttribute("aria-disabled",n.toString())}function Ve(){if(!(!qn||Pn||zn)){var e=Vi?Ki.disabled:je(Ki),t=Gi?Ui.disabled:je(Ui),n=!!(di<=pi),i=!Pn&&di>=mi;n&&!e&&Ye(Vi,Ki,!0),!n&&e&&Ye(Vi,Ki,!1),i&&!t&&Ye(Gi,Ui,!0),!i&&t&&Ye(Gi,Ui,!1)}}function Ge(e,t){Vt&&(e.style[Vt]=t)}function Qe(){return In?(In+Sn)*ti:Tn[ti]}function Xe(e){null==e&&(e=di);var t=Ln?Sn:0;return wn?(Dn-t-(Tn[e+1]-Tn[e]-Sn))/2:In?(Dn-In)/2:(On-1)/2}function Ke(){var e=Ln?Sn:0,t=Dn+e-Qe();return Bn&&!zn&&(t=In?-(In+Sn)*(ti-1)-Xe():Xe(ti-1)-Tn[ti-1]),0<t&&(t=0),t}function Ue(e){null==e&&(e=di);var t;if(!pn||wn)t=-Tn[e],Bn&&wn&&(t+=Xe());else if(In)t=-(In+Sn)*e,Bn&&(t+=Xe());else{var n=jt?ti:On;Bn&&(e-=Xe()),t=100*-e/n}return ni&&(t=Math.max(t,ii)),t+=!pn||wn||In?"px":"%",t}function _e(e){Ge(yn,"0s"),Je(e)}function Je(e){null==e&&(e=Ue()),yn.style[oi]=si+e+ri}function Ze(e,t,n,a){var o=e+On;zn||(o=Math.min(o,ti));for(var s,r=e;r<o;r++)s=vn[r],a||(s.style.left=100*(r-di)/On+"%"),ln&&Gt&&(s.style[Gt]=s.style[Xt]=ln*(r-e)/1e3+"s"),F(s,t),q(s,n),a&&$n.push(s)}function $e(t,e){ai&&wa(),(di!==ui||e)&&(xi.emit("indexChanged",Bt()),xi.emit("transitionStart",Bt()),Wn&&De(),ua&&t&&0<=["click","keydown"].indexOf(t.type)&&dt(),fi=!0,Ia())}function et(e){return e.toLowerCase().replace(/-/g,"")}function tt(e){if(tn||fi){if(xi.emit("transitionEnd",Bt(e)),!tn&&0<$n.length)for(var t,n=0;n<$n.length;n++)t=$n[n],t.style.left="",Xt&&Gt&&(t.style[Xt]="",t.style[Gt]=""),F(t,rn),q(t,dn);if(!e||!tn&&e.target.parentNode===yn||e.target===yn&&et(e.propertyName)===et(oi)){if(!ai){var a=di;wa(),di!==a&&(xi.emit("indexChanged",Bt()),_e())}"inner"===en&&xi.emit("innerLoaded",Bt()),fi=!1,ui=di}}}function nt(t,n){if(!Ei)if("prev"===t)it(n,-1);else if("next"===t)it(n,1);else{if(fi){if(hi)return;tt()}var e=H(),i=0;if("first"===t?i=-e:"last"===t?i=tn?xn-On-e:xn-1-e:("number"!=typeof t&&(t=parseInt(t)),!isNaN(t)&&(!n&&(t=Math.max(0,Math.min(xn-1,t))),i=t-e)),!tn&&i&&Math.abs(i)<On){var a=0<i?1:-1;i+=di+i-xn>=pi?xn*a:-1*(2*xn*a)}di+=i,tn&&zn&&(di<pi&&(di+=xn),di>mi&&(di-=xn)),H(di)!==H(ui)&&$e(n)}}function it(t,n){if(fi){if(hi)return;tt()}var i;if(!n){t=xt(t);for(var a=bt(t);a!==Qi&&0>[Ki,Ui].indexOf(a);)a=a.parentNode;var o=[Ki,Ui].indexOf(a);0<=o&&(i=!0,n=0===o?-1:1)}if(Pn){if(di===pi&&-1===n)return void nt("last",t);if(di===mi&&1===n)return void nt("first",t)}n&&(di+=Rn*n,wn&&(di=Math.floor(di)),$e(i||t&&"keydown"===t.type?t:null))}function at(t){if(fi){if(hi)return;tt()}t=xt(t);for(var n,i=bt(t);i!==$i&&!f(i,"data-nav");)i=i.parentNode;if(f(i,"data-nav")){var n=ia=+v(i,"data-nav"),a=In||wn?n*xn/ta:n*On,o=Mi?n:Math.min(Math.ceil(a),xn-1);nt(o,t),aa===n&&(ua&&dt(),ia=-1)}}function ot(){da=setInterval(function(){it(null,ha)},Qn),ua=!0}function st(){clearInterval(da),ua=!1}function rt(e,t){b(ya,{"data-action":e}),ya.innerHTML=fa[0]+e+fa[1]+t}function lt(){ot(),ya&&rt("stop",Xn[1])}function dt(){st(),ya&&rt("start",Xn[0])}function ut(){Gn&&!ua&&(lt(),pa=!1)}function ct(){ua&&(dt(),pa=!0)}function pt(){ua?(dt(),pa=!0):(lt(),pa=!1)}function mt(){Ot.hidden?ua&&(st(),ma=!0):ma&&(ot(),ma=!1)}function ht(){ua&&(st(),ca=!0)}function yt(){ca&&(ot(),ca=!1)}function gt(t){t=xt(t);var n=[kt.LEFT,kt.RIGHT].indexOf(t.keyCode);0<=n&&(0===n?!Ki.disabled&&it(t,-1):!Ui.disabled&&it(t,1))}function ft(e){e.focus()}function vt(t){t=xt(t);var n=Ot.activeElement;if(f(n,"data-nav")){var i=[kt.LEFT,kt.RIGHT,kt.ENTER,kt.SPACE].indexOf(t.keyCode),a=+v(n,"data-nav");0<=i&&(0===i?0<a&&ft(Zi[a-1]):1===i?a<ta-1&&ft(Zi[a+1]):(ia=a,nt(a,t)))}}function xt(t){return t=t||Rt.event,Ct(t)?t.changedTouches[0]:t}function bt(t){return t.target||Rt.event.srcElement}function Ct(t){return 0<=t.type.indexOf("touch")}function Tt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function Nt(){return y(h(Na.y-Ta.y,Na.x-Ta.x),yi)===a.axis}function At(t){if(fi){if(hi)return;tt()}Gn&&ua&&st(),Aa=!0,Ca&&(M(Ca),Ca=null);var e=xt(t);xi.emit(Ct(t)?"touchStart":"dragStart",Bt(t)),!Ct(t)&&0<=["img","a"].indexOf(qe(bt(t)))&&Tt(t),Na.x=Ta.x=e.clientX,Na.y=Ta.y=e.clientY,tn&&(va=parseFloat(yn.style[oi].replace(si,"")),Ge(yn,"0s"))}function Et(t){if(Aa){var e=xt(t);Na.x=e.clientX,Na.y=e.clientY,tn?!Ca&&(Ca=k(function(){wt(t)})):("?"===gi&&(gi=Nt()),gi&&(Yi=!0)),("boolean"!=typeof t.cancelable||t.cancelable)&&Yi&&t.preventDefault()}}function wt(t){if(!gi)return void(Aa=!1);if(M(Ca),Aa&&(Ca=k(function(){wt(t)})),"?"===gi&&(gi=Nt()),gi){!Yi&&Ct(t)&&(Yi=!0);try{t.type&&xi.emit(Ct(t)?"touchMove":"dragMove",Bt(t))}catch(e){}var e=va,n=Ea(Na,Ta);if(!pn||In||wn)e+=n,e+="px";else{var i=jt?100*(n*On)/((Dn+Sn)*ti):100*n/(Dn+Sn);e+=i,e+="%"}yn.style[oi]=si+e+ri}}function It(t){if(Aa){Ca&&(M(Ca),Ca=null),tn&&Ge(yn,""),Aa=!1;var e=xt(t);Na.x=e.clientX,Na.y=e.clientY;var n=Ea(Na,Ta);if(Math.abs(n)){if(!Ct(t)){var i=bt(t);S(i,{click:function t(n){Tt(n),D(i,{click:t})}})}tn?Ca=k(function(){if(pn&&!wn){var e=-n*On/(Dn+Sn);e=0<n?Math.floor(e):Math.ceil(e),di+=e}else{var a=-(va+n);if(0>=a)di=pi;else if(a>=Tn[ti-1])di=mi;else for(var o=0;o<ti&&a>=Tn[o];)di=o,a>Tn[o]&&0>n&&(di+=1),o++}$e(t,n),xi.emit(Ct(t)?"touchEnd":"dragEnd",Bt(t))}):gi&&it(t,0<n?-1:1)}}"auto"===a.preventScrollOnTouch&&(Yi=!1),yi&&(gi="?"),Gn&&!ua&&ot()}function Lt(){var e=un?un:hn;e.style.height=Tn[di+On]-Tn[di]+"px"}function St(){var e=In?(In+Sn)*xn/Dn:xn/On;return Math.min(Math.ceil(e),xn)}function Dt(){if(jn&&!Mi&&ta!==na){var e=na,t=ta,n=A;for(na>ta&&(e=ta,t=na,n=N);e<t;)n(Zi[e]),e++;na=ta}}function Bt(t){return{container:yn,slideItems:vn,navContainer:$i,navItems:Zi,controlsContainer:Qi,hasControls:ki,prevButton:Ki,nextButton:Ui,items:On,slideBy:Rn,cloneCount:ei,slideCount:xn,slideCountNew:ti,index:di,indexCached:ui,displayIndex:x(),navCurrentIndex:aa,navCurrentIndexCached:oa,pages:ta,pagesCached:na,sheet:_n,isOn:Cn,event:t||{}}}a=e({container:".slider",mode:"carousel",axis:"horizontal",items:1,gutter:0,edgePadding:0,fixedWidth:!1,autoWidth:!1,viewportMax:!1,slideBy:1,center:!1,controls:!0,controlsPosition:"top",controlsText:["prev","next"],controlsContainer:!1,prevButton:!1,nextButton:!1,nav:!0,navPosition:"top",navContainer:!1,navAsThumbnails:!1,arrowKeys:!1,speed:300,autoplay:!1,autoplayPosition:"top",autoplayTimeout:5e3,autoplayDirection:"forward",autoplayText:["start","stop"],autoplayHoverPause:!1,autoplayButton:!1,autoplayButtonOutput:!0,autoplayResetOnVisibility:!0,animateIn:"tns-fadeIn",animateOut:"tns-fadeOut",animateNormal:"tns-normal",animateDelay:!1,loop:!0,rewind:!1,autoHeight:!1,responsive:!1,lazyload:!1,lazyloadSelector:".tns-lazy-img",touch:!0,mouseDrag:!1,swipeAngle:15,nested:!1,preventActionWhenRunning:!1,preventScrollOnTouch:!1,freezable:!0,onInit:!1,useLocalStorage:!0,nonce:!1},a||{});var Ot=document,Rt=window,kt={ENTER:13,SPACE:32,LEFT:37,RIGHT:39},Ht={},Mt=a.useLocalStorage;if(Mt){var Pt=navigator.userAgent,zt=new Date;try{Ht=Rt.localStorage,Ht?(Ht.setItem(zt,zt),Mt=Ht.getItem(zt)==zt,Ht.removeItem(zt)):Mt=!1,Mt||(Ht={})}catch(t){Mt=!1}Mt&&(Ht.tnsApp&&Ht.tnsApp!==Pt&&["tC","tPL","tMQ","tTf","t3D","tTDu","tTDe","tADu","tADe","tTE","tAE"].forEach(function(e){Ht.removeItem(e)}),localStorage.tnsApp=Pt)}var Wt=Ht.tC?t(Ht.tC):n(Ht,"tC",r(),Mt),qt=Ht.tPL?t(Ht.tPL):n(Ht,"tPL",l(),Mt),Ft=Ht.tMQ?t(Ht.tMQ):n(Ht,"tMQ",d(),Mt),jt=Ht.tTf?t(Ht.tTf):n(Ht,"tTf",w("transform"),Mt),Yt=Ht.t3D?t(Ht.t3D):n(Ht,"t3D",I(jt),Mt),Vt=Ht.tTDu?t(Ht.tTDu):n(Ht,"tTDu",w("transitionDuration"),Mt),Gt=Ht.tTDe?t(Ht.tTDe):n(Ht,"tTDe",w("transitionDelay"),Mt),Qt=Ht.tADu?t(Ht.tADu):n(Ht,"tADu",w("animationDuration"),Mt),Xt=Ht.tADe?t(Ht.tADe):n(Ht,"tADe",w("animationDelay"),Mt),Kt=Ht.tTE?t(Ht.tTE):n(Ht,"tTE",L(Vt,"Transition"),Mt),Ut=Ht.tAE?t(Ht.tAE):n(Ht,"tAE",L(Qt,"Animation"),Mt),_t=Rt.console&&"function"==typeof Rt.console.warn,Jt=["container","controlsContainer","prevButton","nextButton","navContainer","autoplayButton"],Zt={};if(Jt.forEach(function(e){if("string"==typeof a[e]){var t=a[e],n=Ot.querySelector(t);if(Zt[e]=t,n&&n.nodeName)a[e]=n;else return void(_t&&console.warn("Can't find",a[e]))}}),1>a.container.children.length)return void(_t&&console.warn("No slides found in",a.container));var $t=a.responsive,en=a.nested,tn="carousel"===a.mode;if($t){0 in $t&&(a=e(a,$t[0]),delete $t[0]);var nn={};for(var an in $t){var on=$t[an];on="number"==typeof on?{items:on}:on,nn[an]=on}$t=nn,nn=null}if(tn||o(a),!tn){a.axis="horizontal",a.slideBy="page",a.edgePadding=!1;var sn=a.animateIn,rn=a.animateOut,ln=a.animateDelay,dn=a.animateNormal}var un,cn,pn="horizontal"===a.axis,mn=Ot.createElement("div"),hn=Ot.createElement("div"),yn=a.container,gn=yn.parentNode,fn=yn.outerHTML,vn=yn.children,xn=vn.length,bn=Y(),Cn=!1;$t&&ye(),tn&&(yn.className+=" tns-vpfix");var Tn,Nn,An,En,wn=a.autoWidth,In=U("fixedWidth"),Ln=U("edgePadding"),Sn=U("gutter"),Dn=X(),Bn=U("center"),On=wn?1:Math.floor(U("items")),Rn=U("slideBy"),kn=a.viewportMax||a.fixedWidthViewportWidth,Hn=U("arrowKeys"),Mn=U("speed"),Pn=a.rewind,zn=!Pn&&a.loop,Wn=U("autoHeight"),qn=U("controls"),Fn=U("controlsText"),jn=U("nav"),Yn=U("touch"),Vn=U("mouseDrag"),Gn=U("autoplay"),Qn=U("autoplayTimeout"),Xn=U("autoplayText"),Kn=U("autoplayHoverPause"),Un=U("autoplayResetOnVisibility"),_n=u(null,U("nonce")),Jn=a.lazyload,Zn=a.lazyloadSelector,$n=[],ei=zn?j():0,ti=tn?xn+2*ei:xn+ei,ni=!!((In||wn)&&!zn),ii=In?Ke():null,ai=!(tn&&zn),oi=pn?"left":"top",si="",ri="",li=function(){return In?function(){return Bn&&!zn?xn-1:Math.ceil(-ii/(In+Sn))}:wn?function(){for(var e=0;e<ti;e++)if(Tn[e]>=-ii)return e}:function(){return Bn&&tn&&!zn?xn-1:zn||tn?Math.max(0,ti-Math.ceil(On)):ti-1}}(),di=R(U("startIndex")),ui=di,ci=x(),pi=0,mi=wn?null:li(),hi=a.preventActionWhenRunning,yi=a.swipeAngle,gi=!yi||"?",fi=!1,vi=a.onInit,xi=new B,bi=" tns-slider tns-"+a.mode,Ci=yn.id||i(),Ti=U("disable"),Ni=!1,Ai=a.freezable,Ei=Ai&&!wn&&he(),wi=!1,Ii={click:it,keydown:gt},Li={click:at,keydown:vt},Si={mouseover:ht,mouseout:yt},Di={visibilitychange:mt},Bi={keydown:function(t){t=xt(t);var n=[kt.LEFT,kt.RIGHT].indexOf(t.keyCode);0<=n&&it(t,0===n?-1:1)}},Oi={touchstart:At,touchmove:Et,touchend:It,touchcancel:It},Ri={mousedown:At,mousemove:Et,mouseup:It,mouseleave:It},ki=K("controls"),Hi=K("nav"),Mi=!!wn||a.navAsThumbnails,Pi=K("autoplay"),zi=K("touch"),Wi=K("mouseDrag"),qi="tns-slide-active",Fi="tns-complete",ji={load:function(t){we(bt(t))},error:function(t){Ie(bt(t))}},Yi="force"===a.preventScrollOnTouch;if(ki)var Vi,Gi,Qi=a.controlsContainer,Xi=a.controlsContainer?a.controlsContainer.outerHTML:"",Ki=a.prevButton,Ui=a.nextButton,_i=a.prevButton?a.prevButton.outerHTML:"",Ji=a.nextButton?a.nextButton.outerHTML:"";if(Hi)var Zi,$i=a.navContainer,ea=a.navContainer?a.navContainer.outerHTML:"",ta=wn?xn:St(),na=0,ia=-1,aa=P(),oa=aa,sa="tns-nav-active",ra="Carousel Page ",la=" (Current Slide)";if(Pi)var da,ua,ca,pa,ma,ha="forward"===a.autoplayDirection?1:-1,ya=a.autoplayButton,ga=a.autoplayButton?a.autoplayButton.outerHTML:"",fa=["<span class='tns-visually-hidden'>"," animation</span>"];if(zi||Wi)var va,xa,ba,Ca,Ta={},Na={},Aa=!1,Ea=pn?function(e,t){return e.x-t.x}:function(e,t){return e.y-t.y};wn||s(Ti||Ei),jt&&(oi=jt,si="translate",Yt?(si+=pn?"3d(":"3d(0px, ",ri=pn?", 0px, 0px)":", 0px)"):(si+=pn?"X(":"Y(",ri=")")),tn&&(yn.className=yn.className.replace("tns-vpfix","")),ae(),le(),oe();var wa=function(){return zn?tn?function(){var e=pi,t=mi;e+=Rn,t-=Rn,Ln?(e+=1,t-=1):In&&(Dn+Sn)%(In+Sn)&&(t-=1),ei&&(di>t?di-=xn:di<e&&(di+=xn))}:function(){if(di>mi)for(;di>=pi+xn;)di-=xn;else if(di<pi)for(;di<=mi-xn;)di+=xn}:function(){di=Math.max(pi,Math.min(mi,di))}}(),Ia=function(){return tn?function(){Ge(yn,""),Vt||!Mn?(Je(),(!Mn||!E(yn))&&tt()):O(yn,oi,si,ri,Ue(),Mn,tt),pn||Lt()}:function(){$n=[];var e={};e[Kt]=e[Ut]=tt,D(vn[ui],e),S(vn[di],e),Ze(ui,sn,rn,!0),Ze(di,dn,sn),Kt&&Ut&&Mn&&E(yn)||tt()}}();return{version:"2.9.3",getInfo:Bt,events:xi,goTo:nt,play:ut,pause:ct,isOn:Cn,updateSliderHeight:He,refresh:oe,destroy:ce,rebuild:function(){return G(e(a,Zt))}}};return G}();