!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):(t="undefined"!=typeof globalThis?globalThis:t||self).UIkit=e()}(this,(function(){"use strict";const{hasOwnProperty:t,toString:e}=Object.prototype;function i(e,i){return t.call(e,i)}const n=/\B([A-Z])/g,s=Z((t=>t.replace(n,"-$1").toLowerCase())),o=/-(\w)/g,r=Z((t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(o,((t,e)=>e.toUpperCase())))),a=Z((t=>t.charAt(0).toUpperCase()+t.slice(1)));function l(t,e){var i;return null==(i=null==t?void 0:t.startsWith)?void 0:i.call(t,e)}function h(t,e){var i;return null==(i=null==t?void 0:t.endsWith)?void 0:i.call(t,e)}function c(t,e){var i;return null==(i=null==t?void 0:t.includes)?void 0:i.call(t,e)}function d(t,e){var i;return null==(i=null==t?void 0:t.findIndex)?void 0:i.call(t,e)}const{isArray:u,from:f}=Array,{assign:p}=Object;function m(t){return"function"==typeof t}function g(t){return null!==t&&"object"==typeof t}function v(t){return"[object Object]"===e.call(t)}function b(t){return g(t)&&t===t.window}function w(t){return 9===y(t)}function $(t){return y(t)>=1}function x(t){return 1===y(t)}function y(t){return!b(t)&&g(t)&&t.nodeType}function k(t){return"boolean"==typeof t}function S(t){return"string"==typeof t}function I(t){return"number"==typeof t}function C(t){return I(t)||S(t)&&!isNaN(t-parseFloat(t))}function T(t){return!(u(t)?t.length:g(t)&&Object.keys(t).length)}function E(t){return void 0===t}function _(t){return k(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function B(t){const e=Number(t);return!isNaN(e)&&e}function A(t){return parseFloat(t)||0}function P(t){return D(t)[0]}function D(t){return $(t)?[t]:Array.from(t||[]).filter($)}function M(t){if(b(t))return t;const e=w(t=P(t))?t:null==t?void 0:t.ownerDocument;return(null==e?void 0:e.defaultView)||window}function O(t,e){return t===e||g(t)&&g(e)&&Object.keys(t).length===Object.keys(e).length&&H(t,((t,i)=>t===e[i]))}function N(t,e,i){return t.replace(new RegExp(`${e}|${i}`,"g"),(t=>t===e?i:e))}function z(t){return t[t.length-1]}function H(t,e){for(const i in t)if(!1===e(t[i],i))return!1;return!0}function L(t,e){return t.slice().sort((({[e]:t=0},{[e]:i=0})=>t>i?1:i>t?-1:0))}function F(t,e){return t.reduce(((t,i)=>t+A(m(e)?e(i):i[e])),0)}function j(t,e){const i=new Set;return t.filter((({[e]:t})=>!i.has(t)&&i.add(t)))}function W(t,e){return e.reduce(((e,i)=>({...e,[i]:t[i]})),{})}function q(t,e=0,i=1){return Math.min(Math.max(B(t)||0,e),i)}function R(){}function V(...t){return[["bottom","top"],["right","left"]].every((([e,i])=>Math.min(...t.map((({[e]:t})=>t)))-Math.max(...t.map((({[i]:t})=>t)))>0))}function U(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function X(t,e,i){const n="width"===e?"height":"width";return{[n]:t[e]?Math.round(i*t[n]/t[e]):t[n],[e]:i}}function Y(t,e){t={...t};for(const i in t)t=t[i]>e[i]?X(t,i,e[i]):t;return t}const J={ratio:X,contain:Y,cover:function(t,e){t=Y(t,e);for(const i in t)t=t[i]<e[i]?X(t,i,e[i]):t;return t}};function G(t,e,i=0,n=!1){e=D(e);const{length:s}=e;return s?(t=C(t)?B(t):"next"===t?i+1:"previous"===t?i-1:"last"===t?s-1:e.indexOf(P(t)),n?q(t,0,s-1):(t%=s)<0?t+s:t):-1}function Z(t){const e=Object.create(null);return(i,...n)=>e[i]||(e[i]=t(i,...n))}function K(t,e,i){var n;if(g(e))for(const i in e)K(t,i,e[i]);else{if(E(i))return null==(n=P(t))?void 0:n.getAttribute(e);for(const n of D(t))m(i)&&(i=i.call(n,K(n,e))),null===i?tt(n,e):n.setAttribute(e,i)}}function Q(t,e){return D(t).some((t=>t.hasAttribute(e)))}function tt(t,e){D(t).forEach((t=>t.removeAttribute(e)))}function et(t,e){for(const i of[e,`data-${e}`])if(Q(t,i))return K(t,i)}function it(t,...e){for(const i of D(t)){const t=lt(e).filter((t=>!rt(i,t)));t.length&&i.classList.add(...t)}}function nt(t,...e){for(const i of D(t)){const t=lt(e).filter((t=>rt(i,t)));t.length&&i.classList.remove(...t)}}function st(t,e){e=new RegExp(e);for(const i of D(t))i.classList.remove(...f(i.classList).filter((t=>t.match(e))))}function ot(t,e,i){i=lt(i),nt(t,e=lt(e).filter((t=>!c(i,t)))),it(t,i)}function rt(t,e){return[e]=lt(e),D(t).some((t=>t.classList.contains(e)))}function at(t,e,i){const n=lt(e);E(i)||(i=!!i);for(const e of D(t))for(const t of n)e.classList.toggle(t,i)}function lt(t){return t?u(t)?t.map(lt).flat():String(t).split(/[ ,]/).filter(Boolean):[]}const ht={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function ct(t){return D(t).some((t=>ht[t.tagName.toLowerCase()]))}function dt(t){return D(t).some((t=>t.offsetWidth||t.offsetHeight||t.getClientRects().length))}const ut="input,select,textarea,button";function ft(t){return D(t).some((t=>bt(t,ut)))}const pt=`${ut},a[href],[tabindex]`;function mt(t){return bt(t,pt)}function gt(t){var e;return null==(e=P(t))?void 0:e.parentElement}function vt(t,e){return D(t).filter((t=>bt(t,e)))}function bt(t,e){return D(t).some((t=>t.matches(e)))}function wt(t,e){var i;return null==(i=P(t))?void 0:i.closest(l(e,">")?e.slice(1):e)}function $t(t,e){return S(e)?!!wt(t,e):P(e).contains(P(t))}function xt(t,e){const i=[];for(;t=gt(t);)e&&!bt(t,e)||i.push(t);return i}function yt(t,e){const i=(t=P(t))?f(t.children):[];return e?vt(i,e):i}function kt(t,e){return e?D(t).indexOf(P(e)):yt(gt(t)).indexOf(t)}function St(t){return(t=P(t))&&["origin","pathname","search"].every((e=>t[e]===location[e]))}function It(t){if(St(t)){t=P(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function Ct(t,e){return Et(t,Pt(t,e))}function Tt(t,e){return _t(t,Pt(t,e))}function Et(t,e){return P(Ot(t,P(e),"querySelector"))}function _t(t,e){return D(Ot(t,P(e),"querySelectorAll"))}const Bt=/(^|[^\\],)\s*[!>+~-]/,At=Z((t=>t.match(Bt)));function Pt(t,e=document){return S(t)&&At(t)||w(e)?e:e.ownerDocument}const Dt=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Mt=Z((t=>t.replace(Dt,"$1 *")));function Ot(t,e=document,i){if(!t||!S(t))return t;if(t=Mt(t),At(t)){const i=zt(t);t="";for(let n of i){let s=e;if("!"===n[0]){const t=n.substr(1).trim().split(" ");if(s=gt(e).closest(t[0]),n=t.slice(1).join(" ").trim(),!n.length&&1===i.length)return s}if("-"===n[0]){const t=n.substr(1).trim().split(" "),i=(s||e).previousElementSibling;s=bt(i,n.substr(1))?i:null,n=t.slice(1).join(" ")}s&&(t+=`${t?",":""}${Ht(s)} ${n}`)}e=document}try{return e[i](t)}catch(t){return null}}const Nt=/.*?[^\\](?:,|$)/g,zt=Z((t=>t.match(Nt).map((t=>t.replace(/,$/,"").trim()))));function Ht(t){const e=[];for(;t.parentNode;){const i=K(t,"id");if(i){e.unshift(`#${Lt(i)}`);break}{let{tagName:i}=t;"HTML"!==i&&(i+=`:nth-child(${kt(t)+1})`),e.unshift(i),t=t.parentNode}}return e.join(" > ")}function Lt(t){return S(t)?CSS.escape(t):""}function Ft(...t){let[e,i,n,s,o=!1]=Vt(t);s.length>1&&(s=function(t){return e=>u(e.detail)?t(e,...e.detail):t(e)}(s)),(null==o?void 0:o.self)&&(s=function(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}(s)),n&&(s=function(t,e){return i=>{const n=">"===t[0]?_t(t,i.currentTarget).reverse().find((t=>t.contains(i.target))):i.target.closest(t);n&&(i.current=n,e.call(this,i),delete i.current)}}(n,s));for(const t of i)for(const i of e)i.addEventListener(t,s,o);return()=>jt(e,i,s,o)}function jt(...t){let[e,i,,n,s=!1]=Vt(t);for(const t of i)for(const i of e)i.removeEventListener(t,n,s)}function Wt(...t){const[e,i,n,s,o=!1,r]=Vt(t),a=Ft(e,i,n,(t=>{const e=!r||r(t);e&&(a(),s(t,e))}),o);return a}function qt(t,e,i){return Yt(t).every((t=>t.dispatchEvent(Rt(e,!0,!0,i))))}function Rt(t,e=!0,i=!1,n){return S(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:n})),t}function Vt(t){return t[0]=Yt(t[0]),S(t[1])&&(t[1]=t[1].split(" ")),m(t[2])&&t.splice(2,0,!1),t}function Ut(t){return t&&"addEventListener"in t}function Xt(t){return Ut(t)?t:P(t)}function Yt(t){return u(t)?t.map(Xt).filter(Boolean):S(t)?_t(t):Ut(t)?[t]:D(t)}function Jt(t){return"touch"===t.pointerType||!!t.touches}function Gt(t){var e,i;const{clientX:n,clientY:s}=(null==(e=t.touches)?void 0:e[0])||(null==(i=t.changedTouches)?void 0:i[0])||t;return{x:n,y:s}}const Zt={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function Kt(t,e,i,n){const s=D(t);for(const t of s)if(S(e)){if(e=Qt(e),E(i))return getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,C(i)&&!Zt[e]?`${i}px`:i||I(i)?i:"",n)}else{if(u(e)){const i={};for(const n of e)i[n]=Kt(t,n);return i}g(e)&&(n=i,H(e,((e,i)=>Kt(t,i,e,n))))}return s[0]}const Qt=Z((t=>function(t){if(l(t,"--"))return t;t=s(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const n=`-${i}-${t}`;if(n in e)return n}}(t)));const te="uk-transition",ee="transitionend",ie="transitioncanceled";const ne={start:function(t,e,i=400,n="linear"){return i=Math.round(i),Promise.all(D(t).map((t=>new Promise(((s,o)=>{for(const i in e){const e=Kt(t,i);""===e&&Kt(t,i,e)}const r=setTimeout((()=>qt(t,ee)),i);Wt(t,[ee,ie],(({type:e})=>{clearTimeout(r),nt(t,te),Kt(t,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),e===ie?o():s(t)}),{self:!0}),it(t,te),Kt(t,{transitionProperty:Object.keys(e).map(Qt).join(","),transitionDuration:`${i}ms`,transitionTimingFunction:n,...e})})))))},async stop(t){qt(t,ee),await Promise.resolve()},async cancel(t){qt(t,ie),await Promise.resolve()},inProgress:t=>rt(t,te)},se="uk-animation-",oe="animationend",re="animationcanceled";function ae(t,e,i=200,n,s){return Promise.all(D(t).map((t=>new Promise(((o,r)=>{qt(t,re);const a=setTimeout((()=>qt(t,oe)),i);Wt(t,[oe,re],(({type:e})=>{clearTimeout(a),e===re?r():o(t),Kt(t,"animationDuration",""),st(t,`${se}\\S*`)}),{self:!0}),Kt(t,"animationDuration",`${i}ms`),it(t,e,se+(s?"leave":"enter")),l(e,se)&&(n&&it(t,`uk-transform-origin-${n}`),s&&it(t,`${se}reverse`))})))))}const le=new RegExp(`${se}(enter|leave)`),he={in:ae,out:(t,e,i,n)=>ae(t,e,i,n,!0),inProgress:t=>le.test(K(t,"class")),cancel(t){qt(t,re)}};function ce(t,...e){return e.some((e=>{var i;return(null==(i=null==t?void 0:t.tagName)?void 0:i.toLowerCase())===e.toLowerCase()}))}function de(t){return(t=Ce(t)).innerHTML="",t}function ue(t,e){return E(e)?Ce(t).innerHTML:pe(de(t),e)}const fe=ve("prepend"),pe=ve("append"),me=ve("before"),ge=ve("after");function ve(t){return function(e,i){var n;const s=D(S(i)?ke(i):i);return null==(n=Ce(e))||n[t](...s),Se(s)}}function be(t){D(t).forEach((t=>t.remove()))}function we(t,e){for(e=P(me(t,e));e.firstChild;)e=e.firstChild;return pe(e,t),e}function $e(t,e){return D(D(t).map((t=>t.hasChildNodes()?we(f(t.childNodes),e):pe(t,e))))}function xe(t){D(t).map(gt).filter(((t,e,i)=>i.indexOf(t)===e)).forEach((t=>t.replaceWith(...t.childNodes)))}const ye=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function ke(t){const e=ye.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("template");return i.innerHTML=t.trim(),Se(i.content.childNodes)}function Se(t){return t.length>1?t:t[0]}function Ie(t,e){if(x(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;Ie(t,e),t=i}}function Ce(t,e){return Ee(t)?P(ke(t)):Et(t,e)}function Te(t,e){return Ee(t)?D(ke(t)):_t(t,e)}function Ee(t){return S(t)&&l(t.trim(),"<")}const _e={width:["left","right"],height:["top","bottom"]};function Be(t){const e=x(t)?P(t).getBoundingClientRect():{height:Me(t),width:Oe(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function Ae(t,e){e&&Kt(t,{left:0,top:0});const i=Be(t);if(t){const{scrollY:e,scrollX:n}=M(t),s={height:e,width:n};for(const t in _e)for(const e of _e[t])i[e]+=s[t]}if(!e)return i;for(const n of["left","top"])Kt(t,n,e[n]-i[n])}function Pe(t){let{top:e,left:i}=Ae(t);const{ownerDocument:{body:n,documentElement:s},offsetParent:o}=P(t);let r=o||s;for(;r&&(r===n||r===s)&&"static"===Kt(r,"position");)r=r.parentNode;if(x(r)){const t=Ae(r);e-=t.top+A(Kt(r,"borderTopWidth")),i-=t.left+A(Kt(r,"borderLeftWidth"))}return{top:e-A(Kt(t,"marginTop")),left:i-A(Kt(t,"marginLeft"))}}function De(t){const e=[(t=P(t)).offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+A(Kt(t,"borderTopWidth")),e[1]+=t.offsetLeft+A(Kt(t,"borderLeftWidth")),"fixed"===Kt(t,"position")){const i=M(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const Me=Ne("height"),Oe=Ne("width");function Ne(t){const e=a(t);return(i,n)=>{if(E(n)){if(b(i))return i[`inner${e}`];if(w(i)){const t=i.documentElement;return Math.max(t[`offset${e}`],t[`scroll${e}`])}return(n="auto"===(n=Kt(i=P(i),t))?i[`offset${e}`]:A(n)||0)-ze(i,t)}return Kt(i,t,n||0===n?+n+ze(i,t)+"px":"")}}function ze(t,e,i="border-box"){return Kt(t,"boxSizing")===i?F(_e[e].map(a),(e=>A(Kt(t,`padding${e}`))+A(Kt(t,`border${e}Width`)))):0}function He(t){for(const e in _e)for(const i in _e[e])if(_e[e][i]===t)return _e[e][1-i];return t}function Le(t,e="width",i=window,n=!1){return S(t)?F(je(t),(t=>{const s=qe(t);return s?function(t,e){return t*A(e)/100}("vh"===s?function(){if(Re)return Re;Ve||(Ve=Ce("<div>"),Kt(Ve,{height:"100vh",position:"fixed"}),Ft(window,"resize",(()=>Re=null)));return pe(document.body,Ve),Re=Ve.clientHeight,be(Ve),Re}():"vw"===s?Oe(M(i)):n?i[`offset${a(e)}`]:Be(i)[e],t):t})):A(t)}const Fe=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,je=Z((t=>t.toString().replace(/\s/g,"").match(Fe)||[])),We=/(?:v[hw]|%)$/,qe=Z((t=>(t.match(We)||[])[0]));let Re,Ve;const Ue="undefined"!=typeof window,Xe=Ue&&"rtl"===document.dir,Ye=Ue&&"ontouchstart"in window,Je=Ue&&window.PointerEvent,Ge=Je?"pointerdown":Ye?"touchstart":"mousedown",Ze=Je?"pointermove":Ye?"touchmove":"mousemove",Ke=Je?"pointerup":Ye?"touchend":"mouseup",Qe=Je?"pointerenter":Ye?"":"mouseenter",ti=Je?"pointerleave":Ye?"":"mouseleave",ei=Je?"pointercancel":"touchcancel",ii={reads:[],writes:[],read(t){return this.reads.push(t),oi(),t},write(t){return this.writes.push(t),oi(),t},clear(t){ai(this.reads,t),ai(this.writes,t)},flush:ni};function ni(t){ri(ii.reads),ri(ii.writes.splice(0)),ii.scheduled=!1,(ii.reads.length||ii.writes.length)&&oi(t+1)}const si=4;function oi(t){ii.scheduled||(ii.scheduled=!0,t&&t<si?Promise.resolve().then((()=>ni(t))):requestAnimationFrame((()=>ni(1))))}function ri(t){let e;for(;e=t.shift();)try{e()}catch(t){console.error(t)}}function ai(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function li(){}function hi(t,e,i={},{intersecting:n=!0}={}){const s=new IntersectionObserver(n?(t,i)=>{t.some((t=>t.isIntersecting))&&e(t,i)}:e,i);for(const e of D(t))s.observe(e);return s}li.prototype={positions:[],init(){let t;this.positions=[],this.unbind=Ft(document,"mousemove",(e=>t=Gt(e))),this.interval=setInterval((()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())}),50)},cancel(){var t;null==(t=this.unbind)||t.call(this),clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:n,top:s,bottom:o}=e,[r]=this.positions,a=z(this.positions),l=[r,a];if(U(a,e))return!1;return[[{x:i,y:s},{x:n,y:o}],[{x:i,y:o},{x:n,y:s}]].some((t=>{const i=function([{x:t,y:e},{x:i,y:n}],[{x:s,y:o},{x:r,y:a}]){const l=(a-o)*(i-t)-(r-s)*(n-e);if(0===l)return!1;const h=((r-s)*(e-o)-(a-o)*(t-s))/l;if(h<0)return!1;return{x:t+h*(i-t),y:e+h*(n-e)}}(l,t);return i&&U(i,e)}))}};const ci=Ue&&window.ResizeObserver;function di(t,e,i={box:"border-box"}){if(ci)return pi(ResizeObserver,t,e,i);const n=[Ft(window,"load resize",e),Ft(document,"loadedmetadata load",e,!0)];return{disconnect:()=>n.map((t=>t()))}}function ui(t){return{disconnect:Ft([window,window.visualViewport],"resize",t)}}function fi(t,e,i){return pi(MutationObserver,t,e,i)}function pi(t,e,i,n){const s=new t(i);for(const t of D(e))s.observe(t,n);return s}function mi(t){$i(t)&&ki(t,{func:"playVideo",method:"play"}),wi(t)&&t.play()}function gi(t){$i(t)&&ki(t,{func:"pauseVideo",method:"pause"}),wi(t)&&t.pause()}function vi(t){$i(t)&&ki(t,{func:"mute",method:"setVolume",value:0}),wi(t)&&(t.muted=!0)}function bi(t){return wi(t)||$i(t)}function wi(t){return ce(t,"video")}function $i(t){return ce(t,"iframe")&&(xi(t)||yi(t))}function xi(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function yi(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function ki(t,e){await function(t){if(t[Ii])return t[Ii];const e=xi(t),i=yi(t),n=++Ci;let s;return t[Ii]=new Promise((o=>{e&&Wt(t,"load",(()=>{const e=()=>Si(t,{event:"listening",id:n});s=setInterval(e,100),e()})),Wt(window,"message",o,!1,(({data:t})=>{try{return t=JSON.parse(t),e&&(null==t?void 0:t.id)===n&&"onReady"===t.event||i&&Number(null==t?void 0:t.player_id)===n}catch(t){}})),t.src=`${t.src}${c(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${n}`}`})).then((()=>clearInterval(s)))}(t),Si(t,e)}function Si(t,e){t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}const Ii="_ukPlayer";let Ci=0;function Ti(t,{offset:e=0}={}){const i=dt(t)?_i(t,!1,["hidden"]):[];return i.reduce(((n,s,o)=>{const{scrollTop:r,scrollHeight:a,offsetHeight:l}=s,h=Pi(s),c=a-h.height,{height:d,top:u}=i[o-1]?Pi(i[o-1]):Ae(t);let f=Math.ceil(u-h.top-e+r);return e>0&&l<d+e?f+=e:e=0,f>c?(e-=f-c,f=c):f<0&&(e-=f,f=0),()=>function(t,e,n,s){return new Promise((o=>{const r=t.scrollTop,a=(l=Math.abs(e),40*Math.pow(l,.375));var l;const h=Date.now(),c=Ni(t)===t,d=Ae(n).top+(c?0:r);let u=0,f=15;!function l(){const p=(m=q((Date.now()-h)/a),.5*(1-Math.cos(Math.PI*m)));var m;let g=0;if(i[0]===t&&r+e<s){g=Ae(n).top+(c?0:t.scrollTop)-d;const e=Di(n);g-=e?Ae(e).height:0}t.scrollTop=Math[e+g>0?"max":"min"](t.scrollTop,r+(e+g)*p),1!==p||u!==g&&f--?(u=g,requestAnimationFrame(l)):o()}()}))}(s,f-r,t,c).then(n)}),(()=>Promise.resolve()))()}function Ei(t,e=0,i=0){if(!dt(t))return 0;const n=Bi(t,!0),{scrollHeight:s,scrollTop:o}=n,{height:r}=Pi(n),a=s-r,l=De(t)[0]-De(n)[0],h=Math.max(0,l-r+e);return q((o-h)/(Math.min(a,l+t.offsetHeight-i)-h))}function _i(t,e=!1,i=[]){const n=Ni(t);let s=xt(t).reverse();s=s.slice(s.indexOf(n)+1);const o=d(s,(t=>"fixed"===Kt(t,"position")));return~o&&(s=s.slice(o)),[n].concat(s.filter((t=>Kt(t,"overflow").split(" ").some((t=>c(["auto","scroll",...i],t)))&&(!e||t.scrollHeight>Pi(t).height)))).reverse()}function Bi(...t){return _i(...t)[0]}function Ai(t){return _i(t,!1,["hidden","clip"])}function Pi(t){const e=M(t),{visualViewport:i,document:{documentElement:n}}=e;let s=t===Ni(t)?e:t;if(b(s)&&i){let{height:t,width:e,scale:n,pageTop:s,pageLeft:o}=i;return t=Math.round(t*n),e=Math.round(e*n),{height:t,width:e,top:s,left:o,bottom:s+t,right:o+e}}let o=Ae(s);if("inline"===Kt(s,"display"))return o;for(let[t,e,i,r]of[["width","x","left","right"],["height","y","top","bottom"]]){b(s)?s=n:o[i]+=A(Kt(s,`border-${i}-width`));const l=o[t]%1;o[t]=o[e]=s[`client${a(t)}`]-(l?l<.5?-l:1-l:0),o[r]=o[t]+o[i]}return o}function Di(t){return t.ownerDocument.elementsFromPoint(Ae(t).left,0).find((e=>!e.contains(t)&&(Oi(e,"fixed")&&Mi(xt(t).reverse().find((t=>!t.contains(e)&&!Oi(t,"static"))))<Mi(e)||Oi(e,"sticky")&&gt(e).contains(t))))}function Mi(t){return A(Kt(t,"zIndex"))}function Oi(t,e){return Kt(t,"position")===e}function Ni(t){return M(t).document.scrollingElement}const zi=[["width","x","left","right"],["height","y","top","bottom"]];function Hi(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},u(e)||(e=[e,e]),Ae(t,Li(t,e,i))}function Li(t,e,i){const n=Fi(t,e,i),{boundary:s,viewportOffset:o=0,placement:r}=i;let a=n;for(const[l,[h,,c,d]]of Object.entries(zi)){const u=qi(t,e[l],o,s,l);if(Xi(n,u,l))continue;let f=0;if("flip"===r[l]){const s=i.attach.target[l];if(s===d&&n[d]<=u[d]||s===c&&n[c]>=u[c])continue;f=Yi(t,e,i,l)[c]-n[c];const r=Ri(t,e[l],o,l);if(!Xi(ji(n,f,l),r,l)){if(Xi(n,r,l))continue;if(i.recursion)return!1;const s=Ji(t,e,i);if(s&&Xi(s,r,1-l))return s;continue}}else if("shift"===r[l]){const t=Ae(e[l]),{offset:s}=i;f=q(q(n[c],u[c],u[d]-n[h]),t[c]-n[h]+s[l],t[d]-s[l])-n[c]}a=ji(a,f,l)}return a}function Fi(t,e,i){let{attach:n,offset:s}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=Ae(t);for(const[t,[i,,r,a]]of Object.entries(zi)){const l=n.target[t]===n.element[t]?Pi(e[t]):Ae(e[t]);o=ji(o,l[r]-o[r]+Wi(n.target[t],a,l[i])-Wi(n.element[t],a,o[i])+ +s[t],t)}return o}function ji(t,e,i){const[,n,s,o]=zi[i],r={...t};return r[s]=t[n]=t[s]+e,r[o]+=e,r}function Wi(t,e,i){return"center"===t?i/2:t===e?i:0}function qi(t,e,i,n,s){let o=Ui(...Vi(t,e).map(Pi));return i&&(o[zi[s][2]]+=i,o[zi[s][3]]-=i),n&&(o=Ui(o,Ae(u(n)?n[s]:n))),o}function Ri(t,e,i,n){const[s,o,r,l]=zi[n],[h]=Vi(t,e),c=Pi(h);return["auto","scroll"].includes(Kt(h,`overflow-${o}`))&&(c[r]-=h[`scroll${a(r)}`],c[l]=c[r]+h[`scroll${a(s)}`]),c[r]+=i,c[l]-=i,c}function Vi(t,e){return Ai(e).filter((e=>e.contains(t)))}function Ui(...t){let e={};for(const i of t)for(const[,,t,n]of zi)e[t]=Math.max(e[t]||0,i[t]),e[n]=Math.min(...[e[n],i[n]].filter(Boolean));return e}function Xi(t,e,i){const[,,n,s]=zi[i];return t[n]>=e[n]&&t[s]<=e[s]}function Yi(t,e,{offset:i,attach:n},s){return Fi(t,e,{attach:{element:Gi(n.element,s),target:Gi(n.target,s)},offset:Ki(i,s)})}function Ji(t,e,i){return Li(t,e,{...i,attach:{element:i.attach.element.map(Zi).reverse(),target:i.attach.target.map(Zi).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function Gi(t,e){const i=[...t],n=zi[e].indexOf(t[e]);return~n&&(i[e]=zi[e][1-n%2+2]),i}function Zi(t){for(let e=0;e<zi.length;e++){const i=zi[e].indexOf(t);if(~i)return zi[1-e][i%2+2]}}function Ki(t,e){return(t=[...t])[e]*=-1,t}var Qi=Object.freeze({__proto__:null,$:Ce,$$:Te,Animation:he,Dimensions:J,MouseTracker:li,Transition:ne,addClass:it,after:ge,append:pe,apply:Ie,assign:p,attr:K,before:me,boxModelAdjust:ze,camelize:r,children:yt,clamp:q,closest:wt,createEvent:Rt,css:Kt,data:et,dimensions:Be,each:H,empty:de,endsWith:h,escape:Lt,fastdom:ii,filter:vt,find:Et,findAll:_t,findIndex:d,flipPosition:He,fragment:ke,getCoveringElement:Di,getEventPos:Gt,getIndex:G,getTargetedElement:It,hasAttr:Q,hasClass:rt,hasOwn:i,hasTouch:Ye,height:Me,html:ue,hyphenate:s,inBrowser:Ue,includes:c,index:kt,intersectRect:V,isArray:u,isBoolean:k,isDocument:w,isElement:x,isEmpty:T,isEqual:O,isFocusable:mt,isFunction:m,isInView:function(t,e=0,i=0){return!!dt(t)&&V(...Ai(t).map((t=>{const{top:n,left:s,bottom:o,right:r}=Pi(t);return{top:n-e,left:s-i,bottom:o+e,right:r+i}})).concat(Ae(t)))},isInput:ft,isNode:$,isNumber:I,isNumeric:C,isObject:g,isPlainObject:v,isRtl:Xe,isSameSiteAnchor:St,isString:S,isTag:ce,isTouch:Jt,isUndefined:E,isVideo:bi,isVisible:dt,isVoidElement:ct,isWindow:b,last:z,matches:bt,memoize:Z,mute:vi,noop:R,observeIntersection:hi,observeMutation:fi,observeResize:di,observeViewportResize:ui,off:jt,offset:Ae,offsetPosition:De,offsetViewport:Pi,on:Ft,once:Wt,overflowParents:Ai,parent:gt,parents:xt,pause:gi,pick:W,play:mi,pointInRect:U,pointerCancel:ei,pointerDown:Ge,pointerEnter:Qe,pointerLeave:ti,pointerMove:Ze,pointerUp:Ke,position:Pe,positionAt:Hi,prepend:fe,propName:Qt,query:Ct,queryAll:Tt,ready:function(t){"loading"===document.readyState?Wt(document,"DOMContentLoaded",t):t()},remove:be,removeAttr:tt,removeClass:nt,removeClasses:st,replaceClass:ot,scrollIntoView:Ti,scrollParent:Bi,scrollParents:_i,scrolledOver:Ei,selFocusable:pt,selInput:ut,sortBy:L,startsWith:l,sumBy:F,swap:N,toArray:f,toBoolean:_,toEventTargets:Yt,toFloat:A,toNode:P,toNodes:D,toNumber:B,toPx:Le,toWindow:M,toggleClass:at,trigger:qt,ucfirst:a,uniqueBy:j,unwrap:xe,width:Oe,within:$t,wrapAll:we,wrapInner:$e}),tn={connected(){it(this.$el,this.$options.id)}};const en=["days","hours","minutes","seconds"];var nn={mixins:[tn],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".uk-countdown-%unit%",role:"timer"},connected(){K(this.$el,"role",this.role),this.date=A(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el:()=>document,handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(qt(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),qt(this.$el,"countdownstop"),this.timer=null)},update(){const t=function(t){const e=Math.max(0,t-Date.now())/1e3;return{total:e,seconds:e%60,minutes:e/60%60,hours:e/60/60%24,days:e/60/60/24}}(this.date);t.total||(this.stop(),this.end||(qt(this.$el,"countdownend"),this.end=!0));for(const e of en){const i=Ce(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let n=String(Math.trunc(t[e]));n=n.length<2?`0${n}`:n,i.textContent!==n&&(n=n.split(""),n.length!==i.children.length&&ue(i,n.map((()=>"<span></span>")).join("")),n.forEach(((t,e)=>i.children[e].textContent=t)))}}}};const sn={};function on(t,e,i){return sn.computed(m(t)?t.call(i,i):t,m(e)?e.call(i,i):e)}function rn(t,e){return t=t&&!u(t)?[t]:t,e?t?t.concat(e):u(e)?e:[e]:t}function an(t,e){return E(e)?t:e}function ln(t,e,n){const s={};if(m(e)&&(e=e.options),e.extends&&(t=ln(t,e.extends,n)),e.mixins)for(const i of e.mixins)t=ln(t,i,n);for(const e in t)o(e);for(const n in e)i(t,n)||o(n);function o(i){s[i]=(sn[i]||an)(t[i],e[i],n)}return s}function hn(t,e=[]){try{return t?l(t,"{")?JSON.parse(t):e.length&&!c(t,":")?{[e[0]]:t}:t.split(";").reduce(((t,e)=>{const[i,n]=e.split(/:(.*)/);return i&&!E(n)&&(t[i.trim()]=n.trim()),t}),{}):{}}catch(t){return{}}}function cn(t,e){return t===Boolean?_(e):t===Number?B(e):"list"===t?function(t){return u(t)?t:S(t)?t.split(dn).map((t=>C(t)?B(t):_(t.trim()))):[t]}(e):t===Object&&S(e)?hn(e):t?t(e):e}sn.events=sn.watch=sn.observe=sn.created=sn.beforeConnect=sn.connected=sn.beforeDisconnect=sn.disconnected=sn.destroy=rn,sn.args=function(t,e){return!1!==e&&rn(e||t)},sn.update=function(t,e){return L(rn(t,m(e)?{read:e}:e),"order")},sn.props=function(t,e){if(u(e)){const t={};for(const i of e)t[i]=String;e=t}return sn.methods(t,e)},sn.computed=sn.methods=function(t,e){return e?t?{...t,...e}:e:t},sn.i18n=sn.data=function(t,e,i){return i?on(t,e,i):e?t?function(i){return on(t,e,i)}:e:t};const dn=/,(?![^(]*\))/;function un(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,ii.read((()=>{t._connected&&function(t,e){for(const{read:i,write:n,events:s=[]}of t._updates){if(!e.has("update")&&!s.some((t=>e.has(t))))continue;let o;i&&(o=i.call(t,t._data,e),o&&v(o)&&p(t._data,o)),n&&!1!==o&&ii.write((()=>{t._connected&&n.call(t,t._data,e)}))}}(t,t._queued),delete t._queued}))),t._queued.add(e.type||e))}function fn(t){return $n(di,t,"resize")}function pn(t){return $n(hi,t)}function mn(t){return $n(fi,t)}function gn(t={}){return pn({handler:function(e,i){const{targets:n=this.$el,preload:s=5}=t;for(const t of D(m(n)?n(this):n))Te('[loading="lazy"]',t).slice(0,s-1).forEach((t=>tt(t,"loading")));for(const t of e.filter((({isIntersecting:t})=>t)).map((({target:t})=>t)))i.unobserve(t)},...t})}function vn(t){return $n(((t,e)=>ui(e)),t)}function bn(t){return $n(((t,e)=>{return{disconnect:Ft((i=t,D(i).map((t=>{const{ownerDocument:e}=t,i=Bi(t,!0);return i===e.scrollingElement?e:i}))),"scroll",e,{passive:!0})};var i}),t,"scroll")}function wn(t){return{observe:(t,e)=>({observe:R,unobserve:R,disconnect:Ft(t,Ge,e,{passive:!0})}),handler(t){if(!Jt(t))return;const e=Gt(t),i="tagName"in t.target?t.target:gt(t.target);Wt(document,`${Ke} ${ei} scroll`,(t=>{const{x:n,y:s}=Gt(t);("scroll"!==t.type&&i&&n&&Math.abs(e.x-n)>100||s&&Math.abs(e.y-s)>100)&&setTimeout((()=>{var t,o,r,a;qt(i,"swipe"),qt(i,"swipe"+(t=e.x,o=e.y,r=n,a=s,Math.abs(t-r)>=Math.abs(o-a)?t-r>0?"Left":"Right":o-a>0?"Up":"Down"))}))}))},...t}}function $n(t,e,i){return{observe:t,handler(){un(this,i)},...e}}var xn={props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},observe:[mn({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),fn({target:({$el:t})=>[t,...yt(t)]})],update:{read(){return{rows:yn(f(this.$el.children))}},write({rows:t}){for(const e of t)for(const i of e)at(i,this.margin,t[0]!==e),at(i,this.firstColumn,e[Xe?e.length-1:0]===i)},events:["resize"]}};function yn(t){const e=[[]],i=t.some(((e,i)=>i&&t[i-1].offsetParent!==e.offsetParent));for(const n of t){if(!dt(n))continue;const t=kn(n,i);for(let s=e.length-1;s>=0;s--){const o=e[s];if(!o[0]){o.push(n);break}const r=kn(o[0],i);if(t.top>=r.bottom-1&&t.top!==r.top){e.push([n]);break}if(t.bottom-1>r.top||t.top===r.top){let e=o.length-1;for(;e>=0;e--){const n=kn(o[e],i);if(t.left>=n.left)break}o.splice(e+1,0,n);break}if(0===s){e.unshift([n]);break}}}return e}function kn(t,e=!1){let{offsetTop:i,offsetLeft:n,offsetHeight:s,offsetWidth:o}=t;return e&&([i,n]=De(t)),{top:i,left:n,bottom:i+s,right:n+o}}const Sn="uk-transition-leave",In="uk-transition-enter";function Cn(t,e,i,n=0){const s=Tn(e,!0),o={opacity:1},r={opacity:0},a=t=>()=>s===Tn(e)?t():Promise.reject(),l=a((async()=>{it(e,Sn),await Promise.all(_n(e).map(((t,e)=>new Promise((s=>setTimeout((()=>ne.start(t,r,i/2,"ease").then(s)),e*n)))))),nt(e,Sn)})),h=a((async()=>{const a=Me(e);it(e,In),t(),Kt(yt(e),{opacity:0}),await new Promise((t=>requestAnimationFrame(t)));const l=yt(e),h=Me(e);Kt(e,"alignContent","flex-start"),Me(e,a);const c=_n(e);Kt(l,r);const d=c.map((async(t,e)=>{var s;await(s=e*n,new Promise((t=>setTimeout(t,s)))),await ne.start(t,o,i/2,"ease")}));a!==h&&d.push(ne.start(e,{height:h},i/2+c.length*n,"ease")),await Promise.all(d).then((()=>{nt(e,In),s===Tn(e)&&(Kt(e,{height:"",alignContent:""}),Kt(l,{opacity:""}),delete e.dataset.transition)}))}));return rt(e,Sn)?En(e).then(h):rt(e,In)?En(e).then(l).then(h):l().then(h)}function Tn(t,e){return e&&(t.dataset.transition=1+Tn(t)),B(t.dataset.transition)||0}function En(t){return Promise.all(yt(t).filter(ne.inProgress).map((t=>new Promise((e=>Wt(t,"transitionend transitioncanceled",e))))))}function _n(t){return yn(yt(t)).flat().filter((t=>dt(t)))}async function Bn(t,e,i){await Dn();let n=yt(e);const s=n.map((t=>An(t,!0))),o={...Kt(e,["height","padding"]),display:"block"};await Promise.all(n.concat(e).map(ne.cancel)),t(),n=n.concat(yt(e).filter((t=>!c(n,t)))),await Promise.resolve(),ii.flush();const r=K(e,"style"),a=Kt(e,["height","padding"]),[l,h]=function(t,e,i){const n=e.map(((t,e)=>!(!gt(t)||!(e in i))&&(i[e]?dt(t)?Pn(t):{opacity:0}:{opacity:dt(t)?1:0}))),s=n.map(((n,s)=>{const o=gt(e[s])===t&&(i[s]||An(e[s]));if(!o)return!1;if(n){if(!("opacity"in n)){const{opacity:t}=o;t%1?n.opacity=1:delete o.opacity}}else delete o.opacity;return o}));return[n,s]}(e,n,s),d=n.map((t=>({style:K(t,"style")})));n.forEach(((t,e)=>h[e]&&Kt(t,h[e]))),Kt(e,o),qt(e,"scroll"),ii.flush(),await Dn();const u=n.map(((t,n)=>gt(t)===e&&ne.start(t,l[n],i,"ease"))).concat(ne.start(e,a,i,"ease"));try{await Promise.all(u),n.forEach(((t,i)=>{K(t,d[i]),gt(t)===e&&Kt(t,"display",0===l[i].opacity?"none":"")})),K(e,"style",r)}catch(t){K(n,"style",""),function(t,e){for(const i in e)Kt(t,i,"")}(e,o)}}function An(t,e){const i=Kt(t,"zIndex");return!!dt(t)&&{display:"",opacity:e?Kt(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===i?kt(t):i,...Pn(t)}}function Pn(t){const{height:e,width:i}=Ae(t);return{height:e,width:i,transform:"",...Pe(t),...Kt(t,["marginTop","marginLeft"])}}function Dn(){return new Promise((t=>requestAnimationFrame(t)))}var Mn={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e=this.$el){const i=this.animation;return("fade"===i?Cn:"delayed-fade"===i?(...t)=>Cn(...t,40):i?Bn:()=>(t(),Promise.resolve()))(t,e,this.duration).catch(R)}}};const On=9,Nn=27,zn=32,Hn=35,Ln=36,Fn=37,jn=38,Wn=39,qn=40;var Rn={mixins:[Mn],args:"target",props:{target:String,selActive:Boolean},data:{target:"",selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{children:({target:t},e)=>Te(`${t} > *`,e),toggles:({attrItem:t},e)=>Te(`[${t}],[data-${t}]`,e)},watch:{toggles(t){this.updateState();const e=Te(this.selActive,this.$el);for(const n of t){!1!==this.selActive&&at(n,this.cls,c(e,n));const t=Ce("a,button",i=n)||i;ce(t,"a")&&K(t,"role","button")}var i},children(t,e){e&&this.updateState()}},events:{name:"click keydown",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){"keydown"===t.type&&t.keyCode!==zn||t.target.closest("a,button")&&(t.preventDefault(),this.apply(t.current))}},methods:{apply(t){const e=this.getState(),i=Un(t,this.attrItem,this.getState());var n,s;n=e,s=i,["filter","sort"].every((t=>O(n[t],s[t])))||this.setState(i)},getState(){return this.toggles.filter((t=>rt(t,this.cls))).reduce(((t,e)=>Un(e,this.attrItem,t)),{filter:{"":""},sort:[]})},async setState(t,e=!0){t={filter:{"":""},sort:[],...t},qt(this.$el,"beforeFilter",[this,t]);for(const e of this.toggles)at(e,this.cls,Xn(e,this.attrItem,t));await Promise.all(Te(this.target,this.$el).map((i=>{const n=()=>{!function(t,e,i){const n=function({filter:t}){let e="";return H(t,(t=>e+=t||"")),e}(t);i.forEach((t=>Kt(t,"display",n&&!bt(t,n)?"none":"")));const[s,o]=t.sort;if(s){const t=function(t,e,i){return[...t].sort(((t,n)=>et(t,e).localeCompare(et(n,e),void 0,{numeric:!0})*("asc"===i||-1)))}(i,s,o);O(t,i)||pe(e,t)}}(t,i,yt(i)),this.$update(this.$el)};return e?this.animate(n,i):n()}))),qt(this.$el,"afterFilter",[this])},updateState(){ii.write((()=>this.setState(this.getState(),!1)))}}};function Vn(t,e){return hn(et(t,e),["filter"])}function Un(t,e,i){const{filter:n,group:s,sort:o,order:r="asc"}=Vn(t,e);return(n||E(o))&&(s?n?(delete i.filter[""],i.filter[s]=n):(delete i.filter[s],(T(i.filter)||""in i.filter)&&(i.filter={"":n||""})):i.filter={"":n||""}),E(o)||(i.sort=[o,r]),i}function Xn(t,e,{filter:i={"":""},sort:[n,s]}){const{filter:o="",group:r="",sort:a,order:l="asc"}=Vn(t,e);return E(a)?r in i&&o===i[r]||!o&&r&&!(r in i)&&!i[""]:n===a&&s===l}var Yn={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return!0===t&&this.$container||t&&Ce(t)}}};let Jn;function Gn(t){const e=Ft(t,"touchmove",(t=>{if(1!==t.targetTouches.length||bt(t.target,'input[type="range"'))return;let{scrollHeight:e,clientHeight:i}=Bi(t.target);i>=e&&t.cancelable&&t.preventDefault()}),{passive:!1});if(Jn)return e;Jn=!0;const{scrollingElement:i}=document;return Kt(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:Oe(window)-i.clientWidth||""}),()=>{Jn=!1,e(),Kt(i,{overflowY:"",touchAction:"",paddingRight:""})}}var Zn={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation:({animation:t})=>!!t[0],hasTransition:({animation:t})=>["slide","reveal"].some((e=>l(t[0],e)))},methods:{async toggleElement(t,e,i){try{return await Promise.all(D(t).map((t=>{const n=k(e)?e:!this.isToggled(t);if(!qt(t,"before"+(n?"show":"hide"),[this]))return Promise.reject();const s=(m(i)?i:!1!==i&&this.hasAnimation?this.hasTransition?Qn:ts:Kn)(t,n,this),o=n?this.clsEnter:this.clsLeave;it(t,o),qt(t,n?"show":"hide",[this]);const r=()=>{nt(t,o),qt(t,n?"shown":"hidden",[this])};return s?s.then(r,(()=>(nt(t,o),Promise.reject()))):r()}))),!0}catch(t){return!1}},isToggled(t=this.$el){return!!rt(t=P(t),this.clsEnter)||!rt(t,this.clsLeave)&&(this.cls?rt(t,this.cls.split(" ")[0]):dt(t))},_toggle(t,e){if(!t)return;let i;e=Boolean(e),this.cls?(i=c(this.cls," ")||e!==rt(t,this.cls),i&&at(t,this.cls,c(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),Te("[autofocus]",t).some((t=>dt(t)?t.focus()||!0:t.blur())),i&&qt(t,"toggled",[e,this])}}};function Kn(t,e,{_toggle:i}){return he.cancel(t),ne.cancel(t),i(t,e)}async function Qn(t,e,{animation:i,duration:n,velocity:s,transition:o,_toggle:r}){var a;const[l="reveal",h="top"]=(null==(a=i[0])?void 0:a.split("-"))||[],d=[["left","right"],["top","bottom"]],u=d[c(d[0],h)?0:1],f=u[1]===h,p=["width","height"][d.indexOf(u)],m=`margin-${u[0]}`,g=`margin-${h}`;let v=Be(t)[p];const b=ne.inProgress(t);await ne.cancel(t),e&&r(t,!0);const w=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",m,g].map((e=>[e,t.style[e]]))),$=Be(t),x=A(Kt(t,m)),y=A(Kt(t,g)),k=$[p]+y;b||e||(v+=y);const[S]=$e(t,"<div>");Kt(S,{boxSizing:"border-box",height:$.height,width:$.width,...Kt(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",g])}),Kt(t,{padding:0,border:0,minWidth:0,minHeight:0,[g]:0,width:$.width,height:$.height,overflow:"hidden",[p]:v});const I=v/k;n=(s*k+n)*(e?1-I:I);const C={[p]:e?k:0};f&&(Kt(t,m,k-v+x),C[m]=e?x:k+x),!f^"reveal"===l&&(Kt(S,m,-k+v),ne.start(S,{[m]:e?0:-k},n,o));try{await ne.start(t,C,n,o)}finally{Kt(t,w),xe(S.firstChild),e||r(t,!1)}}function ts(t,e,i){const{animation:n,duration:s,_toggle:o}=i;return e?(o(t,!0),he.in(t,n[0],s,i.origin)):he.out(t,n[1]||n[0],s,i.origin).then((()=>o(t,!1)))}const es=[];var is={mixins:[tn,Yn,Zn],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel:({selPanel:t},e)=>Ce(t,e),transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){K(this.panel||this.$el,"role",this.role),this.overlay&&K(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){c(es,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:n}=e;!i&&n&&St(e)&&!this.$el.contains(Ce(n))?this.hide():bt(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===c(es,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(c(es,this))return!1;!this.stack&&es.length?(Promise.all(es.map((t=>t.hide()))).then(this.show),t.preventDefault()):es.push(this)}},{name:"show",self:!0,handler(){this.stack&&Kt(this.$el,"zIndex",A(Kt(this.$el,"zIndex"))+es.length);const t=[this.overlay&&ss(this),this.overlay&&Gn(this.$el),this.bgClose&&os(this),this.escClose&&rs(this)];Wt(this.$el,"hidden",(()=>t.forEach((t=>t&&t()))),{self:!0}),it(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){mt(this.$el)||K(this.$el,"tabindex","-1"),bt(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){c(es,this)&&es.splice(es.indexOf(this),1),Kt(this.$el,"zIndex",""),es.some((t=>t.clsPage===this.clsPage))||nt(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&gt(this.$el)!==this.container?(pe(this.container,this.$el),new Promise((t=>requestAnimationFrame((()=>this.show().then(t)))))):this.toggleElement(this.$el,!0,ns)},hide(){return this.toggleElement(this.$el,!1,ns)}}};function ns(t,e,{transitionElement:i,_toggle:n}){return new Promise(((s,o)=>Wt(t,"show hide",(()=>{var r;null==(r=t._reject)||r.call(t),t._reject=o,n(t,e);const a=Wt(i,"transitionstart",(()=>{Wt(i,"transitionend transitioncancel",s,{self:!0}),clearTimeout(l)}),{self:!0}),l=setTimeout((()=>{a(),s()}),(c=Kt(i,"transitionDuration"))?h(c,"ms")?A(c):1e3*A(c):0);var c})))).then((()=>delete t._reject))}function ss(t){return Ft(document,"focusin",(e=>{z(es)!==t||t.$el.contains(e.target)||t.$el.focus()}))}function os(t){return Ft(document,Ge,(({target:e})=>{z(es)!==t||t.overlay&&!t.$el.contains(e)||t.panel.contains(e)||Wt(document,`${Ke} ${ei} scroll`,(({defaultPrevented:i,type:n,target:s})=>{i||n!==Ke||e!==s||t.hide()}),!0)}))}function rs(t){return Ft(document,"keydown",(e=>{27===e.keyCode&&z(es)===t&&t.hide()}))}var as={slide:{show:t=>[{transform:hs(-100*t)},{transform:hs()}],percent:t=>ls(t),translate:(t,e)=>[{transform:hs(-100*e*t)},{transform:hs(100*e*(1-t))}]}};function ls(t){return Math.abs(Kt(t,"transform").split(",")[4]/t.offsetWidth)}function hs(t=0,e="%"){return`translate3d(${t+=t?e:""}, 0, 0)`}function cs(t){return`scale3d(${t}, ${t}, 1)`}function ds(t,e,i){qt(t,Rt(e,!1,!1,i))}var us={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,n,s;let o=0;return(null==(s=(null==(i=this.i18n)?void 0:i[t])||(null==(n=this.$options.i18n)?void 0:n[t]))?void 0:s.replace(/%s/g,(()=>e[o++]||"")))||""}}},fs={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){K(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){K(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval((()=>{this.stack.length||this.draggable&&bt(this.$el,":focus-within")||this.pauseOnHover&&bt(this.$el,":hover")||this.show("next")}),this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const ps={passive:!1,capture:!0},ms={passive:!0,capture:!0},gs="touchmove mousemove",vs="touchend touchcancel mouseup click input scroll";var bs={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=t=>{const i=Gt(t).x*(Xe?-1:1);this.prevPos=i===this.pos?this.prevPos:this.pos,this.pos=i,e(t)}}},events:[{name:"touchstart mousedown",passive:!0,delegate(){return`${this.selList} > *`},handler(t){var e;!this.draggable||!Jt(t)&&(e=t.target,"none"!==Kt(e,"userSelect")&&f(e.childNodes).some((t=>3===t.nodeType&&t.textContent.trim())))||t.target.closest(ut)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:gs,el(){return this.list},handler:R,...ps}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,Ft(document,gs,this.move,ps),Ft(document,vs,this.end,ms),Kt(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(0===e||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;Kt(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:i,prevIndex:n}=this,s=Math.abs(e),o=this.getIndex(n+this.dir),r=this._getDistance(n,o);for(;o!==n&&s>r;)this.drag-=r*this.dir,n=o,s-=r,o=this.getIndex(n+this.dir),r=this._getDistance(n,o);this.percent=s/r;const a=i[n],l=i[o],h=this.index!==o,d=n===o;let u;for(const t of[this.index,this.prevIndex])c([o,n],t)||(qt(i[t],"itemhidden",[this]),d&&(u=!0,this.prevIndex=n));(this.index===n&&this.prevIndex!==n||u)&&qt(i[this.index],"itemshown",[this]),h&&(this.prevIndex=n,this.index=o,!d&&qt(a,"beforeitemhide",[this]),qt(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!d&&l),h&&(!d&&qt(a,"itemhide",[this]),qt(l,"itemshow",[this]))},end(){if(jt(document,gs,this.move,ps),jt(document,vs,this.end,ms),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(Xe?this.dir*(Xe?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}Kt(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}}};function ws(t,e,i){t._watches.push({name:i,...v(e)?e:{handler:e}})}function $s(t,e,n){t._hasComputed=!0,Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:o,$el:r}=t;return i(s,e)||(s[e]=(n.get||n).call(t,o,r)),s[e]},set(i){const{_computed:s}=t;s[e]=n.set?n.set.call(t,i):i,E(s[e])&&delete s[e]}})}function xs(t){t._hasComputed&&(!function(t,e){t._updates.unshift(e)}(t,{read:()=>function(t,e){for(const{name:n,handler:s,immediate:o=!0}of t._watches)(t._initial&&o||i(e,n)&&!O(e[n],t[n]))&&s.call(t,t[n],e[n]);t._initial=!1}(t,ys(t)),events:["resize","computed"]}),function(){if(ks)return;Ss=new Set,ks=new MutationObserver((()=>{for(const t of Ss)un(t,"computed")})),ks.observe(document,{subtree:!0,childList:!0})}(),Ss.add(t))}function ys(t){const e={...t._computed};return t._computed={},e}let ks,Ss;function Is(t,e,i){let{name:n,el:s,handler:o,capture:r,passive:a,delegate:l,filter:h,self:c}=v(e)?e:{name:i,handler:e};s=m(s)?s.call(t,t):s||t.$el,!s||u(s)&&!s.length||h&&!h.call(t)||t._events.push(Ft(s,n,l?S(l)?l:l.call(t,t):null,S(o)?t[o]:o.bind(t),{passive:a,capture:r,self:c}))}function Cs(t,...e){t._observers.push(...e)}function Ts(t,e){let{observe:n,target:s=t.$el,handler:o,options:r,filter:a,args:l}=e;if(a&&!a.call(t,t))return;const h=`_observe${t._observers.length}`;m(s)&&!i(t,h)&&$s(t,h,(()=>s.call(t,t))),o=S(o)?t[o]:o.bind(t),m(r)&&(r=r.call(t,t));const c=n(i(t,h)?t[h]:s,o,r,l);m(s)&&u(t[h])&&c.unobserve&&ws(t,{handler:Es(c),immediate:!1},h),Cs(t,c)}function Es(t){return(e,i)=>{for(const n of i)!c(e,n)&&t.unobserve(n);for(const n of e)!c(i,n)&&t.observe(n)}}function _s(t){const e={},{args:i=[],props:n={},el:o,id:a}=t;if(!n)return e;for(const t in n){const i=s(t);let r=et(o,i);E(r)||(r=n[t]===Boolean&&""===r||cn(n[t],r),"target"===i&&l(r,"_")||(e[t]=r))}const h=hn(et(o,a),i);for(const t in h){const i=r(t);E(n[i])||(e[i]=cn(n[i],h[t]))}return e}const Bs=Z(((t,e)=>{const i=Object.keys(e),n=i.concat(t).map((t=>[s(t),`data-${s(t)}`])).flat();return{attributes:i,filter:n}}));function As(t,e){var i;null==(i=t.$options[e])||i.forEach((e=>e.call(t)))}function Ps(t){t._connected||(!function(t){const{$options:e,$props:n}=t,s=_s(e);p(n,s);const{computed:o,methods:r}=e;for(let e in n)!(e in s)||o&&i(o,e)||r&&i(r,e)||(t[e]=n[e])}(t),As(t,"beforeConnect"),t._connected=!0,function(t){t._events=[];for(const e of t.$options.events||[])if(i(e,"handler"))Is(t,e);else for(const i in e)Is(t,e[i],i)}(t),function(t){t._data={},t._updates=[...t.$options.update||[]]}(t),function(t){t._watches=[];for(const e of t.$options.watch||[])for(const[i,n]of Object.entries(e))ws(t,n,i);t._initial=!0}(t),function(t){t._observers=[];for(const e of t.$options.observe||[])if(i(e,"handler"))Ts(t,e);else for(const i of e)Ts(t,i)}(t),function(t){const{$options:e,$props:i}=t,{id:n,props:s,el:o}=e;if(!s)return;const{attributes:a,filter:l}=Bs(n,s),h=new MutationObserver((s=>{const o=_s(e);s.some((({attributeName:t})=>{const e=t.replace("data-","");return(e===n?a:[r(e),r(t)]).some((t=>!E(o[t])&&o[t]!==i[t]))}))&&t.$reset()}));h.observe(o,{attributes:!0,attributeFilter:l}),Cs(t,h)}(t),xs(t),As(t,"connected"),un(t))}function Ds(t){t._connected&&(As(t,"beforeDisconnect"),function(t){t._events.forEach((t=>t())),delete t._events}(t),function(t){delete t._data}(t),function(t){for(const e of t._observers)e.disconnect()}(t),function(t){null==Ss||Ss.delete(t),ys(t)}(t),As(t,"disconnected"),t._connected=!1)}let Ms=0;function Os(t,e={}){e.data=function({data:t={}},{args:e=[],props:i={}}){u(t)&&(t=t.slice(0,e.length).reduce(((t,i,n)=>(v(i)?p(t,i):t[e[n]]=i,t)),{}));for(const e in t)E(t[e])?delete t[e]:i[e]&&(t[e]=cn(i[e],t[e]));return t}(e,t.constructor.options),t.$options=ln(t.constructor.options,e,t),t.$props={},t._uid=Ms++,function(t){const{data:e={}}=t.$options;for(const i in e)t.$props[i]=t[i]=e[i]}(t),function(t){const{methods:e}=t.$options;if(e)for(const i in e)t[i]=e[i].bind(t)}(t),function(t){const{computed:e}=t.$options;if(t._computed={},e)for(const i in e)$s(t,i,e[i])}(t),As(t,"created"),e.el&&t.$mount(e.el)}const Ns=function(t){Os(this,t)};Ns.util=Qi,Ns.options={},Ns.version="3.17.11";const zs="uk-",Hs="__uikit__",Ls={};function Fs(t,e){var i;const n=zs+s(t);if(!e)return v(Ls[n])&&(Ls[n]=Ns.extend(Ls[n])),Ls[n];t=r(t),Ns[t]=(e,i)=>js(t,e,i);const o=v(e)?{...e}:e.options;return o.id=n,o.name=t,null==(i=o.install)||i.call(o,Ns,o,t),Ns._initialized&&!o.functional&&requestAnimationFrame((()=>js(t,`[${n}],[data-${n}]`))),Ls[n]=o}function js(t,e,i,...n){const s=Fs(t);return s.options.functional?new s({data:v(e)?e:[e,i,...n]}):e?Te(e).map(o)[0]:o();function o(e){const n=qs(e,t);if(n){if(!i)return n;n.$destroy()}return new s({el:e,data:i})}}function Ws(t){return(null==t?void 0:t[Hs])||{}}function qs(t,e){return Ws(t)[e]}function Rs(t,e){t=t?P(t):document.body;for(const i of xt(t).reverse())Vs(i,e);Ie(t,(t=>Vs(t,e)))}function Vs(t,e){const i=Ws(t);for(const t in i)un(i[t],e)}let Us=1;function Xs(t,e=null){return(null==e?void 0:e.id)||`${t.$options.id}-${Us++}`}var Ys={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>Ce(t,e),navChildren(){return yt(this.nav)},selNavItem:({attrItem:t})=>`[${t}],[data-${t}]`,navItems(t,e){return Te(this.selNavItem,e)}},watch:{nav(t,e){K(t,"role","tablist"),e&&this.$emit()},list(t){K(t,"role","presentation")},navChildren(t){K(t,"role","presentation")},navItems(t){for(const e of t){const t=et(e,this.attrItem),i=Ce("a,button",e)||e;let n,s=null;if(C(t)){const e=B(t),o=this.slides[e];o&&(o.id||(o.id=Xs(this,o)),s=o.id),n=this.t("slideX",A(t)+1),K(i,"role","tab")}else this.list&&(this.list.id||(this.list.id=Xs(this,this.list)),s=this.list.id),n=this.t(t);K(i,{"aria-controls":s,"aria-label":K(i,"aria-label")||n})}},slides(t){t.forEach(((t,e)=>K(t,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",e+1,this.length),"aria-roledescription":this.nav?null:"slide"})))},length(t){const e=this.navChildren.length;if(this.nav&&t!==e){de(this.nav);for(let e=0;e<t;e++)pe(this.nav,`<li ${this.attrItem}="${e}"><a href></a></li>`)}}},connected(){K(this.$el,{role:this.role,"aria-roledescription":"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach((t=>t&&(t.hidden=!this.maxIndex))),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){!t.target.closest("a,button")||"click"!==t.type&&t.keyCode!==zn||(t.preventDefault(),this.show(et(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t;if(!C(et(e,this.attrItem)))return;let n=i===Ln?0:i===Hn?"last":i===Fn?"previous":i===Wn?"next":-1;~n&&(t.preventDefault(),this.show(n))}}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const i=et(e,this.attrItem),n=Ce("a,button",e)||e;if(C(i)){const s=B(i)===t;at(e,this.clsActive,s),K(n,{"aria-selected":s,tabindex:s?null:-1}),s&&n&&bt(gt(e),":focus-within")&&n.focus()}else at(e,"uk-invisible",this.finite&&("previous"===i&&0===t||"next"===i&&t>=this.maxIndex))}}}},Js={mixins:[fs,bs,Ys,us],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){nt(this.slides,this.clsActive)},computed:{duration:({velocity:t},e)=>Gs(e.offsetWidth/t),list:({selList:t},e)=>Ce(t,e),maxIndex(){return this.length-1},slides(){return yt(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},observe:fn(),methods:{show(t,e=!1){var i;if(this.dragging||!this.length)return;const{stack:n}=this,s=e?0:n.length,o=()=>{n.splice(s,1),n.length&&this.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1)return void(2===n.length&&(null==(i=this._transitioner)||i.forward(Math.min(this.duration,200))));const r=this.getIndex(this.index),a=rt(this.slides,this.clsActive)&&this.slides[r],l=this.getIndex(t,this.index),h=this.slides[l];if(a===h)return void o();if(this.dir=function(t,e){return"next"===t?1:"previous"===t||t<e?-1:1}(t,r),this.prevIndex=r,this.index=l,a&&!qt(a,"beforeitemhide",[this])||!qt(h,"beforeitemshow",[this,a]))return this.index=this.prevIndex,void o();const c=this._show(a,h,e).then((()=>{a&&qt(a,"itemhidden",[this]),qt(h,"itemshown",[this]),n.shift(),this._transitioner=null,requestAnimationFrame((()=>n.length&&this.show(n.shift(),!0)))}));return a&&qt(a,"itemhide",[this]),qt(h,"itemshow",[this]),c},getIndex(t=this.index,e=this.index){return q(G(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:n}=this.stack;return this._transitioner[n>1?"forward":"show"](n>1?Math.min(this.duration,75+75/(n-1)):this.duration,this.percent)},_translate(t,e=this.prevIndex,i=this.index){const n=this._getTransitioner(e!==i&&e,i);return n.translate(t),n},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,n=this.transitionOptions){return new this.Transitioner(I(t)?this.slides[t]:t,I(e)?this.slides[e]:e,i*(Xe?-1:1),n)}}};function Gs(t){return.5*t+300}var Zs={mixins:[Js],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:as,Transitioner:function(t,e,i,{animation:n,easing:s}){const{percent:o,translate:r,show:a=R}=n,l=a(i);let h;return{dir:i,show(n,o=0,r){const a=r?"linear":s;return n-=Math.round(n*q(o,-1,1)),this.translate(o),ds(e,"itemin",{percent:o,duration:n,timing:a,dir:i}),ds(t,"itemout",{percent:1-o,duration:n,timing:a,dir:i}),new Promise((i=>{h||(h=i),Promise.all([ne.start(e,l[1],n,a),ne.start(t,l[0],n,a)]).then((()=>{this.reset(),h()}),R)}))},cancel:()=>ne.cancel([e,t]),reset(){for(const i in l[0])Kt([e,t],i,"")},async forward(t,e=this.percent()){return await this.cancel(),this.show(t,e,!0)},translate(n){this.reset();const s=r(n,i);Kt(e,s[1]),Kt(t,s[0]),ds(e,"itemtranslatein",{percent:n,dir:i}),ds(t,"itemtranslateout",{percent:1-n,dir:i})},percent:()=>o(t||e,e,i),getDistance:()=>null==t?void 0:t.offsetWidth}}},computed:{animation:({animation:t,Animations:e})=>({...e[t]||e.slide,name:t}),transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){it(t,this.clsActive)},itemshown({target:t}){it(t,this.clsActivated)},itemhidden({target:t}){nt(t,this.clsActive,this.clsActivated)}}},Ks={...as,fade:{show:()=>[{opacity:0},{opacity:1}],percent:t=>1-Kt(t,"opacity"),translate:t=>[{opacity:1-t},{opacity:t}]},scale:{show:()=>[{opacity:0,transform:cs(.8)},{opacity:1,transform:cs(1)}],percent:t=>1-Kt(t,"opacity"),translate:t=>[{opacity:1-t,transform:cs(1-.2*t)},{opacity:t,transform:cs(.8+.2*t)}]}},Qs={mixins:[is,Zs],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:Ks,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){const t=Ce(this.template),e=Ce(this.selList,t);this.items.forEach((()=>pe(e,"<li>")));const i=Ce("[uk-close]",t),n=this.t("close");i&&n&&(i.dataset.i18n=JSON.stringify({label:n})),this.$mount(pe(this.container,t))},computed:{caption:({selCaption:t},e)=>Ce(t,e)},events:[{name:`${Ze} ${Ge} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),nt(this.slides,this.clsActive),ne.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el:()=>document,handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===Fn?e="previous":t===Wn?e="next":t===Ln?e=0:t===Hn&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=Ks.scale,nt(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){ue(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:n,alt:s="",poster:o,attrs:r={}}=e;if(this.setItem(e,"<span uk-spinner></span>"),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":`${this.videoAutoplay}`};if("image"===n||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const t=to("img",{src:i,alt:s,...r});Ft(t,"load",(()=>this.setItem(e,t))),Ft(t,"error",(()=>this.setError(e)))}else if("video"===n||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const t=to("video",{src:i,poster:o,controls:"",playsinline:"","uk-video":`${this.videoAutoplay}`,...r});Ft(t,"loadedmetadata",(()=>this.setItem(e,t))),Ft(t,"error",(()=>this.setError(e)))}else if("iframe"===n||i.match(/\.(html|php)($|\?)/i))this.setItem(e,to("iframe",{src:i,allowfullscreen:"",class:"uk-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,to("iframe",{src:`https://www.youtube${a[1]||""}.com/embed/${a[2]}${a[3]?`?${a[3]}`:""}`,width:1920,height:1080,...l,...r}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:t,width:n}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,to("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:n,height:t,...l,...r}))}catch(t){this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||qt(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[G(t,this.slides)]},setItem(t,e){qt(this.$el,"itemloaded",[this,ue(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),it(this.$el,"uk-active","uk-transition-active")},hideControls(){nt(this.$el,"uk-active","uk-transition-active")}}};function to(t,e){const i=ke(`<${t}>`);return K(i,e),i}var eo={install:function(t,e){t.lightboxPanel||t.component("lightboxPanel",Qs);p(e.props,t.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:({toggle:t},e)=>Te(t,e)},watch:{toggles(t){this.hide();for(const e of t)ce(e,"a")&&K(e,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate(){return`${this.toggle}:not(.uk-disabled)`},handler(t){t.preventDefault(),this.show(t.current)}},methods:{show(t){const e=j(this.toggles.map(io),"source");if(x(t)){const{source:i}=io(t);t=d(e,(({source:t})=>i===t))}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),Ft(this.panel.$el,"hidden",(()=>this.panel=null)),this.panel.show(t)},hide(){var t;return null==(t=this.panel)?void 0:t.hide()}}};function io(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e["href"===i?"source":i]=et(t,i);return e.attrs=hn(e.attrs),e}var no={mixins:[Yn],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:"",pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:function(t){t.notification.closeAll=function(e,i){Ie(document.body,(n=>{const s=t.getComponent(n,"notification");!s||e&&e!==s.group||s.close(i)}))}},computed:{marginProp:({pos:t})=>`margin-${t.match(/[a-z]+(?=-)/)[0]}`,startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=`${this.clsContainer}-${this.pos}`;let e=Ce(`.${t}`,this.container);e&&dt(e)||(e=pe(this.container,`<div class="${this.clsContainer} ${t}"></div>`)),this.$mount(pe(e,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-uk-close></a> <div>${this.message}</div> </div>`))},async connected(){const t=A(Kt(this.$el,this.marginProp));await ne.start(Kt(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[Qe](){this.timer&&clearTimeout(this.timer)},[ti](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){this.timer&&clearTimeout(this.timer),t||await ne.start(this.$el,this.startProps),(t=>{const e=gt(t);qt(t,"close",[this]),be(t),(null==e?void 0:e.hasChildNodes())||be(e)})(this.$el)}}};var so={props:{media:Boolean},data:{media:!1},connected(){const t=function(t,e){if(S(t))if(l(t,"@"))t=A(Kt(e,`--uk-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t;return t&&C(t)?`(min-width: ${t}px)`:""}(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,qt(this.$el,Rt("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=Ft(this.mediaObj,"change",(()=>{e(),this.$emit("resize")})),e()}},disconnected(){var t;null==(t=this.offMediaObj)||t.call(this)}};function oo(t){return Math.ceil(Math.max(0,...Te("[stroke]",t).map((t=>{try{return t.getTotalLength()}catch(t){return 0}}))))}const ro={x:ho,y:ho,rotate:ho,scale:ho,color:co,backgroundColor:co,borderColor:co,blur:uo,hue:uo,fopacity:uo,grayscale:uo,invert:uo,saturate:uo,sepia:uo,opacity:function(t,e,i){1===i.length&&i.unshift(ko(e,t,""));return i=bo(i),(e,n)=>{e[t]=$o(i,n)}},stroke:function(t,e,i){1===i.length&&i.unshift(0);const n=yo(i),s=oo(e);if(i=bo(i.reverse(),(t=>(t=A(t),"%"===n?t*s/100:t))),!i.some((([t])=>t)))return R;return Kt(e,"strokeDasharray",s),(t,e)=>{t.strokeDashoffset=$o(i,e)}},bgx:fo,bgy:fo},{keys:ao}=Object;var lo={mixins:[so],props:So(ao(ro),"list"),data:So(ao(ro),void 0),computed:{props(t,e){const i={};for(const e in t)e in ro&&!E(t[e])&&(i[e]=t[e].slice());const n={};for(const t in i)n[t]=ro[t](t,e,i[t],i);return n}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))Kt(this.$el,t,"")},getCss(t){const e={};for(const i in this.props)this.props[i](e,q(t));return e.willChange=Object.keys(e).map(Qt).join(","),e}}};function ho(t,e,i){let n,s=yo(i)||{x:"px",y:"px",rotate:"deg"}[t]||"";return"x"===t||"y"===t?(t=`translate${a(t)}`,n=t=>A(A(t).toFixed("px"===s?0:6))):"scale"===t&&(s="",n=t=>{var i;return yo([t])?Le(t,"width",e,!0)/e["offset"+((null==(i=t.endsWith)?void 0:i.call(t,"vh"))?"Height":"Width")]:A(t)}),1===i.length&&i.unshift("scale"===t?1:0),i=bo(i,n),(e,n)=>{e.transform=`${e.transform||""} ${t}(${$o(i,n)}${s})`}}function co(t,e,i){return 1===i.length&&i.unshift(ko(e,t,"")),i=bo(i,(t=>function(t,e){return ko(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(A)}(e,t))),(e,n)=>{const[s,o,r]=wo(i,n),a=s.map(((t,e)=>(t+=r*(o[e]-t),3===e?A(t):parseInt(t,10)))).join(",");e[t]=`rgba(${a})`}}function uo(t,e,i){1===i.length&&i.unshift(0);const n=yo(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=bo(i),(e,s)=>{const o=$o(i,s);e.filter=`${e.filter||""} ${t}(${o+n})`}}function fo(t,e,i,n){1===i.length&&i.unshift(0);const s="bgy"===t?"height":"width";n[t]=bo(i,(t=>Le(t,s,e)));const o=["bgx","bgy"].filter((t=>t in n));if(2===o.length&&"bgx"===t)return R;if("cover"===ko(e,"backgroundSize",""))return function(t,e,i,n){const s=function(t){const e=Kt(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(go[e])return go[e];const i=new Image;if(e&&(i.src=e,!i.naturalWidth))return i.onload=()=>{go[e]=vo(i),qt(t,Rt("load",!1))},vo(i);return go[e]=vo(i)}(e);if(!s.width)return R;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter((t=>t in n)),a={};for(const t of r){const e=n[t].map((([t])=>t)),i=Math.min(...e),s=Math.max(...e),r=e.indexOf(i)<e.indexOf(s),l=s-i;a[t]=(r?-l:0)-(r?i:s)+"px",o["bgy"===t?"height":"width"]+=l}const l=J.cover(s,o);for(const t of r){const i="bgy"===t?"height":"width",n=l[i]-o[i];a[t]=`max(${po(e,t)},-${n}px) + ${a[t]}`}const h=mo(r,a,n);return(t,e)=>{h(t,e),t.backgroundSize=`${l.width}px ${l.height}px`,t.backgroundRepeat="no-repeat"}}(0,e,0,n);const r={};for(const t of o)r[t]=po(e,t);return mo(o,r,n)}function po(t,e){return ko(t,`background-position-${e.substr(-1)}`,"")}function mo(t,e,i){return function(n,s){for(const o of t){const t=$o(i[o],s);n[`background-position-${o.substr(-1)}`]=`calc(${e[o]} + ${t}px)`}}}const go={};function vo(t){return{width:t.naturalWidth,height:t.naturalHeight}}function bo(t,e=A){const i=[],{length:n}=t;let s=0;for(let o=0;o<n;o++){let[r,a]=S(t[o])?t[o].trim().split(/ (?![^(]*\))/):[t[o]];if(r=e(r),a=a?A(a)/100:null,0===o?null===a?a=0:a&&i.push([r,0]):o===n-1&&(null===a?a=1:1!==a&&(i.push([r,a]),a=1)),i.push([r,a]),null===a)s++;else if(s){const t=i[o-s-1][1],e=(a-t)/(s+1);for(let n=s;n>0;n--)i[o-n][1]=t+e*(s-n+1);s=0}}return i}function wo(t,e){const i=d(t.slice(1),(([,t])=>e<=t))+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function $o(t,e){const[i,n,s]=wo(t,e);return i+Math.abs(i-n)*s*(i<n?1:-1)}const xo=/^-?\d+(?:\.\d+)?(\S+)?/;function yo(t,e){var i;for(const e of t){const t=null==(i=e.match)?void 0:i.call(e,xo);if(t)return t[1]}return e}function ko(t,e,i){const n=t.style[e],s=Kt(Kt(t,e,i),e);return t.style[e]=n,s}function So(t,e){return t.reduce(((t,i)=>(t[i]=e,t)),{})}var Io={mixins:[lo],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target:({target:t},e)=>Co(t&&Ct(t,e)||e),start({start:t}){return Le(t,"height",this.target,!0)},end({end:t,viewport:e}){return Le(t||(e=100*(1-e))&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[vn(),bn({target:({target:t})=>t}),fn({target:({$el:t,target:e})=>[t,e,Bi(e,!0)]})],update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!dt(this.$el))return!1;if(!this.matchMedia)return;const i=t;return{percent:t=function(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}(Ei(this.target,this.start,this.end),this.easing),style:i!==t&&this.getCss(t)}},write({style:t}){this.matchMedia?t&&Kt(this.$el,t):this.reset()},events:["scroll","resize"]}};function Co(t){return t?"offsetTop"in t?t:Co(gt(t)):document.documentElement}var To={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex();~this.prevIndex&&this.index===t?this._translate(1,this.prevIndex,this.index):this.show(t)},events:["resize"]}},Eo={observe:gn({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})};function _o(t,e,i){const n=Po(t,e);return i?n-function(t,e){return Be(e).width/2-Be(t).width/2}(t,e):Math.min(n,Bo(e))}function Bo(t){return Math.max(0,Ao(t)-Be(t).width)}function Ao(t){return F(yt(t),(t=>Be(t).width))}function Po(t,e){return t&&(Pe(t).left+(Xe?Be(t).width-Be(e).width:0))*(Xe?-1:1)||0}function Do(t,e){e-=1;const i=Be(t).width,n=e+i+2;return yt(t).filter((s=>{const o=Po(s,t),r=o+Math.min(Be(s).width,i);return o>=e&&r<=n}))}function Mo(t,e,i){qt(t,Rt(e,!1,!1,i))}var Oo={mixins:[tn,Js,To,Eo],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:function(t,e,i,{center:n,easing:s,list:o}){const r=t?_o(t,o,n):_o(e,o,n)+Be(e).width*i,a=e?_o(e,o,n):r+Be(t).width*i*(Xe?-1:1);let l;return{dir:i,show(e,n=0,r){const h=r?"linear":s;return e-=Math.round(e*q(n,-1,1)),this.translate(n),n=t?n:q(n,0,1),Mo(this.getItemIn(),"itemin",{percent:n,duration:e,timing:h,dir:i}),t&&Mo(this.getItemIn(!0),"itemout",{percent:1-n,duration:e,timing:h,dir:i}),new Promise((t=>{l||(l=t),ne.start(o,{transform:hs(-a*(Xe?-1:1),"px")},e,h).then(l,R)}))},cancel:()=>ne.cancel(o),reset(){Kt(o,"transform","")},async forward(t,e=this.percent()){return await this.cancel(),this.show(t,e,!0)},translate(n){const s=this.getDistance()*i*(Xe?-1:1);Kt(o,"transform",hs(q(s-s*n-a,-Ao(o),Be(o).width)*(Xe?-1:1),"px"));const r=this.getActives(),l=this.getItemIn(),h=this.getItemIn(!0);n=t?q(n,-1,1):0;for(const s of yt(o)){const a=c(r,s),d=s===l,u=s===h;Mo(s,"itemtranslate"+(d||!u&&(a||i*(Xe?-1:1)==-1^Po(s,o)>Po(t||e))?"in":"out"),{dir:i,percent:u?1-n:d?n:a?1:0})}},percent:()=>Math.abs((Kt(o,"transform").split(",")[4]*(Xe?-1:1)+r)/(a-r)),getDistance:()=>Math.abs(a-r),getItemIn(i=!1){let s=this.getActives(),r=Do(o,_o(e||t,o,n));if(i){const t=s;s=r,r=t}return r[d(r,(t=>!c(s,t)))]},getActives:()=>Do(o,_o(t||e,o,n))}}},computed:{avgWidth(){return Ao(this.list)/this.length},finite({finite:t}){return t||function(t,e){if(!t||t.length<2)return!0;const{width:i}=Be(t);if(!e)return Math.ceil(Ao(t))<Math.trunc(i+function(t){return Math.max(0,...yt(t).map((t=>Be(t).width)))}(t));const n=yt(t),s=Math.trunc(i/2);for(const t in n){const e=n[t],i=Be(e).width,o=new Set([e]);let r=0;for(const e of[-1,1]){let a=i/2,l=0;for(;a<s;){const i=n[G(+t+e+l++*e,n)];if(o.has(i))return!0;a+=Be(i).width,o.add(i)}r=Math.max(r,i/2+Be(n[G(+t+e,n)]).width/2-(a-s))}if(r>F(n.filter((t=>!o.has(t))),(t=>Be(t).width)))return!0}return!1}(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return z(this.sets);let t=0;const e=Bo(this.list),i=d(this.slides,(i=>{if(t>=e)return!0;t+=Be(i).width}));return~i?i:this.length-1},sets({sets:t}){if(!t)return;let e=0;const i=[],n=Be(this.list).width;for(let t=0;t<this.length;t++){const s=Be(this.slides[t]).width;e+s>n&&(e=0),this.center?e<n/2&&e+s+Be(G(+t+1,this.slides)).width/2>n/2&&(i.push(+t),e=n/2-s/2):0===e&&i.push(Math.min(+t,this.maxIndex)),e+=s}return i.length?i:void 0},transitionOptions(){return{center:this.center,list:this.list}},slides(){return yt(this.list).filter(dt)}},connected(){at(this.$el,this.clsContainer,!Ce(`.${this.clsContainer}`,this.$el))},observe:fn({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const e=B(et(t,this.attrItem));!1!==e&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!c(this.sets,e))}!this.length||this.dragging||this.stack.length||(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!c(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let t=0;t<e;t++)this.stack.splice(1,0,this.dir>0?"next":"previous");return void t.preventDefault()}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=Gs(this.avgWidth/this.velocity)*(Be(this.slides[i]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&it(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite)return void Kt(this.slides,"order","");const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach(((e,i)=>Kt(e,"order",this.dir>0&&i<t?1:this.dir<0&&i>=this.index?-1:""))),!this.center)return;const e=this.slides[t];let i=Be(this.list).width/2-Be(e).width/2,n=0;for(;i>0;){const e=this.getIndex(--n+t,t),s=this.slides[e];Kt(s,"order",e>t?-2:-1),i-=Be(s).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||c(this.sets,A(this.index)))&&this.clsActivated||""];for(const n of this.slides){const s=c(t,n);at(n,e,s),K(n,"aria-hidden",!s);for(const t of Te(pt,n))i(t,"_tabindex")||(t._tabindex=K(t,"tabindex")),K(t,"tabindex",s?t._tabindex:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(c(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=Be(this.list),e=-t,i=2*t,n=Be(this.slides[this.index]).width,s=this.center?t/2-n/2:0,o=new Set;for(const t of[-1,1]){let r=s+(t>0?n:0),a=0;do{const e=this.slides[this.getIndex(this.index+t+a++*t)];r+=Be(e).width*t,o.add(e)}while(this.length>a&&r>e&&r<i)}return Array.from(o)}}};var No={mixins:[lo],data:{selItem:"!li"},beforeConnect(){this.item=Ct(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,duration:i,timing:n,dir:s}}){ii.read((()=>{if(!this.matchMedia)return;const o=this.getCss(Ho(t,s,e)),r=this.getCss(zo(t)?.5:s>0?1:0);ii.write((()=>{Kt(this.$el,o),ne.start(this.$el,r,i,n).catch(R)}))}))}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){ne.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,dir:i}}){ii.read((()=>{if(!this.matchMedia)return void this.reset();const n=this.getCss(Ho(t,i,e));ii.write((()=>Kt(this.$el,n)))}))}}]};function zo(t){return h(t,"in")}function Ho(t,e,i){return i/=2,zo(t)^e<0?i:1-i}var Lo={...as,fade:{show:()=>[{opacity:0,zIndex:0},{zIndex:-1}],percent:t=>1-Kt(t,"opacity"),translate:t=>[{opacity:1-t,zIndex:0},{zIndex:-1}]},scale:{show:()=>[{opacity:0,transform:cs(1.5),zIndex:0},{zIndex:-1}],percent:t=>1-Kt(t,"opacity"),translate:t=>[{opacity:1-t,transform:cs(1+.5*t),zIndex:0},{zIndex:-1}]},pull:{show:t=>t<0?[{transform:hs(30),zIndex:-1},{transform:hs(),zIndex:0}]:[{transform:hs(-100),zIndex:0},{transform:hs(),zIndex:-1}],percent:(t,e,i)=>i<0?1-ls(e):ls(t),translate:(t,e)=>e<0?[{transform:hs(30*t),zIndex:-1},{transform:hs(-100*(1-t)),zIndex:0}]:[{transform:hs(100*-t),zIndex:0},{transform:hs(30*(1-t)),zIndex:-1}]},push:{show:t=>t<0?[{transform:hs(100),zIndex:0},{transform:hs(),zIndex:-1}]:[{transform:hs(-30),zIndex:-1},{transform:hs(),zIndex:0}],percent:(t,e,i)=>i>0?1-ls(e):ls(t),translate:(t,e)=>e<0?[{transform:hs(100*t),zIndex:0},{transform:hs(-30*(1-t)),zIndex:-1}]:[{transform:hs(-30*t),zIndex:-1},{transform:hs(100*(1-t)),zIndex:0}]}};const Fo=Ue&&CSS.supports("aspect-ratio","1/1");var jo={mixins:[tn,Zs,To,Eo],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:Lo},watch:{list(t){t&&Fo&&Kt(t,{aspectRatio:this.ratio.replace(":","/"),minHeight:this.minHeight||"",maxHeight:this.maxHeight||"",minWidth:"100%",maxWidth:"100%"})}},update:{read(){if(!this.list||Fo)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-ze(this.list,"height","content-box")}},write({height:t}){t>0&&Kt(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map((t=>this.slides[this.getIndex(this.index+t)]))}}},Wo={mixins:[tn,Mn],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=t=>{p(this.pos,Gt(t)),e(t)}}},events:{name:Ge,passive:!1,handler:"init"},computed:{target:(t,e)=>(e.tBodies||[e])[0],items(){return yt(this.target)},isEmpty(){return T(this.items)},handles({handle:t},e){return t?Te(t,e):this.items}},watch:{isEmpty(t){at(this.target,this.clsEmpty,t)},handles(t,e){Kt(e,{touchAction:"",userSelect:""}),Kt(t,{touchAction:Ye?"none":"",userSelect:"none"})}},update:{write(t){if(!this.drag||!gt(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:n,offsetLeft:s},placeholder:o}=this;Kt(this.drag,{top:i-n,left:e-s});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(ne.inProgress))return;const l=function(t,e){return t[d(t,(t=>U(e,t.getBoundingClientRect())))]}(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const h=this.getSortable(o),c=function(t,e,i,n,s,o){if(!yt(t).length)return;const r=e.getBoundingClientRect();if(!o)return function(t,e){const i=1===yt(t).length;i&&pe(t,e);const n=yt(t),s=n.some(((t,e)=>{const i=t.getBoundingClientRect();return n.slice(e+1).some((t=>{const e=t.getBoundingClientRect();return!Ro([i.left,i.right],[e.left,e.right])}))}));i&&be(e);return s}(t,i)||s<r.top+r.height/2?e:e.nextElementSibling;const a=i.getBoundingClientRect(),l=Ro([r.top,r.bottom],[a.top,a.bottom]),[h,c,d,u]=l?[n,"width","left","right"]:[s,"height","top","bottom"],f=a[c]<r[c]?r[c]-a[c]:0;if(a[d]<r[d])return!(f&&h<r[d]+f)&&e.nextElementSibling;if(f&&h>r[u]-f)return!1;return e}(r.target,l,o,e,i,r===h&&t.moved!==l);!1!==c&&(c&&o===c||(r!==h?(h.remove(o),t.moved=l):delete t.moved,r.insert(o,c),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:n}=t,[s]=this.items.filter((t=>t.contains(e)));!s||n||i>0||ft(e)||e.closest(`.${this.clsNoDrag}`)||this.handle&&!e.closest(this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=s,this.origin={target:e,index:kt(s),...this.pos},Ft(document,Ze,this.move),Ft(document,Ke,this.end),this.threshold||this.start(t))},start(t){this.drag=function(t,e){let i;if(ce(e,"li","tr")){i=Ce("<div>"),pe(i,e.cloneNode(!0).children);for(const t of e.getAttributeNames())K(i,t,e.getAttribute(t))}else i=e.cloneNode(!0);return pe(t,i),Kt(i,"margin","0","important"),Kt(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:Kt(e,"padding")}),Me(i.firstElementChild,Me(e.firstElementChild)),i}(this.$container,this.placeholder);const{left:e,top:i}=this.placeholder.getBoundingClientRect();p(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),it(this.drag,this.clsDrag,this.clsCustom),it(this.placeholder,this.clsPlaceholder),it(this.items,this.clsItem),it(document.documentElement,this.clsDragState),qt(this.$el,"start",[this,this.placeholder]),function(t){let e=Date.now();qo=setInterval((()=>{let{x:i,y:n}=t;n+=document.scrollingElement.scrollTop;const s=.3*(Date.now()-e);e=Date.now(),_i(document.elementFromPoint(i,t.y)).reverse().some((t=>{let{scrollTop:e,scrollHeight:i}=t;const{top:o,bottom:r,height:a}=Pi(t);if(o<n&&o+35>n)e-=s;else{if(!(r>n&&r-35<n))return;e+=s}if(e>0&&e<i-a)return t.scrollTop=e,!0}))}),15)}(this.pos),this.move(t)},move(t){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end(){if(jt(document,Ze,this.move),jt(document,Ke,this.end),!this.drag)return;clearInterval(qo);const t=this.getSortable(this.placeholder);this===t?this.origin.index!==kt(this.placeholder)&&qt(this.$el,"moved",[this,this.placeholder]):(qt(t.$el,"added",[t,this.placeholder]),qt(this.$el,"removed",[this,this.placeholder])),qt(this.$el,"stop",[this,this.placeholder]),be(this.drag),this.drag=null;for(const{clsPlaceholder:t,clsItem:e}of this.touched)for(const i of this.touched)nt(i.items,t,e);this.touched=null,nt(document.documentElement,this.clsDragState)},insert(t,e){it(this.items,this.clsItem);this.animate((()=>e?me(e,t):pe(this.target,t)))},remove(t){this.target.contains(t)&&this.animate((()=>be(t)))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||!1!==this.group&&e.group===this.group))return e}while(t=gt(t))}}};let qo;function Ro(t,e){return t[1]>e[0]&&e[1]>t[0]}var Vo={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(Xe?"right":"left"),offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=c(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let n=[this.getPositionOffset(t),this.getShiftOffset(t)];const s=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:He(this.dir),this.align],target:[this.dir,this.align]};if("y"===this.axis){for(const t in o)o[t].reverse();n.reverse(),s.reverse()}const r=function(t){const e=Bi(t),{scrollTop:i}=e;return()=>{i!==e.scrollTop&&(e.scrollTop=i)}}(t),a=Be(t);Kt(t,{top:-a.height,left:-a.width}),Hi(t,e,{attach:o,offset:n,boundary:i,placement:s,viewportOffset:this.getViewportOffset(t)}),r()},getPositionOffset(t){return Le(!1===this.offset?Kt(t,"--uk-position-offset"):this.offset,"x"===this.axis?"width":"height",t)*(c(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return"center"===this.align?0:Le(Kt(t,"--uk-position-shift-offset"),"y"===this.axis?"width":"height",t)*(c(["left","top"],this.align)?1:-1)},getViewportOffset:t=>Le(Kt(t,"--uk-position-viewport-offset"))}};var Uo={mixins:[Yn,Zn,Vo],data:{pos:"top",animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},connected(){var t;mt(t=this.$el)||K(t,"tabindex","0")},disconnected(){this.hide()},methods:{show(){if(this.isToggled(this.tooltip||null))return;const{delay:t=0,title:e}=function(t){const{el:e,id:i,data:n}=t;return["delay","title"].reduce(((t,i)=>({[i]:et(e,i),...t})),{...hn(et(e,i),["title"]),...n})}(this.$options);if(!e)return;const i=K(this.$el,"title"),n=Ft(this.$el,["blur",ti],(t=>!Jt(t)&&this.hide()));this.reset=()=>{K(this.$el,{title:i,"aria-describedby":null}),n()};const s=Xs(this);K(this.$el,{title:null,"aria-describedby":s}),clearTimeout(this.showTimer),this.showTimer=setTimeout((()=>this._show(e,s)),t)},async hide(){var t;bt(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),null==(t=this.reset)||t.call(this),be(this.tooltip),this.tooltip=null)},async _show(t,e){this.tooltip=pe(this.container,`<div id="${e}" class="uk-${this.$options.name}" role="tooltip"> <div class="uk-${this.$options.name}-inner">${t}</div> </div>`),Ft(this.tooltip,"toggled",((t,e)=>{if(!e)return;const i=()=>this.positionAt(this.tooltip,this.$el);i();const[n,s]=function(t,e,[i,n]){const s=Ae(t),o=Ae(e),r=[["left","right"],["top","bottom"]];for(const t of r){if(s[t[0]]>=o[t[1]]){i=t[1];break}if(s[t[1]]<=o[t[0]]){i=t[0];break}}const a=c(r[0],i)?r[1]:r[0];n=s[a[0]]===o[a[0]]?a[0]:s[a[1]]===o[a[1]]?a[1]:"center";return[i,n]}(this.tooltip,this.$el,this.pos);this.origin="y"===this.axis?`${He(n)}-${s}`:`${s}-${He(n)}`;const o=[Wt(document,`keydown ${Ge}`,this.hide,!1,(t=>t.type===Ge&&!this.$el.contains(t.target)||"keydown"===t.type&&t.keyCode===Nn)),Ft([document,...Ai(this.$el)],"scroll",i,{passive:!0})];Wt(this.tooltip,"hide",(()=>o.forEach((t=>t()))),{self:!0})})),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{[`focus ${Qe} ${Ge}`](t){Jt(t)||this.show()}}};var Xo={mixins:[us],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:R,beforeAll:R,beforeSend:R,complete:R,completeAll:R,error:R,fail:R,load:R,loadEnd:R,loadStart:R,progress:R},events:{change(t){bt(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){Jo(t);const e=t.dataTransfer;(null==e?void 0:e.files)&&(nt(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){Jo(t)},dragover(t){Jo(t),it(this.$el,this.clsDragover)},dragleave(t){Jo(t),nt(this.$el,this.clsDragover)}},methods:{async upload(t){if(!(t=f(t)).length)return;qt(this.$el,"upload",[t]);for(const e of t){if(this.maxSize&&1e3*this.maxSize<e.size)return void this.fail(this.t("invalidSize",this.maxSize));if(this.allow&&!Yo(this.allow,e.name))return void this.fail(this.t("invalidName",this.allow));if(this.mime&&!Yo(this.mime,e.type))return void this.fail(this.t("invalidMime",this.mime))}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=function(t,e){const i=[];for(let n=0;n<t.length;n+=e)i.push(t.slice(n,n+e));return i}(t,this.concurrent),i=async t=>{const n=new FormData;t.forEach((t=>n.append(this.name,t)));for(const t in this.params)n.append(t,this.params[t]);try{const t=await function(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:R,responseType:"",...e};return Promise.resolve().then((()=>i.beforeSend(i))).then((()=>function(t,e){return new Promise(((i,n)=>{const{xhr:s}=e;for(const t in e)if(t in s)try{s[t]=e[t]}catch(t){}s.open(e.method.toUpperCase(),t);for(const t in e.headers)s.setRequestHeader(t,e.headers[t]);Ft(s,"load",(()=>{0===s.status||s.status>=200&&s.status<300||304===s.status?i(s):n(p(Error(s.statusText),{xhr:s,status:s.status}))})),Ft(s,"error",(()=>n(p(Error("Network Error"),{xhr:s})))),Ft(s,"timeout",(()=>n(p(Error("Network Timeout"),{xhr:s})))),s.send(e.data)}))}(t,i)))}(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:t=>{const{xhr:e}=t;Ft(e.upload,"progress",this.progress);for(const t of["loadStart","load","loadEnd","abort"])Ft(e,t.toLowerCase(),this[t]);return this.beforeSend(t)}});this.complete(t),e.length?await i(e.shift()):this.completeAll(t)}catch(t){this.error(t)}};await i(e.shift())}}};function Yo(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function Jo(t){t.preventDefault(),t.stopPropagation()}var Go=Object.freeze({__proto__:null,Countdown:nn,Filter:Rn,Lightbox:eo,LightboxPanel:Qs,Notification:no,Parallax:Io,Slider:Oo,SliderParallax:No,Slideshow:jo,SlideshowParallax:No,Sortable:Wo,Tooltip:Uo,Upload:Xo});function Zo(t){qt(document,"uikit:init",t),document.body&&Ie(document.body,tr),new MutationObserver((t=>t.forEach(Ko))).observe(document,{subtree:!0,childList:!0}),new MutationObserver((t=>t.forEach(Qo))).observe(document,{subtree:!0,attributes:!0}),t._initialized=!0}function Ko({addedNodes:t,removedNodes:e}){for(const e of t)Ie(e,tr);for(const t of e)Ie(t,er)}function Qo({target:t,attributeName:e}){var i;const n=ir(e);if(n){if(Q(t,e))return void js(n,t);null==(i=qs(t,n))||i.$destroy()}}function tr(t){const e=Ws(t);for(const i in Ws(t))Ps(e[i]);for(const e of t.getAttributeNames()){const i=ir(e);i&&js(i,t)}}function er(t){const e=Ws(t);for(const i in Ws(t))Ds(e[i])}function ir(t){l(t,"data-")&&(t=t.slice(5));const e=Ls[t];return e&&(v(e)?e:e.options).name}!function(t){let e;t.component=Fs,t.getComponents=Ws,t.getComponent=qs,t.update=Rs,t.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},t.mixin=function(t,e){(e=(S(e)?this.component(e):e)||this).options=ln(e.options,t)},t.extend=function(t){t||(t={});const e=this,i=function(t){Os(this,t)};return(i.prototype=Object.create(e.prototype)).constructor=i,i.options=ln(e.options,t),i.super=e,i.extend=e.extend,i},Object.defineProperty(t,"container",{get:()=>e||document.body,set(t){e=Ce(t)}})}(Ns),function(t){t.prototype.$mount=function(t){const e=this;!function(t,e){t[Hs]||(t[Hs]={}),t[Hs][e.$options.name]=e}(t,e),e.$options.el=t,document.contains(t)&&Ps(e)},t.prototype.$destroy=function(t=!1){const e=this,{el:i}=e.$options;i&&Ds(e),As(e,"destroy"),function(t,e){var i;null==(i=t[Hs])||delete i[e.$options.name],T(t[Hs])||delete t[Hs]}(i,e),t&&be(e.$el)},t.prototype.$create=js,t.prototype.$emit=function(t){un(this,t)},t.prototype.$update=function(t=this.$el,e){Rs(t,e)},t.prototype.$reset=function(){Ds(this),Ps(this)},t.prototype.$getComponent=qs,Object.defineProperties(t.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(t,"container")})}(Ns);var nr={mixins:[tn,Zn],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",offset:0},computed:{items:({targets:t},e)=>Te(t,e),toggles({toggle:t}){return this.items.map((e=>Ce(t,e)))},contents({content:t}){return this.items.map((e=>{var i;return(null==(i=e._wrapper)?void 0:i.firstElementChild)||Ce(t,e)}))}},watch:{items(t,e){if(e||rt(t,this.clsOpen))return;const i=!1!==this.active&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},toggles(){this.$emit()},contents(t){for(const e of t){const t=rt(this.items.find((t=>t.contains(e))),this.clsOpen);sr(e,!t)}this.$emit()}},observe:gn(),events:[{name:"click keydown",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(t){var e;"keydown"===t.type&&t.keyCode!==zn||(t.preventDefault(),null==(e=this._off)||e.call(this),this._off=function(t){const e=Bi(t,!0);let i;return function n(){i=requestAnimationFrame((()=>{const{top:i}=t.getBoundingClientRect();i<0&&(e.scrollTop+=i),n()}))}(),()=>requestAnimationFrame((()=>cancelAnimationFrame(i)))}(t.target),await this.toggle(kt(this.toggles,t.current)),this._off())}},{name:"shown hidden",self:!0,delegate(){return this.targets},handler(){this.$emit()}}],update(){const t=vt(this.items,`.${this.clsOpen}`);for(const e in this.items){const i=this.toggles[e],n=this.contents[e];if(!i||!n)continue;i.id=Xs(this,i),n.id=Xs(this,n);const s=c(t,this.items[e]);K(i,{role:ce(i,"a")?"button":null,"aria-controls":n.id,"aria-expanded":s,"aria-disabled":!this.collapsible&&t.length<2&&s}),K(n,{role:"region","aria-labelledby":i.id}),ce(n,"ul")&&K(yt(n),"role","presentation")}},methods:{toggle(t,e){let i=[t=this.items[G(t,this.items)]];const n=vt(this.items,`.${this.clsOpen}`);if(this.multiple||c(n,i[0])||(i=i.concat(n)),!(!this.collapsible&&n.length<2&&c(n,t)))return Promise.all(i.map((t=>this.toggleElement(t,!c(n,t),((t,i)=>{if(at(t,this.clsOpen,i),!1!==e&&this.animation)return async function(t,e,{content:i,duration:n,velocity:s,transition:o}){var r;i=(null==(r=t._wrapper)?void 0:r.firstElementChild)||Ce(i,t),t._wrapper||(t._wrapper=we(i,"<div>"));const a=t._wrapper;Kt(a,"overflow","hidden");const l=A(Kt(a,"height"));await ne.cancel(a),sr(i,!1);const h=F(["marginTop","marginBottom"],(t=>Kt(i,t)))+Be(i).height,c=l/h;n=(s*h+n)*(e?1-c:c),Kt(a,"height",l),await ne.start(a,{height:e?h:0},n,o),xe(i),delete t._wrapper,e||sr(i,!0)}(t,i,this);sr(Ce(this.content,t),!i)})))))}}};function sr(t,e){t&&(t.hidden=e)}var or={mixins:[tn,Zn],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".uk-alert-close",duration:150},events:{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,rr),this.$destroy(!0)}}};function rr(t,e,{duration:i,transition:n,velocity:s}){const o=A(Kt(t,"height"));return Kt(t,"height",o),ne.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},s*o+i,n)}var ar={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){"inview"!==this.autoplay||Q(this.$el,"preload")||(this.$el.preload="none"),ce(this.$el,"iframe")&&!Q(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&vi(this.$el)},observe:[pn({filter:({$el:t,autoplay:e})=>e&&bi(t),handler([{isIntersecting:t}]){t?mi(this.$el):gi(this.$el)},args:{intersecting:!1},options:({$el:t,autoplay:e})=>({root:"inview"===e?null:gt(t)})})]},lr={mixins:[ar],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},observe:fn({target:({$el:t})=>[hr(t)||gt(t)],filter:({$el:t})=>!cr(t)}),update:{read(){if(cr(this.$el))return;const{ratio:t,cover:e}=J,{$el:i,width:n,height:s}=this;let o={width:n,height:s};if(!n||!s){const e={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};o=n?t(e,"width",n):s?t(e,"height",s):e}const{offsetHeight:r,offsetWidth:a}=hr(i)||gt(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!(!l.width||!l.height)&&l},write({height:t,width:e}){Kt(this.$el,{height:t,width:e})},events:["resize"]}};function hr(t){for(;t=gt(t);)if("static"!==Kt(t,"position"))return t}function cr(t){return ce(t,"img","video")}let dr;var ur={mixins:[Yn,Vo,Zn],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean,closeOnScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["uk-animation-fade"],cls:"uk-open",container:!1,closeOnScroll:!1},computed:{boundary:({boundary:t,boundaryX:e,boundaryY:i},n)=>[Ct(e||t,n)||window,Ct(i||t,n)||window],target({target:t,targetX:e,targetY:i},n){return e||(e=t||this.targetEl),i||(i=t||this.targetEl),[!0===e?window:Ct(e,n),!0===i?window:Ct(i,n)]}},created(){this.tracker=new li},beforeConnect(){this.clsDrop=this.$props.clsDrop||`uk-${this.$options.name}`},connected(){it(this.$el,"uk-drop",this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=function(t){const{$el:e}=t.$create("toggle",Ct(t.toggle,t.$el),{target:t.$el,mode:t.mode});return K(e,"aria-haspopup",!0),e}(this)),this._style=W(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),dr=null),Kt(this.$el,this._style)},observe:gn({target:({toggle:t,$el:e})=>Ct(t,e),targets:({$el:t})=>t}),events:[{name:"click",delegate:()=>".uk-drop-close",handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate:()=>'a[href*="#"]',handler({defaultPrevented:t,current:e}){const{hash:i}=e;!t&&i&&St(e)&&!this.$el.contains(Ce(i))&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(null==e?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(null==e?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),bt(this.$el,":focus,:hover")||this.hide()}},{name:`${Qe} focusin`,filter(){return c(this.mode,"hover")},handler(t){Jt(t)||this.clearTimers()}},{name:`${ti} focusout`,filter(){return c(this.mode,"hover")},handler(t){!Jt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){dr=this,this.tracker.init(),K(this.targetEl,"aria-expanded",!0);const t=[fr(this),mr(this),vr(this),this.autoUpdate&&pr(this),this.closeOnScroll&&gr(this),!this.bgScroll&&Gn(this.$el)];Wt(this.$el,"hide",(()=>t.forEach((t=>t&&t()))),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:t}){this.$el===t?(dr=this.isActive()?null:dr,this.tracker.cancel(),K(this.targetEl,"aria-expanded",null)):dr=null===dr&&this.$el.contains(t)&&this.isToggled()?this:dr}}],update:{write(){this.isToggled()&&!rt(this.$el,this.clsEnter)&&this.position()}},methods:{show(t=this.targetEl,e=!0){if(this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(dr){if(e&&dr.isDelaying)return void(this.showTimer=setTimeout((()=>bt(t,":hover")&&this.show()),10));let i;for(;dr&&i!==dr&&!dr.$el.contains(this.$el);)i=dr,dr.hide(!1,!1)}this.container&&gt(this.$el)!==this.container&&pe(this.container,this.$el),this.showTimer=setTimeout((()=>this.toggleElement(this.$el,!0)),e&&this.delayShow||0)}},hide(t=!0,e=!0){const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelayedHide=t,this.isDelaying=function(t){const e=[];return Ie(t,(t=>"static"!==Kt(t,"position")&&e.push(t))),e}(this.$el).some((t=>this.tracker.movesTo(t))),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return dr===this},position(){nt(this.$el,"uk-drop-stack"),Kt(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map((t=>function(t,e){return Pi(Ai(e).find((e=>e.contains(t))))}(this.$el,t))),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[n,[s,o]]of i)this.axis!==s&&c([s,!0],this.stretch)&&Kt(this.$el,{[o]:Math.min(Ae(this.boundary[n])[o],t[n][o]-2*e),[`overflow-${s}`]:"auto"});const n=t[0].width-2*e;this.$el.hidden=!1,Kt(this.$el,"maxWidth",""),this.$el.offsetWidth>n&&it(this.$el,"uk-drop-stack"),Kt(this.$el,"maxWidth",n),this.positionAt(this.$el,this.target,this.boundary);for(const[n,[s,o,r,a]]of i)if(this.axis===s&&c([s,!0],this.stretch)){const i=Math.abs(this.getPositionOffset(this.$el)),l=Ae(this.target[n]),h=Ae(this.$el);Kt(this.$el,{[o]:(l[r]>h[r]?l[this.inset?a:r]-Math.max(Ae(this.boundary[n])[r],t[n][r]+e):Math.min(Ae(this.boundary[n])[a],t[n][a]-e)-l[this.inset?r:a])-i,[`overflow-${s}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function fr(t){const e=()=>t.$emit(),i=[ui(e),di(Ai(t.$el).concat(t.target),e)];return()=>i.map((t=>t.disconnect()))}function pr(t,e=(()=>t.$emit())){return Ft([document,...Ai(t.$el)],"scroll",e,{passive:!0})}function mr(t){return Ft(document,"keydown",(e=>{e.keyCode===Nn&&t.hide(!1)}))}function gr(t){return pr(t,(()=>t.hide(!1)))}function vr(t){return Ft(document,Ge,(({target:e})=>{t.$el.contains(e)||Wt(document,`${Ke} ${ei} scroll`,(({defaultPrevented:i,type:n,target:s})=>{i||n!==Ke||e!==s||t.targetEl&&$t(e,t.targetEl)||t.hide(!1)}),!0)}))}var br={mixins:[tn,Yn],props:{align:String,clsDrop:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean,closeOnScroll:Boolean},data:{align:Xe?"right":"left",clsDrop:"uk-dropdown",clsDropbar:"uk-dropnav-dropbar",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1,selNavItem:"> li > a, > ul > li > a"},computed:{dropbarAnchor:({dropbarAnchor:t},e)=>Ct(t,e)||e,dropbar({dropbar:t}){return t?(t=this._dropbar||Ct(t,this.$el)||Ce(`+ .${this.clsDropbar}`,this.$el))||(this._dropbar=Ce("<div></div>")):null},dropbarOffset:()=>0,dropContainer(t,e){return this.container||e},dropdowns({clsDrop:t},e){var i;const n=Te(`.${t}`,e);if(this.dropContainer!==e)for(const e of Te(`.${t}`,this.dropContainer)){const t=null==(i=this.getDropdown(e))?void 0:i.targetEl;!c(n,e)&&t&&this.$el.contains(t)&&n.push(e)}return n},items:({selNavItem:t},e)=>Te(t,e)},watch:{dropbar(t){it(t,"uk-dropbar","uk-dropbar-top",this.clsDropbar,`uk-${this.$options.name}-dropbar`)},dropdowns(){this.initializeDropdowns()}},connected(){this.initializeDropdowns()},disconnected(){be(this._dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.selNavItem},handler({current:t}){const e=this.getActive();e&&c(e.mode,"hover")&&e.targetEl&&!t.contains(e.targetEl)&&!e.isDelaying&&e.hide(!1)}},{name:"keydown",self:!0,delegate(){return this.selNavItem},handler(t){var e;const{current:i,keyCode:n}=t,s=this.getActive();n===qn&&(null==s?void 0:s.targetEl)===i&&(t.preventDefault(),null==(e=Ce(pt,s.$el))||e.focus()),wr(t,this.items,s)}},{name:"keydown",el(){return this.dropContainer},delegate(){return`.${this.clsDrop}`},handler(t){var e;const{current:i,keyCode:n}=t;if(!c(this.dropdowns,i))return;const s=this.getActive();let o=-1;if(n===Ln?o=0:n===Hn?o="last":n===jn?o="previous":n===qn?o="next":n===Nn&&(null==(e=s.targetEl)||e.focus()),~o){t.preventDefault();const e=Te(pt,i);e[G(o,e,d(e,(t=>bt(t,":focus"))))].focus()}wr(t,this.items,s)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&c(t.mode,"hover")&&!this.dropdowns.some((t=>bt(t,":hover")))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){this.isDropbarDrop(t)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&ge(this.dropbarAnchor,this.dropbar),it(t,`${this.clsDrop}-dropbar`))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){if(!this.isDropbarDrop(t))return;const e=this.getDropdown(t),i=()=>{const e=xt(t,`.${this.clsDrop}`).concat(t).map((t=>Ae(t))),i=Math.min(...e.map((({top:t})=>t))),n=Math.max(...e.map((({bottom:t})=>t))),s=Ae(this.dropbar);Kt(this.dropbar,"top",this.dropbar.offsetTop-(s.top-i)-this.dropbarOffset),this.transitionTo(n-i+A(Kt(t,"marginBottom"))+this.dropbarOffset,t)};this._observer=di([e.$el,...e.target],i),i()}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();bt(this.dropbar,":hover")&&e.$el===t.target&&c(e.mode,"hover")&&e.isDelayedHide&&!this.items.some((t=>e.targetEl!==t&&bt(t,":focus")))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){var e;if(!this.isDropbarDrop(t))return;null==(e=this._observer)||e.disconnect();const i=this.getActive();i&&i.$el!==t||this.transitionTo(0)}}],methods:{getActive(){var t;return c(this.dropdowns,null==(t=dr)?void 0:t.$el)&&dr},async transitionTo(t,e){const{dropbar:i}=this,n=Me(i);e=n<t&&e,await ne.cancel([e,i]),Kt(e,"clipPath",`polygon(0 0,100% 0,100% ${n}px,0 ${n}px)`),Me(i,n),await Promise.all([ne.start(i,{height:t},this.duration),ne.start(e,{clipPath:`polygon(0 0,100% 0,100% ${t}px,0 ${t}px)`},this.duration).finally((()=>Kt(e,{clipPath:""})))]).catch(R)},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&rt(t,this.clsDrop)},initializeDropdowns(){this.$create("drop",this.dropdowns.filter((t=>!this.getDropdown(t))),{...this.$props,flip:!1,shift:!0,pos:`bottom-${this.align}`,boundary:!0===this.boundary?this.$el:this.boundary})}}};function wr(t,e,i){var n,s,o;const{current:r,keyCode:a}=t;let l=-1;a===Ln?l=0:a===Hn?l="last":a===Fn?l="previous":a===Wn?l="next":a===On&&(null==(n=i.targetEl)||n.focus(),null==(s=i.hide)||s.call(i,!1)),~l&&(t.preventDefault(),null==(o=i.hide)||o.call(i,!1),e[G(l,e,e.indexOf(i.targetEl||r))].focus())}var $r={mixins:[tn],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:(t,e)=>Ce(ut,e),state(){return this.input.nextElementSibling},target({target:t},e){return t&&(!0===t&&gt(this.input)===e&&this.input.nextElementSibling||Ce(t,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let n;const s=ft(e)?"value":"textContent",o=e[s],r=(null==(t=i.files)?void 0:t[0])?i.files[0].name:bt(i,"select")&&(n=Te("option",i).filter((t=>t.selected))[0])?n.textContent:i.value;o!==r&&(e[s]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return this.$el.closest("form")},handler(){this.$emit()}}]},xr={extends:xn,mixins:[tn],name:"grid",props:{masonry:Boolean,parallax:String,parallaxStart:String,parallaxEnd:String,parallaxJustify:Boolean},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0,parallaxStart:0,parallaxEnd:0,parallaxJustify:!1},connected(){this.masonry&&it(this.$el,"uk-flex-top","uk-flex-wrap-top")},observe:bn({filter:({parallax:t,parallaxJustify:e})=>t||e}),update:[{write({rows:t}){at(this.$el,this.clsStack,!t.some((t=>t.length>1)))},events:["resize"]},{read(t){const{rows:e}=t;let{masonry:i,parallax:n,parallaxJustify:s,margin:o}=this;if(n=Math.max(0,Le(n)),!(i||n||s)||yr(e)||e[0].some(((t,i)=>e.some((e=>e[i]&&e[i].offsetWidth!==t.offsetWidth)))))return t.translates=t.scrollColumns=!1;let r,a,l=function(t,e){const i=t.flat().find((t=>rt(t,e)));return A(i?Kt(i,"marginTop"):Kt(t[0][0],"paddingLeft"))}(e,o);i?[r,a]=function(t,e,i){const n=[],s=[],o=Array(t[0].length).fill(0);let r=0;for(let a of t){Xe&&(a=a.reverse());let t=0;for(const l in a){const{offsetWidth:h,offsetHeight:c}=a[l],d=i?l:o.indexOf(Math.min(...o));kr(n,d,a[l]),kr(s,d,[(d-l)*h*(Xe?-1:1),o[d]-r]),o[d]+=c+e,t=Math.max(t,c)}r+=t+e}return[n,s]}(e,l,"next"===i):r=function(t){const e=[];for(const i of t)for(const t in i)kr(e,t,i[t]);return e}(e);const h=r.map((t=>F(t,"offsetHeight")+l*(t.length-1))),c=Math.max(0,...h);let d,u,f;return(n||s)&&(d=h.map(((t,e)=>s?c-t+n:n/(e%2||8))),s||(n=Math.max(...h.map(((t,e)=>t+d[e]-c)))),u=Le(this.parallaxStart,"height",this.$el,!0),f=Le(this.parallaxEnd,"height",this.$el,!0)),{columns:r,translates:a,scrollColumns:d,parallaxStart:u,parallaxEnd:f,padding:n,height:a?c:""}},write({height:t,padding:e}){Kt(this.$el,"paddingBottom",e||""),!1!==t&&Kt(this.$el,"height",t)},events:["resize"]},{read({rows:t,scrollColumns:e,parallaxStart:i,parallaxEnd:n}){return(!e||!yr(t))&&{scrolled:!!e&&Ei(this.$el,i,n)}},write({columns:t,scrolled:e,scrollColumns:i,translates:n}){(e||n)&&t.forEach(((t,s)=>t.forEach(((t,o)=>{let[r,a]=n&&n[s][o]||[0,0];e&&(a+=e*i[s]),Kt(t,"transform",`translate(${r}px, ${a}px)`)}))))},events:["scroll","resize"]}]};function yr(t){return t.flat().some((t=>"absolute"===Kt(t,"position")))}function kr(t,e,i){t[e]||(t[e]=[]),t[e].push(i)}var Sr={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:({target:t},e)=>Te(t,e)},observe:fn({target:({$el:t,elements:e})=>e.reduce(((t,e)=>t.concat(e,...e.children)),[t])}),update:{read(){return{rows:(this.row?yn(this.elements):[this.elements]).map(Ir)}},write({rows:t}){for(const{heights:e,elements:i}of t)i.forEach(((t,i)=>Kt(t,"minHeight",e[i])))},events:["resize"]}};function Ir(t){if(t.length<2)return{heights:[""],elements:t};let e=t.map(Cr);const i=Math.max(...e);return{heights:t.map(((t,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i)),elements:t}}function Cr(t){const e=W(t.style,["display","minHeight"]);dt(t)||Kt(t,"display","block","important"),Kt(t,"minHeight","");const i=Be(t).height-ze(t,"height","content-box");return Kt(t,e),i}var Tr={props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},observe:[vn({filter:({expand:t})=>t}),fn({target:({$el:t})=>_i(t)})],update:{read(){if(!dt(this.$el))return!1;let t="";const e=ze(this.$el,"height","content-box"),{body:i,scrollingElement:n}=document,s=Bi(this.$el),{height:o}=Pi(s===i?n:s),r=n===s||i===s;if(t="calc("+(r?"100vh":`${o}px`),this.expand){t+=` - ${Be(s).height-Be(this.$el).height}px`}else{if(this.offsetTop)if(r){const e=De(!0===this.offsetTop?this.$el:Ct(this.offsetTop,this.$el))[0]-De(s)[0];t+=e>0&&e<o/2?` - ${e}px`:""}else t+=` - ${Kt(s,"paddingTop")}`;!0===this.offsetBottom?t+=` - ${Be(this.$el.nextElementSibling).height}px`:C(this.offsetBottom)?t+=` - ${this.offsetBottom}vh`:this.offsetBottom&&h(this.offsetBottom,"px")?t+=` - ${A(this.offsetBottom)}px`:S(this.offsetBottom)&&(t+=` - ${Be(Ct(this.offsetBottom,this.$el)).height}px`)}return t+=(e?` - ${e}px`:"")+")",{minHeight:t}},write({minHeight:t}){Kt(this.$el,"minHeight",`max(${this.minHeight||0}px, ${t})`)},events:["resize"]}},Er={args:"src",props:{width:Number,height:Number,ratio:Number},data:{ratio:1},connected(){this.svg=this.getSvg().then((t=>{if(!this._connected)return;const e=function(t,e){if(ct(e)||ce(e,"canvas")){e.hidden=!0;const i=e.nextElementSibling;return _r(t,i)?i:ge(e,t)}const i=e.lastElementChild;return _r(t,i)?i:pe(e,t)}(t,this.$el);return this.svgEl&&e!==this.svgEl&&be(this.svgEl),Br.call(this,e,t),this.svgEl=e}),R)},disconnected(){this.svg.then((t=>{this._connected||(ct(this.$el)&&(this.$el.hidden=!1),be(t),this.svgEl=null)})),this.svg=null},methods:{async getSvg(){}}};function _r(t,e){return ce(t,"svg")&&ce(e,"svg")&&t.innerHTML===e.innerHTML}function Br(t,e){const i=["width","height"];let n=i.map((t=>this[t]));n.some((t=>t))||(n=i.map((t=>K(e,t))));const s=K(e,"viewBox");s&&!n.some((t=>t))&&(n=s.split(" ").slice(2)),n.forEach(((e,n)=>K(t,i[n],A(e)*this.ratio||null)))}const Ar={spinner:'<svg width="30" height="30" viewBox="0 0 30 30"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',totop:'<svg width="18" height="10" viewBox="0 0 18 10"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9"/></svg>',marker:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',"close-icon":'<svg width="14" height="14" viewBox="0 0 14 14"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',"close-large":'<svg width="20" height="20" viewBox="0 0 20 20"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',"drop-parent-icon":'<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"nav-parent-icon":'<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"nav-parent-icon-large":'<svg width="14" height="14" viewBox="0 0 14 14"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',"navbar-parent-icon":'<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"navbar-toggle-icon":'<svg width="20" height="20" viewBox="0 0 20 20"><style>.uk-navbar-toggle-animate svg&gt;[class*=&quot;line-&quot;]{transition:0.2s ease-in-out;transition-property:transform, opacity;transform-origin:center;opacity:1}.uk-navbar-toggle svg&gt;.line-3{opacity:0}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{opacity:1}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-2{transform:rotate(45deg)}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{transform:rotate(-45deg)}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1,.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{opacity:0}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1{transform:translateY(6px) scaleX(0)}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{transform:translateY(-6px) scaleX(0)}</style><rect class="line-1" y="3" width="20" height="2"/><rect class="line-2" y="9" width="20" height="2"/><rect class="line-3" y="9" width="20" height="2"/><rect class="line-4" y="15" width="20" height="2"/></svg>',"overlay-icon":'<svg width="40" height="40" viewBox="0 0 40 40"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',"pagination-next":'<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',"pagination-previous":'<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',"search-icon":'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',"search-large":'<svg width="40" height="40" viewBox="0 0 40 40"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',"search-navbar":'<svg width="24" height="24" viewBox="0 0 24 24"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',"slidenav-next":'<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1"/></svg>',"slidenav-next-large":'<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5"/></svg>',"slidenav-previous":'<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23"/></svg>',"slidenav-previous-large":'<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547"/></svg>'},Pr={install:function(t){t.icon.add=(e,i)=>{const n=S(e)?{[e]:i}:e;H(n,((t,e)=>{Ar[e]=t,delete Vr[e]})),t._initialized&&Ie(document.body,(e=>H(t.getComponents(e),(t=>{t.$options.isIcon&&t.icon in n&&t.$reset()}))))}},mixins:[Er],args:"icon",props:{icon:String},isIcon:!0,beforeConnect(){it(this.$el,"uk-icon")},methods:{async getSvg(){const t=function(t){if(!Ar[t])return null;Vr[t]||(Vr[t]=Ce((Ar[function(t){return Xe?N(N(t,"left","right"),"previous","next"):t}(t)]||Ar[t]).trim()));return Vr[t].cloneNode(!0)}(this.icon);if(!t)throw"Icon not found.";return t}}},Dr={args:!1,extends:Pr,data:t=>({icon:s(t.constructor.options.name)}),beforeConnect(){it(this.$el,this.$options.id)}},Mr={extends:Dr,beforeConnect(){const t=this.$props.icon;this.icon=this.$el.closest(".uk-nav-primary")?`${t}-large`:t}},Or={extends:Dr,mixins:[us],i18n:{toggle:"Open Search",submit:"Submit Search"},beforeConnect(){if(this.icon=rt(this.$el,"uk-search-icon")&&xt(this.$el,".uk-search-large").length?"search-large":xt(this.$el,".uk-search-navbar").length?"search-navbar":this.$props.icon,!Q(this.$el,"aria-label"))if(rt(this.$el,"uk-search-toggle")||rt(this.$el,"uk-navbar-toggle")){const t=this.t("toggle");K(this.$el,"aria-label",t)}else{const t=this.$el.closest("a,button");if(t){K(t,"aria-label",this.t("submit"))}}}},Nr={extends:Dr,beforeConnect(){K(this.$el,"role","status")},methods:{async getSvg(){const t=await Pr.methods.getSvg.call(this);return 1!==this.ratio&&Kt(Ce("circle",t),"strokeWidth",1/this.ratio),t}}},zr={extends:Dr,mixins:[us],beforeConnect(){const t=this.$el.closest("a,button");K(t,"role",null!==this.role&&ce(t,"a")?"button":this.role);const e=this.t("label");e&&!Q(t,"aria-label")&&K(t,"aria-label",e)}},Hr={extends:zr,beforeConnect(){it(this.$el,"uk-slidenav");const t=this.$props.icon;this.icon=rt(this.$el,"uk-slidenav-large")?`${t}-large`:t}},Lr={extends:zr,i18n:{label:"Open menu"}},Fr={extends:zr,i18n:{label:"Close"},beforeConnect(){this.icon="close-"+(rt(this.$el,"uk-close-large")?"large":"icon")}},jr={extends:zr,i18n:{label:"Open"}},Wr={extends:zr,i18n:{label:"Back to top"}},qr={extends:zr,i18n:{label:"Next page"},data:{role:null}},Rr={extends:zr,i18n:{label:"Previous page"},data:{role:null}},Vr={};const Ur=Ue&&"loading"in HTMLImageElement.prototype;var Xr={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){var t;"lazy"===this.loading?(Ur&&Zr(this.$el)&&(this.$el.loading="lazy",Yr(this.$el)),Zr(t=this.$el)&&!Q(t,"src")&&K(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')):this.load()},disconnected(){this.img&&(this.img.onload=""),delete this.img},observe:pn({target:({$el:t,$props:e})=>[t,...Tt(e.target,t)],handler(t,e){this.load(),e.disconnect()},options:({margin:t})=>({rootMargin:t}),filter:({loading:t})=>"lazy"===t}),methods:{load(){if(this.img)return this.img;const t=Zr(this.$el)?this.$el:function(t,e,i){const n=new Image;return function(t,e){if((e=function(t){if(!t)return[];if(l(t,"["))try{t=JSON.parse(t)}catch(e){t=[]}else t=hn(t);u(t)||(t=[t]);return t.filter((t=>!T(t)))}(e)).length){const i=ke("<picture>");for(const t of e){const e=ke("<source>");K(e,t),pe(i,e)}pe(i,t)}}(n,i),Gr(t,n),n.onload=()=>{Yr(t,n.currentSrc)},K(n,"src",e),n}(this.$el,this.dataSrc,this.sources);return tt(t,"loading"),Yr(this.$el,t.currentSrc),this.img=t}}};function Yr(t,e){if(Zr(t)){const e=gt(t);(ce(e,"picture")?yt(e):[t]).forEach((t=>Gr(t,t)))}else if(e){!c(t.style.backgroundImage,e)&&(Kt(t,"backgroundImage",`url(${Lt(e)})`),qt(t,Rt("load",!1)))}}const Jr=["data-src","data-srcset","sizes"];function Gr(t,e){for(const i of Jr){const n=et(t,i);n&&K(e,i.replace(/^(data-)+/,""),n)}}function Zr(t){return ce(t,"img")}var Kr={mixins:[tn,so],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill:({fill:t},e)=>t||Kt(e,"--uk-leader-fill-content")},connected(){[this.wrapper]=$e(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){xe(this.wrapper.childNodes)},observe:fn(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:t,fill:e,hide:i}){at(this.wrapper,this.clsHide,i),K(this.wrapper,this.attrFill,new Array(t).join(e))},events:["resize"]}},Qr={install:function({modal:t}){function e(e,i,n=R,s=R){i={bgClose:!1,escClose:!0,...i,i18n:{...t.i18n,...null==i?void 0:i.i18n}};const o=t.dialog(e(i),i);return p(new Promise((t=>{const e=Ft(o.$el,"hide",(()=>t(n())));Ft(o.$el,"submit","form",(i=>{i.preventDefault(),t(s(o)),e(),o.hide()}))})),{dialog:o})}t.dialog=function(e,i){const n=t(`<div class="uk-modal"> <div class="uk-modal-dialog">${e}</div> </div>`,{stack:!0,role:"alertdialog",...i});return n.show(),Ft(n.$el,"hidden",(async()=>{await Promise.resolve(),n.$destroy(!0)}),{self:!0}),n},t.alert=function(t,i){return e((({i18n:e})=>`<div class="uk-modal-body">${S(t)?t:ue(t)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>${e.ok}</button> </div>`),i)},t.confirm=function(t,i){return e((({i18n:e})=>`<form> <div class="uk-modal-body">${S(t)?t:ue(t)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${e.cancel}</button> <button class="uk-button uk-button-primary" autofocus>${e.ok}</button> </div> </form>`),i,(()=>Promise.reject()))},t.prompt=function(t,i,n){const s=e((({i18n:e})=>`<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>${S(t)?t:ue(t)}</label> <input class="uk-input" value="${i||""}" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${e.cancel}</button> <button class="uk-button uk-button-primary">${e.ok}</button> </div> </form>`),n,(()=>null),(()=>r.value)),{$el:o}=s.dialog,r=Ce("input",o);return Ft(o,"show",(()=>r.select())),s},t.i18n={ok:"Ok",cancel:"Cancel"}},mixins:[is],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler(){rt(this.panel,"uk-margin-auto-vertical")?it(this.$el,"uk-flex"):Kt(this.$el,"display","block"),Me(this.$el)}},{name:"hidden",self:!0,handler(){Kt(this.$el,"display",""),nt(this.$el,"uk-flex")}}]};var ta={extends:nr,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},ea={extends:br,props:{dropbarTransparentMode:Boolean},data:{clsDrop:"uk-navbar-dropdown",selNavItem:".uk-navbar-nav > li > a,a.uk-navbar-item,button.uk-navbar-item,.uk-navbar-item a,.uk-navbar-item button,.uk-navbar-toggle",selTransparentTarget:'[class*="uk-section"]',dropbarTransparentMode:!1},computed:{navbarContainer:(t,e)=>e.closest(".uk-navbar-container"),dropbarOffset:({dropbarTransparentMode:t},e)=>"behind"===t?e.offsetHeight:0},watch:{items(){const t=rt(this.$el,"uk-navbar-justify");for(const e of Te(".uk-navbar-nav, .uk-navbar-left, .uk-navbar-right",this.$el))Kt(e,"flexGrow",t?Te(".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle",e).length:"")}},disconnect(){var t;null==(t=this._colorListener)||t.call(this)},observe:[mn({target:({navbarContainer:t})=>t,handler:"registerColorListener",options:{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}}),pn({handler(t){this._isIntersecting=t[0].isIntersecting,this.registerColorListener()},args:{intersecting:!1}})],events:[{name:"show",el(){return this.dropContainer},handler({target:t}){const e=this.getTransparentMode(t);if(!e||this._mode)return;const i=()=>this._mode=function(t,...e){for(const i of e)if(rt(t,i))return nt(t,i),i}(this.navbarContainer,"uk-light","uk-dark");if("behind"===e){const t=ia(this.$el);t&&(i(),it(this.navbarContainer,`uk-${t}`))}"remove"===e&&(i(),nt(this.navbarContainer,"uk-navbar-transparent"))}},{name:"hide",el(){return this.dropContainer},async handler({target:t}){const e=this.getTransparentMode(t);if(e&&this._mode&&(await async function(){return new Promise((t=>setTimeout(t)))}(),!this.getActive())){if("behind"===e){const t=ia(this.$el);t&&nt(this.navbarContainer,`uk-${t}`)}it(this.navbarContainer,this._mode),"remove"===e&&it(this.navbarContainer,"uk-navbar-transparent"),this._mode=null}}}],methods:{getTransparentMode(t){if(!this.navbarContainer)return;if(this.dropbar&&this.isDropbarDrop(t))return this.dropbarTransparentMode;const e=this.getDropdown(t);return e&&rt(t,"uk-dropbar")?e.inset?"behind":"remove":void 0},registerColorListener(){const t=this._isIntersecting&&rt(this.navbarContainer,"uk-navbar-transparent")&&!function(t){do{if("normal"!==Kt(t,"mixBlendMode"))return!0}while(t=gt(t))}(this.navbarContainer)&&!Te(".uk-drop",this.dropContainer).map(this.getDropdown).some((t=>t.isToggled()&&(t.inset||"behind"===this.getTransparentMode(t.$el))));this._colorListener?t||(this._colorListener(),this._colorListener=null):t&&(this._colorListener=function(t,e){const i=Bi(t,!0),n=Ft(i===document.documentElement?document:i,"scroll",e,{passive:!0}),s=di([t,i],e);return()=>{n(),s.disconnect()}}(this.navbarContainer,(()=>{const{left:t,top:e,height:i}=Ae(this.navbarContainer),n={x:t,y:Math.max(0,e)+i/2},s=Kt(Te(this.selTransparentTarget).find((t=>U(n,Ae(t)))),"--uk-navbar-color");s&&ot(this.navbarContainer,"uk-light,uk-dark",`uk-${s}`)})))}}};function ia(t){return Kt(t,"--uk-navbar-dropbar-behind-color")}var na={mixins:[is],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip:({flip:t,clsFlip:e})=>t?e:"",clsOverlay:({overlay:t,clsOverlay:e})=>t?e:"",clsMode:({mode:t,clsMode:e})=>`${e}-${t}`,clsSidebarAnimation:({mode:t,clsSidebarAnimation:e})=>"none"===t||"reveal"===t?"":e,clsContainerAnimation:({mode:t,clsContainerAnimation:e})=>"push"!==t&&"reveal"!==t?"":e,transitionElement({mode:t}){return"reveal"===t?gt(this.panel):this.panel}},observe:wn({filter:({swiping:t})=>t}),update:{read(){this.isToggled()&&!dt(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){"reveal"!==this.mode||rt(gt(this.panel),this.clsMode)||(we(this.panel,"<div>"),it(gt(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;it(t,this.clsContainer,this.clsFlip),Kt(t,"touch-action","pan-y pinch-zoom"),Kt(this.$el,"display","block"),Kt(this.panel,"maxWidth",e.clientWidth),it(this.$el,this.clsOverlay),it(this.panel,this.clsSidebarAnimation,"reveal"===this.mode?"":this.clsMode),Me(t),it(t,this.clsContainerAnimation),this.clsContainerAnimation&&(sa().content+=",user-scalable=0")}},{name:"hide",self:!0,handler(){nt(document.body,this.clsContainerAnimation),Kt(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&function(){const t=sa();t.content=t.content.replace(/,user-scalable=0$/,"")}(),"reveal"===this.mode&&xe(this.panel),nt(this.panel,this.clsSidebarAnimation,this.clsMode),nt(this.$el,this.clsOverlay),Kt(this.$el,"display",""),Kt(this.panel,"maxWidth",""),nt(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&h(t.type,"Left")^this.flip&&this.hide()}}]};function sa(){return Ce('meta[name="viewport"]',document.head)||pe(document.head,'<meta name="viewport">')}var oa={mixins:[tn],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog",minHeight:150},computed:{container:({selContainer:t},e)=>e.closest(t),content:({selContent:t},e)=>e.closest(t)},observe:fn({target:({container:t,content:e})=>[t,e]}),update:{read(){return!!(this.content&&this.container&&dt(this.$el))&&{max:Math.max(this.minHeight,Me(this.container)-(Be(this.content).height-Me(this.$el)))}},write({max:t}){Kt(this.$el,{minHeight:this.minHeight,maxHeight:t})},events:["resize"]}},ra={props:["width","height"],connected(){it(this.$el,"uk-responsive-width")},observe:fn({target:({$el:t})=>[t,gt(t)]}),update:{read(){return!!(dt(this.$el)&&this.width&&this.height)&&{width:Oe(gt(this.$el)),height:this.height}},write(t){Me(this.$el,J.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},aa={props:{offset:Number},data:{offset:0},connected(){!function(t){la.size||Ft(document,"click",ha);la.add(t)}(this)},disconnected(){var t;t=this,la.delete(t),la.size||jt(document,"click",ha)},methods:{async scrollTo(t){t=t&&Ce(t)||document.body,qt(this.$el,"beforescroll",[this,t])&&(await Ti(t,{offset:this.offset}),qt(this.$el,"scrolled",[this,t]))}}};const la=new Set;function ha(t){if(!t.defaultPrevented)for(const e of la)e.$el.contains(t.target)&&St(e.$el)&&(t.preventDefault(),window.location.href!==e.$el.href&&window.history.pushState({},"",e.$el.href),e.scrollTo(It(e.$el)))}var ca={args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}),computed:{elements:({target:t},e)=>t?Te(t,e):[e]},watch:{elements(t){this.hidden&&Kt(vt(t,`:not(.${this.inViewClass})`),"opacity",0)}},connected(){this.elementData=new Map},disconnected(){for(const[t,e]of this.elementData.entries())nt(t,this.inViewClass,(null==e?void 0:e.cls)||"");delete this.elementData},observe:pn({target:({elements:t})=>t,handler(t){const e=this.elementData;for(const{target:i,isIntersecting:n}of t){e.has(i)||e.set(i,{cls:et(i,"uk-scrollspy-class")||this.cls});const t=e.get(i);!this.repeat&&t.show||(t.show=n)}this.$emit()},options:({margin:t})=>({rootMargin:t}),args:{intersecting:!1}}),update:[{write(t){for(const[e,i]of this.elementData.entries())!i.show||i.inview||i.queued?!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1):(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then((()=>new Promise((t=>setTimeout(t,this.delay))))).then((()=>{this.toggle(e,!0),setTimeout((()=>{i.queued=!1,this.$emit()}),300)})))}}],methods:{toggle(t,e){var i;const n=this.elementData.get(t);if(n){if(null==(i=n.off)||i.call(n),Kt(t,"opacity",!e&&this.hidden?0:""),at(t,this.inViewClass,e),at(t,n.cls),/\buk-animation-/.test(n.cls)){const i=()=>st(t,"uk-animation-[\\w-]+");e?n.off=Wt(t,"animationcancel animationend",i):i()}qt(t,e?"inview":"outview"),n.inview=e,this.$update(t)}}}},da={props:{cls:String,closest:Boolean,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:(t,e)=>Te('a[href*="#"]',e).filter((t=>t.hash&&St(t))),elements({closest:t}){return this.links.map((e=>e.closest(t||"*")))}},watch:{links(t){this.scroll&&this.$create("scroll",t,{offset:this.offset})}},observe:[pn(),bn()],update:[{read(){const t=this.links.map(It).filter(Boolean),{length:e}=t;if(!e||!dt(this.$el))return!1;const i=Bi(t,!0),{scrollTop:n,scrollHeight:s}=i,o=Pi(i);let r=!1;if(n===s-o.height)r=e-1;else{for(let e=0;e<t.length;e++){const i=Di(t[e]),n=this.offset+(i?Ae(i).height:0);if(Ae(t[e]).top-o.top-n>0)break;r=+e}!1===r&&this.overflow&&(r=0)}return{active:r}},write({active:t}){const e=!1!==t&&!rt(this.elements[t],this.cls);this.links.forEach((t=>t.blur()));for(let e=0;e<this.elements.length;e++)at(this.elements[e],this.cls,+e===t);e&&qt(this.$el,"active",[t,this.elements[t]])},events:["scroll","resize"]}]},ua={mixins:[tn,so],props:{position:String,top:null,bottom:null,start:null,end:null,offset:String,overflowFlip:Boolean,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,showOnUp:Boolean,targetOffset:Number},data:{position:"top",top:!1,bottom:!1,start:!1,end:!1,offset:0,overflowFlip:!1,animation:"",clsActive:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{selTarget:({selTarget:t},e)=>t&&Ce(t,e)||e},connected(){this.start=pa(this.start||this.top),this.end=pa(this.end||this.bottom),this.placeholder=Ce("+ .uk-sticky-placeholder",this.$el)||Ce('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},beforeDisconnect(){this.isFixed&&(this.hide(),nt(this.selTarget,this.clsInactive)),ma(this.$el),be(this.placeholder),this.placeholder=null},observe:[vn(),bn({target:()=>document.scrollingElement}),fn({target:({$el:t})=>[t,document.scrollingElement]})],events:[{name:"load hashchange popstate",el:()=>window,filter(){return!1!==this.targetOffset},handler(){const{scrollingElement:t}=document;location.hash&&0!==t.scrollTop&&setTimeout((()=>{const e=Ae(Ce(location.hash)),i=Ae(this.$el);this.isFixed&&V(e,i)&&(t.scrollTop=e.top-i.height-Le(this.targetOffset,"height",this.placeholder)-Le(this.offset,"height",this.placeholder))}))}},{name:"transitionstart",handler(){this.transitionInProgress=Wt(this.$el,"transitionend transitioncancel",(()=>this.transitionInProgress=null))}}],update:[{read({height:t,width:e,margin:i,sticky:n}){if(this.inactive=!this.matchMedia||!dt(this.$el),this.inactive)return;const s=this.isFixed&&!this.transitionInProgress;s&&(ga(this.$el),this.hide()),this.active||(({height:t,width:e}=Ae(this.$el)),i=Kt(this.$el,"margin")),s&&this.show();const o=Le("100vh","height"),r=Me(window),a=Math.max(0,document.scrollingElement.scrollHeight-o);let l=this.position;this.overflowFlip&&t>o&&(l="top"===l?"bottom":"top");const h=this.isFixed?this.placeholder:this.$el;let c=Le(this.offset,"height",n?this.$el:h);"bottom"===l&&(t<r||this.overflowFlip)&&(c+=r-t);const d=this.overflowFlip?0:Math.max(0,t+c-o),u=Ae(h).top,f=Ae(this.$el).height,p=(!1===this.start?u:fa(this.start,this.$el,u))-c,m=!1===this.end?a:Math.min(a,fa(this.end,this.$el,u+t,!0)-f-c+d);return n=a&&!this.showOnUp&&p+c===u&&m===Math.min(a,fa("!*",this.$el,0,!0)-f-c+d)&&"visible"===Kt(gt(this.$el),"overflowY"),{start:p,end:m,offset:c,overflow:d,topOffset:u,height:t,elHeight:f,width:e,margin:i,top:De(h)[0],sticky:n}},write({height:t,width:e,margin:i,offset:n,sticky:s}){if((this.inactive||s||!this.isFixed)&&ma(this.$el),this.inactive)return;s&&(t=e=i=0,Kt(this.$el,{position:"sticky",top:n}));const{placeholder:o}=this;Kt(o,{height:t,width:e,margin:i}),document.contains(o)||(o.hidden=!0),(s?me:ge)(this.$el,o)},events:["resize"]},{read({scroll:t=0,dir:e="down",overflow:i,overflowScroll:n=0,start:s,end:o}){const r=document.scrollingElement.scrollTop;return{dir:t<=r?"down":"up",prevDir:e,scroll:r,prevScroll:t,offsetParentTop:Ae((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:q(n+q(r,s,o)-q(t,s,o),0,i)}},write(t,e){const i=e.has("scroll"),{initTimestamp:n=0,dir:s,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:h,topOffset:c,height:d}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const u=Date.now();if((u-n>300||s!==o)&&(t.initScroll=r,t.initTimestamp=u),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<h||this.showOnUp&&(r<=h||"down"===s&&i||"up"===s&&!this.isFixed&&r<=c+d)){if(!this.isFixed)return void(he.inProgress(this.$el)&&l>r&&(he.cancel(this.$el),this.hide()));if(this.animation&&r>c){if(rt(this.$el,"uk-animation-leave"))return;he.out(this.$el,this.animation).then((()=>this.hide()),R)}else this.hide()}else this.isFixed?this.update():this.animation&&r>c?(this.show(),he.in(this.$el,this.animation).catch(R)):(ga(this.selTarget),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),nt(this.$el,this.clsFixed,this.clsBelow),e?Kt(this.$el,"top",t):Kt(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:n=0,start:s,end:o,offset:r,topOffset:a,height:l,elHeight:h,offsetParentTop:c,sticky:d}=this._data;const u=0!==s||e>s;if(!d){let s="fixed";e>o&&(r+=o-c+n-i,s="absolute"),Kt(this.$el,{position:s,width:t,marginTop:0},"important")}Kt(this.$el,"top",r-n),this.setActive(u),at(this.$el,this.clsBelow,e>a+(d?Math.min(l,h):l)),it(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(ot(this.selTarget,this.clsInactive,this.clsActive),e!==t&&qt(this.$el,"active")):(ot(this.selTarget,this.clsActive,this.clsInactive),e!==t&&qt(this.$el,"inactive"))}}};function fa(t,e,i,n){if(!t)return 0;if(C(t)||S(t)&&t.match(/^-?\d/))return i+Le(t,"height",e,!0);{const i=!0===t?gt(e):Ct(t,e);return Ae(i).bottom-(n&&(null==i?void 0:i.contains(e))?A(Kt(i,"paddingBottom")):0)}}function pa(t){return"true"===t||"false"!==t&&t}function ma(t){Kt(t,{position:"",top:"",marginTop:"",width:""})}function ga(t){it(t,"uk-transition-disable"),requestAnimationFrame((()=>nt(t,"uk-transition-disable")))}var va={mixins:[Er],args:"src",props:{src:String,icon:String,attributes:"list",strokeAnimation:Boolean},data:{strokeAnimation:!1},observe:[mn({async handler(){const t=await this.svg;t&&ba.call(this,t)},options:{attributes:!0,attributeFilter:["id","class","style"]}})],async connected(){c(this.src,"#")&&([this.src,this.icon]=this.src.split("#"));const t=await this.svg;t&&(ba.call(this,t),this.strokeAnimation&&function(t){const e=oo(t);e&&Kt(t,"--uk-animation-stroke",e)}(t))},methods:{async getSvg(){return ce(this.$el,"img")&&!this.$el.complete&&"lazy"===this.$el.loading?new Promise((t=>Wt(this.$el,"load",(()=>t(this.getSvg()))))):function(t,e){e&&c(t,"<symbol")&&(t=xa(t)[e]||t);return t=Ce(t.substr(t.indexOf("<svg"))),(null==t?void 0:t.hasChildNodes())&&t}(await wa(this.src),this.icon)||Promise.reject("SVG not found.")}}};function ba(t){const{$el:e}=this;it(t,K(e,"class"),"uk-svg");for(let i=0;i<e.style.length;i++){const n=e.style[i];Kt(t,n,Kt(e,n))}for(const e in this.attributes){const[i,n]=this.attributes[e].split(":",2);K(t,i,n)}this.$el.id||tt(t,"id")}const wa=Z((async t=>t?l(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject()));const $a=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,xa=Z((function(t){const e={};let i;for($a.lastIndex=0;i=$a.exec(t);)e[i[3]]=`<svg ${i[1]}svg>`;return e}));const ya=".uk-disabled *, .uk-disabled, [disabled]";var ka={mixins:[Zn],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number,followFocus:Boolean,swiping:Boolean},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"uk-active",attrItem:"uk-switcher-item",selVertical:".uk-nav",followFocus:!1,swiping:!0},computed:{connects:({connect:t},e)=>Tt(t,e),connectChildren(){return this.connects.map((t=>yt(t))).flat()},toggles:({toggle:t},e)=>Te(t,e),children(t,e){return yt(e).filter((t=>this.toggles.some((e=>t.contains(e)))))}},watch:{connects(t){this.swiping&&Kt(t,"touchAction","pan-y pinch-zoom"),this.$emit()},connectChildren(){let t=Math.max(0,this.index());for(const e of this.connects)yt(e).forEach(((e,i)=>at(e,this.cls,i===t)));this.$emit()},toggles(t){this.$emit();const e=this.index();this.show(~e?e:t[this.active]||t[0])}},connected(){K(this.$el,"role","tablist")},observe:[gn({targets:({connectChildren:t})=>t}),wn({target:({connects:t})=>t,filter:({swiping:t})=>t})],events:[{name:"click keydown",delegate(){return this.toggle},handler(t){bt(t.current,ya)||"click"!==t.type&&t.keyCode!==zn||(t.preventDefault(),this.show(t.current))}},{name:"keydown",delegate(){return this.toggle},handler(t){const{current:e,keyCode:i}=t,n=bt(this.$el,this.selVertical);let s=i===Ln?0:i===Hn?"last":i===Fn&&!n||i===jn&&n?"previous":i===Wn&&!n||i===qn&&n?"next":-1;if(~s){t.preventDefault();const i=this.toggles.filter((t=>!bt(t,ya))),n=i[G(s,i,i.indexOf(e))];n.focus(),this.followFocus&&this.show(n)}}},{name:"click",el(){return this.connects.concat(this.itemNav?Tt(this.itemNav,this.$el):[])},delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.target.closest("a,button")&&(t.preventDefault(),this.show(et(t.current,this.attrItem)))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler({type:t}){this.show(h(t,"Left")?"next":"previous")}}],update(){var t;K(this.connects,"role","presentation"),K(yt(this.$el),"role","presentation");for(const e in this.toggles){const i=this.toggles[e],n=null==(t=this.connects[0])?void 0:t.children[e];K(i,"role","tab"),n&&(i.id=Xs(this,i),n.id=Xs(this,n),K(i,"aria-controls",n.id),K(n,{role:"tabpanel","aria-labelledby":i.id}))}K(this.$el,"aria-orientation",bt(this.$el,this.selVertical)?"vertical":null)},methods:{index(){return d(this.children,(t=>rt(t,this.cls)))},show(t){const e=this.toggles.filter((t=>!bt(t,ya))),i=this.index(),n=G(!$(t)||c(e,t)?t:0,e,G(this.toggles[i],e)),s=G(e[n],this.toggles);this.children.forEach(((t,e)=>{at(t,this.cls,s===e),K(this.toggles[e],{"aria-selected":s===e,tabindex:s===e?null:-1})}));const o=i>=0&&i!==n;this.connects.forEach((async({children:t})=>{const e=f(t).filter(((t,e)=>e!==s&&rt(t,this.cls)));await this.toggleElement(e,!1,o),await this.toggleElement(t[s],!0,o)}))}}},Sa={mixins:[tn],extends:ka,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item",selVertical:".uk-tab-left,.uk-tab-right"},connected(){const t=rt(this.$el,"uk-tab-left")?"uk-tab-left":!!rt(this.$el,"uk-tab-right")&&"uk-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};var Ia={mixins:[so,Zn],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:({target:t},e)=>(t=Tt(t||e.hash,e)).length?t:[e]},connected(){c(this.mode,"media")||(mt(this.$el)||K(this.$el,"tabindex","0"),!this.cls&&ce(this.$el,"a")&&K(this.$el,"role","button"))},observe:gn({target:({target:t})=>t}),events:[{name:Ge,filter(){return c(this.mode,"hover")},handler(t){this._preventClick=null,!Jt(t)||k(this._showState)||this.$el.disabled||(qt(this.$el,"focus"),Wt(document,Ge,(()=>qt(this.$el,"blur")),!0,(t=>!this.$el.contains(t.target))),c(this.mode,"click")&&(this._preventClick=!0))}},{name:`mouseenter mouseleave ${Qe} ${ti} focus blur`,filter(){return c(this.mode,"hover")},handler(t){if(Jt(t)||this.$el.disabled)return;const e=c(["mouseenter",Qe,"focus"],t.type),i=this.isToggled(this.target);e||!(!k(this._showState)||"blur"!==t.type&&bt(this.$el,":focus")||"blur"===t.type&&bt(this.$el,":hover"))?e&&k(this._showState)&&i!==this._showState||(this._showState=e?i:null,this.toggle("toggle"+(e?"show":"hide"))):i===this._showState&&(this._showState=null)}},{name:"keydown",filter(){return c(this.mode,"click")&&!ce(this.$el,"input")},handler(t){32===t.keyCode&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some((t=>c(this.mode,t)))},handler(t){let e;(this._preventClick||t.target.closest('a[href="#"], a[href=""]')||(e=t.target.closest("a[href]"))&&(!this.isToggled(this.target)||e.hash&&bt(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&c(this.mode,"click")&&this.toggle()}},{name:"mediachange",filter(){return c(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!qt(this.target,t||"toggle",[this]))return;if(Q(this.$el,"aria-expanded")&&K(this.$el,"aria-expanded",!this.isToggled(this.target)),!this.queued)return this.toggleElement(this.target);const e=this.target.filter((t=>rt(t,this.clsLeave)));if(e.length){for(const t of this.target){const i=c(e,t);this.toggleElement(t,i,i)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1)&&await this.toggleElement(this.target.filter((t=>!c(i,t))),!0)}}};return H(Object.freeze({__proto__:null,Accordion:nr,Alert:or,Close:Fr,Cover:lr,Drop:ur,DropParentIcon:Dr,Dropdown:ur,Dropnav:br,FormCustom:$r,Grid:xr,HeightMatch:Sr,HeightViewport:Tr,Icon:Pr,Img:Xr,Leader:Kr,Margin:xn,Marker:jr,Modal:Qr,Nav:ta,NavParentIcon:Mr,Navbar:ea,NavbarParentIcon:Dr,NavbarToggleIcon:Lr,Offcanvas:na,OverflowAuto:oa,OverlayIcon:Dr,PaginationNext:qr,PaginationPrevious:Rr,Responsive:ra,Scroll:aa,Scrollspy:ca,ScrollspyNav:da,SearchIcon:Or,SlidenavNext:Hr,SlidenavPrevious:Hr,Spinner:Nr,Sticky:ua,Svg:va,Switcher:ka,Tab:Sa,Toggle:Ia,Totop:Wr,Video:ar}),((t,e)=>Ns.component(e,t))),function(t){Ue&&window.MutationObserver&&(document.body?requestAnimationFrame((()=>Zo(t))):new MutationObserver(((e,i)=>{document.body&&(Zo(t),i.disconnect())})).observe(document.documentElement,{childList:!0}))}(Ns),H(Go,((t,e)=>Ns.component(e,t))),Ns}));
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand (o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
jQuery.noConflict();
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery('#') is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass(boolean) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css("'+e+'", value)')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
function TRP_IN_Determine_Language(){
var _this=this;
var trpCookie=null;
var trpHelper=null;
this.get_lang_from_url=function(url){
if(trp_language_cookie_data['domain_language_map']){
var domainLang=_this.get_lang_from_domain(url);
if(domainLang){
return domainLang;
}}
var lang=url.replace(/^(http|https):\/\//g, '');
var abs_home=trp_language_cookie_data[ 'abs_home' ].replace(/^(http|https):\/\//g, '');
lang=trpHelper.ltrim(trpHelper.trailingslashit(lang.replace(abs_home, '')),'/');
var lang_array=lang.split("/");
if(lang_array.length < 2){
return trp_language_cookie_data['default_language'];
}
for(var i=0; i < lang_array.length; i++){
if(lang_array[i]!=undefined&&lang_array[i]!=''){
lang=lang_array[i];
break;
}}
if(trpHelper.in_array(lang, trp_language_cookie_data['url_slugs'])){
return trpHelper.array_search(lang, trp_language_cookie_data['url_slugs']);
}else{
return trp_language_cookie_data['default_language'];
}};
this.get_lang_from_domain=function(url){
var domainMap=trp_language_cookie_data['domain_language_map'];
if(!domainMap){
return null;
}
var hostname;
try {
var urlObj=new URL(url);
hostname=urlObj.hostname;
} catch(e){
var match=url.match(/^(?:https?:\/\/)?([^\/]+)/i);
hostname=match ? match[1]:null;
}
if(!hostname){
return null;
}
if(domainMap[hostname]){
return domainMap[hostname];
}
return null;
};
this.get_current_dom_language=function(){
var html_language_document=document.getElementById("tp-language");
var html_language;
if(html_language_document){
if(jQuery('#tp-language').attr('data-tp-language')){
html_language=jQuery('#tp-language').attr('data-tp-language');
}else if(jQuery('#tp-language').attr('lang')){
html_language=jQuery('#tp-language').attr('lang');
}}else{
html_language=jQuery('html').attr('lang');
html_language=html_language.split("-").join("_");
}
if(!trpHelper.in_array(html_language, trp_language_cookie_data['publish_languages']) ){
html_language="error_determining_language";
}
return html_language;
};
this.ajax_get_needed_language=function(){
jQuery.ajax({
url: trp_language_cookie_data['trp_ald_ajax_url'],
type: 'post',
dataType: 'json',
data: {
action: 'trp_ald_get_needed_language',
detection_method: trp_language_cookie_data['detection_method'],
popup_option: trp_language_cookie_data['popup_option'],
popup_textarea: trp_language_cookie_data['popup_textarea'],
popup_type: trp_language_cookie_data['popup_type'],
popup_textarea_change_button: trp_language_cookie_data['popup_textarea_change_button'],
popup_textarea_close_button: trp_language_cookie_data['popup_textarea_close_button'],
publish_languages: trp_language_cookie_data['publish_languages'],
iso_codes: trp_language_cookie_data['iso_codes'],
english_name: trp_language_cookie_data['english_name'],
default_language: trp_language_cookie_data['default_language'],
is_iphone_user_check: trp_language_cookie_data['is_iphone_user_check']
},
success: function(response){
if(response){
_this.redirect_if_needed(response);
}else{
_this.redirect_if_needed(_this.get_current_dom_language());
}},
error: function(errorThrown){
_this.redirect_if_needed(_this.get_current_dom_language());
}});
};
this.activate_popup=function(response, url_to_redirect){
_this.make_ls_clickable();
_this.ls_make_default_language_preselected(response);
var popup=document.getElementById("trp_ald_modal_container");
var close=document.getElementById("trp_ald_x_button");
var popup_change_button=document.getElementById("trp_ald_popup_change_language");
var close_popup=document.getElementById("trp_ald_x_button_and_textarea");
var no_text_popup_select_current_language=document.querySelector('[special-selector="trp_ald_popup_current_language"]');
popup.style.display='block';
close_popup.onclick=function(e){
popup.style.display='none';
trpCookie.setCookie(trp_language_cookie_data['cookie_name'], _this.get_current_dom_language(), trp_language_cookie_data['cookie_age'], trp_language_cookie_data['cookie_path']);
e.preventDefault();
}
_this.ls_select_language();
popup_change_button.onclick=function(){
var selected_language=no_text_popup_select_current_language.getAttribute('data-trp-ald-selected-language');
trpCookie.setCookie(trp_language_cookie_data['cookie_name'], selected_language, trp_language_cookie_data['cookie_age'], trp_language_cookie_data['cookie_path']);
}}
this.activate_hello_bar=function (response, url_to_redirect){
var no_text_popup=document.getElementById("trp_ald_no_text_popup_template");
var clone=no_text_popup.content.cloneNode(true);
var close_button=clone.getElementById('trp_close');
var button_change_language_no_text_popup=clone.getElementById('trp_ald_no_text_popup_change_language');
var no_text_popup_select_current_language=clone.querySelector('[special-selector="trp_ald_popup_current_language"]');
var div=document.createElement('div');
div.appendChild(clone);
document.body.insertAdjacentElement('afterbegin', div);
button_change_language_no_text_popup.onclick=function(){
var selected_language=no_text_popup_select_current_language.getAttribute('data-trp-ald-selected-language');
trpCookie.setCookie(trp_language_cookie_data[ 'cookie_name' ], selected_language, trp_language_cookie_data[ 'cookie_age' ], trp_language_cookie_data[ 'cookie_path' ]);
}
var remove_bar=function (){
trpCookie.setCookie(trp_language_cookie_data['cookie_name'], _this.get_current_dom_language(), trp_language_cookie_data['cookie_age'], trp_language_cookie_data['cookie_path']);
document.body.removeChild(div);
};
close_button.onclick=remove_bar;
_this.make_ls_clickable();
_this.ls_select_language();
_this.ls_make_default_language_preselected(response);
}
this.make_ls_clickable=function (){
jQuery('.trp_ald_ls_container .trp-ls-shortcode-current-language').click(function (){
jQuery('.trp_ald_ls_container .trp-ls-shortcode-current-language').addClass('trp-ls-clicked');
jQuery('.trp_ald_ls_container .trp-ls-shortcode-language').addClass('trp-ls-clicked');
});
jQuery('.trp_ald_ls_container .trp-ls-shortcode-language').click(function (){
jQuery('.trp_ald_ls_container .trp-ls-shortcode-current-language').removeClass('trp-ls-clicked');
jQuery('.trp_ald_ls_container .trp-ls-shortcode-language').removeClass('trp-ls-clicked');
});
jQuery(document).keyup(function(e){
if(e.key==="Escape"){
jQuery('.trp_ald_ls_container .trp-ls-shortcode-current-language').removeClass('trp-ls-clicked');
jQuery('.trp_ald_ls_container .trp-ls-shortcode-language').removeClass('trp-ls-clicked');
}});
jQuery(document).on("click", function(event){
if(!jQuery(event.target).closest(".trp_ald_ls_container .trp-ls-shortcode-current-language").length){
jQuery('.trp_ald_ls_container .trp-ls-shortcode-current-language').removeClass('trp-ls-clicked');
jQuery('.trp_ald_ls_container .trp-ls-shortcode-language').removeClass('trp-ls-clicked');
}});
}
this.ls_select_language=function(){
var no_text_current_language=document.querySelector('.trp_ald_ls_container .trp-ls-shortcode-current-language');
var no_text_popup_select_current_language=document.querySelector('.trp_ald_ls_container .trp-ls-shortcode-current-language');
var popup_change_button=document.getElementById("trp_ald_popup_change_language");
var button_change_language_no_text_popup=document.getElementById('trp_ald_no_text_popup_change_language');
jQuery('.trp-ald-popup-select').click(function(item){
no_text_current_language.innerHTML=item.target.innerHTML;
no_text_current_language.setAttribute('data-trp-ald-selected-language', item.target.getAttribute('data-trp-ald-selected-language'));
var selected_language=no_text_popup_select_current_language.getAttribute('data-trp-ald-selected-language');
_this.set_language_href(selected_language,popup_change_button,button_change_language_no_text_popup);
});
}
this.ls_make_default_language_preselected=function(response){
var no_text_current_language=document.querySelector('[special-selector="trp_ald_popup_current_language"]');
var all_languages=document.querySelectorAll('.trp_ald_ls_container .trp-ald-popup-select');
var popup_change_button=document.getElementById("trp_ald_popup_change_language");
var button_change_language_no_text_popup=document.getElementById('trp_ald_no_text_popup_change_language');
for(var i=0; i< all_languages.length; i++){
if(all_languages[i].id===response){
no_text_current_language.innerHTML=all_languages[i].innerHTML;
no_text_current_language.setAttribute('data-trp-ald-selected-language', response);
no_text_current_language.setAttribute('id', response);
var selected_language=no_text_current_language.getAttribute('data-trp-ald-selected-language');
_this.set_language_href(selected_language, popup_change_button, button_change_language_no_text_popup);
break;
}}
}
this.set_language_href=function(selected_language, popup_change_button, button_change_language_no_text_popup){
if(popup_change_button!==null){
popup_change_button.href=_this.get_url_for_lang(selected_language);
}
if(button_change_language_no_text_popup!==null){
button_change_language_no_text_popup.href=_this.get_url_for_lang(selected_language);
}}
this.decode_HTML_entities=function(str){
let txt=new DOMParser().parseFromString(str, "text/html");
return txt.documentElement.textContent;
}
this.get_url_for_lang=function(language){
for(i in trp_language_cookie_data['language_urls']){
if(i===language){
let url_for_language=_this.decode_HTML_entities(trp_language_cookie_data['language_urls'][i]);
return url_for_language;
}}
return false;
};
this.is_valid_url=function(url){
if(typeof url==='undefined'||url===''){
return false;
}
var starting_characters=['#','?', 'javascript'];
for (var i=0; i < starting_characters.length; i++){
if(url.substring(0, starting_characters[i].length)===starting_characters[i]){
return false;
}}
return true;
};
this.replace_underscore_with_dash=function (var_replace){
var_replace=var_replace.toLowerCase();
var_replace=var_replace.split("_").join("-");
return var_replace;
}
this.is_same_language_code=function (var1, var2){
var1=_this.replace_underscore_with_dash(var1);
var2=_this.replace_underscore_with_dash(var2);
if(var1==var2||var1=="error_determining_language"||var2=="error_determining_language"){
return true;
}
return false;
}
this.is_login_url=function(url){
if(url.includes("wp-login.php")){
return true;
}
return false;
}
this.add_event_handlers=function(){
jQuery('body').on('click', 'a', function(e){
var clicked_url=jQuery(this).attr("href");
if(_this.is_valid_url(clicked_url)&&!_this.is_login_url(clicked_url)){
var clicked_language=_this.get_lang_from_url(clicked_url);
var trp_current_language=trpCookie.getCookie(trp_language_cookie_data['cookie_name']);
if(!(_this.is_same_language_code(trp_current_language, clicked_language))){
if(trp_language_cookie_data['domain_language_map']&&!_this.get_lang_from_domain(clicked_url) ){
return;
}
trpCookie.setCookie(trp_language_cookie_data['cookie_name'], clicked_language, trp_language_cookie_data['cookie_age'], trp_language_cookie_data['cookie_path'], true);
if(trp_language_cookie_data['domain_language_map']){
e.preventDefault();
var separator=clicked_url.indexOf('?')!==-1 ? '&':'?';
window.location.href=clicked_url + separator + 'trp_lang_switch=1';
return false;
}}
}});
};
this.check_if_iphone_user=function (){
if(trp_language_cookie_data['is_iphone_user_check']==false){
return false;
}else{
if(/iPhone/g.test(navigator.userAgent)){
return true;
}else{
return false;
}}
};
this.redirect_if_needed=function(needed_language){
trpCookie.setCookie(trp_language_cookie_data['cookie_name'], needed_language, trp_language_cookie_data['cookie_age'], trp_language_cookie_data['cookie_path'], true);
_this.add_event_handlers();
if(!(_this.is_same_language_code(_this.get_current_dom_language(), needed_language))&&_this.check_if_iphone_user()==false){
url_to_redirect=_this.get_url_for_lang(needed_language);
if(url_to_redirect!='undefined'&&url_to_redirect!=false){
if(trp_language_cookie_data['popup_type']=='normal_popup'&&trp_language_cookie_data['popup_option']=='popup'){
_this.activate_popup(needed_language, url_to_redirect);
}else{
if(trp_language_cookie_data['popup_type']=='hello_bar'&&trp_language_cookie_data['popup_option']=='popup'){
_this.activate_hello_bar(needed_language, url_to_redirect);
}else{
window.location.replace(url_to_redirect);
}}
}}
};
this.initialize=function (){
trpCookie=new TRP_IN_Cookie();
trpHelper=new TRP_IN_Helper();
if(! trpCookie.areCookiesEnabled()){
_this.add_event_handlers();
return;
}
var urlParams=new URLSearchParams(window.location.search);
if(urlParams.has('trp_lang_switch') ){
urlParams.delete('trp_lang_switch');
var newUrl=window.location.pathname +(urlParams.toString() ? '?' + urlParams.toString():'') + window.location.hash;
history.replaceState(null, '', newUrl);
var currentLanguage=_this.get_lang_from_url(window.location.href);
if(currentLanguage){
trpCookie.setCookie(trp_language_cookie_data['cookie_name'], currentLanguage, trp_language_cookie_data['cookie_age'], trp_language_cookie_data['cookie_path']);
_this.add_event_handlers();
return;
}}
var language_from_cookie=trpCookie.getCookie(trp_language_cookie_data['cookie_name']);
if(language_from_cookie&&trpHelper.in_array(language_from_cookie, trp_language_cookie_data['publish_languages']) ){
_this.redirect_if_needed(language_from_cookie);
}else{
_this.ajax_get_needed_language();
}};
_this.initialize();
}
function TRP_IN_Helper(){
this.trailingslashit=function(string){
string=string.replace(/\/+$/,'');
string=string + '/';
return string;
};
this.ltrim=function(string){
var trimmed=string.replace(/^\s+/g, '');
return trimmed;
};
this.in_array=function (needle, haystack){
for(var i in haystack){
if(haystack[i]==needle){
return true;
}}
return false;
};
this.array_search=function(val, array){
if(typeof(array)==='array'||typeof(array)==='object'){
var rekey;
for(var i in array){
if(array[i]==val){
rekey=i;
break;
}}
return rekey;
}};
this.update_query_string=function(key, value, url){
if(!url) url=window.location.href;
var re=new RegExp("([?&])" + key + "=.*?(&|#|$)(.*)", "gi"),
hash;
if(re.test(url)){
if(typeof value!=='undefined'&&value!==null)
return url.replace(re, '$1' + key + "=" + value + '$2$3');
else {
hash=url.split('#');
url=hash[0].replace(re, '$1$3').replace(/(&|\?)$/, '');
if(typeof hash[1]!=='undefined'&&hash[1]!==null)
url +='#' + hash[1];
return url;
}}else{
if(typeof value!=='undefined'&&value!==null){
var separator=url.indexOf('?')!==-1 ? '&':'?';
hash=url.split('#');
url=hash[0] + separator + key + '=' + value;
if(typeof hash[1]!=='undefined'&&hash[1]!==null)
url +='#' + hash[1];
return url;
}
else
return url;
}};}
function TRP_IN_Cookie(){
var _this=this;
this.syncInProgress=false;
this.setCookie=function(cname, cvalue, exdays, cpath, skipSync){
var d=new Date();
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
var expires="expires=" + d.toUTCString();
document.cookie=cname + "=" + cvalue + ";" + expires + ";path=" + cpath + ";SameSite=Lax";
if(cname===trp_language_cookie_data['cookie_name']&&!skipSync){
_this.syncToOtherDomains(cvalue);
}};
this.getCookie=function(cname){
var name=cname + "=";
var ca=document.cookie.split(';');
for(var i=0; i < ca.length; i++){
var c=ca[i];
while (c.charAt(0)==' '){
c=c.substring(1);
}
if(c.indexOf(name)==0){
return c.substring(name.length, c.length);
}}
return "";
};
this.eraseCookie=function(name){
document.cookie=name+'=; Max-Age=-99999999;';
};
this.areCookiesEnabled=function(){
if(navigator.cookieEnabled) return true;
document.cookie="cookietest=1";
var ret=document.cookie.indexOf("cookietest=")!=-1;
document.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT";
return ret;
};
this.syncToOtherDomains=function(cookieValue){
if(!trp_language_cookie_data['sync_enabled'] ||
!trp_language_cookie_data['sync_ajax_urls'] ||
_this.syncInProgress){
return;
}
_this.syncInProgress=true;
var currentDomain=trp_language_cookie_data['current_domain'];
var ajaxUrls=trp_language_cookie_data['sync_ajax_urls'];
for(var language in ajaxUrls){
if(!ajaxUrls.hasOwnProperty(language) ){
continue;
}
var ajaxUrl=ajaxUrls[ language ];
if(ajaxUrl.indexOf(currentDomain)===0){
continue;
}
_this.injectSyncIframe(ajaxUrl, cookieValue);
}
setTimeout(function(){
_this.syncInProgress=false;
}, 5000);
};
this.injectSyncIframe=function(restUrl, cookieValue){
var iframe=document.createElement('iframe');
iframe.style.display='none';
iframe.className='trp-ald-sync-iframe';
iframe.src=restUrl + '?trp_ald_cv=' + encodeURIComponent(cookieValue);
iframe.onload=function(){
setTimeout(function(){
if(iframe.parentNode){
iframe.parentNode.removeChild(iframe);
}}, 1000);
};
setTimeout(function(){
if(iframe.parentNode){
iframe.parentNode.removeChild(iframe);
}}, 10000);
document.body.appendChild(iframe);
};}
jQuery(function(){
trpDetermineLanguage=new TRP_IN_Determine_Language();
});
function Copy(){
navigator.clipboard.writeText(window.location.href).catch(function (err){
console.error("Failed to copy URL: ", err);
});
}
jQuery(document).ready(function (e){
function chatbotaiload(){
var isSpecialPage=e("body").hasClass("page-id-45410");
function loadChatbot(id){
window.__be=window.__be||{};
window.__be.id=id;
var script=document.createElement("script");
script.type="text/javascript";
script.async=true;
script.src=(document.location.protocol==="https:" ? "https://":"http://") + "cdn.chatbot.com/widget/plugin.js";
var firstScript=document.getElementsByTagName("script")[0];
firstScript.parentNode.insertBefore(script, firstScript);
}
if(isSpecialPage){
setTimeout(()=> {
loadChatbot("6597c3e121bba60007aec50e");
}, 2000);
}else{
setTimeout(()=> {
loadChatbot("6585407f21bba60007944536");
}, 2000);
}};
setTimeout(()=> {
chatbotaiload();
}, 3000);
const observer=lozad('.lozad', {
loaded: el=> {
el.classList.add('loaded');
}});
observer.observe();
e(".top-sec .textwidget b:first-child").addClass("show");
var totalItems=e(".top-sec .textwidget b").length;
if(totalItems > 1){
let currentIndex=1;
setInterval(function (){
e(".top-sec .textwidget b.show").removeClass("show");
e(".top-sec .textwidget b:nth-child(" + (currentIndex + 1) + ")").addClass("show");
currentIndex=(currentIndex + 1) % totalItems;
}, 10000);
}
if(e("[uk-lightbox]").length&&!e('link[href*="uikit.css"]').length){
e("head").append('<link rel="stylesheet" href="/wp-content/themes/Navori/assets/css/uikit.css" type="text/css" />');
}
e(window).scroll(function (){
e(this).scrollTop() > 50 ? e("#back-to-top").css("display", "flex"):e("#back-to-top").css("display", "none");
});
e("#back-to-top").click(function (){
e("body,html").animate({ scrollTop: 0 }, 400);
return false;
});
e("#search-form").click(function (){
""!=e("form.search-form .search-field").val() ? e("#search-form").attr("type", "submit"):e("form.search-form input").toggleClass("dn");
});
e("header .navbar-toggle").click(function (){
e(this).hasClass("times") ? (e("header .navbar-toggle").toggleClass("times"), e("header .navbar-collapse").toggleClass("show")):(e(this).toggleClass("times"), e("header .navbar-collapse").toggleClass("show"));
});
const currencySymbols={
USD: "$",
CAD: "C$",
EUR: "€",
CHF: "SFr.",
INR: "₹",
};
const pageConfigs=[
{
pageId: "page-id-45221",
products: [
{ selector: "#pricing-page", partNumber: "CSA-04" },
{ selector: ".hardware", partNumber: "HW-10" },
],
},
{
pageId: "page-id-11366",
products: [
{ selector: "", partNumber: "HW-05" },
],
},
{
pageId: "page-id-57356",
products: [
{ selector: "", partNumber: "HW-10" },
],
},
];
const getPrice=(data, partNumber, currency)=> data.find((item)=> item.part_Number===partNumber&&item.currency===currency)?.unitPrice||"N/A";
const updatePrice=(selector, partNumber, currency, data)=> {
const price=getPrice(data, partNumber, currency);
const symbol=currencySymbols[currency]||"";
const target=selector ? `${selector} .price-text`:".price-text";
e(target).html(`<span>${symbol}</span>${price}`);
};
const setupCurrencySwitcher=(selector, partNumber, data)=> {
const target=selector ? `${selector} #price ul li`:"#price ul li";
e(target).click(function (){
e(target).removeClass("active");
e(this).addClass("active");
const index=e(this).index();
const currencyOrder=["USD", "CAD", "EUR", "CHF", "INR"];
const selectedCurrency=currencyOrder[index]||"USD";
updatePrice(selector, partNumber, selectedCurrency, data);
});
};
pageConfigs.forEach(({ pageId, products })=> {
if(e("body").hasClass(pageId)){
e.ajax({
headers: { Accept: "application/json" },
type: "POST",
url: "https://extranet.navori.com/ng/web-api/api/web/getpricelist/0",
success: function (data){
products.forEach(({ selector, partNumber })=> {
updatePrice(selector, partNumber, "USD", data);
setupCurrencySwitcher(selector, partNumber, data);
tempfucn();
});
},
error: function (){
console.error(`Failed to fetch pricing data for ${pageId}`);
},
});
}});
function tempfucn(){
e.ajax({
url: "https://ipapi.co/json",
jsonpCallback: "callback",
dataType: "json",
success: function(t){
if(t.country_name=="India"){
e(".hardware .price-text + b").html('Pack of 6 <sup>*</sup>');
e(".stxsec .works").html('Pack of 6 <sup>*</sup>');
}}
});
}
if(e("body").hasClass("postid-47838")){
var ver=e("#version"),
cate=e("#categoryproduct"),
mod=e("#productsoftware");
e.ajax({
headers: { Accept: "application/json" },
type: "get",
cors: !0,
url: "https://extranet.navori.com/ng/web-api/api/Web/getReleaseNotes",
success: function (data){
version(data, ver, 'version');
version(data, cate, 'category');
version(data, mod, 'software');
insertdatatable(data);
selectdata(data);
}});
function version(data, ver, name){
ver.empty();
const defaultOption=e("<option/>", {
value: "",
text: "Select",
selected: true
});
ver.append(defaultOption);
const values=[...new Set(data.map(item=> item[name]))];
values.sort();
values.forEach(value=> {
const option=e("<option/>", {
value: value,
text: value
});
ver.append(option);
});
}
function insertdatatable(data){
const a=e("table");
const categoryOrder=["new feature", "improvement", "live data connector", "bug fixes"];
const softwareOrder=["cms", "player", "server", "api", "stix 3700", "stix 3800", "qlmob", "connector"];
const versionMap={};
data.forEach(item=> {
const version=item.version;
if(!versionMap[version]) versionMap[version]=[];
versionMap[version].push(item);
});
const sortedVersions=Object.keys(versionMap).sort((a, b)=> compareVersions(b, a));
sortedVersions.forEach(version=> {
const versionData=versionMap[version];
versionData.sort((x, y)=> {
const catX=x.category?.toLowerCase()||"";
const catY=y.category?.toLowerCase()||"";
const swX=x.software?.toLowerCase()||"";
const swY=y.software?.toLowerCase()||"";
const catIndexX=categoryOrder.indexOf(catX);
const catIndexY=categoryOrder.indexOf(catY);
if(catIndexX!==catIndexY){
return (catIndexX!==-1 ? catIndexX:999) - (catIndexY!==-1 ? catIndexY:999);
}
const swIndexX=softwareOrder.indexOf(swX);
const swIndexY=softwareOrder.indexOf(swY);
return (swIndexX!==-1 ? swIndexX:999) - (swIndexY!==-1 ? swIndexY:999);
});
versionData.forEach(b=> {
const c=new Date(b.release_date);
const cc=new Intl.DateTimeFormat("en-US", {
year: "numeric",
month: "2-digit",
day: "2-digit"
}).format(c);
const r=e(`<tr><td>${cc}</td><td>${b.reference}</td><td>${b.version}</td><td>${b.category}</td><td>${b.software}</td><td>${b.description}</td></tr>`);
a.append(r);
});
});
}
function compareVersions(v1, v2){
const parts1=v1.split('.').map(Number);
const parts2=v2.split('.').map(Number);
const length=Math.max(parts1.length, parts2.length);
for (let i=0; i < length; i++){
const num1=parts1[i]||0;
const num2=parts2[i]||0;
if(num1 > num2) return 1;
if(num1 < num2) return -1;
}
return 0;
}
function selectdata(data){
e("select#version, select#categoryproduct, select#productsoftware").on("change", function (){
filternewdata(data);
});
e("#search-text").on("keydown", function (e){
if(e.key===" "&&this.selectionStart===0){
e.preventDefault();
}
else if(e.key==="Enter"){
e.preventDefault();
searchnewdata(data, "1");
}else{
searchnewdata(data, "0");
}});
}
function filternewdata(data){
e("#search").attr("disabled", "disabled");
e("#search-text").val("");
e("table tr:gt(0)").remove();
const s=e("#version").find(":selected").val();
const d=e("#categoryproduct").find(":selected").val();
const l=e("#productsoftware").find(":selected").val();
const filteredData=data.filter(item=> {
const matchVersion = !s||item.version===s;
const matchCategory = !d||item.category===d;
const matchModule = !l||item.software===l;
return matchVersion&&matchCategory&&matchModule;
});
if(filteredData.length===0){
e("table").append(`<tr><td colspan="6" style="text-align:center;">No Data Found</td></tr>`);
}else{
insertdatatable(filteredData);
}}
function searchnewdata(data, check){
e("#search").prop("disabled", false);
e("#version, #categoryproduct, #productsoftware").prop("selectedIndex", 0);
if(check=="1"){
const s=e("#search-text").val().toLowerCase();
const filteredData=data.filter(item=> {
return (
item.description.toLowerCase().includes(s)
);
});
e("table tr:gt(0)").remove();
insertdatatable(filteredData);
}else{
e("#search").on("click", function(){
const s=e("#search-text").val().toLowerCase();
const filteredData=data.filter(item=> {
return (
item.description.toLowerCase().includes(s)
);
});
e("table tr:gt(0)").remove();
if(filteredData.length===0){
e("table").append(`<tr><td colspan="6" style="text-align:center;">No Data Found</td></tr>`);
}else{
insertdatatable(filteredData);
}})
}}
}
if(e("div").hasClass("azrueserver")){
var s=e(".azrueserver table"),
d=e("#serverrequirement"),
l="";
e.ajax({
headers: { Accept: "application/json" },
type: "get",
cors: !0,
url: "https://extranet.navori.com/ng/web-api/api/Web/getAzSpecs",
success: function (t){
(l=t),
e.each(t, function (e, t){
var r=jQuery("<option/>", { value: t.volumeId, text: t.noOfConnectedPlayers });
d.append(r);
}),
e("#serverrequirement option").each(function (){
e(this)
.siblings('[value="' + this.value + '"]')
.remove();
}),
e("#serverrequirement option:nth-child(2)").attr("selected", "selected");
var r=e("#serverrequirement").val();
e("table tr:gt(0)").remove(),
e.each(t.filter((e)=> e.volumeId==r&&1==e.isActive),
function (e, t){
if(null!=t.detailedSpecification)
if(null!=t.numberSpecification) var r=jQuery("<tr><td>" + t.resourceType + "</td><td>" + t.numberSpecification + "</td><td>" + t.detailedSpecification + "</td></tr>");
else r=jQuery("<tr><td>" + t.resourceType + "</td><td>-</td><td>" + t.detailedSpecification + "</td></tr>");
else if(null!=t.numberSpecification) r=jQuery("<tr><td>" + t.resourceType + "</td><td>" + t.numberSpecification + "</td><td>-</td></tr>");
else r=jQuery("<tr><td>" + t.resourceType + "</td><td>-</td><td>-</td></tr>");
s.append(r);
}
);
},
}),
e("select#serverrequirement").on("change", function (){
var t=e("#serverrequirement").val();
e("table tr:gt(0)").remove(),
e.each(l.filter((e)=> e.volumeId==t&&1==e.isActive),
function (e, t){
if(null!=t.detailedSpecification)
if(null!=t.numberSpecification) var r=jQuery("<tr><td>" + t.resourceType + "</td><td>" + t.numberSpecification + "</td><td>" + t.detailedSpecification + "</td></tr>");
else r=jQuery("<tr><td>" + t.resourceType + "</td><td>-</td><td>" + t.detailedSpecification + "</td></tr>");
else if(null!=t.numberSpecification) r=jQuery("<tr><td>" + t.resourceType + "</td><td>" + t.numberSpecification + "</td><td>-</td></tr>");
else r=jQuery("<tr><td>" + t.resourceType + "</td><td>-</td><td>-</td></tr>");
s.append(r);
}
);
});
}
if(e("article").hasClass("hardware")||e("article").hasClass("chromeos-details-lp")||e("article").hasClass("stxsec")){
let contentData=[],
liveConnectors=[],
mediaFields=[],
brandId=e(".supoort-content").attr("id").toLowerCase(),
$table=e(".supoort-content table");
e(".supoort-content .wpb_wrapper h2").after('<form><div class="form-field"><label>Select a Model<sup>*</sup></label><br><select id="modelinner"></select></div></form>'
);
const $dropdown=e("#modelinner");
function getFieldValue(brand, model, version, fieldKey){
const match=contentData.find((item)=> item.mediaplayerbrand===brand&&item.mediaplayermodel===model&&item.mediaplayerosversion===version);
return match ? match[fieldKey]:undefined;
}
function renderLiveConnectorSection(){
if(e(".supoort-content .live-data-wrapper").length===0){
const wrapper=e("<div class='live-data-wrapper'/>");
wrapper.append("<h2>Live Data Connectors</h2>");
wrapper.append("<table><tbody><tr><th>Name</th><th>Detail</th></tr></tbody></table>");
e(".supoort-content .wpb_wrapper").append(wrapper);
e.each(liveConnectors, function (i, item){
wrapper.find("tbody").append(`<tr><td>${item.fieldName}</td><td>${item.websiteGridColumn}</td></tr>`
);
});
}}
function populateMediaRows(){
$table.find("tr:gt(0)").remove();
e.each(mediaFields, function (index, field){
const row=`<tr><td>${field.websiteGridColumn}</td><td><div class="dashed"></div></td></tr>`;
$table.append(row);
});
}
function updateMediaCompatibility(){
const selected=$dropdown.val().split(",");
const brand=selected[0], model=selected[1], version=selected[2];
e.each(mediaFields, function (index, field){
const fieldKey=field.fieldName.toLowerCase();
const value=getFieldValue(brand, model, version, fieldKey);
const cell=`.supoort-content > .wpb_wrapper > table tr:nth-child(${index + 2}) td:nth-child(2)`;
if(value===true){
e(cell).html('<div class="check"></div>');
}else if(value===false){
e(cell).html('<div class="dashed"></div>');
}else if(value===undefined){
e(cell).html("undefined");
}else{
e(cell).html(value);
}});
}
function fetchContentCheckerList(){
e.ajax({
headers: { Accept: "application/json" },
type: "POST",
cors: true,
url: "https://extranet.navori.com/ng/web-api/api/web/getcontentCheckerList",
success: function (data){
contentData=JSON.parse(JSON.stringify(data).replace(/"([^"]+)":/g, (_, key)=> `"${key.toLowerCase()}":`)
);
e(".supoort-content .wpb_wrapper form").before("<h2>Supported Medias</h2>");
data.filter(d=> d.mediaPlayerBrand.toLowerCase()===brandId&&d.visibleWebSite===true)
.forEach(d=> {
const label=`${d.mediaPlayerBrand} ${d.mediaPlayerModel} ${d.mediaPlayerOS} ${d.mediaPlayerOSVersion}`;
const value=`${d.mediaPlayerBrand},${d.mediaPlayerModel},${d.mediaPlayerOSVersion}`;
$dropdown.append(jQuery("<option/>", { value, text: label }));
});
if(e('body').hasClass('page-id-57356')){
e("#modelinner").val('Navori,StiX 3800,11').change();
}
if($dropdown[0].childElementCount > 0){
populateMediaRows();
updateMediaCompatibility();
renderLiveConnectorSection();
}}
});
}
function fetchSupportedContent(){
e.ajax({
headers: { Accept: "application/json" },
type: "GET",
cors: true,
url: "https://extranet.navori.com/ng/web-api/api/web/getSupportedContent",
success: function (response){
liveConnectors=response.filter(item=> item.type==="Live data connector");
mediaFields=response.filter(item=> item.type==="Media");
fetchContentCheckerList();
}});
}
fetchSupportedContent();
$dropdown.on("change", function (){
updateMediaCompatibility();
});
}
if(e("body").hasClass("page-id-60885")){
var urlParts=e(location).attr("href").split("=");
var verificationCode=urlParts[1];
if(verificationCode!==undefined){
e.ajax({
type: "POST",
url: "/wp-admin/admin-ajax.php",
data: {
action: "verified_newuser",
verifi: verificationCode,
},
success: function (response){
if(response==="0"){
setTimeout(function (){
window.location.href=e(location).attr("origin") + "/log-in/";
}, 2500);
}},
});
}else{
setTimeout(function (){
window.location.href=e(location).attr("origin") + "/thank-you/";
}, 4500);
}}
if(screen.width <=960){
e("table").each(function (){
if(!e(this).parent().hasClass("responsive")){
e(this).wrap('<div class="responsive"></div>');
}});
}
if(document.getElementById("home-dss-service")){
e("#home-dss-service button").click(function (){
this.innerHTML=this.innerHTML==="Read more" ? "Read less":"Read more";
e(this).siblings("p").toggleClass("full");
});
}
if(e("body").hasClass("page-id-60197")){
e.ajax({
headers: { Accept: "application/json" },
type: "GET",
cors: true,
url: "https://extranet.navori.com/ng/web-api/api/web/getConnectorCategories",
success: function (categories){
let filterButtonsHTML="";
let categoryList=[];
let connectorList=[];
e.each(categories, function (index, cat){
filterButtonsHTML +=`<button class="filter-button" data-filter="${cat.text}">${cat.text}</button>`;
categoryList.push(cat.text);
});
e(".filter-buttons").append(filterButtonsHTML);
e(".filter-button").click(function (){
const selectedFilter=e(this).data("filter");
e(".filter-button").removeClass("active");
e(this).addClass("active");
if(selectedFilter==="All"){
e(".gallery-inner-row").show();
}else{
e(".gallery-inner-row").each(function (){
const rowCategory=e(this).data("type");
e(this).toggle(rowCategory===selectedFilter);
});
}});
e.ajax({
headers: { Accept: "application/json" },
type: "GET",
cors: true,
url: "https://extranet.navori.com/ng/web-api/api/web/getConnectors",
success: function (data){
connectorList=data;
renderConnectors(data);
},
});
function renderConnectors(connectors){
e(".gallery-connector").empty();
e.each(categoryList, function (_, category){
const categoryConnectors=connectors.filter(conn=> conn.category===category);
const badges=[...new Set(categoryConnectors.map(c=> c.badge))].sort();
e(".gallery-connector").append(`<div class="gallery-inner-row" data-type="${category}"><h2>${category}</h2></div>`);
badges.forEach(badge=> {
categoryConnectors
.filter(c=> c.badge===badge)
.forEach(conn=> {
let badgeLabel="";
if(conn.badge==1) badgeLabel="Popular";
else if(conn.badge==2) badgeLabel="New";
else if(conn.badge==3) badgeLabel="Roadmap";
else if(conn.badge==5) badgeLabel="Coming Soon";
const logo=atob(conn.logo);
const html=`
<div class="gallery-item">
<div class="inner">
${badgeLabel ? `<div class="badge-${conn.badge}">${badgeLabel}</div>`:""}
${logo}
<div class="text-description">
<h3>${conn.name}</h3>
<p>${conn.description}</p>
</div>
</div>
</div>`;
e(`.gallery-inner-row[data-type='${category}']`).append(html);
});
});
});
}
function searchConnectors(){
const keyword=e("#search-box").val().toLowerCase().trim();
if(keyword!==""){
e(".filter-buttons").addClass("dn");
e(".gallery-connector").empty();
const matchedConnectors=connectorList.filter(conn=>
conn.name.toLowerCase().includes(keyword)
);
e(".gallery-connector").append(`<div class="gallery-inner-row"><h2>Result for "${keyword}"</h2></div>`);
matchedConnectors.forEach(conn=> {
let badgeLabel="";
if(conn.badge==1) badgeLabel="Popular";
else if(conn.badge==2) badgeLabel="New";
else if(conn.badge==3) badgeLabel="Roadmap";
else if(conn.badge==5) badgeLabel="Coming Soon";
const logo=atob(conn.logo);
const html=`
<div class="gallery-item">
<div class="inner">
${badgeLabel ? `<div class="badge-${conn.badge}">${badgeLabel}</div>`:""}
${logo}
<div class="text-description">
<h3>${conn.name}</h3>
<p>${conn.description}</p>
</div>
</div>
</div>`;
e(".gallery-inner-row").append(html);
});
}else{
e(".filter-buttons").removeClass("dn");
e(".gallery-connector").empty();
e(".filter-button").removeClass("active");
e(".filter-buttons .filter-button:first-child").addClass("active");
renderConnectors(connectorList);
}}
e("#search-button").click(searchConnectors);
e("#search-box").on("keydown", function (event){
if(event.which===13) searchConnectors();
});
},
});
}
e('a[href^="#"]').on('click', function(d){
d.preventDefault();
var target=this.hash;
var $target=e(target);
if($target.length){
e('html, body').animate({
scrollTop: $target.offset().top
}, 800);
}});
if(e("body").hasClass("postid-59952")){
e.ajax({
headers: { Accept: "application/json" },
type: "GET",
cors: true,
url: "https://extranet.navori.com/ng/web-api/api/web/getSupportedContent",
success: function (data){
const connectors=data.filter(item=> item.type==="Live data connector");
const slider=jQuery(".connector-slider");
slider.append("<div class='connector-track'></div>");
slider.append(`
<div class='connector-nav'>
<button id='previous'>
<img decoding='async' src='/wp-content/uploads/2023/09/Long-arrow.png' alt='Previous' width='64' height='64'>
</button>
<button id='next'>
<img decoding='async' src='/wp-content/uploads/2023/09/Long-arrow.png' alt='Next' width='64' height='64'>
</button>
</div>
`);
connectors.forEach(connector=> {
const img=atob(connector.image);
slider.find(".connector-track").append(`<div class='slide'>${img}<p>${connector.fieldName}</p></div>`);
});
let currentIndex=0;
let offset=0;
const slideWidth=186;
function nextSlide(){
offset +=slideWidth;
currentIndex++;
const clone=jQuery(`.connector-track > div:nth-child(${currentIndex})`).clone().addClass("clone");
jQuery(".connector-track").append(clone);
jQuery(".connector-track").css("transform", `translateX(-${offset}px)`);
}
function startAutoScroll(){
setTimeout(()=> {
nextSlide();
setInterval(nextSlide, 2500);
}, 5500);
}
jQuery("#next").click(nextSlide);
jQuery("#previous").click(function (){
if(offset > 0){
offset -=e(".connector-slider").prop("id")==="Small" ? 456.33:382;
jQuery(".connector-track").css("transform", `translateX(-${offset}px)`);
}});
startAutoScroll();
},
});
}
if(e("body").hasClass("postid-47555")){
var h='',
c='',
d='',
f=e("#supportbrand"),
g=e(".check-design table");
function connectors(){
e(".check-design .wpb_wrapper").append("<div class='wpb_wrapper'>");
e(".check-design .wpb_wrapper > div").append("<h2>Live Data Connectors</h2>");
e(".check-design .wpb_wrapper > div").append("<table>");
e(".check-design .wpb_wrapper > div table").append("<tbody>");
e(".check-design .wpb_wrapper > div table tbody").append("<tr><th>Name</th><th>Detail</th></tr>");
e.each(c, function (e, t){
jQuery(".check-design .wpb_wrapper > div table tbody").append("<tr><td>" + t.fieldName + "</td><td>" + t.websiteGridColumn + "</td></tr>");
})
}
function getdescription (l, m, n, r){
return h.filter((e)=> e.mediaplayerbrand===l&&e.mediaplayermodel===m&&e.mediaplayerosversion===n)[0][r];
}
function detailfill(){
var j=[],
k=e("#supportbrand").find(":selected").val(),
l=(k=k.split(","))[0],
m=k[1],
n=k[2];
e.each(d, function (e){
var r=d[e].fieldName.toLowerCase();
j.push(r);
});
e.each(j, function (t, r){
t +=2;
var o=getdescription(l, m, n, r);
!0===o ? e(".check-design table tr:nth-child(" + t + ") td:nth-child(2)").html('<div class="check"></div>'):!1===o
? e(".check-design table tr:nth-child(" + t + ") td:nth-child(2)").html('<div class="dashed"></div>'):void 0===o
? e(".check-design table tr:nth-child(" + t + ") td:nth-child(2)").html("undefined"):e(".check-design table tr:nth-child(" + t + ") td:nth-child(2)").html(o);
})
connectors();
}
function brand (){
e.ajax({
headers: {Accept: "application/json"},
type: "POST",
cors: !0,
url: "https://extranet.navori.com/ng/web-api/api/web/getcontentCheckerList",
success: function (a){
h=JSON.parse(JSON.stringify(a).replace(/"([^"]+)":/g, function (e, t){return '"' + t.toLowerCase() + '":'}));
e(".check-design .wpb_wrapper form").before("<h2>Supported Medias</h2>");
e.each(a, function (e, t){
var aa=t.mediaPlayerBrand + " " + t.mediaPlayerModel + " " + t.mediaPlayerOS + " " + t.mediaPlayerOSVersion,
bb=t.mediaPlayerBrand + "," + t.mediaPlayerModel + "," + t.mediaPlayerOSVersion,
i=jQuery("<option/>", {value: bb, text: aa});
f.append(i);
}),
e("#supportbrand option[value='Navori,StiX 3700,9']").attr("selected", "selected"),
e.each(d, function (e, t){
var h=t.websiteGridColumn,
i=jQuery("<tr><td>" + h + "</td><td><div class='dashed'></td></tr>");
g.append(i);
}),
detailfill();
},
})
}
e.ajax({
headers: {Accept: "application/json"},
type: "GET",
cors: !0,
url: "https://extranet.navori.com/ng/web-api/api/web/getSupportedContent",
success: function (b){
c=b.filter(function (e){return "Live data connector"==e.type }),
d=b.filter(function (e){return "Media"==e.type });
brand ();
},
})
e("select#supportbrand").on("change", function (){
var ss=e("#supportbrand").val();
var j=[],
k=e("#supportbrand").find(":selected").val(),
l=(k=k.split(","))[0],
m=k[1],
n=k[2];
e.each(d, function (e){
var r=d[e].fieldName.toLowerCase();
j.push(r);
});
e.each(j, function (t, r){
t +=2;
var o=getdescription(l, m, n, r);
!0===o ? e(".check-design > .wpb_wrapper > table tr:nth-child(" + t + ") td:nth-child(2)").html('<div class="check"></div>'):!1===o
? e(".check-design > .wpb_wrapper > table tr:nth-child(" + t + ") td:nth-child(2)").html('<div class="dashed"></div>'):void 0===o
? e(".check-design > .wpb_wrapper > table tr:nth-child(" + t + ") td:nth-child(2)").html("undefined"):e(".check-design > .wpb_wrapper > table tr:nth-child(" + t + ") td:nth-child(2)").html(o);
})
})
}});
jQuery(window).on("load", function(){var totalslides=jQuery(".Navorislider .track .slide").length;var toslide=0; var slidecheck=""; var count=0;function slidestart(){cloneslide();setTimeout(function(){slidenextcheck()}, 5500)}function cloneslide(){count++;if(jQuery(".Navorislider").prop('id')=='Small'){toslide=Number(toslide) + 456.33}else{toslide=Number(toslide) + 382}jQuery(".track").append(jQuery(".track > div:nth-child("+count+")").clone().addClass("clone"));jQuery(".track").css("transform","translateX(-"+ toslide +"px)");}setTimeout(function(){slidestart();}, 5500);function slidenextcheck(){cloneslide();setTimeout(function(){slidenextcheck()}, 2500)}jQuery(".track-nav #next").click(function(){cloneslide();});jQuery(".track-nav #previous").click(function(){if(toslide >=1){if(jQuery(".Navorislider").prop('id')=='Small'){toslide=Number(toslide) - 456.33}else{toslide=Number(toslide) - 382}jQuery(this).parent().parent().children(".track").css("transform","translateX(-"+ toslide +"px)")}})});
class BaseSwitcher {
constructor(rootEl){
this.root=rootEl;
this.list=rootEl?.querySelector('.trp-switcher-dropdown-list')||null;
this.isOpen=false;
this._pendingFocusOnOpen=false;
if(!this.root||!this.list) return;
if(!this.list.id){
this.list.id=`trp-list-${Math.random().toString(36).slice(2, 9)}`;
}
this._onTe=(e)=> {
if(e.target!==this.list||e.propertyName!=='max-height') return;
this.root.classList.remove('is-transitioning');
if(!this.isOpen){
this.list.hidden=true;
this.list.setAttribute('inert', '');
}else if(this._pendingFocusOnOpen){
this._pendingFocusOnOpen=false;
const first=this.list.querySelector('[role="option"], a, button, [tabindex]:not([tabindex="-1"])'
);
first?.focus?.({ preventScroll: true });
}};
this.list.addEventListener('transitionend', this._onTe);
this.collapse();
this.setAutoWidth();
this.bindKeyboard();
}
_hasAnimatedTransition(){
if(!this.list) return false;
const cs=getComputedStyle(this.list);
const durationsRaw=cs.transitionDuration||'';
if(!durationsRaw) return false;
const durations=durationsRaw
.split(',')
.map(str=> parseFloat(str)||0);
return durations.some(d=> d > 0);
}
collapse(){
this.list.hidden=true;
this.list.setAttribute('inert', '');
this.setExpanded(false);
this.root.classList.remove('is-transitioning');
}
setAutoWidth(){
const bonusWidth=10;
const cs=getComputedStyle(this.root);
const declaredWidth=cs.getPropertyValue('--switcher-width').trim();
if(declaredWidth==='auto'&&this.root.querySelector('.trp-language-item-name')){
const initialWidth=this.root.getBoundingClientRect().width;
this.root.style.setProperty('--switcher-width', (initialWidth + bonusWidth) + 'px');
}}
setExpanded(open){
const trigger=this.root.querySelector('.trp-language-item__current[role="button"]');
const val=String(!!open);
trigger?.setAttribute('aria-expanded', val);
this.root.classList.toggle('is-open', !!open);
}
setOpen(open, { source=null }={}){
if(!this.root||!this.list||open===this.isOpen) return;
const prefersReduced=window.matchMedia?.('(prefers-reduced-motion: reduce)')?.matches;
const hasTransition  = !prefersReduced&&this._hasAnimatedTransition();
this.isOpen=open;
if(!hasTransition){
if(open){
this.list.hidden=false;
this.list.removeAttribute('inert');
this.setExpanded(true);
this._pendingFocusOnOpen=(source?.type==='keydown');
if(this._pendingFocusOnOpen){
this._pendingFocusOnOpen=false;
const first=this.list.querySelector('[role="option"], a, button, [tabindex]:not([tabindex="-1"])'
);
first?.focus?.({ preventScroll: true });
}}else{
this.setExpanded(false);
this.list.hidden=true;
this.list.setAttribute('inert', '');
this._pendingFocusOnOpen=false;
}
return;
}
if(open){
this.list.hidden=false;
this.list.removeAttribute('inert');
this._pendingFocusOnOpen=(source?.type==='keydown');
this.root.classList.add('is-transitioning');
requestAnimationFrame(()=> this.setExpanded(true) );
}else{
this.root.classList.add('is-transitioning');
this.setExpanded(false);
}}
bindKeyboard(){
const trigger=this.root.querySelector('.trp-language-item__current[role="button"]');
if(!trigger) return;
trigger.addEventListener('keydown', (e)=> {
const inList = !!e.target.closest?.('.trp-switcher-dropdown-list');
if(e.key==='Enter'||e.key===' '){
e.preventDefault();
this.setOpen(!this.isOpen, { source: e });
return;
}
if(e.key==='ArrowDown'&&!this.isOpen){
e.preventDefault();
this.setOpen(true, { source: e });
}
if(e.key==='Escape'){
this.setOpen(false, { source: e });
trigger.focus?.();
}});
}}
class ShortcodeSwitcher extends BaseSwitcher {
constructor(wrapper){
const overlay =
wrapper.querySelector('.trp-language-switcher.trp-shortcode-overlay')
|| [...wrapper.querySelectorAll('.trp-language-switcher')]
.find(el=> el.classList.contains('trp-shortcode-overlay'));
overlay.hidden=false;
overlay.removeAttribute('hidden');
overlay.removeAttribute('inert');
if('inert' in overlay) overlay.inert=false;
super(overlay);
if(!this.root||!this.list) return;
const control=this.root.querySelector('.trp-language-item__current[role="button"]');
if(control&&this.list&&!control.hasAttribute('aria-controls')){
control.setAttribute('aria-controls', this.list.id);
}
const isClickMode =
this.root.classList.contains('trp-open-on-click') ||
wrapper.dataset.openMode==='click' ||
wrapper.classList.contains('trp-open-on-click');
if(isClickMode){
this.root.addEventListener('click', (e)=> {
const inList=e.target.closest('.trp-switcher-dropdown-list');
if(!inList){
e.preventDefault();
e.stopPropagation();
this.setOpen(!this.isOpen, { source: e });
}}, true);
this.onDocClick=(evt)=> {
if(!wrapper.contains(evt.target)) this.setOpen(false, { source: evt });
};
document.addEventListener('click', this.onDocClick, true);
wrapper.addEventListener('focusout', ()=> {
setTimeout(()=> {
if(!wrapper.contains(document.activeElement)){
this.setOpen(false, { source: 'keyboard' });
}}, 0);
});
}else{
this.root.addEventListener('mouseenter', (e)=> this.setOpen(true,  { source: e }));
this.root.addEventListener('mouseleave', (e)=> this.setOpen(false, { source: e }));
}}
}
class FloaterSwitcher extends BaseSwitcher {
constructor(el){
super(el);
el.addEventListener('mouseenter', (e)=> this.setOpen(true,  { source: e }));
el.addEventListener('mouseleave', (e)=> this.setOpen(false, { source: e }));
this.onDocClick=(evt)=> { if(!el.contains(evt.target)) this.setOpen(false, { source: evt });};
document.addEventListener('click', this.onDocClick, true);
}}
document.addEventListener('DOMContentLoaded', ()=> {
initLanguageSwitchers(document);
if(inGutenberg() &&
!getEditorDoc().querySelector(WRAPPER)
){
observeWrapperUntilFound();
}
if(!inGutenberg())
observeShortcodeSwitcher();
});
const TRP_BOUND=new WeakSet();
const mark=(el)=> TRP_BOUND.add(el);
const isMarked=(el)=> TRP_BOUND.has(el);
const WRAPPER='.trp-shortcode-switcher__wrapper';
const OVERLAY='.trp-language-switcher:not(.trp-opposite-button)';
function inGutenberg(){
return document.body?.classList?.contains('block-editor-page')
|| !!(window.wp?.data?.select?.('core/block-editor'));
}
function getEditorDoc(){
const ifr=document.querySelector('iframe[name="editor-canvas"], .editor-canvas__iframe');
return (ifr&&ifr.contentDocument) ? ifr.contentDocument:document;
}
function initLanguageSwitchers(root=document){
const floater=root.querySelector('.trp-language-switcher.trp-ls-dropdown:not(.trp-shortcode-switcher):not(.trp-opposite-language)'
);
if(floater)
new FloaterSwitcher(floater);
root.querySelectorAll(WRAPPER)
.forEach(wrapper=> {
const overlay=wrapper.querySelector('.trp-language-switcher:not(.trp-opposite-button)');
if(overlay&&!isMarked(overlay)){
mark(overlay);
new ShortcodeSwitcher(wrapper);
}});
}
function observeShortcodeSwitcher(){
const initWrapper=(wrapper)=> {
if(!wrapper)
return;
const overlay=wrapper.querySelector(OVERLAY);
if(!overlay||isMarked(overlay) )
return;
mark(overlay);
new ShortcodeSwitcher(wrapper);
}
const mo=new MutationObserver(( mutations)=> {
for(const m of mutations){
for(const n of m.addedNodes){
if(n.nodeType!==1)
continue;
if(n.matches?.(WRAPPER) )
initWrapper(n);
n.querySelectorAll?.(WRAPPER).forEach(initWrapper);
}}
});
mo.observe(document, { childList: true, subtree: true });
}
function observeWrapperUntilFound(){
const edDoc=getEditorDoc();
const existing=edDoc.querySelector(WRAPPER);
if(existing){
initLanguageSwitchers(edDoc);
return;
}
const findCanvasIframe=()=> document.querySelector('iframe[name="editor-canvas"], .editor-canvas__iframe');
const iframeNow=findCanvasIframe();
if(iframeNow){
watchIframe(iframeNow);
return;
}
const outerMO=new MutationObserver(( mutations)=> {
for(const m of mutations){
for(const n of m.addedNodes){
if(n.nodeType!==1) continue;
const iframe =
n.matches?.('iframe[name="editor-canvas"], .editor-canvas__iframe')
? n
: n.querySelector?.('iframe[name="editor-canvas"], .editor-canvas__iframe');
if(iframe){
outerMO.disconnect();
watchIframe(iframe);
return;
}
const wrapper =
n.matches?.(WRAPPER)
? n
: n.querySelector?.(WRAPPER);
if(wrapper){
outerMO.disconnect();
initLanguageSwitchers(document);
return;
}}
}});
outerMO.observe(document, { childList: true, subtree: true });
function watchIframe(iframe){
tryAttachInside();
iframe.addEventListener('load', tryAttachInside);
function tryAttachInside(){
let doc;
try {
doc=iframe.contentDocument||iframe.contentWindow?.document;
} catch (e){
console.warn('Cannot access iframe content due to cross-origin restrictions', e);
return;
}
if(!doc) return;
const hit=doc.querySelector(WRAPPER);
if(hit){
initLanguageSwitchers(doc);
return;
}
const innerMO=new MutationObserver(( muts)=> {
for(const mm of muts){
for(const nn of mm.addedNodes){
if(nn.nodeType!==1) continue;
if(nn.matches?.(WRAPPER) ||
nn.querySelector?.(WRAPPER)
){
innerMO.disconnect();
initLanguageSwitchers(doc);
return;
}}
}
if(doc.querySelector(WRAPPER)){
innerMO.disconnect();
initLanguageSwitchers(doc);
}});
innerMO.observe(doc, { childList: true, subtree: true });
}}
};
!function(t,r){"object"==typeof exports?module.exports=exports=r():"function"==typeof define&&define.amd?define([],r):t.CryptoJS=r()}(this,function(){var t=t||function(t,r){var e=Object.create||function(){function t(){}return function(r){var e;return t.prototype=r,e=new t,t.prototype=null,e}}(),i={},n=i.lib={},o=n.Base=function(){return{extend:function(t){var r=e(this);return t&&r.mixIn(t),r.hasOwnProperty("init")&&this.init!==r.init||(r.init=function(){r.$super.init.apply(this,arguments)}),r.init.prototype=r,r.$super=this,r},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var r in t)t.hasOwnProperty(r)&&(this[r]=t[r]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=n.WordArray=o.extend({init:function(t,e){t=this.words=t||[],e!=r?this.sigBytes=e:this.sigBytes=4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var r=this.words,e=t.words,i=this.sigBytes,n=t.sigBytes;if(this.clamp(),i%4)for(var o=0;o<n;o++){var s=e[o>>>2]>>>24-o%4*8&255;r[i+o>>>2]|=s<<24-(i+o)%4*8}else for(var o=0;o<n;o+=4)r[i+o>>>2]=e[o>>>2];return this.sigBytes+=n,this},clamp:function(){var r=this.words,e=this.sigBytes;r[e>>>2]&=4294967295<<32-e%4*8,r.length=t.ceil(e/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(r){for(var e,i=[],n=function(r){var r=r,e=987654321,i=4294967295;return function(){e=36969*(65535&e)+(e>>16)&i,r=18e3*(65535&r)+(r>>16)&i;var n=(e<<16)+r&i;return n/=4294967296,n+=.5,n*(t.random()>.5?1:-1)}},o=0;o<r;o+=4){var a=n(4294967296*(e||t.random()));e=987654071*a(),i.push(4294967296*a()|0)}return new s.init(i,r)}}),a=i.enc={},c=a.Hex={stringify:function(t){for(var r=t.words,e=t.sigBytes,i=[],n=0;n<e;n++){var o=r[n>>>2]>>>24-n%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var r=t.length,e=[],i=0;i<r;i+=2)e[i>>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new s.init(e,r/2)}},h=a.Latin1={stringify:function(t){for(var r=t.words,e=t.sigBytes,i=[],n=0;n<e;n++){var o=r[n>>>2]>>>24-n%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var r=t.length,e=[],i=0;i<r;i++)e[i>>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new s.init(e,r)}},l=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(h.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return h.parse(unescape(encodeURIComponent(t)))}},f=n.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=l.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(r){var e=this._data,i=e.words,n=e.sigBytes,o=this.blockSize,a=4*o,c=n/a;c=r?t.ceil(c):t.max((0|c)-this._minBufferSize,0);var h=c*o,l=t.min(4*h,n);if(h){for(var f=0;f<h;f+=o)this._doProcessBlock(i,f);var u=i.splice(0,h);e.sigBytes-=l}return new s.init(u,l)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),u=(n.Hasher=f.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var r=this._doFinalize();return r},blockSize:16,_createHelper:function(t){return function(r,e){return new t.init(e).finalize(r)}},_createHmacHelper:function(t){return function(r,e){return new u.HMAC.init(t,e).finalize(r)}}}),i.algo={});return i}(Math);return function(){function r(t,r,e){for(var i=[],o=0,s=0;s<r;s++)if(s%4){var a=e[t.charCodeAt(s-1)]<<s%4*2,c=e[t.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=(a|c)<<24-o%4*8,o++}return n.create(i,o)}var e=t,i=e.lib,n=i.WordArray,o=e.enc;o.Base64={stringify:function(t){var r=t.words,e=t.sigBytes,i=this._map;t.clamp();for(var n=[],o=0;o<e;o+=3)for(var s=r[o>>>2]>>>24-o%4*8&255,a=r[o+1>>>2]>>>24-(o+1)%4*8&255,c=r[o+2>>>2]>>>24-(o+2)%4*8&255,h=s<<16|a<<8|c,l=0;l<4&&o+.75*l<e;l++)n.push(i.charAt(h>>>6*(3-l)&63));var f=i.charAt(64);if(f)for(;n.length%4;)n.push(f);return n.join("")},parse:function(t){var e=t.length,i=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<i.length;o++)n[i.charCodeAt(o)]=o}var s=i.charAt(64);if(s){var a=t.indexOf(s);a!==-1&&(e=a)}return r(t,e,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(r){function e(t,r,e,i,n,o,s){var a=t+(r&e|~r&i)+n+s;return(a<<o|a>>>32-o)+r}function i(t,r,e,i,n,o,s){var a=t+(r&i|e&~i)+n+s;return(a<<o|a>>>32-o)+r}function n(t,r,e,i,n,o,s){var a=t+(r^e^i)+n+s;return(a<<o|a>>>32-o)+r}function o(t,r,e,i,n,o,s){var a=t+(e^(r|~i))+n+s;return(a<<o|a>>>32-o)+r}var s=t,a=s.lib,c=a.WordArray,h=a.Hasher,l=s.algo,f=[];!function(){for(var t=0;t<64;t++)f[t]=4294967296*r.abs(r.sin(t+1))|0}();var u=l.MD5=h.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,r){for(var s=0;s<16;s++){var a=r+s,c=t[a];t[a]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}var h=this._hash.words,l=t[r+0],u=t[r+1],d=t[r+2],v=t[r+3],p=t[r+4],_=t[r+5],y=t[r+6],g=t[r+7],B=t[r+8],w=t[r+9],k=t[r+10],S=t[r+11],m=t[r+12],x=t[r+13],b=t[r+14],H=t[r+15],z=h[0],A=h[1],C=h[2],D=h[3];z=e(z,A,C,D,l,7,f[0]),D=e(D,z,A,C,u,12,f[1]),C=e(C,D,z,A,d,17,f[2]),A=e(A,C,D,z,v,22,f[3]),z=e(z,A,C,D,p,7,f[4]),D=e(D,z,A,C,_,12,f[5]),C=e(C,D,z,A,y,17,f[6]),A=e(A,C,D,z,g,22,f[7]),z=e(z,A,C,D,B,7,f[8]),D=e(D,z,A,C,w,12,f[9]),C=e(C,D,z,A,k,17,f[10]),A=e(A,C,D,z,S,22,f[11]),z=e(z,A,C,D,m,7,f[12]),D=e(D,z,A,C,x,12,f[13]),C=e(C,D,z,A,b,17,f[14]),A=e(A,C,D,z,H,22,f[15]),z=i(z,A,C,D,u,5,f[16]),D=i(D,z,A,C,y,9,f[17]),C=i(C,D,z,A,S,14,f[18]),A=i(A,C,D,z,l,20,f[19]),z=i(z,A,C,D,_,5,f[20]),D=i(D,z,A,C,k,9,f[21]),C=i(C,D,z,A,H,14,f[22]),A=i(A,C,D,z,p,20,f[23]),z=i(z,A,C,D,w,5,f[24]),D=i(D,z,A,C,b,9,f[25]),C=i(C,D,z,A,v,14,f[26]),A=i(A,C,D,z,B,20,f[27]),z=i(z,A,C,D,x,5,f[28]),D=i(D,z,A,C,d,9,f[29]),C=i(C,D,z,A,g,14,f[30]),A=i(A,C,D,z,m,20,f[31]),z=n(z,A,C,D,_,4,f[32]),D=n(D,z,A,C,B,11,f[33]),C=n(C,D,z,A,S,16,f[34]),A=n(A,C,D,z,b,23,f[35]),z=n(z,A,C,D,u,4,f[36]),D=n(D,z,A,C,p,11,f[37]),C=n(C,D,z,A,g,16,f[38]),A=n(A,C,D,z,k,23,f[39]),z=n(z,A,C,D,x,4,f[40]),D=n(D,z,A,C,l,11,f[41]),C=n(C,D,z,A,v,16,f[42]),A=n(A,C,D,z,y,23,f[43]),z=n(z,A,C,D,w,4,f[44]),D=n(D,z,A,C,m,11,f[45]),C=n(C,D,z,A,H,16,f[46]),A=n(A,C,D,z,d,23,f[47]),z=o(z,A,C,D,l,6,f[48]),D=o(D,z,A,C,g,10,f[49]),C=o(C,D,z,A,b,15,f[50]),A=o(A,C,D,z,_,21,f[51]),z=o(z,A,C,D,m,6,f[52]),D=o(D,z,A,C,v,10,f[53]),C=o(C,D,z,A,k,15,f[54]),A=o(A,C,D,z,u,21,f[55]),z=o(z,A,C,D,B,6,f[56]),D=o(D,z,A,C,H,10,f[57]),C=o(C,D,z,A,y,15,f[58]),A=o(A,C,D,z,x,21,f[59]),z=o(z,A,C,D,p,6,f[60]),D=o(D,z,A,C,S,10,f[61]),C=o(C,D,z,A,d,15,f[62]),A=o(A,C,D,z,w,21,f[63]),h[0]=h[0]+z|0,h[1]=h[1]+A|0,h[2]=h[2]+C|0,h[3]=h[3]+D|0},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32;var o=r.floor(i/4294967296),s=i;e[(n+64>>>9<<4)+15]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e[(n+64>>>9<<4)+14]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(e.length+1),this._process();for(var a=this._hash,c=a.words,h=0;h<4;h++){var l=c[h];c[h]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var t=h.clone.call(this);return t._hash=this._hash.clone(),t}});s.MD5=h._createHelper(u),s.HmacMD5=h._createHmacHelper(u)}(Math),function(){var r=t,e=r.lib,i=e.WordArray,n=e.Hasher,o=r.algo,s=[],a=o.SHA1=n.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,r){for(var e=this._hash.words,i=e[0],n=e[1],o=e[2],a=e[3],c=e[4],h=0;h<80;h++){if(h<16)s[h]=0|t[r+h];else{var l=s[h-3]^s[h-8]^s[h-14]^s[h-16];s[h]=l<<1|l>>>31}var f=(i<<5|i>>>27)+c+s[h];f+=h<20?(n&o|~n&a)+1518500249:h<40?(n^o^a)+1859775393:h<60?(n&o|n&a|o&a)-1894007588:(n^o^a)-899497514,c=a,a=o,o=n<<30|n>>>2,n=i,i=f}e[0]=e[0]+i|0,e[1]=e[1]+n|0,e[2]=e[2]+o|0,e[3]=e[3]+a|0,e[4]=e[4]+c|0},_doFinalize:function(){var t=this._data,r=t.words,e=8*this._nDataBytes,i=8*t.sigBytes;return r[i>>>5]|=128<<24-i%32,r[(i+64>>>9<<4)+14]=Math.floor(e/4294967296),r[(i+64>>>9<<4)+15]=e,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}});r.SHA1=n._createHelper(a),r.HmacSHA1=n._createHmacHelper(a)}(),function(r){var e=t,i=e.lib,n=i.WordArray,o=i.Hasher,s=e.algo,a=[],c=[];!function(){function t(t){for(var e=r.sqrt(t),i=2;i<=e;i++)if(!(t%i))return!1;return!0}function e(t){return 4294967296*(t-(0|t))|0}for(var i=2,n=0;n<64;)t(i)&&(n<8&&(a[n]=e(r.pow(i,.5))),c[n]=e(r.pow(i,1/3)),n++),i++}();var h=[],l=s.SHA256=o.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(t,r){for(var e=this._hash.words,i=e[0],n=e[1],o=e[2],s=e[3],a=e[4],l=e[5],f=e[6],u=e[7],d=0;d<64;d++){if(d<16)h[d]=0|t[r+d];else{var v=h[d-15],p=(v<<25|v>>>7)^(v<<14|v>>>18)^v>>>3,_=h[d-2],y=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;h[d]=p+h[d-7]+y+h[d-16]}var g=a&l^~a&f,B=i&n^i&o^n&o,w=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),k=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),S=u+k+g+c[d]+h[d],m=w+B;u=f,f=l,l=a,a=s+S|0,s=o,o=n,n=i,i=S+m|0}e[0]=e[0]+i|0,e[1]=e[1]+n|0,e[2]=e[2]+o|0,e[3]=e[3]+s|0,e[4]=e[4]+a|0,e[5]=e[5]+l|0,e[6]=e[6]+f|0,e[7]=e[7]+u|0},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[(n+64>>>9<<4)+14]=r.floor(i/4294967296),e[(n+64>>>9<<4)+15]=i,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=o._createHelper(l),e.HmacSHA256=o._createHmacHelper(l)}(Math),function(){function r(t){return t<<8&4278255360|t>>>8&16711935}var e=t,i=e.lib,n=i.WordArray,o=e.enc;o.Utf16=o.Utf16BE={stringify:function(t){for(var r=t.words,e=t.sigBytes,i=[],n=0;n<e;n+=2){var o=r[n>>>2]>>>16-n%4*8&65535;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var r=t.length,e=[],i=0;i<r;i++)e[i>>>1]|=t.charCodeAt(i)<<16-i%2*16;return n.create(e,2*r)}};o.Utf16LE={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],o=0;o<i;o+=2){var s=r(e[o>>>2]>>>16-o%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(t){for(var e=t.length,i=[],o=0;o<e;o++)i[o>>>1]|=r(t.charCodeAt(o)<<16-o%2*16);return n.create(i,2*e)}}}(),function(){if("function"==typeof ArrayBuffer){var r=t,e=r.lib,i=e.WordArray,n=i.init,o=i.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var r=t.byteLength,e=[],i=0;i<r;i++)e[i>>>2]|=t[i]<<24-i%4*8;n.call(this,e,r)}else n.apply(this,arguments)};o.prototype=i}}(),function(r){function e(t,r,e){return t^r^e}function i(t,r,e){return t&r|~t&e}function n(t,r,e){return(t|~r)^e}function o(t,r,e){return t&e|r&~e}function s(t,r,e){return t^(r|~e)}function a(t,r){return t<<r|t>>>32-r}var c=t,h=c.lib,l=h.WordArray,f=h.Hasher,u=c.algo,d=l.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),v=l.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),p=l.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),_=l.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),y=l.create([0,1518500249,1859775393,2400959708,2840853838]),g=l.create([1352829926,1548603684,1836072691,2053994217,0]),B=u.RIPEMD160=f.extend({_doReset:function(){this._hash=l.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,r){for(var c=0;c<16;c++){var h=r+c,l=t[h];t[h]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}var f,u,B,w,k,S,m,x,b,H,z=this._hash.words,A=y.words,C=g.words,D=d.words,R=v.words,E=p.words,M=_.words;S=f=z[0],m=u=z[1],x=B=z[2],b=w=z[3],H=k=z[4];for(var F,c=0;c<80;c+=1)F=f+t[r+D[c]]|0,F+=c<16?e(u,B,w)+A[0]:c<32?i(u,B,w)+A[1]:c<48?n(u,B,w)+A[2]:c<64?o(u,B,w)+A[3]:s(u,B,w)+A[4],F|=0,F=a(F,E[c]),F=F+k|0,f=k,k=w,w=a(B,10),B=u,u=F,F=S+t[r+R[c]]|0,F+=c<16?s(m,x,b)+C[0]:c<32?o(m,x,b)+C[1]:c<48?n(m,x,b)+C[2]:c<64?i(m,x,b)+C[3]:e(m,x,b)+C[4],F|=0,F=a(F,M[c]),F=F+H|0,S=H,H=b,b=a(x,10),x=m,m=F;F=z[1]+B+b|0,z[1]=z[2]+w+H|0,z[2]=z[3]+k+S|0,z[3]=z[4]+f+m|0,z[4]=z[0]+u+x|0,z[0]=F},_doFinalize:function(){var t=this._data,r=t.words,e=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32,r[(i+64>>>9<<4)+14]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8),t.sigBytes=4*(r.length+1),this._process();for(var n=this._hash,o=n.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return n},clone:function(){var t=f.clone.call(this);return t._hash=this._hash.clone(),t}});c.RIPEMD160=f._createHelper(B),c.HmacRIPEMD160=f._createHmacHelper(B)}(Math),function(){var r=t,e=r.lib,i=e.Base,n=r.enc,o=n.Utf8,s=r.algo;s.HMAC=i.extend({init:function(t,r){t=this._hasher=new t.init,"string"==typeof r&&(r=o.parse(r));var e=t.blockSize,i=4*e;r.sigBytes>i&&(r=t.finalize(r)),r.clamp();for(var n=this._oKey=r.clone(),s=this._iKey=r.clone(),a=n.words,c=s.words,h=0;h<e;h++)a[h]^=1549556828,c[h]^=909522486;n.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var r=this._hasher,e=r.finalize(t);r.reset();var i=r.finalize(this._oKey.clone().concat(e));return i}})}(),function(){var r=t,e=r.lib,i=e.Base,n=e.WordArray,o=r.algo,s=o.SHA1,a=o.HMAC,c=o.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,r){for(var e=this.cfg,i=a.create(e.hasher,t),o=n.create(),s=n.create([1]),c=o.words,h=s.words,l=e.keySize,f=e.iterations;c.length<l;){var u=i.update(r).finalize(s);i.reset();for(var d=u.words,v=d.length,p=u,_=1;_<f;_++){p=i.finalize(p),i.reset();for(var y=p.words,g=0;g<v;g++)d[g]^=y[g]}o.concat(u),h[0]++}return o.sigBytes=4*l,o}});r.PBKDF2=function(t,r,e){return c.create(e).compute(t,r)}}(),function(){var r=t,e=r.lib,i=e.Base,n=e.WordArray,o=r.algo,s=o.MD5,a=o.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,r){for(var e=this.cfg,i=e.hasher.create(),o=n.create(),s=o.words,a=e.keySize,c=e.iterations;s.length<a;){h&&i.update(h);var h=i.update(t).finalize(r);i.reset();for(var l=1;l<c;l++)h=i.finalize(h),i.reset();o.concat(h)}return o.sigBytes=4*a,o}});r.EvpKDF=function(t,r,e){return a.create(e).compute(t,r)}}(),function(){var r=t,e=r.lib,i=e.WordArray,n=r.algo,o=n.SHA256,s=n.SHA224=o.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=o._doFinalize.call(this);return t.sigBytes-=4,t}});r.SHA224=o._createHelper(s),r.HmacSHA224=o._createHmacHelper(s)}(),function(r){var e=t,i=e.lib,n=i.Base,o=i.WordArray,s=e.x64={};s.Word=n.extend({init:function(t,r){this.high=t,this.low=r}}),s.WordArray=n.extend({init:function(t,e){t=this.words=t||[],e!=r?this.sigBytes=e:this.sigBytes=8*t.length},toX32:function(){for(var t=this.words,r=t.length,e=[],i=0;i<r;i++){var n=t[i];e.push(n.high),e.push(n.low)}return o.create(e,this.sigBytes)},clone:function(){for(var t=n.clone.call(this),r=t.words=this.words.slice(0),e=r.length,i=0;i<e;i++)r[i]=r[i].clone();return t}})}(),function(r){var e=t,i=e.lib,n=i.WordArray,o=i.Hasher,s=e.x64,a=s.Word,c=e.algo,h=[],l=[],f=[];!function(){for(var t=1,r=0,e=0;e<24;e++){h[t+5*r]=(e+1)*(e+2)/2%64;var i=r%5,n=(2*t+3*r)%5;t=i,r=n}for(var t=0;t<5;t++)for(var r=0;r<5;r++)l[t+5*r]=r+(2*t+3*r)%5*5;for(var o=1,s=0;s<24;s++){for(var c=0,u=0,d=0;d<7;d++){if(1&o){var v=(1<<d)-1;v<32?u^=1<<v:c^=1<<v-32}128&o?o=o<<1^113:o<<=1}f[s]=a.create(c,u)}}();var u=[];!function(){for(var t=0;t<25;t++)u[t]=a.create()}();var d=c.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],r=0;r<25;r++)t[r]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,r){for(var e=this._state,i=this.blockSize/2,n=0;n<i;n++){var o=t[r+2*n],s=t[r+2*n+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);var a=e[n];a.high^=s,a.low^=o}for(var c=0;c<24;c++){for(var d=0;d<5;d++){for(var v=0,p=0,_=0;_<5;_++){var a=e[d+5*_];v^=a.high,p^=a.low}var y=u[d];y.high=v,y.low=p}for(var d=0;d<5;d++)for(var g=u[(d+4)%5],B=u[(d+1)%5],w=B.high,k=B.low,v=g.high^(w<<1|k>>>31),p=g.low^(k<<1|w>>>31),_=0;_<5;_++){var a=e[d+5*_];a.high^=v,a.low^=p}for(var S=1;S<25;S++){var a=e[S],m=a.high,x=a.low,b=h[S];if(b<32)var v=m<<b|x>>>32-b,p=x<<b|m>>>32-b;else var v=x<<b-32|m>>>64-b,p=m<<b-32|x>>>64-b;var H=u[l[S]];H.high=v,H.low=p}var z=u[0],A=e[0];z.high=A.high,z.low=A.low;for(var d=0;d<5;d++)for(var _=0;_<5;_++){var S=d+5*_,a=e[S],C=u[S],D=u[(d+1)%5+5*_],R=u[(d+2)%5+5*_];a.high=C.high^~D.high&R.high,a.low=C.low^~D.low&R.low}var a=e[0],E=f[c];a.high^=E.high,a.low^=E.low}},_doFinalize:function(){var t=this._data,e=t.words,i=(8*this._nDataBytes,8*t.sigBytes),o=32*this.blockSize;e[i>>>5]|=1<<24-i%32,e[(r.ceil((i+1)/o)*o>>>5)-1]|=128,t.sigBytes=4*e.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,h=[],l=0;l<c;l++){var f=s[l],u=f.high,d=f.low;u=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),h.push(d),h.push(u)}return new n.init(h,a)},clone:function(){for(var t=o.clone.call(this),r=t._state=this._state.slice(0),e=0;e<25;e++)r[e]=r[e].clone();return t}});e.SHA3=o._createHelper(d),e.HmacSHA3=o._createHmacHelper(d)}(Math),function(){function r(){return s.create.apply(s,arguments)}var e=t,i=e.lib,n=i.Hasher,o=e.x64,s=o.Word,a=o.WordArray,c=e.algo,h=[r(1116352408,3609767458),r(1899447441,602891725),r(3049323471,3964484399),r(3921009573,2173295548),r(961987163,4081628472),r(1508970993,3053834265),r(2453635748,2937671579),r(2870763221,3664609560),r(3624381080,2734883394),r(310598401,1164996542),r(607225278,1323610764),r(1426881987,3590304994),r(1925078388,4068182383),r(2162078206,991336113),r(2614888103,633803317),r(3248222580,3479774868),r(3835390401,2666613458),r(4022224774,944711139),r(264347078,2341262773),r(604807628,2007800933),r(770255983,1495990901),r(1249150122,1856431235),r(1555081692,3175218132),r(1996064986,2198950837),r(2554220882,3999719339),r(2821834349,766784016),r(2952996808,2566594879),r(3210313671,3203337956),r(3336571891,1034457026),r(3584528711,2466948901),r(113926993,3758326383),r(338241895,168717936),r(666307205,1188179964),r(773529912,1546045734),r(1294757372,1522805485),r(1396182291,2643833823),r(1695183700,2343527390),r(1986661051,1014477480),r(2177026350,1206759142),r(2456956037,344077627),r(2730485921,1290863460),r(2820302411,3158454273),r(3259730800,3505952657),r(3345764771,106217008),r(3516065817,3606008344),r(3600352804,1432725776),r(4094571909,1467031594),r(275423344,851169720),r(430227734,3100823752),r(506948616,1363258195),r(659060556,3750685593),r(883997877,3785050280),r(958139571,3318307427),r(1322822218,3812723403),r(1537002063,2003034995),r(1747873779,3602036899),r(1955562222,1575990012),r(2024104815,1125592928),r(2227730452,2716904306),r(2361852424,442776044),r(2428436474,593698344),r(2756734187,3733110249),r(3204031479,2999351573),r(3329325298,3815920427),r(3391569614,3928383900),r(3515267271,566280711),r(3940187606,3454069534),r(4118630271,4000239992),r(116418474,1914138554),r(174292421,2731055270),r(289380356,3203993006),r(460393269,320620315),r(685471733,587496836),r(852142971,1086792851),r(1017036298,365543100),r(1126000580,2618297676),r(1288033470,3409855158),r(1501505948,4234509866),r(1607167915,987167468),r(1816402316,1246189591)],l=[];!function(){for(var t=0;t<80;t++)l[t]=r()}();var f=c.SHA512=n.extend({_doReset:function(){this._hash=new a.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(t,r){for(var e=this._hash.words,i=e[0],n=e[1],o=e[2],s=e[3],a=e[4],c=e[5],f=e[6],u=e[7],d=i.high,v=i.low,p=n.high,_=n.low,y=o.high,g=o.low,B=s.high,w=s.low,k=a.high,S=a.low,m=c.high,x=c.low,b=f.high,H=f.low,z=u.high,A=u.low,C=d,D=v,R=p,E=_,M=y,F=g,P=B,W=w,O=k,U=S,I=m,K=x,X=b,L=H,j=z,N=A,T=0;T<80;T++){var Z=l[T];if(T<16)var q=Z.high=0|t[r+2*T],G=Z.low=0|t[r+2*T+1];else{var J=l[T-15],$=J.high,Q=J.low,V=($>>>1|Q<<31)^($>>>8|Q<<24)^$>>>7,Y=(Q>>>1|$<<31)^(Q>>>8|$<<24)^(Q>>>7|$<<25),tt=l[T-2],rt=tt.high,et=tt.low,it=(rt>>>19|et<<13)^(rt<<3|et>>>29)^rt>>>6,nt=(et>>>19|rt<<13)^(et<<3|rt>>>29)^(et>>>6|rt<<26),ot=l[T-7],st=ot.high,at=ot.low,ct=l[T-16],ht=ct.high,lt=ct.low,G=Y+at,q=V+st+(G>>>0<Y>>>0?1:0),G=G+nt,q=q+it+(G>>>0<nt>>>0?1:0),G=G+lt,q=q+ht+(G>>>0<lt>>>0?1:0);Z.high=q,Z.low=G}var ft=O&I^~O&X,ut=U&K^~U&L,dt=C&R^C&M^R&M,vt=D&E^D&F^E&F,pt=(C>>>28|D<<4)^(C<<30|D>>>2)^(C<<25|D>>>7),_t=(D>>>28|C<<4)^(D<<30|C>>>2)^(D<<25|C>>>7),yt=(O>>>14|U<<18)^(O>>>18|U<<14)^(O<<23|U>>>9),gt=(U>>>14|O<<18)^(U>>>18|O<<14)^(U<<23|O>>>9),Bt=h[T],wt=Bt.high,kt=Bt.low,St=N+gt,mt=j+yt+(St>>>0<N>>>0?1:0),St=St+ut,mt=mt+ft+(St>>>0<ut>>>0?1:0),St=St+kt,mt=mt+wt+(St>>>0<kt>>>0?1:0),St=St+G,mt=mt+q+(St>>>0<G>>>0?1:0),xt=_t+vt,bt=pt+dt+(xt>>>0<_t>>>0?1:0);j=X,N=L,X=I,L=K,I=O,K=U,U=W+St|0,O=P+mt+(U>>>0<W>>>0?1:0)|0,P=M,W=F,M=R,F=E,R=C,E=D,D=St+xt|0,C=mt+bt+(D>>>0<St>>>0?1:0)|0}v=i.low=v+D,i.high=d+C+(v>>>0<D>>>0?1:0),_=n.low=_+E,n.high=p+R+(_>>>0<E>>>0?1:0),g=o.low=g+F,o.high=y+M+(g>>>0<F>>>0?1:0),w=s.low=w+W,s.high=B+P+(w>>>0<W>>>0?1:0),S=a.low=S+U,a.high=k+O+(S>>>0<U>>>0?1:0),x=c.low=x+K,c.high=m+I+(x>>>0<K>>>0?1:0),H=f.low=H+L,f.high=b+X+(H>>>0<L>>>0?1:0),A=u.low=A+N,u.high=z+j+(A>>>0<N>>>0?1:0)},_doFinalize:function(){var t=this._data,r=t.words,e=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32,r[(i+128>>>10<<5)+30]=Math.floor(e/4294967296),r[(i+128>>>10<<5)+31]=e,t.sigBytes=4*r.length,this._process();var n=this._hash.toX32();return n},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});e.SHA512=n._createHelper(f),e.HmacSHA512=n._createHmacHelper(f)}(),function(){var r=t,e=r.x64,i=e.Word,n=e.WordArray,o=r.algo,s=o.SHA512,a=o.SHA384=s.extend({_doReset:function(){this._hash=new n.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var t=s._doFinalize.call(this);return t.sigBytes-=16,t}});r.SHA384=s._createHelper(a),r.HmacSHA384=s._createHmacHelper(a)}(),t.lib.Cipher||function(r){var e=t,i=e.lib,n=i.Base,o=i.WordArray,s=i.BufferedBlockAlgorithm,a=e.enc,c=(a.Utf8,a.Base64),h=e.algo,l=h.EvpKDF,f=i.Cipher=s.extend({cfg:n.extend(),createEncryptor:function(t,r){return this.create(this._ENC_XFORM_MODE,t,r)},createDecryptor:function(t,r){return this.create(this._DEC_XFORM_MODE,t,r)},init:function(t,r,e){this.cfg=this.cfg.extend(e),this._xformMode=t,this._key=r,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){t&&this._append(t);var r=this._doFinalize();return r},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?m:w}return function(r){return{encrypt:function(e,i,n){return t(i).encrypt(r,e,i,n)},decrypt:function(e,i,n){return t(i).decrypt(r,e,i,n)}}}}()}),u=(i.StreamCipher=f.extend({_doFinalize:function(){var t=this._process(!0);return t},blockSize:1}),e.mode={}),d=i.BlockCipherMode=n.extend({createEncryptor:function(t,r){return this.Encryptor.create(t,r)},createDecryptor:function(t,r){return this.Decryptor.create(t,r)},init:function(t,r){this._cipher=t,this._iv=r}}),v=u.CBC=function(){function t(t,e,i){var n=this._iv;if(n){var o=n;this._iv=r}else var o=this._prevBlock;for(var s=0;s<i;s++)t[e+s]^=o[s]}var e=d.extend();return e.Encryptor=e.extend({processBlock:function(r,e){var i=this._cipher,n=i.blockSize;t.call(this,r,e,n),i.encryptBlock(r,e),this._prevBlock=r.slice(e,e+n)}}),e.Decryptor=e.extend({processBlock:function(r,e){var i=this._cipher,n=i.blockSize,o=r.slice(e,e+n);i.decryptBlock(r,e),t.call(this,r,e,n),this._prevBlock=o}}),e}(),p=e.pad={},_=p.Pkcs7={pad:function(t,r){for(var e=4*r,i=e-t.sigBytes%e,n=i<<24|i<<16|i<<8|i,s=[],a=0;a<i;a+=4)s.push(n);var c=o.create(s,i);t.concat(c)},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},y=(i.BlockCipher=f.extend({cfg:f.cfg.extend({mode:v,padding:_}),reset:function(){f.reset.call(this);var t=this.cfg,r=t.iv,e=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=e.createEncryptor;else{var i=e.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==i?this._mode.init(this,r&&r.words):(this._mode=i.call(e,this,r&&r.words),this._mode.__creator=i)},_doProcessBlock:function(t,r){this._mode.processBlock(t,r)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);var r=this._process(!0)}else{var r=this._process(!0);t.unpad(r)}return r},blockSize:4}),i.CipherParams=n.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),g=e.format={},B=g.OpenSSL={stringify:function(t){var r=t.ciphertext,e=t.salt;if(e)var i=o.create([1398893684,1701076831]).concat(e).concat(r);else var i=r;return i.toString(c)},parse:function(t){var r=c.parse(t),e=r.words;if(1398893684==e[0]&&1701076831==e[1]){var i=o.create(e.slice(2,4));e.splice(0,4),r.sigBytes-=16}return y.create({ciphertext:r,salt:i})}},w=i.SerializableCipher=n.extend({cfg:n.extend({format:B}),encrypt:function(t,r,e,i){i=this.cfg.extend(i);var n=t.createEncryptor(e,i),o=n.finalize(r),s=n.cfg;return y.create({ciphertext:o,key:e,iv:s.iv,algorithm:t,mode:s.mode,padding:s.padding,blockSize:t.blockSize,formatter:i.format})},decrypt:function(t,r,e,i){i=this.cfg.extend(i),r=this._parse(r,i.format);var n=t.createDecryptor(e,i).finalize(r.ciphertext);return n},_parse:function(t,r){return"string"==typeof t?r.parse(t,this):t}}),k=e.kdf={},S=k.OpenSSL={execute:function(t,r,e,i){i||(i=o.random(8));var n=l.create({keySize:r+e}).compute(t,i),s=o.create(n.words.slice(r),4*e);return n.sigBytes=4*r,y.create({key:n,iv:s,salt:i})}},m=i.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:S}),encrypt:function(t,r,e,i){i=this.cfg.extend(i);var n=i.kdf.execute(e,t.keySize,t.ivSize);i.iv=n.iv;var o=w.encrypt.call(this,t,r,n.key,i);return o.mixIn(n),o},decrypt:function(t,r,e,i){i=this.cfg.extend(i),r=this._parse(r,i.format);var n=i.kdf.execute(e,t.keySize,t.ivSize,r.salt);i.iv=n.iv;var o=w.decrypt.call(this,t,r,n.key,i);return o}})}(),t.mode.CFB=function(){function r(t,r,e,i){var n=this._iv;if(n){var o=n.slice(0);this._iv=void 0}else var o=this._prevBlock;i.encryptBlock(o,0);for(var s=0;s<e;s++)t[r+s]^=o[s]}var e=t.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(t,e){var i=this._cipher,n=i.blockSize;r.call(this,t,e,n,i),this._prevBlock=t.slice(e,e+n)}}),e.Decryptor=e.extend({processBlock:function(t,e){var i=this._cipher,n=i.blockSize,o=t.slice(e,e+n);r.call(this,t,e,n,i),this._prevBlock=o}}),e}(),t.mode.ECB=function(){var r=t.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(t,r){this._cipher.encryptBlock(t,r)}}),r.Decryptor=r.extend({processBlock:function(t,r){this._cipher.decryptBlock(t,r)}}),r}(),t.pad.AnsiX923={pad:function(t,r){var e=t.sigBytes,i=4*r,n=i-e%i,o=e+n-1;t.clamp(),t.words[o>>>2]|=n<<24-o%4*8,t.sigBytes+=n},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},t.pad.Iso10126={pad:function(r,e){var i=4*e,n=i-r.sigBytes%i;r.concat(t.lib.WordArray.random(n-1)).concat(t.lib.WordArray.create([n<<24],1))},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},t.pad.Iso97971={pad:function(r,e){r.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(r,e)},unpad:function(r){t.pad.ZeroPadding.unpad(r),r.sigBytes--}},t.mode.OFB=function(){var r=t.lib.BlockCipherMode.extend(),e=r.Encryptor=r.extend({processBlock:function(t,r){var e=this._cipher,i=e.blockSize,n=this._iv,o=this._keystream;n&&(o=this._keystream=n.slice(0),this._iv=void 0),e.encryptBlock(o,0);for(var s=0;s<i;s++)t[r+s]^=o[s]}});return r.Decryptor=e,r}(),t.pad.NoPadding={pad:function(){},unpad:function(){}},function(r){var e=t,i=e.lib,n=i.CipherParams,o=e.enc,s=o.Hex,a=e.format;a.Hex={stringify:function(t){return t.ciphertext.toString(s)},parse:function(t){var r=s.parse(t);return n.create({ciphertext:r})}}}(),function(){var r=t,e=r.lib,i=e.BlockCipher,n=r.algo,o=[],s=[],a=[],c=[],h=[],l=[],f=[],u=[],d=[],v=[];!function(){for(var t=[],r=0;r<256;r++)r<128?t[r]=r<<1:t[r]=r<<1^283;for(var e=0,i=0,r=0;r<256;r++){var n=i^i<<1^i<<2^i<<3^i<<4;n=n>>>8^255&n^99,o[e]=n,s[n]=e;var p=t[e],_=t[p],y=t[_],g=257*t[n]^16843008*n;a[e]=g<<24|g>>>8,c[e]=g<<16|g>>>16,h[e]=g<<8|g>>>24,l[e]=g;var g=16843009*y^65537*_^257*p^16843008*e;f[n]=g<<24|g>>>8,u[n]=g<<16|g>>>16,d[n]=g<<8|g>>>24,v[n]=g,e?(e=p^t[t[t[y^p]]],i^=t[t[i]]):e=i=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],_=n.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,r=t.words,e=t.sigBytes/4,i=this._nRounds=e+6,n=4*(i+1),s=this._keySchedule=[],a=0;a<n;a++)if(a<e)s[a]=r[a];else{var c=s[a-1];a%e?e>6&&a%e==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=c<<8|c>>>24,c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=p[a/e|0]<<24),s[a]=s[a-e]^c}for(var h=this._invKeySchedule=[],l=0;l<n;l++){var a=n-l;if(l%4)var c=s[a];else var c=s[a-4];l<4||a<=4?h[l]=c:h[l]=f[o[c>>>24]]^u[o[c>>>16&255]]^d[o[c>>>8&255]]^v[o[255&c]]}}},encryptBlock:function(t,r){this._doCryptBlock(t,r,this._keySchedule,a,c,h,l,o)},decryptBlock:function(t,r){var e=t[r+1];t[r+1]=t[r+3],t[r+3]=e,this._doCryptBlock(t,r,this._invKeySchedule,f,u,d,v,s);var e=t[r+1];t[r+1]=t[r+3],t[r+3]=e},_doCryptBlock:function(t,r,e,i,n,o,s,a){for(var c=this._nRounds,h=t[r]^e[0],l=t[r+1]^e[1],f=t[r+2]^e[2],u=t[r+3]^e[3],d=4,v=1;v<c;v++){var p=i[h>>>24]^n[l>>>16&255]^o[f>>>8&255]^s[255&u]^e[d++],_=i[l>>>24]^n[f>>>16&255]^o[u>>>8&255]^s[255&h]^e[d++],y=i[f>>>24]^n[u>>>16&255]^o[h>>>8&255]^s[255&l]^e[d++],g=i[u>>>24]^n[h>>>16&255]^o[l>>>8&255]^s[255&f]^e[d++];h=p,l=_,f=y,u=g}var p=(a[h>>>24]<<24|a[l>>>16&255]<<16|a[f>>>8&255]<<8|a[255&u])^e[d++],_=(a[l>>>24]<<24|a[f>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^e[d++],y=(a[f>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&l])^e[d++],g=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[l>>>8&255]<<8|a[255&f])^e[d++];t[r]=p,t[r+1]=_,t[r+2]=y,t[r+3]=g},keySize:8});r.AES=i._createHelper(_)}(),function(){function r(t,r){var e=(this._lBlock>>>t^this._rBlock)&r;this._rBlock^=e,this._lBlock^=e<<t}function e(t,r){var e=(this._rBlock>>>t^this._lBlock)&r;this._lBlock^=e,this._rBlock^=e<<t;
}var i=t,n=i.lib,o=n.WordArray,s=n.BlockCipher,a=i.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],h=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=a.DES=s.extend({_doReset:function(){for(var t=this._key,r=t.words,e=[],i=0;i<56;i++){var n=c[i]-1;e[i]=r[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],s=0;s<16;s++){for(var a=o[s]=[],f=l[s],i=0;i<24;i++)a[i/6|0]|=e[(h[i]-1+f)%28]<<31-i%6,a[4+(i/6|0)]|=e[28+(h[i+24]-1+f)%28]<<31-i%6;a[0]=a[0]<<1|a[0]>>>31;for(var i=1;i<7;i++)a[i]=a[i]>>>4*(i-1)+3;a[7]=a[7]<<5|a[7]>>>27}for(var u=this._invSubKeys=[],i=0;i<16;i++)u[i]=o[15-i]},encryptBlock:function(t,r){this._doCryptBlock(t,r,this._subKeys)},decryptBlock:function(t,r){this._doCryptBlock(t,r,this._invSubKeys)},_doCryptBlock:function(t,i,n){this._lBlock=t[i],this._rBlock=t[i+1],r.call(this,4,252645135),r.call(this,16,65535),e.call(this,2,858993459),e.call(this,8,16711935),r.call(this,1,1431655765);for(var o=0;o<16;o++){for(var s=n[o],a=this._lBlock,c=this._rBlock,h=0,l=0;l<8;l++)h|=f[l][((c^s[l])&u[l])>>>0];this._lBlock=c,this._rBlock=a^h}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,r.call(this,1,1431655765),e.call(this,8,16711935),e.call(this,2,858993459),r.call(this,16,65535),r.call(this,4,252645135),t[i]=this._lBlock,t[i+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});i.DES=s._createHelper(d);var v=a.TripleDES=s.extend({_doReset:function(){var t=this._key,r=t.words;this._des1=d.createEncryptor(o.create(r.slice(0,2))),this._des2=d.createEncryptor(o.create(r.slice(2,4))),this._des3=d.createEncryptor(o.create(r.slice(4,6)))},encryptBlock:function(t,r){this._des1.encryptBlock(t,r),this._des2.decryptBlock(t,r),this._des3.encryptBlock(t,r)},decryptBlock:function(t,r){this._des3.decryptBlock(t,r),this._des2.encryptBlock(t,r),this._des1.decryptBlock(t,r)},keySize:6,ivSize:2,blockSize:2});i.TripleDES=s._createHelper(v)}(),function(){function r(){for(var t=this._S,r=this._i,e=this._j,i=0,n=0;n<4;n++){r=(r+1)%256,e=(e+t[r])%256;var o=t[r];t[r]=t[e],t[e]=o,i|=t[(t[r]+t[e])%256]<<24-8*n}return this._i=r,this._j=e,i}var e=t,i=e.lib,n=i.StreamCipher,o=e.algo,s=o.RC4=n.extend({_doReset:function(){for(var t=this._key,r=t.words,e=t.sigBytes,i=this._S=[],n=0;n<256;n++)i[n]=n;for(var n=0,o=0;n<256;n++){var s=n%e,a=r[s>>>2]>>>24-s%4*8&255;o=(o+i[n]+a)%256;var c=i[n];i[n]=i[o],i[o]=c}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=r.call(this)},keySize:8,ivSize:0});e.RC4=n._createHelper(s);var a=o.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)r.call(this)}});e.RC4Drop=n._createHelper(a)}(),t.mode.CTRGladman=function(){function r(t){if(255===(t>>24&255)){var r=t>>16&255,e=t>>8&255,i=255&t;255===r?(r=0,255===e?(e=0,255===i?i=0:++i):++e):++r,t=0,t+=r<<16,t+=e<<8,t+=i}else t+=1<<24;return t}function e(t){return 0===(t[0]=r(t[0]))&&(t[1]=r(t[1])),t}var i=t.lib.BlockCipherMode.extend(),n=i.Encryptor=i.extend({processBlock:function(t,r){var i=this._cipher,n=i.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),e(s);var a=s.slice(0);i.encryptBlock(a,0);for(var c=0;c<n;c++)t[r+c]^=a[c]}});return i.Decryptor=n,i}(),function(){function r(){for(var t=this._X,r=this._C,e=0;e<8;e++)a[e]=r[e];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<a[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<a[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<a[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<a[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<a[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<a[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<a[6]>>>0?1:0)|0,this._b=r[7]>>>0<a[7]>>>0?1:0;for(var e=0;e<8;e++){var i=t[e]+r[e],n=65535&i,o=i>>>16,s=((n*n>>>17)+n*o>>>15)+o*o,h=((4294901760&i)*i|0)+((65535&i)*i|0);c[e]=s^h}t[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,t[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,t[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,t[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,t[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,t[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,t[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,t[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}var e=t,i=e.lib,n=i.StreamCipher,o=e.algo,s=[],a=[],c=[],h=o.Rabbit=n.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,i=0;i<4;i++)t[i]=16711935&(t[i]<<8|t[i]>>>24)|4278255360&(t[i]<<24|t[i]>>>8);var n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],o=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var i=0;i<4;i++)r.call(this);for(var i=0;i<8;i++)o[i]^=n[i+4&7];if(e){var s=e.words,a=s[0],c=s[1],h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),f=h>>>16|4294901760&l,u=l<<16|65535&h;o[0]^=h,o[1]^=f,o[2]^=l,o[3]^=u,o[4]^=h,o[5]^=f,o[6]^=l,o[7]^=u;for(var i=0;i<4;i++)r.call(this)}},_doProcessBlock:function(t,e){var i=this._X;r.call(this),s[0]=i[0]^i[5]>>>16^i[3]<<16,s[1]=i[2]^i[7]>>>16^i[5]<<16,s[2]=i[4]^i[1]>>>16^i[7]<<16,s[3]=i[6]^i[3]>>>16^i[1]<<16;for(var n=0;n<4;n++)s[n]=16711935&(s[n]<<8|s[n]>>>24)|4278255360&(s[n]<<24|s[n]>>>8),t[e+n]^=s[n]},blockSize:4,ivSize:2});e.Rabbit=n._createHelper(h)}(),t.mode.CTR=function(){var r=t.lib.BlockCipherMode.extend(),e=r.Encryptor=r.extend({processBlock:function(t,r){var e=this._cipher,i=e.blockSize,n=this._iv,o=this._counter;n&&(o=this._counter=n.slice(0),this._iv=void 0);var s=o.slice(0);e.encryptBlock(s,0),o[i-1]=o[i-1]+1|0;for(var a=0;a<i;a++)t[r+a]^=s[a]}});return r.Decryptor=e,r}(),function(){function r(){for(var t=this._X,r=this._C,e=0;e<8;e++)a[e]=r[e];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<a[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<a[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<a[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<a[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<a[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<a[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<a[6]>>>0?1:0)|0,this._b=r[7]>>>0<a[7]>>>0?1:0;for(var e=0;e<8;e++){var i=t[e]+r[e],n=65535&i,o=i>>>16,s=((n*n>>>17)+n*o>>>15)+o*o,h=((4294901760&i)*i|0)+((65535&i)*i|0);c[e]=s^h}t[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,t[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,t[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,t[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,t[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,t[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,t[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,t[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}var e=t,i=e.lib,n=i.StreamCipher,o=e.algo,s=[],a=[],c=[],h=o.RabbitLegacy=n.extend({_doReset:function(){var t=this._key.words,e=this.cfg.iv,i=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var o=0;o<4;o++)r.call(this);for(var o=0;o<8;o++)n[o]^=i[o+4&7];if(e){var s=e.words,a=s[0],c=s[1],h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),f=h>>>16|4294901760&l,u=l<<16|65535&h;n[0]^=h,n[1]^=f,n[2]^=l,n[3]^=u,n[4]^=h,n[5]^=f,n[6]^=l,n[7]^=u;for(var o=0;o<4;o++)r.call(this)}},_doProcessBlock:function(t,e){var i=this._X;r.call(this),s[0]=i[0]^i[5]>>>16^i[3]<<16,s[1]=i[2]^i[7]>>>16^i[5]<<16,s[2]=i[4]^i[1]>>>16^i[7]<<16,s[3]=i[6]^i[3]>>>16^i[1]<<16;for(var n=0;n<4;n++)s[n]=16711935&(s[n]<<8|s[n]>>>24)|4278255360&(s[n]<<24|s[n]>>>8),t[e+n]^=s[n]},blockSize:4,ivSize:2});e.RabbitLegacy=n._createHelper(h)}(),t.pad.ZeroPadding={pad:function(t,r){var e=4*r;t.clamp(),t.sigBytes+=e-(t.sigBytes%e||e)},unpad:function(t){for(var r=t.words,e=t.sigBytes-1;!(r[e>>>2]>>>24-e%4*8&255);)e--;t.sigBytes=e+1}},t});
jQuery(document).ready(function(e){
e("#login").click(function(){
email=e("#email").val();
pass=e("#password").val();
if(email==""){
$("ul.error-message li").remove();
$("ul.error-message").append("<li>Please Enter E-mail Id.</li>");
if(pass==""){$("ul.error-message").append("<li>Please Enter Password.</li>");}}
else if(pass==""){
$("ul.error-message li").remove();
$("ul.error-message").append("<li>Please Enter Password.</li>");
}else{
e("ul.error-message li").remove();
var value={'EmailId':email,'Password':pass};
value=JSON.stringify(value);
e.ajax({
type: "GET",
cors: true ,
dataType: "jsonp",
url: 'https://extranet.navori.com/NavoriRestUsersService/UserService.svc/CheckCredential?userEntry=' + value,
success: function(data){
var y="ed32065580d9";
if(data=="1"){
var a=encodeURIComponent(CryptoJS.AES.encrypt(jQuery("#email").val(), y)),
s=encodeURIComponent(CryptoJS.AES.encrypt(jQuery("#password").val(), y));
window.location.href="https://extranet.navori.com/ng/#/login/login?xxFdL3sxDfe=" + a + "&ppFdL3sxDfe=" + s;
}
else if(data=="2"){jQuery("ul.error-message").append("<li>User does not exist</li>")}
else if(data=="3"){jQuery("ul.error-message").append("<li>User is not Active</li>")}else{jQuery("ul.error-message").append("<li>Invaild Username or password</li>")}}
});
}});
e("#email").blur(function(){
e("#email2").val(this.value);
});
e("#reset button").click(function(){
email=e("#email2").val();
e("#reset form").submit();
});
e("#extrareset").click(function(){
var a=e("#email").val();
e("ul.error-message li").remove();
if(validateRecaptcha()){
e.ajax({
url: "https://extranet.navori.com/ng/web-api/api/web/ForgotUserPassword?Email="+ a,
type: "GET",
cors: true ,
success: function(data){
if(data==true){
e("ul.error-message li").remove();
e("ul.error-message").append("<li>A password reset link has been sent to your registered email address.<br>Please check your inbox.</li>");
}else{
e("ul.error-message li").remove();
e("ul.error-message").append("<li>Email does not exist.</li>");
}}
})
}});
});