KeymailSpecials2/wwwroot/js/bundle.js

5 lines
888 KiB
JavaScript
Raw Blame History

!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(x,Y){"use strict";function v(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item}function z(e){return null!=e&&e===e.window}var t=[],N=Object.getPrototypeOf,o=t.slice,F=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},B=t.push,w=t.indexOf,q={},V=q.toString,R=q.hasOwnProperty,Q=R.toString,H=Q.call(Object),m={},T=x.document,W={type:!0,src:!0,nonce:!0,noModule:!0};function $(e,t,i){var n,r,s=(i=i||T).createElement("script");if(s.text=e,t)for(n in W)(r=t[n]||t.getAttribute&&t.getAttribute(n))&&s.setAttribute(n,r);i.head.appendChild(s).parentNode.removeChild(s)}function U(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?q[V.call(e)]||"object":typeof e}var e="3.7.0",G=/HTML$/i,S=function(e,t){return new S.fn.init(e,t)};function X(e){var t=!!e&&"length"in e&&e.length,i=U(e);return!v(e)&&!z(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}function b(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}S.fn=S.prototype={jquery:e,constructor:S,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){return(e=S.merge(this.constructor(),e)).prevObject=this,e},each:function(e){return S.each(this,e)},map:function(i){return this.pushStack(S.map(this,function(e,t){return i.call(e,t,e)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:B,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,i,n,r,s=arguments[0]||{},a=1,o=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===o&&(s=this,a--);a<o;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(l&&i&&(S.isPlainObject(i)||(n=Array.isArray(i)))?(r=s[t],r=n&&!Array.isArray(r)?[]:n||S.isPlainObject(r)?r:{},n=!1,s[t]=S.extend(l,r,i)):void 0!==i&&(s[t]=i));return s},S.extend({expando:"jQuery"+(e+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==V.call(e)||(e=N(e))&&("function"!=typeof(e=R.call(e,"constructor")&&e.constructor)||Q.call(e)!==H))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,i){$(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(X(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,i="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r)return e.textContent;if(3===r||4===r)return e.nodeValue}else for(;t=e[n++];)i+=S.text(t);return i},makeArray:function(e,t){return t=t||[],null!=e&&(X(Object(e))?S.merge(t,"string"==typeof e?[e]:e):B.call(t,e)),t},inArray:function(e,t,i){return null==t?-1:w.call(t,e,i)},isXMLDoc:function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!G.test(t||e&&e.nodeName||"HTML")},merge:function(e,t){for(var i=+t.length,n=0,r=e.length;n<i;n++)e[r++]=t[n];return e.length=r,e},grep:function(e,t,i){for(var n=[],r=0,s=e.length,a=!i;r<s;r++)!t(e[r],r)!=a&&n.push(e[r]);return n},map:function(e,t,i){var n,r,s=0,a=[];if(X(e))for(n=e.length;s<n;s++)null!=(r=t(e[s],s,i))&&a.push(r);else for(s in e)null!=(r=t(e[s],s,i))&&a.push(r);return F(a)},guid:1,support:m}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){q["[object "+t+"]"]=t.toLowerCase()});var Z=t.pop,J=t.sort,K=t.splice,i="[\\x20\\t\\r\\n\\f]",ee=new RegExp("^"+i+"+|((?:^|[^\\\\])(?:\\\\.)*)"+i+"+$","g"),te=(S.contains=function(e,t){return e===(t=t&&t.parentNode)||!(!t||1!==t.nodeType||!(e.contains?e.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))},/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g);function ie(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}S.escapeSelector=function(e){return(e+"").replace(te,ie)};var ne,_,re,se,ae,k,oe,C,p,le,n=T,ce=B,P=ce,E=S.expando,A=0,de=0,ue=Me(),pe=Me(),he=Me(),fe=Me(),me=function(e,t){return e===t&&(ae=!0),0},ge="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r=":("+(e="(?:\\\\[\\da-fA-F]{1,6}"+i+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+")+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+(s="\\["+i+"*("+e+")(?:"+i+"*([*^$|!~]?=)"+i+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+e+"))|)"+i+"*\\]")+")*)|.*)\\)|)",ye=new RegExp(i+"+","g"),ve=new RegExp("^"+i+"*,"+i+"*"),be=new RegExp("^"+i+"*([>+~]|"+i+")"+i+"*"),we=new RegExp(i+"|>"),_e=new RegExp(r),xe=new RegExp("^"+e+"$"),Te={ID:new RegExp("^#("+e+")"),CLASS:new RegExp("^\\.("+e+")"),TAG:new RegExp("^("+e+"|[*])"),ATTR:new RegExp("^"+s),PSEUDO:new RegExp("^"+r),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+i+"*(even|odd|(([+-]|)(\\d*)n|)"+i+"*(?:([+-]|)"+i+"*(\\d+)|))"+i+"*\\)|)","i"),bool:new RegExp("^(?:"+ge+")$","i"),needsContext:new RegExp("^"+i+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+i+"*((?:-\\d)?\\d*)"+i+"*\\)|)(?=[^-]|$)","i")},Se=/^(?:input|select|textarea|button)$/i,ke=/^h\d$/i,Ce=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Pe=/[+~]/,u=new RegExp("\\\\[\\da-fA-F]{1,6}"+i+"?|\\\\([^\\r\\n\\f])","g"),h=function(e,t){return e="0x"+e.slice(1)-65536,t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))},Ee=function(){De()},Ae=Fe(function(e){return!0===e.disabled&&b(e,"fieldset")},{dir:"parentNode",next:"legend"});try{P.apply(t=o.call(n.childNodes),n.childNodes),t[n.childNodes.length].nodeType}catch(ne){P={apply:function(e,t){ce.apply(e,o.call(t))},call:function(e){ce.apply(e,o.call(arguments,1))}}}function M(e,t,i,n){var r,s,a,o,l,c,d=t&&t.ownerDocument,u=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==u&&9!==u&&11!==u)return i;if(!n&&(De(t),t=t||k,C)){if(11!==u&&(o=Ce.exec(e)))if(r=o[1]){if(9===u){if(!(c=t.getElementById(r)))return i;if(c.id===r)return P.call(i,c),i}else if(d&&(c=d.getElementById(r))&&M.contains(t,c)&&c.id===r)return P.call(i,c),i}else{if(o[2])return P.apply(i,t.getElementsByTagName(e)),i;if((r=o[3])&&t.getElementsByClassName)return P.apply(i,t.getElementsByClassName(r)),i}if(!(fe[e+" "]||p&&p.test(e))){if(c=e,d=t,1===u&&(we.test(e)||be.test(e))){for((d=Pe.test(e)&&Oe(t.parentNode)||t)==t&&m.scope||((a=t.getAttribute("id"))?a=S.escapeSelector(a):t.setAttribute("id",a=E)),s=(l=ze(e)).length;s--;)l[s]=(a?"#"+a:":scope")+" "+Ne(l[s]);c=l.join(",")}try{return P.apply(i,d.querySelectorAll(c)),i}catch(t){fe(e,!0)}finally{a===E&&t.removeAttribute("id")}}}return Re(e.replace(ee,"$1"),t,i,n)}function Me(){var n=[];return function e(t,i){return n.push(t+" ")>_.cacheLength&&delete e[n.shift()],e[t+" "]=i}}function L(e){return e[E]=!0,e}function Le(e){var t=k.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function je(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&&Ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function Ie(a){return L(function(s){return s=+s,L(function(e,t){for(var i,n=a([],e.length,s),r=n.length;r--;)e[i=n[r]]&&(e[i]=!(t[i]=e[i]))})})}function Oe(e){return e&&void 0!==e.getElementsByTagName&&e}function De(e){return(e=e?e.ownerDocument||e:n)!=k&&9===e.nodeType&&e.documentElement&&(oe=(k=e).documentElement,C=!S.isXMLDoc(k),le=oe.matches||oe.webkitMatchesSelector||oe.msMatchesSelector,n!=k&&(e=k.defaultView)&&e.top!==e&&e.addEventListener("unload",Ee),m.getById=Le(function(e){return oe.appendChild(e).id=S.expando,!k.getElementsByName||!k.getElementsByName(S.expando).length}),m.disconnectedMatch=Le(function(e){return le.call(e,"*")}),m.scope=Le(function(){return k.querySelectorAll(":scope")}),m.cssHas=Le(function(){try{return k.querySelector(":has(*,:jqfake)"),0}catch(e){return 1}}),m.getById?(_.filter.ID=function(e){var t=e.replace(u,h);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&C)return(t=t.getElementById(e))?[t]:[]}):(_.filter.ID=function(e){var t=e.replace(u,h);return function(e){return(e=void 0!==e.getAttributeNode&&e.getAttributeNode("id"))&&e.value===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var i,n,r,s=t.getElementById(e);if(s){if((i=s.getAttributeNode("id"))&&i.value===e)return[s];for(r=t.getElementsByName(e),n=0;s=r[n++];)if((i=s.getAttributeNode("id"))&&i.value===e)return[s]}return[]}}),_.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},_.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},p=[],Le(function(e){var t;oe.appendChild(e).innerHTML="<a id='"+E+"' href='' disabled='disabled'></a><select id='"+E+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||p.push("\\["+i+"*(?:value|"+ge+")"),e.querySelectorAll("[id~="+E+"-]").length||p.push("~="),e.querySelectorAll("a#"+E+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.push(":checked"),(t=k.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),oe.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(t=k.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+i+"*name"+i+"*="+i+"*(?:''|\"\")")}),m.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),me=function(e,t){var i;return e===t?(ae=!0,0):!e.compareDocumentPosition-!t.compareDocumentPosition||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!m.sortDetached&&t.compareDocumentPosition(e)===i?e===k||e.ownerDocument==n&&M.contains(n,e)?-1:t===k||t.ownerDocument==n&&M.contains(n,t)?1:se?w.call(se,e)-w.call(se,t):0:4&i?-1:1)}),k}for(ne in M.matches=function(e,t){return M(e,null,null,t)},M.matchesSelector=function(e,t){if(De(e),C&&!fe[t+" "]&&(!p||!p.test(t)))try{var i=le.call(e,t);if(i||m.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){fe(t,!0)}return 0<M(t,k,null,[e]).length},M.contains=function(e,t){return(e.ownerDocument||e)!=k&&De(e),S.contains(e,t)},M.attr=function(e,t){(e.ownerDocument||e)!=k&&De(e);var i=_.attrHandle[t.toLowerCase()];return void 0!==(i=i&&R.call(_.attrHandle,t.toLowerCase())?i(e,t,!C):void 0)?i:e.getAttribute(t)},M.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},S.uniqueSort=function(e){var t,i=[],n=0,r=0;if(ae=!m.sortStable,se=!m.sortStable&&o.call(e,0),J.call(e,me),ae){for(;t=e[r++];)t===e[r]&&(n=i.push(r));for(;n--;)K.call(e,i[n],1)}return se=null,e},S.fn.uniqueSort=function(){return this.pushStack(S.uniqueSort(o.apply(this)))},(_=S.expr={cacheLength:50,createPseudo:L,match:Te,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(u,h),e[3]=(e[3]||e[4]||e[5]||"").replace(u,h),"~="===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]||M.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]&&M.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return Te.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&_e.test(i)&&(t=(t=ze(i,!0))&&i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(u,h).toLowerCase();return"*"===e?function(){return!0}:function(e){return b(e,t)}},CLASS:function(e){var t=ue[e+" "];return t||(t=new RegExp("(^|"+i+")"+e+"("+i+"|$)"))&&ue(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(e){return null==(e=M.attr(e,t))?"!="===i:!i||(e+="","="===i?e===n:"!="===i?e!==n:"^="===i?n&&0===e.indexOf(n):"*="===i?n&&-1<e.indexOf(n):"$="===i?n&&e.slice(-n.length)===n:"~="===i?-1<(" "+e.replace(ye," ")+" ").indexOf(n):"|="===i&&(e===n||e.slice(0,n.length+1)===n+"-"))}},CHILD:function(h,e,t,f,m){var g="nth"!==h.slice(0,3),y="last"!==h.slice(-4),v="of-type"===e;return 1===f&&0===m?function(e){return!!e.parentNode}:function(e,t,i){var n,r,s,a,o,l=g!=y?"nextSibling":"previousSibling",c=e.parentNode,d=v&&e.nodeName.toLowerCase(),u=!i&&!v,p=!1;if(c){if(g){for(;l;){for(s=e;s=s[l];)if(v?b(s,d):1===s.nodeType)return!1;o=l="only"===h&&!o&&"nextSibling"}return!0}if(o=[y?c.firstChild:c.lastChild],y&&u){for(p=(a=(n=(r=c[E]||(c[E]={}))[h]||[])[0]===A&&n[1])&&n[2],s=a&&c.childNodes[a];s=++a&&s&&s[l]||(p=a=0,o.pop());)if(1===s.nodeType&&++p&&s===e){r[h]=[A,a,p];break}}else if(!1===(p=u?a=(n=(r=e[E]||(e[E]={}))[h]||[])[0]===A&&n[1]:p))for(;(s=++a&&s&&s[l]||(p=a=0,o.pop()))&&((v?!b(s,d):1!==s.nodeType)||!++p||(u&&((r=s[E]||(s[E]={}))[h]=[A,p]),s!==e)););return(p-=m)===f||p%f==0&&0<=p/f}}},PSEUDO:function(e,s){var t,a=_.pseudos[e]||_.setFilters[e.toLowerCase()]||M.error("unsupported pseudo: "+e);return a[E]?a(s):1<a.length?(t=[e,e,"",s],_.setFilters.hasOwnProperty(e.toLowerCase())?L(function(e,t){for(var i,n=a(e,s),r=n.length;r--;)e[i=w.call(e,n[r])]=!(t[i]=n[r])}):function(e){return a(e,0,t)}):a}},pseudos:{not:L(function(e){var n=[],r=[],o=Ve(e.replace(ee,"$1"));return o[E]?L(function(e,t,i,n){for(var r,s=o(e,null,n,[]),a=e.length;a--;)(r=s[a])&&(e[a]=!(t[a]=r))}):function(e,t,i){return n[0]=e,o(n,null,i,r),n[0]=null,!r.pop()}}),has:L(function(t){return function(e){return 0<M(t,e).length}}),contains:L(function(t){return t=t.replace(u,h),function(e){return-1<(e.textContent||S.text(e)).indexOf(t)}}),lang:L(function(i){return xe.test(i||"")||M.error("unsupported lang: "+i),i=i.replace(u,h).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===i||0===t.indexOf(i+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=x.location&&x.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===oe},focus:function(e){return e===function(){try{return k.activeElement}catch(e){}}()&&k.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:je(!1),disabled:je(!0),checked:function(e){return b(e,"input")&&!!e.checked||b(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!_.pseudos.empty(e)},header:function(e){return ke.test(e.nodeName)},input:function(e){return Se.test(e.nodeName)},button:function(e){return b(e,"input")&&"button"===e.type||b(e,"button")},text:function(e){return b(e,"input")&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:Ie(function(){return[0]}),last:Ie(function(e,t){return[t-1]}),eq:Ie(function(e,t,i){return[i<0?i+t:i]}),even:Ie(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:Ie(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:Ie(function(e,t,i){for(var n=i<0?i+t:t<i?t:i;0<=--n;)e.push(n);return e}),gt:Ie(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[ne]=function(t){return function(e){return b(e,"input")&&e.type===t}}(ne);for(ne in{submit:!0,reset:!0})_.pseudos[ne]=function(t){return function(e){return(b(e,"input")||b(e,"button"))&&e.type===t}}(ne);function Ye(){}function ze(e,t){var i,n,r,s,a,o,l,c=pe[e+" "];if(c)return t?0:c.slice(0);for(a=e,o=[],l=_.preFilter;a;){for(s in i&&!(n=ve.exec(a))||(n&&(a=a.slice(n[0].length)||a),o.push(r=[])),i=!1,(n=be.exec(a))&&(i=n.shift(),r.push({value:i,type:n[0].replace(ee," ")}),a=a.slice(i.length)),_.filter)!(n=Te[s].exec(a))||l[s]&&!(n=l[s](n))||(i=n.shift(),r.push({value:i,type:s,matches:n}),a=a.slice(i.length));if(!i)break}return t?a.length:a?M.error(e):pe(e,o).slice(0)}function Ne(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function Fe(a,e,t){var o=e.dir,l=e.next,c=l||o,d=t&&"parentNode"===c,u=de++;return e.first?function(e,t,i){for(;e=e[o];)if(1===e.nodeType||d)return a(e,t,i);return!1}:function(e,t,i){var n,r,s=[A,u];if(i){for(;e=e[o];)if((1===e.nodeType||d)&&a(e,t,i))return!0}else for(;e=e[o];)if(1===e.nodeType||d)if(r=e[E]||(e[E]={}),l&&b(e,l))e=e[o]||e;else{if((n=r[c])&&n[0]===A&&n[1]===u)return s[2]=n[2];if((r[c]=s)[2]=a(e,t,i))return!0}return!1}}function Be(r){return 1<r.length?function(e,t,i){for(var n=r.length;n--;)if(!r[n](e,t,i))return!1;return!0}:r[0]}function qe(e,t,i,n,r){for(var s,a=[],o=0,l=e.length,c=null!=t;o<l;o++)!(s=e[o])||i&&!i(s,n,r)||(a.push(s),c&&t.push(o));return a}function Ve(e,t){var i,g,y,v,b,n,r=[],s=[],a=he[e+" "];if(!a){for(i=(t=t||ze(e)).length;i--;)((a=function e(t){for(var n,i,r,s=t.length,a=_.relative[t[0].type],o=a||_.relative[" "],l=a?1:0,c=Fe(function(e){return e===n},o,!0),d=Fe(function(e){return-1<w.call(n,e)},o,!0),u=[function(e,t,i){return e=!a&&(i||t!=re)||((n=t).nodeType?c:d)(e,t,i),n=null,e}];l<s;l++)if(i=_.relative[t[l].type])u=[Fe(Be(u),i)];else{if((i=_.filter[t[l].type].apply(null,t[l].matches))[E]){for(r=++l;r<s&&!_.relative[t[r].type];r++);return function e(h,f,m,g,y,t){return g&&!g[E]&&(g=e(g)),y&&!y[E]&&(y=e(y,t)),L(function(e,t,i,n){var r,s,a,o,l=[],c=[],d=t.length,u=e||function(e,t,i){for(var n=0,r=t.length;n<r;n++)M(e,t[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),p=!h||!e&&f?u:qe(u,l,h,i,n);if(m?m(p,o=y||(e?h:d||g)?[]:t,i,n):o=p,g)for(r=qe(o,c),g(r,[],i,n),s=r.length;s--;)(a=r[s])&&(o[c[s]]=!(p[c[s]]=a));if(e){if(y||h){if(y){for(r=[],s=o.length;s--;)(a=o[s])&&r.push(p[s]=a);y(null,o=[],r,n)}for(s=o.length;s--;)(a=o[s])&&-1<(r=y?w.call(e,a):l[s])&&(e[r]=!(t[r]=a))}}else o=qe(o===t?o.splice(d,o.length):o),y?y(null,t,o,n):P.apply(t,o)})}(1<l&&Be(u),1<l&&Ne(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(ee,"$1"),i,l<r&&e(t.slice(l,r)),r<s&&e(t=t.slice(r)),r<s&&Ne(t))}u.push(i)}return Be(u)}(t[i]))[E]?r:s).push(a);(a=he(e,(v=0<(y=r).length,b=0<(g=s).length,n=function(e,t,i,n,r){var s,a,o,l=0,c="0",d=e&&[],u=[],p=re,h=e||b&&_.find.TAG("*",r),f=A+=null==p?1:Math.random()||.1,m=h.length;for(r&&(re=t==k||t||r);c!==m&&null!=(s=h[c]);c++){if(b&&s){for(a=0,t||s.ownerDocument==k||(De(s),i=!C);o=g[a++];)if(o(s,t||k,i)){P.call(n,s);break}r&&(A=f)}v&&((s=!o&&s)&&l--,e)&&d.push(s)}if(l+=c,v&&c!==l){for(a=0;o=y[a++];)o(d,u,t,i);if(e){if(0<l)for(;c--;)d[c]||u[c]||(u[c]=Z.call(n));u=qe(u)}P.apply(n,u),r&&!e&&0<u.length&&1<l+y.length&&S.uniqueSort(n)}return r&&(A=f,re=p),d},v?L(n):n))).selector=e}return a}function Re(e,t,i,n){var r,s,a,o,l,c="function"==typeof e&&e,d=!n&&ze(e=c.selector||e);if(i=i||[],1===d.length){if(2<(s=d[0]=d[0].slice(0)).length&&"ID"===(a=s[0]).type&&9===t.nodeType&&C&&_.relative[s[1].type]){if(!(t=(_.find.ID(a.matches[0].replace(u,h),t)||[])[0]))return i;c&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(r=Te.needsContext.test(e)?0:s.length;r--&&(a=s[r],!_.relative[o=a.type]);)if((l=_.find[o])&&(n=l(a.matches[0].replace(u,h),Pe.test(s[0].type)&&Oe(t.parentNode)||t))){if(s.splice(r,1),e=n.length&&Ne(s))break;return P.apply(i,n),i}}return(c||Ve(e,d))(n,t,!C,i,!t||Pe.test(e)&&Oe(t.parentNode)||t),i}function Qe(e,t,i){for(var n=[],r=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&S(e).is(i))break;n.push(e)}return n}function He(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}Ye.prototype=_.filters=_.pseudos,_.setFilters=new Ye,m.sortStable=E.split("").sort(me).join("")===E,De(),m.sortDetached=Le(function(e){return 1&e.compareDocumentPosition(k.createElement("fieldset"))}),S.find=M,S.expr[":"]=S.expr.pseudos,S.unique=S.uniqueSort,M.compile=Ve,M.select=Re,M.setDocument=De,M.escape=S.escapeSelector,M.getText=S.text,M.isXML=S.isXMLDoc,M.selectors=S.expr,M.support=S.support,M.uniqueSort=S.uniqueSort;var We=S.expr.match.needsContext,$e=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ue(e,i,n){return v(i)?S.grep(e,function(e,t){return!!i.call(e,t,e)!==n}):i.nodeType?S.grep(e,function(e){return e===i!==n}):"string"!=typeof i?S.grep(e,function(e){return-1<w.call(i,e)!==n}):S.filter(i,e,n)}S.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?S.find.matchesSelector(n,e)?[n]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,i,n=this.length,r=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<n;t++)if(S.contains(r[t],this))return!0}));for(i=this.pushStack([]),t=0;t<n;t++)S.find(e,r[t],i);return 1<n?S.uniqueSort(i):i},filter:function(e){return this.pushStack(Ue(this,e||[],!1))},not:function(e){return this.pushStack(Ue(this,e||[],!0))},is:function(e){return!!Ue(this,"string"==typeof e&&We.test(e)?S(e):e||[],!1).length}});var Ge,Xe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ze=((S.fn.init=function(e,t,i){if(e){if(i=i||Ge,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==i.ready?i.ready(e):e(S):S.makeArray(e,this);if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Xe.exec(e))||!n[1]&&t)return(!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:T,!0)),$e.test(n[1])&&S.isPlainObject(t))for(var n in t)v(this[n])?this[n](t[n]):this.attr(n,t[n])}else(i=T.getElementById(n[2]))&&(this[0]=i,this.length=1)}return this}).prototype=S.fn,Ge=S(T),/^(?:parents|prev(?:Until|All))/),Je={children:!0,contents:!0,next:!0,prev:!0};function Ke(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var i,n=0,r=this.length,s=[],a="string"!=typeof e&&S(e);if(!We.test(e))for(;n<r;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(a?-1<a.index(i):1===i.nodeType&&S.find.matchesSelector(i,e))){s.push(i);break}return this.pushStack(1<s.length?S.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?w.call(S(e),this[0]):w.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){return(e=e.parentNode)&&11!==e.nodeType?e:null},parents:function(e){return Qe(e,"parentNode")},parentsUntil:function(e,t,i){return Qe(e,"parentNode",i)},next:function(e){return Ke(e,"nextSibling")},prev:function(e){return Ke(e,"previousSibling")},nextAll:function(e){return Qe(e,"nextSibling")},prevAll:function(e){return Qe(e,"previousSibling")},nextUntil:function(e,t,i){return Qe(e,"nextSibling",i)},prevUntil:function(e,t,i){return Qe(e,"previousSibling",i)},siblings:function(e){return He((e.parentNode||{}).firstChild,e)},children:function(e){return He(e.firstChild)},contents:function(e){return null!=e.contentDocument&&N(e.contentDocument)?e.contentDocument:(b(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(n,r){S.fn[n]=function(e,t){var i=S.map(this,r,e);return(t="Until"!==n.slice(-5)?e:t)&&"string"==typeof t&&(i=S.filter(t,i)),1<this.length&&(Je[n]||S.uniqueSort(i),Ze.test(n))&&i.reverse(),this.pushStack(i)}});var j=/[^\x20\t\r\n\f]+/g;function et(e){return e}function tt(e){throw e}function it(e,t,i,n){var r;try{e&&v(r=e.promise)?r.call(e).done(t).fail(i):e&&v(r=e.then)?r.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}S.Callbacks=function(n){var e,i;function r(){for(o=o||n.once,a=s=!0;c.length;d=-1)for(t=c.shift();++d<l.length;)!1===l[d].apply(t[0],t[1])&&n.stopOnFalse&&(d=l.length,t=!1);n.memory||(t=!1),s=!1,o&&(l=t?[]:"")}n="string"==typeof n?(e=n,i={},S.each(e.match(j)||[],function(e,t){i[t]=!0}),i):S.extend({},n);var s,t,a,o,l=[],c=[],d=-1,u={add:function(){return l&&(t&&!s&&(d=l.length-1,c.push(t)),function i(e){S.each(e,function(e,t){v(t)?n.unique&&u.has(t)||l.push(t):t&&t.length&&"string"!==U(t)&&i(t)})}(arguments),t)&&!s&&r(),this},remove:function(){return S.each(arguments,function(e,t){for(var i;-1<(i=S.inArray(t,l,i));)l.splice(i,1),i<=d&&d--}),this},has:function(e){return e?-1<S.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return o=c=[],l=t="",this},disabled:function(){return!l},lock:function(){return o=c=[],t||s||(l=t=""),this},locked:function(){return!!o},fireWith:function(e,t){return o||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),s)||r(),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!a}};return u},S.extend({Deferred:function(e){var s=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],r="pending",a={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var r=arguments;return S.Deferred(function(n){S.each(s,function(e,t){var i=v(r[t[4]])&&r[t[4]];o[t[1]](function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[t[0]+"With"](this,i?[e]:arguments)})}),r=null}).promise()},then:function(t,i,n){var l=0;function c(r,s,a,o){return function(){function e(){var e,t;if(!(r<l)){if((e=a.apply(i,n))===s.promise())throw new TypeError("Thenable self-resolution");v(t=e&&("object"==typeof e||"function"==typeof e)&&e.then)?o?t.call(e,c(l,s,et,o),c(l,s,tt,o)):(l++,t.call(e,c(l,s,et,o),c(l,s,tt,o),c(l,s,et,s.notifyWith))):(a!==et&&(i=void 0,n=[e]),(o||s.resolveWith)(i,n))}}var i=this,n=arguments,t=o?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.error),l<=r+1&&(a!==tt&&(i=void 0,n=[e]),s.rejectWith(i,n))}};r?t():(S.Deferred.getErrorHook?t.error=S.Deferred.getErrorHook():S.Deferred.getStackHook&&(t.error=S.Deferred.getStackHook()),x.setTimeout(t))}}return S.Deferred(function(e){s[0][3].add(c(0,e,v(n)?n:et,e.notifyWith)),s[1][3].add(c(0,e,v(t)?t:et)),s[2][3].add(c(0,e,v(i)?i:tt))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},o={};return S.each(s,function(e,t){var i=t[2],n=t[5];a[t[1]]=i.add,n&&i.add(function(){r=n},s[3-e][2].disable,s[3-e][3].disable,s[0][2].lock,s[0][3].lock),i.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=i.fireWith}),a.promise(o),e&&e.call(o,o),o},when:function(e){function t(t){return function(e){r[t]=this,s[t]=1<arguments.length?o.call(arguments):e,--i||a.resolveWith(r,s)}}var i=arguments.length,n=i,r=Array(n),s=o.call(arguments),a=S.Deferred();if(i<=1&&(it(e,a.done(t(n)).resolve,a.reject,!i),"pending"===a.state()||v(s[n]&&s[n].then)))return a.then();for(;n--;)it(s[n],t(n),a.reject);return a.promise()}});var nt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,rt=(S.Deferred.exceptionHook=function(e,t){x.console&&x.console.warn&&e&&nt.test(e.name)&&x.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){x.setTimeout(function(){throw e})},S.Deferred());function st(){T.removeEventListener("DOMContentLoaded",st),x.removeEventListener("load",st),S.ready()}function d(e,t,i,n,r,s,a){var o=0,l=e.length,c=null==i;if("object"===U(i))for(o in r=!0,i)d(e,t,o,i[o],!0,s,a);else if(void 0!==n&&(r=!0,v(n)||(a=!0),t=c?a?(t.call(e,n),null):(c=t,function(e,t,i){return c.call(S(e),i)}):t))for(;o<l;o++)t(e[o],i,a?n:n.call(e[o],o,t(e[o],i)));return r?e:c?t.call(e):l?t(e[0],i):s}S.fn.ready=function(e){return rt.then(e).catch(function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||rt.resolveWith(T,[S])}}),S.ready.then=rt.then,"complete"===T.readyState||"loading"!==T.readyState&&!T.documentElement.doScroll?x.setTimeout(S.ready):(T.addEventListener("DOMContentLoaded",st),x.addEventListener("load",st));var at=/^-ms-/,ot=/-([a-z])/g;function lt(e,t){return t.toUpperCase()}function I(e){return e.replace(at,"ms-").replace(ot,lt)}function ct(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function dt(){this.expando=S.expando+dt.uid++}dt.uid=1,dt.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ct(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,r=this.cache(e);if("string"==typeof t)r[I(t)]=i;else for(n in t)r[I(n)]=t[n];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][I(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(I):(t=I(t))in n?[t]:t.match(j)||[]).length;for(;i--;)delete n[t[i]]}void 0!==t&&!S.isEmptyObject(n)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){return void 0!==(e=e[this.expando])&&!S.isEmptyObject(e)}};var y=new dt,l=new dt,ut=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,pt=/[A-Z]/g;function ht(e,t,i){var n,r;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(pt,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===(r=i)||"false"!==r&&("null"===r?null:r===+r+""?+r:ut.test(r)?JSON.parse(r):r)}catch(e){}l.set(e,t,i)}else i=void 0;return i}function ft(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&yt(e)&&"none"===S.css(e,"display")}S.extend({hasData:function(e){return l.hasData(e)||y.hasData(e)},data:function(e,t,i){return l.access(e,t,i)},removeData:function(e,t){l.remove(e,t)},_data:function(e,t,i){return y.access(e,t,i)},_removeData:function(e,t){y.remove(e,t)}}),S.fn.extend({data:function(i,e){var t,n,r,s=this[0],a=s&&s.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){l.set(this,i)}):d(this,function(e){var t;if(s&&void 0===e)return void 0!==(t=l.get(s,i))||void 0!==(t=ht(s,i))?t:void 0;this.each(function(){l.set(this,i,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(r=l.get(s),1===s.nodeType)&&!y.get(s,"hasDataAttrs")){for(t=a.length;t--;)a[t]&&0===(n=a[t].name).indexOf("data-")&&(n=I(n.slice(5)),ht(s,n,r[n]));y.set(s,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){l.remove(this,e)})}}),S.extend({queue:function(e,t,i){var n;if(e)return n=y.get(e,t=(t||"fx")+"queue"),i&&(!n||Array.isArray(i)?n=y.access(e,t,S.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=S.queue(e,t),n=i.length,r=i.shift(),s=S._queueHooks(e,t);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===t&&i.unshift("inprogress"),delete s.stop,r.call(e,function(){S.dequeue(e,t)},s)),!n&&s&&s.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return y.get(e,i)||y.access(e,i,{empty:S.Callbacks("once memory").add(function(){y.remove(e,[t+"queue",i])})})}}),S.fn.extend({queue:function(t,i){var e=2;return"string"!=typeof t&&(i=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===i?this:this.each(function(){var e=S.queue(this,t,i);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function i(){--r||s.resolveWith(a,[a])}var n,r=1,s=S.Deferred(),a=this,o=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=y.get(a[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(i));return i(),s.promise(t)}});var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,mt=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),f=["Top","Right","Bottom","Left"],gt=T.documentElement,yt=function(e){return S.contains(e.ownerDocument,e)},vt={composed:!0};function bt(e,t,i,n){var r,s,a=20,o=n?function(){return n.cur()}:function(){return S.css(e,t,"")},l=o(),c=i&&i[3]||(S.cssNumber[t]?"":"px"),d=e.nodeType&&(S.cssNumber[t]||"px"!==c&&+l)&&mt.exec(S.css(e,t));if(d&&d[3]!==c){for(c=c||d[3],d=(l/=2)||1;a--;)S.style(e,t,d+c),(1-s)*(1-(s=o()/l||.5))<=0&&(a=0),d/=s;S.style(e,t,(d*=2)+c),i=i||[]}return i&&(d=+d||+l||0,r=i[1]?d+(i[1]+1)*i[2]:+i[2],n)&&(n.unit=c,n.start=d,n.end=r),r}gt.getRootNode&&(yt=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(vt)===e.ownerDocument});var wt={};function _t(e,t){for(var i,n,r,s,a,o=[],l=0,c=e.length;l<c;l++)(n=e[l]).style&&(i=n.style.display,t?("none"===i&&(o[l]=y.get(n,"display")||null,o[l]||(n.style.display="")),""===n.style.display&&ft(n)&&(o[l]=(a=r=void 0,a=n.ownerDocument,s=n.nodeName,wt[s]||(r=a.body.appendChild(a.createElement(s)),a=S.css(r,"display"),r.parentNode.removeChild(r),wt[s]="none"===a?"block":a)))):"none"!==i&&(o[l]="none",y.set(n,"display",i)));for(l=0;l<c;l++)null!=o[l]&&(e[l].style.display=o[l]);return e}S.fn.extend({show:function(){return _t(this,!0)},hide:function(){return _t(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ft(this)?S(this).show():S(this).hide()})}});var xt=/^(?:checkbox|radio)$/i,Tt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,St=/^$|^module$|\/(?:java|ecma)script/i,s=T.createDocumentFragment().appendChild(T.createElement("div")),g=((r=T.createElement("input")).setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),s.appendChild(r),m.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,s.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!s.cloneNode(!0).lastChild.defaultValue,s.innerHTML="<option></option>",m.option=!!s.lastChild,{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 O(e,t){var i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&b(e,t)?S.merge([e],i):i}function kt(e,t){for(var i=0,n=e.length;i<n;i++)y.set(e[i],"globalEval",!t||y.get(t[i],"globalEval"))}g.tbody=g.tfoot=g.colgroup=g.caption=g.thead,g.th=g.td,m.option||(g.optgroup=g.option=[1,"<select multiple='multiple'>","</select>"]);var Ct=/<|&#?\w+;/;function Pt(e,t,i,n,r){for(var s,a,o,l,c,d=t.createDocumentFragment(),u=[],p=0,h=e.length;p<h;p++)if((s=e[p])||0===s)if("object"===U(s))S.merge(u,s.nodeType?[s]:s);else if(Ct.test(s)){for(a=a||d.appendChild(t.createElement("div")),o=(Tt.exec(s)||["",""])[1].toLowerCase(),o=g[o]||g._default,a.innerHTML=o[1]+S.htmlPrefilter(s)+o[2],c=o[0];c--;)a=a.lastChild;S.merge(u,a.childNodes),(a=d.firstChild).textContent=""}else u.push(t.createTextNode(s));for(d.textContent="",p=0;s=u[p++];)if(n&&-1<S.inArray(s,n))r&&r.push(s);else if(l=yt(s),a=O(d.appendChild(s),"script"),l&&kt(a),i)for(c=0;s=a[c++];)St.test(s.type||"")&&i.push(s);return d}var Et=/^([^.]*)(?:\.(.+)|)/;function At(){return!0}function Mt(){return!1}function Lt(e,t,i,n,r,s){var a,o;if("object"==typeof t){for(o in"string"!=typeof i&&(n=n||i,i=void 0),t)Lt(e,o,i,n,t[o],s);return e}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=Mt;else if(!r)return e;return 1===s&&(a=r,(r=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,r,n,i)})}function jt(e,n,t){t?(y.set(e,n,!1),S.event.add(e,n,{namespace:!1,handler:function(e){var t,i=y.get(this,n);if(1&e.isTrigger&&this[n]){if(i)(S.event.special[n]||{}).delegateType&&e.stopPropagation();else if(i=o.call(arguments),y.set(this,n,i),this[n](),t=y.get(this,n),y.set(this,n,!1),i!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else i&&(y.set(this,n,S.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=At)}})):void 0===y.get(e,n)&&S.event.add(e,n,At)}S.event={global:{},add:function(t,e,i,n,r){var s,a,o,l,c,d,u,p,h,f=y.get(t);if(ct(t))for(i.handler&&(i=(s=i).handler,r=s.selector),r&&S.find.matchesSelector(gt,r),i.guid||(i.guid=S.guid++),o=(o=f.events)||(f.events=Object.create(null)),a=f.handle||(f.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(j)||[""]).length;l--;)u=h=(p=Et.exec(e[l])||[])[1],p=(p[2]||"").split(".").sort(),u&&(c=S.event.special[u]||{},u=(r?c.delegateType:c.bindType)||u,c=S.event.special[u]||{},h=S.extend({type:u,origType:h,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:p.join(".")},s),(d=o[u])||((d=o[u]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,p,a))||t.addEventListener&&t.addEventListener(u,a),c.add&&(c.add.call(t,h),h.handler.guid||(h.handler.guid=i.guid)),r?d.splice(d.delegateCount++,0,h):d.push(h),S.event.global[u]=!0)},remove:function(e,t,i,n,r){var s,a,o,l,c,d,u,p,h,f,m,g=y.hasData(e)&&y.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(j)||[""]).length;c--;)if(h=m=(o=Et.exec(t[c])||[])[1],f=(o[2]||"").split(".").sort(),h){for(u=S.event.special[h]||{},p=l[h=(n?u.delegateType:u.bindType)||h]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=p.length;s--;)d=p[s],!r&&m!==d.origType||i&&i.guid!==d.guid||o&&!o.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(p.splice(s,1),d.selector&&p.delegateCount--,u.remove&&u.remove.call(e,d));a&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,f,g.handle)||S.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)S.event.remove(e,h+t[c],i,n,!0);S.isEmptyObject(l)&&y.remove(e,"handle events")}},dispatch:function(e){var t,i,n,r,s,a=new Array(arguments.length),o=S.event.fix(e),e=(y.get(this,"events")||Object.create(null))[o.type]||[],l=S.event.special[o.type]||{};for(a[0]=o,t=1;t<arguments.length;t++)a[t]=arguments[t];if(o.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,o)){for(s=S.event.handlers.call(this,o,e),t=0;(n=s[t++])&&!o.isPropagationStopped();)for(o.currentTarget=n.elem,i=0;(r=n.handlers[i++])&&!o.isImmediatePropagationStopped();)o.rnamespace&&!1!==r.namespace&&!o.rnamespace.test(r.namespace)||(o.handleObj=r,o.data=r.data,void 0!==(r=((S.event.special[r.origType]||{}).handle||r.handler).apply(n.elem,a))&&!1===(o.result=r)&&(o.preventDefault(),o.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,o),o.result}},handlers:function(e,t){var i,n,r,s,a,o=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(s=[],a={},i=0;i<l;i++)void 0===a[r=(n=t[i]).selector+" "]&&(a[r]=n.needsContext?-1<S(r,this).index(c):S.find(r,this,null,[c]).length),a[r]&&s.push(n);s.length&&o.push({elem:c,handlers:s})}return c=this,l<t.length&&o.push({elem:c,handlers:t.slice(l)}),o},addProp:function(t,e){Object.defineProperty(S.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[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){return xt.test((e=this||e).type)&&e.click&&b(e,"input")&&jt(e,"click",!0),!1},trigger:function(e){return xt.test((e=this||e).type)&&e.click&&b(e,"input")&&jt(e,"click"),!0},_default:function(e){return e=e.target,xt.test(e.type)&&e.click&&b(e,"input")&&y.get(e,"click")||b(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?At:Mt,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&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Mt,isPropagationStopped:Mt,isImmediatePropagationStopped:Mt,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=At,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=At,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=At,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.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},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(n,r){function s(e){var t,i;T.documentMode?(t=y.get(this,"handle"),(i=S.event.fix(e)).type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,t(e),i.target===i.currentTarget&&t(i)):S.event.simulate(r,e.target,S.event.fix(e))}S.event.special[n]={setup:function(){var e;if(jt(this,n,!0),!T.documentMode)return!1;(e=y.get(this,r))||this.addEventListener(r,s),y.set(this,r,(e||0)+1)},trigger:function(){return jt(this,n),!0},teardown:function(){var e;if(!T.documentMode)return!1;(e=y.get(this,r)-1)?y.set(this,r,e):(this.removeEventListener(r,s),y.remove(this,r))},_default:function(e){return y.get(e.target,n)},delegateType:r},S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=T.documentMode?this:e,i=y.get(t,r);i||(T.documentMode?this.addEventListener(r,s):e.addEventListener(n,s,!0)),y.set(t,r,(i||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=T.documentMode?this:e,i=y.get(t,r)-1;i?y.set(t,r,i):(T.documentMode?this.removeEventListener(r,s):e.removeEventListener(n,s,!0),y.remove(t,r))}}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){S.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,i=e.relatedTarget,n=e.handleObj;return i&&(i===this||S.contains(this,i))||(e.type=n.origType,t=n.handler.apply(this,arguments),e.type=r),t}}}),S.fn.extend({on:function(e,t,i,n){return Lt(this,e,t,i,n)},one:function(e,t,i,n){return Lt(this,e,t,i,n,1)},off:function(e,t,i){var n,r;if(e&&e.preventDefault&&e.handleObj)n=e.handleObj,S(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=Mt),this.each(function(){S.event.remove(this,e,i,t)});for(r in e)this.off(r,t,e[r])}return this}});var It=/<script|<style|<link/i,Ot=/checked\s*(?:[^=]|=\s*.checked.)/i,Dt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Yt(e,t){return b(e,"table")&&b(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function zt(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Nt(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ft(e,t){var i,n,r,s;if(1===t.nodeType){if(y.hasData(e)&&(s=y.get(e).events))for(r in y.remove(t,"handle events"),s)for(i=0,n=s[r].length;i<n;i++)S.event.add(t,r,s[r][i]);l.hasData(e)&&(e=l.access(e),e=S.extend({},e),l.set(t,e))}}function Bt(i,n,r,s){n=F(n);var e,t,a,o,l,c,d=0,u=i.length,p=u-1,h=n[0],f=v(h);if(f||1<u&&"string"==typeof h&&!m.checkClone&&Ot.test(h))return i.each(function(e){var t=i.eq(e);f&&(n[0]=h.call(this,e,t.html())),Bt(t,n,r,s)});if(u&&(t=(e=Pt(n,i[0].ownerDocument,!1,i,s)).firstChild,1===e.childNodes.length&&(e=t),t||s)){for(o=(a=S.map(O(e,"script"),zt)).length;d<u;d++)l=e,d!==p&&(l=S.clone(l,!0,!0),o)&&S.merge(a,O(l,"script")),r.call(i[d],l,d);if(o)for(c=a[a.length-1].ownerDocument,S.map(a,Nt),d=0;d<o;d++)l=a[d],St.test(l.type||"")&&!y.access(l,"globalEval")&&S.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?S._evalUrl&&!l.noModule&&S._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):$(l.textContent.replace(Dt,""),l,c))}return i}function qt(e,t,i){for(var n,r=t?S.filter(t,e):e,s=0;null!=(n=r[s]);s++)i||1!==n.nodeType||S.cleanData(O(n)),n.parentNode&&(i&&yt(n)&&kt(O(n,"script")),n.parentNode.removeChild(n));return e}function Vt(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:x).getComputedStyle(e)}function Rt(e,t,i){var n,r={};for(n in t)r[n]=e.style[n],e.style[n]=t[n];for(n in i=i.call(e),t)e.style[n]=r[n];return i}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,r,s,a,o,l,c,d=e.cloneNode(!0),u=yt(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=O(d),n=0,r=(s=O(e)).length;n<r;n++)o=s[n],"input"===(c=(l=a[n]).nodeName.toLowerCase())&&xt.test(o.type)?l.checked=o.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=o.defaultValue);if(t)if(i)for(s=s||O(e),a=a||O(d),n=0,r=s.length;n<r;n++)Ft(s[n],a[n]);else Ft(e,d);return 0<(a=O(d,"script")).length&&kt(a,!u&&O(e,"script")),d},cleanData:function(e){for(var t,i,n,r=S.event.special,s=0;void 0!==(i=e[s]);s++)if(ct(i)){if(t=i[y.expando]){if(t.events)for(n in t.events)r[n]?S.event.remove(i,n):S.removeEvent(i,n,t.handle);i[y.expando]=void 0}i[l.expando]&&(i[l.expando]=void 0)}}}),S.fn.extend({detach:function(e){return qt(this,e,!0)},remove:function(e){return qt(this,e)},text:function(e){return d(this,function(e){return void 0===e?S.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 Bt(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Yt(this,e).appendChild(e)})},prepend:function(){return Bt(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Yt(this,e)).insertBefore(e,t.firstChild)})},before:function(){return Bt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Bt(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&&(S.cleanData(O(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return d(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!It.test(e)&&!g[(Tt.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(S.cleanData(O(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var i=[];return Bt(this,arguments,function(e){var t=this.parentNode;S.inArray(this,i)<0&&(S.cleanData(O(this)),t)&&t.replaceChild(e,this)},i)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,i=[],n=S(e),r=n.length-1,s=0;s<=r;s++)t=s===r?this:this.clone(!0),S(n[s])[a](t),B.apply(i,t.get());return this.pushStack(i)}});var Qt,Ht,Wt,$t,Ut,Gt,Xt,a,Zt=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Jt=/^--/,Kt=new RegExp(f.join("|"),"i");function ei(e,t,i){var n,r=Jt.test(t),s=e.style;return(i=i||Vt(e))&&(n=i.getPropertyValue(t)||i[t],""!==(n=r?n&&(n.replace(ee,"$1")||void 0):n)||yt(e)||(n=S.style(e,t)),!m.pixelBoxStyles())&&Zt.test(n)&&Kt.test(t)&&(r=s.width,e=s.minWidth,t=s.maxWidth,s.minWidth=s.maxWidth=s.width=n,n=i.width,s.width=r,s.minWidth=e,s.maxWidth=t),void 0!==n?n+"":n}function ti(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function ii(){var e;a&&(Xt.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",a.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",gt.appendChild(Xt).appendChild(a),e=x.getComputedStyle(a),Qt="1%"!==e.top,Gt=12===ni(e.marginLeft),a.style.right="60%",$t=36===ni(e.right),Ht=36===ni(e.width),a.style.position="absolute",Wt=12===ni(a.offsetWidth/3),gt.removeChild(Xt),a=null)}function ni(e){return Math.round(parseFloat(e))}Xt=T.createElement("div"),(a=T.createElement("div")).style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===a.style.backgroundClip,S.extend(m,{boxSizingReliable:function(){return ii(),Ht},pixelBoxStyles:function(){return ii(),$t},pixelPosition:function(){return ii(),Qt},reliableMarginLeft:function(){return ii(),Gt},scrollboxSize:function(){return ii(),Wt},reliableTrDimensions:function(){var e,t,i;return null==Ut&&(e=T.createElement("table"),t=T.createElement("tr"),i=T.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",gt.appendChild(e).appendChild(t).appendChild(i),i=x.getComputedStyle(t),Ut=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,gt.removeChild(e)),Ut}}));var ri=["Webkit","Moz","ms"],si=T.createElement("div").style,ai={};function oi(e){return S.cssProps[e]||ai[e]||(e in si?e:ai[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=ri.length;i--;)if((e=ri[i]+t)in si)return e}(e)||e)}var li=/^(none|table(?!-c[ea]).+)/,ci={position:"absolute",visibility:"hidden",display:"block"},di={letterSpacing:"0",fontWeight:"400"};function ui(e,t,i){var n=mt.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function pi(e,t,i,n,r,s){var a="width"===t?1:0,o=0,l=0,c=0;if(i===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===i&&(c+=S.css(e,i+f[a],!0,r)),n?("content"===i&&(l-=S.css(e,"padding"+f[a],!0,r)),"margin"!==i&&(l-=S.css(e,"border"+f[a]+"Width",!0,r))):(l+=S.css(e,"padding"+f[a],!0,r),"padding"!==i?l+=S.css(e,"border"+f[a]+"Width",!0,r):o+=S.css(e,"border"+f[a]+"Width",!0,r));return!n&&0<=s&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-o-.5))||0),l+c}function hi(e,t,i){var n=Vt(e),r=(!m.boxSizingReliable()||i)&&"border-box"===S.css(e,"boxSizing",!1,n),s=r,a=ei(e,t,n),o="offset"+t[0].toUpperCase()+t.slice(1);if(Zt.test(a)){if(!i)return a;a="auto"}return(!m.boxSizingReliable()&&r||!m.reliableTrDimensions()&&b(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,n))&&e.getClientRects().length&&(r="border-box"===S.css(e,"boxSizing",!1,n),s=o in e)&&(a=e[o]),(a=parseFloat(a)||0)+pi(e,t,i||(r?"border":"content"),s,n,a)+"px"}function c(e,t,i,n,r){return new c.prototype.init(e,t,i,n,r)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=ei(e,"opacity"))?"1":t}}},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,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,a,o=I(t),l=Jt.test(t),c=e.style;if(l||(t=oi(o)),a=S.cssHooks[t]||S.cssHooks[o],void 0===i)return a&&"get"in a&&void 0!==(r=a.get(e,!1,n))?r:c[t];"string"==(s=typeof i)&&(r=mt.exec(i))&&r[1]&&(i=bt(e,t,r),s="number"),null!=i&&i==i&&("number"!==s||l||(i+=r&&r[3]||(S.cssNumber[o]?"":"px")),m.clearCloneStyle||""!==i||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(i=a.set(e,i,n))||(l?c.setProperty(t,i):c[t]=i))}},css:function(e,t,i,n){var r,s=I(t);return Jt.test(t)||(t=oi(s)),"normal"===(r=void 0===(r=(s=S.cssHooks[t]||S.cssHooks[s])&&"get"in s?s.get(e,!0,i):r)?ei(e,t,n):r)&&t in di&&(r=di[t]),(""===i||i)&&(s=parseFloat(r),!0===i||isFinite(s))?s||0:r}}),S.each(["height","width"],function(e,a){S.cssHooks[a]={get:function(e,t,i){if(t)return!li.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?hi(e,a,i):Rt(e,ci,function(){return hi(e,a,i)})},set:function(e,t,i){var n=Vt(e),r=!m.scrollboxSize()&&"absolute"===n.position,s=(r||i)&&"border-box"===S.css(e,"boxSizing",!1,n),i=i?pi(e,a,i,s,n):0;return s&&r&&(i-=Math.ceil(e["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(n[a])-pi(e,a,"border",!1,n)-.5)),i&&(s=mt.exec(t))&&"px"!==(s[3]||"px")&&(e.style[a]=t,t=S.css(e,a)),ui(0,t,i)}}}),S.cssHooks.marginLeft=ti(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ei(e,"marginLeft"))||e.getBoundingClientRect().left-Rt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(r,s){S.cssHooks[r+s]={expand:function(e){for(var t=0,i={},n="string"==typeof e?e.split(" "):[e];t<4;t++)i[r+f[t]+s]=n[t]||n[t-2]||n[0];return i}},"margin"!==r&&(S.cssHooks[r+s].set=ui)}),S.fn.extend({css:function(e,t){return d(this,function(e,t,i){var n,r,s={},a=0;if(Array.isArray(t)){for(n=Vt(e),r=t.length;a<r;a++)s[t[a]]=S.css(e,t[a],!1,n);return s}return void 0!==i?S.style(e,t,i):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=c).prototype={constructor:c,init:function(e,t,i,n,r,s){this.elem=e,this.prop=i,this.easing=r||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=s||(S.cssNumber[i]?"":"px")},cur:function(){var e=c.propHooks[this.prop];return(e&&e.get?e:c.propHooks._default).get(this)},run:function(e){var t,i=c.propHooks[this.prop];return this.options.duration?this.pos=t=S.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),(i&&i.set?i:c.propHooks._default).set(this),this}}).init.prototype=c.prototype,(c.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=S.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[oi(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=c.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=c.prototype.init,S.fx.step={};var fi,mi,gi=/^(?:toggle|show|hide)$/,yi=/queueHooks$/;function vi(){mi&&(!1===T.hidden&&x.requestAnimationFrame?x.requestAnimationFrame(vi):x.setTimeout(vi,S.fx.interval),S.fx.tick())}function bi(){return x.setTimeout(function(){fi=void 0}),fi=Date.now()}function wi(e,t){var i,n=0,r={height:e};for(t=t?1:0;n<4;n+=2-t)r["margin"+(i=f[n])]=r["padding"+i]=e;return t&&(r.opacity=r.width=e),r}function _i(e,t,i){for(var n,r=(D.tweeners[t]||[]).concat(D.tweeners["*"]),s=0,a=r.length;s<a;s++)if(n=r[s].call(i,t,e))return n}function D(r,e,t){var i,s,n,a,o,l,c,d=0,u=D.prefilters.length,p=S.Deferred().always(function(){delete h.elem}),h=function(){if(s)return!1;for(var e=fi||bi(),t=1-((e=Math.max(0,f.startTime+f.duration-e))/f.duration||0),i=0,n=f.tweens.length;i<n;i++)f.tweens[i].run(t);return p.notifyWith(r,[f,t,e]),t<1&&n?e:(n||p.notifyWith(r,[f,1,0]),p.resolveWith(r,[f]),!1)},f=p.promise({elem:r,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:fi||bi(),duration:t.duration,tweens:[],createTween:function(e,t){return t=S.Tween(r,f.opts,e,t,f.opts.specialEasing[e]||f.opts.easing),f.tweens.push(t),t},stop:function(e){var t=0,i=e?f.tweens.length:0;if(!s){for(s=!0;t<i;t++)f.tweens[t].run(1);e?(p.notifyWith(r,[f,1,0]),p.resolveWith(r,[f,e])):p.rejectWith(r,[f,e])}return this}}),m=f.props,g=m,y=f.opts.specialEasing;for(n in g)if(o=y[a=I(n)],l=g[n],Array.isArray(l)&&(o=l[1],l=g[n]=l[0]),n!==a&&(g[a]=l,delete g[n]),(c=S.cssHooks[a])&&"expand"in c)for(n in l=c.expand(l),delete g[a],l)n in g||(g[n]=l[n],y[n]=o);else y[a]=o;for(;d<u;d++)if(i=D.prefilters[d].call(f,r,m,f.opts))return v(i.stop)&&(S._queueHooks(f.elem,f.opts.queue).stop=i.stop.bind(i)),i;return S.map(m,_i,f),v(f.opts.start)&&f.opts.start.call(r,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),S.fx.timer(S.extend(h,{elem:r,anim:f,queue:f.opts.queue})),f}S.Animation=S.extend(D,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return bt(i.elem,e,mt.exec(t),i),i}]},tweener:function(e,t){for(var i,n=0,r=(e=v(e)?(t=e,["*"]):e.match(j)).length;n<r;n++)i=e[n],D.tweeners[i]=D.tweeners[i]||[],D.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,r,s,a,o,l,c,d="width"in t||"height"in t,u=this,p={},h=e.style,f=e.nodeType&&ft(e),m=y.get(e,"fxshow");for(n in i.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,o=a.empty.fire,a.empty.fire=function(){a.unqueued||o()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(r=t[n],gi.test(r)){if(delete t[n],s=s||"toggle"===r,r===(f?"hide":"show")){if("show"!==r||!m||void 0===m[n])continue;f=!0}p[n]=m&&m[n]||S.style(e,n)}if((l=!S.isEmptyObject(t))||!S.isEmptyObject(p))for(n in d&&1===e.nodeType&&(i.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=y.get(e,"display")),"none"===(d=S.css(e,"display"))&&(c?d=c:(_t([e],!0),c=e.style.display||c,d=S.css(e,"display"),_t([e]))),"inline"===d||"inline-block"===d&&null!=c)&&"none"===S.css(e,"float")&&(l||(u.done(function(){h.display=c}),null==c&&(d=h.display,c="none"===d?"":d)),h.display="inline-block"),i.overflow&&(h.overflow="hidden",u.always(function(){h.overflow=i.overflow[0],h.overflowX=i.overflow[1],h.overflowY=i.overflow[2]})),l=!1,p)l||(m?"hidden"in m&&(f=m.hidden):m=y.access(e,"fxshow",{display:c}),s&&(m.hidden=!f),f&&_t([e],!0),u.done(function(){for(n in f||_t([e]),y.remove(e,"fxshow"),p)S.style(e,n,p[n])})),l=_i(f?m[n]:0,n,u),n in m||(m[n]=l.start,f&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?D.prefilters.unshift(e):D.prefilters.push(e)}}),S.speed=function(e,t,i){var n=e&&"object"==typeof e?S.extend({},e):{complete:i||!i&&t||v(e)&&e,duration:e,easing:i&&t||t&&!v(t)&&t};return S.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in S.fx.speeds?n.duration=S.fx.speeds[n.duration]:n.duration=S.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){v(n.old)&&n.old.call(this),n.queue&&S.dequeue(this,n.queue)},n},S.fn.extend({fadeTo:function(e,t,i,n){return this.filter(ft).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(t,e,i,n){function r(){var e=D(this,S.extend({},t),a);(s||y.get(this,"finish"))&&e.stop(!0)}var s=S.isEmptyObject(t),a=S.speed(e,i,n);return r.finish=r,s||!1===a.queue?this.each(r):this.queue(a.queue,r)},stop:function(r,e,s){function a(e){var t=e.stop;delete e.stop,t(s)}return"string"!=typeof r&&(s=e,e=r,r=void 0),e&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",i=S.timers,n=y.get(this);if(t)n[t]&&n[t].stop&&a(n[t]);else for(t in n)n[t]&&n[t].stop&&yi.test(t)&&a(n[t]);for(t=i.length;t--;)i[t].elem!==this||null!=r&&i[t].queue!==r||(i[t].anim.stop(s),e=!1,i.splice(t,1));!e&&s||S.dequeue(this,r)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=y.get(this),i=t[a+"queue"],n=t[a+"queueHooks"],r=S.timers,s=i?i.length:0;for(t.finish=!0,S.queue(this,a,[]),n&&n.stop&&n.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===a&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,n){var r=S.fn[n];S.fn[n]=function(e,t,i){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(wi(n,!0),e,t,i)}}),S.each({slideDown:wi("show"),slideUp:wi("hide"),slideToggle:wi("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){S.fn[e]=function(e,t,i){return this.animate(n,e,t,i)}}),S.timers=[],S.fx.tick=function(){var e,t=0,i=S.timers;for(fi=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||S.fx.stop(),fi=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){mi||(mi=!0,vi())},S.fx.stop=function(){mi=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(n,e){return n=S.fx&&S.fx.speeds[n]||n,this.queue(e=e||"fx",function(e,t){var i=x.setTimeout(e,n);t.stop=function(){x.clearTimeout(i)}})},r=T.createElement("input"),s=T.createElement("select").appendChild(T.createElement("option")),r.type="checkbox",m.checkOn=""!==r.value,m.optSelected=s.selected,(r=T.createElement("input")).value="t",r.type="radio",m.radioValue="t"===r.value;var xi,Ti=S.expr.attrHandle,Si=(S.fn.extend({attr:function(e,t){return d(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,i){var n,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?S.prop(e,t,i):(1===s&&S.isXMLDoc(e)||(r=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?xi:void 0)),void 0!==i?null===i?void S.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:(e.setAttribute(t,i+""),i):r&&"get"in r&&null!==(n=r.get(e,t))||null!=(n=S.find.attr(e,t))?n:void 0)},attrHooks:{type:{set:function(e,t){var i;if(!m.radioValue&&"radio"===t&&b(e,"input"))return i=e.value,e.setAttribute("type",t),i&&(e.value=i),t}}},removeAttr:function(e,t){var i,n=0,r=t&&t.match(j);if(r&&1===e.nodeType)for(;i=r[n++];)e.removeAttribute(i)}}),xi={set:function(e,t,i){return!1===t?S.removeAttr(e,i):e.setAttribute(i,i),i}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=Ti[t]||S.find.attr;Ti[t]=function(e,t,i){var n,r,s=t.toLowerCase();return i||(r=Ti[s],Ti[s]=n,n=null!=a(e,t,i)?s:null,Ti[s]=r),n}}),/^(?:input|select|textarea|button)$/i),ki=/^(?:a|area)$/i;function Ci(e){return(e.match(j)||[]).join(" ")}function Pi(e){return e.getAttribute&&e.getAttribute("class")||""}function Ei(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(j)||[]}function Ai(e){e.stopPropagation()}S.fn.extend({prop:function(e,t){return d(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,i){var n,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&S.isXMLDoc(e)||(t=S.propFix[t]||t,r=S.propHooks[t]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:e[t]=i:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):Si.test(e.nodeName)||ki.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(S.propHooks.selected={get:function(e){return(e=e.parentNode)&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){(e=e.parentNode)&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,i,n,r,s,a;return v(t)?this.each(function(e){S(this).addClass(t.call(this,e,Pi(this)))}):(e=Ei(t)).length?this.each(function(){if(n=Pi(this),i=1===this.nodeType&&" "+Ci(n)+" "){for(s=0;s<e.length;s++)r=e[s],i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=Ci(i),n!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,i,n,r,s,a;return v(t)?this.each(function(e){S(this).removeClass(t.call(this,e,Pi(this)))}):arguments.length?(e=Ei(t)).length?this.each(function(){if(n=Pi(this),i=1===this.nodeType&&" "+Ci(n)+" "){for(s=0;s<e.length;s++)for(r=e[s];-1<i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");a=Ci(i),n!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,i){var e,n,r,s,a=typeof t,o="string"==a||Array.isArray(t);return v(t)?this.each(function(e){S(this).toggleClass(t.call(this,e,Pi(this),i),i)}):"boolean"==typeof i&&o?i?this.addClass(t):this.removeClass(t):(e=Ei(t),this.each(function(){if(o)for(s=S(this),r=0;r<e.length;r++)n=e[r],s.hasClass(n)?s.removeClass(n):s.addClass(n);else void 0!==t&&"boolean"!=a||((n=Pi(this))&&y.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",!n&&!1!==t&&y.get(this,"__className__")||""))}))},hasClass:function(e){for(var t,i=0,n=" "+e+" ";t=this[i++];)if(1===t.nodeType&&-1<(" "+Ci(Pi(t))+" ").indexOf(n))return!0;return!1}});var Mi=/\r/g,Li=(S.fn.extend({val:function(t){var i,e,n,r=this[0];return arguments.length?(n=v(t),this.each(function(e){1===this.nodeType&&(null==(e=n?t.call(this,e,S(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=S.map(e,function(e){return null==e?"":e+""})),(i=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value")||(this.value=e))})):r?(i=S.valHooks[r.type]||S.valHooks[r.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(r,"value"))?e:"string"==typeof(e=r.value)?e.replace(Mi,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:Ci(S.text(e))}},select:{get:function(e){for(var t,i=e.options,n=e.selectedIndex,r="select-one"===e.type,s=r?null:[],a=r?n+1:i.length,o=n<0?a:r?n:0;o<a;o++)if(((t=i[o]).selected||o===n)&&!t.disabled&&(!t.parentNode.disabled||!b(t.parentNode,"optgroup"))){if(t=S(t).val(),r)return t;s.push(t)}return s},set:function(e,t){for(var i,n,r=e.options,s=S.makeArray(t),a=r.length;a--;)((n=r[a]).selected=-1<S.inArray(S.valHooks.option.get(n),s))&&(i=!0);return i||(e.selectedIndex=-1),s}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},m.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),x.location),ji={guid:Date.now()},Ii=/\?/,Oi=(S.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=(new x.DOMParser).parseFromString(e,"text/xml")}catch(e){}return i=t&&t.getElementsByTagName("parsererror")[0],t&&!i||S.error("Invalid XML: "+(i?S.map(i.childNodes,function(e){return e.textContent}).join("\n"):e)),t},/^(?:focusinfocus|focusoutblur)$/),Di=(S.extend(S.event,{trigger:function(e,t,i,n){var r,s,a,o,l,c,d,u=[i||T],p=R.call(e,"type")?e.type:e,h=R.call(e,"namespace")?e.namespace.split("."):[],f=d=s=i=i||T;if(3!==i.nodeType&&8!==i.nodeType&&!Oi.test(p+S.event.triggered)&&(-1<p.indexOf(".")&&(p=(h=p.split(".")).shift(),h.sort()),o=p.indexOf(":")<0&&"on"+p,(e=e[S.expando]?e:new S.Event(p,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[p]||{},n||!c.trigger||!1!==c.trigger.apply(i,t))){if(!n&&!c.noBubble&&!z(i)){for(a=c.delegateType||p,Oi.test(a+p)||(f=f.parentNode);f;f=f.parentNode)u.push(f),s=f;s===(i.ownerDocument||T)&&u.push(s.defaultView||s.parentWindow||x)}for(r=0;(f=u[r++])&&!e.isPropagationStopped();)d=f,e.type=1<r?a:c.bindType||p,(l=(y.get(f,"events")||Object.create(null))[e.type]&&y.get(f,"handle"))&&l.apply(f,t),(l=o&&f[o])&&l.apply&&ct(f)&&(e.result=l.apply(f,t),!1===e.result)&&e.preventDefault();return e.type=p,n||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(u.pop(),t)||!ct(i)||o&&v(i[p])&&!z(i)&&((s=i[o])&&(i[o]=null),S.event.triggered=p,e.isPropagationStopped()&&d.addEventListener(p,Ai),i[p](),e.isPropagationStopped()&&d.removeEventListener(p,Ai),S.event.triggered=void 0,s)&&(i[o]=s),e.result}},simulate:function(e,t,i){i=S.extend(new S.Event,i,{type:e,isSimulated:!0}),S.event.trigger(i,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return S.event.trigger(e,t,i,!0)}}),/\[\]$/),Yi=/\r?\n/g,zi=/^(?:submit|button|image|reset|file)$/i,Ni=/^(?:input|select|textarea|keygen)/i,Fi=(S.param=function(e,t){function i(e,t){t=v(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var n,r=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)!function i(n,e,r,s){if(Array.isArray(e))S.each(e,function(e,t){r||Di.test(n)?s(n,t):i(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,s)});else if(r||"object"!==U(e))s(n,e);else for(var t in e)i(n+"["+t+"]",e[t],r,s)}(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Ni.test(this.nodeName)&&!zi.test(e)&&(this.checked||!xt.test(e))}).map(function(e,t){var i=S(this).val();return null==i?null:Array.isArray(i)?S.map(i,function(e){return{name:t.name,value:e.replace(Yi,"\r\n")}}):{name:t.name,value:i.replace(Yi,"\r\n")}}).get()}}),/%20/g),Bi=/#.*$/,qi=/([?&])_=[^&]*/,Vi=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ri=/^(?:GET|HEAD)$/,Qi=/^\/\//,Hi={},Wi={},$i="*/".concat("*"),Ui=T.createElement("a");function Gi(s){return function(e,t){"string"!=typeof e&&(t=e,e="*");var i,n=0,r=e.toLowerCase().match(j)||[];if(v(t))for(;i=r[n++];)"+"===i[0]?(i=i.slice(1)||"*",(s[i]=s[i]||[]).unshift(t)):(s[i]=s[i]||[]).push(t)}}function Xi(t,n,r,s){var a={},o=t===Wi;function l(e){var i;return a[e]=!0,S.each(t[e]||[],function(e,t){return"string"!=typeof(t=t(n,r,s))||o||a[t]?o?!(i=t):void 0:(n.dataTypes.unshift(t),l(t),!1)}),i}return l(n.dataTypes[0])||!a["*"]&&l("*")}function Zi(e,t){var i,n,r=S.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n=n||{})[i]=t[i]);return n&&S.extend(!0,e,n),e}Ui.href=Li.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Li.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Li.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$i,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":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zi(Zi(e,S.ajaxSettings),t):Zi(S.ajaxSettings,e)},ajaxPrefilter:Gi(Hi),ajaxTransport:Gi(Wi),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,d,i,u,p,h,n,r,f=S.ajaxSetup({},t=t||{}),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?S(m):S.event,y=S.Deferred(),v=S.Callbacks("once memory"),b=f.statusCode||{},s={},a={},o="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(p){if(!i)for(i={};t=Vi.exec(d);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return p?d:null},setRequestHeader:function(e,t){return null==p&&(e=a[e.toLowerCase()]=a[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==p&&(f.mimeType=e),this},statusCode:function(e){if(e)if(p)w.always(e[w.status]);else for(var t in e)b[t]=[b[t],e[t]];return this},abort:function(e){return e=e||o,l&&l.abort(e),_(0,e),this}};if(y.promise(w),f.url=((e||f.url||Li.href)+"").replace(Qi,Li.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(j)||[""],null==f.crossDomain){r=T.createElement("a");try{r.href=f.url,r.href=r.href,f.crossDomain=Ui.protocol+"//"+Ui.host!=r.protocol+"//"+r.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=S.param(f.data,f.traditional)),Xi(Hi,f,t,w),!p){for(n in(h=S.event&&f.global)&&0==S.active++&&S.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ri.test(f.type),c=f.url.replace(Bi,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Fi,"+")):(r=f.url.slice(c.length),f.data&&(f.processData||"string"==typeof f.data)&&(c+=(Ii.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(c=c.replace(qi,"$1"),r=(Ii.test(c)?"&":"?")+"_="+ji.guid+++r),f.url=c+r),f.ifModified&&(S.lastModified[c]&&w.setRequestHeader("If-Modified-Since",S.lastModified[c]),S.etag[c])&&w.setRequestHeader("If-None-Match",S.etag[c]),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&w.setRequestHeader("Content-Type",f.contentType),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+$i+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(n,f.headers[n]);if(f.beforeSend&&(!1===f.beforeSend.call(m,w,f)||p))return w.abort();if(o="abort",v.add(f.complete),w.done(f.success),w.fail(f.error),l=Xi(Wi,f,t,w)){if(w.readyState=1,h&&g.trigger("ajaxSend",[w,f]),p)return w;f.async&&0<f.timeout&&(u=x.setTimeout(function(){w.abort("timeout")},f.timeout));try{p=!1,l.send(s,_)}catch(e){if(p)throw e;_(-1,e)}}else _(-1,"No Transport")}return w;function _(e,t,i,n){var r,s,a,o=t;p||(p=!0,u&&x.clearTimeout(u),l=void 0,d=n||"",w.readyState=0<e?4:0,n=200<=e&&e<300||304===e,i&&(a=function(e,t,i){for(var n,r,s,a,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(r in o)if(o[r]&&o[r].test(n)){l.unshift(r);break}if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}a=a||r}s=s||a}if(s)return s!==l[0]&&l.unshift(s),i[s]}(f,w,i)),!n&&-1<S.inArray("script",f.dataTypes)&&S.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),a=function(e,t,i,n){var r,s,a,o,l,c={},d=e.dataTypes.slice();if(d[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(s=d.shift();s;)if(e.responseFields[s]&&(i[e.responseFields[s]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=d.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(a=c[l+" "+s]||c["* "+s]))for(r in c)if((o=r.split(" "))[1]===s&&(a=c[l+" "+o[0]]||c["* "+o[0]])){!0===a?a=c[r]:!0!==c[r]&&(s=o[0],d.unshift(o[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 "+l+" to "+s}}}return{state:"success",data:t}}(f,a,w,n),n?(f.ifModified&&((i=w.getResponseHeader("Last-Modified"))&&(S.lastModified[c]=i),i=w.getResponseHeader("etag"))&&(S.etag[c]=i),204===e||"HEAD"===f.type?o="nocontent":304===e?o="notmodified":(o=a.state,r=a.data,n=!(s=a.error))):(s=o,!e&&o||(o="error",e<0&&(e=0))),w.status=e,w.statusText=(t||o)+"",n?y.resolveWith(m,[r,o,w]):y.rejectWith(m,[w,o,s]),w.statusCode(b),b=void 0,h&&g.trigger(n?"ajaxSuccess":"ajaxError",[w,f,n?r:s]),v.fireWith(m,[w,o]),h&&(g.trigger("ajaxComplete",[w,f]),--S.active||S.event.trigger("ajaxStop")))}},getJSON:function(e,t,i){return S.get(e,t,i,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,r){S[r]=function(e,t,i,n){return v(t)&&(n=n||i,i=t,t=void 0),S.ajax(S.extend({url:e,type:r,dataType:n,data:t,success:i},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,i){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,i)}})},S.fn.extend({wrapAll:function(e){return this[0]&&(v(e)&&(e=e.call(this[0])),e=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(i){return v(i)?this.each(function(e){S(this).wrapInner(i.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=v(t);return this.each(function(e){S(this).wrapAll(i?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new x.XMLHttpRequest}catch(e){}};var Ji={0:200,1223:204},Ki=S.ajaxSettings.xhr(),en=(m.cors=!!Ki&&"withCredentials"in Ki,m.ajax=Ki=!!Ki,S.ajaxTransport(function(r){var s,a;if(m.cors||Ki&&!r.crossDomain)return{send:function(e,t){var i,n=r.xhr();if(n.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(i in r.xhrFields)n[i]=r.xhrFields[i];for(i in r.mimeType&&n.overrideMimeType&&n.overrideMimeType(r.mimeType),r.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)n.setRequestHeader(i,e[i]);s=function(e){return function(){s&&(s=a=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===e?n.abort():"error"===e?"number"!=typeof n.status?t(0,"error"):t(n.status,n.statusText):t(Ji[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=s(),a=n.onerror=n.ontimeout=s("error"),void 0!==n.onabort?n.onabort=a:n.onreadystatechange=function(){4===n.readyState&&x.setTimeout(function(){s&&a()})},s=s("abort");try{n.send(r.hasContent&&r.data||null)}catch(e){if(s)throw e}},abort:function(){s&&s()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.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 S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(i){var n,r;if(i.crossDomain||i.scriptAttrs)return{send:function(e,t){n=S("<script>").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",r=function(e){n.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),T.head.appendChild(n[0])},abort:function(){r&&r()}}}),[]),tn=/(=)\?(?=&|$)|\?\?/,nn=(S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=en.pop()||S.expando+"_"+ji.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,i){var n,r,s,a=!1!==e.jsonp&&(tn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&tn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return n=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(tn,"$1"+n):!1!==e.jsonp&&(e.url+=(Ii.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return s||S.error(n+" was not called"),s[0]},e.dataTypes[0]="json",r=x[n],x[n]=function(){s=arguments},i.always(function(){void 0===r?S(x).removeProp(n):x[n]=r,e[n]&&(e.jsonpCallback=t.jsonpCallback,en.push(n)),s&&v(r)&&r(s[0]),s=r=void 0}),"script"}),m.createHTMLDocument=((e=T.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===e.childNodes.length),S.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(m.createHTMLDocument?((n=(t=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,t.head.appendChild(n)):t=T),n=!i&&[],(i=$e.exec(e))?[t.createElement(i[1])]:(i=Pt([e],t,n),n&&n.length&&S(n).remove(),S.merge([],i.childNodes)));var n},S.fn.load=function(e,t,i){var n,r,s,a=this,o=e.indexOf(" ");return-1<o&&(n=Ci(e.slice(o)),e=e.slice(0,o)),v(t)?(i=t,t=void 0):t&&"object"==typeof t&&(r="POST"),0<a.length&&S.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){s=arguments,a.html(n?S("<div>").append(S.parseHTML(e)).find(n):e)}).always(i&&function(e,t){a.each(function(){i.apply(this,s||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,i){var n,r,s,a,o=S.css(e,"position"),l=S(e),c={};"static"===o&&(e.style.position="relative"),s=l.offset(),n=S.css(e,"top"),a=S.css(e,"left"),o=("absolute"===o||"fixed"===o)&&-1<(n+a).indexOf("auto")?(r=(o=l.position()).top,o.left):(r=parseFloat(n)||0,parseFloat(a)||0),null!=(t=v(t)?t.call(e,i,S.extend({},s)):t).top&&(c.top=t.top-s.top+r),null!=t.left&&(c.left=t.left-s.left+o),"using"in t?t.using.call(e,c):l.css(c)}},S.fn.extend({offset:function(t){var e,i;return arguments.length?void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)}):(i=this[0])?i.getClientRects().length?(e=i.getBoundingClientRect(),i=i.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],r={top:0,left:0};if("fixed"===S.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((r=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),r.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-S.css(n,"marginTop",!0),left:t.left-r.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||gt})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var s="pageYOffset"===r;S.fn[t]=function(e){return d(this,function(e,t,i){var n;if(z(e)?n=e:9===e.nodeType&&(n=e.defaultView),void 0===i)return n?n[r]:e[t];n?n.scrollTo(s?n.pageXOffset:i,s?i:n.pageYOffset):e[t]=i},t,e,arguments.length)}}),S.each(["top","left"],function(e,i){S.cssHooks[i]=ti(m.pixelPosition,function(e,t){if(t)return t=ei(e,i),Zt.test(t)?S(e).position()[i]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,o){S.each({padding:"inner"+a,content:o,"":"outer"+a},function(n,s){S.fn[s]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),r=n||(!0===e||!0===t?"margin":"border");return d(this,function(e,t,i){var n;return z(e)?0===s.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+a],n["scroll"+a],e.body["offset"+a],n["offset"+a],n["client"+a])):void 0===i?S.css(e,t,r):S.style(e,t,i,r)},o,i?e:void 0,i)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),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,i){S.fn[i]=function(e,t){return 0<arguments.length?this.on(i,null,e,t):this.trigger(i)}}),/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g),rn=(S.proxy=function(e,t){var i,n;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return i=o.call(arguments,2),(n=function(){return e.apply(t||this,i.concat(o.call(arguments)))}).guid=e.guid=e.guid||S.guid++,n},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=b,S.isFunction=v,S.isWindow=z,S.camelCase=I,S.type=U,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(nn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S}),x.jQuery),sn=x.$;return S.noConflict=function(e){return x.$===S&&(x.$=sn),e&&x.jQuery===S&&(x.jQuery=rn),S},void 0===Y&&(x.jQuery=x.$=S),S}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,function(){"use strict";const n=new Map,Y={set(e,t,i){n.has(e)||n.set(e,new Map),(e=n.get(e)).has(t)||0===e.size?e.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get:(e,t)=>n.has(e)&&n.get(e).get(t)||null,remove(e,t){var i;n.has(e)&&((i=n.get(e)).delete(t),0===i.size)&&n.delete(e)}},z="transitionend",N=e=>e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>"#"+CSS.escape(t)):e,F=e=>{e.dispatchEvent(new Event(z))},a=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,r=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?document.querySelector(N(e)):null,s=e=>{if(!a(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(i&&i!==e){const t=e.closest("summary");if(t&&t.parentNode!==i)return!1;if(null===t)return!1}return t},o=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),B=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?B(e.parentNode):null:null},q=()=>{},V=e=>{e.offsetHeight},R=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Q=[],l=()=>"rtl"===document.documentElement.dir,e=n=>{var e=()=>{const e=R();if(e){const t=n.NAME,i=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=i,n.jQueryInterface)}};"loading"===document.readyState?(Q.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Q)e()}),Q.push(e)):e()},c=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,H=(i,r,e=!0)=>{if(e){e=(()=>{if(!r)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(r);var i=Number.parseFloat(e),n=Number.parseFloat(t);return i||n?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})()+5;let t=!1;const n=({target:e})=>{e===r&&(t=!0,r.removeEventListener(z,n),c(i))};r.addEventListener(z,n),setTimeout(()=>{t||F(r)},e)}else c(i)},W=(e,t,i,n)=>{var r=e.length;let s=e.indexOf(t);return-1===s?!i&&n?e[r-1]:e[0]:(s+=i?1:-1,n&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},$=/[^.]*(?=\..*)\.|.*/,U=/\..*/,G=/::\d+$/,X={};let Z=1;const J={mouseenter:"mouseover",mouseleave:"mouseout"},K=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ee(e,t){return t&&t+"::"+Z++||e.uidEvent||Z++}function te(e){var t=ee(e);return e.uidEvent=t,X[t]=X[t]||{},X[t]}function ie(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function ne(e,t,i){var n="string"==typeof t,t=!n&&t||i,i=ae(e);return[n,t,K.has(i)?i:e]}function re(n,r,s,a,o){if("string"==typeof r&&n){let[e,t,i]=ne(r,s,a);if(r in J){const n=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};t=n(t)}if(h=ie(a=(a=te(n))[i]||(a[i]={}),t,e?s:null))return h.oneOff=h.oneOff&&o;var l,c,d,u,p,h=ee(t,r.replace($,""));(r=e?(d=n,u=s,p=t,function t(i){var n=d.querySelectorAll(u);for(let e=i.target;e&&e!==this;e=e.parentNode)for(const r of n)if(r===e)return oe(i,{delegateTarget:e}),t.oneOff&&f.off(d,i.type,u,p),p.apply(e,[i])}):(l=n,c=t,function e(t){return oe(t,{delegateTarget:l}),e.oneOff&&f.off(l,t.type,c),c.apply(l,[t])})).delegationSelector=e?s:null,r.callable=t,r.oneOff=o,a[r.uidEvent=h]=r,n.addEventListener(i,r,e)}}function se(e,t,i,n,r){(n=ie(t[i],n,r))&&(e.removeEventListener(i,n,Boolean(r)),delete t[i][n.uidEvent])}function ae(e){return e=e.replace(U,""),J[e]||e}const f={on(e,t,i,n){re(e,t,i,n,!1)},one(e,t,i,n){re(e,t,i,n,!0)},off(e,t,i,n){if("string"==typeof t&&e){var[n,r,s]=ne(t,i,n),a=s!==t,o=te(e),l=o[s]||{},c=t.startsWith(".");if(void 0===r){if(c)for(const i of Object.keys(o)){var d=void 0,u=void 0,p=e,h=o,f=i,m=t.slice(1),g=h[f]||{};for([d,u]of Object.entries(g))d.includes(m)&&se(p,h,f,u.callable,u.delegationSelector)}for(const[i,n]of Object.entries(l)){var y=i.replace(G,"");a&&!t.includes(y)||se(e,o,s,n.callable,n.delegationSelector)}}else Object.keys(l).length&&se(e,o,s,r,n?i:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var n=R();let r=null,s=!0,a=!0,o=!1;return t!==ae(t)&&n&&(r=n.Event(t,i),n(e).trigger(r),s=!r.isPropagationStopped(),a=!r.isImmediatePropagationStopped(),o=r.isDefaultPrevented()),n=oe(new Event(t,{bubbles:s,cancelable:!0}),i),o&&n.preventDefault(),a&&e.dispatchEvent(n),n.defaultPrevented&&r&&r.preventDefault(),n}};function oe(e,t={}){for(const[i,n]of Object.entries(t))try{e[i]=n}catch(t){Object.defineProperty(e,i,{configurable:!0,get:()=>n})}return e}function le(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function ce(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}const d={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+ce(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+ce(t))},getDataAttributes(t){if(!t)return{};var i={};for(const n of Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"))){let e=n.replace(/^bs/,"");i[e=e.charAt(0).toLowerCase()+e.slice(1,e.length)]=le(t.dataset[n])}return i},getDataAttribute:(e,t)=>le(e.getAttribute("data-bs-"+ce(t)))};class de{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){var i=a(t)?d.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...a(t)?d.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(var[i,n]of Object.entries(t)){const t=e[i],s=a(t)?"element":null==(r=t)?""+r:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(s))throw new TypeError(this.constructor.NAME.toUpperCase()+`: Option "${i}" provided type "${s}" but expected type "${n}".`)}var r}}class t extends de{constructor(e,t){super(),(e=r(e))&&(this._element=e,this._config=this._getConfig(t),Y.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Y.remove(this._element,this.constructor.DATA_KEY),f.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){H(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Y.get(r(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.2"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(e){return""+e+this.EVENT_KEY}}const ue=t=>{let i=t.getAttribute("data-bs-target");if(!i||"#"===i){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),i=e&&"#"!==e?N(e.trim()):null}return i},u={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){var i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>e+':not([tabindex^="-"])').join(",");return this.find(t,e).filter(e=>!o(e)&&s(e))},getSelectorFromElement(e){return(e=ue(e))&&u.findOne(e)?e:null},getElementFromSelector(e){return(e=ue(e))?u.findOne(e):null},getMultipleElementsFromSelector(e){return(e=ue(e))?u.find(e):[]}},pe=(t,i="hide")=>{const e="click.dismiss"+t.EVENT_KEY,n=t.NAME;f.on(document,e,`[data-bs-dismiss="${n}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(e=u.getElementFromSelector(this)||this.closest("."+n),t.getOrCreateInstance(e)[i]())})};class he extends t{static get NAME(){return"alert"}close(){var e;f.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,e))}_destroyElement(){this._element.remove(),f.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){var e=he.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}pe(he,"close"),e(he);const fe='[data-bs-toggle="button"]';class me extends t{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){var e=me.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}f.on(document,"click.bs.button.data-api",fe,e=>{e.preventDefault(),e=e.target.closest(fe),me.getOrCreateInstance(e).toggle()}),e(me);const i=".bs.swipe",ge=(i,i,i,i,i,{endCallback:null,leftCallback:null,rightCallback:null}),ye={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ve extends de{constructor(e,t){super(),(this._element=e)&&ve.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ge}static get DefaultType(){return ye}static get NAME(){return"swipe"}dispose(){f.off(this._element,i)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),c(this._config.endCallback)}_move(e){this._deltaX=e.touches&&1<e.touches.length?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){var e=Math.abs(this._deltaX);e<=40||(e/=this._deltaX,this._deltaX=0,e&&c(0<e?this._config.rightCallback:this._config.leftCallback))}_initEvents(){this._supportPointerEvents?(f.on(this._element,"pointerdown.bs.swipe",e=>this._start(e)),f.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(f.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),f.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),f.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0<navigator.maxTouchPoints}}const be="next",p="prev",h="left",we="right",_e="slid.bs.carousel",xe="carousel",Te="active",Se=".active",ke=".carousel-item",Ce=(Se,ke,{ArrowLeft:we,ArrowRight:h}),Pe={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ee={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ae extends t{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=u.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===xe&&this.cycle()}static get Default(){return Pe}static get DefaultType(){return Ee}static get NAME(){return"carousel"}next(){this._slide(be)}nextWhenVisible(){!document.hidden&&s(this._element)&&this.next()}prev(){this._slide(p)}pause(){this._isSliding&&F(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?f.one(this._element,_e,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?f.one(this._element,_e,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=t<e?be:p,this._slide(t,i[e])))}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&f.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(f.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),f.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&ve.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of u.find(".carousel-item img",this._element))f.on(e,"dragstart.bs.carousel",e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(h)),rightCallback:()=>this._slide(this._directionToOrder(we)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new ve(this._element,e)}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=Ce[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){var t;this._indicatorsElement&&((t=u.findOne(Se,this._indicatorsElement)).classList.remove(Te),t.removeAttribute("aria-current"),t=u.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(Te),t.setAttribute("aria-current","true"))}_updateInterval(){var e=this._activeElement||this._getActive();e&&(e=Number.parseInt(e.getAttribute("data-bs-interval"),10),this._config.interval=e||this._config.defaultInterval)}_slide(t,e=null){if(!this._isSliding){const i=this._getActive(),n=t===be,r=e||W(this._getItems(),i,n,this._config.wrap);if(r!==i){const s=this._getItemIndex(r),a=e=>f.trigger(this._element,e,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:s});if(!a("slide.bs.carousel").defaultPrevented&&i&&r){e=Boolean(this._interval),this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const o=n?"carousel-item-start":"carousel-item-end",l=n?"carousel-item-next":"carousel-item-prev";r.classList.add(l),V(r),i.classList.add(o),r.classList.add(o),this._queueCallback(()=>{r.classList.remove(o,l),r.classList.add(Te),i.classList.remove(Te,l,o),this._isSliding=!1,a(_e)},i,this._isAnimated()),e&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return u.findOne(".active.carousel-item",this._element)}_getItems(){return u.find(ke,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return l()?e===h?p:be:e===h?be:p}_orderToDirection(e){return l()?e===p?h:we:e===p?we:h}static jQueryInterface(t){return this.each(function(){var e=Ae.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)})}}f.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(e){var t=u.getElementFromSelector(this);t&&t.classList.contains(xe)&&(e.preventDefault(),e=Ae.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===d.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),f.on(window,"load.bs.carousel.data-api",()=>{for(const e of u.find('[data-bs-ride="carousel"]'))Ae.getOrCreateInstance(e)}),e(Ae);const Me="show",m="collapse",Le="collapsing",je=(m,m,'[data-bs-toggle="collapse"]'),Ie={parent:null,toggle:!0},Oe={parent:"(null|element)",toggle:"boolean"};class De extends t{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=u.find(je);for(const e of i){const t=u.getSelectorFromElement(e),i=u.find(t).filter(e=>e===this._element);null!==t&&i.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ie}static get DefaultType(){return Oe}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){var e=[];if(!((e=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>De.getOrCreateInstance(e,{toggle:!1})):e).length&&e[0]._isTransitioning||f.trigger(this._element,"show.bs.collapse").defaultPrevented)){for(const i of e)i.hide();const t=this._getDimension();this._element.classList.remove(m),this._element.classList.add(Le),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;e="scroll"+(t[0].toUpperCase()+t.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Le),this._element.classList.add(m,Me),this._element.style[t]="",f.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[t]=this._element[e]+"px"}}}hide(){if(!this._isTransitioning&&this._isShown()&&!f.trigger(this._element,"hide.bs.collapse").defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",V(this._element),this._element.classList.add(Le),this._element.classList.remove(m,Me);for(const i of this._triggerArray){var t=u.getElementFromSelector(i);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Le),this._element.classList.add(m),f.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(e=this._element){return e.classList.contains(Me)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=r(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent)for(const t of this._getFirstLevelChildren(je)){var e=u.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=u.find(":scope .collapse .collapse",this._config.parent);return u.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(t){const i={};return"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){var e=De.getOrCreateInstance(this,i);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(document,"click.bs.collapse.data-api",je,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of u.getMultipleElementsFromSelector(this))De.getOrCreateInstance(e,{toggle:!1}).toggle()}),e(De);var P="top",E="bottom",A="right",M="left",Ye="auto",L=[P,E,A,M],j="start",b="end",ze="clippingParents",Ne="viewport",Fe="popper",Be="reference",qe=L.reduce(function(e,t){return e.concat([t+"-"+j,t+"-"+b])},[]),Ve=[].concat(L,[Ye]).reduce(function(e,t){return e.concat([t,t+"-"+j,t+"-"+b])},[]),Re="beforeRead",Qe="afterRead",He="beforeMain",We="afterMain",$e="beforeWrite",Ue="afterWrite",Ge=[Re,"read",Qe,He,"main",We,$e,"write",Ue];function g(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){var t;return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e}function y(e){return e instanceof w(e).Element||e instanceof Element}function v(e){return e instanceof w(e).HTMLElement||e instanceof HTMLElement}function Xe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof w(e).ShadowRoot||e instanceof ShadowRoot)}var Ze={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var r=e.state;Object.keys(r.elements).forEach(function(e){var t=r.styles[e]||{},i=r.attributes[e]||{},n=r.elements[e];v(n)&&g(n)&&(Object.assign(n.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow),function(){Object.keys(n.elements).forEach(function(e){var t=n.elements[e],i=n.attributes[e]||{},e=Object.keys((n.styles.hasOwnProperty(e)?n.styles:r)[e]).reduce(function(e,t){return e[t]="",e},{});v(t)&&g(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function I(e){return e.split("-")[0]}var C=Math.max,Je=Math.min,Ke=Math.round;function et(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function tt(){return!/^((?!chrome|android).)*safari/i.test(et())}function it(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),r=1,s=1,t=(t&&v(e)&&(r=0<e.offsetWidth&&Ke(n.width)/e.offsetWidth||1,s=0<e.offsetHeight&&Ke(n.height)/e.offsetHeight||1),(y(e)?w(e):window).visualViewport),e=!tt()&&i,i=(n.left+(e&&t?t.offsetLeft:0))/r,e=(n.top+(e&&t?t.offsetTop:0))/s;return{width:t=n.width/r,height:r=n.height/s,top:e,right:i+t,bottom:e+r,left:i,x:i,y:e}}function nt(e){var t=it(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function rt(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&Xe(i)){var n=t;do{if(n&&e.isSameNode(n))return!0}while(n=n.parentNode||n.host)}return!1}function _(e){return w(e).getComputedStyle(e)}function x(e){return((y(e)?e.ownerDocument:e.document)||window.document).documentElement}function st(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(Xe(e)?e.host:null)||x(e)}function at(e){return v(e)&&"fixed"!==_(e).position?e.offsetParent:null}function ot(e){for(var t,i=w(e),n=at(e);n&&(t=n,0<=["table","td","th"].indexOf(g(t)))&&"static"===_(n).position;)n=at(n);return(!n||"html"!==g(n)&&("body"!==g(n)||"static"!==_(n).position))&&(n||function(e){var t=/firefox/i.test(et());if(!/Trident/i.test(et())||!v(e)||"fixed"!==_(e).position){var i=st(e);for(Xe(i)&&(i=i.host);v(i)&&["html","body"].indexOf(g(i))<0;){var n=_(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}}return null}(e))||i}function lt(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function ct(e,t,i){return C(e,Je(t,i))}function dt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ut(i,e){return e.reduce(function(e,t){return e[t]=i,e},{})}var pt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i,n,r,s=e.state,a=e.name,e=e.options,o=s.elements.arrow,l=s.modifiersData.popperOffsets,c=lt(d=I(s.placement)),d=0<=[M,A].indexOf(d)?"height":"width";o&&l&&(e=dt("number"!=typeof(e="function"==typeof(e=e.padding)?e(Object.assign({},s.rects,{placement:s.placement})):e)?e:ut(e,L)),t=nt(o),r="y"===c?P:M,n="y"===c?E:A,i=s.rects.reference[d]+s.rects.reference[c]-l[c]-s.rects.popper[d],l=l[c]-s.rects.reference[c],o=(o=ot(o))?"y"===c?o.clientHeight||0:o.clientWidth||0:0,r=e[r],e=o-t[d]-e[n],r=ct(r,n=o/2-t[d]/2+(i/2-l/2),e),s.modifiersData[a]=((o={})[c]=r,o.centerOffset=r-n,o))},effect:function(e){var t=e.state;null!=(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&rt(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ht(e){return e.split("-")[1]}var ft={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mt(e){var t=e.popper,i=e.popperRect,n=e.placement,r=e.variation,s=e.offsets,a=e.position,o=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,e=e.isFixed,d=void 0===(d=s.x)?0:d,u=void 0===(u=s.y)?0:u,d=(p="function"==typeof c?c({x:d,y:u}):{x:d,y:u}).x,u=p.y,p=s.hasOwnProperty("x"),s=s.hasOwnProperty("y"),h=M,f=P,m=window;l&&(y="clientHeight",g="clientWidth",(v=ot(t))===w(t)&&"static"!==_(v=x(t)).position&&"absolute"===a&&(y="scrollHeight",g="scrollWidth"),n!==P&&(n!==M&&n!==A||r!==b)||(f=E,u=(u-((e&&v===m&&m.visualViewport?m.visualViewport.height:v[y])-i.height))*(o?1:-1)),n!==M&&(n!==P&&n!==E||r!==b)||(h=A,d=(d-((e&&v===m&&m.visualViewport?m.visualViewport.width:v[g])-i.width))*(o?1:-1)));var g,y=Object.assign({position:a},l&&ft),v=!0===c?(n={x:d,y:u},r=w(t),e=n.y,r=r.devicePixelRatio||1,{x:Ke(n.x*r)/r||0,y:Ke(e*r)/r||0}):{x:d,y:u};return d=v.x,u=v.y,o?Object.assign({},y,((g={})[f]=s?"0":"",g[h]=p?"0":"",g.transform=(m.devicePixelRatio||1)<=1?"translate("+d+"px, "+u+"px)":"translate3d("+d+"px, "+u+"px, 0)",g)):Object.assign({},y,((i={})[f]=s?u+"px":"",i[h]=p?d+"px":"",i.transform="",i))}var gt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=void 0===(i=(e=e.options).gpuAcceleration)||i,n=void 0===(n=e.adaptive)||n,e=void 0===(e=e.roundOffsets)||e,i={placement:I(t.placement),variation:ht(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,mt(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:n,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,mt(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},yt={passive:!0},vt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=(e=e.options).scroll,r=void 0===n||n,s=void 0===(n=e.resize)||n,a=w(t.elements.popper),o=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&o.forEach(function(e){e.addEventListener("scroll",i.update,yt)}),s&&a.addEventListener("resize",i.update,yt),function(){r&&o.forEach(function(e){e.removeEventListener("scroll",i.update,yt)}),s&&a.removeEventListener("resize",i.update,yt)}},data:{}},bt={left:"right",right:"left",bottom:"top",top:"bottom"};function wt(e){return e.replace(/left|right|bottom|top/g,function(e){return bt[e]})}var _t={start:"end",end:"start"};function xt(e){return e.replace(/start|end/g,function(e){return _t[e]})}function Tt(e){return{scrollLeft:(e=w(e)).pageXOffset,scrollTop:e.pageYOffset}}function St(e){return it(x(e)).left+Tt(e).scrollLeft}function kt(e){var t=(e=_(e)).overflow,i=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+i)}function Ct(e,t){void 0===t&&(t=[]);var e=(n=function e(t){return 0<=["html","body","#document"].indexOf(g(t))?t.ownerDocument.body:v(t)&&kt(t)?t:e(st(t))}(e))===(null==(e=e.ownerDocument)?void 0:e.body),i=w(n),i=e?[i].concat(i.visualViewport||[],kt(n)?n:[]):n,n=t.concat(i);return e?n:n.concat(Ct(st(i)))}function Pt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Et(e,t,i){return t===Ne?Pt((r=i,a=w(n=e),o=x(n),a=a.visualViewport,l=o.clientWidth,o=o.clientHeight,d=c=0,a&&(l=a.width,o=a.height,(s=tt())||!s&&"fixed"===r)&&(c=a.offsetLeft,d=a.offsetTop),{width:l,height:o,x:c+St(n),y:d})):y(t)?((r=it(s=t,!1,"fixed"===i)).top=r.top+s.clientTop,r.left=r.left+s.clientLeft,r.bottom=r.top+s.clientHeight,r.right=r.left+s.clientWidth,r.width=s.clientWidth,r.height=s.clientHeight,r.x=r.left,r.y=r.top,r):Pt((a=x(e),l=x(a),o=Tt(a),c=null==(c=a.ownerDocument)?void 0:c.body,n=C(l.scrollWidth,l.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=C(l.scrollHeight,l.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),a=-o.scrollLeft+St(a),o=-o.scrollTop,"rtl"===_(c||l).direction&&(a+=C(l.clientWidth,c?c.clientWidth:0)-n),{width:n,height:d,x:a,y:o}));var n,r,s,a,o,l,c,d}function At(e){var t,i=e.reference,n=e.element,r=(e=e.placement)?I(e):null,e=e?ht(e):null,s=i.x+i.width/2-n.width/2,a=i.y+i.height/2-n.height/2;switch(r){case P:t={x:s,y:i.y-n.height};break;case E:t={x:s,y:i.y+i.height};break;case A:t={x:i.x+i.width,y:a};break;case M:t={x:i.x-n.width,y:a};break;default:t={x:i.x,y:i.y}}var o=r?lt(r):null;if(null!=o){var l="y"===o?"height":"width";switch(e){case j:t[o]=t[o]-(i[l]/2-n[l]/2);break;case b:t[o]=t[o]+(i[l]/2-n[l]/2)}}return t}function Mt(e,t){var i,n,r,s,a,o,l=void 0===(l=(t=void 0===t?{}:t).placement)?e.placement:l,c=void 0===(c=t.strategy)?e.strategy:c,d=void 0===(d=t.boundary)?ze:d,u=void 0===(u=t.rootBoundary)?Ne:u,p=void 0===(p=t.elementContext)?Fe:p,h=void 0!==(h=t.altBoundary)&&h,t=dt("number"!=typeof(t=void 0===(t=t.padding)?0:t)?t:ut(t,L)),f=e.rects.popper,h=e.elements[h?p===Fe?Be:Fe:p],c=(i=y(h)?h:h.contextElement||x(e.elements.popper),h=u,n=c,s="clippingParents"===(u=d)?(a=Ct(st(s=i)),y(r=0<=["absolute","fixed"].indexOf(_(s).position)&&v(s)?ot(s):s)?a.filter(function(e){return y(e)&&rt(e,r)&&"body"!==g(e)}):[]):[].concat(u),u=(a=[].concat(s,[h]))[0],(h=a.reduce(function(e,t){return t=Et(i,t,n),e.top=C(t.top,e.top),e.right=Je(t.right,e.right),e.bottom=Je(t.bottom,e.bottom),e.left=C(t.left,e.left),e},Et(i,u,n))).width=h.right-h.left,h.height=h.bottom-h.top,h.x=h.left,h.y=h.top,h),u=At({reference:d=it(e.elements.reference),element:f,strategy:"absolute",placement:l}),h=Pt(Object.assign({},f,u)),m={top:c.top-(f=p===Fe?h:d).top+t.top,bottom:f.bottom-c.bottom+t.bottom,left:c.left-f.left+t.left,right:f.right-c.right+t.right},u=e.modifiersData.offset;return p===Fe&&u&&(o=u[l],Object.keys(m).forEach(function(e){var t=0<=[A,E].indexOf(e)?1:-1,i=0<=[P,E].indexOf(e)?"y":"x";m[e]+=o[i]*t})),m}var Lt={name:"flip",enabled:!0,phase:"main",fn:function(e){var u=e.state,t=e.options,e=e.name;if(!u.modifiersData[e]._skip){for(var i=void 0===(r=t.mainAxis)||r,n=void 0===(r=t.altAxis)||r,r=t.fallbackPlacements,p=t.padding,h=t.boundary,f=t.rootBoundary,s=t.altBoundary,a=t.flipVariations,m=void 0===a||a,g=t.allowedAutoPlacements,t=I(a=u.options.placement),r=r||(t!==a&&m?I(r=a)===Ye?[]:(t=wt(r),[xt(r),t,xt(t)]):[wt(a)]),o=[a].concat(r).reduce(function(e,t){return e.concat(I(t)===Ye?(i=u,n=(e={placement:t,boundary:h,rootBoundary:f,padding:p,flipVariations:m,allowedAutoPlacements:g}).placement,r=e.boundary,s=e.rootBoundary,a=e.padding,o=e.flipVariations,l=void 0===(e=e.allowedAutoPlacements)?Ve:e,e=(c=ht(n))?o?qe:qe.filter(function(e){return ht(e)===c}):L,d=(n=0===(n=e.filter(function(e){return 0<=l.indexOf(e)})).length?e:n).reduce(function(e,t){return e[t]=Mt(i,{placement:t,boundary:r,rootBoundary:s,padding:a})[I(t)],e},{}),Object.keys(d).sort(function(e,t){return d[e]-d[t]})):t);var i,n,r,s,a,o,l,c,d},[]),l=u.rects.reference,c=u.rects.popper,d=new Map,y=!0,v=o[0],b=0;b<o.length;b++){var w=o[b],_=I(w),x=ht(w)===j,T=(k=0<=[P,E].indexOf(_))?"width":"height",S=Mt(u,{placement:w,boundary:h,rootBoundary:f,altBoundary:s,padding:p}),k=k?x?A:M:x?E:P,x=(l[T]>c[T]&&(k=wt(k)),wt(k)),T=[];if(i&&T.push(S[_]<=0),n&&T.push(S[k]<=0,S[x]<=0),T.every(function(e){return e})){v=w,y=!1;break}d.set(w,T)}if(y)for(var C=m?3:1;0<C&&"break"!==function(t){var e=o.find(function(e){if(e=d.get(e))return e.slice(0,t).every(function(e){return e})});if(e)return v=e,"break"}(C);C--);u.placement!==v&&(u.modifiersData[e]._skip=!0,u.placement=v,u.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function jt(e,t,i){return{top:e.top-t.height-(i=void 0===i?{x:0,y:0}:i).y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function It(t){return[P,A,E,M].some(function(e){return 0<=t[e]})}var Ot={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,e=e.name,i=t.rects.reference,n=t.rects.popper,r=t.modifiersData.preventOverflow,s=Mt(t,{elementContext:"reference"}),a=Mt(t,{altBoundary:!0}),s=jt(s,i),i=jt(a,n,r),a=It(s),n=It(i);t.modifiersData[e]={referenceClippingOffsets:s,popperEscapeOffsets:i,isReferenceHidden:a,hasPopperEscaped:n},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":a,"data-popper-escaped":n})}},Dt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,t=e.options,e=e.name,o=void 0===(t=t.offset)?[0,0]:t,i=(n=(t=Ve.reduce(function(e,t){return e[t]=(i=a.rects,n=o,r=I(t),s=0<=[M,P].indexOf(r)?-1:1,t=(i="function"==typeof n?n(Object.assign({},i,{placement:t})):n)[0]||0,n=(i[1]||0)*s,0<=[M,A].indexOf(r)?{x:n,y:t}:{x:t,y:n}),e;var i,n,r,s},{}))[a.placement]).x,n=n.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=i,a.modifiersData.popperOffsets.y+=n),a.modifiersData[e]=t}},Yt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=At({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},zt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,i,n,r,s,a,o,l,c,d=e.state,u=e.options,e=e.name,p=void 0===(p=u.mainAxis)||p,h=void 0!==(h=u.altAxis)&&h,f=u.boundary,m=u.rootBoundary,g=u.altBoundary,y=u.padding,v=void 0===(v=u.tether)||v,u=void 0===(u=u.tetherOffset)?0:u,f=Mt(d,{boundary:f,rootBoundary:m,padding:y,altBoundary:g}),m=I(d.placement),g=!(y=ht(d.placement)),b=lt(m),w="x"===b?"y":"x",_=d.modifiersData.popperOffsets,x=d.rects.reference,T=d.rects.popper,u="number"==typeof(u="function"==typeof u?u(Object.assign({},d.rects,{placement:d.placement})):u)?{mainAxis:u,altAxis:u}:Object.assign({mainAxis:0,altAxis:0},u),S=d.modifiersData.offset?d.modifiersData.offset[d.placement]:null,k={x:0,y:0};_&&(p&&(p="y"===b?"height":"width",a=(o=_[b])+f[i="y"===b?P:M],l=o-f[c="y"===b?E:A],t=v?-T[p]/2:0,r=(y===j?x:T)[p],y=y===j?-T[p]:-x[p],s=d.elements.arrow,s=v&&s?nt(s):{width:0,height:0},i=(n=d.modifiersData["arrow#persistent"]?d.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0})[i],n=n[c],c=ct(0,x[p],s[p]),s=g?x[p]/2-t-c-i-u.mainAxis:r-c-i-u.mainAxis,r=g?-x[p]/2+t+c+n+u.mainAxis:y+c+n+u.mainAxis,g=(i=d.elements.arrow&&ot(d.elements.arrow))?"y"===b?i.clientTop||0:i.clientLeft||0:0,y=o+r-(t=null!=(p=null==S?void 0:S[b])?p:0),c=ct(v?Je(a,o+s-t-g):a,o,v?C(l,y):l),_[b]=c,k[b]=c-o),h&&(n="y"==w?"height":"width",r=(i=_[w])+f["x"===b?P:M],p=i-f["x"===b?E:A],s=-1!==[P,M].indexOf(m),g=null!=(t=null==S?void 0:S[w])?t:0,a=s?r:i-x[n]-T[n]-g+u.altAxis,y=s?i+x[n]+T[n]-g-u.altAxis:p,o=v&&s?(c=ct(a,i,l=y),l<c?l:c):ct(v?a:r,i,v?y:p),_[w]=o,k[w]=o-i),d.modifiersData[e]=k)},requiresIfExists:["offset"]};var Nt={placement:"bottom",modifiers:[],strategy:"absolute"};function Ft(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Bt(e){var t=(e=void 0===e?{}:e).defaultModifiers,u=void 0===t?[]:t,m=void 0===(t=e.defaultOptions)?Nt:t;return function(o,l,t){void 0===t&&(t=m);var i,n,p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nt,m),modifiersData:{},elements:{reference:o,popper:l},attributes:{},styles:{}},c=[],h=!1,f={state:p,setOptions:function(e){e="function"==typeof e?e(p.options):e,d(),p.options=Object.assign({},m,p.options,e),p.scrollParents={reference:y(o)?Ct(o):o.contextElement?Ct(o.contextElement):[],popper:Ct(l)},e=[].concat(u,p.options.modifiers),s=e.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{}),t=Object.keys(s).map(function(e){return s[e]}),i=new Map,n=new Set,r=[],t.forEach(function(e){i.set(e.name,e)}),t.forEach(function(e){n.has(e.name)||function t(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){n.has(e)||(e=i.get(e))&&t(e)}),r.push(e)}(e)});var t,i,n,r,s,a,a=r,e=Ge.reduce(function(e,t){return e.concat(a.filter(function(e){return e.phase===t}))},[]);return p.orderedModifiers=e.filter(function(e){return e.enabled}),p.orderedModifiers.forEach(function(e){var t=e.name,i=e.options;"function"==typeof(e=e.effect)&&(e=e({state:p,name:t,instance:f,options:void 0===i?{}:i}),c.push(e||function(){}))}),f.update()},forceUpdate:function(){if(!h){var e=p.elements,t=e.reference;if(Ft(t,e=e.popper)){p.rects={reference:(a=ot(e),o="fixed"===p.options.strategy,l=v(a),u=v(a)&&(d=(u=a).getBoundingClientRect(),c=Ke(d.width)/u.offsetWidth||1,d=Ke(d.height)/u.offsetHeight||1,1!==c||1!==d),c=x(a),d=it(t,u,o),t={scrollLeft:0,scrollTop:0},u={x:0,y:0},!l&&o||("body"===g(a)&&!kt(c)||(t=(l=a)!==w(l)&&v(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:Tt(l)),v(a)?((u=it(a,!0)).x+=a.clientLeft,u.y+=a.clientTop):c&&(u.x=St(c))),{x:d.left+t.scrollLeft-u.x,y:d.top+t.scrollTop-u.y,width:d.width,height:d.height}),popper:nt(e)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(e){return p.modifiersData[e.name]=Object.assign({},e.data)});for(var i,n,r,s=0;s<p.orderedModifiers.length;s++)!0!==p.reset?(i=(r=p.orderedModifiers[s]).fn,n=r.options,r=r.name,"function"==typeof i&&(p=i({state:p,options:void 0===n?{}:n,name:r,instance:f})||p)):(p.reset=!1,s=-1)}}var a,o,l,c,d,u},update:(i=function(){return new Promise(function(e){f.forceUpdate(),e(p)})},function(){return n=n||new Promise(function(e){Promise.resolve().then(function(){n=void 0,e(i())})})}),destroy:function(){d(),h=!0}};return Ft(o,l)&&f.setOptions(t).then(function(e){!h&&t.onFirstUpdate&&t.onFirstUpdate(e)}),f;function d(){c.forEach(function(e){return e()}),c=[]}}}var qt=Bt(),Vt=Bt({defaultModifiers:[vt,Yt,gt,Ze]}),Rt=Bt({defaultModifiers:[vt,Yt,gt,Ze,Dt,Lt,zt,pt,Ot]});const Qt=Object.freeze(Object.defineProperty({__proto__:null,afterMain:We,afterRead:Qe,afterWrite:Ue,applyStyles:Ze,arrow:pt,auto:Ye,basePlacements:L,beforeMain:He,beforeRead:Re,beforeWrite:$e,bottom:E,clippingParents:ze,computeStyles:gt,createPopper:Rt,createPopperBase:qt,createPopperLite:Vt,detectOverflow:Mt,end:b,eventListeners:vt,flip:Lt,hide:Ot,left:M,main:"main",modifierPhases:Ge,offset:Dt,placements:Ve,popper:Fe,popperGenerator:Bt,popperOffsets:Yt,preventOverflow:zt,read:"read",reference:Be,right:A,start:j,top:P,variationPlacements:qe,viewport:Ne,write:"write"},Symbol.toStringTag,{value:"Module"})),Ht="dropdown",Wt=".bs.dropdown",$t=".data-api",Ut="ArrowDown",Gt="click"+Wt+$t,Xt="keydown"+Wt+$t,Zt="show",T='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Jt=(T,".dropdown-menu"),Kt=l()?"top-end":"top-start",ei=l()?"top-start":"top-end",ti=l()?"bottom-end":"bottom-start",ii=l()?"bottom-start":"bottom-end",ni=l()?"left-start":"right-start",ri=l()?"right-start":"left-start",si={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},ai={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class S extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=u.next(this._element,Jt)[0]||u.prev(this._element,Jt)[0]||u.findOne(Jt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return si}static get DefaultType(){return ai}static get NAME(){return Ht}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!o(this._element)&&!this._isShown()){var e={relatedTarget:this._element};if(!f.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))f.on(t,"mouseover",q);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Zt),this._element.classList.add(Zt),f.trigger(this._element,"shown.bs.dropdown",e)}}}hide(){var e;!o(this._element)&&this._isShown()&&(e={relatedTarget:this._element},this._completeHide(e))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!f.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))f.off(e,"mouseover",q);this._popper&&this._popper.destroy(),this._menu.classList.remove(Zt),this._element.classList.remove(Zt),this._element.setAttribute("aria-expanded","false"),d.removeDataAttribute(this._menu,"popper"),f.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"!=typeof(e=super._getConfig(e)).reference||a(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError(Ht.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(){if(void 0===Qt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:a(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);var t=this._getPopperConfig();this._popper=Rt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Zt)}_getPlacement(){var e,t=this._parent;return t.classList.contains("dropend")?ni:t.classList.contains("dropstart")?ri:t.classList.contains("dropup-center")?"top":t.classList.contains("dropdown-center")?"bottom":(e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(),t.classList.contains("dropup")?e?ei:Kt:e?ii:ti)}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const t=this._config.offset;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(d.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...c(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){var i=u.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>s(e));i.length&&W(i,t,e===Ut,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=S.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key))for(const r of u.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show')){var t,i,n=S.getInstance(r);n&&!1!==n._config.autoClose&&(t=(i=e.composedPath()).includes(n._menu),i.includes(n._element)||"inside"===n._config.autoClose&&!t||"outside"===n._config.autoClose&&t||n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName))||(i={relatedTarget:n._element},"click"===e.type&&(i.clickEvent=e),n._completeHide(i)))}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=["ArrowUp",Ut].includes(e.key);!n&&!i||t&&!i||(e.preventDefault(),t=this.matches(T)?this:u.prev(this,T)[0]||u.next(this,T)[0]||u.findOne(T,e.delegateTarget.parentNode),i=S.getOrCreateInstance(t),n?(e.stopPropagation(),i.show(),i._selectMenuItem(e)):i._isShown()&&(e.stopPropagation(),i.hide(),t.focus()))}}f.on(document,Xt,T,S.dataApiKeydownHandler),f.on(document,Xt,Jt,S.dataApiKeydownHandler),f.on(document,Gt,S.clearMenus),f.on(document,"keyup.bs.dropdown.data-api",S.clearMenus),f.on(document,Gt,T,function(e){e.preventDefault(),S.getOrCreateInstance(this).toggle()}),e(S);const oi="backdrop",li="mousedown.bs."+oi,ci={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},di={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ui extends de{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return ci}static get DefaultType(){return di}static get NAME(){return oi}show(e){var t;this._config.isVisible?(this._append(),t=this._getElement(),this._config.isAnimated&&V(t),t.classList.add("show"),this._emulateAnimation(()=>{c(e)})):c(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),c(e)})):c(e)}dispose(){this._isAppended&&(f.off(this._element,li),this._element.remove(),this._isAppended=!1)}_getElement(){var e;return this._element||((e=document.createElement("div")).className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}_configAfterMerge(e){return e.rootElement=r(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),f.on(e,li,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){H(e,this._getElement(),this._config.isAnimated)}}const pi=".bs.focustrap",hi=(pi,pi,"backward"),fi={autofocus:!0,trapElement:null},mi={autofocus:"boolean",trapElement:"element"};class gi extends de{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return fi}static get DefaultType(){return mi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),f.off(document,pi),f.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),f.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,f.off(document,pi))}_handleFocusin(e){var t=this._config.trapElement;e.target===document||e.target===t||t.contains(e.target)||(0===(e=u.focusableChildren(t)).length?t:this._lastTabNavDirection===hi?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?hi:"forward")}}const yi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vi=".sticky-top",bi="padding-right",wi="margin-right";class _i{constructor(){this._element=document.body}getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,bi,e=>e+t),this._setElementAttributes(yi,bi,e=>e+t),this._setElementAttributes(vi,wi,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,bi),this._resetElementAttributes(yi,bi),this._resetElementAttributes(vi,wi)}isOverflowing(){return 0<this.getWidth()}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,i,n){const r=this.getWidth();this._applyManipulationCallback(e,e=>{var t;e!==this._element&&window.innerWidth>e.clientWidth+r||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e).getPropertyValue(i),e.style.setProperty(i,n(Number.parseFloat(t))+"px"))})}_saveInitialAttribute(e,t){var i=e.style.getPropertyValue(t);i&&d.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=d.getDataAttribute(e,i);null!==t?(d.removeDataAttribute(e,i),e.style.setProperty(i,t)):e.style.removeProperty(i)})}_applyManipulationCallback(e,t){if(a(e))t(e);else for(const i of u.find(e,this._element))t(i)}}const k=".bs.modal",xi=(k,k,"hidden"+k),Ti="show"+k,Si=(k,k,k,k,k,k,"modal-open"),ki="modal-static",Ci={backdrop:!0,focus:!0,keyboard:!0},Pi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ei extends t{constructor(e,t){super(e,t),this._dialog=u.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new _i,this._addEventListeners()}static get Default(){return Ci}static get DefaultType(){return Pi}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||f.trigger(this._element,Ti,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Si),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||f.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){f.off(window,k),f.off(this._dialog,k),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ui({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new gi({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var t=u.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),V(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,f.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){f.on(this._element,"keydown.dismiss.bs.modal",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),f.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),f.on(this._element,"mousedown.dismiss.bs.modal",t=>{f.one(this._element,"click.dismiss.bs.modal",e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Si),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,xi)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!f.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(ki)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(ki),this._queueCallback(()=>{this._element.classList.remove(ki),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=0<t;if(i&&!e){const e=l()?"paddingLeft":"paddingRight";this._element.style[e]=t+"px"}if(!i&&e){const e=l()?"paddingRight":"paddingLeft";this._element.style[e]=t+"px"}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){var e=Ei.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](i)}})}}f.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){const t=u.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),f.one(t,Ti,e=>{e.defaultPrevented||f.one(t,xi,()=>{s(this)&&this.focus()})}),(e=u.findOne(".modal.show"))&&Ei.getInstance(e).hide(),Ei.getOrCreateInstance(t).toggle(this)}),pe(Ei),e(Ei);const Ai=".bs.offcanvas",Mi="showing",Li=".offcanvas.show",ji="hidePrevented"+Ai,Ii="hidden"+Ai,Oi={backdrop:!0,keyboard:!0,scroll:!1},Di={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class O extends t{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Oi}static get DefaultType(){return Di}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||f.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new _i).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Mi),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Mi),f.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&!f.trigger(this._element,"hide.bs.offcanvas").defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new _i).reset(),f.trigger(this._element,Ii)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var e=Boolean(this._config.backdrop);return new ui({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():f.trigger(this._element,ji)}:null})}_initializeFocusTrap(){return new gi({trapElement:this._element})}_addEventListeners(){f.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():f.trigger(this._element,ji))})}static jQueryInterface(t){return this.each(function(){var e=O.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}f.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=u.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(f.one(t,Ii,()=>{s(this)&&this.focus()}),(e=u.findOne(Li))&&e!==t&&O.getInstance(e).hide(),O.getOrCreateInstance(t).toggle(this))}),f.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of u.find(Li))O.getOrCreateInstance(e).show()}),f.on(window,"resize.bs.offcanvas",()=>{for(const e of u.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&O.getOrCreateInstance(e).hide()}),pe(O),e(O);const Yi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},zi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ni=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Fi={allowList:Yi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Bi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},qi={entry:"(string|element|function|null)",selector:"(string|element)"};class Vi extends de{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Fi}static get DefaultType(){return Bi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return 0<this.getContent().length}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){var e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,i]of Object.entries(this._config.content))this._setContent(e,i,t);const t=e.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&t.classList.add(...i.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(var[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},qi)}_setContent(e,t,i){(i=u.findOne(i,e))&&((t=this._resolvePossibleFunction(t))?a(t)?this._putElementInTemplate(r(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){if(this._config.sanitize){var t=e,i=this._config.allowList,n=this._config.sanitizeFn;if(!t.length)return t;if(n&&"function"==typeof n)return n(t);n=(new window.DOMParser).parseFromString(t,"text/html");for(const t of[].concat(...n.body.querySelectorAll("*"))){const n=t.nodeName.toLowerCase();if(Object.keys(i).includes(n)){var r=[].concat(...t.attributes),s=[].concat(i["*"]||[],i[n]||[]);for(const i of r)((e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!zi.has(i)||Boolean(Ni.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(i))})(i,s)||t.removeAttribute(i.nodeName)}else t.remove()}return n.body.innerHTML}return e}_resolvePossibleFunction(e){return c(e,[this])}_putElementInTemplate(e,t){this._config.html?(t.innerHTML="",t.append(e)):t.textContent=e.textContent}}const Ri=new Set(["sanitize","allowList","sanitizeFn"]),Qi="fade",Hi="show",Wi="hide.bs.modal",$i="hover",Ui="focus",Gi={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Xi={allowList:Yi,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Zi={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Ji extends t{constructor(e,t){if(void 0===Qt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Xi}static get DefaultType(){return Zi}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),f.off(this._element.closest(".modal"),Wi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){var e=f.trigger(this._element,this.constructor.eventName("show")),t=(B(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!e.defaultPrevented&&t){this._disposePopper();e=this._getTipElement(),t=(this._element.setAttribute("aria-describedby",e.getAttribute("id")),this._config.container);if(this._element.ownerDocument.documentElement.contains(this.tip)||(t.append(e),f.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(e),e.classList.add(Hi),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))f.on(i,"mouseover",q);this._queueCallback(()=>{f.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}hide(){if(this._isShown()&&!f.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Hi),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))f.off(e,"mouseover",q);this._activeTrigger.click=!1,this._activeTrigger[Ui]=!1,this._activeTrigger[$i]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),f.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){if(!(e=this._getTemplateFactory(e).toHtml()))return null;e.classList.remove(Qi,Hi),e.classList.add(`bs-${this.constructor.NAME}-auto`);var t=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME).toString();return e.setAttribute("id",t),this._isAnimated()&&e.classList.add(Qi),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Vi({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Qi)}_isShown(){return this.tip&&this.tip.classList.contains(Hi)}_createPopper(e){var t=c(this._config.placement,[this,e,this._element]),t=Gi[t.toUpperCase()];return Rt(this._element,e,this._getPopperConfig(t))}_getOffset(){const t=this._config.offset;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(e){return c(e,[this._element])}_getPopperConfig(e){return{...e={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]},...c(this._config.popperConfig,[e])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)f.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()});else if("manual"!==t){const e=t===$i?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===$i?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");f.on(this._element,e,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?Ui:$i]=!0,t._enter()}),f.on(this._element,i,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Ui:$i]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(".modal"),Wi,this._hideModalHandler)}_fixTitle(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){var t=d.getDataAttributes(this._element);for(const e of Object.keys(t))Ri.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:r(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){var e,t,i={};for([e,t]of Object.entries(this._config))this.constructor.Default[e]!==t&&(i[e]=t);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){var e=Ji.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Ji);const Ki={...Ji.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},en={...Ji.DefaultType,content:"(null|string|element|function)"};class tn extends Ji{static get Default(){return Ki}static get DefaultType(){return en}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){var e=tn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(tn);const nn="click.bs.scrollspy",rn="active",sn="[href]",an={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},on={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ln extends t{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return an}static get DefaultType(){return on}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=r(e.target)||document.body,e.rootMargin=e.offset?e.offset+"px 0px -30%":e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(f.off(this._config.target,nn),f.on(this._config.target,nn,sn,e=>{var t=this._observableSections.get(e.target.hash);t&&(e.preventDefault(),e=this._rootElement||window,t=t.offsetTop-this._element.offsetTop,e.scrollTo?e.scrollTo({top:t,behavior:"smooth"}):e.scrollTop=t)}))}_getNewObserver(){var e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get("#"+e.target.id),i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},n=(this._rootElement||document.documentElement).scrollTop,r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const s of e)if(s.isIntersecting){const e=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&e){if(i(s),!n)return}else r||e||i(s)}else this._activeTarget=null,this._clearActiveClass(t(s))}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=u.find(sn,this._config.target);for(const t of e)if(t.hash&&!o(t)){const e=u.findOne(decodeURI(t.hash),this._element);s(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),(this._activeTarget=e).classList.add(rn),this._activateParents(e),f.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))u.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(rn);else for(const t of u.parents(e,".nav, .list-group"))for(const e of u.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(rn)}_clearActiveClass(e){e.classList.remove(rn);var t=u.find(sn+"."+rn,e);for(const e of t)e.classList.remove(rn)}static jQueryInterface(t){return this.each(function(){var e=ln.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(window,"load.bs.scrollspy.data-api",()=>{for(const e of u.find('[data-bs-spy="scroll"]'))ln.getOrCreateInstance(e)}),e(ln);const cn="ArrowRight",dn="ArrowDown",un="Home",D="active",pn="show",hn=".dropdown-toggle",fn=`:not(${hn})`,mn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',gn=`.nav-link${fn}, .list-group-item${fn}, [role="tab"]${fn}, `+mn;D,D,D;class yn extends t{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),f.on(this._element,"keydown.bs.tab",e=>this._keydown(e)))}static get NAME(){return"tab"}show(){var e,t,i=this._element;this._elemIsActive(i)||(t=(e=this._getActiveElem())?f.trigger(e,"hide.bs.tab",{relatedTarget:i}):null,f.trigger(i,"show.bs.tab",{relatedTarget:e}).defaultPrevented)||t&&t.defaultPrevented||(this._deactivate(e,i),this._activate(i,e))}_activate(e,t){e&&(e.classList.add(D),this._activate(u.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),f.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(pn)},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(D),e.blur(),this._deactivate(u.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),f.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(pn)},e,e.classList.contains("fade")))}_keydown(e){var t,i;["ArrowLeft",cn,"ArrowUp",dn,un,"End"].includes(e.key)&&(e.stopPropagation(),e.preventDefault(),i=this._getChildren().filter(e=>!o(e)),i=[un,"End"].includes(e.key)?i[e.key===un?0:i.length-1]:(t=[cn,dn].includes(e.key),W(i,e.target,t,!0)))&&(i.focus({preventScroll:!0}),yn.getOrCreateInstance(i).show())}_getChildren(){return u.find(gn,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){var t=u.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id)&&this._setAttributeIfNotExists(t,"aria-labelledby",""+e.id)}_toggleDropDown(e,i){const n=this._getOuterElement(e);n.classList.contains("dropdown")&&((e=(e,t)=>{(e=u.findOne(e,n))&&e.classList.toggle(t,i)})(hn,D),e(".dropdown-menu",pn),n.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(D)}_getInnerElement(e){return e.matches(gn)?e:u.findOne(gn,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){var e=yn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(document,"click.bs.tab",mn,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||yn.getOrCreateInstance(this).show()}),f.on(window,"load.bs.tab",()=>{for(const e of u.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))yn.getOrCreateInstance(e)}),e(yn);const vn="show",bn="showing",wn={animation:"boolean",autohide:"boolean",delay:"number"},_n={animation:!0,autohide:!0,delay:5e3};class xn extends t{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return _n}static get DefaultType(){return wn}static get NAME(){return"toast"}show(){f.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),V(this._element),this._element.classList.add(vn,bn),this._queueCallback(()=>{this._element.classList.remove(bn),f.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!f.trigger(this._element,"hide.bs.toast").defaultPrevented&&(this._element.classList.add(bn),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(bn,vn),f.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(vn),super.dispose()}isShown(){return this._element.classList.contains(vn)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}_setListeners(){f.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),f.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),f.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),f.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){var e=xn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return pe(xn),e(xn),{Alert:he,Button:me,Carousel:Ae,Collapse:De,Dropdown:S,Modal:Ei,Offcanvas:O,Popover:tn,ScrollSpy:ln,Tab:yn,Toast:xn,Tooltip:Ji}}),function(l,i,n,o){function c(e,t){this.settings=null,this.options=l.extend({},c.Defaults,t),this.$element=l(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(e,t){this._handlers[t]=l.proxy(this[t],this)},this)),l.each(c.Plugins,l.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),l.each(c.Workers,l.proxy(function(e,t){this._pipe.push({filter:t.filter,run:l.proxy(t.run,this)})},this)),this.setup(),this.initialize()}c.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:i,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},c.Width={Default:"default",Inner:"inner",Outer:"outer"},c.Type={Event:"event",State:"state"},c.Plugins={},c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",i=!this.settings.autoWidth,n={width:"auto","margin-left":(n=this.settings.rtl)?t:"","margin-right":n?"":t};i||this.$stage.children().css(n),e.css=n}},{filter:["width","items","settings"],run:function(e){var t,i=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=this._items.length,r=!this.settings.autoWidth,s=[];for(e.items={merge:!1,width:i};n--;)t=this._mergers[n],t=this.settings.mergeFit&&Math.min(t,this.settings.items)||t,e.items.merge=1<t||e.items.merge,s[n]=r?i*t:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var e=[],t=this._items,i=this.settings,n=Math.max(2*i.items,4),r=2*Math.ceil(t.length/2),s=i.loop&&t.length?i.rewind?n:Math.max(n,r):0,a="",o="";for(s/=2;0<s;)e.push(this.normalize(e.length/2,!0)),a+=t[e[e.length-1]][0].outerHTML,e.push(this.normalize(t.length-1-(e.length-1)/2,!0)),o=t[e[e.length-1]][0].outerHTML+o,--s;this._clones=e,l(a).addClass("cloned").appendTo(this.$stage),l(o).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e,t,i=this.settings.rtl?1:-1,n=this._clones.length+this._items.length,r=-1,s=[];++r<n;)e=s[r-1]||0,t=this._widths[this.relative(r)]+this.settings.margin,s.push(e+t*i);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,t={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(t)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],n.eq(t).css(e.css);else i&&(e.css.width=e.items.width,n.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var e,t,i=this.settings.rtl?1:-1,n=2*this.settings.stagePadding,r=this.coordinates(this.current())+n,s=r+this.width()*i,a=[],o=0,l=this._coordinates.length;o<l;o++)e=this._coordinates[o-1]||0,t=Math.abs(this._coordinates[o])+n*i,(this.op(e,"<=",r)&&this.op(e,">",s)||this.op(t,"<",r)&&this.op(t,">",s))&&a.push(o);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+a.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],c.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},c.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");e.length?(this._items=e.get().map(function(e){return l(e)}),this._mergers=this._items.map(function(){return 1}),this.refresh()):(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))},c.prototype.initialize=function(){var e,t;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:o,t=this.$element.children(t).width(),e.length)&&t<=0&&this.preloadAutoWidthImages(e),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},c.prototype.setup=function(){var t=this.viewport(),e=this.options.responsive,i=-1,n=null;e?(l.each(e,function(e){e<=t&&i<e&&(i=Number(e))}),"function"==typeof(n=l.extend({},this.options,e[i])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):n=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=i,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},c.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},c.prototype.prepare=function(e){var t=this.trigger("prepare",{content:e});return t.data||(t.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:t.data}),t.data},c.prototype.update=function(){for(var e=0,t=this._pipe.length,i=l.proxy(function(e){return this[e]},this._invalidated),n={};e<t;)(this._invalidated.all||0<l.grep(this._pipe[e].filter,i).length)&&this._pipe[e].run(n),e++;this._invalidated={},this.is("valid")||this.enter("valid")},c.prototype.width=function(e){switch(e=e||c.Width.Default){case c.Width.Inner:case c.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},c.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},c.prototype.onThrottledResize=function(){i.clearTimeout(this.resizeTimer),this.resizeTimer=i.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},c.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},c.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(i,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},c.prototype.onDragStart=function(e){var t=null;3!==e.which&&(t=l.support.transform?{x:(t=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===t.length?12:4],y:t[16===t.length?13:5]}:(t=this.$stage.position(),{x:this.settings.rtl?t.left+this.$stage.width()-this.width()+this.settings.margin:t.left,y:t.top}),this.is("animating")&&(l.support.transform?this.animate(t.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(e.target),this._drag.stage.start=t,this._drag.stage.current=t,this._drag.pointer=this.pointer(e),l(n).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(n).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(e){var t=this.difference(this._drag.pointer,this.pointer(e));l(n).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(t.x)<Math.abs(t.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},c.prototype.onDragMove=function(e){var t=null,i=null,n=this.difference(this._drag.pointer,this.pointer(e)),r=this.difference(this._drag.stage.start,n);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-t,r.x=((r.x-t)%i+i)%i+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),e=this.settings.pullDrag?-1*n.x/5:0,r.x=Math.max(Math.min(r.x,t+e),i+e)),this._drag.stage.current=r,this.animate(r.x))},c.prototype.onDragEnd=function(e){var e=this.difference(this._drag.pointer,this.pointer(e)),t=this._drag.stage.current,i=0<e.x^this.settings.rtl?"left":"right";l(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(t.x,0!==e.x?i:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=i,3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1}),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},c.prototype.closest=function(i,n){var r=-1,s=this.width(),a=this.coordinates();return this.settings.freeDrag||l.each(a,l.proxy(function(e,t){return"left"===n&&t-30<i&&i<t+30?r=e:"right"===n&&t-s-30<i&&i<t-s+30?r=e+1:this.op(i,"<",t)&&this.op(i,">",a[e+1]!==o?a[e+1]:t-s)&&(r="left"===n?e+1:e),-1===r},this)),this.settings.loop||(this.op(i,">",a[this.minimum()])?r=i=this.minimum():this.op(i,"<",a[this.maximum()])&&(r=i=this.maximum())),r},c.prototype.animate=function(e){var t=0<this.speed();this.is("animating")&&this.onTransitionEnd(),t&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):t?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},c.prototype.is=function(e){return this._states.current[e]&&0<this._states.current[e]},c.prototype.current=function(e){if(e!==o){if(0===this._items.length)return o;var t;e=this.normalize(e),this._current!==e&&((t=this.trigger("change",{property:{name:"position",value:e}})).data!==o&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}}))}return this._current},c.prototype.invalidate=function(e){return"string"===l.type(e)&&(this._invalidated[e]=!0,this.is("valid"))&&this.leave("valid"),l.map(this._invalidated,function(e,t){return t})},c.prototype.reset=function(e){(e=this.normalize(e))!==o&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},c.prototype.normalize=function(e,t){var i=this._items.length,t=t?0:this._clones.length;return!this.isNumeric(e)||i<1?e=o:(e<0||i+t<=e)&&(e=((e-t/2)%i+i)%i+t/2),e},c.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},c.prototype.maximum=function(e){var t,i,n,r=this.settings,s=this._coordinates.length;if(r.loop)s=this._clones.length/2+this._items.length-1;else if(r.autoWidth||r.merge){if(t=this._items.length)for(i=this._items[--t].width(),n=this.$element.width();t--&&!((i+=this._items[t].width()+this.settings.margin)>n););s=t+1}else s=r.center?this._items.length-1:this._items.length-r.items;return e&&(s-=this._clones.length/2),Math.max(s,0)},c.prototype.minimum=function(e){return e?0:this._clones.length/2},c.prototype.items=function(e){return e===o?this._items.slice():(e=this.normalize(e,!0),this._items[e])},c.prototype.mergers=function(e){return e===o?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},c.prototype.clones=function(i){function n(e){return e%2==0?r+e/2:t-(e+1)/2}var t=this._clones.length/2,r=t+this._items.length;return i===o?l.map(this._clones,function(e,t){return n(t)}):l.map(this._clones,function(e,t){return e===i?n(t):null})},c.prototype.speed=function(e){return e!==o&&(this._speed=e),this._speed},c.prototype.coordinates=function(e){var t,i=1,n=e-1;return e===o?l.map(this._coordinates,l.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,n=e+1),t=this._coordinates[e],t+=(this.width()-t+(this._coordinates[n]||0))/2*i):t=this._coordinates[n]||0,Math.ceil(t))},c.prototype.duration=function(e,t,i){return 0===i?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(i||this.settings.smartSpeed)},c.prototype.to=function(e,t){var i=this.current(),n=e-this.relative(i),r=(0<n)-(n<0),s=this._items.length,a=this.minimum(),o=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>s/2&&(n+=-1*r*s),(r=(((e=i+n)-a)%s+s)%s+a)!==e&&r-n<=o&&0<r-n&&this.reset(i=(e=r)-n)):e=this.settings.rewind?(e%(o+=1)+o)%o:Math.max(a,Math.min(o,e)),this.speed(this.duration(i,e,t)),this.current(e),this.isVisible()&&this.update()},c.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},c.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},c.prototype.onTransitionEnd=function(e){if(e!==o&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},c.prototype.viewport=function(){var e;return this.options.responsiveBaseElement!==i?e=l(this.options.responsiveBaseElement).width():i.innerWidth?e=i.innerWidth:n.documentElement&&n.documentElement.clientWidth?e=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),e},c.prototype.replace=function(e){this.$stage.empty(),this._items=[],e=e&&(e instanceof jQuery?e:l(e)),(e=this.settings.nestedItemSelector?e.find("."+this.settings.nestedItemSelector):e).filter(function(){return 1===this.nodeType}).each(l.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},c.prototype.add=function(e,t){var i=this.relative(this._current);t=t===o?this._items.length:this.normalize(t,!0),e=e instanceof jQuery?e:l(e),this.trigger("add",{content:e,position:t}),e=this.prepare(e),0===this._items.length||t===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[t-1].after(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[t].before(e),this._items.splice(t,0,e),this._mergers.splice(t,0,+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:e,position:t})},c.prototype.remove=function(e){(e=this.normalize(e,!0))!==o&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},c.prototype.preloadAutoWidthImages=function(e){e.each(l.proxy(function(e,t){this.enter("pre-loading"),t=l(t),l(new Image).one("load",l.proxy(function(e){t.attr("src",e.target.src),t.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",t.attr("src")||t.attr("data-src")||t.attr("data-src-retina"))},this))},c.prototype.destroy=function(){for(var e in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(n).off(".owl.core"),!1!==this.settings.responsive&&(i.clearTimeout(this.resizeTimer),this.off(i,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[e].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},c.prototype.op=function(e,t,i){var n=this.settings.rtl;switch(t){case"<":return n?i<e:e<i;case">":return n?e<i:i<e;case">=":return n?e<=i:i<=e;case"<=":return n?i<=e:e<=i}},c.prototype.on=function(e,t,i,n){e.addEventListener?e.addEventListener(t,i,n):e.attachEvent&&e.attachEvent("on"+t,i)},c.prototype.off=function(e,t,i,n){e.removeEventListener?e.removeEventListener(t,i,n):e.detachEvent&&e.detachEvent("on"+t,i)},c.prototype.trigger=function(e,t,i,n,r){var s={item:{count:this._items.length,index:this.current()}},a=l.camelCase(l.grep(["on",e,i],function(e){return e}).join("-").toLowerCase()),o=l.Event([e,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,t));return this._supress[e]||(l.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(o)}),this.register({type:c.Type.Event,name:e}),this.$element.trigger(o),this.settings&&"function"==typeof this.settings[a]&&this.settings[a].call(this,o)),o},c.prototype.enter=function(e){l.each([e].concat(this._states.tags[e]||[]),l.proxy(function(e,t){this._states.current[t]===o&&(this._states.current[t]=0),this._states.current[t]++},this))},c.prototype.leave=function(e){l.each([e].concat(this._states.tags[e]||[]),l.proxy(function(e,t){this._states.current[t]--},this))},c.prototype.register=function(i){var t;i.type===c.Type.Event?(l.event.special[i.name]||(l.event.special[i.name]={}),l.event.special[i.name].owl||(t=l.event.special[i.name]._default,l.event.special[i.name]._default=function(e){return!t||!t.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&-1<e.namespace.indexOf("owl"):t.apply(this,arguments)},l.event.special[i.name].owl=!0)):i.type===c.Type.State&&(this._states.tags[i.name]?this._states.tags[i.name]=this._states.tags[i.name].concat(i.tags):this._states.tags[i.name]=i.tags,this._states.tags[i.name]=l.grep(this._states.tags[i.name],l.proxy(function(e,t){return l.inArray(e,this._states.tags[i.name])===t},this)))},c.prototype.suppress=function(e){l.each(e,l.proxy(function(e,t){this._supress[t]=!0},this))},c.prototype.release=function(e){l.each(e,l.proxy(function(e,t){delete this._supress[t]},this))},c.prototype.pointer=function(e){var t={x:null,y:null};return(e=(e=e.originalEvent||e||i.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(t.x=e.pageX,t.y=e.pageY):(t.x=e.clientX,t.y=e.clientY),t},c.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},c.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},l.fn.owlCarousel=function(t){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=l(this),i=e.data("owl.carousel");i||(i=new c(this,"object"==typeof t&&t),e.data("owl.carousel",i),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,t){i.register({type:c.Type.Event,name:t}),i.$element.on(t+".owl.carousel.core",l.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([t]),i[t].apply(this,[].slice.call(arguments,1)),this.release([t]))},i))})),"string"==typeof t&&"_"!==t.charAt(0)&&i[t].apply(i,n)})},l.fn.owlCarousel.Constructor=c}(window.Zepto||window.jQuery,window,document),function(t,i){function n(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)}n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=i.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible)&&this._core.invalidate("width")&&this._core.refresh()},n.prototype.destroy=function(){var e,t;for(e in i.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(o,r){function t(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":o.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var t=this._core.settings,i=t.center&&Math.ceil(t.items/2)||t.items,n=t.center&&-1*i||0,r=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+n,s=this._core.clones().length,a=o.proxy(function(e,t){this.load(t)},this);for(0<t.lazyLoadEager&&(i+=t.lazyLoadEager,t.loop)&&(r-=t.lazyLoadEager,i++);n++<i;)this.load(s/2+this._core.relative(r)),s&&o.each(this._core.clones(this._core.relative(r)),a),r++}},this)},this._core.options=o.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers)}t.Defaults={lazyLoad:!1,lazyLoadEager:0},t.prototype.load=function(e){var t=(e=this._core.$stage.children().eq(e))&&e.find(".owl-lazy");!t||-1<o.inArray(e.get(0),this._loaded)||(t.each(o.proxy(function(e,t){var i=o(t),n=1<r.devicePixelRatio&&i.attr("data-src-retina")||i.attr("data-src")||i.attr("data-srcset");this._core.trigger("load",{element:i,url:n},"lazy"),i.is("img")?i.one("load.owl.lazy",o.proxy(function(){i.css("opacity",1),this._core.trigger("loaded",{element:i,url:n},"lazy")},this)).attr("src",n):i.is("source")?i.one("load.owl.lazy",o.proxy(function(){this._core.trigger("loaded",{element:i,url:n},"lazy")},this)).attr("srcset",n):((t=new Image).onload=o.proxy(function(){i.css({"background-image":'url("'+n+'")',opacity:"1"}),this._core.trigger("loaded",{element:i,url:n},"lazy")},this),t.src=n)},this)),this._loaded.push(e.get(0)))},t.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},o.fn.owlCarousel.Constructor.Plugins.Lazy=t}(window.Zepto||window.jQuery,window,document),function(r,i){function n(e){this._core=e,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()},this),"loaded.owl.lazy":r.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=r.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var t=this;r(i).on("load",function(){t._core.settings.autoHeight&&t.update()}),r(i).resize(function(){t._core.settings.autoHeight&&(null!=t._intervalId&&clearTimeout(t._intervalId),t._intervalId=setTimeout(function(){t.update()},250))})}n.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},n.prototype.update=function(){var e=(i=this._core._current)+this._core.settings.items,t=this._core.settings.lazyLoad,i=this._core.$stage.children().toArray().slice(i,e),n=[],e=0;r.each(i,function(e,t){n.push(r(t).height())}),(e=Math.max.apply(null,n))<=1&&t&&this._previousHeight&&(e=this._previousHeight),this._previousHeight=e,this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},r.fn.owlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.jQuery,window,document),function(c,t){function i(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":c.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":c.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":c.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":c.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":c.proxy(function(e){var t;e.namespace&&(t=c(e.content).find(".owl-video")).length&&(t.css("display","none"),this.fetch(t,c(e.content)))},this)},this._core.options=c.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",c.proxy(function(e){this.play(e)},this))}i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(e,t){var i=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",n=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),r=e.attr("data-width")||this._core.settings.videoWidth,s=e.attr("data-height")||this._core.settings.videoHeight,a=e.attr("href");if(!a)throw new Error("Missing video URL.");if(-1<(n=a.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))i="youtube";else if(-1<n[3].indexOf("vimeo"))i="vimeo";else{if(!(-1<n[3].indexOf("vzaar")))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[a]={type:i,id:n,width:r,height:s},t.attr("data-video",a),this.thumbnail(e,this._videos[a])},i.prototype.thumbnail=function(t,e){function i(e){n=l.lazyLoad?c("<div/>",{class:"owl-video-tn "+o,srcType:e}):c("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+e+")"}),t.after(n),t.after('<div class="owl-video-play-icon"></div>')}var n,r=e.width&&e.height?"width:"+e.width+"px;height:"+e.height+"px;":"",s=t.find("img"),a="src",o="",l=this._core.settings;if(t.wrap(c("<div/>",{class:"owl-video-wrapper",style:r})),this._core.settings.lazyLoad&&(a="data-src",o="owl-lazy"),s.length)return i(s.attr(a)),s.remove(),!1;"youtube"===e.type?i("//img.youtube.com/vi/"+e.id+"/hqdefault.jpg"):"vimeo"===e.type?c.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){i(e[0].thumbnail_large)}}):"vzaar"===e.type&&c.ajax({type:"GET",url:"//vzaar.com/api/videos/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){i(e.framegrab_url)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(e){var t,e=c(e.target).closest("."+this._core.settings.itemClass),i=this._videos[e.attr("data-video")],n=i.width||"100%",r=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),(t=c('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",r),t.attr("width",n),"youtube"===i.type?t.attr("src","//www.youtube.com/embed/"+i.id+"?autoplay=1&rel=0&v="+i.id):"vimeo"===i.type?t.attr("src","//player.vimeo.com/video/"+i.id+"?autoplay=1"):"vzaar"===i.type&&t.attr("src","//view.vzaar.com/"+i.id+"/player?autoplay=true"),c(t).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var e=t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement;return e&&c(e).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},c.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,(window,document)),function(a){function t(e){this.core=e,this.core.options=a.extend({},t.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":a.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":a.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)}t.Defaults={animateOut:!1,animateIn:!1},t.prototype.swap=function(){var e,t,i,n,r,s;1===this.core.settings.items&&a.support.animation&&a.support.transition&&(this.core.speed(0),t=a.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,s=this.core.settings.animateOut,this.core.current()!==this.previous)&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(a.support.animation.end,t).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s)),r)&&n.one(a.support.animation.end,t).addClass("animated owl-animated-in").addClass(r)},t.prototype.clear=function(e){a(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},t.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=t}(window.Zepto||window.jQuery,(window,document)),function(n,r,t){function i(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":n.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":n.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(e,t,i){e.namespace&&this.play(t,i)},this),"stop.owl.autoplay":n.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},i.Defaults,this._core.options)}i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(e){this._call=r.setTimeout(n.proxy(this._next,this,e),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||t.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(e,t){var i;this._core.is("rotating")||this._core.enter("rotating"),e=e||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||e),e),this._paused?(this._time=this.read(),this._paused=!1):r.clearTimeout(this._call),this._time+=this.read()%e-i,this._timeout=e,this._call=r.setTimeout(n.proxy(this._next,this,t),e-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,r.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,r.clearTimeout(this._call))},i.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},n.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(r){"use strict";function t(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+r(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":r.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":r.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":r.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=r.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)}t.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},t.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?r(i.navContainer):r("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=r("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",r.proxy(function(e){this.prev(i.navSpeed)},this)),this._controls.$next=r("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",r.proxy(function(e){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[r('<button role="button">').addClass(i.dotClass).append(r("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?r(i.dotsContainer):r("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",r.proxy(function(e){var t=(r(e.target).parent().is(this._controls.$absolute)?r(e.target):r(e.target).parent()).index();e.preventDefault(),this.to(t,i.dotsSpeed)},this)),this._overrides)this._core[e]=r.proxy(this[e],this)},t.prototype.destroy=function(){var e,t,i,n,r=this._core.settings;for(e in this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)"$relative"===t&&r.navContainer?this._controls[t].html(""):this._controls[t].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.prototype.update=function(){var e,t,i=this._core.clones().length/2,n=i+this._core.items().length,r=this._core.maximum(!0),s=this._core.settings,a=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],e=i,t=0;e<n;e++){if(a<=t||0===t){if(this._pages.push({start:Math.min(r,e-i),end:e-i+a-1}),Math.min(r,e-i)===r)break;t=0}t+=this._core.mergers(this._core.relative(e))}},t.prototype.draw=function(){var e=this._core.settings,t=this._core.items().length<=e.items,i=this._core.relative(this._core.current()),n=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||t),e.nav&&(this._controls.$previous.toggleClass("disabled",!n&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!n&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||t),e.dots&&(n=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!=n?this._controls.$absolute.html(this._templates.join("")):0<n?this._controls.$absolute.append(new Array(1+n).join(this._templates[0])):n<0&&this._controls.$absolute.children().slice(n).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(r.inArray(this.current(),this._pages)).addClass("active"))},t.prototype.onTrigger=function(e){var t=this._core.settings;e.page={index:r.inArray(this.current(),this._pages),count:this._pages.length,size:t&&(t.center||t.autoWidth||t.dotsData?1:t.dotsEach||t.items)}},t.prototype.current=function(){var i=this._core.relative(this._core.current());return r.grep(this._pages,r.proxy(function(e,t){return e.start<=i&&e.end>=i},this)).pop()},t.prototype.getPosition=function(e){var t,i,n=this._core.settings;return"page"==n.slideBy?(t=r.inArray(this.current(),this._pages),i=this._pages.length,e?++t:--t,t=this._pages[(t%i+i)%i].start):(t=this._core.relative(this._core.current()),i=this._core.items().length,e?t+=n.slideBy:t-=n.slideBy),t},t.prototype.next=function(e){r.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},t.prototype.prev=function(e){r.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},t.prototype.to=function(e,t,i){!i&&this._pages.length?(i=this._pages.length,r.proxy(this._overrides.to,this._core)(this._pages[(e%i+i)%i].start,t)):r.proxy(this._overrides.to,this._core)(e,t)},r.fn.owlCarousel.Constructor.Plugins.Navigation=t}(window.Zepto||window.jQuery,(window,document)),function(n,r){"use strict";function t(e){this._core=e,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(e){e.namespace&&"URLHash"===this._core.settings.startPosition&&n(r).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(e){var t;e.namespace&&(t=n(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[t]=e.content)},this),"changed.owl.carousel":n.proxy(function(e){var i;e.namespace&&"position"===e.property.name&&(i=this._core.items(this._core.relative(this._core.current())),e=n.map(this._hashes,function(e,t){return e===i?t:null}).join())&&r.location.hash.slice(1)!==e&&(r.location.hash=e)},this)},this._core.options=n.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers),n(r).on("hashchange.owl.navigation",n.proxy(function(e){var t=r.location.hash.substring(1),i=this._core.$stage.children();void 0!==(i=this._hashes[t]&&i.index(this._hashes[t]))&&i!==this._core.current()&&this._core.to(this._core.relative(i),!1,!0)},this))}t.Defaults={URLhashListener:!1},t.prototype.destroy=function(){var e,t;for(e in n(r).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},n.fn.owlCarousel.Constructor.Plugins.Hash=t}(window.Zepto||window.jQuery,window,document),function(r){function t(e,i){var n=!1,t=e.charAt(0).toUpperCase()+e.slice(1);return r.each((e+" "+a.join(t+" ")+t).split(" "),function(e,t){if(void 0!==s[t])return n=!i||t,!1}),n}function e(e){return t(e,!0)}var s=r("<support>").get(0).style,a="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}};t("transition")&&(r.support.transition=new String(e("transition")),r.support.transition.end=i.transition.end[r.support.transition]),t("animation")&&(r.support.animation=new String(e("animation")),r.support.animation.end=i.animation.end[r.support.animation]),t("transform")&&(r.support.transform=new String(e("transform")),r.support.transform3d=!!t("perspective"))}(window.Zepto||window.jQuery,(window,document)),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClipboardJS=t():e.ClipboardJS=t()}(this,function(){return i={686:function(e,t,i){"use strict";i.d(t,{default:function(){return g}});var t=i(279),a=i.n(t),t=i(370),o=i.n(t),t=i(817),r=i.n(t);function s(e){try{document.execCommand(e)}catch(e){}}function l(e){return e=r()(e),s("cut"),e}function n(e,t){var i=e,n="rtl"===document.documentElement.getAttribute("dir");return(e=document.createElement("textarea")).style.fontSize="12pt",e.style.border="0",e.style.padding="0",e.style.margin="0",e.style.position="absolute",e.style[n?"right":"left"]="-9999px",n=window.pageYOffset||document.documentElement.scrollTop,e.style.top="".concat(n,"px"),e.setAttribute("readonly",""),e.value=i,t.container.appendChild(e),t=r()(e),s("copy"),e.remove(),t}function c(e,t){var t=1<arguments.length&&void 0!==t?t:{container:document.body},i="";return"string"==typeof e?i=n(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?i=n(e.value,t):(i=r()(e),s("copy")),i}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){if(e="data-clipboard-".concat(e),t.hasAttribute(e))return t.getAttribute(e)}var g=function(){var e=s,t=a();if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t);var i,n,i=s,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),r=function(){var e=f(i),t=n?(t=f(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this;if(!t||"object"!==u(t)&&"function"!=typeof t){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t};function s(e,t){var i;if(this instanceof s)return(i=r.call(this)).resolveOptions(t),i.listenClick(e),i;throw new TypeError("Cannot call a class as a function")}return e=[{key:"copy",value:function(e){return c(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body})}},{key:"cut",value:l},{key:"isSupported",value:function(){var e="string"==typeof(e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"])?[e]:e,t=!!document.queryCommandSupported;return e.forEach(function(e){t=t&&!!document.queryCommandSupported(e)}),t}}],p((t=s).prototype,[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===u(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=o()(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,i=this.action(t)||"copy",e=function(e){var t=void 0===(n=(e=0<arguments.length&&void 0!==e?e:{}).action)?"copy":n,i=e.container,n=e.target,e=e.text;if("copy"!==t&&"cut"!==t)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==n){if(!n||"object"!==d(n)||1!==n.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===t&&n.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===t&&(n.hasAttribute("readonly")||n.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return e?c(e,{container:i}):n?"cut"===t?l(n):c(n,{container:i}):void 0}({action:i,container:this.container,target:this.target(t),text:this.text(t)});this.emit(e?"success":"error",{action:i,text:e,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return m("action",e)}},{key:"defaultTarget",value:function(e){if(e=m("target",e))return document.querySelector(e)}},{key:"defaultText",value:function(e){return m("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}]),p(t,e),s}()},828:function(e){var t;"undefined"==typeof Element||Element.prototype.matches||((t=Element.prototype).matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector),e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,i){var a=i(828);function s(e,t,i,n,r){var s=function(t,i,e,n){return function(e){e.delegateTarget=a(e.target,i),e.delegateTarget&&n.call(t,e)}}.apply(this,arguments);return e.addEventListener(i,s,r),{destroy:function(){e.removeEventListener(i,s,r)}}}e.exports=function(e,t,i,n,r){return"function"==typeof e.addEventListener?s.apply(null,arguments):"function"==typeof i?s.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return s(e,t,i,n,r)}))}},879:function(e,i){i.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},i.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||i.node(e[0]))},i.string=function(e){return"string"==typeof e||e instanceof String},i.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,i){var c=i(879),d=i(438);e.exports=function(e,t,i){if(!e&&!t&&!i)throw new Error("Missing required arguments");if(!c.string(t))throw new TypeError("Second argument must be a String");if(!c.fn(i))throw new TypeError("Third argument must be a Function");if(c.node(e))return(a=e).addEventListener(o=t,l=i),{destroy:function(){a.removeEventListener(o,l)}};if(c.nodeList(e))return n=e,r=t,s=i,Array.prototype.forEach.call(n,function(e){e.addEventListener(r,s)}),{destroy:function(){Array.prototype.forEach.call(n,function(e){e.removeEventListener(r,s)})}};if(c.string(e))return d(document.body,e,t,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var n,r,s,a,o,l}},817:function(e){e.exports=function(e){var t,i="SELECT"===e.nodeName?(e.focus(),e.value):"INPUT"===e.nodeName||"TEXTAREA"===e.nodeName?((t=e.hasAttribute("readonly"))||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),t||e.removeAttribute("readonly"),e.value):(e.hasAttribute("contenteditable")&&e.focus(),i=window.getSelection(),(t=document.createRange()).selectNodeContents(e),i.removeAllRanges(),i.addRange(t),i.toString());return i}},279:function(e){function t(){}t.prototype={on:function(e,t,i){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:i}),this},once:function(e,t,i){var n=this;function r(){n.off(e,r),t.apply(i,arguments)}return r._=t,this.on(e,r,i)},emit:function(e){for(var t=[].slice.call(arguments,1),i=((this.e||(this.e={}))[e]||[]).slice(),n=0,r=i.length;n<r;n++)i[n].fn.apply(i[n].ctx,t);return this},off:function(e,t){var i=this.e||(this.e={}),n=i[e],r=[];if(n&&t)for(var s=0,a=n.length;s<a;s++)n[s].fn!==t&&n[s].fn._!==t&&r.push(n[s]);return r.length?i[e]=r:delete i[e],this}},e.exports=t,e.exports.TinyEmitter=t}},r={},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686).default;function n(e){var t;return(r[e]||(t=r[e]={exports:{}},i[e](t,t.exports,n),t)).exports}var i,r}),function(){var a=!1;window.JQClass=function(){},JQClass.classes={},JQClass.extend=function e(t){var i,r=this.prototype,n=(a=!0,new this);for(i in a=!1,t)n[i]="function"==typeof t[i]&&"function"==typeof r[i]?function(i,n){return function(){var e=this._super,t=(this._super=function(e){return r[i].apply(this,e)},n.apply(this,arguments));return this._super=e,t}}(i,t[i]):t[i];function s(){!a&&this._init&&this._init.apply(this,arguments)}return((s.prototype=n).constructor=s).extend=e,s}}(),function($){function camelCase(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}JQClass.classes.JQPlugin=JQClass.extend({name:"plugin",defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return"is-"+this.name},_init:function(){$.extend(this.defaultOptions,this.regionalOptions&&this.regionalOptions[""]||{});var i=camelCase(this.name);$[i]=this,$.fn[i]=function(e){var t=Array.prototype.slice.call(arguments,1);return $[i]._isNotChained(e,t)?$[i][e].apply($[i],[this[0]].concat(t)):this.each(function(){if("string"==typeof e){if("_"===e[0]||!$[i][e])throw"Unknown method: "+e;$[i][e].apply($[i],[this].concat(t))}else $[i]._attach(this,e)})}},setDefaults:function(e){$.extend(this.defaultOptions,e||{})},_isNotChained:function(e,t){return"option"===e&&(0===t.length||1===t.length&&"string"==typeof t[0])||-1<$.inArray(e,this._getters)},_attach:function(e,t){var i;(e=$(e)).hasClass(this._getMarker())||(e.addClass(this._getMarker()),t=$.extend({},this.defaultOptions,this._getMetadata(e),t||{}),i=$.extend({name:this.name,elem:e,options:t},this._instSettings(e,t)),e.data(this.name,i),this._postAttach(e,i),this.option(e,t))},_instSettings:function(e,t){return{}},_postAttach:function(e,t){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||"",g,f=f.replace(/'/g,'"');for(g in f=f.replace(/([a-zA-Z0-9]+):/g,function(e,t,i){return(i=f.substring(0,i).match(/"/g))&&i.length%2!=0?t+":":'"'+t+'":'}),f=$.parseJSON("{"+f+"}"),f){var h=f[g];"string"==typeof h&&h.match(/^new Date\((.*)\)$/)&&(f[g]=eval(h))}return f}catch(e){return{}}},_getInst:function(e){return $(e).data(this.name)||{}},option:function(e,t,i){var n,r=(e=$(e)).data(this.name);if(!t||"string"==typeof t&&null==i)return(n=(r||{}).options)&&t?n[t]:n;e.hasClass(this._getMarker())&&(n=t||{},"string"==typeof t&&((n={})[t]=i),this._optionsChanged(e,r,n),$.extend(r.options,n))},_optionsChanged:function(e,t,i){},destroy:function(e){(e=$(e)).hasClass(this._getMarker())&&(this._preDestroy(e,this._getInst(e)),e.removeData(this.name).removeClass(this._getMarker()))},_preDestroy:function(e,t){}}),$.JQPlugin={createPlugin:function(e,t){"object"==typeof e&&(t=e,e="JQPlugin"),e=camelCase(e);var i=camelCase(t.name);JQClass.classes[i]=JQClass.classes[e].extend(t),new JQClass.classes[i]}}}(jQuery),function(h){"use strict";var e="countdown";h.JQPlugin.createPlugin({name:e,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:"dHMS",layout:"",compact:!1,padZeroes:!1,significant:0,description:"",expiryUrl:"",expiryText:"",alwaysExpire:!1,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{"":{labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["y","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1}},_rtlClass:e+"-rtl",_sectionClass:e+"-section",_amountClass:e+"-amount",_periodClass:e+"-period",_rowClass:e+"-row",_holdingClass:e+"-holding",_showClass:e+"-show",_descrClass:e+"-descr",_timerElems:[],_init:function(){var i=this,n=(this._super(),this._serverSyncs=[],"function"==typeof Date.now?Date.now:function(){return(new Date).getTime()}),r=window.performance&&"function"==typeof window.performance.now,s=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null,a=0;!s||h.noRequestAnimationFrame?(h.noRequestAnimationFrame=null,h.countdown._timer=setInterval(function(){i._updateElems()},1e3)):(a=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||n(),s(function e(t){1e3<=(t=t<1e12?r?window.performance.now()+window.performance.timing.navigationStart:n():t||n())-a&&(i._updateElems(),a=t),s(e)}))},UTCDate:function(e,t,i,n,r,s,a,o){"object"==typeof t&&t instanceof Date&&(o=t.getMilliseconds(),a=t.getSeconds(),s=t.getMinutes(),r=t.getHours(),n=t.getDate(),i=t.getMonth(),t=t.getFullYear());var l=new Date;return l.setUTCFullYear(t),l.setUTCDate(1),l.setUTCMonth(i||0),l.setUTCDate(n||1),l.setUTCHours(r||0),l.setUTCMinutes((s||0)-(Math.abs(e)<30?60*e:e)),l.setUTCSeconds(a||0),l.setUTCMilliseconds(o||0),l},periodsToSeconds:function(e){return 31557600*e[0]+2629800*e[1]+604800*e[2]+86400*e[3]+3600*e[4]+60*e[5]+e[6]},resync:function(){var r=this;h("."+this._getMarker()).each(function(){var e=h.data(this,r.name);if(e.options.serverSync){for(var t,i=null,n=0;n<r._serverSyncs.length;n++)if(r._serverSyncs[n][0]===e.options.serverSync){i=r._serverSyncs[n];break}r._eqNull(i[2])&&(t=h.isFunction(e.options.serverSync)?e.options.serverSync.apply(this,[]):null,i[2]=(t?(new Date).getTime()-t.getTime():0)-i[1]),e._since&&e._since.setMilliseconds(e._since.getMilliseconds()+i[2]),e._until.setMilliseconds(e._until.getMilliseconds()+i[2])}});for(var e=0;e<r._serverSyncs.length;e++)r._eqNull(r._serverSyncs[e][2])||(r._serverSyncs[e][1]+=r._serverSyncs[e][2],delete r._serverSyncs[e][2])},_instSettings:function(e,t){return{_periods:[0,0,0,0,0,0,0]}},_addElem:function(e){this._hasElem(e)||this._timerElems.push(e)},_hasElem:function(e){return-1<h.inArray(e,this._timerElems)},_removeElem:function(t){this._timerElems=h.map(this._timerElems,function(e){return e===t?null:e})},_updateElems:function(){for(var e=this._timerElems.length-1;0<=e;e--)this._updateCountdown(this._timerElems[e])},_optionsChanged:function(e,t,i){i.layout&&(i.layout=i.layout.replace(/&lt;/g,"<").replace(/&gt;/g,">")),this._resetExtraLabels(t.options,i);var n=t.options.timezone!==i.timezone,i=(h.extend(t.options,i),this._adjustSettings(e,t,!this._eqNull(i.until)||!this._eqNull(i.since)||n),new Date);(t._since&&t._since<i||t._until&&t._until>i)&&this._addElem(e[0]),this._updateCountdown(e,t)},_updateCountdown:function(e,t){var i;e=e.jquery?e:h(e),(t=t||this._getInst(e))&&(e.html(this._generateHTML(t)).toggleClass(this._rtlClass,t.options.isRTL),"pause"!==t._hold&&h.isFunction(t.options.onTick)&&(i="lap"!==t._hold?t._periods:this._calculatePeriods(t,t._show,t.options.significant,new Date),1!==t.options.tickInterval&&this.periodsToSeconds(i)%t.options.tickInterval!=0||t.options.onTick.apply(e[0],[i])),"pause"!==t._hold&&(t._since?t._now.getTime()<t._since.getTime():t._now.getTime()>=t._until.getTime())&&!t._expiring?(t._expiring=!0,(this._hasElem(e[0])||t.options.alwaysExpire)&&(this._removeElem(e[0]),h.isFunction(t.options.onExpiry)&&t.options.onExpiry.apply(e[0],[]),t.options.expiryText&&(i=t.options.layout,t.options.layout=t.options.expiryText,this._updateCountdown(e[0],t),t.options.layout=i),t.options.expiryUrl)&&(window.location=t.options.expiryUrl),t._expiring=!1):"pause"===t._hold&&this._removeElem(e[0]))},_resetExtraLabels:function(e,t){var i=null;for(i in t)i.match(/[Ll]abels[02-9]|compactLabels1/)&&(e[i]=t[i]);for(i in e)i.match(/[Ll]abels[02-9]|compactLabels1/)&&void 0===t[i]&&(e[i]=null)},_eqNull:function(e){return null==e},_adjustSettings:function(e,t,i){for(var n=null,r=0;r<this._serverSyncs.length;r++)if(this._serverSyncs[r][0]===t.options.serverSync){n=this._serverSyncs[r][1];break}var s=null,a=null,e=(this._eqNull(n)?(e=h.isFunction(t.options.serverSync)?t.options.serverSync.apply(e[0],[]):null,s=new Date,a=e?s.getTime()-e.getTime():0,this._serverSyncs.push([t.options.serverSync,a])):(s=new Date,a=t.options.serverSync?n:0),t.options.timezone),e=this._eqNull(e)?-s.getTimezoneOffset():e;(i||!i&&this._eqNull(t._until)&&this._eqNull(t._since))&&(t._since=t.options.since,this._eqNull(t._since)||(t._since=this.UTCDate(e,this._determineTime(t._since,null)),t._since&&a&&t._since.setMilliseconds(t._since.getMilliseconds()+a)),t._until=this.UTCDate(e,this._determineTime(t.options.until,s)),a)&&t._until.setMilliseconds(t._until.getMilliseconds()+a),t._show=this._determineShow(t)},_preDestroy:function(e,t){this._removeElem(e[0]),e.empty()},pause:function(e){this._hold(e,"pause")},lap:function(e){this._hold(e,"lap")},resume:function(e){this._hold(e,null)},toggle:function(e){this[(h.data(e,this.name)||{})._hold?"resume":"pause"](e)},toggleLap:function(e){this[(h.data(e,this.name)||{})._hold?"resume":"lap"](e)},_hold:function(e,t){var i,n=h.data(e,this.name);n&&("pause"!==n._hold||t||(n._periods=n._savePeriods,i=n._since?"-":"+",n[n._since?"_since":"_until"]=this._determineTime(i+n._periods[0]+"y"+i+n._periods[1]+"o"+i+n._periods[2]+"w"+i+n._periods[3]+"d"+i+n._periods[4]+"h"+i+n._periods[5]+"m"+i+n._periods[6]+"s"),this._addElem(e)),n._hold=t,n._savePeriods="pause"===t?n._periods:null,h.data(e,this.name,n),this._updateCountdown(e,n))},getTimes:function(e){return(e=h.data(e,this.name))?"pause"===e._hold?e._savePeriods:e._hold?this._calculatePeriods(e,e._show,e.options.significant,new Date):e._periods:null},_determineTime:function(e,t){var i,d=this;return(t=this._eqNull(e)?t:"string"==typeof e?function(e){e=e.toLowerCase();for(var t=new Date,i=t.getFullYear(),n=t.getMonth(),r=t.getDate(),s=t.getHours(),a=t.getMinutes(),o=t.getSeconds(),l=/([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g,c=l.exec(e);c;){switch(c[2]||"s"){case"s":o+=parseInt(c[1],10);break;case"m":a+=parseInt(c[1],10);break;case"h":s+=parseInt(c[1],10);break;case"d":r+=parseInt(c[1],10);break;case"w":r+=7*parseInt(c[1],10);break;case"o":n+=parseInt(c[1],10),r=Math.min(r,d._getDaysInMonth(i,n));break;case"y":i+=parseInt(c[1],10),r=Math.min(r,d._getDaysInMonth(i,n))}c=l.exec(e)}return new Date(i,n,r,s,a,o,0)}(e):"number"==typeof e?(t=e,(i=new Date).setTime(i.getTime()+1e3*t),i):e)&&t.setMilliseconds(0),t},_getDaysInMonth:function(e,t){return 32-new Date(e,t,32).getDate()},_normalLabels:function(e){return e},_generateHTML:function(i){for(var n=this,e=(i._periods=i._hold?i._periods:this._calculatePeriods(i,i._show,i.options.significant,new Date),!1),t=0,r=i.options.significant,s=h.extend({},i._show),a=null,a=0;a<=6;a++)e=e||"?"===i._show[a]&&0<i._periods[a],s[a]="?"!==i._show[a]||e?i._show[a]:null,t+=s[a]?1:0,r-=0<i._periods[a]?1:0;var o=[!1,!1,!1,!1,!1,!1,!1];for(a=6;0<=a;a--)i._show[a]&&(i._periods[a]?o[a]=!0:(o[a]=0<r,r--));function l(e){var t=i.options["compactLabels"+u(i._periods[e])];return s[e]?n._translateDigits(i,i._periods[e])+(t||d)[e]+" ":""}function c(e){var t=i.options["labels"+u(i._periods[e])];return!i.options.significant&&s[e]||i.options.significant&&o[e]?'<span class="'+n._sectionClass+'"><span class="'+n._amountClass+'">'+n._minDigits(i,i._periods[e],p)+'</span><span class="'+n._periodClass+'">'+(t||d)[e]+"</span></span>":""}var d=i.options.compact?i.options.compactLabels:i.options.labels,u=i.options.whichLabels||this._normalLabels,p=i.options.padZeroes?2:1;return i.options.layout?this._buildLayout(i,s,i.options.layout,i.options.compact,i.options.significant,o):(i.options.compact?'<span class="'+this._rowClass+" "+this._amountClass+(i._hold?" "+this._holdingClass:"")+'">'+l(0)+l(1)+l(2)+l(3)+(s[4]?this._minDigits(i,i._periods[4],2):"")+(s[5]?(s[4]?i.options.timeSeparator:"")+this._minDigits(i,i._periods[5],2):"")+(s[6]?(s[4]||s[5]?i.options.timeSeparator:"")+this._minDigits(i,i._periods[6],2):""):'<span class="'+this._rowClass+" "+this._showClass+(i.options.significant||t)+(i._hold?" "+this._holdingClass:"")+'">'+c(0)+c(1)+c(2)+c(3)+c(4)+c(5)+c(6))+"</span>"+(i.options.description?'<span class="'+this._rowClass+" "+this._descrClass+'">'+i.options.description+"</span>":"")},_buildLayout:function(i,e,t,n,r,s){for(var a=i.options[n?"compactLabels":"labels"],o=i.options.whichLabels||this._normalLabels,l=function(e,t){return i.options.digits[Math.floor(e/t)%10]},c={desc:i.options.description,sep:i.options.timeSeparator,yl:(c=function(e){return(i.options[(n?"compactLabels":"labels")+o(i._periods[e])]||a)[e]})(0),yn:this._minDigits(i,i._periods[0],1),ynn:this._minDigits(i,i._periods[0],2),ynnn:this._minDigits(i,i._periods[0],3),y1:l(i._periods[0],1),y10:l(i._periods[0],10),y100:l(i._periods[0],100),y1000:l(i._periods[0],1e3),ol:c(1),on:this._minDigits(i,i._periods[1],1),onn:this._minDigits(i,i._periods[1],2),onnn:this._minDigits(i,i._periods[1],3),o1:l(i._periods[1],1),o10:l(i._periods[1],10),o100:l(i._periods[1],100),o1000:l(i._periods[1],1e3),wl:c(2),wn:this._minDigits(i,i._periods[2],1),wnn:this._minDigits(i,i._periods[2],2),wnnn:this._minDigits(i,i._periods[2],3),w1:l(i._periods[2],1),w10:l(i._periods[2],10),w100:l(i._periods[2],100),w1000:l(i._periods[2],1e3),dl:c(3),dn:this._minDigits(i,i._periods[3],1),dnn:this._minDigits(i,i._periods[3],2),dnnn:this._minDigits(i,i._periods[3],3),d1:l(i._periods[3],1),d10:l(i._periods[3],10),d100:l(i._periods[3],100),d1000:l(i._periods[3],1e3),hl:c(4),hn:this._minDigits(i,i._periods[4],1),hnn:this._minDigits(i,i._periods[4],2),hnnn:this._minDigits(i,i._periods[4],3),h1:l(i._periods[4],1),h10:l(i._periods[4],10),h100:l(i._periods[4],100),h1000:l(i._periods[4],1e3),ml:c(5),mn:this._minDigits(i,i._periods[5],1),mnn:this._minDigits(i,i._periods[5],2),mnnn:this._minDigits(i,i._periods[5],3),m1:l(i._periods[5],1),m10:l(i._periods[5],10),m100:l(i._periods[5],100),m1000:l(i._periods[5],1e3),sl:c(6),sn:this._minDigits(i,i._periods[6],1),snn:this._minDigits(i,i._periods[6],2),snnn:this._minDigits(i,i._periods[6],3),s1:l(i._periods[6],1),s10:l(i._periods[6],10),s100:l(i._periods[6],100),s1000:l(i._periods[6],1e3)},d=t,u=0;u<=6;u++)var p="yowdhms".charAt(u),p=new RegExp("\\{"+p+"<\\}([\\s\\S]*)\\{"+p+">\\}","g"),d=d.replace(p,!r&&e[u]||r&&s[u]?"$1":"");return h.each(c,function(e,t){e=new RegExp("\\{"+e+"\\}","g"),d=d.replace(e,t)}),d},_minDigits:function(e,t,i){return(t=""+t).length>=i?this._translateDigits(e,t):this._translateDigits(e,(t="0000000000"+t).substr(t.length-i))},_translateDigits:function(t,e){return(""+e).replace(/[0-9]/g,function(e){return t.options.digits[e]})},_determineShow:function(e){var e=e.options.format,t=[];return t[0]=e.match("y")?"?":e.match("Y")?"!":null,t[1]=e.match("o")?"?":e.match("O")?"!":null,t[2]=e.match("w")?"?":e.match("W")?"!":null,t[3]=e.match("d")?"?":e.match("D")?"!":null,t[4]=e.match("h")?"?":e.match("H")?"!":null,t[5]=e.match("m")?"?":e.match("M")?"!":null,t[6]=e.match("s")?"?":e.match("S")?"!":null,t},_calculatePeriods:function(e,i,t,n){function r(e,t){c[e]=i[e]?Math.floor(d/t):0,d-=c[e]*t}e._now=n,e._now.setMilliseconds(0);var s,a,o,l=new Date(e._now.getTime()),c=(e._since?n.getTime()<e._since.getTime()?e._now=n=l:n=e._since:(l.setTime(e._until.getTime()),n.getTime()>e._until.getTime()&&(e._now=n=l)),[0,0,0,0,0,0,0]),d=((i[0]||i[1])&&(s=this._getDaysInMonth(n.getFullYear(),n.getMonth()),o=this._getDaysInMonth(l.getFullYear(),l.getMonth()),o=l.getDate()===n.getDate()||l.getDate()>=Math.min(s,o)&&n.getDate()>=Math.min(s,o),a=function(e){return 60*(60*e.getHours()+e.getMinutes())+e.getSeconds()},o=Math.max(0,12*(l.getFullYear()-n.getFullYear())+l.getMonth()-n.getMonth()+(l.getDate()<n.getDate()&&!o||o&&a(l)<a(n)?-1:0)),c[0]=i[0]?Math.floor(o/12):0,c[1]=i[1]?o-12*c[0]:0,a=(n=new Date(n.getTime())).getDate()===s,o=this._getDaysInMonth(n.getFullYear()+c[0],n.getMonth()+c[1]),n.getDate()>o&&n.setDate(o),n.setFullYear(n.getFullYear()+c[0]),n.setMonth(n.getMonth()+c[1]),a)&&n.setDate(o),Math.floor((l.getTime()-n.getTime())/1e3)),u=null;if(r(2,604800),r(3,86400),r(4,3600),r(5,60),r(6,1),0<d&&!e._since)for(var p=[1,12,4.3482,7,24,60,60],h=6,f=1,u=6;0<=u;u--)i[u]&&(c[h]>=f&&(c[h]=0,d=1),0<d)&&(c[u]++,d=0,h=u,f=1),f*=p[u];if(t)for(u=0;u<=6;u++)t&&c[u]?t--:t||(c[u]=0);return c}})}(jQuery),function(d){d.fn.countTo=function(c){return c=c||{},d(this).each(function(){function e(e){e=t.formatter.call(r,e,t),s.text(e)}var t=d.extend({},d.fn.countTo.defaults,{from:d(this).data("from"),to:d(this).data("to"),speed:d(this).data("speed"),refreshInterval:d(this).data("refresh-interval"),decimals:d(this).data("decimals")},c),i=Math.ceil(t.speed/t.refreshInterval),n=(t.to-t.from)/i,r=this,s=d(this),a=0,o=t.from,l=s.data("countTo")||{};s.data("countTo",l),l.interval&&clearInterval(l.interval),l.interval=setInterval(function(){a++,e(o+=n),"function"==typeof t.onUpdate&&t.onUpdate.call(r,o),i<=a&&(s.removeData("countTo"),clearInterval(l.interval),o=t.to,"function"==typeof t.onComplete)&&t.onComplete.call(r,o)},t.refreshInterval),e(o)})},d.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:function(e,t){return e.toFixed(t.decimals)},onUpdate:null,onComplete:null}}(jQuery),function(a){"use strict";function i(e,t){if(e&&"object"!=typeof e)return e;throw new Error(u.idRequired(t))}function n(e){var t={};return e.forEach(function(e){t[e]=function(i){return function(t){return this.queue.add(function(e){e.url+="/"+i+"/"+c(t||{})}),this}}.call(this,e)}.bind(this)),t}function o(e){var t,i;if(0!==e.length)return i={},"number"==(t=typeof(e=e[0]))||"string"==t?-1<d.indexOf(e)?i.list=e:i.resource=e:"object"==t&&(i=e),i}function l(){var e=a.extend({},a.Deferred());return e.queue=new function(){return this.methods=[],this.response=null,this.flushed=!1,this.add=function(e){this.flushed?e(this.scope):this.methods.push(e)},this.flush=function(e){if(!this.flushed){for(this.scope=e,this.flushed=!0;this.methods[0];)this.methods.shift()(e);return e}},this},e.url=s,e.get=function(){return t?(a.ajax({type:"GET",url:this.url,beforeSend:function(e){e.setRequestHeader("Authorization","Bearer "+t)},success:function(e){this.resolve(e)}.bind(this),error:function(e){this.reject(e)}.bind(this)}),this):(console.error(u.token),!1)},e}function r(i){return function(t){return a.extend(this,l()),this.queue.add(function(e){e.url+="/"+i+"/"+t}),setTimeout(function(){this.queue.flush(this).get()}.bind(this)),this}}a.jribbble={};function c(e){return(e=a.param(e))?"?"+e:""}var t=null,s="https://api.dribbble.com/v1",d=["animated","attachments","debuts","playoffs","rebounds","teams"],u={token:"Jribbble: Missing Dribbble access token. Set one with $.jribbble.accessToken = YOUR_ACCESS_TOKEN. If you do not have an access token, you must register a new application at https://dribbble.com/account/applications/new",singular:function(e){return e.substr(0,e.length-1)},idRequired:function(e){return"Jribbble: You have to provide a "+this.singular(e)+' ID. ex: $.jribbble.%@("1234").'.replace(/%@/g,e)},subResource:function(e){return"Jribbble: You have to provide a "+this.singular(e)+' ID to get %@. ex: $.jribbble.%@("1234").%@()'.replace(/%@/g,e)},shotId:function(e){return"Jribbble: You have to provide a shot ID to get %@. ex: "+' $.jribbble.shots("1234").%@()'.replace(/%@/g,e)},commentLikes:'Jribbble: You have to provide a comment ID to get likes. ex: $.jribbble.shots("1234").comments("456").likes()'};a.jribbble.shots=function(e,t){function i(r){return function(e,t){var i=o([].slice.call(arguments))||{},n=t||{};return this.queue.add(function(e){if(!e.shotId)throw new Error(u.shotId(r));e.url+="/"+r+"/",i.resource&&(e.url+=i.resource,delete i.resource),e.url+=c(a.extend(i,n))}),this}}function n(){return a.extend(this,l()),this.url+="/shots/",this.queue.add(function(e){r.resource&&(e.shotId=r.resource,e.url+=r.resource,delete r.resource),e.url+=c(a.extend(r,s))}),setTimeout(function(){this.queue.flush(this).get()}.bind(this)),this}var r=o([].slice.call(arguments))||{},s=t||{};return n.prototype.attachments=i("attachments"),n.prototype.buckets=i("buckets"),n.prototype.likes=i("likes"),n.prototype.projects=i("projects"),n.prototype.rebounds=i("rebounds"),n.prototype.comments=function(e,t){var i=o([].slice.call(arguments))||{},n=t||{};return this.queue.add(function(e){if(!e.shotId)throw new Error(u.shotId("comments"));e.url+="/comments/",i.resource&&(e.commentId=i.resource,e.url+=i.resource+"/",delete i.resource),e.url+=c(a.extend(i,n))}),this.likes=function(e){var t=e||{};return this.queue.add(function(e){if(!e.commentId)throw new Error(u.commentLikes);e.url+="likes/"+c(t)}),this},this},new n},a.jribbble.teams=function(e){var e=i(e,"teams"),t=r.call(this,"teams");return t.prototype=n.call(this,["members","shots"]),new t(e)},a.jribbble.users=function(e){var e=i(e,"users"),t=r.call(this,"users");return t.prototype=n.call(this,["buckets","followers","following","likes","projects","shots","teams"]),t.prototype.isFollowing=function(t){return this.queue.add(function(e){e.url+="/following/"+t}),this},new t(e)},a.jribbble.buckets=function(e){var e=i(e,"buckets"),t=r.call(this,"buckets");return t.prototype=n.call(this,["shots"]),new t(e)},a.jribbble.projects=function(e){var e=i(e,"projects"),t=r.call(this,"projects");return t.prototype=n.call(this,["shots"]),new t(e)},a.jribbble.setToken=function(e){return t=e,this}}(jQuery,(window,document)),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&"object"==typeof module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(t){function i(e){var t=7.5625;return e<1/2.75?t*e*e:e<2/2.75?t*(e-=1.5/2.75)*e+.75:e<2.5/2.75?t*(e-=2.25/2.75)*e+.9375:t*(e-=2.625/2.75)*e+.984375}void 0!==t.easing&&(t.easing.jswing=t.easing.swing);var n=Math.pow,r=Math.sqrt,s=Math.sin,a=Math.cos,o=Math.PI,l=2.5949095,c=2*o/3,d=2*o/4.5;return t.extend(t.easing,{def:"easeOutQuad",swing:function(e){return t.easing[t.easing.def](e)},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return 1-(1-e)*(1-e)},easeInOutQuad:function(e){return e<.5?2*e*e:1-n(-2*e+2,2)/2},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1-n(1-e,3)},easeInOutCubic:function(e){return e<.5?4*e*e*e:1-n(-2*e+2,3)/2},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1-n(1-e,4)},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-n(-2*e+2,4)/2},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1-n(1-e,5)},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1-n(-2*e+2,5)/2},easeInSine:function(e){return 1-a(e*o/2)},easeOutSine:function(e){return s(e*o/2)},easeInOutSine:function(e){return-(a(o*e)-1)/2},easeInExpo:function(e){return 0===e?0:n(2,10*e-10)},easeOutExpo:function(e){return 1===e?1:1-n(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:e<.5?n(2,20*e-10)/2:(2-n(2,-20*e+10))/2},easeInCirc:function(e){return 1-r(1-n(e,2))},easeOutCirc:function(e){return r(1-n(e-1,2))},easeInOutCirc:function(e){return e<.5?(1-r(1-n(2*e,2)))/2:(r(1-n(-2*e+2,2))+1)/2},easeInElastic:function(e){return 0===e?0:1===e?1:-n(2,10*e-10)*s((10*e-10.75)*c)},easeOutElastic:function(e){return 0===e?0:1===e?1:n(2,-10*e)*s((10*e-.75)*c)+1},easeInOutElastic:function(e){return 0===e?0:1===e?1:e<.5?-n(2,20*e-10)*s((20*e-11.125)*d)/2:n(2,-20*e+10)*s((20*e-11.125)*d)/2+1},easeInBack:function(e){return 2.70158*e*e*e-1.70158*e*e},easeOutBack:function(e){return 1+2.70158*n(e-1,3)+1.70158*n(e-1,2)},easeInOutBack:function(e){return e<.5?n(2*e,2)*(7.189819*e-l)/2:(n(2*e-2,2)*((1+l)*(2*e-2)+l)+2)/2},easeInBounce:function(e){return 1-i(1-e)},easeOutBounce:i,easeInOutBounce:function(e){return e<.5?(1-i(1-2*e))/2:(1+i(2*e-1))/2}}),t}),function(e){"use strict";function t(){this.reads=[],this.writes=[],this.raf=n.bind(e)}function r(e){e.scheduled||(e.scheduled=!0,e.raf(function(e){var t,i=e.writes,n=e.reads;try{n.length,e.runTasks(n),i.length,e.runTasks(i)}catch(e){t=e}if(e.scheduled=!1,(n.length||i.length)&&r(e),t){if(t.message,!e.catch)throw t;e.catch(t)}}.bind(null,e)))}function i(e,t){return!!~(t=e.indexOf(t))&&!!e.splice(t,1)}var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(e){return setTimeout(e,16)},s=(t.prototype={constructor:t,runTasks:function(e){for(var t;t=e.shift();)t()},measure:function(e,t){return t=t?e.bind(t):e,this.reads.push(t),r(this),t},mutate:function(e,t){return t=t?e.bind(t):e,this.writes.push(t),r(this),t},clear:function(e){return i(this.reads,e)||i(this.writes,e)},extend:function(e){if("object"!=typeof e)throw new Error("expected object");var t,i=Object.create(this),n=i,r=e;for(t in r)r.hasOwnProperty(t)&&(n[t]=r[t]);return i.fastdom=this,i.initialize&&i.initialize(),i},catch:null},e.fastdom=e.fastdom||new t);"function"==typeof define?define(function(){return s}):"object"==typeof module&&(module.exports=s)}("undefined"!=typeof window?window:this),function(s){"use strict";s.fn.fitVids=function(e){var t,i,r={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(t=document.head||document.getElementsByTagName("head")[0],(i=document.createElement("div")).innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',t.appendChild(i.childNodes[1])),e&&s.extend(r,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"],n=(r.customSelector&&e.push(r.customSelector),".fitvidsignore");r.ignore&&(n=n+", "+r.ignore),(e=(e=(e=s(this).find(e.join(","))).not("object object")).not(n)).each(function(e){var t,i=s(this);0<i.parents(n).length||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length||(i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16)),t=("object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height())/(isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10)),i.attr("id")||i.attr("id","fitvid"+e),i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*t+"%"),i.removeAttr("height").removeAttr("width"))})})}}(window.jQuery||window.Zepto),function(u){var i=!0;u.flexslider=function(h,e){var t,f=u(h),a=(void 0===e.rtl&&"rtl"==u("html").attr("dir")&&(e.rtl=!0),f.vars=u.extend({},u.flexslider.defaults,e),f.vars.namespace),m=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,o=("ontouchstart"in window||m||window.DocumentTouch&&document instanceof DocumentTouch)&&f.vars.touch,s="click touchend MSPointerUp keyup",l="",g="vertical"===f.vars.direction,y=f.vars.reverse,v=0<f.vars.itemWidth,b="fade"===f.vars.animation,c=""!==f.vars.asNavFor,d={};u.data(h,"flexslider",f),d={init:function(){f.animating=!1,f.currentSlide=parseInt(f.vars.startAt||0,10),isNaN(f.currentSlide)&&(f.currentSlide=0),f.animatingTo=f.currentSlide,f.atEnd=0===f.currentSlide||f.currentSlide===f.last,f.containerSelector=f.vars.selector.substr(0,f.vars.selector.search(" ")),f.slides=u(f.vars.selector,f),f.container=u(f.containerSelector,f),f.count=f.slides.length,f.syncExists=0<u(f.vars.sync).length,"slide"===f.vars.animation&&(f.vars.animation="swing"),f.prop=g?"top":f.vars.rtl?"marginRight":"marginLeft",f.args={},f.manualPause=!1,f.stopped=!1,f.started=!1,f.startTimeout=null,f.transitions=!f.vars.video&&!b&&f.vars.useCSS&&function(){var e,t=document.createElement("div"),i=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(e in i)if(void 0!==t.style[i[e]])return f.pfx=i[e].replace("Perspective","").toLowerCase(),f.prop="-"+f.pfx+"-transform",!0;return!1}(),f.isFirefox=-1<navigator.userAgent.toLowerCase().indexOf("firefox"),(f.ensureAnimationEnd="")!==f.vars.controlsContainer&&(f.controlsContainer=0<u(f.vars.controlsContainer).length&&u(f.vars.controlsContainer)),""!==f.vars.manualControls&&(f.manualControls=0<u(f.vars.manualControls).length&&u(f.vars.manualControls)),""!==f.vars.customDirectionNav&&(f.customDirectionNav=2===u(f.vars.customDirectionNav).length&&u(f.vars.customDirectionNav)),f.vars.randomize&&(f.slides.sort(function(){return Math.round(Math.random())-.5}),f.container.empty().append(f.slides)),f.doMath(),f.setup("init"),f.vars.controlNav&&d.controlNav.setup(),f.vars.directionNav&&d.directionNav.setup(),f.vars.keyboard&&(1===u(f.containerSelector).length||f.vars.multipleKeyboard)&&u(document).bind("keyup",function(e){e=e.keyCode;f.animating||39!==e&&37!==e||(e=f.vars.rtl?37===e?f.getTarget("next"):39===e&&f.getTarget("prev"):39===e?f.getTarget("next"):37===e&&f.getTarget("prev"),f.flexAnimate(e,f.vars.pauseOnAction))}),f.vars.mousewheel&&f.bind("mousewheel",function(e,t,i,n){e.preventDefault(),e=t<0?f.getTarget("next"):f.getTarget("prev"),f.flexAnimate(e,f.vars.pauseOnAction)}),f.vars.pausePlay&&d.pausePlay.setup(),f.vars.slideshow&&f.vars.pauseInvisible&&d.pauseInvisible.init(),f.vars.slideshow&&(f.vars.pauseOnHover&&f.hover(function(){f.manualPlay||f.manualPause||f.pause()},function(){f.manualPause||f.manualPlay||f.stopped||f.play()}),f.vars.pauseInvisible&&d.pauseInvisible.isHidden()||(0<f.vars.initDelay?f.startTimeout=setTimeout(f.play,f.vars.initDelay):f.play())),c&&d.asNav.setup(),o&&f.vars.touch&&d.touch(),b&&!f.vars.smoothHeight||u(window).bind("resize orientationchange focus",d.resize),f.find("img").attr("draggable","false"),setTimeout(function(){f.vars.start(f)},200)},asNav:{setup:function(){f.asNav=!0,f.animatingTo=Math.floor(f.currentSlide/f.move),f.currentItem=f.currentSlide,f.slides.removeClass(a+"active-slide").eq(f.currentItem).addClass(a+"active-slide"),m?(h._slider=f).slides.each(function(){this._gesture=new MSGesture,(this._gesture.target=this).addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),this.addEventListener("MSGestureTap",function(e){e.preventDefault();var t=(e=u(this)).index();u(f.vars.asNavFor).data("flexslider").animating||e.hasClass("active")||(f.direction=f.currentItem<t?"next":"prev",f.flexAnimate(t,f.vars.pauseOnAction,!1,!0,!0))})}):f.slides.on(s,function(e){e.preventDefault();var t=(e=u(this)).index();(f.vars.rtl?-1*(e.offset().right-u(f).scrollLeft()):e.offset().left-u(f).scrollLeft())<=0&&e.hasClass(a+"active-slide")?f.flexAnimate(f.getTarget("prev"),!0):u(f.vars.asNavFor).data("flexslider").animating||e.hasClass(a+"active-slide")||(f.direction=f.currentItem<t?"next":"prev",f.flexAnimate(t,f.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){f.manualControls?d.controlNav.setupManual():d.controlNav.setupPaging()},setupPaging:function(){var e,t="thumbnails"===f.vars.controlNav?"control-thumbs":"control-paging",i=1;if(f.controlNavScaffold=u('<ol class="'+a+"control-nav "+a+t+'"></ol>'),1<f.pagingCount)for(var n=0;n<f.pagingCount;n++){void 0===(r=f.slides.eq(n)).attr("data-thumb-alt")&&r.attr("data-thumb-alt",""),e=u("<a></a>").attr("href","#").text(i),"thumbnails"===f.vars.controlNav&&(e=u("<img/>").attr("src",r.attr("data-thumb"))),""!==r.attr("data-thumb-alt")&&e.attr("alt",r.attr("data-thumb-alt")),"thumbnails"===f.vars.controlNav&&!0===f.vars.thumbCaptions&&""!==(r=r.attr("data-thumbcaption"))&&void 0!==r&&(r=u("<span></span>").addClass(a+"caption").text(r),e.append(r));var r=u("<li>");e.appendTo(r),r.append("</li>"),f.controlNavScaffold.append(r),i++}(f.controlsContainer?u(f.controlsContainer):f).append(f.controlNavScaffold),d.controlNav.set(),d.controlNav.active(),f.controlNavScaffold.delegate("a, img",s,function(e){var t,i;e.preventDefault(),""!==l&&l!==e.type||(t=u(this),i=f.controlNav.index(t),t.hasClass(a+"active"))||(f.direction=i>f.currentSlide?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction)),""===l&&(l=e.type),d.setToClearWatchedEvent()})},setupManual:function(){f.controlNav=f.manualControls,d.controlNav.active(),f.controlNav.bind(s,function(e){var t,i;e.preventDefault(),""!==l&&l!==e.type||(t=u(this),i=f.controlNav.index(t),t.hasClass(a+"active"))||(i>f.currentSlide?f.direction="next":f.direction="prev",f.flexAnimate(i,f.vars.pauseOnAction)),""===l&&(l=e.type),d.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===f.vars.controlNav?"img":"a";f.controlNav=u("."+a+"control-nav li "+e,f.controlsContainer||f)},active:function(){f.controlNav.removeClass(a+"active").eq(f.animatingTo).addClass(a+"active")},update:function(e,t){1<f.pagingCount&&"add"===e?f.controlNavScaffold.append(u('<li><a href="#">'+f.count+"</a></li>")):(1===f.pagingCount?f.controlNavScaffold.find("li"):f.controlNav.eq(t).closest("li")).remove(),d.controlNav.set(),1<f.pagingCount&&f.pagingCount!==f.controlNav.length?f.update(t,e):d.controlNav.active()}},directionNav:{setup:function(){var e=u('<ul class="'+a+'direction-nav"><li class="'+a+'nav-prev"><a class="'+a+'prev" href="#">'+f.vars.prevText+'</a></li><li class="'+a+'nav-next"><a class="'+a+'next" href="#">'+f.vars.nextText+"</a></li></ul>");f.customDirectionNav?f.directionNav=f.customDirectionNav:f.controlsContainer?(u(f.controlsContainer).append(e),f.directionNav=u("."+a+"direction-nav li a",f.controlsContainer)):(f.append(e),f.directionNav=u("."+a+"direction-nav li a",f)),d.directionNav.update(),f.directionNav.bind(s,function(e){var t;e.preventDefault(),""!==l&&l!==e.type||(t=u(this).hasClass(a+"next")?f.getTarget("next"):f.getTarget("prev"),f.flexAnimate(t,f.vars.pauseOnAction)),""===l&&(l=e.type),d.setToClearWatchedEvent()})},update:function(){var e=a+"disabled";1===f.pagingCount?f.directionNav.addClass(e).attr("tabindex","-1"):f.vars.animationLoop?f.directionNav.removeClass(e).removeAttr("tabindex"):0===f.animatingTo?f.directionNav.removeClass(e).filter("."+a+"prev").addClass(e).attr("tabindex","-1"):f.animatingTo===f.last?f.directionNav.removeClass(e).filter("."+a+"next").addClass(e).attr("tabindex","-1"):f.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=u('<div class="'+a+'pauseplay"><a href="#"></a></div>');f.controlsContainer?(f.controlsContainer.append(e),f.pausePlay=u("."+a+"pauseplay a",f.controlsContainer)):(f.append(e),f.pausePlay=u("."+a+"pauseplay a",f)),d.pausePlay.update(f.vars.slideshow?a+"pause":a+"play"),f.pausePlay.bind(s,function(e){e.preventDefault(),""!==l&&l!==e.type||(u(this).hasClass(a+"pause")?(f.manualPause=!0,f.manualPlay=!1,f.pause()):(f.manualPause=!1,f.manualPlay=!0,f.play())),""===l&&(l=e.type),d.setToClearWatchedEvent()})},update:function(e){"play"===e?f.pausePlay.removeClass(a+"pause").addClass(a+"play").html(f.vars.playText):f.pausePlay.removeClass(a+"play").addClass(a+"pause").html(f.vars.pauseText)}},touch:function(){var n,r,s,a,o,l,c,d,u=!1,t=0,i=0,p=0;m?(h.style.msTouchAction="none",h._gesture=new MSGesture,(h._gesture.target=h).addEventListener("MSPointerDown",function(e){e.stopPropagation(),f.animating?e.preventDefault():(f.pause(),h._gesture.addPointer(e.pointerId),p=0,a=g?f.h:f.w,l=Number(new Date),s=v&&y&&f.animatingTo===f.last?0:v&&y?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:v&&f.currentSlide===f.last?f.limit:v?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:y?(f.last-f.currentSlide+f.cloneOffset)*a:(f.currentSlide+f.cloneOffset)*a)},!1),h._slider=f,h.addEventListener("MSGestureChange",function(e){e.stopPropagation();var t,i,n=e.target._slider;n&&(t=-e.translationX,i=-e.translationY,p+=g?i:t,o=(n.vars.rtl?-1:1)*p,u=g?Math.abs(p)<Math.abs(-t):Math.abs(p)<Math.abs(-i),e.detail===e.MSGESTURE_FLAG_INERTIA?setImmediate(function(){h._gesture.stop()}):(!u||500<Number(new Date)-l)&&(e.preventDefault(),!b)&&n.transitions&&(n.vars.animationLoop||(o=p/(0===n.currentSlide&&p<0||n.currentSlide===n.last&&0<p?Math.abs(p)/a+2:1)),n.setProps(s+o,"setTouch")))},!1),h.addEventListener("MSGestureEnd",function(e){var t,i;e.stopPropagation(),(e=e.target._slider)&&(e.animatingTo!==e.currentSlide||u||null===o||(i=0<(t=y?-o:o)?e.getTarget("next"):e.getTarget("prev"),e.canAdvance(i)&&(Number(new Date)-l<550&&50<Math.abs(t)||Math.abs(t)>a/2)?e.flexAnimate(i,e.vars.pauseOnAction):b||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)),s=o=r=n=null,p=0)},!1)):(c=function(e){t=e.touches[0].pageX,i=e.touches[0].pageY,o=g?n-i:(f.vars.rtl?-1:1)*(n-t),(!(u=g?Math.abs(o)<Math.abs(t-r):Math.abs(o)<Math.abs(i-r))||500<Number(new Date)-l)&&(e.preventDefault(),!b)&&f.transitions&&(f.vars.animationLoop||(o/=0===f.currentSlide&&o<0||f.currentSlide===f.last&&0<o?Math.abs(o)/a+2:1),f.setProps(s+o,"setTouch"))},h.addEventListener("touchstart",function(e){f.animating?e.preventDefault():!window.navigator.msPointerEnabled&&1!==e.touches.length||(f.pause(),a=g?f.h:f.w,l=Number(new Date),t=e.touches[0].pageX,i=e.touches[0].pageY,s=v&&y&&f.animatingTo===f.last?0:v&&y?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:v&&f.currentSlide===f.last?f.limit:v?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:y?(f.last-f.currentSlide+f.cloneOffset)*a:(f.currentSlide+f.cloneOffset)*a,n=g?i:t,r=g?t:i,h.addEventListener("touchmove",c,!1),h.addEventListener("touchend",d,!1))},!(d=function(e){var t,i;h.removeEventListener("touchmove",c,!1),f.animatingTo!==f.currentSlide||u||null===o||(i=0<(t=y?-o:o)?f.getTarget("next"):f.getTarget("prev"),f.canAdvance(i)&&(Number(new Date)-l<550&&50<Math.abs(t)||Math.abs(t)>a/2)?f.flexAnimate(i,f.vars.pauseOnAction):b||f.flexAnimate(f.currentSlide,f.vars.pauseOnAction,!0)),h.removeEventListener("touchend",d,!1),s=o=r=n=null})))},resize:function(){!f.animating&&f.is(":visible")&&(v||f.doMath(),b?d.smoothHeight():v?(f.slides.width(f.computedW),f.update(f.pagingCount),f.setProps()):g?(f.viewport.height(f.h),f.setProps(f.h,"setTotal")):(f.vars.smoothHeight&&d.smoothHeight(),f.newSlides.width(f.computedW),f.setProps(f.computedW,"setTotal")))},smoothHeight:function(e){var t;g&&!b||(t=b?f:f.viewport,e?t.animate({height:f.slides.eq(f.animatingTo).innerHeight()},e):t.innerHeight(f.slides.eq(f.animatingTo).innerHeight()))},sync:function(e){var t=u(f.vars.sync).data("flexslider"),i=f.animatingTo;switch(e){case"animate":t.flexAnimate(i,f.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=u(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=d.pauseInvisible.getHiddenProp();e&&(e=e.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(e,function(){d.pauseInvisible.isHidden()?f.startTimeout?clearTimeout(f.startTimeout):f.pause():!f.started&&0<f.vars.initDelay?setTimeout(f.play,f.vars.initDelay):f.play()}))},isHidden:function(){var e=d.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(t),t=setTimeout(function(){l=""},3e3)}},f.flexAnimate=function(e,t,i,n,r){if(f.vars.animationLoop||e===f.currentSlide||(f.direction=e>f.currentSlide?"next":"prev"),c&&1===f.pagingCount&&(f.direction=f.currentItem<e?"next":"prev"),!f.animating&&(f.canAdvance(e,r)||i)&&f.is(":visible")){if(c&&n){if(i=u(f.vars.asNavFor).data("flexslider"),f.atEnd=0===e||e===f.count-1,i.flexAnimate(e,!0,!1,!0,r),f.direction=f.currentItem<e?"next":"prev",i.direction=f.direction,Math.ceil((e+1)/f.visible)-1===f.currentSlide||0===e)return f.currentItem=e,f.slides.removeClass(a+"active-slide").eq(e).addClass(a+"active-slide"),!1;f.currentItem=e,f.slides.removeClass(a+"active-slide").eq(e).addClass(a+"active-slide"),e=Math.floor(e/f.visible)}var s;f.animating=!0,f.animatingTo=e,t&&f.pause(),f.vars.before(f),f.syncExists&&!r&&d.sync("animate"),f.vars.controlNav&&d.controlNav.active(),v||f.slides.removeClass(a+"active-slide").eq(e).addClass(a+"active-slide"),f.atEnd=0===e||e===f.last,f.vars.directionNav&&d.directionNav.update(),e===f.last&&(f.vars.end(f),f.vars.animationLoop||f.pause()),b?o?(f.slides.eq(f.currentSlide).css({opacity:0,zIndex:1}),f.slides.eq(e).css({opacity:1,zIndex:2}),f.wrapup(s)):(f.slides.eq(f.currentSlide).css({zIndex:1}).animate({opacity:0},f.vars.animationSpeed,f.vars.easing),f.slides.eq(e).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing,f.wrapup)):(s=g?f.slides.filter(":first").height():f.computedW,t=v?(n=f.vars.itemMargin,(i=(f.itemW+n)*f.move*f.animatingTo)>f.limit&&1!==f.visible?f.limit:i):0===f.currentSlide&&e===f.count-1&&f.vars.animationLoop&&"next"!==f.direction?y?(f.count+f.cloneOffset)*s:0:f.currentSlide===f.last&&0===e&&f.vars.animationLoop&&"prev"!==f.direction?y?0:(f.count+1)*s:y?(f.count-1-e+f.cloneOffset)*s:(e+f.cloneOffset)*s,f.setProps(t,"",f.vars.animationSpeed),f.transitions?(f.vars.animationLoop&&f.atEnd||(f.animating=!1,f.currentSlide=f.animatingTo),f.container.unbind("webkitTransitionEnd transitionend"),f.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(f.ensureAnimationEnd),f.wrapup(s)}),clearTimeout(f.ensureAnimationEnd),f.ensureAnimationEnd=setTimeout(function(){f.wrapup(s)},f.vars.animationSpeed+100)):f.container.animate(f.args,f.vars.animationSpeed,f.vars.easing,function(){f.wrapup(s)})),f.vars.smoothHeight&&d.smoothHeight(f.vars.animationSpeed)}},f.wrapup=function(e){b||v||(0===f.currentSlide&&f.animatingTo===f.last&&f.vars.animationLoop?f.setProps(e,"jumpEnd"):f.currentSlide===f.last&&0===f.animatingTo&&f.vars.animationLoop&&f.setProps(e,"jumpStart")),f.animating=!1,f.currentSlide=f.animatingTo,f.vars.after(f)},f.animateSlides=function(){!f.animating&&i&&f.flexAnimate(f.getTarget("next"))},f.pause=function(){clearInterval(f.animatedSlides),f.animatedSlides=null,f.playing=!1,f.vars.pausePlay&&d.pausePlay.update("play"),f.syncExists&&d.sync("pause")},f.play=function(){f.playing&&clearInterval(f.animatedSlides),f.animatedSlides=f.animatedSlides||setInterval(f.animateSlides,f.vars.slideshowSpeed),f.started=f.playing=!0,f.vars.pausePlay&&d.pausePlay.update("pause"),f.syncExists&&d.sync("play")},f.stop=function(){f.pause(),f.stopped=!0},f.canAdvance=function(e,t){var i=c?f.pagingCount-1:f.last;return!(!t&&(!c||f.currentItem!==f.count-1||0!==e||"prev"!==f.direction)&&(c&&0===f.currentItem&&e===f.pagingCount-1&&"next"!==f.direction||e===f.currentSlide&&!c||!f.vars.animationLoop&&(f.atEnd&&0===f.currentSlide&&e===i&&"next"!==f.direction||f.atEnd&&f.currentSlide===i&&0===e&&"next"===f.direction)))},f.getTarget=function(e){return"next"===(f.direction=e)?f.currentSlide===f.last?0:f.currentSlide+1:0===f.currentSlide?f.last:f.currentSlide-1},f.setProps=function(e,t,i){var n,n=e||(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo,r=function(){if(v)return"setTouch"===t?e:y&&f.animatingTo===f.last?0:y?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:f.animatingTo===f.last?f.limit:n;switch(t){case"setTotal":return y?(f.count-1-f.currentSlide+f.cloneOffset)*e:(f.currentSlide+f.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return y?e:f.count*e;case"jumpStart":return y?f.count*e:e;default:return e}}()*(f.vars.rtl?1:-1)+"px";f.transitions&&(r=f.isFirefox?g?"translate3d(0,"+r+",0)":"translate3d("+parseInt(r)+"px,0,0)":g?"translate3d(0,"+r+",0)":"translate3d("+(f.vars.rtl?-1:1)*parseInt(r)+"px,0,0)",f.container.css("-"+f.pfx+"-transition-duration",i=void 0!==i?i/1e3+"s":"0s"),f.container.css("transition-duration",i)),f.args[f.prop]=r,!f.transitions&&void 0!==i||f.container.css(f.args),f.container.css("transform",r)},f.setup=function(e){var t,i;b?(f.vars.rtl?f.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):f.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&(o?f.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+f.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(f.currentSlide).css({opacity:1,zIndex:2}):0==f.vars.fadeFirstSlide?f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).css({opacity:1}):f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing)),f.vars.smoothHeight&&d.smoothHeight()):("init"===e&&(f.viewport=u('<div class="'+a+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(f).append(f.container),f.cloneCount=0,f.cloneOffset=0,y)&&(i=u.makeArray(f.slides).reverse(),f.slides=u(i),f.container.empty().append(f.slides)),f.vars.animationLoop&&!v&&(f.cloneCount=2,f.cloneOffset=1,"init"!==e&&f.container.find(".clone").remove(),f.container.append(d.uniqueID(f.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(d.uniqueID(f.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),f.newSlides=u(f.vars.selector,f),t=y?f.count-1-f.currentSlide+f.cloneOffset:f.currentSlide+f.cloneOffset,g&&!v?(f.container.height(200*(f.count+f.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){f.newSlides.css({display:"block"}),f.doMath(),f.viewport.height(f.h),f.setProps(t*f.h,"init")},"init"===e?100:0)):(f.container.width(200*(f.count+f.cloneCount)+"%"),f.setProps(t*f.computedW,"init"),setTimeout(function(){f.doMath(),f.vars.rtl&&f.isFirefox?f.newSlides.css({width:f.computedW,marginRight:f.computedM,float:"right",display:"block"}):f.newSlides.css({width:f.computedW,marginRight:f.computedM,float:"left",display:"block"}),f.vars.smoothHeight&&d.smoothHeight()},"init"===e?100:0))),v||f.slides.removeClass(a+"active-slide").eq(f.currentSlide).addClass(a+"active-slide"),f.vars.init(f)},f.doMath=function(){var e=f.slides.first(),t=f.vars.itemMargin,i=f.vars.minItems,n=f.vars.maxItems;f.w=(void 0===f.viewport?f:f.viewport).width(),f.isFirefox&&(f.w=f.width()),f.h=e.height(),f.boxPadding=e.outerWidth()-e.width(),v?(f.itemT=f.vars.itemWidth+t,f.itemM=t,f.minW=i?i*f.itemT:f.w,f.maxW=n?n*f.itemT-t:f.w,f.itemW=f.minW>f.w?(f.w-t*(i-1))/i:f.maxW<f.w?(f.w-t*(n-1))/n:f.vars.itemWidth>f.w?f.w:f.vars.itemWidth,f.visible=Math.floor(f.w/f.itemW),f.move=0<f.vars.move&&f.vars.move<f.visible?f.vars.move:f.visible,f.pagingCount=Math.ceil((f.count-f.visible)/f.move+1),f.last=f.pagingCount-1,f.limit=1===f.pagingCount?0:f.vars.itemWidth>f.w?f.itemW*(f.count-1)+t*(f.count-1):(f.itemW+t)*f.count-f.w-t):(f.itemW=f.w,f.itemM=t,f.pagingCount=f.count,f.last=f.count-1),f.computedW=f.itemW-f.boxPadding,f.computedM=f.itemM},f.update=function(e,t){f.doMath(),v||(e<f.currentSlide?f.currentSlide+=1:e<=f.currentSlide&&0!==e&&--f.currentSlide,f.animatingTo=f.currentSlide),f.vars.controlNav&&!f.manualControls&&("add"===t&&!v||f.pagingCount>f.controlNav.length?d.controlNav.update("add"):("remove"===t&&!v||f.pagingCount<f.controlNav.length)&&(v&&f.currentSlide>f.last&&(--f.currentSlide,--f.animatingTo),d.controlNav.update("remove",f.last))),f.vars.directionNav&&d.directionNav.update()},f.addSlide=function(e,t){e=u(e),f.count+=1,f.last=f.count-1,g&&y?void 0!==t?f.slides.eq(f.count-t).after(e):f.container.prepend(e):void 0!==t?f.slides.eq(t).before(e):f.container.append(e),f.update(t,"add"),f.slides=u(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.added(f)},f.removeSlide=function(e){var t=isNaN(e)?f.slides.index(u(e)):e;--f.count,f.last=f.count-1,(isNaN(e)?u(e,f.slides):g&&y?f.slides.eq(f.last):f.slides.eq(e)).remove(),f.doMath(),f.update(t,"remove"),f.slides=u(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.removed(f)},d.init()},u(window).blur(function(e){i=!1}).focus(function(e){i=!0}),u.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},u.fn.flexslider=function(i){if("object"==typeof(i=void 0===i?{}:i))return this.each(function(){var e=u(this),t=i.selector||".slides > li";1===(t=e.find(t)).length&&!1===i.allowOneSlide||0===t.length?(t.fadeIn(400),i.start&&i.start(e)):void 0===e.data("flexslider")&&new u.flexslider(this,i)});var e=u(this).data("flexslider");switch(i){case"play":e.play();break;case"pause":e.pause();break;case"stop":e.stop();break;case"next":e.flexAnimate(e.getTarget("next"),!0);break;case"prev":case"previous":e.flexAnimate(e.getTarget("prev"),!0);break;default:"number"==typeof i&&e.flexAnimate(i,!0)}}}(jQuery),function(r){r.fn.jflickrfeed=function(o,t){var e,i=(o=r.extend(!0,{flickrbase:"https://api.flickr.com/services/feeds/",feedapi:"photos_public.gne",limit:20,qstrings:{lang:"en-us",format:"json",jsoncallback:"?"},cleanDescription:!0,useTemplate:!0,itemTemplate:"",itemCallback:function(){}},o)).flickrbase+o.feedapi+"?",n=!0;for(e in o.qstrings)n||(i+="&"),i+=e+"="+o.qstrings[e],n=!1;return r(this).each(function(){var s=r(this),a=this;r.getJSON(i,function(e){r.each(e.items,function(e,t){var i,n,r;if(e<o.limit){if(o.cleanDescription&&(e=t.description,(i=/<p>(.*?)<\/p>/g).test(e))&&(t.description=e.match(i)[2],void 0!==t.description)&&(t.description=t.description.replace("<p>","").replace("</p>","")),t.image_s=t.media.m.replace("_m","_s"),t.image_t=t.media.m.replace("_m","_t"),t.image_m=t.media.m.replace("_m","_m"),t.image=t.media.m.replace("_m",""),t.image_b=t.media.m.replace("_m","_b"),t.image_q=t.media.m.replace("_m","_q"),delete t.media,o.useTemplate){for(n in r=o.itemTemplate,t)i=new RegExp("{{"+n+"}}","g"),r=r.replace(i,t[n]);s.append(r)}o.itemCallback.call(a,t)}}),r.isFunction(t)&&t.call(a,e)})})}}(jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(d){function t(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var i;d.extend(d.fn,{validate:function(e){var n;if(this.length)return(n=d.data(this[0],"validator"))||(this.attr("novalidate","novalidate"),n=new d.validator(e,this[0]),d.data(this[0],"validator",n),n.settings.onsubmit&&(this.on("click.validate",":submit",function(e){n.submitButton=e.currentTarget,d(this).hasClass("cancel")&&(n.cancelSubmit=!0),void 0!==d(this).attr("formnovalidate")&&(n.cancelSubmit=!0)}),this.on("submit.validate",function(i){function e(){var e,t;return n.submitButton&&(n.settings.submitHandler||n.formSubmitted)&&(e=d("<input type='hidden'/>").attr("name",n.submitButton.name).val(d(n.submitButton).val()).appendTo(n.currentForm)),!(n.settings.submitHandler&&!n.settings.debug)||(t=n.settings.submitHandler.call(n,n.currentForm,i),e&&e.remove(),void 0!==t&&t)}return n.settings.debug&&i.preventDefault(),n.cancelSubmit?(n.cancelSubmit=!1,e()):n.form()?n.pendingRequest?!(n.formSubmitted=!0):e():(n.focusInvalid(),!1)})),n);e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,t,i;return d(this[0]).is("form")?e=this.validate().form():(i=[],e=!0,t=d(this[0].form).validate(),this.each(function(){(e=t.element(this)&&e)||(i=i.concat(t.errorList))}),t.errorList=i),e},rules:function(e,t){var i,n,r,s,a,o=this[0],l=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=o&&(!o.form&&l&&(o.form=this.closest("form")[0],o.name=this.attr("name")),null!=o.form)){if(e)switch(i=d.data(o.form,"validator").settings,n=i.rules,r=d.validator.staticRules(o),e){case"add":d.extend(r,d.validator.normalizeRule(t)),delete r.messages,n[o.name]=r,t.messages&&(i.messages[o.name]=d.extend(i.messages[o.name],t.messages));break;case"remove":return t?(a={},d.each(t.split(/\s/),function(e,t){a[t]=r[t],delete r[t]}),a):(delete n[o.name],r)}return(l=d.validator.normalizeRules(d.extend({},d.validator.classRules(o),d.validator.attributeRules(o),d.validator.dataRules(o),d.validator.staticRules(o)),o)).required&&(s=l.required,delete l.required,l=d.extend({required:s},l)),l.remote&&(s=l.remote,delete l.remote,l=d.extend(l,{remote:s})),l}}}),d.extend(d.expr.pseudos||d.expr[":"],{blank:function(e){return!t(""+d(e).val())},filled:function(e){return null!==(e=d(e).val())&&!!t(""+e)},unchecked:function(e){return!d(e).prop("checked")}}),d.validator=function(e,t){this.settings=d.extend(!0,{},d.validator.defaults,e),this.currentForm=t,this.init()},d.validator.format=function(i,e){return 1===arguments.length?function(){var e=d.makeArray(arguments);return e.unshift(i),d.validator.format.apply(this,e)}:(void 0!==e&&((e=2<arguments.length&&e.constructor!==Array?d.makeArray(arguments).slice(1):e).constructor!==Array&&(e=[e]),d.each(e,function(e,t){i=i.replace(new RegExp("\\{"+e+"\\}","g"),function(){return t})})),i)},d.extend(d.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:d([]),errorLabelContainer:d([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(e,t){9===t.which&&""===this.elementValue(e)||-1!==d.inArray(t.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(e.name in this.submitted||e.name in this.invalid)&&this.element(e)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(e,t,i){("radio"===e.type?this.findByName(e.name):d(e)).addClass(t).removeClass(i)},unhighlight:function(e,t,i){("radio"===e.type?this.findByName(e.name):d(e)).removeClass(t).addClass(i)}},setDefaults:function(e){d.extend(d.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:d.validator.format("Please enter no more than {0} characters."),minlength:d.validator.format("Please enter at least {0} characters."),rangelength:d.validator.format("Please enter a value between {0} and {1} characters long."),range:d.validator.format("Please enter a value between {0} and {1}."),max:d.validator.format("Please enter a value less than or equal to {0}."),min:d.validator.format("Please enter a value greater than or equal to {0}."),step:d.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var t,i,n=void 0!==d(this).attr("contenteditable")&&"false"!==d(this).attr("contenteditable");!this.form&&n&&(this.form=d(this).closest("form")[0],this.name=d(this).attr("name")),r===this.form&&(n=d.data(this.form,"validator"),t="on"+e.type.replace(/^validate/,""),(i=n.settings)[t])&&!d(this).is(i.ignore)&&i[t].call(n,this,e)}this.labelContainer=d(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||d(this.currentForm),this.containers=d(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,r=this.currentForm,n=this.groups={};d.each(this.settings.groups,function(i,e){"string"==typeof e&&(e=e.split(/\s/)),d.each(e,function(e,t){n[t]=i})}),i=this.settings.rules,d.each(i,function(e,t){i[e]=d.validator.normalizeRule(t)}),d(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",e).on("click.validate","select, option, [type='radio'], [type='checkbox']",e),this.settings.invalidHandler&&d(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),d.extend(this.submitted,this.errorMap),this.invalid=d.extend({},this.errorMap),this.valid()||d(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(e){var t,i,n=this.clean(e),r=this.validationTargetFor(n),s=this,a=!0;return void 0===r?delete this.invalid[n.name]:(this.prepareElement(r),this.currentElements=d(r),(i=this.groups[r.name])&&d.each(this.groups,function(e,t){t===i&&e!==r.name&&(n=s.validationTargetFor(s.clean(s.findByName(e))))&&n.name in s.invalid&&(s.currentElements.push(n),a=s.check(n)&&a)}),t=!1!==this.check(r),a=a&&t,this.invalid[r.name]=!t,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),d(e).attr("aria-invalid",!t)),a},showErrors:function(t){var i;t&&(d.extend((i=this).errorMap,t),this.errorList=d.map(this.errorMap,function(e,t){return{message:e,element:i.findByName(t)[0]}}),this.successList=d.grep(this.successList,function(e){return!(e.name in t)})),this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){d.fn.resetForm&&d(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var e=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(e)},resetElements:function(e){var t;if(this.settings.unhighlight)for(t=0;e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,""),this.findByName(e[t].name).removeClass(this.settings.validClass);else e.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,i=0;for(t in e)void 0!==e[t]&&null!==e[t]&&!1!==e[t]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{d(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(e){}},findLastActive:function(){var t=this.lastActive;return t&&1===d.grep(this.errorList,function(e){return e.element.name===t.name}).length&&t},elements:function(){var i=this,n={};return d(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var e=this.name||d(this).attr("name"),t=void 0!==d(this).attr("contenteditable")&&"false"!==d(this).attr("contenteditable");return!e&&i.settings.debug&&window.console&&console.error("%o has no name assigned",this),t&&(this.form=d(this).closest("form")[0],this.name=e),!(this.form!==i.currentForm||e in n||!i.objectLength(d(this).rules())||(n[e]=!0,0))})},clean:function(e){return d(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return d(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=d([]),this.toHide=d([])},reset:function(){this.resetInternals(),this.currentElements=d([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(e){var t=d(e),i=e.type,n=void 0!==t.attr("contenteditable")&&"false"!==t.attr("contenteditable");return"radio"===i||"checkbox"===i?this.findByName(e.name).filter(":checked").val():"number"===i&&void 0!==e.validity?e.validity.badInput?"NaN":t.val():(e=n?t.text():t.val(),"file"===i?"C:\\fakepath\\"===e.substr(0,12)?e.substr(12):0<=(n=e.lastIndexOf("/"))||0<=(n=e.lastIndexOf("\\"))?e.substr(n+1):e:"string"==typeof e?e.replace(/\r/g,""):e)},check:function(e){e=this.validationTargetFor(this.clean(e));var t,i,n,r,s=d(e).rules(),a=d.map(s,function(e,t){return t}).length,o=!1,l=this.elementValue(e);for(i in"function"==typeof s.normalizer?r=s.normalizer:"function"==typeof this.settings.normalizer&&(r=this.settings.normalizer),r&&(l=r.call(e,l),delete s.normalizer),s){n={method:i,parameters:s[i]};try{if("dependency-mismatch"===(t=d.validator.methods[i].call(this,l,e,n.parameters))&&1===a)o=!0;else{if(o=!1,"pending"===t)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!t)return this.formatAndAdd(e,n),!1}}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+n.method+"' method.",t),t instanceof TypeError&&(t.message+=". Exception occurred when checking element "+e.id+", check the '"+n.method+"' method."),t}}if(!o)return this.objectLength(s)&&this.successList.push(e),!0},customDataMessage:function(e,t){return d(e).data("msg"+t.charAt(0).toUpperCase()+t.substring(1).toLowerCase())||d(e).data("msg")},customMessage:function(e,t){return(e=this.settings.messages[e])&&(e.constructor===String?e:e[t])},findDefined:function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]},defaultMessage:function(e,t){var i=this.findDefined(this.customMessage(e.name,(t="string"==typeof t?{method:t}:t).method),this.customDataMessage(e,t.method),!this.settings.ignoreTitle&&e.title||void 0,d.validator.messages[t.method],"<strong>Warning: No message defined for "+e.name+"</strong>"),n=/\$?\{(\d+)\}/g;return"function"==typeof i?i=i.call(this,t.parameters,e):n.test(i)&&(i=d.validator.format(i.replace(n,"{$1}"),t.parameters)),i},formatAndAdd:function(e,t){var i=this.defaultMessage(e,t);this.errorList.push({message:i,element:e,method:t.method}),this.errorMap[e.name]=i,this.submitted[e.name]=i},addWrapper:function(e){return this.settings.wrapper?e.add(e.parent(this.settings.wrapper)):e},defaultShowErrors:function(){for(var e,t,i=0;this.errorList[i];i++)t=this.errorList[i],this.settings.highlight&&this.settings.highlight.call(this,t.element,this.settings.errorClass,this.settings.validClass),this.showLabel(t.element,t.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(i=0;this.successList[i];i++)this.showLabel(this.successList[i]);if(this.settings.unhighlight)for(i=0,e=this.validElements();e[i];i++)this.settings.unhighlight.call(this,e[i],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return d(this.errorList).map(function(){return this.element})},showLabel:function(e,t){var i,n,r,s=this.errorsFor(e),a=this.idOrName(e),o=d(e).attr("aria-describedby");s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(t)):(n=s=d("<"+this.settings.errorElement+">").attr("id",a+"-error").addClass(this.settings.errorClass).html(t||""),this.settings.wrapper&&(n=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement.call(this,n,d(e)):n.insertAfter(e),s.is("label")?s.attr("for",a):0===s.parents("label[for='"+this.escapeCssMeta(a)+"']").length&&(n=s.attr("id"),o?o.match(new RegExp("\\b"+this.escapeCssMeta(n)+"\\b"))||(o+=" "+n):o=n,d(e).attr("aria-describedby",o),i=this.groups[e.name])&&d.each((r=this).groups,function(e,t){t===i&&d("[name='"+r.escapeCssMeta(e)+"']",r.currentForm).attr("aria-describedby",s.attr("id"))})),!t&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var t="label[for='"+(t=this.escapeCssMeta(this.idOrName(e)))+"'], label[for='"+t+"'] *";return(e=d(e).attr("aria-describedby"))&&(t=t+", #"+this.escapeCssMeta(e).replace(/\s+/g,", #")),this.errors().filter(t)},escapeCssMeta:function(e){return void 0===e?"":e.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(e){return this.groups[e.name]||!this.checkable(e)&&e.id||e.name},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),d(e).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(e){return d(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,t){switch(t.nodeName.toLowerCase()){case"select":return d("option:selected",t).length;case"input":if(this.checkable(t))return this.findByName(t.name).filter(":checked").length}return e.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(e,t){return!!d(e,t.form).length},function:function(e,t){return e(t)}},optional:function(e){var t=this.elementValue(e);return!d.validator.methods.required.call(this,t,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,d(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,t){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],d(e).removeClass(this.settings.pendingClass),t&&0===this.pendingRequest&&this.formSubmitted&&this.form()&&0===this.pendingRequest?(d(this.currentForm).trigger("submit"),this.submitButton&&d("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!t&&0===this.pendingRequest&&this.formSubmitted&&(d(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e,t){return t="string"==typeof t&&t||"remote",d.data(e,"previousValue")||d.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:t})})},destroy:function(){this.resetForm(),d(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,t){e.constructor===String?this.classRuleSettings[e]=t:d.extend(this.classRuleSettings,e)},classRules:function(e){var t={};return(e=d(e).attr("class"))&&d.each(e.split(" "),function(){this in d.validator.classRuleSettings&&d.extend(t,d.validator.classRuleSettings[this])}),t},normalizeAttributeRule:function(e,t,i,n){(n=/min|max|step/.test(i)&&(null===t||/number|range|text/.test(t))&&(n=Number(n),isNaN(n))?void 0:n)||0===n?e[i]=n:t===i&&"range"!==t&&(e["date"===t?"dateISO":i]=!0)},attributeRules:function(e){var t,i,n={},r=d(e),s=e.getAttribute("type");for(t in d.validator.methods)i="required"===t?(i=e.getAttribute(t),""===i&&(i=!0),!!i):r.attr(t),this.normalizeAttributeRule(n,s,t,i);return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},dataRules:function(e){var t,i,n={},r=d(e),s=e.getAttribute("type");for(t in d.validator.methods)i=r.data("rule"+t.charAt(0).toUpperCase()+t.substring(1).toLowerCase()),""===i&&(i=!0),this.normalizeAttributeRule(n,s,t,i);return n},staticRules:function(e){var t=d.data(e.form,"validator");return t.settings.rules&&d.validator.normalizeRule(t.settings.rules[e.name])||{}},normalizeRules:function(n,r){return d.each(n,function(e,t){if(!1===t)delete n[e];else if(t.param||t.depends){var i=!0;switch(typeof t.depends){case"string":i=!!d(t.depends,r.form).length;break;case"function":i=t.depends.call(r,r)}i?n[e]=void 0===t.param||t.param:(d.data(r.form,"validator").resetElements(d(r)),delete n[e])}}),d.each(n,function(e,t){n[e]="function"==typeof t&&"normalizer"!==e?t(r):t}),d.each(["minlength","maxlength"],function(){n[this]&&(n[this]=Number(n[this]))}),d.each(["rangelength","range"],function(){var e;n[this]&&(Array.isArray(n[this])?n[this]=[Number(n[this][0]),Number(n[this][1])]:"string"==typeof n[this]&&(e=n[this].replace(/[\[\]]/g,"").split(/[\s,]+/),n[this]=[Number(e[0]),Number(e[1])]))}),d.validator.autoCreateRanges&&(null!=n.min&&null!=n.max&&(n.range=[n.min,n.max],delete n.min,delete n.max),null!=n.minlength)&&null!=n.maxlength&&(n.rangelength=[n.minlength,n.maxlength],delete n.minlength,delete n.maxlength),n},normalizeRule:function(e){var t;return"string"==typeof e&&(t={},d.each(e.split(/\s/),function(){t[this]=!0}),e=t),e},addMethod:function(e,t,i){d.validator.methods[e]=t,d.validator.messages[e]=void 0!==i?i:d.validator.messages[e],t.length<3&&d.validator.addClassRules(e,d.validator.normalizeRule(e))},methods:{required:function(e,t,i){return this.depend(i,t)?"select"===t.nodeName.toLowerCase()?(i=d(t).val())&&0<i.length:this.checkable(t)?0<this.getLength(e,t):null!=e&&0<e.length:"dependency-mismatch"},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})+(?::(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(e)},date:(i=!1,function(e,t){return i||(i=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(t)||!/Invalid|NaN/.test(new Date(e).toString())}),dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},minlength:function(e,t,i){return e=Array.isArray(e)?e.length:this.getLength(e,t),this.optional(t)||i<=e},maxlength:function(e,t,i){return e=Array.isArray(e)?e.length:this.getLength(e,t),this.optional(t)||e<=i},rangelength:function(e,t,i){return e=Array.isArray(e)?e.length:this.getLength(e,t),this.optional(t)||e>=i[0]&&e<=i[1]},min:function(e,t,i){return this.optional(t)||i<=e},max:function(e,t,i){return this.optional(t)||e<=i},range:function(e,t,i){return this.optional(t)||e>=i[0]&&e<=i[1]},step:function(e,t,i){function n(e){return(e=(""+e).match(/(?:\.(\d+))?$/))&&e[1]?e[1].length:0}function r(e){return Math.round(e*Math.pow(10,s))}var s,a=d(t).attr("type"),o="Step attribute on input type "+a+" is not supported.",l=new RegExp("\\b"+a+"\\b"),c=!0;if(a&&!l.test(["text","number","range"].join()))throw new Error(o);return s=n(i),(n(e)>s||r(e)%r(i)!=0)&&(c=!1),this.optional(t)||c},equalTo:function(e,t,i){return i=d(i),this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){d(t).valid()}),e===i.val()},remote:function(n,r,e,s){if(this.optional(r))return"dependency-mismatch";s="string"==typeof s&&s||"remote";var a,t,o=this.previousValue(r,s);return this.settings.messages[r.name]||(this.settings.messages[r.name]={}),o.originalMessage=o.originalMessage||this.settings.messages[r.name][s],this.settings.messages[r.name][s]=o.message,t=d.param(d.extend({data:n},(e="string"==typeof e?{url:e}:e).data)),o.old===t?o.valid:(o.old=t,(a=this).startRequest(r),(t={})[r.name]=n,d.ajax(d.extend(!0,{mode:"abort",port:"validate"+r.name,dataType:"json",data:t,context:a.currentForm,success:function(e){var t,i=!0===e||"true"===e;a.settings.messages[r.name][s]=o.originalMessage,i?(t=a.formSubmitted,a.resetInternals(),a.toHide=a.errorsFor(r),a.formSubmitted=t,a.successList.push(r),a.invalid[r.name]=!1,a.showErrors()):(t={},e=e||a.defaultMessage(r,{method:s,parameters:n}),t[r.name]=o.message=e,a.invalid[r.name]=!0,a.showErrors(t)),o.valid=i,a.stopRequest(r,i)}},e)),"pending")}}});var n,r={};return d.ajaxPrefilter?d.ajaxPrefilter(function(e,t,i){var n=e.port;"abort"===e.mode&&(r[n]&&r[n].abort(),r[n]=i)}):(n=d.ajax,d.ajax=function(e){var t=("mode"in e?e:d.ajaxSettings).mode,i=("port"in e?e:d.ajaxSettings).port;return"abort"===t?(r[i]&&r[i].abort(),r[i]=n.apply(this,arguments),r[i]):n.apply(this,arguments)}),d}),function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),i(t),t}:i(jQuery)}(function(j){"use strict";var u=/\r?\n/g,m={},I=(m.fileapi=void 0!==j('<input type="file">').get(0).files,m.formdata=void 0!==window.FormData,!!j.fn.prop);function s(e){var t=e.data;e.isDefaultPrevented()||(e.preventDefault(),j(e.target).closest("form").ajaxSubmit(t))}function a(e){var t=e.target,i=j(t);if(!i.is("[type=submit],[type=image]")){var n=i.closest("[type=submit]");if(0===n.length)return;t=n[0]}var r=t.form;"image"===(r.clk=t).type&&(void 0!==e.offsetX?(r.clk_x=e.offsetX,r.clk_y=e.offsetY):"function"==typeof j.fn.offset?(n=i.offset(),r.clk_x=e.pageX-n.left,r.clk_y=e.pageY-n.top):(r.clk_x=e.pageX-t.offsetLeft,r.clk_y=e.pageY-t.offsetTop)),setTimeout(function(){r.clk=r.clk_x=r.clk_y=null},100)}function O(){var e;j.fn.ajaxSubmit.debug&&(e="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e))}j.fn.attr2=function(){var e;return I&&((e=this.prop.apply(this,arguments))&&e.jquery||"string"==typeof e)?e:this.attr.apply(this,arguments)},j.fn.ajaxSubmit=function(E,e,t,i){if(this.length){var A,M=this,e=("function"==typeof E?E={success:E}:"string"==typeof E||!1===E&&0<arguments.length?(E={url:E,data:e,dataType:t},"function"==typeof i&&(E.success=i)):void 0===E&&(E={}),A=E.method||E.type||this.attr2("method"),t=(t=(t="string"==typeof(e=E.url||this.attr2("action"))?j.trim(e):"")||window.location.href||"")&&(t.match(/^([^#]+)/)||[])[1],i=/(MSIE|Trident)/.test(navigator.userAgent||"")&&/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",E=j.extend(!0,{url:t,success:j.ajaxSettings.success,type:A||j.ajaxSettings.type,iframeSrc:i},E),{});if(this.trigger("form-pre-serialize",[this,E,e]),e.veto)O("ajaxSubmit: submit vetoed via form-pre-serialize trigger");else if(E.beforeSerialize&&!1===E.beforeSerialize(this,E))O("ajaxSubmit: submit aborted via beforeSerialize callback");else{void 0===(t=E.traditional)&&(t=j.ajaxSettings.traditional);var L=[],n=this.formToArray(E.semantic,L,E.filtering);if(E.data&&(i=j.isFunction(E.data)?E.data(n):E.data,E.extraData=i,c=j.param(i,t)),E.beforeSubmit&&!1===E.beforeSubmit(n,this,E))O("ajaxSubmit: submit aborted via beforeSubmit callback");else if(this.trigger("form-submit-validate",[n,this,E,e]),e.veto)O("ajaxSubmit: submit vetoed via form-submit-validate trigger");else{i=j.param(n,t),c&&(i=i?i+"&"+c:c),"GET"===E.type.toUpperCase()?(E.url+=(0<=E.url.indexOf("?")?"&":"?")+i,E.data=null):E.data=i;var s,r,a,o,l=[],e=(E.resetForm&&l.push(function(){M.resetForm()}),E.clearForm&&l.push(function(){M.clearForm(E.includeHidden)}),!E.dataType&&E.target?(s=E.success||function(){},l.push(function(e,t,i){var n=arguments,r=E.replaceTarget?"replaceWith":"html";j(E.target)[r](e).each(function(){s.apply(this,n)})})):E.success&&(j.isArray(E.success)?j.merge(l,E.success):l.push(E.success)),E.success=function(e,t,i){for(var n=E.context||this,r=0,s=l.length;r<s;r++)l[r].apply(n,[e,t,i||M,M])},E.error&&(r=E.error,E.error=function(e,t,i){var n=E.context||this;r.apply(n,[e,t,i,M])}),E.complete&&(a=E.complete,E.complete=function(e,t){var i=E.context||this;a.apply(i,[e,t,M])}),0<j("input[type=file]:enabled",this).filter(function(){return""!==j(this).val()}).length),t="multipart/form-data",c=M.attr("enctype")===t||M.attr("encoding")===t,i=m.fileapi&&m.formdata;O("fileAPI :"+i),!1!==E.iframe&&(E.iframe||(e||c)&&!i)?E.closeKeepAlive?j.get(E.closeKeepAlive,function(){o=u(n)}):o=u(n):o=(e||c)&&i?function(e){for(var i=new FormData,t=0;t<e.length;t++)i.append(e[t].name,e[t].value);if(E.extraData)for(var n=function(e){for(var t,i=j.param(e,E.traditional).split("&"),n=i.length,r=[],s=0;s<n;s++)i[s]=i[s].replace(/\+/g," "),t=i[s].split("="),r.push([decodeURIComponent(t[0]),decodeURIComponent(t[1])]);return r}(E.extraData),t=0;t<n.length;t++)n[t]&&i.append(n[t][0],n[t][1]);E.data=null;var r=j.extend(!0,{},j.ajaxSettings,E,{contentType:!1,processData:!1,cache:!1,type:A||"POST"}),s=(E.uploadProgress&&(r.xhr=function(){var e=j.ajaxSettings.xhr();return e.upload&&e.upload.addEventListener("progress",function(e){var t=0,i=e.loaded||e.position,n=e.total;e.lengthComputable&&(t=Math.ceil(i/n*100)),E.uploadProgress(e,i,n,t)},!1),e}),r.data=null,r.beforeSend);return r.beforeSend=function(e,t){E.formData?t.data=E.formData:t.data=i,s&&s.call(this,e,t)},j.ajax(r)}(n):j.ajax(E),M.removeData("jqxhr").data("jqxhr",o);for(var d=0;d<L.length;d++)L[d]=null;this.trigger("form-submit-notify",[this,E])}}}else O("ajaxSubmit: skipping submit process - no element selected");return this;function u(e){var t,i,d,u,p,h,f,m,g,s=M[0],y=j.Deferred();if(y.abort=function(e){f.abort(e)},e)for(i=0;i<L.length;i++)t=j(L[i]),I?t.prop("disabled",!1):t.removeAttr("disabled");(d=j.extend(!0,{},j.ajaxSettings,E)).context=d.context||d;var v,b,n,w,_,x,T,S,a,k,o="jqFormIO"+(new Date).getTime(),l=s.ownerDocument,c=M.closest("body");return d.iframeTarget?(n=(p=j(d.iframeTarget,l)).attr2("name"))?o=n:p.attr2("name",o):(p=j('<iframe name="'+o+'" src="'+d.iframeSrc+'" />',l)).css({position:"absolute",top:"-1000px",left:"-1000px"}),h=p[0],f={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";O("aborting upload... "+t),this.aborted=1;try{h.contentWindow.document.execCommand&&h.contentWindow.document.execCommand("Stop")}catch(e){}p.attr("src",d.iframeSrc),f.error=t,d.error&&d.error.call(d.context,f,t,e),u&&j.event.trigger("ajaxError",[f,d,t]),d.complete&&d.complete.call(d.context,f,t)}},(u=d.global)&&0==j.active++&&j.event.trigger("ajaxStart"),u&&j.event.trigger("ajaxSend",[f,d]),d.beforeSend&&!1===d.beforeSend.call(d.context,f,d)?(d.global&&j.active--,y.reject()):f.aborted?y.reject():((e=s.clk)&&(n=e.name)&&!e.disabled&&(d.extraData=d.extraData||{},d.extraData[n]=e.value,"image"===e.type)&&(d.extraData[n+".x"]=s.clk_x,d.extraData[n+".y"]=s.clk_y),v=1,b=2,e=j("meta[name=csrf-token]").attr("content"),(n=j("meta[name=csrf-param]").attr("content"))&&e&&(d.extraData=d.extraData||{},d.extraData[n]=e),d.forceSync?r():setTimeout(r,10),T=50,S=j.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!==t.documentElement.nodeName?t:null},a=j.parseJSON||function(e){return window.eval("("+e+")")},k=function(e,t,i){var n=e.getResponseHeader("content-type")||"",r=("xml"===t||!t)&&0<=n.indexOf("xml"),e=r?e.responseXML:e.responseText;return r&&"parsererror"===e.documentElement.nodeName&&j.error&&j.error("parsererror"),"string"==typeof(e=i&&i.dataFilter?i.dataFilter(e,t):e)&&(("json"===t||!t)&&0<=n.indexOf("json")?e=a(e):("script"===t||!t)&&0<=n.indexOf("javascript")&&j.globalEval(e)),e}),y;function C(t){var i=null;try{t.contentWindow&&(i=t.contentWindow.document)}catch(e){O("cannot get iframe.contentWindow document: "+e)}if(!i)try{i=t.contentDocument||t.document}catch(e){O("cannot get iframe.contentDocument: "+e),i=t.document}return i}function r(){var e=M.attr2("target"),t=M.attr2("action"),i=M.attr("enctype")||M.attr("encoding")||"multipart/form-data",n=(s.setAttribute("target",o),A&&!/post/i.test(A)||s.setAttribute("method","POST"),t!==d.url&&s.setAttribute("action",d.url),d.skipEncodingOverride||A&&!/post/i.test(A)||M.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),d.timeout&&(g=setTimeout(function(){m=!0,P(v)},d.timeout)),[]);try{if(d.extraData)for(var r in d.extraData)d.extraData.hasOwnProperty(r)&&(j.isPlainObject(d.extraData[r])&&d.extraData[r].hasOwnProperty("name")&&d.extraData[r].hasOwnProperty("value")?n.push(j('<input type="hidden" name="'+d.extraData[r].name+'">',l).val(d.extraData[r].value).appendTo(s)[0]):n.push(j('<input type="hidden" name="'+r+'">',l).val(d.extraData[r]).appendTo(s)[0]));d.iframeTarget||p.appendTo(c),h.attachEvent?h.attachEvent("onload",P):h.addEventListener("load",P,!1),setTimeout(function e(){try{var t=C(h).readyState;O("state = "+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(e){O("Server abort: ",e," (",e.name,")"),P(b),g&&clearTimeout(g),g=void 0}},15);try{s.submit()}catch(e){document.createElement("form").submit.apply(s)}}finally{s.setAttribute("action",t),s.setAttribute("enctype",i),e?s.setAttribute("target",e):M.removeAttr("target"),j(n).remove()}}function P(e){if(!f.aborted&&!x)if((_=C(h))||(O("cannot access response document"),e=b),e===v&&f)f.abort("timeout"),y.reject(f,"timeout");else if(e===b&&f)f.abort("server abort"),y.reject(f,"error","server abort");else if(_&&_.location.href!==d.iframeSrc||m){h.detachEvent?h.detachEvent("onload",P):h.removeEventListener("load",P,!1);var t,i="success";try{if(m)throw"timeout";var n="xml"===d.dataType||_.XMLDocument||j.isXMLDoc(_);if(O("isXml="+n),!n&&window.opera&&(null===_.body||!_.body.innerHTML)&&--T)return O("requeing onLoad callback, DOM not available"),void setTimeout(P,250);var r=_.body||_.documentElement;f.responseText=r?r.innerHTML:null,f.responseXML=_.XMLDocument||_,n&&(d.dataType="xml"),f.getResponseHeader=function(e){return{"content-type":d.dataType}[e.toLowerCase()]},r&&(f.status=Number(r.getAttribute("status"))||f.status,f.statusText=r.getAttribute("statusText")||f.statusText);var s,a,o,l=(d.dataType||"").toLowerCase(),c=/(json|script|text)/.test(l);c||d.textarea?(s=_.getElementsByTagName("textarea")[0])?(f.responseText=s.value,f.status=Number(s.getAttribute("status"))||f.status,f.statusText=s.getAttribute("statusText")||f.statusText):c&&(a=_.getElementsByTagName("pre")[0],o=_.getElementsByTagName("body")[0],a?f.responseText=a.textContent||a.innerText:o&&(f.responseText=o.textContent||o.innerText)):"xml"===l&&!f.responseXML&&f.responseText&&(f.responseXML=S(f.responseText));try{w=k(f,l,d)}catch(e){i="parsererror",f.error=t=e||i}}catch(e){O("error caught: ",e),i="error",f.error=t=e||i}f.aborted&&(O("upload aborted"),i=null),"success"===(i=f.status?200<=f.status&&f.status<300||304===f.status?"success":"error":i)?(d.success&&d.success.call(d.context,w,"success",f),y.resolve(f.responseText,"success",f),u&&j.event.trigger("ajaxSuccess",[f,d])):i&&(void 0===t&&(t=f.statusText),d.error&&d.error.call(d.context,f,i,t),y.reject(f,"error",t),u)&&j.event.trigger("ajaxError",[f,d,t]),u&&j.event.trigger("ajaxComplete",[f,d]),u&&!--j.active&&j.event.trigger("ajaxStop"),d.complete&&d.complete.call(d.context,f,i),x=!0,d.timeout&&clearTimeout(g),setTimeout(function(){d.iframeTarget?p.attr("src",d.iframeSrc):p.remove(),f.responseXML=null},100)}}}},j.fn.ajaxForm=function(e,t,i,n){var r;return("string"==typeof e||!1===e&&0<arguments.length)&&(e={url:e,data:t,dataType:i},"function"==typeof n)&&(e.success=n),(e=e||{}).delegation=e.delegation&&j.isFunction(j.fn.on),e.delegation||0!==this.length?e.delegation?(j(document).off("submit.form-plugin",this.selector,s).off("click.form-plugin",this.selector,a).on("submit.form-plugin",this.selector,e,s).on("click.form-plugin",this.selector,e,a),this):(e.beforeFormUnbind&&e.beforeFormUnbind(this,e),this.ajaxFormUnbind().on("submit.form-plugin",e,s).on("click.form-plugin",e,a)):(r={s:this.selector,c:this.context},!j.isReady&&r.s?(O("DOM not ready, queuing ajaxForm"),j(function(){j(r.s,r.c).ajaxForm(e)})):O("terminating; zero elements found by selector"+(j.isReady?"":" (DOM not ready)")),this)},j.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},j.fn.formToArray=function(e,t,i){var n=[];if(0!==this.length){var r,s,a,o,l,c,d,u=this[0],p=this.attr("id"),h=(h=e||void 0===u.elements?u.getElementsByTagName("*"):u.elements)&&j.makeArray(h);if((h=p&&(e||/(Edge|Trident)\//.test(navigator.userAgent))&&(p=j(':input[form="'+p+'"]').get()).length?(h||[]).concat(p):h)&&h.length){for(r=0,l=(h=j.isFunction(i)?j.map(h,i):h).length;r<l;r++)if((d=(o=h[r]).name)&&!o.disabled)if(e&&u.clk&&"image"===o.type)u.clk===o&&(n.push({name:d,value:j(o).val(),type:o.type}),n.push({name:d+".x",value:u.clk_x},{name:d+".y",value:u.clk_y}));else if((a=j.fieldValue(o,!0))&&a.constructor===Array)for(t&&t.push(o),s=0,c=a.length;s<c;s++)n.push({name:d,value:a[s]});else if(m.fileapi&&"file"===o.type){t&&t.push(o);var f=o.files;if(f.length)for(s=0;s<f.length;s++)n.push({name:d,value:f[s],type:o.type});else n.push({name:d,value:"",type:o.type})}else null!=a&&(t&&t.push(o),n.push({name:d,value:a,type:o.type,required:o.required}));!e&&u.clk&&(d=(i=(p=j(u.clk))[0]).name)&&!i.disabled&&"image"===i.type&&(n.push({name:d,value:p.val()}),n.push({name:d+".x",value:u.clk_x},{name:d+".y",value:u.clk_y}))}}return n},j.fn.formSerialize=function(e){return j.param(this.formToArray(e))},j.fn.fieldSerialize=function(r){var s=[];return this.each(function(){var e=this.name;if(e){var t=j.fieldValue(this,r);if(t&&t.constructor===Array)for(var i=0,n=t.length;i<n;i++)s.push({name:e,value:t[i]});else null!=t&&s.push({name:this.name,value:t})}}),j.param(s)},j.fn.fieldValue=function(e){for(var t=[],i=0,n=this.length;i<n;i++){var r=this[i];null==(r=j.fieldValue(r,e))||r.constructor===Array&&!r.length||(r.constructor===Array?j.merge(t,r):t.push(r))}return t},j.fieldValue=function(e,t){var i=e.name,n=e.type,r=e.tagName.toLowerCase();if((t=void 0===t||t)&&(!i||e.disabled||"reset"===n||"button"===n||("checkbox"===n||"radio"===n)&&!e.checked||("submit"===n||"image"===n)&&e.form&&e.form.clk!==e||"select"===r&&-1===e.selectedIndex))return null;if("select"!==r)return j(e).val().replace(u,"\r\n");if((t=e.selectedIndex)<0)return null;for(var s=[],a=e.options,o="select-one"===n,l=o?t+1:a.length,c=o?t:0;c<l;c++){var d=a[c];if(d.selected&&!d.disabled){if(d=d.value||(d.attributes&&d.attributes.value&&!d.attributes.value.specified?d.text:d.value),o)return d;s.push(d)}}return s},j.fn.clearForm=function(e){return this.each(function(){j("input,select,textarea",this).clearFields(e)})},j.fn.clearFields=j.fn.clearInputs=function(i){var n=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var e=this.type,t=this.tagName.toLowerCase();n.test(e)||"textarea"===t?this.value="":"checkbox"===e||"radio"===e?this.checked=!1:"select"===t?this.selectedIndex=-1:"file"===e?/MSIE/.test(navigator.userAgent)?j(this).replaceWith(j(this).clone(!0)):j(this).val(""):i&&(!0===i&&/hidden/.test(e)||"string"==typeof i&&j(this).is(i))&&(this.value="")})},j.fn.resetForm=function(){return this.each(function(){var t=j(this),e=this.tagName.toLowerCase();switch(e){case"input":this.checked=this.defaultChecked;case"textarea":return this.value=this.defaultValue,!0;case"option":case"optgroup":return(i=t.parents("select")).length&&i[0].multiple?"option"===e?this.selected=this.defaultSelected:t.find("option").resetForm():i.resetForm(),!0;case"select":return t.find("option").each(function(e){if(this.selected=this.defaultSelected,this.defaultSelected&&!t[0].multiple)return t[0].selectedIndex=e,!1}),!0;case"label":var i=j(t.attr("for")),n=t.find("input,select,textarea");return i[0]&&n.unshift(i[0]),n.resetForm(),!0;case"form":return"function"!=typeof this.reset&&("object"!=typeof this.reset||this.reset.nodeType)||this.reset(),!0;default:return t.find("form,input,label,select,textarea").resetForm(),!0}})},j.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},j.fn.selected=function(t){return void 0===t&&(t=!0),this.each(function(){var e=this.type;"checkbox"===e||"radio"===e?this.checked=t:"option"===this.tagName.toLowerCase()&&(e=j(this).parent("select"),t&&e[0]&&"select-one"===e[0].type&&e.find("option").selected(!1),this.selected=t)})},j.fn.ajaxSubmit.debug=!1}),function(s){s.fn.gMap=function(e,t){switch(e){case"addMarker":return s(this).trigger("gMap.addMarker",[t.latitude,t.longitude,t.content,t.icon,t.popup]);case"centerAt":return s(this).trigger("gMap.centerAt",[t.latitude,t.longitude,t.zoom]);case"clearMarkers":return s(this).trigger("gMap.clearMarkers")}var h=s.extend({},s.fn.gMap.defaults,e);return this.each(function(){var c=new google.maps.Map(this),e=(s(this).data("gMap.reference",c),new google.maps.Geocoder),t=(h.address?e.geocode({address:h.address},function(e){e&&e.length&&c.setCenter(e[0].geometry.location)}):h.latitude&&h.longitude?c.setCenter(new google.maps.LatLng(h.latitude,h.longitude)):s.isArray(h.markers)&&0<h.markers.length?h.markers[0].address?e.geocode({address:h.markers[0].address},function(e){e&&0<e.length&&c.setCenter(e[0].geometry.location)}):c.setCenter(new google.maps.LatLng(h.markers[0].latitude,h.markers[0].longitude)):c.setCenter(new google.maps.LatLng(34.885931,9.84375)),c.setZoom(h.zoom),c.setMapTypeId(google.maps.MapTypeId[h.maptype]),{scrollwheel:h.scrollwheel,disableDoubleClickZoom:!h.doubleclickzoom});!1===h.controls?s.extend(t,{disableDefaultUI:!0}):0!==h.controls.length&&s.extend(t,h.controls,{disableDefaultUI:!0}),c.setOptions(t),c.setOptions({styles:h.styles});var d,u=new google.maps.Marker,p=((t=new google.maps.MarkerImage(h.icon.image)).size=new google.maps.Size(h.icon.iconsize[0],h.icon.iconsize[1]),t.anchor=new google.maps.Point(h.icon.iconanchor[0],h.icon.iconanchor[1]),u.setIcon(t),h.icon.shadow&&((t=new google.maps.MarkerImage(h.icon.shadow)).size=new google.maps.Size(h.icon.shadowsize[0],h.icon.shadowsize[1]),t.anchor=new google.maps.Point(h.icon.shadowanchor[0],h.icon.shadowanchor[1]),u.setShadow(t)),s(this).bind("gMap.centerAt",function(e,t,i,n){n&&c.setZoom(n),c.panTo(new google.maps.LatLng(parseFloat(t),parseFloat(i)))}),[]);s(this).bind("gMap.clearMarkers",function(){for(;p[0];)p.pop().setMap(null)}),s(this).bind("gMap.addMarker",function(e,t,i,n,r,s){var a,o=new google.maps.LatLng(parseFloat(t),parseFloat(i)),l=new google.maps.Marker({position:o});r?((o=new google.maps.MarkerImage(r.image)).size=new google.maps.Size(r.iconsize[0],r.iconsize[1]),o.anchor=new google.maps.Point(r.iconanchor[0],r.iconanchor[1]),l.setIcon(o),r.shadow&&((o=new google.maps.MarkerImage(r.shadow)).size=new google.maps.Size(r.shadowsize[0],r.shadowsize[1]),o.anchor=new google.maps.Point(r.shadowanchor[0],r.shadowanchor[1]),u.setShadow(o))):(l.setIcon(u.getIcon()),l.setShadow(u.getShadow())),n&&("_latlng"===n&&(n=t+", "+i),a=new google.maps.InfoWindow({content:h.html_prepend+n+h.html_append}),google.maps.event.addListener(l,"click",function(){d&&d.close(),a.open(c,l),d=a}),s)&&google.maps.event.addListenerOnce(c,"tilesloaded",function(){a.open(c,l)}),l.setMap(c),p.push(l)});for(var i,n=this,r=0;r<h.markers.length;r++)(i=h.markers[r]).address?("_address"===i.html&&(i.html=i.address),e.geocode({address:i.address},function(t){return function(e){e&&0<e.length&&s(n).trigger("gMap.addMarker",[e[0].geometry.location.lat(),e[0].geometry.location.lng(),t.html,t.icon,t.popup])}}(i))):s(this).trigger("gMap.addMarker",[i.latitude,i.longitude,i.html,i.icon,i.popup])})},s.fn.gMap.defaults={address:"",latitude:0,longitude:0,zoom:1,markers:[],controls:[],styles:[],scrollwheel:!1,doubleclickzoom:!0,maptype:"ROADMAP",html_prepend:'<div class="gmap_marker">',html_append:"</div>",icon:{image:"https://www.google.com/mapfiles/marker.png",shadow:"https://www.google.com/mapfiles/shadow50.png",iconsize:[20,34],shadowsize:[37,34],iconanchor:[9,34],shadowanchor:[6,34]}}}(jQuery),function(u){var p,c,n,d,i,t,r,o,h,f,m,s,g,a=Array.prototype.slice,y=decodeURIComponent,l=u.param,e=u.bbq=u.bbq||{},v=u.event.special,b="hashchange",w="querystring",_="fragment",x="elemUrlAttr",T=/^.*\?|#.*$/g,S={};function k(e){return"string"==typeof e}function C(e){var t=a.call(arguments,1);return function(){return e.apply(this,t.concat(a.call(arguments)))}}function P(e,t,i,n,r){var s,a,o,l;return r=n!==p?(l=(a=i.match(e?f:/^([^#?]*)\??([^#]*)(#?.*)/))[3]||"",2===r&&k(n)?s=n.replace(e?h:T,""):(o=d(a[2]),n=k(n)?d[e?_:w](n):n,s=2===r?n:1===r?u.extend({},n,o):u.extend({},o,n),s=c(s),e&&(s=s.replace(m,y))),a[1]+(e?g:s||!a[1]?"?":"")+s+l):t(i!==p?i:location.href)}function E(e,t,i){return t=t===p||"boolean"==typeof t?(i=t,l[e?_:w]()):k(t)?t.replace(e?h:T,""):t,d(t,i)}function A(n,r,s,a){return k(s)||"object"==typeof s||(a=s,s=r,r=p),this.each(function(){var e=u(this),t=r||o()[(this.nodeName||"").toLowerCase()]||"",i=t&&e.attr(t)||"";e.attr(t,l[n](i,s,a))})}l[w]=C(P,0,function(e){return e.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}),l[_]=n=C(P,1,function(e){return e.replace(f,"$2")}),l.sorted=c=function(e,t){var r=[],s={};return u.each(l(e,t).split("&"),function(e,t){var i=t.replace(/(?:%5B|=).*$/,""),n=s[i];n||(n=s[i]=[],r.push(i)),n.push(t)}),u.map(r.sort(),function(e){return s[e]}).join("&")},n.noEscape=function(e){e=u.map((e=e||"").split(""),encodeURIComponent),m=new RegExp(e.join("|"),"g")},n.noEscape(",/"),n.ajaxCrawlable=function(e){return e!==p&&(g=e?(h=/^.*(?:#!|#)/,f=/^([^#]*)(?:#!|#)?(.*)$/,"#!"):(h=/^.*#/,f=/^([^#]*)#?(.*)$/,"#"),s=!!e),s},n.ajaxCrawlable(0),u.deparam=d=function(e,l){var c={},d={true:!0,false:!1,null:null};return u.each(e.replace(/\+/g," ").split("&"),function(e,t){var i,t=t.split("="),n=y(t[0]),r=c,s=0,a=n.split("]["),o=a.length-1,o=/\[/.test(a[0])&&/\]$/.test(a[o])?(a[o]=a[o].replace(/\]$/,""),(a=a.shift().split("[").concat(a)).length-1):0;if(2===t.length)if(i=y(t[1]),l&&(i=i&&!isNaN(i)?+i:"undefined"===i?p:d[i]!==p?d[i]:i),o)for(;s<=o;s++)r=r[n=""===a[s]?r.length:a[s]]=s<o?r[n]||(a[s+1]&&isNaN(a[s+1])?{}:[]):i;else u.isArray(c[n])?c[n].push(i):c[n]!==p?c[n]=[c[n],i]:c[n]=i;else n&&(c[n]=l?p:"")}),c},d[w]=C(E,0),d[_]=i=C(E,1),u[x]||(u[x]=function(e){return u.extend(S,e)})({a:"href",base:"href",iframe:"src",img:"src",input:"src",form:"action",link:"href",script:"src"}),o=u[x],u.fn[w]=C(A,w),u.fn[_]=C(A,_),e.pushState=t=function(e,t){k(e)&&/^#/.test(e)&&t===p&&(t=2);var i=e!==p,e=n(location.href,i?e:{},i?t:2);location.href=e},e.getState=r=function(e,t){return e===p||"boolean"==typeof e?i(e):i(t)[e]},e.removeState=function(e){var i={};e!==p&&(i=r(),u.each(u.isArray(e)?e:arguments,function(e,t){delete i[t]})),t(i,2)},v[b]=u.extend(v[b],{add:function(e){var t;function i(e){var i=e[_]=n();e.getState=function(e,t){return e===p||"boolean"==typeof e?d(i,e):d(i,t)[e]},t.apply(this,arguments)}if(u.isFunction(e))return t=e,i;t=e.handler,e.handler=i}})}(jQuery),function(r,i){function n(e){return"#"+(e=e||location.href).replace(/^[^#]*#?(.*)$/,"$1")}var e,s,a,t,o,l,c,d="hashchange",u=document,p=r.event.special,h=u.documentMode,f="on"+d in i&&(void 0===h||7<h);function m(){var e=n(),t=c(o);e!==o?(l(o=e,t),r(i).trigger(d)):t!==o&&(location.href=location.href.replace(/#.*/,"")+t),s=setTimeout(m,r.fn[d].delay)}function g(e){return e}r.fn[d]=function(e){return e?this.bind(d,e):this.trigger(d)},r.fn[d].delay=50,p[d]=r.extend(p[d],{setup:function(){if(f)return!1;r(e.start)},teardown:function(){if(f)return!1;r(e.stop)}}),h={},o=n(),c=l=g,h.start=function(){s||m()},h.stop=function(){s&&clearTimeout(s),s=void 0},"Microsoft Internet Explorer"!==navigator.appName||f||(h.start=function(){a||(t=(t=r.fn[d].src)&&t+n(),a=r('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){t||l(n()),m()}).attr("src",t||"javascript:0").insertAfter("body")[0].contentWindow,u.onpropertychange=function(){try{"title"===event.propertyName&&(a.document.title=u.title)}catch(e){}})},h.stop=g,c=function(){return n(a.location.href)},l=function(e,t){var i=a.document,n=r.fn[d].domain;e!==t&&(i.title=u.title,i.open(),n&&i.write('<script>document.domain="'+n+'"<\/script>'),i.close(),a.location.hash=e)}),e=h}(jQuery,this),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){if((e=this._events&&this._events[e])&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],r=0;r<i.length;r++){var s=i[r];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(t,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){function s(e,t){for(var i in t)e[i]=t[i];return e}function a(e,t,i){var n,r;return this instanceof a?(n="string"==typeof(n=e)?document.querySelectorAll(e):n)?(this.elements=(r=n,Array.isArray(r)?r:"object"==typeof r&&"number"==typeof r.length?c.call(r):[r]),this.options=s({},this.options),"function"==typeof t?i=t:s(this.options,t),i&&this.on("always",i),this.getImages(),o&&(this.jqDeferred=new o.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(n||e)):new a(e,t,i)}function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}var o=t.jQuery,l=t.console,c=Array.prototype.slice,d=((a.prototype=Object.create(e.prototype)).options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&d[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var r=i[n];this.addImage(r)}if("string"==typeof this.options.background)for(var s=e.querySelectorAll(this.options.background),n=0;n<s.length;n++){var a=s[n];this.addElementBackgroundImages(a)}}},{1:!0,9:!0,11:!0});return a.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var r=n&&n[2];r&&this.addBackground(r,e),n=i.exec(t.backgroundImage)}},a.prototype.addImage=function(e){e=new i(e),this.images.push(e)},a.prototype.addBackground=function(e,t){e=new n(e,t),this.images.push(e)},a.prototype.check=function(){function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},a.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,e,t)},a.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(a.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((o=e).fn.imagesLoaded=function(e,t){return new a(this,e,t).jqDeferred.promise(o(this))})})(),a}),function(t,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("jquery")):t.jQueryBridget=i(t,t.jQuery)}(window,function(e,t){"use strict";function i(l,c,d){(d=d||t||e.jQuery)&&(c.prototype.option||(c.prototype.option=function(e){d.isPlainObject(e)&&(this.options=d.extend(!0,this.options,e))}),d.fn[l]=function(e){var t,n,r,s,a,o;return"string"==typeof e?(t=u.call(arguments,1),r=t,a="$()."+l+'("'+(n=e)+'")',this.each(function(e,t){var i;(t=d.data(t,l))?(i=t[n])&&"_"!=n.charAt(0)?(i=i.apply(t,r),s=void 0===s?i:s):p(a+" is not a valid method"):p(l+" not initialized. Cannot call methods, i.e. "+a)}),void 0!==s?s:this):(o=e,this.each(function(e,t){var i=d.data(t,l);i?(i.option(o),i._init()):(i=new c(t,o),d.data(t,l,i))}),this)},n(d))}function n(e){e&&!e.bridget&&(e.bridget=i)}var u=Array.prototype.slice,r=e.console,p=void 0===r?function(){}:function(e){r.error(e)};return n(t||e.jQuery),i}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){if((e=this._events&&this._events[e])&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],r=0;r<i.length;r++){var s=i[r];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()}(window,function(){"use strict";var i=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i]+"MatchesSelector";if(e[n])return n}}();return function(e,t){return e[i](t)}}),function(t,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("desandro-matches-selector")):t.fizzyUIUtils=i(t,t.matchesSelector)}(window,function(i,s){var l={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},t=Array.prototype.slice,c=(l.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?t.call(e):[e]},l.removeFrom=function(e,t){-1!=(t=e.indexOf(t))&&e.splice(t,1)},l.getParent=function(e,t){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,s(e,t))return e},l.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.filterFindElements=function(e,n){e=l.makeArray(e);var r=[];return e.forEach(function(e){if(e instanceof HTMLElement)if(n){s(e,n)&&r.push(e);for(var t=e.querySelectorAll(n),i=0;i<t.length;i++)r.push(t[i])}else r.push(e)}),r},l.debounceMethod=function(e,t,n){n=n||100;var r=e.prototype[t],s=t+"Timeout";e.prototype[t]=function(){var e=this[s],t=(clearTimeout(e),arguments),i=this;this[s]=setTimeout(function(){r.apply(i,t),delete i[s]},n)}},l.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},l.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(a,o){l.docReady(function(){var n="data-"+(t=l.toDashed(o)),e=document.querySelectorAll("["+n+"]"),t=document.querySelectorAll(".js-"+t),e=l.makeArray(e).concat(l.makeArray(t)),r=n+"-options",s=i.jQuery;e.forEach(function(e){var t,i=e.getAttribute(n)||e.getAttribute(r);try{t=i&&JSON.parse(i)}catch(t){return void(c&&c.error("Error parsing "+n+" on "+e.className+": "+t))}i=new a(e,t),s&&s.data(e,o,i)})})},l}),function(i,n){"function"==typeof define&&define.amd?define("infinite-scroll/js/core",["ev-emitter/ev-emitter","fizzy-ui-utils/utils"],function(e,t){return n(i,e,t)}):"object"==typeof module&&module.exports?module.exports=n(i,require("ev-emitter"),require("fizzy-ui-utils")):i.InfiniteScroll=n(i,i.EvEmitter,i.fizzyUIUtils)}(window,function(t,e,r){function s(e,t){var i,n=r.getQueryElement(e);if(n)return(e=n).infiniteScrollGUID?((i=o[e.infiniteScrollGUID]).option(t),i):(this.element=e,this.options=r.extend({},s.defaults),this.option(t),a&&(this.$element=a(this.element)),void this.create());console.error("Bad element for InfiniteScroll: "+(n||e))}var a=t.jQuery,o={},i=(s.defaults={},s.create={},s.destroy={},s.prototype),n=(r.extend(i,e.prototype),0),l=(i.create=function(){var e=this.guid=++n;if(this.element.infiniteScrollGUID=e,(o[e]=this).pageIndex=1,this.loadCount=0,this.updateGetPath(),this.getPath&&this.getPath())for(var t in this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit(),s.create)s.create[t].call(this);else console.error("Disabling InfiniteScroll")},i.option=function(e){r.extend(this.options,e)},i.callOnInit=function(){var e=this.options.onInit;e&&e.call(this,this)},i.dispatchEvent=function(e,t,i){this.log(e,i);var n=t?[t].concat(i):i;this.emitEvent(e,n),a&&this.$element&&(n=e+=".infiniteScroll",t&&((t=a.Event(t)).type=e,n=t),this.$element.trigger(n,i))},{initialized:function(e){return"on "+e},request:function(e){return"URL: "+e},load:function(e,t){return(e.title||"")+". URL: "+t},error:function(e,t){return e+". URL: "+t},append:function(e,t,i){return i.length+" items. URL: "+t},last:function(e,t){return"URL: "+t},history:function(e,t){return"URL: "+t},pageIndex:function(e,t){return"current page determined to be: "+e+" from "+t}}),c=(i.log=function(e,t){var i;this.options.debug&&(i="[InfiniteScroll] "+e,(e=l[e])&&(i+=". "+e.apply(this,t)),console.log(i))},i.updateMeasurements=function(){this.windowHeight=t.innerHeight;var e=this.element.getBoundingClientRect();this.top=e.top+t.pageYOffset},i.updateScroller=function(){var e=this.options.elementScroll;if(e){if(this.scroller=!0===e?this.element:r.getQueryElement(e),!this.scroller)throw"Unable to find elementScroll: "+e}else this.scroller=t},i.updateGetPath=function(){var e=this.options.path;if(e){var t=typeof e;if("function"!=t)return"string"==t&&e.match("{{#}}")?void this.updateGetPathTemplate(e):void this.updateGetPathSelector(e);this.getPath=e}else console.error("InfiniteScroll path option required. Set as: "+e)},i.updateGetPathTemplate=function(t){this.getPath=function(){var e=this.pageIndex+1;return t.replace("{{#}}",e)}.bind(this);var e=t.replace("{{#}}","(\\d\\d?\\d?)"),e=new RegExp(e);(e=location.href.match(e))&&(this.pageIndex=parseInt(e[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))},[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/]);return i.updateGetPathSelector=function(e){var t=document.querySelector(e);if(t){for(var i,n=t.getAttribute("href"),r=0;n&&r<c.length;r++){var s=n.match(c[r]);if(s){i=s.slice(1);break}}return i?(this.isPathSelector=!0,this.getPath=function(){var e=this.pageIndex+1;return i[0]+e+i[2]}.bind(this),this.pageIndex=parseInt(i[1],10)-1,void this.log("pageIndex",[this.pageIndex,"next link"])):void console.error("InfiniteScroll unable to parse next link href: "+n)}console.error("Bad InfiniteScroll path option. Next link not found: "+e)},i.updateGetAbsolutePath=function(){var e,t=this.getPath();t.match(/^http/)||t.match(/^\//)?this.getAbsolutePath=this.getPath:(t=location.pathname,e=t.substring(0,t.lastIndexOf("/")),this.getAbsolutePath=function(){return e+"/"+this.getPath()})},s.create.hideNav=function(){var e=r.getQueryElement(this.options.hideNav);e&&(e.style.display="none",this.nav=e)},s.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},i.destroy=function(){for(var e in this.allOff(),s.destroy)s.destroy[e].call(this);delete this.element.infiniteScrollGUID,delete o[this.guid],a&&this.$element&&a.removeData(this.element,"infiniteScroll")},s.throttle=function(n,r){var s,a;return r=r||200,function(){var e=+new Date,t=arguments,i=function(){s=e,n.apply(this,t)}.bind(this);s&&e<s+r?(clearTimeout(a),a=setTimeout(i,r)):i()}},s.data=function(e){return(e=(e=r.getQueryElement(e))&&e.infiniteScrollGUID)&&o[e]},s.setJQuery=function(e){a=e},r.htmlInit(s,"infinite-scroll"),i._init=function(){},a&&a.bridget&&a.bridget("infiniteScroll",s),s}),function(t,i){"function"==typeof define&&define.amd?define("infinite-scroll/js/page-load",["./core"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("./core")):i(t,t.InfiniteScroll)}(window,function(n,r){function u(e){for(var t=document.createDocumentFragment(),i=0;e&&i<e.length;i++)t.appendChild(e[i]);return t}var e=r.prototype;return r.defaults.loadOnScroll=!0,r.defaults.checkLastPage=!0,r.defaults.responseType="document",r.create.pageLoad=function(){this.canLoad=!0,this.on("scrollThreshold",this.onScrollThresholdLoad),this.on("load",this.checkLastPage),this.options.outlayer&&this.on("append",this.onAppendOutlayer)},e.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()},e.loadNextPage=function(){var t,e,i,n,r,s,a,o;!this.isLoading&&this.canLoad&&(t=this.getAbsolutePath(),this.isLoading=!0,e=function(e){this.onPageLoad(e,t)}.bind(this),i=function(e){this.onPageError(e,t)}.bind(this),n=t,r=this.options.responseType,s=e,a=i,(o=new XMLHttpRequest).open("GET",n,!0),o.responseType=r||"",o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.onload=function(){var e;200==o.status?s(o.response):(e=new Error(o.statusText),a(e))},o.onerror=function(){var e=new Error("Network error requesting "+n);a(e)},o.send(),this.dispatchEvent("request",null,[t]))},e.onPageLoad=function(e,t){return this.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[e,t]),this.appendNextPage(e,t),e},e.appendNextPage=function(e,t){var i,n,r=this.options.append;"document"==this.options.responseType&&r&&(i=e.querySelectorAll(r),n=u(i),r=function(){this.appendItems(i,n),this.isLoading=!1,this.dispatchEvent("append",null,[e,t,i])}.bind(this),this.options.outlayer?this.appendOutlayerItems(n,r):r())},e.appendItems=function(e,t){if(e&&e.length){for(var i=(t=t||u(e)).querySelectorAll("script"),n=0;n<i.length;n++){for(var r=i[n],s=document.createElement("script"),a=(c=o=void 0,r),o=s,l=a.attributes,c=0;c<l.length;c++){var d=l[c];o.setAttribute(d.name,d.value)}s.innerHTML=r.innerHTML,r.parentNode.replaceChild(s,r)}this.element.appendChild(t)}},e.appendOutlayerItems=function(e,t){var i=r.imagesLoaded||n.imagesLoaded;return i?void i(e,t):(console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),void(this.isLoading=!1))},e.onAppendOutlayer=function(e,t,i){this.options.outlayer.appended(i)},e.checkLastPage=function(e,t){var i,n,r=this.options.checkLastPage;r&&("function"!=typeof(n=this.options.path)||this.getPath()?("string"==typeof r?i=r:this.isPathSelector&&(i=n),i&&e.querySelector&&(e.querySelector(i)||this.lastPageReached(e,t))):this.lastPageReached(e,t))},e.lastPageReached=function(e,t){this.canLoad=!1,this.dispatchEvent("last",null,[e,t])},e.onPageError=function(e,t){return this.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[e,t]),e},r.create.prefill=function(){var e;this.options.prefill&&((e=this.options.append)?(this.updateMeasurements(),this.updateScroller(),this.isPrefilling=!0,this.on("append",this.prefill),this.once("error",this.stopPrefill),this.once("last",this.stopPrefill),this.prefill()):console.error("append option required for prefill. Set as :"+e))},e.prefill=function(){var e=this.getPrefillDistance();this.isPrefilling=0<=e,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},e.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},e.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},r}),function(i,n){"function"==typeof define&&define.amd?define("infinite-scroll/js/scroll-watch",["./core","fizzy-ui-utils/utils"],function(e,t){return n(i,e,t)}):"object"==typeof module&&module.exports?module.exports=n(i,require("./core"),require("fizzy-ui-utils")):n(i,i.InfiniteScroll,i.fizzyUIUtils)}(window,function(t,e,i){var n=e.prototype;return e.defaults.scrollThreshold=400,e.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);var e=this.options.scrollThreshold;!e&&0!==e||this.enableScrollWatch()},e.destroy.scrollWatch=function(){this.disableScrollWatch()},n.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},n.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},n.bindScrollWatchEvents=function(e){this.scroller[e=e?"addEventListener":"removeEventListener"]("scroll",this.pageScrollHandler),t[e]("resize",this.resizeHandler)},n.onPageScroll=e.throttle(function(){this.getBottomDistance()<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")}),n.getBottomDistance=function(){return this.options.elementScroll?this.getElementBottomDistance():this.getWindowBottomDistance()},n.getWindowBottomDistance=function(){return this.top+this.element.clientHeight-(t.pageYOffset+this.windowHeight)},n.getElementBottomDistance=function(){return this.scroller.scrollHeight-(this.scroller.scrollTop+this.scroller.clientHeight)},n.onResize=function(){this.updateMeasurements()},i.debounceMethod(e,"onResize",150),e}),function(i,n){"function"==typeof define&&define.amd?define("infinite-scroll/js/history",["./core","fizzy-ui-utils/utils"],function(e,t){return n(i,e,t)}):"object"==typeof module&&module.exports?module.exports=n(i,require("./core"),require("fizzy-ui-utils")):n(i,i.InfiniteScroll,i.fizzyUIUtils)}(window,function(t,e,i){var n=e.prototype,r=(e.defaults.history="replace",document.createElement("a"));return e.create.history=function(){if(this.options.history)return r.href=this.getAbsolutePath(),(r.origin||r.protocol+"//"+r.host)==location.origin?void(this.options.append?this.createHistoryAppend():this.createHistoryPageLoad()):void console.error("[InfiniteScroll] cannot set history with different origin: "+r.origin+" on "+location.origin+" . History behavior disabled.")},n.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPageIndex=0,this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},n.bindHistoryAppendEvents=function(e){this.scroller[e=e?"addEventListener":"removeEventListener"]("scroll",this.scrollHistoryHandler),t[e]("unload",this.unloadHandler)},n.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},e.destroy.history=n.destroyHistory=function(){this.options.history&&this.options.append&&this.bindHistoryAppendEvents(!1)},n.onAppendHistory=function(e,t,i){i&&i.length&&(i=i[0],i=this.getElementScrollY(i),r.href=t,this.scrollPages.push({top:i,path:r.href,title:e.title}))},n.getElementScrollY=function(e){return this.options.elementScroll?this.getElementElementScrollY(e):this.getElementWindowScrollY(e)},n.getElementWindowScrollY=function(e){return e.getBoundingClientRect().top+t.pageYOffset},n.getElementElementScrollY=function(e){return e.offsetTop-this.top},n.onScrollHistory=function(){for(var e,t,i=this.getScrollViewY(),n=0;n<this.scrollPages.length;n++){var r=this.scrollPages[n];if(r.top>=i)break;e=n,t=r}e!=this.scrollPageIndex&&(this.scrollPageIndex=e,this.setHistory(t.title,t.path))},i.debounceMethod(e,"onScrollHistory",150),n.getScrollViewY=function(){return this.options.elementScroll?this.scroller.scrollTop+this.scroller.clientHeight/2:t.pageYOffset+this.windowHeight/2},n.setHistory=function(e,t){var i=this.options.history;i&&history[i+"State"]&&(history[i+"State"](null,e,t),this.options.historyTitle&&(document.title=e),this.dispatchEvent("history",null,[e,t]))},n.onUnload=function(){var e=this.scrollPageIndex;0!==e&&(e=this.scrollPages[e],e=t.pageYOffset-e.top+this.top,this.destroyHistory(),scrollTo(0,e))},n.onPageLoadHistory=function(e,t){this.setHistory(e.title,t)},e}),function(i,n){"function"==typeof define&&define.amd?define("infinite-scroll/js/button",["./core","fizzy-ui-utils/utils"],function(e,t){return n(i,e,t)}):"object"==typeof module&&module.exports?module.exports=n(i,require("./core"),require("fizzy-ui-utils")):n(i,i.InfiniteScroll,i.fizzyUIUtils)}(window,function(e,t,i){function n(e,t){this.element=e,this.infScroll=t,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),t.on("request",this.disable.bind(this)),t.on("load",this.enable.bind(this)),t.on("error",this.hide.bind(this)),t.on("last",this.hide.bind(this))}return t.create.button=function(){var e=i.getQueryElement(this.options.button);e&&(this.button=new n(e,this))},t.destroy.button=function(){this.button&&this.button.destroy()},n.prototype.onClick=function(e){e.preventDefault(),this.infScroll.loadNextPage()},n.prototype.enable=function(){this.element.removeAttribute("disabled")},n.prototype.disable=function(){this.element.disabled="disabled"},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.destroy=function(){this.element.removeEventListener("click",this.clickHandler)},t.Button=n,t}),function(i,n){"function"==typeof define&&define.amd?define("infinite-scroll/js/status",["./core","fizzy-ui-utils/utils"],function(e,t){return n(i,e,t)}):"object"==typeof module&&module.exports?module.exports=n(i,require("./core"),require("fizzy-ui-utils")):n(i,i.InfiniteScroll,i.fizzyUIUtils)}(window,function(e,t,i){function n(e){s(e,"none")}function r(e){s(e,"block")}function s(e,t){e&&(e.style.display=t)}var a=t.prototype;return t.create.status=function(){var e=i.getQueryElement(this.options.status);e&&(this.statusElement=e,this.statusEventElements={request:e.querySelector(".infinite-scroll-request"),error:e.querySelector(".infinite-scroll-error"),last:e.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},a.bindHideStatus=function(e){var t=this.options.append?"append":"load";this[e](t,this.hideAllStatus)},a.showRequestStatus=function(){this.showStatus("request")},a.showErrorStatus=function(){this.showStatus("error")},a.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},a.showStatus=function(e){r(this.statusElement),this.hideStatusEventElements(),r(this.statusEventElements[e])},a.hideAllStatus=function(){n(this.statusElement),this.hideStatusEventElements()},a.hideStatusEventElements=function(){for(var e in this.statusEventElements)n(this.statusEventElements[e])},t}),function(e){"function"==typeof define&&define.amd?define(["infinite-scroll/js/core","infinite-scroll/js/page-load","infinite-scroll/js/scroll-watch","infinite-scroll/js/history","infinite-scroll/js/button","infinite-scroll/js/status"],e):"object"==typeof module&&module.exports&&(module.exports=e(require("./core"),require("./page-load"),require("./scroll-watch"),require("./history"),require("./button"),require("./status")))}((window,function(e){return e})),function(t,i){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){function s(e,t){for(var i in t)e[i]=t[i];return e}function a(e,t,i){var n,r;return this instanceof a?(n="string"==typeof(n=e)?document.querySelectorAll(e):n)?(this.elements=(r=n,Array.isArray(r)?r:"object"==typeof r&&"number"==typeof r.length?c.call(r):[r]),this.options=s({},this.options),"function"==typeof t?i=t:s(this.options,t),i&&this.on("always",i),this.getImages(),o&&(this.jqDeferred=new o.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(n||e)):new a(e,t,i)}function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}var o=t.jQuery,l=t.console,c=Array.prototype.slice,d=((a.prototype=Object.create(e.prototype)).options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&d[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var r=i[n];this.addImage(r)}if("string"==typeof this.options.background)for(var s=e.querySelectorAll(this.options.background),n=0;n<s.length;n++){var a=s[n];this.addElementBackgroundImages(a)}}},{1:!0,9:!0,11:!0});return a.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var r=n&&n[2];r&&this.addBackground(r,e),n=i.exec(t.backgroundImage)}},a.prototype.addImage=function(e){e=new i(e),this.images.push(e)},a.prototype.addBackground=function(e,t){e=new n(e,t),this.images.push(e)},a.prototype.check=function(){function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},a.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,e,t)},a.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(a.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((o=e).fn.imagesLoaded=function(e,t){return new a(this,e,t).jqDeferred.promise(o(this))})})(),a}),function(t,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("jquery")):t.jQueryBridget=i(t,t.jQuery)}(window,function(e,t){"use strict";function i(l,c,d){(d=d||t||e.jQuery)&&(c.prototype.option||(c.prototype.option=function(e){d.isPlainObject(e)&&(this.options=d.extend(!0,this.options,e))}),d.fn[l]=function(e){var t,n,r,s,a,o;return"string"==typeof e?(t=u.call(arguments,1),r=t,a="$()."+l+'("'+(n=e)+'")',this.each(function(e,t){var i;(t=d.data(t,l))?(i=t[n])&&"_"!=n.charAt(0)?(i=i.apply(t,r),s=void 0===s?i:s):p(a+" is not a valid method"):p(l+" not initialized. Cannot call methods, i.e. "+a)}),void 0!==s?s:this):(o=e,this.each(function(e,t){var i=d.data(t,l);i?(i.option(o),i._init()):(i=new c(t,o),d.data(t,l,i))}),this)},n(d))}function n(e){e&&!e.bridget&&(e.bridget=i)}var u=Array.prototype.slice,r=e.console,p=void 0===r?function(){}:function(e){r.error(e)};return n(t||e.jQuery),i}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){if((e=this._events&&this._events[e])&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],r=0;r<i.length;r++){var s=i[r];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(e,t){"function"==typeof define&&define.amd?define("get-size/get-size",t):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()}(window,function(){"use strict";function m(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}function g(e){return(e=getComputedStyle(e))||t("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function y(e){if(_||(_=!0,(d=document.createElement("div")).style.width="200px",d.style.padding="1px 2px 3px 4px",d.style.borderStyle="solid",d.style.borderWidth="1px 2px 3px 4px",d.style.boxSizing="border-box",(c=document.body||document.documentElement).appendChild(d),s=g(d),v=200==Math.round(m(s.width)),y.isBoxSizeOuter=v,c.removeChild(d)),(e="string"==typeof e?document.querySelector(e):e)&&"object"==typeof e&&e.nodeType){var t=g(e);if("none"==t.display){for(var i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;n<w;n++)i[b[n]]=0;return i}var r={};r.width=e.offsetWidth,r.height=e.offsetHeight;for(var s=r.isBorderBox="border-box"==t.boxSizing,a=0;a<w;a++){var o=b[a],l=t[o],l=parseFloat(l);r[o]=isNaN(l)?0:l}var c=r.paddingLeft+r.paddingRight,d=r.paddingTop+r.paddingBottom,e=r.marginLeft+r.marginRight,u=r.marginTop+r.marginBottom,p=r.borderLeftWidth+r.borderRightWidth,h=r.borderTopWidth+r.borderBottomWidth,s=s&&v,f=m(t.width);return!1!==f&&(r.width=f+(s?0:c+p)),!1!==(f=m(t.height))&&(r.height=f+(s?0:d+h)),r.innerWidth=r.width-(c+p),r.innerHeight=r.height-(d+h),r.outerWidth=r.width+e,r.outerHeight=r.height+u,r}}var v,t="undefined"==typeof console?function(){}:function(e){console.error(e)},b=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],w=b.length,_=!1;return y}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()}(window,function(){"use strict";var i=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i]+"MatchesSelector";if(e[n])return n}}();return function(e,t){return e[i](t)}}),function(t,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("desandro-matches-selector")):t.fizzyUIUtils=i(t,t.matchesSelector)}(window,function(i,s){var l={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},t=Array.prototype.slice,c=(l.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?t.call(e):[e]},l.removeFrom=function(e,t){-1!=(t=e.indexOf(t))&&e.splice(t,1)},l.getParent=function(e,t){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,s(e,t))return e},l.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.filterFindElements=function(e,n){e=l.makeArray(e);var r=[];return e.forEach(function(e){if(e instanceof HTMLElement)if(n){s(e,n)&&r.push(e);for(var t=e.querySelectorAll(n),i=0;i<t.length;i++)r.push(t[i])}else r.push(e)}),r},l.debounceMethod=function(e,t,n){n=n||100;var r=e.prototype[t],s=t+"Timeout";e.prototype[t]=function(){var e=this[s],t=(clearTimeout(e),arguments),i=this;this[s]=setTimeout(function(){r.apply(i,t),delete i[s]},n)}},l.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},l.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(a,o){l.docReady(function(){var n="data-"+(t=l.toDashed(o)),e=document.querySelectorAll("["+n+"]"),t=document.querySelectorAll(".js-"+t),e=l.makeArray(e).concat(l.makeArray(t)),r=n+"-options",s=i.jQuery;e.forEach(function(e){var t,i=e.getAttribute(n)||e.getAttribute(r);try{t=i&&JSON.parse(i)}catch(t){return void(c&&c.error("Error parsing "+n+" on "+e.className+": "+t))}i=new a(e,t),s&&s.data(e,o,i)})})},l}),function(e,t){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("get-size")):(e.Outlayer={},e.Outlayer.Item=t(e.EvEmitter,e.getSize))}(window,function(e,t){"use strict";function i(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var n="string"==typeof(r=document.documentElement.style).transition?"transition":"WebkitTransition",r="string"==typeof r.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],a={transform:r,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"},o=((e=i.prototype=Object.create(e.prototype)).constructor=i,e._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},e.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},e.getSize=function(){this.size=t(this.element)},e.css=function(e){var t,i=this.element.style;for(t in e)i[a[t]||t]=e[t]},e.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=e[t?"left":"right"],e=e[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(e),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=e.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=t?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},e.layoutPosition=function(){var e=this.layout.size,t={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),r=i?"right":"left",s=this.position.x+e[i?"paddingLeft":"paddingRight"],i=(t[i?"left":"right"]=this.getXValue(s),t[r]="",n?"paddingTop":"paddingBottom"),s=n?"bottom":"top",r=this.position.y+e[i];t[n?"top":"bottom"]=this.getYValue(r),t[s]="",this.css(t),this.emitEvent("layout",[this])},e.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},e.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},e._transitionTo=function(e,t){this.getPosition();var i=this.position.x,n=this.position.y,r=e==this.position.x&&t==this.position.y;this.setPosition(e,t),r&&!this.isTransitioning?this.layoutPosition():((r={}).transform=this.getTranslate(e-i,t-n),this.transition({to:r,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},e.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(this.layout._getOption("originTop")?t:-t)+"px, 0)"},e.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},e.moveTo=e._transitionTo,e.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},e._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},e.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t,i=this._transn;for(t in e.onTransitionEnd)i.onEnd[t]=e.onTransitionEnd[t];for(t in e.to)i.ingProperties[t]=!0,e.isCleaning&&(i.clean[t]=!0);e.from&&(this.css(e.from),this.element.offsetHeight),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)},"opacity,"+r.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})),l=(e.enableTransition=function(){var e;this.isTransitioning||(e=this.layout.options.transitionDuration,this.css({transitionProperty:o,transitionDuration:"number"==typeof e?e+"ms":e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1))},e.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},e.onotransitionend=function(e){this.ontransitionend(e)},{"-webkit-transform":"transform"}),c=(e.ontransitionend=function(e){var t,i;e.target===this.element&&(t=this._transn,i=l[e.propertyName]||e.propertyName,delete t.ingProperties[i],function(){for(var e in t.ingProperties)return;return 1}()&&this.disableTransition(),i in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[i]),i in t.onEnd&&(t.onEnd[i].call(this),delete t.onEnd[i]),this.emitEvent("transitionEnd",[this]))},e.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},e._removeStyles=function(e){var t,i={};for(t in e)i[t]="";this.css(i)},{transitionProperty:"",transitionDuration:"",transitionDelay:""});return e.removeTransitionStyles=function(){this.css(c)},e.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},e.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},e.remove=function(){return n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},e.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},e.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},e.getHideRevealTransitionEndProperty=function(e){if((e=this.layout.options[e]).opacity)return"opacity";for(var t in e)return t},e.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},e.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},e.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(r,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(e,t,i,n){return s(r,e,t,i,n)}):"object"==typeof module&&module.exports?module.exports=s(r,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):r.Outlayer=s(r,r.EvEmitter,r.getSize,r.fizzyUIUtils,r.Outlayer.Item)}(window,function(e,t,r,n,s){"use strict";function a(e,t){var i=n.getQueryElement(e);i?(this.element=i,c&&(this.$element=c(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t),t=++d,this.element.outlayerGUID=t,(u[t]=this)._create(),this._getOption("initLayout")&&this.layout()):l&&l.error("Bad element for "+this.constructor.namespace+": "+(i||e))}function o(e){function t(){e.apply(this,arguments)}return(t.prototype=Object.create(e.prototype)).constructor=t}function i(){}var l=e.console,c=e.jQuery,d=0,u={},p=(a.namespace="outlayer",a.Item=s,a.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},a.prototype),h=(n.extend(p,t.prototype),p.option=function(e){n.extend(this.options,e)},p._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},a.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},p._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},p.reloadItems=function(){this.items=this._itemize(this.element.children)},p._itemize=function(e){for(var t=this._filterFindItemElements(e),i=this.constructor.Item,n=[],r=0;r<t.length;r++){var s=new i(t[r],this);n.push(s)}return n},p._filterFindItemElements=function(e){return n.filterFindElements(e,this.options.itemSelector)},p.getItemElements=function(){return this.items.map(function(e){return e.element})},p.layout=function(){this._resetLayout(),this._manageStamps();var e=void 0!==(e=this._getOption("layoutInstant"))?e:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},p._init=p.layout,p._resetLayout=function(){this.getSize()},p.getSize=function(){this.size=r(this.element)},p._getMeasurement=function(e,t){var i,n=this.options[e];n?("string"==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this[e]=i?r(i)[t]:n):this[e]=0},p.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},p._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},p._layoutItems=function(e,i){var n;this._emitCompleteOnItems("layout",e),e&&e.length&&(n=[],e.forEach(function(e){var t=this._getItemLayoutPosition(e);t.item=e,t.isInstant=i||e.isLayoutInstant,n.push(t)},this),this._processLayoutQueue(n))},p._getItemLayoutPosition=function(){return{x:0,y:0}},p._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},p.updateStagger=function(){var e,t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger="number"==typeof t?t:(e=(t=t.match(/(^\d*\.?\d*)(\w*)/))&&t[1],t=t&&t[2],e.length?parseFloat(e)*(h[t]||1):0),this.stagger)},p._positionItem=function(e,t,i,n,r){n?e.goTo(t,i):(e.stagger(r*this.stagger),e.moveTo(t,i))},p._postLayout=function(){this.resizeContainer()},p.resizeContainer=function(){var e;this._getOption("resizeContainer")&&(e=this._getContainerSize())&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))},p._getContainerSize=i,p._setContainerMeasure=function(e,t){var i;void 0!==e&&((i=this.size).isBorderBox&&(e+=t?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px")},p._emitCompleteOnItems=function(t,e){function i(){s.dispatchEvent(t+"Complete",null,[e])}function n(){++r==a&&i()}var r,s=this,a=e.length;e&&a?(r=0,e.forEach(function(e){e.once(t,n)})):i()},p.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;this.emitEvent(e,n),c&&(this.$element=this.$element||c(this.element),t?((n=c.Event(t)).type=e,this.$element.trigger(n,i)):this.$element.trigger(e,i))},p.ignore=function(e){(e=this.getItem(e))&&(e.isIgnored=!0)},p.unignore=function(e){(e=this.getItem(e))&&delete e.isIgnored},p.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},p.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){n.removeFrom(this.stamps,e),this.unignore(e)},this)},p._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),n.makeArray(e)},p._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},p._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},p._manageStamp=i,p._getElementOffset=function(e){var t=e.getBoundingClientRect(),i=this._boundingRect,e=r(e);return{left:t.left-i.left-e.marginLeft,top:t.top-i.top-e.marginTop,right:i.right-t.right-e.marginRight,bottom:i.bottom-t.bottom-e.marginBottom}},p.handleEvent=n.handleEvent,p.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},p.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},p.onresize=function(){this.resize()},n.debounceMethod(a,"onresize",100),p.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},p.needsResizeLayout=function(){var e=r(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},p.addItems=function(e){return(e=this._itemize(e)).length&&(this.items=this.items.concat(e)),e},p.appended=function(e){(e=this.addItems(e)).length&&(this.layoutItems(e,!0),this.reveal(e))},p.prepended=function(e){var t;(e=this._itemize(e)).length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},p.reveal=function(e){var i;this._emitCompleteOnItems("reveal",e),e&&e.length&&(i=this.updateStagger(),e.forEach(function(e,t){e.stagger(t*i),e.reveal()}))},p.hide=function(e){var i;this._emitCompleteOnItems("hide",e),e&&e.length&&(i=this.updateStagger(),e.forEach(function(e,t){e.stagger(t*i),e.hide()}))},p.revealItemElements=function(e){e=this.getItems(e),this.reveal(e)},p.hideItemElements=function(e){e=this.getItems(e),this.hide(e)},p.getItem=function(e){for(var t=0;t<this.items.length;t++){var i=this.items[t];if(i.element==e)return i}},p.getItems=function(e){e=n.makeArray(e);var t=[];return e.forEach(function(e){(e=this.getItem(e))&&t.push(e)},this),t},p.remove=function(e){e=this.getItems(e),this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(e){e.remove(),n.removeFrom(this.items,e)},this)},p.destroy=function(){(e=this.element.style).height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete u[e],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},a.data=function(e){return(e=(e=n.getQueryElement(e))&&e.outlayerGUID)&&u[e]},a.create=function(e,t){var i=o(a);return i.defaults=n.extend({},a.defaults),n.extend(i.defaults,t),i.compatOptions=n.extend({},a.compatOptions),i.namespace=e,i.data=a.data,i.Item=o(s),n.htmlInit(i,e),c&&c.bridget&&c.bridget(e,i),i},{ms:1,s:1e3});return a.Item=s,a}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.Item=t(e.Outlayer))}(window,function(e){"use strict";function t(){e.Item.apply(this,arguments)}var i=t.prototype=Object.create(e.Item.prototype),n=i._create,r=(i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var e,t=this.layout.options.getSortData,i=this.layout._sorters;for(e in t){var n=i[e];this.sortData[e]=n(this.element,this)}}},i.destroy);return i.destroy=function(){r.apply(this,arguments),this.css({display:""})},t}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],t):"object"==typeof module&&module.exports?module.exports=t(require("get-size"),require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.LayoutMode=t(e.getSize,e.Outlayer))}(window,function(t,i){"use strict";function n(e){(this.isotope=e)&&(this.options=e.options[this.namespace],this.element=e.element,this.items=e.filteredItems,this.size=e.size)}var r=n.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(e){r[e]=function(){return i.prototype[e].apply(this.isotope,arguments)}}),r.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},r._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},r.getColumnWidth=function(){this.getSegmentSize("column","Width")},r.getRowHeight=function(){this.getSegmentSize("row","Height")},r.getSegmentSize=function(e,t){var i,e=e+t,n="outer"+t;this._getMeasurement(e,n),this[e]||(i=this.getFirstItemSize(),this[e]=i&&i[n]||this.isotope.size["inner"+t])},r.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},r.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},r.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(e,t){function i(){n.apply(this,arguments)}return(i.prototype=Object.create(r)).constructor=i,t&&(i.options=t),n.modes[i.prototype.namespace=e]=i},n}),function(e,t){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer"),require("get-size")):e.Masonry=t(e.Outlayer,e.getSize)}(window,function(e,o){(e=e.create("masonry")).compatOptions.fitWidth="isFitWidth";var t=e.prototype;return t._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},t.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(e=(e=this.items[0])&&e.element,this.columnWidth=e&&o(e).outerWidth||this.containerWidth);var e=this.columnWidth+=this.gutter,t=(i=this.containerWidth+this.gutter)/e,i=e-i%e,t=Math[i&&i<1?"round":"floor"](t);this.cols=Math.max(t,1)},t.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,e=o(e);this.containerWidth=e&&e.innerWidth},t._getItemLayoutPosition=function(e){e.getSize();for(var t=e.size.outerWidth%this.columnWidth,t=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth),t=Math.min(t,this.cols),i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](t,e),n={x:this.columnWidth*i.col,y:i.y},r=i.y+e.size.outerHeight,s=t+i.col,a=i.col;a<s;a++)this.colYs[a]=r;return n},t._getTopColPosition=function(e){var e=this._getTopColGroup(e),t=Math.min.apply(Math,e);return{col:e.indexOf(t),y:t}},t._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],i=this.cols+1-e,n=0;n<i;n++)t[n]=this._getColGroupY(n,e);return t},t._getColGroupY=function(e,t){return t<2?this.colYs[e]:(e=this.colYs.slice(e,e+t),Math.max.apply(Math,e))},t._getHorizontalColPosition=function(e,t){var i=this.horizontalColIndex%this.cols,i=1<e&&i+e>this.cols?0:i,t=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=t?i+e:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,e)}},t._manageStamp=function(e){var t=o(e),e=this._getElementOffset(e),i=(n=this._getOption("originLeft")?e.left:e.right)+t.outerWidth,n=Math.floor(n/this.columnWidth),n=Math.max(0,n),r=Math.floor(i/this.columnWidth);r-=i%this.columnWidth?0:1;for(var r=Math.min(this.cols-1,r),s=(this._getOption("originTop")?e.top:e.bottom)+t.outerHeight,a=n;a<=r;a++)this.colYs[a]=Math.max(s,this.colYs[a])},t._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},t._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},t.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},e}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],t):"object"==typeof module&&module.exports?module.exports=t(require("../layout-mode"),require("masonry-layout")):t(e.Isotope.LayoutMode,e.Masonry)}(window,function(e,t){"use strict";var i,n=(e=e.create("masonry")).prototype,r={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(i in t.prototype)r[i]||(n[i]=t.prototype[i]);var s=n.measureColumns,a=(n.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)},n._getOption);return n._getOption=function(e){return"fitWidth"==e?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},e}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],t):"object"==typeof exports?module.exports=t(require("../layout-mode")):t(e.Isotope.LayoutMode)}(window,function(e){"use strict";var t=(e=e.create("fitRows")).prototype;return t._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},t._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter,i=(0!==this.x&&t+this.x>i&&(this.x=0,this.y=this.maxY),{x:this.x,y:this.y});return this.maxY=Math.max(this.maxY,this.y+e.size.outerHeight),this.x+=t,i},t._getContainerSize=function(){return{height:this.maxY}},e}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],t):"object"==typeof module&&module.exports?module.exports=t(require("../layout-mode")):t(e.Isotope.LayoutMode)}(window,function(e){"use strict";var t=(e=e.create("vertical",{horizontalAlignment:0})).prototype;return t._resetLayout=function(){this.y=0},t._getItemLayoutPosition=function(e){e.getSize();var t=(this.isotope.size.innerWidth-e.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=e.size.outerHeight,{x:t,y:i}},t._getContainerSize=function(){return{height:this.y}},e}),function(a,o){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(e,t,i,n,r,s){return o(a,e,t,i,n,r,s)}):"object"==typeof module&&module.exports?module.exports=o(a,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):a.Isotope=o(a,a.Outlayer,a.getSize,a.matchesSelector,a.fizzyUIUtils,a.Isotope.Item,a.Isotope.LayoutMode)}(window,function(e,i,t,n,s,r,a){var o=e.jQuery,l=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s+|\s+$/g,"")},c=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});c.Item=r,c.LayoutMode=a;(e=c.prototype)._create=function(){for(var e in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],a.modes)this._initLayoutMode(e)},e.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},e._itemize=function(){for(var e=i.prototype._itemize.apply(this,arguments),t=0;t<e.length;t++)e[t].id=this.itemGUID++;return this._updateItemsSortData(e),e},e._initLayoutMode=function(e){var t=a.modes[e],i=this.options[e]||{};this.options[e]=t.options?s.extend(t.options,i):i,this.modes[e]=new t(this)},e.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},e._layout=function(){var e=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,e),this._isLayoutInited=!0},e.arrange=function(e){this.option(e),this._getIsInstant(),e=this._filter(this.items),this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},e._init=e.arrange,e._hideReveal=function(e){this.reveal(e.needReveal),this.hide(e.needHide)},e._getIsInstant=function(){var e=void 0!==(e=this._getOption("layoutInstant"))?e:!this._isLayoutInited;return this._isInstant=e},e._bindArrangeComplete=function(){function e(){t&&i&&n&&r.dispatchEvent("arrangeComplete",null,[r.filteredItems])}var t,i,n,r=this;this.once("layoutComplete",function(){t=!0,e()}),this.once("hideComplete",function(){i=!0,e()}),this.once("revealComplete",function(){n=!0,e()})},e._filter=function(e){for(var t=this.options.filter,i=[],n=[],r=[],s=this._getFilterTest(t||"*"),a=0;a<e.length;a++){var o,l=e[a];l.isIgnored||((o=s(l))&&i.push(l),o&&l.isHidden?n.push(l):o||l.isHidden||r.push(l))}return{matches:i,needReveal:n,needHide:r}},e._getFilterTest=function(t){return o&&this.options.isJQueryFiltering?function(e){return o(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return n(e.element,t)}},e.updateSortData=function(e){e=e?(e=s.makeArray(e),this.getItems(e)):this.items,this._getSorters(),this._updateItemsSortData(e)},e._getSorters=function(){var e,t=this.options.getSortData;for(e in t){var i=t[e];this._sorters[e]=d(i)}},e._updateItemsSortData=function(e){for(var t=e&&e.length,i=0;t&&i<t;i++)e[i].updateSortData()};var d=function(e){var t,i,n,r,s,a;return"string"!=typeof e?e:(i=(i=(t=(e=l(e).split(" "))[0]).match(/^\[(.+)\]$/))&&i[1],a=t,n=(s=i)?function(e){return e.getAttribute(s)}:function(e){return(e=e.querySelector(a))&&e.textContent},(r=c.sortDataParsers[e[1]])?function(e){return e&&r(n(e))}:function(e){return e&&n(e)})},u=(c.sortDataParsers={parseInt:function(e){return parseInt(e,10)},parseFloat:function(e){return parseFloat(e)}},e._sort=function(){var e,a,o;this.options.sortBy&&(e=s.makeArray(this.options.sortBy),this._getIsSameSortBy(e)||(this.sortHistory=e.concat(this.sortHistory)),a=this.sortHistory,o=this.options.sortAscending,this.filteredItems.sort(function(e,t){for(var i=0;i<a.length;i++){var n=a[i],r=e.sortData[n],s=t.sortData[n];if(s<r||r<s)return(s<r?1:-1)*((void 0!==o[n]?o[n]:o)?1:-1)}return 0}))},e._getIsSameSortBy=function(e){for(var t=0;t<e.length;t++)if(e[t]!=this.sortHistory[t])return!1;return!0},e._mode=function(){var e=this.options.layoutMode,t=this.modes[e];if(t)return t.options=this.options[e],t;throw new Error("No layout mode: "+e)},e._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},e._getItemLayoutPosition=function(e){return this._mode()._getItemLayoutPosition(e)},e._manageStamp=function(e){this._mode()._manageStamp(e)},e._getContainerSize=function(){return this._mode()._getContainerSize()},e.needsResizeLayout=function(){return this._mode().needsResizeLayout()},e.appended=function(e){(e=this.addItems(e)).length&&(e=this._filterRevealAdded(e),this.filteredItems=this.filteredItems.concat(e))},e.prepended=function(e){var t;(e=this._itemize(e)).length&&(this._resetLayout(),this._manageStamps(),t=this._filterRevealAdded(e),this.layoutItems(this.filteredItems),this.filteredItems=t.concat(this.filteredItems),this.items=e.concat(this.items))},e._filterRevealAdded=function(e){return e=this._filter(e),this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},e.insert=function(e){var t=this.addItems(e);if(t.length){for(var i,n=t.length,r=0;r<n;r++)i=t[r],this.element.appendChild(i.element);for(e=this._filter(t).matches,r=0;r<n;r++)t[r].isLayoutInstant=!0;for(this.arrange(),r=0;r<n;r++)delete t[r].isLayoutInstant;this.reveal(e)}},e.remove);return e.remove=function(e){e=s.makeArray(e);var t=this.getItems(e);u.call(this,e);for(var i=t&&t.length,n=0;i&&n<i;n++){var r=t[n];s.removeFrom(this.filteredItems,r)}},e.shuffle=function(){for(var e=0;e<this.items.length;e++)this.items[e].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},e._noTransition=function(e,t){var i=this.options.transitionDuration,e=(this.options.transitionDuration=0,e.apply(this,t));return this.options.transitionDuration=i,e},e.getFilteredItemElements=function(){return this.filteredItems.map(function(e){return e.element})},c}),function(x){x.fn.pajinate=function(o){var l,c,d,u,p,h,f="current_page",m="items_per_page",g=(o=x.extend({item_container_id:".content",items_per_page:10,nav_panel_id:".page_navigation",nav_info_id:".info_text",num_page_links_to_display:20,start_page:0,wrap_around:!1,nav_label_first:"First",nav_label_prev:"Prev",nav_label_next:"Next",nav_label_last:"Last",nav_order:["first","prev","num","next","last"],nav_label_info:"Showing {0}-{1} of {2} results",show_first_last:!0,abort_on_small_lists:!1,jquery_ui:!1,jquery_ui_active:"ui-state-highlight",jquery_ui_default:"ui-state-default",jquery_ui_disabled:"ui-state-disabled"},o)).jquery_ui?o.jquery_ui_default:"",y=o.jquery_ui?o.jquery_ui_active:"",e=o.jquery_ui?o.jquery_ui_disabled:"";return this.each(function(){if(d=x(this),c=x(this).find(o.item_container_id),u=d.find(o.item_container_id).children(),o.abort_on_small_lists&&o.items_per_page>=u.size())return d;(l=d).data(f,0),l.data(m,o.items_per_page);for(var e=c.children().length,t=Math.ceil(e/o.items_per_page),i=o.show_first_last?'<li class="page-item first_link '+g+'"><a class="page-link" href="#">'+o.nav_label_first+"</a></li>":"",n=o.show_first_last?'<li class="page-item last_link '+g+'"><a class="page-link" href="#">'+o.nav_label_last+"</a></li>":"",r="",s=0;s<o.nav_order.length;s++)switch(o.nav_order[s]){case"first":r+=i;break;case"last":r+=n;break;case"next":r+='<li class="page-item next_link '+g+'"><a class="page-link" href="#">'+o.nav_label_next+"</a></li>";break;case"prev":r+='<li class="page-item previous_link '+g+'"><a class="page-link" href="#">'+o.nav_label_prev+"</a></li>";break;case"num":r+='<li class="page-item disabled ellipse less"><a class="page-link" href="#">...</a></li>';for(var a=0;a<t;)r+='<li class="page-item page_link '+g+'" longdesc="'+a+'"><a class="page-link" href="#">'+(a+1)+"</a></li>",a++;r+='<li class="page-item disabled ellipse more"><a class="page-link" href="#">...</a></li>'}(p=d.find(o.nav_panel_id)).html(r).each(function(){x(this).find(".page_link:first").addClass("first"),x(this).find(".page_link:last").addClass("last")}),p.children(".ellipse").hide(),p.find(".previous_link").next().next().addClass("active "+y),u.hide(),u.slice(0,l.data(m)).show(),h=d.find(o.nav_panel_id+":first").children(".page_link").length,o.num_page_links_to_display=Math.min(o.num_page_links_to_display,h),p.children(".page_link").hide(),p.each(function(){x(this).children(".page_link").slice(0,o.num_page_links_to_display).show()}),d.find(".first_link").click(function(e){e.preventDefault(),w(x(this),0),v(0)}),d.find(".last_link").click(function(e){e.preventDefault(),e=h-1,b(x(this),e),v(e)}),d.find(".previous_link").click(function(e){e.preventDefault(),e=x(this),new_page=parseInt(l.data(f))-1,1==x(e).siblings(".active").prev(".page_link").length?(w(e,new_page),v(new_page)):o.wrap_around&&v(h-1)}),d.find(".next_link").click(function(e){e.preventDefault(),e=x(this),new_page=parseInt(l.data(f))+1,1==x(e).siblings(".active").next(".page_link").length?(b(e,new_page),v(new_page)):o.wrap_around&&v(0)}),d.find(".page_link").click(function(e){e.preventDefault(),v(x(this).attr("longdesc"))}),v(parseInt(o.start_page)),o.wrap_around||_()});function v(e){e=parseInt(e,10);var t=parseInt(l.data(m));start_from=e*t,end_on=start_from+t;(t=u.hide().slice(start_from,end_on)).fadeIn(700),d.find(o.nav_panel_id).children(".page_link[longdesc="+e+"]").addClass("active "+y).siblings(".active").removeClass("active "+y),l.data(f,e);var i=parseInt(l.data(f)+1),n=c.children().length,n=Math.ceil(n/o.items_per_page);d.find(o.nav_info_id).html(o.nav_label_info.replace("{0}",start_from+1).replace("{1}",start_from+t.length).replace("{2}",u.length).replace("{3}",i).replace("{4}",n)),_(),void 0!==o.onPageDisplayed&&o.onPageDisplayed.call(this,e+1)}function b(e,t){var i=t;"none"==x(e).siblings(".active").siblings(".page_link[longdesc="+i+"]").css("display")&&p.each(function(){x(this).children(".page_link").hide().slice(parseInt(i-o.num_page_links_to_display+1),i+1).show()})}function w(e,t){var i=t;"none"==x(e).siblings(".active").siblings(".page_link[longdesc="+i+"]").css("display")&&p.each(function(){x(this).children(".page_link").hide().slice(i,i+parseInt(o.num_page_links_to_display)).show()})}function _(){p.children(".last").hasClass("active")?p.children(".next_link").add(".last_link").addClass("no_more "+e):p.children(".next_link").add(".last_link").removeClass("no_more "+e),p.children(".first").hasClass("active")?p.children(".previous_link").add(".first_link").addClass("no_more "+e):p.children(".previous_link").add(".first_link").removeClass("no_more "+e)}}}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).LazyLoad=t()}(this,function(){"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function a(e){return t({},K,e)}function e(e,t){var i,n="LazyLoad::Initialized",t=new e(t);try{i=new CustomEvent(n,{detail:{instance:t}})}catch(e){(i=document.createEvent("CustomEvent")).initCustomEvent(n,!1,!1,{instance:t})}window.dispatchEvent(i)}function l(e,t){return e.getAttribute(ie+t)}function c(e){return b(e)===te}function d(e){return e.llTempImage}function o(e,t){e&&(e.toLoadCount=t)}function Y(e){for(var t,i=[],n=0;t=e.children[n];n+=1)"SOURCE"===t.tagName&&i.push(t);return i}function z(e,t){Y(e).forEach(t)}function N(e){delete e[g]}function i(t,e){var i;L(t)||(i={},e.forEach(function(e){i[e]=t.getAttribute(e)}),t[g]=i)}function u(n,e){var r;L(n)&&(r=ae(n),e.forEach(function(e){var t,i=n;(t=r[e])?i.setAttribute(e,t):i.removeAttribute(e)}))}function F(e,t,i){S(e,t.class_applied),w(e,ee),i&&(t.unobserve_completed&&C(e,t),T(t.callback_applied,e,i))}function B(e,t,i){S(e,t.class_loading),w(e,y),i&&(P(i,1),T(t.callback_loading,e,i))}function n(e,t,i){i&&e.setAttribute(t,i)}function q(e,t){n(e,"sizes",l(e,t.data_sizes)),n(e,s,l(e,t.data_srcset)),n(e,m,l(e,t.data_src))}function V(e,t){!t||0<t.loadingCount||0<t.toLoadCount||T(e.callback_finish,t)}function R(e,t,i){e.addEventListener(t,i),e.llEvLisnrs[t]=i}function Q(e,t,i){delete e.llTempImage,P(i,-1),i&&--i.toLoadCount,k(e,t.class_loading),t.unobserve_completed&&C(e,i)}function p(s,a,o){var e,l=d(s)||s;j(l)||(j(e=l)||(e.llEvLisnrs={}),R(e,"VIDEO"===e.tagName?"loadeddata":"load",function(e){var t=s,i=a,n=o,r=c(t);Q(t,i,n),S(t,i.class_loaded),w(t,"loaded"),T(i.callback_loaded,t,n),r||V(i,n),I(l)}),R(e,"error",function(e){var t=s,i=a,n=o,r=c(t);Q(t,i,n),S(t,i.class_error),w(t,v),T(i.callback_error,t,n),i.restore_on_error&&u(t,M),r||V(i,n),I(l)}))}function H(e){return e.use_native&&"loading"in HTMLImageElement.prototype}function W(e){return Array.prototype.slice.call(e)}function h(e){return e.container.querySelectorAll(e.elements_selector)}function $(e){return b(e)===v}function U(e,t){return W(e=e||h(t)).filter(x)}function r(e,t){var i,n,r,s,e=a(e);this._settings=e,this.loadingCount=0,r=e,s=this,X&&!H(r)&&(s._observer=new IntersectionObserver(function(e){var c,d;c=r,d=s,e.forEach(function(e){return e.isIntersecting||0<e.intersectionRatio?(r=e.target,s=e,a=c,o=d,l=0<=ne.indexOf(b(r)),w(r,"entered"),S(r,a.class_entered),k(r,a.class_exited),a.unobserve_entered&&C(r,o),T(a.callback_enter,r,s,o),void(l||O(r,a,o))):(s=e.target,l=e,r=c,a=d,void(x(s)||(S(s,r.class_exited),o=s,e=l,i=a,(t=r).cancel_on_exit&&b(o)===y&&"IMG"===o.tagName&&(I(o),E(n=o,function(e){de(e)}),de(n),ue(o),k(o,t.class_loading),P(i,-1),_(o),T(t.callback_cancel,o,e,i)),T(r.callback_exit,s,l,a))));var t,i,n,r,s,a,o,l})},{root:r.container===document?null:r.container,rootMargin:r.thresholds||r.threshold+"px"})),i=e,n=this,f&&(n._onlineHandler=function(){var t,e=n;W(h(t=i)).filter($).forEach(function(e){k(e,t.class_error),_(e)}),e.update()},window.addEventListener("online",n._onlineHandler)),this.update(t)}var f="undefined"!=typeof window,G=f&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),X=f&&"IntersectionObserver"in window,Z=f&&"classList"in document.createElement("p"),J=f&&1<window.devicePixelRatio,K={elements_selector:".lazy",container:G||f?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},m="src",s="srcset",g="llOriginalAttrs",y="loading",ee="applied",v="error",te="native",ie="data-",b=function(e){return l(e,"ll-status")},w=function(e,t){var i="data-ll-status";null!==t?e.setAttribute(i,t):e.removeAttribute(i)},_=function(e){return w(e,null)},x=function(e){return null===b(e)},ne=[y,"loaded",ee,v],T=function(e,t,i,n){e&&(void 0===n?void 0===i?e(t):e(t,i):e(t,i,n))},S=function(e,t){Z?e.classList.add(t):e.className+=(e.className?" ":"")+t},k=function(e,t){Z?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},C=function(e,t){(t=t&&t._observer)&&t.unobserve(e)},P=function(e,t){e&&(e.loadingCount+=t)},E=function(e,t){(e=e.parentNode)&&"PICTURE"===e.tagName&&Y(e).forEach(t)},A=[m],re=[m,"poster"],M=[m,s,"sizes"],se=["data"],L=function(e){return!!e[g]},ae=function(e){return e[g]},oe={IMG:function(e,t){E(e,function(e){i(e,M),q(e,t)}),i(e,M),q(e,t)},IFRAME:function(e,t){i(e,A),n(e,m,l(e,t.data_src))},VIDEO:function(e,t){z(e,function(e){i(e,A),n(e,m,l(e,t.data_src))}),i(e,re),n(e,"poster",l(e,t.data_poster)),n(e,m,l(e,t.data_src)),e.load()},OBJECT:function(e,t){i(e,se),n(e,"data",l(e,t.data_src))}},le=["IMG","IFRAME","VIDEO","OBJECT"],ce=function(e,t,i){e.removeEventListener(t,i)},j=function(e){return!!e.llEvLisnrs},I=function(e){if(j(e)){var t,i=e.llEvLisnrs;for(t in i){var n=i[t];ce(e,t,n)}delete e.llEvLisnrs}},O=function(e,t,i){var n,r,s,a,o;-1<le.indexOf(e.tagName)?(p(s=e,n=t,o=i),(r=oe[s.tagName])&&(r(s,n),B(s,n,o))):(r=t,s=i,(n=e).llTempImage=document.createElement("IMG"),p(n,r,s),L(o=n)||(o[g]={backgroundImage:o.style.backgroundImage}),o=s,e=l(t=n,(i=r).data_bg),a=l(t,i.data_bg_hidpi),(a=J&&a?a:e)&&(t.style.backgroundImage='url("'.concat(a,'")'),d(t).setAttribute(m,a),B(t,i,o)),e=s,i=l(a=n,(t=r).data_bg_multi),o=l(a,t.data_bg_multi_hidpi),(o=J&&o?o:i)&&(a.style.backgroundImage=o,F(a,t,e)),i=s,(t=l(o=n,(a=r).data_bg_set))&&(e=(t=t.split("|")).map(function(e){return"image-set(".concat(e,")")}),o.style.backgroundImage=e.join(),""===o.style.backgroundImage&&(e=t.map(function(e){return"-webkit-image-set(".concat(e,")")}),o.style.backgroundImage=e.join()),F(o,a,i)))},de=function(e){e.removeAttribute(m),e.removeAttribute(s),e.removeAttribute("sizes")},ue=function(e){E(e,function(e){u(e,M)}),u(e,M)},pe={IMG:ue,IFRAME:function(e){u(e,A)},VIDEO:function(e){z(e,function(e){u(e,A)}),u(e,re),e.load()},OBJECT:function(e){u(e,se)}},he=["IMG","IFRAME","VIDEO"];if(r.prototype={update:function(e){var t,i,n,r,s=this._settings;o(this,(e=U(e,s)).length),!G&&X?H(s)?(n=s,r=this,e.forEach(function(e){var t,i;-1!==he.indexOf(e.tagName)&&(t=n,i=r,e.setAttribute("loading","lazy"),p(e,t,i),(i=oe[e.tagName])&&i(e,t),w(e,te))}),o(r,0)):(s=e,(t=this._observer).disconnect(),i=t,s.forEach(function(e){i.observe(e)})):this.loadAll(e)},destroy:function(){this._observer&&this._observer.disconnect(),f&&window.removeEventListener("online",this._onlineHandler),h(this._settings).forEach(function(e){N(e)}),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){var t=this,i=this._settings;U(e,i).forEach(function(e){C(e,t),O(e,i,t)})},restoreAll:function(){var r=this._settings;h(r).forEach(function(e){var t,i,n=r;(i=pe[(t=e).tagName])?i(t):L(i=t)&&(t=ae(i),i.style.backgroundImage=t.backgroundImage),i=n,x(t=e)||c(t)||(k(t,i.class_entered),k(t,i.class_exited),k(t,i.class_applied),k(t,i.class_loading),k(t,i.class_loaded),k(t,i.class_error)),_(e),N(e)})}},r.load=function(e,t){t=a(t),O(e,t)},r.resetStatus=function(e){_(e)},f){var fe=r,D=window.lazyLoadOptions;if(D)if(D.length)for(var me,ge=0;me=D[ge];ge+=1)e(fe,me);else e(fe,D)}return r}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(c){function e(){}function d(e,t){f.ev.on("mfp"+e+".mfp",t)}function u(e,t,i,n){var r=document.createElement("div");return r.className="mfp-"+e,i&&(r.innerHTML=i),n?t&&t.appendChild(r):(r=c(r),t&&r.appendTo(t)),r}function p(e,t){f.ev.triggerHandler("mfp"+e,t),f.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),f.st.callbacks[e])&&f.st.callbacks[e].apply(f,c.isArray(t)?t:[t])}function h(e){return e===t&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=c(f.st.closeMarkup.replace("%title%",f.st.tClose)),f.currTemplate.closeBtn.html(f.st.closeIcon),t=e),f.currTemplate.closeBtn}function s(){c.magnificPopup.instance||((f=new e).init(),c.magnificPopup.instance=f)}var f,n,m,r,g,t,a,o,l,i,y,v,b=!!window.jQuery,w=c(window);function _(){l&&(o.after(l.addClass(a)).detach(),l=null)}function x(){i&&c(document.body).removeClass(i)}function T(){x(),f.req&&f.req.abort()}function S(e){var t;f.currTemplate.iframe&&(t=f.currTemplate.iframe.find("iframe")).length&&(e||(t[0].src="//about:blank"),f.isIE8)&&t.css("display",e?"block":"none")}function k(e){var t=f.items.length;return t-1<e?e-t:e<0?t+e:e}function C(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)}c.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;f.isLowIE=f.isIE8=document.all&&!document.addEventListener,f.isAndroid=/android/gi.test(e),f.isIOS=/iphone|ipad|ipod/gi.test(e),f.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),m=c(document),f.popupsCache={}},open:function(e){if(!1===e.isObj){f.items=e.items.toArray(),f.index=0;for(var t,i=e.items,n=0;n<i.length;n++)if(((t=i[n]).parsed?t.el[0]:t)===e.el[0]){f.index=n;break}}else f.items=c.isArray(e.items)?e.items:[e.items],f.index=e.index||0;if(!f.isOpen){f.types=[],g="",e.mainEl&&e.mainEl.length?f.ev=e.mainEl.eq(0):f.ev=m,e.key?(f.popupsCache[e.key]||(f.popupsCache[e.key]={}),f.currTemplate=f.popupsCache[e.key]):f.currTemplate={},f.st=c.extend(!0,{},c.magnificPopup.defaults,e),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=u("bg").on("click.mfp",function(){f.close()}),f.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(e){f._checkIfClose(e.target)&&f.close()}),f.container=u("container",f.wrap)),f.contentContainer=u("content"),f.st.preloader&&(f.preloader=u("preloader",f.container,f.st.tLoading));for(var r=c.magnificPopup.modules,n=0;n<r.length;n++){var s=(s=r[n]).charAt(0).toUpperCase()+s.slice(1);f["init"+s].call(f)}p("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(d("MarkupParse",function(e,t,i,n){i.close_replaceWith=h(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(h())),f.st.alignTop&&(g+=" mfp-align-top"),f.fixedContentPos?f.wrap.css({overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}):f.wrap.css({top:w.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:m.height(),position:"absolute"}),f.st.enableEscapeKey&&m.on("keyup.mfp",function(e){27===e.keyCode&&f.close()}),w.on("resize.mfp",function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var a=f.wH=w.height(),o={},l=(f.fixedContentPos&&f._hasScrollBar(a)&&(l=f._getScrollbarSize())&&(o.marginRight=l),f.fixedContentPos&&(f.isIE7?c("body, html").css("overflow","hidden"):o.overflow="hidden"),f.st.mainClass);return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),p("BuildControls"),c("html").css(o),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||c(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP("mfp-ready"),f._setFocus()):f.bgOverlay.addClass("mfp-ready"),m.on("focusin.mfp",f._onFocusIn)},16),f.isOpen=!0,f.updateSize(a),p("Open"),e}f.updateItemHTML()},close:function(){f.isOpen&&(p("BeforeClose"),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP("mfp-removing"),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){p("Close");var e="mfp-removing mfp-ready ";f.bgOverlay.detach(),f.wrap.detach(),f.container.empty(),f.st.mainClass&&(e+=f.st.mainClass+" "),f._removeClassFromMFP(e),f.fixedContentPos&&(e={marginRight:""},f.isIE7?c("body, html").css("overflow",""):e.overflow="",c("html").css(e)),m.off("keyup.mfp focusin.mfp"),f.ev.off(".mfp"),f.wrap.attr("class","mfp-wrap").removeAttr("style"),f.bgOverlay.attr("class","mfp-bg"),f.container.attr("class","mfp-container"),!f.st.showCloseBtn||f.st.closeBtnInside&&!0!==f.currTemplate[f.currItem.type]||f.currTemplate.closeBtn&&f.currTemplate.closeBtn.detach(),f.st.autoFocusLast&&f._lastFocusedEl&&c(f._lastFocusedEl).focus(),f.currItem=null,f.content=null,f.currTemplate=null,f.prevHeight=0,p("AfterClose")},updateSize:function(e){var t;f.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,t=window.innerHeight*t,f.wrap.css("height",t),f.wH=t):f.wH=e||w.height(),f.fixedContentPos||f.wrap.css("height",f.wH),p("Resize")},updateItemHTML:function(){var e=f.items[f.index],t=(f.contentContainer.detach(),f.content&&f.content.detach(),(e=e.parsed?e:f.parseEl(f.index)).type),i=(p("BeforeChange",[f.currItem?f.currItem.type:"",t]),f.currItem=e,f.currTemplate[t]||(p("FirstMarkupParse",i=!!f.st[t]&&f.st[t].markup),f.currTemplate[t]=!i||c(i)),r&&r!==e.type&&f.container.removeClass("mfp-"+r+"-holder"),f["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,f.currTemplate[t]));f.appendContent(i,t),e.preloaded=!0,p("Change",e),r=e.type,f.container.prepend(f.contentContainer),p("AfterChange")},appendContent:function(e,t){(f.content=e)?f.st.showCloseBtn&&f.st.closeBtnInside&&!0===f.currTemplate[t]?f.content.find(".mfp-close").length||f.content.append(h()):f.content=e:f.content="",p("BeforeAppend"),f.container.addClass("mfp-"+t+"-holder"),f.contentContainer.append(f.content)},parseEl:function(e){var t,i=f.items[e];if((i=i.tagName?{el:c(i)}:(t=i.type,{data:i,src:i.src})).el){for(var n=f.types,r=0;r<n.length;r++)if(i.el.hasClass("mfp-"+n[r])){t=n[r];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href")),i.srcset=i.el.attr("data-srcset")||"",i.sizes=i.el.attr("data-sizes")||""}return i.type=t||f.st.type||"inline",i.index=e,i.parsed=!0,f.items[e]=i,p("ElementParse",i),f.items[e]},addGroup:function(t,i){function e(e){e.mfpEl=this,f._openClick(e,t,i)}var n="click.magnificPopup";(i=i||{}).mainEl=t,i.items?(i.isObj=!0,t.off(n).on(n,e)):(i.isObj=!1,i.delegate?t.off(n).on(n,i.delegate,e):(i.items=t).off(n).on(n,e))},_openClick:function(e,t,i){if((void 0!==i.midClick?i:c.magnificPopup.defaults).midClick||!(2===e.which||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){var n=(void 0!==i.disableOn?i:c.magnificPopup.defaults).disableOn;if(n)if(c.isFunction(n)){if(!n.call(f))return!0}else if(w.width()<n)return!0;e.type&&(e.preventDefault(),f.isOpen)&&e.stopPropagation(),i.el=c(e.mfpEl),i.delegate&&(i.items=t.find(i.delegate)),f.open(i)}},updateStatus:function(e,t){var i;f.preloader&&(n!==e&&f.container.removeClass("mfp-s-"+n),p("UpdateStatus",i={status:e,text:t=t||"loading"!==e?t:f.st.tLoading}),e=i.status,f.preloader.html(t=i.text),f.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),f.container.addClass("mfp-s-"+e),n=e)},_checkIfClose:function(e){if(!c(e).hasClass("mfp-prevent-close")){var t=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(t&&i)return!0;if(!f.content||c(e).hasClass("mfp-close")||f.preloader&&e===f.preloader[0])return!0;if(e===f.content[0]||c.contains(f.content[0],e)){if(t)return!0}else if(i&&c.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){f.bgOverlay.addClass(e),f.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),f.wrap.removeClass(e)},_hasScrollBar:function(e){return(f.isIE7?m.height():document.body.scrollHeight)>(e||w.height())},_setFocus:function(){(f.st.focus?f.content.find(f.st.focus).eq(0):f.wrap).focus()},_onFocusIn:function(e){if(e.target!==f.wrap[0]&&!c.contains(f.wrap[0],e.target))return f._setFocus(),!1},_parseMarkup:function(r,e,t){var s;t.data&&(e=c.extend(t.data,e)),p("MarkupParse",[r,e,t]),c.each(e,function(e,t){if(void 0===t||!1===t)return!0;var i,n;1<(s=e.split("_")).length?0<(i=r.find(".mfp-"+s[0])).length&&("replaceWith"===(n=s[1])?i[0]!==t[0]&&i.replaceWith(t):"img"===n?i.is("img")?i.attr("src",t):i.replaceWith(c("<img>").attr("src",t).attr("class",i.attr("class"))):i.attr(s[1],t)):r.find(".mfp-"+e).html(t)})},_getScrollbarSize:function(){var e;return void 0===f.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),f.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),f.scrollbarSize}},modules:[],open:function(e,t){return s(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeIcon:"&#215;",closeMarkup:'<button title="%title%" type="button" class="mfp-close"></button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},c.fn.magnificPopup=function(e){s();var t,i,n,r=c(this);return"string"==typeof e?"open"===e?(t=b?r.data("magnificPopup"):r[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=t.items?t.items[i]:(n=r,(n=t.delegate?n.find(t.delegate):n).eq(i)),f._openClick({mfpEl:n},r,t)):f.isOpen&&f[e].apply(f,Array.prototype.slice.call(arguments,1)):(e=c.extend(!0,{},e),b?r.data("magnificPopup",e):r[0].magnificPopup=e,f.addGroup(r,e)),r},c.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push("inline"),d("Close.inline",function(){_()})},getInline:function(e,t){var i,n,r;return _(),e.src?(i=f.st.inline,(n=c(e.src)).length?((r=n[0].parentNode)&&r.tagName&&(o||(a=i.hiddenClass,o=u(a),a="mfp-"+a),l=n.after(o).detach().removeClass(a)),f.updateStatus("ready")):(f.updateStatus("error",i.tNotFound),n=c("<div>")),e.inlineElement=n):(f.updateStatus("ready"),f._parseMarkup(t,{},e),t)}}}),c.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push("ajax"),i=f.st.ajax.cursor,d("Close.ajax",T),d("BeforeChange.ajax",T)},getAjax:function(n){i&&c(document.body).addClass(i),f.updateStatus("loading");var e=c.extend({url:n.src,success:function(e,t,i){p("ParseAjax",e={data:e,xhr:i}),f.appendContent(c(e.data),"ajax"),n.finished=!0,x(),f._setFocus(),setTimeout(function(){f.wrap.addClass("mfp-ready")},16),f.updateStatus("ready"),p("AjaxContentAdded")},error:function(){x(),n.finished=n.loadError=!0,f.updateStatus("error",f.st.ajax.tError.replace("%url%",n.src))}},f.st.ajax.settings);return f.req=c.ajax(e),""}}}),c.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=f.st.image,t=".image";f.types.push("image"),d("Open"+t,function(){"image"===f.currItem.type&&e.cursor&&c(document.body).addClass(e.cursor)}),d("Close"+t,function(){e.cursor&&c(document.body).removeClass(e.cursor),w.off("resize.mfp")}),d("Resize"+t,f.resizeImage),f.isLowIE&&d("AfterChange",f.resizeImage)},resizeImage:function(){var e,t=f.currItem;t&&t.img&&f.st.image.verticalFit&&(e=0,f.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",f.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,y&&clearInterval(y),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden)&&(f.content&&f.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(i){var n=0,r=i.img[0];!function e(t){y&&clearInterval(y),y=setInterval(function(){0<r.naturalWidth?f._onImageHasSize(i):(200<n&&clearInterval(y),3==++n?e(10):40===n?e(50):100===n&&e(500))},t)}(1)},getImage:function(t,e){function i(){t&&(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("error",s.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)}var n,r=0,s=f.st.image,a=e.find(".mfp-img");return a.length&&((n=document.createElement("img")).className="mfp-img",t.el&&t.el.find("img").length&&(n.alt=t.el.find("img").attr("alt")),t.img=c(n).on("load.mfploader",function e(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,p("ImageLoadComplete")):++r<200?setTimeout(e,100):i())}).on("error.mfploader",i),n.src=t.src,n.srcset=t.srcset,n.sizes=t.sizes,a.is("img")&&(t.img=t.img.clone()),0<(n=t.img[0]).naturalWidth?t.hasSize=!0:n.width||(t.hasSize=!1)),f._parseMarkup(e,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=f.st.image.titleSrc;if(t){if(c.isFunction(t))return t.call(f,e);if(e.el)return e.el.attr(t)||""}return""}(t),img_replaceWith:t.img},t),f.resizeImage(),t.hasSize?(y&&clearInterval(y),t.loadError?(e.addClass("mfp-loading"),f.updateStatus("error",s.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),f.findImageSize(t))),e}}}),c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,i,n,r,s,a=f.st.zoom;a.enabled&&f.supportsTransition&&(n=a.duration,r=function(e){var e=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),t="all "+a.duration/1e3+"s "+a.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return i["-webkit-"+n]=i["-moz-"+n]=i["-o-"+n]=i[n]=t,e.css(i),e},s=function(){f.content.css("visibility","visible")},d("BuildControls.zoom",function(){f._allowZoom()&&(clearTimeout(t),f.content.css("visibility","hidden"),(e=f._getItemToZoom())?((i=r(e)).css(f._getOffset()),f.wrap.append(i),t=setTimeout(function(){i.css(f._getOffset(!0)),t=setTimeout(function(){s(),setTimeout(function(){i.remove(),e=i=null,p("ZoomAnimationEnded")},16)},n)},16)):s())}),d("BeforeClose.zoom",function(){if(f._allowZoom()){if(clearTimeout(t),f.st.removalDelay=n,!e){if(!(e=f._getItemToZoom()))return;i=r(e)}i.css(f._getOffset(!0)),f.wrap.append(i),f.content.css("visibility","hidden"),setTimeout(function(){i.css(f._getOffset())},16)}}),d("Close.zoom",function(){f._allowZoom()&&(s(),i&&i.remove(),e=null)}))},_allowZoom:function(){return"image"===f.currItem.type},_getItemToZoom:function(){return!!f.currItem.hasSize&&f.currItem.img},_getOffset:function(e){var t=(e=e?f.currItem.img:f.st.zoom.opener(f.currItem.el||f.currItem)).offset(),i=parseInt(e.css("padding-top"),10),n=parseInt(e.css("padding-bottom"),10),e=(t.top-=c(window).scrollTop()-i,{width:e.width(),height:(b?e.innerHeight():e[0].offsetHeight)-n-i});return(v=void 0===v?void 0!==document.createElement("p").style.MozTransform:v)?e["-moz-transform"]=e.transform="translate("+t.left+"px,"+t.top+"px)":(e.left=t.left,e.top=t.top),e}}}),c.magnificPopup.registerModule("iframe",{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){f.types.push("iframe"),d("BeforeChange",function(e,t,i){t!==i&&("iframe"===t?S():"iframe"===i&&S(!0))}),d("Close.iframe",function(){S()})},getIframe:function(e,t){var i=e.src,n=f.st.iframe,r=(c.each(n.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1}),{});return n.srcAction&&(r[n.srcAction]=i),f._parseMarkup(t,r,e),f.updateStatus("ready"),t}}}),c.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var s=f.st.gallery,e=".mfp-gallery";if(f.direction=!0,!s||!s.enabled)return!1;g+=" mfp-gallery",d("Open"+e,function(){s.navigateByImgClick&&f.wrap.on("click"+e,".mfp-img",function(){if(1<f.items.length)return f.next(),!1}),m.on("keydown"+e,function(e){37===e.keyCode?f.prev():39===e.keyCode&&f.next()})}),d("UpdateStatus"+e,function(e,t){t.text&&(t.text=C(t.text,f.currItem.index,f.items.length))}),d("MarkupParse"+e,function(e,t,i,n){var r=f.items.length;i.counter=1<r?C(s.tCounter,n.index,r):""}),d("BuildControls"+e,function(){var e,t;1<f.items.length&&s.arrows&&!f.arrowLeft&&(t=s.arrowMarkup,e=f.arrowLeft=c(t.replace(/%title%/gi,s.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),t=f.arrowRight=c(t.replace(/%title%/gi,s.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close"),e.click(function(){f.prev()}),t.click(function(){f.next()}),f.container.append(e.add(t)))}),d("Change"+e,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),d("Close"+e,function(){m.off(e),f.wrap.off("click"+e),f.arrowRight=f.arrowLeft=null})},next:function(){f.direction=!0,f.index=k(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=k(f.index-1),f.updateItemHTML()},goTo:function(e){f.direction=e>=f.index,f.index=e,f.updateItemHTML()},preloadNearbyImages:function(){for(var e=f.st.gallery.preload,t=Math.min(e[0],f.items.length),i=Math.min(e[1],f.items.length),n=1;n<=(f.direction?i:t);n++)f._preloadItem(f.index+n);for(n=1;n<=(f.direction?t:i);n++)f._preloadItem(f.index-n)},_preloadItem:function(e){var t;e=k(e),f.items[e].preloaded||(p("LazyLoad",t=(t=f.items[e]).parsed?t:f.parseEl(e)),"image"===t.type&&(t.img=c('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src).attr("srcset",t.srcset).attr("sizes",t.sizes)),t.preloaded=!0)}}}),c.magnificPopup.registerModule("retina",{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var i,n;1<window.devicePixelRatio&&(i=f.st.retina,n=i.ratio,1<(n=isNaN(n)?n():n))&&(d("ImageHasSize.retina",function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),d("ElementParse.retina",function(e,t){t.src=i.replaceSrc(t,n)}))}}}),s()}),function(e,t){"function"==typeof define&&define.amd?define("packery/js/rect",t):"object"==typeof module&&module.exports?module.exports=t():(e.Packery=e.Packery||{},e.Packery.Rect=t())}(window,function(){function o(e){for(var t in o.defaults)this[t]=o.defaults[t];for(t in e)this[t]=e[t]}o.defaults={x:0,y:0,width:0,height:0};var e=o.prototype;return e.contains=function(e){var t=e.width||0,i=e.height||0;return this.x<=e.x&&this.y<=e.y&&this.x+this.width>=e.x+t&&this.y+this.height>=e.y+i},e.overlaps=function(e){var t=this.x+this.width,i=this.y+this.height,n=e.x+e.width,r=e.y+e.height;return this.x<n&&t>e.x&&this.y<r&&i>e.y},e.getMaximalFreeRects=function(e){var t,i,n,r,s,a;return!!this.overlaps(e)&&(i=[],n=this.x+this.width,r=this.y+this.height,s=e.x+e.width,a=e.y+e.height,this.y<e.y&&(t=new o({x:this.x,y:this.y,width:this.width,height:e.y-this.y}),i.push(t)),s<n&&(t=new o({x:s,y:this.y,width:n-s,height:this.height}),i.push(t)),a<r&&(t=new o({x:this.x,y:a,width:this.width,height:r-a}),i.push(t)),this.x<e.x&&(t=new o({x:this.x,y:this.y,width:e.x-this.x,height:this.height}),i.push(t)),i)},e.canFit=function(e){return this.width>=e.width&&this.height>=e.height},o}),function(e,t){"function"==typeof define&&define.amd?define("packery/js/packer",["./rect"],t):"object"==typeof module&&module.exports?module.exports=t(require("./rect")):(e=e.Packery=e.Packery||{}).Packer=t(e.Rect)}(window,function(t){function e(e,t,i){this.width=e||0,this.height=t||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype,n=(i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(e){for(var t=0;t<this.spaces.length;t++){var i=this.spaces[t];if(i.canFit(e)){this.placeInSpace(e,i);break}}},i.columnPack=function(e){for(var t=0;t<this.spaces.length;t++){var i=this.spaces[t];if(i.x<=e.x&&i.x+i.width>=e.x+e.width&&i.height>=e.height-.01){e.y=i.y,this.placed(e);break}}},i.rowPack=function(e){for(var t=0;t<this.spaces.length;t++){var i=this.spaces[t];if(i.y<=e.y&&i.y+i.height>=e.y+e.height&&i.width>=e.width-.01){e.x=i.x,this.placed(e);break}}},i.placeInSpace=function(e,t){e.x=t.x,e.y=t.y,this.placed(e)},i.placed=function(e){for(var t=[],i=0;i<this.spaces.length;i++){var n=this.spaces[i],r=n.getMaximalFreeRects(e);r?t.push.apply(t,r):t.push(n)}this.spaces=t,this.mergeSortSpaces()},i.mergeSortSpaces=function(){e.mergeRects(this.spaces),this.spaces.sort(this.sorter)},i.addSpace=function(e){this.spaces.push(e),this.mergeSortSpaces()},e.mergeRects=function(e){var t=0,i=e[t];e:for(;i;){for(var n=0,r=e[t+n];r;){if(r==i)n++;else{if(r.contains(i)){e.splice(t,1),i=e[t];continue e}i.contains(r)?e.splice(t+n,1):n++}r=e[t+n]}i=e[++t]}return e},{downwardLeftToRight:function(e,t){return e.y-t.y||e.x-t.x},rightwardTopToBottom:function(e,t){return e.x-t.x||e.y-t.y}});return e}),function(e,t){"function"==typeof define&&define.amd?define("packery/js/item",["outlayer/outlayer","./rect"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer"),require("./rect")):e.Packery.Item=t(e.Outlayer,e.Packery.Rect)}(window,function(e,t){function i(){e.Item.apply(this,arguments)}var n="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",r=i.prototype=Object.create(e.Item.prototype),s=r._create,a=(r._create=function(){s.call(this),this.rect=new t},r.moveTo);return r.moveTo=function(e,t){var i=Math.abs(this.position.x-e),n=Math.abs(this.position.y-t);return this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&i<1&&n<1?void this.goTo(e,t):void a.apply(this,arguments)},r.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&n&&(this.element.style[n]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},r.disablePlacing=function(){this.isPlacing=!1},r.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},r.showDropPlaceholder=function(){var e=this.dropPlaceholder;e||((e=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",e.style.position="absolute"),e.style.width=this.size.width+"px",e.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(e)},r.positionDropPlaceholder=function(){this.dropPlaceholder.style[n]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},r.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},i}),function(e,t){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],t):"object"==typeof module&&module.exports?module.exports=t(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):e.Packery=t(e.getSize,e.Outlayer,e.Packery.Rect,e.Packery.Packer,e.Packery.Item)}(window,function(c,e,a,t,i){function n(e,t){return e.position.y-t.position.y||e.position.x-t.position.x}function r(e,t){return e.position.x-t.position.x||e.position.y-t.position.y}a.prototype.canFit=function(e){return this.width>=e.width-1&&this.height>=e.height-1};var s=e.create("packery");s.Item=i;(i=s.prototype)._create=function(){e.prototype._create.call(this),this.packer=new t,this.shiftPacker=new t,this.isEnabled=!0,this.dragItemCount=0;var i=this;this.handleDraggabilly={dragStart:function(){i.itemDragStart(this.element)},dragMove:function(){i.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){i.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,t){t&&i.itemDragStart(e.currentTarget)},drag:function(e,t){t&&i.itemDragMove(e.currentTarget,t.position.left,t.position.top)},stop:function(e,t){t&&i.itemDragEnd(e.currentTarget)}}},i._resetLayout=function(){var e,t,i;this.getSize(),this._getMeasurements(),i=this._getOption("horizontal")?(e=1/0,t=this.size.innerHeight+this.gutter,"rightwardTopToBottom"):(e=this.size.innerWidth+this.gutter,t=1/0,"downwardLeftToRight"),this.packer.width=this.shiftPacker.width=e,this.packer.height=this.shiftPacker.height=t,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},i._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},i._getItemLayoutPosition=function(e){var t;return this._setRectSize(e.element,e.rect),this.isShifting||0<this.dragItemCount?(t=this._getPackMethod(),this.packer[t](e.rect)):this.packer.pack(e.rect),this._setMaxXY(e.rect),e.rect},i.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},i._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},i._setMaxXY=function(e){this.maxX=Math.max(e.x+e.width,this.maxX),this.maxY=Math.max(e.y+e.height,this.maxY)},i._setRectSize=function(e,t){var i=(e=c(e)).outerWidth,e=e.outerHeight;(i||e)&&(i=this._applyGridGutter(i,this.columnWidth),e=this._applyGridGutter(e,this.rowHeight)),t.width=Math.min(i,this.packer.width),t.height=Math.min(e,this.packer.height)},i._applyGridGutter=function(e,t){var i;return t?(i=e%(t+=this.gutter),Math[i&&i<1?"round":"ceil"](e/t)*t):e+this.gutter},i._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},i._manageStamp=function(e){var t=(t=this.getItem(e))&&t.isPlacing?t.rect:(t=this._getElementOffset(e),new a({x:this._getOption("originLeft")?t.left:t.right,y:this._getOption("originTop")?t.top:t.bottom}));this._setRectSize(e,t),this.packer.placed(t),this._setMaxXY(t)},i.sortItemsByPosition=function(){var e=this._getOption("horizontal")?r:n;this.items.sort(e)},i.fit=function(e,t,i){(e=this.getItem(e))&&(this.stamp(e.element),e.enablePlacing(),this.updateShiftTargets(e),t=void 0===t?e.rect.x:t,i=void 0===i?e.rect.y:i,this.shift(e,t,i),this._bindFitEvents(e),e.moveTo(e.rect.x,e.rect.y),this.shiftLayout(),this.unstamp(e.element),this.sortItemsByPosition(),e.disablePlacing())},i._bindFitEvents=function(e){function t(){2==++n&&i.dispatchEvent("fitComplete",null,[e])}var i=this,n=0;e.once("layout",t),this.once("layoutComplete",t)},i.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},i.needsResizeLayout=function(){var e=c(this.element),t=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[t]!=this.size[t]},i.resizeShiftPercentLayout=function(){var i,t,n,e=this._getItemsForLayout(this.items),r=(o=this._getOption("horizontal"))?"y":"x",s=o?"height":"width",a=o?"rowHeight":"columnWidth",o=o?"innerHeight":"innerWidth",l=this[a];(l=l&&l+this.gutter)?(this._getMeasurements(),i=this[a]+this.gutter,e.forEach(function(e){var t=Math.round(e.rect[r]/l);e.rect[r]=t*i})):(t=c(this.element)[o]+this.gutter,n=this.packer[s],e.forEach(function(e){e.rect[r]=e.rect[r]/n*t})),this.shiftLayout()},i.itemDragStart=function(e){this.isEnabled&&(this.stamp(e),e=this.getItem(e))&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))},i.updateShiftTargets=function(e){this.shiftPacker.reset(),this._getBoundingRect();var i=this._getOption("originLeft"),n=this._getOption("originTop"),l=(this.stamps.forEach(function(e){var t=this.getItem(e);t&&t.isPlacing||(t=this._getElementOffset(e),t=new a({x:i?t.left:t.right,y:n?t.top:t.bottom}),this._setRectSize(e,t),this.shiftPacker.placed(t))},this),this._getOption("horizontal")),t=l?"rowHeight":"columnWidth",c=l?"height":"width",d=(this.shiftTargetKeys=[],this.shiftTargets=[],this[t]);if(d=d&&d+this.gutter)for(var t=Math.ceil(e.rect[c]/d),r=Math.floor((this.shiftPacker[c]+this.gutter)/d),u=(r-t)*d,s=0;s<r;s++)this._addShiftTarget(s*d,0,u);else u=this.shiftPacker[c]+this.gutter-e.rect[c],this._addShiftTarget(0,0,u);var t=this._getItemsForLayout(this.items),p=this._getPackMethod();t.forEach(function(e){var t=e.rect,i=(this._setRectSize(e.element,t),this.shiftPacker[p](t),this._addShiftTarget(t.x,t.y,u),l?t.x+t.width:t.x),n=l?t.y:t.y+t.height;if(this._addShiftTarget(i,n,u),d)for(var r=Math.round(t[c]/d),s=1;s<r;s++){var a=l?i:t.x+d*s,o=l?t.y+d*s:n;this._addShiftTarget(a,o,u)}},this)},i._addShiftTarget=function(e,t,i){var n=this._getOption("horizontal")?t:e;0!==n&&i<n||-1!=this.shiftTargetKeys.indexOf(i=e+","+t)||(this.shiftTargetKeys.push(i),this.shiftTargets.push({x:e,y:t}))},i.shift=function(e,t,i){var n,r=1/0,s={x:t,y:i};this.shiftTargets.forEach(function(e){var t,i,i=s.x-e.x,t=s.y-e.y;(i=Math.sqrt(i*i+t*t))<r&&(n=e,r=i)}),e.rect.x=n.x,e.rect.y=n.y},i.itemDragMove=function(e,t,i){function n(){r.shift(s,t,i),s.positionDropPlaceholder(),r.layout()}var r,s=this.isEnabled&&this.getItem(e);s&&(t-=this.size.paddingLeft,i-=this.size.paddingTop,r=this,e=new Date,this._itemDragTime&&e-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=e))},i.itemDragEnd=function(e){function t(){2==++i&&(r.element.classList.remove("is-positioning-post-drag"),r.hideDropPlaceholder(),n.dispatchEvent("dragItemPositioned",null,[r]))}var i,n,r=this.isEnabled&&this.getItem(e);r&&(clearTimeout(this.dragTimeout),r.element.classList.add("is-positioning-post-drag"),i=0,n=this,r.once("layout",t),this.once("layoutComplete",t),r.moveTo(r.rect.x,r.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),r.disablePlacing(),this.unstamp(r.element))},i.bindDraggabillyEvents=function(e){this._bindDraggabillyEvents(e,"on")},i.unbindDraggabillyEvents=function(e){this._bindDraggabillyEvents(e,"off")},i._bindDraggabillyEvents=function(e,t){var i=this.handleDraggabilly;e[t]("dragStart",i.dragStart),e[t]("dragMove",i.dragMove),e[t]("dragEnd",i.dragEnd)},i.bindUIDraggableEvents=function(e){this._bindUIDraggableEvents(e,"on")},i.unbindUIDraggableEvents=function(e){this._bindUIDraggableEvents(e,"off")},i._bindUIDraggableEvents=function(e,t){var i=this.handleUIDraggable;e[t]("dragstart",i.start)[t]("drag",i.drag)[t]("dragstop",i.stop)};var o=i.destroy;return i.destroy=function(){o.apply(this,arguments),this.isEnabled=!1},s.Rect=a,s.Packer=t,s}),function(e,t){"function"==typeof define&&define.amd?define(["isotope-layout/js/layout-mode","packery/js/packery"],t):"object"==typeof module&&module.exports?module.exports=t(require("isotope-layout/js/layout-mode"),require("packery")):t(e.Isotope.LayoutMode,e.Packery)}(window,function(e,t){var i,n=(e=e.create("packery")).prototype,r={_getElementOffset:!0,_getMeasurement:!0};for(i in t.prototype)r[i]||(n[i]=t.prototype[i]);var s=n._resetLayout,a=(n._resetLayout=function(){this.packer=this.packer||new t.Packer,this.shiftPacker=this.shiftPacker||new t.Packer,s.apply(this,arguments)},n._getItemLayoutPosition),o=(n._getItemLayoutPosition=function(e){return e.rect=e.rect||new t.Rect,a.call(this,e)},n.needsResizeLayout),l=(n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():o.call(this)},n._getOption);return n._getOption=function(e){return"horizontal"==e?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:l.apply(this.isotope,arguments)},e}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(i){function a(e,a){function i(){a.scaleColor&&c(),a.trackColor&&l(a.trackColor,a.trackWidth||a.lineWidth,1)}var n,t=document.createElement("canvas"),r=(e.appendChild(t),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(t),t.getContext("2d")),s=(t.width=t.height=a.size,1),o=(1<window.devicePixelRatio&&(s=window.devicePixelRatio,t.style.width=t.style.height=[a.size,"px"].join(""),t.width=t.height=a.size*s,r.scale(s,s)),r.translate(a.size/2,a.size/2),r.rotate((a.rotate/180-.5)*Math.PI),(a.size-a.lineWidth)/2),l=(a.scaleColor&&a.scaleLength&&(o-=a.scaleLength+2),Date.now=Date.now||function(){return+new Date},function(e,t,i){var n=(i=Math.min(Math.max(-1,i||0),1))<=0;r.beginPath(),r.arc(0,0,o,0,2*Math.PI*i,n),r.strokeStyle=e,r.lineWidth=t,r.stroke()}),c=function(){var e,t;r.lineWidth=1,r.fillStyle=a.scaleColor,r.save();for(var i=24;0<i;--i)e=i%6==0?(t=a.scaleLength,0):(t=.6*a.scaleLength,a.scaleLength-t),r.fillRect(-a.size/2+e,0,t,1),r.rotate(Math.PI/12);r.restore()},d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};this.getCanvas=function(){return t},this.getCtx=function(){return r},this.clear=function(){r.clearRect(a.size/-2,a.size/-2,a.size,a.size)},this.draw=function(e){var t;a.scaleColor||a.trackColor?r.getImageData&&r.putImageData?n?r.putImageData(n,0,0):(i(),n=r.getImageData(0,0,a.size*s,a.size*s)):(this.clear(),i()):this.clear(),r.lineCap=a.lineCap,t="function"==typeof a.barColor?a.barColor(e):a.barColor,l(t,a.lineWidth,e/100)}.bind(this),this.animate=function(i,n){var r=Date.now(),s=(a.onStart(i,n),function(){var e=Math.min(Date.now()-r,a.animate.duration),t=a.easing(this,e,i,n-i,a.animate.duration);this.draw(t),a.onStep(i,n,t),e>=a.animate.duration?a.onStop(i,n):d(s)}.bind(this));d(s)}.bind(this)}function n(t,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},onStart:function(e,t){},onStep:function(e,t,i){},onStop:function(e,t){}},r=(n.renderer=a,{}),s=0,e=function(){for(var e in this.el=t,this.options=r,n)n.hasOwnProperty(e)&&(r[e]=(i&&void 0!==i[e]?i:n)[e],"function"==typeof r[e])&&(r[e]=r[e].bind(this));"string"==typeof r.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[r.easing])?r.easing=jQuery.easing[r.easing]:r.easing=n.easing,"number"==typeof r.animate&&(r.animate={duration:r.animate,enabled:!0}),"boolean"!=typeof r.animate||r.animate||(r.animate={duration:1e3,enabled:r.animate}),this.renderer=new r.renderer(t,r),this.renderer.draw(s),t.dataset&&t.dataset.percent?this.update(parseFloat(t.dataset.percent)):t.getAttribute&&t.getAttribute("data-percent")&&this.update(parseFloat(t.getAttribute("data-percent")))}.bind(this);this.update=function(e){return e=parseFloat(e),r.animate.enabled?this.renderer.animate(s,e):this.renderer.draw(e),s=e,this}.bind(this),this.disableAnimation=function(){return r.animate.enabled=!1,this},this.enableAnimation=function(){return r.animate.enabled=!0,this},e()}i.fn.easyPieChart=function(t){return this.each(function(){var e;i.data(this,"easyPieChart")||(e=i.extend({},t,i(this).data()),i.data(this,"easyPieChart",new n(this,e)))})}});var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(l){var e,i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},M={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof L?new L(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function i(e,n){var r,t;switch(n=n||{},M.util.type(e)){case"Object":if(t=M.util.objId(e),n[t])return n[t];for(var s in r={},n[t]=r,e)e.hasOwnProperty(s)&&(r[s]=i(e[s],n));return r;case"Array":return t=M.util.objId(e),n[t]||(r=[],n[t]=r,e.forEach(function(e,t){r[t]=i(e,n)}),r);default:return e}},getLanguage:function(e){for(;e;){var t=i.exec(e.className);if(t)return t[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,t){e.className=e.className.replace(RegExp(i,"gi"),""),e.classList.add("language-"+t)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(e){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(e.stack)||[])[1];if(t){var i,n=document.getElementsByTagName("script");for(i in n)if(n[i].src==t)return n[i]}return null}},isActive:function(e,t,i){for(var n="no-"+t;e;){var r=e.classList;if(r.contains(t))return!0;if(r.contains(n))return!1;e=e.parentElement}return!!i}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var i,n=M.util.clone(M.languages[e]);for(i in t)n[i]=t[i];return n},insertBefore:function(i,e,t,n){var r,s=(n=n||M.languages)[i],a={};for(r in s)if(s.hasOwnProperty(r)){if(r==e)for(var o in t)t.hasOwnProperty(o)&&(a[o]=t[o]);t.hasOwnProperty(r)||(a[r]=s[r])}var l=n[i];return n[i]=a,M.languages.DFS(M.languages,function(e,t){t===l&&e!=i&&(this[e]=a)}),a},DFS:function e(t,i,n,r){r=r||{};var s,a,o,l=M.util.objId;for(s in t)t.hasOwnProperty(s)&&(i.call(t,s,t[s],n||s),a=t[s],"Object"!==(o=M.util.type(a))||r[l(a)]?"Array"!==o||r[l(a)]||(r[l(a)]=!0,e(a,i,s,r)):(r[l(a)]=!0,e(a,i,null,r)))}},plugins:{},highlightAll:function(e,t){M.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,i){var n={callback:i,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};M.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),M.hooks.run("before-all-elements-highlight",n);for(var r,s=0;r=n.elements[s++];)M.highlightElement(r,!0===t,n.callback)},highlightElement:function(e,t,i){var n=M.util.getLanguage(e),r=M.languages[n],s=(M.util.setLanguage(e,n),e.parentElement),a=(s&&"pre"===s.nodeName.toLowerCase()&&M.util.setLanguage(s,n),{element:e,language:n,grammar:r,code:e.textContent});function o(e){a.highlightedCode=e,M.hooks.run("before-insert",a),a.element.innerHTML=a.highlightedCode,M.hooks.run("after-highlight",a),M.hooks.run("complete",a),i&&i.call(a.element)}M.hooks.run("before-sanity-check",a),(s=a.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),a.code?(M.hooks.run("before-highlight",a),a.grammar?t&&l.Worker?((n=new Worker(M.filename)).onmessage=function(e){o(e.data)},n.postMessage(JSON.stringify({language:a.language,code:a.code,immediateClose:!0}))):o(M.highlight(a.code,a.grammar,a.language)):o(M.util.encode(a.code))):(M.hooks.run("complete",a),i&&i.call(a.element))},highlight:function(e,t,i){if(M.hooks.run("before-tokenize",e={code:e,grammar:t,language:i}),e.grammar)return e.tokens=M.tokenize(e.code,e.grammar),M.hooks.run("after-tokenize",e),L.stringify(M.util.encode(e.tokens),e.language);throw new Error('The language "'+e.language+'" has no grammar.')},tokenize:function(e,t){var i=t.rest;if(i){for(var n in i)t[n]=i[n];delete t.rest}for(var r=new c,s=(I(r,r.head,e),function e(t,i,n,r,s,a){for(var o in n)if(n.hasOwnProperty(o)&&n[o])for(var l=n[o],l=Array.isArray(l)?l:[l],c=0;c<l.length;++c){if(a&&a.cause==o+","+c)return;for(var d,u=l[c],p=u.inside,h=!!u.lookbehind,f=!!u.greedy,m=u.alias,g=(f&&!u.pattern.global&&(d=u.pattern.toString().match(/[imsuy]*$/)[0],u.pattern=RegExp(u.pattern.source,d+"g")),u.pattern||u),y=r.next,v=s;y!==i.tail&&!(a&&v>=a.reach);v+=y.value.length,y=y.next){var b=y.value;if(i.length>t.length)return;if(!(b instanceof L)){var w,_=1;if(f){if(!(w=j(g,v,t,h))||w.index>=t.length)break;var x=w.index,T=w.index+w[0].length,S=v;for(S+=y.value.length;S<=x;)S+=(y=y.next).value.length;if(v=S-=y.value.length,y.value instanceof L)continue;for(var k=y;k!==i.tail&&(S<T||"string"==typeof k.value);k=k.next)_++,S+=k.value.length;_--,b=t.slice(v,S),w.index-=v}else if(!(w=j(g,0,b,h)))continue;var x=w.index,C=w[0],P=b.slice(0,x),E=b.slice(x+C.length),b=v+b.length,A=(a&&b>a.reach&&(a.reach=b),y.prev),P=(P&&(A=I(i,A,P),v+=P.length),function(e,t,i){for(var n=t.next,r=0;r<i&&n!==e.tail;r++)n=n.next;(t.next=n).prev=t,e.length-=r}(i,A,_),new L(o,p?M.tokenize(C,p):C,m,C)),y=I(i,A,P);E&&I(i,y,E),1<_&&(e(t,i,n,y.prev,v,C={cause:o+","+c,reach:b}),a)&&C.reach>a.reach&&(a.reach=C.reach)}}}}(e,r,t,r.head,0),r),a=[],o=s.head.next;o!==s.tail;)a.push(o.value),o=o.next;return a},hooks:{all:{},add:function(e,t){var i=M.hooks.all;i[e]=i[e]||[],i[e].push(t)},run:function(e,t){var i=M.hooks.all[e];if(i&&i.length)for(var n,r=0;n=i[r++];)n(t)}},Token:L};function L(e,t,i,n){this.type=e,this.content=t,this.alias=i,this.length=0|(n||"").length}function j(e,t,i,n){return e.lastIndex=t,(t=e.exec(i))&&n&&t[1]&&(e=t[1].length,t.index+=e,t[0]=t[0].slice(e)),t}function c(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function I(e,t,i){var n=t.next,i={value:i,prev:t,next:n};return t.next=i,n.prev=i,e.length++,i}return l.Prism=M,L.stringify=function t(e,i){if("string"==typeof e)return e;var n;if(Array.isArray(e))return n="",e.forEach(function(e){n+=t(e,i)}),n;var r,s={type:e.type,content:t(e.content,i),tag:"span",classes:["token",e.type],attributes:{},language:i},a=((e=e.alias)&&(Array.isArray(e)?Array.prototype.push.apply(s.classes,e):s.classes.push(e)),M.hooks.run("wrap",s),"");for(r in s.attributes)a+=" "+r+'="'+(s.attributes[r]||"").replace(/"/g,"&quot;")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'"'+a+">"+s.content+"</"+s.tag+">"},l.document?((n=M.util.currentScript())&&(M.filename=n.src,n.hasAttribute("data-manual"))&&(M.manual=!0),M.manual||("loading"===(e=document.readyState)||"interactive"===e&&n&&n.defer?document.addEventListener("DOMContentLoaded",r):window.requestAnimationFrame?window.requestAnimationFrame(r):window.setTimeout(r,16))):l.addEventListener&&!M.disableWorkerMessageHandler&&l.addEventListener("message",function(e){var t=(e=JSON.parse(e.data)).language,i=e.code,e=e.immediateClose;l.postMessage(M.highlight(i,M.languages[t],t)),e&&l.close()},!1),M;function r(){M.manual||M.highlightAll()}}(_self),Swiper=("undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var i={};i["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},i.cdata=/^<!\[CDATA\[|\]\]>$/i,(i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}})["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]},(t={})[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:i},Prism.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(t=e.languages.markup)&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(Prism),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript,function(){var l,c,d,e;void 0!==Prism&&"undefined"!=typeof document&&(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),l={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},d="pre[data-src]:not(["+(c="data-src-status")+'="loaded"]):not(['+c+'="loading"])',Prism.hooks.add("before-highlightall",function(e){e.selector+=", "+d}),Prism.hooks.add("before-sanity-check",function(e){var r,t,i,n,s,a,o=e.element;o.matches(d)&&(e.code="",o.setAttribute(c,"loading"),(r=o.appendChild(document.createElement("CODE"))).textContent="Loading…",t=o.getAttribute("data-src"),"none"===(e=e.language)&&(i=(/\.(\w+)$/.exec(t)||[,"none"])[1],e=l[i]||i),Prism.util.setLanguage(r,e),Prism.util.setLanguage(o,e),(i=Prism.plugins.autoloader)&&i.loadLanguages(e),i=t,n=function(e){o.setAttribute(c,"loaded");var t,i,n=function(e){var t,i;if(e=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||""))return t=Number(e[1]),i=e[2],e=e[3],i?e?[t,Number(e)]:[t,void 0]:[t,t]}(o.getAttribute("data-range"));n&&(t=e.split(/\r\n?|\n/g),i=n[0],n=null==n[1]?t.length:n[1],i<0&&(i+=t.length),i=Math.max(0,Math.min(i-1,t.length)),n<0&&(n+=t.length),n=Math.max(0,Math.min(n,t.length)),e=t.slice(i,n).join("\n"),o.hasAttribute("data-start")||o.setAttribute("data-start",String(i+1))),r.textContent=e,Prism.highlightElement(r)},s=function(e){o.setAttribute(c,"failed"),r.textContent=e},(a=new XMLHttpRequest).open("GET",i,!0),a.onreadystatechange=function(){4==a.readyState&&(a.status<400&&a.responseText?n(a.responseText):400<=a.status?s("✖ Error "+a.status+" while fetching file: "+a.statusText):s("✖ Error: File does not exist or is empty"))},a.send(null))}),Prism.plugins.fileHighlight={highlight:function(e){for(var t,i=(e||document).querySelectorAll(d),n=0;t=i[n++];)Prism.highlightElement(t)}},e=!1,Prism.fileHighlight=function(){e||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),e=!0),Prism.plugins.fileHighlight.highlight.apply(this,arguments)})}(),function(){var u,p,h,e,t,i,n,r,f;function m(e){return!(0<=e.indexOf("!"))&&((e=p[e]||e)in Prism.languages||(e=h[e])&&!e.error&&!1===e.loading)}function g(e,t,n){var i=(e="string"==typeof e?[e]:e).length,r=0,c=!1;function d(){c||++r===i&&t&&t(e)}0!==i?e.forEach(function(e){function t(){var e,t,i,n,r=h[l];(r=r||(h[l]={callbacks:[]})).callbacks.push({success:s,error:a}),!o&&m(l)?y(l,"success"):!o&&r.error?y(l,"error"):!o&&r.loading||(r.loading=!0,r.error=!1,n=l,n=f.languages_path+"prism-"+n+(f.use_minified?".min":"")+".js",e=function(){r.loading=!1,y(l,"success")},t=function(){r.loading=!1,r.error=!0,y(l,"error")},(i=document.createElement("script")).src=n,i.async=!0,i.onload=function(){document.body.removeChild(i),e()},i.onerror=function(){document.body.removeChild(i),t()},document.body.appendChild(i))}var i,s=d,a=function(){c||(c=!0,n&&n(e))},o=0<=(l=e).indexOf("!"),l=l.replace("!","");(i=u[l=p[l]||l])&&i.length?g(i,t,a):t()}):t&&setTimeout(t,0)}function y(e,t){if(h[e]){for(var i=h[e].callbacks,n=0,r=i.length;n<r;n++){var s=i[n][t];s&&setTimeout(s,0)}i.length=0}}void 0!==Prism&&"undefined"!=typeof document&&(u={javascript:"clike",actionscript:"javascript",apex:["clike","sql"],arduino:"cpp",aspnet:["markup","csharp"],birb:"clike",bison:"c",c:"clike",csharp:"clike",cpp:"c",cfscript:"clike",chaiscript:["clike","cpp"],cilkc:"c",cilkcpp:"cpp",coffeescript:"javascript",crystal:"ruby","css-extras":"css",d:"clike",dart:"clike",django:"markup-templating",ejs:["javascript","markup-templating"],etlua:["lua","markup-templating"],erb:["ruby","markup-templating"],fsharp:"clike","firestore-security-rules":"clike",flow:"javascript",ftl:"markup-templating",gml:"clike",glsl:"c",go:"clike",gradle:"clike",groovy:"clike",haml:"ruby",handlebars:"markup-templating",haxe:"clike",hlsl:"c",idris:"haskell",java:"clike",javadoc:["markup","java","javadoclike"],jolie:"clike",jsdoc:["javascript","javadoclike","typescript"],"js-extras":"javascript",json5:"json",jsonp:"json","js-templates":"javascript",kotlin:"clike",latte:["clike","markup-templating","php"],less:"css",lilypond:"scheme",liquid:"markup-templating",markdown:"markup","markup-templating":"markup",mongodb:"javascript",n4js:"javascript",objectivec:"c",opencl:"c",parser:"markup",php:"markup-templating",phpdoc:["php","javadoclike"],"php-extras":"php",plsql:"sql",processing:"clike",protobuf:"clike",pug:["markup","javascript"],purebasic:"clike",purescript:"haskell",qsharp:"clike",qml:"javascript",qore:"clike",racket:"scheme",cshtml:["markup","csharp"],jsx:["markup","javascript"],tsx:["jsx","typescript"],reason:"clike",ruby:"clike",sass:"css",scss:"css",scala:"java","shell-session":"bash",smarty:"markup-templating",solidity:"clike",soy:"markup-templating",sparql:"turtle",sqf:"clike",squirrel:"clike",stata:["mata","java","python"],"t4-cs":["t4-templating","csharp"],"t4-vb":["t4-templating","vbnet"],tap:"yaml",tt2:["clike","markup-templating"],textile:"markup",twig:"markup-templating",typescript:"javascript",v:"clike",vala:"clike",vbnet:"basic",velocity:"markup",wiki:"markup",xeora:"markup","xml-doc":"markup",xquery:"markup"},p={html:"markup",xml:"markup",svg:"markup",mathml:"markup",ssml:"markup",atom:"markup",rss:"markup",js:"javascript",g4:"antlr4",ino:"arduino","arm-asm":"armasm",art:"arturo",adoc:"asciidoc",avs:"avisynth",avdl:"avro-idl",gawk:"awk",sh:"bash",shell:"bash",shortcode:"bbcode",rbnf:"bnf",oscript:"bsl",cs:"csharp",dotnet:"csharp",cfc:"cfscript","cilk-c":"cilkc","cilk-cpp":"cilkcpp",cilk:"cilkcpp",coffee:"coffeescript",conc:"concurnas",jinja2:"django","dns-zone":"dns-zone-file",dockerfile:"docker",gv:"dot",eta:"ejs",xlsx:"excel-formula",xls:"excel-formula",gamemakerlanguage:"gml",po:"gettext",gni:"gn",ld:"linker-script","go-mod":"go-module",hbs:"handlebars",mustache:"handlebars",hs:"haskell",idr:"idris",gitignore:"ignore",hgignore:"ignore",npmignore:"ignore",webmanifest:"json",kt:"kotlin",kts:"kotlin",kum:"kumir",tex:"latex",context:"latex",ly:"lilypond",emacs:"lisp",elisp:"lisp","emacs-lisp":"lisp",md:"markdown",moon:"moonscript",n4jsd:"n4js",nani:"naniscript",objc:"objectivec",qasm:"openqasm",objectpascal:"pascal",px:"pcaxis",pcode:"peoplecode",plantuml:"plant-uml",pq:"powerquery",mscript:"powerquery",pbfasm:"purebasic",purs:"purescript",py:"python",qs:"qsharp",rkt:"racket",razor:"cshtml",rpy:"renpy",res:"rescript",robot:"robotframework",rb:"ruby","sh-session":"shell-session",shellsession:"shell-session",smlnj:"sml",sol:"solidity",sln:"solution-file",rq:"sparql",sclang:"supercollider",t4:"t4-cs",trickle:"tremor",troy:"tremor",trig:"turtle",ts:"typescript",tsconfig:"typoscript",uscript:"unrealscript",uc:"unrealscript",url:"uri",vb:"visual-basic",vba:"visual-basic",webidl:"web-idl",mathematica:"wolfram",nb:"wolfram",wl:"wolfram",xeoracube:"xeora",yml:"yaml"},h={},e="components/",(t=Prism.util.currentScript())&&(i=/\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,n=/(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,null!=(r=t.getAttribute("data-autoloader-path"))?e=r.trim().replace(/\/?$/,"/"):(r=t.src,i.test(r)?e=r.replace(i,"components/"):n.test(r)&&(e=r.replace(n,"$1components/")))),f=Prism.plugins.autoloader={languages_path:e,use_minified:!0,loadLanguages:g},Prism.hooks.add("complete",function(e){var t,i,n=e.element,e=e.language;n&&e&&"none"!==e&&((i=((t=n).getAttribute("data-dependencies")||"").trim())||(t=t.parentElement)&&"pre"===t.tagName.toLowerCase()&&(i=(t.getAttribute("data-dependencies")||"").trim()),t=i?i.split(/\s*,\s*/g):[],/^diff-./i.test(e)?(t.push("diff"),t.push(e.substr("diff-".length))):t.push(e),t.every(m)||g(t,function(){Prism.highlightElement(n)}))}))}(),function(h){h.fn.scwStickySidebar=function(e){function t(e,t){return!0===e.initialized||!(h("body").width()<e.minWidth)&&((u=e).initialized=!0,0===h("#scw-sticky-sidebar-stylesheet-"+u.namespace).length&&h("head").append(h('<style id="scw-sticky-sidebar-stylesheet-'+u.namespace+'">.scwStickySidebar:after {content: ""; display: table; clear: both;}</style>')),t.each(function(){function d(){r.fixedScrollTop=0,r.sidebar.css({"min-height":"1px"}),r.stickySidebar.css({position:"static",width:"",transform:"none"})}var i,e,t,n,r={},s=(r.sidebar=h(this),r.options=u||{},r.container=h(r.options.containerSelector),0==r.container.length&&(r.container=r.sidebar.parent()),r.sidebar.parents().css("-webkit-transform","none"),r.sidebar.css({position:r.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),r.stickySidebar=r.sidebar.find(".scwStickySidebar"),0==r.stickySidebar.length&&(i=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i,r.sidebar.find("script").filter(function(e,t){return 0===t.type.length||t.type.match(i)}).remove(),r.stickySidebar=h("<div>").addClass("scwStickySidebar").append(r.sidebar.children()),r.sidebar.append(r.stickySidebar)),r.marginBottom=parseInt(r.sidebar.css("margin-bottom")),r.paddingTop=parseInt(r.sidebar.css("padding-top")),r.paddingBottom=parseInt(r.sidebar.css("padding-bottom")),r.stickySidebar.offset().top),a=r.stickySidebar.outerHeight();r.stickySidebar.css("padding-top",1),r.stickySidebar.css("padding-bottom",1),s-=r.stickySidebar.offset().top,a=r.stickySidebar.outerHeight()-a-s,0==s?(r.stickySidebar.css("padding-top",0),r.stickySidebarPaddingTop=0):r.stickySidebarPaddingTop=1,0==a?(r.stickySidebar.css("padding-bottom",0),r.stickySidebarPaddingBottom=0):r.stickySidebarPaddingBottom=1,r.previousScrollTop=null,r.fixedScrollTop=0,d(),r.onScroll=function(e){var t,i,n,r,s,a,o,l,c;e.stickySidebar.is(":visible")&&(h("body").width()<e.options.minWidth||e.options.disableOnResponsiveLayouts&&e.sidebar.outerWidth("none"==e.sidebar.css("float"))+50>e.container.width()?d():(o="static",(a=h(document).scrollTop())>=e.sidebar.offset().top+(e.paddingTop-e.options.additionalMarginTop)&&(i=e.paddingTop+u.additionalMarginTop,r=e.paddingBottom+e.marginBottom+u.additionalMarginBottom,s=e.sidebar.offset().top,l=e.sidebar.offset().top+(l=e.container,c=l.height(),l.children().each(function(){c=Math.max(c,h(this).height())}),c),t=0+u.additionalMarginTop,i=e.stickySidebar.outerHeight()+i+r<h(window).height()?t+e.stickySidebar.outerHeight():h(window).height()-e.marginBottom-e.paddingBottom-u.additionalMarginBottom,r=s-a+e.paddingTop,s=l-a-e.paddingBottom-e.marginBottom,l=e.stickySidebar.offset().top-a,n=e.previousScrollTop-a,"fixed"==e.stickySidebar.css("position")&&"modern"==e.options.sidebarBehavior&&(l+=n),"stick-to-top"==e.options.sidebarBehavior&&(l=u.additionalMarginTop),"stick-to-bottom"==e.options.sidebarBehavior&&(l=i-e.stickySidebar.outerHeight()),l=0<n?Math.min(l,t):Math.max(l,i-e.stickySidebar.outerHeight()),l=Math.max(l,r),l=Math.min(l,s-e.stickySidebar.outerHeight()),o=!(n=e.container.height()==e.stickySidebar.outerHeight())&&l==t||!n&&l==i-e.stickySidebar.outerHeight()?"fixed":a+l-e.sidebar.offset().top-e.paddingTop<=u.additionalMarginTop?"static":"absolute"),"fixed"==o?(r=h(document).scrollLeft(),e.stickySidebar.css({position:"fixed",width:p(e.stickySidebar)+"px",transform:"translateY("+l+"px)",left:e.sidebar.offset().left+parseInt(e.sidebar.css("padding-left"))-r+"px",top:"0px"})):"absolute"==o?(s={},"absolute"!=e.stickySidebar.css("position")&&(s.position="absolute",s.transform="translateY("+(a+l-e.sidebar.offset().top-e.stickySidebarPaddingTop-e.stickySidebarPaddingBottom)+"px)",s.top="0px"),s.width=p(e.stickySidebar)+"px",s.left="",e.stickySidebar.css(s)):"static"==o&&d(),"static"!=o&&1==e.options.updateSidebarHeight&&e.sidebar.css({"min-height":e.stickySidebar.outerHeight()+e.stickySidebar.offset().top-e.sidebar.offset().top+e.paddingBottom}),e.previousScrollTop=a))},r.onScroll(r),h(document).on("scroll."+r.options.namespace,(n=r,function(){n.onScroll(n)})),h(window).on("resize."+r.options.namespace,(t=r,function(){t.stickySidebar.css({position:"static"}),t.onScroll(t)})),"undefined"!=typeof ResizeSensor&&new ResizeSensor(r.stickySidebar[0],(e=r,function(){e.onScroll(e)}))}),1);var u}function p(e){var t;try{t=e[0].getBoundingClientRect().width}catch(e){}return void 0===t?e.width():t}var i,n,r,s;return(e=h.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},e)).additionalMarginTop=parseInt(e.additionalMarginTop)||0,e.additionalMarginBottom=parseInt(e.additionalMarginBottom)||0,t(e,this)||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),h(document).on("scroll."+e.namespace,(r=e,s=this,function(e){t(r,s)&&h(this).unbind(e)})),h(window).on("resize."+e.namespace,(i=e,n=this,function(e){t(i,n)&&h(this).unbind(e)}))),this}}(jQuery),function(){function o(i,e){function u(){var e,t;this.q=[],this.add=function(e){this.q.push(e)},this.call=function(){for(e=0,t=this.q.length;e<t;e++)this.q[e].call()}}function t(e,t){if(e.resizedAttached){if(e.resizedAttached)return e.resizedAttached.add(t)}else e.resizedAttached=new u,e.resizedAttached.add(t);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var t="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",i="position: absolute; left: 0; top: 0; transition: 0s;";function n(){c.style.width=l.offsetWidth+10+"px",c.style.height=l.offsetHeight+10+"px",l.scrollLeft=l.scrollWidth,l.scrollTop=l.scrollHeight,d.scrollLeft=d.scrollWidth,d.scrollTop=d.scrollHeight,a=e.offsetWidth,o=e.offsetHeight}function r(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)}function s(){e.offsetWidth==a&&e.offsetHeight==o||e.resizedAttached&&e.resizedAttached.call(),n()}e.resizeSensor.style.cssText=t,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+t+'"><div style="'+i+'"></div></div><div class="resize-sensor-shrink" style="'+t+'"><div style="'+i+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[t="position",(i=e).currentStyle?i.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(i,null).getPropertyValue(t):i.style[t]]||(e.style.position="relative");var a,o,l=e.resizeSensor.childNodes[0],c=l.childNodes[0],d=e.resizeSensor.childNodes[1];d.childNodes[0],n(),r(l,"scroll",s),r(d,"scroll",s)}var n=Object.prototype.toString.call(i),r="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"undefined"!=typeof jQuery&&i instanceof jQuery||"undefined"!=typeof Elements&&i instanceof Elements;if(r)for(var s=0,a=i.length;s<a;s++)t(i[s],e);else t(i,e);this.detach=function(){if(r)for(var e=0,t=i.length;e<t;e++)o.detach(i[e]);else o.detach(i)}}o.detach=function(e){e.resizeSensor&&(e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached)},"undefined"!=typeof module&&void 0!==module.exports?module.exports=o:window.ResizeSensor=o}(),function(){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(t,i){void 0===t&&(t={}),void 0===i&&(i={}),Object.keys(i).forEach(e=>{void 0===t[e]?t[e]=i[e]:n(i[e])&&n(t[e])&&0<Object.keys(i[e]).length&&r(t[e],i[e])})}const t={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function A(){var e="undefined"!=typeof document?document:{};return r(e,t),e}const b={document:t,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function E(){var e="undefined"!=typeof window?window:{};return r(e,b),e}function S(e){return(e=void 0===e?"":e).trim().split(" ").filter(e=>!!e.trim())}function k(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function g(){return Date.now()}function M(e,t){void 0===t&&(t="x");var i,n,r=E();let s,a,o;return i=e,e=(n=!(n=(n=E()).getComputedStyle?n.getComputedStyle(i,null):void 0)&&i.currentStyle?i.currentStyle:n)||i.style,r.WebKitCSSMatrix?(6<(a=e.transform||e.webkitTransform).split(",").length&&(a=a.split(", ").map(e=>e.replace(",",".")).join(", ")),o=new r.WebKitCSSMatrix("none"===a?"":a)):(o=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=o.toString().split(",")),"x"===t&&(a=r.WebKitCSSMatrix?o.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),(a="y"===t?r.WebKitCSSMatrix?o.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5]):a)||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function m(e){const i=Object(arguments.length<=0?void 0:e),t=["__proto__","constructor","prototype"];for(let e=1;e<arguments.length;e+=1){var n=e<0||arguments.length<=e?void 0:arguments[e];if(null!=n&&(a=n,!("undefined"!=typeof window&&void 0!==window.HTMLElement?a instanceof HTMLElement:a&&(1===a.nodeType||11===a.nodeType)))){const a=Object.keys(Object(n)).filter(e=>t.indexOf(e)<0);for(let e=0,t=a.length;e<t;e+=1){var r=a[e],s=Object.getOwnPropertyDescriptor(n,r);void 0!==s&&s.enumerable&&(l(i[r])&&l(n[r])?n[r].__swiper__?i[r]=n[r]:m(i[r],n[r]):l(i[r])||!l(n[r])||(i[r]={},n[r].__swiper__)?i[r]=n[r]:m(i[r],n[r]))}}}var a;return i}function P(e,t,i){e.style.setProperty(t,i)}function y(e){let{swiper:i,targetPosition:n,side:r}=e;const s=E(),a=-i.translate;let o,l=null;const c=i.params.speed,d=(i.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(i.cssModeFrameID),n>a?"next":"prev"),u=(e,t)=>"next"===d&&t<=e||"prev"===d&&e<=t,p=()=>{o=(new Date).getTime(),null===l&&(l=o);var e=Math.max(Math.min((o-l)/c,1),0),e=.5-Math.cos(e*Math.PI)/2;let t=a+e*(n-a);u(t,n)&&(t=n),i.wrapperEl.scrollTo({[r]:t}),u(t,n)?(i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[r]:t})}),s.cancelAnimationFrame(i.cssModeFrameID)):i.cssModeFrameID=s.requestAnimationFrame(p)};p()}function s(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function L(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function j(e){try{console.warn(e)}catch(e){}}function I(e,t){return void 0===t&&(t=[]),(e=document.createElement(e)).classList.add(...Array.isArray(t)?t:S(t)),e}function O(e){var t=E(),i=A(),n=e.getBoundingClientRect(),i=i.body,r=e.clientTop||i.clientTop||0,i=e.clientLeft||i.clientLeft||0,s=e===t?t.scrollY:e.scrollTop,t=e===t?t.scrollX:e.scrollLeft;return{top:n.top+s-r,left:n.left+t-i}}function C(e,t){return E().getComputedStyle(e,null).getPropertyValue(t)}function x(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function D(e,t){var i=[];let n=e.parentElement;for(;n;)t&&!n.matches(t)||i.push(n),n=n.parentElement;return i}function v(i,n){n&&i.addEventListener("transitionend",function e(t){t.target===i&&(n.call(i,t),i.removeEventListener("transitionend",e))})}function Y(e,t,i){var n=E();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let i,w,_;function B(){return i=i||(e=E(),{smoothScroll:(t=A()).documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)});var e,t}const a=(t,e)=>{if(t&&!t.destroyed&&t.params){const i=e.closest(t.isElement?"swiper-slide":"."+t.params.slideClass);if(i){let e=i.querySelector("."+t.params.lazyPreloaderClass);!e&&t.isElement&&(i.shadowRoot?e=i.shadowRoot.querySelector("."+t.params.lazyPreloaderClass):requestAnimationFrame(()=>{i.shadowRoot&&(e=i.shadowRoot.querySelector("."+t.params.lazyPreloaderClass))&&e.remove()})),e&&e.remove()}}},d=(e,t)=>{e.slides[t]&&(e=e.slides[t].querySelector('[loading="lazy"]'))&&e.removeAttribute("loading")},u=i=>{if(i&&!i.destroyed&&i.params){var t=i.params.lazyPreloadPrevNext,n=i.slides.length;if(n&&t&&!(t<0)){t=Math.min(t,n);const a="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),o=i.activeIndex;if(i.params.grid&&1<i.params.grid.rows){const l=o,c=[l-t];c.push(...Array.from({length:t}).map((e,t)=>l+a+t)),i.slides.forEach((e,t)=>{c.includes(e.column)&&d(i,t)})}else{var r=o+a-1;if(i.params.rewind||i.params.loop)for(let e=o-t;e<=r+t;e+=1){var s=(e%n+n)%n;(s<o||r<s)&&d(i,s)}else for(let e=Math.max(o-t,0);e<=Math.min(r+t,n-1);e+=1)e!==o&&(e>r||e<o)&&d(i,e)}}}};function q(e){var{swiper:e,runCallbacks:t,direction:i,step:n}=e,{activeIndex:r,previousIndex:s}=e,i=i||(s<r?"next":r<s?"prev":"reset");if(e.emit("transition"+n),t&&r!==s){if("reset"===i)return e.emit("slideResetTransition"+n);e.emit("slideChangeTransition"+n),"next"===i?e.emit("slideNextTransition"+n):e.emit("slidePrevTransition"+n)}}function V(e,t,i){var n=E(),r=(e=e.params).edgeSwipeDetection,e=e.edgeSwipeThreshold;return!r||!(i<=e||i>=n.innerWidth-e)||"prevent"===r&&(t.preventDefault(),1)}function R(){const e=this,{params:t,el:i}=e;var n,r,s,a,o;i&&0===i.offsetWidth||(t.breakpoints&&e.setBreakpoint(),{allowSlideNext:n,allowSlidePrev:r,snapGrid:s}=e,a=e.virtual&&e.params.virtual.enabled,e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),o=a&&t.loop,!("auto"===t.slidesPerView||1<t.slidesPerView)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow())}const Q=(e,t)=>{var i=A(),{params:n,el:r,wrapperEl:s,device:a}=e,o=!!n.nested,l="on"===t?"addEventListener":"removeEventListener";i[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),r[l]("touchstart",e.onTouchStart,{passive:!1}),r[l]("pointerdown",e.onTouchStart,{passive:!1}),i[l]("touchmove",e.onTouchMove,{passive:!1,capture:o}),i[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),i[l]("touchend",e.onTouchEnd,{passive:!0}),i[l]("pointerup",e.onTouchEnd,{passive:!0}),i[l]("pointercancel",e.onTouchEnd,{passive:!0}),i[l]("touchcancel",e.onTouchEnd,{passive:!0}),i[l]("pointerout",e.onTouchEnd,{passive:!0}),i[l]("pointerleave",e.onTouchEnd,{passive:!0}),i[l]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&r[l]("click",e.onClick,!0),n.cssMode&&s[l]("scroll",e.onScroll),n.updateOnWindowResize?e[t](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",R,!0):e[t]("observerUpdate",R,!0),r[l]("load",e.onLoad,{capture:!0})},H=(e,t)=>e.grid&&t.grid&&1<t.grid.rows;var W={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};const o={eventsEmitter:{on(e,t,i){const n=this;if(n.eventsListeners&&!n.destroyed&&"function"==typeof t){const r=i?"unshift":"push";e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][r](t)})}return n},once(n,r,e){const s=this;return!s.eventsListeners||s.destroyed||"function"!=typeof r?s:(a.__emitterProxy=r,s.on(n,a,e));function a(){s.off(n,a),a.__emitterProxy&&delete a.__emitterProxy;for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];r.apply(s,t)}},onAny(e,t){return this.eventsListeners&&!this.destroyed&&"function"==typeof e&&(t=t?"unshift":"push",this.eventsAnyListeners.indexOf(e)<0)&&this.eventsAnyListeners[t](e),this},offAny(e){return this.eventsListeners&&!this.destroyed&&this.eventsAnyListeners&&0<=(e=this.eventsAnyListeners.indexOf(e))&&this.eventsAnyListeners.splice(e,1),this},off(e,n){const r=this;return r.eventsListeners&&!r.destroyed&&r.eventsListeners&&e.split(" ").forEach(i=>{void 0===n?r.eventsListeners[i]=[]:r.eventsListeners[i]&&r.eventsListeners[i].forEach((e,t)=>{(e===n||e.__emitterProxy&&e.__emitterProxy===n)&&r.eventsListeners[i].splice(t,1)})}),r},emit(){const r=this;if(r.eventsListeners&&!r.destroyed&&r.eventsListeners){let e,i,n;for(var t=arguments.length,s=new Array(t),a=0;a<t;a++)s[a]=arguments[a];n="string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],i=s.slice(1,s.length),r):(e=s[0].events,i=s[0].data,s[0].context||r),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(t=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(e=>{e.apply(n,[t,...i])}),r.eventsListeners&&r.eventsListeners[t]&&r.eventsListeners[t].forEach(e=>{e.apply(n,i)})})}return r}},update:{updateSize:function(){var e=this;let t,i;var n=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n.clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n.clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(C(n,"padding-left")||0,10)-parseInt(C(n,"padding-right")||0,10),i=i-parseInt(C(n,"padding-top")||0,10)-parseInt(C(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const n=this;function r(e,t){return parseFloat(e.getPropertyValue(n.getDirectionLabel(t))||0)}const s=n.params,{wrapperEl:a,slidesEl:t,size:o,rtlTranslate:l,wrongRTL:c}=n,d=n.virtual&&s.virtual.enabled,e=(d?n.virtual:n).slides.length,u=L(t,`.${n.params.slideClass}, swiper-slide`),p=(d?n.virtual.slides:u).length;let h=[];const f=[],m=[];let g=s.slidesOffsetBefore,y=("function"==typeof g&&(g=s.slidesOffsetBefore.call(n)),s.slidesOffsetAfter);"function"==typeof y&&(y=s.slidesOffsetAfter.call(n));var v=n.snapGrid.length,b=n.slidesGrid.length;let w=s.spaceBetween,_=-g,x=0,T=0;if(void 0!==o){"string"==typeof w&&0<=w.indexOf("%")?w=parseFloat(w.replace("%",""))/100*o:"string"==typeof w&&(w=parseFloat(w)),n.virtualSize=-w,u.forEach(e=>{l?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(P(a,"--swiper-centered-offset-before",""),P(a,"--swiper-centered-offset-after",""));var S=s.grid&&1<s.grid.rows&&n.grid;let i;S?n.grid.initSlides(u):n.grid&&n.grid.unsetSlides();var k="auto"===s.slidesPerView&&s.breakpoints&&0<Object.keys(s.breakpoints).filter(e=>void 0!==s.breakpoints[e].slidesPerView).length;for(let t=0;t<p;t+=1){let e;if(i=0,u[t]&&(e=u[t]),S&&n.grid.updateSlide(t,e,u),!u[t]||"none"!==C(e,"display")){if("auto"===s.slidesPerView){k&&(u[t].style[n.getDirectionLabel("width")]="");const o=getComputedStyle(e),l=e.style.transform,c=e.style.webkitTransform;if(l&&(e.style.transform="none"),c&&(e.style.webkitTransform="none"),s.roundLengths)i=n.isHorizontal()?Y(e,"width",!0):Y(e,"height",!0);else{const n=r(o,"width"),s=r(o,"padding-left"),a=r(o,"padding-right"),l=r(o,"margin-left"),c=r(o,"margin-right"),d=o.getPropertyValue("box-sizing");if(d&&"border-box"===d)i=n+l+c;else{const{clientWidth:r,offsetWidth:o}=e;i=n+s+a+l+c+(o-r)}}l&&(e.style.transform=l),c&&(e.style.webkitTransform=c),s.roundLengths&&(i=Math.floor(i))}else i=(o-(s.slidesPerView-1)*w)/s.slidesPerView,s.roundLengths&&(i=Math.floor(i)),u[t]&&(u[t].style[n.getDirectionLabel("width")]=i+"px");u[t]&&(u[t].swiperSlideSize=i),m.push(i),s.centeredSlides?(_=_+i/2+x/2+w,0===x&&0!==t&&(_=_-o/2-w),0===t&&(_=_-o/2-w),Math.abs(_)<.001&&(_=0),s.roundLengths&&(_=Math.floor(_)),T%s.slidesPerGroup==0&&h.push(_),f.push(_)):(s.roundLengths&&(_=Math.floor(_)),(T-Math.min(n.params.slidesPerGroupSkip,T))%n.params.slidesPerGroup==0&&h.push(_),f.push(_),_=_+i+w),n.virtualSize+=i+w,x=i,T+=1}}if(n.virtualSize=Math.max(n.virtualSize,o)+y,l&&c&&("slide"===s.effect||"coverflow"===s.effect)&&(a.style.width=n.virtualSize+w+"px"),s.setWrapperSize&&(a.style[n.getDirectionLabel("width")]=n.virtualSize+w+"px"),S&&n.grid.updateWrapperSize(i,h),!s.centeredSlides){const r=[];for(let t=0;t<h.length;t+=1){let e=h[t];s.roundLengths&&(e=Math.floor(e)),h[t]<=n.virtualSize-o&&r.push(e)}h=r,1<Math.floor(n.virtualSize-o)-Math.floor(h[h.length-1])&&h.push(n.virtualSize-o)}if(d&&s.loop){const r=m[0]+w;if(1<s.slidesPerGroup){const a=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/s.slidesPerGroup),t=r*s.slidesPerGroup;for(let e=0;e<a;e+=1)h.push(h[h.length-1]+t)}for(let e=0;e<n.virtual.slidesBefore+n.virtual.slidesAfter;e+=1)1===s.slidesPerGroup&&h.push(h[h.length-1]+r),f.push(f[f.length-1]+r),n.virtualSize+=r}if(0===h.length&&(h=[0]),0!==w){const r=n.isHorizontal()&&l?"marginLeft":n.getDirectionLabel("marginRight");u.filter((e,t)=>!(s.cssMode&&!s.loop)||t!==u.length-1).forEach(e=>{e.style[r]=w+"px"})}if(s.centeredSlides&&s.centeredSlidesBounds){let t=0;m.forEach(e=>{t+=e+(w||0)});const r=(t-=w)-o;h=h.map(e=>e<=0?-g:e>r?r+y:e)}if(s.centerInsufficientSlides){let t=0;if(m.forEach(e=>{t+=e+(w||0)}),(t-=w)<o){const r=(o-t)/2;h.forEach((e,t)=>{h[t]=e-r}),f.forEach((e,t)=>{f[t]=e+r})}}if(Object.assign(n,{slides:u,snapGrid:h,slidesGrid:f,slidesSizesGrid:m}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){P(a,"--swiper-centered-offset-before",-h[0]+"px"),P(a,"--swiper-centered-offset-after",n.size/2-m[m.length-1]/2+"px");const r=-n.snapGrid[0],s=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(e=>e+r),n.slidesGrid=n.slidesGrid.map(e=>e+s)}if(p!==e&&n.emit("slidesLengthChange"),h.length!==v&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),f.length!==b&&n.emit("slidesGridLengthChange"),s.watchSlidesProgress&&n.updateSlidesOffset(),!(d||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const r=s.containerModifierClass+"backface-hidden",a=n.el.classList.contains(r);p<=s.maxBackfaceHiddenSlides?a||n.el.classList.add(r):a&&n.el.classList.remove(r)}}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let r,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);var a=e=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&1<t.params.slidesPerView)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{i.push(e)});else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!n)break;i.push(a(e))}else i.push(a(t.activeIndex));for(r=0;r<i.length;r+=1)if(void 0!==i[r]){const e=i[r].offsetHeight;s=e>s?e:s}!s&&0!==s||(t.wrapperEl.style.height=s+"px")},updateSlidesOffset:function(){var t=this.slides,i=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let e=0;e<t.length;e+=1)t[e].swiperSlideOffset=(this.isHorizontal()?t[e].offsetLeft:t[e].offsetTop)-i-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const r=this,s=r.params,{slides:a,rtlTranslate:o,snapGrid:l}=r;if(0!==a.length){void 0===a[0].swiperSlideOffset&&r.updateSlidesOffset();let i=o?e:-e,n=(a.forEach(e=>{e.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass)}),r.visibleSlidesIndexes=[],r.visibleSlides=[],s.spaceBetween);"string"==typeof n&&0<=n.indexOf("%")?n=parseFloat(n.replace("%",""))/100*r.size:"string"==typeof n&&(n=parseFloat(n));for(let t=0;t<a.length;t+=1){var c=a[t];let e=c.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(e-=a[0].swiperSlideOffset);var d=(i+(s.centeredSlides?r.minTranslate():0)-e)/(c.swiperSlideSize+n),u=(i-l[0]+(s.centeredSlides?r.minTranslate():0)-e)/(c.swiperSlideSize+n),p=-(i-e),h=p+r.slidesSizesGrid[t],f=0<=p&&p<=r.size-r.slidesSizesGrid[t];(0<=p&&p<r.size-1||1<h&&h<=r.size||p<=0&&h>=r.size)&&(r.visibleSlides.push(c),r.visibleSlidesIndexes.push(t),a[t].classList.add(s.slideVisibleClass)),f&&a[t].classList.add(s.slideFullyVisibleClass),c.progress=o?-d:d,c.originalProgress=o?-u:u}}},updateProgress:function(e){var t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:a,progressLoop:o}=t;const l=s,c=a;if(0===n)r=0,s=!0,a=!0;else{r=(e-t.minTranslate())/n;const i=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;s=i||r<=0,a=o||1<=r,i&&(r=0),o&&(r=1)}if(i.loop){const i=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[i],s=t.slidesGrid[n],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);1<(o=l>=r?(l-r)/a:(l+a-s)/a)&&--o}Object.assign(t,{progress:r,progressLoop:o,isBeginning:s,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),a&&!c&&t.emit("reachEnd toEdge"),(l&&!s||c&&!a)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const{slides:e,params:t,slidesEl:i,activeIndex:n}=this,r=this.virtual&&t.virtual.enabled,s=this.grid&&t.grid&&1<t.grid.rows,a=e=>L(i,`.${t.slideClass}${e}, swiper-slide`+e)[0];let o,l,c;if(e.forEach(e=>{e.classList.remove(t.slideActiveClass,t.slideNextClass,t.slidePrevClass)}),r)if(t.loop){let e=n-this.virtual.slidesBefore;(e=e<0?this.virtual.slides.length+e:e)>=this.virtual.slides.length&&(e-=this.virtual.slides.length),o=a(`[data-swiper-slide-index="${e}"]`)}else o=a(`[data-swiper-slide-index="${n}"]`);else s?(o=e.filter(e=>e.column===n)[0],c=e.filter(e=>e.column===n+1)[0],l=e.filter(e=>e.column===n-1)[0]):o=e[n];o&&(o.classList.add(t.slideActiveClass),s?c&&c.classList.add(t.slideNextClass):(c=function(e,t){for(var i=[];e.nextElementSibling;){var n=e.nextElementSibling;t&&!n.matches(t)||i.push(n),e=n}return i}(o,`.${t.slideClass}, swiper-slide`)[0],(c=t.loop&&!c?e[0]:c)&&c.classList.add(t.slideNextClass),l=function(e,t){for(var i=[];e.previousElementSibling;){var n=e.previousElementSibling;t&&!n.matches(t)||i.push(n),e=n}return i}(o,`.${t.slideClass}, swiper-slide`)[0],t.loop&&0===!l&&(l=e[e.length-1])),l)&&l.classList.add(t.slidePrevClass),this.emitSlidesClasses()},updateActiveIndex:function(i){const n=this,e=n.rtlTranslate?n.translate:-n.translate,{snapGrid:t,params:r,activeIndex:s,realIndex:a,snapIndex:o}=n;let l,c=i;if(i=e=>{let t=e-n.virtual.slidesBefore;return(t=t<0?n.virtual.slides.length+t:t)>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t},void 0===c&&(c=function(e){var{slidesGrid:t,params:i}=e,n=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?n>=t[e]&&n<t[e+1]-(t[e+1]-t[e])/2?r=e:n>=t[e]&&n<t[e+1]&&(r=e+1):n>=t[e]&&(r=e);return r=i.normalizeSlideIndex&&(r<0||void 0===r)?0:r}(n)),0<=t.indexOf(e))l=t.indexOf(e);else{const i=Math.min(r.slidesPerGroupSkip,c);l=i+Math.floor((c-i)/r.slidesPerGroup)}if(l>=t.length&&(l=t.length-1),c!==s||n.params.loop)if(c===s&&n.params.loop&&n.virtual&&n.params.virtual.enabled)n.realIndex=i(c);else{var d=n.grid&&r.grid&&1<r.grid.rows;let t;if(n.virtual&&r.virtual.enabled&&r.loop)t=i(c);else if(d){const i=n.slides.filter(e=>e.column===c)[0];let e=parseInt(i.getAttribute("data-swiper-slide-index"),10);Number.isNaN(e)&&(e=Math.max(n.slides.indexOf(i),0)),t=Math.floor(e/r.grid.rows)}else if(n.slides[c]){const i=n.slides[c].getAttribute("data-swiper-slide-index");t=i?parseInt(i,10):c}else t=c;Object.assign(n,{previousSnapIndex:o,snapIndex:l,previousRealIndex:a,realIndex:t,previousIndex:s,activeIndex:c}),n.initialized&&u(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(a!==t&&n.emit("realIndexChange"),n.emit("slideChange"))}else l!==o&&(n.snapIndex=l,n.emit("snapIndexChange"))},updateClickedSlide:function(e,t){const i=this,n=i.params;let r=e.closest(`.${n.slideClass}, swiper-slide`);!r&&i.isElement&&t&&1<t.length&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(r=e)});let s,a=!1;if(r)for(let e=0;e<i.slides.length;e+=1)if(i.slides[e]===r){a=!0,s=e;break}r&&a?(i.clickedSlide=r,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=s,n.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()):(i.clickedSlide=void 0,i.clickedIndex=void 0)}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var{params:t,rtlTranslate:i,translate:n,wrapperEl:r}=this;return t.virtualTranslate?i?-n:n:t.cssMode?n:(t=M(r,e),t+=this.cssOverflowAdjustment(),(i?-t:t)||0)},setTranslate:function(e,t){var i=this,{rtlTranslate:n,params:r,wrapperEl:s,progress:a}=i;let o=0,l=0;i.isHorizontal()?o=n?-e:e:l=e,r.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?o:l,r.cssMode?s[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-o:-l:r.virtualTranslate||(i.isHorizontal()?o-=i.cssOverflowAdjustment():l-=i.cssOverflowAdjustment(),s.style.transform=`translate3d(${o}px, ${l}px, 0px)`),(0==(n=i.maxTranslate()-i.minTranslate())?0:(e-i.minTranslate())/n)!==a&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);const s=this,{params:a,wrapperEl:o}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;var l=s.minTranslate(),c=s.maxTranslate();if(s.updateProgress(l=n&&l<e?l:n&&e<c?c:e),a.cssMode){const e=s.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-l;else{if(!s.support.smoothScroll)return y({swiper:s,targetPosition:-l,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-l,behavior:"smooth"})}}else 0===t?(s.setTransition(0),s.setTranslate(l),i&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(l),i&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,i)&&s.emit("transitionEnd")}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd)));return!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=e+"ms",this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.params;i.cssMode||(i.autoHeight&&this.updateAutoHeight(),q({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.params;this.animating=!1,i.cssMode||(this.setTransition(0),q({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,i,n,r){void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof(e=void 0===e?0:e)&&(e=parseInt(e,10));const s=this;let a=e;a<0&&(a=0);const{params:o,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:p,wrapperEl:h,enabled:f}=s;if(s.animating&&o.preventInteractionOnTransition||!f&&!n&&!r)return!1;var r=(e=Math.min(s.params.slidesPerGroupSkip,a))+Math.floor((a-e)/s.params.slidesPerGroup),m=-l[r>=l.length?l.length-1:r];if(o.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*m),i=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=i&&t<n-(n-i)/2?a=e:t>=i&&t<n&&(a=e+1):t>=i&&(a=e)}if(s.initialized&&a!==u){if(!s.allowSlideNext&&(p?m>s.translate&&m>s.minTranslate():m<s.translate&&m<s.minTranslate()))return!1;if(!s.allowSlidePrev&&m>s.translate&&m>s.maxTranslate()&&(u||0)!==a)return!1}let g;if(a!==(d||0)&&i&&s.emit("beforeSlideChangeStart"),s.updateProgress(m),g=a>u?"next":a<u?"prev":"reset",p&&-m===s.translate||!p&&m===s.translate)return s.updateActiveIndex(a),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==o.effect&&s.setTranslate(m),"reset"!=g&&(s.transitionStart(i,g),s.transitionEnd(i,g)),!1;if(o.cssMode){const e=s.isHorizontal(),i=p?m:-m;if(0===t){const t=s.virtual&&s.params.virtual.enabled;t&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),t&&!s._cssModeVirtualInitialSet&&0<s.params.initialSlide?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[e?"scrollLeft":"scrollTop"]=i})):h[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return y({swiper:s,targetPosition:i,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}}else s.setTransition(t),s.setTranslate(m),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,g),0===t?s.transitionEnd(i,g):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,g))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd));return!0},slideToLoop:function(n,r,s,a){void 0===r&&(r=this.params.speed),void 0===s&&(s=!0),"string"==typeof(n=void 0===n?0:n)&&(n=parseInt(n,10));const o=this,l=o.grid&&o.params.grid&&1<o.params.grid.rows;let c=n;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)c+=o.virtual.slidesBefore;else{let e;if(l){const r=c*o.params.grid.rows;e=o.slides.filter(e=>+e.getAttribute("data-swiper-slide-index")==r)[0].column}else e=o.getSlideIndexByData(c);const r=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,s=o.params.centeredSlides;let t=o.params.slidesPerView,i=("auto"===t?t=o.slidesPerViewDynamic():(t=Math.ceil(parseFloat(o.params.slidesPerView,10)),s&&t%2==0&&(t+=1)),r-e<t);if(s?i||e<Math.ceil(t/2):i){const a=s?e<o.activeIndex?"prev":"next":e-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:a,slideTo:!0,activeSlideIndex:"next"==a?e+1:e-r+1,slideRealIndex:"next"==a?o.realIndex:void 0})}if(l){const n=c*o.params.grid.rows;c=o.slides.filter(e=>+e.getAttribute("data-swiper-slide-index")==n)[0].column}else c=o.getSlideIndexByData(c)}return requestAnimationFrame(()=>{o.slideTo(c,r,s,a)}),o},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{enabled:r,params:s,animating:a}=n;if(!r)return n;let o=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<s.slidesPerGroupSkip?1:o,c=n.virtual&&s.virtual.enabled;if(s.loop){if(a&&!c&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,e,t,i)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{params:r,snapGrid:s,slidesGrid:a,rtlTranslate:o,enabled:l,animating:c}=n;if(!l)return n;var d=n.virtual&&r.virtual.enabled;if(r.loop){if(c&&!d&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=u(o?n.translate:-n.translate),h=s.map(e=>u(e));let f=s[h.indexOf(p)-1];if(void 0===f&&r.cssMode){let i;s.forEach((e,t)=>{p>=e&&(i=t)}),void 0!==i&&(f=s[0<i?i-1:i])}let m=0;if(void 0!==f&&((m=a.indexOf(f))<0&&(m=n.activeIndex-1),"auto"===r.slidesPerView)&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-n.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0)),r.rewind&&n.isBeginning){const r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,e,t,i)}return r.loop&&0===n.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{n.slideTo(m,e,t,i)}),!0):n.slideTo(m,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t=void 0===t||t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var r=this;let s=r.activeIndex;var a=(a=Math.min(r.params.slidesPerGroupSkip,s))+Math.floor((s-a)/r.params.slidesPerGroup),o=r.rtlTranslate?r.translate:-r.translate;if(o>=r.snapGrid[a]){const e=r.snapGrid[a];o-e>(r.snapGrid[a+1]-e)*n&&(s+=r.params.slidesPerGroup)}else{const e=r.snapGrid[a-1];o-e<=(r.snapGrid[a]-e)*n&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,i)},slideToClickedSlide:function(){const e=this,{params:t,slidesEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,s=e.clickedIndex;var a=e.isElement?"swiper-slide":"."+t.slideClass;t.loop?e.animating||(r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?s<e.loopedSlides-n/2||s>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),s=e.getSlideIndex(L(i,a+`[data-swiper-slide-index="${r}"]`)[0]),k(()=>{e.slideTo(s)})):e.slideTo(s):s>e.slides.length-n?(e.loopFix(),s=e.getSlideIndex(L(i,a+`[data-swiper-slide-index="${r}"]`)[0]),k(()=>{e.slideTo(s)})):e.slideTo(s)):e.slideTo(s)}},loop:{loopCreate:function(e){const i=this,{params:n,slidesEl:t}=i;var r,s,a,o,l;!n.loop||i.virtual&&i.params.virtual.enabled||(r=()=>{L(t,`.${n.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},o=i.grid&&n.grid&&1<n.grid.rows,s=n.slidesPerGroup*(o?n.grid.rows:1),a=i.slides.length%s!=0,o=o&&i.slides.length%n.grid.rows!=0,l=t=>{for(let e=0;e<t;e+=1){const t=i.isElement?I("swiper-slide",[n.slideBlankClass]):I("div",[n.slideClass,n.slideBlankClass]);i.slidesEl.append(t)}},a?n.loopAddBlankSlides?(l(s-i.slides.length%s),i.recalcSlides(),i.updateSlides()):j("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):o&&(n.loopAddBlankSlides?(l(n.grid.rows-i.slides.length%n.grid.rows),i.recalcSlides(),i.updateSlides()):j("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),r(),i.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"}))},loopFix:function(s){let{slideRealIndex:a,slideTo:o=!0,direction:l,setTranslate:c,activeSlideIndex:d,byController:u,byMousewheel:p}=void 0===s?{}:s;const h=this;if(h.params.loop){h.emit("beforeLoopFix");const{slides:b,allowSlidePrev:w,allowSlideNext:_,slidesEl:x,params:T}=h,S=T.centeredSlides;if(h.allowSlidePrev=!0,h.allowSlideNext=!0,h.virtual&&T.virtual.enabled)o&&(T.centeredSlides||0!==h.snapIndex?T.centeredSlides&&h.snapIndex<T.slidesPerView?h.slideTo(h.virtual.slides.length+h.snapIndex,0,!1,!0):h.snapIndex===h.snapGrid.length-1&&h.slideTo(h.virtual.slidesBefore,0,!1,!0):h.slideTo(h.virtual.slides.length,0,!1,!0)),h.allowSlidePrev=w,h.allowSlideNext=_;else{let e=T.slidesPerView,t=("auto"===e?e=h.slidesPerViewDynamic():(e=Math.ceil(parseFloat(T.slidesPerView,10)),S&&e%2==0&&(e+=1)),s=T.slidesPerGroupAuto?e:T.slidesPerGroup);t%s!=0&&(t+=s-t%s),t+=T.loopAdditionalSlides,h.loopedSlides=t;var f=h.grid&&T.grid&&1<T.grid.rows;b.length<e+t?j("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):f&&"row"===T.grid.fill&&j("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const k=[],C=[];let i=h.activeIndex;void 0===d?d=h.getSlideIndex(b.filter(e=>e.classList.contains(T.slideActiveClass))[0]):i=d;var m="next"===l||!l,g="prev"===l||!l;let n=0,r=0;var y=f?Math.ceil(b.length/T.grid.rows):b.length,v=(f?b[d].column:d)+(S&&void 0===c?-e/2+.5:0);if(v<t){n=Math.max(t-v,s);for(let e=0;e<t-v;e+=1){const a=e-Math.floor(e/y)*y;if(f){const s=y-a-1;for(let e=b.length-1;0<=e;--e)b[e].column===s&&k.push(e)}else k.push(y-a-1)}}else if(v+e>y-t){r=Math.max(v-(y-2*t),s);for(let e=0;e<r;e+=1){const a=e-Math.floor(e/y)*y;f?b.forEach((e,t)=>{e.column===a&&C.push(t)}):C.push(a)}}if(h.__preventObserver__=!0,requestAnimationFrame(()=>{h.__preventObserver__=!1}),g&&k.forEach(e=>{b[e].swiperLoopMoveDOM=!0,x.prepend(b[e]),b[e].swiperLoopMoveDOM=!1}),m&&C.forEach(e=>{b[e].swiperLoopMoveDOM=!0,x.append(b[e]),b[e].swiperLoopMoveDOM=!1}),h.recalcSlides(),"auto"===T.slidesPerView?h.updateSlides():f&&(0<k.length&&g||0<C.length&&m)&&h.slides.forEach((e,t)=>{h.grid.updateSlide(t,e,h.slides)}),T.watchSlidesProgress&&h.updateSlidesOffset(),o)if(0<k.length&&g){if(void 0===a){const s=h.slidesGrid[i],a=h.slidesGrid[i+n]-s;p?h.setTranslate(h.translate-a):(h.slideTo(i+n,0,!1,!0),c&&(h.touchEventsData.startTranslate=h.touchEventsData.startTranslate-a,h.touchEventsData.currentTranslate=h.touchEventsData.currentTranslate-a))}else if(c){const s=f?k.length/T.grid.rows:k.length;h.slideTo(h.activeIndex+s,0,!1,!0),h.touchEventsData.currentTranslate=h.translate}}else if(0<C.length&&m)if(void 0===a){const s=h.slidesGrid[i],a=h.slidesGrid[i-r]-s;p?h.setTranslate(h.translate-a):(h.slideTo(i-r,0,!1,!0),c&&(h.touchEventsData.startTranslate=h.touchEventsData.startTranslate-a,h.touchEventsData.currentTranslate=h.touchEventsData.currentTranslate-a))}else{const s=f?C.length/T.grid.rows:C.length;h.slideTo(h.activeIndex-s,0,!1,!0)}if(h.allowSlidePrev=w,h.allowSlideNext=_,h.controller&&h.controller.control&&!u){const s={slideRealIndex:a,direction:l,setTranslate:c,activeSlideIndex:d,byController:!0};Array.isArray(h.controller.control)?h.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...s,slideTo:e.params.slidesPerView===T.slidesPerView&&o})}):h.controller.control instanceof h.constructor&&h.controller.control.params.loop&&h.controller.control.loopFix({...s,slideTo:h.controller.control.params.slidesPerView===T.slidesPerView&&o})}}h.emit("loopFix")}},loopDestroy:function(){const{params:e,slidesEl:t}=this;if(!(!e.loop||this.virtual&&this.params.virtual.enabled)){this.recalcSlides();const i=[];this.slides.forEach(e=>{var t=void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}}},grabCursor:{setGrabCursor:function(e){const t=this;var i;!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl,t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){var e=this,t=e.params;e.onTouchStart=function(i){var n=this,r=A();let s=i;if(s.originalEvent&&(s=s.originalEvent),i=n.touchEventsData,"pointerdown"===s.type){if(null!==i.pointerId&&i.pointerId!==s.pointerId)return;i.pointerId=s.pointerId}else"touchstart"===s.type&&1===s.targetTouches.length&&(i.touchId=s.targetTouches[0].identifier);if("touchstart"===s.type)V(n,s,s.targetTouches[0].pageX);else{var{params:a,touches:o,enabled:l}=n;if(l&&(a.simulateTouch||"mouse"!==s.pointerType)&&(!n.animating||!a.preventInteractionOnTransition)){!n.animating&&a.cssMode&&a.loop&&n.loopFix();let t=s.target;if(("wrapper"!==a.touchEventsTarget||n.wrapperEl.contains(t))&&!("which"in s&&3===s.which||"button"in s&&0<s.button||i.isTouched&&i.isMoved)){var l=!!a.noSwipingClass&&""!==a.noSwipingClass,c=s.composedPath?s.composedPath():s.path,l=(l&&s.target&&s.target.shadowRoot&&c&&(t=c[0]),a.noSwipingSelector||"."+a.noSwipingClass),c=!(!s.target||!s.target.shadowRoot);if(a.noSwiping&&(c?function(n,e){return function e(t){var i;return t&&t!==A()&&t!==E()&&((i=(t=t.assignedSlot||t).closest(n))||t.getRootNode)?i||e(t.getRootNode().host):null}(void 0===t?this:e)}(l,t):t.closest(l)))n.allowClick=!0;else if((!a.swipeHandler||t.closest(a.swipeHandler))&&(o.currentX=s.pageX,o.currentY=s.pageY,c=o.currentX,l=o.currentY,V(n,s,c))){Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=c,o.startY=l,i.touchStartTime=g(),n.allowClick=!0,n.updateSize(),n.swipeDirection=void 0,0<a.threshold&&(i.allowThresholdMove=!1);let e=!0;t.matches(i.focusableElements)&&(e=!1,"SELECT"===t.nodeName)&&(i.isTouched=!1),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==t&&r.activeElement.blur(),c=e&&n.allowTouchMove&&a.touchStartPreventDefault,!a.touchStartForcePreventDefault&&!c||t.isContentEditable||s.preventDefault(),a.freeMode&&a.freeMode.enabled&&n.freeMode&&n.animating&&!a.cssMode&&n.freeMode.onTouchStart(),n.emit("touchStart",s)}}}}}.bind(e),e.onTouchMove=function(t){const i=A(),r=this,s=r.touchEventsData,{params:a,touches:o,rtlTranslate:l,enabled:e}=r;if(e&&(a.simulateTouch||"mouse"!==t.pointerType)){let e,n=t;if("pointermove"===(n=n.originalEvent||n).type){if(null!==s.touchId)return;if(n.pointerId!==s.pointerId)return}if("touchmove"===n.type){if(!(e=[...n.changedTouches].filter(e=>e.identifier===s.touchId)[0])||e.identifier!==s.touchId)return}else e=n;if(s.isTouched){var t=e.pageX,c=e.pageY;if(n.preventedByNestedSwiper)o.startX=t,o.startY=c;else if(r.allowTouchMove){if(a.touchReleaseOnEdges&&!a.loop)if(r.isVertical()){if(c<o.startY&&r.translate<=r.maxTranslate()||c>o.startY&&r.translate>=r.minTranslate())return s.isTouched=!1,void(s.isMoved=!1)}else if(t<o.startX&&r.translate<=r.maxTranslate()||t>o.startX&&r.translate>=r.minTranslate())return;if(i.activeElement&&n.target===i.activeElement&&n.target.matches(s.focusableElements))s.isMoved=!0,r.allowClick=!1;else{s.allowTouchCallbacks&&r.emit("touchMove",n),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=t,o.currentY=c;var d=o.currentX-o.startX,u=o.currentY-o.startY;if(!(r.params.threshold&&Math.sqrt(d**2+u**2)<r.params.threshold))if(void 0===s.isScrolling&&(r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?s.isScrolling=!1:25<=d*d+u*u&&(p=180*Math.atan2(Math.abs(u),Math.abs(d))/Math.PI,s.isScrolling=r.isHorizontal()?p>a.touchAngle:90-p>a.touchAngle)),s.isScrolling&&r.emit("touchMoveOpposite",n),void 0!==s.startMoving||o.currentX===o.startX&&o.currentY===o.startY||(s.startMoving=!0),s.isScrolling)s.isTouched=!1;else if(s.startMoving){r.allowClick=!1,!a.cssMode&&n.cancelable&&n.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&n.stopPropagation();let i=r.isHorizontal()?d:u,e=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;a.oneWayMovement&&(i=Math.abs(i)*(l?1:-1),e=Math.abs(e)*(l?1:-1)),o.diff=i,i*=a.touchRatio,l&&(i=-i,e=-e);var p=r.touchesDirection,d=(r.swipeDirection=0<i?"prev":"next",r.touchesDirection=0<e?"prev":"next",r.params.loop&&!a.cssMode),u="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(!s.isMoved){if(d&&u&&r.loopFix({direction:r.swipeDirection}),s.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(t)}s.allowMomentumBounce=!1,!a.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",n)}if((new Date).getTime(),s.isMoved&&s.allowThresholdMove&&p!==r.touchesDirection&&d&&u&&1<=Math.abs(i))Object.assign(o,{startX:t,startY:c,currentX:t,currentY:c,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;else{r.emit("sliderMove",n),s.isMoved=!0,s.currentTranslate=i+s.startTranslate;let e=!0,t=a.resistanceRatio;if(a.touchReleaseOnEdges&&(t=0),0<i?(d&&u&&s.allowThresholdMove&&s.currentTranslate>(a.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>r.minTranslate()&&(e=!1,a.resistance)&&(s.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+s.startTranslate+i)**t)):i<0&&(d&&u&&s.allowThresholdMove&&s.currentTranslate<(a.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===a.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),s.currentTranslate<r.maxTranslate())&&(e=!1,a.resistance)&&(s.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-s.startTranslate-i)**t),e&&(n.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),r.allowSlidePrev||r.allowSlideNext||(s.currentTranslate=s.startTranslate),0<a.threshold){if(!(Math.abs(i)>a.threshold||s.allowThresholdMove))return void(s.currentTranslate=s.startTranslate);if(!s.allowThresholdMove)return s.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,s.currentTranslate=s.startTranslate,void(o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&r.freeMode||a.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(s.currentTranslate),r.setTranslate(s.currentTranslate))}}}}else n.target.matches(s.focusableElements)||(r.allowClick=!1),s.isTouched&&(Object.assign(o,{startX:t,startY:c,currentX:t,currentY:c}),s.touchStartTime=g())}else s.startMoving&&s.isScrolling&&r.emit("touchMoveOpposite",n)}}.bind(e),e.onTouchEnd=function(r){const s=this,t=s.touchEventsData;let e,a=r;if("touchend"===(a=a.originalEvent||a).type||"touchcancel"===a.type){if(!(e=[...a.changedTouches].filter(e=>e.identifier===t.touchId)[0])||e.identifier!==t.touchId)return}else{if(null!==t.touchId)return;if(a.pointerId!==t.pointerId)return;e=a}if(!["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)||["pointercancel","contextmenu"].includes(a.type)&&(s.browser.isSafari||s.browser.isWebView)){t.pointerId=null,t.touchId=null;var{params:o,touches:r,rtlTranslate:i,slidesGrid:l,enabled:c}=s;if(c&&(o.simulateTouch||"mouse"!==a.pointerType))if(t.allowTouchCallbacks&&s.emit("touchEnd",a),t.allowTouchCallbacks=!1,t.isTouched){o.grabCursor&&t.isMoved&&t.isTouched&&(!0===s.allowSlideNext||!0===s.allowSlidePrev)&&s.setGrabCursor(!1);var d,u=(c=g())-t.touchStartTime;if(s.allowClick){const r=a.path||a.composedPath&&a.composedPath();s.updateClickedSlide(r&&r[0]||a.target,r),s.emit("tap click",a),u<300&&c-t.lastClickTime<300&&s.emit("doubleTap doubleClick",a)}if(t.lastClickTime=g(),k(()=>{s.destroyed||(s.allowClick=!0)}),t.isTouched&&t.isMoved&&s.swipeDirection&&(0!==r.diff||t.loopSwapReset)&&(t.currentTranslate!==t.startTranslate||t.loopSwapReset)){if(t.isTouched=!1,t.isMoved=!1,t.startMoving=!1,d=o.followFinger?i?s.translate:-s.translate:-t.currentTranslate,!o.cssMode)if(o.freeMode&&o.freeMode.enabled)s.freeMode.onTouchEnd({currentPos:d});else{let t=0,i=s.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){const s=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==l[e+s]?d>=l[e]&&d<l[e+s]&&(t=e,i=l[e+s]-l[e]):d>=l[e]&&(t=e,i=l[l.length-1]-l[l.length-2])}let e=null,n=null;o.rewind&&(s.isBeginning?n=o.virtual&&o.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1:s.isEnd&&(e=0)),c=(d-l[t])/i,r=t<o.slidesPerGroupSkip-1?1:o.slidesPerGroup,u>o.longSwipesMs?o.longSwipes?("next"===s.swipeDirection&&(c>=o.longSwipesRatio?s.slideTo(o.rewind&&s.isEnd?e:t+r):s.slideTo(t)),"prev"===s.swipeDirection&&(c>1-o.longSwipesRatio?s.slideTo(t+r):null!==n&&c<0&&Math.abs(c)>o.longSwipesRatio?s.slideTo(n):s.slideTo(t))):s.slideTo(s.activeIndex):o.shortSwipes?!s.navigation||a.target!==s.navigation.nextEl&&a.target!==s.navigation.prevEl?("next"===s.swipeDirection&&s.slideTo(null!==e?e:t+r),"prev"===s.swipeDirection&&s.slideTo(null!==n?n:t)):a.target===s.navigation.nextEl?s.slideTo(t+r):s.slideTo(t):s.slideTo(s.activeIndex)}}else t.isTouched=!1,t.isMoved=!1,t.startMoving=!1}else t.isMoved&&o.grabCursor&&s.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1}}.bind(e),e.onDocumentTouchStart=function(){this.documentTouchHandlerProceeded||(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}.bind(e),t.cssMode&&(e.onScroll=function(){var e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;n&&(e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses(),(0==(n=e.maxTranslate()-e.minTranslate())?0:(e.translate-e.minTranslate())/n)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1))}.bind(e)),e.onClick=function(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation)&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation())}.bind(e),e.onLoad=function(e){a(this,e.target),this.params.cssMode||"auto"!==this.params.slidesPerView&&!this.params.autoHeight||this.update()}.bind(e),Q(e,"on")},detachEvents:function(){Q(this,"off")}},breakpoints:{setBreakpoint:function(){const n=this,{realIndex:e,initialized:t,params:r,el:i}=n,s=r.breakpoints;if(s&&0!==Object.keys(s).length){var a=n.getBreakpoint(s,n.params.breakpointsBase,n.el);if(a&&n.currentBreakpoint!==a){const u=(a in s?s[a]:void 0)||n.originalParams,p=H(n,r),h=H(n,u),f=r.enabled;p&&!h?(i.classList.remove(r.containerModifierClass+"grid",r.containerModifierClass+"grid-column"),n.emitContainerClasses()):!p&&h&&(i.classList.add(r.containerModifierClass+"grid"),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===r.grid.fill)&&i.classList.add(r.containerModifierClass+"grid-column"),n.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(e=>{var t,i;void 0!==u[e]&&(t=r[e]&&r[e].enabled,i=u[e]&&u[e].enabled,t&&!i&&n[e].disable(),!t)&&i&&n[e].enable()});var o=u.direction&&u.direction!==r.direction,l=r.loop&&(u.slidesPerView!==r.slidesPerView||o),c=r.loop,o=(o&&t&&n.changeDirection(),m(n.params,u),n.params.enabled),d=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),f&&!o?n.disable():!f&&o&&n.enable(),n.currentBreakpoint=a,n.emit("_beforeBreakpoint",u),t&&(l?(n.loopDestroy(),n.loopCreate(e),n.updateSlides()):!c&&d?(n.loopCreate(e),n.updateSlides()):c&&!d&&n.loopDestroy()),n.emit("breakpoint",u)}}},getBreakpoint:function(e,i,n){if(void 0===i&&(i="window"),e&&("container"!==i||n)){let t=!1;const r=E(),s="window"===i?r.innerHeight:n.clientHeight,a=Object.keys(e).map(e=>{var t;return"string"==typeof e&&0===e.indexOf("@")?(t=parseFloat(e.substr(1)),{value:s*t,point:e}):{value:e,point:e}});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<a.length;e+=1){const{point:E,value:o}=a[e];"window"===i?r.matchMedia(`(min-width: ${o}px)`).matches&&(t=E):o<=n.clientWidth&&(t=E)}return t||"max"}}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:i}=e,n=i.slidesOffsetBefore;if(n){const t=e.slides.length-1,i=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>i}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var{classNames:e,params:t,rtl:i,el:n,device:r}=this,i=function(e,i){const n=[];return e.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(e=>{t[e]&&n.push(i+e)}):"string"==typeof t&&n.push(i+t)}),n}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&1<t.grid.rows},{"grid-column":t.grid&&1<t.grid.rows&&"column"===t.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...i),n.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){var{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},c={};class p{constructor(){let t,i;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?i=n[0]:[t,i]=n,i=m({},i=i||{}),t&&!i.el&&(i.el=t);var u,s=A();if(i.el&&"string"==typeof i.el&&1<s.querySelectorAll(i.el).length){const t=[];return s.querySelectorAll(i.el).forEach(e=>{e=m({},i,{el:e}),t.push(new p(e))}),t}const a=this,o=(a.__swiper__=!0,a.support=B(),a.device=(u={userAgent:i.userAgent},w=w||function(){var e=(void 0===u?{}:u).userAgent,t=B(),i=(s=E()).navigator.platform,e=e||s.navigator.userAgent,n={ios:!1,android:!1},r=s.screen.width,s=s.screen.height,a=e.match(/(Android);?[\s\/]+([\d.]+)?/);let o=e.match(/(iPad).*OS\s([\d_]+)/);var l=e.match(/(iPod)(.*OS\s([\d_]+))?/),c=!o&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/),d="Win32"===i,i="MacIntel"===i;return!o&&i&&t.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(r+"x"+s)&&(o=(o=e.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"]),a&&!d&&(n.os="android",n.android=!0),(o||c||l)&&(n.os="ios",n.ios=!0),n}()),a.browser=_=_||function(){const t=E();let e=!1;function i(){var e=t.navigator.userAgent.toLowerCase();return 0<=e.indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0}if(i()){const i=String(t.navigator.userAgent);if(i.includes("Version/")){const[t,n]=i.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));e=t<16||16===t&&n<2}}return{isSafari:e||i(),needPerspectiveFix:e,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules),{});return a.modules.forEach(e=>{var n,r;e({params:i,swiper:a,extendParams:(n=i,r=o,function(e){void 0===e&&(e={});var t=Object.keys(e)[0],i=e[t];"object"==typeof i&&null!==i&&(!0===n[t]&&(n[t]={enabled:!0}),"navigation"===t&&n[t]&&n[t].enabled&&!n[t].prevEl&&!n[t].nextEl&&(n[t].auto=!0),0<=["pagination","scrollbar"].indexOf(t)&&n[t]&&n[t].enabled&&!n[t].el&&(n[t].auto=!0),t in n)&&"enabled"in i&&("object"!=typeof n[t]||"enabled"in n[t]||(n[t].enabled=!0),n[t]||(n[t]={enabled:!1})),m(r,e)}),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}),s=m({},W,o),a.params=m({},s,c,i),a.originalParams=m({},a.params),a.passedParams=m({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){var{slidesEl:t,params:i}=this,t=x(L(t,`.${i.slideClass}, swiper-slide`)[0]);return x(e)-t}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(e=>+e.getAttribute("data-swiper-slide-index")===t)[0])}recalcSlides(){var{slidesEl:e,params:t}=this;this.slides=L(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);var i=this.minTranslate(),e=(this.maxTranslate()-i)*e+i;this.translateTo(e,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){const t=this;var e;t.params._emitClasses&&t.el&&(e=t.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass)),t.emit("_containerClasses",e.join(" ")))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const i=this;if(i.params._emitClasses&&i.el){const n=[];i.slides.forEach(e=>{var t=i.getSlideClasses(e);n.push({slideEl:e,classNames:t}),i.emit("_slideClass",e,t)}),i.emit("_slideClasses",n)}}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:a,activeIndex:o}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let t,i=n[o]?n[o].swiperSlideSize:0;for(let e=o+1;e<n.length;e+=1)n[e]&&!t&&(i+=n[e].swiperSlideSize,l+=1,i>a)&&(t=!0);for(let e=o-1;0<=e;--e)n[e]&&!t&&(i+=n[e].swiperSlideSize,l+=1,i>a)&&(t=!0)}else if("current"===e)for(let e=o+1;e<n.length;e+=1)(t?r[e]+s[e]-r[o]<a:r[e]-r[o]<a)&&(l+=1);else for(let e=o-1;0<=e;--e)r[o]-r[e]<a&&(l+=1);return l}update(){const t=this;if(t&&!t.destroyed){var i,{snapGrid:n,params:r}=t;let e;function s(){var e=t.rtlTranslate?-1*t.translate:t.translate,e=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&a(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode?(s(),r.autoHeight&&t.updateAutoHeight()):(e=("auto"===r.slidesPerView||1<r.slidesPerView)&&t.isEnd&&!r.centeredSlides?(i=(t.virtual&&r.virtual.enabled?t.virtual:t).slides,t.slideTo(i.length-1,0,!1,!0)):t.slideTo(t.activeIndex,0,!1,!0))||s(),r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}}changeDirection(t,e){void 0===e&&(e=!0);var i=this,n=i.params.direction;return(t=t||("horizontal"===n?"vertical":"horizontal"))===n||"horizontal"!==t&&"vertical"!==t||(i.el.classList.remove(""+i.params.containerModifierClass+n),i.el.classList.add(""+i.params.containerModifierClass+t),i.emitContainerClasses(),i.params.direction=t,i.slides.forEach(e=>{"vertical"===t?e.style.width="":e.style.height=""}),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(t.params.containerModifierClass+"rtl"),t.el.dir="rtl"):(t.el.classList.remove(t.params.containerModifierClass+"rtl"),t.el.dir="ltr"),t.update())}mount(e){const i=this;if(!i.mounted){e=e||i.params.el;if(!(e="string"==typeof e?document.querySelector(e):e))return!1;e.swiper=i,e.parentNode&&e.parentNode.host&&"SWIPER-CONTAINER"===e.parentNode.host.nodeName&&(i.isElement=!0);var n=()=>"."+(i.params.wrapperClass||"").trim().split(" ").join(".");let t=e&&e.shadowRoot&&e.shadowRoot.querySelector?e.shadowRoot.querySelector(n()):L(e,n())[0];!t&&i.params.createElements&&(t=I("div",i.params.wrapperClass),e.append(t),L(e,"."+i.params.slideClass).forEach(e=>{t.append(e)})),Object.assign(i,{el:e,wrapperEl:t,slidesEl:i.isElement&&!e.parentNode.host.slideSlots?e.parentNode.host:t,hostEl:i.isElement?e.parentNode.host:e,mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===C(e,"direction"),rtlTranslate:"horizontal"===i.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===C(e,"direction")),wrongRTL:"-webkit-box"===C(t,"display")})}return!0}init(e){const t=this;return t.initialized||!1!==t.mount(e)&&(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),e=[...t.el.querySelectorAll('[loading="lazy"]')],t.isElement&&e.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),e.forEach(e=>{e.complete?a(t,e):e.addEventListener("load",e=>{a(t,e.target)})}),u(t),t.initialized=!0,u(t),t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{params:n,el:r,wrapperEl:s,slides:a}=i;if(void 0!==i.params&&!i.destroyed){if(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttribute("style"),s.removeAttribute("style"),a)&&a.length&&a.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e){i.el.swiper=null;{const o=i;Object.keys(o).forEach(e=>{try{o[e]=null}catch(e){}try{delete o[e]}catch(e){}})}}i.destroyed=!0}return null}static extendDefaults(e){m(c,e)}static get extendedDefaults(){return c}static get defaults(){return W}static installModule(e){p.prototype.__modules__||(p.prototype.__modules__=[]);var t=p.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>p.installModule(e)):p.installModule(e),p}}function z(i,n,r,s){return i.params.createElements&&Object.keys(s).forEach(t=>{if(!r[t]&&!0===r.auto){let e=L(i.el,"."+s[t])[0];e||((e=I("div",s[t])).className=s[t],i.el.append(e)),r[t]=e,n[t]=e}}),r}function N(e){return"."+(e=void 0===e?"":e).trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}function h(e){const{effect:i,swiper:n,on:t,setTranslate:r,setTransition:s,overwriteParams:a,perspective:o,recreateShadows:l,getEffectParams:c}=e;let d;t("beforeInit",()=>{var e;n.params.effect===i&&(n.classNames.push(""+n.params.containerModifierClass+i),o&&o()&&n.classNames.push(n.params.containerModifierClass+"3d"),e=a?a():{},Object.assign(n.params,e),Object.assign(n.originalParams,e))}),t("setTranslate",()=>{n.params.effect===i&&r()}),t("setTransition",(e,t)=>{n.params.effect===i&&s(t)}),t("transitionEnd",()=>{n.params.effect===i&&l&&c&&c().slideShadows&&(n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),l())}),t("virtualUpdate",()=>{n.params.effect===i&&(n.slides.length||(d=!0),requestAnimationFrame(()=>{d&&n.slides&&n.slides.length&&(r(),d=!1)}))})}function T(e,t){var i=s(t);return i!==t&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden"),i}function f(e){let{swiper:i,duration:t,transformElements:n,allSlides:r}=e;const s=i.activeIndex;if(i.params.virtualTranslate&&0!==t){let t=!1;(r?n:n.filter(e=>{var t,e=e.classList.contains("swiper-slide-transform")?(t=e).parentElement||i.slides.filter(e=>e.shadowRoot&&e.shadowRoot===t.parentNode)[0]:e;return i.getSlideIndex(e)===s})).forEach(e=>{v(e,()=>{var e;t||i&&!i.destroyed&&(t=!0,i.animating=!1,e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0}),i.wrapperEl.dispatchEvent(e))})})}}function F(e,t,i){i="swiper-slide-shadow"+(i?"-"+i:"")+(e?" swiper-slide-shadow-"+e:"");let n=(e=s(t)).querySelector("."+i.split(" ").join("."));return n||(n=I("div",i.split(" ")),e.append(n)),n}return Object.keys(o).forEach(t=>{Object.keys(o[t]).forEach(e=>{p.prototype[e]=o[t][e]})}),p.use([function(e){let{swiper:s,on:t,emit:i}=e;const n=E();let r=null,a=null;const o=()=>{s&&!s.destroyed&&s.initialized&&(i("beforeResize"),i("resize"))},l=()=>{s&&!s.destroyed&&s.initialized&&i("orientationchange")};t("init",()=>{s.params.resizeObserver&&void 0!==n.ResizeObserver?s&&!s.destroyed&&s.initialized&&(r=new ResizeObserver(i=>{a=n.requestAnimationFrame(()=>{var{width:e,height:t}=s;let n=e,r=t;i.forEach(e=>{var{contentBoxSize:e,contentRect:t,target:i}=e;i&&i!==s.el||(n=t?t.width:(e[0]||e).inlineSize,r=t?t.height:(e[0]||e).blockSize)}),n===e&&r===t||o()})})).observe(s.el):(n.addEventListener("resize",o),n.addEventListener("orientationchange",l))}),t("destroy",()=>{a&&n.cancelAnimationFrame(a),r&&r.unobserve&&s.el&&(r.unobserve(s.el),r=null),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",l)})},function(e){let{swiper:n,extendParams:t,on:i,emit:r}=e;function s(e,t){void 0===t&&(t={});var i=new(o.MutationObserver||o.WebkitMutationObserver)(e=>{var t;n.__preventObserver__||(1===e.length?r("observerUpdate",e[0]):(t=function(){r("observerUpdate",e[0])},o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)))});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.push(i)}const a=[],o=E();t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(n.params.observer){if(n.params.observeParents){var t=D(n.hostEl);for(let e=0;e<t.length;e+=1)s(t[e])}s(n.hostEl,{childList:n.params.observeSlideChildren}),s(n.wrapperEl,{attributes:!1})}}),i("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}]),p.use([function(e){let t,{swiper:S,extendParams:i,on:n,emit:k}=e;i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e=A(),S.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const r=e.createElement("div");function C(e,t){var i=S.params.virtual;if(i.cache&&S.virtual.cache[t])return S.virtual.cache[t];let n;return i.renderSlide?"string"==typeof(n=i.renderSlide.call(S,e,t))&&(r.innerHTML=n,n=r.children[0]):n=S.isElement?I("swiper-slide"):I("div",S.params.slideClass),n.setAttribute("data-swiper-slide-index",t),i.renderSlide||(n.innerHTML=e),i.cache&&(S.virtual.cache[t]=n),n}function a(t){const{slidesPerView:i,slidesPerGroup:e,centeredSlides:n,loop:r}=S.params,{addSlidesBefore:s,addSlidesAfter:a}=S.params.virtual,{from:o,to:l,slides:c,slidesGrid:d,offset:u}=S.virtual;S.params.cssMode||S.updateActiveIndex();var p=S.activeIndex||0;let h,f,m,g=(h=S.rtlTranslate?"right":S.isHorizontal()?"left":"top",p-(m=n?(f=Math.floor(i/2)+e+a,Math.floor(i/2)+e+s):(f=i+(e-1)+a,(r?i:e)+s))),y=p+f,v=(r||(g=Math.max(g,0),y=Math.min(y,c.length-1)),(S.slidesGrid[g]||0)-(S.slidesGrid[0]||0));function b(){S.updateSlides(),S.updateProgress(),S.updateSlidesClasses(),k("virtualUpdate")}if(r&&m<=p?(g-=m,n||(v+=S.slidesGrid[0])):r&&p<m&&(g=-m,n)&&(v+=S.slidesGrid[0]),Object.assign(S.virtual,{from:g,to:y,offset:v,slidesGrid:S.slidesGrid,slidesBefore:m,slidesAfter:f}),o!==g||l!==y||t)if(S.params.virtual.renderExternal)S.params.virtual.renderExternal.call(S,{offset:v,from:g,to:y,slides:function(){var t=[];for(let e=g;e<=y;e+=1)t.push(c[e]);return t}()}),S.params.virtual.renderExternalUpdate?b():k("virtualUpdate");else{var w=[],_=[],x=e=>{let t=e;return e<0?t=c.length+e:t>=c.length&&(t-=c.length),t};if(t)S.slides.filter(e=>e.matches(`.${S.params.slideClass}, swiper-slide`)).forEach(e=>{e.remove()});else for(let e=o;e<=l;e+=1)if(e<g||e>y){const i=x(e);S.slides.filter(e=>e.matches(`.${S.params.slideClass}[data-swiper-slide-index="${i}"], swiper-slide[data-swiper-slide-index="${i}"]`)).forEach(e=>{e.remove()})}var p=r?-c.length:0,T=r?2*c.length:c.length;for(let e=p;e<T;e+=1)if(e>=g&&e<=y){const S=x(e);void 0===l||t?_.push(S):(e>l&&_.push(S),e<o&&w.push(S))}if(_.forEach(e=>{S.slidesEl.append(C(c[e],e))}),r)for(let e=w.length-1;0<=e;--e){const i=w[e];S.slidesEl.prepend(C(c[i],i))}else w.sort((e,t)=>t-e),w.forEach(e=>{S.slidesEl.prepend(C(c[e],e))});L(S.slidesEl,".swiper-slide, swiper-slide").forEach(e=>{e.style[h]=v-Math.abs(S.cssOverflowAdjustment())+"px"}),b()}else S.slidesGrid!==d&&v!==u&&S.slides.forEach(e=>{e.style[h]=v-Math.abs(S.cssOverflowAdjustment())+"px"}),S.updateProgress(),k("virtualUpdate")}n("beforeInit",()=>{if(S.params.virtual.enabled){let e;var t;void 0===S.passedParams.virtual.slides&&(t=[...S.slidesEl.children].filter(e=>e.matches(`.${S.params.slideClass}, swiper-slide`)))&&t.length&&(S.virtual.slides=[...t],e=!0,t.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t),(S.virtual.cache[t]=e).remove()})),e||(S.virtual.slides=S.params.virtual.slides),S.classNames.push(S.params.containerModifierClass+"virtual"),S.params.watchSlidesProgress=!0,S.originalParams.watchSlidesProgress=!0,a()}}),n("setTranslate",()=>{S.params.virtual.enabled&&(S.params.cssMode&&!S._immediateVirtual?(clearTimeout(t),t=setTimeout(()=>{a()},100)):a())}),n("init update resize",()=>{S.params.virtual.enabled&&S.params.cssMode&&P(S.wrapperEl,"--swiper-virtual-size",S.virtualSize+"px")}),Object.assign(S.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&S.virtual.slides.push(t[e]);else S.virtual.slides.push(t);a(!0)},prependSlide:function(n){const r=S.activeIndex;let e=r+1,s=1;if(Array.isArray(n)){for(let e=0;e<n.length;e+=1)n[e]&&S.virtual.slides.unshift(n[e]);e=r+n.length,s=n.length}else S.virtual.slides.unshift(n);if(S.params.virtual.cache){const n=S.virtual.cache,r={};Object.keys(n).forEach(e=>{var t=n[e],i=t.getAttribute("data-swiper-slide-index");i&&t.setAttribute("data-swiper-slide-index",parseInt(i,10)+s),r[parseInt(e,10)+s]=t}),S.virtual.cache=r}a(!0),S.slideTo(e,0)},removeSlide:function(i){if(null!=i){let t=S.activeIndex;if(Array.isArray(i))for(let e=i.length-1;0<=e;--e)S.params.virtual.cache&&(delete S.virtual.cache[i[e]],Object.keys(S.virtual.cache).forEach(e=>{i<e&&(S.virtual.cache[e-1]=S.virtual.cache[e],S.virtual.cache[e-1].setAttribute("data-swiper-slide-index",e-1),delete S.virtual.cache[e])})),S.virtual.slides.splice(i[e],1),i[e]<t&&--t,t=Math.max(t,0);else S.params.virtual.cache&&(delete S.virtual.cache[i],Object.keys(S.virtual.cache).forEach(e=>{i<e&&(S.virtual.cache[e-1]=S.virtual.cache[e],S.virtual.cache[e-1].setAttribute("data-swiper-slide-index",e-1),delete S.virtual.cache[e])})),S.virtual.slides.splice(i,1),i<t&&--t,t=Math.max(t,0);a(!0),S.slideTo(t,0)}},removeAllSlides:function(){S.virtual.slides=[],S.params.virtual.cache&&(S.virtual.cache={}),a(!0),S.slideTo(0,0)},update:a})},function(e){let{swiper:m,extendParams:t,on:i,emit:g}=e;const y=A(),v=E();function n(e){if(m.enabled){var i=m.rtlTranslate,t=(e=e.originalEvent||e).keyCode||e.charCode,n=m.params.keyboard.pageUpDown,r=n&&33===t,n=n&&34===t,s=37===t,a=39===t,o=38===t,l=40===t;if(!m.allowSlideNext&&(m.isHorizontal()&&a||m.isVertical()&&l||n))return!1;if(!m.allowSlidePrev&&(m.isHorizontal()&&s||m.isVertical()&&o||r))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||y.activeElement&&y.activeElement.nodeName&&("input"===y.activeElement.nodeName.toLowerCase()||"textarea"===y.activeElement.nodeName.toLowerCase()))){if(m.params.keyboard.onlyInViewport&&(r||n||s||a||o||l)){let t=!1;if(0<D(m.el,`.${m.params.slideClass}, swiper-slide`).length&&0===D(m.el,"."+m.params.slideActiveClass).length)return;const d=m.el,u=d.clientWidth,p=d.clientHeight,g=v.innerWidth,y=v.innerHeight,h=O(d),f=(i&&(h.left-=d.scrollLeft),[[h.left,h.top],[h.left+u,h.top],[h.left,h.top+p],[h.left+u,h.top+p]]);for(let e=0;e<f.length;e+=1){var c=f[e];0<=c[0]&&c[0]<=g&&0<=c[1]&&c[1]<=y&&(0===c[0]&&0===c[1]||(t=!0))}if(!t)return}m.isHorizontal()?((r||n||s||a)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),((n||a)&&!i||(r||s)&&i)&&m.slideNext(),((r||s)&&!i||(n||a)&&i)&&m.slidePrev()):((r||n||o||l)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),(n||l)&&m.slideNext(),(r||o)&&m.slidePrev()),g("keyPress",t)}}}function r(){m.keyboard.enabled||(y.addEventListener("keydown",n),m.keyboard.enabled=!0)}function s(){m.keyboard.enabled&&(y.removeEventListener("keydown",n),m.keyboard.enabled=!1)}m.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",()=>{m.params.keyboard.enabled&&r()}),i("destroy",()=>{m.keyboard.enabled&&s()}),Object.assign(m.keyboard,{enable:r,disable:s})},function(e){let{swiper:c,extendParams:t,on:i,emit:d}=e;const u=E();let p;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),c.mousewheel={enabled:!1};let h,f=g();const m=[];function n(){c.enabled&&(c.mouseEntered=!0)}function r(){c.enabled&&(c.mouseEntered=!1)}function s(i){let n=i,r=!0;if(c.enabled&&!i.target.closest("."+c.params.mousewheel.noMousewheelClass)){var s=c.params.mousewheel,a=(c.params.cssMode&&n.preventDefault(),c.el),a=(a="container"!==c.params.mousewheel.eventsTarget?document.querySelector(c.params.mousewheel.eventsTarget):a)&&a.contains(n.target);if(!c.mouseEntered&&!a&&!s.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);let t=0;var a=c.rtlTranslate?-1:1,o=function(e){let t=0,i=0,n=0,r=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,r=10*i,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=r,r=0),(n||r)&&e.deltaMode&&(1===e.deltaMode?(n*=40,r*=40):(n*=800,r*=800)),n&&!t&&(t=n<1?-1:1),r&&!i&&(i=r<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:r}}(n);if(s.forceToAxis)if(c.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;t=-o.pixelX*a}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;t=-o.pixelY}else t=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*a:-o.pixelY;if(0===t)return!0;s.invert&&(t=-t);let e=c.getTranslate()+t*s.sensitivity;if((e=e>=c.minTranslate()?c.minTranslate():e)<=c.maxTranslate()&&(e=c.maxTranslate()),(r=!!c.params.loop||!(e===c.minTranslate()||e===c.maxTranslate()))&&c.params.nested&&n.stopPropagation(),c.params.freeMode&&c.params.freeMode.enabled){const i={time:g(),delta:Math.abs(t),direction:Math.sign(t)},r=h&&i.time<h.time+500&&i.delta<=h.delta&&i.direction===h.direction;if(!r){h=void 0;let e=c.getTranslate()+t*s.sensitivity;const g=c.isBeginning,l=c.isEnd;if((e=e>=c.minTranslate()?c.minTranslate():e)<=c.maxTranslate()&&(e=c.maxTranslate()),c.setTransition(0),c.setTranslate(e),c.updateProgress(),c.updateActiveIndex(),c.updateSlidesClasses(),(!g&&c.isBeginning||!l&&c.isEnd)&&c.updateSlidesClasses(),c.params.loop&&c.loopFix({direction:i.direction<0?"next":"prev",byMousewheel:!0}),c.params.freeMode.sticky){clearTimeout(p),p=void 0,15<=m.length&&m.shift();const n=m.length?m[m.length-1]:void 0,r=m[0];if(m.push(i),n&&(i.delta>n.delta||i.direction!==n.direction))m.splice(0);else if(15<=m.length&&i.time-r.time<500&&1<=r.delta-i.delta&&i.delta<=6){const n=0<t?.8:.2;h=i,m.splice(0),p=k(()=>{c.slideToClosest(c.params.speed,!0,void 0,n)},0)}p=p||k(()=>{h=i,m.splice(0),c.slideToClosest(c.params.speed,!0,void 0,.5)},500)}if(r||d("scroll",n),c.params.autoplay&&c.params.autoplayDisableOnInteraction&&c.autoplay.stop(),s.releaseOnEdges&&(e===c.minTranslate()||e===c.maxTranslate()))return!0}}else{const n={time:g(),delta:Math.abs(t),direction:Math.sign(t),raw:i},r=(2<=m.length&&m.shift(),m.length?m[m.length-1]:void 0);if(m.push(n),(!r||n.direction!==r.direction||n.delta>r.delta||n.time>r.time+150)&&(a=n,c.params.mousewheel.thresholdDelta&&a.delta<c.params.mousewheel.thresholdDelta||c.params.mousewheel.thresholdTime&&g()-f<c.params.mousewheel.thresholdTime||6<=a.delta&&g()-f<60||(a.direction<0?c.isEnd&&!c.params.loop||c.animating||(c.slideNext(),d("scroll",a.raw)):c.isBeginning&&!c.params.loop||c.animating||(c.slidePrev(),d("scroll",a.raw)),f=(new u.Date).getTime())),o=n,s=c.params.mousewheel,o.direction<0?!(!c.isEnd||c.params.loop||!s.releaseOnEdges):!(!c.isBeginning||c.params.loop||!s.releaseOnEdges))return!0}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1}}function a(e){let t=c.el;(t="container"!==c.params.mousewheel.eventsTarget?document.querySelector(c.params.mousewheel.eventsTarget):t)[e]("mouseenter",n),t[e]("mouseleave",r),t[e]("wheel",s)}function o(){return c.params.cssMode?(c.wrapperEl.removeEventListener("wheel",s),!0):!c.mousewheel.enabled&&(a("addEventListener"),c.mousewheel.enabled=!0)}function l(){return c.params.cssMode?(c.wrapperEl.addEventListener(event,s),!0):!(!c.mousewheel.enabled||(a("removeEventListener"),c.mousewheel.enabled=!1))}i("init",()=>{!c.params.mousewheel.enabled&&c.params.cssMode&&l(),c.params.mousewheel.enabled&&o()}),i("destroy",()=>{c.params.cssMode&&o(),c.mousewheel.enabled&&l()}),Object.assign(c.mousewheel,{enable:o,disable:l})},function(e){let{swiper:r,extendParams:t,on:i,emit:s}=e;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),r.navigation={nextEl:null,prevEl:null};const a=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function o(e){let t;return e&&"string"==typeof e&&r.isElement&&(t=r.el.querySelector(e))||(e&&("string"==typeof e&&(t=[...document.querySelectorAll(e)]),r.params.uniqueNavElements)&&"string"==typeof e&&1<t.length&&1===r.el.querySelectorAll(e).length&&(t=r.el.querySelector(e)),!e)||t?t:e}function n(e,t){const i=r.params.navigation;(e=a(e)).forEach(e=>{e&&(e.classList[t?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=t),r.params.watchOverflow)&&r.enabled&&e.classList[r.isLocked?"add":"remove"](i.lockClass)})}function l(){var{nextEl:e,prevEl:t}=r.navigation;r.params.loop?(n(t,!1),n(e,!1)):(n(t,r.isBeginning&&!r.params.rewind),n(e,r.isEnd&&!r.params.rewind))}function c(e){e.preventDefault(),r.isBeginning&&!r.params.loop&&!r.params.rewind||(r.slidePrev(),s("navigationPrev"))}function d(e){e.preventDefault(),r.isEnd&&!r.params.loop&&!r.params.rewind||(r.slideNext(),s("navigationNext"))}function u(){const i=r.params.navigation;if(r.params.navigation=z(r,r.originalParams.navigation,r.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),i.nextEl||i.prevEl){var e=o(i.nextEl),t=o(i.prevEl);Object.assign(r.navigation,{nextEl:e,prevEl:t}),e=a(e),t=a(t);const n=(e,t)=>{e&&e.addEventListener("click","next"===t?d:c),!r.enabled&&e&&e.classList.add(...i.lockClass.split(" "))};e.forEach(e=>n(e,"next")),t.forEach(e=>n(e,"prev"))}}function p(){var{nextEl:e,prevEl:t}=r.navigation,e=a(e),t=a(t);const i=(e,t)=>{e.removeEventListener("click","next"===t?d:c),e.classList.remove(...r.params.navigation.disabledClass.split(" "))};e.forEach(e=>i(e,"next")),t.forEach(e=>i(e,"prev"))}i("init",()=>{(!1===r.params.navigation.enabled?h:(u(),l))()}),i("toEdge fromEdge lock unlock",()=>{l()}),i("destroy",()=>{p()}),i("enable disable",()=>{var{nextEl:e,prevEl:t}=r.navigation,e=a(e),t=a(t);r.enabled?l():[...e,...t].filter(e=>!!e).forEach(e=>e.classList.add(r.params.navigation.lockClass))}),i("click",(e,t)=>{var{nextEl:i,prevEl:n}=r.navigation,i=a(i),n=a(n),t=t.target;if(r.params.navigation.hideOnClick&&!n.includes(t)&&!i.includes(t)&&(!(r.pagination&&r.params.pagination&&r.params.pagination.clickable)||r.pagination.el!==t&&!r.pagination.el.contains(t))){let e;i.length?e=i[0].classList.contains(r.params.navigation.hiddenClass):n.length&&(e=n[0].classList.contains(r.params.navigation.hiddenClass)),s(!0===e?"navigationShow":"navigationHide"),[...i,...n].filter(e=>!!e).forEach(e=>e.classList.toggle(r.params.navigation.hiddenClass))}});const h=()=>{r.el.classList.add(...r.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(r.navigation,{enable:()=>{r.el.classList.remove(...r.params.navigation.navigationDisabledClass.split(" ")),u(),l()},disable:h,update:l,init:u,destroy:p})},function(e){let{swiper:u,extendParams:t,on:i,emit:p}=e;e="swiper-pagination";let h,f=(t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:e+"-bullet",bulletActiveClass:e+"-bullet-active",modifierClass:e+"-",currentClass:e+"-current",totalClass:e+"-total",hiddenClass:e+"-hidden",progressbarFillClass:e+"-progressbar-fill",progressbarOppositeClass:e+"-progressbar-opposite",clickableClass:e+"-clickable",lockClass:e+"-lock",horizontalClass:e+"-horizontal",verticalClass:e+"-vertical",paginationDisabledClass:e+"-disabled"}}),u.pagination={el:null,bullets:[]},0);const m=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function r(){return!u.params.pagination.el||!u.pagination.el||Array.isArray(u.pagination.el)&&0===u.pagination.el.length}function g(e,t){var i=u.params.pagination.bulletActiveClass;(e=e&&e[("prev"===t?"previous":"next")+"ElementSibling"])&&(e.classList.add(i+"-"+t),e=e[("prev"===t?"previous":"next")+"ElementSibling"])&&e.classList.add(i+`-${t}-`+t)}function n(e){var t=e.target.closest(N(u.params.pagination.bulletClass));t&&(e.preventDefault(),e=x(t)*u.params.slidesPerGroup,u.params.loop?u.realIndex!==e&&u.slideToLoop(e):u.slideTo(e))}function s(){const a=u.rtl,o=u.params.pagination;if(!r()){let s,t,r=u.pagination.el;r=m(r);const e=(u.virtual&&u.params.virtual.enabled?u.virtual:u).slides.length,l=u.params.loop?Math.ceil(e/u.params.slidesPerGroup):u.snapGrid.length;if(u.params.loop?(t=u.previousRealIndex||0,s=1<u.params.slidesPerGroup?Math.floor(u.realIndex/u.params.slidesPerGroup):u.realIndex):void 0!==u.snapIndex?(s=u.snapIndex,t=u.previousSnapIndex):(t=u.previousIndex||0,s=u.activeIndex||0),"bullets"===o.type&&u.pagination.bullets&&0<u.pagination.bullets.length){const p=u.pagination.bullets;let i,n,e;if(o.dynamicBullets&&(h=Y(p[0],u.isHorizontal()?"width":"height",!0),r.forEach(e=>{e.style[u.isHorizontal()?"width":"height"]=h*(o.dynamicMainBullets+4)+"px"}),1<o.dynamicMainBullets&&void 0!==t&&((f+=s-(t||0))>o.dynamicMainBullets-1?f=o.dynamicMainBullets-1:f<0&&(f=0)),i=Math.max(s-f,0),n=i+(Math.min(p.length,o.dynamicMainBullets)-1),e=(n+i)/2),p.forEach(e=>{var t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>""+o.bulletActiveClass+e)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),1<r.length)p.forEach(e=>{var t=x(e);t===s?e.classList.add(...o.bulletActiveClass.split(" ")):u.isElement&&e.setAttribute("part","bullet"),o.dynamicBullets&&(t>=i&&t<=n&&e.classList.add(...(o.bulletActiveClass+"-main").split(" ")),t===i&&g(e,"prev"),t===n)&&g(e,"next")});else{const a=p[s];if(a&&a.classList.add(...o.bulletActiveClass.split(" ")),u.isElement&&p.forEach((e,t)=>{e.setAttribute("part",t===s?"bullet-active":"bullet")}),o.dynamicBullets){const a=p[i],u=p[n];for(let e=i;e<=n;e+=1)p[e]&&p[e].classList.add(...(o.bulletActiveClass+"-main").split(" "));g(a,"prev"),g(u,"next")}}if(o.dynamicBullets){const c=Math.min(p.length,o.dynamicMainBullets+4),d=(h*c-h)/2-e*h,f=a?"right":"left";p.forEach(e=>{e.style[u.isHorizontal()?f:"top"]=d+"px"})}}r.forEach((e,n)=>{if("fraction"===o.type&&(e.querySelectorAll(N(o.currentClass)).forEach(e=>{e.textContent=o.formatFractionCurrent(s+1)}),e.querySelectorAll(N(o.totalClass)).forEach(e=>{e.textContent=o.formatFractionTotal(l)})),"progressbar"===o.type){var r=o.progressbarOpposite?u.isHorizontal()?"vertical":"horizontal":u.isHorizontal()?"horizontal":"vertical";const n=(s+1)/l;let t=1,i=1;"horizontal"==r?t=n:i=n,e.querySelectorAll(N(o.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${t}) scaleY(${i})`,e.style.transitionDuration=u.params.speed+"ms"})}"custom"===o.type&&o.renderCustom?(e.innerHTML=o.renderCustom(u,s+1,l),0===n&&p("paginationRender",e)):(0===n&&p("paginationRender",e),p("paginationUpdate",e)),u.params.watchOverflow&&u.enabled&&e.classList[u.isLocked?"add":"remove"](o.lockClass)})}}function a(){const n=u.params.pagination;if(!r()){var e=u.virtual&&u.params.virtual.enabled?u.virtual.slides.length:u.grid&&1<u.params.grid.rows?u.slides.length/Math.ceil(u.params.grid.rows):u.slides.length,t=u.pagination.el,t=m(t);let i="";if("bullets"===n.type){let t=u.params.loop?Math.ceil(e/u.params.slidesPerGroup):u.snapGrid.length;u.params.freeMode&&u.params.freeMode.enabled&&t>e&&(t=e);for(let e=0;e<t;e+=1)n.renderBullet?i+=n.renderBullet.call(u,e,n.bulletClass):i+=`<${n.bulletElement} ${u.isElement?'part="bullet"':""} class="${n.bulletClass}"></${n.bulletElement}>`}"fraction"===n.type&&(i=n.renderFraction?n.renderFraction.call(u,n.currentClass,n.totalClass):`<span class="${n.currentClass}"></span> / <span class="${n.totalClass}"></span>`),"progressbar"===n.type&&(i=n.renderProgressbar?n.renderProgressbar.call(u,n.progressbarFillClass):`<span class="${n.progressbarFillClass}"></span>`),u.pagination.bullets=[],t.forEach(e=>{"custom"!==n.type&&(e.innerHTML=i||""),"bullets"===n.type&&u.pagination.bullets.push(...e.querySelectorAll(N(n.bulletClass)))}),"custom"!==n.type&&p("paginationRender",t[0])}}function o(){u.params.pagination=z(u,u.originalParams.pagination,u.params.pagination,{el:"swiper-pagination"});const t=u.params.pagination;if(t.el){let e;(e=(e=(e="string"==typeof t.el&&u.isElement?u.el.querySelector(t.el):e)||"string"!=typeof t.el?e:[...document.querySelectorAll(t.el)])||t.el)&&0!==e.length&&(u.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&1<e.length&&1<(e=[...u.el.querySelectorAll(t.el)]).length&&(e=e.filter(e=>D(e,".swiper")[0]===u.el)[0]),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(u.pagination,{el:e}),(e=m(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(u.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(""+t.modifierClass+t.type+"-dynamic"),f=0,t.dynamicMainBullets<1)&&(t.dynamicMainBullets=1),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",n),u.enabled||e.classList.add(t.lockClass)}))}}function l(){const t=u.params.pagination;var e;r()||((e=u.pagination.el)&&(e=m(e)).forEach(e=>{e.classList.remove(t.hiddenClass),e.classList.remove(t.modifierClass+t.type),e.classList.remove(u.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(e.classList.remove(...(t.clickableClass||"").split(" ")),e.removeEventListener("click",n))}),u.pagination.bullets&&u.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" "))))}i("changeDirection",()=>{if(u.pagination&&u.pagination.el){const t=u.params.pagination;var e=u.pagination.el;(e=m(e)).forEach(e=>{e.classList.remove(t.horizontalClass,t.verticalClass),e.classList.add(u.isHorizontal()?t.horizontalClass:t.verticalClass)})}}),i("init",()=>{(!1===u.params.pagination.enabled?c:(o(),a(),s))()}),i("activeIndexChange",()=>{void 0===u.snapIndex&&s()}),i("snapIndexChange",()=>{s()}),i("snapGridLengthChange",()=>{a(),s()}),i("destroy",()=>{l()}),i("enable disable",()=>{var e=u.pagination.el;e&&(e=m(e)).forEach(e=>e.classList[u.enabled?"remove":"add"](u.params.pagination.lockClass))}),i("lock unlock",()=>{s()}),i("click",(e,t)=>{var t=t.target,i=m(u.pagination.el);if(u.params.pagination.el&&u.params.pagination.hideOnClick&&i&&0<i.length&&!t.classList.contains(u.params.pagination.bulletClass)&&(!u.navigation||!(u.navigation.nextEl&&t===u.navigation.nextEl||u.navigation.prevEl&&t===u.navigation.prevEl))){const e=i[0].classList.contains(u.params.pagination.hiddenClass);p(!0===e?"paginationShow":"paginationHide"),i.forEach(e=>e.classList.toggle(u.params.pagination.hiddenClass))}});const c=()=>{u.el.classList.add(u.params.pagination.paginationDisabledClass);var e=u.pagination.el;e&&(e=m(e)).forEach(e=>e.classList.add(u.params.pagination.paginationDisabledClass)),l()};Object.assign(u.pagination,{enable:()=>{u.el.classList.remove(u.params.pagination.paginationDisabledClass);var e=u.pagination.el;e&&(e=m(e)).forEach(e=>e.classList.remove(u.params.pagination.paginationDisabledClass)),o(),a(),s()},disable:c,render:a,update:s,init:o,destroy:l})},function(e){let{swiper:l,extendParams:t,on:i,emit:s}=e;const a=A();let o,c,d,n,u=!1,p=null,h=null;function r(){if(l.params.scrollbar.el&&l.scrollbar.el){const{scrollbar:i,rtlTranslate:n}=l,{dragEl:r,el:s}=i,a=l.params.scrollbar,o=l.params.loop?l.progressLoop:l.progress;let e=c,t=(d-c)*o;n?0<(t=-t)?(e=c-t,t=0):-t+c>d&&(e=d+t):t<0?(e=c+t,t=0):t+c>d&&(e=d-t),l.isHorizontal()?(r.style.transform=`translate3d(${t}px, 0, 0)`,r.style.width=e+"px"):(r.style.transform=`translate3d(0px, ${t}px, 0)`,r.style.height=e+"px"),a.hide&&(clearTimeout(p),s.style.opacity=1,p=setTimeout(()=>{s.style.opacity=0,s.style.transitionDuration="400ms"},1e3))}}function f(){var e,t,i;l.params.scrollbar.el&&l.scrollbar.el&&({dragEl:t,el:i}=e=l.scrollbar,t.style.width="",t.style.height="",d=l.isHorizontal()?i.offsetWidth:i.offsetHeight,n=l.size/(l.virtualSize+l.params.slidesOffsetBefore-(l.params.centeredSlides?l.snapGrid[0]:0)),c="auto"===l.params.scrollbar.dragSize?d*n:parseInt(l.params.scrollbar.dragSize,10),l.isHorizontal()?t.style.width=c+"px":t.style.height=c+"px",i.style.display=1<=n?"none":"",l.params.scrollbar.hide&&(i.style.opacity=0),l.params.watchOverflow)&&l.enabled&&e.el.classList[l.isLocked?"add":"remove"](l.params.scrollbar.lockClass)}function m(e){return l.isHorizontal()?e.clientX:e.clientY}function g(e){var{scrollbar:t,rtlTranslate:i}=l,t=t.el;let n;n=(m(e)-O(t)[l.isHorizontal()?"left":"top"]-(null!==o?o:c/2))/(d-c),n=Math.max(Math.min(n,1),0),i&&(n=1-n),e=l.minTranslate()+(l.maxTranslate()-l.minTranslate())*n,l.updateProgress(e),l.setTranslate(e),l.updateActiveIndex(),l.updateSlidesClasses()}function y(e){var t=l.params.scrollbar,{scrollbar:i,wrapperEl:n}=l,{el:i,dragEl:r}=i;u=!0,o=e.target===r?m(e)-e.target.getBoundingClientRect()[l.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.style.transitionDuration="100ms",r.style.transitionDuration="100ms",g(e),clearTimeout(h),i.style.transitionDuration="0ms",t.hide&&(i.style.opacity=1),l.params.cssMode&&(l.wrapperEl.style["scroll-snap-type"]="none"),s("scrollbarDragStart",e)}function v(e){var{scrollbar:t,wrapperEl:i}=l,{el:t,dragEl:n}=t;u&&(e.preventDefault?e.preventDefault():e.returnValue=!1,g(e),i.style.transitionDuration="0ms",t.style.transitionDuration="0ms",n.style.transitionDuration="0ms",s("scrollbarDragMove",e))}function b(e){const t=l.params.scrollbar,{scrollbar:i,wrapperEl:n}=l,r=i.el;u&&(u=!1,l.params.cssMode&&(l.wrapperEl.style["scroll-snap-type"]="",n.style.transitionDuration=""),t.hide&&(clearTimeout(h),h=k(()=>{r.style.opacity=0,r.style.transitionDuration="400ms"},1e3)),s("scrollbarDragEnd",e),t.snapOnRelease)&&l.slideToClosest()}function w(e){var t,{scrollbar:i,params:n}=l;(i=i.el)&&(t=!!n.passiveListeners&&{passive:!1,capture:!1},n=!!n.passiveListeners&&{passive:!0,capture:!1},i)&&(i[i="on"===e?"addEventListener":"removeEventListener"]("pointerdown",y,t),a[i]("pointermove",v,t),a[i]("pointerup",b,n))}function _(){var{scrollbar:i,el:n}=l,r=(l.params.scrollbar=z(l,l.originalParams.scrollbar,l.params.scrollbar,{el:"swiper-scrollbar"}),l.params.scrollbar);if(r.el){let e,t;if((e="string"==typeof r.el&&l.isElement?l.el.querySelector(r.el):e)||"string"!=typeof r.el)e=e||r.el;else if(!(e=a.querySelectorAll(r.el)).length)return;(e=0<(e=l.params.uniqueNavElements&&"string"==typeof r.el&&1<e.length&&1===n.querySelectorAll(r.el).length?n.querySelector(r.el):e).length?e[0]:e).classList.add(l.isHorizontal()?r.horizontalClass:r.verticalClass),e&&!(t=e.querySelector(N(l.params.scrollbar.dragClass)))&&(t=I("div",l.params.scrollbar.dragClass),e.append(t)),Object.assign(i,{el:e,dragEl:t}),r.draggable&&l.params.scrollbar.el&&l.scrollbar.el&&w("on"),e&&e.classList[l.enabled?"remove":"add"](...S(l.params.scrollbar.lockClass))}}function x(){var e=l.params.scrollbar,t=l.scrollbar.el;t&&t.classList.remove(...S(l.isHorizontal()?e.horizontalClass:e.verticalClass)),l.params.scrollbar.el&&l.scrollbar.el&&w("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),l.scrollbar={el:null,dragEl:null},i("init",()=>{(!1===l.params.scrollbar.enabled?T:(_(),f(),r))()}),i("update resize observerUpdate lock unlock",()=>{f()}),i("setTranslate",()=>{r()}),i("setTransition",(e,t)=>{l.params.scrollbar.el&&l.scrollbar.el&&(l.scrollbar.dragEl.style.transitionDuration=t+"ms")}),i("enable disable",()=>{var e=l.scrollbar.el;e&&e.classList[l.enabled?"remove":"add"](...S(l.params.scrollbar.lockClass))}),i("destroy",()=>{x()});const T=()=>{l.el.classList.add(...S(l.params.scrollbar.scrollbarDisabledClass)),l.scrollbar.el&&l.scrollbar.el.classList.add(...S(l.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(l.scrollbar,{enable:()=>{l.el.classList.remove(...S(l.params.scrollbar.scrollbarDisabledClass)),l.scrollbar.el&&l.scrollbar.el.classList.remove(...S(l.params.scrollbar.scrollbarDisabledClass)),_(),f(),r()},disable:T,updateSize:f,setTranslate:r,init:_,destroy:x})},function(e){let{swiper:d,extendParams:t,on:i}=e;t({parallax:{enabled:!1}});const s="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",a=(e,t)=>{var i=d.rtl?-1:1,n=e.getAttribute("data-swiper-parallax")||"0";let r=e.getAttribute("data-swiper-parallax-x"),s=e.getAttribute("data-swiper-parallax-y");var a=e.getAttribute("data-swiper-parallax-scale"),o=e.getAttribute("data-swiper-parallax-opacity"),l=e.getAttribute("data-swiper-parallax-rotate");if(r||s?(r=r||"0",s=s||"0"):d.isHorizontal()?(r=n,s="0"):(s=n,r="0"),r=0<=r.indexOf("%")?parseInt(r,10)*t*i+"%":r*t*i+"px",s=0<=s.indexOf("%")?parseInt(s,10)*t+"%":s*t+"px",null!=o){const d=o-(o-1)*(1-Math.abs(t));e.style.opacity=d}let c=`translate3d(${r}, ${s}, 0px)`;null!=a&&(c+=` scale(${a-(a-1)*(1-Math.abs(t))})`),l&&null!=l&&(c+=` rotate(${l*t*-1}deg)`),e.style.transform=c},n=()=>{const{el:e,slides:t,progress:n,snapGrid:r}=d,i=L(e,s);d.isElement&&i.push(...L(d.hostEl,s)),i.forEach(e=>{a(e,n)}),t.forEach((e,t)=>{let i=e.progress;1<d.params.slidesPerGroup&&"auto"!==d.params.slidesPerView&&(i+=Math.ceil(t/2)-n*(r.length-1)),i=Math.min(Math.max(i,-1),1),e.querySelectorAll(s+", [data-swiper-parallax-rotate]").forEach(e=>{a(e,i)})})};i("beforeInit",()=>{d.params.parallax.enabled&&(d.params.watchSlidesProgress=!0,d.originalParams.watchSlidesProgress=!0)}),i("init",()=>{d.params.parallax.enabled&&n()}),i("setTranslate",()=>{d.params.parallax.enabled&&n()}),i("setTransition",(e,t)=>{var i,n;d.params.parallax.enabled&&({el:t,hostEl:n}=(void 0===(i=t)&&(i=d.params.speed),d),t=[...t.querySelectorAll(s)],d.isElement&&t.push(...n.querySelectorAll(s)),t.forEach(e=>{let t=parseInt(e.getAttribute("data-swiper-parallax-duration"),10)||i;0===i&&(t=0),e.style.transitionDuration=t+"ms"}))})},function(e){let{swiper:x,extendParams:t,on:i,emit:n}=e;const T=E();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),x.zoom={enabled:!1};let r,s,S=1,a=!1;const o=[],k={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},C={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},l={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let c=1;function d(){var e,t,i,n;return o.length<2?1:(e=o[0].pageX,t=o[0].pageY,i=o[1].pageX,n=o[1].pageY,Math.sqrt((i-e)**2+(n-t)**2))}function u(t){var e=x.isElement?"swiper-slide":"."+x.params.slideClass;return t.target.matches(e)||0<x.slides.filter(e=>e.contains(t.target)).length}function p(t){if("mouse"===t.pointerType&&o.splice(0,o.length),u(t)){var i=x.params.zoom;if(r=!1,s=!1,o.push(t),!(o.length<2)){if(r=!0,k.scaleStart=d(),!k.slideEl){k.slideEl=t.target.closest(`.${x.params.slideClass}, swiper-slide`),k.slideEl||(k.slideEl=x.slides[x.activeIndex]);let e=k.slideEl.querySelector("."+i.containerClass);if(e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],k.imageEl=e,k.imageWrapEl=e?D(k.imageEl,"."+i.containerClass)[0]:void 0,!k.imageWrapEl)return void(k.imageEl=void 0);k.maxRatio=k.imageWrapEl.getAttribute("data-swiper-zoom")||i.maxRatio}if(k.imageEl){const[t,x]=o.length<2?{x:null,y:null}:(i=k.imageEl.getBoundingClientRect(),[(o[0].pageX+(o[1].pageX-o[0].pageX)/2-i.x-T.scrollX)/S,(o[0].pageY+(o[1].pageY-o[0].pageY)/2-i.y-T.scrollY)/S]);k.originX=t,k.originY=x,k.imageEl.style.transitionDuration="0ms"}a=!0}}}function h(t){var e,i,n;u(t)&&(e=x.params.zoom,i=x.zoom,0<=(n=o.findIndex(e=>e.pointerId===t.pointerId))&&(o[n]=t),o.length<2||(s=!0,k.scaleMove=d(),k.imageEl&&(i.scale=k.scaleMove/k.scaleStart*S,i.scale>k.maxRatio&&(i.scale=k.maxRatio-1+(i.scale-k.maxRatio+1)**.5),i.scale<e.minRatio&&(i.scale=e.minRatio+1-(e.minRatio-i.scale+1)**.5),k.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`)))}function f(t){var e,i,n;!u(t)||"mouse"===t.pointerType&&"pointerout"===t.type||(e=x.params.zoom,i=x.zoom,0<=(n=o.findIndex(e=>e.pointerId===t.pointerId))&&o.splice(n,1),r&&s&&(r=!1,s=!1,k.imageEl)&&(i.scale=Math.max(Math.min(i.scale,k.maxRatio),e.minRatio),k.imageEl.style.transitionDuration=x.params.speed+"ms",k.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`,S=i.scale,a=!1,1<i.scale&&k.slideEl?k.slideEl.classList.add(""+e.zoomedSlideClass):i.scale<=1&&k.slideEl&&k.slideEl.classList.remove(""+e.zoomedSlideClass),1===i.scale)&&(k.originX=0,k.originY=0,k.slideEl=void 0))}function m(e){if(u(e)&&(t=e,i="."+x.params.zoom.containerClass,t.target.matches(i)||0<[...x.hostEl.querySelectorAll(i)].filter(e=>e.contains(t.target)).length)){var t,i=x.zoom;if(k.imageEl&&C.isTouched&&k.slideEl){C.isMoved||(C.width=k.imageEl.offsetWidth,C.height=k.imageEl.offsetHeight,C.startX=M(k.imageWrapEl,"x")||0,C.startY=M(k.imageWrapEl,"y")||0,k.slideWidth=k.slideEl.offsetWidth,k.slideHeight=k.slideEl.offsetHeight,k.imageWrapEl.style.transitionDuration="0ms");var n=C.width*i.scale,r=C.height*i.scale;if(!(n<k.slideWidth&&r<k.slideHeight)){if(C.minX=Math.min(k.slideWidth/2-n/2,0),C.maxX=-C.minX,C.minY=Math.min(k.slideHeight/2-r/2,0),C.maxY=-C.minY,C.touchesCurrent.x=(0<o.length?o[0]:e).pageX,C.touchesCurrent.y=(0<o.length?o[0]:e).pageY,5<Math.max(Math.abs(C.touchesCurrent.x-C.touchesStart.x),Math.abs(C.touchesCurrent.y-C.touchesStart.y))&&(x.allowClick=!1),!C.isMoved&&!a){if(x.isHorizontal()&&(Math.floor(C.minX)===Math.floor(C.startX)&&C.touchesCurrent.x<C.touchesStart.x||Math.floor(C.maxX)===Math.floor(C.startX)&&C.touchesCurrent.x>C.touchesStart.x))return void(C.isTouched=!1);if(!x.isHorizontal()&&(Math.floor(C.minY)===Math.floor(C.startY)&&C.touchesCurrent.y<C.touchesStart.y||Math.floor(C.maxY)===Math.floor(C.startY)&&C.touchesCurrent.y>C.touchesStart.y))return void(C.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),C.isMoved=!0;var n=(i.scale-S)/(k.maxRatio-x.params.zoom.minRatio),{originX:r,originY:e}=k;C.currentX=C.touchesCurrent.x-C.touchesStart.x+C.startX+n*(C.width-2*r),C.currentY=C.touchesCurrent.y-C.touchesStart.y+C.startY+n*(C.height-2*e),C.currentX<C.minX&&(C.currentX=C.minX+1-(C.minX-C.currentX+1)**.8),C.currentX>C.maxX&&(C.currentX=C.maxX-1+(C.currentX-C.maxX+1)**.8),C.currentY<C.minY&&(C.currentY=C.minY+1-(C.minY-C.currentY+1)**.8),C.currentY>C.maxY&&(C.currentY=C.maxY-1+(C.currentY-C.maxY+1)**.8),l.prevPositionX||(l.prevPositionX=C.touchesCurrent.x),l.prevPositionY||(l.prevPositionY=C.touchesCurrent.y),l.prevTime||(l.prevTime=Date.now()),l.x=(C.touchesCurrent.x-l.prevPositionX)/(Date.now()-l.prevTime)/2,l.y=(C.touchesCurrent.y-l.prevPositionY)/(Date.now()-l.prevTime)/2,Math.abs(C.touchesCurrent.x-l.prevPositionX)<2&&(l.x=0),Math.abs(C.touchesCurrent.y-l.prevPositionY)<2&&(l.y=0),l.prevPositionX=C.touchesCurrent.x,l.prevPositionY=C.touchesCurrent.y,l.prevTime=Date.now(),k.imageWrapEl.style.transform=`translate3d(${C.currentX}px, ${C.currentY}px,0)`}}}}function g(){var e=x.zoom;k.slideEl&&x.activeIndex!==x.slides.indexOf(k.slideEl)&&(k.imageEl&&(k.imageEl.style.transform="translate3d(0,0,0) scale(1)"),k.imageWrapEl&&(k.imageWrapEl.style.transform="translate3d(0,0,0)"),k.slideEl.classList.remove(""+x.params.zoom.zoomedSlideClass),e.scale=1,S=1,k.slideEl=void 0,k.imageEl=void 0,k.imageWrapEl=void 0,k.originX=0,k.originY=0)}function y(v){var b=x.zoom,w=x.params.zoom;if(!k.slideEl){v&&v.target&&(k.slideEl=v.target.closest(`.${x.params.slideClass}, swiper-slide`)),k.slideEl||(x.params.virtual&&x.params.virtual.enabled&&x.virtual?k.slideEl=L(x.slidesEl,"."+x.params.slideActiveClass)[0]:k.slideEl=x.slides[x.activeIndex]);let e=k.slideEl.querySelector("."+w.containerClass);e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],k.imageEl=e,k.imageWrapEl=e?D(k.imageEl,"."+w.containerClass)[0]:void 0}if(k.imageEl&&k.imageWrapEl){let e,t,i,n,r,s,a,o,l,c,d,u,p,h,f,m,g,y;x.params.cssMode&&(x.wrapperEl.style.overflow="hidden",x.wrapperEl.style.touchAction="none"),k.slideEl.classList.add(""+w.zoomedSlideClass),t=void 0===C.touchesStart.x&&v?(e=v.pageX,v.pageY):(e=C.touchesStart.x,C.touchesStart.y);var _="number"==typeof v?v:null;1===S&&_&&(e=void 0,t=void 0),b.scale=_||k.imageWrapEl.getAttribute("data-swiper-zoom")||w.maxRatio,S=_||k.imageWrapEl.getAttribute("data-swiper-zoom")||w.maxRatio,!v||1===S&&_?(a=0,o=0):(g=k.slideEl.offsetWidth,y=k.slideEl.offsetHeight,i=O(k.slideEl).left+T.scrollX,n=O(k.slideEl).top+T.scrollY,r=i+g/2-e,s=n+y/2-t,l=k.imageEl.offsetWidth,c=k.imageEl.offsetHeight,d=l*b.scale,u=c*b.scale,f=-(p=Math.min(g/2-d/2,0)),m=-(h=Math.min(y/2-u/2,0)),a=r*b.scale,o=s*b.scale,(a=a<p?p:a)>f&&(a=f),(o=o<h?h:o)>m&&(o=m)),_&&1===b.scale&&(k.originX=0,k.originY=0),k.imageWrapEl.style.transitionDuration="300ms",k.imageWrapEl.style.transform=`translate3d(${a}px, ${o}px,0)`,k.imageEl.style.transitionDuration="300ms",k.imageEl.style.transform=`translate3d(0,0,0) scale(${b.scale})`}}function v(){var e=x.zoom,t=x.params.zoom;if(!k.slideEl){x.params.virtual&&x.params.virtual.enabled&&x.virtual?k.slideEl=L(x.slidesEl,"."+x.params.slideActiveClass)[0]:k.slideEl=x.slides[x.activeIndex];let e=k.slideEl.querySelector("."+t.containerClass);e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],k.imageEl=e,k.imageWrapEl=e?D(k.imageEl,"."+t.containerClass)[0]:void 0}k.imageEl&&k.imageWrapEl&&(x.params.cssMode&&(x.wrapperEl.style.overflow="",x.wrapperEl.style.touchAction=""),e.scale=1,S=1,k.imageWrapEl.style.transitionDuration="300ms",k.imageWrapEl.style.transform="translate3d(0,0,0)",k.imageEl.style.transitionDuration="300ms",k.imageEl.style.transform="translate3d(0,0,0) scale(1)",k.slideEl.classList.remove(""+t.zoomedSlideClass),k.slideEl=void 0,k.originX=0,k.originY=0)}function b(e){var t=x.zoom;t.scale&&1!==t.scale?v():y(e)}function w(){return{passiveListener:!!x.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!x.params.passiveListeners||{passive:!1,capture:!0}}}function _(){var e=x.zoom;if(!e.enabled){e.enabled=!0;const{passiveListener:t,activeListenerWithCapture:i}=w();x.wrapperEl.addEventListener("pointerdown",p,t),x.wrapperEl.addEventListener("pointermove",h,i),["pointerup","pointercancel","pointerout"].forEach(e=>{x.wrapperEl.addEventListener(e,f,t)}),x.wrapperEl.addEventListener("pointermove",m,i)}}function P(){var e=x.zoom;if(e.enabled){e.enabled=!1;const{passiveListener:t,activeListenerWithCapture:i}=w();x.wrapperEl.removeEventListener("pointerdown",p,t),x.wrapperEl.removeEventListener("pointermove",h,i),["pointerup","pointercancel","pointerout"].forEach(e=>{x.wrapperEl.removeEventListener(e,f,t)}),x.wrapperEl.removeEventListener("pointermove",m,i)}}Object.defineProperty(x.zoom,"scale",{get:()=>c,set(e){var t,i;c!==e&&(t=k.imageEl,i=k.slideEl,n("zoomChange",e,t,i)),c=e}}),i("init",()=>{x.params.zoom.enabled&&_()}),i("destroy",()=>{P()}),i("touchStart",(e,t)=>{var i;x.zoom.enabled&&(i=x.device,k.imageEl)&&!C.isTouched&&(i.android&&t.cancelable&&t.preventDefault(),C.isTouched=!0,i=0<o.length?o[0]:t,C.touchesStart.x=i.pageX,C.touchesStart.y=i.pageY)}),i("touchEnd",(e,t)=>{if(x.zoom.enabled){var i=x.zoom;if(k.imageEl)if(C.isTouched&&C.isMoved){C.isTouched=!1,C.isMoved=!1;let e=300,t=300;var n=l.x*e,n=C.currentX+n,r=l.y*t,r=C.currentY+r,s=(0!==l.x&&(e=Math.abs((n-C.currentX)/l.x)),0!==l.y&&(t=Math.abs((r-C.currentY)/l.y)),Math.max(e,t)),n=(C.currentX=n,C.currentY=r,C.width*i.scale),r=C.height*i.scale;C.minX=Math.min(k.slideWidth/2-n/2,0),C.maxX=-C.minX,C.minY=Math.min(k.slideHeight/2-r/2,0),C.maxY=-C.minY,C.currentX=Math.max(Math.min(C.currentX,C.maxX),C.minX),C.currentY=Math.max(Math.min(C.currentY,C.maxY),C.minY),k.imageWrapEl.style.transitionDuration=s+"ms",k.imageWrapEl.style.transform=`translate3d(${C.currentX}px, ${C.currentY}px,0)`}else C.isTouched=!1,C.isMoved=!1}}),i("doubleTap",(e,t)=>{!x.animating&&x.params.zoom.enabled&&x.zoom.enabled&&x.params.zoom.toggle&&b(t)}),i("transitionEnd",()=>{x.zoom.enabled&&x.params.zoom.enabled&&g()}),i("slideChange",()=>{x.zoom.enabled&&x.params.zoom.enabled&&x.params.cssMode&&g()}),Object.assign(x.zoom,{enable:_,disable:P,in:y,out:v,toggle:b})},function(e){let{swiper:o,extendParams:t,on:i}=e;function l(e,t){const i=function(){let i,n,r;return(e,t)=>{for(n=-1,i=e.length;1<i-n;)e[r=i+n>>1]<=t?n=r:i=r;return i}}();let n,r;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=i(this.x,e),n=r-1,(e-this.x[n])*(this.y[r]-this.y[n])/(this.x[r]-this.x[n])+this.y[n]):0},this}function n(){o.controller.control&&o.controller.spline&&(o.controller.spline=void 0,delete o.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),o.controller={control:void 0},i("beforeInit",()=>{if("undefined"!=typeof window&&("string"==typeof o.params.controller.control||o.params.controller.control instanceof HTMLElement)){const t=document.querySelector(o.params.controller.control);if(t&&t.swiper)o.controller.control=t.swiper;else if(t){const i=e=>{o.controller.control=e.detail[0],o.update(),t.removeEventListener("init",i)};t.addEventListener("init",i)}}else o.controller.control=o.params.controller.control}),i("update",()=>{n()}),i("resize",()=>{n()}),i("observerUpdate",()=>{n()}),i("setTranslate",(e,t,i)=>{o.controller.control&&!o.controller.control.destroyed&&o.controller.setTranslate(t,i)}),i("setTransition",(e,t,i)=>{o.controller.control&&!o.controller.control.destroyed&&o.controller.setTransition(t,i)}),Object.assign(o.controller,{setTranslate:function(e,t){var i=o.controller.control;let n,r;var s=o.constructor;function a(e){var t,i;e.destroyed||(t=o.rtlTranslate?-o.translate:o.translate,"slide"===o.params.controller.by&&(i=e,o.controller.spline=o.params.loop?new l(o.slidesGrid,i.slidesGrid):new l(o.snapGrid,i.snapGrid),r=-o.controller.spline.interpolate(-t)),r&&"container"!==o.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(o.maxTranslate()-o.minTranslate()),!Number.isNaN(n)&&Number.isFinite(n)||(n=1),r=(t-o.minTranslate())*n+e.minTranslate()),o.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,o),e.updateActiveIndex(),e.updateSlidesClasses())}if(Array.isArray(i))for(let e=0;e<i.length;e+=1)i[e]!==t&&i[e]instanceof s&&a(i[e]);else i instanceof s&&t!==i&&a(i)},setTransition:function(t,e){const i=o.constructor,n=o.controller.control;let r;function s(e){e.destroyed||(e.setTransition(t,o),0!==t&&(e.transitionStart(),e.params.autoHeight&&k(()=>{e.updateAutoHeight()}),v(e.wrapperEl,()=>{n&&e.transitionEnd()})))}if(Array.isArray(n))for(r=0;r<n.length;r+=1)n[r]!==e&&n[r]instanceof i&&s(n[r]);else n instanceof i&&e!==n&&s(n)}})},function(e){let{swiper:o,extendParams:t,on:i}=e,l=(t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),o.a11y={clicked:!1},null);function n(e){var t=l;0!==t.length&&(t.innerHTML="",t.innerHTML=e)}const c=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function r(e){(e=c(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function s(e){(e=c(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function a(e,t){(e=c(e)).forEach(e=>{e.setAttribute("role",t)})}function d(e,t){(e=c(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function u(e,t){(e=c(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function p(e){(e=c(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function h(e){(e=c(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function f(e){var t,i;13!==e.keyCode&&32!==e.keyCode||(t=o.params.a11y,i=e.target,o.pagination&&o.pagination.el&&(i===o.pagination.el||o.pagination.el.contains(e.target))&&!e.target.matches(N(o.params.pagination.bulletClass)))||(o.navigation&&o.navigation.nextEl&&i===o.navigation.nextEl&&(o.isEnd&&!o.params.loop||o.slideNext(),o.isEnd?n(t.lastSlideMessage):n(t.nextSlideMessage)),o.navigation&&o.navigation.prevEl&&i===o.navigation.prevEl&&(o.isBeginning&&!o.params.loop||o.slidePrev(),o.isBeginning?n(t.firstSlideMessage):n(t.prevSlideMessage)),o.pagination&&i.matches(N(o.params.pagination.bulletClass))&&i.click())}function m(){return o.pagination&&o.pagination.bullets&&o.pagination.bullets.length}function g(){return m()&&o.params.pagination.clickable}const y=(e,t,i)=>{var n;r(e),"BUTTON"!==e.tagName&&(a(e,"button"),e.addEventListener("keydown",f)),u(e,i),i=e,n=t,(i=c(i)).forEach(e=>{e.setAttribute("aria-controls",n)})},v=()=>{o.a11y.clicked=!0},b=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{o.destroyed||(o.a11y.clicked=!1)})})},w=e=>{var t,i,n;o.a11y.clicked||(t=e.target.closest(`.${o.params.slideClass}, swiper-slide`))&&o.slides.includes(t)&&(i=o.slides.indexOf(t)===o.activeIndex,n=o.params.watchSlidesProgress&&o.visibleSlides&&o.visibleSlides.includes(t),i||n||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(o.isHorizontal()?o.el.scrollLeft=0:o.el.scrollTop=0,o.slideTo(o.slides.indexOf(t),0)))},_=()=>{const i=o.params.a11y,n=(i.itemRoleDescriptionMessage&&d(o.slides,i.itemRoleDescriptionMessage),i.slideRole&&a(o.slides,i.slideRole),o.slides.length);i.slideLabelMessage&&o.slides.forEach((e,t)=>{t=o.params.loop?parseInt(e.getAttribute("data-swiper-slide-index"),10):t,u(e,i.slideLabelMessage.replace(/\{\{index\}\}/,t+1).replace(/\{\{slidesLength\}\}/,n))})};i("beforeInit",()=>{(l=I("span",o.params.a11y.notificationClass)).setAttribute("aria-live","assertive"),l.setAttribute("aria-atomic","true")}),i("afterInit",()=>{if(o.params.a11y.enabled){const r=o.params.a11y;o.el.append(l);var e=o.el;r.containerRoleDescriptionMessage&&d(e,r.containerRoleDescriptionMessage),r.containerMessage&&u(e,r.containerMessage);const s=o.wrapperEl,a=r.id||s.getAttribute("id")||"swiper-wrapper-"+"x".repeat(e=16).replace(/x/g,()=>Math.round(16*Math.random()).toString(16));var t,e=o.params.autoplay&&o.params.autoplay.enabled?"off":"polite",i=a,{nextEl:e,prevEl:n}=(c(s).forEach(e=>{e.setAttribute("id",i)}),n=s,t=e,(n=c(n)).forEach(e=>{e.setAttribute("aria-live",t)}),_(),o.navigation||{}),e=c(e),n=c(n);e&&e.forEach(e=>y(e,a,r.nextSlideMessage)),n&&n.forEach(e=>y(e,a,r.prevSlideMessage)),g()&&(Array.isArray(o.pagination.el)?o.pagination.el:[o.pagination.el]).forEach(e=>{e.addEventListener("keydown",f)}),o.el.addEventListener("focus",w,!0),o.el.addEventListener("pointerdown",v,!0),o.el.addEventListener("pointerup",b,!0)}}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{o.params.a11y.enabled&&_()}),i("fromEdge toEdge afterInit lock unlock",()=>{var e,t;o.params.a11y.enabled&&!o.params.loop&&!o.params.rewind&&o.navigation&&({nextEl:e,prevEl:t}=o.navigation,t&&(o.isBeginning?(p(t),s):(h(t),r))(t),e)&&(o.isEnd?(p(e),s):(h(e),r))(e)}),i("paginationUpdate",()=>{if(o.params.a11y.enabled){const t=o.params.a11y;m()&&o.pagination.bullets.forEach(e=>{o.params.pagination.clickable&&(r(e),o.params.pagination.renderBullet||(a(e,"button"),u(e,t.paginationBulletMessage.replace(/\{\{index\}\}/,x(e)+1)))),e.matches(N(o.params.pagination.bulletActiveClass))?e.setAttribute("aria-current","true"):e.removeAttribute("aria-current")})}}),i("destroy",()=>{var e,t;o.params.a11y.enabled&&(l&&l.remove(),{nextEl:e,prevEl:t}=o.navigation||{},e=c(e),t=c(t),e&&e.forEach(e=>e.removeEventListener("keydown",f)),t&&t.forEach(e=>e.removeEventListener("keydown",f)),g()&&(Array.isArray(o.pagination.el)?o.pagination.el:[o.pagination.el]).forEach(e=>{e.removeEventListener("keydown",f)}),o.el.removeEventListener("focus",w,!0),o.el.removeEventListener("pointerdown",v,!0),o.el.removeEventListener("pointerup",b,!0))})},function(e){let{swiper:a,extendParams:t,on:i}=e,s=(t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}}),!1),n={};const o=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),r=e=>{var t=E();return{key:(e=(e?new URL(e):t.location).pathname.slice(1).split("/").filter(e=>""!==e))[(t=e.length)-2],value:e[t-1]}},l=(i,e)=>{var n=E();if(s&&a.params.history.enabled){var r=a.params.url?new URL(a.params.url):n.location,e=a.slides[e];let t=o(e.getAttribute("data-history"));if(0<a.params.history.root.length){let e=a.params.history.root;"/"===e[e.length-1]&&(e=e.slice(0,e.length-1)),t=e+"/"+(i?i+"/":"")+t}else r.pathname.includes(i)||(t=(i?i+"/":"")+t);a.params.history.keepQuery&&(t+=r.search),(e=n.history.state)&&e.value===t||(a.params.history.replaceState?n.history.replaceState({value:t},null,t):n.history.pushState({value:t},null,t))}},c=(i,n,r)=>{if(n)for(let e=0,t=a.slides.length;e<t;e+=1){var s=a.slides[e];if(o(s.getAttribute("data-history"))===n){const n=a.getSlideIndex(s);a.slideTo(n,i,r)}}else a.slideTo(0,i,r)},d=()=>{n=r(a.params.url),c(a.params.speed,n.value,!1)};i("init",()=>{var e;a.params.history.enabled&&(e=E(),a.params.history)&&(e.history&&e.history.pushState?(s=!0,((n=r(a.params.url)).key||n.value)&&c(0,n.value,a.params.runCallbacksOnInit),a.params.history.replaceState||e.addEventListener("popstate",d)):(a.params.history.enabled=!1,a.params.hashNavigation.enabled=!0))}),i("destroy",()=>{var e;a.params.history.enabled&&(e=E(),a.params.history.replaceState||e.removeEventListener("popstate",d))}),i("transitionEnd _freeModeNoMomentumRelease",()=>{s&&l(a.params.history.key,a.activeIndex)}),i("slideChange",()=>{s&&a.params.cssMode&&l(a.params.history.key,a.activeIndex)})},function(e){let{swiper:i,extendParams:t,emit:n,on:r}=e,s=!1;const a=A(),o=E(),l=(t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,t){if(i.virtual&&i.params.virtual.enabled){const e=i.slides.filter(e=>e.getAttribute("data-hash")===t)[0];return e?parseInt(e.getAttribute("data-swiper-slide-index"),10):0}return i.getSlideIndex(L(i.slidesEl,`.${i.params.slideClass}[data-hash="${t}"], swiper-slide[data-hash="${t}"]`)[0])}}}),()=>{n("hashChange");const e=a.location.hash.replace("#",""),t=i.virtual&&i.params.virtual.enabled?i.slidesEl.querySelector(`[data-swiper-slide-index="${i.activeIndex}"]`):i.slides[i.activeIndex];if(e!==(t?t.getAttribute("data-hash"):"")){const t=i.params.hashNavigation.getSlideIndex(i,e);void 0===t||Number.isNaN(t)||i.slideTo(t)}}),c=()=>{var e;s&&i.params.hashNavigation.enabled&&(e=(e=i.virtual&&i.params.virtual.enabled?i.slidesEl.querySelector(`[data-swiper-slide-index="${i.activeIndex}"]`):i.slides[i.activeIndex])?e.getAttribute("data-hash")||e.getAttribute("data-history"):"",i.params.hashNavigation.replaceState&&o.history&&o.history.replaceState?o.history.replaceState(null,null,"#"+e||""):a.location.hash=e||"",n("hashSet"))};r("init",()=>{var e;!i.params.hashNavigation.enabled||!i.params.hashNavigation.enabled||i.params.history&&i.params.history.enabled||(s=!0,(e=a.location.hash.replace("#",""))&&(e=i.params.hashNavigation.getSlideIndex(i,e),i.slideTo(e||0,0,i.params.runCallbacksOnInit,!0)),i.params.hashNavigation.watchState&&o.addEventListener("hashchange",l))}),r("destroy",()=>{i.params.hashNavigation.enabled&&i.params.hashNavigation.watchState&&o.removeEventListener("hashchange",l)}),r("transitionEnd _freeModeNoMomentumRelease",()=>{s&&c()}),r("slideChange",()=>{s&&i.params.cssMode&&c()})},function(e){let s,a,{swiper:o,extendParams:t,on:i,emit:l,params:n}=e;o.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let c,r,d,u,p,h,f,m,g=n&&n.autoplay?n.autoplay.delay:3e3,y=n&&n.autoplay?n.autoplay.delay:3e3,v=(new Date).getTime();function b(e){o&&!o.destroyed&&o.wrapperEl&&e.target===o.wrapperEl&&(o.wrapperEl.removeEventListener("transitionend",b),m||k())}const w=()=>{var e;!o.destroyed&&o.autoplay.running&&(o.autoplay.paused?r=!0:r&&(y=c,r=!1),e=o.autoplay.paused?c:v+y-(new Date).getTime(),o.autoplay.timeLeft=e,l("autoplayTimeLeft",e,e/g),a=requestAnimationFrame(()=>{w()}))},_=t=>{if(!o.destroyed&&o.autoplay.running){cancelAnimationFrame(a),w();let e=void 0===t?o.params.autoplay.delay:t;g=o.params.autoplay.delay,y=o.params.autoplay.delay;var i=(()=>{var e=o.virtual&&o.params.virtual.enabled?o.slides.filter(e=>e.classList.contains("swiper-slide-active"))[0]:o.slides[o.activeIndex];if(e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(i)&&0<i&&void 0===t&&(e=i,g=i,y=i),c=e;const n=o.params.speed,r=()=>{o&&!o.destroyed&&(o.params.autoplay.reverseDirection?!o.isBeginning||o.params.loop||o.params.rewind?(o.slidePrev(n,!0,!0),l("autoplay")):o.params.autoplay.stopOnLastSlide||(o.slideTo(o.slides.length-1,n,!0,!0),l("autoplay")):!o.isEnd||o.params.loop||o.params.rewind?(o.slideNext(n,!0,!0),l("autoplay")):o.params.autoplay.stopOnLastSlide||(o.slideTo(0,n,!0,!0),l("autoplay")),o.params.cssMode)&&(v=(new Date).getTime(),requestAnimationFrame(()=>{_()}))};return 0<e?(clearTimeout(s),s=setTimeout(()=>{r()},e)):requestAnimationFrame(()=>{r()}),e}},x=()=>{v=(new Date).getTime(),o.autoplay.running=!0,_(),l("autoplayStart")},T=()=>{o.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),l("autoplayStop")},S=(e,t)=>{!o.destroyed&&o.autoplay.running&&(clearTimeout(s),e||(f=!0),e=()=>{l("autoplayPause"),o.params.autoplay.waitForTransition?o.wrapperEl.addEventListener("transitionend",b):k()},o.autoplay.paused=!0,t?(h&&(c=o.params.autoplay.delay),h=!1,e()):(t=c||o.params.autoplay.delay,c=t-((new Date).getTime()-v),o.isEnd&&c<0&&!o.params.loop||(c<0&&(c=0),e())))},k=()=>{o.isEnd&&c<0&&!o.params.loop||o.destroyed||!o.autoplay.running||(v=(new Date).getTime(),f?(f=!1,_(c)):_(),o.autoplay.paused=!1,l("autoplayResume"))},C=()=>{var e;!o.destroyed&&o.autoplay.running&&("hidden"===(e=A()).visibilityState&&(f=!0,S(!0)),"visible"===e.visibilityState)&&k()},P=e=>{"mouse"===e.pointerType&&(f=!0,m=!0,o.animating||o.autoplay.paused||S(!0))},E=e=>{"mouse"===e.pointerType&&(m=!1,o.autoplay.paused)&&k()};i("init",()=>{o.params.autoplay.enabled&&(o.params.autoplay.pauseOnMouseEnter&&(o.el.addEventListener("pointerenter",P),o.el.addEventListener("pointerleave",E)),A().addEventListener("visibilitychange",C),x())}),i("destroy",()=>{o.el.removeEventListener("pointerenter",P),o.el.removeEventListener("pointerleave",E),A().removeEventListener("visibilitychange",C),o.autoplay.running&&T()}),i("_freeModeStaticRelease",()=>{(u||f)&&k()}),i("_freeModeNoMomentumRelease",()=>{o.params.autoplay.disableOnInteraction?T():S(!0,!0)}),i("beforeTransitionStart",(e,t,i)=>{!o.destroyed&&o.autoplay.running&&(i||!o.params.autoplay.disableOnInteraction?S(!0,!0):T())}),i("sliderFirstMove",()=>{!o.destroyed&&o.autoplay.running&&(o.params.autoplay.disableOnInteraction?T():(d=!0,u=!1,f=!1,p=setTimeout(()=>{f=!0,u=!0,S(!0)},200)))}),i("touchEnd",()=>{!o.destroyed&&o.autoplay.running&&d&&(clearTimeout(p),clearTimeout(s),d=(u=(o.params.autoplay.disableOnInteraction||u&&o.params.cssMode&&k(),!1),!1))}),i("slideChange",()=>{!o.destroyed&&o.autoplay.running&&(h=!0)}),Object.assign(o.autoplay,{start:x,stop:T,pause:S,resume:k})},function(e){let{swiper:c,extendParams:t,on:i}=e,n=(t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}}),!1),r=!1;function s(){var e,t,i=c.thumbs.swiper;!i||i.destroyed||(e=i.clickedIndex,(t=i.clickedSlide)&&t.classList.contains(c.params.thumbs.slideThumbActiveClass))||null!=e&&(t=i.params.loop?parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10):e,c.params.loop?c.slideToLoop(t):c.slideTo(t))}function a(){var e=c.params.thumbs;if(n)return!1;n=!0;var t=c.constructor;return e.swiper instanceof t?(c.thumbs.swiper=e.swiper,Object.assign(c.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(c.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),c.thumbs.swiper.update()):l(e.swiper)&&(e=Object.assign({},e.swiper),Object.assign(e,{watchSlidesProgress:!0,slideToClickedSlide:!1}),c.thumbs.swiper=new t(e),r=!0),c.thumbs.swiper.el.classList.add(c.params.thumbs.thumbsContainerClass),c.thumbs.swiper.on("tap",s),!0}function o(i){var n=c.thumbs.swiper;if(n&&!n.destroyed){var r="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;let t=1;const l=c.params.thumbs.slideThumbActiveClass;if(1<c.params.slidesPerView&&!c.params.centeredSlides&&(t=c.params.slidesPerView),c.params.thumbs.multipleActiveThumbs||(t=1),t=Math.floor(t),n.slides.forEach(e=>e.classList.remove(l)),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let e=0;e<t;e+=1)L(n.slidesEl,`[data-swiper-slide-index="${c.realIndex+e}"]`).forEach(e=>{e.classList.add(l)});else for(let e=0;e<t;e+=1)n.slides[c.realIndex+e]&&n.slides[c.realIndex+e].classList.add(l);var s=c.params.thumbs.autoScrollOffset,a=s&&!n.params.loop;if(c.realIndex!==n.realIndex||a){var o=n.activeIndex;let e,t;if(n.params.loop){const i=n.slides.filter(e=>e.getAttribute("data-swiper-slide-index")===""+c.realIndex)[0];e=n.slides.indexOf(i),t=c.activeIndex>c.previousIndex?"next":"prev"}else e=c.realIndex,t=e>c.previousIndex?"next":"prev";a&&(e+="next"===t?s:-1*s),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(e)<0&&(n.params.centeredSlides?e=e>o?e-Math.floor(r/2)+1:e+Math.floor(r/2)-1:e>o&&n.params.slidesPerGroup,n.slideTo(e,i?0:void 0))}}}c.thumbs={swiper:null},i("beforeInit",()=>{const i=c.params.thumbs;if(i&&i.swiper)if("string"==typeof i.swiper||i.swiper instanceof HTMLElement){const n=A(),e=()=>{c.destroyed||(()=>{const t="string"==typeof i.swiper?n.querySelector(i.swiper):i.swiper;if(t&&t.swiper)i.swiper=t.swiper,a(),o(!0);else if(t){const n=e=>{i.swiper=e.detail[0],t.removeEventListener("init",n),a(),o(!0),i.swiper.update(),c.update()};t.addEventListener("init",n)}return t})()||requestAnimationFrame(e)};requestAnimationFrame(e)}else a(),o(!0)}),i("slideChange update resize observerUpdate",()=>{o()}),i("setTransition",(e,t)=>{var i=c.thumbs.swiper;i&&!i.destroyed&&i.setTransition(t)}),i("beforeDestroy",()=>{var e=c.thumbs.swiper;e&&!e.destroyed&&r&&e.destroy()}),Object.assign(c.thumbs,{init:a,update:o})},function(e){let{swiper:p,extendParams:t,emit:h,once:f}=e;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(p,{freeMode:{onTouchStart:function(){var e;p.params.cssMode||(e=p.getTranslate(),p.setTranslate(e),p.setTransition(0),p.touchEventsData.velocities.length=0,p.freeMode.onTouchEnd({currentPos:p.rtl?p.translate:-p.translate}))},onTouchMove:function(){var e,t;p.params.cssMode||({touchEventsData:e,touches:t}=p,0===e.velocities.length&&e.velocities.push({position:t[p.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:t[p.isHorizontal()?"currentX":"currentY"],time:g()}))},onTouchEnd:function(s){let a=s.currentPos;if(!p.params.cssMode){const{params:o,wrapperEl:l,rtlTranslate:c,snapGrid:d,touchEventsData:u}=p,e=g()-u.touchStartTime;if(a<-p.minTranslate())p.slideTo(p.activeIndex);else if(a>-p.maxTranslate())p.slides.length<d.length?p.slideTo(d.length-1):p.slideTo(p.slides.length-1);else{if(o.freeMode.momentum){if(1<u.velocities.length){const s=u.velocities.pop(),a=u.velocities.pop(),h=s.position-a.position,f=s.time-a.time;p.velocity=h/f,p.velocity/=2,Math.abs(p.velocity)<o.freeMode.minimumVelocity&&(p.velocity=0),(150<f||300<g()-s.time)&&(p.velocity=0)}else p.velocity=0;p.velocity*=o.freeMode.momentumVelocityRatio,u.velocities.length=0;let e=1e3*o.freeMode.momentumRatio;const a=p.velocity*e;let i=p.translate+a;c&&(i=-i);let t,n=!1;s=20*Math.abs(p.velocity)*o.freeMode.momentumBounceRatio;let r;if(i<p.maxTranslate())o.freeMode.momentumBounce?(i+p.maxTranslate()<-s&&(i=p.maxTranslate()-s),t=p.maxTranslate(),n=!0,u.allowMomentumBounce=!0):i=p.maxTranslate(),o.loop&&o.centeredSlides&&(r=!0);else if(i>p.minTranslate())o.freeMode.momentumBounce?(i-p.minTranslate()>s&&(i=p.minTranslate()+s),t=p.minTranslate(),n=!0,u.allowMomentumBounce=!0):i=p.minTranslate(),o.loop&&o.centeredSlides&&(r=!0);else if(o.freeMode.sticky){let t;for(let e=0;e<d.length;e+=1)if(d[e]>-i){t=e;break}i=-(i=Math.abs(d[t]-i)<Math.abs(d[t-1]-i)||"next"===p.swipeDirection?d[t]:d[t-1])}if(r&&f("transitionEnd",()=>{p.loopFix()}),0!==p.velocity){if(e=c?Math.abs((-i-p.translate)/p.velocity):Math.abs((i-p.translate)/p.velocity),o.freeMode.sticky){const a=Math.abs((c?-i:i)-p.translate),h=p.slidesSizesGrid[p.activeIndex];e=a<h?o.speed:a<2*h?1.5*o.speed:2.5*o.speed}}else if(o.freeMode.sticky)return void p.slideToClosest();o.freeMode.momentumBounce&&n?(p.updateProgress(t),p.setTransition(e),p.setTranslate(i),p.transitionStart(!0,p.swipeDirection),p.animating=!0,v(l,()=>{p&&!p.destroyed&&u.allowMomentumBounce&&(h("momentumBounce"),p.setTransition(o.speed),setTimeout(()=>{p.setTranslate(t),v(l,()=>{p&&!p.destroyed&&p.transitionEnd()})},0))})):p.velocity?(h("_freeModeNoMomentumRelease"),p.updateProgress(i),p.setTransition(e),p.setTranslate(i),p.transitionStart(!0,p.swipeDirection),p.animating||(p.animating=!0,v(l,()=>{p&&!p.destroyed&&p.transitionEnd()}))):p.updateProgress(i),p.updateActiveIndex(),p.updateSlidesClasses()}else{if(o.freeMode.sticky)return void p.slideToClosest();o.freeMode&&h("_freeModeNoMomentumRelease")}(!o.freeMode.momentum||e>=o.longSwipesMs)&&(h("_freeModeStaticRelease"),p.updateProgress(),p.updateActiveIndex(),p.updateSlidesClasses())}}}}})},function(e){let d,u,p,n,{swiper:h,extendParams:t,on:i}=e;t({grid:{rows:1,fill:"column"}});const f=()=>{let e=h.params.spaceBetween;return"string"==typeof e&&0<=e.indexOf("%")?e=parseFloat(e.replace("%",""))/100*h.size:"string"==typeof e&&(e=parseFloat(e)),e};i("init",()=>{n=h.params.grid&&1<h.params.grid.rows}),i("update",()=>{var{params:e,el:t}=h,i=e.grid&&1<e.grid.rows;n&&!i?(t.classList.remove(e.containerModifierClass+"grid",e.containerModifierClass+"grid-column"),p=1,h.emitContainerClasses()):!n&&i&&(t.classList.add(e.containerModifierClass+"grid"),"column"===e.grid.fill&&t.classList.add(e.containerModifierClass+"grid-column"),h.emitContainerClasses()),n=i}),h.grid={initSlides:e=>{var t=h.params.slidesPerView,{rows:i,fill:n}=h.params.grid,e=(h.virtual&&h.params.virtual.enabled?h.virtual.slides:e).length;p=Math.floor(e/i),d=Math.floor(e/i)===e/i?e:Math.ceil(e/i)*i,"auto"!==t&&"row"===n&&(d=Math.max(d,t*i)),u=d/i},unsetSlides:()=>{h.slides&&h.slides.forEach(e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[h.getDirectionLabel("margin-top")]="")})},updateSlide:(e,t,i)=>{var n=h.params.slidesPerGroup,r=f(),{rows:s,fill:a}=h.params.grid,i=(h.virtual&&h.params.virtual.enabled?h.virtual.slides:i).length;let o,l,c;if("row"===a&&1<n){const u=Math.floor(e/(n*s)),p=e-s*n*u,h=0===u?n:Math.min(Math.ceil((i-u*s*n)/s),n);c=Math.floor(p/h),o=(l=p-c*h+u*n)+c*d/s,t.style.order=o}else"column"===a?(l=Math.floor(e/s),c=e-l*s,(l>p||l===p&&c===s-1)&&(c+=1)>=s&&(c=0,l+=1)):(c=Math.floor(e/u),l=e-c*u);t.row=c,t.column=l,t.style.height=`calc((100% - ${(s-1)*r}px) / ${s})`,t.style[h.getDirectionLabel("margin-top")]=0!==c?r&&r+"px":"",t.swiperSlideGridSet=!0},updateWrapperSize:(i,n)=>{var{centeredSlides:e,roundLengths:r}=h.params,t=f(),s=h.params.grid.rows;if(h.virtualSize=(i+t)*d,h.virtualSize=Math.ceil(h.virtualSize/s)-t,h.params.cssMode||(h.wrapperEl.style[h.getDirectionLabel("width")]=h.virtualSize+t+"px"),e){const i=[];for(let t=0;t<n.length;t+=1){let e=n[t];r&&(e=Math.floor(e)),n[t]<h.virtualSize+n[0]&&i.push(e)}n.splice(0,n.length),n.push(...i)}}}},function(e){e=e.swiper,Object.assign(e,{appendSlide:function(t){const{params:e,slidesEl:i}=this;e.loop&&this.loopDestroy();var n=e=>{var t;"string"==typeof e?((t=document.createElement("div")).innerHTML=e,i.append(t.children[0]),t.innerHTML=""):i.append(e)};if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&n(t[e]);else n(t);this.recalcSlides(),e.loop&&this.loopCreate(),e.observer&&!this.isElement||this.update()}.bind(e),prependSlide:function(t){const{params:e,activeIndex:i,slidesEl:n}=this;e.loop&&this.loopDestroy();let r=i+1;var s=e=>{var t;"string"==typeof e?((t=document.createElement("div")).innerHTML=e,n.prepend(t.children[0]),t.innerHTML=""):n.prepend(e)};if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&s(t[e]);r=i+t.length}else s(t);this.recalcSlides(),e.loop&&this.loopCreate(),e.observer&&!this.isElement||this.update(),this.slideTo(r,0,!1)}.bind(e),addSlide:function(t,i){var n=this,{params:r,activeIndex:s,slidesEl:a}=n;let o=s;if(r.loop&&(o-=n.loopedSlides,n.loopDestroy(),n.recalcSlides()),s=n.slides.length,t<=0)n.prependSlide(i);else if(s<=t)n.appendSlide(i);else{let e=o>t?o+1:o;var l=[];for(let e=s-1;e>=t;--e){const t=n.slides[e];t.remove(),l.unshift(t)}if("object"==typeof i&&"length"in i){for(let e=0;e<i.length;e+=1)i[e]&&a.append(i[e]);e=o>t?o+i.length:o}else a.append(i);for(let e=0;e<l.length;e+=1)a.append(l[e]);n.recalcSlides(),r.loop&&n.loopCreate(),r.observer&&!n.isElement||n.update(),r.loop?n.slideTo(e+n.loopedSlides,0,!1):n.slideTo(e,0,!1)}}.bind(e),removeSlide:function(t){var i=this,{params:e,activeIndex:n}=i;let r=n;e.loop&&(r-=i.loopedSlides,i.loopDestroy());let s,a=r;if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)s=t[e],i.slides[s]&&i.slides[s].remove(),s<a&&--a;else s=t,i.slides[s]&&i.slides[s].remove(),s<a&&--a;a=Math.max(a,0),i.recalcSlides(),e.loop&&i.loopCreate(),e.observer&&!i.isElement||i.update(),e.loop?i.slideTo(a+i.loopedSlides,0,!1):i.slideTo(a,0,!1)}.bind(e),removeAllSlides:function(){var t=[];for(let e=0;e<this.slides.length;e+=1)t.push(e);this.removeSlide(t)}.bind(e)})},function(e){let{swiper:a,extendParams:t,on:i}=e;t({fadeEffect:{crossFade:!1}}),h({effect:"fade",swiper:a,on:i,setTranslate:()=>{const n=a.slides;a.params.fadeEffect;for(let i=0;i<n.length;i+=1){const n=a.slides[i];let e=-n.swiperSlideOffset,t=(a.params.virtualTranslate||(e-=a.translate),0);a.isHorizontal()||(t=e,e=0);var r=a.params.fadeEffect.crossFade?Math.max(1-Math.abs(n.progress),0):1+Math.min(Math.max(n.progress,-1),0),s=T(0,n);s.style.opacity=r,s.style.transform=`translate3d(${e}px, ${t}px, 0px)`}},setTransition:t=>{var e=a.slides.map(e=>s(e));e.forEach(e=>{e.style.transitionDuration=t+"ms"}),f({swiper:a,duration:t,transformElements:e,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!a.params.cssMode})})},function(e){let{swiper:y,extendParams:t,on:i}=e;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const v=(e,t,i)=>{let n=i?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=i?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");n||(n=I("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"left":"top")).split(" ")),e.append(n)),r||(r=I("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"right":"bottom")).split(" ")),e.append(r)),n&&(n.style.opacity=Math.max(-t,0)),r&&(r.style.opacity=Math.max(t,0))};h({effect:"cube",swiper:y,on:i,setTranslate:()=>{const{el:e,wrapperEl:o,slides:l,width:t,height:i,rtlTranslate:c,size:d,browser:n}=y,u=y.params.cubeEffect,p=y.isHorizontal(),h=y.virtual&&y.params.virtual.enabled;let f,m=0;u.shadow&&(p?((f=y.wrapperEl.querySelector(".swiper-cube-shadow"))||(f=I("div","swiper-cube-shadow"),y.wrapperEl.append(f)),f.style.height=t+"px"):(f=e.querySelector(".swiper-cube-shadow"))||(f=I("div","swiper-cube-shadow"),e.append(f)));for(let a=0;a<l.length;a+=1){const o=l[a];let e=a,t=90*(e=h?parseInt(o.getAttribute("data-swiper-slide-index"),10):e),i=Math.floor(t/360);c&&(t=-t,i=Math.floor(-t/360));const f=Math.max(Math.min(o.progress,1),-1);let n=0,r=0,s=0;e%4==0?(n=4*-i*d,s=0):(e-1)%4==0?(n=0,s=4*-i*d):(e-2)%4==0?(n=d+4*i*d,s=d):(e-3)%4==0&&(n=-d,s=3*d+4*d*i),c&&(n=-n),p||(r=n,n=0);var g=`rotateX(${p?0:-t}deg) rotateY(${p?t:0}deg) translate3d(${n}px, ${r}px, ${s}px)`;f<=1&&-1<f&&(m=90*e+90*f,c&&(m=90*-e-90*f),y.browser)&&y.browser.isSafari&&Math.abs(m)/90%2==1&&(m+=.001),o.style.transform=g,u.slideShadows&&v(o,f,p)}if(o.style.transformOrigin=`50% 50% -${d/2}px`,o.style["-webkit-transform-origin"]=`50% 50% -${d/2}px`,u.shadow)if(p)f.style.transform=`translate3d(0px, ${t/2+u.shadowOffset}px, ${-t/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${u.shadowScale})`;else{const e=Math.abs(m)-90*Math.floor(Math.abs(m)/90),y=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),o=u.shadowScale,l=u.shadowScale/y,v=u.shadowOffset;f.style.transform=`scale3d(${o}, 1, ${l}) translate3d(0px, ${i/2+v}px, ${-i/2/l}px) rotateX(-89.99deg)`}var r=(n.isSafari||n.isWebView)&&n.needPerspectiveFix?-d/2:0;o.style.transform=`translate3d(0px,0,${r}px) rotateX(${y.isHorizontal()?0:m}deg) rotateY(${y.isHorizontal()?-m:0}deg)`,o.style.setProperty("--swiper-cube-translate-z",r+"px")},setTransition:t=>{var{el:e,slides:i}=y;if(i.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})}),y.params.cubeEffect.shadow&&!y.isHorizontal()){const y=e.querySelector(".swiper-cube-shadow");y&&(y.style.transitionDuration=t+"ms")}},recreateShadows:()=>{const i=y.isHorizontal();y.slides.forEach(e=>{var t=Math.max(Math.min(e.progress,1),-1);v(e,t,i)})},getEffectParams:()=>y.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:u,extendParams:t,on:i}=e;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const p=(e,t)=>{var i=u.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),n=u.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom"),i=i||F("flip",e,u.isHorizontal()?"left":"top"),n=n||F("flip",e,u.isHorizontal()?"right":"bottom");i&&(i.style.opacity=Math.max(-t,0)),n&&(n.style.opacity=Math.max(t,0))};h({effect:"flip",swiper:u,on:i,setTranslate:()=>{var{slides:a,rtlTranslate:o}=u,l=u.params.flipEffect;for(let s=0;s<a.length;s+=1){var c=a[s];let e=c.progress;u.params.flipEffect.limitRotation&&(e=Math.max(Math.min(c.progress,1),-1));var d=c.swiperSlideOffset;let t=-180*e,i=0,n=u.params.cssMode?-d-u.translate:-d,r=0;u.isHorizontal()?o&&(t=-t):(r=n,n=0,i=-t,t=0),u.browser&&u.browser.isSafari&&(Math.abs(t)/90%2==1&&(t+=.001),Math.abs(i)/90%2==1)&&(i+=.001),c.style.zIndex=-Math.abs(Math.round(e))+a.length,l.slideShadows&&p(c,e),d=`translate3d(${n}px, ${r}px, 0px) rotateX(${i}deg) rotateY(${t}deg)`,T(0,c).style.transform=d}},setTransition:t=>{var e=u.slides.map(e=>s(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})}),f({swiper:u,duration:t,transformElements:e})},recreateShadows:()=>{u.params.flipEffect,u.slides.forEach(e=>{let t=e.progress;u.params.flipEffect.limitRotation&&(t=Math.max(Math.min(e.progress,1),-1)),p(e,t)})},getEffectParams:()=>u.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!u.params.cssMode})})},function(e){let{swiper:_,extendParams:t,on:i}=e;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),h({effect:"coverflow",swiper:_,on:i,setTranslate:()=>{const{width:e,height:l,slides:c,slidesSizesGrid:d}=_,u=_.params.coverflowEffect,p=_.isHorizontal(),h=_.translate,f=p?e/2-h:l/2-h,m=p?u.rotate:-u.rotate,g=u.depth;for(let o=0,e=c.length;o<e;o+=1){const l=c[o],h=d[o],b=(f-l.swiperSlideOffset-h/2)/h,w="function"==typeof u.modifier?u.modifier(b):b*u.modifier;let e=p?m*w:0,t=p?0:m*w,i=-g*Math.abs(w),n=u.stretch,r=("string"==typeof n&&-1!==n.indexOf("%")&&(n=parseFloat(u.stretch)/100*h),p?0:n*w),s=p?n*w:0,a=1-(1-u.scale)*Math.abs(w);Math.abs(s)<.001&&(s=0),Math.abs(r)<.001&&(r=0),Math.abs(i)<.001&&(i=0),Math.abs(e)<.001&&(e=0),Math.abs(t)<.001&&(t=0),Math.abs(a)<.001&&(a=0),_.browser&&_.browser.isSafari&&(Math.abs(e)/90%2==1&&(e+=.001),Math.abs(t)/90%2==1)&&(t+=.001);var y,v=`translate3d(${s}px,${r}px,${i}px) rotateX(${t}deg) rotateY(${e}deg) scale(${a})`;T(0,l).style.transform=v,l.style.zIndex=1-Math.abs(Math.round(w)),u.slideShadows&&(v=p?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),y=p?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom"),v=v||F("coverflow",l,p?"left":"top"),y=y||F("coverflow",l,p?"right":"bottom"),v&&(v.style.opacity=0<w?w:0),y)&&(y.style.opacity=0<-w?-w:0)}},setTransition:t=>{_.slides.map(e=>s(e)).forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:v,extendParams:t,on:i}=e;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}}),h({effect:"creative",swiper:v,on:i,setTranslate:()=>{const{slides:r,wrapperEl:e,slidesSizesGrid:s}=v,a=v.params.creativeEffect,o=a.progressMultiplier,l=v.params.centeredSlides;if(l){const r=s[0]/2-v.params.slidesOffsetBefore||0;e.style.transform=`translateX(calc(50% - ${r}px))`}for(let i=0;i<r.length;i+=1){const s=r[i],h=s.progress,f=Math.min(Math.max(s.progress,-a.limitProgress),a.limitProgress);let e=f;l||(e=Math.min(Math.max(s.originalProgress,-a.limitProgress),a.limitProgress));const m=s.swiperSlideOffset,g=[v.params.cssMode?-m-v.translate:-m,0,0],y=[0,0,0];let t=!1,n=(v.isHorizontal()||(g[1]=g[0],g[0]=0),{translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1});f<0?(n=a.next,t=!0):0<f&&(n=a.prev,t=!0),g.forEach((e,t)=>{g[t]=`calc(${e}px + (${e=n.translate[t],"string"==typeof e?e:e+"px"} * ${Math.abs(f*o)}))`}),y.forEach((e,t)=>{let i=n.rotate[t]*Math.abs(f*o);v.browser&&v.browser.isSafari&&Math.abs(i)/90%2==1&&(i+=.001),y[t]=i}),s.style.zIndex=-Math.abs(Math.round(h))+r.length;var c=g.join(", "),d=`rotateX(${y[0]}deg) rotateY(${y[1]}deg) rotateZ(${y[2]}deg)`,u=e<0?`scale(${1+(1-n.scale)*e*o})`:`scale(${1-(1-n.scale)*e*o})`,p=e<0?1+(1-n.opacity)*e*o:1-(1-n.opacity)*e*o,c=`translate3d(${c}) ${d} `+u;if(t&&n.shadow||!t){u=s.querySelector(".swiper-slide-shadow");if(u=!u&&n.shadow?F("creative",s):u){const v=a.shadowPerProgress?f*(1/a.limitProgress):f;u.style.opacity=Math.min(Math.max(Math.abs(v),0),1)}}(d=T(0,s)).style.transform=c,d.style.opacity=p,n.origin&&(d.style.transformOrigin=n.origin)}},setTransition:t=>{var e=v.slides.map(e=>s(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=t+"ms"})}),f({swiper:v,duration:t,transformElements:e,allSlides:!0})},perspective:()=>v.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!v.params.cssMode})})},function(e){let{swiper:w,extendParams:t,on:i}=e;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),h({effect:"cards",swiper:w,on:i,setTranslate:()=>{const{slides:o,activeIndex:l,rtlTranslate:c}=w,d=w.params.cardsEffect,{startTranslate:u,isTouched:p}=w.touchEventsData,h=c?-w.translate:w.translate;for(let a=0;a<o.length;a+=1){var f=o[a],m=f.progress,g=Math.min(Math.max(m,-4),4);let e=f.swiperSlideOffset,t=(w.params.centeredSlides&&!w.params.cssMode&&(w.wrapperEl.style.transform=`translateX(${w.minTranslate()}px)`),w.params.centeredSlides&&w.params.cssMode&&(e-=o[0].swiperSlideOffset),w.params.cssMode?-e-w.translate:-e),i=0;var y=-100*Math.abs(g);let n=1,r=-d.perSlideRotate*g,s=d.perSlideOffset-.75*Math.abs(g);var v=((b=w.virtual&&w.params.virtual.enabled?w.virtual.from+a:a)===l||b===l-1)&&0<g&&g<1&&(p||w.params.cssMode)&&h<u,b=(b===l||b===l+1)&&g<0&&-1<g&&(p||w.params.cssMode)&&u<h;if(v||b){const o=(1-Math.abs((Math.abs(g)-.5)/.5))**.5;r+=-28*g*o,n+=-.5*o,s+=96*o,i=-25*o*Math.abs(g)+"%"}if(t=g<0?`calc(${t}px ${c?"-":"+"} (${s*Math.abs(g)}%))`:0<g?`calc(${t}px ${c?"-":"+"} (-${s*Math.abs(g)}%))`:t+"px",!w.isHorizontal()){const o=i;i=t,t=o}v=g<0?""+(1+(1-n)*g):""+(1-(1-n)*g),b=`
translate3d(${t}, ${i}, ${y}px)
rotateZ(${d.rotate?c?-r:r:0}deg)
scale(${v})
`,d.slideShadows&&(y=(y=f.querySelector(".swiper-slide-shadow"))||F("cards",f))&&(y.style.opacity=Math.min(Math.max((Math.abs(g)-.5)/.5,0),1)),f.style.zIndex=-Math.abs(Math.round(m))+o.length,T(0,f).style.transform=b}},setTransition:t=>{var e=w.slides.map(e=>s(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=t+"ms"})}),f({swiper:w,duration:t,transformElements:e})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!w.params.cssMode})})}]),p}()),ytp=(function(n){"use strict";function t(e,t){this.element=n(e),this.settings=n.extend({},r,t),this._defaults=r,this._init()}var i="Morphext",r={animation:"bounceIn",separator:",",speed:2e3,complete:n.noop};t.prototype={_init:function(){var i=this;this.phrases=[],this.element.addClass("morphext"),n.each(this.element.text().split(this.settings.separator),function(e,t){i.phrases.push(n.trim(t))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML='<span class="animated '+this.settings.animation+'">'+this.phrases[this.index]+"</span>",n.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var e=this;this._interval=setInterval(function(){e.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},n.fn[i]=function(e){return this.each(function(){n.data(this,"plugin_"+i)||n.data(this,"plugin_"+i,new t(this,e))})}}(jQuery),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Typed=t():e.Typed=t()}(this,function(){return n=[function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r,s,a=i(1),o=i(3),i=(n=l,(r=[{key:"toggle",value:function(){this.pause.status?this.start():this.stop()}},{key:"stop",value:function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))}},{key:"start",value:function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))}},{key:"destroy",value:function(){this.reset(!1),this.options.onDestroy(this)}},{key:"reset",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0];clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())}},{key:"begin",value:function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){e.currentElContent&&0!==e.currentElContent.length?e.backspace(e.currentElContent,e.currentElContent.length):e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos)},this.startDelay)}},{key:"typewrite",value:function(n,r){var s=this,e=(this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor)&&this.cursor.classList.remove(this.fadeOutClass),this.humanizer(this.typeSpeed)),a=1;return!0===this.pause.status?void this.setPauseStatus(n,r,!0):void(this.timeout=setTimeout(function(){r=o.htmlParser.typeHtmlChars(n,r,s);var e=0,t=n.substr(r);if("^"===t.charAt(0)&&/^\^\d+/.test(t)&&(i=1,i+=(t=/\d+/.exec(t)[0]).length,e=parseInt(t),s.temporaryPause=!0,s.options.onTypingPaused(s.arrayPos,s),n=n.substring(0,r)+n.substring(r+i),s.toggleBlinking(!0)),"`"===t.charAt(0)){for(;"`"!==n.substr(r+a).charAt(0)&&!(r+ ++a>n.length););var i=n.substring(0,r);n=i+n.substring(i.length+1,r+a)+n.substring(r+a+1),a--}s.timeout=setTimeout(function(){s.toggleBlinking(!1),r>=n.length?s.doneTyping(n,r):s.keepTyping(n,r,a),s.temporaryPause&&(s.temporaryPause=!1,s.options.onTypingResumed(s.arrayPos,s))},e)},e))}},{key:"keepTyping",value:function(e,t,i){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),i=e.substr(0,t+=i),this.replaceText(i),this.typewrite(e,t)}},{key:"doneTyping",value:function(e,t){var i=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){i.backspace(e,t)},this.backDelay))}},{key:"backspace",value:function(i,n){var r=this;if(!0===this.pause.status)this.setPauseStatus(i,n,!1);else{if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var e=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){n=o.htmlParser.backSpaceHtmlChars(i,n,r);var e,t=i.substr(0,n);r.replaceText(t),r.smartBackspace&&((e=r.strings[r.arrayPos+1])&&t===e.substr(0,n)?r.stopNum=n:r.stopNum=0),n>r.stopNum?(n--,r.backspace(i,n)):n<=r.stopNum&&(r.arrayPos++,r.arrayPos===r.strings.length?(r.arrayPos=0,r.options.onLastStringBackspaced(),r.shuffleStringsIfNeeded(),r.begin()):r.typewrite(r.strings[r.sequence[r.arrayPos]],n))},e)}}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,t,i){this.pause.typewrite=i,this.pause.curString=e,this.pause.curStrPos=t}},{key:"toggleBlinking",value:function(e){this.cursor&&!this.pause.status&&this.cursorBlinking!==e&&((this.cursorBlinking=e)?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink"))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(e){t.stop()}),this.el.addEventListener("blur",function(e){t.el.value&&0!==t.el.value.length||t.start()}))}},{key:"insertCursor",value:function(){this.showCursor&&!this.cursor&&(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode)&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)}}])&&c(n.prototype,r),s&&c(n,s),l);function l(e,t){if(!(this instanceof l))throw new TypeError("Cannot call a class as a function");a.initializer.load(this,t,e),this.begin()}function c(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}t.default=i,e.exports=t.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},n=function(e,t,i){return t&&s(e.prototype,t),i&&s(e,i),e},l=(i=i(2))&&i.__esModule?i:{default:i},i=(n(r,[{key:"load",value:function(e,t,i){if(e.el="string"==typeof i?document.querySelector(i):i,e.options=o({},l.default,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map(function(e){return e.trim()}),"string"==typeof e.options.stringsElement?e.stringsElement=document.querySelector(e.options.stringsElement):e.stringsElement=e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.display="none";var n=Array.prototype.slice.apply(e.stringsElement.children),r=n.length;if(r)for(var s=0;s<r;s+=1){var a=n[s];e.strings.push(a.innerHTML.trim())}}for(var s in e.strPos=0,e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.sequence=[],e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.strings)e.sequence[s]=s;e.currentElContent=this.getCurrentElContent(e),e.autoInsertCss=e.options.autoInsertCss,this.appendAnimationCss(e)}},{key:"getCurrentElContent",value:function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent}},{key:"appendAnimationCss",value:function(e){var t,i="data-typed-js-css";e.autoInsertCss&&(e.showCursor||e.fadeOut)&&!document.querySelector("["+i+"]")&&((t=document.createElement("style")).type="text/css",t.setAttribute(i,!0),i="",e.showCursor&&(i+="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n "),e.fadeOut&&(i+="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n "),0!==t.length)&&(t.innerHTML=i,document.body.appendChild(t))}}]),r);function r(){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}n=new(t.default=i),t.initializer=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(e){},onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(n.prototype,[{key:"typeHtmlChars",value:function(e,t,i){if("html"===i.contentType&&("<"===(i=e.substr(t).charAt(0))||"&"===i)){for(var n="<"===i?">":";";e.substr(t+1).charAt(0)!==n&&!(++t+1>e.length););t++}return t}},{key:"backSpaceHtmlChars",value:function(e,t,i){if("html"===i.contentType&&(">"===(i=e.substr(t).charAt(0))||";"===i)){for(var n=">"===i?"<":"&";e.substr(t-1).charAt(0)!==n&&!(--t<0););t--}return t}}]);var i=n;function n(){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i=new(t.default=i),t.htmlParser=i}],r={},i.m=n,i.c=r,i.p="",i(0);function i(e){var t;return(r[e]||(t=r[e]={exports:{},id:e,loaded:!1},n[e].call(t.exports,t,t.exports,i),t.loaded=!0,t)).exports}var n,r}),ytp||{});let YTPRndSuffix=(new Date).getTime(),YTPTimerLabels={init:"YTPlayerInit_"+YTPRndSuffix,startPlaying:"YTPlayerStartPlay_"+YTPRndSuffix};function onYouTubeIframeAPIReady(){ytp.YTAPIReady||(ytp.YTAPIReady=!0,jQuery(document).trigger("YTAPIReady"))}let getYTPVideoID=function(e){let t,i;return 0<e.indexOf("youtu.be")||0<e.indexOf("youtube.com/embed")?t=(i=0<(t=e.substr(e.lastIndexOf("/")+1,e.length)).indexOf("?list=")?t.substr(t.lastIndexOf("="),t.length):null)?t.substr(0,t.lastIndexOf("?")):t:i=-1<e.indexOf("http")?(t=e.match(/[\\?&]v=([^&#]*)/)[1],0<e.indexOf("list=")?e.match(/[\\?&]list=([^&#]*)/)[1]:null):(t=15<e.length?null:e)?null:e,{videoID:t,playlistID:i}};!function(jQuery,ytp){jQuery.mbYTPlayer={name:"jquery.mb.YTPlayer",version:"3.3.9",build:"7581",author:"Matteo Bicocchi (pupunzi)",apiKey:"",defaults:{videoURL:null,containment:"body",ratio:"auto",fadeOnStartTime:1e3,startAt:0,stopAt:0,autoPlay:!0,delayAtStart:1e3,coverImage:!1,loop:!0,addRaster:!1,mask:!1,opacity:1,quality:"hd1080",vol:50,mute:!1,showControls:!0,anchor:"center,center",showAnnotations:!1,cc_load_policy:!1,showYTLogo:!0,useOnMobile:!0,playOnlyIfVisible:!1,onScreenPercentage:30,goFullScreenOnPlay:!1,stopMovieOnBlur:!0,realFullscreen:!0,optimizeDisplay:!0,abundance:.3,gaTrack:!0,remember_last_time:!1,addFilters:!1,useNoCookie:!0,onReady:function(e){},onError:function(e,t){},onEnd:function(){}},controls:{play:"P",pause:"p",mute:"M",unmute:"A",onlyYT:"O",showSite:"R",ytLogo:"Y"},controlBar:null,locationProtocol:"https:",defaultFilters:{grayscale:{value:0,unit:"%"},hue_rotate:{value:0,unit:"deg"},invert:{value:0,unit:"%"},opacity:{value:0,unit:"%"},saturate:{value:0,unit:"%"},sepia:{value:0,unit:"%"},brightness:{value:0,unit:"%"},contrast:{value:0,unit:"%"},blur:{value:0,unit:"px"}},buildPlayer:function(options){if(ytp.YTAPIReady||void 0!==window.YT)setTimeout(function(){jQuery(document).trigger("YTAPIReady"),ytp.YTAPIReady=!0},100);else{jQuery("#YTAPI").remove();let e=jQuery("<script>").attr({src:"https://www.youtube.com/iframe_api?v="+jQuery.mbYTPlayer.version,id:"YTAPI"});jQuery("head").prepend(e)}function isIframe(){let t=!1;try{self.location.href!==top.location.href&&(t=!0)}catch(e){t=!0}return t}return this.each(function(){let YTPlayer=this,$YTPlayer=jQuery(YTPlayer),property=($YTPlayer.hide(),YTPlayer.loop=0,YTPlayer.state=0,YTPlayer.filters=jQuery.extend(!0,{},jQuery.mbYTPlayer.defaultFilters),YTPlayer.filtersEnabled=!0,YTPlayer.id=YTPlayer.id||"YTP_"+(new Date).getTime(),$YTPlayer.addClass("mb_YTPlayer"),$YTPlayer.data("property")&&"string"==typeof $YTPlayer.data("property")?eval("("+$YTPlayer.data("property")+")"):$YTPlayer.data("property")),fullScreenAvailable=("object"!=typeof property&&(property={}),YTPlayer.opt=jQuery.extend(!0,{},jQuery.mbYTPlayer.defaults,YTPlayer.opt,options,property),YTPRndSuffix=getYTPVideoID(YTPlayer.opt.videoURL).videoID,YTPTimerLabels={init:"YTPlayerInit_"+YTPRndSuffix,startPlaying:"YTPlayerStartPlay_"+YTPRndSuffix},console.time(YTPTimerLabels.init),console.time(YTPTimerLabels.startPlaying),YTPlayer.opt.elementId=YTPlayer.id,0===YTPlayer.opt.vol&&(YTPlayer.opt.vol=1,YTPlayer.opt.mute=!0),YTPlayer.opt.loop&&"boolean"==typeof YTPlayer.opt.loop&&(YTPlayer.opt.loop=9999),document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled),origContainmentBackground=(YTPlayer.opt.realFullscreen=!(isIframe()||!fullScreenAvailable)&&YTPlayer.opt.realFullscreen,YTPlayer.opt.showAnnotations=YTPlayer.opt.showAnnotations?"1":"3",YTPlayer.opt.cc_load_policy=YTPlayer.opt.cc_load_policy?"1":"0",YTPlayer.opt.coverImage=YTPlayer.opt.coverImage||YTPlayer.opt.backgroundImage,YTPlayer.opt.quality="hd1080",jQuery.mbBrowser.msie&&jQuery.mbBrowser.version<9&&(YTPlayer.opt.opacity=1),YTPlayer.opt.containment="self"===YTPlayer.opt.containment?$YTPlayer:jQuery(YTPlayer.opt.containment),YTPlayer.isRetina=window.retina||1<window.devicePixelRatio,YTPlayer.opt.ratio="auto"===YTPlayer.opt.ratio?16/9:YTPlayer.opt.ratio,YTPlayer.opt.ratio=eval(YTPlayer.opt.ratio),YTPlayer.opt.containment.css("background-image")),start_from_last=(origContainmentBackground="none"===origContainmentBackground?null:origContainmentBackground,YTPlayer.orig_containment_background=origContainmentBackground,$YTPlayer.attr("id")||$YTPlayer.attr("id","ytp_"+(new Date).getTime()),YTPlayer.playerID="iframe_"+YTPlayer.id,YTPlayer.isAlone=!1,YTPlayer.hasFocus=!0,YTPlayer.videoID=YTPlayer.opt.videoURL?getYTPVideoID(YTPlayer.opt.videoURL).videoID:!!$YTPlayer.attr("href")&&getYTPVideoID($YTPlayer.attr("href")).videoID,YTPlayer.playlistID=YTPlayer.opt.videoURL?getYTPVideoID(YTPlayer.opt.videoURL).playlistID:!!$YTPlayer.attr("href")&&getYTPVideoID($YTPlayer.attr("href")).playlistID,0);if(jQuery.mbCookie.get("YTPlayer_start_from"+YTPlayer.videoID)&&(start_from_last=parseFloat(jQuery.mbCookie.get("YTPlayer_start_from"+YTPlayer.videoID))),YTPlayer.opt.remember_last_time&&start_from_last&&(YTPlayer.start_from_last=start_from_last,jQuery.mbCookie.remove("YTPlayer_start_from"+YTPlayer.videoID)),YTPlayer.isPlayer=$YTPlayer.is(YTPlayer.opt.containment),YTPlayer.isBackground=YTPlayer.opt.containment.is("body"),!YTPlayer.isBackground||!ytp.backgroundIsInited){if(YTPlayer.isPlayer&&$YTPlayer.show(),YTPlayer.overlay=jQuery("<div/>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%"}).addClass("YTPOverlay"),$YTPlayer.changeCoverImage(),YTPlayer.wrapper=jQuery("<div/>").attr("id","wrapper_"+YTPlayer.id).css({position:"absolute",zIndex:0,minWidth:"100%",minHeight:"100%",left:0,top:0,overflow:"hidden",opacity:0}).addClass("mbYTP_wrapper"),YTPlayer.isPlayer){let e=jQuery.mbBrowser.mobile?"inlinePlayButtonMobile":"inlinePlayButton";YTPlayer.inlinePlayButton=jQuery("<div/>").addClass("inlinePlayButton").html(jQuery.mbYTPlayer.controls.play),$YTPlayer.append(YTPlayer.inlinePlayButton),YTPlayer.inlinePlayButton.on("click",function(e){$YTPlayer.YTPPlay(),YTPlayer.inlinePlayButton.hide(),YTPlayer.opt.goFullScreenOnPlay&&$YTPlayer.YTPFullscreen(),e.stopPropagation()}),YTPlayer.opt.autoPlay&&YTPlayer.inlinePlayButton.hide(),YTPlayer.overlay.on("click",function(){$YTPlayer.YTPTogglePlay(),YTPlayer.opt.goFullScreenOnPlay&&$YTPlayer.YTPFullscreen()}).css({cursor:"pointer"})}let playerBox=jQuery("<div/>").attr("id",YTPlayer.playerID).addClass("playerBox");if(playerBox.css({position:"absolute",zIndex:0,width:"100%",height:"100%",top:0,left:0,overflow:"hidden",opacity:1}),YTPlayer.wrapper.append(playerBox),playerBox.after(YTPlayer.overlay),YTPlayer.isPlayer&&(YTPlayer.inlineWrapper=jQuery("<div/>").addClass("inline-YTPlayer"),YTPlayer.inlineWrapper.css({position:"relative",maxWidth:YTPlayer.opt.containment.css("width")}),YTPlayer.opt.containment.css({position:"relative",paddingBottom:"56.25%",overflow:"hidden",height:0}),YTPlayer.opt.containment.wrap(YTPlayer.inlineWrapper)),YTPlayer.opt.containment.children().not("script, style").each(function(){"static"===jQuery(this).css("position")&&jQuery(this).css("position","relative")}),YTPlayer.isBackground?(jQuery("body").css({boxSizing:"border-box"}),YTPlayer.wrapper.css({position:"fixed",top:0,left:0,zIndex:0})):"static"===YTPlayer.opt.containment.css("position")&&(YTPlayer.opt.containment.css({position:"relative"}),$YTPlayer.show()),YTPlayer.opt.containment.prepend(YTPlayer.wrapper),YTPlayer.isBackground||YTPlayer.overlay.on("mouseenter",function(){YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.addClass("visible")}).on("mouseleave",function(){YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.removeClass("visible")}),jQuery.mbBrowser.mobile&&!YTPlayer.opt.useOnMobile)return YTPlayer.opt.coverImage&&(YTPlayer.wrapper.css({backgroundImage:"url("+YTPlayer.opt.coverImage+")",backgroundPosition:"center center",backgroundSize:"cover",backgroundRepeat:"no-repeat",opacity:1}),YTPlayer.wrapper.css({opacity:1})),$YTPlayer;jQuery.mbBrowser.mobile&&YTPlayer.opt.autoPlay&&YTPlayer.opt.useOnMobile&&jQuery("body").one("touchstart",function(){YTPlayer.player.playVideo()}),jQuery(document).one("YTAPIReady",function(){$YTPlayer.trigger("YTAPIReady_"+YTPlayer.id),ytp.YTAPIReady=!0}),YTPlayer.isOnScreen=jQuery.mbYTPlayer.isOnScreen(YTPlayer,YTPlayer.opt.onScreenPercentage),$YTPlayer.one("YTAPIReady_"+YTPlayer.id,function(){let n=this,i=jQuery(n);n.isBackground&&ytp.backgroundIsInited||n.isInit||(n.isBackground&&(ytp.backgroundIsInited=!0),n.opt.autoPlay=void 0===n.opt.autoPlay?!!n.isBackground:n.opt.autoPlay,n.opt.vol=n.opt.vol||100,jQuery.mbYTPlayer.getDataFromAPI(n),jQuery(n).on("YTPChanged",function(e){var t;n.isInit||(n.isInit=!0,t={modestbranding:1,autoplay:0,controls:0,showinfo:0,rel:0,enablejsapi:1,version:3,playerapiid:n.playerID,origin:"*",allowfullscreen:!0,wmode:"transparent",iv_load_policy:n.opt.showAnnotations,cc_load_policy:n.opt.cc_load_policy,playsinline:jQuery.mbBrowser.mobile&&!n.isPlayer?1:0,html5:document.createElement("video").canPlayType?1:0},new YT.Player(n.playerID,{host:n.opt.useNoCookie?"https://www.youtube-nocookie.com":"https://www.youtube.com",playerVars:t,events:{onReady:function(e){n.player=e.target,n.player.loadVideoById({videoId:n.videoID.toString(),suggestedQuality:n.opt.quality}),i.trigger("YTPlayerIsReady_"+n.id)},onStateChange:function(i){if("function"==typeof i.target.getPlayerState){let e,t=i.target.getPlayerState();if(n.preventTrigger||n.isStarting)n.preventTrigger=!1;else{switch(n.state=t,i.data===YT.PlayerState.PLAYING&&i.target.setPlaybackQuality(n.opt.quality),t){case-1:e="YTPUnstarted";break;case 0:e="YTPRealEnd";break;case 1:e="YTPPlay",n.controlBar.length&&n.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.pause),n.isPlayer&&n.inlinePlayButton.hide(),jQuery(document).off("mousedown.YTPstart");break;case 2:e="YTPPause",n.controlBar.length&&n.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play),n.isPlayer&&n.inlinePlayButton.show();break;case 3:n.player.setPlaybackQuality(n.opt.quality),e="YTPBuffering",n.controlBar.length&&n.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play);break;case 5:e="YTPCued"}(i=jQuery.Event(e)).time=n.currentTime,jQuery(n).trigger(i)}}},onPlaybackQualityChange:function(e){var e=e.target.getPlaybackQuality(),t=jQuery.Event("YTPQualityChange");t.quality=e,jQuery(n).trigger(t)},onError:function(e){switch("function"==typeof n.opt.onError&&n.opt.onError(i,e),console.debug("error:",e),e.data){case 2:console.error("video ID:: "+n.videoID+": The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.");break;case 5:console.error("video ID:: "+n.videoID+": The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.");break;case 100:console.error("video ID:: "+n.videoID+": The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.");break;case 101:case 150:console.error("video ID:: "+n.videoID+": The video doesn't exist or The owner does not allow it to be played in embedded players.")}n.isList&&jQuery(n).YTPPlayNext()}}}),i.on("YTPlayerIsReady_"+n.id,function(){if(n.isReady)return this;n.playerEl=n.player.getIframe(),jQuery(n.playerEl).unselectable(),i.optimizeDisplay(),jQuery(window).off("resize.YTP_"+n.id).on("resize.YTP_"+n.id,function(){i.optimizeDisplay()}),jQuery(window).off("orientationchange.YTP_"+n.id).on("orientationchange.YTP_"+n.id,function(){i.optimizeDisplay()}),n.opt.remember_last_time&&jQuery(window).on("unload.YTP_"+n.id,function(){var e=n.player.getCurrentTime();jQuery.mbCookie.set("YTPlayer_start_from"+n.videoID,e,0)}),i.YTPCheckForState()}))}))}),$YTPlayer.off("YTPTime.mask"),jQuery.mbYTPlayer.applyMask(YTPlayer),console.timeEnd(YTPTimerLabels.init),setTimeout(function(){ytp.YTAPIReady||"object"!=typeof window.YT||(jQuery(document).trigger("YTAPIReady"),ytp.YTAPIReady=!0,console.error("YTPlayer: More then a call to the YT API has been detected"))},YTPlayer.opt.delayAtStart)}})},isOnScreen:function(e,t){t=t||10;var e=e.wrapper,i=jQuery(window).scrollTop(),n=i+jQuery(window).height(),t=e.height()*t/100,r=e.offset().top+t;return e.offset().top+(e.height()-t)<=n&&i<=r},getDataFromAPI:function(r){r.videoData=jQuery.mbStorage.get("YTPlayer_data_"+r.videoID),r.videoData?(setTimeout(function(){r.dataReceived=!0;var e,t=jQuery.Event("YTPChanged"),i=(t.time=r.currentTime,t.videoId=r.videoID,t.opt=r.opt,jQuery(r).trigger(t),jQuery.Event("YTPData"));for(e in i.prop={},r.videoData)r.videoData.hasOwnProperty(e)&&(i.prop[e]=r.videoData[e]);jQuery(r).trigger(i)},r.opt.fadeOnStartTime),r.hasData=!0):jQuery.mbYTPlayer.apiKey?jQuery.getJSON("https://www.googleapis.com/youtube/v3/videos?id="+r.videoID+"&key="+jQuery.mbYTPlayer.apiKey+"&part=snippet",function(e){r.dataReceived=!0;var t,i=jQuery.Event("YTPChanged"),n=(i.time=r.currentTime,i.videoId=r.videoID,jQuery(r).trigger(i),e.items[0]?(i=e.items[0].snippet,r.videoData={},r.videoData.id=r.videoID,r.videoData.channelTitle=i.channelTitle,r.videoData.title=i.title,r.videoData.description=i.description.length<400?i.description:i.description.substring(0,400)+" ...",r.videoData.thumb_max=i.thumbnails.maxres?i.thumbnails.maxres.url:null,r.videoData.thumb_high=i.thumbnails.high?i.thumbnails.high.url:null,r.videoData.thumb_medium=i.thumbnails.medium?i.thumbnails.medium.url:null,jQuery.mbStorage.set("YTPlayer_data_"+r.videoID,r.videoData),r.hasData=!0):(r.videoData={},r.hasData=!1),jQuery.Event("YTPData"));for(t in n.prop={},r.videoData)n.prop[t]=r.videoData[t];jQuery(r).trigger(n)}).fail(function(e){console.error("YT data error:: ",e),r.hasData=!1,(e=jQuery.Event("YTPChanged")).time=r.currentTime,e.videoId=r.videoID,jQuery(r).trigger(e)}):(setTimeout(function(){var e=jQuery.Event("YTPChanged");e.time=r.currentTime,e.videoId=r.videoID,jQuery(r).trigger(e)},10),r.videoData=null),r.opt.ratio="auto"==r.opt.ratio?16/9:r.opt.ratio,r.isPlayer&&!r.opt.autoPlay&&(r.loading=jQuery("<div/>").addClass("loading").html("Loading").hide(),jQuery(r).append(r.loading),r.loading.fadeIn())},removeStoredData:function(){jQuery.mbStorage.remove()},getVideoData:function(){return this.get(0).videoData},getVideoID:function(){return this.get(0).videoID||!1},getPlaylistID:function(){return this.get(0).playlistID||!1},setVideoQuality:function(e){var t=this.get(0),i=t.player.getCurrentTime();return jQuery(t).YTPPause(),t.opt.quality=e,t.player.setPlaybackQuality(e),t.player.seekTo(i),jQuery(t).YTPPlay(),this},getVideoQuality:function(){return this.get(0).player.getPlaybackQuality()},playlist:function(e,t,i){let n=this.get(0);return n.isList=!0,t&&(e=jQuery.shuffle(e)),n.videoID||(n.videos=e,n.videoCounter=1,n.videoLength=e.length,jQuery(n).data("property",e[0]),jQuery(n).YTPlayer()),"function"==typeof i&&jQuery(n).on("YTPChanged",function(){i(n)}),jQuery(n).on("YTPEnd",function(){jQuery(n).YTPPlayNext()}),this},playNext:function(){var e=this.get(0);return e.videoCounter++,e.videoCounter>e.videoLength&&(e.videoCounter=1),jQuery(e).YTPPlayIndex(e.videoCounter),this},playPrev:function(){var e=this.get(0);return e.videoCounter--,e.videoCounter<=0&&(e.videoCounter=e.videoLength),jQuery(e).YTPPlayIndex(e.videoCounter),this},playIndex:function(e){var t=this.get(0),e=(t.checkForStartAt&&(clearInterval(t.checkForStartAt),clearInterval(t.getState)),t.videoCounter=e,t.videoCounter>=t.videoLength&&(t.videoCounter=t.videoLength),t.videos[t.videoCounter-1]);return jQuery(t).YTPChangeVideo(e),this},changeVideo:function(e){let t=this,i=t.get(0);return i.opt.startAt=0,i.opt.stopAt=0,i.opt.mask=!1,i.opt.mute=!0,i.opt.autoPlay=!0,i.opt.addFilters=!1,i.opt.coverImage=!1,i.hasData=!1,i.hasChanged=!0,i.player.loopTime=void 0,e&&jQuery.extend(i.opt,e),i.videoID=getYTPVideoID(i.opt.videoURL).videoID,i.opt.loop&&"boolean"==typeof i.opt.loop&&(i.opt.loop=9999),i.wrapper.css({background:"none"}),jQuery(i.playerEl).CSSAnimate({opacity:0},i.opt.fadeOnStartTime,function(){jQuery.mbYTPlayer.getDataFromAPI(i),t.YTPGetPlayer().loadVideoById({videoId:i.videoID,suggestedQuality:i.opt.quality}),t.YTPPause(),t.optimizeDisplay(),i.checkForStartAt&&(clearInterval(i.checkForStartAt),clearInterval(i.getState)),t.YTPCheckForState()}),(e=jQuery.Event("YTPChangeVideo")).time=i.currentTime,jQuery(i).trigger(e),jQuery.mbYTPlayer.applyMask(i),this},getPlayer:function(){var e=this.get(0);return e.isReady?e.player:null},playerDestroy:function(){var e=this.get(0);return e.isReady&&(ytp.YTAPIReady=!0,ytp.backgroundIsInited=!1,e.isInit=!1,e.videoID=null,e.isReady=!1,e.wrapper.remove(),jQuery("#controlBar_"+e.id).remove(),clearInterval(e.checkForStartAt),clearInterval(e.getState)),this},fullscreen:function(real){let YTPlayer=this.get(0),controls=(void 0===real&&(real=eval(YTPlayer.opt.realFullscreen)),jQuery("#controlBar_"+YTPlayer.id)),fullScreenBtn=controls.find(".mb_OnlyYT"),videoWrapper=YTPlayer.isPlayer?YTPlayer.opt.containment:YTPlayer.wrapper;if(real){let e=jQuery.mbBrowser.mozilla?"mozfullscreenchange":jQuery.mbBrowser.webkit?"webkitfullscreenchange":"fullscreenchange";jQuery(document).off(e).on(e,function(){RunPrefixMethod(document,"IsFullScreen")||RunPrefixMethod(document,"FullScreen")?jQuery(YTPlayer).trigger("YTPFullScreenStart"):(YTPlayer.isAlone=!1,fullScreenBtn.html(jQuery.mbYTPlayer.controls.onlyYT),jQuery(YTPlayer).YTPSetVideoQuality(YTPlayer.opt.quality),videoWrapper.removeClass("YTPFullscreen"),videoWrapper.CSSAnimate({opacity:YTPlayer.opt.opacity},YTPlayer.opt.fadeOnStartTime),videoWrapper.css({zIndex:0}),YTPlayer.isBackground?jQuery("body").after(controls):YTPlayer.wrapper.before(controls),jQuery(window).resize(),jQuery(YTPlayer).trigger("YTPFullScreenEnd"))})}function hideMouse(){YTPlayer.overlay.css({cursor:"none"})}function RunPrefixMethod(e,t){let i,n,r=["webkit","moz","ms","o",""],s=0;for(;s<r.length&&!e[i];){if(i=t,""===r[s]&&(i=i.substr(0,1).toLowerCase()+i.substr(1)),"undefined"!=(n=typeof e[i=r[s]+i]))return r=[r[s]],"function"==n?e[i]():e[i];s++}}function launchFullscreen(e){RunPrefixMethod(e,"RequestFullScreen")}function cancelFullscreen(){(RunPrefixMethod(document,"FullScreen")||RunPrefixMethod(document,"IsFullScreen"))&&RunPrefixMethod(document,"CancelFullScreen")}return YTPlayer.isAlone?(jQuery(document).off("mousemove.YTPlayer"),clearTimeout(YTPlayer.hideCursor),YTPlayer.overlay.css({cursor:"auto"}),real?cancelFullscreen():(videoWrapper.CSSAnimate({opacity:YTPlayer.opt.opacity},YTPlayer.opt.fadeOnStartTime),videoWrapper.css({zIndex:0})),fullScreenBtn.html(jQuery.mbYTPlayer.controls.onlyYT),YTPlayer.isAlone=!1):(jQuery(document).on("mousemove.YTPlayer",function(e){YTPlayer.overlay.css({cursor:"auto"}),clearTimeout(YTPlayer.hideCursor),jQuery(e.target).parents().is(".mb_YTPBar")||(YTPlayer.hideCursor=setTimeout(hideMouse,3e3))}),hideMouse(),real?(videoWrapper.css({opacity:0}),videoWrapper.addClass("YTPFullscreen"),launchFullscreen(videoWrapper.get(0)),setTimeout(function(){videoWrapper.CSSAnimate({opacity:1},2*YTPlayer.opt.fadeOnStartTime),videoWrapper.append(controls),jQuery(YTPlayer).optimizeDisplay(),YTPlayer.player.seekTo(YTPlayer.player.getCurrentTime()+.1,!0)},YTPlayer.opt.fadeOnStartTime)):videoWrapper.css({zIndex:1e4}).CSSAnimate({opacity:1},2*YTPlayer.opt.fadeOnStartTime),fullScreenBtn.html(jQuery.mbYTPlayer.controls.showSite),YTPlayer.isAlone=!0),this},toggleLoops:function(){var e=this.get(0),t=e.opt;return 1==t.loop?t.loop=0:(t.startAt?e.player.seekTo(t.startAt):e.player.playVideo(),t.loop=1),this},play:function(){let e=this.get(0),t=jQuery(e);return e.isReady&&(setTimeout(function(){t.YTPSetAbundance(e.opt.abundance)},300),e.player.playVideo(),jQuery(e.playerEl).css({opacity:1}),e.wrapper.css({backgroundImage:"none"}),e.wrapper.CSSAnimate({opacity:e.isAlone?1:e.opt.opacity},e.opt.fadeOnStartTime),jQuery("#controlBar_"+e.id).find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.pause),e.state=1),this},togglePlay:function(e){var t=this.get(0);return t.isReady&&(1===t.state?this.YTPPause():this.YTPPlay(),"function"==typeof e)&&e(t.state),this},stop:function(){var e=this.get(0);return e.isReady&&(jQuery("#controlBar_"+e.id).find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play),e.player.stopVideo()),this},pause:function(){var e=this.get(0);return e.isReady&&(e.opt.abundance<.2&&this.YTPSetAbundance(.2),e.player.pauseVideo(),e.state=2),this},seekTo:function(e){var t=this.get(0);return t.isReady&&t.player.seekTo(e,!0),this},getPlaybackRate:function(){var e=this.get(0);return e.isReady?e.player.getPlaybackRate():this},setPlaybackRate:function(e){var t=this.get(0);return t.isReady&&t.player.setPlaybackRate(e),this},setVolume:function(e){var t=this.get(0);return t.isReady&&(t.opt.vol=e,this.YTPUnmute(),t.player.setVolume(t.opt.vol),t.volumeBar)&&t.volumeBar.length&&t.volumeBar.updateSliderVal(e),this},getVolume:function(){var e=this.get(0);return e.isReady?e.player.getVolume():this},toggleVolume:function(){var e=this.get(0);return e.isReady&&(e.isMute?(jQuery.mbBrowser.mobile||this.YTPSetVolume(e.opt.vol),this.YTPUnmute()):this.YTPMute()),this},mute:function(){var e,t=this.get(0);return!t.isReady||t.isMute||(t.player.mute(),t.isMute=!0,t.player.setVolume(0),t.volumeBar&&t.volumeBar.length&&10<t.volumeBar.width()&&t.volumeBar.updateSliderVal(0),jQuery("#controlBar_"+t.id).find(".mb_YTPMuteUnmute").html(jQuery.mbYTPlayer.controls.unmute),jQuery(t).addClass("isMuted"),t.volumeBar&&t.volumeBar.length&&t.volumeBar.addClass("muted"),(e=jQuery.Event("YTPMuted")).time=t.currentTime,t.preventTrigger)||jQuery(t).trigger(e),this},unmute:function(){var e,t=this.get(0);return t.isReady&&t.isMute&&(t.player.unMute(),t.isMute=!1,jQuery(t).YTPSetVolume(t.opt.vol),t.volumeBar&&t.volumeBar.length&&t.volumeBar.updateSliderVal(10<t.opt.vol?t.opt.vol:10),jQuery("#controlBar_"+t.id).find(".mb_YTPMuteUnmute").html(jQuery.mbYTPlayer.controls.mute),jQuery(t).removeClass("isMuted"),t.volumeBar&&t.volumeBar.length&&t.volumeBar.removeClass("muted"),(e=jQuery.Event("YTPUnmuted")).time=t.currentTime,t.preventTrigger||jQuery(t).trigger(e)),this},applyFilter:function(e,t){var i=this.get(0);if(!i.isReady)return this;i.filters[e].value=t,i.filtersEnabled&&this.YTPEnableFilters()},applyFilters:function(e){let t=this,i=t.get(0);if(!i.isReady)return jQuery(i).on("YTPReady",function(){t.YTPApplyFilters(e)}),this;for(var n in e)t.YTPApplyFilter(n,e[n]);t.trigger("YTPFiltersApplied")},toggleFilter:function(e,t){var i=this.get(0);return i.isReady&&(i.filters[e].value?i.filters[e].value=0:i.filters[e].value=t,i.filtersEnabled)&&jQuery(i).YTPEnableFilters(),this},toggleFilters:function(e){var t=this.get(0);return t.isReady&&(t.filtersEnabled?(jQuery(t).trigger("YTPDisableFilters"),jQuery(t).YTPDisableFilters()):(jQuery(t).YTPEnableFilters(),jQuery(t).trigger("YTPEnableFilters")),"function"==typeof e)&&e(t.filtersEnabled),this},disableFilters:function(){var e,t=this.get(0);return t.isReady&&((e=jQuery(t.playerEl)).css("-webkit-filter",""),e.css("filter",""),t.filtersEnabled=!1),this},enableFilters:function(){var i=this.get(0);if(i.isReady){let e=jQuery(i.playerEl),t="";for(var n in i.filters)i.filters[n].value&&(t+=n.replace("_","-")+"("+i.filters[n].value+i.filters[n].unit+") ");e.css("-webkit-filter",t),e.css("filter",t),i.filtersEnabled=!0}return this},removeFilter:function(e,t){var i=this.get(0);if(i.isReady){if("function"==typeof e&&(t=e,e=null),e)this.YTPApplyFilter(e,0),"function"==typeof t&&t(e);else{for(var n in i.filters)i.filters.hasOwnProperty(n)&&(this.YTPApplyFilter(n,0),"function"==typeof t)&&t(n);i.filters=jQuery.extend(!0,{},jQuery.mbYTPlayer.defaultFilters)}e=jQuery.Event("YTPFiltersApplied"),this.trigger(e)}return this},getFilters:function(){var e=this.get(0);return e.isReady?e.filters:this},addMask:function(e){let t=this.get(0),i=(e=e||t.actualMask,jQuery("<img/>").attr("src",e).on("load",function(){t.overlay.CSSAnimate({opacity:0},t.opt.fadeOnStartTime,function(){t.hasMask=!0,i.remove(),t.overlay.css({backgroundImage:"url("+e+")",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"cover"}),t.overlay.CSSAnimate({opacity:1},t.opt.fadeOnStartTime)})}));return this},removeMask:function(){let e=this.get(0);return e.overlay.CSSAnimate({opacity:0},e.opt.fadeOnStartTime,function(){e.hasMask=!1,e.overlay.css({backgroundImage:"",backgroundRepeat:"",backgroundPosition:"",backgroundSize:""}),e.overlay.CSSAnimate({opacity:1},e.opt.fadeOnStartTime)}),this},applyMask:function(i){let n=jQuery(i);if(n.off("YTPTime.mask"),i.opt.mask)if("string"==typeof i.opt.mask)n.YTPAddMask(i.opt.mask),i.actualMask=i.opt.mask;else if("object"==typeof i.opt.mask){for(var e in i.opt.mask)i.opt.mask[e]&&(img=jQuery("<img/>").attr("src",i.opt.mask[e]));i.opt.mask[0]&&n.YTPAddMask(i.opt.mask[0]),n.on("YTPTime.mask",function(e){for(var t in i.opt.mask)e.time===t&&(i.opt.mask[t]?(n.YTPAddMask(i.opt.mask[t]),i.actualMask=i.opt.mask[t]):n.YTPRemoveMask())})}},toggleMask:function(){var e=this.get(0),t=jQuery(e);return e.hasMask?t.YTPRemoveMask():t.YTPAddMask(),this},manageProgress:function(){var e=this.get(0),t=(n=jQuery("#controlBar_"+e.id)).find(".mb_YTPProgress"),i=n.find(".mb_YTPLoaded"),n=n.find(".mb_YTPseekbar"),t=t.outerWidth(),r=Math.floor(e.player.getCurrentTime()),s=Math.floor(e.player.getDuration()),t=r*t/s,e=100*e.player.getVideoLoadedFraction();return i.css({left:0,width:e+"%"}),n.css({left:0,width:t}),{totalTime:s,currentTime:r}},buildControls:function(YTPlayer){if(jQuery("#controlBar_"+YTPlayer.id).remove(),!YTPlayer.opt.showControls)return void(YTPlayer.controlBar=!1);if(YTPlayer.opt.showYTLogo=YTPlayer.opt.showYTLogo||YTPlayer.opt.printUrl,jQuery("#controlBar_"+YTPlayer.id).length)return;YTPlayer.controlBar=jQuery("<div/>").attr("id","controlBar_"+YTPlayer.id).addClass("mb_YTPBar").css({whiteSpace:"noWrap",position:YTPlayer.isBackground?"fixed":"absolute",zIndex:YTPlayer.isBackground?1e4:1e3}).hide().on("click",function(e){e.stopPropagation()});let buttonBar=jQuery("<div/>").addClass("buttonBar"),playpause=jQuery("<span>"+jQuery.mbYTPlayer.controls.play+"</span>").addClass("mb_YTPPlayPause ytpicon").on("click",function(e){e.stopPropagation(),jQuery(YTPlayer).YTPTogglePlay()}),MuteUnmute=jQuery("<span>"+jQuery.mbYTPlayer.controls.mute+"</span>").addClass("mb_YTPMuteUnmute ytpicon").on("click",function(e){e.stopPropagation(),jQuery(YTPlayer).YTPToggleVolume()}),volumeBar=jQuery("<div/>").addClass("mb_YTPVolumeBar").css({display:"inline-block"}),idx=(YTPlayer.volumeBar=volumeBar,jQuery("<span/>").addClass("mb_YTPTime")),vURL=YTPlayer.opt.videoURL||"",movieUrl=(vURL.indexOf("http")<0&&(vURL="https://www.youtube.com/watch?v="+YTPlayer.opt.videoURL),jQuery("<span/>").html(jQuery.mbYTPlayer.controls.ytLogo).addClass("mb_YTPUrl ytpicon").attr("title","view on YouTube").on("click",function(){window.open(vURL,"viewOnYT")})),onlyVideo=jQuery("<span/>").html(jQuery.mbYTPlayer.controls.onlyYT).addClass("mb_OnlyYT ytpicon").on("click",function(e){e.stopPropagation(),jQuery(YTPlayer).YTPFullscreen(YTPlayer.opt.realFullscreen)}),progressBar=jQuery("<div/>").addClass("mb_YTPProgress").css("position","absolute").on("click",function(e){e.stopPropagation(),timeBar.css({width:e.clientX-timeBar.offset().left}),YTPlayer.timeW=e.clientX-timeBar.offset().left,YTPlayer.controlBar.find(".mb_YTPLoaded").css({width:0}),e=Math.floor(YTPlayer.player.getDuration()),YTPlayer.goto=timeBar.outerWidth()*e/progressBar.outerWidth(),YTPlayer.player.seekTo(parseFloat(YTPlayer.goto),!0),YTPlayer.controlBar.find(".mb_YTPLoaded").css({width:0})}),loadedBar=jQuery("<div/>").addClass("mb_YTPLoaded").css("position","absolute"),timeBar=jQuery("<div/>").addClass("mb_YTPseekbar").css("position","absolute");progressBar.append(loadedBar).append(timeBar),buttonBar.append(playpause).append(MuteUnmute).append(volumeBar).append(idx),YTPlayer.opt.showYTLogo&&buttonBar.append(movieUrl),(YTPlayer.isBackground||eval(YTPlayer.opt.realFullscreen)&&!YTPlayer.isBackground)&&buttonBar.append(onlyVideo),YTPlayer.controlBar.append(buttonBar).append(progressBar),YTPlayer.isBackground?jQuery("body").after(YTPlayer.controlBar):(YTPlayer.controlBar.addClass("inlinePlayer"),YTPlayer.wrapper.before(YTPlayer.controlBar)),volumeBar.simpleSlider({initialval:YTPlayer.opt.vol,scale:100,orientation:"h",callback:function(e){0==e.value?jQuery(YTPlayer).YTPMute():jQuery(YTPlayer).YTPUnmute(),YTPlayer.player.setVolume(e.value),YTPlayer.isMute||(YTPlayer.opt.vol=e.value)}})},changeCoverImage:function(e){var t=this.get(0);return(t.opt.coverImage||t.orig_containment_background)&&(e=e||(t.opt.coverImage?"url("+t.opt.coverImage+") center center":t.orig_containment_background))&&t.opt.containment.css({background:e,backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundAttachment:"fixed"}),this},checkForState:function(){let YTPlayer=this.get(0),$YTPlayer=jQuery(YTPlayer),interval=(clearInterval(YTPlayer.getState),100);jQuery.contains(document,YTPlayer)?(jQuery.mbYTPlayer.checkForStart(YTPlayer),YTPlayer.getState=setInterval(function(){let $YTPlayer=jQuery(YTPlayer);if(YTPlayer.isReady){let prog=jQuery(YTPlayer).YTPManageProgress(),stopAt=YTPlayer.opt.stopAt>YTPlayer.opt.startAt?YTPlayer.opt.stopAt:0;if(stopAt=stopAt<YTPlayer.player.getDuration()?stopAt:0,YTPlayer.currentTime!=prog.currentTime){let e=jQuery.Event("YTPTime");e.time=YTPlayer.currentTime,jQuery(YTPlayer).trigger(e)}if(YTPlayer.currentTime=prog.currentTime,YTPlayer.totalTime=YTPlayer.player.getDuration(),0==YTPlayer.player.getVolume()?$YTPlayer.addClass("isMuted"):$YTPlayer.removeClass("isMuted"),YTPlayer.opt.showControls&&(prog.totalTime?YTPlayer.controlBar.find(".mb_YTPTime").html(jQuery.mbYTPlayer.formatTime(prog.currentTime)+" / "+jQuery.mbYTPlayer.formatTime(prog.totalTime)):YTPlayer.controlBar.find(".mb_YTPTime").html("-- : -- / -- : --")),eval(YTPlayer.opt.stopMovieOnBlur)&&(document.hasFocus()?document.hasFocus()&&!YTPlayer.hasFocus&&-1!=YTPlayer.state&&0!=YTPlayer.state&&(YTPlayer.hasFocus=!0,YTPlayer.preventTrigger=!0,$YTPlayer.YTPPlay()):1==YTPlayer.state&&(YTPlayer.hasFocus=!1,YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause())),YTPlayer.opt.playOnlyIfVisible){let e=jQuery.mbYTPlayer.isOnScreen(YTPlayer,YTPlayer.opt.onScreenPercentage);e||1!=YTPlayer.state?e&&!YTPlayer.isOnScreen&&(YTPlayer.isOnScreen=!0,YTPlayer.player.playVideo()):(YTPlayer.isOnScreen=!1,$YTPlayer.YTPPause())}if(YTPlayer.controlBar.length&&YTPlayer.controlBar.outerWidth()<=400&&!YTPlayer.isCompact?(YTPlayer.controlBar.addClass("compact"),YTPlayer.isCompact=!0,!YTPlayer.isMute&&YTPlayer.volumeBar&&YTPlayer.volumeBar.updateSliderVal(YTPlayer.opt.vol)):YTPlayer.controlBar.length&&400<YTPlayer.controlBar.outerWidth()&&YTPlayer.isCompact&&(YTPlayer.controlBar.removeClass("compact"),YTPlayer.isCompact=!1,!YTPlayer.isMute)&&YTPlayer.volumeBar&&YTPlayer.volumeBar.updateSliderVal(YTPlayer.opt.vol),0<YTPlayer.player.getPlayerState()&&(parseFloat(YTPlayer.player.getDuration()-YTPlayer.opt.fadeOnStartTime/1e3)<YTPlayer.player.getCurrentTime()||0<stopAt&&parseFloat(YTPlayer.player.getCurrentTime())>=stopAt)&&!YTPlayer.isEnded){if(YTPlayer.isEnded=!0,setTimeout(function(){YTPlayer.isEnded=!1},1e3),YTPlayer.isList){if(!YTPlayer.opt.loop||0<YTPlayer.opt.loop&&YTPlayer.player.loopTime===YTPlayer.opt.loop-1){YTPlayer.player.loopTime=void 0,clearInterval(YTPlayer.getState);let e=jQuery.Event("YTPEnd");return e.time=YTPlayer.currentTime,void jQuery(YTPlayer).trigger(e)}}else if(!YTPlayer.opt.loop||0<YTPlayer.opt.loop&&YTPlayer.player.loopTime===YTPlayer.opt.loop-1)return YTPlayer.player.loopTime=void 0,YTPlayer.state=2,$YTPlayer.changeCoverImage(YTPlayer),jQuery(YTPlayer).YTPPause(),void YTPlayer.wrapper.CSSAnimate({opacity:0},YTPlayer.opt.fadeOnStartTime,function(){YTPlayer.controlBar.length&&YTPlayer.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play),$YTPlayer.changeCoverImage();var e=jQuery.Event("YTPEnd");e.time=YTPlayer.currentTime,jQuery(YTPlayer).trigger(e),YTPlayer.player.seekTo(YTPlayer.opt.startAt,!0)});YTPlayer.player.loopTime=YTPlayer.player.loopTime?++YTPlayer.player.loopTime:1,YTPlayer.opt.startAt=YTPlayer.opt.startAt||1,YTPlayer.preventTrigger=!0,YTPlayer.state=2,YTPlayer.player.seekTo(YTPlayer.opt.startAt,!0)}}},interval)):($YTPlayer.YTPPlayerDestroy(),clearInterval(YTPlayer.getState),clearInterval(YTPlayer.checkForStartAt))},checkForStart:function(YTPlayer){let $YTPlayer=jQuery(YTPlayer);if(jQuery.contains(document,YTPlayer)){if(jQuery.mbYTPlayer.buildControls(YTPlayer),YTPlayer.overlay)if(YTPlayer.opt.addRaster){let e="dot"==YTPlayer.opt.addRaster?"raster-dot":"raster";YTPlayer.overlay.addClass(YTPlayer.isRetina?e+" retina":e)}else YTPlayer.overlay.removeClass(function(e,t){let i=t.split(" "),n=[];return jQuery.each(i,function(e,t){/raster.*/.test(t)&&n.push(t)}),n.push("retina"),n.join(" ")});YTPlayer.preventTrigger=!0,YTPlayer.state=2,YTPlayer.preventTrigger=!0,YTPlayer.player.mute(),YTPlayer.player.playVideo(),YTPlayer.isStarting=!0;let startAt=YTPlayer.start_from_last||YTPlayer.opt.startAt||1;return YTPlayer.preventTrigger=!0,YTPlayer.checkForStartAt=setInterval(function(){YTPlayer.player.mute(),YTPlayer.player.seekTo(startAt,!0);let canPlayVideo=YTPlayer.player.getVideoLoadedFraction()>=startAt/YTPlayer.player.getDuration();if(jQuery.mbBrowser.mobile&&(canPlayVideo=!0),0<YTPlayer.player.getDuration()&&YTPlayer.player.getCurrentTime()>=startAt&&canPlayVideo){YTPlayer.start_from_last=null,YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),clearInterval(YTPlayer.checkForStartAt),"function"==typeof YTPlayer.opt.onReady&&YTPlayer.opt.onReady(YTPlayer),YTPlayer.isReady=!0,$YTPlayer.YTPRemoveFilter(),YTPlayer.opt.addFilters?$YTPlayer.YTPApplyFilters(YTPlayer.opt.addFilters):$YTPlayer.YTPApplyFilters(),$YTPlayer.YTPEnableFilters();let YTPready=jQuery.Event("YTPReady");if(YTPready.time=YTPlayer.currentTime,$YTPlayer.trigger(YTPready),YTPlayer.state=2,YTPlayer.opt.mute?$YTPlayer.YTPMute():YTPlayer.opt.autoPlay?(console.debug("We muted the audio to make the video 'auto-play' according with the latest vendor policy. The audio will unmute at the first user interaction with the page"),YTPlayer.player.mute(),YTPlayer.forcedMuted=!0,jQuery(document).on("mousedown.YTPstartAudio",function(){YTPlayer.forcedMuted&&(console.debug("AAAAAAA"),YTPlayer.player.unMute(),YTPlayer.forcedMuted=!1,jQuery(document).off("mousedown.YTPstartAudio"))}),jQuery(window).on("scroll",function(){console.debug("AAAAA")})):YTPlayer.player.unMute(),"undefined"!=typeof _gaq&&eval(YTPlayer.opt.gaTrack)?_gaq.push(["_trackEvent","YTPlayer","Play",YTPlayer.hasData?YTPlayer.videoData.title:YTPlayer.videoID.toString()]):"undefined"!=typeof ga&&eval(YTPlayer.opt.gaTrack)&&ga("send","event","YTPlayer","play",YTPlayer.hasData?YTPlayer.videoData.title:YTPlayer.videoID.toString()),YTPlayer.opt.autoPlay){let e=jQuery.Event("YTPStart");e.time=YTPlayer.currentTime,jQuery(YTPlayer).trigger(e),YTPlayer.isStarting=!1,"mac"===jQuery.mbBrowser.os.name&&jQuery.mbBrowser.safari&&jQuery("body").one("mousedown.YTPstart",function(){$YTPlayer.YTPPlay()}),$YTPlayer.YTPPlay(),console.timeEnd(YTPTimerLabels.startPlaying)}else YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),YTPlayer.start_from_last&&YTPlayer.player.seekTo(startAt,!0),setTimeout(function(){YTPlayer.preventTrigger=!0,$YTPlayer.YTPPause(),YTPlayer.isPlayer||(YTPlayer.opt.coverImage?(YTPlayer.wrapper.css({opacity:0}),setTimeout(function(){$YTPlayer.changeCoverImage()},YTPlayer.opt.fadeOnStartTime)):(jQuery(YTPlayer.playerEl).CSSAnimate({opacity:1},YTPlayer.opt.fadeOnStartTime),YTPlayer.wrapper.CSSAnimate({opacity:YTPlayer.isAlone?1:YTPlayer.opt.opacity},YTPlayer.opt.fadeOnStartTime))),YTPlayer.isStarting=!1},500),YTPlayer.controlBar.length&&YTPlayer.controlBar.find(".mb_YTPPlayPause").html(jQuery.mbYTPlayer.controls.play);YTPlayer.isPlayer&&!YTPlayer.opt.autoPlay&&YTPlayer.loading&&YTPlayer.loading.length&&(YTPlayer.loading.html("Ready"),setTimeout(function(){YTPlayer.loading.fadeOut()},100)),YTPlayer.controlBar&&YTPlayer.controlBar.length&&YTPlayer.controlBar.slideDown(1e3)}"mac"===jQuery.mbBrowser.os.name&&jQuery.mbBrowser.safari&&(YTPlayer.player.playVideo(),0<=startAt)&&YTPlayer.player.seekTo(startAt,!0)},100),$YTPlayer}$YTPlayer.YTPPlayerDestroy()},getTime:function(){var e=this.get(0);return jQuery.mbYTPlayer.formatTime(e.currentTime)},getTotalTime:function(){var e=this.get(0);return jQuery.mbYTPlayer.formatTime(e.totalTime)},formatTime:function(e){var t=Math.floor(e/60);return(t<=9?"0"+t:t)+" : "+((e=Math.floor(e-60*t))<=9?"0"+e:e)},setAnchor:function(e){this.optimizeDisplay(e)},getAnchor:function(){return this.get(0).opt.anchor},setAbundance:function(e,t){var i=this.get(0);return t&&(i.opt.abundance=e),this.optimizeDisplay(i.opt.anchor,e),this},getAbundance:function(){return this.get(0).opt.abundance},setOption:function(e,t){return this.get(0).opt[e]=t,this}},jQuery.fn.optimizeDisplay=function(anchor,abundanceX){let YTPlayer=this.get(0),vid={},el=YTPlayer.wrapper,iframe=jQuery(YTPlayer.playerEl),YTPAlign=(YTPlayer.opt.anchor=anchor||YTPlayer.opt.anchor,YTPlayer.opt.anchor="undefined "!=typeof YTPlayer.opt.anchor?YTPlayer.opt.anchor:"center,center",YTPlayer.opt.anchor.split(",")),ab=abundanceX||YTPlayer.opt.abundance;if(YTPlayer.opt.optimizeDisplay){let abundance=el.height()*ab,win={},lowest=(win.width=el.outerWidth(),win.height=el.outerHeight()+abundance,YTPlayer.opt.ratio="auto"===YTPlayer.opt.ratio?16/9:YTPlayer.opt.ratio,YTPlayer.opt.ratio=eval(YTPlayer.opt.ratio),vid.width=win.width+abundance,vid.height=Math.ceil(vid.width/YTPlayer.opt.ratio),vid.marginTop=Math.ceil(-(vid.height-win.height+abundance)/2),vid.marginLeft=-abundance/2,vid.height<win.height);for(var e in lowest&&(vid.height=win.height+abundance,vid.width=Math.ceil(vid.height*YTPlayer.opt.ratio),vid.marginTop=-abundance/2,vid.marginLeft=Math.ceil(-(vid.width-win.width)/2)),YTPAlign)if(YTPAlign.hasOwnProperty(e)){let r=YTPAlign[e].replace(/ /g,"");switch(r){case"top":vid.marginTop=-abundance;break;case"bottom":vid.marginTop=Math.ceil(-(vid.height-win.height)-abundance/2);break;case"left":vid.marginLeft=-abundance;break;case"right":vid.marginLeft=Math.ceil(-(vid.width-win.width)+abundance/2)}}}else vid.width="100%",vid.height="100%",vid.marginTop=0,vid.marginLeft=0;iframe.css({width:vid.width,height:vid.height,marginTop:vid.marginTop,marginLeft:vid.marginLeft,maxWidth:"initial"})},jQuery.shuffle=function(e){let t=e.slice(),i=t.length,n=i;for(;n--;){var r=parseInt(Math.random()*i),s=t[n];t[n]=t[r],t[r]=s}return t},jQuery.fn.unselectable=function(){return this.each(function(){jQuery(this).css({"-moz-user-select":"none","-webkit-user-select":"none","user-select":"none"}).attr("unselectable","on")})},jQuery.fn.YTPlayer=jQuery.mbYTPlayer.buildPlayer,jQuery.fn.mb_YTPlayer=jQuery.mbYTPlayer.buildPlayer,jQuery.fn.YTPCheckForState=jQuery.mbYTPlayer.checkForState,jQuery.fn.YTPGetPlayer=jQuery.mbYTPlayer.getPlayer,jQuery.fn.YTPGetVideoID=jQuery.mbYTPlayer.getVideoID,jQuery.fn.YTPGetPlaylistID=jQuery.mbYTPlayer.getPlaylistID,jQuery.fn.YTPChangeVideo=jQuery.fn.YTPChangeMovie=jQuery.mbYTPlayer.changeVideo,jQuery.fn.YTPPlayerDestroy=jQuery.mbYTPlayer.playerDestroy,jQuery.fn.YTPPlay=jQuery.mbYTPlayer.play,jQuery.fn.YTPTogglePlay=jQuery.mbYTPlayer.togglePlay,jQuery.fn.YTPStop=jQuery.mbYTPlayer.stop,jQuery.fn.YTPPause=jQuery.mbYTPlayer.pause,jQuery.fn.YTPSeekTo=jQuery.mbYTPlayer.seekTo,jQuery.fn.YTPGetPlaybackRate=jQuery.mbYTPlayer.getPlaybackRate,jQuery.fn.YTPSetPlaybackRate=jQuery.mbYTPlayer.setPlaybackRate,jQuery.fn.changeCoverImage=jQuery.mbYTPlayer.changeCoverImage,jQuery.fn.YTPlaylist=jQuery.mbYTPlayer.playlist,jQuery.fn.YTPPlayNext=jQuery.mbYTPlayer.playNext,jQuery.fn.YTPPlayPrev=jQuery.mbYTPlayer.playPrev,jQuery.fn.YTPPlayIndex=jQuery.mbYTPlayer.playIndex,jQuery.fn.YTPMute=jQuery.mbYTPlayer.mute,jQuery.fn.YTPUnmute=jQuery.mbYTPlayer.unmute,jQuery.fn.YTPToggleVolume=jQuery.mbYTPlayer.toggleVolume,jQuery.fn.YTPSetVolume=jQuery.mbYTPlayer.setVolume,jQuery.fn.YTPGetVolume=jQuery.mbYTPlayer.getVolume,jQuery.fn.YTPGetVideoData=jQuery.mbYTPlayer.getVideoData,jQuery.fn.YTPFullscreen=jQuery.mbYTPlayer.fullscreen,jQuery.fn.YTPToggleLoops=jQuery.mbYTPlayer.toggleLoops,jQuery.fn.YTPManageProgress=jQuery.mbYTPlayer.manageProgress,jQuery.fn.YTPSetVideoQuality=jQuery.mbYTPlayer.setVideoQuality,jQuery.fn.YTPGetVideoQuality=jQuery.mbYTPlayer.getVideoQuality,jQuery.fn.YTPApplyFilter=jQuery.mbYTPlayer.applyFilter,jQuery.fn.YTPApplyFilters=jQuery.mbYTPlayer.applyFilters,jQuery.fn.YTPToggleFilter=jQuery.mbYTPlayer.toggleFilter,jQuery.fn.YTPToggleFilters=jQuery.mbYTPlayer.toggleFilters,jQuery.fn.YTPRemoveFilter=jQuery.mbYTPlayer.removeFilter,jQuery.fn.YTPDisableFilters=jQuery.mbYTPlayer.disableFilters,jQuery.fn.YTPEnableFilters=jQuery.mbYTPlayer.enableFilters,jQuery.fn.YTPGetFilters=jQuery.mbYTPlayer.getFilters,jQuery.fn.YTPGetTime=jQuery.mbYTPlayer.getTime,jQuery.fn.YTPGetTotalTime=jQuery.mbYTPlayer.getTotalTime,jQuery.fn.YTPAddMask=jQuery.mbYTPlayer.addMask,jQuery.fn.YTPRemoveMask=jQuery.mbYTPlayer.removeMask,jQuery.fn.YTPToggleMask=jQuery.mbYTPlayer.toggleMask,jQuery.fn.YTPGetAbundance=jQuery.mbYTPlayer.getAbundance,jQuery.fn.YTPSetAbundance=jQuery.mbYTPlayer.setAbundance,jQuery.fn.YTPSetAnchor=jQuery.mbYTPlayer.setAnchor,jQuery.fn.YTPGetAnchor=jQuery.mbYTPlayer.getAnchor,jQuery.fn.YTPSetOption=jQuery.mbYTPlayer.setOption}(jQuery,ytp);var nAgt=navigator.userAgent;function isTouchSupported(){var e=nAgt.msMaxTouchPoints,t="ontouchstart"in document.createElement("div");return!(!e&&!t)}jQuery.browser=jQuery.browser||{},jQuery.browser.mozilla=!1,jQuery.browser.webkit=!1,jQuery.browser.opera=!1,jQuery.browser.safari=!1,jQuery.browser.chrome=!1,jQuery.browser.androidStock=!1,jQuery.browser.msie=!1,jQuery.browser.edge=!1,jQuery.browser.ua=nAgt;var getOS=function(){var e={version:"Unknown version",name:"Unknown OS"};return-1!=navigator.appVersion.indexOf("Win")&&(e.name="Windows"),-1!=navigator.appVersion.indexOf("Mac")&&navigator.appVersion.indexOf("Mobile")<0&&(e.name="Mac"),-1!=navigator.appVersion.indexOf("Linux")&&(e.name="Linux"),/Mac OS X/.test(nAgt)&&!/Mobile/.test(nAgt)&&(e.version=/Mac OS X ([\._\d]+)/.exec(nAgt)[1],e.version=e.version.replace(/_/g,".").substring(0,5)),/Windows/.test(nAgt)&&(e.version="Unknown.Unknown"),/Windows NT 5.1/.test(nAgt)&&(e.version="5.1"),/Windows NT 6.0/.test(nAgt)&&(e.version="6.0"),/Windows NT 6.1/.test(nAgt)&&(e.version="6.1"),/Windows NT 6.2/.test(nAgt)&&(e.version="6.2"),/Windows NT 10.0/.test(nAgt)&&(e.version="10.0"),/Linux/.test(nAgt)&&/Linux/.test(nAgt)&&(e.version="Unknown.Unknown"),e.name=e.name.toLowerCase(),e.major_version="Unknown",e.minor_version="Unknown","Unknown.Unknown"!=e.version&&(e.major_version=parseFloat(e.version.split(".")[0]),e.minor_version=parseFloat(e.version.split(".")[1])),e},nameOffset,verOffset,ix,start,end;function uncamel(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function setUnit(e,t){return"string"!=typeof e||e.match(/^[\-0-9\.]+jQuery/)?""+e+t:e}function setFilter(e,t,i){var n=uncamel(t),r=jQuery.browser.mozilla?"":jQuery.CSS.sfx;e[r+"filter"]=e[r+"filter"]||"",i=setUnit(i>jQuery.CSS.filters[t].max?jQuery.CSS.filters[t].max:i,jQuery.CSS.filters[t].unit),e[r+"filter"]+=n+"("+i+") ",delete e[t]}jQuery.browser.os=getOS(),jQuery.browser.hasTouch=isTouchSupported(),jQuery.browser.name=navigator.appName,jQuery.browser.fullVersion=""+parseFloat(navigator.appVersion),jQuery.browser.majorVersion=parseInt(navigator.appVersion,10),-1!=(verOffset=nAgt.indexOf("Opera"))?(jQuery.browser.opera=!0,jQuery.browser.name="Opera",jQuery.browser.fullVersion=nAgt.substring(verOffset+6),-1!=(verOffset=nAgt.indexOf("Version"))&&(jQuery.browser.fullVersion=nAgt.substring(verOffset+8))):-1!=(verOffset=nAgt.indexOf("OPR"))?(jQuery.browser.opera=!0,jQuery.browser.name="Opera",jQuery.browser.fullVersion=nAgt.substring(verOffset+4)):-1!=(verOffset=nAgt.indexOf("MSIE"))?(jQuery.browser.msie=!0,jQuery.browser.name="Microsoft Internet Explorer",jQuery.browser.fullVersion=nAgt.substring(verOffset+5)):-1!=nAgt.indexOf("Trident")?(jQuery.browser.msie=!0,jQuery.browser.name="Microsoft Internet Explorer",start=nAgt.indexOf("rv:")+3,end=start+4,jQuery.browser.fullVersion=nAgt.substring(start,end)):-1!=(verOffset=nAgt.indexOf("Edge"))?(jQuery.browser.edge=!0,jQuery.browser.name="Microsoft Edge",jQuery.browser.fullVersion=nAgt.substring(verOffset+5)):-1!=(verOffset=nAgt.indexOf("Chrome"))?(jQuery.browser.webkit=!0,jQuery.browser.chrome=!0,jQuery.browser.name="Chrome",jQuery.browser.fullVersion=nAgt.substring(verOffset+7)):-1<nAgt.indexOf("mozilla/5.0")&&-1<nAgt.indexOf("android ")&&-1<nAgt.indexOf("applewebkit")&&!(-1<nAgt.indexOf("chrome"))?(verOffset=nAgt.indexOf("Chrome"),jQuery.browser.webkit=!0,jQuery.browser.androidStock=!0,jQuery.browser.name="androidStock",jQuery.browser.fullVersion=nAgt.substring(verOffset+7)):-1!=(verOffset=nAgt.indexOf("Safari"))||-1!=(verOffset=nAgt.indexOf("AppleWebkit"))?(jQuery.browser.webkit=!0,jQuery.browser.safari=!0,jQuery.browser.name="Safari",jQuery.browser.fullVersion=nAgt.substring(verOffset+7),-1!=(verOffset=nAgt.indexOf("Version"))&&(jQuery.browser.fullVersion=nAgt.substring(verOffset+8))):-1!=(verOffset=nAgt.indexOf("Firefox"))?(jQuery.browser.mozilla=!0,jQuery.browser.name="Firefox",jQuery.browser.fullVersion=nAgt.substring(verOffset+8)):(nameOffset=nAgt.lastIndexOf(" ")+1)<(verOffset=nAgt.lastIndexOf("/"))&&(jQuery.browser.name=nAgt.substring(nameOffset,verOffset),jQuery.browser.fullVersion=nAgt.substring(verOffset+1),jQuery.browser.name.toLowerCase()==jQuery.browser.name.toUpperCase())&&(jQuery.browser.name=navigator.appName),-1!=(ix=jQuery.browser.fullVersion.indexOf(";"))&&(jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix)),-1!=(ix=jQuery.browser.fullVersion.indexOf(" "))&&(jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix)),jQuery.browser.majorVersion=parseInt(""+jQuery.browser.fullVersion,10),isNaN(jQuery.browser.majorVersion)&&(jQuery.browser.fullVersion=""+parseFloat(navigator.appVersion),jQuery.browser.majorVersion=parseInt(navigator.appVersion,10)),jQuery.browser.version=jQuery.browser.majorVersion,jQuery.browser.android=/Android/i.test(nAgt),jQuery.browser.blackberry=/BlackBerry|BB|PlayBook/i.test(nAgt),jQuery.browser.ios=/iPhone|iPad|iPod|webOS/i.test(nAgt),jQuery.browser.operaMobile=/Opera Mini/i.test(nAgt),jQuery.browser.windowsMobile=/IEMobile|Windows Phone/i.test(nAgt),jQuery.browser.kindle=/Kindle|Silk/i.test(nAgt),jQuery.browser.mobile=jQuery.browser.android||jQuery.browser.blackberry||jQuery.browser.ios||jQuery.browser.windowsMobile||jQuery.browser.operaMobile||jQuery.browser.kindle,jQuery.isMobile=jQuery.browser.mobile,jQuery.isTablet=jQuery.browser.mobile&&765<jQuery(window).width(),jQuery.isAndroidDefault=jQuery.browser.android&&!/chrome/i.test(nAgt),jQuery.mbBrowser=jQuery.browser,jQuery.browser.versionCompare=function(e,t){if("stringstring"!=typeof e+typeof t)return!1;for(var i=e.split("."),n=t.split("."),r=0,s=Math.max(i.length,n.length);r<s;r++){if(i[r]&&!n[r]&&0<parseInt(i[r])||parseInt(i[r])>parseInt(n[r]))return 1;if(n[r]&&!i[r]&&0<parseInt(n[r])||parseInt(i[r])<parseInt(n[r]))return-1}return 0},jQuery.support.CSStransition=function(){var e=(document.body||document.documentElement).style;return void 0!==e.transition||void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.MsTransition||void 0!==e.OTransition}(),jQuery.CSS={name:"mb.CSSAnimate",author:"Matteo Bicocchi",version:"2.0.0",transitionEnd:"transitionEnd",sfx:"",filters:{blur:{min:0,max:100,unit:"px"},brightness:{min:0,max:400,unit:"%"},contrast:{min:0,max:400,unit:"%"},grayscale:{min:0,max:100,unit:"%"},hueRotate:{min:0,max:360,unit:"deg"},invert:{min:0,max:100,unit:"%"},saturate:{min:0,max:400,unit:"%"},sepia:{min:0,max:100,unit:"%"}},normalizeCss:function(e){var t,i,n=jQuery.extend(!0,{},e);for(t in jQuery.browser.webkit||jQuery.browser.opera?jQuery.CSS.sfx="-webkit-":jQuery.browser.mozilla?jQuery.CSS.sfx="-moz-":jQuery.browser.msie&&(jQuery.CSS.sfx="-ms-"),jQuery.CSS.sfx="",n)"transform"===t&&(n[jQuery.CSS.sfx+"transform"]=n[t],delete n[t]),"transform-origin"===t&&(n[jQuery.CSS.sfx+"transform-origin"]=e[t],delete n[t]),"filter"!==t||jQuery.browser.mozilla||(n[jQuery.CSS.sfx+"filter"]=e[t],delete n[t]),"blur"===t&&setFilter(n,"blur",e[t]),"brightness"===t&&setFilter(n,"brightness",e[t]),"contrast"===t&&setFilter(n,"contrast",e[t]),"grayscale"===t&&setFilter(n,"grayscale",e[t]),"hueRotate"===t&&setFilter(n,"hueRotate",e[t]),"invert"===t&&setFilter(n,"invert",e[t]),"saturate"===t&&setFilter(n,"saturate",e[t]),"sepia"===t&&setFilter(n,"sepia",e[t]),"x"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" translateX("+setUnit(e[t],"px")+")",delete n[t]),"y"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" translateY("+setUnit(e[t],"px")+")",delete n[t]),"z"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" translateZ("+setUnit(e[t],"px")+")",delete n[t]),"rotate"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" rotate("+setUnit(e[t],"deg")+")",delete n[t]),"rotateX"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" rotateX("+setUnit(e[t],"deg")+")",delete n[t]),"rotateY"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" rotateY("+setUnit(e[t],"deg")+")",delete n[t]),"rotateZ"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" rotateZ("+setUnit(e[t],"deg")+")",delete n[t]),"scale"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" scale("+setUnit(e[t],"")+")",delete n[t]),"scaleX"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" scaleX("+setUnit(e[t],"")+")",delete n[t]),"scaleY"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" scaleY("+setUnit(e[t],"")+")",delete n[t]),"scaleZ"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" scaleZ("+setUnit(e[t],"")+")",delete n[t]),"skew"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" skew("+setUnit(e[t],"deg")+")",delete n[t]),"skewX"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" skewX("+setUnit(e[t],"deg")+")",delete n[t]),"skewY"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" skewY("+setUnit(e[t],"deg")+")",delete n[t]),"perspective"===t&&(n[i=jQuery.CSS.sfx+"transform"]=n[i]||"",n[i]+=" perspective("+setUnit(e[t],"px")+")",delete n[t]);return n},getProp:function(e){var t,i=[];for(t in e)i.indexOf(t)<0&&i.push(uncamel(t));return i.join(",")},animate:function(o,l,c,d,u){return this.each(function(){function e(){t.called=!0,t.CSSAIsRunning=!1,i.off(jQuery.CSS.transitionEnd+"."+t.id),clearTimeout(t.timeout),i.css(jQuery.CSS.sfx+"transition",""),"function"==typeof u&&u.apply(t),"function"==typeof t.CSSqueue&&(t.CSSqueue(),t.CSSqueue=null)}var t=this,i=jQuery(this),n=(t.id=t.id||"CSSA_"+(new Date).getTime(),n||{type:"noEvent"});if(t.CSSAIsRunning&&t.eventType==n.type&&!jQuery.browser.msie&&jQuery.browser.version<=9)t.CSSqueue=function(){i.CSSAnimate(o,l,c,d,u)};else if(t.CSSqueue=null,t.eventType=n.type,0!==i.length&&o){if(o=jQuery.normalizeCss(o),t.CSSAIsRunning=!0,"function"==typeof l&&(u=l,l=jQuery.fx.speeds._default),"function"==typeof c&&(d=c,c=0),"string"==typeof c&&(u=c,c=0),"function"==typeof d&&(u=d,d="cubic-bezier(0.65,0.03,0.36,0.72)"),"string"==typeof l)for(var r in jQuery.fx.speeds){if(l==r){l=jQuery.fx.speeds[r];break}l=jQuery.fx.speeds._default}if(l=l||jQuery.fx.speeds._default,"string"==typeof u&&(d=u,u=null),jQuery.support.CSStransition){var s={default:"ease",in:"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"},a=(s[d]&&(d=s[d]),i.off(jQuery.CSS.transitionEnd+"."+t.id),s=jQuery.CSS.getProp(o),{});jQuery.extend(a,o),a[jQuery.CSS.sfx+"transition-property"]=s,a[jQuery.CSS.sfx+"transition-duration"]=l+"ms",a[jQuery.CSS.sfx+"transition-delay"]=c+"ms",a[jQuery.CSS.sfx+"transition-timing-function"]=d,setTimeout(function(){i.one(jQuery.CSS.transitionEnd+"."+t.id,e),i.css(a)},1),t.timeout=setTimeout(function(){t.called||!u?(t.called=!1,t.CSSAIsRunning=!1):(i.css(jQuery.CSS.sfx+"transition",""),u.apply(t),t.CSSAIsRunning=!1,"function"==typeof t.CSSqueue&&(t.CSSqueue(),t.CSSqueue=null))},l+c+10)}else{for(s in o)"transform"===s&&delete o[s],"filter"===s&&delete o[s],"transform-origin"===s&&delete o[s],"auto"===o[s]&&delete o[s],"x"===s&&(n=o[s],o[r="left"]=n,delete o[s]),"y"===s&&(n=o[s],o[r="top"]=n,delete o[s]),"-ms-transform"!==s&&"-ms-filter"!==s||delete o[s];i.delay(c).animate(o,l,u)}}})}},jQuery.fn.CSSAnimate=jQuery.CSS.animate,jQuery.normalizeCss=jQuery.CSS.normalizeCss,jQuery.fn.css3=function(i){return this.each(function(){var e=jQuery(this),t=jQuery.normalizeCss(i);e.css(t)})},function(r){r.simpleSlider={defaults:{initialval:0,maxval:100,orientation:"h",readonly:!1,callback:!1},events:{start:r.browser.mobile?"touchstart":"mousedown",end:r.browser.mobile?"touchend":"mouseup",move:r.browser.mobile?"touchmove":"mousemove"},init:function(n){return this.each(function(){var t=this,i=r(t),e=(i.addClass("simpleSlider"),t.opt={},r.extend(t.opt,r.simpleSlider.defaults,n),r.extend(t.opt,i.data()),"h"===t.opt.orientation?"horizontal":"vertical"),e=r("<div/>").addClass("level").addClass(e);i.prepend(e),t.level=e,i.css({cursor:"default"}),"auto"==t.opt.maxval&&(t.opt.maxval=r(t).outerWidth()),i.updateSliderVal(),t.opt.readonly||(i.on(r.simpleSlider.events.start,function(e){r.browser.mobile&&(e=e.changedTouches[0]),t.canSlide=!0,i.updateSliderVal(e),"h"===t.opt.orientation?i.css({cursor:"col-resize"}):i.css({cursor:"row-resize"}),t.lastVal=t.val,r.browser.mobile||(e.preventDefault(),e.stopPropagation())}),r(document).on(r.simpleSlider.events.move,function(e){r.browser.mobile&&(e=e.changedTouches[0]),t.canSlide&&(r(document).css({cursor:"default"}),i.updateSliderVal(e),r.browser.mobile||(e.preventDefault(),e.stopPropagation()))}).on(r.simpleSlider.events.end,function(){r(document).css({cursor:"auto"}),t.canSlide=!1,i.css({cursor:"auto"})}))})},updateSliderVal:function(e){var t,i,n=this.get(0);n.opt&&(n.opt.initialval="number"==typeof n.opt.initialval?n.opt.initialval:n.opt.initialval(n),t=r(n).outerWidth(),i=r(n).outerHeight(),n.x="object"==typeof e?e.clientX+document.body.scrollLeft-this.offset().left:"number"==typeof e?e*t/n.opt.maxval:n.opt.initialval*t/n.opt.maxval,n.y="object"==typeof e?e.clientY+document.body.scrollTop-this.offset().top:"number"==typeof e?(n.opt.maxval-n.opt.initialval-e)*i/n.opt.maxval:n.opt.initialval*i/n.opt.maxval,n.y=this.outerHeight()-n.y,n.scaleX=n.x*n.opt.maxval/t,n.scaleY=n.y*n.opt.maxval/i,n.outOfRangeX=n.scaleX>n.opt.maxval?n.scaleX-n.opt.maxval:n.scaleX<0?n.scaleX:0,n.outOfRangeY=n.scaleY>n.opt.maxval?n.scaleY-n.opt.maxval:n.scaleY<0?n.scaleY:0,n.outOfRange="h"===n.opt.orientation?n.outOfRangeX:n.outOfRangeY,n.value=void 0!==e?"h"===n.opt.orientation?n.x>=this.outerWidth()?n.opt.maxval:n.x<=0?0:n.scaleX:n.y>=this.outerHeight()?n.opt.maxval:n.y<=0?0:n.scaleY:"h"===n.opt.orientation?n.scaleX:n.scaleY,"h"===n.opt.orientation?n.level.width(Math.floor(100*n.x/t)+"%"):n.level.height(Math.floor(100*n.y/i)),n.lastVal===n.value&&("h"===n.opt.orientation&&(n.x>=this.outerWidth()||n.x<=0)||"h"!==n.opt.orientation&&(n.y>=this.outerHeight()||n.y<=0))||("function"==typeof n.opt.callback&&n.opt.callback(n),n.lastVal=n.value))}},r.fn.simpleSlider=r.simpleSlider.init,r.fn.updateSliderVal=r.simpleSlider.updateSliderVal}(jQuery),function(t){t.mbCookie={set:function(e,t,i,n){"object"==typeof t&&(t=JSON.stringify(t)),n=n?"; domain="+n:"";var r=new Date,s="";0<i&&(r.setTime(r.getTime()+864e5*i),s="; expires="+r.toGMTString()),document.cookie=e+"="+t+s+"; path=/"+n},get:function(e){e+="=";for(var t=document.cookie.split(";"),i=0;i<t.length;i++){for(var n=t[i];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(e))try{return JSON.parse(n.substring(e.length,n.length))}catch(t){return n.substring(e.length,n.length)}}return null},remove:function(e){t.mbCookie.set(e,"",-1)}},t.mbStorage={set:function(e,t){"object"==typeof t&&(t=JSON.stringify(t)),localStorage.setItem(e,t)},get:function(t){if(!localStorage[t])return null;try{return JSON.parse(localStorage[t])}catch(e){return localStorage[t]}},remove:function(e){e?localStorage.removeItem(e):localStorage.clear()}}}(jQuery);var nAgt=navigator.userAgent;function isTouchSupported(){var e=nAgt.msMaxTouchPoints,t="ontouchstart"in document.createElement("div");return!(!e&&!t)}jQuery.mbBrowser={},jQuery.mbBrowser.mozilla=!1,jQuery.mbBrowser.webkit=!1,jQuery.mbBrowser.opera=!1,jQuery.mbBrowser.safari=!1,jQuery.mbBrowser.chrome=!1,jQuery.mbBrowser.androidStock=!1,jQuery.mbBrowser.msie=!1,jQuery.mbBrowser.edge=!1,jQuery.mbBrowser.ua=nAgt;var getOS=function(){var e={version:"Unknown version",name:"Unknown OS"};return-1!=navigator.appVersion.indexOf("Win")&&(e.name="Windows"),-1!=navigator.appVersion.indexOf("Mac")&&navigator.appVersion.indexOf("Mobile")<0&&(e.name="Mac"),-1!=navigator.appVersion.indexOf("Linux")&&(e.name="Linux"),/Mac OS X/.test(nAgt)&&!/Mobile/.test(nAgt)&&(e.version=/Mac OS X ([\._\d]+)/.exec(nAgt)[1],e.version=e.version.replace(/_/g,".").substring(0,5)),/Windows/.test(nAgt)&&(e.version="Unknown.Unknown"),/Windows NT 5.1/.test(nAgt)&&(e.version="5.1"),/Windows NT 6.0/.test(nAgt)&&(e.version="6.0"),/Windows NT 6.1/.test(nAgt)&&(e.version="6.1"),/Windows NT 6.2/.test(nAgt)&&(e.version="6.2"),/Windows NT 10.0/.test(nAgt)&&(e.version="10.0"),/Linux/.test(nAgt)&&/Linux/.test(nAgt)&&(e.version="Unknown.Unknown"),e.name=e.name.toLowerCase(),e.major_version="Unknown",e.minor_version="Unknown","Unknown.Unknown"!=e.version&&(e.major_version=parseFloat(e.version.split(".")[0]),e.minor_version=parseFloat(e.version.split(".")[1])),e},nameOffset,verOffset,ix,start,end,$;jQuery.mbBrowser.os=getOS(),jQuery.mbBrowser.hasTouch=isTouchSupported(),jQuery.mbBrowser.name=navigator.appName,jQuery.mbBrowser.fullVersion=""+parseFloat(navigator.appVersion),jQuery.mbBrowser.majorVersion=parseInt(navigator.appVersion,10),-1!=(verOffset=nAgt.indexOf("Opera"))?(jQuery.mbBrowser.opera=!0,jQuery.mbBrowser.name="Opera",jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+6),-1!=(verOffset=nAgt.indexOf("Version"))&&(jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+8))):-1!=(verOffset=nAgt.indexOf("OPR"))?(jQuery.mbBrowser.opera=!0,jQuery.mbBrowser.name="Opera",jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+4)):-1!=(verOffset=nAgt.indexOf("MSIE"))?(jQuery.mbBrowser.msie=!0,jQuery.mbBrowser.name="Microsoft Internet Explorer",jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+5)):-1!=nAgt.indexOf("Trident")?(jQuery.mbBrowser.msie=!0,jQuery.mbBrowser.name="Microsoft Internet Explorer",start=nAgt.indexOf("rv:")+3,end=start+4,jQuery.mbBrowser.fullVersion=nAgt.substring(start,end)):-1!=(verOffset=nAgt.indexOf("Edge"))?(jQuery.mbBrowser.edge=!0,jQuery.mbBrowser.name="Microsoft Edge",jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+5)):-1!=(verOffset=nAgt.indexOf("Chrome"))?(jQuery.mbBrowser.webkit=!0,jQuery.mbBrowser.chrome=!0,jQuery.mbBrowser.name="Chrome",jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+7)):-1<nAgt.indexOf("mozilla/5.0")&&-1<nAgt.indexOf("android ")&&-1<nAgt.indexOf("applewebkit")&&!(-1<nAgt.indexOf("chrome"))?(verOffset=nAgt.indexOf("Chrome"),jQuery.mbBrowser.webkit=!0,jQuery.mbBrowser.androidStock=!0,jQuery.mbBrowser.name="androidStock",jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+7)):-1!=(verOffset=nAgt.indexOf("Safari"))||-1!=(verOffset=nAgt.indexOf("AppleWebkit"))?(jQuery.mbBrowser.webkit=!0,jQuery.mbBrowser.safari=!0,jQuery.mbBrowser.name="Safari",jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+7),-1!=(verOffset=nAgt.indexOf("Version"))&&(jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+8))):-1!=(verOffset=nAgt.indexOf("Firefox"))?(jQuery.mbBrowser.mozilla=!0,jQuery.mbBrowser.name="Firefox",jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+8)):(nameOffset=nAgt.lastIndexOf(" ")+1)<(verOffset=nAgt.lastIndexOf("/"))&&(jQuery.mbBrowser.name=nAgt.substring(nameOffset,verOffset),jQuery.mbBrowser.fullVersion=nAgt.substring(verOffset+1),jQuery.mbBrowser.name.toLowerCase()==jQuery.mbBrowser.name.toUpperCase())&&(jQuery.mbBrowser.name=navigator.appName),-1!=(ix=jQuery.mbBrowser.fullVersion.indexOf(";"))&&(jQuery.mbBrowser.fullVersion=jQuery.mbBrowser.fullVersion.substring(0,ix)),-1!=(ix=jQuery.mbBrowser.fullVersion.indexOf(" "))&&(jQuery.mbBrowser.fullVersion=jQuery.mbBrowser.fullVersion.substring(0,ix)),jQuery.mbBrowser.majorVersion=parseInt(""+jQuery.mbBrowser.fullVersion,10),isNaN(jQuery.mbBrowser.majorVersion)&&(jQuery.mbBrowser.fullVersion=""+parseFloat(navigator.appVersion),jQuery.mbBrowser.majorVersion=parseInt(navigator.appVersion,10)),jQuery.mbBrowser.version=jQuery.mbBrowser.majorVersion,jQuery.mbBrowser.android=/Android/i.test(nAgt),jQuery.mbBrowser.blackberry=/BlackBerry|BB|PlayBook/i.test(nAgt),jQuery.mbBrowser.ios=/iPhone|iPad|iPod|webOS/i.test(nAgt),jQuery.mbBrowser.operaMobile=/Opera Mini/i.test(nAgt),jQuery.mbBrowser.windowsMobile=/IEMobile|Windows Phone/i.test(nAgt),jQuery.mbBrowser.kindle=/Kindle|Silk/i.test(nAgt),jQuery.mbBrowser.mobile=jQuery.mbBrowser.android||jQuery.mbBrowser.blackberry||jQuery.mbBrowser.ios||jQuery.mbBrowser.windowsMobile||jQuery.mbBrowser.operaMobile||jQuery.mbBrowser.kindle,jQuery.isMobile=jQuery.mbBrowser.mobile,jQuery.isTablet=jQuery.mbBrowser.mobile&&765<jQuery(window).width(),jQuery.isAndroidDefault=jQuery.mbBrowser.android&&!/chrome/i.test(nAgt),jQuery.mbBrowser=jQuery.mbBrowser,jQuery.mbBrowser.versionCompare=function(e,t){if("stringstring"!=typeof e+typeof t)return!1;for(var i=e.split("."),n=t.split("."),r=0,s=Math.max(i.length,n.length);r<s;r++){if(i[r]&&!n[r]&&0<parseInt(i[r])||parseInt(i[r])>parseInt(n[r]))return 1;if(n[r]&&!i[r]&&0<parseInt(n[r])||parseInt(i[r])<parseInt(n[r]))return-1}return 0},function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var Y;function h(){return Y.apply(null,arguments)}function l(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function z(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function N(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function a(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function F(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function B(e,t){for(var i=[],n=0;n<e.length;++n)i.push(t(e[n],n));return i}function q(e,t){for(var i in t)f(t,i)&&(e[i]=t[i]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,i,n){return Pt(e,t,i,n,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function V(e){if(null==e._isValid){var t=m(e),i=Q.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function R(e){var t=d(NaN);return null!=e?q(m(t),e):m(t).userInvalidated=!0,t}var Q=Array.prototype.some||function(e){for(var t=Object(this),i=t.length>>>0,n=0;n<i;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1},H=h.momentProperties=[],W=!1;function $(e,t){var i,n,r;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=m(t)),a(t._locale)||(e._locale=t._locale),0<H.length)for(i=0;i<H.length;i++)a(r=t[n=H[i]])||(e[n]=r);return e}function U(e){$(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===W&&(W=!0,h.updateOffset(this),W=!1)}function o(e){return e instanceof U||null!=e&&null!=e._isAMomentObject}function G(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,s){var a=!0;return q(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,r),a){for(var e,t,i=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];i.push(e)}G(r+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var X={};function Z(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),X[e]||(G(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function J(e,t){var i,n=q({},e);for(i in t)f(t,i)&&(z(e[i])&&z(t[i])?(n[i]={},q(n[i],e[i]),q(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)f(e,i)&&!f(t,i)&&z(e[i])&&(n[i]=q({},n[i]));return n}function K(e){null!=e&&this.set(e)}function s(e,t,i){var n=""+Math.abs(e);return(0<=e?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var ee=Object.keys||function(e){var t,i=[];for(t in e)f(e,t)&&i.push(t);return i},te=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},re={};function n(e,t,i,n){var r="string"==typeof n?function(){return this[n]()}:n;e&&(re[e]=r),t&&(re[t[0]]=function(){return s(r.apply(this,arguments),t[1],t[2])}),i&&(re[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=ae(t,e.localeData()),ne[t]=ne[t]||function(n){for(var e,r=n.match(te),t=0,s=r.length;t<s;t++)re[r[t]]?r[t]=re[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",i=0;i<s;i++)t+=u(r[i])?r[i].call(e,n):r[i];return t}}(t),ne[t](e)):e.localeData().invalidDate()}function ae(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=i&&ie.test(e);)e=e.replace(ie,n),ie.lastIndex=0,--i;return e}var oe={};function t(e,t){var i=e.toLowerCase();oe[i]=oe[i+"s"]=oe[t]=e}function p(e){return"string"==typeof e?oe[e]||oe[e.toLowerCase()]:void 0}function le(e){var t,i,n={};for(i in e)f(e,i)&&(t=p(i))&&(n[t]=e[i]);return n}var ce={};function i(e,t){ce[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function g(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function y(e){return 0!=(e=+e)&&isFinite(e)?g(e):0}function ue(t,i){return function(e){return null!=e?(he(this,t,e),h.updateOffset(this,i),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(i=y(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Ie(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}var r=/\d/,v=/\d\d/,fe=/\d{3}/,me=/\d{4}/,ge=/[+-]?\d{6}/,b=/\d\d?/,ye=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,be=/\d{1,3}/,we=/\d{1,4}/,_e=/[+-]?\d{1,6}/,xe=/\d+/,Te=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,Ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,i,n){Pe[e]=u(i)?i:function(e,t){return e&&n?n:i}}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Pe={},Ee={};function x(e,i){var t,n=i;for("string"==typeof e&&(e=[e]),c(i)&&(n=function(e,t){t[i]=y(e)}),t=0;t<e.length;t++)Ee[e[t]]=n}function Ae(e,r){x(e,function(e,t,i,n){i._w=i._w||{},r(e,i._w,i,n)})}var T,S=0,k=1,C=2,P=3,E=4,A=5,Me=6,Le=7,je=8;function Ie(e,t){return isNaN(e)||isNaN(t)?NaN:(e+=(t-(t=(t%12+12)%12))/12,1==t?de(e)?29:28:31-t%7%2)}T=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},n("M",["MM",2],"Mo",function(){return this.month()+1}),n("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),n("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),i("month",8),w("M",b),w("MM",b,v),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[k]=y(e)-1}),x(["MMM","MMMM"],function(e,t,i,n){null!=(n=i._locale.monthsParse(e,n,i._strict))?t[k]=n:m(i).invalidMonth=e});var Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ye=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ze=Ce,Ne=Ce;function Fe(e,t){var i;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=y(t);else if(!c(t=e.localeData().monthsParse(t)))return;i=Math.min(e.date(),Ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i)}}function Be(e){return null!=e?(Fe(this,e),h.updateOffset(this,!0),this):pe(this,"Month")}function qe(){function e(e,t){return t.length-e.length}for(var t,i=[],n=[],r=[],s=0;s<12;s++)t=d([2e3,s]),i.push(this.monthsShort(t,"")),n.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(i.sort(e),n.sort(e),r.sort(e),s=0;s<12;s++)i[s]=_(i[s]),n[s]=_(n[s]);for(s=0;s<24;s++)r[s]=_(r[s]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ve(e){return de(e)?366:365}n("Y",0,0,function(){var e=this.year();return e<=9999?s(e,4):"+"+e}),n(0,["YY",2],0,function(){return this.year()%100}),n(0,["YYYY",4],0,"year"),n(0,["YYYYY",5],0,"year"),n(0,["YYYYYY",6,!0],0,"year"),t("year","y"),i("year",1),w("Y",Te),w("YY",b,v),w("YYYY",we,me),w("YYYYY",_e,ge),w("YYYYYY",_e,ge),x(["YYYYY","YYYYYY"],S),x("YYYY",function(e,t){t[S]=2===e.length?h.parseTwoDigitYear(e):y(e)}),x("YY",function(e,t){t[S]=h.parseTwoDigitYear(e)}),x("Y",function(e,t){t[S]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return y(e)+(68<y(e)?1900:2e3)};var Re=ue("FullYear",!0);function Qe(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function He(e,t,i){return(i=7+t-i)-(7+Qe(e,0,i).getUTCDay()-t)%7-1}function We(e,t,i,n,r){var s,i=(t=1+7*(t-1)+(7+i-n)%7+He(e,n,r))<=0?Ve(s=e-1)+t:t>Ve(e)?(s=e+1,t-Ve(e)):(s=e,t);return{year:s,dayOfYear:i}}function $e(e,t,i){var n,r,s=He(e.year(),t,i);return(s=Math.floor((e.dayOfYear()-s-1)/7)+1)<1?n=s+M(r=e.year()-1,t,i):s>M(e.year(),t,i)?(n=s-M(e.year(),t,i),r=e.year()+1):(r=e.year(),n=s),{week:n,year:r}}function M(e,t,i){var n=He(e,t,i),t=He(e+1,t,i);return(Ve(e)-n+t)/7}function Ue(e,t){return e.slice(t,7).concat(e.slice(0,t))}n("w",["ww",2],"wo","week"),n("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),i("week",5),i("isoWeek",5),w("w",b),w("ww",b,v),w("W",b),w("WW",b,v),Ae(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=y(e)}),n("d",0,"do","day"),n("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),n("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),n("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),n("e",0,0,"weekday"),n("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),i("day",11),i("weekday",11),i("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Ae(["dd","ddd","dddd"],function(e,t,i,n){null!=(n=i._locale.weekdaysParse(e,n,i._strict))?t.d=n:m(i).invalidWeekday=e}),Ae(["d","e","E"],function(e,t,i,n){t[n]=y(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=Ce,Ke=Ce,et=Ce;function tt(){function e(e,t){return t.length-e.length}for(var t,i,n,r=[],s=[],a=[],o=[],l=0;l<7;l++)n=d([2e3,1]).day(l),t=_(this.weekdaysMin(n,"")),i=_(this.weekdaysShort(n,"")),n=_(this.weekdays(n,"")),r.push(t),s.push(i),a.push(n),o.push(t),o.push(i),o.push(n);r.sort(e),s.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function it(){return this.hours()%12||12}function nt(e,t){n(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function rt(e,t){return t._meridiemParse}n("H",["HH",2],0,"hour"),n("h",["hh",2],0,it),n("k",["kk",2],0,function(){return this.hours()||24}),n("hmm",0,0,function(){return""+it.apply(this)+s(this.minutes(),2)}),n("hmmss",0,0,function(){return""+it.apply(this)+s(this.minutes(),2)+s(this.seconds(),2)}),n("Hmm",0,0,function(){return""+this.hours()+s(this.minutes(),2)}),n("Hmmss",0,0,function(){return""+this.hours()+s(this.minutes(),2)+s(this.seconds(),2)}),nt("a",!0),nt("A",!1),t("hour","h"),i("hour",13),w("a",rt),w("A",rt),w("H",b),w("h",b),w("k",b),w("HH",b,v),w("hh",b,v),w("kk",b,v),w("hmm",ye),w("hmmss",ve),w("Hmm",ye),w("Hmmss",ve),x(["H","HH"],P),x(["k","kk"],function(e,t,i){e=y(e),t[P]=24===e?0:e}),x(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),x(["h","hh"],function(e,t,i){t[P]=y(e),m(i).bigHour=!0}),x("hmm",function(e,t,i){var n=e.length-2;t[P]=y(e.substr(0,n)),t[E]=y(e.substr(n)),m(i).bigHour=!0}),x("hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[P]=y(e.substr(0,n)),t[E]=y(e.substr(n,2)),t[A]=y(e.substr(r)),m(i).bigHour=!0}),x("Hmm",function(e,t,i){var n=e.length-2;t[P]=y(e.substr(0,n)),t[E]=y(e.substr(n))}),x("Hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[P]=y(e.substr(0,n)),t[E]=y(e.substr(n,2)),t[A]=y(e.substr(r))});var st,Ce=ue("Hours",!0),at={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Oe,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Ze,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},L={},ot={};function lt(e){return e&&e.toLowerCase().replace("_","-")}function ct(e){var t;if(void 0===L[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=st._abbr,require("./locale/"+e),dt(t)}catch(t){L[e]=null}return L[e]}function dt(e,t){return e&&((t=a(t)?j(e):ut(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ut(e,t){if(null===t)return delete L[e],null;var i,n=at;if(t.abbr=e,null!=L[e])Z("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=L[e]._config;else if(null!=t.parentLocale)if(null!=L[t.parentLocale])n=L[t.parentLocale]._config;else{if(null==(i=ct(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;n=i._config}return L[e]=new K(J(n,t)),ot[e]&&ot[e].forEach(function(e){ut(e.name,e.config)}),dt(e),L[e]}function j(e){var t;if(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e){if(!l(e)){if(t=ct(e))return t;e=[e]}for(var i,n,r,s,a=e,o=0;o<a.length;){for(i=(s=lt(a[o]).split("-")).length,n=(n=lt(a[o+1]))?n.split("-"):null;0<i;){if(r=ct(s.slice(0,i).join("-")))return r;if(n&&n.length>=i&&function(e,t){for(var i=Math.min(e.length,t.length),n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}(s,n)>=i-1)break;i--}o++}}return st}function pt(e){var t=e._a;return t&&-2===m(e).overflow&&(t=t[k]<0||11<t[k]?k:t[C]<1||t[C]>Ie(t[S],t[k])?C:t[P]<0||24<t[P]||24===t[P]&&(0!==t[E]||0!==t[A]||0!==t[Me])?P:t[E]<0||59<t[E]?E:t[A]<0||59<t[A]?A:t[Me]<0||999<t[Me]?Me:-1,m(e)._overflowDayOfYear&&(t<S||C<t)&&(t=C),m(e)._overflowWeeks&&-1===t&&(t=Le),m(e)._overflowWeekday&&-1===t&&(t=je),m(e).overflow=t),e}var ht=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((-?\d+)/i,bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _t(e){var t,i,n,r,s,a,o=e._i,l=ht.exec(o)||ft.exec(o);if(l){for(m(e).iso=!0,t=0,i=gt.length;t<i;t++)if(gt[t][1].exec(l[1])){r=gt[t][0],n=!1!==gt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,i=yt.length;t<i;t++)if(yt[t][1].exec(l[3])){s=(l[2]||" ")+yt[t][0];break}if(null==s)return e._isValid=!1}if(!n&&null!=s)return e._isValid=!1;if(l[4]){if(!mt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=r+(s||"")+(a||""),kt(e)}else e._isValid=!1}function xt(e){var t,i,n,r,s,a,o=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=o[4],i=o[3],n=o[2],r=o[5],s=o[6],a=o[7],t=[(t=parseInt(t,10))<=49?2e3+t:t<=999?1900+t:t,De.indexOf(i),parseInt(n,10),parseInt(r,10),parseInt(s,10)],a&&t.push(parseInt(a,10)),n=i=t,r=e,(s=o[1])&&Xe.indexOf(s)!==new Date(n[0],n[1],n[2]).getDay()?(m(r).weekdayMismatch=!0,r._isValid=!1):(e._a=i,e._tzm=(a=o[8],t=o[9],s=o[10],a?wt[a]:t?0:((a=parseInt(s,10))-(t=a%100))/100*60+t),e._d=Qe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0)):e._isValid=!1}function Tt(e,t,i){return null!=e?e:null!=t?t:i}function St(e){var t,i,n,r,s,a,o,l,c=[];if(!e._d){var d=e,u=new Date(h.now()),p=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()];for(e._w&&null==e._a[C]&&null==e._a[k]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(s=1,a=4,i=Tt(u.GG,d._a[S],$e(I(),1,4).year),n=Tt(u.W,1),((r=Tt(u.E,1))<1||7<r)&&(o=!0)):(s=d._locale._week.dow,a=d._locale._week.doy,l=$e(I(),s,a),i=Tt(u.gg,d._a[S],l.year),n=Tt(u.w,l.week),null!=u.d?((r=u.d)<0||6<r)&&(o=!0):null!=u.e?(r=u.e+s,(u.e<0||6<u.e)&&(o=!0)):r=s),n<1||n>M(i,s,a)?m(d)._overflowWeeks=!0:null!=o?m(d)._overflowWeekday=!0:(l=We(i,n,r,s,a),d._a[S]=l.year,d._dayOfYear=l.dayOfYear)),null!=e._dayOfYear&&(u=Tt(e._a[S],p[S]),(e._dayOfYear>Ve(u)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),o=Qe(u,0,e._dayOfYear),e._a[k]=o.getUTCMonth(),e._a[C]=o.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=p[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[P]&&0===e._a[E]&&0===e._a[A]&&0===e._a[Me]&&(e._nextDay=!0,e._a[P]=0),e._d=(e._useUTC?Qe:function(e,t,i,n,r,s,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,i,n,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,i,n,r,s,a),o}).apply(null,c),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[P]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(m(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],m(e).empty=!0;for(var t,i,n,r=""+e._i,s=r.length,a=0,o=ae(e._f,e._locale).match(te)||[],l=0;l<o.length;l++)t=o[l],(p=(r.match((p=e,f(Pe,u=t)?Pe[u](p._strict,p._locale):new RegExp(_(u.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,r){return t||i||n||r})))))||[])[0])&&(0<(u=r.substr(0,r.indexOf(p))).length&&m(e).unusedInput.push(u),r=r.slice(r.indexOf(p)+p.length),a+=p.length),re[t]?(p?m(e).empty=!1:m(e).unusedTokens.push(t),u=t,n=e,null!=(i=p)&&f(Ee,u)&&Ee[u](i,n._a,n,u)):e._strict&&!p&&m(e).unusedTokens.push(t);m(e).charsLeftOver=s-a,0<r.length&&m(e).unusedInput.push(r),e._a[P]<=12&&!0===m(e).bigHour&&0<e._a[P]&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[P]=(s=e._locale,c=e._a[P],null==(d=e._meridiem)?c:null!=s.meridiemHour?s.meridiemHour(c,d):(null!=s.isPM&&((s=s.isPM(d))&&c<12&&(c+=12),s||12!==c||(c=0)),c)),null!==(d=m(e).era)&&(e._a[S]=e._locale.erasConvertYear(d,e._a[S])),St(e),pt(e)}else xt(e);else _t(e);var c,d,u,p}function Ct(e){var t,i,n,r=e._i,s=e._f;return e._locale=e._locale||j(e._l),null===r||void 0===s&&""===r?R({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),o(r)?new U(pt(r)):(F(r)?e._d=r:l(s)?function(e){var t,i,n,r,s,a,o=!1;if(0===e._f.length)return m(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<e._f.length;r++)s=0,a=!1,t=$({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],kt(t),V(t)&&(a=!0),s=(s+=m(t).charsLeftOver)+10*m(t).unusedTokens.length,m(t).score=s,o?s<n&&(n=s,i=t):(null==n||s<n||a)&&(n=s,i=t,a)&&(o=!0);q(e,i||t)}(e):s?kt(e):a(s=(r=e)._i)?r._d=new Date(h.now()):F(s)?r._d=new Date(s.valueOf()):"string"==typeof s?(i=r,null===(n=vt.exec(i._i))?(_t(i),!1===i._isValid&&(delete i._isValid,xt(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:h.createFromInputFallback(i))):i._d=new Date(+n[1])):l(s)?(r._a=B(s.slice(0),function(e){return parseInt(e,10)}),St(r)):z(s)?(i=r)._d||(t=void 0===(n=le(i._i)).day?n.date:n.day,i._a=B([n.year,n.month,t,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),St(i)):c(s)?r._d=new Date(s):h.createFromInputFallback(r),V(e)||(e._d=null),e))}function Pt(e,t,i,n,r){var s={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(z(e)&&N(e)||l(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=r,s._l=i,s._i=e,s._f=t,s._strict=n,(r=new U(pt(Ct(s))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function I(e,t,i,n){return Pt(e,t,i,n,!1)}function Et(e,t){var i,n;if(!(t=1===t.length&&l(t[0])?t[0]:t).length)return I();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}h.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};var ye=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:R()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:R()}),At=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Mt(e){var t=(e=le(e)).year||0,i=e.quarter||0,n=e.month||0,r=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,o=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,i,n=!1;for(t in e)if(f(e,t)&&(-1===T.call(At,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<At.length;++i)if(e[At[i]]){if(n)return!1;parseFloat(e[At[i]])!==y(e[At[i]])&&(n=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*o+1e3*a*60*60,this._days=+s+7*r,this._months=+n+3*i+12*t,this._data={},this._locale=j(),this._bubble()}function Lt(e){return e instanceof Mt}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,i){n(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+s(~~(e/60),2)+i+s(~~e%60,2)})}It("Z",":"),It("ZZ",""),w("Z",ke),w("ZZ",ke),x(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Dt(ke,e)});var Ot=/([\+\-]|\d\d)/gi;function Dt(e,t){return null===(t=(t||"").match(e))?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ot)||["-",0,0])[1]+y(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var i;return t._isUTC?(t=t.clone(),i=(o(e)||F(e)?e:I(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),h.updateOffset(t,!1),t):I(e).local()}function zt(e){return-Math.round(e._d.getTimezoneOffset())}function Nt(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var Ft=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Bt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function O(e,t){var i,n,r=e;return Lt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=Ft.exec(e))?(i="-"===t[1]?-1:1,r={y:0,d:y(t[C])*i,h:y(t[P])*i,m:y(t[E])*i,s:y(t[A])*i,ms:y(jt(1e3*t[Me]))*i}):(t=Bt.exec(e))?(i="-"===t[1]?-1:1,r={y:qt(t[2],i),M:qt(t[3],i),w:qt(t[4],i),d:qt(t[5],i),h:qt(t[6],i),m:qt(t[7],i),s:qt(t[8],i)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=I(r.from),i=I(r.to),t=t.isValid()&&i.isValid()?(i=Yt(i,t),t.isBefore(i)?n=Vt(t,i):((n=Vt(i,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(r={}).ms=t.milliseconds,r.M=t.months),n=new Mt(r),Lt(e)&&f(e,"_locale")&&(n._locale=e._locale),Lt(e)&&f(e,"_isValid")&&(n._isValid=e._isValid),n}function qt(e,t){return e=e&&parseFloat(e.replace(",",".")),(isNaN(e)?0:e)*t}function Vt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=t-e.clone().add(i.months,"M"),i}function Rt(n,r){return function(e,t){var i;return null===t||isNaN(+t)||(Z(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=t,t=i),Qt(this,O(e,t),n),this}}function Qt(e,t,i,n){var r=t._milliseconds,s=jt(t._days),t=jt(t._months);e.isValid()&&(n=null==n||n,t&&Fe(e,pe(e,"Month")+t*i),s&&he(e,"Date",pe(e,"Date")+s*i),r&&e._d.setTime(e._d.valueOf()+r*i),n)&&h.updateOffset(e,s||t)}function Ht(e){return"string"==typeof e||e instanceof String}function Wt(e,t){var i,n;return e.date()<t.date()?-Wt(t,e):-((i=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(n=e.clone().add(i,"months"))<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(1+i,"months")-n)))||0}function $t(e){return void 0===e?this._locale._abbr:(null!=(e=j(e))&&(this._locale=e),this)}function Ut(){return this._locale}function Gt(e,t){return(e%t+t)%t}function Xt(e,t,i){return e<100&&0<=e?new Date(e+400,t,i)-126227808e5:new Date(e,t,i).valueOf()}function Zt(e,t,i){return e<100&&0<=e?Date.UTC(e+400,t,i)-126227808e5:Date.UTC(e,t,i)}function Jt(e,t){return t.erasAbbrRegex(e)}function Kt(){for(var e=[],t=[],i=[],n=[],r=this.eras(),s=0,a=r.length;s<a;++s)t.push(_(r[s].name)),e.push(_(r[s].abbr)),i.push(_(r[s].narrow)),n.push(_(r[s].name)),n.push(_(r[s].abbr)),n.push(_(r[s].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ei(e,t){n(0,[e,e.length],0,t)}function ti(e,t,i,n,r){var s;return null==e?$e(this,n,r).year:((s=M(e,n,r))<t&&(t=s),function(e,t,i,n,r){return t=Qe((e=We(e,t,i,n,r)).year,0,e.dayOfYear),this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,i,n,r))}O.fn=Mt.prototype,O.invalid=function(){return O(NaN)},Oe=Rt(1,"add"),Ge=Rt(-1,"subtract"),h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",Ze=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)}),n("N",0,0,"eraAbbr"),n("NN",0,0,"eraAbbr"),n("NNN",0,0,"eraAbbr"),n("NNNN",0,0,"eraName"),n("NNNNN",0,0,"eraNarrow"),n("y",["y",1],"yo","eraYear"),n("y",["yy",2],0,"eraYear"),n("y",["yyy",3],0,"eraYear"),n("y",["yyyy",4],0,"eraYear"),w("N",Jt),w("NN",Jt),w("NNN",Jt),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){(n=i._locale.erasParse(e,n,i._strict))?m(i).era=n:m(i).invalidEra=e}),w("y",xe),w("yy",xe),w("yyy",xe),w("yyyy",xe),w("yo",function(e,t){return t._eraYearOrdinalRegex||xe}),x(["y","yy","yyy","yyyy"],S),x(["yo"],function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[S]=i._locale.eraYearOrdinalParse(e,r):t[S]=parseInt(e,10)}),n(0,["gg",2],0,function(){return this.weekYear()%100}),n(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ei("gggg","weekYear"),ei("ggggg","weekYear"),ei("GGGG","isoWeekYear"),ei("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),i("weekYear",1),i("isoWeekYear",1),w("G",Te),w("g",Te),w("GG",b,v),w("gg",b,v),w("GGGG",we,me),w("gggg",we,me),w("GGGGG",_e,ge),w("ggggg",_e,ge),Ae(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=y(e)}),Ae(["gg","GG"],function(e,t,i,n){t[n]=h.parseTwoDigitYear(e)}),n("Q",0,"Qo","quarter"),t("quarter","Q"),i("quarter",7),w("Q",r),x("Q",function(e,t){t[k]=3*(y(e)-1)}),n("D",["DD",2],"Do","date"),t("date","D"),i("date",9),w("D",b),w("DD",b,v),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],C),x("Do",function(e,t){t[C]=y(e.match(b)[0])}),we=ue("Date",!0),n("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),i("dayOfYear",4),w("DDD",be),w("DDDD",fe),x(["DDD","DDDD"],function(e,t,i){i._dayOfYear=y(e)}),n("m",["mm",2],0,"minute"),t("minute","m"),i("minute",14),w("m",b),w("mm",b,v),x(["m","mm"],E),me=ue("Minutes",!1),n("s",["ss",2],0,"second"),t("second","s"),i("second",15),w("s",b),w("ss",b,v),x(["s","ss"],A);var ii,_e=ue("Seconds",!1);for(n("S",0,0,function(){return~~(this.millisecond()/100)}),n(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),n(0,["SSS",3],0,"millisecond"),n(0,["SSSS",4],0,function(){return 10*this.millisecond()}),n(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),n(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),n(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),n(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),n(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),i("millisecond",16),w("S",be,r),w("SS",be,v),w("SSS",be,fe),ii="SSSS";ii.length<=9;ii+="S")w(ii,xe);function ni(e,t){t[Me]=y(1e3*("0."+e))}for(ii="S";ii.length<=9;ii+="S")x(ii,ni);function ri(e){return e}function si(e,t,i,n){var r=j(),n=d().set(n,t);return r[i](n,e)}function ai(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return si(e,t,i,"month");for(var n=[],r=0;r<12;r++)n[r]=si(e,r,i,"month");return n}function oi(e,t,i,n){"boolean"==typeof e?c(t)&&(i=t,t=void 0):(t=e,e=!1,c(i=t)&&(i=t,t=void 0)),t=t||"";var r,s=j(),a=e?s._week.dow:0,o=[];if(null!=i)return si(t,(i+a)%7,n,"day");for(r=0;r<7;r++)o[r]=si(t,(r+a)%7,n,"day");return o}ge=ue("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName"),(r=U.prototype).add=Oe,r.calendar=function(e,t){1===arguments.length&&(o(s=arguments[0])||F(s)||Ht(s)||c(s)||(r=!1,(n=l(i=s))&&(r=0===i.filter(function(e){return!c(e)&&Ht(i)}).length),n&&r)||function(e){for(var t=z(e)&&!N(e),i=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r=0;r<n.length;r+=1)i=i||f(e,n[r]);return t&&i}(s)||null==s?(e=arguments[0],t=void 0):function(e){for(var t=z(e)&&!N(e),i=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<n.length;r+=1)i=i||f(e,n[r]);return t&&i}(arguments[0])&&(t=arguments[0],e=void 0));var i,n=e||I(),r=Yt(n,this).startOf("day"),s=h.calendarFormat(this,r)||"sameElse",e=t&&(u(t[s])?t[s].call(this,n):t[s]);return this.format(e||this.localeData().calendar(s,this,I(n)))},r.clone=function(){return new U(this)},r.diff=function(e,t,i){var n,r,s;if(!this.isValid())return NaN;if(!(n=Yt(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=p(t)){case"year":s=Wt(this,n)/12;break;case"month":s=Wt(this,n);break;case"quarter":s=Wt(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-r)/864e5;break;case"week":s=(this-n-r)/6048e5;break;default:s=this-n}return i?s:g(s)},r.endOf=function(e){var t,i;if(void 0!==(e=p(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?Zt:Xt,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Gt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Gt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Gt(t,1e3)-1}this._d.setTime(t),h.updateOffset(this,!0)}return this},r.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=se(this,e),this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(o(e)&&e.isValid()||I(e).isValid())?O({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(I(),e)},r.to=function(e,t){return this.isValid()&&(o(e)&&e.isValid()||I(e).isValid())?O({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(I(),e)},r.get=function(e){return u(this[e=p(e)])?this[e]():this},r.invalidAt=function(){return m(this).overflow},r.isAfter=function(e,t){return e=o(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=p(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){return e=o(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=p(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,i,n){return e=o(e)?e:I(e),t=o(t)?t:I(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(n=n||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&(")"===n[1]?this.isBefore(t,i):!this.isAfter(t,i))},r.isSame=function(e,t){e=o(e)?e:I(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=p(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},r.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},r.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},r.isValid=function(){return V(this)},r.lang=Ze,r.locale=$t,r.localeData=Ut,r.max=ve,r.min=ye,r.parsingFlags=function(){return q({},m(this))},r.set=function(e,t){if("object"==typeof e)for(var i=function(e){var t,i=[];for(t in e)f(e,t)&&i.push({unit:t,priority:ce[t]});return i.sort(function(e,t){return e.priority-t.priority}),i}(e=le(e)),n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit]);else if(u(this[e=p(e)]))return this[e](t);return this},r.startOf=function(e){var t,i;if(void 0!==(e=p(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?Zt:Xt,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Gt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=Gt(t,6e4);break;case"second":t=this._d.valueOf(),t-=Gt(t,1e3)}this._d.setTime(t),h.updateOffset(this,!0)}return this},r.subtract=Ge,r.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},r.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},r.toDate=function(){return new Date(this.valueOf())},r.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?se(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",se(t,"Z")):se(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},r.inspect=function(){var e,t,i;return this.isValid()?(t="moment",i="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(r[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},r.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},r.eraName=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].name;if(t[i].until<=e&&e<=t[i].since)return t[i].name}return""},r.eraNarrow=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].narrow;if(t[i].until<=e&&e<=t[i].since)return t[i].narrow}return""},r.eraAbbr=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].abbr;if(t[i].until<=e&&e<=t[i].since)return t[i].abbr}return""},r.eraYear=function(){for(var e,t,i=this.localeData().eras(),n=0,r=i.length;n<r;++n)if(e=i[n].since<=i[n].until?1:-1,t=this.startOf("day").valueOf(),i[n].since<=t&&t<=i[n].until||i[n].until<=t&&t<=i[n].since)return(this.year()-h(i[n].since).year())*e+i[n].offset;return this.year()},r.year=Re,r.isLeapYear=function(){return de(this.year())},r.weekYear=function(e){return ti.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},r.isoWeekYear=function(e){return ti.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},r.quarter=r.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},r.month=Be,r.daysInMonth=function(){return Ie(this.year(),this.month())},r.week=r.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},r.isoWeek=r.isoWeeks=function(e){var t=$e(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return M(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return M(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return M(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return M(this.isoWeekYear(),1,4)},r.date=we,r.day=r.days=function(e){var t,i,n;return this.isValid()?(n=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(t=e,i=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=i.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d")):n):null!=e?this:NaN},r.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},r.isoWeekday=function(e){var t,i;return this.isValid()?null==e?this.day()||7:(t=e,i=this.localeData(),i="string"==typeof t?i.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?i:i-7)):null!=e?this:NaN},r.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},r.hour=r.hours=Ce,r.minute=r.minutes=me,r.second=r.seconds=_e,r.millisecond=r.milliseconds=ge,r.utcOffset=function(e,t,i){var n,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:zt(this);if("string"==typeof e){if(null===(e=Dt(ke,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=zt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Qt(this,O(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},r.utc=function(e){return this.utcOffset(0,e)},r.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(zt(this),"m"),this},r.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Dt(Se,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},r.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60==0)},r.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},r.isLocal=function(){return!!this.isValid()&&!this._isUTC},r.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},r.isUtc=Nt,r.isUTC=Nt,r.zoneAbbr=function(){return this._isUTC?"UTC":""},r.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},r.dates=e("dates accessor is deprecated. Use date instead.",we),r.months=e("months accessor is deprecated. Use month instead",Be),r.years=e("years accessor is deprecated. Use year instead",Re),r.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),r.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return a(this._isDSTShifted)&&($(t={},this),(t=Ct(t))._a?(e=(t._isUTC?d:I)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t){for(var i=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),r=0,s=0;s<i;s++)y(e[s])!==y(t[s])&&r++;return r+n}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(v=K.prototype).calendar=function(e,t,i){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,i):e},v.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(te).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},v.invalidDate=function(){return this._invalidDate},v.ordinal=function(e){return this._ordinal.replace("%d",e)},v.preparse=ri,v.postformat=ri,v.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return u(r)?r(e,t,i,n):r.replace(/%d/i,e)},v.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},v.set=function(e){var t,i;for(i in e)f(e,i)&&(u(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},v.eras=function(e,t){for(var i,n=this._eras||j("en")._eras,r=0,s=n.length;r<s;++r)switch("string"==typeof n[r].since&&(i=h(n[r].since).startOf("day"),n[r].since=i.valueOf()),typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":i=h(n[r].until).startOf("day").valueOf(),n[r].until=i.valueOf()}return n},v.erasParse=function(e,t,i){var n,r,s,a,o,l=this.eras();for(e=e.toUpperCase(),n=0,r=l.length;n<r;++n)if(s=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),o=l[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(s===e)return l[n];break;case"NNNNN":if(o===e)return l[n]}else if(0<=[s,a,o].indexOf(e))return l[n]},v.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?h(e.since).year():h(e.since).year()+(t-e.offset)*i},v.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||Kt.call(this),e?this._erasAbbrRegex:this._erasRegex},v.erasNameRegex=function(e){return f(this,"_erasNameRegex")||Kt.call(this),e?this._erasNameRegex:this._erasRegex},v.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||Kt.call(this),e?this._erasNarrowRegex:this._erasRegex},v.months=function(e,t){return e?(l(this._months)?this._months:this._months[(this._months.isFormat||Ye).test(t)?"format":"standalone"])[e.month()]:l(this._months)?this._months:this._months.standalone},v.monthsShort=function(e,t){return e?(l(this._monthsShort)?this._monthsShort:this._monthsShort[Ye.test(t)?"format":"standalone"])[e.month()]:l(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},v.monthsParse=function(e,t,i){var n,r;if(this._monthsParseExact)return function(e,t,i){var n,r,s,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=T.call(this._shortMonthsParse,e))?r:null:-1!==(r=T.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=T.call(this._shortMonthsParse,e))||-1!==(r=T.call(this._longMonthsParse,e))?r:null:-1!==(r=T.call(this._longMonthsParse,e))||-1!==(r=T.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=d([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},v.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||qe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},v.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||qe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=ze),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},v.week=function(e){return $e(e,this._week.dow,this._week.doy).week},v.firstDayOfYear=function(){return this._week.doy},v.firstDayOfWeek=function(){return this._week.dow},v.weekdays=function(e,t){return t=l(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ue(t,this._week.dow):e?t[e.day()]:t},v.weekdaysMin=function(e){return!0===e?Ue(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},v.weekdaysShort=function(e){return!0===e?Ue(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},v.weekdaysParse=function(e,t,i){var n,r;if(this._weekdaysParseExact)return function(e,t,i){var n,r,s,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=T.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=T.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=T.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=T.call(this._weekdaysParse,e))||-1!==(r=T.call(this._shortWeekdaysParse,e))||-1!==(r=T.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=T.call(this._shortWeekdaysParse,e))||-1!==(r=T.call(this._weekdaysParse,e))||-1!==(r=T.call(this._minWeekdaysParse,e))?r:null:-1!==(r=T.call(this._minWeekdaysParse,e))||-1!==(r=T.call(this._weekdaysParse,e))||-1!==(r=T.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=d([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},v.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},v.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},v.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=et),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},v.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},v.meridiem=function(e,t,i){return 11<e?i?"pm":"PM":i?"am":"AM"},dt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===y(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),h.lang=e("moment.lang is deprecated. Use moment.locale instead.",dt),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",j);var li=Math.abs;function ci(e,t,i,n){return t=O(t,i),e._milliseconds+=n*t._milliseconds,e._days+=n*t._days,e._months+=n*t._months,e._bubble()}function di(e){return e<0?Math.floor(e):Math.ceil(e)}function ui(e){return 4800*e/146097}function pi(e){return 146097*e/4800}function hi(e){return function(){return this.as(e)}}function fi(e){return function(){return this.isValid()?this._data[e]:NaN}}be=hi("ms"),fe=hi("s"),Oe=hi("m"),ve=hi("h"),ye=hi("d"),Ge=hi("w"),Ce=hi("M"),me=hi("Q"),_e=hi("y");var ge=fi("milliseconds"),we=fi("seconds"),Re=fi("minutes"),v=fi("hours"),mi=fi("days"),gi=fi("months"),yi=fi("years"),vi=Math.round,bi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},wi=Math.abs;function _i(e){return(0<e)-(e<0)||+e}function xi(){var e,t,i,n,r,s,a,o,l,c,d;return this.isValid()?(o=wi(this._milliseconds)/1e3,l=wi(this._days),c=wi(this._months),(d=this.asSeconds())?(e=g(o/60),t=g(e/60),o%=60,e%=60,i=g(c/12),c%=12,n=o?o.toFixed(3).replace(/\.?0+$/,""):"",r=_i(this._months)!==_i(d)?"-":"",s=_i(this._days)!==_i(d)?"-":"",a=_i(this._milliseconds)!==_i(d)?"-":"",(d<0?"-":"")+"P"+(i?r+i+"Y":"")+(c?r+c+"M":"")+(l?s+l+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+n+"S":"")):"P0D"):this.localeData().invalidDate()}var D=Mt.prototype;return D.isValid=function(){return this._isValid},D.abs=function(){var e=this._data;return this._milliseconds=li(this._milliseconds),this._days=li(this._days),this._months=li(this._months),e.milliseconds=li(e.milliseconds),e.seconds=li(e.seconds),e.minutes=li(e.minutes),e.hours=li(e.hours),e.months=li(e.months),e.years=li(e.years),this},D.add=function(e,t){return ci(this,e,t,1)},D.subtract=function(e,t){return ci(this,e,t,-1)},D.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=p(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+ui(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(pi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},D.asMilliseconds=be,D.asSeconds=fe,D.asMinutes=Oe,D.asHours=ve,D.asDays=ye,D.asWeeks=Ge,D.asMonths=Ce,D.asQuarters=me,D.asYears=_e,D.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12):NaN},D._bubble=function(){var e=this._milliseconds,t=this._days,i=this._months,n=this._data;return 0<=e&&0<=t&&0<=i||e<=0&&t<=0&&i<=0||(e+=864e5*di(pi(i)+t),i=t=0),n.milliseconds=e%1e3,e=g(e/1e3),n.seconds=e%60,e=g(e/60),n.minutes=e%60,e=g(e/60),n.hours=e%24,t+=g(e/24),i+=e=g(ui(t)),t-=di(pi(e)),e=g(i/12),i%=12,n.days=t,n.months=i,n.years=e,this},D.clone=function(){return O(this)},D.get=function(e){return e=p(e),this.isValid()?this[e+"s"]():NaN},D.milliseconds=ge,D.seconds=we,D.minutes=Re,D.hours=v,D.days=mi,D.weeks=function(){return g(this.days()/7)},D.months=gi,D.years=yi,D.humanize=function(e,t){var i,n,r,s,a,o,l,c,d,u;return this.isValid()?(i=!1,n=bi,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(n=Object.assign({},bi,t),null!=t.s)&&null==t.ss&&(n.ss=t.s-1),t=!i,r=e=this.localeData(),s=O(this).abs(),a=vi(s.as("s")),o=vi(s.as("m")),l=vi(s.as("h")),c=vi(s.as("d")),d=vi(s.as("M")),u=vi(s.as("w")),s=vi(s.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||(o<=1?["m"]:o<n.m&&["mm",o])||(l<=1?["h"]:l<n.h&&["hh",l])||(c<=1?["d"]:c<n.d&&["dd",c]),(a=(a=null!=n.w?a||(u<=1?["w"]:u<n.w&&["ww",u]):a)||(d<=1?["M"]:d<n.M&&["MM",d])||(s<=1?["y"]:["yy",s]))[2]=t,a[3]=0<+this,a[4]=r,o=function(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}.apply(null,a),i&&(o=e.pastFuture(+this,o)),e.postformat(o)):this.localeData().invalidDate()},D.toISOString=xi,D.toString=xi,D.toJSON=xi,D.locale=$t,D.localeData=Ut,D.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",xi),D.lang=Ze,n("X",0,0,"unix"),n("x",0,0,"valueOf"),w("x",Te),w("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,i){i._d=new Date(y(e))}),h.version="2.25.2",Y=I,h.fn=r,h.min=function(){return Et("isBefore",[].slice.call(arguments,0))},h.max=function(){return Et("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=d,h.unix=function(e){return I(1e3*e)},h.months=function(e,t){return ai(e,t,"months")},h.isDate=F,h.locale=dt,h.invalid=R,h.duration=O,h.isMoment=o,h.weekdays=function(e,t,i){return oi(e,t,i,"weekdays")},h.parseZone=function(){return I.apply(null,arguments).parseZone()},h.localeData=j,h.isDuration=Lt,h.monthsShort=function(e,t){return ai(e,t,"monthsShort")},h.weekdaysMin=function(e,t,i){return oi(e,t,i,"weekdaysMin")},h.defineLocale=ut,h.updateLocale=function(e,t){var i,n;return null!=t?(n=at,null!=L[e]&&null!=L[e].parentLocale?L[e].set(J(L[e]._config,t)):(t=J(n=null!=(i=ct(e))?i._config:n,t),null==i&&(t.abbr=e),(n=new K(t)).parentLocale=L[e],L[e]=n),dt(e)):null!=L[e]&&(null!=L[e].parentLocale?(L[e]=L[e].parentLocale,e===dt()&&dt(e)):null!=L[e]&&delete L[e]),L[e]},h.locales=function(){return ee(L)},h.weekdaysShort=function(e,t,i){return oi(e,t,i,"weekdaysShort")},h.normalizeUnits=p,h.relativeTimeRounding=function(e){return void 0===e?vi:"function"==typeof e&&(vi=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==bi[e]&&(void 0===t?bi[e]:(bi[e]=t,"s"===e&&(bi.ss=t-1),!0))},h.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},h.prototype=r,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},h}),"undefined"!=typeof jQuery&&($=jQuery.noConflict()),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).SEMICOLON=t()}(this,function(){"use strict";var l={pageTransition:!1,cursor:!1,tips:!1,headerSticky:!0,headerMobileSticky:!1,menuBreakpoint:992,pageMenuBreakpoint:992,gmapAPI:"",scrollOffset:60,scrollExternalLinks:!0,smoothScroll:!1,jsFolder:"js/",cssFolder:"css/"},c=("undefined"!=typeof cnvsOptions&&(l=Object.assign({},l,cnvsOptions)),{baseEl:document,elRoot:document.documentElement,elHead:document.head,elBody:document.body,viewport:{width:0,height:0},hash:window.location.hash,topScrollOffset:0,elWrapper:document.getElementById("wrapper"),elHeader:document.getElementById("header"),headerClasses:"",elHeaderWrap:document.getElementById("header-wrap"),headerWrapClasses:"",headerHeight:0,headerOffset:0,headerWrapHeight:0,headerWrapOffset:0,elPrimaryMenus:document.querySelectorAll(".primary-menu"),elPrimaryMenuTriggers:document.querySelectorAll(".primary-menu-trigger"),elPageMenu:document.getElementById("page-menu"),pageMenuOffset:0,elSlider:document.getElementById("slider"),elFooter:document.getElementById("footer"),elAppMenu:document.querySelector(".app-menu"),portfolioAjax:{},sliderParallax:{el:document.querySelector(".slider-parallax"),caption:document.querySelector(".slider-parallax .slider-caption"),inner:document.querySelector(".slider-inner"),offset:0},get menuBreakpoint(){return this.elBody.getAttribute("data-menu-breakpoint")||l.menuBreakpoint},get pageMenuBreakpoint(){return this.elBody.getAttribute("data-pagemenu-breakpoint")||l.pageMenuBreakpoint},get customCursor(){var e=this.elBody.getAttribute("data-custom-cursor")||l.cursor;return"true"==e||!0===e},get pageTransition(){var e=this.elBody.classList.contains("page-transition")||l.pageTransition;return"true"==e||!0===e},get tips(){var e=this.elBody.getAttribute("data-tips")||l.tips;return"true"==e||!0===e},get smoothScroll(){var e=this.elBody.getAttribute("data-smooth-scroll")||l.smoothScroll;return"true"==e||!0===e},get isRTL(){return"rtl"==this.elRoot.getAttribute("dir")},scrollPos:{x:0,y:0},$jq:"undefined"!=typeof jQuery?jQuery.noConflict():"",resizers:{},recalls:{},debounced:!1,events:{},modules:{},fn:{},required:{jQuery:{plugin:"jquery",fn:function(){return"undefined"!=typeof jQuery},file:l.jsFolder+"jquery.js",id:"canvas-jquery"}},fnInit:function(){s.init(),a.init(),r.init()}}),o={getOptions:l,getVars:c,run:function(e){Object.values(e).map(function(e){return"function"==typeof e&&e.call()})},runBase:function(){o.run(e)},runModules:function(){o.run(t)},runContainerModules:function(e){if(void 0===e)return!1;o.getVars.baseEl=e,o.runModules(),o.getVars.baseEl=document},breakpoints:function(){var t=o.viewport().width,i={xxl:{enter:1400,exit:99999},xl:{enter:1200,exit:1399},lg:{enter:992,exit:1199.98},md:{enter:768,exit:991.98},sm:{enter:576,exit:767.98},xs:{enter:0,exit:575.98}},n="";Object.keys(i).forEach(function(e){t>i[e].enter&&t<=i[e].exit?c.elBody.classList.add("device-"+e):(c.elBody.classList.remove("device-"+e),""!=n&&c.elBody.classList.remove("device-down-"+n)),t<=i[e].exit&&""!=n&&c.elBody.classList.add("device-down-"+n),t>i[n=e].enter?c.elBody.classList.add("device-up-"+e):c.elBody.classList.remove("device-up-"+e)})},colorScheme:function(){c.elBody.classList.contains("adaptive-color-scheme")&&(window.matchMedia("(prefers-color-scheme: dark)").matches?c.elBody.classList.add("dark"):c.elBody.classList.remove("dark"));var e=o.cookie.get("__cnvs_body_color_scheme");e&&""!=e&&(e.split(" ").includes("dark")?c.elBody.classList.add("dark"):c.elBody.classList.remove("dark"))},throttle:function(e,t,i){e=e||setTimeout(function(){t(),e=void 0},i)},debounce:function(e,t){clearTimeout(c.debounced),c.debounced=setTimeout(e,t)},debouncedResize:function(i,n){var r;return function(){var e=this,t=arguments;clearTimeout(r),r=setTimeout(function(){i.apply(e,t)},n)}},addEvent:function(e,t,i={}){void 0!==e&&void 0!==t&&(i=new CustomEvent(t,{detail:i}),e.dispatchEvent(i),c.events[t]=!0)},scrollEnd:function(e,t=199){e&&"function"==typeof e&&window.addEventListener("scroll",function(){o.debounce(e,t)},{passive:!0})},viewport:function(){var e={width:window.innerWidth||c.elRoot.clientWidth,height:window.innerHeight||c.elRoot.clientHeight};return c.viewport=e,document.documentElement.style.setProperty("--cnvs-viewport-width",e.width),document.documentElement.style.setProperty("--cnvs-viewport-height",e.height),document.documentElement.style.setProperty("--cnvs-body-height",c.elBody.clientHeight),e},isElement:function(e){return"object"==typeof e&&null!==e||e instanceof Element||e instanceof HTMLElement||void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType},getSelector:function(e,t=!0,i=!0){return t?(e=o.getVars.baseEl!==document?jQuery(o.getVars.baseEl).find(e):jQuery(e),i&&(e="string"==typeof i?e.filter(":not("+i+")"):e.filter(":not(.customjs)"))):o.isElement(e)||(e=i?"string"==typeof i?o.getVars.baseEl.querySelectorAll(e+":not("+i+")"):o.getVars.baseEl.querySelectorAll(e+":not(.customjs)"):o.getVars.baseEl.querySelectorAll(e)),e},onResize:function(e,t=333){e&&"function"==typeof e&&window.addEventListener("resize",function(){o.debounce(e,t)})},imagesLoaded:function(e){async function t(){++r===n&&o.addEvent(e,"CanvasImagesLoaded")}var i=e.getElementsByTagName("img")||document.images,n=i.length,r=0;n<1&&o.addEvent(e,"CanvasImagesLoaded");[].forEach.call(i,function(e){e.complete?t():e.addEventListener("load",t,!1)})},contains:function(e,t){var e=e.split(" "),i=!1;return e.forEach(function(e){c.elBody.classList.contains(e)&&(i=!0)}),i},has:function(e,t){return[].slice.call(e)?.filter(function(e){return e.querySelector(t)})},filtered:function(e,t){return[].slice.call(e)?.filter(function(e){return e.matches(t)})},parents:function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),i=t.length;0<=--i&&t.item(i)!==this;);return-1<i});for(var i=[];e&&e!==document;e=e.parentNode)(!t||e.matches(t))&&i.push(e);return i},siblings:function(t,e=!1){return e?[].slice.call(e).filter(function(e){return e!==t}):[].slice.call(t.parentNode.children).filter(function(e){return e!==t})},getNext:function(e,t){e=e.nextElementSibling;return!t||e&&e.matches(t)?e:null},offset:function(e){var e=e.getBoundingClientRect(),t=window.scrollX||document.documentElement.scrollLeft,i=window.scrollY||document.documentElement.scrollTop;return{top:e.top+i,left:e.left+t}},isHidden:function(e){return null===e.offsetParent},classesFn:function(t,e,i){e.split(" ").forEach(function(e){"add"==t?i.classList.add(e):"toggle"==t?i.classList.toggle(e):i.classList.remove(e)})},cookie:{set:function(e,t,i){var n=new Date,i=(n.setTime(n.getTime()+24*i*60*60*1e3),"expires="+n.toUTCString());document.cookie=e+"="+t+";"+i+";path=/"},get:function(t){var i=decodeURIComponent(document.cookie).split(";");for(let e=0;e<i.length;e++){var n=i[e].trim();if(n.startsWith(t+"="))return n.substring(t.length+1)}return null},remove:function(e){document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"}},scrollTo:function(e=0,t=1250,i,n="smooth"){var r,s,a;i&&"undefined"!=typeof jQuery&&void 0!==jQuery.easing.easeOutQuad?jQuery("body,html").stop(!0).animate({scrollTop:Number(e)},Number(t),i):(t="scrollBehavior"in document.documentElement.style,"function"==typeof window.scroll&&t?window.scroll({top:Number(e),behavior:n}):(r=o.getVars.elBody,s=o.getVars.elRoot,r.scrollIntoView(),s.scrollIntoView(),(a=function(){(r.scrollTop>Number(e)||s.scrollTop>Number(e))&&(r.scrollTop-=20,s.scrollTop-=20,setTimeout(a,10))})()))},smoothScroll:function(){function e(e){e.preventDefault();e=(e=e).detail?e.wheelDelta?e.wheelDelta/e.detail/40*(0<e.detail?1:-1):-e.detail/3:e.wheelDelta/120;a+=-e*n,a=Math.max(0,Math.min(a,i.scrollHeight-o.clientHeight)),s||t()}function t(){s=!0;var e=(a-i.scrollTop)/r;i.scrollTop+=e,.5<Math.abs(e)?l(t):s=!1}var i,n,r,s,a,o,l;i=document,n=90,r=5,i===document&&(i=document.scrollingElement||document.documentElement||document.body.parentNode||document.body),s=!1,a=i.scrollTop,o=i===document.body&&document.documentElement?document.documentElement:i,i.addEventListener("mousewheel",e,{passive:!1}),i.addEventListener("DOMMouseScroll",e,{passive:!1}),l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,20)}},loadCSS:function(e){var t,i=e.file,n=e.id||!1,e=e.cssFolder||!1;return!!i&&!(n&&document.getElementById(n)||((t=document.createElement("link")).id=n,t.href=e?l.cssFolder+i:i,t.rel="stylesheet",t.type="text/css",c.elHead.appendChild(t),0))},loadJS:function(e){var t=e.file,i=e.id||!1,n=e.type||!1,r=e.callback,s=e.async||!0,a=e.defer||!0,e=e.jsFolder||!1;if(!t)return!1;if(i&&document.getElementById(i))return!1;var o=document.createElement("script");if(void 0!==r){if("function"!=typeof r)throw new Error("Not a valid callback!");o.onload=r}return o.id=i,o.src=e?l.jsFolder+t:t,n&&(o.type=n),o.async=!!s,o.defer=!!a,c.elBody.appendChild(o),!0},isFuncTrue:async function(n){var r;return"function"==typeof n&&(r=0,new Promise(function(e,t){var i;n()?e(!0):i=setInterval(function(){n()?(clearInterval(i),e(!0)):30<r&&(clearInterval(i),t(!0)),r++},333)}).catch(function(e){console.log("Function does not exist: "+n)}))},initFunction:function(e){c.elBody.classList.add(e.class),o.addEvent(window,e.event),c.events[e.event]=!0},topScrollOffset:function(){var e=0,t=c.elPageMenu?.querySelector("#page-menu-wrap")?.offsetHeight||0;c.elBody.classList.contains("is-expanded-menu")&&(c.elHeader?.classList.contains("sticky-header")&&(e=c.elHeaderWrap.offsetHeight),!c.elPageMenu?.classList.contains("dots-menu")&&c.elPageMenu?.classList.contains("sticky-page-menu")||(t=0)),o.getVars.topScrollOffset=e+t+l.scrollOffset}},e={init:function(){i.any()&&c.elBody.classList.add("device-touch")},menuBreakpoint:function(){o.getVars.menuBreakpoint<=o.viewport().width?c.elBody.classList.add("is-expanded-menu"):c.elBody.classList.remove("is-expanded-menu"),c.elPageMenu&&(void 0===o.getVars.pageMenuBreakpoint&&(o.getVars.pageMenuBreakpoint=o.getVars.menuBreakpoint),o.getVars.pageMenuBreakpoint<=o.viewport().width?c.elBody.classList.add("is-expanded-pagemenu"):c.elBody.classList.remove("is-expanded-pagemenu"))},goToTop:function(){CNVS.GoToTop.init("#gotoTop")},stickFooterOnSmall:function(){CNVS.StickFooterOnSmall&&CNVS.StickFooterOnSmall.init("#footer")},logo:function(){CNVS.Logo.init("#logo")},headers:function(){o.getVars.headerClasses=c.elHeader?.className||"",o.getVars.headerWrapClasses=c.elHeaderWrap?.className||"",CNVS.Headers.init("#header")},menus:function(){CNVS.Menus.init("#header")},pageMenu:function(){CNVS.PageMenu&&CNVS.PageMenu.init("#page-menu")},sliderDimensions:function(){CNVS.SliderDimensions&&CNVS.SliderDimensions.init(".slider-element")},sliderMenuClass:function(){CNVS.SliderMenuClass&&CNVS.SliderMenuClass.init(".transparent-header + .swiper_wrapper,.swiper_wrapper + .transparent-header,.transparent-header + .revslider-wrap,.revslider-wrap + .transparent-header")},topSearch:function(){CNVS.TopSearch.init("#top-search-trigger")},topCart:function(){CNVS.TopCart.init("#top-cart")},sidePanel:function(){CNVS.SidePanel&&CNVS.SidePanel.init("#side-panel")},adaptiveColorScheme:function(){CNVS.AdaptiveColorScheme&&CNVS.AdaptiveColorScheme.init(".adaptive-color-scheme")},portfolioAjax:function(){CNVS.PortfolioAjax&&CNVS.PortfolioAjax.init(".portfolio-ajax")},cursor:function(){c.customCursor&&CNVS.Cursor&&CNVS.Cursor.init("body")},setBSTheme:function(){c.elBody.classList.contains("dark")?document.querySelector("html").setAttribute("data-bs-theme","dark"):(document.querySelector("html").removeAttribute("data-bs-theme"),document.querySelectorAll(".dark")?.forEach(function(e){e.setAttribute("data-bs-theme","dark")})),c.elBody.querySelectorAll(".not-dark")?.forEach(function(e){e.setAttribute("data-bs-theme","light")})}},t={bootstrap:function(){var t=!0;document.querySelectorAll("*").forEach(function(e){t&&e.getAttributeNames().some(function(e){if(e.includes("data-bs"))return t=!1,CNVS.Bootstrap&&CNVS.Bootstrap.init("body"),!0})})},resizeVideos:function(e){CNVS.ResizeVideos&&CNVS.ResizeVideos.init(e||'iframe[src*="youtube"],iframe[src*="vimeo"],iframe[src*="dailymotion"],iframe[src*="maps.google.com"],iframe[src*="google.com/maps"]')},pageTransition:function(){c.pageTransition&&CNVS.PageTransition&&CNVS.PageTransition.init("body")},lazyLoad:function(e){CNVS.LazyLoad&&CNVS.LazyLoad.init(e||".lazy:not(.lazy-loaded)")},dataClasses:function(){CNVS.DataClasses&&CNVS.DataClasses.init("[data-class]")},dataHeights:function(){CNVS.DataHeights&&CNVS.DataHeights.init("[data-height-xxl],[data-height-xl],[data-height-lg],[data-height-md],[data-height-sm],[data-height-xs]")},lightbox:function(e){CNVS.Lightbox&&CNVS.Lightbox.init(e||"[data-lightbox]")},modal:function(e){CNVS.Modal&&CNVS.Modal.init(e||".modal-on-load")},animations:function(e){CNVS.Animations&&CNVS.Animations.init(e||"[data-animate]")},hoverAnimations:function(e){CNVS.HoverAnimations&&CNVS.HoverAnimations.init(e||"[data-hover-animate]")},gridInit:function(e){CNVS.Grid&&CNVS.Grid.init(e||".grid-container")},filterInit:function(e){CNVS.Filter&&CNVS.Filter.init(e||".grid-filter,.custom-filter")},canvasSlider:function(e){CNVS.CanvasSlider&&CNVS.CanvasSlider.init(e||".swiper_wrapper")},sliderParallax:function(){CNVS.SliderParallax&&CNVS.SliderParallax.init(".slider-parallax")},flexSlider:function(e){CNVS.FlexSlider&&CNVS.FlexSlider.init(e||".fslider")},html5Video:function(e){CNVS.FullVideo&&CNVS.FullVideo.init(e||".video-wrap")},youtubeBgVideo:function(e){CNVS.YoutubeBG&&CNVS.YoutubeBG.init(e||".yt-bg-player")},toggle:function(e){CNVS.Toggle&&CNVS.Toggle.init(e||".toggle")},accordion:function(e){CNVS.Accordion&&CNVS.Accordion.init(e||".accordion")},counter:function(e){CNVS.Counter&&CNVS.Counter.init(e||".counter")},countdown:function(e){CNVS.Countdown&&CNVS.Countdown.init(e||".countdown")},gmap:function(e){CNVS.GoogleMaps&&CNVS.GoogleMaps.init(e||".gmap")},roundedSkills:function(e){CNVS.RoundedSkills&&CNVS.RoundedSkills.init(e||".rounded-skill")},progress:function(e){CNVS.Progress&&CNVS.Progress.init(e||".skill-progress")},twitterFeed:function(e){CNVS.Twitter&&CNVS.Twitter.init(e||".twitter-feed")},flickrFeed:function(e){CNVS.Flickr&&CNVS.Flickr.init(e||".flickr-feed")},instagram:function(e){CNVS.Instagram&&CNVS.Instagram.init(e||".instagram-photos")},navTree:function(e){CNVS.NavTree&&CNVS.NavTree.init(e||".nav-tree")},carousel:function(e){CNVS.Carousel&&CNVS.Carousel.init(e||".carousel-widget")},masonryThumbs:function(e){CNVS.MasonryThumbs&&CNVS.MasonryThumbs.init(e||".masonry-thumbs")},notifications:function(e){CNVS.Notifications&&CNVS.Notifications.init(e||!1)},textRotator:function(e){CNVS.TextRotator&&CNVS.TextRotator.init(e||".text-rotater")},onePage:function(e){CNVS.OnePage&&CNVS.OnePage.init(e||"[data-scrollto],.one-page-menu")},ajaxForm:function(e){CNVS.AjaxForm&&CNVS.AjaxForm.init(e||".form-widget")},subscribe:function(e){CNVS.Subscribe&&CNVS.Subscribe.init(e||".subscribe-widget")},conditional:function(e){CNVS.Conditional&&CNVS.Conditional.init(e||".form-group[data-condition],.form-group[data-conditions]")},shapeDivider:function(e){CNVS.ShapeDivider&&CNVS.ShapeDivider.init(e||".shape-divider")},stickySidebar:function(e){CNVS.StickySidebar&&CNVS.StickySidebar.init(e||".sticky-sidebar-wrap")},cookies:function(e){CNVS.Cookies&&CNVS.Cookies.init(e||".gdpr-settings,[data-cookies]")},quantity:function(e){CNVS.Quantity&&CNVS.Quantity.init(e||".quantity")},readmore:function(e){CNVS.ReadMore&&CNVS.ReadMore.init(e||"[data-readmore]")},pricingSwitcher:function(e){CNVS.PricingSwitcher&&CNVS.PricingSwitcher.init(e||".pricing-tenure-switcher")},ajaxTrigger:function(e){CNVS.AjaxTrigger&&CNVS.AjaxTrigger.init(e||"[data-ajax-loader]")},videoFacade:function(e){CNVS.VideoFacade&&CNVS.VideoFacade.init(e||".video-facade")},schemeToggle:function(e){CNVS.SchemeToggle&&CNVS.SchemeToggle.init(e||".body-scheme-toggle")},clipboardCopy:function(e){CNVS.Clipboard&&CNVS.Clipboard.init(e||".clipboard-copy")},codeHighlight:function(e){CNVS.CodeHighlight&&CNVS.CodeHighlight.init(e||".code-highlight")},tips:function(){c.tips&&CNVS.Tips&&CNVS.Tips.init("body")},textSplitter:function(e){CNVS.TextSplitter&&CNVS.TextSplitter.init(e||".text-splitter")},mediaActions:function(e){CNVS.MediaActions&&CNVS.MediaActions.init(e||".media-wrap")},viewportDetect:function(e){CNVS.ViewportDetect&&CNVS.ViewportDetect.init(e||".viewport-detect")},scrollDetect:function(e){CNVS.ScrollDetect&&CNVS.ScrollDetect.init(e||".scroll-detect")},fontSizer:function(e){CNVS.FontSizer&&CNVS.FontSizer.init(e||".font-sizer")},hover3D:function(e){CNVS.Hover3D&&CNVS.Hover3D.init(e||".hover-3d")},buttons:function(e){CNVS.Buttons&&CNVS.Buttons.init(e||".button-text-effect")},bsComponents:function(e){CNVS.BSComponents&&CNVS.BSComponents.init(e||'[data-bs-toggle="tooltip"],[data-bs-toggle="popover"],[data-bs-toggle="tab"],[data-bs-toggle="pill"],.style-msg')}},i={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return i.Android()||i.BlackBerry()||i.iOS()||i.Opera()||i.Windows()}},n={onReady:function(){},onLoad:function(){},onResize:function(){}},r={init:function(){o.viewport(),o.breakpoints(),e.menuBreakpoint(),o.run(c.resizers),n.onResize(),o.addEvent(window,"cnvsResize")}},s={init:function(){o.breakpoints(),o.colorScheme(),o.runBase(),o.runModules(),o.topScrollOffset(),c.smoothScroll&&new o.smoothScroll,s.windowscroll(),n.onReady()},windowscroll:function(){o.scrollEnd(function(){e.pageMenu()})}},a={init:function(){n.onLoad()}},d=(document.addEventListener("DOMContentLoaded",function(){s.init()}),window.addEventListener("load",function(){a.init()}),o.debouncedResize(function(){r.init()},250));return window.addEventListener("resize",function(){d()}),{Core:o,Base:e,Modules:t,Mobile:i,Custom:n}}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).CNVS=t()}(this,function(){"use strict";var M,L,w,t,h,a,o,i,n,l,s,c,d,r,u,p,f,m,g,y,v,b,_,x;return"undefined"!==SEMICOLON&&"undefined"!==SEMICOLON.Core&&"undefined"!==SEMICOLON.Base&&"undefined"!==SEMICOLON.Modules&&"undefined"!==SEMICOLON.Mobile&&(M=SEMICOLON.Core,L=SEMICOLON.Base,w=SEMICOLON.Modules,t=SEMICOLON.Mobile,{Logo:{init:function(e){if((e=M.getSelector(e,!1)).length<1)return!0;var t,i,n=M.getVars.elHead;e[0].querySelector(".logo-dark")&&(t=document.createElement("style"),n.appendChild(t),i='.dark #header-wrap:not(.not-dark) #logo [class^="logo-"], .dark .header-row:not(.not-dark) #logo [class^="logo-"] { display: none; } .dark #header-wrap:not(.not-dark) #logo .logo-dark, .dark .header-row:not(.not-dark) #logo .logo-dark { display: flex; }',t.appendChild(document.createTextNode(i))),e[0].querySelector(".logo-sticky")&&(t=document.createElement("style"),n.appendChild(t),i='.sticky-header #logo [class^="logo-"] { display: none !important; } .sticky-header #logo .logo-sticky { display: flex !important; }',t.appendChild(document.createTextNode(i))),e[0].querySelector(".logo-sticky-shrink")&&(t=document.createElement("style"),n.appendChild(t),i='.sticky-header-shrink #logo [class^="logo-"] { display: none; } .sticky-header-shrink #logo .logo-sticky-shrink { display: flex; }',t.appendChild(document.createTextNode(i))),e[0].querySelector(".logo-mobile")&&(t=document.createElement("style"),n.appendChild(t),i='body:not(.is-expanded-menu) #logo [class^="logo-"] { display: none; } body:not(.is-expanded-menu) #logo .logo-mobile { display: flex; }',t.appendChild(document.createTextNode(i)))}},GoToTop:{init:function(e){if((e=M.getSelector(e,!1)).length<1)return!0;var t,i,n;t=e[0],i=t.getAttribute("data-speed")||700,n=t.getAttribute("data-easing"),t.onclick=function(e){M.scrollTo(0,Number(i),n),e.preventDefault()},ae(e[0]),window.addEventListener("scroll",function(){ae(e[0])},{passive:!0})}},StickFooterOnSmall:{init:function(e){if((e=M.getSelector(e,!1)).length<1)return!0;M.getVars.elFooter.style.marginTop="";var e=M.viewport().height,t=M.getVars.elWrapper.offsetHeight;!M.getVars.elBody.classList.contains("sticky-footer")&&"undefined"!==M.getVars.elFooter&&M.getVars.elWrapper.contains(M.getVars.elFooter)&&t<e&&(M.getVars.elFooter.style.marginTop=e-t+"px"),M.getVars.elAppMenu&&M.viewport().height-(M.getVars.elAppMenu.getBoundingClientRect().top+M.getVars.elAppMenu.getBoundingClientRect().height)==0&&(M.getVars.elFooter.style.marginBottom=M.getVars.elAppMenu.offsetHeight+"px"),M.getVars.resizers.stickfooter=function(){L.stickFooterOnSmall()}}},Headers:{init:function(e){if((e=M.getSelector(e,!1)).length<1)return!0;var e=M.getVars.elHeader,t=!e.classList.contains("no-sticky"),i=e.querySelector(".header-wrap-clone");M.getVars.stickyHeaderClasses=e.getAttribute("data-sticky-class"),M.getVars.mobileHeaderClasses=e.getAttribute("data-responsive-class"),M.getVars.stickyShrink=e.getAttribute("data-sticky-shrink")||"true",M.getVars.stickyShrinkOffset=e.getAttribute("data-sticky-shrink-offset")||300,M.getVars.mobileSticky=e.getAttribute("data-mobile-sticky")||"false",M.getVars.headerHeight=e.offsetHeight,i||((i=document.createElement("div")).classList="header-wrap-clone",M.getVars.elHeaderWrap?.parentNode.insertBefore(i,M.getVars.elHeaderWrap?.nextSibling),i=e.querySelector(".header-wrap-clone")),t&&(setTimeout(function(){ne(),D(M.getVars.headerWrapOffset),Y("sticky")},500),window.addEventListener("scroll",function(){D(M.getVars.headerWrapOffset)},{passive:!0})),Y("responsive"),se(),(e=document.getElementById("header-trigger"))&&(e.onclick=function(e){e.preventDefault(),M.getVars.elBody.classList.contains("open-header")&&M.getVars.elBody.classList.toggle("side-header-open")}),M.getVars.resizers.headers=function(){setTimeout(function(){re(),t&&(ne(),D(M.getVars.headerWrapOffset),Y("sticky")),Y("responsive"),se()},250)}}},Menus:(_=function(e){var n,e=e||document.querySelectorAll(".mega-menu-content, .sub-menu-container, .top-links-section");if(e.length<1)return!1;e.forEach(function(e){n=e.closest(".header-row")?.querySelectorAll(".primary-menu"),e.classList.remove("menu-pos-invert");e.querySelectorAll(":scope > *").forEach(function(e){e.style.display="block"}),e.style.display="block";var t,i=e.getBoundingClientRect();e.closest(".mega-menu-small")&&(t=M.viewport().width-(i.left+i.width))<0&&(e.style.left=t+"px"),M.getVars.elBody.classList.contains("rtl")&&i.left<0&&e.classList.add("menu-pos-invert"),M.viewport().width-(i.left+i.width)<0&&e.classList.add("menu-pos-invert")}),e.forEach(function(e){e.querySelectorAll(":scope > *").forEach(function(e){e.style.display=""}),e.style.display=""}),n?.forEach(function(e){e.classList.add("primary-menu-init")})},x=function(e,t,i,n,r){e.closest(".menu-container").querySelectorAll(n).forEach(function(e){e.classList.remove("icon-rotate-90")});var s,a,o,l,c=e.closest(t).querySelector(":scope > "+i),d=e.closest(t).querySelectorAll(i);"d-none"==r?c.classList.contains("d-none")?c.classList.remove("d-none"):d.forEach(function(e){e.classList.add("d-none")}):c.classList.contains("d-block")?d.forEach(function(e){e.classList.remove("d-block")}):c.classList.add("d-block"),r=e,s=t,a=i,o=n,[].slice.call(r.closest(".menu-container").querySelectorAll(s)).forEach(function(e){e.classList.remove("current")}),(l=function(e,t,i){M.isHidden(e.closest(t).querySelector(":scope > "+i))?(e.closest(t).classList.remove("current"),e.closest(t).querySelector(":scope > "+o)?.classList.remove("icon-rotate-90")):(e.closest(t).classList.add("current"),e.closest(t).querySelector(":scope > "+o)?.classList.add("icon-rotate-90"))})(r,s,a),M.parents(r,s).forEach(function(e){l(e,s,a)})},{init:function(e){if((e=M.getSelector(e,!1)).length<1)return!0;M.getVars.headerWrapHeight=M.getVars.elHeaderWrap?.offsetHeight,t=[].slice.call(M.getVars.elPrimaryMenus).filter(function(e){return e.matches(".on-click")}),i=document.querySelectorAll(".top-links.on-click"),n=[],t.forEach(function(e){n.push(e.querySelector(".current"))}),r=[],i.forEach(function(e){r.push(e.querySelector(".current"))}),document.addEventListener("click",function(e){e.target.closest(".primary-menu-trigger")||e.target.closest(".primary-menu")||(I(),O()),e.target.closest(".primary-menu.on-click")||(t.forEach(function(e){e.querySelectorAll(".menu-item").forEach(function(e){e.classList.remove("current")})}),n?.forEach(function(e){e?.classList.add("current")})),e.target.closest(".top-links.on-click")||(i.forEach(function(e){e.querySelectorAll(".top-links-sub-menu,.top-links-section").forEach(function(e){e.classList.remove("d-block")})}),i.forEach(function(e){e.querySelectorAll(".top-links-item").forEach(function(e){e.classList.remove("current")})}),r?.forEach(function(e){e?.classList.add("current")}))},!1),document.querySelectorAll(".menu-item").forEach(function(e){var t;0<e.querySelectorAll(".sub-menu-container").length&&e.classList.add("sub-menu"),!e.classList.contains("mega-menu-title")&&0<e.querySelectorAll(".sub-menu-container").length&&e.querySelectorAll(".sub-menu-trigger").length<1&&((t=document.createElement("button")).classList="sub-menu-trigger fa-solid fa-chevron-right",t.innerHTML='<span class="visually-hidden">Open Sub-Menu</span>',e.append(t))}),I(),document.querySelectorAll(".mega-menu-content, .sub-menu-container").forEach(function(e){e.querySelectorAll(".menu-item").forEach(function(e){e=e.querySelector(".menu-link");e?.querySelector("i")&&e.querySelector("span")?.classList.add("menu-subtitle-icon-offset")})}),ie(),_(),function(){if(!M.getVars.elBody.classList.contains("is-expanded-menu"))return;var i=getComputedStyle(M.getVars.elHeader).getPropertyValue("--cnvs-primary-menu-submenu-display-speed")||666;isNaN(i.split("ms")[0])?isNaN(i.split("s")[0])||(i=1e3*i.split("s")[0]):i=i.split("ms")[0],[].slice.call(M.getVars.elPrimaryMenus).filter(function(e){return!e.matches(".on-click")}).forEach(function(e){e.querySelectorAll(".sub-menu").forEach(function(e){var t;e.addEventListener("mouseenter",function(){clearTimeout(t),e.classList.add("menu-item-hover"),_(e.querySelectorAll(".mega-menu-content, .sub-menu-container"))}),e.addEventListener("mouseleave",function(){t=setTimeout(function(){e.classList.remove("menu-item-hover")},Number(i))})})})}(),O(),s=M.getVars.elBody.classList,document.querySelectorAll(".primary-menu-trigger").forEach(function(i){i.onclick=function(e){e.preventDefault();var t=i.getAttribute("data-target")||"*";M.filtered(M.getVars.elPrimaryMenus,t).length<1||(s.contains("is-expanded-menu")||M.getVars.elPrimaryMenus.forEach(function(e){0<e.querySelectorAll(".mobile-primary-menu").length?e.matches(t)&&e.querySelectorAll(".mobile-primary-menu").forEach(function(e){e.classList.toggle("d-block")}):e.matches(t)&&e.querySelectorAll(".menu-container").forEach(function(e){e.classList.toggle("d-block")})}),i.classList.toggle("primary-menu-trigger-active"),M.getVars.elPrimaryMenus.forEach(function(e){e.matches(t)&&e.classList.toggle("primary-menu-active")}),s.toggle("primary-menu-open"),"*"!=t?s.toggle("primary-menu-open-"+t.replace(/[^a-zA-Z0-9-]/g,"")):s.toggle("primary-menu-open-all"))}}),function(){if(!M.getVars.elBody.classList.contains("is-expanded-menu"))return document.querySelectorAll(".mega-menu-content, .top-search-form").forEach(function(e){e.style.width=""});var t,i=document.querySelector(".mega-menu:not(.mega-menu-full):not(.mega-menu-small) .mega-menu-content")?.closest(".header-row").offsetWidth;0<M.getVars.elHeader.querySelectorAll(".container-fullwidth").length&&document.querySelectorAll(".mega-menu:not(.mega-menu-full):not(.mega-menu-small) .mega-menu-content").forEach(function(e){e.style.width=i+"px"}),document.querySelectorAll(".mega-menu:not(.mega-menu-full):not(.mega-menu-small) .mega-menu-content, .top-search-form").forEach(function(e){e.style.width=i+"px"}),M.getVars.elHeader.classList.contains("full-header")&&document.querySelectorAll(".mega-menu:not(.mega-menu-full):not(.mega-menu-small) .mega-menu-content").forEach(function(e){e.style.width=i+"px"}),M.getVars.elHeader.classList.contains("floating-header")&&(t=getComputedStyle(document.querySelector("#header")).getPropertyValue("--cnvs-header-floating-padding"),document.querySelectorAll(".mega-menu:not(.mega-menu-full):not(.mega-menu-small) .mega-menu-content").forEach(function(e){e.style.width=i+2*Number(t.split("px")[0])+"px"}))}();var t,i,n,r,s,a=M.viewport().width;M.getVars.resizers.menus=function(){a!=M.viewport().width&&L.menus()},M.getVars.recalls.menureset=function(){I(),O()}}}),PageMenu:{init:function(e){var t,i,n;return(e=M.getSelector(e,!1)).length<1||(e=(t=M.getVars.elPageMenu).querySelector("#page-menu-wrap"),(i=t.querySelector(".page-menu-wrap-clone"))||((i=document.createElement("div")).classList="page-menu-wrap-clone",e.parentNode.insertBefore(i,e.nextSibling),i=t.querySelector(".page-menu-wrap-clone")),i.style.height=t.querySelector("#page-menu-wrap").offsetHeight+"px",t.querySelector("#page-menu-trigger").onclick=function(e){e.preventDefault(),M.getVars.elBody.classList.remove("top-search-open"),t.classList.toggle("page-menu-open")},t.querySelector("nav").onclick=function(e){M.getVars.elBody.classList.remove("top-search-open"),document.getElementById("top-cart").classList.remove("top-cart-open")},document.addEventListener("click",function(e){e.target.closest("#page-menu")||t.classList.remove("page-menu-open")},!1),!(!t.classList.contains("no-sticky")&&!t.classList.contains("dots-menu")))||(n=M.getVars.elHeader.classList.contains("no-sticky")?0:("false"==M.getVars.elHeader.getAttribute("data-sticky-shrink")?getComputedStyle(M.getVars.elHeader).getPropertyValue("--cnvs-header-height"):getComputedStyle(M.getVars.elHeader).getPropertyValue("--cnvs-header-height-shrink")).split("px")[0],t.style.setProperty("--cnvs-page-submenu-sticky-offset",n+"px"),setTimeout(function(){M.getVars.pageMenuOffset=M.offset(t).top-n,j(M.getVars.pageMenuOffset)},500),window.addEventListener("scroll",function(){j(M.getVars.pageMenuOffset)},{passive:!0}),void(M.getVars.resizers.pagemenu=function(){setTimeout(function(){M.getVars.pageMenuOffset=M.offset(t).top-n,j(M.getVars.pageMenuOffset)},250)}))}},SliderDimensions:{init:function(e){if((e=M.getSelector(e,!1)).length<1)return!0;var t=document.querySelector(".slider-element"),e=document.querySelector(".slider-parallax"),i=M.getVars.elBody,n=e?.offsetHeight,r=e?.offsetWidth,s=e?.querySelector(".slider-inner"),a=t.querySelector(".swiper-wrapper"),o=t.querySelector(".swiper-slide"),l=t.classList.contains("h-auto")||t.classList.contains("min-vh-0");i.classList.contains("device-up-lg")?(setTimeout(function(){s&&(s.style.height=n+"px"),l&&(n=t.querySelector(".slider-inner")?.querySelector("*").offsetHeight,t.style.height=n+"px",s)&&(s.style.height=n+"px")},500),l&&o&&(o=(o=o.querySelector("*")).classList.contains("container")||o.classList.contains("container-fluid")?o.querySelector("*"):o).offsetHeight>a.offsetHeight&&(a.style.height="auto"),i.classList.contains("side-header")&&s&&(s.style.width=r+"px"),i.classList.contains("stretched")||(r=M.getVars.elWrapper.offsetWidth,s&&(s.style.width=r+"px"))):(a&&(a.style.height=""),e&&(e.style.height=""),s&&(s.style.width="",s.style.height="")),M.getVars.resizers.sliderdimensions=function(){L.sliderDimensions()}}},SliderMenuClass:{init:function(e){return(e=M.getSelector(e,!1)).length<1||!M.getVars.elBody.classList.contains("is-expanded-menu")||(!M.getVars.elHeader.classList.contains("ignore-slider")&&(M.getVars.elBody.classList.contains("is-expanded-menu")||M.getVars.elHeader.classList.contains("transparent-header-responsive")&&!M.getVars.elBody.classList.contains("primary-menu-open"))&&(e=M.getVars.elSlider.querySelector(".swiper-slide-active"),te(e)),!M.getVars.elHeader.classList.contains("ignore-slider")&&(M.getVars.elBody.classList.contains("is-expanded-menu")||M.getVars.elHeader.classList.contains("transparent-header-responsive")&&!M.getVars.elBody.classList.contains("primary-menu-open"))&&(e=M.getVars.elSlider.querySelector(".active-revslide"),te(e)),L.setBSTheme(),void(M.getVars.resizers.slidermenuclass=function(){L.sliderMenuClass()}))}},TopSearch:{init:function(e){if((e=M.getSelector(e,!1)).length<1)return!0;var t=document.querySelector(".top-search-form");if(!t)return!0;t.closest(".header-row")?.classList.add("top-search-parent");var i,n=document.querySelector(".top-search-parent");e[0].onclick=function(e){e.stopPropagation(),e.preventDefault(),clearTimeout(i),M.getVars.elBody.classList.toggle("top-search-open"),document.getElementById("top-cart")?.classList.remove("top-cart-open"),M.getVars.recalls.menureset(),M.getVars.elBody.classList.contains("top-search-open")?n?.classList.add("position-relative"):i=setTimeout(function(){n?.classList.remove("position-relative")},500),M.getVars.elBody.classList.remove("primary-menu-open"),M.getVars.elPageMenu&&M.getVars.elPageMenu.classList.remove("page-menu-open"),M.getVars.elBody.classList.contains("top-search-open")&&t.querySelector("input").focus()},document.addEventListener("click",function(e){e.target.closest(".top-search-form")||(M.getVars.elBody.classList.remove("top-search-open"),i=setTimeout(function(){n?.classList.remove("position-relative")},500))},!1)}},TopCart:{init:function(t){return(t=M.getSelector(t,!1)).length<1||!!document.getElementById("top-cart-trigger")&&(document.getElementById("top-cart-trigger").onclick=function(e){e.stopPropagation(),e.preventDefault(),t[0].classList.toggle("top-cart-open")},void document.addEventListener("click",function(e){e.target.closest("#top-cart")||t[0].classList.remove("top-cart-open")},!1))}},SidePanel:{init:function(e){if((e=M.getSelector(e,!1)).length<1)return!0;var t=M.getVars.elBody.classList;document.addEventListener("click",function(e){e.target.closest("#side-panel")||e.target.closest(".side-panel-trigger")||t.remove("side-panel-open")},!1),document.querySelectorAll(".side-panel-trigger").forEach(function(e){e.onclick=function(e){e.preventDefault(),t.toggle("side-panel-open"),t.contains("device-touch")&&t.contains("side-push-panel")&&t.toggle("ohidden")}})}},AdaptiveColorScheme:{init:function(e){var t,i,n,r;return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-adaptivecolorscheme",event:"pluginAdaptiveColorSchemeReady"}),(e=M.getSelector(e,!1)).length<1)||(t=document.querySelector("[data-adaptive-light-class],[data-adaptive-dark-class]"),M.getVars.elBody.contains(t)&&(i=t.getAttribute("data-adaptive-light-class"),n=t.getAttribute("data-adaptive-dark-class")),r=function(e){e?M.getVars.elBody.classList.add("dark"):M.getVars.elBody.classList.remove("dark"),M.getVars.elBody.contains(t)&&(e?(t.classList.remove(i),t.classList.add(n)):(t.classList.remove(n),t.classList.add(i))),L.setBSTheme()},void(window.matchMedia&&(r(window.matchMedia("(prefers-color-scheme: dark)").matches),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",function(e){r(e.matches)}))))}},PortfolioAjax:(g=function(e){var t,i=K(e),e=ee(e),n=document.getElementById("portfolio-navigation");!document.getElementById("prev-portfolio")&&e&&((t=document.createElement("a")).setAttribute("href","#"),t.setAttribute("id","prev-portfolio"),t.setAttribute("data-id",e),t.innerHTML='<i class="bi-arrow-left"></i>',t)&&n?.insertBefore(t,document.getElementById("close-portfolio")),!document.getElementById("next-portfolio")&&i&&((e=document.createElement("a")).setAttribute("href","#"),e.setAttribute("id","next-portfolio"),e.setAttribute("data-id",i),e.innerHTML='<i class="bi-arrow-right"></i>',e)&&n?.insertBefore(e,document.getElementById("close-portfolio"))},y=function(i,e,t){t=t||!1;var n=K(i),r=ee(i);0==t&&(v(),M.getVars.elBody.classList.add("portfolio-ajax-loading"),t=document.getElementById(i).getAttribute("data-loader"),fetch(t).then(function(e){return e.text()}).then(function(e){M.getVars.portfolioAjax.container.innerHTML=e;var e=document.getElementById("next-portfolio"),t=document.getElementById("prev-portfolio");(e?.classList.add("d-none"),t?.classList.add("d-none"),n&&(e?.setAttribute("data-id",n),e?.classList.remove("d-none")),r&&(t?.setAttribute("data-id",r),t?.classList.remove("d-none")),e=i,M.getVars.portfolioAjax.prevItem=document.getElementById(e),g(e),document.querySelectorAll("#next-portfolio, #prev-portfolio").forEach(function(t){t.onclick=function(e){e.preventDefault(),v();e=t.getAttribute("data-id");document.getElementById(e).classList.add("portfolio-active"),y(e,M.getVars.portfolioAjax.prevItem)}}),document.getElementById("close-portfolio").onclick=function(e){e.preventDefault(),v()},M.getVars.portfolioAjax.container.querySelectorAll("img").length<1)?b():(M.imagesLoaded(M.getVars.portfolioAjax.container),M.getVars.portfolioAjax.container.addEventListener("CanvasImagesLoaded",function(){b()}));M.getVars.portfolioAjax.items.forEach(function(e){e.classList.remove("portfolio-active")}),document.getElementById(i).classList.add("portfolio-active")}).catch(function(e){console.warn("Something went wrong.",e)}))},v=function(){M.getVars.portfolioAjax.wrapper&&32<M.getVars.portfolioAjax.wrapper.offsetHeight&&(M.getVars.elBody.classList.remove("portfolio-ajax-loading"),M.getVars.portfolioAjax.wrapper.classList.remove("portfolio-ajax-opened"),M.getVars.portfolioAjax.wrapper.querySelector("#portfolio-ajax-single").addEventListener("transitionend",function(){M.getVars.portfolioAjax.wrapper.querySelector("#portfolio-ajax-single").remove()}),M.getVars.portfolioAjax.items.forEach(function(e){e.classList.remove("portfolio-active")}))},b=function(){M.getVars.portfolioAjax.container.style.display="block",M.getVars.portfolioAjax.wrapper.classList.add("portfolio-ajax-opened"),M.getVars.elBody.classList.remove("portfolio-ajax-loading"),setTimeout(function(){M.runContainerModules(M.getVars.portfolioAjax.wrapper),M.scrollTo(M.getVars.portfolioAjax.wrapperOffset-M.getVars.topScrollOffset-60,!1,!1)},500)},{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-ajaxportfolio",event:"pluginAjaxPortfolioReady"}),(e=M.getSelector(e,!1)).length<1)||(M.getVars.portfolioAjax.items=e[0].querySelectorAll(".portfolio-item"),M.getVars.portfolioAjax.wrapper=document.getElementById("portfolio-ajax-wrap"),M.getVars.portfolioAjax.wrapperOffset=M.offset(M.getVars.portfolioAjax.wrapper).top,M.getVars.portfolioAjax.container=document.getElementById("portfolio-ajax-container"),M.getVars.portfolioAjax.loader=document.getElementById("portfolio-ajax-loader"),M.getVars.portfolioAjax.prevItem="",void e[0].querySelectorAll(".portfolio-ajax-trigger").forEach(function(e){e.querySelector("i:nth-child(2)")||(e.innerHTML+='<i class="bi-arrow-repeat icon-spin"></i>'),e.onclick=function(e){e.preventDefault();var t=e.target.closest(".portfolio-item").getAttribute("id");e.target.closest(".portfolio-item").classList.contains("portfolio-active")||y(t,M.getVars.portfolioAjax.prevItem)}}))}}),Cursor:{init:function(e){M.initFunction({class:"has-plugin-cursor",event:"pluginCursorReady"});function t(e,t){var i=document.createElement("div");return i.classList.add(e.split(".")[1]),t.prepend(i),document.querySelector(e)}var i=document.querySelector(".cnvs-cursor"),n=document.querySelector(".cnvs-cursor-follower"),r=document.querySelector(".cnvs-cursor-dot"),i=i||t(".cnvs-cursor",M.getVars.elWrapper);n||t(".cnvs-cursor-follower",i),r||t(".cnvs-cursor-dot",i);document.addEventListener("mousemove",function(e){i.style.transform="translate3d("+e.clientX+"px,"+e.clientY+"px,0px)"}),document.querySelectorAll("a,button").forEach(function(e){e.addEventListener("mouseenter",function(){i.classList.add("cnvs-cursor-action")}),e.addEventListener("mouseleave",function(){i.classList.remove("cnvs-cursor-action")})}),document.querySelectorAll(".cursor-disable").forEach(function(e){e.addEventListener("mouseenter",function(){i.classList.add("cnvs-cursor-disabled")}),e.addEventListener("mouseleave",function(){i.classList.remove("cnvs-cursor-disabled")})})}},Bootstrap:{init:function(e){M.isFuncTrue(function(){return"undefined"!=typeof bootstrap}).then(function(e){if(!e)return!1;M.initFunction({class:"has-plugin-bootstrap",event:"pluginBootstrapReady"})})}},ResizeVideos:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().fitVids}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-fitvids",event:"pluginFitVidsReady"}),(t=M.getSelector(t)).length<1||void t.parent().fitVids({customSelector:'iframe[src*="youtube"],iframe[src*="vimeo"],iframe[src*="dailymotion"],iframe[src*="maps.google.com"],iframe[src*="google.com/maps"]',ignore:".no-fv"}))})}},PageTransition:{init:function(e){var i=M.getVars.elBody;if(M.initFunction({class:"has-plugin-pagetransition",event:"pluginPageTransitionReady"}),i.classList.contains("no-transition"))return!0;i.classList.contains("page-transition")||i.classList.add("page-transition"),window.onpageshow=function(e){e.persisted&&window.location.reload()};function t(){function e(){n.remove(),"fadeIn"!=r&&(M.getVars.elWrapper.classList.remove("not-animated"),(r+" animated").split(" ").forEach(function(e){M.getVars.elWrapper.classList.add(e)}))}function t(){i.classList.remove("page-transition"),setTimeout(function(){(r+" animated").split(" ").forEach(function(e){M.getVars.elWrapper.classList.remove(e)})},333),setTimeout(function(){M.getVars.elWrapper.style.removeProperty("--cnvs-animate-duration")},666)}return r.split(" ").forEach(function(e){n.classList.remove(e)}),n.classList.add("fadeOut","animated"),n.addEventListener("transitionend",e),n.addEventListener("animationend",e),M.getVars.elWrapper.addEventListener("transitionend",t),M.getVars.elWrapper.addEventListener("animationend",t),!0}var n=document.querySelector(".page-transition-wrap"),r=i.getAttribute("data-animation-in")||"fadeIn",s=i.getAttribute("data-speed-in")||1e3,a=!1,o=i.getAttribute("data-loader-timeout"),l=i.getAttribute("data-loader"),c=i.getAttribute("data-loader-color"),d=i.getAttribute("data-loader-html"),u="",p="",o=o?(a=!0,Number(o)):a=!1,u="2"==l?'<div class="css3-spinner-flipper"></div>':"3"==l?'<div class="css3-spinner-double-bounce1"></div><div class="css3-spinner-double-bounce2"></div>':"4"==l?'<div class="css3-spinner-rect1"></div><div class="css3-spinner-rect2"></div><div class="css3-spinner-rect3"></div><div class="css3-spinner-rect4"></div><div class="css3-spinner-rect5"></div>':"5"==l?'<div class="css3-spinner-cube1"></div><div class="css3-spinner-cube2"></div>':"6"==l?'<div class="css3-spinner-scaler"></div>':"7"==l?'<div class="css3-spinner-grid-pulse"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>':"8"==l?'<div class="css3-spinner-clip-rotate"><div></div></div>':"9"==l?'<div class="css3-spinner-ball-rotate"><div></div><div></div><div></div></div>':"10"==l?'<div class="css3-spinner-zig-zag"><div></div><div></div></div>':"11"==l?'<div class="css3-spinner-triangle-path"><div></div><div></div><div></div></div>':"12"==l?'<div class="css3-spinner-ball-scale-multiple"><div></div><div></div><div></div></div>':"13"==l?'<div class="css3-spinner-ball-pulse-sync"><div></div><div></div><div></div></div>':"14"==l?'<div class="css3-spinner-scale-ripple"><div></div><div></div><div></div></div>':'<div class="css3-spinner-bounce1"></div><div class="css3-spinner-bounce2"></div><div class="css3-spinner-bounce3"></div>';d='<div class="css3-spinner"'+(p=c?"theme"==c?' style="--cnvs-loader-color:var(--cnvs-themecolor);"':' style="--cnvs-loader-color:'+c+';"':p)+">"+(d=d||u)+"</div>","fadeIn"==r?M.getVars.elWrapper.classList.add("op-1"):M.getVars.elWrapper.classList.add("not-animated"),n||((l=document.createElement("div")).classList.add("page-transition-wrap"),l.innerHTML=d,i.prepend(l),n=document.querySelector(".page-transition-wrap")),s&&(M.getVars.elWrapper.style.setProperty("--cnvs-animate-duration",Number(s)+"ms"),"fadeIn"==r)&&n.style.setProperty("--cnvs-animate-duration",Number(s)+"ms");"complete"===document.readyState&&t(),a&&setTimeout(t,o),window.addEventListener("load",function(){t()})}},LazyLoad:{init:function(e){if(M.getSelector(e,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof LazyLoad}).then(function(e){if(!e)return!1;M.initFunction({class:"has-plugin-lazyload",event:"pluginlazyLoadReady"}),window.lazyLoadInstance=new LazyLoad({threshold:0,elements_selector:".lazy:not(.lazy-loaded)",class_loading:"lazy-loading",class_loaded:"lazy-loaded",class_error:"lazy-error",callback_loaded:function(e){M.addEvent(window,"lazyLoadLoaded"),"true"==e.parentNode.getAttribute("data-lazy-container")&&M.runContainerModules(e.parentNode)}})})}},DataClasses:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-dataclasses",event:"pluginDataClassesReady"}),(e=M.getSelector(e,!1,!1)).length<1)||(e.forEach(function(t){var e=t.getAttribute("data-class");0<(e=e.split(/ +/)).length&&e.forEach(function(e){e=e.split(":");M.getVars.elBody.classList.contains("dark"==e[0]?e[0]:"device-"+e[0])?t.classList.add(e[1]):t.classList.remove(e[1])})}),void(M.getVars.resizers.dataClasses=function(){setTimeout(function(){w.dataClasses()},333)}))}},DataHeights:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-dataheights",event:"pluginDataHeightsReady"}),(e=M.getSelector(e,!1,!1)).length<1)||(e.forEach(function(e){var t,i=e.getAttribute("data-height-xs")||"auto",n=e.getAttribute("data-height-sm")||i,r=e.getAttribute("data-height-md")||n,s=e.getAttribute("data-height-lg")||r,a=e.getAttribute("data-height-xl")||s,o=e.getAttribute("data-height-xxl")||a,l=M.getVars.elBody.classList;l.contains("device-xs")?t=i:l.contains("device-sm")?t=n:l.contains("device-md")?t=r:l.contains("device-lg")?t=s:l.contains("device-xl")?t=a:l.contains("device-xxl")&&(t=o),t&&(e.style.height=isNaN(t)?t:t+"px")}),void(M.getVars.resizers.dataHeights=function(){w.dataHeights()}))}},Lightbox:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().magnificPopup}).then(function(e){var l;return!!e&&(M.initFunction({class:"has-plugin-lightbox",event:"pluginLightboxReady"}),(t=M.getSelector(t)).length<1||(l='<i class="bi-x-lg"></i>',void t.each(function(){var e,t=jQuery(this),i=t.attr("data-lightbox"),n=t.attr("data-close-button")||"outside",r=t.attr("data-disable-under")||600,s=t.attr("data-content-position")||"auto",a=t.attr("data-zoom"),o=jQuery("body"),n="inside"==n,s="fixed"==s;"image"==i&&(e={type:"image",tLoading:"",closeOnContentClick:!0,closeBtnInside:n,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0},closeIcon:l},"true"==a&&(e.zoom={enabled:!0,duration:300,easing:"ease-in-out",opener:function(e){return e.is("img")?e:e.find("img")}}),t.magnificPopup(e)),"gallery"==i&&(t.find('a[data-lightbox="gallery-item"]').parent(".clone").hasClass("clone")&&t.find('a[data-lightbox="gallery-item"]').parent(".clone").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),t.find('a[data-lightbox="gallery-item"]').parents(".cloned").hasClass("cloned")&&t.find('a[data-lightbox="gallery-item"]').parents(".cloned").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),t.magnificPopup({delegate:t.hasClass("grid-container-filterable")?'a.grid-lightbox-filtered[data-lightbox="gallery-item"]':'a[data-lightbox="gallery-item"]',type:"image",tLoading:"",closeOnContentClick:!0,closeBtnInside:n,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0},gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},closeIcon:l})),"iframe"==i&&t.magnificPopup({disableOn:Number(r),type:"iframe",tLoading:"",removalDelay:160,preloader:!1,closeBtnInside:n,fixedContentPos:s,closeIcon:l}),"inline"==i&&t.magnificPopup({type:"inline",tLoading:"",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:n,fixedContentPos:!0,overflowY:"scroll",closeIcon:l}),"ajax"==i&&t.magnificPopup({type:"ajax",tLoading:"",closeBtnInside:n,autoFocusLast:!1,closeIcon:l,callbacks:{ajaxContentAdded:function(e){M.runContainerModules(document.querySelector(".mfp-content"))},open:function(){o.addClass("ohidden")},close:function(){o.removeClass("ohidden")}}}),"ajax-gallery"==i&&t.magnificPopup({delegate:'a[data-lightbox="ajax-gallery-item"]',type:"ajax",tLoading:"",closeBtnInside:n,closeIcon:l,autoFocusLast:!1,gallery:{enabled:!0,preload:0,navigateByImgClick:!1},callbacks:{ajaxContentAdded:function(e){M.runContainerModules(document.querySelector(".mfp-content"))},open:function(){o.addClass("ohidden")},close:function(){o.removeClass("ohidden")}}}),t.on("mfpOpen",function(){var e=jQuery.magnificPopup.instance.currItem.el,t=jQuery(e).attr("data-lightbox-class"),e=jQuery(e).attr("data-lightbox-bg-class");""!=t&&jQuery(jQuery.magnificPopup.instance.container).addClass(t),""!=e&&jQuery(jQuery.magnificPopup.instance.bgOverlay).addClass(e)})})))})}},Modal:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().magnificPopup}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-modal",event:"pluginModalReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var e=jQuery(this),t=e.attr("data-target"),i="__cnvs_"+t.split("#")[1],n=e.attr("data-delay")||500,r=e.attr("data-timeout"),s=e.attr("data-animate-in"),a=e.attr("data-animate-out"),o=e.attr("data-bg-click"),l=e.attr("data-close-btn"),c=e.attr("data-cookies"),d=e.attr("data-cookie-path"),u=e.attr("data-cookie-expire");if("false"==c&&M.cookie.remove(i),"true"==c){e=M.cookie.get(i);if(void 0!==e&&"0"==e)return!0}o="false"!=o,l="false"!=l,n=Number(n)+500,setTimeout(function(){jQuery.magnificPopup.open({items:{src:t},type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:!1,fixedContentPos:!0,closeOnBgClick:o,showCloseBtn:l,removalDelay:500,closeIcon:'<i class="bi-x-lg"></i>',callbacks:{open:function(){""!=s&&jQuery(t).addClass(s+" animated")},beforeClose:function(){""!=a&&jQuery(t).removeClass(s).addClass(a)},afterClose:function(){""==s&&""==a||jQuery(t).removeClass(s+" "+a+" animated")}}},0)},n),document.querySelector(".modal-cookies-close")&&(document.querySelector(".modal-cookies-close").onclick=function(){var e;jQuery.magnificPopup.close(),"true"==c&&(e={},u&&(e.expires=Number(u)),d&&(e.path=d),M.cookie.set(i,"0",e))}),""!=r&&setTimeout(function(){jQuery.magnificPopup.close()},n+Number(r))}))})}},Animations:{init:function(e){var t;return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-animations",event:"pluginAnimationsReady"}),(e=M.getSelector(e,!1)).length<1)||(t=new IntersectionObserver(function(e,c){e.forEach(function(e){var t=e.target,i=t.getAttribute("data-animate"),n=t.getAttribute("data-animate-out"),r=t.getAttribute("data-delay"),s=t.getAttribute("data-delay-out"),a=0,o=3e3,l=i.split(" ");return!!t.closest(".fslider.no-thumbs-animate")||!!t.closest(".swiper-slide")||(a=r?Number(r)+500:500,n&&s&&(o=Number(s)+a),t.classList.contains("animated")||(t.classList.add("not-animated"),0<e.intersectionRatio&&(setTimeout(function(){t.classList.remove("not-animated"),l.forEach(function(e){t.classList.add(e)}),t.classList.add("animated")},a),n)&&setTimeout(function(){l.forEach(function(e){t.classList.remove(e)}),n.split(" ").forEach(function(e){t.classList.add(e)})},o)),void(t.classList.contains("not-animated")||c.unobserve(t)))})}),void[].filter.call(document.querySelectorAll("[data-animate]"),function(e){return!void e.classList.contains("animated")}).forEach(function(e){return t.observe(e)}))}},HoverAnimations:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-hoveranimation",event:"pluginHoverAnimationReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(e){var t=e.getAttribute("data-hover-animate"),i=e.getAttribute("data-hover-animate-out")||"fadeOut",n=e.getAttribute("data-hover-speed")||600,r=e.getAttribute("data-hover-delay"),s=e.getAttribute("data-hover-parent"),a=e.getAttribute("data-hover-reset")||"false",o=e.getAttribute("data-hover-mobile")||"true";if("true"!=o)if("false"==o){if(!M.getVars.elBody.classList.contains("device-up-lg"))return!0}else if(!M.getVars.elBody.classList.contains("device-up-"+o))return!0;e.classList.add("not-animated");var s=s?"self"==s?e:e.closest(s):e.closest(".bg-overlay")?e.closest(".bg-overlay"):e,o=0,l=(r&&(o=Number(r)),n&&(e.style.animationDuration=Number(n)+"ms"),{element:e,elAnimate:t,elAnimateOut:i,elSpeed:n,elDelayT:o,elParent:s,elReset:a});s.addEventListener("mouseenter",function(){var t;t=l,clearTimeout(m),f=setTimeout(function(){t.element.classList.add("not-animated"),(t.elAnimateOut+" not-animated").split(" ").forEach(function(e){t.element.classList.remove(e)}),(t.elAnimate+" animated").split(" ").forEach(function(e){t.element.classList.add(e)})},t.elDelayT)},!1),s.addEventListener("mouseleave",function(){var t;(t=l).element.classList.add("not-animated"),(t.elAnimate+" not-animated").split(" ").forEach(function(e){t.element.classList.remove(e)}),(t.elAnimateOut+" animated").split(" ").forEach(function(e){t.element.classList.add(e)}),"true"==t.elReset&&(m=setTimeout(function(){(t.elAnimateOut+" animated").split(" ").forEach(function(e){t.element.classList.remove(e)}),t.element.classList.add("not-animated")},Number(t.elSpeed))),clearTimeout(f)},!1)})}},Grid:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&"undefined"!=typeof Isotope}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-isotope",event:"pluginIsotopeReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var e=jQuery(this),t=e.attr("data-transition")||"0.65s",i=e.attr("data-layout")||"masonry",n=e.attr("data-stagger")||0,r=e.attr("data-basewidth")||".portfolio-item:not(.wide):eq(0)",s=!0,a=(A(e),M.getVars.isRTL&&(s=!1),e.hasClass("portfolio")||e.hasClass("post-timeline")?e.filter(":not(.has-init-isotope)").isotope({layoutMode:i,isOriginLeft:s,transitionDuration:t,stagger:Number(n),percentPosition:!0,masonry:{columnWidth:e.find(r)[0]}}):e.filter(":not(.has-init-isotope)").isotope({layoutMode:i,isOriginLeft:s,transitionDuration:t,stagger:Number(n),percentPosition:!0}),e.data("isotope")&&e.addClass("has-init-isotope"),setInterval(function(){e.find(".lazy.lazy-loaded").length==e.find(".lazy").length&&(setTimeout(function(){A(e)},666),clearInterval(a))},1e3));window.addEventListener("lazyLoadLoaded",function(){A(e)}),window.addEventListener("load",function(){A(e)}),M.getVars.resizers.isotope=function(){A(e)}}))})}},Filter:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&"undefined"!=typeof Isotope}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-isotope-filter",event:"pluginGridFilterReady"}),(t=M.getSelector(t)).length<1||(t.each(function(){var t=jQuery(this),i=t.attr("data-container"),n=t.attr("data-active-class"),e=t.attr("data-default"),n=n||"activeFilter";if(!jQuery(i).hasClass("grid-container"))return!1;t.find("a").off("click").on("click",function(){t.find("li").removeClass(n),jQuery(this).parent("li").addClass(n);var e=jQuery(this).attr("data-filter");return jQuery(i).isotope({filter:e}),!1}),e&&(t.find("li").removeClass(n),t.find('[data-filter="'+e+'"]').parent("li").addClass(n),jQuery(i).isotope({filter:e})),jQuery(i).on("arrangeComplete layoutComplete",function(e,t){jQuery(i).addClass("grid-container-filterable"),"gallery"==jQuery(i).attr("data-lightbox")&&(jQuery(i).find("[data-lightbox]").removeClass("grid-lightbox-filtered"),t.forEach(function(e){jQuery(e.element).find("[data-lightbox]").addClass("grid-lightbox-filtered")})),w.lightbox()})}),void jQuery(".grid-shuffle").off("click").on("click",function(){var e=jQuery(this).attr("data-container");if(!jQuery(e).hasClass("grid-container"))return!1;jQuery(e).isotope("shuffle")})))})}},CanvasSlider:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return void 0!==Swiper}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-swiper",event:"pluginSwiperReady"}),(t=M.getSelector(t,!1)).length<1||void t.forEach(function(i){var e,t,n,r,s,a,o,l,c,d,u,p,h,f,m,g,y,v,b;return!i.classList.contains("swiper_wrapper")||i.querySelectorAll(".swiper-slide").length<1||(b=i.getAttribute("data-direction")||"horizontal",e=i.getAttribute("data-speed")||300,a=i.getAttribute("data-autoplay"),l=i.getAttribute("data-autoplay-disable-on-interaction")||!0,o=i.getAttribute("data-hover"),c=i.getAttribute("data-loop"),f=i.getAttribute("data-start")||1,t=i.getAttribute("data-effect")||"slide",u=i.getAttribute("data-grab"),d=i.getAttribute("data-parallax"),p=i.getAttribute("data-autoheight"),n=i.querySelector(".slide-number-total"),r=i.querySelector(".slide-number-current"),h=i.getAttribute("data-video-autoplay"),i.getAttribute("data-settings"),a=a?Number(a):999999999,o="true"==o,l="false"!=l,c="true"==c,d="true"==d,u="false"!=u,p="true"==p,h="false"!=h,f="random"==f?Math.floor(Math.random()*i.querySelectorAll(".swiper-slide:not(.swiper-slide-duplicate)").length):Number(f)-1,m=i.querySelector(".swiper-pagination")?(s=i.querySelector(".swiper-pagination"),!0):(s="",!1),g=i.querySelector(".slider-arrow-right"),y=i.querySelector(".slider-arrow-left"),v=i.querySelector(".swiper-scrollbar"),b=new Swiper(i.querySelector(".swiper-parent"),{direction:b,speed:Number(e),autoplay:{delay:a,pauseOnMouseEnter:o,disableOnInteraction:l},loop:c,initialSlide:f,effect:t,parallax:d,slidesPerView:1,grabCursor:u,autoHeight:p,pagination:{el:s,clickable:m},navigation:{prevEl:y,nextEl:g},scrollbar:{el:v},on:{afterInit:function(e){var t;L.sliderDimensions(),0<i.querySelectorAll(".yt-bg-player").length&&(i.querySelectorAll(".yt-bg-player").forEach(function(e){e.setAttribute("data-autoplay","false"),e.classList.remove("customjs")}),w.youtubeBgVideo(),(t=jQuery(".swiper-slide-active").find(".yt-bg-player:not(.customjs)")).on("YTPReady",function(){setTimeout(function(){t.filter(".mb_YTPlayer").YTPPlay()},1200)})),document.querySelectorAll(".swiper-slide-active [data-animate]").forEach(function(t){var e,i=t.getAttribute("data-delay"),n=0,n=i?Number(i)+750:750;t.classList.contains("animated")||(t.classList.add("not-animated"),e=t.getAttribute("data-animate"),setTimeout(function(){t.classList.remove("not-animated"),(e+" animated").split(" ").forEach(function(e){t.classList.add(e)})},n))}),i.querySelectorAll("[data-animate]").forEach(function(t){var e=t.getAttribute("data-animate");if(t.closest(".swiper-slide").classList.contains("swiper-slide-active"))return!0;(e+" animated").split(" ").forEach(function(e){t.classList.remove(e)}),t.classList.add("not-animated")}),p&&setTimeout(function(){e.updateAutoHeight(300)},1e3)},transitionStart:function(e){i.querySelectorAll("[data-animate]").forEach(function(t){var e=t.getAttribute("data-animate");if(t.closest(".swiper-slide").classList.contains("swiper-slide-active"))return!0;(e+" animated").split(" ").forEach(function(e){t.classList.remove(e)}),t.classList.add("not-animated")}),SEMICOLON.Base.sliderMenuClass()},transitionEnd:function(e){r&&(r.innerHTML=1==c?Number(i.querySelector(".swiper-slide.swiper-slide-active").getAttribute("data-swiper-slide-index"))+1:e.activeIndex+1),i.querySelectorAll(".swiper-slide").forEach(function(e){e.querySelector("video")&&1==h&&e.querySelector("video").pause(),e.querySelector(".yt-bg-player.mb_YTPlayer:not(.customjs)")&&jQuery(e).find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPause()}),i.querySelectorAll(".swiper-slide:not(.swiper-slide-active)").forEach(function(e){e.querySelector("video")&&0!=e.querySelector("video").currentTime&&(e.querySelector("video").currentTime=0);e=e.querySelector(".yt-bg-player.mb_YTPlayer:not(.customjs)");e&&jQuery(e).YTPSeekTo(e.getAttribute("data-start"))}),i.querySelector(".swiper-slide.swiper-slide-active").querySelector("video")&&1==h&&i.querySelector(".swiper-slide.swiper-slide-active").querySelector("video").play(),i.querySelector(".swiper-slide.swiper-slide-active").querySelector(".yt-bg-player.mb_YTPlayer:not(.customjs)")&&1==h&&jQuery(i).find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPlay(),i.querySelectorAll(".swiper-slide.swiper-slide-active [data-animate]").forEach(function(t){var e,i=t.getAttribute("data-delay"),n=0,n=i?Number(i)+300:300;t.classList.contains("animated")||(t.classList.add("not-animated"),e=t.getAttribute("data-animate"),setTimeout(function(){t.classList.remove("not-animated"),(e+" animated").split(" ").forEach(function(e){t.classList.add(e)})},n))})}}}),r&&(r.innerHTML=1==c?b.realIndex+1:b.activeIndex+1),void(n&&(n.innerHTML=i.querySelectorAll(".swiper-slide:not(.swiper-slide-duplicate)").length)))}))})}},SliderParallax:{init:function(e){if(M.getSelector(e,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof fastdom}).then(function(e){if(!e)return!1;(r={sliderPx:M.getVars.sliderParallax,body:M.getVars.elBody,header:M.getVars.elHeader,scrollPos:M.getVars.scrollPos,isMobile:t.any(),get height(){return this.sliderPx.el.offsetHeight},get classes(){return this.sliderPx.el.classList}}).sliderPx.el.querySelector(".slider-inner")?E(0,0,r.sliderPx.inner):E(0,0,r.sliderPx.el),E(0,0,r.sliderPx.caption),window.addEventListener("scroll",function(){Z(r),J(r)},{passive:!0}),M.getVars.resizers.sliderparallax=function(){Z(r),J(r)}})}},FlexSlider:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().flexslider}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-flexslider",event:"pluginFlexSliderReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var e=jQuery(this),t=(e.find(".lazy"),e.attr("data-animation")||"slide"),i=e.attr("data-easing")||"swing",n=e.attr("data-direction")||"horizontal",r=e.attr("data-reverse"),s=e.attr("data-slideshow"),a=e.attr("data-pause")||5e3,o=e.attr("data-speed")||600,l=e.attr("data-video"),c=e.attr("data-pagi"),d=e.attr("data-arrows"),u=e.attr("data-arrow-left")||"uil uil-angle-left-b",p=e.attr("data-arrow-right")||"uil uil-angle-right-b",h=e.attr("data-thumbs"),f=e.attr("data-hover"),m=e.attr("data-smooth-height"),g=e.attr("data-touch"),y=!1;"swing"==i&&(i="swing",y=!0),r="true"==r,s="false"!=s,l=l||!1,m="vertical"==n?!1:"false"!=m,c="true"==h?"thumbnails":"false"!=c,d="false"!=d,f="false"!=f,g="false"!=g,e.find(".flexslider").flexslider({selector:".slider-wrap > .slide",animation:t,easing:i,direction:n,reverse:r,slideshow:s,slideshowSpeed:Number(a),animationSpeed:Number(o),pauseOnHover:f,video:l,controlNav:c,directionNav:d,smoothHeight:m,useCSS:y,touch:g,start:function(e){w.animations(),w.lightbox(),jQuery(".flex-prev").html('<i class="'+u+'"></i>'),jQuery(".flex-next").html('<i class="'+p+'"></i>'),setTimeout(function(){0<e.parents(".grid-container.has-init-isotope").length&&e.parents(".grid-container.has-init-isotope").isotope("layout")},1200),"undefined"!=typeof skrollrInstance&&skrollrInstance.refresh()},after:function(e){0<e.parents(".grid-container.has-init-isotope").length&&!e.hasClass("flexslider-grid-relayout")&&(e.parents(".grid-container.has-init-isotope").isotope("layout"),e.addClass("flexslider-grid-relayout")),jQuery(".menu-item:visible").find(".flexslider .slide").resize()}})}))})}},FullVideo:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-html5video",event:"pluginHtml5VideoReady"}),(e=M.getSelector(e,!1,!1)).length<1)||(e.forEach(function(e){var t=e.querySelector("video"),i=e.getAttribute("data-ratio")||"16/9";if(!t)return!0;i=i.split("/"),t.style.left="",t.style.top="";var n=e.offsetWidth,r=e.offsetHeight,s=Number(i[0])*r/Number(i[1]),a=r;s<n&&(s=n,a=Number(i[1])*n/Number(i[0])),t.style.width=s+"px",t.style.height=a+"px",r<a&&(t.style.left="",t.style.top=-(a-r)/2+"px"),n<s&&(t.style.left=-(s-n)/2+"px",t.style.top=""),SEMICOLON.Mobile.any()&&!e.classList.contains("no-placeholder")&&(""!=(i=t.getAttribute("poster"))&&(e.innerHTML+='<div class="video-placeholder" style="background-image: url('+i+');"></div>'),t.classList.add("d-none"))}),void(M.getVars.resizers.html5video=function(){w.html5Video()}))}},YoutubeBG:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().YTPlayer}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-youtubebg",event:"pluginYoutubeBgVideoReady"}),(t=M.getSelector(t,!0,".mb_YTPlayer,.customjs")).length<1||void t.each(function(){var e,t,i=jQuery(this),n=i.attr("data-video"),r=i.attr("data-mute")||!0,s=i.attr("data-ratio")||"16/9",a=i.attr("data-quality")||"hd720",o=i.attr("data-opacity")||1,l=i.attr("data-container")||"parent",c=i.attr("data-optimize")||!0,d=i.attr("data-loop")||!0,u=(i.attr("data-controls"),i.attr("data-volume")||50),p=i.attr("data-start")||0,h=i.attr("data-stop")||0,f=i.attr("data-autoplay")||!0,m=i.attr("data-fullscreen")||!1,g=i.attr("data-coverimage")||"",y=i.attr("data-pauseonblur")||!0,v=i.attr("data-playifvisible")||!1;"false"==r&&(r=!1),"parent"==l&&(l=(e=i.parent()).attr("id")?"#"+e.attr("id"):(t="yt-bg-player-parent-"+Math.floor(1e4*Math.random()),e.attr("id",t),"#"+t)),"false"==c&&(c=!1),"false"==d&&(d=!1),"false"==f&&(f=!1),"true"==m&&(m=!0),"true"==y&&(y=!0),"true"==v&&(v=!0),i.YTPlayer({videoURL:n,mute:r,ratio:s,quality:a,opacity:Number(o),containment:l,optimizeDisplay:c,loop:d,vol:Number(u),startAt:Number(p),stopAt:Number(h),autoPlay:f,realfullscreen:m,showYTLogo:!1,showControls:!1,coverImage:g,stopMovieOnBlur:y,playOnlyIfVisible:v})}))})}},Toggle:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-toggles",event:"pluginTogglesReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var e=jQuery(this),t=e.attr("data-speed")||300;"open"!=e.attr("data-state")?e.children(".toggle-content").hide():e.addClass("toggle-active").children(".toggle-content").slideDown(Number(t)),e.children(".toggle-header").off("click").on("click",function(){return e.toggleClass("toggle-active").children(".toggle-content").slideToggle(Number(t)),!0})}))})}},Accordion:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-accordions",event:"pluginAccordionsReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var t=jQuery(this),e=t.attr("data-state"),i=t.attr("data-active")||1,n=t.attr("data-active-class")||"",r=t.attr("data-collapsible")||"false",s=location.hash,i=Number(i)-1;void 0!==s&&""!=s&&0<(s=t.find(".accordion-header"+s)).length&&(i=s.index()/2),t.find(".accordion-content").hide(),"closed"!=e&&t.find(".accordion-header:eq("+Number(i)+")").addClass("accordion-active "+n).next().show(),t.find(".accordion-header").off("click").on("click",function(){var e=jQuery(this);return e.next().is(":hidden")?(t.find(".accordion-header").removeClass("accordion-active "+n).next().slideUp("normal"),e.toggleClass("accordion-active "+n,!0).next().stop(!0,!0).slideDown("normal",function(){(jQuery("body").hasClass("device-sm")||jQuery("body").hasClass("device-xs"))&&t.hasClass("scroll-on-open")&&M.scrollTo(M.offset(e).top-M.getVars.topScrollOffset-40,800,"easeOutQuad"),M.runContainerModules(e.next()[0])})):"true"==r&&e.toggleClass("accordion-active "+n,!1).next().stop(!0,!0).slideUp("normal"),!1})}))})}},Counter:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().countTo}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-counter",event:"pluginCounterReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var i=jQuery(this),e=i.find("span").attr("data-comma"),t=i.find("span").attr("data-sep")||",",n=i.find("span").attr("data-places")||3,r={comma:e,sep:t,places:Number(n)};i.hasClass("counter-instant")?X(i,r):new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(X(i,r),t.unobserve(e.target))})},{rootMargin:"0px 0px 50px"}).observe(i[0])}))})}},Countdown:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&"undefined"!=typeof moment&&jQuery().countdown}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-countdown",event:"pluginCountdownReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var e,t=jQuery(this),i=t.attr("data-format")||"dHMS",n=t.attr("data-since"),r=t.attr("data-year"),s=t.attr("data-month"),a=t.attr("data-day"),o=t.attr("data-hour"),l=t.attr("data-minute"),c=t.attr("data-second"),d=t.attr("data-redirect");r&&(e=r),s&&s<13?e=e+"-"+(s<10?"0"+s:s):r&&(e+="-01"),a&&a<32?e=e+"-"+(a<10?"0"+a:a):r&&(e+="-01"),s=""!=e?new Date(moment(e)):new Date,o&&o<25&&s.setHours(s.getHours()+Number(o)),l&&l<60&&s.setMinutes(s.getMinutes()+Number(l)),c&&c<60&&s.setSeconds(s.getSeconds()+Number(c)),d=d||!1,"true"==n?t.countdown({since:s,format:i,expiryUrl:d}):t.countdown({until:s,format:i,expiryUrl:d})}))})}},GoogleMaps:{init:function(t){return M.getSelector(t,!1,!1).length<1||(M.getOptions.gmapAPI?(M.loadJS({file:"https://maps.google.com/maps/api/js?key="+M.getOptions.gmapAPI+"&callback=SEMICOLON.Modules.gmap",id:"canvas-gmapapi-js"}),void M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&"undefined"!=typeof google&&jQuery().gMap}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-gmap",event:"pluginGmapReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var e=jQuery(this),t=e.attr("data-latitude"),i=e.attr("data-longitude"),n=e.attr("data-address"),r=e.attr("data-content"),s=e.attr("data-scrollwheel")||!0,a=e.attr("data-maptype")||"ROADMAP",o=e.attr("data-zoom")||12,l=e.attr("data-styles"),c=e.attr("data-markers"),d=e.attr("data-icon"),u=e.attr("data-control-pan")||!1,p=e.attr("data-control-zoom")||!1,h=e.attr("data-control-maptype")||!1,f=e.attr("data-control-scale")||!1,m=e.attr("data-control-streetview")||!1,g=e.attr("data-control-overview")||!1;if(n)t=i=!1;else if(!t&&!i)return console.log("Google Map co-ordinates not entered."),!0;l=l&&JSON.parse(l),"false"==s&&(s=!1),"true"==u&&(u=!0),"true"==p&&(p=!0),"true"==h&&(h=!0),"true"==f&&(f=!0),"true"==m&&(m=!0),"true"==g&&(g=!0),c=c?Function("return "+c)():n?[{address:n,html:r||n}]:[{latitude:t,longitude:i,html:r||!1}],d=d?Function("return "+d)():{image:"https://www.google.com/mapfiles/marker.png",shadow:"https://www.google.com/mapfiles/shadow50.png",iconsize:[20,34],shadowsize:[37,34],iconanchor:[9,34],shadowanchor:[19,34]},e.gMap({controls:{panControl:u,zoomControl:p,mapTypeControl:h,scaleControl:f,streetViewControl:m,overviewMapControl:g},scrollwheel:s,maptype:a,markers:c,icon:d,latitude:t,longitude:i,address:n,zoom:Number(o),styles:l})}))})):(console.warn("No API Key defined for Google Maps! Please set an API Key in js/functions.js File!"),!0))}},RoundedSkills:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().easyPieChart}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-piechart",event:"pluginRoundedSkillReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var i=jQuery(this),e=i.attr("data-size")||140,t=i.attr("data-speed")||2e3,n=i.attr("data-width")||4,r=i.attr("data-color")||"#0093BF",s=i.attr("data-trackcolor")||"rgba(0,0,0,0.04)",a={size:Number(e),speed:Number(t),width:Number(n),color:r,trackcolor:s};i.css({width:e+"px",height:e+"px","line-height":e+"px"}),jQuery("body").hasClass("device-up-lg")?(i.animate({opacity:0},10),new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(i.hasClass("skills-animated")||(setTimeout(function(){i.css({opacity:1})},100),G(i,a),i.addClass("skills-animated")),t.unobserve(e.target))})},{rootMargin:"0px 0px 50px"}).observe(i[0])):G(i,a)}))})}},Progress:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().countTo}).then(function(e){if(M.initFunction({class:"has-plugin-progress",event:"pluginProgressReady"}),(t=M.getSelector(t,!1)).length<1)return!0;t.forEach(function(i){var n=i.getAttribute("data-percent")||90,e=i.getAttribute("data-speed")||1200,r=i.querySelector(".skill-progress-percent"),e=Number(e)+"ms";r.style.setProperty("--cnvs-progress-speed",e),new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(r.classList.contains("skill-animated")||(w.counter(i.querySelector(".counter")),i.classList.contains("skill-progress-vertical")?r.style.height=n+"%":r.style.width=n+"%",r.classList.add("skill-animated")),t.unobserve(e.target))})},{rootMargin:"0px 0px 50px"}).observe(r)})})}},Twitter:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-twitter",event:"pluginTwitterFeedReady"}),(e=M.getSelector(e,!1,!1)).length<1)||void e.forEach(function(o){var l=o.getAttribute("data-username")||"twitter",c=o.getAttribute("data-count")||3,e=o.getAttribute("data-loader")||"include/twitter/tweets.php",t=o.getAttribute("data-fetch-message")||"Fetching Tweets from Twitter...",i=o.querySelector(".twitter-widget-alert");i||((i=document.createElement("div")).classList.add("alert","alert-warning","twitter-widget-alert","text-center"),o.prepend(i),i.innerHTML='<div class="spinner-grow spinner-grow-sm me-2" role="status"><span class="visually-hidden">Loading...</span></div> '+t),fetch(e+"?username="+l).then(function(e){return e.json()}).then(function(e){if("object"==typeof e&&!e.isArray())return!1;i.remove();var t,a=0;e?.some(function(e){var t,i,n,r,s;a!=Number(c)&&(e=e,i=l,r=(t=o).getAttribute("data-font-class")||"font-body",s=e.text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return'<a href="'+e+'" target="_blank">'+e+"</a>"}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+'<a href="https://twitter.com/'+e.substring(1)+'" target="_blank">'+e.substring(1)+"</a>"}),t.classList.contains("fslider")?((n=document.createElement("div")).classList.add("slide"),n.innerHTML+='<p class="mb-3 '+r+'">'+s+'</p><small class="d-block"><a href="https://twitter.com/'+i+"/statuses/"+e.id_str+'" target="_blank">'+U(e.created_at)+"</a></small>",t.querySelector(".slider-wrap").append(n)):t.innerHTML+='<li><i class="fa-brands fa-x-twitter"></i><div><span>'+s+'</span><small><a href="https://twitter.com/'+i+"/statuses/"+e.id_str+'" target="_blank">'+U(e.created_at)+"</a></small></div></li>",a++)}),o.classList.contains("fslider")&&(t=setInterval(function(){1<o.querySelectorAll(".slide").length&&(o.classList.remove("customjs"),setTimeout(function(){w.flexSlider(),jQuery(o).find(".flexslider .slide").resize()},500),clearInterval(t))},1e3))}).catch(function(e){console.log(e),i.classList.remove("alert-warning"),i.classList.add("alert-danger"),i.innerHTML="Could not fetch Tweets from Twitter API. Please try again later."})})}},Flickr:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().jflickrfeed}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-flickr",event:"pluginFlickrFeedReady"}),(t=M.getSelector(t,!0,!1)).length<1||void t.each(function(){var t=jQuery(this),e=t.attr("data-id"),i=t.attr("data-count")||9,n="group"==t.attr("data-type")?"groups_pool.gne":"photos_public.gne";t.jflickrfeed({feedapi:n,limit:Number(i),qstrings:{id:e},itemTemplate:'<a class="grid-item" href="{{image_b}}" title="{{title}}" data-lightbox="gallery-item"><img src="{{image_s}}" alt="{{title}}" /></a>'},function(e){t.removeClass("customjs"),M.imagesLoaded(t[0]),w.lightbox(),t[0].addEventListener("CanvasImagesLoaded",function(){w.gridInit(),w.masonryThumbs()})})}))})}},Instagram:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-instagram",event:"pluginInstagramReady"}),(e=M.getSelector(e,!1,!1)).length<1)||void e.forEach(function(e){var r,s,a,t=e.getAttribute("data-count")||12,i=e.getAttribute("data-loader")||"include/instagram/instagram.php",n=e.getAttribute("data-fetch-message")||"Fetching Photos from Instagram...";12<Number(t)&&(t=12),i=i,s=t,t=n,(a=(r=e).closest(".instagram-widget-alert"))||((a=document.createElement("div")).classList.add("alert","alert-warning","instagram-widget-alert","text-center"),r.insertAdjacentElement("beforebegin",a),a.innerHTML='<div class="spinner-grow spinner-grow-sm me-2" role="status"><span class="visually-hidden">Loading...</span></div> '+t),fetch(i).then(function(e){return e.json()}).then(function(e){if(0<e.length){a.remove();for(var t,i,n=0;n<s;n++)n!==s&&(i=(t=e[n]).media_url,"VIDEO"===t.media_type&&(i=t.thumbnail_url),r.innerHTML+='<a class="grid-item" href="'+t.permalink+'" target="_blank"><img src="'+i+'" alt="Image"></a>')}r.classList.remove("customjs"),M.imagesLoaded(r),r.addEventListener("CanvasImagesLoaded",function(){w.masonryThumbs(),w.lightbox()})}).catch(function(e){console.log(e),a.classList.remove("alert-warning"),a.classList.add("alert-danger"),a.innerHTML="Could not fetch Photos from Instagram API. Please try again later."})})}},NavTree:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-navtree",event:"pluginNavTreeReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var t=jQuery(this),i=t.attr("data-speed")||250,n=t.attr("data-easing")||"swing",e=t.attr("data-arrow-class")||"fa-solid fa-angle-right";t.find("ul li:has(ul)").addClass("sub-menu"),t.find("ul li:has(ul) > a").filter(":not(:has(.sub-menu-indicator))").append('<i class="sub-menu-indicator '+e+'"></i>'),t.hasClass("on-hover")?t.find("ul li:has(ul):not(.active)").hover(function(e){jQuery(this).children("ul").stop(!0,!0).slideDown(Number(i),n)},function(){jQuery(this).children("ul").delay(250).slideUp(Number(i),n)}):t.find("ul li:has(ul) > a").off("click").on("click",function(){var e=jQuery(this);return t.find("ul li").not(e.parents()).removeClass("active"),e.parent().children("ul").slideToggle(Number(i),n,function(){jQuery(this).find("ul").hide(),jQuery(this).find("li.active").removeClass("active")}),t.find("ul li > ul").not(e.parent().children("ul")).not(e.parents("ul")).slideUp(Number(i),n),e.parent("li:has(ul)").toggleClass("active"),!0})}))})}},Carousel:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().owlCarousel}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-carousel",event:"pluginCarouselReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var e=jQuery(this),t=e.attr("data-items")||4,t=e.attr("data-items-xs")||Number(t),i=e.attr("data-items-sm")||Number(t),n=e.attr("data-items-md")||Number(i),r=e.attr("data-items-lg")||Number(n),s=e.attr("data-items-xl")||Number(r),a=e.attr("data-items-xxl")||Number(s),o=e.attr("data-loop"),l=e.attr("data-autoplay"),c=e.attr("data-speed")||250,d=e.attr("data-animate-in"),u=e.attr("data-animate-out"),p=e.attr("data-auto-width"),h=e.attr("data-nav"),f=e.attr("data-nav-prev")||'<i class="uil uil-angle-left-b"></i>',m=e.attr("data-nav-next")||'<i class="uil uil-angle-right-b"></i>',g=e.attr("data-pagi"),y=e.attr("data-margin")||20,v=e.attr("data-stage-padding")||0,b=e.attr("data-merge"),w=e.attr("data-start")||0,_=e.attr("data-rewind"),x=e.attr("data-slideby")||1,T=e.attr("data-center"),S=e.attr("data-lazyload"),k=e.attr("data-video"),C=e.attr("data-rtl"),P=5e3,E=!0,x="page"==x?"page":Number(x),o="true"==o,d=(l?(P=Number(l),l=!0):E=l=!1,d||!1),u=u||!1,p="true"==p,h="false"!=h,g="false"!=g,_="true"==_,b="true"==b,T="true"==T,S="true"==S,k="true"==k,C=!("true"!=C&&!jQuery("body").hasClass("rtl")),A=e.owlCarousel({margin:Number(y),loop:o,stagePadding:Number(v),merge:b,startPosition:Number(w),rewind:_,slideBy:x,center:T,lazyLoad:S,autoWidth:p,nav:h,navText:[f,m],autoplay:l,autoplayTimeout:P,autoplayHoverPause:E,dots:g,smartSpeed:Number(c),fluidSpeed:Number(c),video:k,animateIn:d,animateOut:u,rtl:C,responsive:{0:{items:t},576:{items:i},768:{items:n},992:{items:r},1200:{items:s},1400:{items:a}},onInitialized:function(){L.sliderDimensions(e.parents(".slider-element")[0]),M.runContainerModules(e[0]),0<e.find(".owl-dot").length&&e.addClass("with-carousel-dots")}});jQuery(window).on("lazyLoadLoaded",function(){e.find(".lazy").length==e.find(".lazy.lazy-loaded").length&&(lazyLoadInstance.update(),setTimeout(function(){A.trigger("refresh.owl.carousel")},500))})}))})}},MasonryThumbs:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&"undefined"!=typeof Isotope}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-masonrythumbs",event:"pluginMasonryThumbsReady"}),(t=M.getSelector(t)).length<1||(t.each(function(){var e=jQuery(this),t=e.children(),i=e.attr("data-big");if(t.length<1)return!1;t.removeClass("grid-item-big").css({width:""});var n=window.getComputedStyle(t.eq(0)[0]),r=Number(n.getPropertyValue("width").split("px")[0]);if(0<e.filter(".has-init-isotope").length&&e.isotope({masonry:{columnWidth:r}}),i)for(var s,i=i.split(","),a="",a=0;a<i.length;a++)s=Number(i[a])-1,t.eq(s).addClass("grid-item-big");setTimeout(function(){e.find(".grid-item-big").css({width:2*r+"px"})},500),setTimeout(function(){e.filter(".has-init-isotope").isotope("layout")},1e3),e[0].addEventListener("transitionend",function(){w.readmore()})}),void(M.getVars.resizers.masonryThumbs=function(){w.masonryThumbs()})))})}},Notifications:{init:function(f){if(M.getSelector(f,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&"undefined"!=typeof bootstrap}).then(function(e){if(e){if(M.initFunction({class:"has-plugin-notify",event:"pluginNotifyReady"}),(f=M.getSelector(f)).length<1)return!0;var t,i,n=f,e=n.attr("data-notify-position")||"top-right",r=n.attr("data-notify-type"),s=n.attr("data-notify-msg")||"Please set a message!",a=n.attr("data-notify-timeout")||5e3,o=n.attr("data-notify-close")||"true",l=n.attr("data-notify-autohide")||"true",c="toast-"+Math.floor(1e4*Math.random()),d=n.attr("data-notify-trigger")||"self",u=n.attr("data-notify-target"),p="";switch(0<jQuery(u).length&&"self"==d&&(bootstrap.Toast.getOrCreateInstance(jQuery(u).get(0)).hide(),jQuery(u).get(0).addEventListener("hidden.bs.toast",function(){CNVS.Notifications.init(f)})),r){case"primary":i="text-white bg-primary border-0";break;case"warning":i="text-dark bg-warning border-0";break;case"error":i="text-white bg-danger border-0";break;case"success":i="text-white bg-success border-0";break;case"info":i="bg-info text-dark border-0";break;case"dark":i="text-white bg-dark border-0";break;default:i=""}switch(e){case"top-left":t="top-0 start-0";break;case"top-center":t="top-0 start-50 translate-middle-x";break;case"middle-left":t="top-50 start-0 translate-middle-y";break;case"middle-center":t="top-50 start-50 translate-middle";break;case"middle-right":t="top-50 end-0 translate-middle-y";break;case"bottom-left":t="bottom-0 start-0";break;case"bottom-center":t="bottom-0 start-50 translate-middle-x";break;case"bottom-right":t="bottom-0 end-0";break;default:t="top-0 end-0"}e="info"!=r&&"warning"!=r&&r?"btn-close-white":"",l="true"==l,r='<div class="position-fixed '+t+' p-3" style="z-index: 999999;"><div id="'+c+'" class="toast p-2 hide '+i+'" role="alert" aria-live="assertive" aria-atomic="true"><div class="d-flex"><div class="toast-body">'+s+"</div>"+(p="true"==o?'<button type="button" class="btn-close '+e+' btn-sm me-2 mt-2 ms-auto" data-bs-dismiss="toast" aria-label="Close"></button>':p)+"</div></div>";"self"!=d||u||(n.attr("data-notify-target","#"+c),jQuery("body").append(r));[].slice.call(document.querySelectorAll(".toast")).map(function(e){return new bootstrap.Toast(e)}).forEach(function(e){e.hide()});var s=n.attr("data-notify-target"),h=jQuery(s);h.find(".toast-body");0<jQuery(s).length&&(new bootstrap.Toast(h.get(0),{delay:Number(a),autohide:l}).show(),"self"==d)&&h.get(0).addEventListener("hidden.bs.toast",function(){h.parent().remove(),n.get(0).removeAttribute("data-notify-target")})}return!1})}},TextRotator:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().Morphext&&"undefined"!=typeof Typed}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-textrotator",event:"pluginTextRotatorReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var e,t,i,n,r=jQuery(this),s=r.attr("data-typed")||"false",a=r.find(".t-rotate"),o=r.attr("data-rotate")||"fade",l=r.attr("data-speed")||1200,c=r.attr("data-separator")||",";"true"==s?(s=a.html().split(c),t=r.attr("data-loop")||"true",i=r.attr("data-shuffle"),n=r.attr("data-cursor")||"true",l=r.attr("data-speed")||50,e=r.attr("data-backspeed")||30,r=r.attr("data-backdelay"),t="true"==t,i="true"==i,n="true"==n,a.html("").addClass("plugin-typed-init"),new Typed(a[0],{strings:s,typeSpeed:Number(l),loop:t,shuffle:i,showCursor:n,backSpeed:Number(e),backDelay:Number(r)})):a.Morphext({animation:o,separator:c,speed:Number(l)})}))})}},OnePage:(s=function(e,t){t="scrollTo"==t?e.getAttribute("data-scrollto"):e.getAttribute("data-href");return document.querySelector(t)},c=function(t,i,e){setTimeout(function(){var e=M.offset(t).top;if(!i)return!1;M.scrollTo(e-Number(i.offset),i.speed,i.easing)},Number(e))},d=function(e,t,i=!0){var n,r,s,a,o,l=M.getVars.elBody.classList;return void 0===e||t.length<1||!(!e.hasAttribute("data-onepage-settings")||!i)||(e={offset:M.getVars.topScrollOffset,speed:1250,easing:!1},i={},o={},n=t.closest(".one-page-menu"),o.offset=n?.getAttribute("data-offset")||e.offset,o.speed=n?.getAttribute("data-speed")||e.speed,o.easing=n?.getAttribute("data-easing")||e.easing,n={offset:t.getAttribute("data-offset")||o.offset,speed:t.getAttribute("data-speed")||o.speed,easing:t.getAttribute("data-easing")||o.easing},e=t.getAttribute("data-offset-xxl"),o=t.getAttribute("data-offset-xl"),a=t.getAttribute("data-offset-lg"),s=t.getAttribute("data-offset-md"),r=t.getAttribute("data-offset-sm"),t=(t=t.getAttribute("data-offset-xs"))||Number(n.offset),r=r||Number(t),s=s||Number(r),a=a||Number(s),o=o||Number(a),e=e||Number(o),l.contains("device-xs")?n.offset=t:l.contains("device-sm")?n.offset=r:l.contains("device-md")?n.offset=s:l.contains("device-lg")?n.offset=a:l.contains("device-xl")?n.offset=o:l.contains("device-xxl")&&(n.offset=e),i.offset=Number(n.offset),i.speed=Number(n.speed),i.easing=n.easing,i)},{init:function(e){var t;return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-onepage",event:"pluginOnePageReady"}),(e=M.getSelector(e,!1)).length<1)||(t=M.filtered(e,"[data-scrollto]"),e=M.filtered(e,".one-page-menu"),0<t.length&&(M.getVars.elLinkScrolls=t),0<e.length&&(M.getVars.elOnePageMenus=e),H(),P(),window.addEventListener("scroll",function(){P()},{passive:!0}),void(M.getVars.resizers.onepage=function(){H(),P()}))}}),AjaxForm:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().validate&&jQuery().ajaxSubmit}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-form",event:"pluginFormReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var n,r,e=jQuery(this),s=jQuery("body"),a=e.find("form").attr("id"),o=e.attr("data-alert-type"),l=e.attr("data-loader"),c=e.find(".form-result"),d=e.attr("data-redirect"),o=o||"notify";a&&s.addClass(a+"-ready"),e.find("form").validate({errorPlacement:function(e,t){0<t.parents(".form-group").length?e.appendTo(t.parents(".form-group")):e.insertAfter(t)},focusCleanup:!0,submitHandler:function(i){if(e.hasClass("custom-submit"))return jQuery(i).submit(),!0;c.hide(),"button"==l?(n=jQuery(i).find("button"),defaultBtnText=n.html(),n.html('<i class="bi-arrow-repeat icon-spin m-0"></i>')):jQuery(i).find(".form-process").fadeIn(),a&&s.removeClass(a+"-ready "+a+"-complete "+a+"-success "+a+"-error").addClass(a+"-processing"),jQuery(i).ajaxSubmit({target:c,dataType:"json",success:function(e){if("button"==l?n.html(defaultBtnText):jQuery(i).find(".form-process").fadeOut(),"error"!=e.alert&&d)return window.location.replace(d),!0;var t;"inline"==o?(r="error"==e.alert?"alert-danger":"alert-success",c.removeClass("alert-danger alert-success").addClass("alert "+r).html(e.message).slideDown(400)):"notify"==o&&(c.attr("data-notify-type",e.alert).attr("data-notify-msg",e.message).html(""),w.notifications(c)),"error"!=e.alert?(jQuery(i).resetForm(),jQuery(i).find(".btn-group > .btn").removeClass("active"),"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()&&tinymce.activeEditor.setContent(""),0<(t=jQuery(i).find(".input-range-slider")).length&&t.each(function(){jQuery(this).data("ionRangeSlider").reset()}),0<(t=jQuery(i).find(".input-rating")).length&&t.each(function(){jQuery(this).rating("reset")}),0<(t=jQuery(i).find(".selectpicker")).length&&t.each(function(){jQuery(this).selectpicker("val",""),jQuery(this).selectpicker("deselectAll")}),jQuery(i).find(".input-select2,select[data-selectsplitter-firstselect-selector]").change(),jQuery(i).trigger("formSubmitSuccess",e),s.removeClass(a+"-error").addClass(a+"-success")):(jQuery(i).trigger("formSubmitError",e),s.removeClass(a+"-success").addClass(a+"-error")),a&&s.removeClass(a+"-processing").addClass(a+"-complete"),0<jQuery(i).find(".g-recaptcha").children("div").length&&grecaptcha.reset()}})}})}))})}},Subscribe:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().validate&&jQuery().ajaxSubmit}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-form",event:"pluginFormReady"}),(t=M.getSelector(t)).length<1||void t.each(function(){var i,n,r,e=jQuery(this),s=e.attr("data-alert-type"),a=e.attr("data-loader"),o=e.find(".widget-subscribe-form-result"),l=e.attr("data-redirect");e.find("form").validate({submitHandler:function(t){o.hide(),"button"==a?(i=jQuery(t).find("button"),n=i.html(),i.html('<i class="bi-arrow-repeat icon-spin nomargin"></i>')):jQuery(t).find(".bi-envelope-plus").removeClass("bi-envelope-plus").addClass("bi-arrow-repeat icon-spin"),jQuery(t).ajaxSubmit({target:o,dataType:"json",resetForm:!0,success:function(e){if("button"==a?i.html(n):jQuery(t).find(".bi-arrow-repeat").removeClass("bi-arrow-repeat icon-spin").addClass("bi-envelope-plus"),"error"!=e.alert&&l)return window.location.replace(l),!0;"inline"==s?(r="error"==e.alert?"alert-danger":"alert-success",o.addClass("alert "+r).html(e.message).slideDown(400)):(o.attr("data-notify-type",e.alert).attr("data-notify-msg",e.message).html(""),w.notifications(o))}})}})}))})}},Conditional:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-conditional",event:"pluginConditionalReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(e){var t=e,e=t.getAttribute("data-condition")||"==",i=t.getAttribute("data-condition-target"),n=t.getAttribute("data-condition-value"),r=t.getAttribute("data-condition-check")||"value",s=document.querySelector('[id*="'+i+'"]'),a=s.value,o=s.type,l={operator:e,field:i,value:n},e=s.tagName.toLowerCase(),i="checkbox"==o||"select"==e||"radio"==o?"change":"input";"checkbox"==o&&(a=s.checked?s.value:0),"radio"==o&&(a=s.checked?s.value:""),C(t,a,l,r,s),s.addEventListener(i,function(){a="checkbox"==o?s.checked?s.value:0:"radio"!=o||s.checked?s.value:"",C(t,a,l,r,s)}),"validate"==r&&new MutationObserver(function(e){e.forEach(function(e){C(t,a,l,r,s)})}).observe(s,{attributes:!0,characterData:!0,childList:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0})})}},ShapeDivider:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-shapedivider",event:"pluginShapeDividerReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(e){var t=e.getAttribute("data-shape")||"valley",i=e.getAttribute("data-width")||100,n=e.getAttribute("data-height")||100,r=e.getAttribute("data-fill"),s=e.getAttribute("data-outside")||"false",a=e.getAttribute("data-position")||"top",o="shape-divider-"+Math.floor(1e4*Math.random()),l="",c="";if(e.classList.contains("shape-divider-complete"))return!0;i<100&&(i=100);var i="width: calc( "+Number(i)+"% + 1.5px );",d="height: "+Number(n)+"px;",r="fill: "+r+";",s=(c="true"==s?"bottom"==a?"#"+o+".shape-divider { bottom: -"+(Number(n)-1)+"px; } ":"#"+o+".shape-divider { top: -"+(Number(n)-1)+"px; } ":c)+"#"+o+".shape-divider svg { "+i+d+" } #"+o+".shape-divider .shape-divider-fill { "+r+" }",a=document.createElement("style");switch(M.getVars.elHead.appendChild(a),a.appendChild(document.createTextNode(s)),e.setAttribute("id",o),t){case"valley":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 355" preserveAspectRatio="none"><defs><style>.b{opacity:.5}.c{opacity:.3}</style></defs><path fill="none" d="M999.45 0H0v165.72l379.95 132.46L999.45 0z"></path><path class="b shape-divider-fill" d="M379.95 298.18l28.47 9.92L1000 118.75V0h-.55l-619.5 298.18zM492.04 337.25L1000 252.63V118.75L408.42 308.1l83.62 29.15z"></path><path class="b shape-divider-fill" d="M492.04 337.25L1000 252.63V118.75L408.42 308.1l83.62 29.15z"></path><path class="shape-divider-fill" d="M530.01 350.49l20.22 4.51H1000V252.63l-507.96 84.62 37.97 13.24z"></path><path class="b shape-divider-fill" d="M530.01 350.49l20.22 4.51H1000V252.63l-507.96 84.62 37.97 13.24z"></path><path class="b shape-divider-fill" d="M530.01 350.49l20.22 4.51H1000V252.63l-507.96 84.62 37.97 13.24z"></path><path class="shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="b shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="c shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="b shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="c shape-divider-fill" d="M379.95 298.18L0 165.72v66.59l353.18 78.75 26.77-12.88z"></path><path class="c shape-divider-fill" d="M353.18 311.06L0 232.31v71.86l288.42 38.06 64.76-31.17z"></path><path class="c shape-divider-fill" d="M353.18 311.06L0 232.31v71.86l288.42 38.06 64.76-31.17z"></path><path class="b shape-divider-fill" d="M380.28 317.11l28.14-9.01-28.47-9.92-26.77 12.88 27.1 6.05z"></path><path class="c shape-divider-fill" d="M380.28 317.11l28.14-9.01-28.47-9.92-26.77 12.88 27.1 6.05z"></path><path class="b shape-divider-fill" d="M479.79 339.29l12.25-2.04-83.62-29.15-28.14 9.01 99.51 22.18z"></path><path class="b shape-divider-fill" d="M479.79 339.29l12.25-2.04-83.62-29.15-28.14 9.01 99.51 22.18z"></path><path class="c shape-divider-fill" d="M479.79 339.29l12.25-2.04-83.62-29.15-28.14 9.01 99.51 22.18z"></path><path class="shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2z"></path><path class="b shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2z"></path><path class="b shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2z"></path><path class="c shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2zM288.42 342.23l9.46 1.25 82.4-26.37-27.1-6.05-64.76 31.17z"></path><path class="b shape-divider-fill" d="M288.42 342.23l9.46 1.25 82.4-26.37-27.1-6.05-64.76 31.17z"></path><path class="c shape-divider-fill" d="M288.42 342.23l9.46 1.25 82.4-26.37-27.1-6.05-64.76 31.17z"></path><path class="b shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="c shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="b shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="c shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="b shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="c shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="b shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="c shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="shape-divider-fill" d="M288.42 342.23L0 304.17V355h385.18l-87.3-11.52-9.46-1.25z"></path></svg>';break;case"valley-2":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M194,99c186.7,0.7,305-78.3,306-97.2c1,18.9,119.3,97.9,306,97.2c114.3-0.3,194,0.3,194,0.3s0-91.7,0-100c0,0,0,0,0-0 L0,0v99.3C0,99.3,79.7,98.7,194,99z"></path></svg>';break;case"valley-3":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1280 0L640 70 0 0v140l640-70 640 70V0z" opacity="0.5"></path><path class="shape-divider-fill" d="M1280 0H0l640 70 640-70z"></path></svg>';break;case"mountain":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M500,98.9L0,6.1V0h1000v6.1L500,98.9z"></path></svg>';break;case"mountain-2":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M640 140L1280 0H0z" opacity="0.5"/><path class="shape-divider-fill" d="M640 98l640-98H0z"/></svg>';break;case"mountain-3":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 491.58" preserveAspectRatio="none"><g style="isolation:isolate"><path class="shape-divider-fill" d="M1000 479.4v-87.96L500 0 0 391.46v87.96l500-335.94 500 335.92z" opacity="0.12" mix-blend-mode="overlay"/><path class="shape-divider-fill" d="M1000 487.31v-7.91L500 143.48 0 479.42v7.91l500-297.96 500 297.94z" opacity="0.25" mix-blend-mode="overlay"/><path class="shape-divider-fill" d="M1000 487.31L500 189.37 0 487.33v4.25h1000v-4.27z"/></g></svg>';break;case"mountain-4":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M738,99l262-93V0H0v5.6L738,99z"></path></svg>';break;case"mountain-5":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M978.81 122.25L0 0h1280l-262.1 116.26a73.29 73.29 0 0 1-39.09 5.99z" opacity="0.5"></path><path class="shape-divider-fill" d="M983.19 95.23L0 0h1280l-266 91.52a72.58 72.58 0 0 1-30.81 3.71z"></path></svg>';break;case"mountains":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" opacity="0.33" d="M473,67.3c-203.9,88.3-263.1-34-320.3,0C66,119.1,0,59.7,0,59.7V0h1000v59.7 c0,0-62.1,26.1-94.9,29.3c-32.8,3.3-62.8-12.3-75.8-22.1C806,49.6,745.3,8.7,694.9,4.7S492.4,59,473,67.3z"></path><path class="shape-divider-fill" opacity="0.66" d="M734,67.3c-45.5,0-77.2-23.2-129.1-39.1c-28.6-8.7-150.3-10.1-254,39.1 s-91.7-34.4-149.2,0C115.7,118.3,0,39.8,0,39.8V0h1000v36.5c0,0-28.2-18.5-92.1-18.5C810.2,18.1,775.7,67.3,734,67.3z"></path><path class="shape-divider-fill" d="M766.1,28.9c-200-57.5-266,65.5-395.1,19.5C242,1.8,242,5.4,184.8,20.6C128,35.8,132.3,44.9,89.9,52.5C28.6,63.7,0,0,0,0 h1000c0,0-9.9,40.9-83.6,48.1S829.6,47,766.1,28.9z"></path></svg>';break;case"mountains-2":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 247" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 200.92v.26l.75-.77-.75.51z"></path><path class="shape-divider-fill" d="M279.29 208.39c0-4.49 74.71-29.88 74.71-29.88l61.71 61.26L550 153.1l134.14 88.17L874.28 50 1000 178.51v-.33L874.28 0 684.14 191.27 550 103.1l-134.29 86.67L354 128.51s-74.71 25.39-74.71 29.88S144.23 52.08 144.23 52.08L.75 200.41l143.48-98.33s135.06 110.8 135.06 106.31z" opacity="0.25" isolation="isolate"></path><path class="shape-divider-fill" d="M1000 178.51L874.28 50 684.14 241.27 550 153.1l-134.29 86.67L354 178.51s-74.71 25.39-74.71 29.88-135.06-106.31-135.06-106.31L.75 200.41l-.75.77V247h1000z"></path><path class="shape-divider-fill" d="M1000 178.51L874.28 50 684.14 241.27 550 153.1l-134.29 86.67L354 178.51s-74.71 25.39-74.71 29.88-135.06-106.31-135.06-106.31L.75 200.41l-.75.77V247h1000z" opacity="0.25" isolation="isolate"></path></svg>';break;case"mountains-3":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M761.9,44.1L643.1,27.2L333.8,98L0,3.8V0l1000,0v3.9"></path></svg>';break;case"mountains-4":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V0H0v90.72z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0v47.44L170 0l626.48 94.89L1110 87.11l170-39.67V0H0z"></path></svg>';break;case"plataeu":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1280 0l-131.81 111.68c-16.47 14-35.47 21-54.71 20.17L173 94a76.85 76.85 0 0 1-36.79-11.46L0 0z"></path></svg>';break;case"plataeu-2":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1093.48 131.85L173 94a76.85 76.85 0 0 1-36.79-11.46L0 0h1280l-131.81 111.68c-16.47 13.96-35.47 20.96-54.71 20.17z" opacity="0.5"></path><path class="shape-divider-fill" d="M1094.44 119L172.7 68.72a74.54 74.54 0 0 1-25.19-5.95L0 0h1280l-133.85 102c-15.84 12.09-33.7 17.95-51.71 17z"></path></svg>';break;case"hills":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M156.258 127.903l86.363-18.654 78.684 13.079L411.441 99.4l94.454 10.303L582.82 93.8l82.664 18.728 76.961-11.39L816.109 71.4l97.602 9.849L997.383 50.4l66.285 14.694 70.793-24.494h79.863L1280 0H0v122.138l60.613 9.965z"/></svg>';break;case"hills-2":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1214.323 66.051h-79.863l-70.793 18.224-66.285-10.933-83.672 22.953-97.601-7.328-73.664 22.125-76.961 8.475-82.664-13.934-76.926 11.832-94.453-7.666-90.137 17.059-78.684-9.731-86.363 13.879-95.644 3.125L0 126.717V0h1280l-.001 35.844z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0h1280v.006l-70.676 36.578-74.863 4.641-70.793 23.334-66.285-11.678-83.672 29.618-97.602-7.07-63.664 21.421-76.961 12.649-91.664-20.798-77.926 17.66-94.453-7.574-90.137 21.595-78.683-9.884-86.363 16.074-95.645 6.211L0 127.905z"></path></svg>';break;case"hills-3":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M156 35.51l95.46 34.84 120.04.24 71.5 33.35 90.09-3.91L640 137.65l102.39-37.17 85.55 10.65 88.11-7.19L992 65.28l73.21 5.31 66.79-22.1 77-.42L1280 0H0l64.8 38.69 91.2-3.18z"/></svg>';break;case"hills-4":l='<svg viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M156 35.41l95.46 34.73 120.04.25 71.5 33.24 90.09-3.89L640 137.25l102.39-37.06 85.55 10.61 88.11-7.17L992 65.08l73.21 5.31L1132 48.35l77-.42L1280 0H0l64.8 38.57 91.2-3.16z" opacity="0.5"/><path class="shape-divider-fill" d="M156 28.32l95.46 27.79 120.04.2L443 82.9l90.09-3.11L640 109.8l102.39-29.65 85.55 8.49 88.11-5.74L992 52.07l73.21 4.24L1132 38.68l77-.34L1280 0H0l64.8 30.86 91.2-2.54z"/></svg>';break;case"cloud":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="xMidYMax slice"><path class="shape-divider-fill" d="M0 0v6.7c1.9-.8 4.7-1.4 8.5-1 9.5 1.1 11.1 6 11.1 6s2.1-.7 4.3-.2c2.1.5 2.8 2.6 2.8 2.6s.2-.5 1.4-.7c1.2-.2 1.7.2 1.7.2s0-2.1 1.9-2.8c1.9-.7 3.6.7 3.6.7s.7-2.9 3.1-4.1 4.7 0 4.7 0 1.2-.5 2.4 0 1.7 1.4 1.7 1.4h1.4c.7 0 1.2.7 1.2.7s.8-1.8 4-2.2c3.5-.4 5.3 2.4 6.2 4.4.4-.4 1-.7 1.8-.9 2.8-.7 4 .7 4 .7s1.7-5 11.1-6c9.5-1.1 12.3 3.9 12.3 3.9s1.2-4.8 5.7-5.7c4.5-.9 6.8 1.8 6.8 1.8s.6-.6 1.5-.9c.9-.2 1.9-.2 1.9-.2s5.2-6.4 12.6-3.3c7.3 3.1 4.7 9 4.7 9s1.9-.9 4 0 2.8 2.4 2.8 2.4 1.9-1.2 4.5-1.2 4.3 1.2 4.3 1.2.2-1 1.4-1.7 2.1-.7 2.1-.7-.5-3.1 2.1-5.5 5.7-1.4 5.7-1.4 1.5-2.3 4.2-1.1c2.7 1.2 1.7 5.2 1.7 5.2s.3-.1 1.3.5c.5.4.8.8.9 1.1.5-1.4 2.4-5.8 8.4-4 7.1 2.1 3.5 8.9 3.5 8.9s.8-.4 2 0 1.1 1.1 1.1 1.1 1.1-1.1 2.3-1.1 2.1.5 2.1.5 1.9-3.6 6.2-1.2 1.9 6.4 1.9 6.4 2.6-2.4 7.4 0c3.4 1.7 3.9 4.9 3.9 4.9s3.3-6.9 10.4-7.9 11.5 2.6 11.5 2.6.8 0 1.2.2c.4.2.9.9.9.9s4.4-3.1 8.3.2c1.9 1.7 1.5 5 1.5 5s.3-1.1 1.6-1.4c1.3-.3 2.3.2 2.3.2s-.1-1.2.5-1.9 1.9-.9 1.9-.9-4.7-9.3 4.4-13.4c5.6-2.5 9.2.9 9.2.9s5-6.2 15.9-6.2 16.1 8.1 16.1 8.1.7-.2 1.6-.4V0H0z"></path></svg>';break;case"cloud-2":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 86" preserveAspectRatio="xMidYMid slice"><path class="shape-divider-fill" d="M1280 0H0v65.2c6.8 0 13.5.9 20.1 2.6 14-21.8 43.1-28 64.8-14 5.6 3.6 10.3 8.3 14 13.9 7.3-1.2 14.8-.6 21.8 1.6 2.1-37.3 34.1-65.8 71.4-63.7 24.3 1.4 46 15.7 56.8 37.6 19-17.6 48.6-16.5 66.3 2.4C323 54 327.4 65 327.7 76.5c.4.2.8.4 1.2.7 3.3 1.9 6.3 4.2 8.9 6.9 15.9-23.8 46.1-33.4 72.8-23.3 11.6-31.9 46.9-48.3 78.8-36.6 9.1 3.3 17.2 8.7 23.8 15.7 6.7-6.6 16.7-8.4 25.4-4.8 29.3-37.4 83.3-44 120.7-14.8 14 11 24.3 26.1 29.4 43.1 4.7.6 9.3 1.8 13.6 3.8 7.8-24.7 34.2-38.3 58.9-30.5 14.4 4.6 25.6 15.7 30.3 30 14.2 1.2 27.7 6.9 38.5 16.2 11.1-35.7 49-55.7 84.7-44.7 14.1 4.4 26.4 13.3 35 25.3 12-5.7 26.1-5.5 37.9.6 3.9-11.6 15.5-18.9 27.7-17.5.2-.3.3-.6.5-.9 23.3-41.4 75.8-56 117.2-32.6 14.1 7.9 25.6 19.7 33.3 33.8 28.8-23.8 71.5-19.8 95.3 9 2.6 3.1 4.9 6.5 6.9 10 3.8-.5 7.6-.8 11.4-.8L1280 0z"/></svg>';break;case"cloud-3":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 86" preserveAspectRatio="xMidYMid slice"><path class="shape-divider-fill" d="M833.9 27.5c-5.8 3.2-11 7.3-15.5 12.2-7.1-6.9-17.5-8.8-26.6-5-30.6-39.2-87.3-46.1-126.5-15.5-1.4 1.1-2.8 2.2-4.1 3.4C674.4 33.4 684 48 688.8 64.3c4.7.6 9.3 1.8 13.6 3.8 7.8-24.7 34.2-38.3 58.9-30.5 14.4 4.6 25.6 15.7 30.3 30 14.2 1.2 27.7 6.9 38.5 16.2C840.6 49.6 876 29.5 910.8 38c-20.4-20.3-51.8-24.6-76.9-10.5zM384 43.9c-9 5-16.7 11.9-22.7 20.3 15.4-7.8 33.3-8.7 49.4-2.6 3.7-10.1 9.9-19.1 18.1-26-15.4-2.3-31.2.6-44.8 8.3zm560.2 13.6c2 2.2 3.9 4.5 5.7 6.9 5.6-2.6 11.6-4 17.8-4.1-7.6-2.4-15.6-3.3-23.5-2.8zM178.7 7c29-4.2 57.3 10.8 70.3 37 8.9-8.3 20.7-12.8 32.9-12.5C256.4 1.8 214.7-8.1 178.7 7zm146.5 56.3c1.5 4.5 2.4 9.2 2.5 14 .4.2.8.4 1.2.7 3.3 1.9 6.3 4.2 8.9 6.9 5.8-8.7 13.7-15.7 22.9-20.5-11.1-5.2-23.9-5.6-35.5-1.1zM33.5 54.9c21.6-14.4 50.7-8.5 65 13 .1.2.2.3.3.5 7.3-1.2 14.8-.6 21.8 1.6.6-10.3 3.5-20.4 8.6-29.4.3-.6.7-1.2 1.1-1.8-32.1-17.2-71.9-10.6-96.8 16.1zm1228.9 2.7c2.3 2.9 4.4 5.9 6.2 9.1 3.8-.5 7.6-.8 11.4-.8V48.3c-6.4 1.8-12.4 5-17.6 9.3zM1127.3 11c1.9.9 3.7 1.8 5.6 2.8 14.2 7.9 25.8 19.7 33.5 34 13.9-11.4 31.7-16.9 49.6-15.3-20.5-27.7-57.8-36.8-88.7-21.5z" opacity="0.5"/><path class="shape-divider-fill" d="M0 0v66c6.8 0 13.5.9 20.1 2.6 3.5-5.4 8.1-10.1 13.4-13.6 24.9-26.8 64.7-33.4 96.8-16 10.5-17.4 28.2-29.1 48.3-32 36.1-15.1 77.7-5.2 103.2 24.5 19.7.4 37.1 13.1 43.4 31.8 11.5-4.5 24.4-4.2 35.6 1.1l.4-.2c15.4-21.4 41.5-32.4 67.6-28.6 25-21 62.1-18.8 84.4 5.1 6.7-6.6 16.7-8.4 25.4-4.8 29.2-37.4 83.3-44.1 120.7-14.8l1.8 1.5c37.3-32.9 94.3-29.3 127.2 8 1.2 1.3 2.3 2.7 3.4 4.1 9.1-3.8 19.5-1.9 26.6 5 24.3-26 65-27.3 91-3.1.5.5 1 .9 1.5 1.4 12.8 3.1 24.4 9.9 33.4 19.5 7.9-.5 15.9.4 23.5 2.8 7-.1 13.9 1.5 20.1 4.7 3.9-11.6 15.5-18.9 27.7-17.5.2-.3.3-.6.5-.9 22.1-39.2 70.7-54.7 111.4-35.6 30.8-15.3 68.2-6.2 88.6 21.5 18.3 1.7 35 10.8 46.5 25.1 5.2-4.3 11.1-7.4 17.6-9.3V0H0z"/></svg>';break;case"wave":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V0H0v30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,134-22.4c21.2-8.1,52.2-18.2,79.7-24.2C399.3,7.9,411.6,7.5,421.9,6.5z"></path></svg>';break;case"wave-2":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="none"><path class="shape-divider-fill" d="M283.5,9.7c0,0-7.3,4.3-14,4.6c-6.8,0.3-12.6,0-20.9-1.5c-11.3-2-33.1-10.1-44.7-5.7\ts-12.1,4.6-18,7.4c-6.6,3.2-20,9.6-36.6,9.3C131.6,23.5,99.5,7.2,86.3,8c-1.4,0.1-6.6,0.8-10.5,2c-3.8,1.2-9.4,3.8-17,4.7 c-3.2,0.4-8.3,1.1-14.2,0.9c-1.5-0.1-6.3-0.4-12-1.6c-5.7-1.2-11-3.1-15.8-3.7C6.5,9.2,0,10.8,0,10.8V0h283.5V9.7z M260.8,11.3 c-0.7-1-2-0.4-4.3-0.4c-2.3,0-6.1-1.2-5.8-1.1c0.3,0.1,3.1,1.5,6,1.9C259.7,12.2,261.4,12.3,260.8,11.3z M242.4,8.6 c0,0-2.4-0.2-5.6-0.9c-3.2-0.8-10.3-2.8-15.1-3.5c-8.2-1.1-15.8,0-15.1,0.1c0.8,0.1,9.6-0.6,17.6,1.1c3.3,0.7,9.3,2.2,12.4,2.7\tC239.9,8.7,242.4,8.6,242.4,8.6z M185.2,8.5c1.7-0.7-13.3,4.7-18.5,6.1c-2.1,0.6-6.2,1.6-10,2c-3.9,0.4-8.9,0.4-8.8,0.5\tc0,0.2,5.8,0.8,11.2,0c5.4-0.8,5.2-1.1,7.6-1.6C170.5,14.7,183.5,9.2,185.2,8.5z M199.1,6.9c0.2,0-0.8-0.4-4.8,1.1 c-4,1.5-6.7,3.5-6.9,3.7c-0.2,0.1,3.5-1.8,6.6-3C197,7.5,199,6.9,199.1,6.9z M283,6c-0.1,0.1-1.9,1.1-4.8,2.5s-6.9,2.8-6.7,2.7\tc0.2,0,3.5-0.6,7.4-2.5C282.8,6.8,283.1,5.9,283,6z M31.3,11.6c0.1-0.2-1.9-0.2-4.5-1.2s-5.4-1.6-7.8-2C15,7.6,7.3,8.5,7.7,8.6\tC8,8.7,15.9,8.3,20.2,9.3c2.2,0.5,2.4,0.5,5.7,1.6S31.2,11.9,31.3,11.6z M73,9.2c0.4-0.1,3.5-1.6,8.4-2.6c4.9-1.1,8.9-0.5,8.9-0.8 c0-0.3-1-0.9-6.2-0.3S72.6,9.3,73,9.2z M71.6,6.7C71.8,6.8,75,5.4,77.3,5c2.3-0.3,1.9-0.5,1.9-0.6c0-0.1-1.1-0.2-2.7,0.2\tC74.8,5.1,71.4,6.6,71.6,6.7z M93.6,4.4c0.1,0.2,3.5,0.8,5.6,1.8c2.1,1,1.8,0.6,1.9,0.5c0.1-0.1-0.8-0.8-2.4-1.3\tC97.1,4.8,93.5,4.2,93.6,4.4z M65.4,11.1c-0.1,0.3,0.3,0.5,1.9-0.2s2.6-1.3,2.2-1.2s-0.9,0.4-2.5,0.8C65.3,10.9,65.5,10.8,65.4,11.1 z M34.5,12.4c-0.2,0,2.1,0.8,3.3,0.9c1.2,0.1,2,0.1,2-0.2c0-0.3-0.1-0.5-1.6-0.4C36.6,12.8,34.7,12.4,34.5,12.4z M152.2,21.1 c-0.1,0.1-2.4-0.3-7.5-0.3c-5,0-13.6-2.4-17.2-3.5c-3.6-1.1,10,3.9,16.5,4.1C150.5,21.6,152.3,21,152.2,21.1z"></path><path class="shape-divider-fill" d="M269.6,18c-0.1-0.1-4.6,0.3-7.2,0c-7.3-0.7-17-3.2-16.6-2.9c0.4,0.3,13.7,3.1,17,3.3\tC267.7,18.8,269.7,18,269.6,18z"></path><path class="shape-divider-fill" d="M227.4,9.8c-0.2-0.1-4.5-1-9.5-1.2c-5-0.2-12.7,0.6-12.3,0.5c0.3-0.1,5.9-1.8,13.3-1.2\tS227.6,9.9,227.4,9.8z"></path><path class="shape-divider-fill" d="M204.5,13.4c-0.1-0.1,2-1,3.2-1.1c1.2-0.1,2,0,2,0.3c0,0.3-0.1,0.5-1.6,0.4\tC206.4,12.9,204.6,13.5,204.5,13.4z"></path><path class="shape-divider-fill" d="M201,10.6c0-0.1-4.4,1.2-6.3,2.2c-1.9,0.9-6.2,3.1-6.1,3.1c0.1,0.1,4.2-1.6,6.3-2.6\tS201,10.7,201,10.6z"></path><path class="shape-divider-fill" d="M154.5,26.7c-0.1-0.1-4.6,0.3-7.2,0c-7.3-0.7-17-3.2-16.6-2.9c0.4,0.3,13.7,3.1,17,3.3\tC152.6,27.5,154.6,26.8,154.5,26.7z"></path><path class="shape-divider-fill" d="M41.9,19.3c0,0,1.2-0.3,2.9-0.1c1.7,0.2,5.8,0.9,8.2,0.7c4.2-0.4,7.4-2.7,7-2.6\tc-0.4,0-4.3,2.2-8.6,1.9c-1.8-0.1-5.1-0.5-6.7-0.4S41.9,19.3,41.9,19.3z"></path><path class="shape-divider-fill" d="M75.5,12.6c0.2,0.1,2-0.8,4.3-1.1c2.3-0.2,2.1-0.3,2.1-0.5c0-0.1-1.8-0.4-3.4,0\tC76.9,11.5,75.3,12.5,75.5,12.6z"></path><path class="shape-divider-fill" d="M15.6,13.2c0-0.1,4.3,0,6.7,0.5c2.4,0.5,5,1.9,5,2c0,0.1-2.7-0.8-5.1-1.4\tC19.9,13.7,15.7,13.3,15.6,13.2z"></path></svg>';break;case"wave-3":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1047.1 3.7" preserveAspectRatio="xMidYMin slice"><path class="shape-divider-fill" d="M1047.1,0C557,0,8.9,0,0,0v1.6c0,0,0.6-1.5,2.7-0.3C3.9,2,6.1,4.1,8.3,3.5c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3C13.8,2,16,4.1,18.2,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C23.6,2,25.9,4.1,28,3.5c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C63,2,65.3,4.1,67.4,3.5\tC68.3,3.3,69,1.6,69,1.6s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tC82.7,2,85,4.1,87.1,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C92.6,2,94.8,4.1,97,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.6-0.4V0z M2.5,1.2C2.5,1.2,2.5,1.2,2.5,1.2C2.5,1.2,2.5,1.2,2.5,1.2z M2.7,1.4c0.1,0,0.1,0.1,0.1,0.1C2.8,1.4,2.8,1.4,2.7,1.4z"></path></svg>';break;case"wave-4":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z" opacity="0.3"></path><path class="shape-divider-fill" d="M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z"></path></svg>';break;case"wave-5":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0v100c20 17.3 40 29.51 80 29.51 51.79 0 74.69-48.57 151.75-48.57 73.72 0 91 54.88 191.56 54.88C543.95 135.8 554 14 665.69 14c109.46 0 98.85 87 188.2 87 70.37 0 69.81-33.73 115.6-33.73 55.85 0 62 39.62 115.6 39.62 58.08 0 57.52-46.59 115-46.59 39.8 0 60 22.48 79.89 39.69V0z"></path></svg>';break;case"wave-6":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M504.854,80.066c7.812,0,14.893,0.318,21.41,0.879 c-25.925,22.475-56.093,40.852-102.946,40.852c-20.779,0-37.996-2.349-52.898-6.07C413.517,107.295,434.056,80.066,504.854,80.066z M775.938,51.947c19.145,18.596,39.097,35.051,77.956,35.051c46.907,0,62.299-14.986,80.912-24.98 c-21.357-15.783-46.804-28.348-85.489-28.348C816.829,33.671,794.233,41.411,775.938,51.947z" opacity="0.3"></path><path class="shape-divider-fill" d="M1200.112,46.292c39.804,0,59.986,22.479,79.888,39.69v16.805 c-19.903-10.835-40.084-21.777-79.888-21.777c-72.014,0-78.715,43.559-147.964,43.559c-56.84,0-81.247-35.876-117.342-62.552 c9.309-4.998,19.423-8.749,34.69-8.749c55.846,0,61.99,39.617,115.602,39.617C1143.177,92.887,1142.618,46.292,1200.112,46.292z M80.011,115.488c-40.006,0-60.008-12.206-80.011-29.506v16.806c20.003,10.891,40.005,21.782,80.011,21.782 c80.004,0,78.597-30.407,137.669-30.407c55.971,0,62.526,24.026,126.337,24.026c9.858,0,18.509-0.916,26.404-2.461 c-57.186-14.278-80.177-48.808-138.66-48.808C154.698,66.919,131.801,115.488,80.011,115.488z M526.265,80.945 c56.848,4.902,70.056,28.726,137.193,28.726c54.001,0,73.43-35.237,112.48-57.724C751.06,27.782,727.548,0,665.691,0 C597.381,0,567.086,45.555,526.265,80.945z" opacity="0.5"></path><path class="shape-divider-fill" d="M0,0v85.982c20.003,17.3,40.005,29.506,80.011,29.506c51.791,0,74.688-48.569,151.751-48.569 c58.482,0,81.473,34.531,138.66,48.808c43.096-8.432,63.634-35.662,134.433-35.662c7.812,0,14.893,0.318,21.41,0.879 C567.086,45.555,597.381,0,665.691,0c61.856,0,85.369,27.782,110.246,51.947c18.295-10.536,40.891-18.276,73.378-18.276 c38.685,0,64.132,12.564,85.489,28.348c9.309-4.998,19.423-8.749,34.69-8.749c55.846,0,61.99,39.617,115.602,39.617 c58.08,0,57.521-46.595,115.015-46.595c39.804,0,59.986,22.479,79.888,39.69V0H0z"></path></svg>';break;case"slant":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0,6V0h1000v100L0,6z"></path></svg>';break;case"slant-2":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2600 131.1" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0L2600 0 2600 69.1 0 0z"></path><path class="shape-divider-fill" opacity="0.5" d="M0 0L2600 0 2600 69.1 0 69.1z"></path><path class="shape-divider-fill" opacity="0.25" d="M2600 0L0 0 0 130.1 2600 69.1z"></path></svg>';break;case"slant-3":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1280 140V0H0l1280 140z" opacity="0.5"></path><path class="shape-divider-fill" d="M1280 98V0H0l1280 98z"></path></svg>';break;case"rounded":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1000,4.3V0H0v4.3C0.9,23.1,126.7,99.2,500,100S1000,22.7,1000,4.3z"></path></svg>';break;case"rounded-2":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0,0c0,0,0,6,0,6.7c0,18,240.2,93.6,615.2,92.6C989.8,98.5,1000,25,1000,6.7c0-0.7,0-6.7,0-6.7H0z"></path></svg>';break;case"rounded-3":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0s573.08 140 1280 140V0z"></path></svg>';break;case"rounded-4":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0v60s573.09 80 1280 80V0z" opacity="0.3"></path><path class="shape-divider-fill" d="M0 0v30s573.09 110 1280 110V0z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0s573.09 140 1280 140V0z"></path></svg>';break;case"rounded-5":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0v.48C18.62 9.38 297.81 140 639.5 140 993.24 140 1280 0 1280 0z" opacity="0.3"></path><path class="shape-divider-fill" d="M0 .6c14 8.28 176.54 99.8 555.45 119.14C952.41 140 1280 0 1280 0H0z" opacity="0.5"></path><path class="shape-divider-fill" d="M726.29 101.2C1126.36 79.92 1281 0 1281 0H1c.05 0 325.25 122.48 725.29 101.2z"></path></svg>';break;case"triangle":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 10" preserveAspectRatio="none"><path class="shape-divider-fill" d="M350,10L340,0h20L350,10z"></path></svg>';break;case"drops":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="xMidYMax slice"><path class="shape-divider-fill" d="M0 0v1.4c.6.7 1.1 1.4 1.4 2 2 3.8 2.2 6.6 1.8 10.8-.3 3.3-2.4 9.4 0 12.3 1.7 2 3.7 1.4 4.6-.9 1.4-3.8-.7-8.2-.6-12 .1-3.7 3.2-5.5 6.9-4.9 4 .6 4.8 4 4.9 7.4.1 1.8-1.1 7 0 8.5.6.8 1.6 1.2 2.4.5 1.4-1.1.1-5.4.1-6.9.1-3.7.3-8.6 4.1-10.5 5-2.5 6.2 1.6 5.4 5.6-.4 1.7-1 9.2 2.9 6.3 1.5-1.1.7-3.5.5-4.9-.4-2.4-.4-4.3 1-6.5.9-1.4 2.4-3.1 4.2-3 2.4.1 2.7 2.2 4 3.7 1.5 1.8 1.8 2.2 3 .1 1.1-1.9 1.2-2.8 3.6-3.3 1.3-.3 4.8-1.4 5.9-.5 1.5 1.1.6 2.8.4 4.3-.2 1.1-.6 4 1.8 3.4 1.7-.4-.3-4.1.6-5.6 1.3-2.2 5.8-1.4 7 .5 1.3 2.1.5 5.8.1 8.1s-1.2 5-.6 7.4c1.3 5.1 4.4.9 4.3-2.4-.1-4.4-2-8.8-.5-13 .9-2.4 4.6-6.6 7.7-4.5 2.7 1.8.5 7.8.2 10.3-.2 1.7-.8 4.6.2 6.2.9 1.4 2 1.5 2.6-.3.5-1.5-.9-4.5-1-6.1-.2-1.7-.4-3.7.2-5.4 1.8-5.6 3.5 2.4 6.3.6 1.4-.9 4.3-9.4 6.1-3.1.6 2.2-1.3 7.8.7 8.9 4.2 2.3 1.5-7.1 2.2-8 3.1-4 4.7 3.8 6.1 4.1 3.1.7 2.8-7.9 8.1-4.5 1.7 1.1 2.9 3.3 3.2 5.2.4 2.2-1 4.5-.6 6.6 1 4.3 4.4 1.5 4.4-1.7 0-2.7-3-8.3 1.4-9.1 4.4-.9 7.3 3.5 7.8 6.9.3 2-1.5 10.9 1.3 11.3 4.1.6-3.2-15.7 4.8-15.8 4.7-.1 2.8 4.1 3.9 6.6 1 2.4 2.1 1 2.3-.8.3-1.9-.9-3.2 1.3-4.3 5.9-2.9 5.9 5.4 5.5 8.5-.3 2-1.7 8.4 2 8.1 6.9-.5-2.8-16.9 4.8-18.7 4.7-1.2 6.1 3.6 6.3 7.1.1 1.7-1.2 8.1.6 9.1 3.5 2 1.9-7 2-8.4.2-4 1.2-9.6 6.4-9.8 4.7-.2 3.2 4.6 2.7 7.5-.4 2.2 1.3 8.6 3.8 4.4 1.1-1.9-.3-4.1-.3-6 0-1.7.4-3.2 1.3-4.6 1-1.6 2.9-3.5 5.1-2.9 2.5.6 2.3 4.1 4.1 4.9 1.9.8 1.6-.9 2.3-2.1 1.2-2.1 2.1-2.1 4.4-2.4 1.4-.2 3.6-1.5 4.9-.5 2.3 1.7-.7 4.4.1 6.5.6 1.5 2.1 1.7 2.8.3.7-1.4-1.1-3.4-.3-4.8 1.4-2.5 6.2-1.2 7.2 1 2.3 4.8-3.3 12-.2 16.3 3 4.1 3.9-2.8 3.8-4.8-.4-4.3-2.1-8.9 0-13.1 1.3-2.5 5.9-5.7 7.9-2.4 2 3.2-1.3 9.8-.8 13.4.5 4.4 3.5 3.3 2.7-.8-.4-1.9-2.4-10 .6-11.1 3.7-1.4 2.8 7.2 6.5.4 2.2-4.1 4.9-3.1 5.2 1.2.1 1.5-.6 3.1-.4 4.6.2 1.9 1.8 3.7 3.3 1.3 1-1.6-2.6-10.4 2.9-7.3 2.6 1.5 1.6 6.5 4.8 2.7 1.3-1.5 1.7-3.6 4-3.7 2.2-.1 4 2.3 4.8 4.1 1.3 2.9-1.5 8.4.9 10.3 4.2 3.3 3-5.5 2.7-6.9-.6-3.9 1-7.2 5.5-5 4.1 2.1 4.3 7.7 4.1 11.6 0 .8-.6 9.5 2.5 5.2 1.2-1.7-.1-7.7.1-9.6.3-2.9 1.2-5.5 4.3-6.2 4.5-1 7.7 1.5 7.4 5.8-.2 3.5-1.8 7.7-.5 11.1 1 2.7 3.6 2.8 5 .2 1.6-3.1 0-8.3-.4-11.6-.4-4.2-.2-7 1.8-10.8 0 0-.1.1-.1.2-.2.4-.3.7-.4.8v.1c-.1.2-.1.2 0 0v-.1l.4-.8c0-.1.1-.1.1-.2.2-.4.5-.8.8-1.2V0H0zM282.7 3.4z"></path></svg>';break;case"cliff":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 279.24" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1000 0S331.54-4.18 0 279.24h1000z" opacity="0.25"></path><path class="shape-divider-fill" d="M1000 279.24s-339.56-44.3-522.95-109.6S132.86 23.76 0 25.15v254.09z"></path></svg>';break;case"zigzag":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1800 5.8" preserveAspectRatio="none"><path class="shape-divider-fill" d="M5.4.4l5.4 5.3L16.5.4l5.4 5.3L27.5.4 33 5.7 38.6.4l5.5 5.4h.1L49.9.4l5.4 5.3L60.9.4l5.5 5.3L72 .4l5.5 5.3L83.1.4l5.4 5.3L94.1.4l5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3L161 .4l5.4 5.3L172 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3L261 .4l5.4 5.3L272 .4l5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3L361 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.6-5.4 5.5 5.3L461 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1L550 .4l5.4 5.3L561 .4l5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2L650 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2L750 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2L850 .4l5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.4V0H-.2v5.8z"></path></svg>';break;case"illusion":l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 19.6" preserveAspectRatio="none"><path class="shape-divider-fill" opacity="0.33" d="M0 0L0 18.8 141.8 4.1 283.5 18.8 283.5 0z"></path><path class="shape-divider-fill" opacity="0.33" d="M0 0L0 12.6 141.8 4 283.5 12.6 283.5 0z"></path><path class="shape-divider-fill" opacity="0.33" d="M0 0L0 6.4 141.8 4 283.5 6.4 283.5 0z"></path><path class="shape-divider-fill" d="M0 0L0 1.2 141.8 4 283.5 1.2 283.5 0z"></path></svg>';break;default:l=""}e.innerHTML=l,e.querySelector("svg").classList.add("op-ts"),setTimeout(function(){e.querySelector("svg").classList.add("op-1")},500),e.classList.add("shape-divider-complete")})}},StickySidebar:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof jQuery&&jQuery().scwStickySidebar}).then(function(e){return!(!e||(M.initFunction({class:"has-plugin-stickysidebar",event:"pluginStickySidebarReady"}),(t=M.getSelector(t)).length<1))&&void t.each(function(){var e=jQuery(this),t=e.attr("data-offset-top")||110,i=e.attr("data-offset-bottom")||50;e.scwStickySidebar({additionalMarginTop:Number(t),additionalMarginBottom:Number(i)})})})}},Cookies:{init:function(e){if(M.getSelector(e,!1,!1).length<1)return!0;if(M.initFunction({class:"has-plugin-cookie",event:"pluginCookieReady"}),(e=M.getSelector(e,!1)).length<1)return!0;var i,n=document.querySelector(".gdpr-settings"),r=(n?.getAttribute("data-speed"),n?.getAttribute("data-expire")||30),e=n?.getAttribute("data-delay")||1500,t=n?.getAttribute("data-persistent"),s="bottom",a=n?.offsetHeight+100,o=n?.offsetWidth+100,l=document.querySelector(".gdpr-cookie-settings"),c=l?.querySelectorAll("[data-cookie-name]");if(!n&&!l)return!0;"true"==t&&(M.cookie.set("__cnvs_cookies_accept",""),M.cookie.remove("__cnvs_cookies_decline")),n&&(n?.classList.contains("gdpr-settings-sm")&&n?.classList.contains("gdpr-settings-right")?s="right":n?.classList.contains("gdpr-settings-sm")&&(s="left"),"left"==s?(i=-o,n.style.right="auto",n.style.marginLeft="1rem"):"right"==s?(i=-o,n.style.left="auto",n.style.marginRight="1rem"):i=-a,n.style[s]=i+"px","1"!=M.cookie.get("__cnvs_cookies_accept"))&&setTimeout(function(){n.style.display="block",n.style.pointerEvents="auto",n.style[s]=0,n.style.opacity=1},Number(e));var t=document.querySelectorAll(".gdpr-accept"),o=document.querySelectorAll(".gdpr-decline"),a=document.querySelectorAll(".gdpr-save-cookies"),e=(0<t.length&&t.forEach(function(t){t.onclick=function(e){e.preventDefault(),n&&(n.style[s]=i+"px",n.style.opacity=0,n.ontransitionend=function(){n.style.display="none",n.style.pointerEvents="none"}),M.cookie.set("__cnvs_cookies_accept","1",r),M.cookie.set("__cnvs_cookies_decline","0",r),k(t)}}),0<o.length&&o.forEach(function(t){t.onclick=function(e){e.preventDefault(),n&&(n.style[s]=i+"px",n.style.opacity=0,n.ontransitionend=function(){n.style.display="none",n.style.pointerEvents="none"}),M.cookie.set("__cnvs_cookies_accept","0",r),M.cookie.set("__cnvs_cookies_decline","1",r),k(t)}}),M.cookie.get("__cnvs_cookies_accept")),t=M.cookie.get("__cnvs_cookies_decline"),d=(e||"0"!=e)&&(!t||"1"!=t);c?.forEach(function(e){var t="__cnvs_gdpr_"+e.getAttribute("data-cookie-name"),t=M.cookie.get(t);e.checked=!(void 0===t||"1"!=t||!d)}),0<a.length&&a.forEach(function(t){t.onclick=function(e){e.preventDefault(),M.cookie.set("__cnvs_cookies_accept","1",r),M.cookie.set("__cnvs_cookies_decline","0",r),c.forEach(function(e){var t="__cnvs_gdpr_"+e.getAttribute("data-cookie-name");1==e.checked?M.cookie.set(t,"1",r):M.cookie.remove(t,"")}),0<l.closest(".mfp-content").length&&jQuery$.magnificPopup.close(),k(t)}}),document.querySelectorAll(".gdpr-container")?.forEach(function(t){var e="__cnvs_gdpr_"+t.getAttribute("data-cookie-name"),i=t.getAttribute("data-cookie-content"),n=t.getAttribute("data-cookie-content-ajax"),e=M.cookie.get(e);void 0!==e&&"1"==e&&d?(t.classList.add("gdpr-content-active"),n?fetch(n).then(function(e){return e.text()}).then(function(e){e=(new DOMParser).parseFromString(e,"text/html");t?.insertAdjacentHTML("beforeend",e.body.innerHTML)}).catch(function(e){console.log(e)}):i&&(t.innerHTML+=i),M.runContainerModules(t)):t.classList.add("gdpr-content-blocked")})}},Quantity:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-quantity",event:"pluginQuantityReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(e){var t=e.querySelector(".plus"),i=e.querySelector(".minus"),n=e.querySelector(".qty"),r=new Event("change");t.onclick=function(e){e.preventDefault();var e=n.value,t=n.getAttribute("step")||1,i=n.getAttribute("max");if(i&&Number(e)>=Number(i))return!1;/^\d+$/.test(e)?(i=Number(e)+Number(t),n.value=i):n.value=Number(t),n.dispatchEvent(r)},i.onclick=function(e){e.preventDefault();var e=n.value,t=n.getAttribute("step")||1,i=n.getAttribute("min");(!i||i<0)&&(i=1),/^\d+$/.test(e)?Number(e)>Number(i)&&(i=Number(e)-Number(t),n.value=i):n.value=Number(t),n.dispatchEvent(r)}})}},ReadMore:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-readmore",event:"pluginReadMoreReady"}),(e=M.getSelector(e,!1)).length<1)||(e.forEach(function(e){var t,i=e,n=i.getAttribute("data-readmore-size")||"10rem",r=i.getAttribute("data-readmore-speed")||500,s=i.getAttribute("data-readmore-scrollup")||"false",a=i.getAttribute("data-readmore-trigger")||".read-more-trigger",o=i.getAttribute("data-readmore-trigger-open")||"Read More",l=i.getAttribute("data-readmore-trigger-close")||"Read Less",e=(i.style.height="",i.classList.remove("read-more-wrap-open"),i.offsetHeight),c=i.querySelector(a),d=(c.classList.remove("d-none"),e+c.offsetHeight),u=(c.innerHTML=o,r=Number(r),i.classList.add("read-more-wrap"),i.style.height=n,i.style.transitionDuration=r+"ms",i.querySelector(".read-more-mask")||(i.innerHTML+='<div class="read-more-mask"></div>'),t=i.querySelector(".read-more-mask"),i.getAttribute("data-readmore-mask")||"true"),e=i.getAttribute("data-readmore-maskcolor")||"#FFF",c=i.getAttribute("data-readmore-masksize")||"100%",p=("true"==u?(t.style.height=c,t.style.backgroundImage="linear-gradient( "+Q(e,0)+", "+Q(e,1)+" )",t.classList.add("op-ts","op-1")):t.classList.add("d-none"),i.querySelector(a));p.onclick=function(e){e.preventDefault(),i.classList.contains("read-more-wrap-open")?(i.style.height=n,i.classList.remove("read-more-wrap-open"),p.innerHTML=o,setTimeout(function(){"true"==s&&M.scrollTo(i.offsetTop-M.getVars.topScrollOffset,!1,!1)},r),"true"==u&&t.classList.add("op-ts","op-1")):("false"==l&&p.classList.add("d-none"),i.style.height=d+"px",i.style.overflow="",i.classList.add("read-more-wrap-open"),p&&(p.innerHTML=l),"true"==u&&(t.classList.remove("op-1"),t.classList.add("op-0"))),p=i.querySelector(a)}}),void(M.getVars.resizers.readmore=function(){w.readmore()}))}},PricingSwitcher:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-pricing-switcher",event:"pluginPricingSwitcherReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(t){var e=t.querySelectorAll('[type="checkbox"], [type="radio"], select'),i=t.getAttribute("data-default-class")||"text-muted op-05",n=t.getAttribute("data-active-class")||"fw-bold",r=document.querySelector(t.getAttribute("data-container"));e.forEach(function(e){R(e,t,r,i,n),e.addEventListener("change",function(){R(e,t,r,i,n)})})})}},AjaxTrigger:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-ajaxtrigger",event:"pluginAjaxTriggerReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(e){var t={trigger:e,loader:e.getAttribute("data-ajax-loader"),triggerType:e.getAttribute("data-ajax-trigger-type")||"click",loadDelay:e.getAttribute("data-ajax-load-delay")||2222,container:document.querySelector(e.getAttribute("data-ajax-container")),contentPlacement:e.getAttribute("data-ajax-insertion")||"append",triggerHide:e.getAttribute("data-ajax-trigger-hide")||"true",triggerDisable:e.getAttribute("data-ajax-trigger-disable")||"true",loadCSS:e.getAttribute("data-ajax-loadcss")||!1,loadJS:e.getAttribute("data-ajax-loadjs")||!1};"load"==t.triggerType?setTimeout(function(){V(t)},Number(t.loadDelay)):t.trigger.onclick=function(e){e.preventDefault(),V(t)}})}},VideoFacade:{init:function(e){if(M.getSelector(e,!1,!1).length<1)return!0;M.initFunction({class:"has-plugin-videofacade",event:"pluginVideoFacadeReady"}),(e=M.getSelector(e,!1)).forEach(function(r){r.onclick=function(e){e.preventDefault();var e=r.getAttribute("data-video-html"),t=r.getAttribute("data-video-ratio")||"ratio ratio-16x9",i=r.querySelector(".video-facade-preview"),n=r.querySelector(".video-facade-content");i.classList.add("d-none"),n.innerHTML+=e,t.split(" ").forEach(function(e){n.classList.add(e)})}})}},SchemeToggle:{init:function(n){return M.getSelector(n,!1,!1).length<1||(M.initFunction({class:"has-plugin-schemetoggler",event:"pluginSchemeTogglerReady"}),!((n=M.getSelector(n,!1)).length<1)&&void n.forEach(function(t){var i=t.getAttribute("data-bodyclass-toggle")||"dark",e=t.getAttribute("data-type")||"trigger";S(t),"checkbox"==e?t.querySelector("input[type=checkbox]").addEventListener("change",function(){M.classesFn("toggle",i,M.getVars.elBody),S(t,!1,!0),M.siblings(t,n).forEach(function(e){S(e,!0)})}):t.onclick=function(e){e.preventDefault(),M.classesFn("toggle",i,M.getVars.elBody),S(t,!1,!0),M.siblings(t,n).forEach(function(e){S(e,!0)})}}))}},Clipboard:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof ClipboardJS}).then(function(e){var s,a;return!!e&&(M.initFunction({class:"has-plugin-clipboard",event:"pluginClipboardReady"}),(t=M.getSelector(t,!1)).length<1||(s=[],a=0,void t.forEach(function(e){var t=e.querySelector("button"),i=t.innerHTML,n=t.getAttribute("data-copied")||"Copied",r=t.getAttribute("data-copied-timeout")||5e3;s[a]=new ClipboardJS(t,{target:function(e){return e.closest(".clipboard-copy").querySelector("code")}}),s[a].on("success",function(e){t.innerHTML=n,t.disabled=!0,setTimeout(function(){t.innerHTML=i,t.disabled=!1},Number(r))}),a++})))})}},CodeHighlight:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.loadCSS({file:"components/prism.css",id:"canvas-prism-css",cssFolder:!0}),M.isFuncTrue(function(){return void 0!==Prism}).then(function(e){return!!e&&(M.initFunction({class:"has-plugin-codehighlight",event:"pluginCodeHighlightReady"}),(t=M.getSelector(t,!1)).length<1||void t.forEach(function(e){Prism.highlightElement(e.querySelector("code"))}))})}},Tips:{init:function(e){M.isFuncTrue(function(){return"undefined"!=typeof bootstrap}).then(function(e){if(!e)return!1;if("undefined"==typeof cnvsTips||cnvsTips.length<1)return!1;M.initFunction({class:"has-plugin-tips",event:"pluginTipsReady"});var e=Math.floor(Math.random()*cnvsTips.length),e=cnvsTips[e],t=document.getElementById("cnvs-tips-element"),i=(t||(M.getVars.elWrapper.insertAdjacentHTML("beforeend",'<div class="position-fixed bottom-0 end-0 p-3 text-start" style="z-index: 699;"><div id="cnvs-tips-element" data-notify-trigger="custom" data-notify-target="#cnvs-tips-element" data-notify-timeout="7777" class="toast hide p-3 bg-white" role="alert" aria-live="assertive" aria-atomic="true" style="--bs-toast-max-width:400px;--bs-toast-bg: rgba(var(--bs-body-bg-rgb),.925);"><div class="toast-header bg-transparent border-0 mb-0 align-items-center pb-1"><h5 id="cnvs-tips-element-title" class="me-auto fs-6 fw-semibold mb-0"></h5><button type="button" class="btn-close me-1" data-bs-dismiss="toast" aria-label="Close"></button></div><div id="cnvs-tips-element-content" class="toast-body small pt-1"></div><a href="#" id="cnvs-tips-element-disable" class="text-muted text-decoration-underline op-06 h-op-08 px-2 pb-2 ms-1 mt-1 d-inline-block" data-cookies="true" style="font-size:.75rem;text-underline-offset:3px;">Disable Random Tips</a></div></div>'),t=document.getElementById("cnvs-tips-element")),document.getElementById("cnvs-tips-element-title")),n=document.getElementById("cnvs-tips-element-content"),r=document.getElementById("cnvs-tips-element-disable"),s=document.getElementById("cnvs-tips-element-enable");i.innerHTML=e.title,n.innerHTML=e.content,r&&(r.onclick=function(e){e.preventDefault(),bootstrap.Toast.getOrCreateInstance(document.getElementById("cnvs-tips-element")).hide(),M.cookie.set("__cnvs_tips_cookies","hide",1)}),s&&(s.onclick=function(e){e.preventDefault(),M.cookie.remove("__cnvs_tips_cookies"),window.location.reload()}),i=!0,(i="hide"==M.cookie.get("__cnvs_tips_cookies")?!1:i)&&setTimeout(function(){w.notifications(t)},Math.floor(5e3*Math.random()))})}},TextSplitter:(i=function(e){return e.textContent||e.innerText},n=function(e,t="span",i=" "){return e.map(function(e){return"<"+t+">"+e+"</"+t+">"}).join(i)},{init:function(e){return M.getSelector(e,!1,!1).length<1||(e=M.getSelector(e,!1)).length<1||void e.forEach(function(e){var t=e.getAttribute("data-split-type")||"word";q(e,t)})}}),MediaActions:(a=["ended","error","pause","seeking","waiting"],o=["play","playing","timeupdate"],{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-mediaactions",event:"pluginMediaActionsReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(t){var i=t.querySelector("video,audio"),e=t.querySelector(".media-trigger-playback"),n=t.querySelector(".media-trigger-volume"),r=t.querySelector(".media-duration");if(!i)return!0;a.forEach(function(e){i.addEventListener(e,function(){t.classList.remove("media-is-playing"),T(i)})}),o.forEach(function(e){i.addEventListener(e,function(){t.classList.add("media-is-playing"),T(i),r&&(r.innerHTML=B(i.currentTime))})}),i.addEventListener("volumechange",function(){T(i)});var s=setInterval(function(){4===i.readyState&&(r&&(r.innerHTML=B(i.duration)),clearInterval(s))},1e3);e&&(e.onclick=function(e){e.preventDefault(),i.paused?i.play():i.pause()}),n&&(n.onclick=function(e){e.preventDefault(),i.muted?i.muted=!1:i.muted=!0})})}}),ViewportDetect:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-viewportdetect",event:"pluginViewportDetectReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(e){var i=e.getAttribute("data-delay")||0,n=e.getAttribute("data-viewport-class")||"",r=e.getAttribute("data-viewport-class-out")||"",s=e.getAttribute("data-viewport-class-target"),t=e.getAttribute("data-viewport-threshold")||"0",a=e.getAttribute("data-viewport-rootmargin")||"0px",n=n.split(" "),r=r.split(" "),o=!1;(n.includes("dark")||r.includes("dark"))&&(o=!0),s=!!s&&document.querySelector(s),new IntersectionObserver(function(e){e.forEach(function(e){var t=e.target;s=s||t,e.isIntersecting?setTimeout(function(){t.classList.add("is-in-viewport"),n.forEach(function(e){e&&s.classList.add(e)}),r.forEach(function(e){e&&s.classList.remove(e)}),o&&F(s)},Number(i)):(t.classList.remove("is-in-viewport"),n.forEach(function(e){e&&s.classList.remove(e)}),r.forEach(function(e){e&&s.classList.add(e)}),o&&F(s))})},{threshold:parseFloat(t),rootMargin:a}).observe(e)})}},ScrollDetect:(h=[],{init:function(n){if(M.getSelector(n,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof fastdom}).then(function(e){var p,i;return!!e&&(M.initFunction({class:"has-plugin-scrolldetect",event:"pluginScrollDetectReady"}),(n=M.getSelector(n,!1)).length<1||(p=new ResizeObserver(function(e){e.forEach(function(e){var t=t||setTimeout(function(){i(n),t=!1},333)})}),(i=function(e){h=[],e.forEach(function(e){var t=e.offsetWidth,i=e.offsetHeight,n=M.offset(e).top,r=M.getVars.viewport.height,s=e.getAttribute("data-include-width"),a=e.getAttribute("data-include-height"),o=e.getAttribute("data-include-offset"),l=e.getAttribute("data-scroll-offset"),c=e.getAttribute("data-parallax-ratio"),d={},l=(l&&(1<(l=l.split("%")).length?n+=r*Number(l[0])*.01:1==l.length&&l[0]&&(n+=Number(l[0]))),n-r),r=n+i,u=r-l;d.elem=e,d.start=l,d.end=r,d.range={start:i,end:i,full:u},d.width=t,d.height=i,d.offset=n,("true"==s||e.classList.contains("parallax")&&"horizontal"==e.getAttribute("data-parallax-direction"))&&e.style.setProperty("--cnvs-scroll-width",d.width),("true"==a||e.classList.contains("parallax")&&"horizontal"!=e.getAttribute("data-parallax-direction"))&&e.style.setProperty("--cnvs-scroll-height",d.height),"true"==o&&e.style.setProperty("--cnvs-scroll-offset",d.offset),isNaN(c)||e.style.setProperty("--cnvs-parallax-ratio",c),z(d),h.push(d),p.observe(e)})})(n),N(),window.addEventListener("scroll",function(){fastdom.mutate(function(){N()})},{passive:!0}),void p.observe(document.documentElement)))})}}),FontSizer:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-fontsizer",event:"pluginFontSizerReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(e){var t=e.getAttribute("data-target"),i=document.querySelector(t),t=e.getAttribute("data-step")||10,n=e.getAttribute("data-min")||12,r=e.getAttribute("data-max")||24,s=Number(document.defaultView.getComputedStyle(i).getPropertyValue("font-size").split("px")[0]),a=s*Number(t)*.01,t=e.querySelector(".font-size-default"),o=e.querySelector(".font-size-minus"),l=e.querySelector(".font-size-plus");t&&(t.onclick=function(e){e.preventDefault(),i.style.fontSize=s+"px"}),o&&(e.querySelector(".font-size-minus").onclick=function(e){e.preventDefault();e=Number(document.defaultView.getComputedStyle(i).getPropertyValue("font-size").split("px")[0])-a;n<=e&&(i.style.fontSize=e+"px")}),l&&(e.querySelector(".font-size-plus").onclick=function(e){e.preventDefault();e=Number(document.defaultView.getComputedStyle(i).getPropertyValue("font-size").split("px")[0])+a;e<=r&&(i.style.fontSize=e+"px")})})}},Hover3D:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-hover3d",event:"pluginHover3DReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(i){var n=i.clientHeight,r=i.clientWidth;i.addEventListener("mousemove",function(e){var t=e.layerX,e=e.layerY;i.style.transform="perspective(500px) scale(1.1) rotateX("+(e-n/2)/n*-20+"deg) rotateY("+(t-r/2)/r*20+"deg) rotateZ(0)"}),i.addEventListener("mouseout",function(){i.style.transform="perspective(500px) scale(1) rotateX(0) rotateY(0) rotateZ(0)"}),i.addEventListener("mousedown",function(){i.style.transform="perspective(500px) scale(0.9) rotateX(0) rotateY(0) rotateZ(0)"}),i.addEventListener("mouseup",function(){i.style.transform="perspective(500px) scale(1.1) rotateX(0) rotateY(0) rotateZ(0)"})})}},Buttons:{init:function(e){return M.getSelector(e,!1,!1).length<1||(M.initFunction({class:"has-plugin-buttons",event:"pluginButtonsReady"}),(e=M.getSelector(e,!1)).length<1)||void e.forEach(function(e){var t=e.innerHTML,i=(e.innerHTML="",document.createElement("div")),n=(i.classList.add("button-inner"),document.createElement("span")),t=(n.innerHTML=t,i.append(n),n.cloneNode(!0));n.after(t),e.append(i)})}},BSComponents:{init:function(t){if(M.getSelector(t,!1,!1).length<1)return!0;M.isFuncTrue(function(){return"undefined"!=typeof bootstrap}).then(function(e){var i;return!!e&&(M.initFunction({class:"has-plugin-bscomponents",event:"pluginBsComponentsReady"}),(t=M.getSelector(t,!1)).length<1||([].slice.call(M.getVars.baseEl.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(e){return new bootstrap.Tooltip(e,{container:"body"})}),[].slice.call(M.getVars.baseEl.querySelectorAll('[data-bs-toggle="popover"]')).map(function(e){return new bootstrap.Popover(e,{container:"body"})}),e=document.querySelectorAll('[data-bs-toggle="tab"],[data-bs-toggle="pill"]'),i=function(e){new bootstrap.Tab(e).show(),M.getVars.hash&&document.querySelector('[data-bs-target="'+M.getVars.hash+'"]')&&setTimeout(function(){M.scrollTo(M.offset(e).top-M.getVars.topScrollOffset-20,0,!1,"smooth")},1e3)},document.querySelectorAll(".canvas-tabs").forEach(function(e){var t=e.getAttribute("data-active");t&&(t=Number(t)-1,i(e.querySelectorAll("[data-bs-target]")[t]))}),document.querySelectorAll(".tab-hover").forEach(function(e){e.querySelectorAll("[data-bs-target]").forEach(function(e){e.addEventListener("mouseenter",function(){i(e)})})}),M.getVars.hash&&document.querySelector('[data-bs-target="'+M.getVars.hash+'"]')&&i(document.querySelector('[data-bs-target="'+M.getVars.hash+'"]')),e.forEach(function(i){i.addEventListener("shown.bs.tab",function(e){var t;i.classList.contains("container-modules-loaded")||(t=i.getAttribute("data-bs-target")?i.getAttribute("data-bs-target"):i.getAttribute("href"),M.runContainerModules(document.querySelector(t)),document.querySelector(t).querySelectorAll(".flexslider").forEach(function(e){setTimeout(function(){jQuery(e).find(".slide").resize()},500)}),i.classList.add("container-modules-loaded"))})}),void document.querySelectorAll(".style-msg .btn-close").forEach(function(t){t.onclick=function(e){e.preventDefault(),t.closest(".style-msg").classList.add("d-none")}})))})}}});function z(e){var n,r=0,s=0,a=0,o=0;n=e,fastdom.measure(function(){var e,t,i=window.scrollY;i>=n.start&&i<=n.end?(e=i-n.start,t=i-n.offset,r=e/n.range.full*100,a=e/n.range.start,o=i>n.start+n.height&&i<n.offset?(a=1,0):i>=n.offset?(a=1,t/n.range.end):0,s=a-o):i>n.end?(r=100,s=0,a=o=1):r=s=a=o=0,0<s?n.elem.classList.add("scroll-detect-inview"):n.elem.classList.remove("scroll-detect-inview"),0<a&&a<1?n.elem.classList.add("scroll-detect-inview-start"):n.elem.classList.remove("scroll-detect-inview-start"),0<o&&o<1?n.elem.classList.add("scroll-detect-inview-end"):n.elem.classList.remove("scroll-detect-inview-end"),n.elem.style.setProperty("--cnvs-scroll-percent",r),n.elem.style.setProperty("--cnvs-scroll-ratio",s),n.elem.style.setProperty("--cnvs-scroll-start",a),n.elem.style.setProperty("--cnvs-scroll-end",o)})}function N(){h.forEach(function(e){z(e)})}function F(e){e.classList.contains("dark")?e.setAttribute("data-bs-theme","dark"):e.removeAttribute("data-bs-theme")}function T(e){var t=e.closest(".media-wrap");e.volume<.1||1==e.muted?t.classList.add("media-is-muted"):t.classList.remove("media-is-muted")}function B(e){var t=(e/60).toFixed(0),e=(e%60).toFixed(0);return t+":"+(e<10?"0"+e:e)}function q(e,t="word"){e.innerHTML="letter"==t?(t="span",n(i(e).split(""),t,"")):(t="span",n(i(e).split(" "),t," ")),e.querySelectorAll("span")?.forEach(function(e,t){e.style.setProperty("--cnvs-split-index",t+1)})}function S(e,t=!1,i=!1){var n=e.getAttribute("data-bodyclass-toggle")||"dark",r=e.getAttribute("data-add-class")||"scheme-toggler-active",s=e.getAttribute("data-remove-class")||"scheme-toggler-active",a=e.getAttribute("data-add-html"),o=e.getAttribute("data-remove-html"),l=e.getAttribute("data-type")||"trigger",c=e.getAttribute("data-remember")||"false";M.contains(n,M.getVars.elBody)?(M.classesFn("add",r,e),M.classesFn("remove",s,e),e.classList.add("body-state-toggled"),"true"==c&&i&&localStorage.setItem("cnvsBodyColorScheme","dark"),"checkbox"==l&&t?e.querySelector("input[type=checkbox]").checked=!0:a&&(e.innerHTML=a)):(M.classesFn("add",s,e),M.classesFn("remove",r,e),e.classList.remove("body-state-toggled"),"true"==c&&i&&localStorage.removeItem("cnvsBodyColorScheme"),"checkbox"==l&&t?e.querySelector("input[type=checkbox]").checked=!1:o&&(e.innerHTML=o)),L.setBSTheme(),w.dataClasses()}function V(n){fetch(n.loader).then(function(e){return e.text()}).then(function(e){var[t=!1,i=!1]=[n.loadCSS,n.loadJS];t&&0<(t=JSON.parse(t)).length&&t.forEach(function(e){M.loadCSS(e)});i&&0<(i=JSON.parse(i)).length&&i.forEach(function(e){M.loadJS(e)});t=(new DOMParser).parseFromString(e,"text/html");"append"==n.placement?n.container?.insertAdjacentHTML("beforeend",t.body.innerHTML):n.container?.insertAdjacentHTML("afterbegin",t.body.innerHTML),"true"==n.triggerHide&&n.trigger.classList.add("d-none"),M.runContainerModules(n.container),M.viewport(),"true"==n.triggerDisable&&setTimeout(function(){n.trigger.onclick=function(e){return e.stopPropagation(),e.preventDefault(),!1}},1e3)}).catch(function(e){var t=document.createElement("div");t.classList.add("d-inline-block","text-danger","me-3"),t.innerText="Content Cannot be Loaded!",n.container?.prepend(t,": "+e)})}function R(e,t,i,n,r){var s;"checkbox"==e.type?l=e.checked:"radio"==e.type&&!e.checked||(l=e.value),s=l,t.querySelectorAll(".pts-switch")?.forEach(function(t){r.split(" ").forEach(function(e){t.classList.remove(e)}),n.split(" ").forEach(function(e){t.classList.add(e)})}),i.querySelectorAll(".pts-content")?.forEach(function(e){e.classList.add("d-none")}),"checkbox"==e.type&&(s=s?"true":"false"),n.split(" ").forEach(function(e){t.querySelector(".pts-"+s)?.classList.remove(e)}),r.split(" ").forEach(function(e){t.querySelector(".pts-"+s)?.classList.add(e)}),i.querySelectorAll(".pts-content-"+s).forEach(function(e){e.classList.remove("d-none")})}function Q(e,t){if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))return"rgba("+[(e="0x"+(e=3==(e=e.substring(1).split("")).length?[e[0],e[0],e[1],e[1],e[2],e[2]]:e).join(""))>>16&255,e>>8&255,255&e].join(",")+","+t+")";console.log("Bad Hex")}function k(e){e.closest("#gdpr-preferences")&&setTimeout(function(){window.location.reload()},500)}function C(e,t,i,n,r){if(e&&i){var s=!1;if("validate"==n)t&&(s="false"==r.getAttribute("aria-invalid"));else switch(i.operator){case"==":t==i.value&&(s=!0);break;case"!=":t!=i.value&&(s=!0);break;case">":t>i.value&&(s=!0);break;case"<":t<i.value&&(s=!0);break;case"<=":t<=i.value&&(s=!0);break;case">=":t>=i.value&&(s=!0);break;case"in":i.value.includes(t)&&(s=!0);break;default:s=!1}s?(e.classList.add("condition-fulfilled"),e.querySelectorAll("input,select,textarea,button").forEach(function(e){e.disabled=!1})):(e.classList.remove("condition-fulfilled"),e.querySelectorAll("input,select,textarea,button").forEach(function(e){e.disabled=!0}))}}function H(e){!function(){if(M.getOptions.scrollExternalLinks!=true)return;if(document.querySelector('a[data-href="'+M.getVars.hash+'"]')||document.querySelector('a[data-scrollto="'+M.getVars.hash+'"]')){window.onbeforeunload=function(){M.scrollTo(0,0,false,"auto")};M.scrollTo(0,0,false,"auto");var t=document.querySelector(M.getVars.hash);if(t)var i=setInterval(function(){var e=t.getAttribute("data-onepage-settings")&&JSON.parse(t.getAttribute("data-onepage-settings"));if(e){c(t,e,0);clearInterval(i)}},250)}}(),M.getVars.elLinkScrolls&&M.getVars.elLinkScrolls.forEach(function(t){W(t,"scrollTo"),t.onclick=function(e){e.preventDefault(),$(t,"scrollTo",!0)}}),M.getVars.elOnePageMenus&&M.getVars.elOnePageMenus.forEach(function(e){M.getVars.elOnePageActiveClass=e.getAttribute("data-active-class")||"current",M.getVars.elOnePageParentSelector=e.getAttribute("data-parent")||"li",M.getVars.elOnePageActiveOnClick=e.getAttribute("data-onclick-active")||"false",e.querySelectorAll("[data-href]").forEach(function(t){W(t,"onePage"),t.onclick=function(e){e.preventDefault(),$(t,"onePage",!0)}})})}function W(e,t){var i,n=s(e,t);n&&(n.removeAttribute("data-onepage-settings"),i=d(n,e),setTimeout(function(){n.hasAttribute("data-onepage-settings")||n.setAttribute("data-onepage-settings",JSON.stringify(i)),M.getVars.pageSectionEls=document.querySelectorAll("[data-onepage-settings]")},1e3))}function $(e,t,i=!1){var n=s(e,t),r=n.getAttribute("id");n&&(i=1==i?d(n,e,!1):JSON.parse(n.getAttribute("data-onepage-settings")),"scrollTo"!=t&&"true"==M.getVars.elOnePageActiveOnClick&&((parent=e.closest(".one-page-menu")).querySelectorAll(M.getVars.elOnePageParentSelector).forEach(function(e){e.classList.remove(M.getVars.elOnePageActiveClass)}),parent.querySelector('a[data-href="#'+r+'"]').closest(M.getVars.elOnePageParentSelector).classList.add(M.getVars.elOnePageActiveClass)),M.getVars.elBody.classList.contains("is-expanded-menu")&&!M.getVars.elBody.classList.contains("overlay-menu")||M.getVars.recalls.menureset(),c(n,i,250))}function P(){M.getVars.elOnePageMenus&&M.getVars.elOnePageMenus.forEach(function(e){e.querySelectorAll("[data-href]").forEach(function(e){e.closest(M.getVars.elOnePageParentSelector).classList.remove(M.getVars.elOnePageActiveClass)})}),M.getVars.elOnePageMenus&&M.getVars.elOnePageMenus.forEach(function(e){var n;e.querySelector('[data-href="#'+(void 0===M.getVars.pageSectionEls||(M.getVars.pageSectionEls.forEach(function(e){var t,i=e.getAttribute("data-onepage-settings")&&JSON.parse(e.getAttribute("data-onepage-settings"));i&&(i=M.offset(e).top-i.offset-5)<=(t=window.scrollY)&&t<i+e.offsetHeight&&e.getAttribute("id")!=n&&e.getAttribute("id")&&(n=e.getAttribute("id"))}),n))+'"]')?.closest(M.getVars.elOnePageParentSelector).classList.add(M.getVars.elOnePageActiveClass)})}function U(e){var e=new Date(e),t=new Date,e=parseInt((t.getTime()-e)/1e3);return(e+=60*t.getTimezoneOffset())<60?"less than a minute ago":e<120?"about a minute ago":e<3600?parseInt(e/60).toString()+" minutes ago":e<7200?"about an hour ago":e<86400?"about "+parseInt(e/3600).toString()+" hours ago":e<172800?"1 day ago":parseInt(e/86400).toString()+" days ago"}function G(e,t){e.easyPieChart({size:t.size,animate:t.speed,scaleColor:!1,trackColor:t.trackcolor,lineWidth:t.width,lineCap:"square",barColor:t.color})}function X(e,i){var t,n;"true"==i.comma?(t="\\B(?=(\\d{"+i.places+"})+(?!\\d))",n=new RegExp(t,"g"),e.find("span").countTo({formatter:function(e,t){return e=(e=e.toFixed(t.decimals)).replace(n,i.sep)}})):e.find("span").countTo()}function Z(e){e.sliderPx.el&&fastdom.measure(function(){e.scrollPos.y=window.scrollY,e.body.classList.contains("is-expanded-menu")&&!e.isMobile?e.height+e.sliderPx.offset+50>e.scrollPos.y?(e.classes.add("slider-parallax-visible"),e.classes.remove("slider-parallax-invisible"),e.scrollPos.y>e.sliderPx.offset?("object"==typeof e.sliderPx.el.querySelector(".slider-inner")?(u=-.4*(e.scrollPos.y-e.sliderPx.offset),p=-.15*(e.scrollPos.y-e.sliderPx.offset),E(0,u,e.sliderPx.inner)):(u=(e.scrollPos.y-e.sliderPx.offset)/1.5,p=(e.scrollPos.y-e.sliderPx.offset)/7,E(0,u,e.sliderPx.el)),E(0,p,e.sliderPx.caption)):(e.sliderPx.el.querySelector(".slider-inner")?E(0,0,e.sliderPx.inner):E(0,0,e.sliderPx.el),E(0,0,e.sliderPx.caption))):(e.classes.add("slider-parallax-invisible"),e.classes.remove("slider-parallax-visible")):(e.sliderPx.el.querySelector(".slider-inner")?E(0,0,e.sliderPx.inner):E(0,0,e.sliderPx.el),E(0,0,e.sliderPx.caption),e.classes.add("slider-parallax-visible"),e.classes.remove("slider-parallax-invisible"))})}function E(e,t,i){i&&fastdom.mutate(function(){i.style.transform="translate3d("+e+", "+t+"px, 0)"})}function J(i){i.sliderPx.el.length<1||fastdom.mutate(function(){var t;i.body.classList.contains("is-expanded-menu")&&!i.isMobile?(t=i.header&&i.header.classList.contains("transparent-header")||i.body.classList.contains("side-header")?100:0,i.sliderPx.el.classList.contains("slider-parallax-visible")&&i.sliderPx.el.querySelectorAll(".slider-arrow-left,.slider-arrow-right,.slider-caption,.slider-element-fade").forEach(function(e){e.style.opacity=1-1.85*(i.scrollPos.y-t)/i.height})):i.sliderPx.el.querySelectorAll(".slider-arrow-left,.slider-arrow-right,.slider-caption,.slider-element-fade").forEach(function(e){e.style.opacity=1})})}function A(e){e.filter(".has-init-isotope").isotope("layout")}function K(e){var t=!1,e=document.getElementById(e).nextElementSibling;return t=e?e.getAttribute("id"):t}function ee(e){var t=!1,e=document.getElementById(e).previousElementSibling;return t=e?e.getAttribute("id"):t}function te(e){if(e){var t,i,n=!1;if(e.classList.contains("dark")){if(0<(i=(t=M.getVars.headerClasses||"").length))for(var r=0;r<i;r++)if("dark"==t[r]){n=!0;break}var s=document.querySelector("#header.transparent-header:not(.sticky-header,.semi-transparent,.floating-header)");s&&s.classList.add("dark"),n||(s=document.querySelector("#header.transparent-header.sticky-header,#header.transparent-header.semi-transparent.sticky-header,#header.transparent-header.floating-header.sticky-header"))&&s.classList.remove("dark"),M.getVars.elHeaderWrap.classList.remove("not-dark")}else M.getVars.elBody.classList.contains("dark")?(e.classList.add("not-dark"),document.querySelector("#header.transparent-header:not(.semi-transparent,.floating-header)").classList.remove("dark"),document.querySelector("#header.transparent-header:not(.sticky-header,.semi-transparent,.floating-header)")?.querySelector("#header-wrap").classList.add("not-dark")):(document.querySelector("#header.transparent-header:not(.semi-transparent,.floating-header)").classList.remove("dark"),M.getVars.elHeaderWrap.classList.remove("not-dark"));M.getVars.elHeader.classList.contains("sticky-header")&&L.headers()}}function j(e){var t=M.getVars.elPageMenu;window.scrollY>e?!M.getVars.elBody.classList.contains("device-up-lg")&&"true"!=t.getAttribute("data-mobile-sticky")||t.classList.add("sticky-page-menu"):t.classList.remove("sticky-page-menu")}function I(){var t=M.getVars.elBody,i=".mega-menu-content, .sub-menu-container";document.querySelectorAll(".primary-menu-trigger").forEach(function(e){e.classList.remove("primary-menu-trigger-active")}),M.getVars.elPrimaryMenus.forEach(function(e){t.classList.contains("is-expanded-menu")?(e.querySelector(".menu-container")?.classList.remove("d-block","d-none"),e.querySelectorAll(i)?.forEach(function(e){e.classList.remove("d-none")}),document.querySelectorAll(".menu-container:not(.mobile-primary-menu)").forEach(function(e){e.style.display=""}),M.getVars.elPrimaryMenus.forEach(function(e){e.querySelectorAll(".mobile-primary-menu")?.forEach(function(e){e.classList.remove("d-block")})})):e.querySelector(".menu-container")?.classList.remove("d-block"),e.querySelectorAll(i)?.forEach(function(e){e.classList.remove("d-block")}),e.classList.remove("primary-menu-active");e=t.className.split(" ").filter(function(e){return!e.startsWith("primary-menu-open")});t.className=e.join(" ").trim()})}function ie(){function i(e){var t,i;e&&!e.querySelector(".sub-menu-indicator")&&((t=document.createElement("i")).classList.add("sub-menu-indicator"),(i=e.closest(".primary-menu")?.getAttribute("data-arrow-class")||"fa-solid fa-caret-down")&&i.split(" ").forEach(function(e){t.classList.add(e)}),e.append(t))}document.querySelectorAll(".top-links-item").forEach(function(e){var t=e.querySelector(":scope > a");e.querySelector(":scope > .top-links-sub-menu, :scope > .top-links-section")&&i(t)}),document.querySelectorAll(".menu-item").forEach(function(e){var t=e.querySelector(":scope > .menu-link > div");!e.classList.contains("mega-menu-title")&&e.querySelector(":scope > .sub-menu-container, :scope > .mega-menu-content")&&i(t)}),document.querySelectorAll(".page-menu-item").forEach(function(e){var t=e.querySelector(":scope > a > div");e.querySelector(":scope > .page-menu-sub-menu")&&i(t)})}function O(){var n=".mega-menu-content, .sub-menu-container",r=".menu-item",s=".sub-menu-trigger",t=M.getVars.elBody.classList,e=document.querySelectorAll(s),i=new Array,e=(e.forEach(function(e){e=e.closest(".menu-item").querySelector('.menu-link[href^="#"]');e&&i.push(e)}),[].slice.call(e).concat([].slice.call(i)));document.querySelectorAll(s).forEach(function(e){e.classList.remove("icon-rotate-90")}),t.contains("is-expanded-menu")||(M.getVars.elPrimaryMenus.forEach(function(e){e.querySelectorAll(n).forEach(function(e){e.classList.add("d-none"),t.remove("primary-menu-open")})}),e.forEach(function(i){i.onclick=function(e){e.preventDefault();var t,e=i;i.classList.contains("sub-menu-trigger")||(e=i.closest(r).querySelector(":scope > "+s)),M.siblings(e.closest(r)).forEach(function(e){e.querySelectorAll(n).forEach(function(e){e.classList.add("d-none")})}),e.closest(".mega-menu-content")&&(t=[],M.parents(e,r).forEach(function(e){t.push(e.querySelector(":scope > "+n))}),[].slice.call(e.closest(".mega-menu-content").querySelectorAll(n)).filter(function(e){return!t.includes(e)}).forEach(function(e){e.classList.add("d-none")})),x(e,r,n,s,"d-none")}})),t.contains("is-expanded-menu")&&((t.contains("side-header")||t.contains("overlay-menu"))&&M.getVars.elPrimaryMenus.forEach(function(e){e.classList.add("on-click"),e.querySelectorAll(s).forEach(function(e){e.style.zIndex="-1"})}),[].slice.call(M.getVars.elPrimaryMenus).filter(function(e){return e.matches(".on-click")}).forEach(function(e){M.has(e.querySelectorAll(r),s).forEach(function(e){var i=e.querySelector(":scope > .menu-link");i.onclick=function(e){var t;e.preventDefault(),M.siblings(i.closest(r)).forEach(function(e){e.querySelectorAll(n).forEach(function(e){e.classList.remove("d-block")})}),i.closest(".mega-menu-content")&&(t=[],M.parents(i,r).forEach(function(e){t.push(e.querySelector(":scope > "+n))}),[].slice.call(i.closest(".mega-menu-content").querySelectorAll(n)).filter(function(e){return!t.includes(e)}).forEach(function(e){e.classList.remove("d-block")})),x(i,r,n,s,"d-block")}})})),document.querySelectorAll(".top-links").forEach(function(e){!e.classList.contains("on-click")&&t.contains("device-up-lg")||e.querySelectorAll(".top-links-item").forEach(function(t){0<t.querySelectorAll(".top-links-sub-menu,.top-links-section").length&&(t.querySelector(":scope > a").onclick=function(e){e.preventDefault(),M.siblings(t).forEach(function(e){e.querySelectorAll(".top-links-sub-menu, .top-links-section").forEach(function(e){e.classList.remove("d-block")})}),t.querySelector(":scope > .top-links-sub-menu, :scope > .top-links-section").classList.toggle("d-block"),M.siblings(t).forEach(function(e){e.classList.remove("current")}),t.classList.toggle("current")})})}),_(document.querySelectorAll(".top-links-section"))}function ne(){var e,t=M.getVars.elHeader,i=document.querySelector(".include-header");M.getVars.headerOffset=t.offsetTop,(M.getVars.elHeader?.classList.contains("floating-header")||i?.classList.contains("include-topbar"))&&(M.getVars.headerOffset=M.offset(t).top),M.getVars.elHeaderWrap?.classList.add("position-absolute"),M.getVars.headerWrapOffset=M.getVars.headerOffset+M.getVars.elHeaderWrap?.offsetTop,M.getVars.elHeaderWrap?.classList.remove("position-absolute"),t.hasAttribute("data-sticky-offset")&&("full"==(i=t.getAttribute("data-sticky-offset"))?(M.getVars.headerWrapOffset=M.viewport().height,void 0!==(e=t.getAttribute("data-sticky-offset-negative"))&&(M.getVars.headerWrapOffset="auto"==e?M.getVars.headerWrapOffset-t.offsetHeight-1:M.getVars.headerWrapOffset-Number(e)-1)):M.getVars.headerWrapOffset=Number(i))}function D(e){!M.getVars.elBody.classList.contains("is-expanded-menu")&&"true"!=M.getVars.mobileSticky||(window.scrollY>e?M.getVars.elBody.classList.contains("side-header")||(M.getVars.elHeader.classList.add("sticky-header"),Y("sticky"),M.getVars.elBody.classList.contains("is-expanded-menu")&&"true"==M.getVars.stickyShrink&&!M.getVars.elHeader.classList.contains("no-sticky")&&(window.scrollY-e>Number(M.getVars.stickyShrinkOffset)?M.getVars.elHeader.classList.add("sticky-header-shrink"):M.getVars.elHeader.classList.remove("sticky-header-shrink"))):(re(),"true"==M.getVars.mobileSticky&&Y("responsive")))}function re(){M.getVars.elHeader.className=M.getVars.headerClasses,M.getVars.elHeader.classList.remove("sticky-header","sticky-header-shrink"),M.getVars.elHeaderWrap&&(M.getVars.elHeaderWrap.className=M.getVars.headerWrapClasses),M.getVars.elHeaderWrap?.classList.contains("force-not-dark")||M.getVars.elHeaderWrap?.classList.remove("not-dark"),L.sliderMenuClass()}function Y(e){var t="";if("responsive"==e){if(M.getVars.elBody.classList.contains("is-expanded-menu"))return;M.getVars.mobileHeaderClasses&&(t=M.getVars.mobileHeaderClasses.split(/ +/))}else{if(!M.getVars.elHeader.classList.contains("sticky-header"))return;M.getVars.stickyHeaderClasses&&(t=M.getVars.stickyHeaderClasses.split(/ +/))}var i=t.length;if(0<i)for(var n=0,n=0;n<i;n++)"not-dark"==t[n]?(M.getVars.elHeader.classList.remove("dark"),M.getVars.elHeaderWrap?.classList.contains(".not-dark")||M.getVars.elHeaderWrap?.classList.add("not-dark")):("dark"==t[n]&&M.getVars.elHeaderWrap?.classList.remove("not-dark force-not-dark"),M.getVars.elHeader.classList.contains(t[n])||M.getVars.elHeader.classList.add(t[n]));L.setBSTheme()}function se(){var e=document.querySelector(".include-header"),t=M.getVars.elHeader;M.getVars.headerHeight=t.offsetHeight,e&&(e.style.marginTop="",M.getVars.elBody.classList.contains("is-expanded-menu"))&&((t.classList.contains("floating-header")||e.classList.contains("include-topbar"))&&(M.getVars.headerHeight=t.offsetHeight+M.offset(t).top),e.style.marginTop=-1*M.getVars.headerHeight+"px",w.sliderParallax())}function ae(e){var t=M.getVars.elBody.classList,i=e.getAttribute("data-mobile")||"false",e=e.getAttribute("data-offset")||450;"false"==i&&(t.contains("device-xs")||t.contains("device-sm")||t.contains("device-md"))||(window.scrollY>Number(e)?t.add("gototop-active"):t.remove("gototop-active"))}});