KeymailSpecials2/wwwroot/js/plugins.min.js

5 lines
721 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(T,L){"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)},R=t.push,b=t.indexOf,Q={},B=Q.toString,H=Q.hasOwnProperty,q=H.toString,W=q.call(Object),m={},x=T.document,$={type:!0,src:!0,nonce:!0,noModule:!0};function V(e,t,i){var n,r,s=(i=i||x).createElement("script");if(s.text=e,t)for(n in $)(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[B.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 w(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){e=S.merge(this.constructor(),e);return 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:R,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]"!==B.call(e)||(e=N(e))&&("function"!=typeof(e=H.call(e,"constructor")&&e.constructor)||q.call(e)!==W))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,i){V(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){t=t||[];return null!=e&&(X(Object(e))?S.merge(t,"string"==typeof e?[e]:e):R.call(t,e)),t},inArray:function(e,t,i){return null==t?-1:b.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){t=t&&t.parentNode;return e===t||!(!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,P,oe,k,h,le,n=x,ce=R,E=ce,C=S.expando,M=0,ue=0,de=Ae(),he=Ae(),pe=Ae(),fe=Ae(),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",e="(?:\\\\[\\da-fA-F]{1,6}"+i+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",r="\\["+i+"*("+e+")(?:"+i+"*([*^$|!~]?=)"+i+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+e+"))|)"+i+"*\\]",s=":("+e+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+r+")*)|.*)\\)|)",ye=new RegExp(i+"+","g"),ve=new RegExp("^"+i+"*,"+i+"*"),be=new RegExp("^"+i+"*([>+~]|"+i+")"+i+"*"),we=new RegExp(i+"|>"),_e=new RegExp(s),Te=new RegExp("^"+e+"$"),xe={ID:new RegExp("^#("+e+")"),CLASS:new RegExp("^\\.("+e+")"),TAG:new RegExp("^("+e+"|[*])"),ATTR:new RegExp("^"+r),PSEUDO:new RegExp("^"+s),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,Pe=/^h\d$/i,ke=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ee=/[+~]/,d=new RegExp("\\\\[\\da-fA-F]{1,6}"+i+"?|\\\\([^\\r\\n\\f])","g"),p=function(e,t){e="0x"+e.slice(1)-65536;return t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))},Ce=function(){De()},Me=Fe(function(e){return!0===e.disabled&&w(e,"fieldset")},{dir:"parentNode",next:"legend"});try{E.apply(t=o.call(n.childNodes),n.childNodes),t[n.childNodes.length].nodeType}catch(ne){E={apply:function(e,t){ce.apply(e,o.call(t))},call:function(e){ce.apply(e,o.call(arguments,1))}}}function A(e,t,i,n){var r,s,a,o,l,c,u=t&&t.ownerDocument,d=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return i;if(!n&&(De(t),t=t||P,k)){if(11!==d&&(o=ke.exec(e)))if(r=o[1]){if(9===d){if(!(c=t.getElementById(r)))return i;if(c.id===r)return E.call(i,c),i}else if(u&&(c=u.getElementById(r))&&A.contains(t,c)&&c.id===r)return E.call(i,c),i}else{if(o[2])return E.apply(i,t.getElementsByTagName(e)),i;if((r=o[3])&&t.getElementsByClassName)return E.apply(i,t.getElementsByClassName(r)),i}if(!(fe[e+" "]||h&&h.test(e))){if(c=e,u=t,1===d&&(we.test(e)||be.test(e))){for((u=Ee.test(e)&&Ye(t.parentNode)||t)==t&&m.scope||((a=t.getAttribute("id"))?a=S.escapeSelector(a):t.setAttribute("id",a=C)),s=(l=ze(e)).length;s--;)l[s]=(a?"#"+a:":scope")+" "+Ne(l[s]);c=l.join(",")}try{return E.apply(i,u.querySelectorAll(c)),i}catch(t){fe(e,!0)}finally{a===C&&t.removeAttribute("id")}}}return qe(e.replace(ee,"$1"),t,i,n)}function Ae(){var n=[];return function e(t,i){return n.push(t+" ")>_.cacheLength&&delete e[n.shift()],e[t+" "]=i}}function j(e){return e[C]=!0,e}function je(e){var t=P.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function Ie(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&&Me(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function Oe(a){return j(function(s){return s=+s,j(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 Ye(e){return e&&void 0!==e.getElementsByTagName&&e}function De(e){var e=e?e.ownerDocument||e:n;return e!=P&&9===e.nodeType&&e.documentElement&&(oe=(P=e).documentElement,k=!S.isXMLDoc(P),le=oe.matches||oe.webkitMatchesSelector||oe.msMatchesSelector,n!=P&&(e=P.defaultView)&&e.top!==e&&e.addEventListener("unload",Ce),m.getById=je(function(e){return oe.appendChild(e).id=S.expando,!P.getElementsByName||!P.getElementsByName(S.expando).length}),m.disconnectedMatch=je(function(e){return le.call(e,"*")}),m.scope=je(function(){return P.querySelectorAll(":scope")}),m.cssHas=je(function(){try{return P.querySelector(":has(*,:jqfake)"),0}catch(e){return 1}}),m.getById?(_.filter.ID=function(e){var t=e.replace(d,p);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&k)return(t=t.getElementById(e))?[t]:[]}):(_.filter.ID=function(e){var t=e.replace(d,p);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&k){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&&k)return t.getElementsByClassName(e)},h=[],je(function(e){var t;oe.appendChild(e).innerHTML="<a id='"+C+"' href='' disabled='disabled'></a><select id='"+C+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+i+"*(?:value|"+ge+")"),e.querySelectorAll("[id~="+C+"-]").length||h.push("~="),e.querySelectorAll("a#"+C+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=P.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),oe.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=P.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+i+"*name"+i+"*="+i+"*(?:''|\"\")")}),m.cssHas||h.push(":has"),h=h.length&&new RegExp(h.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===P||e.ownerDocument==n&&A.contains(n,e)?-1:t===P||t.ownerDocument==n&&A.contains(n,t)?1:se?b.call(se,e)-b.call(se,t):0:4&i?-1:1)}),P}for(ne in A.matches=function(e,t){return A(e,null,null,t)},A.matchesSelector=function(e,t){if(De(e),k&&!fe[t+" "]&&(!h||!h.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<A(t,P,null,[e]).length},A.contains=function(e,t){return(e.ownerDocument||e)!=P&&De(e),S.contains(e,t)},A.attr=function(e,t){(e.ownerDocument||e)!=P&&De(e);var i=_.attrHandle[t.toLowerCase()],i=i&&H.call(_.attrHandle,t.toLowerCase())?i(e,t,!k):void 0;return void 0!==i?i:e.getAttribute(t)},A.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:j,match:xe,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(d,p),e[3]=(e[3]||e[4]||e[5]||"").replace(d,p),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||A.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]&&A.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return xe.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(d,p).toLowerCase();return"*"===e?function(){return!0}:function(e){return w(e,t)}},CLASS:function(e){var t=de[e+" "];return t||(t=new RegExp("(^|"+i+")"+e+"("+i+"|$)"))&&de(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){e=A.attr(e,t);return null==e?"!="===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(p,e,t,f,m){var g="nth"!==p.slice(0,3),y="last"!==p.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,u=v&&e.nodeName.toLowerCase(),d=!i&&!v,h=!1;if(c){if(g){for(;l;){for(s=e;s=s[l];)if(v?w(s,u):1===s.nodeType)return!1;o=l="only"===p&&!o&&"nextSibling"}return!0}if(o=[y?c.firstChild:c.lastChild],y&&d){for(h=(a=(n=(r=c[C]||(c[C]={}))[p]||[])[0]===M&&n[1])&&n[2],s=a&&c.childNodes[a];s=++a&&s&&s[l]||(h=a=0,o.pop());)if(1===s.nodeType&&++h&&s===e){r[p]=[M,a,h];break}}else if(!1===(h=d?a=(n=(r=e[C]||(e[C]={}))[p]||[])[0]===M&&n[1]:h))for(;(s=++a&&s&&s[l]||(h=a=0,o.pop()))&&((v?!w(s,u):1!==s.nodeType)||!++h||(d&&((r=s[C]||(s[C]={}))[p]=[M,h]),s!==e)););return(h-=m)===f||h%f==0&&0<=h/f}}},PSEUDO:function(e,s){var t,a=_.pseudos[e]||_.setFilters[e.toLowerCase()]||A.error("unsupported pseudo: "+e);return a[C]?a(s):1<a.length?(t=[e,e,"",s],_.setFilters.hasOwnProperty(e.toLowerCase())?j(function(e,t){for(var i,n=a(e,s),r=n.length;r--;)e[i=b.call(e,n[r])]=!(t[i]=n[r])}):function(e){return a(e,0,t)}):a}},pseudos:{not:j(function(e){var n=[],r=[],o=He(e.replace(ee,"$1"));return o[C]?j(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:j(function(t){return function(e){return 0<A(t,e).length}}),contains:j(function(t){return t=t.replace(d,p),function(e){return-1<(e.textContent||S.text(e)).indexOf(t)}}),lang:j(function(i){return Te.test(i||"")||A.error("unsupported lang: "+i),i=i.replace(d,p).toLowerCase(),function(e){var t;do{if(t=k?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=T.location&&T.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===oe},focus:function(e){return e===function(){try{return P.activeElement}catch(e){}}()&&P.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:Ie(!1),disabled:Ie(!0),checked:function(e){return w(e,"input")&&!!e.checked||w(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 Pe.test(e.nodeName)},input:function(e){return Se.test(e.nodeName)},button:function(e){return w(e,"input")&&"button"===e.type||w(e,"button")},text:function(e){return w(e,"input")&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:Oe(function(){return[0]}),last:Oe(function(e,t){return[t-1]}),eq:Oe(function(e,t,i){return[i<0?i+t:i]}),even:Oe(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:Oe(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:Oe(function(e,t,i){for(var n=i<0?i+t:t<i?t:i;0<=--n;)e.push(n);return e}),gt:Oe(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 w(e,"input")&&e.type===t}}(ne);for(ne in{submit:!0,reset:!0})_.pseudos[ne]=function(t){return function(e){return(w(e,"input")||w(e,"button"))&&e.type===t}}(ne);function Le(){}function ze(e,t){var i,n,r,s,a,o,l,c=he[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=xe[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?A.error(e):he(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,u=t&&"parentNode"===c,d=ue++;return e.first?function(e,t,i){for(;e=e[o];)if(1===e.nodeType||u)return a(e,t,i);return!1}:function(e,t,i){var n,r,s=[M,d];if(i){for(;e=e[o];)if((1===e.nodeType||u)&&a(e,t,i))return!0}else for(;e=e[o];)if(1===e.nodeType||u)if(r=e[C]||(e[C]={}),l&&w(e,l))e=e[o]||e;else{if((n=r[c])&&n[0]===M&&n[1]===d)return s[2]=n[2];if((r[c]=s)[2]=a(e,t,i))return!0}return!1}}function Re(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 Be(e){for(var n,t,i,r=e.length,s=_.relative[e[0].type],a=s||_.relative[" "],o=s?1:0,l=Fe(function(e){return e===n},a,!0),c=Fe(function(e){return-1<b.call(n,e)},a,!0),u=[function(e,t,i){e=!s&&(i||t!=re)||((n=t).nodeType?l:c)(e,t,i);return n=null,e}];o<r;o++)if(t=_.relative[e[o].type])u=[Fe(Re(u),t)];else{if((t=_.filter[e[o].type].apply(null,e[o].matches))[C]){for(i=++o;i<r&&!_.relative[e[i].type];i++);return function e(p,f,m,g,y,t){return g&&!g[C]&&(g=e(g)),y&&!y[C]&&(y=e(y,t)),j(function(e,t,i,n){var r,s,a,o,l=[],c=[],u=t.length,d=e||function(e,t,i){for(var n=0,r=t.length;n<r;n++)A(e,t[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),h=!p||!e&&f?d:Qe(d,l,p,i,n);if(m?m(h,o=y||(e?p:u||g)?[]:t,i,n):o=h,g)for(r=Qe(o,c),g(r,[],i,n),s=r.length;s--;)(a=r[s])&&(o[c[s]]=!(h[c[s]]=a));if(e){if(y||p){if(y){for(r=[],s=o.length;s--;)(a=o[s])&&r.push(h[s]=a);y(null,o=[],r,n)}for(s=o.length;s--;)(a=o[s])&&-1<(r=y?b.call(e,a):l[s])&&(e[r]=!(t[r]=a))}}else o=Qe(o===t?o.splice(u,o.length):o),y?y(null,t,o,n):E.apply(t,o)})}(1<o&&Re(u),1<o&&Ne(e.slice(0,o-1).concat({value:" "===e[o-2].type?"*":""})).replace(ee,"$1"),t,o<i&&Be(e.slice(o,i)),i<r&&Be(e=e.slice(i)),i<r&&Ne(e))}u.push(t)}return Re(u)}function He(e,t){var i,g,y,v,b,n,r=[],s=[],a=pe[e+" "];if(!a){for(i=(t=t||ze(e)).length;i--;)((a=Be(t[i]))[C]?r:s).push(a);(a=pe(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",u=e&&[],d=[],h=re,p=e||b&&_.find.TAG("*",r),f=M+=null==h?1:Math.random()||.1,m=p.length;for(r&&(re=t==P||t||r);c!==m&&null!=(s=p[c]);c++){if(b&&s){for(a=0,t||s.ownerDocument==P||(De(s),i=!k);o=g[a++];)if(o(s,t||P,i)){E.call(n,s);break}r&&(M=f)}v&&((s=!o&&s)&&l--,e)&&u.push(s)}if(l+=c,v&&c!==l){for(a=0;o=y[a++];)o(u,d,t,i);if(e){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=Z.call(n));d=Qe(d)}E.apply(n,d),r&&!e&&0<d.length&&1<l+y.length&&S.uniqueSort(n)}return r&&(M=f,re=h),u},v?j(n):n))).selector=e}return a}function qe(e,t,i,n){var r,s,a,o,l,c="function"==typeof e&&e,u=!n&&ze(e=c.selector||e);if(i=i||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(a=s[0]).type&&9===t.nodeType&&k&&_.relative[s[1].type]){if(!(t=(_.find.ID(a.matches[0].replace(d,p),t)||[])[0]))return i;c&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(r=xe.needsContext.test(e)?0:s.length;r--&&(a=s[r],!_.relative[o=a.type]);)if((l=_.find[o])&&(n=l(a.matches[0].replace(d,p),Ee.test(s[0].type)&&Ye(t.parentNode)||t))){if(s.splice(r,1),e=n.length&&Ne(s))break;return E.apply(i,n),i}}return(c||He(e,u))(n,t,!k,i,!t||Ee.test(e)&&Ye(t.parentNode)||t),i}Le.prototype=_.filters=_.pseudos,_.setFilters=new Le,m.sortStable=C.split("").sort(me).join("")===C,De(),m.sortDetached=je(function(e){return 1&e.compareDocumentPosition(P.createElement("fieldset"))}),S.find=A,S.expr[":"]=S.expr.pseudos,S.unique=S.uniqueSort,A.compile=He,A.select=qe,A.setDocument=De,A.escape=S.escapeSelector,A.getText=S.text,A.isXML=S.isXMLDoc,A.selectors=S.expr,A.support=S.support,A.uniqueSort=S.uniqueSort;function We(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 $e(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}var Ve=S.expr.match.needsContext,Ue=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ge(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<b.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(Ge(this,e||[],!1))},not:function(e){return this.pushStack(Ge(this,e||[],!0))},is:function(e){return!!Ge(this,"string"==typeof e&&Ve.test(e)?S(e):e||[],!1).length}});var Xe,Ze=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Je=((S.fn.init=function(e,t,i){if(e){if(i=i||Xe,"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]:Ze.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:x,!0)),Ue.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=x.getElementById(n[2]))&&(this[0]=i,this.length=1)}return this}).prototype=S.fn,Xe=S(x),/^(?:parents|prev(?:Until|All))/),Ke={children:!0,contents:!0,next:!0,prev:!0};function et(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(!Ve.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?b.call(S(e),this[0]):b.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){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return We(e,"parentNode")},parentsUntil:function(e,t,i){return We(e,"parentNode",i)},next:function(e){return et(e,"nextSibling")},prev:function(e){return et(e,"previousSibling")},nextAll:function(e){return We(e,"nextSibling")},prevAll:function(e){return We(e,"previousSibling")},nextUntil:function(e,t,i){return We(e,"nextSibling",i)},prevUntil:function(e,t,i){return We(e,"previousSibling",i)},siblings:function(e){return $e((e.parentNode||{}).firstChild,e)},children:function(e){return $e(e.firstChild)},contents:function(e){return null!=e.contentDocument&&N(e.contentDocument)?e.contentDocument:(w(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&&(Ke[n]||S.uniqueSort(i),Je.test(n))&&i.reverse(),this.pushStack(i)}});var I=/[^\x20\t\r\n\f]+/g;function tt(e){return e}function it(e){throw e}function nt(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;n="string"==typeof n?(e=n,i={},S.each(e.match(I)||[],function(e,t){i[t]=!0}),i):S.extend({},n);function r(){for(o=o||n.once,a=s=!0;c.length;u=-1)for(t=c.shift();++u<l.length;)!1===l[u].apply(t[0],t[1])&&n.stopOnFalse&&(u=l.length,t=!1);n.memory||(t=!1),s=!1,o&&(l=t?[]:"")}var s,t,a,o,l=[],c=[],u=-1,d={add:function(){return l&&(t&&!s&&(u=l.length-1,c.push(t)),function i(e){S.each(e,function(e,t){v(t)?n.unique&&d.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<=u&&u--}),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 d.fireWith(this,arguments),this},fired:function(){return!!a}};return d},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");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?o?t.call(e,c(l,s,tt,o),c(l,s,it,o)):(l++,t.call(e,c(l,s,tt,o),c(l,s,it,o),c(l,s,tt,s.notifyWith))):(a!==tt&&(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!==it&&(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()),T.setTimeout(t))}}return S.Deferred(function(e){s[0][3].add(c(0,e,v(n)?n:tt,e.notifyWith)),s[1][3].add(c(0,e,v(t)?t:tt)),s[2][3].add(c(0,e,v(i)?i:it))}).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&&(nt(e,a.done(t(n)).resolve,a.reject,!i),"pending"===a.state()||v(s[n]&&s[n].then)))return a.then();for(;n--;)nt(s[n],t(n),a.reject);return a.promise()}});var rt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,st=(S.Deferred.exceptionHook=function(e,t){T.console&&T.console.warn&&e&&rt.test(e.name)&&T.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){T.setTimeout(function(){throw e})},S.Deferred());function at(){x.removeEventListener("DOMContentLoaded",at),T.removeEventListener("load",at),S.ready()}S.fn.ready=function(e){return st.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||st.resolveWith(x,[S])}}),S.ready.then=st.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?T.setTimeout(S.ready):(x.addEventListener("DOMContentLoaded",at),T.addEventListener("load",at));function u(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)u(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}var ot=/^-ms-/,lt=/-([a-z])/g;function ct(e,t){return t.toUpperCase()}function O(e){return e.replace(ot,"ms-").replace(lt,ct)}function ut(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={},ut(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[O(t)]=i;else for(n in t)r[O(n)]=t[n];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][O(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(O):(t=O(t))in n?[t]:t.match(I)||[]).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){e=e[this.expando];return void 0!==e&&!S.isEmptyObject(e)}};var y=new dt,l=new dt,ht=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,pt=/[A-Z]/g;function ft(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:ht.test(r)?JSON.parse(r):r)}catch(e){}l.set(e,t,i)}else i=void 0;return i}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)}):u(this,function(e){var t;if(s&&void 0===e)return void 0!==(t=l.get(s,i))||void 0!==(t=ft(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=O(n.slice(5)),ft(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)}});function mt(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&vt(e)&&"none"===S.css(e,"display")}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,gt=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),f=["Top","Right","Bottom","Left"],yt=x.documentElement,vt=function(e){return S.contains(e.ownerDocument,e)},bt={composed:!0};yt.getRootNode&&(vt=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(bt)===e.ownerDocument});function wt(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"),u=e.nodeType&&(S.cssNumber[t]||"px"!==c&&+l)&&gt.exec(S.css(e,t));if(u&&u[3]!==c){for(c=c||u[3],u=+(l/=2)||1;a--;)S.style(e,t,u+c),(1-s)*(1-(s=o()/l||.5))<=0&&(a=0),u/=s;S.style(e,t,(u*=2)+c),i=i||[]}return i&&(u=+u||+l||0,r=i[1]?u+(i[1]+1)*i[2]:+i[2],n)&&(n.unit=c,n.start=u,n.end=r),r}var _t={};function Tt(e,t){for(var i,n,r,s,a,o,l=[],c=0,u=e.length;c<u;c++)(n=e[c]).style&&(i=n.style.display,t?("none"===i&&(l[c]=y.get(n,"display")||null,l[c]||(n.style.display="")),""===n.style.display&&mt(n)&&(l[c]=(o=s=r=void 0,s=n.ownerDocument,a=n.nodeName,(o=_t[a])||(r=s.body.appendChild(s.createElement(a)),o=S.css(r,"display"),r.parentNode.removeChild(r),_t[a]=o="none"===o?"block":o)))):"none"!==i&&(l[c]="none",y.set(n,"display",i)));for(c=0;c<u;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}S.fn.extend({show:function(){return Tt(this,!0)},hide:function(){return Tt(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){mt(this)?S(this).show():S(this).hide()})}});var xt=/^(?:checkbox|radio)$/i,St=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Pt=/^$|^module$|\/(?:java|ecma)script/i,r=x.createDocumentFragment().appendChild(x.createElement("div")),g=((s=x.createElement("input")).setAttribute("type","radio"),s.setAttribute("checked","checked"),s.setAttribute("name","t"),r.appendChild(s),m.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,r.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!r.cloneNode(!0).lastChild.defaultValue,r.innerHTML="<option></option>",m.option=!!r.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 Y(e,t){var i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&w(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 Et=/<|&#?\w+;/;function Ct(e,t,i,n,r){for(var s,a,o,l,c,u=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if((s=e[h])||0===s)if("object"===U(s))S.merge(d,s.nodeType?[s]:s);else if(Et.test(s)){for(a=a||u.appendChild(t.createElement("div")),o=(St.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(d,a.childNodes),(a=u.firstChild).textContent=""}else d.push(t.createTextNode(s));for(u.textContent="",h=0;s=d[h++];)if(n&&-1<S.inArray(s,n))r&&r.push(s);else if(l=vt(s),a=Y(u.appendChild(s),"script"),l&&kt(a),i)for(c=0;s=a[c++];)Pt.test(s.type||"")&&i.push(s);return u}var Mt=/^([^.]*)(?:\.(.+)|)/;function At(){return!0}function jt(){return!1}function It(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)It(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=jt;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 Ot(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,u,d,h,p,f=y.get(t);if(ut(t))for(i.handler&&(i=(s=i).handler,r=s.selector),r&&S.find.matchesSelector(yt,r),i.guid||(i.guid=S.guid++),o=(o=f.events)||(f.events=Object.create(null)),a=(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(I)||[""]).length;l--;)d=p=(h=Mt.exec(e[l])||[])[1],h=(h[2]||"").split(".").sort(),d&&(c=S.event.special[d]||{},d=(r?c.delegateType:c.bindType)||d,c=S.event.special[d]||{},p=S.extend({type:d,origType:p,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:h.join(".")},s),(u=o[d])||((u=o[d]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,h,a))||t.addEventListener&&t.addEventListener(d,a),c.add&&(c.add.call(t,p),p.handler.guid||(p.handler.guid=i.guid)),r?u.splice(u.delegateCount++,0,p):u.push(p),S.event.global[d]=!0)},remove:function(e,t,i,n,r){var s,a,o,l,c,u,d,h,p,f,m,g=y.hasData(e)&&y.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(I)||[""]).length;c--;)if(p=m=(o=Mt.exec(t[c])||[])[1],f=(o[2]||"").split(".").sort(),p){for(d=S.event.special[p]||{},h=l[p=(n?d.delegateType:d.bindType)||p]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=h.length;s--;)u=h[s],!r&&m!==u.origType||i&&i.guid!==u.guid||o&&!o.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(h.splice(s,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||S.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)S.event.remove(e,p+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){e=this||e;return xt.test(e.type)&&e.click&&w(e,"input")&&Ot(e,"click",!0),!1},trigger:function(e){e=this||e;return xt.test(e.type)&&e.click&&w(e,"input")&&Ot(e,"click"),!0},_default:function(e){e=e.target;return xt.test(e.type)&&e.click&&w(e,"input")&&y.get(e,"click")||w(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:jt,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:jt,isPropagationStopped:jt,isImmediatePropagationStopped:jt,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;x.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(Ot(this,n,!0),!x.documentMode)return!1;(e=y.get(this,r))||this.addEventListener(r,s),y.set(this,r,(e||0)+1)},trigger:function(){return Ot(this,n),!0},teardown:function(){var e;if(!x.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=x.documentMode?this:e,i=y.get(t,r);i||(x.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=x.documentMode?this:e,i=y.get(t,r)-1;i?y.set(t,r,i):(x.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 It(this,e,t,i,n)},one:function(e,t,i,n){return It(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=jt),this.each(function(){S.event.remove(this,e,i,t)});for(r in e)this.off(r,t,e[r])}return this}});var Yt=/<script|<style|<link/i,Dt=/checked\s*(?:[^=]|=\s*.checked.)/i,Lt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function zt(e,t){return w(e,"table")&&w(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Nt(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ft(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Rt(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 Qt(i,n,r,s){n=F(n);var e,t,a,o,l,c,u=0,d=i.length,h=d-1,p=n[0],f=v(p);if(f||1<d&&"string"==typeof p&&!m.checkClone&&Dt.test(p))return i.each(function(e){var t=i.eq(e);f&&(n[0]=p.call(this,e,t.html())),Qt(t,n,r,s)});if(d&&(t=(e=Ct(n,i[0].ownerDocument,!1,i,s)).firstChild,1===e.childNodes.length&&(e=t),t||s)){for(o=(a=S.map(Y(e,"script"),Nt)).length;u<d;u++)l=e,u!==h&&(l=S.clone(l,!0,!0),o)&&S.merge(a,Y(l,"script")),r.call(i[u],l,u);if(o)for(c=a[a.length-1].ownerDocument,S.map(a,Ft),u=0;u<o;u++)l=a[u],Pt.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):V(l.textContent.replace(Lt,""),l,c))}return i}function Bt(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(Y(n)),n.parentNode&&(i&&vt(n)&&kt(Y(n,"script")),n.parentNode.removeChild(n));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,r,s,a,o,l,c,u=e.cloneNode(!0),d=vt(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=Y(u),n=0,r=(s=Y(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||Y(e),a=a||Y(u),n=0,r=s.length;n<r;n++)Rt(s[n],a[n]);else Rt(e,u);return 0<(a=Y(u,"script")).length&&kt(a,!d&&Y(e,"script")),u},cleanData:function(e){for(var t,i,n,r=S.event.special,s=0;void 0!==(i=e[s]);s++)if(ut(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 Bt(this,e,!0)},remove:function(e){return Bt(this,e)},text:function(e){return u(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 Qt(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||zt(this,e).appendChild(e)})},prepend:function(){return Qt(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=zt(this,e)).insertBefore(e,t.firstChild)})},before:function(){return Qt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Qt(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(Y(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 u(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&&!Yt.test(e)&&!g[(St.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(S.cleanData(Y(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var i=[];return Qt(this,arguments,function(e){var t=this.parentNode;S.inArray(this,i)<0&&(S.cleanData(Y(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),R.apply(i,t.get());return this.pushStack(i)}});function Ht(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:T).getComputedStyle(e)}function qt(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}var Wt,$t,Vt,Ut,Gt,Xt,Zt,a,Jt=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Kt=/^--/,ei=new RegExp(f.join("|"),"i");function ti(e,t,i){var n,r=Kt.test(t),s=e.style;return(i=i||Ht(e))&&(n=i.getPropertyValue(t)||i[t],""!==(n=r?n&&(n.replace(ee,"$1")||void 0):n)||vt(e)||(n=S.style(e,t)),!m.pixelBoxStyles())&&Jt.test(n)&&ei.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 ii(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function ni(){var e;a&&(Zt.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%",yt.appendChild(Zt).appendChild(a),e=T.getComputedStyle(a),Wt="1%"!==e.top,Xt=12===ri(e.marginLeft),a.style.right="60%",Ut=36===ri(e.right),$t=36===ri(e.width),a.style.position="absolute",Vt=12===ri(a.offsetWidth/3),yt.removeChild(Zt),a=null)}function ri(e){return Math.round(parseFloat(e))}Zt=x.createElement("div"),(a=x.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 ni(),$t},pixelBoxStyles:function(){return ni(),Ut},pixelPosition:function(){return ni(),Wt},reliableMarginLeft:function(){return ni(),Xt},scrollboxSize:function(){return ni(),Vt},reliableTrDimensions:function(){var e,t,i;return null==Gt&&(e=x.createElement("table"),t=x.createElement("tr"),i=x.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",yt.appendChild(e).appendChild(t).appendChild(i),i=T.getComputedStyle(t),Gt=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,yt.removeChild(e)),Gt}}));var si=["Webkit","Moz","ms"],ai=x.createElement("div").style,oi={};function li(e){return S.cssProps[e]||oi[e]||(e in ai?e:oi[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=si.length;i--;)if((e=si[i]+t)in ai)return e}(e)||e)}var ci=/^(none|table(?!-c[ea]).+)/,ui={position:"absolute",visibility:"hidden",display:"block"},di={letterSpacing:"0",fontWeight:"400"};function hi(e,t,i){var n=gt.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 fi(e,t,i){var n=Ht(e),r=(!m.boxSizingReliable()||i)&&"border-box"===S.css(e,"boxSizing",!1,n),s=r,a=ti(e,t,n),o="offset"+t[0].toUpperCase()+t.slice(1);if(Jt.test(a)){if(!i)return a;a="auto"}return(!m.boxSizingReliable()&&r||!m.reliableTrDimensions()&&w(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=ti(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=O(t),l=Kt.test(t),c=e.style;if(l||(t=li(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=gt.exec(i))&&r[1]&&(i=wt(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=O(t);return Kt.test(t)||(t=li(s)),"normal"===(r=void 0===(r=(s=S.cssHooks[t]||S.cssHooks[s])&&"get"in s?s.get(e,!0,i):r)?ti(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!ci.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?fi(e,a,i):qt(e,ui,function(){return fi(e,a,i)})},set:function(e,t,i){var n=Ht(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=gt.exec(t))&&"px"!==(s[3]||"px")&&(e.style[a]=t,t=S.css(e,a)),hi(0,t,i)}}}),S.cssHooks.marginLeft=ii(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ti(e,"marginLeft"))||e.getBoundingClientRect().left-qt(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=hi)}),S.fn.extend({css:function(e,t){return u(this,function(e,t,i){var n,r,s={},a=0;if(Array.isArray(t)){for(n=Ht(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[li(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 mi,gi,yi=/^(?:toggle|show|hide)$/,vi=/queueHooks$/;function bi(){gi&&(!1===x.hidden&&T.requestAnimationFrame?T.requestAnimationFrame(bi):T.setTimeout(bi,S.fx.interval),S.fx.tick())}function wi(){return T.setTimeout(function(){mi=void 0}),mi=Date.now()}function _i(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 Ti(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,u=0,d=D.prefilters.length,h=S.Deferred().always(function(){delete p.elem}),p=function(){if(s)return!1;for(var e=mi||wi(),e=Math.max(0,f.startTime+f.duration-e),t=1-(e/f.duration||0),i=0,n=f.tweens.length;i<n;i++)f.tweens[i].run(t);return h.notifyWith(r,[f,t,e]),t<1&&n?e:(n||h.notifyWith(r,[f,1,0]),h.resolveWith(r,[f]),!1)},f=h.promise({elem:r,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:mi||wi(),duration:t.duration,tweens:[],createTween:function(e,t){t=S.Tween(r,f.opts,e,t,f.opts.specialEasing[e]||f.opts.easing);return 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?(h.notifyWith(r,[f,1,0]),h.resolveWith(r,[f,e])):h.rejectWith(r,[f,e])}return this}}),m=f.props,g=m,y=f.opts.specialEasing;for(n in g)if(o=y[a=O(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(;u<d;u++)if(i=D.prefilters[u].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,Ti,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(p,{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 wt(i.elem,e,gt.exec(t),i),i}]},tweener:function(e,t){for(var i,n=0,r=(e=v(e)?(t=e,["*"]):e.match(I)).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,u="width"in t||"height"in t,d=this,h={},p=e.style,f=e.nodeType&&mt(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++,d.always(function(){d.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(r=t[n],yi.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}h[n]=m&&m[n]||S.style(e,n)}if((l=!S.isEmptyObject(t))||!S.isEmptyObject(h))for(n in u&&1===e.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=y.get(e,"display")),"none"===(u=S.css(e,"display"))&&(c?u=c:(Tt([e],!0),c=e.style.display||c,u=S.css(e,"display"),Tt([e]))),"inline"===u||"inline-block"===u&&null!=c)&&"none"===S.css(e,"float")&&(l||(d.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block"),i.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]})),l=!1,h)l||(m?"hidden"in m&&(f=m.hidden):m=y.access(e,"fxshow",{display:c}),s&&(m.hidden=!f),f&&Tt([e],!0),d.done(function(){for(n in f||Tt([e]),y.remove(e,"fxshow"),h)S.style(e,n,h[n])})),l=Ti(f?m[n]:0,n,d),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(mt).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&&vi.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(_i(n,!0),e,t,i)}}),S.each({slideDown:_i("show"),slideUp:_i("hide"),slideToggle:_i("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(mi=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||S.fx.stop(),mi=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){gi||(gi=!0,bi())},S.fx.stop=function(){gi=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=T.setTimeout(e,n);t.stop=function(){T.clearTimeout(i)}})},s=x.createElement("input"),r=x.createElement("select").appendChild(x.createElement("option")),s.type="checkbox",m.checkOn=""!==s.value,m.optSelected=r.selected,(s=x.createElement("input")).value="t",s.type="radio",m.radioValue="t"===s.value;var xi,Si=S.expr.attrHandle,Pi=(S.fn.extend({attr:function(e,t){return u(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))?void 0:n)},attrHooks:{type:{set:function(e,t){var i;if(!m.radioValue&&"radio"===t&&w(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(I);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=Si[t]||S.find.attr;Si[t]=function(e,t,i){var n,r,s=t.toLowerCase();return i||(r=Si[s],Si[s]=n,n=null!=a(e,t,i)?s:null,Si[s]=r),n}}),/^(?:input|select|textarea|button)$/i),ki=/^(?:a|area)$/i;function Ei(e){return(e.match(I)||[]).join(" ")}function Ci(e){return e.getAttribute&&e.getAttribute("class")||""}function Mi(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(I)||[]}S.fn.extend({prop:function(e,t){return u(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):Pi.test(e.nodeName)||ki.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(S.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(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,Ci(this)))}):(e=Mi(t)).length?this.each(function(){if(n=Ci(this),i=1===this.nodeType&&" "+Ei(n)+" "){for(s=0;s<e.length;s++)r=e[s],i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=Ei(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,Ci(this)))}):arguments.length?(e=Mi(t)).length?this.each(function(){if(n=Ci(this),i=1===this.nodeType&&" "+Ei(n)+" "){for(s=0;s<e.length;s++)for(r=e[s];-1<i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");a=Ei(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,Ci(this),i),i)}):"boolean"==typeof i&&o?i?this.addClass(t):this.removeClass(t):(e=Mi(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=Ci(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<(" "+Ei(Ci(t))+" ").indexOf(n))return!0;return!1}});function Ai(e){e.stopPropagation()}var ji=/\r/g,Ii=(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(ji,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:Ei(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||!w(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})}),T.location),Oi={guid:Date.now()},Yi=/\?/,Di=(S.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=(new T.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)$/),Li=(S.extend(S.event,{trigger:function(e,t,i,n){var r,s,a,o,l,c,u,d=[i||x],h=H.call(e,"type")?e.type:e,p=H.call(e,"namespace")?e.namespace.split("."):[],f=u=s=i=i||x;if(3!==i.nodeType&&8!==i.nodeType&&!Di.test(h+S.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),o=h.indexOf(":")<0&&"on"+h,(e=e[S.expando]?e:new S.Event(h,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[h]||{},n||!c.trigger||!1!==c.trigger.apply(i,t))){if(!n&&!c.noBubble&&!z(i)){for(a=c.delegateType||h,Di.test(a+h)||(f=f.parentNode);f;f=f.parentNode)d.push(f),s=f;s===(i.ownerDocument||x)&&d.push(s.defaultView||s.parentWindow||T)}for(r=0;(f=d[r++])&&!e.isPropagationStopped();)u=f,e.type=1<r?a:c.bindType||h,(l=(y.get(f,"events")||Object.create(null))[e.type]&&y.get(f,"handle"))&&l.apply(f,t),(l=o&&f[o])&&l.apply&&ut(f)&&(e.result=l.apply(f,t),!1===e.result)&&e.preventDefault();return e.type=h,n||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!ut(i)||o&&v(i[h])&&!z(i)&&((s=i[o])&&(i[o]=null),S.event.triggered=h,e.isPropagationStopped()&&u.addEventListener(h,Ai),i[h](),e.isPropagationStopped()&&u.removeEventListener(h,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)}}),/\[\]$/),zi=/\r?\n/g,Ni=/^(?:submit|button|image|reset|file)$/i,Fi=/^(?:input|select|textarea|keygen)/i;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||Li.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")&&Fi.test(this.nodeName)&&!Ni.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(zi,"\r\n")}}):{name:t.name,value:i.replace(zi,"\r\n")}}).get()}});var Ri=/%20/g,Qi=/#.*$/,Bi=/([?&])_=[^&]*/,Hi=/^(.*?):[ \t]*([^\r\n]*)$/gm,qi=/^(?:GET|HEAD)$/,Wi=/^\/\//,$i={},Vi={},Ui="*/".concat("*"),Gi=x.createElement("a");function Xi(s){return function(e,t){"string"!=typeof e&&(t=e,e="*");var i,n=0,r=e.toLowerCase().match(I)||[];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 Zi(t,n,r,s){var a={},o=t===Vi;function l(e){var i;return a[e]=!0,S.each(t[e]||[],function(e,t){t=t(n,r,s);return"string"!=typeof t||o||a[t]?o?!(i=t):void 0:(n.dataTypes.unshift(t),l(t),!1)}),i}return l(n.dataTypes[0])||!a["*"]&&l("*")}function Ji(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}Gi.href=Ii.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ii.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ii.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ui,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?Ji(Ji(e,S.ajaxSettings),t):Ji(S.ajaxSettings,e)},ajaxPrefilter:Xi($i),ajaxTransport:Xi(Vi),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,u,i,d,h,p,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(h){if(!i)for(i={};t=Hi.exec(u);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?u:null},setRequestHeader:function(e,t){return null==h&&(e=a[e.toLowerCase()]=a[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==h&&(f.mimeType=e),this},statusCode:function(e){if(e)if(h)w.always(e[w.status]);else for(var t in e)b[t]=[b[t],e[t]];return this},abort:function(e){e=e||o;return l&&l.abort(e),_(0,e),this}};if(y.promise(w),f.url=((e||f.url||Ii.href)+"").replace(Wi,Ii.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(I)||[""],null==f.crossDomain){r=x.createElement("a");try{r.href=f.url,r.href=r.href,f.crossDomain=Gi.protocol+"//"+Gi.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)),Zi($i,f,t,w),!h){for(n in(p=S.event&&f.global)&&0==S.active++&&S.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!qi.test(f.type),c=f.url.replace(Qi,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ri,"+")):(r=f.url.slice(c.length),f.data&&(f.processData||"string"==typeof f.data)&&(c+=(Yi.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(c=c.replace(Bi,"$1"),r=(Yi.test(c)?"&":"?")+"_="+Oi.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]?", "+Ui+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(n,f.headers[n]);if(f.beforeSend&&(!1===f.beforeSend.call(m,w,f)||h))return w.abort();if(o="abort",v.add(f.complete),w.done(f.success),w.fail(f.error),l=Zi(Vi,f,t,w)){if(w.readyState=1,p&&g.trigger("ajaxSend",[w,f]),h)return w;f.async&&0<f.timeout&&(d=T.setTimeout(function(){w.abort("timeout")},f.timeout));try{h=!1,l.send(s,_)}catch(e){if(h)throw e;_(-1,e)}}else _(-1,"No Transport")}return w;function _(e,t,i,n){var r,s,a,o=t;h||(h=!0,d&&T.clearTimeout(d),l=void 0,u=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={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(s=u.shift();s;)if(e.responseFields[s]&&(i[e.responseFields[s]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.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],u.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,p&&g.trigger(n?"ajaxSuccess":"ajaxError",[w,f,n?r:s]),v.fireWith(m,[w,o]),p&&(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 T.XMLHttpRequest}catch(e){}};var Ki={0:200,1223:204},en=S.ajaxSettings.xhr();m.cors=!!en&&"withCredentials"in en,m.ajax=en=!!en,S.ajaxTransport(function(r){var s,a;if(m.cors||en&&!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(Ki[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&&T.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)}),x.head.appendChild(n[0])},abort:function(){r&&r()}}});var tn=[],nn=/(=)\?(?=&|$)|\?\?/,rn=(S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||S.expando+"_"+Oi.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,i){var n,r,s,a=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.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(nn,"$1"+n):!1!==e.jsonp&&(e.url+=(Yi.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=T[n],T[n]=function(){s=arguments},i.always(function(){void 0===r?S(T).removeProp(n):T[n]=r,e[n]&&(e.jsonpCallback=t.jsonpCallback,tn.push(n)),s&&v(r)&&r(s[0]),s=r=void 0}),"script"}),m.createHTMLDocument=((e=x.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=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,t.head.appendChild(n)):t=x),n=!i&&[],(i=Ue.exec(e))?[t.createElement(i[1])]:(i=Ct([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=Ei(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||yt})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var s="pageYOffset"===r;S.fn[t]=function(e){return u(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]=ii(m.pixelPosition,function(e,t){if(t)return t=ti(e,i),Jt.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 u(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),sn=(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=w,S.isFunction=v,S.isWindow=z,S.camelCase=O,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(rn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S}),T.jQuery),an=T.$;return S.noConflict=function(e){return T.$===S&&(T.$=an),e&&T.jQuery===S&&(T.jQuery=sn),S},void 0===L&&(T.jQuery=T.$=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,L={set(e,t,i){n.has(e)||n.set(e,new Map);e=n.get(e);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=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")),R=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?R(e.parentNode):null:null},Q=()=>{},B=e=>{e.offsetHeight},H=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,q=[],l=()=>"rtl"===document.documentElement.dir,e=n=>{var e=()=>{const e=H();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,W=(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)},$=(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))])},V=/[^.]*(?=\..*)\.|.*/,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;let r=ae(e);return[n,t,r=K.has(r)?r: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)}var a=te(n),a=a[i]||(a[i]={}),l=ie(a,t,e?s:null);if(l)return l.oneOff=l.oneOff&&o;var c,u,d,h,p,l=ee(t,r.replace(V,"")),r=e?(d=n,h=s,p=t,function t(i){var n=d.querySelectorAll(h);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,h,p),p.apply(e,[i])}):(c=n,u=t,function e(t){return oe(t,{delegateTarget:c}),e.oneOff&&f.off(c,t.type,u),u.apply(c,[t])});r.delegationSelector=e?s:null,r.callable=t,r.oneOff=o,a[r.uidEvent=l]=r,n.addEventListener(i,r,e)}}function se(e,t,i,n,r){n=ie(t[i],n,r);n&&(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){const[d,h,p]=ne(t,i,n),f=p!==t,m=te(e),g=m[p]||{},y=t.startsWith(".");if(void 0===h){if(y)for(const i of Object.keys(m)){r=void 0;s=void 0;a=void 0;o=void 0;u=void 0;l=void 0;c=void 0;var r=e;var s=m;var a=i;var o=t.slice(1);var l,c,u=s[a]||{};for([l,c]of Object.entries(u))l.includes(o)&&se(r,s,a,c.callable,c.delegationSelector)}for(const[i,n]of Object.entries(g)){const d=i.replace(G,"");f&&!t.includes(d)||se(e,m,p,n.callable,n.delegationSelector)}}else Object.keys(g).length&&se(e,m,p,h,d?i:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var n=H();let r=null,s=!0,a=!0,o=!1;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);return 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 u={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 ue{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)?u.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...a(t)?u.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 ue{constructor(e,t){super(),(e=r(e))&&(this._element=e,this._config=this._getConfig(t),L.set(this._element,this.constructor.DATA_KEY,this))}dispose(){L.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){W(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return L.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 de=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},d={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){e=de(e);return e&&d.findOne(e)?e:null},getElementFromSelector(e){e=de(e);return e?d.findOne(e):null},getMultipleElementsFromSelector(e){e=de(e);return e?d.find(e):[]}},he=(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=d.getElementFromSelector(this)||this.closest("."+n),t.getOrCreateInstance(e)[i]())})};class pe 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=pe.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)}})}}he(pe,"close"),e(pe);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 ue{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=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=".bs.carousel",we="next",h="prev",p="left",_e="right",Te="slid"+be,xe="carousel",Se="active",Pe=".active",ke=".carousel-item",Ee=(Pe,ke,{ArrowLeft:_e,ArrowRight:p}),Ce={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Me={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=d.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===xe&&this.cycle()}static get Default(){return Ce}static get DefaultType(){return Me}static get NAME(){return"carousel"}next(){this._slide(we)}nextWhenVisible(){!document.hidden&&s(this._element)&&this.next()}prev(){this._slide(h)}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,Te,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?f.one(this._element,Te,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=t<e?we:h,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 d.find(".carousel-item img",this._element))f.on(e,"dragstart.bs.carousel",e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(p)),rightCallback:()=>this._slide(this._directionToOrder(_e)),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=Ee[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){var t;this._indicatorsElement&&((t=d.findOne(Pe,this._indicatorsElement)).classList.remove(Se),t.removeAttribute("aria-current"),t=d.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(Se),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===we,r=e||$(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),B(r),i.classList.add(o),r.classList.add(o),this._queueCallback(()=>{r.classList.remove(o,l),r.classList.add(Se),i.classList.remove(Se,l,o),this._isSliding=!1,a(Te)},i,this._isAnimated()),e&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return d.findOne(".active.carousel-item",this._element)}_getItems(){return d.find(ke,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return l()?e===p?h:we:e===p?we:h}_orderToDirection(e){return l()?e===h?p:_e:e===h?_e:p}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=d.getElementFromSelector(this);t&&t.classList.contains(xe)&&(e.preventDefault(),e=Ae.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===u.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),f.on(window,"load.bs.carousel.data-api",()=>{for(const e of d.find('[data-bs-ride="carousel"]'))Ae.getOrCreateInstance(e)}),e(Ae);const je="show",m="collapse",Ie="collapsing",Oe=(m,m,'[data-bs-toggle="collapse"]'),Ye={parent:null,toggle:!0},De={parent:"(null|element)",toggle:"boolean"};class Le extends t{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=d.find(Oe);for(const e of i){const t=d.getSelectorFromElement(e),i=d.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 Ye}static get DefaultType(){return De}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let e=[];if(!((e=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>Le.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 i=this._getDimension();this._element.classList.remove(m),this._element.classList.add(Ie),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var t="scroll"+(i[0].toUpperCase()+i.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ie),this._element.classList.add(m,je),this._element.style[i]="",f.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[i]=this._element[t]+"px"}}}hide(){if(!this._isTransitioning&&this._isShown()&&!f.trigger(this._element,"hide.bs.collapse").defaultPrevented){const t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",B(this._element),this._element.classList.add(Ie),this._element.classList.remove(m,je);for(const t of this._triggerArray){var e=d.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ie),this._element.classList.add(m),f.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(e=this._element){return e.classList.contains(je)}_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){const e=this._getFirstLevelChildren(Oe);for(const t of e){const e=d.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}}_getFirstLevelChildren(e){const t=d.find(":scope .collapse .collapse",this._config.parent);return d.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=Le.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",Oe,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of d.getMultipleElementsFromSelector(this))Le.getOrCreateInstance(e,{toggle:!1}).toggle()}),e(Le);var E="top",C="bottom",M="right",A="left",ze="auto",j=[E,C,M,A],I="start",b="end",Ne="clippingParents",Fe="viewport",Re="popper",Qe="reference",Be=j.reduce(function(e,t){return e.concat([t+"-"+I,t+"-"+b])},[]),He=[].concat(j,[ze]).reduce(function(e,t){return e.concat([t,t+"-"+I,t+"-"+b])},[]),qe="beforeRead",We="afterRead",$e="beforeMain",Ve="afterMain",Ue="beforeWrite",Ge="afterWrite",Xe=[qe,"read",We,$e,"main",Ve,Ue,"write",Ge];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 Ze(e){return"undefined"!=typeof ShadowRoot&&(e instanceof w(e).ShadowRoot||e instanceof ShadowRoot)}var Je={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 O(e){return e.split("-")[0]}var k=Math.max,Ke=Math.min,et=Math.round;function tt(){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 it(){return!/^((?!chrome|android).)*safari/i.test(tt())}function nt(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&&et(n.width)/e.offsetWidth||1,s=0<e.offsetHeight&&et(n.height)/e.offsetHeight||1),(y(e)?w(e):window).visualViewport),e=!it()&&i,i=(n.left+(e&&t?t.offsetLeft:0))/r,e=(n.top+(e&&t?t.offsetTop:0))/s,t=n.width/r,r=n.height/s;return{width:t,height:r,top:e,right:i+t,bottom:e+r,left:i,x:i,y:e}}function rt(e){var t=nt(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 st(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&Ze(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 T(e){return((y(e)?e.ownerDocument:e.document)||window.document).documentElement}function at(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(Ze(e)?e.host:null)||T(e)}function ot(e){return v(e)&&"fixed"!==_(e).position?e.offsetParent:null}function lt(e){for(var t,i=w(e),n=ot(e);n&&(t=n,0<=["table","td","th"].indexOf(g(t)))&&"static"===_(n).position;)n=ot(n);return(!n||"html"!==g(n)&&("body"!==g(n)||"static"!==_(n).position))&&(n||function(e){var t=/firefox/i.test(tt());if(!/Trident/i.test(tt())||!v(e)||"fixed"!==_(e).position){var i=at(e);for(Ze(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 ct(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function ut(e,t,i){return k(e,Ke(t,i))}function dt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ht(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=O(s.placement),u=ct(c),c=0<=[A,M].indexOf(c)?"height":"width";o&&l&&(e=dt("number"!=typeof(e="function"==typeof(e=e.padding)?e(Object.assign({},s.rects,{placement:s.placement})):e)?e:ht(e,j)),t=rt(o),r="y"===u?E:A,n="y"===u?C:M,i=s.rects.reference[c]+s.rects.reference[u]-l[u]-s.rects.popper[c],l=l[u]-s.rects.reference[u],o=(o=lt(o))?"y"===u?o.clientHeight||0:o.clientWidth||0:0,r=e[r],e=o-t[c]-e[n],r=ut(r,n=o/2-t[c]/2+(i/2-l/2),e),s.modifiersData[a]=((o={})[u]=r,o.centerOffset=r-n,o))},effect:function(e){var t=e.state,e=e.options.element,e=void 0===e?"[data-popper-arrow]":e;null!=e&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&st(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ft(e){return e.split("-")[1]}var mt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gt(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,u=s.x,u=void 0===u?0:u,d=s.y,d=void 0===d?0:d,h="function"==typeof c?c({x:u,y:d}):{x:u,y:d},u=h.x,d=h.y,h=s.hasOwnProperty("x"),s=s.hasOwnProperty("y"),p=A,f=E,m=window;l&&(y="clientHeight",g="clientWidth",(v=lt(t))===w(t)&&"static"!==_(v=T(t)).position&&"absolute"===a&&(y="scrollHeight",g="scrollWidth"),n!==E&&(n!==A&&n!==M||r!==b)||(f=C,d=(d-((e&&v===m&&m.visualViewport?m.visualViewport.height:v[y])-i.height))*(o?1:-1)),n!==A&&(n!==E&&n!==C||r!==b)||(p=M,u=(u-((e&&v===m&&m.visualViewport?m.visualViewport.width:v[g])-i.width))*(o?1:-1)));var g,y=Object.assign({position:a},l&&mt),v=!0===c?(n={x:u,y:d},r=w(t),e=n.y,r=r.devicePixelRatio||1,{x:et(n.x*r)/r||0,y:et(e*r)/r||0}):{x:u,y:d};return u=v.x,d=v.y,o?Object.assign({},y,((g={})[f]=s?"0":"",g[p]=h?"0":"",g.transform=(m.devicePixelRatio||1)<=1?"translate("+u+"px, "+d+"px)":"translate3d("+u+"px, "+d+"px, 0)",g)):Object.assign({},y,((i={})[f]=s?d+"px":"",i[p]=h?u+"px":"",i.transform="",i))}var yt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,e=e.options,i=e.gpuAcceleration,i=void 0===i||i,n=e.adaptive,n=void 0===n||n,e=e.roundOffsets,e=void 0===e||e,i={placement:O(t.placement),variation:ft(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,gt(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,gt(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:{}},vt={passive:!0},bt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,e=e.options,n=e.scroll,r=void 0===n||n,n=e.resize,s=void 0===n||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,vt)}),s&&a.addEventListener("resize",i.update,vt),function(){r&&o.forEach(function(e){e.removeEventListener("scroll",i.update,vt)}),s&&a.removeEventListener("resize",i.update,vt)}},data:{}},wt={left:"right",right:"left",bottom:"top",top:"bottom"};function _t(e){return e.replace(/left|right|bottom|top/g,function(e){return wt[e]})}var Tt={start:"end",end:"start"};function xt(e){return e.replace(/start|end/g,function(e){return Tt[e]})}function St(e){e=w(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Pt(e){return nt(T(e)).left+St(e).scrollLeft}function kt(e){var e=_(e),t=e.overflow,i=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+i)}function Et(e,t){void 0===t&&(t=[]);var i=function e(t){return 0<=["html","body","#document"].indexOf(g(t))?t.ownerDocument.body:v(t)&&kt(t)?t:e(at(t))}(e),e=i===(null==(e=e.ownerDocument)?void 0:e.body),n=w(i),n=e?[n].concat(n.visualViewport||[],kt(i)?i:[]):i,i=t.concat(n);return e?i:i.concat(Et(at(n)))}function Ct(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Mt(e,t,i){return t===Fe?Ct((r=i,a=w(n=e),o=T(n),a=a.visualViewport,l=o.clientWidth,o=o.clientHeight,u=c=0,a&&(l=a.width,o=a.height,(s=it())||!s&&"fixed"===r)&&(c=a.offsetLeft,u=a.offsetTop),{width:l,height:o,x:c+Pt(n),y:u})):y(t)?((r=nt(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):Ct((a=T(e),l=T(a),o=St(a),c=null==(c=a.ownerDocument)?void 0:c.body,n=k(l.scrollWidth,l.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),u=k(l.scrollHeight,l.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),a=-o.scrollLeft+Pt(a),o=-o.scrollTop,"rtl"===_(c||l).direction&&(a+=k(l.clientWidth,c?c.clientWidth:0)-n),{width:n,height:u,x:a,y:o}));var n,r,s,a,o,l,c,u}function At(e){var t,i=e.reference,n=e.element,e=e.placement,r=e?O(e):null,e=e?ft(e):null,s=i.x+i.width/2-n.width/2,a=i.y+i.height/2-n.height/2;switch(r){case E:t={x:s,y:i.y-n.height};break;case C:t={x:s,y:i.y+i.height};break;case M:t={x:i.x+i.width,y:a};break;case A:t={x:i.x-n.width,y:a};break;default:t={x:i.x,y:i.y}}var o=r?ct(r):null;if(null!=o){var l="y"===o?"height":"width";switch(e){case I: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 jt(e,t){var i,n,r,s,a,o,t=t=void 0===t?{}:t,l=t.placement,l=void 0===l?e.placement:l,c=t.strategy,c=void 0===c?e.strategy:c,u=t.boundary,u=void 0===u?Ne:u,d=t.rootBoundary,d=void 0===d?Fe:d,h=t.elementContext,h=void 0===h?Re:h,p=t.altBoundary,p=void 0!==p&&p,t=t.padding,t=void 0===t?0:t,t=dt("number"!=typeof t?t:ht(t,j)),f=e.rects.popper,p=e.elements[p?h===Re?Qe:Re:h],c=(i=y(p)?p:p.contextElement||T(e.elements.popper),p=d,n=c,s="clippingParents"===(d=u)?(a=Et(at(s=i)),y(r=0<=["absolute","fixed"].indexOf(_(s).position)&&v(s)?lt(s):s)?a.filter(function(e){return y(e)&&st(e,r)&&"body"!==g(e)}):[]):[].concat(d),a=[].concat(s,[p]),d=a[0],(p=a.reduce(function(e,t){t=Mt(i,t,n);return e.top=k(t.top,e.top),e.right=Ke(t.right,e.right),e.bottom=Ke(t.bottom,e.bottom),e.left=k(t.left,e.left),e},Mt(i,d,n))).width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p),u=nt(e.elements.reference),d=At({reference:u,element:f,strategy:"absolute",placement:l}),p=Ct(Object.assign({},f,d)),f=h===Re?p:u,m={top:c.top-f.top+t.top,bottom:f.bottom-c.bottom+t.bottom,left:c.left-f.left+t.left,right:f.right-c.right+t.right},d=e.modifiersData.offset;return h===Re&&d&&(o=d[l],Object.keys(m).forEach(function(e){var t=0<=[M,C].indexOf(e)?1:-1,i=0<=[E,C].indexOf(e)?"y":"x";m[e]+=o[i]*t})),m}var It={name:"flip",enabled:!0,phase:"main",fn:function(e){var d=e.state,t=e.options,e=e.name;if(!d.modifiersData[e]._skip){for(var i=t.mainAxis,n=void 0===i||i,i=t.altAxis,r=void 0===i||i,i=t.fallbackPlacements,h=t.padding,p=t.boundary,f=t.rootBoundary,s=t.altBoundary,a=t.flipVariations,m=void 0===a||a,g=t.allowedAutoPlacements,a=d.options.placement,t=O(a),i=i||(t!==a&&m?O(i=a)===ze?[]:(t=_t(i),[xt(i),t,xt(t)]):[_t(a)]),o=[a].concat(i).reduce(function(e,t){return e.concat(O(t)===ze?(i=d,n=(e=e=void 0===(e={placement:t,boundary:p,rootBoundary:f,padding:h,flipVariations:m,allowedAutoPlacements:g})?{}:e).placement,r=e.boundary,s=e.rootBoundary,a=e.padding,o=e.flipVariations,l=void 0===(e=e.allowedAutoPlacements)?He:e,c=ft(n),e=c?o?Be:Be.filter(function(e){return ft(e)===c}):j,u=(n=0===(n=e.filter(function(e){return 0<=l.indexOf(e)})).length?e:n).reduce(function(e,t){return e[t]=jt(i,{placement:t,boundary:r,rootBoundary:s,padding:a})[O(t)],e},{}),Object.keys(u).sort(function(e,t){return u[e]-u[t]})):t);var i,n,r,s,a,o,l,c,u},[]),l=d.rects.reference,c=d.rects.popper,u=new Map,y=!0,v=o[0],b=0;b<o.length;b++){var w=o[b],_=O(w),T=ft(w)===I,x=0<=[E,C].indexOf(_),S=x?"width":"height",P=jt(d,{placement:w,boundary:p,rootBoundary:f,altBoundary:s,padding:h}),x=x?T?M:A:T?C:E,T=(l[S]>c[S]&&(x=_t(x)),_t(x)),S=[];if(n&&S.push(P[_]<=0),r&&S.push(P[x]<=0,P[T]<=0),S.every(function(e){return e})){v=w,y=!1;break}u.set(w,S)}if(y)for(var k=m?3:1;0<k&&"break"!==function(t){var e=o.find(function(e){e=u.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return v=e,"break"}(k);k--);d.placement!==v&&(d.modifiersData[e]._skip=!0,d.placement=v,d.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ot(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 Yt(t){return[E,M,C,A].some(function(e){return 0<=t[e]})}var Dt={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=jt(t,{elementContext:"reference"}),a=jt(t,{altBoundary:!0}),s=Ot(s,i),i=Ot(a,n,r),a=Yt(s),n=Yt(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})}},Lt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,t=e.options,e=e.name,t=t.offset,o=void 0===t?[0,0]:t,t=He.reduce(function(e,t){return e[t]=(t=t,i=a.rects,n=o,r=O(t),s=0<=[A,E].indexOf(r)?-1:1,i="function"==typeof n?n(Object.assign({},i,{placement:t})):n,t=i[0]||0,n=(i[1]||0)*s,0<=[A,M].indexOf(r)?{x:n,y:t}:{x:t,y:n}),e;var i,n,r,s},{}),i=t[a.placement],n=i.x,i=i.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=n,a.modifiersData.popperOffsets.y+=i),a.modifiersData[e]=t}},zt={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:{}},Nt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,i,n,r,s,a,o,l,c,u=e.state,d=e.options,e=e.name,h=d.mainAxis,h=void 0===h||h,p=d.altAxis,p=void 0!==p&&p,f=d.boundary,m=d.rootBoundary,g=d.altBoundary,y=d.padding,v=d.tether,v=void 0===v||v,d=d.tetherOffset,d=void 0===d?0:d,f=jt(u,{boundary:f,rootBoundary:m,padding:y,altBoundary:g}),m=O(u.placement),y=ft(u.placement),g=!y,b=ct(m),w="x"===b?"y":"x",_=u.modifiersData.popperOffsets,T=u.rects.reference,x=u.rects.popper,d="function"==typeof d?d(Object.assign({},u.rects,{placement:u.placement})):d,d="number"==typeof d?{mainAxis:d,altAxis:d}:Object.assign({mainAxis:0,altAxis:0},d),S=u.modifiersData.offset?u.modifiersData.offset[u.placement]:null,P={x:0,y:0};_&&(h&&(h="y"===b?"height":"width",a=(o=_[b])+f[i="y"===b?E:A],l=o-f[c="y"===b?C:M],t=v?-x[h]/2:0,r=(y===I?T:x)[h],y=y===I?-x[h]:-T[h],s=u.elements.arrow,s=v&&s?rt(s):{width:0,height:0},i=(n=u.modifiersData["arrow#persistent"]?u.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0})[i],n=n[c],c=ut(0,T[h],s[h]),s=g?T[h]/2-t-c-i-d.mainAxis:r-c-i-d.mainAxis,r=g?-T[h]/2+t+c+n+d.mainAxis:y+c+n+d.mainAxis,g=(i=u.elements.arrow&&lt(u.elements.arrow))?"y"===b?i.clientTop||0:i.clientLeft||0:0,y=o+r-(t=null!=(h=null==S?void 0:S[b])?h:0),c=ut(v?Ke(a,o+s-t-g):a,o,v?k(l,y):l),_[b]=c,P[b]=c-o),p&&(n="y"==w?"height":"width",r=(i=_[w])+f["x"===b?E:A],h=i-f["x"===b?C:M],s=-1!==[E,A].indexOf(m),g=null!=(t=null==S?void 0:S[w])?t:0,a=s?r:i-T[n]-x[n]-g+d.altAxis,y=s?i+T[n]+x[n]-g-d.altAxis:h,o=v&&s?(c=ut(a,i,l=y),l<c?l:c):ut(v?a:r,i,v?y:h),_[w]=o,P[w]=o-i),u.modifiersData[e]=P)},requiresIfExists:["offset"]};function Ft(e){var i=new Map,n=new Set,r=[];return e.forEach(function(e){i.set(e.name,e)}),e.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)}),r}var Rt={placement:"bottom",modifiers:[],strategy:"absolute"};function Qt(){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 e=e=void 0===e?{}:e,t=e.defaultModifiers,l=void 0===t?[]:t,t=e.defaultOptions,c=void 0===t?Rt:t;return function(n,r,t){void 0===t&&(t=c);var i,s,p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Rt,c),modifiersData:{},elements:{reference:n,popper:r},attributes:{},styles:{}},a=[],f=!1,m={state:p,setOptions:function(e){e="function"==typeof e?e(p.options):e;o(),p.options=Object.assign({},c,p.options,e),p.scrollParents={reference:y(n)?Et(n):n.contextElement?Et(n.contextElement):[],popper:Et(r)};e=[].concat(l,p.options.modifiers),t=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},{}),i=Ft(Object.keys(t).map(function(e){return t[e]}));var t,i,e=Xe.reduce(function(e,t){return e.concat(i.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,e=e.effect;"function"==typeof e&&(e=e({state:p,name:t,instance:m,options:void 0===i?{}:i}),a.push(e||function(){}))}),m.update()},forceUpdate:function(){if(!f){var e=p.elements,t=e.reference,e=e.popper;if(Qt(t,e)){p.rects={reference:(t=t,a=lt(e),void 0===(o="fixed"===p.options.strategy)&&(o=!1),l=v(a),c=v(a)&&(d=(c=a).getBoundingClientRect(),u=et(d.width)/c.offsetWidth||1,d=et(d.height)/c.offsetHeight||1,1!==u||1!==d),u=T(a),d=nt(t,c,o),t={scrollLeft:0,scrollTop:0},h={x:0,y:0},!l&&o||("body"===g(a)&&!kt(u)||(t=(l=a)!==w(l)&&v(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:St(l)),v(a)?((h=nt(a,!0)).x+=a.clientLeft,h.y+=a.clientTop):u&&(h.x=Pt(u))),{x:d.left+t.scrollLeft-h.x,y:d.top+t.scrollTop-h.y,width:d.width,height:d.height}),popper:rt(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:m})||p)):(p.reset=!1,s=-1)}}var a,o,l,c,u,d,h},update:(i=function(){return new Promise(function(e){m.forceUpdate(),e(p)})},function(){return s=s||new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(i())})})}),destroy:function(){o(),f=!0}};return Qt(n,r)&&m.setOptions(t).then(function(e){!f&&t.onFirstUpdate&&t.onFirstUpdate(e)}),m;function o(){a.forEach(function(e){return e()}),a=[]}}}var Ht=Bt(),qt=Bt({defaultModifiers:[bt,zt,yt,Je]}),Wt=Bt({defaultModifiers:[bt,zt,yt,Je,Lt,It,Nt,pt,Dt]});const $t=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Ve,afterRead:We,afterWrite:Ge,applyStyles:Je,arrow:pt,auto:ze,basePlacements:j,beforeMain:$e,beforeRead:qe,beforeWrite:Ue,bottom:C,clippingParents:Ne,computeStyles:yt,createPopper:Wt,createPopperBase:Ht,createPopperLite:qt,detectOverflow:jt,end:b,eventListeners:bt,flip:It,hide:Dt,left:A,main:"main",modifierPhases:Xe,offset:Lt,placements:He,popper:Re,popperGenerator:Bt,popperOffsets:zt,preventOverflow:Nt,read:"read",reference:Qe,right:M,start:I,top:E,variationPlacements:Be,viewport:Fe,write:"write"},Symbol.toStringTag,{value:"Module"})),Vt="dropdown",Ut=".bs.dropdown",Gt=".data-api",Xt="ArrowDown",Zt="click"+Ut+Gt,Jt="keydown"+Ut+Gt,Kt="show",x='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ei=(x,".dropdown-menu"),ti=l()?"top-end":"top-start",ii=l()?"top-start":"top-end",ni=l()?"bottom-end":"bottom-start",ri=l()?"bottom-start":"bottom-end",si=l()?"left-start":"right-start",ai=l()?"right-start":"left-start",oi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},li={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=d.next(this._element,ei)[0]||d.prev(this._element,ei)[0]||d.findOne(ei,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return oi}static get DefaultType(){return li}static get NAME(){return Vt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!o(this._element)&&!this._isShown()){const 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 e of[].concat(...document.body.children))f.on(e,"mouseover",Q);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Kt),this._element.classList.add(Kt),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(Kt),this._element.classList.remove(Kt),this._element.setAttribute("aria-expanded","false"),u.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(Vt.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(){if(void 0===$t)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=Wt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Kt)}_getPlacement(){var e,t=this._parent;return t.classList.contains("dropend")?si:t.classList.contains("dropstart")?ai: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?ii:ti:e?ri:ni)}_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||(u.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...c(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){var i=d.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>s(e));i.length&&$(i,t,e===Xt,!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)){const n=d.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show');for(const r of n){const n=S.getInstance(r);var t,i;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",Xt].includes(e.key);!n&&!i||t&&!i||(e.preventDefault(),t=this.matches(x)?this:d.prev(this,x)[0]||d.next(this,x)[0]||d.findOne(x,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,Jt,x,S.dataApiKeydownHandler),f.on(document,Jt,ei,S.dataApiKeydownHandler),f.on(document,Zt,S.clearMenus),f.on(document,"keyup.bs.dropdown.data-api",S.clearMenus),f.on(document,Zt,x,function(e){e.preventDefault(),S.getOrCreateInstance(this).toggle()}),e(S);const ci="backdrop",ui="mousedown.bs."+ci,di={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},hi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class pi extends ue{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return di}static get DefaultType(){return hi}static get NAME(){return ci}show(e){var t;this._config.isVisible?(this._append(),t=this._getElement(),this._config.isAnimated&&B(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,ui),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,ui,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){W(e,this._getElement(),this._config.isAnimated)}}const fi=".bs.focustrap",mi=(fi,fi,"backward"),gi={autofocus:!0,trapElement:null},yi={autofocus:"boolean",trapElement:"element"};class vi extends ue{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return gi}static get DefaultType(){return yi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),f.off(document,fi),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,fi))}_handleFocusin(e){var t=this._config["trapElement"];e.target===document||e.target===t||t.contains(e.target)||(0===(e=d.focusableChildren(t)).length?t:this._lastTabNavDirection===mi?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?mi:"forward")}}const bi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",wi=".sticky-top",_i="padding-right",Ti="margin-right";class xi{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,_i,e=>e+t),this._setElementAttributes(bi,_i,e=>e+t),this._setElementAttributes(wi,Ti,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,_i),this._resetElementAttributes(bi,_i),this._resetElementAttributes(wi,Ti)}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&&u.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=u.getDataAttribute(e,i);null!==t?(u.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 d.find(e,this._element))t(i)}}const P=".bs.modal",Si=(P,P,"hidden"+P),Pi="show"+P,ki=(P,P,P,P,P,P,"modal-open"),Ei="modal-static",Ci={backdrop:!0,focus:!0,keyboard:!0},Mi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ai extends t{constructor(e,t){super(e,t),this._dialog=d.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new xi,this._addEventListeners()}static get Default(){return Ci}static get DefaultType(){return Mi}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,Pi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ki),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,P),f.off(this._dialog,P),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new pi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new vi({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=d.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),B(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(ki),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,Si)})}_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(Ei)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Ei),this._queueCallback(()=>{this._element.classList.remove(Ei),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=Ai.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=d.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),f.one(t,Pi,e=>{e.defaultPrevented||f.one(t,Si,()=>{s(this)&&this.focus()})});e=d.findOne(".modal.show");e&&Ai.getInstance(e).hide(),Ai.getOrCreateInstance(t).toggle(this)}),he(Ai),e(Ai);const ji=".bs.offcanvas",Ii="showing",Oi=".offcanvas.show",Yi="hidePrevented"+ji,Di="hidden"+ji,Li={backdrop:!0,keyboard:!0,scroll:!1},zi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Y 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 Li}static get DefaultType(){return zi}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 xi).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ii),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Ii),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 xi).reset(),f.trigger(this._element,Di)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var e=Boolean(this._config.backdrop);return new pi({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():f.trigger(this._element,Yi)}:null})}_initializeFocusTrap(){return new vi({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,Yi))})}static jQueryInterface(t){return this.each(function(){var e=Y.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=d.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(f.one(t,Di,()=>{s(this)&&this.focus()}),(e=d.findOne(Oi))&&e!==t&&Y.getInstance(e).hide(),Y.getOrCreateInstance(t).toggle(this))}),f.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of d.find(Oi))Y.getOrCreateInstance(e).show()}),f.on(window,"resize.bs.offcanvas",()=>{for(const e of d.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Y.getOrCreateInstance(e).hide()}),he(Y),e(Y);const Ni={"*":["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:[]},Fi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ri=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Qi={allowList:Ni,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"},Hi={entry:"(string|element|function|null)",selector:"(string|element)"};class qi extends ue{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Qi}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},Hi)}_setContent(e,t,i){i=d.findOne(i,e);i&&((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);const r=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...r.body.querySelectorAll("*"));for(const t of s){const n=t.nodeName.toLowerCase();if(Object.keys(i).includes(n)){const 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)?!Fi.has(i)||Boolean(Ri.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(i))})(i,s)||t.removeAttribute(i.nodeName)}else t.remove()}return r.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 Wi=new Set(["sanitize","allowList","sanitizeFn"]),$i="fade",Vi="show",Ui="hide.bs.modal",Gi="hover",Xi="focus",Zi={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Ji={allowList:Ni,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"},Ki={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 en extends t{constructor(e,t){if(void 0===$t)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 Ji}static get DefaultType(){return Ki}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"),Ui,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){const i=f.trigger(this._element,this.constructor.eventName("show")),n=(R(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!i.defaultPrevented&&n){this._disposePopper();var 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(Vi),"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(Vi),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))f.off(e,"mouseover",Q);this._activeTrigger.click=!1,this._activeTrigger[Xi]=!1,this._activeTrigger[Gi]=!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){e=this._getTemplateFactory(e).toHtml();if(!e)return null;e.classList.remove($i,Vi),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($i),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new qi({...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($i)}_isShown(){return this.tip&&this.tip.classList.contains(Vi)}_createPopper(e){var t=c(this._config.placement,[this,e,this._element]),t=Zi[t.toUpperCase()];return Wt(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){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)}}]};return{...e,...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===Gi?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===Gi?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?Xi:Gi]=!0,t._enter()}),f.on(this._element,i,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Xi:Gi]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(".modal"),Ui,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=u.getDataAttributes(this._element);for(const e of Object.keys(t))Wi.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=en.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(en);const tn={...en.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"},nn={...en.DefaultType,content:"(null|string|element|function)"};class rn extends en{static get Default(){return tn}static get DefaultType(){return nn}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=rn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(rn);const sn=".bs.scrollspy",an="click"+sn,on="active",ln="[href]",cn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},un={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class dn 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 cn}static get DefaultType(){return un}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,an),f.on(this._config.target,an,ln,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=d.find(ln,this._config.target);for(const t of e)if(t.hash&&!o(t)){const e=d.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(on),this._activateParents(e),f.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))d.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(on);else for(const t of d.parents(e,".nav, .list-group"))for(const e of d.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(on)}_clearActiveClass(e){e.classList.remove(on);var t=d.find(ln+"."+on,e);for(const e of t)e.classList.remove(on)}static jQueryInterface(t){return this.each(function(){var e=dn.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 d.find('[data-bs-spy="scroll"]'))dn.getOrCreateInstance(e)}),e(dn);const hn="ArrowRight",pn="ArrowDown",fn="Home",D="active",mn="show",gn=".dropdown-toggle",yn=`:not(${gn})`,vn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',bn=`.nav-link${yn}, .list-group-item${yn}, [role="tab"]${yn}, `+vn;D,D,D;class wn 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(d.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(mn)},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(D),e.blur(),this._deactivate(d.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(mn)},e,e.classList.contains("fade")))}_keydown(t){if(["ArrowLeft",hn,"ArrowUp",pn,fn,"End"].includes(t.key)){t.stopPropagation(),t.preventDefault();var i,n=this._getChildren().filter(e=>!o(e));let e;(e=[fn,"End"].includes(t.key)?n[t.key===fn?0:n.length-1]:(i=[hn,pn].includes(t.key),$(n,t.target,i,!0)))&&(e.focus({preventScroll:!0}),wn.getOrCreateInstance(e).show())}}_getChildren(){return d.find(bn,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=d.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=d.findOne(e,n);e&&e.classList.toggle(t,i)})(gn,D),e(".dropdown-menu",mn),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(bn)?e:d.findOne(bn,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){var e=wn.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",vn,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||wn.getOrCreateInstance(this).show()}),f.on(window,"load.bs.tab",()=>{for(const e of d.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))wn.getOrCreateInstance(e)}),e(wn);const _n="show",Tn="showing",xn={animation:"boolean",autohide:"boolean",delay:"number"},Sn={animation:!0,autohide:!0,delay:5e3};class Pn extends t{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Sn}static get DefaultType(){return xn}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"),B(this._element),this._element.classList.add(_n,Tn),this._queueCallback(()=>{this._element.classList.remove(Tn),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(Tn),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(Tn,_n),f.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(_n),super.dispose()}isShown(){return this._element.classList.contains(_n)}_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=Pn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return he(Pn),e(Pn),{Alert:pe,Button:me,Carousel:Ae,Collapse:Le,Dropdown:S,Modal:Ai,Offcanvas:Y,Popover:rn,ScrollSpy:dn,Tab:wn,Toast:Pn,Tooltip:en}}),!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=this.settings.rtl,n={width:"auto","margin-left":n?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 e=this._core.$stage.children().eq(e),t=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=this._core._current,t=e+this._core.settings.items,i=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(e,t),n=[],t=0;r.each(e,function(e,t){n.push(r(t).height())}),(t=Math.max.apply(null,n))<=1&&i&&this._previousHeight&&(t=this._previousHeight),this._previousHeight=t,this._core.$stage.parent().height(t).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(u,t){function i(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":u.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":u.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":u.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":u.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":u.proxy(function(e){var t;e.namespace&&(t=u(e.content).find(".owl-video")).length&&(t.css("display","none"),this.fetch(t,u(e.content)))},this)},this._core.options=u.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",u.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=c.lazyLoad?u("<div/>",{class:"owl-video-tn "+l,srcType:e}):u("<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,s=e.width&&e.height?"width:"+e.width+"px;height:"+e.height+"px;":"",a=t.find("img"),o="src",l="",c=this._core.settings;if(t.wrap(u("<div/>",{class:"owl-video-wrapper",style:s})),this._core.settings.lazyLoad&&(o="data-src",l="owl-lazy"),a.length)return i(a.attr(o)),a.remove(),!1;"youtube"===e.type?(r="//img.youtube.com/vi/"+e.id+"/hqdefault.jpg",i(r)):"vimeo"===e.type?u.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){r=e[0].thumbnail_large,i(r)}}):"vzaar"===e.type&&u.ajax({type:"GET",url:"//vzaar.com/api/videos/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){r=e.framegrab_url,i(r)}})},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=u(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=u('<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"),u(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&&u(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)},u.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,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(),i=this._hashes[t]&&i.index(this._hashes[t]);void 0!==i&&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"}}},n=function(){return!!t("transform")},o=function(){return!!t("perspective")},l=function(){return!!t("animation")};!function(){return!!t("transition")}()||(r.support.transition=new String(e("transition")),r.support.transition.end=i.transition.end[r.support.transition]),l()&&(r.support.animation=new String(e("animation")),r.support.animation.end=i.animation.end[r.support.animation]),n()&&(r.support.transform=new String(e("transform")),r.support.transform3d=o())}(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,n;i=e,n="rtl"===document.documentElement.getAttribute("dir"),(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;return t.container.appendChild(e),t=r()(e),s("copy"),e.remove(),t}function c(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{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 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 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 h(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 p(e,t){return(p=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&&p(e,t);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}}();var i,n,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"!==d(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){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body};return c(e,t)}},{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}}],h((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"===d(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(){var e=void 0===(i=(n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).action)?"copy":i,t=n.container,i=n.target,n=n.text;if("copy"!==e&&"cut"!==e)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==u(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===e&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===e&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return n?c(n,{container:t}):i?"cut"===e?l(i):c(i,{container:t}):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()}}]),h(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),u=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 u(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){i=f.substring(0,i).match(/"/g);return i&&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(p){"use strict";var e="countdown";p.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||p.noRequestAnimationFrame?(p.noRequestAnimationFrame=null,p.countdown._timer=setInterval(function(){i._updateElems()},1e3)):(a=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||n(),s(function e(t){t=t<1e12?r?window.performance.now()+window.performance.timing.navigationStart:n():t||n();1e3<=t-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;p("."+this._getMarker()).each(function(){var e=p.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=p.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<p.inArray(e,this._timerElems)},_removeElem:function(t){this._timerElems=p.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=(p.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:p(e),(t=t||this._getInst(e))&&(e.html(this._generateHTML(t)).toggleClass(this._rtlClass,t.options.isRTL),"pause"!==t._hold&&p.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]),p.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=p.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[(p.data(e,this.name)||{})._hold?"resume":"pause"](e)},toggleLap:function(e){this[(p.data(e,this.name)||{})._hold?"resume":"lap"](e)},_hold:function(e,t){var i,n=p.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,p.data(e,this.name,n),this._updateCountdown(e,n))},getTimes:function(e){e=p.data(e,this.name);return e?"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,u=this,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,u._getDaysInMonth(i,n));break;case"y":i+=parseInt(c[1],10),r=Math.min(r,u._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;return t&&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=p.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"+d(i._periods[e])];return s[e]?n._translateDigits(i,i._periods[e])+(t||u)[e]+" ":""}function c(e){var t=i.options["labels"+d(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],h)+'</span><span class="'+n._periodClass+'">'+(t||u)[e]+"</span></span>":""}var u=i.options.compact?i.options.compactLabels:i.options.labels,d=i.options.whichLabels||this._normalLabels,h=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){return(i.options[(n?"compactLabels":"labels")+o(i._periods[e])]||a)[e]},c=function(e,t){return i.options.digits[Math.floor(e/t)%10]},l={desc:i.options.description,sep:i.options.timeSeparator,yl:l(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:c(i._periods[0],1),y10:c(i._periods[0],10),y100:c(i._periods[0],100),y1000:c(i._periods[0],1e3),ol:l(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:c(i._periods[1],1),o10:c(i._periods[1],10),o100:c(i._periods[1],100),o1000:c(i._periods[1],1e3),wl:l(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:c(i._periods[2],1),w10:c(i._periods[2],10),w100:c(i._periods[2],100),w1000:c(i._periods[2],1e3),dl:l(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:c(i._periods[3],1),d10:c(i._periods[3],10),d100:c(i._periods[3],100),d1000:c(i._periods[3],1e3),hl:l(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:c(i._periods[4],1),h10:c(i._periods[4],10),h100:c(i._periods[4],100),h1000:c(i._periods[4],1e3),ml:l(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:c(i._periods[5],1),m10:c(i._periods[5],10),m100:c(i._periods[5],100),m1000:c(i._periods[5],1e3),sl:l(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:c(i._periods[6],1),s10:c(i._periods[6],10),s100:c(i._periods[6],100),s1000:c(i._periods[6],1e3)},u=t,d=0;d<=6;d++)var h="yowdhms".charAt(d),h=new RegExp("\\{"+h+"<\\}([\\s\\S]*)\\{"+h+">\\}","g"),u=u.replace(h,!r&&e[d]||r&&s[d]?"$1":"");return p.each(l,function(e,t){e=new RegExp("\\{"+e+"\\}","g");u=u.replace(e,t)}),u},_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){e._now=n,e._now.setMilliseconds(0);function r(e,t){c[e]=i[e]?Math.floor(u/t):0,u-=c[e]*t}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]),u=((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)),d=null;if(r(2,604800),r(3,86400),r(4,3600),r(5,60),r(6,1),0<u&&!e._since)for(var h=[1,12,4.3482,7,24,60,60],p=6,f=1,d=6;0<=d;d--)i[d]&&(c[p]>=f&&(c[p]=0,u=1),0<u)&&(c[d]++,u=0,p=d,f=1),f*=h[d];if(t)for(d=0;d<=6;d++)t&&c[d]?t--:t||(c[d]=0);return c}})}(jQuery),!function(u){u.fn.countTo=function(c){return c=c||{},u(this).each(function(){function e(e){e=t.formatter.call(r,e,t);s.text(e)}var t=u.extend({},u.fn.countTo.defaults,{from:u(this).data("from"),to:u(this).data("to"),speed:u(this).data("speed"),refreshInterval:u(this).data("refresh-interval"),decimals:u(this).data("decimals")},c),i=Math.ceil(t.speed/t.refreshInterval),n=(t.to-t.from)/i,r=this,s=u(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)})},u.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";a.jribbble={};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+"/"+d(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<c.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}}var t=null,s="https://api.dribbble.com/v1",c=["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()'},d=function(e){e=a.param(e);return e?"?"+e:""};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+=d(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+=d(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+=d(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/"+d(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,u=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)*u)/2:n(2,-20*e+10)*s((20*e-11.125)*u)/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){t=e.indexOf(t);return!!~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){t=t?e.bind(t):e;return this.reads.push(t),r(this),t},mutate:function(e,t){t=t?e.bind(t):e;return 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"),e=(r.ignore&&(n=n+", "+r.ignore),s(this).find(e.join(",")));(e=(e=e.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(d){var i=!0;d.flexslider=function(p,e){var t,f=d(p),a=(void 0===e.rtl&&"rtl"==d("html").attr("dir")&&(e.rtl=!0),f.vars=d.extend({},d.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,u={};d.data(p,"flexslider",f),u={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=d(f.vars.selector,f),f.container=d(f.containerSelector,f),f.count=f.slides.length,f.syncExists=0<d(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<d(f.vars.controlsContainer).length&&d(f.vars.controlsContainer)),""!==f.vars.manualControls&&(f.manualControls=0<d(f.vars.manualControls).length&&d(f.vars.manualControls)),""!==f.vars.customDirectionNav&&(f.customDirectionNav=2===d(f.vars.customDirectionNav).length&&d(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&&u.controlNav.setup(),f.vars.directionNav&&u.directionNav.setup(),f.vars.keyboard&&(1===d(f.containerSelector).length||f.vars.multipleKeyboard)&&d(document).bind("keyup",function(e){var 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&&u.pausePlay.setup(),f.vars.slideshow&&f.vars.pauseInvisible&&u.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&&u.pauseInvisible.isHidden()||(0<f.vars.initDelay?f.startTimeout=setTimeout(f.play,f.vars.initDelay):f.play())),c&&u.asNav.setup(),o&&f.vars.touch&&u.touch(),b&&!f.vars.smoothHeight||d(window).bind("resize orientationchange focus",u.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?(p._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 e=d(this),t=e.index();d(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 e=d(this),t=e.index();(f.vars.rtl?-1*(e.offset().right-d(f).scrollLeft()):e.offset().left-d(f).scrollLeft())<=0&&e.hasClass(a+"active-slide")?f.flexAnimate(f.getTarget("prev"),!0):d(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?u.controlNav.setupManual():u.controlNav.setupPaging()},setupPaging:function(){var e,t="thumbnails"===f.vars.controlNav?"control-thumbs":"control-paging",i=1;if(f.controlNavScaffold=d('<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=d("<a></a>").attr("href","#").text(i),"thumbnails"===f.vars.controlNav&&(e=d("<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=d("<span></span>").addClass(a+"caption").text(r),e.append(r));var r=d("<li>");e.appendTo(r),r.append("</li>"),f.controlNavScaffold.append(r),i++}(f.controlsContainer?d(f.controlsContainer):f).append(f.controlNavScaffold),u.controlNav.set(),u.controlNav.active(),f.controlNavScaffold.delegate("a, img",s,function(e){var t,i;e.preventDefault(),""!==l&&l!==e.type||(t=d(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),u.setToClearWatchedEvent()})},setupManual:function(){f.controlNav=f.manualControls,u.controlNav.active(),f.controlNav.bind(s,function(e){var t,i;e.preventDefault(),""!==l&&l!==e.type||(t=d(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),u.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===f.vars.controlNav?"img":"a";f.controlNav=d("."+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(d('<li><a href="#">'+f.count+"</a></li>")):(1===f.pagingCount?f.controlNavScaffold.find("li"):f.controlNav.eq(t).closest("li")).remove(),u.controlNav.set(),1<f.pagingCount&&f.pagingCount!==f.controlNav.length?f.update(t,e):u.controlNav.active()}},directionNav:{setup:function(){var e=d('<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?(d(f.controlsContainer).append(e),f.directionNav=d("."+a+"direction-nav li a",f.controlsContainer)):(f.append(e),f.directionNav=d("."+a+"direction-nav li a",f)),u.directionNav.update(),f.directionNav.bind(s,function(e){var t;e.preventDefault(),""!==l&&l!==e.type||(t=d(this).hasClass(a+"next")?f.getTarget("next"):f.getTarget("prev"),f.flexAnimate(t,f.vars.pauseOnAction)),""===l&&(l=e.type),u.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=d('<div class="'+a+'pauseplay"><a href="#"></a></div>');f.controlsContainer?(f.controlsContainer.append(e),f.pausePlay=d("."+a+"pauseplay a",f.controlsContainer)):(f.append(e),f.pausePlay=d("."+a+"pauseplay a",f)),u.pausePlay.update(f.vars.slideshow?a+"pause":a+"play"),f.pausePlay.bind(s,function(e){e.preventDefault(),""!==l&&l!==e.type||(d(this).hasClass(a+"pause")?(f.manualPause=!0,f.manualPlay=!1,f.pause()):(f.manualPause=!1,f.manualPlay=!0,f.play())),""===l&&(l=e.type),u.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,u,d=!1,t=0,i=0,h=0;m?(p.style.msTouchAction="none",p._gesture=new MSGesture,(p._gesture.target=p).addEventListener("MSPointerDown",function(e){e.stopPropagation(),f.animating?e.preventDefault():(f.pause(),p._gesture.addPointer(e.pointerId),h=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),p._slider=f,p.addEventListener("MSGestureChange",function(e){e.stopPropagation();var t,i,n=e.target._slider;n&&(t=-e.translationX,i=-e.translationY,h+=g?i:t,o=(n.vars.rtl?-1:1)*h,d=g?Math.abs(h)<Math.abs(-t):Math.abs(h)<Math.abs(-i),e.detail===e.MSGESTURE_FLAG_INERTIA?setImmediate(function(){p._gesture.stop()}):(!d||500<Number(new Date)-l)&&(e.preventDefault(),!b)&&n.transitions&&(n.vars.animationLoop||(o=h/(0===n.currentSlide&&h<0||n.currentSlide===n.last&&0<h?Math.abs(h)/a+2:1)),n.setProps(s+o,"setTouch")))},!1),p.addEventListener("MSGestureEnd",function(e){var t,i;e.stopPropagation(),(e=e.target._slider)&&(e.animatingTo!==e.currentSlide||d||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,h=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);(!(d=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"))},u=function(e){var t,i;p.removeEventListener("touchmove",c,!1),f.animatingTo!==f.currentSlide||d||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)),p.removeEventListener("touchend",u,!1),s=o=r=n=null},p.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,p.addEventListener("touchmove",c,!1),p.addEventListener("touchend",u,!1))},!1))},resize:function(){!f.animating&&f.is(":visible")&&(v||f.doMath(),b?u.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&&u.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=d(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=d(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=u.pauseInvisible.getHiddenProp();e&&(e=e.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(e,function(){u.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=u.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){i=d(f.vars.asNavFor).data("flexslider");if(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&&u.sync("animate"),f.vars.controlNav&&u.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&&u.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&&u.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&&u.pausePlay.update("play"),f.syncExists&&u.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&&u.pausePlay.update("pause"),f.syncExists&&u.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){n=e||(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo;var n,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&&u.smoothHeight()):("init"===e&&(f.viewport=d('<div class="'+a+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(f).append(f.container),f.cloneCount=0,f.cloneOffset=0,y)&&(i=d.makeArray(f.slides).reverse(),f.slides=d(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(u.uniqueID(f.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(u.uniqueID(f.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),f.newSlides=d(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&&u.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?u.controlNav.update("add"):("remove"===t&&!v||f.pagingCount<f.controlNav.length)&&(v&&f.currentSlide>f.last&&(--f.currentSlide,--f.animatingTo),u.controlNav.update("remove",f.last))),f.vars.directionNav&&u.directionNav.update()},f.addSlide=function(e,t){e=d(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=d(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.added(f)},f.removeSlide=function(e){var t=isNaN(e)?f.slides.index(d(e)):e;--f.count,f.last=f.count-1,(isNaN(e)?d(e,f.slides):g&&y?f.slides.eq(f.last):f.slides.eq(e)).remove(),f.doMath(),f.update(t,"remove"),f.slides=d(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.removed(f)},u.init()},d(window).blur(function(e){i=!1}).focus(function(e){i=!0}),d.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},d.fn.flexslider=function(i){if("object"==typeof(i=void 0===i?{}:i))return this.each(function(){var e=d(this),t=i.selector||".slides > li",t=e.find(t);1===t.length&&!1===i.allowOneSlide||0===t.length?(t.fadeIn(400),i.start&&i.start(e)):void 0===e.data("flexslider")&&new d.flexslider(this,i)});var e=d(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(u){u.extend(u.fn,{validate:function(e){var n;if(this.length)return(n=u.data(this[0],"validator"))||(this.attr("novalidate","novalidate"),n=new u.validator(e,this[0]),u.data(this[0],"validator",n),n.settings.onsubmit&&(this.on("click.validate",":submit",function(e){n.submitButton=e.currentTarget,u(this).hasClass("cancel")&&(n.cancelSubmit=!0),void 0!==u(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=u("<input type='hidden'/>").attr("name",n.submitButton.name).val(u(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 u(this[0]).is("form")?e=this.validate().form():(i=[],e=!0,t=u(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=u.data(o.form,"validator").settings,n=i.rules,r=u.validator.staticRules(o),e){case"add":u.extend(r,u.validator.normalizeRule(t)),delete r.messages,n[o.name]=r,t.messages&&(i.messages[o.name]=u.extend(i.messages[o.name],t.messages));break;case"remove":return t?(a={},u.each(t.split(/\s/),function(e,t){a[t]=r[t],delete r[t]}),a):(delete n[o.name],r)}return(l=u.validator.normalizeRules(u.extend({},u.validator.classRules(o),u.validator.attributeRules(o),u.validator.dataRules(o),u.validator.staticRules(o)),o)).required&&(s=l.required,delete l.required,l=u.extend({required:s},l)),l.remote&&(s=l.remote,delete l.remote,l=u.extend(l,{remote:s})),l}}});function t(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var i;u.extend(u.expr.pseudos||u.expr[":"],{blank:function(e){return!t(""+u(e).val())},filled:function(e){e=u(e).val();return null!==e&&!!t(""+e)},unchecked:function(e){return!u(e).prop("checked")}}),u.validator=function(e,t){this.settings=u.extend(!0,{},u.validator.defaults,e),this.currentForm=t,this.init()},u.validator.format=function(i,e){return 1===arguments.length?function(){var e=u.makeArray(arguments);return e.unshift(i),u.validator.format.apply(this,e)}:(void 0===e||((e=2<arguments.length&&e.constructor!==Array?u.makeArray(arguments).slice(1):e).constructor!==Array&&(e=[e]),u.each(e,function(e,t){i=i.replace(new RegExp("\\{"+e+"\\}","g"),function(){return t})})),i)},u.extend(u.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:u([]),errorLabelContainer:u([]),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!==u.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):u(e)).addClass(t).removeClass(i)},unhighlight:function(e,t,i){("radio"===e.type?this.findByName(e.name):u(e)).removeClass(t).addClass(i)}},setDefaults:function(e){u.extend(u.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:u.validator.format("Please enter no more than {0} characters."),minlength:u.validator.format("Please enter at least {0} characters."),rangelength:u.validator.format("Please enter a value between {0} and {1} characters long."),range:u.validator.format("Please enter a value between {0} and {1}."),max:u.validator.format("Please enter a value less than or equal to {0}."),min:u.validator.format("Please enter a value greater than or equal to {0}."),step:u.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var t,i,n=void 0!==u(this).attr("contenteditable")&&"false"!==u(this).attr("contenteditable");!this.form&&n&&(this.form=u(this).closest("form")[0],this.name=u(this).attr("name")),r===this.form&&(n=u.data(this.form,"validator"),t="on"+e.type.replace(/^validate/,""),(i=n.settings)[t])&&!u(this).is(i.ignore)&&i[t].call(n,this,e)}this.labelContainer=u(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||u(this.currentForm),this.containers=u(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={};u.each(this.settings.groups,function(i,e){"string"==typeof e&&(e=e.split(/\s/)),u.each(e,function(e,t){n[t]=i})}),i=this.settings.rules,u.each(i,function(e,t){i[e]=u.validator.normalizeRule(t)}),u(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&&u(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),u.extend(this.submitted,this.errorMap),this.invalid=u.extend({},this.errorMap),this.valid()||u(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=u(r),(i=this.groups[r.name])&&u.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(),u(e).attr("aria-invalid",!t)),a},showErrors:function(t){var i;t&&(u.extend((i=this).errorMap,t),this.errorList=u.map(this.errorMap,function(e,t){return{message:e,element:i.findByName(t)[0]}}),this.successList=u.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(){u.fn.resetForm&&u(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{u(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===u.grep(this.errorList,function(e){return e.element.name===t.name}).length&&t},elements:function(){var i=this,n={};return u(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var e=this.name||u(this).attr("name"),t=void 0!==u(this).attr("contenteditable")&&"false"!==u(this).attr("contenteditable");return!e&&i.settings.debug&&window.console&&console.error("%o has no name assigned",this),t&&(this.form=u(this).closest("form")[0],this.name=e),!(this.form!==i.currentForm||e in n||!i.objectLength(u(this).rules())||(n[e]=!0,0))})},clean:function(e){return u(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return u(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=u([]),this.toHide=u([])},reset:function(){this.resetInternals(),this.currentElements=u([])},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=u(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(t){t=this.validationTargetFor(this.clean(t));var e,i,n,r,s=u(t).rules(),a=u.map(s,function(e,t){return t}).length,o=!1,l=this.elementValue(t);for(i in"function"==typeof s.normalizer?r=s.normalizer:"function"==typeof this.settings.normalizer&&(r=this.settings.normalizer),r&&(l=r.call(t,l),delete s.normalizer),s){n={method:i,parameters:s[i]};try{if("dependency-mismatch"===(e=u.validator.methods[i].call(this,l,t,n.parameters))&&1===a)o=!0;else{if(o=!1,"pending"===e)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!e)return this.formatAndAdd(t,n),!1}}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+n.method+"' method.",e),e instanceof TypeError&&(e.message+=". Exception occurred when checking element "+t.id+", check the '"+n.method+"' method."),e}}if(!o)return this.objectLength(s)&&this.successList.push(t),!0},customDataMessage:function(e,t){return u(e).data("msg"+t.charAt(0).toUpperCase()+t.substring(1).toLowerCase())||u(e).data("msg")},customMessage:function(e,t){e=this.settings.messages[e];return 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,u.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=u.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 e=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 u(this.errorList).map(function(){return this.element})},showLabel:function(e,t){var i,n,r,s=this.errorsFor(e),a=this.idOrName(e),o=u(e).attr("aria-describedby");s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(t)):(n=s=u("<"+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,u(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,u(e).attr("aria-describedby",o),i=this.groups[e.name])&&u.each((r=this).groups,function(e,t){t===i&&u("[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=this.escapeCssMeta(this.idOrName(e)),e=u(e).attr("aria-describedby"),t="label[for='"+t+"'], label[for='"+t+"'] *";return e&&(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)),u(e).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(e){return u(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,t){switch(t.nodeName.toLowerCase()){case"select":return u("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!!u(e,t.form).length},function:function(e,t){return e(t)}},optional:function(e){var t=this.elementValue(e);return!u.validator.methods.required.call(this,t,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,u(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],u(e).removeClass(this.settings.pendingClass),t&&0===this.pendingRequest&&this.formSubmitted&&this.form()&&0===this.pendingRequest?(u(this.currentForm).trigger("submit"),this.submitButton&&u("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!t&&0===this.pendingRequest&&this.formSubmitted&&(u(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e,t){return t="string"==typeof t&&t||"remote",u.data(e,"previousValue")||u.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:t})})},destroy:function(){this.resetForm(),u(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:u.extend(this.classRuleSettings,e)},classRules:function(e){var t={},e=u(e).attr("class");return e&&u.each(e.split(" "),function(){this in u.validator.classRuleSettings&&u.extend(t,u.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=u(e),s=e.getAttribute("type");for(t in u.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=u(e),s=e.getAttribute("type");for(t in u.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={},i=u.data(e.form,"validator");return t=i.settings.rules?u.validator.normalizeRule(i.settings.rules[e.name])||{}:t},normalizeRules:function(n,r){return u.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=!!u(t.depends,r.form).length;break;case"function":i=t.depends.call(r,r)}i?n[e]=void 0===t.param||t.param:(u.data(r.form,"validator").resetElements(u(r)),delete n[e])}}),u.each(n,function(e,t){n[e]="function"==typeof t&&"normalizer"!==e?t(r):t}),u.each(["minlength","maxlength"],function(){n[this]&&(n[this]=Number(n[this]))}),u.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])]))}),u.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={},u.each(e.split(/\s/),function(){t[this]=!0}),e=t),e},addMethod:function(e,t,i){u.validator.methods[e]=t,u.validator.messages[e]=void 0!==i?i:u.validator.messages[e],t.length<3&&u.validator.addClassRules(e,u.validator.normalizeRule(e))},methods:{required:function(e,t,i){return this.depend(i,t)?"select"===t.nodeName.toLowerCase()?(i=u(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){e=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||i<=e},maxlength:function(e,t,i){e=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||e<=i},rangelength:function(e,t,i){e=Array.isArray(e)?e.length:this.getLength(e,t);return 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=u(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){i=u(i);return this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){u(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=u.param(u.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,u.ajax(u.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 u.ajaxPrefilter?u.ajaxPrefilter(function(e,t,i){var n=e.port;"abort"===e.mode&&(r[n]&&r[n].abort(),r[n]=i)}):(n=u.ajax,u.ajax=function(e){var t=("mode"in e?e:u.ajaxSettings).mode,i=("port"in e?e:u.ajaxSettings).port;return"abort"===t?(r[i]&&r[i].abort(),r[i]=n.apply(this,arguments),r[i]):n.apply(this,arguments)}),u}),!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(I){"use strict";var d=/\r?\n/g,m={},O=(m.fileapi=void 0!==I('<input type="file">').get(0).files,m.formdata=void 0!==window.FormData,!!I.fn.prop);function s(e){var t=e.data;e.isDefaultPrevented()||(e.preventDefault(),I(e.target).closest("form").ajaxSubmit(t))}function a(e){var t=e.target,i=I(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 I.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 Y(){var e;I.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))}I.fn.attr2=function(){var e;return O&&((e=this.prop.apply(this,arguments))&&e.jquery||"string"==typeof e)?e:this.attr.apply(this,arguments)},I.fn.ajaxSubmit=function(C,e,t,i){if(this.length){var M,A=this,e=("function"==typeof C?C={success:C}:"string"==typeof C||!1===C&&0<arguments.length?(C={url:C,data:e,dataType:t},"function"==typeof i&&(C.success=i)):void 0===C&&(C={}),M=C.method||C.type||this.attr2("method"),t=(t=(t="string"==typeof(e=C.url||this.attr2("action"))?I.trim(e):"")||window.location.href||"")&&(t.match(/^([^#]+)/)||[])[1],i=/(MSIE|Trident)/.test(navigator.userAgent||"")&&/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",C=I.extend(!0,{url:t,success:I.ajaxSettings.success,type:M||I.ajaxSettings.type,iframeSrc:i},C),{});if(this.trigger("form-pre-serialize",[this,C,e]),e.veto)Y("ajaxSubmit: submit vetoed via form-pre-serialize trigger");else if(C.beforeSerialize&&!1===C.beforeSerialize(this,C))Y("ajaxSubmit: submit aborted via beforeSerialize callback");else{t=C.traditional;void 0===t&&(t=I.ajaxSettings.traditional);var j=[],n=this.formToArray(C.semantic,j,C.filtering);if(C.data&&(i=I.isFunction(C.data)?C.data(n):C.data,C.extraData=i,c=I.param(i,t)),C.beforeSubmit&&!1===C.beforeSubmit(n,this,C))Y("ajaxSubmit: submit aborted via beforeSubmit callback");else if(this.trigger("form-submit-validate",[n,this,C,e]),e.veto)Y("ajaxSubmit: submit vetoed via form-submit-validate trigger");else{i=I.param(n,t);c&&(i=i?i+"&"+c:c),"GET"===C.type.toUpperCase()?(C.url+=(0<=C.url.indexOf("?")?"&":"?")+i,C.data=null):C.data=i;var s,r,a,o,l=[],e=(C.resetForm&&l.push(function(){A.resetForm()}),C.clearForm&&l.push(function(){A.clearForm(C.includeHidden)}),!C.dataType&&C.target?(s=C.success||function(){},l.push(function(e,t,i){var n=arguments,r=C.replaceTarget?"replaceWith":"html";I(C.target)[r](e).each(function(){s.apply(this,n)})})):C.success&&(I.isArray(C.success)?I.merge(l,C.success):l.push(C.success)),C.success=function(e,t,i){for(var n=C.context||this,r=0,s=l.length;r<s;r++)l[r].apply(n,[e,t,i||A,A])},C.error&&(r=C.error,C.error=function(e,t,i){var n=C.context||this;r.apply(n,[e,t,i,A])}),C.complete&&(a=C.complete,C.complete=function(e,t){var i=C.context||this;a.apply(i,[e,t,A])}),0<I("input[type=file]:enabled",this).filter(function(){return""!==I(this).val()}).length),t="multipart/form-data",c=A.attr("enctype")===t||A.attr("encoding")===t,i=m.fileapi&&m.formdata;Y("fileAPI :"+i),!1!==C.iframe&&(C.iframe||(e||c)&&!i)?C.closeKeepAlive?I.get(C.closeKeepAlive,function(){o=d(n)}):o=d(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(C.extraData)for(var n=function(e){for(var t,i=I.param(e,C.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}(C.extraData),t=0;t<n.length;t++)n[t]&&i.append(n[t][0],n[t][1]);C.data=null;var r=I.extend(!0,{},I.ajaxSettings,C,{contentType:!1,processData:!1,cache:!1,type:M||"POST"}),s=(C.uploadProgress&&(r.xhr=function(){var e=I.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)),C.uploadProgress(e,i,n,t)},!1),e}),r.data=null,r.beforeSend);return r.beforeSend=function(e,t){C.formData?t.data=C.formData:t.data=i,s&&s.call(this,e,t)},I.ajax(r)}(n):I.ajax(C),A.removeData("jqxhr").data("jqxhr",o);for(var u=0;u<j.length;u++)j[u]=null;this.trigger("form-submit-notify",[this,C])}}}else Y("ajaxSubmit: skipping submit process - no element selected");return this;function d(e){var t,i,u,d,h,p,f,m,g,s=A[0],y=I.Deferred();if(y.abort=function(e){f.abort(e)},e)for(i=0;i<j.length;i++)t=I(j[i]),O?t.prop("disabled",!1):t.removeAttr("disabled");(u=I.extend(!0,{},I.ajaxSettings,C)).context=u.context||u;var v,b,n,w,_,T,x,S,a,P,o="jqFormIO"+(new Date).getTime(),l=s.ownerDocument,c=A.closest("body");return(u.iframeTarget?(n=(h=I(u.iframeTarget,l)).attr2("name"))?o=n:h.attr2("name",o):(h=I('<iframe name="'+o+'" src="'+u.iframeSrc+'" />',l)).css({position:"absolute",top:"-1000px",left:"-1000px"}),p=h[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";Y("aborting upload... "+t),this.aborted=1;try{p.contentWindow.document.execCommand&&p.contentWindow.document.execCommand("Stop")}catch(e){}h.attr("src",u.iframeSrc),f.error=t,u.error&&u.error.call(u.context,f,t,e),d&&I.event.trigger("ajaxError",[f,u,t]),u.complete&&u.complete.call(u.context,f,t)}},(d=u.global)&&0==I.active++&&I.event.trigger("ajaxStart"),d&&I.event.trigger("ajaxSend",[f,u]),u.beforeSend&&!1===u.beforeSend.call(u.context,f,u))?(u.global&&I.active--,y.reject()):f.aborted?y.reject():((e=s.clk)&&(n=e.name)&&!e.disabled&&(u.extraData=u.extraData||{},u.extraData[n]=e.value,"image"===e.type)&&(u.extraData[n+".x"]=s.clk_x,u.extraData[n+".y"]=s.clk_y),v=1,b=2,e=I("meta[name=csrf-token]").attr("content"),(n=I("meta[name=csrf-param]").attr("content"))&&e&&(u.extraData=u.extraData||{},u.extraData[n]=e),u.forceSync?r():setTimeout(r,10),x=50,S=I.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=I.parseJSON||function(e){return window.eval("("+e+")")},P=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&&I.error&&I.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")&&I.globalEval(e)),e}),y;function k(t){var i=null;try{t.contentWindow&&(i=t.contentWindow.document)}catch(e){Y("cannot get iframe.contentWindow document: "+e)}if(!i)try{i=t.contentDocument||t.document}catch(e){Y("cannot get iframe.contentDocument: "+e),i=t.document}return i}function r(){var e=A.attr2("target"),t=A.attr2("action"),i=A.attr("enctype")||A.attr("encoding")||"multipart/form-data",n=(s.setAttribute("target",o),M&&!/post/i.test(M)||s.setAttribute("method","POST"),t!==u.url&&s.setAttribute("action",u.url),u.skipEncodingOverride||M&&!/post/i.test(M)||A.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),u.timeout&&(g=setTimeout(function(){m=!0,E(v)},u.timeout)),[]);try{if(u.extraData)for(var r in u.extraData)u.extraData.hasOwnProperty(r)&&(I.isPlainObject(u.extraData[r])&&u.extraData[r].hasOwnProperty("name")&&u.extraData[r].hasOwnProperty("value")?n.push(I('<input type="hidden" name="'+u.extraData[r].name+'">',l).val(u.extraData[r].value).appendTo(s)[0]):n.push(I('<input type="hidden" name="'+r+'">',l).val(u.extraData[r]).appendTo(s)[0]));u.iframeTarget||h.appendTo(c),p.attachEvent?p.attachEvent("onload",E):p.addEventListener("load",E,!1),setTimeout(function e(){try{var t=k(p).readyState;Y("state = "+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(e){Y("Server abort: ",e," (",e.name,")"),E(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):A.removeAttr("target"),I(n).remove()}}function E(e){if(!f.aborted&&!T)if((_=k(p))||(Y("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!==u.iframeSrc||m){p.detachEvent?p.detachEvent("onload",E):p.removeEventListener("load",E,!1);var t,i="success";try{if(m)throw"timeout";var n="xml"===u.dataType||_.XMLDocument||I.isXMLDoc(_);if(Y("isXml="+n),!n&&window.opera&&(null===_.body||!_.body.innerHTML)&&--x)return Y("requeing onLoad callback, DOM not available"),void setTimeout(E,250);var r=_.body||_.documentElement;f.responseText=r?r.innerHTML:null,f.responseXML=_.XMLDocument||_,n&&(u.dataType="xml"),f.getResponseHeader=function(e){return{"content-type":u.dataType}[e.toLowerCase()]},r&&(f.status=Number(r.getAttribute("status"))||f.status,f.statusText=r.getAttribute("statusText")||f.statusText);var s,a,o,l=(u.dataType||"").toLowerCase(),c=/(json|script|text)/.test(l);c||u.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=P(f,l,u)}catch(e){i="parsererror",f.error=t=e||i}}catch(e){Y("error caught: ",e),i="error",f.error=t=e||i}f.aborted&&(Y("upload aborted"),i=null),"success"===(i=f.status?200<=f.status&&f.status<300||304===f.status?"success":"error":i)?(u.success&&u.success.call(u.context,w,"success",f),y.resolve(f.responseText,"success",f),d&&I.event.trigger("ajaxSuccess",[f,u])):i&&(void 0===t&&(t=f.statusText),u.error&&u.error.call(u.context,f,i,t),y.reject(f,"error",t),d)&&I.event.trigger("ajaxError",[f,u,t]),d&&I.event.trigger("ajaxComplete",[f,u]),d&&!--I.active&&I.event.trigger("ajaxStop"),u.complete&&u.complete.call(u.context,f,i),T=!0,u.timeout&&clearTimeout(g),setTimeout(function(){u.iframeTarget?h.attr("src",u.iframeSrc):h.remove(),f.responseXML=null},100)}}}},I.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&&I.isFunction(I.fn.on),e.delegation||0!==this.length?e.delegation?(I(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},!I.isReady&&r.s?(Y("DOM not ready, queuing ajaxForm"),I(function(){I(r.s,r.c).ajaxForm(e)})):Y("terminating; zero elements found by selector"+(I.isReady?"":" (DOM not ready)")),this)},I.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},I.fn.formToArray=function(e,t,i){var n=[];if(0!==this.length){var r,s,a,o,l,c,u,d=this[0],h=this.attr("id"),p=(p=e||void 0===d.elements?d.getElementsByTagName("*"):d.elements)&&I.makeArray(p);if((p=h&&(e||/(Edge|Trident)\//.test(navigator.userAgent))&&(h=I(':input[form="'+h+'"]').get()).length?(p||[]).concat(h):p)&&p.length){for(r=0,l=(p=I.isFunction(i)?I.map(p,i):p).length;r<l;r++)if((u=(o=p[r]).name)&&!o.disabled)if(e&&d.clk&&"image"===o.type)d.clk===o&&(n.push({name:u,value:I(o).val(),type:o.type}),n.push({name:u+".x",value:d.clk_x},{name:u+".y",value:d.clk_y}));else if((a=I.fieldValue(o,!0))&&a.constructor===Array)for(t&&t.push(o),s=0,c=a.length;s<c;s++)n.push({name:u,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:u,value:f[s],type:o.type});else n.push({name:u,value:"",type:o.type})}else null!=a&&(t&&t.push(o),n.push({name:u,value:a,type:o.type,required:o.required}));!e&&d.clk&&(u=(i=(h=I(d.clk))[0]).name)&&!i.disabled&&"image"===i.type&&(n.push({name:u,value:h.val()}),n.push({name:u+".x",value:d.clk_x},{name:u+".y",value:d.clk_y}))}}return n},I.fn.formSerialize=function(e){return I.param(this.formToArray(e))},I.fn.fieldSerialize=function(r){var s=[];return this.each(function(){var e=this.name;if(e){var t=I.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})}}),I.param(s)},I.fn.fieldValue=function(e){for(var t=[],i=0,n=this.length;i<n;i++){var r=this[i],r=I.fieldValue(r,e);null==r||r.constructor===Array&&!r.length||(r.constructor===Array?I.merge(t,r):t.push(r))}return t},I.fieldValue=function(e,t){var i=e.name,n=e.type,r=e.tagName.toLowerCase();if((t=void 0===t?!0: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 I(e).val().replace(d,"\r\n");t=e.selectedIndex;if(t<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 u=a[c];if(u.selected&&!u.disabled){u=u.value||(u.attributes&&u.attributes.value&&!u.attributes.value.specified?u.text:u.value);if(o)return u;s.push(u)}}return s},I.fn.clearForm=function(e){return this.each(function(){I("input,select,textarea",this).clearFields(e)})},I.fn.clearFields=I.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)?I(this).replaceWith(I(this).clone(!0)):I(this).val(""):i&&(!0===i&&/hidden/.test(e)||"string"==typeof i&&I(this).is(i))&&(this.value="")})},I.fn.resetForm=function(){return this.each(function(){var t=I(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":var i=t.parents("select");return i.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=I(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}})},I.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},I.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=I(this).parent("select"),t&&e[0]&&"select-one"===e[0].type&&e.find("option").selected(!1),this.selected=t)})},I.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 p=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=(p.address?e.geocode({address:p.address},function(e){e&&e.length&&c.setCenter(e[0].geometry.location)}):p.latitude&&p.longitude?c.setCenter(new google.maps.LatLng(p.latitude,p.longitude)):s.isArray(p.markers)&&0<p.markers.length?p.markers[0].address?e.geocode({address:p.markers[0].address},function(e){e&&0<e.length&&c.setCenter(e[0].geometry.location)}):c.setCenter(new google.maps.LatLng(p.markers[0].latitude,p.markers[0].longitude)):c.setCenter(new google.maps.LatLng(34.885931,9.84375)),c.setZoom(p.zoom),c.setMapTypeId(google.maps.MapTypeId[p.maptype]),{scrollwheel:p.scrollwheel,disableDoubleClickZoom:!p.doubleclickzoom});!1===p.controls?s.extend(t,{disableDefaultUI:!0}):0!==p.controls.length&&s.extend(t,p.controls,{disableDefaultUI:!0}),c.setOptions(t),c.setOptions({styles:p.styles});var u,d=new google.maps.Marker,t=new google.maps.MarkerImage(p.icon.image),h=(t.size=new google.maps.Size(p.icon.iconsize[0],p.icon.iconsize[1]),t.anchor=new google.maps.Point(p.icon.iconanchor[0],p.icon.iconanchor[1]),d.setIcon(t),p.icon.shadow&&((t=new google.maps.MarkerImage(p.icon.shadow)).size=new google.maps.Size(p.icon.shadowsize[0],p.icon.shadowsize[1]),t.anchor=new google.maps.Point(p.icon.shadowanchor[0],p.icon.shadowanchor[1]),d.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(;h[0];)h.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]),d.setShadow(o))):(l.setIcon(d.getIcon()),l.setShadow(d.getShadow())),n&&("_latlng"===n&&(n=t+", "+i),a=new google.maps.InfoWindow({content:p.html_prepend+n+p.html_append}),google.maps.event.addListener(l,"click",function(){u&&u.close(),a.open(c,l),u=a}),s)&&google.maps.event.addListenerOnce(c,"tilesloaded",function(){a.open(c,l)}),l.setMap(c),h.push(l)});for(var i,n=this,r=0;r<p.markers.length;r++)(i=p.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(d){var h,c,n,u,i,t,r,o,p,f,m,s,g,a=Array.prototype.slice,y=decodeURIComponent,l=d.param,e=d.bbq=d.bbq||{},v=d.event.special,b="hashchange",w="querystring",_="fragment",T="elemUrlAttr",x=/^.*\?|#.*$/g,S={};function P(e){return"string"==typeof e}function k(e){var t=a.call(arguments,1);return function(){return e.apply(this,t.concat(a.call(arguments)))}}function E(e,t,i,n,r){var s,a,o,l,r=n!==h?(l=(a=i.match(e?f:/^([^#?]*)\??([^#]*)(#?.*)/))[3]||"",2===r&&P(n)?s=n.replace(e?p:x,""):(o=u(a[2]),n=P(n)?u[e?_:w](n):n,s=2===r?n:1===r?d.extend({},n,o):d.extend({},o,n),s=c(s),e&&(s=s.replace(m,y))),a[1]+(e?g:s||!a[1]?"?":"")+s+l):t(i!==h?i:location.href);return r}function C(e,t,i){return t=t===h||"boolean"==typeof t?(i=t,l[e?_:w]()):P(t)?t.replace(e?p:x,""):t,u(t,i)}function M(n,r,s,a){return P(s)||"object"==typeof s||(a=s,s=r,r=h),this.each(function(){var e=d(this),t=r||o()[(this.nodeName||"").toLowerCase()]||"",i=t&&e.attr(t)||"";e.attr(t,l[n](i,s,a))})}l[w]=k(E,0,function(e){return e.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}),l[_]=n=k(E,1,function(e){return e.replace(f,"$2")}),l.sorted=c=function(e,t){var r=[],s={};return d.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)}),d.map(r.sort(),function(e){return s[e]}).join("&")},n.noEscape=function(e){e=d.map((e=e||"").split(""),encodeURIComponent);m=new RegExp(e.join("|"),"g")},n.noEscape(",/"),n.ajaxCrawlable=function(e){return e!==h&&(g=e?(p=/^.*(?:#!|#)/,f=/^([^#]*)(?:#!|#)?(.*)$/,"#!"):(p=/^.*#/,f=/^([^#]*)#?(.*)$/,"#"),s=!!e),s},n.ajaxCrawlable(0),d.deparam=u=function(e,l){var c={},u={true:!0,false:!1,null:null};return d.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?h:u[i]!==h?u[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 d.isArray(c[n])?c[n].push(i):c[n]!==h?c[n]=[c[n],i]:c[n]=i;else n&&(c[n]=l?h:"")}),c},u[w]=k(C,0),u[_]=i=k(C,1),d[T]||(d[T]=function(e){return d.extend(S,e)})({a:"href",base:"href",iframe:"src",img:"src",input:"src",form:"action",link:"href",script:"src"}),o=d[T],d.fn[w]=k(M,w),d.fn[_]=k(M,_),e.pushState=t=function(e,t){P(e)&&/^#/.test(e)&&t===h&&(t=2);var i=e!==h,e=n(location.href,i?e:{},i?t:2);location.href=e},e.getState=r=function(e,t){return e===h||"boolean"==typeof e?i(e):i(t)[e]},e.removeState=function(e){var i={};e!==h&&(i=r(),d.each(d.isArray(e)?e:arguments,function(e,t){delete i[t]})),t(i,2)},v[b]=d.extend(v[b],{add:function(e){var t;function i(e){var i=e[_]=n();e.getState=function(e,t){return e===h||"boolean"==typeof e?u(i,e):u(i,t)[e]},t.apply(this,arguments)}if(d.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,u="hashchange",d=document,h=r.event.special,p=d.documentMode,f="on"+u in i&&(void 0===p||7<p);function m(){var e=n(),t=c(o);e!==o?(l(o=e,t),r(i).trigger(u)):t!==o&&(location.href=location.href.replace(/#.*/,"")+t),s=setTimeout(m,r.fn[u].delay)}function g(e){return e}r.fn[u]=function(e){return e?this.bind(u,e):this.trigger(u)},r.fn[u].delay=50,h[u]=r.extend(h[u],{setup:function(){if(f)return!1;r(e.start)},teardown:function(){if(f)return!1;r(e.stop)}}),p={},o=n(),c=l=g,p.start=function(){s||m()},p.stop=function(){s&&clearTimeout(s),s=void 0},"Microsoft Internet Explorer"!==navigator.appName||f||(p.start=function(){a||(t=(t=r.fn[u].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,d.onpropertychange=function(){try{"title"===event.propertyName&&(a.document.title=d.title)}catch(e){}})},p.stop=g,c=function(){return n(a.location.href)},l=function(e,t){var i=a.document,n=r.fn[u].domain;e!==t&&(i.title=d.title,i.open(),n&&i.write('<script>document.domain="'+n+'"<\/script>'),i.close(),a.location.hash=e)}),e=p}(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){e=this._events&&this._events[e];if(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,u=((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&&u[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,u){(u=u||t||e.jQuery)&&(c.prototype.option||(c.prototype.option=function(e){u.isPlainObject(e)&&(this.options=u.extend(!0,this.options,e))}),u.fn[l]=function(e){var t,n,r,s,a,o;return"string"==typeof e?(t=d.call(arguments,1),r=t,a="$()."+l+'("'+(n=e)+'")',(t=this).each(function(e,t){var i,t=u.data(t,l);t?(i=t[n])&&"_"!=n.charAt(0)?(i=i.apply(t,r),s=void 0===s?i:s):h(a+" is not a valid method"):h(l+" not initialized. Cannot call methods, i.e. "+a)}),void 0!==s?s:t):(o=e,this.each(function(e,t){var i=u.data(t,l);i?(i.option(o),i._init()):(i=new c(t,o),u.data(t,l,i))}),this)},n(u))}function n(e){e&&!e.bridget&&(e.bridget=i)}var d=Array.prototype.slice,r=e.console,h=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){e=this._events&&this._events[e];if(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){t=e.indexOf(t);-1!=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 e=l.toDashed(o),n="data-"+e,t=document.querySelectorAll("["+n+"]"),e=document.querySelectorAll(".js-"+e),t=l.makeArray(t).concat(l.makeArray(e)),r=n+"-options",s=i.jQuery;t.forEach(function(t){var e,i=t.getAttribute(n)||t.getAttribute(r);try{e=i&&JSON.parse(i)}catch(e){return void(c&&c.error("Error parsing "+n+" on "+t.className+": "+e))}i=new a(t,e);s&&s.data(t,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);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){e=(e=r.getQueryElement(e))&&e.infiniteScrollGUID;return e&&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 d(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=d(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||d(e)).querySelectorAll("script"),n=0;n<i.length;n++){for(var r=i[n],s=document.createElement("script"),a=(u=c=l=o=a=void 0,r),o=s,l=a.attributes,c=0;c<l.length;c++){var u=l[c];o.setAttribute(u.name,u.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=this.options.checkLastPage;if(i){var n,r=this.options.path;if("function"==typeof r)if(!this.getPath())return void this.lastPageReached(e,t);"string"==typeof i?n=i:this.isPathSelector&&(n=r),n&&e.querySelector&&(e.querySelector(n)||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){e=e?"addEventListener":"removeEventListener";this.scroller[e]("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){e=e?"addEventListener":"removeEventListener";this.scroller[e]("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,u=((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&&u[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,u){(u=u||t||e.jQuery)&&(c.prototype.option||(c.prototype.option=function(e){u.isPlainObject(e)&&(this.options=u.extend(!0,this.options,e))}),u.fn[l]=function(e){var t,n,r,s,a,o;return"string"==typeof e?(t=d.call(arguments,1),r=t,a="$()."+l+'("'+(n=e)+'")',(t=this).each(function(e,t){var i,t=u.data(t,l);t?(i=t[n])&&"_"!=n.charAt(0)?(i=i.apply(t,r),s=void 0===s?i:s):h(a+" is not a valid method"):h(l+" not initialized. Cannot call methods, i.e. "+a)}),void 0!==s?s:t):(o=e,this.each(function(e,t){var i=u.data(t,l);i?(i.option(o),i._init()):(i=new c(t,o),u.data(t,l,i))}),this)},n(u))}function n(e){e&&!e.bridget&&(e.bridget=i)}var d=Array.prototype.slice,r=e.console,h=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){e=this._events&&this._events[e];if(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 g(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}function y(e){e=getComputedStyle(e);return e||t("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function v(e){if(T||(T=!0,(u=document.createElement("div")).style.width="200px",u.style.padding="1px 2px 3px 4px",u.style.borderStyle="solid",u.style.borderWidth="1px 2px 3px 4px",u.style.boxSizing="border-box",(c=document.body||document.documentElement).appendChild(u),s=y(u),b=200==Math.round(g(s.width)),v.isBoxSizeOuter=b,c.removeChild(u)),(e="string"==typeof e?document.querySelector(e):e)&&"object"==typeof e&&e.nodeType){var t=y(e);if("none"==t.display){for(var i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;n<_;n++)i[w[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<_;a++){var o=w[a],l=t[o],l=parseFloat(l);r[o]=isNaN(l)?0:l}var c=r.paddingLeft+r.paddingRight,u=r.paddingTop+r.paddingBottom,e=r.marginLeft+r.marginRight,d=r.marginTop+r.marginBottom,h=r.borderLeftWidth+r.borderRightWidth,p=r.borderTopWidth+r.borderBottomWidth,f=s&&b,m=g(t.width),m=(!1!==m&&(r.width=m+(f?0:c+h)),g(t.height));return!1!==m&&(r.height=m+(f?0:u+p)),r.innerWidth=r.width-(c+h),r.innerHeight=r.height-(u+p),r.outerWidth=r.width+e,r.outerHeight=r.height+d,r}var u,c,s}var b,t="undefined"==typeof console?function(){}:function(e){console.error(e)},w=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],_=w.length,T=!1;return v}),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){t=e.indexOf(t);-1!=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 e=l.toDashed(o),n="data-"+e,t=document.querySelectorAll("["+n+"]"),e=document.querySelectorAll(".js-"+e),t=l.makeArray(t).concat(l.makeArray(e)),r=n+"-options",s=i.jQuery;t.forEach(function(t){var e,i=t.getAttribute(n)||t.getAttribute(r);try{e=i&&JSON.parse(i)}catch(e){return void(c&&c.error("Error parsing "+n+" on "+t.className+": "+e))}i=new a(t,e);s&&s.data(t,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=document.documentElement.style,r="string"==typeof n.transition?"transition":"WebkitTransition",n="string"==typeof n.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],a={transform:n,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},e=i.prototype=Object.create(e.prototype),o=(e.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, "+(t=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,0),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)},"opacity,"+n.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:e="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(e){for(var t in e)return;return 1}(t.ingProperties)&&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 r&&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){var t,e=this.layout.options[e];if(e.opacity)return"opacity";for(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=++u,this.element.outlayerGUID=t,(d[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,u=0,d={},h=(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),p=(n.extend(h,t.prototype),h.option=function(e){n.extend(this.options,e)},h._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"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._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},h._filterFindItemElements=function(e){return n.filterFindElements(e,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(e){return e.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=r(this.element)},h._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},h.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},h._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},h._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))},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},h.updateStagger=function(){var e,t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger="number"==typeof(t=t)?t:(e=(t=t.match(/(^\d*\.?\d*)(\w*)/))&&t[1],t=t&&t[2],e.length?(e=parseFloat(e))*(p[t]||1):0),this.stagger)},h._positionItem=function(e,t,i,n,r){n?e.goTo(t,i):(e.stagger(r*this.stagger),e.moveTo(t,i))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){var e;this._getOption("resizeContainer")&&(e=this._getContainerSize())&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))},h._getContainerSize=i,h._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")},h._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()},h.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))},h.ignore=function(e){e=this.getItem(e);e&&(e.isIgnored=!0)},h.unignore=function(e){e=this.getItem(e);e&&delete e.isIgnored},h.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},h.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){n.removeFrom(this.stamps,e),this.unignore(e)},this)},h._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),n.makeArray(e)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._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)}},h._manageStamp=i,h._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}},h.handleEvent=n.handleEvent,h.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},n.debounceMethod(a,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var e=r(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},h.addItems=function(e){e=this._itemize(e);return e.length&&(this.items=this.items.concat(e)),e},h.appended=function(e){e=this.addItems(e);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prepended=function(e){var t,e=this._itemize(e);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))},h.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()}))},h.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()}))},h.revealItemElements=function(e){e=this.getItems(e);this.reveal(e)},h.hideItemElements=function(e){e=this.getItems(e);this.hide(e)},h.getItem=function(e){for(var t=0;t<this.items.length;t++){var i=this.items[t];if(i.element==e)return i}},h.getItems=function(e){e=n.makeArray(e);var t=[];return e.forEach(function(e){e=this.getItem(e);e&&t.push(e)},this),t},h.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)},h.destroy=function(){var e=this.element.style,e=(e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize(),this.element.outlayerGUID);delete d[e],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},a.data=function(e){e=(e=n.getQueryElement(e))&&e.outlayerGUID;return e&&d[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){var e=e.create("masonry"),t=(e.compatOptions.fitWidth="isFitWidth",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=this.containerWidth+this.gutter,i=t/e,t=e-t%e,i=Math[t&&t<1?"round":"floor"](i);this.cols=Math.max(i,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=this._getOption("originLeft")?e.left:e.right,n=i+t.outerWidth,i=Math.floor(i/this.columnWidth),i=Math.max(0,i),r=Math.floor(n/this.columnWidth);r-=n%this.columnWidth?0:1;for(var r=Math.min(this.cols-1,r),s=(this._getOption("originTop")?e.top:e.bottom)+t.outerHeight,a=i;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,e=e.create("masonry"),n=e.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 e=e.create("fitRows"),t=e.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 e=e.create("vertical",{horizontalAlignment:0}),t=e.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}),e=(c.Item=r,c.LayoutMode=a,c.prototype),u=(e._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=this._getOption("layoutInstant"),e=void 0!==e?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]=u(i)}},e._updateItemsSortData=function(e){for(var t=e&&e.length,i=0;t&&i<t;i++)e[i].updateSortData()},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){e=e.querySelector(a);return e&&e.textContent},(r=c.sortDataParsers[e[1]])?function(e){return e&&r(n(e))}:function(e){return e&&n(e)})}),d=(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){var e=this.addItems(e);e.length&&(e=this._filterRevealAdded(e),this.filteredItems=this.filteredItems.concat(e))},e.prepended=function(e){var t,e=this._itemize(e);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){e=this._filter(e);return 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);e=this._filter(t).matches;for(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);d.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(T){T.fn.pajinate=function(o){var l,c,u,d,h,p,f="current_page",m="items_per_page",g=(o=T.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(u=T(this),c=T(this).find(o.item_container_id),d=u.find(o.item_container_id).children(),o.abort_on_small_lists&&o.items_per_page>=d.size())return u;(l=u).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>'}(h=u.find(o.nav_panel_id)).html(r).each(function(){T(this).find(".page_link:first").addClass("first"),T(this).find(".page_link:last").addClass("last")}),h.children(".ellipse").hide(),h.find(".previous_link").next().next().addClass("active "+y),d.hide(),d.slice(0,l.data(m)).show(),p=u.find(o.nav_panel_id+":first").children(".page_link").length,o.num_page_links_to_display=Math.min(o.num_page_links_to_display,p),h.children(".page_link").hide(),h.each(function(){T(this).children(".page_link").slice(0,o.num_page_links_to_display).show()}),u.find(".first_link").click(function(e){e.preventDefault(),w(T(this),0),v(0)}),u.find(".last_link").click(function(e){e.preventDefault();e=p-1;b(T(this),e),v(e)}),u.find(".previous_link").click(function(e){e.preventDefault(),e=T(this),new_page=parseInt(l.data(f))-1,1==T(e).siblings(".active").prev(".page_link").length?(w(e,new_page),v(new_page)):o.wrap_around&&v(p-1)}),u.find(".next_link").click(function(e){e.preventDefault(),e=T(this),new_page=parseInt(l.data(f))+1,1==T(e).siblings(".active").next(".page_link").length?(b(e,new_page),v(new_page)):o.wrap_around&&v(0)}),u.find(".page_link").click(function(e){e.preventDefault(),v(T(this).attr("longdesc"))}),v(parseInt(o.start_page)),o.wrap_around||_()});function v(e){e=parseInt(e,10);var t=parseInt(l.data(m)),t=(start_from=e*t,end_on=start_from+t,d.hide().slice(start_from,end_on)),i=(t.fadeIn(700),u.find(o.nav_panel_id).children(".page_link[longdesc="+e+"]").addClass("active "+y).siblings(".active").removeClass("active "+y),l.data(f,e),parseInt(l.data(f)+1)),n=c.children().length,n=Math.ceil(n/o.items_per_page);u.find(o.nav_info_id).html(o.nav_label_info.replace("{0}",start_from+1).replace("{1}",start_from+t.length).replace("{2}",d.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"==T(e).siblings(".active").siblings(".page_link[longdesc="+i+"]").css("display")&&h.each(function(){T(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"==T(e).siblings(".active").siblings(".page_link[longdesc="+i+"]").css("display")&&h.each(function(){T(this).children(".page_link").hide().slice(i,i+parseInt(o.num_page_links_to_display)).show()})}function _(){h.children(".last").hasClass("active")?h.children(".next_link").add(".last_link").addClass("no_more "+e):h.children(".next_link").add(".last_link").removeClass("no_more "+e),h.children(".first").hasClass("active")?h.children(".previous_link").add(".first_link").addClass("no_more "+e):h.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({},ee,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(re+t)}function u(e){return b(e)===ne}function d(e){return e.llTempImage}function o(e,t){e&&(e.toLoadCount=t)}function L(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){L(e).forEach(t)}function N(e){delete e[g]}function i(t,e){var i;j(t)||(i={},e.forEach(function(e){i[e]=t.getAttribute(e)}),t[g]=i)}function h(n,e){var r;j(n)&&(r=le(n),e.forEach(function(e){var t,i;t=n,(i=r[e=e])?t.setAttribute(e,i):t.removeAttribute(e)}))}function F(e,t,i){S(e,t.class_applied),w(e,ie),i&&(t.unobserve_completed&&k(e,t),x(t.callback_applied,e,i))}function R(e,t,i){S(e,t.class_loading),w(e,y),i&&(E(i,1),x(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 B(e,t){!t||0<t.loadingCount||0<t.toLoadCount||x(e.callback_finish,t)}function H(e,t,i){e.addEventListener(t,i),e.llEvLisnrs[t]=i}function q(e,t,i){delete e.llTempImage,E(i,-1),i&&--i.toLoadCount,P(e,t.class_loading),t.unobserve_completed&&k(e,i)}function c(a,o,l){var e,t,c=d(a)||a;I(c)||(I(e=c)||(e.llEvLisnrs={}),t="VIDEO"===e.tagName?"loadeddata":"load",H(e,t,function(e){var t=0,i=a,n=o,r=l,s=u(i);q(i,n,r),S(i,n.class_loaded),w(i,te),x(n.callback_loaded,i,r),s||B(n,r),O(c)}),H(e,"error",function(e){var t=0,i=a,n=o,r=l,s=u(i);q(i,n,r),S(i,n.class_error),w(i,v),x(n.callback_error,i,r),n.restore_on_error&&h(i,A),s||B(n,r),O(c)}))}function W(e){return e.use_native&&"loading"in HTMLImageElement.prototype}function $(e,c,u){e.forEach(function(e){return e.isIntersecting||0<e.intersectionRatio?(r=e.target,s=e,a=c,o=u,l=0<=se.indexOf(b(r)),w(r,"entered"),S(r,a.class_entered),P(r,a.class_exited),a.unobserve_entered&&k(r,o),x(a.callback_enter,r,s,o),void(l||Y(r,a,o))):(s=e.target,l=e,r=c,a=u,void(T(s)||(S(s,r.class_exited),o=s,e=l,i=a,(t=r).cancel_on_exit&&b(o)===y&&"IMG"===o.tagName&&(O(o),C(n=o,function(e){he(e)}),he(n),pe(o),P(o,t.class_loading),E(i,-1),_(o),x(t.callback_cancel,o,e,i)),x(r.callback_exit,s,l,a))));var t,i,n,r,s,a,o,l})}function V(e){return Array.prototype.slice.call(e)}function p(e){return e.container.querySelectorAll(e.elements_selector)}function U(e){return b(e)===v}function G(e,t){return e=e||p(t),V(e).filter(T)}function r(e,t){var n,r,i,s,e=a(e);this._settings=e,this.loadingCount=0,i=e,s=this,Z&&!W(i)&&(s._observer=new IntersectionObserver(function(e){$(e,i,s)},{root:i.container===document?null:i.container,rootMargin:i.thresholds||i.threshold+"px"})),n=e,r=this,f&&(r._onlineHandler=function(){var t,e,i;e=r,i=p(t=n),V(i).filter(U).forEach(function(e){P(e,t.class_error),_(e)}),e.update()},window.addEventListener("online",r._onlineHandler)),this.update(t)}var f="undefined"!=typeof window,X=f&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),Z=f&&"IntersectionObserver"in window,J=f&&"classList"in document.createElement("p"),K=f&&1<window.devicePixelRatio,ee={elements_selector:".lazy",container:X||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",te="loaded",ie="applied",v="error",ne="native",re="data-",b=function(e){return l(e,"ll-status")},w=function(e,t){var i;e=e,i="data-ll-status",null!==t?e.setAttribute(i,t):e.removeAttribute(i)},_=function(e){return w(e,null)},T=function(e){return null===b(e)},se=[y,"loaded",ie,v],x=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){J?e.classList.add(t):e.className+=(e.className?" ":"")+t},P=function(e,t){J?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},k=function(e,t){t&&(t=t._observer)&&t.unobserve(e)},E=function(e,t){e&&(e.loadingCount+=t)},C=function(e,t){e=e.parentNode;e&&"PICTURE"===e.tagName&&L(e).forEach(t)},M=[m],ae=[m,"poster"],A=[m,s,"sizes"],oe=["data"],j=function(e){return!!e[g]},le=function(e){return e[g]},ce={IMG:function(e,t){C(e,function(e){i(e,A),Q(e,t)}),i(e,A),Q(e,t)},IFRAME:function(e,t){i(e,M),n(e,m,l(e,t.data_src))},VIDEO:function(e,t){z(e,function(e){i(e,M),n(e,m,l(e,t.data_src))}),i(e,ae),n(e,"poster",l(e,t.data_poster)),n(e,m,l(e,t.data_src)),e.load()},OBJECT:function(e,t){i(e,oe),n(e,"data",l(e,t.data_src))}},ue=["IMG","IFRAME","VIDEO","OBJECT"],de=function(e,t,i){e.removeEventListener(t,i)},I=function(e){return!!e.llEvLisnrs},O=function(e){if(I(e)){var t,i=e.llEvLisnrs;for(t in i){var n=i[t];de(e,t,n)}delete e.llEvLisnrs}},Y=function(e,t,i){var n,r,s,a,o;-1<ue.indexOf(e.tagName)?(c(s=e,n=t,o=i),n=n,o=o,(r=ce[(s=s).tagName])&&(r(s,n),R(s,n,o))):(r=t,s=i,(n=e).llTempImage=document.createElement("IMG"),c(n,r,s),j(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=K&&a?a:e)&&(t.style.backgroundImage='url("'.concat(a,'")'),d(t).setAttribute(m,a),R(t,i,o)),e=s,i=l(a=n,(t=r).data_bg_multi),o=l(a,t.data_bg_multi_hidpi),(o=K&&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)))},he=function(e){e.removeAttribute(m),e.removeAttribute(s),e.removeAttribute("sizes")},pe=function(e){C(e,function(e){h(e,A)}),h(e,A)},fe={IMG:pe,IFRAME:function(e){h(e,M)},VIDEO:function(e){z(e,function(e){h(e,M)}),h(e,ae),e.load()},OBJECT:function(e){h(e,oe)}},me=["IMG","IFRAME","VIDEO"];if(r.prototype={update:function(e){var t,i,n,r,s=this._settings,e=G(e,s);o(this,e.length),!X&&Z?W(s)?(n=s,r=this,e.forEach(function(e){var t,i;-1!==me.indexOf(e.tagName)&&(t=n,i=r,(e=e).setAttribute("loading","lazy"),c(e,t,i),(i=ce[e.tagName])&&i(e,t),w(e,ne))}),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),p(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;G(e,i).forEach(function(e){k(e,t),Y(e,i,t)})},restoreAll:function(){var r=this._settings;p(r).forEach(function(e){var t,i,n;t=r,(n=fe[(i=e=e).tagName])?n(i):j(n=i)&&(i=le(n),n.style.backgroundImage=i.backgroundImage),n=t,T(i=e)||u(i)||(P(i,n.class_entered),P(i,n.class_exited),P(i,n.class_applied),P(i,n.class_loading),P(i,n.class_loaded),P(i,n.class_error)),_(e),N(e)})}},r.load=function(e,t){t=a(t);Y(e,t)},r.resetStatus=function(e){_(e)},f){var ge=r,D=window.lazyLoadOptions;if(D)if(D.length)for(var ye,ve=0;ye=D[ve];ve+=1)e(ge,ye);else e(ge,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 u(e,t){f.ev.on("mfp"+e+".mfp",t)}function d(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 h(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 p(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=!!window.jQuery,y=c(window);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=(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=d("bg").on("click.mfp",function(){f.close()}),f.wrap=d("wrap").attr("tabindex",-1).on("click.mfp",function(e){f._checkIfClose(e.target)&&f.close()}),f.container=d("container",f.wrap)),f.contentContainer=d("content"),f.st.preloader&&(f.preloader=d("preloader",f.container,f.st.tLoading));var r=c.magnificPopup.modules;for(n=0;n<r.length;n++){var s=(s=r[n]).charAt(0).toUpperCase()+s.slice(1);f["init"+s].call(f)}h("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(u("MarkupParse",function(e,t,i,n){i.close_replaceWith=p(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(p())),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:y.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()}),y.on("resize.mfp",function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var a=f.wH=y.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(),h("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),h("Open"),e}f.updateItemHTML()},close:function(){f.isOpen&&(h("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(){h("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,h("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||y.height(),f.fixedContentPos||f.wrap.css("height",f.wH),h("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=(h("BeforeChange",[f.currItem?f.currItem.type:"",t]),f.currItem=e,f.currTemplate[t]||(i=!!f.st[t]&&f.st[t].markup,h("FirstMarkupParse",i),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,h("Change",e),r=e.type,f.container.prepend(f.contentContainer),h("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(p()):f.content=e:f.content="",h("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,h("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(y.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),i={status:e,text:t=t||"loading"!==e?t:f.st.tLoading},h("UpdateStatus",i),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||y.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)),h("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=a?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),a?r.data("magnificPopup",e):r[0].magnificPopup=e,f.addGroup(r,e)),r};function o(){b&&(v.after(b.addClass(l)).detach(),b=null)}var l,v,b;c.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push("inline"),u("Close.inline",function(){o()})},getInline:function(e,t){var i,n,r;return o(),e.src?(i=f.st.inline,(n=c(e.src)).length?((r=n[0].parentNode)&&r.tagName&&(v||(l=i.hiddenClass,v=d(l),l="mfp-"+l),b=n.after(v).detach().removeClass(l)),f.updateStatus("ready")):(f.updateStatus("error",i.tNotFound),n=c("<div>")),e.inlineElement=n):(f.updateStatus("ready"),f._parseMarkup(t,{},e),t)}}});function w(){_&&c(document.body).removeClass(_)}function i(){w(),f.req&&f.req.abort()}var _;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"),_=f.st.ajax.cursor,u("Close.ajax",i),u("BeforeChange.ajax",i)},getAjax:function(n){_&&c(document.body).addClass(_),f.updateStatus("loading");var e=c.extend({url:n.src,success:function(e,t,i){e={data:e,xhr:i};h("ParseAjax",e),f.appendContent(c(e.data),"ajax"),n.finished=!0,w(),f._setFocus(),setTimeout(function(){f.wrap.addClass("mfp-ready")},16),f.updateStatus("ready"),h("AjaxContentAdded")},error:function(){w(),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),""}}});function T(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 x(e){var t=f.items.length;return t-1<e?e-t:e<0?t+e:e}function S(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)}var P,k;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"),u("Open"+t,function(){"image"===f.currItem.type&&e.cursor&&c(document.body).addClass(e.cursor)}),u("Close"+t,function(){e.cursor&&c(document.body).removeClass(e.cursor),y.off("resize.mfp")}),u("Resize"+t,f.resizeImage),f.isLowIE&&u("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,P&&clearInterval(P),e.isCheckingImgSize=!1,h("ImageHasSize",e),e.imgHidden)&&(f.content&&f.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){function i(e){P&&clearInterval(P),P=setInterval(function(){0<r.naturalWidth?f._onImageHasSize(t):(200<n&&clearInterval(P),3==++n?i(10):40===n?i(50):100===n&&i(500))},e)}var n=0,r=t.img[0];i(1)},getImage:function(e,t){function i(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===f.currItem&&(f._onImageHasSize(e),f.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,h("ImageLoadComplete")):++s<200?setTimeout(i,100):n())}function n(){e&&(e.img.off(".mfploader"),e===f.currItem&&(f._onImageHasSize(e),f.updateStatus("error",a.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)}var r,s=0,a=f.st.image,o=t.find(".mfp-img");return o.length&&((r=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(r.alt=e.el.find("img").attr("alt")),e.img=c(r).on("load.mfploader",i).on("error.mfploader",n),r.src=e.src,r.srcset=e.srcset,r.sizes=e.sizes,o.is("img")&&(e.img=e.img.clone()),0<(r=e.img[0]).naturalWidth?e.hasSize=!0:r.width||(e.hasSize=!1)),f._parseMarkup(t,{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""}(e),img_replaceWith:e.img},e),f.resizeImage(),e.hasSize?(P&&clearInterval(P),e.loadError?(t.addClass("mfp-loading"),f.updateStatus("error",a.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),f.findImageSize(e))),t}}}),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")},u("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,h("ZoomAnimationEnded")},16)},n)},16)):s())}),u("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)}}),u("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:(a?e.innerHeight():e[0].offsetHeight)-n-i});return(k=void 0===k?void 0!==document.createElement("p").style.MozTransform:k)?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"),u("BeforeChange",function(e,t,i){t!==i&&("iframe"===t?T():"iframe"===i&&T(!0))}),u("Close.iframe",function(){T()})},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",u("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()})}),u("UpdateStatus"+e,function(e,t){t.text&&(t.text=S(t.text,f.currItem.index,f.items.length))}),u("MarkupParse"+e,function(e,t,i,n){var r=f.items.length;i.counter=1<r?S(s.tCounter,n.index,r):""}),u("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)))}),u("Change"+e,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),u("Close"+e,function(){m.off(e),f.wrap.off("click"+e),f.arrowRight=f.arrowLeft=null})},next:function(){f.direction=!0,f.index=x(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=x(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=x(e),f.items[e].preloaded||((t=f.items[e]).parsed||(t=f.parseEl(e)),h("LazyLoad",t),"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,h("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))&&(u("ImageHasSize.retina",function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),u("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"),i=(s.Item=i,s.prototype),o=(i._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 e=c(e),i=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=this.getItem(e);t=t&&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);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=this._getOption("horizontal"),s=r?"y":"x",a=r?"height":"width",o=r?"rowHeight":"columnWidth",r=r?"innerHeight":"innerWidth",l=this[o];(l=l&&l+this.gutter)?(this._getMeasurements(),i=this[o]+this.gutter,e.forEach(function(e){var t=Math.round(e.rect[s]/l);e.rect[s]=t*i})):(t=c(this.element)[r]+this.gutter,n=this.packer[a],e.forEach(function(e){e.rect[s]=e.rect[s]/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";this.shiftTargetKeys=[],this.shiftTargets=[];var u=this[t];if(u=u&&u+this.gutter)for(var t=Math.ceil(e.rect[c]/u),r=Math.floor((this.shiftPacker[c]+this.gutter)/u),d=(r-t)*u,s=0;s<r;s++)this._addShiftTarget(s*u,0,d);else d=this.shiftPacker[c]+this.gutter-e.rect[c],this._addShiftTarget(0,0,d);var t=this._getItemsForLayout(this.items),h=this._getPackMethod();t.forEach(function(e){var t=e.rect,i=(this._setRectSize(e.element,t),this.shiftPacker[h](t),this._addShiftTarget(t.x,t.y,d),l?t.x+t.width:t.x),n=l?t.y:t.y+t.height;if(this._addShiftTarget(i,n,d),u)for(var r=Math.round(t[c]/u),s=1;s<r;s++){var a=l?i:t.x+u*s,o=l?t.y+u*s:n;this._addShiftTarget(a,o,d)}},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){i=(t=s).x-e.x,t=t.y-e.y;var t,i=Math.sqrt(i*i+t*t);i<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)},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,e=e.create("packery"),n=e.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()},u=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):u(s)}.bind(this));u(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={},A={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof j?new j(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||{},A.util.type(e)){case"Object":if(t=A.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=A.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=A.util.clone(A.languages[e]);for(i in t)n[i]=t[i];return n},insertBefore:function(i,e,t,n){var r,s=(n=n||A.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,A.languages.DFS(A.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=A.util.objId;for(s in t)t.hasOwnProperty(s)&&(i.call(t,s,t[s],n||s),a=t[s],"Object"!==(o=A.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){A.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'};A.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),A.hooks.run("before-all-elements-highlight",n);for(var r,s=0;r=n.elements[s++];)A.highlightElement(r,!0===t,n.callback)},highlightElement:function(e,t,i){var n=A.util.getLanguage(e),r=A.languages[n],s=(A.util.setLanguage(e,n),e.parentElement),a=(s&&"pre"===s.nodeName.toLowerCase()&&A.util.setLanguage(s,n),{element:e,language:n,grammar:r,code:e.textContent});function o(e){a.highlightedCode=e,A.hooks.run("before-insert",a),a.element.innerHTML=a.highlightedCode,A.hooks.run("after-highlight",a),A.hooks.run("complete",a),i&&i.call(a.element)}A.hooks.run("before-sanity-check",a),(s=a.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),a.code?(A.hooks.run("before-highlight",a),a.grammar?t&&l.Worker?((n=new Worker(A.filename)).onmessage=function(e){o(e.data)},n.postMessage(JSON.stringify({language:a.language,code:a.code,immediateClose:!0}))):o(A.highlight(a.code,a.grammar,a.language)):o(A.util.encode(a.code))):(A.hooks.run("complete",a),i&&i.call(a.element))},highlight:function(e,t,i){if(A.hooks.run("before-tokenize",e={code:e,grammar:t,language:i}),e.grammar)return e.tokens=A.tokenize(e.code,e.grammar),A.hooks.run("after-tokenize",e),j.stringify(A.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=(O(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 u,d=l[c],h=d.inside,p=!!d.lookbehind,f=!!d.greedy,m=d.alias,g=(f&&!d.pattern.global&&(u=d.pattern.toString().match(/[imsuy]*$/)[0],d.pattern=RegExp(d.pattern.source,u+"g")),d.pattern||d),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 j)){var w,_=1;if(f){if(!(w=I(g,v,t,p))||w.index>=t.length)break;var T=w.index,x=w.index+w[0].length,S=v;for(S+=y.value.length;S<=T;)S+=(y=y.next).value.length;if(v=S-=y.value.length,y.value instanceof j)continue;for(var P=y;P!==i.tail&&(S<x||"string"==typeof P.value);P=P.next)_++,S+=P.value.length;_--,b=t.slice(v,S),w.index-=v}else if(!(w=I(g,0,b,p)))continue;var T=w.index,k=w[0],E=b.slice(0,T),C=b.slice(T+k.length),b=v+b.length,M=(a&&b>a.reach&&(a.reach=b),y.prev),E=(E&&(M=O(i,M,E),v+=E.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,M,_),new j(o,h?A.tokenize(k,h):k,m,k)),y=O(i,M,E);C&&O(i,y,C),1<_&&(e(t,i,n,y.prev,v,k={cause:o+","+c,reach:b}),a)&&k.reach>a.reach&&(a.reach=k.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=A.hooks.all;i[e]=i[e]||[],i[e].push(t)},run:function(e,t){var i=A.hooks.all[e];if(i&&i.length)for(var n,r=0;n=i[r++];)n(t)}},Token:j};function j(e,t,i,n){this.type=e,this.content=t,this.alias=i,this.length=0|(n||"").length}function I(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 O(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=A,j.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)),A.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=A.util.currentScript())&&(A.filename=n.src,n.hasAttribute("data-manual"))&&(A.manual=!0),A.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&&!A.disableWorkerMessageHandler&&l.addEventListener("message",function(e){var t=(e=JSON.parse(e.data)).language,i=e.code,e=e.immediateClose;l.postMessage(A.highlight(i,A.languages[t],t)),e&&l.close()},!1),A;function r(){A.manual||A.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,u,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"},u="pre[data-src]:not(["+(c="data-src-status")+'="loaded"]):not(['+c+'="'+"loading"+'"])',Prism.hooks.add("before-highlightall",function(e){e.selector+=", "+u}),Prism.hooks.add("before-sanity-check",function(e){var r,t,i,n,s,a,o=e.element;o.matches(u)&&(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(u),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 d,h,p,e,t,i,n,r,f;function m(e){return!(0<=e.indexOf("!"))&&((e=h[e]||e)in Prism.languages||(e=p[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 u(){c||++r===i&&t&&t(e)}0!==i?e.forEach(function(e){function t(){var e,t,i,n,r=p[s];(r=r||(p[s]={callbacks:[]})).callbacks.push({success:a,error:o}),!l&&m(s)?y(s,"success"):!l&&r.error?y(s,"error"):!l&&r.loading||(r.loading=!0,r.error=!1,n=s,n=f.languages_path+"prism-"+n+(f.use_minified?".min":"")+".js",e=function(){r.loading=!1,y(s,"success")},t=function(){r.loading=!1,r.error=!0,y(s,"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 s,a,o,l,i;a=u,o=function(){c||(c=!0,n&&n(e))},l=0<=(s=e).indexOf("!"),s=s.replace("!",""),(i=d[s=h[s]||s])&&i.length?g(i,t,o):t()}):t&&setTimeout(t,0)}function y(e,t){if(p[e]){for(var i=p[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&&(d={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"},h={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"},p={},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(p){p.fn.scwStickySidebar=function(e){function t(e,t){return!0===e.initialized||!(p("body").width()<e.minWidth)&&(t=t,(d=e).initialized=!0,0===p("#scw-sticky-sidebar-stylesheet-"+d.namespace).length&&p("head").append(p('<style id="scw-sticky-sidebar-stylesheet-'+d.namespace+'">.scwStickySidebar:after {content: ""; display: table; clear: both;}</style>')),t.each(function(){function u(){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=p(this),r.options=d||{},r.container=p(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=p("<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,u(),r.onScroll=function(e){if(e.stickySidebar.is(":visible"))if(p("body").width()<e.options.minWidth)u();else{if(e.options.disableOnResponsiveLayouts)if(e.sidebar.outerWidth("none"==e.sidebar.css("float"))+50>e.container.width())return void u();var t,i,n,r,s,a=p(document).scrollTop(),o="static";a>=e.sidebar.offset().top+(e.paddingTop-e.options.additionalMarginTop)&&(i=e.paddingTop+d.additionalMarginTop,r=e.paddingBottom+e.marginBottom+d.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,p(this).height())}),c),t=0+d.additionalMarginTop,i=e.stickySidebar.outerHeight()+i+r<p(window).height()?t+e.stickySidebar.outerHeight():p(window).height()-e.marginBottom-e.paddingBottom-d.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=d.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<=d.additionalMarginTop?"static":"absolute"),"fixed"==o?(r=p(document).scrollLeft(),e.stickySidebar.css({position:"fixed",width:h(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=h(e.stickySidebar)+"px",s.left="",e.stickySidebar.css(s)):"static"==o&&u(),"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}var l,c},r.onScroll(r),p(document).on("scroll."+r.options.namespace,(n=r,function(){n.onScroll(n)})),p(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)}))}),!0);var d}function h(e){var t;try{t=e[0].getBoundingClientRect().width}catch(e){}return t=void 0===t?e.width():t}var i,n,r,s,a;return(e=p.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=e,i=this)||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),p(document).on("scroll."+e.namespace,(s=e,a=i,function(e){t(s,a)&&p(this).unbind(e)})),p(window).on("resize."+e.namespace,(n=e,r=i,function(e){t(n,r)&&p(this).unbind(e)}))),this}}(jQuery),!function(){function o(i,e){function d(){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 d,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;";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");function n(){c.style.width=l.offsetWidth+10+"px",c.style.height=l.offsetHeight+10+"px",l.scrollLeft=l.scrollWidth,l.scrollTop=l.scrollHeight,u.scrollLeft=u.scrollWidth,u.scrollTop=u.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()}var a,o,l=e.resizeSensor.childNodes[0],c=l.childNodes[0],u=e.resizeSensor.childNodes[1];u.childNodes[0],n();r(l,"scroll",s),r(u,"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 M(){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 C(){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 P(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function y(){return Date.now()}function A(e,t){void 0===t&&(t="x");var i=C();let n,r,s;e=function(e){var t=C();let i;return i=(i=!(i=t.getComputedStyle?t.getComputedStyle(e,null):i)&&e.currentStyle?e.currentStyle:i)||e.style}(e);return i.WebKitCSSMatrix?(6<(r=e.transform||e.webkitTransform).split(",").length&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new i.WebKitCSSMatrix("none"===r?"":r)):(s=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===t&&(r=i.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),(r="y"===t?i.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5]):r)||0}function c(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&&(c(i[r])&&c(n[r])?n[r].__swiper__?i[r]=n[r]:m(i[r],n[r]):c(i[r])||!c(n[r])||(i[r]={},n[r].__swiper__)?i[r]=n[r]:m(i[r],n[r]))}}}var a;return i}function E(e,t,i){e.style.setProperty(t,i)}function v(e){let{swiper:i,targetPosition:n,side:r}=e;const s=C(),a=-i.translate;let o,l=null;const c=i.params.speed,u=(i.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(i.cssModeFrameID),n>a?"next":"prev"),d=(e,t)=>"next"===u&&t<=e||"prev"===u&&e<=t,h=()=>{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);d(t,n)&&(t=n),i.wrapperEl.scrollTo({[r]:t}),d(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(h)};h()}function s(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function j(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function I(e){try{console.warn(e)}catch(e){}}function O(e,t){void 0===t&&(t=[]);e=document.createElement(e);return e.classList.add(...Array.isArray(t)?t:S(t)),e}function Y(e){var t=C(),i=M(),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 k(e,t){return C().getComputedStyle(e,null).getPropertyValue(t)}function T(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 g(i,n){n&&i.addEventListener("transitionend",function e(t){t.target===i&&(n.call(i,t),i.removeEventListener("transitionend",e))})}function L(e,t,i){var n=C();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,F;function R(){return i=i||(e=C(),{smoothScroll:(t=M()).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()}}},l=(e,t)=>{e.slides[t]&&(e=e.slides[t].querySelector('[loading="lazy"]'))&&e.removeAttribute("loading")},d=n=>{if(n&&!n.destroyed&&n.params){let i=n.params.lazyPreloadPrevNext;const r=n.slides.length;if(r&&i&&!(i<0)){i=Math.min(i,r);const s="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():Math.ceil(n.params.slidesPerView),a=n.activeIndex;if(n.params.grid&&1<n.params.grid.rows){const r=a,o=[r-i];o.push(...Array.from({length:i}).map((e,t)=>r+s+t)),void n.slides.forEach((e,t)=>{o.includes(e.column)&&l(n,t)})}else{const o=a+s-1;if(n.params.rewind||n.params.loop)for(let t=a-i;t<=o+i;t+=1){const e=(t%r+r)%r;(e<a||e>o)&&l(n,e)}else for(let e=Math.max(a-i,0);e<=Math.min(o+i,r-1);e+=1)e!==a&&(e>o||e<a)&&l(n,e)}}}};function Q(e){var{swiper:e,runCallbacks:t,direction:i,step:n}=e,{activeIndex:r,previousIndex:s}=e;let a=i;if(a=a||(s<r?"next":r<s?"prev":"reset"),e.emit("transition"+n),t&&r!==s){if("reset"===a)return e.emit("slideResetTransition"+n);e.emit("slideChangeTransition"+n),"next"===a?e.emit("slideNextTransition"+n):e.emit("slidePrevTransition"+n)}}function B(e,t,i){var n=C(),e=e["params"],r=e.edgeSwipeDetection,e=e.edgeSwipeThreshold;return!r||!(i<=e||i>=n.innerWidth-e)||"prevent"===r&&(t.preventDefault(),!0)}function H(){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=M(),{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",H,!0):e[t]("observerUpdate",H,!0),r[l]("load",e.onLoad,{capture:!0})},W=(e,t)=>e.grid&&t.grid&&1<t.grid.rows;var $={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(k(n,"padding-left")||0,10)-parseInt(k(n,"padding-right")||0,10),i=i-parseInt(k(n,"padding-top")||0,10)-parseInt(k(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,u=n.virtual&&s.virtual.enabled,e=(u?n.virtual:n).slides.length,d=j(t,`.${n.params.slideClass}, swiper-slide`),h=(u?n.virtual.slides:d).length;let p=[];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,T=0,x=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,d.forEach(e=>{l?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(E(a,"--swiper-centered-offset-before",""),E(a,"--swiper-centered-offset-after",""));var S=s.grid&&1<s.grid.rows&&n.grid;let i;S?n.grid.initSlides(d):n.grid&&n.grid.unsetSlides();var P="auto"===s.slidesPerView&&s.breakpoints&&0<Object.keys(s.breakpoints).filter(e=>void 0!==s.breakpoints[e].slidesPerView).length;for(let t=0;t<h;t+=1){let e;if(i=0,d[t]&&(e=d[t]),S&&n.grid.updateSlide(t,e,d),!d[t]||"none"!==k(e,"display")){if("auto"===s.slidesPerView){P&&(d[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()?L(e,"width",!0):L(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"),u=o.getPropertyValue("box-sizing");if(u&&"border-box"===u)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)),d[t]&&(d[t].style[n.getDirectionLabel("width")]=i+"px");d[t]&&(d[t].swiperSlideSize=i),m.push(i),s.centeredSlides?(_=_+i/2+T/2+w,0===T&&0!==t&&(_=_-o/2-w),0===t&&(_=_-o/2-w),Math.abs(_)<.001&&(_=0),s.roundLengths&&(_=Math.floor(_)),x%s.slidesPerGroup==0&&p.push(_),f.push(_)):(s.roundLengths&&(_=Math.floor(_)),(x-Math.min(n.params.slidesPerGroupSkip,x))%n.params.slidesPerGroup==0&&p.push(_),f.push(_),_=_+i+w),n.virtualSize+=i+w,T=i,x+=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,p),!s.centeredSlides){const r=[];for(let t=0;t<p.length;t+=1){let e=p[t];s.roundLengths&&(e=Math.floor(e)),p[t]<=n.virtualSize-o&&r.push(e)}p=r,1<Math.floor(n.virtualSize-o)-Math.floor(p[p.length-1])&&p.push(n.virtualSize-o)}if(u&&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)p.push(p[p.length-1]+t)}for(let e=0;e<n.virtual.slidesBefore+n.virtual.slidesAfter;e+=1)1===s.slidesPerGroup&&p.push(p[p.length-1]+r),f.push(f[f.length-1]+r),n.virtualSize+=r}if(0===p.length&&(p=[0]),0!==w){const r=n.isHorizontal()&&l?"marginLeft":n.getDirectionLabel("marginRight");d.filter((e,t)=>!(s.cssMode&&!s.loop)||t!==d.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;p=p.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;p.forEach((e,t)=>{p[t]=e-r}),f.forEach((e,t)=>{f[t]=e+r})}}if(Object.assign(n,{slides:d,snapGrid:p,slidesGrid:f,slidesSizesGrid:m}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){E(a,"--swiper-centered-offset-before",-p[0]+"px"),E(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(h!==e&&n.emit("slidesLengthChange"),p.length!==v&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),f.length!==b&&n.emit("slidesGridLengthChange"),s.watchSlidesProgress&&n.updateSlidesOffset(),!(u||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const r=s.containerModifierClass+"backface-hidden",a=n.el.classList.contains(r);h<=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 u=(i+(s.centeredSlides?r.minTranslate():0)-e)/(c.swiperSlideSize+n),d=(i-l[0]+(s.centeredSlides?r.minTranslate():0)-e)/(c.swiperSlideSize+n),h=-(i-e),p=h+r.slidesSizesGrid[t],f=0<=h&&h<=r.size-r.slidesSizesGrid[t];(0<=h&&h<r.size-1||1<p&&p<=r.size||h<=0&&p>=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?-u:u,c.originalProgress=o?-d:d}}},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=>j(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;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};if(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 u=n.grid&&r.grid&&1<r.grid.rows;let t;if(n.virtual&&r.virtual.enabled&&r.loop)t=i(c);else if(u){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&&d(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;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let s=A(r,e);return s+=this.cssOverflowAdjustment(),(s=i?-s:s)||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)`);n=i.maxTranslate()-i.minTranslate();(0==n?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(),l=n&&l<e?l:n&&e<c?c:e;if(s.updateProgress(l),a.cssMode){const e=s.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-l;else{if(!s.support.smoothScroll)return v({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:u,activeIndex:d,rtlTranslate:h,wrapperEl:p,enabled:f}=s;if(s.animating&&o.preventInteractionOnTransition||!f&&!n&&!r)return!1;e=Math.min(s.params.slidesPerGroupSkip,a);let m=e+Math.floor((a-e)/s.params.slidesPerGroup);var g=-l[m=m>=l.length?l.length-1:m];if(o.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*g),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!==d){if(!s.allowSlideNext&&(h?g>s.translate&&g>s.minTranslate():g<s.translate&&g<s.minTranslate()))return!1;if(!s.allowSlidePrev&&g>s.translate&&g>s.maxTranslate()&&(d||0)!==a)return!1}let y;if(a!==(u||0)&&i&&s.emit("beforeSlideChangeStart"),s.updateProgress(g),y=a>d?"next":a<d?"prev":"reset",h&&-g===s.translate||!h&&g===s.translate)return s.updateActiveIndex(a),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==o.effect&&s.setTranslate(g),"reset"!=y&&(s.transitionStart(i,y),s.transitionEnd(i,y)),!1;if(o.cssMode){const e=s.isHorizontal(),i=h?g:-g;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(()=>{p[e?"scrollLeft":"scrollTop"]=i})):p[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return v({swiper:s,targetPosition:i,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}}else s.setTransition(t),s.setTranslate(g),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,y),0===t?s.transitionEnd(i,y):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,y))}),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(i=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 u=n.virtual&&r.virtual.enabled;if(r.loop){if(c&&!u&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const h=d(o?n.translate:-n.translate),p=s.map(e=>d(e));let f=s[p.indexOf(h)-1];if(void 0===f&&r.cssMode){let i;s.forEach((e,t)=>{h>=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?!0: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=Math.min(r.params.slidesPerGroupSkip,s),a=a+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(j(i,a+`[data-swiper-slide-index="${r}"]`)[0]),P(()=>{e.slideTo(s)})):e.slideTo(s):s>e.slides.length-n?(e.loopFix(),s=e.getSlideIndex(j(i,a+`[data-swiper-slide-index="${r}"]`)[0]),P(()=>{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=()=>{j(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?O("swiper-slide",[n.slideBlankClass]):O("div",[n.slideClass,n.slideBlankClass]);i.slidesEl.append(t)}},a?n.loopAddBlankSlides?(l(s-i.slides.length%s),i.recalcSlides(),i.updateSlides()):I("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()):I("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:u,byController:d,byMousewheel:h}=void 0===s?{}:s;const p=this;if(p.params.loop){p.emit("beforeLoopFix");const{slides:b,allowSlidePrev:w,allowSlideNext:_,slidesEl:T,params:x}=p,S=x["centeredSlides"];if(p.allowSlidePrev=!0,p.allowSlideNext=!0,p.virtual&&x.virtual.enabled)o&&(x.centeredSlides||0!==p.snapIndex?x.centeredSlides&&p.snapIndex<x.slidesPerView?p.slideTo(p.virtual.slides.length+p.snapIndex,0,!1,!0):p.snapIndex===p.snapGrid.length-1&&p.slideTo(p.virtual.slidesBefore,0,!1,!0):p.slideTo(p.virtual.slides.length,0,!1,!0)),p.allowSlidePrev=w,p.allowSlideNext=_;else{let e=x.slidesPerView;"auto"===e?e=p.slidesPerViewDynamic():(e=Math.ceil(parseFloat(x.slidesPerView,10)),S&&e%2==0&&(e+=1));s=x.slidesPerGroupAuto?e:x.slidesPerGroup;let t=s;t%s!=0&&(t+=s-t%s),t+=x.loopAdditionalSlides,p.loopedSlides=t;var f=p.grid&&x.grid&&1<x.grid.rows;b.length<e+t?I("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"===x.grid.fill&&I("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const P=[],k=[];let i=p.activeIndex;void 0===u?u=p.getSlideIndex(b.filter(e=>e.classList.contains(x.slideActiveClass))[0]):i=u;var m="next"===l||!l,g="prev"===l||!l;let n=0,r=0;var y=f?Math.ceil(b.length/x.grid.rows):b.length,v=(f?b[u].column:u)+(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&&P.push(e)}else P.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&&k.push(t)}):k.push(a)}}if(p.__preventObserver__=!0,requestAnimationFrame(()=>{p.__preventObserver__=!1}),g&&P.forEach(e=>{b[e].swiperLoopMoveDOM=!0,T.prepend(b[e]),b[e].swiperLoopMoveDOM=!1}),m&&k.forEach(e=>{b[e].swiperLoopMoveDOM=!0,T.append(b[e]),b[e].swiperLoopMoveDOM=!1}),p.recalcSlides(),"auto"===x.slidesPerView?p.updateSlides():f&&(0<P.length&&g||0<k.length&&m)&&p.slides.forEach((e,t)=>{p.grid.updateSlide(t,e,p.slides)}),x.watchSlidesProgress&&p.updateSlidesOffset(),o)if(0<P.length&&g){if(void 0===a){const s=p.slidesGrid[i],a=p.slidesGrid[i+n]-s;h?p.setTranslate(p.translate-a):(p.slideTo(i+n,0,!1,!0),c&&(p.touchEventsData.startTranslate=p.touchEventsData.startTranslate-a,p.touchEventsData.currentTranslate=p.touchEventsData.currentTranslate-a))}else if(c){const s=f?P.length/x.grid.rows:P.length;p.slideTo(p.activeIndex+s,0,!1,!0),p.touchEventsData.currentTranslate=p.translate}}else if(0<k.length&&m)if(void 0===a){const s=p.slidesGrid[i],a=p.slidesGrid[i-r]-s;h?p.setTranslate(p.translate-a):(p.slideTo(i-r,0,!1,!0),c&&(p.touchEventsData.startTranslate=p.touchEventsData.startTranslate-a,p.touchEventsData.currentTranslate=p.touchEventsData.currentTranslate-a))}else{const s=f?k.length/x.grid.rows:k.length;p.slideTo(p.activeIndex-s,0,!1,!0)}if(p.allowSlidePrev=w,p.allowSlideNext=_,p.controller&&p.controller.control&&!d){const s={slideRealIndex:a,direction:l,setTranslate:c,activeSlideIndex:u,byController:!0};Array.isArray(p.controller.control)?p.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...s,slideTo:e.params.slidesPerView===x.slidesPerView&&o})}):p.controller.control instanceof p.constructor&&p.controller.control.params.loop&&p.controller.control.loopFix({...s,slideTo:p.controller.control.params.slidesPerView===x.slidesPerView&&o})}}p.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=M();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)B(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!==M()&&t!==C()&&((i=(t=t.assignedSlot?t.assignedSlot:t).closest(n))||t.getRootNode)?i||e(t.getRootNode().host):null}(e=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;if(B(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=y(),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=M(),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.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 u=o.currentX-o.startX,d=o.currentY-o.startY;if(!(r.params.threshold&&Math.sqrt(u**2+d**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<=u*u+d*d&&(h=180*Math.atan2(Math.abs(d),Math.abs(u))/Math.PI,s.isScrolling=r.isHorizontal()?h>a.touchAngle:90-h>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()?u:d,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 h=r.touchesDirection,u=(r.swipeDirection=0<i?"prev":"next",r.touchesDirection=0<e?"prev":"next",r.params.loop&&!a.cssMode),d="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(!s.isMoved){if(u&&d&&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&&h!==r.touchesDirection&&u&&d&&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?(u&&d&&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&&(u&&d&&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=y())}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.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 u,c=y(),d=c-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),d<300&&c-t.lastClickTime<300&&s.emit("doubleTap doubleClick",a)}if(t.lastClickTime=y(),P(()=>{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,u=o.followFinger?i?s.translate:-s.translate:-t.currentTranslate,!o.cssMode)if(o.freeMode&&o.freeMode.enabled)s.freeMode.onTouchEnd({currentPos:u});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]?u>=l[e]&&u<l[e+s]&&(t=e,i=l[e+s]-l[e]):u>=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=(u-l[t])/i,r=t<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;d>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 d=(a in s?s[a]:void 0)||n.originalParams,h=W(n,r),p=W(n,d),f=r.enabled;h&&!p?(i.classList.remove(r.containerModifierClass+"grid",r.containerModifierClass+"grid-column"),n.emitContainerClasses()):!h&&p&&(i.classList.add(r.containerModifierClass+"grid"),(d.grid.fill&&"column"===d.grid.fill||!d.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!==d[e]&&(t=r[e]&&r[e].enabled,i=d[e]&&d[e].enabled,t&&!i&&n[e].disable(),!t)&&i&&n[e].enable()});var o=d.direction&&d.direction!==r.direction,l=r.loop&&(d.slidesPerView!==r.slidesPerView||o),c=r.loop,o=(o&&t&&n.changeDirection(),m(n.params,d),n.params.enabled),u=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",d),t&&(l?(n.loopDestroy(),n.loopCreate(e),n.updateSlides()):!c&&u?(n.loopCreate(e),n.updateSlides()):c&&!u&&n.loopDestroy()),n.emit("breakpoint",d)}}},getBreakpoint:function(e,i,n){if(void 0===i&&(i="window"),e&&("container"!==i||n)){let t=!1;const r=C(),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:C,value:s}=a[e];"window"===i?r.matchMedia(`(min-width: ${s}px)`).matches&&(t=C):s<=n.clientWidth&&(t=C)}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()}}},u={};class h{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 d,s=M();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 h(e))}),t}const a=this,o=(a.__swiper__=!0,a.support=R(),a.device=(void 0===(d={userAgent:i.userAgent})&&(d={}),w=w||function(){var e=(void 0===d?{}:d)["userAgent"],t=R(),i=C(),n=i.navigator.platform,e=e||i.navigator.userAgent,r={ios:!1,android:!1},s=i.screen.width,i=i.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_]+)/),u="Win32"===n,n="MacIntel"===n;return!o&&n&&t.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(s+"x"+i)&&(o=(o=e.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"]),a&&!u&&(r.os="android",r.android=!0),(o||c||l)&&(r.os="ios",r.ios=!0),r}()),a.browser=F=F||function(){const t=C();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),{});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({},$,o);return a.params=m({},s,u,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=T(j(t,`.${i.slideClass}, swiper-slide`)[0]);return T(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=j(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){const{snapGrid:n,params:r}=t;let e;if(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)i(),r.autoHeight&&t.updateAutoHeight();else{if(("auto"===r.slidesPerView||1<r.slidesPerView)&&t.isEnd&&!r.centeredSlides){const n=(t.virtual&&r.virtual.enabled?t.virtual:t).slides;e=t.slideTo(n.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}function i(){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.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(i){const n=this;if(!n.mounted){let e=i||n.params.el;if(!(e="string"==typeof e?document.querySelector(e):e))return!1;e.swiper=n,e.parentNode&&e.parentNode.host&&"SWIPER-CONTAINER"===e.parentNode.host.nodeName&&(n.isElement=!0);const r=()=>"."+(n.params.wrapperClass||"").trim().split(" ").join(".");let t=e&&e.shadowRoot&&e.shadowRoot.querySelector?e.shadowRoot.querySelector(r()):j(e,r())[0];!t&&n.params.createElements&&(t=O("div",n.params.wrapperClass),e.append(t),j(e,"."+n.params.slideClass).forEach(e=>{t.append(e)})),Object.assign(n,{el:e,wrapperEl:t,slidesEl:n.isElement&&!e.parentNode.host.slideSlots?e.parentNode.host:t,hostEl:n.isElement?e.parentNode.host:e,mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===k(e,"direction"),rtlTranslate:"horizontal"===n.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===k(e,"direction")),wrongRTL:"-webkit-box"===k(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)})}),d(t),t.initialized=!0,d(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(u,e)}static get extendedDefaults(){return u}static get defaults(){return $}static installModule(e){h.prototype.__modules__||(h.prototype.__modules__=[]);var t=h.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>h.installModule(e)):h.installModule(e),h}}function z(i,n,r,s){return i.params.createElements&&Object.keys(s).forEach(t=>{if(!r[t]&&!0===r.auto){let e=j(i.el,"."+s[t])[0];e||((e=O("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 p(e){const{effect:i,swiper:n,on:t,setTranslate:r,setTransition:s,overwriteParams:a,perspective:o,recreateShadows:l,getEffectParams:c}=e;let u;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||(u=!0),requestAnimationFrame(()=>{u&&n.slides&&n.slides.length&&(r(),u=!1)}))})}function _(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=>{g(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 x(e,t,i){i="swiper-slide-shadow"+(i?"-"+i:"")+(e?" swiper-slide-shadow-"+e:""),e=s(t);let n=e.querySelector("."+i.split(" ").join("."));return n||(n=O("div",i.split(" ")),e.append(n)),n}return Object.keys(o).forEach(t=>{Object.keys(o[t]).forEach(e=>{h.prototype[e]=o[t][e]})}),h.use([function(e){let{swiper:s,on:t,emit:i}=e;const n=C();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=C();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)})}]),h.use([function(e){let t,{swiper:S,extendParams:i,on:n,emit:P}=e;i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});e=M();S.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const r=e.createElement("div");function k(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?O("swiper-slide"):O("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:u,offset:d}=S.virtual;S.params.cssMode||S.updateActiveIndex();var h=S.activeIndex||0;let p,f,m,g=(p=S.rtlTranslate?"right":S.isHorizontal()?"left":"top",h-(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=h+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(),P("virtualUpdate")}if(r&&h>=m?(g-=m,n||(v+=S.slidesGrid[0])):r&&h<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():P("virtualUpdate");else{var w=[],_=[],T=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=T(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 h=r?-c.length:0,x=r?2*c.length:c.length;for(let e=h;e<x;e+=1)if(e>=g&&e<=y){const S=T(e);void 0===l||t?_.push(S):(e>l&&_.push(S),e<o&&w.push(S))}if(_.forEach(e=>{S.slidesEl.append(k(c[e],e))}),r)for(let e=w.length-1;0<=e;--e){const i=w[e];S.slidesEl.prepend(k(c[i],i))}else w.sort((e,t)=>t-e),w.forEach(e=>{S.slidesEl.prepend(k(c[e],e))});j(S.slidesEl,".swiper-slide, swiper-slide").forEach(e=>{e.style[p]=v-Math.abs(S.cssOverflowAdjustment())+"px"}),b()}else S.slidesGrid!==u&&v!==d&&S.slides.forEach(e=>{e.style[p]=v-Math.abs(S.cssOverflowAdjustment())+"px"}),S.updateProgress(),P("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&&E(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:d,extendParams:t,on:i,emit:h}=e;const p=M(),f=C();function n(t){if(d.enabled){const i=d["rtlTranslate"];let e=t;const n=(e=e.originalEvent?e.originalEvent:e).keyCode||e.charCode,r=d.params.keyboard.pageUpDown,s=r&&33===n,a=r&&34===n,o=37===n,l=39===n,c=38===n,u=40===n;if(!d.allowSlideNext&&(d.isHorizontal()&&l||d.isVertical()&&u||a))return!1;if(!d.allowSlidePrev&&(d.isHorizontal()&&o||d.isVertical()&&c||s))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||p.activeElement&&p.activeElement.nodeName&&("input"===p.activeElement.nodeName.toLowerCase()||"textarea"===p.activeElement.nodeName.toLowerCase()))){if(d.params.keyboard.onlyInViewport&&(s||a||o||l||c||u)){let t=!1;if(0<D(d.el,`.${d.params.slideClass}, swiper-slide`).length&&0===D(d.el,"."+d.params.slideActiveClass).length)return;const e=d.el,n=e.clientWidth,r=e.clientHeight,h=f.innerWidth,p=f.innerHeight,s=Y(e),a=(i&&(s.left-=e.scrollLeft),[[s.left,s.top],[s.left+n,s.top],[s.left,s.top+r],[s.left+n,s.top+r]]);for(let e=0;e<a.length;e+=1){const i=a[e];0<=i[0]&&i[0]<=h&&0<=i[1]&&i[1]<=p&&(0===i[0]&&0===i[1]||(t=!0))}if(!t)return}d.isHorizontal()?((s||a||o||l)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),((a||l)&&!i||(s||o)&&i)&&d.slideNext(),((s||o)&&!i||(a||l)&&i)&&d.slidePrev()):((s||a||c||u)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),(a||u)&&d.slideNext(),(s||c)&&d.slidePrev()),h("keyPress",n)}}}function r(){d.keyboard.enabled||(p.addEventListener("keydown",n),d.keyboard.enabled=!0)}function s(){d.keyboard.enabled&&(p.removeEventListener("keydown",n),d.keyboard.enabled=!1)}d.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",()=>{d.params.keyboard.enabled&&r()}),i("destroy",()=>{d.keyboard.enabled&&s()}),Object.assign(d.keyboard,{enable:r,disable:s})},function(e){let{swiper:u,extendParams:t,on:i,emit:d}=e;const n=C();let h;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),u.mousewheel={enabled:!1};let p,r=y();const f=[];function s(){u.enabled&&(u.mouseEntered=!0)}function a(){u.enabled&&(u.mouseEntered=!1)}function m(e){u.params.mousewheel.thresholdDelta&&e.delta<u.params.mousewheel.thresholdDelta||u.params.mousewheel.thresholdTime&&y()-r<u.params.mousewheel.thresholdTime||6<=e.delta&&y()-r<60||(e.direction<0?u.isEnd&&!u.params.loop||u.animating||(u.slideNext(),d("scroll",e.raw)):u.isBeginning&&!u.params.loop||u.animating||(u.slidePrev(),d("scroll",e.raw)),r=(new n.Date).getTime())}function o(n){let r=n,s=!0;if(u.enabled&&!n.target.closest("."+u.params.mousewheel.noMousewheelClass)){var a=u.params.mousewheel;u.params.cssMode&&r.preventDefault();let e=u.el;const c=(e="container"!==u.params.mousewheel.eventsTarget?document.querySelector(u.params.mousewheel.eventsTarget):e)&&e.contains(r.target);if(!u.mouseEntered&&!c&&!a.releaseOnEdges)return!0;r.originalEvent&&(r=r.originalEvent);let t=0;var o=u.rtlTranslate?-1:1,l=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}}(r);if(a.forceToAxis)if(u.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return!0;t=-l.pixelX*o}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;t=-l.pixelY}else t=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*o:-l.pixelY;if(0===t)return!0;a.invert&&(t=-t);let i=u.getTranslate()+t*a.sensitivity;if((i=i>=u.minTranslate()?u.minTranslate():i)<=u.maxTranslate()&&(i=u.maxTranslate()),(s=!!u.params.loop||!(i===u.minTranslate()||i===u.maxTranslate()))&&u.params.nested&&r.stopPropagation(),u.params.freeMode&&u.params.freeMode.enabled){const n={time:y(),delta:Math.abs(t),direction:Math.sign(t)},s=p&&n.time<p.time+500&&n.delta<=p.delta&&n.direction===p.direction;if(!s){p=void 0;let e=u.getTranslate()+t*a.sensitivity;const y=u.isBeginning,c=u.isEnd;if((e=e>=u.minTranslate()?u.minTranslate():e)<=u.maxTranslate()&&(e=u.maxTranslate()),u.setTransition(0),u.setTranslate(e),u.updateProgress(),u.updateActiveIndex(),u.updateSlidesClasses(),(!y&&u.isBeginning||!c&&u.isEnd)&&u.updateSlidesClasses(),u.params.loop&&u.loopFix({direction:n.direction<0?"next":"prev",byMousewheel:!0}),u.params.freeMode.sticky){clearTimeout(h),h=void 0,15<=f.length&&f.shift();const r=f.length?f[f.length-1]:void 0,s=f[0];if(f.push(n),r&&(n.delta>r.delta||n.direction!==r.direction))f.splice(0);else if(15<=f.length&&n.time-s.time<500&&1<=s.delta-n.delta&&n.delta<=6){const r=0<t?.8:.2;p=n,f.splice(0),h=P(()=>{u.slideToClosest(u.params.speed,!0,void 0,r)},0)}h=h||P(()=>{p=n,f.splice(0),u.slideToClosest(u.params.speed,!0,void 0,.5)},500)}if(s||d("scroll",r),u.params.autoplay&&u.params.autoplayDisableOnInteraction&&u.autoplay.stop(),a.releaseOnEdges&&(e===u.minTranslate()||e===u.maxTranslate()))return!0}}else{const r={time:y(),delta:Math.abs(t),direction:Math.sign(t),raw:n},s=(2<=f.length&&f.shift(),f.length?f[f.length-1]:void 0);if(f.push(r),(!s||r.direction!==s.direction||r.delta>s.delta||r.time>s.time+150)&&m(r),function(e){var t=u.params.mousewheel;if(e.direction<0){if(u.isEnd&&!u.params.loop&&t.releaseOnEdges)return 1}else if(u.isBeginning&&!u.params.loop&&t.releaseOnEdges)return 1}(r))return!0}return r.preventDefault?r.preventDefault():r.returnValue=!1,!1}}function l(e){let t=u.el;(t="container"!==u.params.mousewheel.eventsTarget?document.querySelector(u.params.mousewheel.eventsTarget):t)[e]("mouseenter",s),t[e]("mouseleave",a),t[e]("wheel",o)}function c(){return u.params.cssMode?(u.wrapperEl.removeEventListener("wheel",o),!0):!u.mousewheel.enabled&&(l("addEventListener"),u.mousewheel.enabled=!0)}function g(){return u.params.cssMode?(u.wrapperEl.addEventListener(event,o),!0):!!u.mousewheel.enabled&&(l("removeEventListener"),!(u.mousewheel.enabled=!1))}i("init",()=>{!u.params.mousewheel.enabled&&u.params.cssMode&&g(),u.params.mousewheel.enabled&&c()}),i("destroy",()=>{u.params.cssMode&&c(),u.mousewheel.enabled&&g()}),Object.assign(u.mousewheel,{enable:c,disable:g})},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?e:t}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 u(e){e.preventDefault(),r.isEnd&&!r.params.loop&&!r.params.rewind||(r.slideNext(),s("navigationNext"))}function d(){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?u:c),!r.enabled&&e&&e.classList.add(...i.lockClass.split(" "))};e.forEach(e=>n(e,"next")),t.forEach(e=>n(e,"prev"))}}function h(){var{nextEl:e,prevEl:t}=r.navigation,e=a(e),t=a(t);const i=(e,t)=>{e.removeEventListener("click","next"===t?u: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?p:(d(),l))()}),i("toEdge fromEdge lock unlock",()=>{l()}),i("destroy",()=>{h()}),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 p=()=>{r.el.classList.add(...r.params.navigation.navigationDisabledClass.split(" ")),h()};Object.assign(r.navigation,{enable:()=>{r.el.classList.remove(...r.params.navigation.navigationDisabledClass.split(" ")),d(),l()},disable:p,update:l,init:d,destroy:h})},function(e){let{swiper:c,extendParams:t,on:i,emit:u}=e;e="swiper-pagination";let d,h=(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"}}),c.pagination={el:null,bullets:[]},0);const r=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function s(){return!c.params.pagination.el||!c.pagination.el||Array.isArray(c.pagination.el)&&0===c.pagination.el.length}function p(e,t){var i=c.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(c.params.pagination.bulletClass));t&&(e.preventDefault(),e=T(t)*c.params.slidesPerGroup,c.params.loop?c.realIndex!==e&&c.slideToLoop(e):c.slideTo(e))}function a(){const a=c.rtl,o=c.params.pagination;if(!s()){let s,e,t=c.pagination.el;t=r(t);const i=(c.virtual&&c.params.virtual.enabled?c.virtual:c).slides.length,l=c.params.loop?Math.ceil(i/c.params.slidesPerGroup):c.snapGrid.length;if(c.params.loop?(e=c.previousRealIndex||0,s=1<c.params.slidesPerGroup?Math.floor(c.realIndex/c.params.slidesPerGroup):c.realIndex):void 0!==c.snapIndex?(s=c.snapIndex,e=c.previousSnapIndex):(e=c.previousIndex||0,s=c.activeIndex||0),"bullets"===o.type&&c.pagination.bullets&&0<c.pagination.bullets.length){const u=c.pagination.bullets;let i,n,r;if(o.dynamicBullets&&(d=L(u[0],c.isHorizontal()?"width":"height",!0),t.forEach(e=>{e.style[c.isHorizontal()?"width":"height"]=d*(o.dynamicMainBullets+4)+"px"}),1<o.dynamicMainBullets&&void 0!==e&&((h+=s-(e||0))>o.dynamicMainBullets-1?h=o.dynamicMainBullets-1:h<0&&(h=0)),i=Math.max(s-h,0),n=i+(Math.min(u.length,o.dynamicMainBullets)-1),r=(n+i)/2),u.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<t.length)u.forEach(e=>{var t=T(e);t===s?e.classList.add(...o.bulletActiveClass.split(" ")):c.isElement&&e.setAttribute("part","bullet"),o.dynamicBullets&&(t>=i&&t<=n&&e.classList.add(...(o.bulletActiveClass+"-main").split(" ")),t===i&&p(e,"prev"),t===n)&&p(e,"next")});else{const a=u[s];if(a&&a.classList.add(...o.bulletActiveClass.split(" ")),c.isElement&&u.forEach((e,t)=>{e.setAttribute("part",t===s?"bullet-active":"bullet")}),o.dynamicBullets){const a=u[i],c=u[n];for(let e=i;e<=n;e+=1)u[e]&&u[e].classList.add(...(o.bulletActiveClass+"-main").split(" "));p(a,"prev"),p(c,"next")}}if(o.dynamicBullets){const e=Math.min(u.length,o.dynamicMainBullets+4),t=(d*e-d)/2-r*d,h=a?"right":"left";u.forEach(e=>{e.style[c.isHorizontal()?h:"top"]=t+"px"})}}t.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?c.isHorizontal()?"vertical":"horizontal":c.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=c.params.speed+"ms"})}"custom"===o.type&&o.renderCustom?(e.innerHTML=o.renderCustom(c,s+1,l),0===n&&u("paginationRender",e)):(0===n&&u("paginationRender",e),u("paginationUpdate",e)),c.params.watchOverflow&&c.enabled&&e.classList[c.isLocked?"add":"remove"](o.lockClass)})}}function o(){const n=c.params.pagination;if(!s()){var e=c.virtual&&c.params.virtual.enabled?c.virtual.slides.length:c.grid&&1<c.params.grid.rows?c.slides.length/Math.ceil(c.params.grid.rows):c.slides.length,t=c.pagination.el,t=r(t);let i="";if("bullets"===n.type){let t=c.params.loop?Math.ceil(e/c.params.slidesPerGroup):c.snapGrid.length;c.params.freeMode&&c.params.freeMode.enabled&&t>e&&(t=e);for(let e=0;e<t;e+=1)n.renderBullet?i+=n.renderBullet.call(c,e,n.bulletClass):i+=`<${n.bulletElement} ${c.isElement?'part="bullet"':""} class="${n.bulletClass}"></${n.bulletElement}>`}"fraction"===n.type&&(i=n.renderFraction?n.renderFraction.call(c,n.currentClass,n.totalClass):`<span class="${n.currentClass}"></span> / <span class="${n.totalClass}"></span>`),"progressbar"===n.type&&(i=n.renderProgressbar?n.renderProgressbar.call(c,n.progressbarFillClass):`<span class="${n.progressbarFillClass}"></span>`),c.pagination.bullets=[],t.forEach(e=>{"custom"!==n.type&&(e.innerHTML=i||""),"bullets"===n.type&&c.pagination.bullets.push(...e.querySelectorAll(N(n.bulletClass)))}),"custom"!==n.type&&u("paginationRender",t[0])}}function l(){c.params.pagination=z(c,c.originalParams.pagination,c.params.pagination,{el:"swiper-pagination"});const t=c.params.pagination;if(t.el){let e;(e=(e=(e="string"==typeof t.el&&c.isElement?c.el.querySelector(t.el):e)||"string"!=typeof t.el?e:[...document.querySelectorAll(t.el)])||t.el)&&0!==e.length&&(c.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&1<e.length&&1<(e=[...c.el.querySelectorAll(t.el)]).length&&(e=e.filter(e=>D(e,".swiper")[0]===c.el)[0]),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(c.pagination,{el:e}),(e=r(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(c.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(""+t.modifierClass+t.type+"-dynamic"),h=0,t.dynamicMainBullets<1)&&(t.dynamicMainBullets=1),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",n),c.enabled||e.classList.add(t.lockClass)}))}}function f(){const t=c.params.pagination;var e;s()||((e=c.pagination.el)&&(e=r(e)).forEach(e=>{e.classList.remove(t.hiddenClass),e.classList.remove(t.modifierClass+t.type),e.classList.remove(c.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(e.classList.remove(...(t.clickableClass||"").split(" ")),e.removeEventListener("click",n))}),c.pagination.bullets&&c.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" "))))}i("changeDirection",()=>{if(c.pagination&&c.pagination.el){const t=c.params.pagination;var e=c.pagination["el"];(e=r(e)).forEach(e=>{e.classList.remove(t.horizontalClass,t.verticalClass),e.classList.add(c.isHorizontal()?t.horizontalClass:t.verticalClass)})}}),i("init",()=>{(!1===c.params.pagination.enabled?m:(l(),o(),a))()}),i("activeIndexChange",()=>{void 0===c.snapIndex&&a()}),i("snapIndexChange",()=>{a()}),i("snapGridLengthChange",()=>{o(),a()}),i("destroy",()=>{f()}),i("enable disable",()=>{var e=c.pagination["el"];e&&(e=r(e)).forEach(e=>e.classList[c.enabled?"remove":"add"](c.params.pagination.lockClass))}),i("lock unlock",()=>{a()}),i("click",(e,t)=>{var t=t.target,i=r(c.pagination.el);if(c.params.pagination.el&&c.params.pagination.hideOnClick&&i&&0<i.length&&!t.classList.contains(c.params.pagination.bulletClass)&&(!c.navigation||!(c.navigation.nextEl&&t===c.navigation.nextEl||c.navigation.prevEl&&t===c.navigation.prevEl))){const e=i[0].classList.contains(c.params.pagination.hiddenClass);u(!0===e?"paginationShow":"paginationHide"),i.forEach(e=>e.classList.toggle(c.params.pagination.hiddenClass))}});const m=()=>{c.el.classList.add(c.params.pagination.paginationDisabledClass);var e=c.pagination["el"];e&&(e=r(e)).forEach(e=>e.classList.add(c.params.pagination.paginationDisabledClass)),f()};Object.assign(c.pagination,{enable:()=>{c.el.classList.remove(c.params.pagination.paginationDisabledClass);var e=c.pagination["el"];e&&(e=r(e)).forEach(e=>e.classList.remove(c.params.pagination.paginationDisabledClass)),l(),o(),a()},disable:m,render:o,update:a,init:l,destroy:f})},function(e){let{swiper:l,extendParams:t,on:i,emit:s}=e;const a=M();let o,c,u,n,d=!1,h=null,p=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=(u-c)*o;n?0<(t=-t)?(e=c-t,t=0):-t+c>u&&(e=u+t):t<0?(e=c+t,t=0):t+c>u&&(e=u-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(h),s.style.opacity=1,h=setTimeout(()=>{s.style.opacity=0,s.style.transitionDuration="400ms"},1e3))}}function f(){var e,t,i;l.params.scrollbar.el&&l.scrollbar.el&&(e=l["scrollbar"],{dragEl:t,el:i}=e,t.style.width="",t.style.height="",u=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?u*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)-Y(t)[l.isHorizontal()?"left":"top"]-(null!==o?o:c/2))/(u-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;d=!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(p),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;d&&(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"];d&&(d=!1,l.params.cssMode&&(l.wrapperEl.style["scroll-snap-type"]="",n.style.transitionDuration=""),t.hide&&(clearTimeout(p),p=P(()=>{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;i&&(t=!!n.passiveListeners&&{passive:!1,capture:!1},n=!!n.passiveListeners&&{passive:!0,capture:!1},i=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=O("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 T(){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?x:(_(),f(),r))()}),i("update resize observerUpdate lock unlock",()=>{f()}),i("setTranslate",()=>{r()}),i("setTransition",(e,t)=>{t=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",()=>{T()});const x=()=>{l.el.classList.add(...S(l.params.scrollbar.scrollbarDisabledClass)),l.scrollbar.el&&l.scrollbar.el.classList.add(...S(l.params.scrollbar.scrollbarDisabledClass)),T()};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:x,updateSize:f,setTranslate:r,init:_,destroy:T})},function(e){let{swiper:u,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=u["rtl"],i=i?-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"):u.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 u=o-(o-1)*(1-Math.abs(t));e.style.opacity=u}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}=u,i=j(e,s);u.isElement&&i.push(...j(u.hostEl,s)),i.forEach(e=>{a(e,n)}),t.forEach((e,t)=>{let i=e.progress;1<u.params.slidesPerGroup&&"auto"!==u.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",()=>{u.params.parallax.enabled&&(u.params.watchSlidesProgress=!0,u.originalParams.watchSlidesProgress=!0)}),i("init",()=>{u.params.parallax.enabled&&n()}),i("setTranslate",()=>{u.params.parallax.enabled&&n()}),i("setTransition",(e,t)=>{var i,n;u.params.parallax.enabled&&({el:t,hostEl:n}=(void 0===(i=t)&&(i=u.params.speed),u),t=[...t.querySelectorAll(s)],u.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:T,extendParams:t,on:i,emit:n}=e;const x=C();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),T.zoom={enabled:!1};let r,s,S=1,a=!1;const o=[],P={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},k={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 u(){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 d(t){var e=T.isElement?"swiper-slide":"."+T.params.slideClass;return t.target.matches(e)||0<T.slides.filter(e=>e.contains(t.target)).length}function h(t){if("mouse"===t.pointerType&&o.splice(0,o.length),d(t)){var i=T.params.zoom;if(r=!1,s=!1,o.push(t),!(o.length<2)){if(r=!0,P.scaleStart=u(),!P.slideEl){P.slideEl=t.target.closest(`.${T.params.slideClass}, swiper-slide`),P.slideEl||(P.slideEl=T.slides[T.activeIndex]);let e=P.slideEl.querySelector("."+i.containerClass);if(e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],P.imageEl=e,P.imageWrapEl=e?D(P.imageEl,"."+i.containerClass)[0]:void 0,!P.imageWrapEl)return void(P.imageEl=void 0);P.maxRatio=P.imageWrapEl.getAttribute("data-swiper-zoom")||i.maxRatio}if(P.imageEl){const[t,T]=o.length<2?{x:null,y:null}:(i=P.imageEl.getBoundingClientRect(),[(o[0].pageX+(o[1].pageX-o[0].pageX)/2-i.x-x.scrollX)/S,(o[0].pageY+(o[1].pageY-o[0].pageY)/2-i.y-x.scrollY)/S]);P.originX=t,P.originY=T,P.imageEl.style.transitionDuration="0ms"}a=!0}}}function p(t){var e,i,n;d(t)&&(e=T.params.zoom,i=T.zoom,0<=(n=o.findIndex(e=>e.pointerId===t.pointerId))&&(o[n]=t),o.length<2||(s=!0,P.scaleMove=u(),P.imageEl&&(i.scale=P.scaleMove/P.scaleStart*S,i.scale>P.maxRatio&&(i.scale=P.maxRatio-1+(i.scale-P.maxRatio+1)**.5),i.scale<e.minRatio&&(i.scale=e.minRatio+1-(e.minRatio-i.scale+1)**.5),P.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`)))}function f(t){var e,i,n;!d(t)||"mouse"===t.pointerType&&"pointerout"===t.type||(e=T.params.zoom,i=T.zoom,0<=(n=o.findIndex(e=>e.pointerId===t.pointerId))&&o.splice(n,1),r&&s&&(r=!1,s=!1,P.imageEl)&&(i.scale=Math.max(Math.min(i.scale,P.maxRatio),e.minRatio),P.imageEl.style.transitionDuration=T.params.speed+"ms",P.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`,S=i.scale,a=!1,1<i.scale&&P.slideEl?P.slideEl.classList.add(""+e.zoomedSlideClass):i.scale<=1&&P.slideEl&&P.slideEl.classList.remove(""+e.zoomedSlideClass),1===i.scale)&&(P.originX=0,P.originY=0,P.slideEl=void 0))}function m(e){if(d(e)&&(t=e,i="."+T.params.zoom.containerClass,t.target.matches(i)||0<[...T.hostEl.querySelectorAll(i)].filter(e=>e.contains(t.target)).length)){var t,i=T.zoom;if(P.imageEl&&k.isTouched&&P.slideEl){k.isMoved||(k.width=P.imageEl.offsetWidth,k.height=P.imageEl.offsetHeight,k.startX=A(P.imageWrapEl,"x")||0,k.startY=A(P.imageWrapEl,"y")||0,P.slideWidth=P.slideEl.offsetWidth,P.slideHeight=P.slideEl.offsetHeight,P.imageWrapEl.style.transitionDuration="0ms");var n=k.width*i.scale,r=k.height*i.scale;if(!(n<P.slideWidth&&r<P.slideHeight)){if(k.minX=Math.min(P.slideWidth/2-n/2,0),k.maxX=-k.minX,k.minY=Math.min(P.slideHeight/2-r/2,0),k.maxY=-k.minY,k.touchesCurrent.x=(0<o.length?o[0]:e).pageX,k.touchesCurrent.y=(0<o.length?o[0]:e).pageY,5<Math.max(Math.abs(k.touchesCurrent.x-k.touchesStart.x),Math.abs(k.touchesCurrent.y-k.touchesStart.y))&&(T.allowClick=!1),!k.isMoved&&!a){if(T.isHorizontal()&&(Math.floor(k.minX)===Math.floor(k.startX)&&k.touchesCurrent.x<k.touchesStart.x||Math.floor(k.maxX)===Math.floor(k.startX)&&k.touchesCurrent.x>k.touchesStart.x))return void(k.isTouched=!1);if(!T.isHorizontal()&&(Math.floor(k.minY)===Math.floor(k.startY)&&k.touchesCurrent.y<k.touchesStart.y||Math.floor(k.maxY)===Math.floor(k.startY)&&k.touchesCurrent.y>k.touchesStart.y))return void(k.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),k.isMoved=!0;var n=(i.scale-S)/(P.maxRatio-T.params.zoom.minRatio),{originX:r,originY:e}=P;k.currentX=k.touchesCurrent.x-k.touchesStart.x+k.startX+n*(k.width-2*r),k.currentY=k.touchesCurrent.y-k.touchesStart.y+k.startY+n*(k.height-2*e),k.currentX<k.minX&&(k.currentX=k.minX+1-(k.minX-k.currentX+1)**.8),k.currentX>k.maxX&&(k.currentX=k.maxX-1+(k.currentX-k.maxX+1)**.8),k.currentY<k.minY&&(k.currentY=k.minY+1-(k.minY-k.currentY+1)**.8),k.currentY>k.maxY&&(k.currentY=k.maxY-1+(k.currentY-k.maxY+1)**.8),l.prevPositionX||(l.prevPositionX=k.touchesCurrent.x),l.prevPositionY||(l.prevPositionY=k.touchesCurrent.y),l.prevTime||(l.prevTime=Date.now()),l.x=(k.touchesCurrent.x-l.prevPositionX)/(Date.now()-l.prevTime)/2,l.y=(k.touchesCurrent.y-l.prevPositionY)/(Date.now()-l.prevTime)/2,Math.abs(k.touchesCurrent.x-l.prevPositionX)<2&&(l.x=0),Math.abs(k.touchesCurrent.y-l.prevPositionY)<2&&(l.y=0),l.prevPositionX=k.touchesCurrent.x,l.prevPositionY=k.touchesCurrent.y,l.prevTime=Date.now(),P.imageWrapEl.style.transform=`translate3d(${k.currentX}px, ${k.currentY}px,0)`}}}}function g(){var e=T.zoom;P.slideEl&&T.activeIndex!==T.slides.indexOf(P.slideEl)&&(P.imageEl&&(P.imageEl.style.transform="translate3d(0,0,0) scale(1)"),P.imageWrapEl&&(P.imageWrapEl.style.transform="translate3d(0,0,0)"),P.slideEl.classList.remove(""+T.params.zoom.zoomedSlideClass),e.scale=1,S=1,P.slideEl=void 0,P.imageEl=void 0,P.imageWrapEl=void 0,P.originX=0,P.originY=0)}function y(v){var b=T.zoom,w=T.params.zoom;if(!P.slideEl){v&&v.target&&(P.slideEl=v.target.closest(`.${T.params.slideClass}, swiper-slide`)),P.slideEl||(T.params.virtual&&T.params.virtual.enabled&&T.virtual?P.slideEl=j(T.slidesEl,"."+T.params.slideActiveClass)[0]:P.slideEl=T.slides[T.activeIndex]);let e=P.slideEl.querySelector("."+w.containerClass);e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],P.imageEl=e,P.imageWrapEl=e?D(P.imageEl,"."+w.containerClass)[0]:void 0}if(P.imageEl&&P.imageWrapEl){let e,t,i,n,r,s,a,o,l,c,u,d,h,p,f,m,g,y;T.params.cssMode&&(T.wrapperEl.style.overflow="hidden",T.wrapperEl.style.touchAction="none"),P.slideEl.classList.add(""+w.zoomedSlideClass),t=void 0===k.touchesStart.x&&v?(e=v.pageX,v.pageY):(e=k.touchesStart.x,k.touchesStart.y);var _="number"==typeof v?v:null;1===S&&_&&(e=void 0,t=void 0),b.scale=_||P.imageWrapEl.getAttribute("data-swiper-zoom")||w.maxRatio,S=_||P.imageWrapEl.getAttribute("data-swiper-zoom")||w.maxRatio,!v||1===S&&_?(a=0,o=0):(g=P.slideEl.offsetWidth,y=P.slideEl.offsetHeight,i=Y(P.slideEl).left+x.scrollX,n=Y(P.slideEl).top+x.scrollY,r=i+g/2-e,s=n+y/2-t,l=P.imageEl.offsetWidth,c=P.imageEl.offsetHeight,u=l*b.scale,d=c*b.scale,f=-(h=Math.min(g/2-u/2,0)),m=-(p=Math.min(y/2-d/2,0)),a=r*b.scale,o=s*b.scale,(a=a<h?h:a)>f&&(a=f),(o=o<p?p:o)>m&&(o=m)),_&&1===b.scale&&(P.originX=0,P.originY=0),P.imageWrapEl.style.transitionDuration="300ms",P.imageWrapEl.style.transform=`translate3d(${a}px, ${o}px,0)`,P.imageEl.style.transitionDuration="300ms",P.imageEl.style.transform=`translate3d(0,0,0) scale(${b.scale})`}}function v(){var e=T.zoom,t=T.params.zoom;if(!P.slideEl){T.params.virtual&&T.params.virtual.enabled&&T.virtual?P.slideEl=j(T.slidesEl,"."+T.params.slideActiveClass)[0]:P.slideEl=T.slides[T.activeIndex];let e=P.slideEl.querySelector("."+t.containerClass);e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],P.imageEl=e,P.imageWrapEl=e?D(P.imageEl,"."+t.containerClass)[0]:void 0}P.imageEl&&P.imageWrapEl&&(T.params.cssMode&&(T.wrapperEl.style.overflow="",T.wrapperEl.style.touchAction=""),e.scale=1,S=1,P.imageWrapEl.style.transitionDuration="300ms",P.imageWrapEl.style.transform="translate3d(0,0,0)",P.imageEl.style.transitionDuration="300ms",P.imageEl.style.transform="translate3d(0,0,0) scale(1)",P.slideEl.classList.remove(""+t.zoomedSlideClass),P.slideEl=void 0,P.originX=0,P.originY=0)}function b(e){var t=T.zoom;t.scale&&1!==t.scale?v():y(e)}function w(){return{passiveListener:!!T.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!T.params.passiveListeners||{passive:!1,capture:!0}}}function _(){var e=T.zoom;if(!e.enabled){e.enabled=!0;const{passiveListener:t,activeListenerWithCapture:i}=w();T.wrapperEl.addEventListener("pointerdown",h,t),T.wrapperEl.addEventListener("pointermove",p,i),["pointerup","pointercancel","pointerout"].forEach(e=>{T.wrapperEl.addEventListener(e,f,t)}),T.wrapperEl.addEventListener("pointermove",m,i)}}function E(){var e=T.zoom;if(e.enabled){e.enabled=!1;const{passiveListener:t,activeListenerWithCapture:i}=w();T.wrapperEl.removeEventListener("pointerdown",h,t),T.wrapperEl.removeEventListener("pointermove",p,i),["pointerup","pointercancel","pointerout"].forEach(e=>{T.wrapperEl.removeEventListener(e,f,t)}),T.wrapperEl.removeEventListener("pointermove",m,i)}}Object.defineProperty(T.zoom,"scale",{get:()=>c,set(e){var t,i;c!==e&&(t=P.imageEl,i=P.slideEl,n("zoomChange",e,t,i)),c=e}}),i("init",()=>{T.params.zoom.enabled&&_()}),i("destroy",()=>{E()}),i("touchStart",(e,t)=>{var i;T.zoom.enabled&&(t=t,i=T.device,P.imageEl)&&!k.isTouched&&(i.android&&t.cancelable&&t.preventDefault(),k.isTouched=!0,i=0<o.length?o[0]:t,k.touchesStart.x=i.pageX,k.touchesStart.y=i.pageY)}),i("touchEnd",(e,t)=>{if(T.zoom.enabled){var i=T.zoom;if(P.imageEl){if(!k.isTouched||!k.isMoved)return void(k.isTouched=!1,k.isMoved=!1);k.isTouched=!1,k.isMoved=!1;let e=300,t=300;var n=l.x*e,n=k.currentX+n,r=l.y*t,r=k.currentY+r,s=(0!==l.x&&(e=Math.abs((n-k.currentX)/l.x)),0!==l.y&&(t=Math.abs((r-k.currentY)/l.y)),Math.max(e,t)),n=(k.currentX=n,k.currentY=r,k.width*i.scale),r=k.height*i.scale;k.minX=Math.min(P.slideWidth/2-n/2,0),k.maxX=-k.minX,k.minY=Math.min(P.slideHeight/2-r/2,0),k.maxY=-k.minY,k.currentX=Math.max(Math.min(k.currentX,k.maxX),k.minX),k.currentY=Math.max(Math.min(k.currentY,k.maxY),k.minY),P.imageWrapEl.style.transitionDuration=s+"ms",P.imageWrapEl.style.transform=`translate3d(${k.currentX}px, ${k.currentY}px,0)`}}}),i("doubleTap",(e,t)=>{!T.animating&&T.params.zoom.enabled&&T.zoom.enabled&&T.params.zoom.toggle&&b(t)}),i("transitionEnd",()=>{T.zoom.enabled&&T.params.zoom.enabled&&g()}),i("slideChange",()=>{T.zoom.enabled&&T.params.zoom.enabled&&T.params.cssMode&&g()}),Object.assign(T.zoom,{enable:_,disable:E,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&&P(()=>{e.updateAutoHeight()}),g(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 u(e,t){(e=c(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function d(e,t){(e=c(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function h(e){(e=c(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function p(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)),d(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&&u(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;d(e,i.slideLabelMessage.replace(/\{\{index\}\}/,t+1).replace(/\{\{slidesLength\}\}/,n))})};i("beforeInit",()=>{(l=O("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&&u(e,r.containerRoleDescriptionMessage),r.containerMessage&&d(e,r.containerMessage);const s=o.wrapperEl,a=r.id||s.getAttribute("id")||"swiper-wrapper-"+"x".repeat(e=void 0===(e=16)?16:e).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?(h(t),s):(p(t),r))(t),e)&&(o.isEnd?(h(e),s):(p(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"),d(e,t.paginationBulletMessage.replace(/\{\{index\}\}/,T(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=C(),e=(e?new URL(e):t.location).pathname.slice(1).split("/").filter(e=>""!==e),t=e.length;return{key:e[t-2],value:e[t-1]}},l=(i,e)=>{var n=C();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&&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)},u=()=>{n=r(a.params.url),c(a.params.speed,n.value,!1)};i("init",()=>{var e;a.params.history.enabled&&(e=C(),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",u)):(a.params.history.enabled=!1,a.params.hashNavigation.enabled=!0))}),i("destroy",()=>{var e;a.params.history.enabled&&(e=C(),a.params.history.replaceState||e.removeEventListener("popstate",u))}),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=M(),o=C(),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(j(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,u,d,h,p,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||P())}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}},T=()=>{v=(new Date).getTime(),o.autoplay.running=!0,_(),l("autoplayStart")},x=()=>{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):P()},o.autoplay.paused=!0,t?(p&&(c=o.params.autoplay.delay),p=!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())))},P=()=>{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"))},k=()=>{var e;!o.destroyed&&o.autoplay.running&&("hidden"===(e=M()).visibilityState&&(f=!0,S(!0)),"visible"===e.visibilityState)&&P()},E=e=>{"mouse"===e.pointerType&&(f=!0,m=!0,o.animating||o.autoplay.paused||S(!0))},C=e=>{"mouse"===e.pointerType&&(m=!1,o.autoplay.paused)&&P()};i("init",()=>{o.params.autoplay.enabled&&(o.params.autoplay.pauseOnMouseEnter&&(o.el.addEventListener("pointerenter",E),o.el.addEventListener("pointerleave",C)),M().addEventListener("visibilitychange",k),T())}),i("destroy",()=>{o.el.removeEventListener("pointerenter",E),o.el.removeEventListener("pointerleave",C),M().removeEventListener("visibilitychange",k),o.autoplay.running&&x()}),i("_freeModeStaticRelease",()=>{(d||f)&&P()}),i("_freeModeNoMomentumRelease",()=>{o.params.autoplay.disableOnInteraction?x():S(!0,!0)}),i("beforeTransitionStart",(e,t,i)=>{!o.destroyed&&o.autoplay.running&&(i||!o.params.autoplay.disableOnInteraction?S(!0,!0):x())}),i("sliderFirstMove",()=>{!o.destroyed&&o.autoplay.running&&(o.params.autoplay.disableOnInteraction?x():(u=!0,d=!1,f=!1,h=setTimeout(()=>{f=!0,d=!0,S(!0)},200)))}),i("touchEnd",()=>{!o.destroyed&&o.autoplay.running&&u&&(clearTimeout(h),clearTimeout(s),u=(d=(o.params.autoplay.disableOnInteraction||d&&o.params.cssMode&&P(),!1),!1))}),i("slideChange",()=>{!o.destroyed&&o.autoplay.running&&(p=!0)}),Object.assign(o.autoplay,{start:T,stop:x,pause:S,resume:P})},function(e){let{swiper:l,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=l.thumbs.swiper;!i||i.destroyed||(e=i.clickedIndex,(t=i.clickedSlide)&&t.classList.contains(l.params.thumbs.slideThumbActiveClass))||null!=e&&(t=i.params.loop?parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10):e,l.params.loop?l.slideToLoop(t):l.slideTo(t))}function a(){var e=l.params["thumbs"];if(n)return!1;n=!0;var t=l.constructor;return e.swiper instanceof t?(l.thumbs.swiper=e.swiper,Object.assign(l.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(l.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),l.thumbs.swiper.update()):c(e.swiper)&&(e=Object.assign({},e.swiper),Object.assign(e,{watchSlidesProgress:!0,slideToClickedSlide:!1}),l.thumbs.swiper=new t(e),r=!0),l.thumbs.swiper.el.classList.add(l.params.thumbs.thumbsContainerClass),l.thumbs.swiper.on("tap",s),!0}function o(n){var r=l.thumbs.swiper;if(r&&!r.destroyed){var s="auto"===r.params.slidesPerView?r.slidesPerViewDynamic():r.params.slidesPerView;let t=1;const i=l.params.thumbs.slideThumbActiveClass;if(1<l.params.slidesPerView&&!l.params.centeredSlides&&(t=l.params.slidesPerView),l.params.thumbs.multipleActiveThumbs||(t=1),t=Math.floor(t),r.slides.forEach(e=>e.classList.remove(i)),r.params.loop||r.params.virtual&&r.params.virtual.enabled)for(let e=0;e<t;e+=1)j(r.slidesEl,`[data-swiper-slide-index="${l.realIndex+e}"]`).forEach(e=>{e.classList.add(i)});else for(let e=0;e<t;e+=1)r.slides[l.realIndex+e]&&r.slides[l.realIndex+e].classList.add(i);var a=l.params.thumbs.autoScrollOffset,o=a&&!r.params.loop;if(l.realIndex!==r.realIndex||o){const e=r.activeIndex;let t,i;if(r.params.loop){const n=r.slides.filter(e=>e.getAttribute("data-swiper-slide-index")===""+l.realIndex)[0];t=r.slides.indexOf(n),i=l.activeIndex>l.previousIndex?"next":"prev"}else t=l.realIndex,i=t>l.previousIndex?"next":"prev";o&&(t+="next"===i?a:-1*a),r.visibleSlidesIndexes&&r.visibleSlidesIndexes.indexOf(t)<0&&(r.params.centeredSlides?t=t>e?t-Math.floor(s/2)+1:t+Math.floor(s/2)-1:t>e&&r.params.slidesPerGroup,r.slideTo(t,n?0:void 0))}}}l.thumbs={swiper:null},i("beforeInit",()=>{const i=l.params["thumbs"];if(i&&i.swiper)if("string"==typeof i.swiper||i.swiper instanceof HTMLElement){const n=M(),e=()=>{l.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(),l.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=l.thumbs.swiper;i&&!i.destroyed&&i.setTransition(t)}),i("beforeDestroy",()=>{var e=l.thumbs.swiper;e&&!e.destroyed&&r&&e.destroy()}),Object.assign(l.thumbs,{init:a,update:o})},function(e){let{swiper:h,extendParams:t,emit:p,once:f}=e;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(h,{freeMode:{onTouchStart:function(){var e;h.params.cssMode||(e=h.getTranslate(),h.setTranslate(e),h.setTransition(0),h.touchEventsData.velocities.length=0,h.freeMode.onTouchEnd({currentPos:h.rtl?h.translate:-h.translate}))},onTouchMove:function(){var e,t;h.params.cssMode||({touchEventsData:e,touches:t}=h,0===e.velocities.length&&e.velocities.push({position:t[h.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:t[h.isHorizontal()?"currentX":"currentY"],time:y()}))},onTouchEnd:function(s){let a=s["currentPos"];if(!h.params.cssMode){const{params:o,wrapperEl:l,rtlTranslate:c,snapGrid:u,touchEventsData:d}=h,e=y()-d.touchStartTime;if(a<-h.minTranslate())h.slideTo(h.activeIndex);else if(a>-h.maxTranslate())h.slides.length<u.length?h.slideTo(u.length-1):h.slideTo(h.slides.length-1);else{if(o.freeMode.momentum){if(1<d.velocities.length){const s=d.velocities.pop(),a=d.velocities.pop(),p=s.position-a.position,f=s.time-a.time;h.velocity=p/f,h.velocity/=2,Math.abs(h.velocity)<o.freeMode.minimumVelocity&&(h.velocity=0),(150<f||300<y()-s.time)&&(h.velocity=0)}else h.velocity=0;h.velocity*=o.freeMode.momentumVelocityRatio,d.velocities.length=0;let e=1e3*o.freeMode.momentumRatio;const a=h.velocity*e;let i=h.translate+a;c&&(i=-i);let t,n=!1;s=20*Math.abs(h.velocity)*o.freeMode.momentumBounceRatio;let r;if(i<h.maxTranslate())o.freeMode.momentumBounce?(i+h.maxTranslate()<-s&&(i=h.maxTranslate()-s),t=h.maxTranslate(),n=!0,d.allowMomentumBounce=!0):i=h.maxTranslate(),o.loop&&o.centeredSlides&&(r=!0);else if(i>h.minTranslate())o.freeMode.momentumBounce?(i-h.minTranslate()>s&&(i=h.minTranslate()+s),t=h.minTranslate(),n=!0,d.allowMomentumBounce=!0):i=h.minTranslate(),o.loop&&o.centeredSlides&&(r=!0);else if(o.freeMode.sticky){let t;for(let e=0;e<u.length;e+=1)if(u[e]>-i){t=e;break}i=-(i=Math.abs(u[t]-i)<Math.abs(u[t-1]-i)||"next"===h.swipeDirection?u[t]:u[t-1])}if(r&&f("transitionEnd",()=>{h.loopFix()}),0!==h.velocity){if(e=c?Math.abs((-i-h.translate)/h.velocity):Math.abs((i-h.translate)/h.velocity),o.freeMode.sticky){const a=Math.abs((c?-i:i)-h.translate),p=h.slidesSizesGrid[h.activeIndex];e=a<p?o.speed:a<2*p?1.5*o.speed:2.5*o.speed}}else if(o.freeMode.sticky)return void h.slideToClosest();o.freeMode.momentumBounce&&n?(h.updateProgress(t),h.setTransition(e),h.setTranslate(i),h.transitionStart(!0,h.swipeDirection),h.animating=!0,g(l,()=>{h&&!h.destroyed&&d.allowMomentumBounce&&(p("momentumBounce"),h.setTransition(o.speed),setTimeout(()=>{h.setTranslate(t),g(l,()=>{h&&!h.destroyed&&h.transitionEnd()})},0))})):h.velocity?(p("_freeModeNoMomentumRelease"),h.updateProgress(i),h.setTransition(e),h.setTranslate(i),h.transitionStart(!0,h.swipeDirection),h.animating||(h.animating=!0,g(l,()=>{h&&!h.destroyed&&h.transitionEnd()}))):h.updateProgress(i),h.updateActiveIndex(),h.updateSlidesClasses()}else{if(o.freeMode.sticky)return void h.slideToClosest();o.freeMode&&p("_freeModeNoMomentumRelease")}(!o.freeMode.momentum||e>=o.longSwipesMs)&&(p("_freeModeStaticRelease"),h.updateProgress(),h.updateActiveIndex(),h.updateSlidesClasses())}}}}})},function(e){let u,d,h,n,{swiper:p,extendParams:t,on:i}=e;t({grid:{rows:1,fill:"column"}});const f=()=>{let e=p.params.spaceBetween;return"string"==typeof e&&0<=e.indexOf("%")?e=parseFloat(e.replace("%",""))/100*p.size:"string"==typeof e&&(e=parseFloat(e)),e};i("init",()=>{n=p.params.grid&&1<p.params.grid.rows}),i("update",()=>{var{params:e,el:t}=p,i=e.grid&&1<e.grid.rows;n&&!i?(t.classList.remove(e.containerModifierClass+"grid",e.containerModifierClass+"grid-column"),h=1,p.emitContainerClasses()):!n&&i&&(t.classList.add(e.containerModifierClass+"grid"),"column"===e.grid.fill&&t.classList.add(e.containerModifierClass+"grid-column"),p.emitContainerClasses()),n=i}),p.grid={initSlides:e=>{var t=p.params["slidesPerView"],{rows:i,fill:n}=p.params.grid,e=(p.virtual&&p.params.virtual.enabled?p.virtual.slides:e).length;h=Math.floor(e/i),u=Math.floor(e/i)===e/i?e:Math.ceil(e/i)*i,"auto"!==t&&"row"===n&&(u=Math.max(u,t*i)),d=u/i},unsetSlides:()=>{p.slides&&p.slides.forEach(e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[p.getDirectionLabel("margin-top")]="")})},updateSlide:(e,t,i)=>{var n=p.params["slidesPerGroup"],r=f(),{rows:s,fill:a}=p.params.grid,i=(p.virtual&&p.params.virtual.enabled?p.virtual.slides:i).length;let o,l,c;if("row"===a&&1<n){const d=Math.floor(e/(n*s)),h=e-s*n*d,p=0===d?n:Math.min(Math.ceil((i-d*s*n)/s),n);c=Math.floor(h/p),o=(l=h-c*p+d*n)+c*u/s,t.style.order=o}else"column"===a?(l=Math.floor(e/s),c=e-l*s,(l>h||l===h&&c===s-1)&&(c+=1)>=s&&(c=0,l+=1)):(c=Math.floor(e/d),l=e-c*d);t.row=c,t.column=l,t.style.height=`calc((100% - ${(s-1)*r}px) / ${s})`,t.style[p.getDirectionLabel("margin-top")]=0!==c?r&&r+"px":"",t.swiperSlideGridSet=!0},updateWrapperSize:(i,n)=>{var{centeredSlides:e,roundLengths:r}=p.params,t=f(),s=p.params.grid["rows"];if(p.virtualSize=(i+t)*u,p.virtualSize=Math.ceil(p.virtualSize/s)-t,p.params.cssMode||(p.wrapperEl.style[p.getDirectionLabel("width")]=p.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]<p.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}}),p({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=_(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=O("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"left":"top")).split(" ")),e.append(n)),r||(r=O("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))};p({effect:"cube",swiper:y,on:i,setTranslate:()=>{const{el:e,wrapperEl:o,slides:l,width:t,height:i,rtlTranslate:c,size:u,browser:n}=y,d=y.params.cubeEffect,h=y.isHorizontal(),p=y.virtual&&y.params.virtual.enabled;let f,m=0;d.shadow&&(h?((f=y.wrapperEl.querySelector(".swiper-cube-shadow"))||(f=O("div","swiper-cube-shadow"),y.wrapperEl.append(f)),f.style.height=t+"px"):(f=e.querySelector(".swiper-cube-shadow"))||(f=O("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=p?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*u,s=0):(e-1)%4==0?(n=0,s=4*-i*u):(e-2)%4==0?(n=u+4*i*u,s=u):(e-3)%4==0&&(n=-u,s=3*u+4*u*i),c&&(n=-n),h||(r=n,n=0);var g=`rotateX(${h?0:-t}deg) rotateY(${h?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,d.slideShadows&&v(o,f,h)}if(o.style.transformOrigin=`50% 50% -${u/2}px`,o.style["-webkit-transform-origin"]=`50% 50% -${u/2}px`,d.shadow)if(h)f.style.transform=`translate3d(0px, ${t/2+d.shadowOffset}px, ${-t/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${d.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=d.shadowScale,l=d.shadowScale/y,v=d.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?-u/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:d,extendParams:t,on:i}=e;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const h=(e,t)=>{let i=d.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),n=d.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i=i||x("flip",e,d.isHorizontal()?"left":"top"),n=n||x("flip",e,d.isHorizontal()?"right":"bottom"),i&&(i.style.opacity=Math.max(-t,0)),n&&(n.style.opacity=Math.max(t,0))};p({effect:"flip",swiper:d,on:i,setTranslate:()=>{var{slides:a,rtlTranslate:o}=d,l=d.params.flipEffect;for(let s=0;s<a.length;s+=1){var c=a[s];let e=c.progress;d.params.flipEffect.limitRotation&&(e=Math.max(Math.min(c.progress,1),-1));var u=c.swiperSlideOffset;let t=-180*e,i=0,n=d.params.cssMode?-u-d.translate:-u,r=0;d.isHorizontal()?o&&(t=-t):(r=n,n=0,i=-t,t=0),d.browser&&d.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&&h(c,e);u=`translate3d(${n}px, ${r}px, 0px) rotateX(${i}deg) rotateY(${t}deg)`;_(0,c).style.transform=u}},setTransition:t=>{var e=d.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:d,duration:t,transformElements:e})},recreateShadows:()=>{d.params.flipEffect,d.slides.forEach(e=>{let t=e.progress;d.params.flipEffect.limitRotation&&(t=Math.max(Math.min(e.progress,1),-1)),h(e,t)})},getEffectParams:()=>d.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!d.params.cssMode})})},function(e){let{swiper:w,extendParams:t,on:i}=e;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),p({effect:"coverflow",swiper:w,on:i,setTranslate:()=>{const{width:e,height:l,slides:c,slidesSizesGrid:u}=w,d=w.params.coverflowEffect,h=w.isHorizontal(),p=w.translate,f=h?e/2-p:l/2-p,m=h?d.rotate:-d.rotate,g=d.depth;for(let o=0,e=c.length;o<e;o+=1){const l=c[o],p=u[o],v=(f-l.swiperSlideOffset-p/2)/p,b="function"==typeof d.modifier?d.modifier(v):v*d.modifier;let e=h?m*b:0,t=h?0:m*b,i=-g*Math.abs(b),n=d.stretch,r=("string"==typeof n&&-1!==n.indexOf("%")&&(n=parseFloat(d.stretch)/100*p),h?0:n*b),s=h?n*b:0,a=1-(1-d.scale)*Math.abs(b);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),w.browser&&w.browser.isSafari&&(Math.abs(e)/90%2==1&&(e+=.001),Math.abs(t)/90%2==1)&&(t+=.001);var y=`translate3d(${s}px,${r}px,${i}px) rotateX(${t}deg) rotateY(${e}deg) scale(${a})`;if(_(0,l).style.transform=y,l.style.zIndex=1-Math.abs(Math.round(b)),d.slideShadows){let e=h?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),t=h?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");e=e||x("coverflow",l,h?"left":"top"),t=t||x("coverflow",l,h?"right":"bottom"),e&&(e.style.opacity=0<b?b:0),t&&(t.style.opacity=0<-b?-b:0)}}},setTransition:t=>{w.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}}});p({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],p=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(p))+r.length;var c=g.join(", "),u=`rotateX(${y[0]}deg) rotateY(${y[1]}deg) rotateZ(${y[2]}deg)`,d=e<0?`scale(${1+(1-n.scale)*e*o})`:`scale(${1-(1-n.scale)*e*o})`,h=e<0?1+(1-n.opacity)*e*o:1-(1-n.opacity)*e*o,c=`translate3d(${c}) ${u} `+d;if(t&&n.shadow||!t){let e=s.querySelector(".swiper-slide-shadow");if(e=!e&&n.shadow?x("creative",s):e){const v=a.shadowPerProgress?f*(1/a.limitProgress):f;e.style.opacity=Math.min(Math.max(Math.abs(v),0),1)}}u=_(0,s);u.style.transform=c,u.style.opacity=h,n.origin&&(u.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}}),p({effect:"cards",swiper:w,on:i,setTranslate:()=>{const{slides:o,activeIndex:l,rtlTranslate:c}=w,u=w.params.cardsEffect,{startTranslate:d,isTouched:h}=w.touchEventsData,p=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=-u.perSlideRotate*g,s=u.perSlideOffset-.75*Math.abs(g);var v=w.virtual&&w.params.virtual.enabled?w.virtual.from+a:a,b=(v===l||v===l-1)&&0<g&&g<1&&(h||w.params.cssMode)&&p<d,v=(v===l||v===l+1)&&g<0&&-1<g&&(h||w.params.cssMode)&&d<p;if(b||v){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}b=g<0?""+(1+(1-n)*g):""+(1-(1-n)*g),v=`
translate3d(${t}, ${i}, ${y}px)
rotateZ(${u.rotate?c?-r:r:0}deg)
scale(${b})
`;if(u.slideShadows){let e=f.querySelector(".swiper-slide-shadow");(e=e||x("cards",f))&&(e.style.opacity=Math.min(Math.max((Math.abs(g)-.5)/.5,0),1))}f.style.zIndex=-Math.abs(Math.round(m))+o.length,_(0,f).style.transform=v}},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})})}]),h}()),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=function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e},r=i(1),o=i(3),i=(n(s,[{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))}}]),s);function s(e,t){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");r.initializer.load(this,t,e),this.begin()}function a(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},i=i(2),l=(i=i)&&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});(function(e,t,i){t&&r(e.prototype,t),i&&r(e,i)})(n,[{key:"typeHtmlChars",value:function(e,t,i){if("html"===i.contentType){i=e.substr(t).charAt(0);if("<"===i||"&"===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);if(">"===i||";"===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);i.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");e.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);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");return e.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=jQuery("#controlBar_"+e.id),i=t.find(".mb_YTPProgress"),n=t.find(".mb_YTPLoaded"),t=t.find(".mb_YTPseekbar"),i=i.outerWidth(),r=Math.floor(e.player.getCurrentTime()),s=Math.floor(e.player.getDuration()),i=r*i/s,e=100*e.player.getVideoLoadedFraction();return n.css({left:0,width:e+"%"}),t.css({left:0,width:i}),{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),e=Math.floor(e-60*t);return(t<=9?"0"+t:t)+" : "+(e<=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,u,d){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 d&&d.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,u,d)};else if(t.CSSqueue=null,t.eventType=n.type,0!==i.length&&o){if(o=jQuery.normalizeCss(o),t.CSSAIsRunning=!0,"function"==typeof l&&(d=l,l=jQuery.fx.speeds._default),"function"==typeof c&&(u=c,c=0),"string"==typeof c&&(d=c,c=0),"function"==typeof u&&(d=u,u="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 d&&(u=d,d=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[u]&&(u=s[u]),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"]=u,setTimeout(function(){i.one(jQuery.CSS.transitionEnd+"."+t.id,e),i.css(a)},1),t.timeout=setTimeout(function(){t.called||!d?(t.called=!1,t.CSSAIsRunning=!1):(i.css(jQuery.CSS.sfx+"transition",""),d.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,d)}}})}},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 L;function p(){return L.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 R(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 u(e,t,i,n){return Et(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 B(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 H(e){var t=u(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},W=p.momentProperties=[],$=!1;function V(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<W.length)for(i=0;i<W.length;i++)a(r=t[n=W[i]])||(e[n]=r);return e}function U(e){V(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===$&&($=!0,p.updateOffset(this),$=!1)}function o(e){return e instanceof U||null!=e&&null!=e._isAMomentObject}function G(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,s){var a=!0;return Q(function(){if(null!=p.deprecationHandler&&p.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!=p.deprecationHandler&&p.deprecationHandler(e,t),X[e]||(G(t),X[e]=!0)}function d(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}p.suppressDeprecationWarnings=!1,p.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+=d(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 h(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=h(i))&&(n[t]=e[i]);return n}var ce={};function i(e,t){ce[e]=t}function ue(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){var e=+e,t=0;return t=0!=e&&isFinite(e)?g(e):t}function de(t,i){return function(e){return null!=e?(pe(this,t,e),p.updateOffset(this,i),this):he(this,t)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(i=y(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Oe(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}/,Te=/\d+/,xe=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Pe=/Z|[+-]\d\d(?::?\d\d)?/gi,ke=/[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){Ee[e]=d(i)?i:function(e,t){return e&&n?n:i}}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ee={},Ce={};function T(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++)Ce[e[t]]=n}function Me(e,r){T(e,function(e,t,i,n){i._w=i._w||{},r(e,i._w,i,n)})}var x,S=0,P=1,k=2,E=3,C=4,M=5,Ae=6,je=7,Ie=8;function Oe(e,t){return isNaN(e)||isNaN(t)?NaN:(e+=(t-(t=(t%12+12)%12))/12,1==t?ue(e)?29:28:31-t%7%2)}x=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)}),T(["M","MM"],function(e,t){t[P]=y(e)-1}),T(["MMM","MMMM"],function(e,t,i,n){n=i._locale.monthsParse(e,n,i._strict);null!=n?t[P]=n:m(i).invalidMonth=e});var Ye="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("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ze=ke,Ne=ke;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(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i)}}function Re(e){return null!=e?(Fe(this,e),p.updateOffset(this,!0),this):he(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=u([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 Be(e){return ue(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",xe),w("YY",b,v),w("YYYY",we,me),w("YYYYY",_e,ge),w("YYYYYY",_e,ge),T(["YYYYY","YYYYYY"],S),T("YYYY",function(e,t){t[S]=2===e.length?p.parseTwoDigitYear(e):y(e)}),T("YY",function(e,t){t[S]=p.parseTwoDigitYear(e)}),T("Y",function(e,t){t[S]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return y(e)+(68<y(e)?1900:2e3)};var He=de("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 We(e,t,i){i=7+t-i;return i-(7+qe(e,0,i).getUTCDay()-t)%7-1}function $e(e,t,i,n,r){var s,t=1+7*(t-1)+(7+i-n)%7+We(e,n,r),i=t<=0?Be(s=e-1)+t:t>Be(e)?(s=e+1,t-Be(e)):(s=e,t);return{year:s,dayOfYear:i}}function Ve(e,t,i){var n,r,s=We(e.year(),t,i),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?n=s+A(r=e.year()-1,t,i):s>A(e.year(),t,i)?(n=s-A(e.year(),t,i),r=e.year()+1):(r=e.year(),n=s),{week:n,year:r}}function A(e,t,i){var n=We(e,t,i),t=We(e+1,t,i);return(Be(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),Me(["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)}),Me(["dd","ddd","dddd"],function(e,t,i,n){n=i._locale.weekdaysParse(e,n,i._strict);null!=n?t.d=n:m(i).invalidWeekday=e}),Me(["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=ke,Ke=ke,et=ke;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=u([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),T(["H","HH"],E),T(["k","kk"],function(e,t,i){e=y(e);t[E]=24===e?0:e}),T(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),T(["h","hh"],function(e,t,i){t[E]=y(e),m(i).bigHour=!0}),T("hmm",function(e,t,i){var n=e.length-2;t[E]=y(e.substr(0,n)),t[C]=y(e.substr(n)),m(i).bigHour=!0}),T("hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[E]=y(e.substr(0,n)),t[C]=y(e.substr(n,2)),t[M]=y(e.substr(r)),m(i).bigHour=!0}),T("Hmm",function(e,t,i){var n=e.length-2;t[E]=y(e.substr(0,n)),t[C]=y(e.substr(n))}),T("Hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[E]=y(e.substr(0,n)),t[C]=y(e.substr(n,2)),t[M]=y(e.substr(r))});var st,ke=de("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:Ye,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Ze,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},j={},ot={};function lt(e){return e&&e.toLowerCase().replace("_","-")}function ct(e){var t;if(void 0===j[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=st._abbr,require("./locale/"+e),ut(t)}catch(t){j[e]=null}return j[e]}function ut(e,t){return e&&((t=a(t)?I(e):dt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function dt(e,t){if(null===t)return delete j[e],null;var i,n=at;if(t.abbr=e,null!=j[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=j[e]._config;else if(null!=t.parentLocale)if(null!=j[t.parentLocale])n=j[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 j[e]=new K(J(n,t)),ot[e]&&ot[e].forEach(function(e){dt(e.name,e.config)}),ut(e),j[e]}function I(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 ht(e){var t=e._a;return t&&-2===m(e).overflow&&(t=t[P]<0||11<t[P]?P:t[k]<1||t[k]>Oe(t[S],t[P])?k:t[E]<0||24<t[E]||24===t[E]&&(0!==t[C]||0!==t[M]||0!==t[Ae])?E:t[C]<0||59<t[C]?C:t[M]<0||59<t[M]?M:t[Ae]<0||999<t[Ae]?Ae:-1,m(e)._overflowDayOfYear&&(t<S||k<t)&&(t=k),m(e)._overflowWeeks&&-1===t&&(t=je),m(e)._overflowWeekday&&-1===t&&(t=Ie),m(e).overflow=t),e}var pt=/^\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=pt.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||""),Pt(e)}else e._isValid=!1}function Tt(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 xt(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 u=e,d=new Date(p.now()),h=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()];for(e._w&&null==e._a[k]&&null==e._a[P]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(s=1,a=4,i=xt(d.GG,u._a[S],Ve(O(),1,4).year),n=xt(d.W,1),((r=xt(d.E,1))<1||7<r)&&(o=!0)):(s=u._locale._week.dow,a=u._locale._week.doy,l=Ve(O(),s,a),i=xt(d.gg,u._a[S],l.year),n=xt(d.w,l.week),null!=d.d?((r=d.d)<0||6<r)&&(o=!0):null!=d.e?(r=d.e+s,(d.e<0||6<d.e)&&(o=!0)):r=s),n<1||n>A(i,s,a)?m(u)._overflowWeeks=!0:null!=o?m(u)._overflowWeekday=!0:(l=$e(i,n,r,s,a),u._a[S]=l.year,u._dayOfYear=l.dayOfYear)),null!=e._dayOfYear&&(d=xt(e._a[S],h[S]),(e._dayOfYear>Be(d)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),o=qe(d,0,e._dayOfYear),e._a[P]=o.getUTCMonth(),e._a[k]=o.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=h[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[E]&&0===e._a[C]&&0===e._a[M]&&0===e._a[Ae]&&(e._nextDay=!0,e._a[E]=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[E]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(m(e).weekdayMismatch=!0)}}function Pt(e){if(e._f!==p.ISO_8601)if(e._f!==p.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],(h=(r.match((h=e,f(Ee,d=t)?Ee[d](h._strict,h._locale):new RegExp(_(d.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,r){return t||i||n||r})))))||[])[0])&&(0<(d=r.substr(0,r.indexOf(h))).length&&m(e).unusedInput.push(d),r=r.slice(r.indexOf(h)+h.length),a+=h.length),re[t]?(h?m(e).empty=!1:m(e).unusedTokens.push(t),d=t,n=e,null!=(i=h)&&f(Ce,d)&&Ce[d](i,n._a,n,d)):e._strict&&!h&&m(e).unusedTokens.push(t);m(e).charsLeftOver=s-a,0<r.length&&m(e).unusedInput.push(r),e._a[E]<=12&&!0===m(e).bigHour&&0<e._a[E]&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[E]=(s=e._locale,c=e._a[E],null==(u=e._meridiem)?c:null!=s.meridiemHour?s.meridiemHour(c,u):(null!=s.isPM&&((s=s.isPM(u))&&c<12&&(c+=12),s||12!==c||(c=0)),c)),null!==(u=m(e).era)&&(e._a[S]=e._locale.erasConvertYear(u,e._a[S])),St(e),ht(e)}else Tt(e);else _t(e);var c,u,d,h}function kt(e){var t,i,n,r=e._i,s=e._f;return e._locale=e._locale||I(e._l),null===r||void 0===s&&""===r?H({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),o(r)?new U(ht(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=V({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Pt(t),B(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?Pt(e):a(s=(r=e)._i)?r._d=new Date(p.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,Tt(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:p.createFromInputFallback(i))):i._d=new Date(+n[1])):l(s)?(r._a=R(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=R([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):p.createFromInputFallback(r),B(e)||(e._d=null),e))}function Et(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(ht(kt(s))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function O(e,t,i,n){return Et(e,t,i,n,!1)}p.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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};ye=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=O.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:H()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=O.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:H()});function Ct(e,t){var i,n;if(!(t=1===t.length&&l(t[0])?t[0]:t).length)return O();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}var Mt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function At(e){var e=le(e),t=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===x.call(Mt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<Mt.length;++i)if(e[Mt[i]]){if(n)return!1;parseFloat(e[Mt[i]])!==y(e[Mt[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=I(),this._bubble()}function jt(e){return e instanceof At}function It(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ot(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)})}Ot("Z",":"),Ot("ZZ",""),w("Z",Pe),w("ZZ",Pe),T(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Dt(Pe,e)});var Yt=/([\+\-]|\d\d)/gi;function Dt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Yt)||["-",0,0])[1]+y(e[2]))?0:"+"===e[0]?t:-t}function Lt(e,t){var i;return t._isUTC?(t=t.clone(),i=(o(e)||F(e)?e:O(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),p.updateOffset(t,!1),t):O(e).local()}function zt(e){return-Math.round(e._d.getTimezoneOffset())}function Nt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Ft=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Rt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Y(e,t){var i,n,r=e;return jt(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[k])*i,h:y(t[E])*i,m:y(t[C])*i,s:y(t[M])*i,ms:y(It(1e3*t[Ae]))*i}):(t=Rt.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=O(r.from),i=O(r.to),t=t.isValid()&&i.isValid()?(i=Lt(i,t),t.isBefore(i)?n=Bt(t,i):((n=Bt(i,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(r={}).ms=t.milliseconds,r.M=t.months),n=new At(r),jt(e)&&f(e,"_locale")&&(n._locale=e._locale),jt(e)&&f(e,"_isValid")&&(n._isValid=e._isValid),n}function Qt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Bt(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 Ht(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,Y(e,t),n),this}}function qt(e,t,i,n){var r=t._milliseconds,s=It(t._days),t=It(t._months);e.isValid()&&(n=null==n||n,t&&Fe(e,he(e,"Month")+t*i),s&&pe(e,"Date",he(e,"Date")+s*i),r&&e._d.setTime(e._d.valueOf()+r*i),n)&&p.updateOffset(e,s||t)}Y.fn=At.prototype,Y.invalid=function(){return Y(NaN)};Ye=Ht(1,"add"),Ge=Ht(-1,"subtract");function Wt(e){return"string"==typeof e||e instanceof String}function $t(e,t){var i,n;return e.date()<t.date()?-$t(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 Vt(e){return void 0===e?this._locale._abbr:(null!=(e=I(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.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)});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?Ve(this,n,r).year:((s=A(e,n,r))<t&&(t=s),function(e,t,i,n,r){e=$e(e,t,i,n,r),t=qe(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,i,n,r))}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)}),T(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){n=i._locale.erasParse(e,n,i._strict);n?m(i).era=n:m(i).invalidEra=e}),w("y",Te),w("yy",Te),w("yyy",Te),w("yyyy",Te),w("yo",function(e,t){return t._eraYearOrdinalRegex||Te}),T(["y","yy","yyy","yyyy"],S),T(["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",xe),w("g",xe),w("GG",b,v),w("gg",b,v),w("GGGG",we,me),w("gggg",we,me),w("GGGGG",_e,ge),w("ggggg",_e,ge),Me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=y(e)}),Me(["gg","GG"],function(e,t,i,n){t[n]=p.parseTwoDigitYear(e)}),n("Q",0,"Qo","quarter"),t("quarter","Q"),i("quarter",7),w("Q",r),T("Q",function(e,t){t[P]=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}),T(["D","DD"],k),T("Do",function(e,t){t[k]=y(e.match(b)[0])});we=de("Date",!0),n("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),i("dayOfYear",4),w("DDD",be),w("DDDD",fe),T(["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),T(["m","mm"],C),me=de("Minutes",!1);n("s",["ss",2],0,"second"),t("second","s"),i("second",15),w("s",b),w("ss",b,v),T(["s","ss"],M);var ii,_e=de("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,Te);function ni(e,t){t[Ae]=y(1e3*("0."+e))}for(ii="S";ii.length<=9;ii+="S")T(ii,ni);ge=de("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName");r=U.prototype;function ri(e){return e}r.add=Ye,r.calendar=function(e,t){1===arguments.length&&(o(s=arguments[0])||F(s)||Wt(s)||c(s)||(n=l(i=s),r=!1,n&&(r=0===i.filter(function(e){return!c(e)&&Wt(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||O(),r=Lt(n,this).startOf("day"),s=p.calendarFormat(this,r)||"sameElse",e=t&&(d(t[s])?t[s].call(this,n):t[s]);return this.format(e||this.localeData().calendar(s,this,O(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=Lt(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=h(t)){case"year":s=$t(this,n)/12;break;case"month":s=$t(this,n);break;case"quarter":s=$t(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=h(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),p.updateOffset(this,!0)}return this},r.format=function(e){e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat);e=se(this,e);return this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(o(e)&&e.isValid()||O(e).isValid())?Y({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(O(),e)},r.to=function(e,t){return this.isValid()&&(o(e)&&e.isValid()||O(e).isValid())?Y({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(O(),e)},r.get=function(e){return d(this[e=h(e)])?this[e]():this},r.invalidAt=function(){return m(this).overflow},r.isAfter=function(e,t){e=o(e)?e:O(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){e=o(e)?e:O(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,i,n){e=o(e)?e:O(e),t=o(t)?t:O(t);return!!(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){var e=o(e)?e:O(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(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 B(this)},r.lang=Ze,r.locale=Vt,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(d(this[e=h(e)]))return this[e](t);return this},r.startOf=function(e){var t,i;if(void 0!==(e=h(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),p.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"):d(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()-p(i[n].since).year())*e+i[n].offset;return this.year()},r.year=He,r.isLeapYear=function(){return ue(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=Re,r.daysInMonth=function(){return Oe(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=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return A(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return A(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return A(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return A(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=ke,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(Pe,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,Y(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.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?O(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",Re),r.years=e("years accessor is deprecated. Use year instead",He),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)&&(V(t={},this),(t=kt(t))._a?(e=(t._isUTC?u:O)(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;function si(e,t,i,n){var r=I(),n=u().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=I(),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}v.calendar=function(e,t,i){e=this._calendar[e]||this._calendar.sameElse;return d(e)?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 d(r)?r(e,t,i,n):r.replace(/%d/i,e)},v.pastFuture=function(e,t){e=this._relativeTime[0<e?"future":"past"];return d(e)?e(t):e.replace(/%s/i,t)},v.set=function(e){var t,i;for(i in e)f(e,i)&&(d(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||I("en")._eras,r=0,s=n.length;r<s;++r)switch("string"==typeof n[r].since&&(i=p(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=p(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?p(e.since).year():p(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||Le).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[Le.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=u([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=x.call(this._shortMonthsParse,e))?r:null:-1!==(r=x.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=x.call(this._shortMonthsParse,e))||-1!==(r=x.call(this._longMonthsParse,e))?r:null:-1!==(r=x.call(this._longMonthsParse,e))||-1!==(r=x.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=u([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 Ve(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){t=l(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!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=u([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=x.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=x.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=x.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=x.call(this._weekdaysParse,e))||-1!==(r=x.call(this._shortWeekdaysParse,e))||-1!==(r=x.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=x.call(this._shortWeekdaysParse,e))||-1!==(r=x.call(this._weekdaysParse,e))||-1!==(r=x.call(this._minWeekdaysParse,e))?r:null:-1!==(r=x.call(this._minWeekdaysParse,e))||-1!==(r=x.call(this._weekdaysParse,e))||-1!==(r=x.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=u([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"},ut("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")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",ut),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",I);var li=Math.abs;function ci(e,t,i,n){t=Y(t,i);return e._milliseconds+=n*t._milliseconds,e._days+=n*t._days,e._months+=n*t._months,e._bubble()}function ui(e){return e<0?Math.floor(e):Math.ceil(e)}function di(e){return 4800*e/146097}function hi(e){return 146097*e/4800}function pi(e){return function(){return this.as(e)}}be=pi("ms"),fe=pi("s"),Ye=pi("m"),ve=pi("h"),ye=pi("d"),Ge=pi("w"),ke=pi("M"),me=pi("Q"),_e=pi("y");function fi(e){return function(){return this.isValid()?this._data[e]:NaN}}var ge=fi("milliseconds"),we=fi("seconds"),He=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};var wi=Math.abs;function _i(e){return(0<e)-(e<0)||+e}function Ti(){var e,t,i,n,r,s,a,o,l,c,u;return this.isValid()?(o=wi(this._milliseconds)/1e3,l=wi(this._days),c=wi(this._months),(u=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(u)?"-":"",s=_i(this._days)!==_i(u)?"-":"",a=_i(this._milliseconds)!==_i(u)?"-":"",(u<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=At.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=h(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+di(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(hi(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=Ye,D.asHours=ve,D.asDays=ye,D.asWeeks=Ge,D.asMonths=ke,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*ui(hi(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(di(t)),t-=ui(hi(e)),e=g(i/12),i%=12,n.days=t,n.months=i,n.years=e,this},D.clone=function(){return Y(this)},D.get=function(e){return e=h(e),this.isValid()?this[e+"s"]():NaN},D.milliseconds=ge,D.seconds=we,D.minutes=He,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,u,d,h;return this.isValid()?(i=!1,r=bi,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},bi,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),e=this.localeData(),t=!i,r=r,s=e,a=Y(n=this).abs(),o=vi(a.as("s")),l=vi(a.as("m")),c=vi(a.as("h")),u=vi(a.as("d")),d=vi(a.as("M")),h=vi(a.as("w")),a=vi(a.as("y")),o=(o<=r.ss?["s",o]:o<r.s&&["ss",o])||(l<=1?["m"]:l<r.m&&["mm",l])||(c<=1?["h"]:c<r.h&&["hh",c])||(u<=1?["d"]:u<r.d&&["dd",u]),(o=(o=null!=r.w?o||(h<=1?["w"]:h<r.w&&["ww",h]):o)||(d<=1?["M"]:d<r.M&&["MM",d])||(a<=1?["y"]:["yy",a]))[2]=t,o[3]=0<+n,o[4]=s,l=function(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}.apply(null,o),i&&(l=e.pastFuture(+this,l)),e.postformat(l)):this.localeData().invalidDate()},D.toISOString=Ti,D.toString=Ti,D.toJSON=Ti,D.locale=Vt,D.localeData=Ut,D.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ti),D.lang=Ze,n("X",0,0,"unix"),n("x",0,0,"valueOf"),w("x",xe),w("X",/[+-]?\d+(\.\d{1,3})?/),T("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),T("x",function(e,t,i){i._d=new Date(y(e))}),p.version="2.25.2",L=O,p.fn=r,p.min=function(){return Ct("isBefore",[].slice.call(arguments,0))},p.max=function(){return Ct("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=u,p.unix=function(e){return O(1e3*e)},p.months=function(e,t){return ai(e,t,"months")},p.isDate=F,p.locale=ut,p.invalid=H,p.duration=Y,p.isMoment=o,p.weekdays=function(e,t,i){return oi(e,t,i,"weekdays")},p.parseZone=function(){return O.apply(null,arguments).parseZone()},p.localeData=I,p.isDuration=jt,p.monthsShort=function(e,t){return ai(e,t,"monthsShort")},p.weekdaysMin=function(e,t,i){return oi(e,t,i,"weekdaysMin")},p.defineLocale=dt,p.updateLocale=function(e,t){var i,n;return null!=t?(n=at,null!=j[e]&&null!=j[e].parentLocale?j[e].set(J(j[e]._config,t)):(t=J(n=null!=(i=ct(e))?i._config:n,t),null==i&&(t.abbr=e),(n=new K(t)).parentLocale=j[e],j[e]=n),ut(e)):null!=j[e]&&(null!=j[e].parentLocale?(j[e]=j[e].parentLocale,e===ut()&&ut(e)):null!=j[e]&&delete j[e]),j[e]},p.locales=function(){return ee(j)},p.weekdaysShort=function(e,t,i){return oi(e,t,i,"weekdaysShort")},p.normalizeUnits=h,p.relativeTimeRounding=function(e){return void 0===e?vi:"function"==typeof e&&(vi=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==bi[e]&&(void 0===t?bi[e]:(bi[e]=t,"s"===e&&(bi.ss=t-1),!0))},p.calendarFormat=function(e,t){e=e.diff(t,"days",!0);return e<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=r,p.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"},p});