1/* @license MIT https://raw.githubusercontent.com/jquery/jquery/3.7.1/LICENSE.txt */
vendor: 87,533 bytes, lines 2-3
2/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 3!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
4; 5/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */ 6/*! @drupal/once - v1.0.1 - 2021-06-12 */ 7var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}(); 8 9; 10/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 11window.drupalTranslations={"strings":{"":{"An AJAX HTTP error occurred.":"Si \u00e8 verificato un errore HTTP in AJAX.","HTTP Result Code: !status":"Codice HTTP di risposta: !status","An AJAX HTTP request terminated abnormally.":"Una richiesta AJAX HTTP \u00e8 terminata in modo anomalo.","Debugging information follows.":"Di seguito le informazioni di debug.","Path: !uri":"Percorso: !uri","StatusText: !statusText":"StatusText: !statusText","ResponseText: !responseText":"ResponseText: !responseText","ReadyState: !readyState":"ReadyState: !readyState","CustomMessage: !customMessage":"Messaggio personalizzato: !customMessage","Please wait...":"Attendere prego...","The response failed verification so will not be processed.":"La risposta non ha superato la verifica, quindi non verr\u00e0 elaborata.","The callback URL is not local and not trusted: !url":"L\u0027URL di callback non \u00e8 locale o non \u00e8 affidabile: !url","Changed":"Modificato","Processing...":"In elaborazione...","Hide":"Nascondi","Show":"Mostra","List additional actions":"Mostra ulteriori azioni","New revision":"Nuova revisione","No revision":"Nessuna revisione","Needs to be updated":"Deve essere aggiornato","Does not need to be updated":"Non ha bisogno di essere aggiornato","Flag other translations as outdated":"Marca altre traduzioni come obsolete","Do not flag other translations as outdated":"Non marcare altre traduzioni come obsolete","Edit":"Edit","Status message":"Messaggio di stato","Error message":"Messaggio di errore","Warning message":"Messaggio di avvertimento","You have unsaved changes.":"Sono presenti modifiche non salvate.","Hide row weights":"Nascondi l\u0027ordine delle righe","Show row weights":"Mostra l\u0027ordine delle righe.","Drag to re-order":"Trascina per riordinare","Show all columns":"Mostra tutte le colonne","Hide lower priority columns":"Nascondi colonne a priorit\u00e0 inferiore.","Show table cells that were hidden to make the table fit within a small screen.":"Mostra le celle che sono state nascoste per adattare la tabella ad uno schermo piccolo.","Select all rows in this table":"Seleziona tutte le righe in questa tabella","Deselect all rows in this table":"Deseleziona tutte le righe in questa tabella","(active tab)":"(scheda attiva)","Not restricted":"Non limitato","Restricted to certain pages":"Limitato a certe pagine","The block cannot be placed in this region.":"Il blocco non pu\u00f2 essere posizionato in questa regione.","Please provide a name for the button group.":"Fornire un nome per il gruppo di pulsanti.","Button group name":"Nome del gruppo di pulsanti","Apply":"Apply","Cancel":"Annulla","Editing the name of the new button group in a dialog.":"Modificare il nome di un gruppo di pulsanti in una finestra di dialogo.","Editing the name of the \u0022@groupName\u0022 button group in a dialog.":"Modificare il nome del gruppo di puslanti \u0022@groupName\u0022 in una finestra di dialogo.","Place a button to create a new button group.":"Posizionare un pulsante per creare un nuovo gruppo di pulsanti.","New group":"Nuovo gruppo","Add a CKEditor button group to the end of this row.":"Aggiungi un gruppo di pulsanti di CKEditor alla fine di questa riga.","Add group":"Agg
11iungi gruppo","Uploads disabled":"Upload disattivati","Uploads enabled, max size: @size @dimensions":"Caricamento abilitato, dimensione massima: @size @dimensions","Rich Text Editor, !label field":"Editor di testo formattato, campo !label","Loading...":"In caricamento...","No styles configured":"Nessuno stile configurato","@count styles configured":"@count stili configurati","Image":"Image","Link":"Link","Unlink":"Rimuovi link","Edit Link":"Modifica link","Caption":"Didascalia","Enter caption here":"Inserire qui la didascalia","@groupName button group in position @position of @positionCount in row @row of @rowCount.":"Gruppo di pulsanti @groupName nella posizione @position di @positionCount nella riga @row di @rowCount.","Press the down arrow key to create a new row.":"Premere il tasto freccia gi\u00f9 per creare una nuova riga.","button":"pulsante","@name @type.":"@type @name.","Press the down arrow key to activate.":"Premere il tasto freccia verso il basso per attivare.","@name @type in position @position of @positionCount in @groupName button group in row @row of @rowCount.":"@type @name nella posizione @position di @positionCount nel gruppo di pulsanti @groupName nella riga @row di @rowCount.","Press the down arrow key to create a new button group in a new row.":"Premere il tasto freccia in basso per creare un nuovo gruppo di pulsanti in una nuova riga.","This is the last group. Move the button forward to create a new group.":"Questo \u00e8 l\u0027ultimo gruppo. Spostare il pulsante in avanti per creare un nuovo gruppo.","The \u0022@name\u0022 button is currently enabled.":"Il pulsante \u0022@name\u0022 \u00e8 attualmente attivato.","Use the keyboard arrow keys to change the position of this button.":"Usare i tasti freccia della tastiera per cambiare la posizione di questo pulsante.","Press the up arrow key on the top row to disable the button.":"Premere il tasto freccia su in cima alla riga per disattivare il pulsante.","The \u0022@name\u0022 button is currently disabled.":"Il pulsante \u0022@name\u0022 \u00e8 attualmente disattivato.","Use the down arrow key to move this button into the active toolbar.":"Usare il tasto freccia gi\u00f9 per spostare questo pulsante nella barra strumenti attiva.","This @name is currently enabled.":"Questo @name \u00e8 attualmente attivato.","Use the keyboard arrow keys to change the position of this separator.":"Usare i tasti freccia della tastiera per cambiare la posizione di questo separatore.","Separators are used to visually split individual buttons.":"I separatori sono utilizzati per dividere visivamente singoli pulsanti.","This @name is currently disabled.":"Questo @name \u00e8 attualmente disattivato.","Use the down arrow key to move this separator into the active toolbar.":"Usare il tasto gi\u00f9 per spostare questo separatore nella barra strumenti attiva.","You may add multiple separators to each button group.":"Puoi aggiungere pi\u00f9 separatori per ciascun gruppo di pulsanti.","Hide group names":"Nascondi i nomi dei gruppi","Show group names":"Mostra i nomi dei gruppi","Available buttons":"Pulsanti disponibili","Button divider":"Divisore pulsanti","Active toolbar":"Barra degli strumenti attiva","Field Not Editable":"Campo Non Modificabile","CKEditor 5 is not compatible with IE11.":"CKEditor 5 non \u00e8 compatibile con IE11.","Open":"Aperto","Close":"Chiudi","Tabbing is no longer constrained by the Contextual module.":"L\u0027uso del tasto tab non \u00e8 pi\u00f9 vincolato al modulo Contextual links.","Tabbing is constrained to a set of @contextualsCount and the edit mode toggle.":"L\u0027uso del tasto tab \u00e8 vincolato a un gruppo di @contextualsCount e al passaggio dalla e alla modalit\u00e0 di modifica.","Press the esc key to exit.":"Premere il tasto ESC per uscire.","@count contextual link\u0003@count contextual links":"@count link contestuale\u0003@count link contestuali","@action @title configuration options":"Opzioni di configurazione per @action @title","Changing the text format to %text_format will permanently remove content that is not allowed in that text format.\u003Cbr\u003E\u003Cbr\u003ESave your changes before switching the text format to avoid losing data.":"Il cambio del formato di testo in %text_format comporter\u00e0 la perdita definitiva di tutti gli elementi non consentiti nel nuovo formato.\u
11003Cbr\u003E\u003Cbr\u003ESalvare i cambiamenti prima del cambio di formato per evitare la perdita di dati.","Change text format?":"Cambiare il formato del testo?","Continue":"Continua","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"Il file selezionato %filename non pu\u00f2 essere caricato. Sono consentiti solo file con le seguenti estensioni: %extensions.","Enabled":"Attivato","Disabled":"Disattivato","Based on the text editor configuration, these tags have automatically been added: \u003Cstrong\u003E@tag-list\u003C\/strong\u003E.":"In base alla configurazione dell\u0027editor di testo, sono stati aggiunti automaticamente questi tag: \u003Cstrong\u003E@tag-list\u003C\/strong\u003E.","Hide description":"Nascondi la descrizione","Show description":"Mostra la descrizione","Changes made in this table will not be saved until the form is submitted.":"I cambiamenti fatti a questa tabella non saranno salvati finch\u00e8 il form non viene inviato.","By @name on @date":"Da @name il @date","By @name":"Da @name","Authored on @date":"Scritto il @date","Not published":"Non pubblicato","Requires a title":"Richiede un titolo","Don\u0027t display post information":"Non mostrare le informazioni di pubblicazione","Not promoted":"Non promosso","Leave preview?":"Lasciare l\u0027anteprima?","Leave preview":"Lasciare anteprima","Leaving the preview will cause unsaved changes to be lost. Are you sure you want to leave the preview?":"Lasciando l\u0027anteprima i cambiamenti non saranno salvati. Vuoi veramente lasciare l\u0027anteprima?","Alias: @alias":"Alias: @alias","No alias":"Nessun alias","Your changes to \u003Cq\u003E@entity-title\u003C\/q\u003E could not be saved, either due to a website problem or a network connection problem.\u003Cbr\u003EPlease try again.":"Le modifiche a \u003Cq\u003E@entity-title\u003C\/q\u003E non possono essere salvate, a causa di un problema del sito web o un problema di connessione di rete.\u003Cbr\u003ESi prega di riprovare.","Network problem!":"Problema di rete!","Quick edit":"Modifica veloce","Alternative text":"Testo alternativo","Title":"Titolo","OK":"OK","Could not load the form for \u003Cq\u003E@field-label\u003C\/q\u003E, either due to a website problem or a network connection problem.\u003Cbr\u003EPlease try again.":"Impossibile caricare il form per \u003Cq\u003E@field-label\u003C\/q\u003E, a causa di un problema del sito o di un problema di connessione di rete.\u003Cbr\u003ESi prega di riprovare.","You have unsaved changes":"Ci sono modifiche non salvate","Discard changes?":"Annullare le modifiche?","Save":"Salva","Discard changes":"Abbandona le modifiche","Saving":"Salvataggio","!modules modules are available in the modified list.":"I moduli !modules sono disponibili nell\u0027elenco modificato.","Hide summary":"Nascondi sommario","Edit summary":"Modifica sommario","Home":"Home","The toolbar cannot be set to a horizontal orientation when it is locked.":"La barra degli strumenti non pu\u00f2 essere impostata su un orientamento orizzontale quando \u00e8 bloccata.","Horizontal orientation":"Orientamento orizzontale","Vertical orientation":"Orientamento verticale","Extend":"Estendi","Collapse":"Raggruppa","@label":"@label","closed":"chiuso","opened":"aperto","!tour_item of !total":"!tour_item di !total","End tour":"Finisci il Tour","This permission is inherited from the authenticated user role.":"Questo permesso viene ereditato dal ruolo utente autenticato.","Add":"Aggiungi","Remove group":"Rimuovi gruppo","Apply (all displays)":"Applica (tutte le visualizzazioni)","Revert to default":"Ritorna al predefinito","Apply (this display)":"Applica (solo questa visualizzazione)","No items selected":"Nessun elemento selezionato","CSS classes":"classi CSS","ID":"ID","Advanced":"Avanzate","Open in new window":"Apri in una nuova finestra","Remove":"Elimina","Automatic alias":"Alias automatico","Scheduled for publishing":"Pianificato per la pubblicazione","Scheduled for unpublishing":"Pianificato per la rimozione della pubblicazione","Not scheduled":"Nessuna pianificazione","Insert this token into your form":"Inserisci questo token nel form","First click a text field to insert your tokens into.":"Prima occorre cliccare sul campo di testo dove inserire i token.","Collapse all":"Raggruppa tutto","Expand all":"Espandi tutto","item":"elemento","No content available.":"Nessun contenuto disponibile."}},"pluralFormula":{"1":0,"default":1}};; 12(function(){const settingsElement=document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');window.drupalSettings={};if(settingsElement!==null)window.drupalSettings=JSON.parse(settingsElement.textContent);})();; 13window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}
13).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(typeof drupalTranslations!=='undefined'&&drupalTranslations.strings&&drupalTranslations.strings[options.context]&&drupalTranslations.strings[options.context][str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');try{url=decodeURIComponent(url);}catch(e){}urlParsingNode.setAttribute('href',url);return urlParsingNode.cloneNode(false).href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.startsWith('https:'))protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.startsWith(`${baseUrl}/`);};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;if(typeof drupalTranslations!=='undefined'&&drupalTranslations.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&typeof console!=='undefined'&&console.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(func in Drupal.theme)return Drupal.theme[func](...args);};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);; 14if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);; 15(()=>{var e={317:function(e){e.exports=function(){"use strict";function e(){return "undefined"!=typeof window;}function t(e){return (r=e)&&r.document&&function(e){return 9===e.n
15odeType;}(r.document)?(i=(t=e).document,n=i.body,s=i.documentElement,{scrollHeight:function(){return Math.max(n.scrollHeight,s.scrollHeight,n.offsetHeight,s.offsetHeight,n.clientHeight,s.clientHeight);},height:function(){return t.innerHeight||s.clientHeight||n.clientHeight;},scrollY:function(){return void 0!==t.pageYOffset?t.pageYOffset:(s||n.parentNode||n).scrollTop;}}):function(e){return {scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight);},height:function(){return Math.max(e.offsetHeight,e.clientHeight);},scrollY:function(){return e.scrollTop;}};}(e);var t,i,n,s,r;}function i(e,i,n){var s,r=function(){var e=!1;try{var t={get passive(){e=!0;}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t);}catch(t){e=!1;}return e;}(),a=!1,o=t(e),l=o.scrollY(),d={};function c(){var e=Math.round(o.scrollY()),t=o.height(),s=o.scrollHeight();d.scrollY=e,d.lastScrollY=l,d.direction=e>l?"down":"up",d.distance=Math.abs(e-l),d.isOutOfBounds=e<0||e+t>s,d.top=e<=i.offset[d.direction],d.bottom=e+t>=s,d.toleranceExceeded=d.distance>i.tolerance[d.direction],n(d),l=e,a=!1;}function u(){a||(a=!0,s=requestAnimationFrame(c));}var p=!!r&&{passive:!0,capture:!1};return e.addEventListener("scroll",u,p),c(),{destroy:function(){cancelAnimationFrame(s),e.removeEventListener("scroll",u,p);}};}function n(e){return e===Object(e)?e:{down:e,up:e};}function s(e,t){t=t||{},Object.assign(this,s.options,t),this.classes=Object.assign({},s.options.classes,t.classes),this.elem=e,this.tolerance=n(this.tolerance),this.offset=n(this.offset),this.initialised=!1,this.frozen=!1;}return s.prototype={constructor:s,init:function(){return s.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout((function(e){e.scrollTracker=i(e.scroller,{offset:e.offset,tolerance:e.tolerance},e.update.bind(e));}),100,this)),this;},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy();},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this));},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this));},freeze:function(){this.frozen=!0,this.addClass("frozen");},unfreeze:function(){this.frozen=!1,this.removeClass("frozen");},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this));},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this));},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this));},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this));},shouldUnpin:function(e){return "down"===e.direction&&!e.top&&e.toleranceExceeded;},shouldPin:function(e){return "up"===e.direction&&e.toleranceExceeded||e.top;},addClass:function(e){this.elem.classList.add.apply(this.elem.classList,this.classes[e].split(" "));},removeClass:function(e){this.elem.classList.remove.apply(this.elem.classList,this.classes[e].split(" "));},hasClass:function(e){return this.classes[e].split(" ").every((function(e){return this.classList.contains(e);}),this.elem);},update:function(e){e.isOutOfBounds||!0!==this.frozen&&(e.top?this.top():this.notTop(),e.bottom?this.bottom():this.notBottom(),this.shouldUnpin(e)?this.unpin():this.shouldPin(e)&&this.pin());}},s.options={tolerance:{up:0,down:0},offset:0,scroller:e()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},s.cutsTheMustard=!!(e()&&function(){}.bind&&"classList" in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),s;}();},879:(e)=>{!function(t,i){var n=function(e,t,i){"use strict";var n,s;if(function(){var t,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in s=e.lazySizesConfig||e.lazysizesConfig||{},i)t in s||(s[t]=i[t]);}(),!t||!t.getElementsByClassName)return {init:function(){},cfg:s,noSupport:!0};var r,a,o,l,d,c,u,p,h,f,m,g,v,y,w,b,S,E,T,x,L,C,M,k,P,A,z,_,O,I,D,N,R,B,F,q,G,H,$,j,V,W,Y,X,U=t.documentElement,K=e.HTMLPictureElement,J="addEventListener",Z="getAttribute",Q=e[J].bind(e),ee=e.setTimeout,te=e.requestAnimationFrame||ee,ie=e.requestIdleCallback,ne=/^picture$/i,se=["load","error","lazyincluded","_lazyloaded"],re={},ae=Array.prototype.forEach,oe=function(e,t){return re[t]||(re[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),re[t].test(e[Z]("class")||"")&&re[t];},le=function(e,t){oe(e,t)||e.setAttribute("class",(e[Z]("class")||"").trim()+" "+t);},de=function(e,t){var i;(i=oe(e,t))&&e.setAttribute("class",(e[Z]("class")||"").replace(i," "));},ce=function(e,t,i){var n=i?J:"removeEventListener";i&&ce(e,t),se.forEach((function(i){e[n](i,t);}));},ue=function(e,i,s,r,a){var o=t.createEvent("Event");return s||(s={}),s.instance=n,o.initEvent(i,!r,!a),o.detail=s,e.dispatchEvent(o),o;},pe=function(t,i){var n;!K&&(n=e.picturefill||s.pf)?(i&&i.src&&!t[Z]("srcset")&&t.setAttribute("srcset",i.src),n({reevaluate:!0,elements:[t]})):i&&i.src&&(t.src=i.src);},he=function(e,t){return (getComputedStyle(e,null)||{})[t];},fe=function(e,t,i){for(i=i||e.offsetWidth;i<s.minSize&&t&&!e._lazysizesWidth;)i=t.offsetWidth,t=t.parentNode;return i;},me=(V=[],W=j=[],X=function(e,i){H&&!i?e.apply(this,arguments):(W.push(e),$||($=!0,(t.hidden?ee:te)(Y)));},X._lsFlush=Y=function(){var e=W;for(W=j.length?V:j,H=!0,$=!1;e.length;)e.shift()();H=!1;},X),ge=function(e,t){return t?function(){me(e);}:function(){var t=this,i=arguments;me((function(){e.apply(t,i);}));};},ve=function(e){var t,n,s=function(){t=null,e();},r=function(){var e=i.now()-n;e<99?ee(r,99-e):(ie||s)(s);};return function(){n=i.now(),t||(t=ee(r,99));};},ye=(S=/^img$/i,E=/^iframe$/i,T="onscroll" in e&&!/(gle|ing)bot/.test(navigator.userAgent),0,x=0,L=0,C=-1,M=function(e){L--,(!e||L<0||!e.target)&&(L=0);},k=function(e){return null==b&&(b="hidden"==he(t.body,"visibility")),b||!("hidden"==he(e.parentNode,"visibility")&&"hidden"==he(e,"visibility"));},P=function(e,i){var n,s=e,r=k(e);for(g-=i,w+=i,v-=i,y+=i;r&&(s=s.offsetParent)&&s!=t.body&&s!=U;)(r=(he(s,"opacity")||1)>0)&&"visible"!=he(s,"overflow")&&(n=s.getBoundingClientRect(),r=y>n.left&&v<n.right&&w>n.top-1&&g<n.bottom+1);return r;},z=function(e){var t,n=0,r=s.throttleDelay,a=s.ricTimeout,o=function(){t=!1,n=i.now(),e();},l=ie&&a>49?function(){ie(o,{timeout:a}),a!==s.ricTimeout&&(a=s.ricTimeout);}:ge((function(){ee(o);}),!0);return function(e){var s;(e=!0===e)&&(a=33),t||(t=!0,(s=r-(i.now()-n))<0&&(s=0),e||s<9?l():ee(l,s));};}(A=function(){var e,i,r,a,o,l,u,h,S,E,M,A,z=n.elements;if((p=s.loadMode)&&L<8&&(e=z.length)){for(i=0,C++;i<e;i++)if(z[i]&&!z[i]._lazyRace)if(!T||n.prematureUnveil&&n.prematureUnveil(z[i]))B(z[i]);else if((h=z[i][Z]("data-expand"))&&(l=1*h)||(l=x),E||(E=!s.expand||s.expand<1?U.clientHeight>500&&U.clientWidth>500?500:370:s.expand,n._defEx=E,M=E*s.expFactor,A=s.hFac,b=null,x<M&&L<1&&C>2&&p>2&&!t.hidden?(x=M,C=0):x=p>1&&C>1&&L<6?E:0),S!==l&&(f=innerWidth+l*A,m=innerHeight+l,u=-1*l,S=l),r=z[i].getBoundingClientRect(),(w=r.bottom)>=u&&(g=r.top)<=m&&(y=r.right)>=u*A&&(v=r.left)<=f&&(w||y||v||g)&&(s.loadHidden||k(z[i]))&&(c&&L<3&&!h&&(p<3||C<4)||P(z[i],l))){if(B(z[i]),o=!0,L>9)break;}else !o&&c&&!a&&L<4&&C<4&&p>
152&&(d[0]||s.preloadAfterLoad)&&(d[0]||!h&&(w||y||v||g||"auto"!=z[i][Z](s.sizesAttr)))&&(a=d[0]||z[i]);a&&!o&&B(a);}}),O=ge(_=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(M(e),le(t,s.loadedClass),de(t,s.loadingClass),ce(t,I),ue(t,"lazyloaded"));}),I=function(e){O({target:e.target});},D=function(e,t){var i=e.getAttribute("data-load-mode")||s.iframeLoadMode;0==i?e.contentWindow.location.replace(t):1==i&&(e.src=t);},N=function(e){var t,i=e[Z](s.srcsetAttr);(t=s.customMedia[e[Z]("data-media")||e[Z]("media")])&&e.setAttribute("media",t),i&&e.setAttribute("srcset",i);},R=ge((function(e,t,i,n,r){var a,o,l,d,c,p;(c=ue(e,"lazybeforeunveil",t)).defaultPrevented||(n&&(i?le(e,s.autosizesClass):e.setAttribute("sizes",n)),o=e[Z](s.srcsetAttr),a=e[Z](s.srcAttr),r&&(d=(l=e.parentNode)&&ne.test(l.nodeName||"")),p=t.firesLoad||"src" in e&&(o||a||d),c={target:e},le(e,s.loadingClass),p&&(clearTimeout(u),u=ee(M,2500),ce(e,I,!0)),d&&ae.call(l.getElementsByTagName("source"),N),o?e.setAttribute("srcset",o):a&&!d&&(E.test(e.nodeName)?D(e,a):e.src=a),r&&(o||d)&&pe(e,{src:a})),e._lazyRace&&delete e._lazyRace,de(e,s.lazyClass),me((function(){var t=e.complete&&e.naturalWidth>1;p&&!t||(t&&le(e,s.fastLoadedClass),_(c),e._lazyCache=!0,ee((function(){"_lazyCache" in e&&delete e._lazyCache;}),9)),"lazy"==e.loading&&L--;}),!0);})),B=function(e){if(!e._lazyRace){var t,i=S.test(e.nodeName),n=i&&(e[Z](s.sizesAttr)||e[Z]("sizes")),r="auto"==n;(!r&&c||!i||!e[Z]("src")&&!e.srcset||e.complete||oe(e,s.errorClass)||!oe(e,s.lazyClass))&&(t=ue(e,"lazyunveilread").detail,r&&we.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,L++,R(e,t,r,n,i));}},F=ve((function(){s.loadMode=3,z();})),G=function(){c||(i.now()-h<999?ee(G,999):(c=!0,s.loadMode=3,z(),Q("scroll",q,!0)));},{_:function(){h=i.now(),n.elements=t.getElementsByClassName(s.lazyClass),d=t.getElementsByClassName(s.lazyClass+" "+s.preloadClass),Q("scroll",z,!0),Q("resize",z,!0),Q("pageshow",(function(e){if(e.persisted){var i=t.querySelectorAll("."+s.loadingClass);i.length&&i.forEach&&te((function(){i.forEach((function(e){e.complete&&B(e);}));}));}})),e.MutationObserver?new MutationObserver(z).observe(U,{childList:!0,subtree:!0,attributes:!0}):(U[J]("DOMNodeInserted",z,!0),U[J]("DOMAttrModified",z,!0),setInterval(z,999)),Q("hashchange",z,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(e){t[J](e,z,!0);})),/d$|^c/.test(t.readyState)?G():(Q("load",G),t[J]("DOMContentLoaded",z),ee(G,2e4)),n.elements.length?(A(),me._lsFlush()):z();},checkElems:z,unveil:B,_aLSL:q=function(){3==s.loadMode&&(s.loadMode=2),F();}}),we=(a=ge((function(e,t,i,n){var s,r,a;if(e._lazysizesWidth=n,n+="px",e.setAttribute("sizes",n),ne.test(t.nodeName||""))for(r=0,a=(s=t.getElementsByTagName("source")).length;r<a;r++)s[r].setAttribute("sizes",n);i.detail.dataAttr||pe(e,i.detail);})),o=function(e,t,i){var n,s=e.parentNode;s&&(i=fe(e,s,i),(n=ue(e,"lazybeforesizes",{width:i,dataAttr:!!t})).defaultPrevented||(i=n.detail.width)&&i!==e._lazysizesWidth&&a(e,s,n,i));},{_:function(){r=t.getElementsByClassName(s.autosizesClass),Q("resize",l);},checkElems:l=ve((function(){var e,t=r.length;if(t)for(e=0;e<t;e++)o(r[e]);})),updateElem:o}),be=function(){!be.i&&t.getElementsByClassName&&(be.i=!0,we._(),ye._());};return ee((function(){s.init&&be();})),n={cfg:s,autoSizer:we,loader:ye,init:be,uP:pe,aC:le,rC:de,hC:oe,fire:ue,gW:fe,rAF:me};}(t,t.document,Date);t.lazySizes=n,e.exports&&(e.exports=n);}("undefined"!=typeof window?window:{});},131:function(e,t,i){var n,s;n=function(){"use strict";var e=function(){s.log(2,"(COMPATIBILITY NOTICE) -> As of ScrollMagic 2.0.0 you need to use 'new ScrollMagic.Controller()' to create a new controller instance. Use 'new ScrollMagic.Scene()' to instance a scene.");};e.version="2.0.8","undefined"!=typeof window&&window.addEventListener("mousewheel",void 0);var t="data-scrollmagic-pin-spacer";e.Controller=function(n){var r,a,o="ScrollMagic.Controller",l="REVERSE",d="PAUSED",c=i.defaults,u=this,p=s.extend({},c,n),h=[],f=!1,m=0,g=d,v=!0,y=0,w=!0,b=function(){p.refreshInterval>
150&&(a=window.setTimeout(M,p.refreshInterval));},S=function(){return p.vertical?s.get.scrollTop(p.container):s.get.scrollLeft(p.container);},E=function(){return p.vertical?s.get.height(p.container):s.get.width(p.container);},T=this._setScrollPos=function(e){p.vertical?v?window.scrollTo(s.get.scrollLeft(),e):p.container.scrollTop=e:v?window.scrollTo(e,s.get.scrollTop()):p.container.scrollLeft=e;},x=function(){if(w&&f){var e=s.type.Array(f)?f:h.slice(0);f=!1;var t=m,i=(m=u.scrollPos())-t;0!==i&&(g=i>0?"FORWARD":l),g===l&&e.reverse(),e.forEach((function(t,i){k(3,"updating Scene "+(i+1)+"/"+e.length+" ("+h.length+" total)"),t.update(!0);})),0===e.length&&p.loglevel>=3&&k(3,"updating 0 Scenes (nothing added to controller)");}},L=function(){r=s.rAF(x);},C=function(e){k(3,"event fired causing an update:",e.type),"resize"==e.type&&(y=E(),g=d),!0!==f&&(f=!0,L());},M=function(){if(!v&&y!=E()){var e;try{e=new Event("resize",{bubbles:!1,cancelable:!1});}catch(t){(e=document.createEvent("Event")).initEvent("resize",!1,!1);}p.container.dispatchEvent(e);}h.forEach((function(e,t){e.refresh();})),b();},k=this._log=function(e,t){p.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),s.log.apply(window,arguments));};this._options=p;var P=function(e){if(e.length<=1)return e;var t=e.slice(0);return t.sort((function(e,t){return e.scrollOffset()>t.scrollOffset()?1:-1;})),t;};return this.addScene=function(t){if(s.type.Array(t))t.forEach((function(e,t){u.addScene(e);}));else if(t instanceof e.Scene)if(t.controller()!==u)t.addTo(u);else{if(h.indexOf(t)<0){for(var i in h.push(t),h=P(h),t.on("shift.controller_sort",(function(){h=P(h);})),p.globalSceneOptions)t[i]&&t[i].call(t,p.globalSceneOptions[i]);k(3,"adding Scene (now "+h.length+" total)");}}else k(1,"ERROR: invalid argument supplied for '.addScene()'");return u;},this.removeScene=function(e){if(s.type.Array(e))e.forEach((function(e,t){u.removeScene(e);}));else{var t=h.indexOf(e);t>-1&&(e.off("shift.controller_sort"),h.splice(t,1),k(3,"removing Scene (now "+h.length+" left)"),e.remove());}return u;},this.updateScene=function(t,i){return s.type.Array(t)?t.forEach((function(e,t){u.updateScene(e,i);})):i?t.update(!0):!0!==f&&t instanceof e.Scene&&(-1==(f=f||[]).indexOf(t)&&f.push(t),f=P(f),L()),u;},this.update=function(e){return C({type:"resize"}),e&&x(),u;},this.scrollTo=function(i,n){if(s.type.Number(i))T.call(p.container,i,n);else if(i instanceof e.Scene)i.controller()===u?u.scrollTo(i.scrollOffset(),n):k(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",i);else if(s.type.Function(i))T=i;else{var r=s.get.elements(i)[0];if(r){for(;r.parentNode.hasAttribute(t);)r=r.parentNode;var a=p.vertical?"top":"left",o=s.get.offset(p.container),l=s.get.offset(r);v||(o[a]-=u.scrollPos()),u.scrollTo(l[a]-o[a],n);}else k(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",i);}return u;},this.scrollPos=function(e){return arguments.length?(s.type.Function(e)?S=e:k(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),u):S.call(u);},this.info=function(e){var t={size:y,vertical:p.vertical,scrollPos:m,scrollDirection:g,container:p.container,isDocument:v};return arguments.length?void 0!==t[e]?t[e]:void k(1,'ERROR: option "'+e+'" is not available'):t;},this.loglevel=function(e){return arguments.length?(p.loglevel!=e&&(p.loglevel=e),u):p.loglevel;},this.enabled=function(e){return arguments.length?(w!=e&&(w=!!e,u.updateScene(h,!0)),u):w;},this.destroy=function(e){window.clearTimeout(a);for(var t=h.length;t--;)h[t].destroy(e);return p.container.removeEventListener("resize",C),p.container.removeEventListener("scroll",C),s.cAF(r),k(3,"destroyed "+o+" (reset: "+(e?"true":"false")+")"),null;},function(){for(var t in p)c.hasOwnProperty(t)||(k(2,'WARNING: Unknown option "'+t+'"'),delete p[t]);if(p.container=s.get.elements(p.container)[0],!p.container)throw k(1,"ERROR creating object "+o+": No valid scroll container supplied"),o+" init failed.";(v=p.container===window||p.container===document.body||!document.body.contains(p.container))&&(p.container=window),y=E(),p.container.addEventListener("resize",C),p.container.addEventListener("scroll",C);var i=parseInt(p.refreshInterval,10);p.refreshInterval=s.type.Number(i)?i:c.refreshInterval,b(),k(3,"added new "+o+" controller (v"+e.version+")");}(),u;};var i={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};e.Controller.addOption=function(e,t){i.defaults[e]=t;},e.Controller.extend=function(t){var i=this;e.Controller=function(){return i.apply(this,arguments),this.$super=s.extend({},this),t.apply(this,arguments)||this;},s.extend(e.Controller,i),e.Controller.prototype=i.prototype,e.Controller.prototype.constructor=e.Controller;},e.Scene=function(i){var r,a,o="ScrollMagic.Scene",l="BEFORE",d="DURING",c="AFTER",u=n.defaults,p=this,h=s.extend({},u,i),f=l,m=0,g={start:0,end:0},v=0,y=!0,w={};this.on=function(e,t){return s.type.Function(t)?(e=e.trim().split(" ")).forEac
15h((function(e){var i=e.split("."),n=i[0],s=i[1];"*"!=n&&(w[n]||(w[n]=[]),w[n].push({namespace:s||"",callback:t}));})):b(1,"ERROR when calling '.on()': Supplied callback for '"+e+"' is not a valid function!"),p;},this.off=function(e,t){return e?((e=e.trim().split(" ")).forEach((function(e,i){var n=e.split("."),s=n[0],r=n[1]||"";("*"===s?Object.keys(w):[s]).forEach((function(e){for(var i=w[e]||[],n=i.length;n--;){var s=i[n];!s||r!==s.namespace&&"*"!==r||t&&t!=s.callback||i.splice(n,1);}i.length||delete w[e];}));})),p):(b(1,"ERROR: Invalid event name supplied."),p);},this.trigger=function(t,i){if(t){var n=t.trim().split("."),s=n[0],r=n[1],a=w[s];b(3,"event fired:",s,i?"->":"",i||""),a&&a.forEach((function(t,n){r&&r!==t.namespace||t.callback.call(p,new e.Event(s,t.namespace,p,i));}));}else b(1,"ERROR: Invalid event name supplied.");return p;},p.on("change.internal",(function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?L():"reverse"===e.what&&p.update());})).on("shift.internal",(function(e){T(),p.update();}));var b=this._log=function(e,t){h.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),s.log.apply(window,arguments));};this.addTo=function(t){return t instanceof e.Controller?a!=t&&(a&&a.removeScene(p),a=t,k(),x(!0),L(!0),T(),a.info("container").addEventListener("resize",C),t.addScene(p),p.trigger("add",{controller:a}),b(3,"added "+o+" to controller"),p.update()):b(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),p;},this.enabled=function(e){return arguments.length?(y!=e&&(y=!!e,p.update(!0)),p):y;},this.remove=function(){if(a){a.info("container").removeEventListener("resize",C);var e=a;a=void 0,e.removeScene(p),p.trigger("remove"),b(3,"removed "+o+" from controller");}return p;},this.destroy=function(e){return p.trigger("destroy",{reset:e}),p.remove(),p.off("*.*"),b(3,"destroyed "+o+" (reset: "+(e?"true":"false")+")"),null;},this.update=function(e){if(a)if(e)if(a.enabled()&&y){var t,i=a.info("scrollPos");t=h.duration>0?(i-g.start)/(g.end-g.start):i>=g.start?1:0,p.trigger("update",{startPos:g.start,endPos:g.end,scrollPos:i}),p.progress(t);}else S&&f===d&&z(!0);else a.updateScene(p,!1);return p;},this.refresh=function(){return x(),L(),p;},this.progress=function(e){if(arguments.length){var t=!1,i=f,n=a?a.info("scrollDirection"):"PAUSED",s=h.reverse||e>=m;if(0===h.duration?(t=m!=e,f=0==(m=e<1&&s?0:1)?l:d):e<0&&f!==l&&s?(m=0,f=l,t=!0):e>=0&&e<1&&s?(m=e,f=d,t=!0):e>=1&&f!==c?(m=1,f=c,t=!0):f!==d||s||z(),t){var r={progress:m,state:f,scrollDirection:n},o=f!=i,u=function(e){p.trigger(e,r);};o&&i!==d&&(u("enter"),u(i===l?"start":"end")),u("progress"),o&&f!==d&&(u(f===l?"start":"end"),u("leave"));}return p;}return m;};var S,E,T=function(){g={start:v+h.offset},a&&h.triggerElement&&(g.start-=a.info("size")*h.triggerHook),g.end=g.start+h.duration;},x=function(e){if(r){var t="duration";P(t,r.call(p))&&!e&&(p.trigger("change",{what:t,newval:h[t]}),p.trigger("shift",{reason:t}));}},L=function(e){var i=0,n=h.triggerElement;if(a&&(n||v>0)){if(n)if(n.parentNode){for(var r=a.info(),o=s.get.offset(r.container),l=r.vertical?"top":"left";n.parentNode.hasAttribute(t);)n=n.parentNode;var d=s.get.offset(n);r.isDocument||(o[l]-=a.scrollPos()),i=d[l]-o[l];}else b(2,"WARNING: triggerElement was removed from DOM and will be reset to",void 0),p.triggerElement(void 0);var c=i!=v;v=i,c&&!e&&p.trigger("shift",{reason:"triggerElementPosition"});}},C=function(e){h.triggerHook>0&&p.trigger("shift",{reason:"containerResize"});},M=s.extend(n.validate,{duration:function(e){if(s.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)){var t=parseFloat(e)/100;e=function(){return a?a.info("size")*t:0;};}if(s.type.Function(e)){r=e;try{e=parseFloat(r.call(p));}catch(t){e=-1;}}if(e=parseFloat(e),!s.type.Number(e)||e<0)throw r?(r=void 0,['Invalid return value of supplied function for option "duration":',e]):['Invalid value for option "duration":',e];return e;}}),k=function(e){(e=arguments.length?[e]:Object.keys(M)).forEach((function(e,t){var i;if(M[e])try{i=M[e](h[e]);}catch(t){i=u[e];var n=s.type.String(t)?[t]:t;s.type.Array(n)?(n[0]="ERROR: "+n[0],n.unshift(1),b.apply(this,n)):b(1,"ERROR: Problem executing validation callback for option '"+e+"':",t.message);}finally{h[e]=i;}}));},P=function(e,t){var i=!1,n=h[e];return h[e]!=t&&(h[e]=t,k(e),i=n!=h[e]),i;},A=function(e){p[e]||(p[e]=function(t){return arguments.length?("duration"===e&&(r=void 0),P(e,t)&&(p.trigger("change",{what:e,newval:h[e]}),n.shifts.indexOf(e)>-1&&p.trigger("shift",{reason:e})),p):h[e];});};this.controller=function(){return a;},this.state=function(){return f;},this.scrollOffset=function(){return g.start;},this.triggerPosition=function(){var e=h.offset;return a&&(h.triggerElement?e+=v:e+=a.info("size")*p.triggerHook()),e;},p.on("shift.internal",(function(e){var t="duration"===e.reason;(f===c&&t||f===d&&0===h.duration)&&z(),t&&_();})).on("progress.internal",(function(e){z();})).on("add.internal",(function(e){_();})).on("destroy.internal",(function(e){p.removePin(e.reset);}));var z=function(e){if(S&&a){var t=a.info(),i=E.spacer.firstChild;if(e||f!==d){var n={position:E.inFlow?"relative":"absolute",top:0,left:0}
15,r=s.css(i,"position")!=n.position;E.pushFollowers?h.duration>0&&(f===c&&0===parseFloat(s.css(E.spacer,"padding-top"))||f===l&&0===parseFloat(s.css(E.spacer,"padding-bottom")))&&(r=!0):n[t.vertical?"top":"left"]=h.duration*m,s.css(i,n),r&&_();}else{"fixed"!=s.css(i,"position")&&(s.css(i,{position:"fixed"}),_());var o=s.get.offset(E.spacer,!0),u=h.reverse||0===h.duration?t.scrollPos-g.start:Math.round(m*h.duration*10)/10;o[t.vertical?"top":"left"]+=u,s.css(E.spacer.firstChild,{top:o.top,left:o.left});}}},_=function(){if(S&&a&&E.inFlow){var e=f===d,t=a.info("vertical"),i=E.spacer.firstChild,n=s.isMarginCollapseType(s.css(E.spacer,"display")),r={};E.relSize.width||E.relSize.autoFullWidth?e?s.css(S,{width:s.get.width(E.spacer)}):s.css(S,{width:"100%"}):(r["min-width"]=s.get.width(t?S:i,!0,!0),r.width=e?r["min-width"]:"auto"),E.relSize.height?e?s.css(S,{height:s.get.height(E.spacer)-(E.pushFollowers?h.duration:0)}):s.css(S,{height:"100%"}):(r["min-height"]=s.get.height(t?i:S,!0,!n),r.height=e?r["min-height"]:"auto"),E.pushFollowers&&(r["padding"+(t?"Top":"Left")]=h.duration*m,r["padding"+(t?"Bottom":"Right")]=h.duration*(1-m)),s.css(E.spacer,r);}},O=function(){a&&S&&f===d&&!a.info("isDocument")&&z();},I=function(){a&&S&&f===d&&((E.relSize.width||E.relSize.autoFullWidth)&&s.get.width(window)!=s.get.width(E.spacer.parentNode)||E.relSize.height&&s.get.height(window)!=s.get.height(E.spacer.parentNode))&&_();},D=function(e){a&&S&&f===d&&!a.info("isDocument")&&(e.preventDefault(),a._setScrollPos(a.info("scrollPos")-((e.wheelDelta||e[a.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)));};this.setPin=function(e,i){var n=i&&i.hasOwnProperty("pushFollowers");if(i=s.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},i),!(e=s.get.elements(e)[0]))return b(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),p;if("fixed"===s.css(e,"position"))return b(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),p;if(S){if(S===e)return p;p.removePin();}var r=(S=e).parentNode.style.display,a=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];S.parentNode.style.display="none";var o="absolute"!=s.css(S,"position"),l=s.css(S,a.concat(["display"])),d=s.css(S,["width","height"]);S.parentNode.style.display=r,!o&&i.pushFollowers&&(b(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),i.pushFollowers=!1),window.setTimeout((function(){S&&0===h.duration&&n&&i.pushFollowers&&b(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.");}),0);var c=S.parentNode.insertBefore(document.createElement("div"),S),u=s.extend(l,{position:o?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(o||s.extend(u,s.css(S,["width","height"])),s.css(c,u),c.setAttribute(t,""),s.addClass(c,i.spacerClass),E={spacer:c,relSize:{width:"%"===d.width.slice(-1),height:"%"===d.height.slice(-1),autoFullWidth:"auto"===d.width&&o&&s.isMarginCollapseType(l.display)},pushFollowers:i.pushFollowers,inFlow:o},!S.___origStyle){S.___origStyle={};var f=S.style;a.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach((function(e){S.___origStyle[e]=f[e]||"";}));}return E.relSize.width&&s.css(c,{width:d.width}),E.relSize.height&&s.css(c,{height:d.height}),c.appendChild(S),s.css(S,{position:o?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(E.relSize.width||E.relSize.autoFullWidth)&&s.css(S,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",O),window.addEventListener("resize",O),window.addEventListener("resize",I),S.addEventListener("mousewheel",D),S.addEventListener("DOMMouseScroll",D),b(3,"added pin"),z(),p;},this.removePin=function(e){if(S){if(f===d&&z(!0),e||!a){var i=E.spacer.firstChild;if(i.hasAttribute(t)){var n=E.spacer.style,r={};["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach((function(e){r[e]=n[e]||"";})),s.css(i,r);}E.spacer.parentNode.insertBefore(i,E.spacer),E.spacer.parentNode.removeChild(E.spacer),S.parentNode.hasAttribute(t)||(s.css(S,S.___origStyle),delete S.___origStyle);}window.removeEventListener("scroll",O),window.removeEventListener("resize",O),window.removeEventListener("resize",I),S.removeEventListener("mousewheel",D),S.removeEventListener("DOMMouseScroll",D),S=void 0,b(3,"removed pin (reset: "+(e?"true":"false")+")");}return p;};var N,R=[];return p.on("destroy.internal",(function(e){p.removeClassToggle(e.reset);})),this.setClassToggle=function(e,t){var i=s.get.elements(e);return 0!==i.length&&s.type.String(t)?(R.length>
150&&p.removeClassToggle(),N=t,R=i,p.on("enter.internal_class leave.internal_class",(function(e){var t="enter"===e.type?s.addClass:s.removeClass;R.forEach((function(e,i){t(e,N);}));})),p):(b(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===i.length?"element":"classes")+" supplied."),p);},this.removeClassToggle=function(e){return e&&R.forEach((function(e,t){s.removeClass(e,N);})),p.off("start.internal_class end.internal_class"),N=void 0,R=[],p;},function(){for(var e in h)u.hasOwnProperty(e)||(b(2,'WARNING: Unknown option "'+e+'"'),delete h[e]);for(var t in u)A(t);k();}(),p;};var n={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),!s.type.Number(e))throw ['Invalid value for option "offset":',e];return e;},triggerElement:function(e){if(e=e||void 0){var t=s.get.elements(e)[0];if(!t||!t.parentNode)throw ['Element defined in option "triggerElement" was not found:',e];e=t;}return e;},triggerHook:function(e){var t={onCenter:.5,onEnter:1,onLeave:0};if(s.type.Number(e))e=Math.max(0,Math.min(parseFloat(e),1));else{if(!(e in t))throw ['Invalid value for option "triggerHook": ',e];e=t[e];}return e;},reverse:function(e){return !!e;},loglevel:function(e){if(e=parseInt(e),!s.type.Number(e)||e<0||e>3)throw ['Invalid value for option "loglevel":',e];return e;}},shifts:["duration","offset","triggerHook"]};e.Scene.addOption=function(t,i,s,r){t in n.defaults?e._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+t+"', because it already exists."):(n.defaults[t]=i,n.validate[t]=s,r&&n.shifts.push(t));},e.Scene.extend=function(t){var i=this;e.Scene=function(){return i.apply(this,arguments),this.$super=s.extend({},this),t.apply(this,arguments)||this;},s.extend(e.Scene,i),e.Scene.prototype=i.prototype,e.Scene.prototype.constructor=e.Scene;},e.Event=function(e,t,i,n){for(var s in n=n||{})this[s]=n[s];return this.type=e,this.target=this.currentTarget=i,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this;};var s=e._util=function(e){var t,i={},n=function(e){return parseFloat(e)||0;},s=function(t){return t.currentStyle?t.currentStyle:e.getComputedStyle(t);},r=function(t,i,r,a){if((i=i===document?e:i)===e)a=!1;else{if(!f.DomElement(i))return 0;}t=t.charAt(0).toUpperCase()+t.substr(1).toLowerCase();var o=(r?i["offset"+t]||i["outer"+t]:i["client"+t]||i["inner"+t])||0;if(r&&a){var l=s(i);o+="Height"===t?n(l.marginTop)+n(l.marginBottom):n(l.marginLeft)+n(l.marginRight);}return o;},a=function(e){return e.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,(function(e){return e[1].toUpperCase();}));};i.extend=function(e){for(e=e||{},t=1;t<arguments.length;t++)if(arguments[t])for(var i in arguments[t])arguments[t].hasOwnProperty(i)&&(e[i]=arguments[t][i]);return e;},i.isMarginCollapseType=function(e){return ["block","flex","list-item","table","-webkit-box"].indexOf(e)>-1;};var o=0,l=["ms","moz","webkit","o"],d=e.requestAnimationFrame,c=e.cancelAnimationFrame;for(t=0;!d&&t<l.length;++t)d=e[l[t]+"RequestAnimationFrame"],c=e[l[t]+"CancelAnimationFrame"]||e[l[t]+"CancelRequestAnimationFrame"];d||(d=function(t){var i=(new Date()).getTime(),n=Math.max(0,16-(i-o)),s=e.setTimeout((function(){t(i+n);}),n);return o=i+n,s;}),c||(c=function(t){e.clearTimeout(t);}),i.rAF=d.bind(e),i.cAF=c.bind(e);var u=["error","warn","log"],p=e.console||{};for(p.log=p.log||function(){},t=0;t<u.length;t++){var h=u[t];p[h]||(p[h]=p.log);}i.log=function(e){(e>u.length||e<=0)&&(e=u.length);var t=new Date(),i=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2)+":"+("0"+t.getSeconds()).slice(-2)+":"+("00"+t.getMilliseconds()).slice(-3),n=u[e-1],s=Array.prototype.splice.call(arguments,1),r=Function.prototype.bind.call(p[n],p);s.unshift(i),r.apply(p,s);};var f=i.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase();};f.String=function(e){return "string"===f(e);},f.Function=function(e){return "function"===f(e);},f.Array=function(e){return Array.isArray(e);},f.Number=function(e){return !f.Array(e)&&e-parseFloat(e)+1>=0;},f.DomElement=function(e){return "object"==typeof HTMLElement||"function"==typeof HTMLElement?e instanceof HTMLElement||e instanceof SVGElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName;};var m=i.get={};return m.elements=function(t){var i=[];if(f.String(t))try{t=document.querySelectorAll(t);}catch(e){return i;}if("nodelist"===f(t)||f.Array(t)||t instanceof NodeList)for(var n=0,s=i.length=t.length;n<s;n++){var r=t[n];i[n]=f.DomElement(r)?r:m.elements(r);}else (f.DomElement(t)||t===document||t===e)&&(i=[t]);return i;},m.scrollTop=function(t){return t&&"number"==typeof t.scrollTop?t.scrollTop:e.pageYOffset||0;},m.scrollLeft=function(t){return t&&"number"==typeof t.scrollLeft?t.scrollLeft:e.pageXOffset||0;},m.width=function(e,t,i){return r("width",e,t,i);},m.height=function(e,t,i){return r("height",e,t,i);},m.offset=function(e,t){var i={top:0,left:0};if(e&&e.getBoundingClientRect){var n=e.getBoundingClientRect();i.top=n.top,i.left=n.left,t||(i.top+=m.scrollTop(),i.left+=m.scrollLeft());}return i;},i.addClass=function(e,t){t&&(e.classList?e.classList.add(t):e.className+=" "+t);},i.removeClass=function(e,t){t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "));},i.css=function(e,t){if(f.String(t))return s(e)[a(t)];if(f.Array(t)){var i={},n=s(e);return t.forEach((function(e,t){i[e]=n[a(e)];})),i;}for(var r in t){var o=t[r];o==parseFloat(o)&&(o+="px"),e.style[a(r)]=o;}},i;}(window||{});return e.Scene.prototype.addIndicators=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling addIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this;},e.Scene.prototype.removeIndicators=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this;},e.Scene.prototype.setTween=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this;},e.Scene.prototype.removeTween=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this;},e.Scene.prototype.setVelocity=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this;},e.Scene.prototype.removeVelocity=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this;},e;},void 0===(s=n.call(t,i,t,e))||(e.exports=s);},371:(e,t,i)=>{var n;!function(){function s(e,t,i){return e.call.apply(e.bind,arguments);}function r(e,t,i){if(!e)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var i=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(i,n),e.apply(t,i);};}return function(){return e.apply(t,arguments);};}function a(e,t,i){return (a=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?s:r).apply(null,arguments);}var o=Date.now||function(){return +new Date();};function l(e,t){this.a=e,this.o=t||e,this.c=this.o.document;}var d=!!window.FontFace;function c(e,t,i,n){if(t=e.c.createElement(t),i)for(var s in i)i.hasOwnProperty(s)&&("style"==s?t.style.cssText=i[s]:t.setAttribute(s,i[s]));return n&&t.appendChild(e.c.createTextNode(n)),t;}function u(e,t,i){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(i,e.lastChild);}function p(e){e.parentNode&&e.parentNode.removeChild(e);}function h(e,t,i){t=t||[],i=i||[];for(var n=e.className.split(/\s+/),s=0;s<t.length;s+=1){for(var r=!1,a=0;a<n.length;a+=1)if(t[s]===n[a]){r=!0;break;}r||n.push(t[s]);}for(t=[],s=0;s<n.length;s+=1){for(r=!1,a=0;a<i.length;a+=1)if(n[s]===i[a]){r=!0;break;}r||t.push(n[s]);}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"");}function f(e,t){for(var i=e.className.split(/\s+/),n=0,s=i.length;n<s;n++)if(i[n]==t)return !0;return !1;}
15function m(e,t,i){function n(){o&&s&&r&&(o(a),o=null);}t=c(e,"link",{rel:"stylesheet",href:t,media:"all"});var s=!1,r=!0,a=null,o=i||null;d?(t.onload=function(){s=!0,n();},t.onerror=function(){s=!0,a=Error("Stylesheet failed to load"),n();}):setTimeout((function(){s=!0,n();}),0),u(e,"head",t);}function g(e,t,i,n){var s=e.c.getElementsByTagName("head")[0];if(s){var r=c(e,"script",{src:t}),a=!1;return r.onload=r.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,i&&i(null),r.onload=r.onreadystatechange=null,"HEAD"==r.parentNode.tagName&&s.removeChild(r));},s.appendChild(r),setTimeout((function(){a||(a=!0,i&&i(Error("Script load timeout")));}),n||5e3),r;}return null;}function v(){this.a=0,this.c=null;}function y(e){return e.a++,function(){e.a--,b(e);};}function w(e,t){e.c=t,b(e);}function b(e){0==e.a&&e.c&&(e.c(),e.c=null);}function S(e){this.a=e||"-";}function E(e,t){this.c=e,this.f=4,this.a="n";var i=(t||"n4").match(/^([nio])([1-9])$/i);i&&(this.a=i[1],this.f=parseInt(i[2],10));}function T(e){var t=[];e=e.split(/,\s*/);for(var i=0;i<e.length;i++){var n=e[i].replace(/['"]/g,"");-1!=n.indexOf(" ")||/^\d/.test(n)?t.push("'"+n+"'"):t.push(n);}return t.join(",");}function x(e){return e.a+e.f;}function L(e){var t="normal";return "o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t;}function C(e){var t=4,i="n",n=null;return e&&((n=e.match(/(normal|oblique|italic)/i))&&n[1]&&(i=n[1].substr(0,1).toLowerCase()),(n=e.match(/([1-9]00|normal|bold)/i))&&n[1]&&(/bold/i.test(n[1])?t=7:/[1-9]00/.test(n[1])&&(t=parseInt(n[1].substr(0,1),10)))),i+t;}function M(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new S("-"),this.j=!1!==t.events,this.g=!1!==t.classes;}function k(e){if(e.g){var t=f(e.f,e.a.c("wf","active")),i=[],n=[e.a.c("wf","loading")];t||i.push(e.a.c("wf","inactive")),h(e.f,i,n);}P(e,"inactive");}function P(e,t,i){e.j&&e.h[t]&&(i?e.h[t](i.c,x(i)):e.h[t]());}function A(){this.c={};}function z(e,t){this.c=e,this.f=t,this.a=c(this.c,"span",{"aria-hidden":"true"},this.f);}function _(e){u(e.c,"body",e.a);}function O(e){return "display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+T(e.c)+";font-style:"+L(e)+";font-weight:"+e.f+"00;";}function I(e,t,i,n,s,r){this.g=e,this.j=t,this.a=n,this.c=i,this.f=s||3e3,this.h=r||void 0;}function D(e,t,i,n,s,r,a){this.v=e,this.B=t,this.c=i,this.a=n,this.s=a||"BESbswy",this.f={},this.w=s||3e3,this.u=r||null,this.m=this.j=this.h=this.g=null,this.g=new z(this.c,this.s),this.h=new z(this.c,this.s),this.j=new z(this.c,this.s),this.m=new z(this.c,this.s),e=O(e=new E(this.a.c+",serif",x(this.a))),this.g.a.style.cssText=e,e=O(e=new E(this.a.c+",sans-serif",x(this.a))),this.h.a.style.cssText=e,e=O(e=new E("serif",x(this.a))),this.j.a.style.cssText=e,e=O(e=new E("sans-serif",x(this.a))),this.m.a.style.cssText=e,_(this.g),_(this.h),_(this.j),_(this.m);}S.prototype.c=function(e){for(var t=[],i=0;i<arguments.length;i++)t.push(arguments[i].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a);},I.prototype.start=function(){var e=this.c.o.document,t=this,i=o(),n=new Promise((function(n,s){!function r(){o()-i>=t.f?s():e.fonts.load(function(e){return L(e)+" "+e.f+"00 300px "+T(e.c);}(t.a),t.h).then((function(e){1<=e.length?n():setTimeout(r,25);}),(function(){s();}));}();})),s=null,r=new Promise((function(e,i){s=setTimeout(i,t.f);}));Promise.race([r,n]).then((function(){s&&(clearTimeout(s),s=null),t.g(t.a);}),(function(){t.j(t.a);}));};var N={D:"serif",C:"sans-serif"},R=null;function B(){if(null===R){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);R=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10));}return R;}function F(e,t,i){for(var n in N)if(N.hasOwnProperty(n)&&t===e.f[N[n]]&&i===e.f[N[n]])return !0;return !1;}function q(e){var t,i=e.g.a.offsetWidth,n=e.h.a.offsetWidth;(t=i===e.f.serif&&n===e.f["sans-serif"])||(t=B()&&F(e,i,n)),t?o()-e.A>=e.w?B()&&F(e,i,n)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?G(e,e.v):G(e,e.B):function(e){setTimeout(a((function(){q(this);}),e),50);}(e):G(e,e.v);}function G(e,t){setTimeout(a((function(){p(this.g.a),p(this.h.a),p(this.j.a),p(this.m.a),t(this.a);}),e),0);}function H(e,t,i){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=i;}D.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=o(),q(this);};var $=null;function j(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&h(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),P(e,"active")):k(e.a));}function V(e){this.j=e,this.a=new A(),this.h=0,this.f=this.g=!0;}function W(e,t,i,n,s){var r=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=s||null,o=n||{};if(0===i.length&&r)k(t.a);else{t.f+=i.length,r&&(t.j=r);var l,d=[];for(l=0;l<i.length;l++){var c=i[l],u=o[c.c],p=t.a,f=c;if(p.g&&h(p.f,[p.a.c("wf",f.c,x(f).toString(),"loading")]),P(p,"fontloading",f),p=null,null===$)if(window.FontFace){f=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);$=f?42<parseInt(f[1],10):!m;}else $=!1;p=$?new I(a(t.g,t),a(t.h,t),t.c,c,t.s,u):new D(a(t.g,t),a(t.h,t),t.c,c,t.s,e,u),d.push(p);}for(l=0;l<d.length;l++)d[l].start();}}),0);}function Y(e,t){this.c=e,this.a=t;}function X(e,t){this.c=e,this.a=t;}function U(e,t){this.c=e||K,this.a=[],this.f=[],this.g=t||"";}H.prototype.g=function(e){var t=this.a;
15t.g&&h(t.f,[t.a.c("wf",e.c,x(e).toString(),"active")],[t.a.c("wf",e.c,x(e).toString(),"loading"),t.a.c("wf",e.c,x(e).toString(),"inactive")]),P(t,"fontactive",e),this.m=!0,j(this);},H.prototype.h=function(e){var t=this.a;if(t.g){var i=f(t.f,t.a.c("wf",e.c,x(e).toString(),"active")),n=[],s=[t.a.c("wf",e.c,x(e).toString(),"loading")];i||n.push(t.a.c("wf",e.c,x(e).toString(),"inactive")),h(t.f,n,s);}P(t,"fontinactive",e),j(this);},V.prototype.load=function(e){this.c=new l(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,i){var n=[],s=i.timeout;!function(e){e.g&&h(e.f,[e.a.c("wf","loading")]),P(e,"loading");}(t),n=function(e,t,i){var n,s=[];for(n in t)if(t.hasOwnProperty(n)){var r=e.c[n];r&&s.push(r(t[n],i));}return s;}(e.a,i,e.c);var r=new H(e.c,t,s);for(e.h=n.length,t=0,i=n.length;t<i;t++)n[t].load((function(t,i,n){W(e,r,t,i,n);}));}(this,new M(this.c,e),e);},Y.prototype.load=function(e){function t(){if(r["__mti_fntLst"+n]){var i,s=r["__mti_fntLst"+n](),a=[];if(s)for(var o=0;o<s.length;o++){var l=s[o].fontfamily;null!=s[o].fontStyle&&null!=s[o].fontWeight?(i=s[o].fontStyle+s[o].fontWeight,a.push(new E(l,i))):a.push(new E(l));}e(a);}else setTimeout((function(){t();}),50);}var i=this,n=i.a.projectId,s=i.a.version;if(n){var r=i.c.o;g(this.c,(i.a.api||"https://fast.fonts.net/jsapi")+"/"+n+".js"+(s?"?v="+s:""),(function(s){s?e([]):(r["__MonotypeConfiguration__"+n]=function(){return i.a;},t());})).id="__MonotypeAPIScript__"+n;}else e([]);},X.prototype.load=function(e){var t,i,n=this.a.urls||[],s=this.a.families||[],r=this.a.testStrings||{},a=new v();for(t=0,i=n.length;t<i;t++)m(this.c,n[t],y(a));var o=[];for(t=0,i=s.length;t<i;t++)if((n=s[t].split(":"))[1])for(var l=n[1].split(","),d=0;d<l.length;d+=1)o.push(new E(n[0],l[d]));else o.push(new E(n[0]));w(a,(function(){e(o,r);}));};var K="https://fonts.googleapis.com/css";function J(e){this.f=e,this.a=[],this.c={};}var Z={latin:"BESbswy","latin-ext":"çöüÄÅ",cyrillic:"йÑÐ",greek:"αβΣ",khmer:"ááá",Hanuman:"ááá"},Q={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ie(e,t){this.c=e,this.a=t;}var ne={Arimo:!0,Cousine:!0,Tinos:!0};function se(e,t){this.c=e,this.a=t;}function re(e,t){this.c=e,this.f=t,this.a=[];}ie.prototype.load=function(e){var t=new v(),i=this.c,n=new U(this.a.api,this.a.text),s=this.a.families;!function(e,t){for(var i=t.length,n=0;n<i;n++){var s=t[n].split(":");3==s.length&&e.f.push(s.pop());var r="";2==s.length&&""!=s[1]&&(r=":"),e.a.push(s.join(r));}}(n,s);var r=new J(s);!function(e){for(var t=e.f.length,i=0;i<t;i++){var n=e.f[i].split(":"),s=n[0].replace(/\+/g," "),r=["n4"];if(2<=n.length){var a;if(a=[],o=n[1])for(var o,l=(o=o.split(",")).length,d=0;d<l;d++){var c;if((c=o[d]).match(/^[\w-]+$/))if(null==(u=te.exec(c.toLowerCase())))c="";else{if(c=null==(c=u[2])||""==c?"n":ee[c],null==(u=u[1])||""==u)u="4";else var u=Q[u]||(isNaN(u)?"4":u.substr(0,1));c=[c,u].join("");}else c="";c&&a.push(c);}0<a.length&&(r=a),3==n.length&&(a=[],0<(n=(n=n[2])?n.split(","):a).length&&(n=Z[n[0]])&&(e.c[s]=n));}for(e.c[s]||(n=Z[s])&&(e.c[s]=n),n=0;n<r.length;n+=1)e.a.push(new E(s,r[n]));}}(r),m(i,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,i=[],n=0;n<t;n++)i.push(e.a[n].replace(/ /g,"+"));return t=e.c+"?family="+i.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t;}(n),y(t)),w(t,(function(){e(r.a,r.c,ne);}));},se.prototype.load=function(e){var t=this.a.id,i=this.c.o;t?g(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else{if(i.Typekit&&i.Typekit.config&&i.Typekit.config.fn){t=i.Typekit.config.fn;for(var n=[],s=0;s<t.length;s+=2)for(var r=t[s],a=t[s+1],o=0;o<a.length;o++)n.push(new E(r,a[o]));try{i.Typekit.load({events:!1,classes:!1,async:!0});}catch(e){}e(n);}}}),2e3):e([]);},re.prototype.load=function(e){var t=this.f.id,i=this.c.o,n=this;t?(i.__webfontfontdeckmodule__||(i.__webfontfontdeckmodule__={}),i.__webfontfontdeckmodule__[t]=function(t,i){for(var s=0,r=i.fonts.length;s<r;++s){var a=i.fonts[s];n.a.push(new E(a.name,C("font-weight:"+a.weight+";font-style:"+a.style)));}e(n.a);},g(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname;}(this.c)+"/"+t+".js",(function(t){t&&e([]);}))):e([]);};var ae=new V(window);ae.a.c.custom=function(e,t){return new X(t,e);}
15,ae.a.c.fontdeck=function(e,t){return new re(t,e);},ae.a.c.monotype=function(e,t){return new Y(t,e);},ae.a.c.typekit=function(e,t){return new se(t,e);},ae.a.c.google=function(e,t){return new ie(t,e);};var oe={load:a(ae.load,ae)};void 0===(n=function(){return oe;}.call(t,i,t,e))||(e.exports=n);}();}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var r=t[n]={exports:{}};return e[n].call(r.exports,r,r.exports,i),r.exports;}i.n=(e)=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t;},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]});},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";i(879);const e=class{constructor(e,t){this.element=this.getTarget(e),this.callback=this.normalizeCallbackParams(t),this.inside=!1,this.scopeOnScroll=this.onScroll.bind(this),this.init();}init(){null!==this.element&&(window.addEventListener("scroll",this.scopeOnScroll),window.addEventListener("resize",this.scopeOnScroll),setTimeout((()=>{this.onScroll();}),1));}onScroll(){const e=this.element.getBoundingClientRect(),t=window.innerHeight;let i=(t-e.top)/(t+e.height),n=Math.min(1,Math.max(0,i)),s=e.top/t;s=Math.min(1,Math.max(0,s));let r=e.bottom/t;r=Math.min(1,Math.max(0,r));const a={target:this.element,percent:n,topInView:s,bottomInView:r};this.isInside(i,a),this.isOutside(i,a);}isInside(e,t){e>=0&&e<=1&&(t.isInside=this.inside,this.inside||(this.inside=!0,t.inside=this.inside,this.callback.onInside(t,this)),this.callback.onScrollInside(t,this));}isOutside(e,t){(e<0||e>1)&&this.inside&&(this.inside=!1,t.inside=this.inside,this.callback.onOutside(t,this));}destroy(){window.removeEventListener("scroll",this.scopeOnScroll),window.removeEventListener("resize",this.scopeOnScroll);}getTarget(e){return "string"==typeof e?document.querySelector(e):e instanceof Element?e:null;}normalizeCallbackParams(e){const t={onScrollInside:(e,t)=>{},onInside:(e,t)=>{},onOutside:(e,t)=>{}};return "object"==typeof e?{...t,...e}:t;}},t={"bottom-to-top":(e)=>{t.onlyCssAnimation(e);},opacity:(e)=>{t.onlyCssAnimation(e);},"card-bottom-to-top":(e)=>{t.onlyCssAnimation(e);},"right-to-left":(e)=>{t.onlyCssAnimation(e);},"left-to-right":(e)=>{t.onlyCssAnimation(e);},onlyCssAnimation:(t)=>{const i=t.dataset.animmThreshold-0||.9,n=t.dataset.animmDelay-0||0;new e(t,{onScrollInside:(e,s)=>{e.topInView<=i&&(s.destroy(),setTimeout((()=>{t.classList.add("start-animation");}),n));}});}},n=(e)=>{const i=e.dataset.animm;t.hasOwnProperty(i)&&t[i](e);},s=()=>{(()=>{const e=document.querySelector(".booking");if(!e)return;const t=e.querySelectorAll(".block-tabs__head .block-tabs__head--item"),i=e.querySelectorAll(".block-tabs__body > div");t.length&&i.length&&t.forEach(((n)=>{n.addEventListener("click",((s)=>{s.preventDefault();const r=n.getAttribute("data-tab");if(r){const s=e.querySelector(`.block-tabs__content[data-tab='${r}']`);o=s,i.forEach(((e)=>{e.classList.remove("active"),e.classList.remove("fade-in");})),o.classList.add("active"),setTimeout((()=>{o.classList.add("fade-in");}),50),a=n,t.forEach(((e)=>{e.setAttribute("aria-selected","false"),e.classList.remove("active");})),a.classList.add("active"),a.setAttribute("aria-selected","true");}var a,o;}));}));})();};class r{constructor(e){this.element=this.getTarget(e),this.dataParallign=this.element.dataset.parallign,this.breakpoints=this.buildData(this.dataParallign),this.breakpoint=void 0,this.init();}init(){null!=this.element&&this.breakpoints&&(window.addEventListener("resize",this.setBreakpoint.bind(this)),this.setBreakpoint(),new e(this.element,{onScrollInside:this.positionElement.bind(this)}));}positionElement(e){if(this.breakpoint){let t=this.breakpoint.offset+this.breakpoint.shift*e.percent;this.element.style.transform=`translate3d(0, ${t}px, 0)`;}else "none"!=this.element.style.transform&&(this.element.style.transform="none");}setBreakpoint(){const e=window.innerWidth;this.breakpoint=!1;for(const t in this.breakpoints)e>=t&&(this.breakpoint=this.breakpoints[t]);}buildData(e){if(void 0===e)return !1;const t={};return e.split("|").forEach(((e,i)=>{const n=e.split(":"),s=n[0],r=n[1].split(","),a=parseInt(r[0]),o=void 0!==r[1]?parseInt(r[1]):-.5*a;t[s]={shift:a,offset:o};})),t;}getTarget(e){return "string"==typeof e?document.querySelector(e):e instanceof Element?e:null;}}const a=class{constructor(){this.elements=document.querySelectorAll("[data-parallign]"),this.init();}
15init(){this.elements.length<1||this.elements.forEach(((e)=>{this.set(e);}));}set(e){new r(e);}};var o=i(317),l=i.n(o),d=i(131),c=i.n(d);function u(e){return null!==e&&"object"==typeof e&&"constructor" in e&&e.constructor===Object;}function p(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(((i)=>{void 0===e[i]?e[i]=t[i]:u(t[i])&&u(e[i])&&Object.keys(t[i]).length>0&&p(e[i],t[i]);}));}const h={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 f(){const e="undefined"!=typeof document?document:{};return p(e,h),e;}const m={document:h,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 g(){const e="undefined"!=typeof window?window:{};return p(e,m),e;}function v(e,t){return void 0===t&&(t=0),setTimeout(e,t);}function y(){return Date.now();}function w(e){return "object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1);}function b(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const s=n<0||arguments.length<=n?void 0:arguments[n];if(null!=s&&(i=s,!("undefined"!=typeof window&&void 0!==window.HTMLElement?i instanceof HTMLElement:i&&(1===i.nodeType||11===i.nodeType)))){const i=Object.keys(Object(s)).filter(((e)=>t.indexOf(e)<0));for(let t=0,n=i.length;t<n;t+=1){const n=i[t],r=Object.getOwnPropertyDescriptor(s,n);void 0!==r&&r.enumerable&&(w(e[n])&&w(s[n])?s[n].__swiper__?e[n]=s[n]:b(e[n],s[n]):!w(e[n])&&w(s[n])?(e[n]={},s[n].__swiper__?e[n]=s[n]:b(e[n],s[n])):e[n]=s[n]);}}}var i;return e;}function S(e,t,i){e.style.setProperty(t,i);}function E(e){let {swiper:t,targetPosition:i,side:n}=e;const s=g(),r=-t.translate;let a,o=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(t.cssModeFrameID);const d=i>r?"next":"prev",c=(e,t)=>"next"===d&&e>=t||"prev"===d&&e<=t,u=()=>{a=(new Date()).getTime(),null===o&&(o=a);const e=Math.max(Math.min((a-o)/l,1),0),d=.5-Math.cos(e*Math.PI)/2;let p=r+d*(i-r);if(c(p,i)&&(p=i),t.wrapperEl.scrollTo({[n]:p}),c(p,i))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:p});})),void s.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=s.requestAnimationFrame(u);};u();}function T(e,t){return void 0===t&&(t=""),[...e.children].filter(((e)=>e.matches(t)));}function x(e){try{return void console.warn(e);}catch(e){}}function L(e,t){void 0===t&&(t=[]);const i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter(((e)=>!!e.trim()));}(t)),i;}function C(e,t){return g().getComputedStyle(e,null).getPropertyValue(t);}function M(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t;}}function k(e,t){const i=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&i.push(n):i.push(n),n=n.parentElement;return i;}function P(e,t,i){const n=g();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;}function A(e){return (Array.isArray(e)?e:[e]).filter(((e)=>!!e));}let z,_,O;function I(){return z||(z=function(){const e=g(),t=f();return {smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior" in t.documentElement.style,touch:!!("ontouchstart" in e||e.DocumentTouch&&t instanceof e.DocumentTouch)};}()),z;}function D(e){return void 0===e&&(e={}),_||(_=function(e){let {userAgent:t}=void 0===e?{}:e;
15const i=I(),n=g(),s=n.navigator.platform,r=t||n.navigator.userAgent,a={ios:!1,android:!1},o=n.screen.width,l=n.screen.height,d=r.match(/(Android);?[\s\/]+([\d.]+)?/);let c=r.match(/(iPad).*OS\s([\d_]+)/);const u=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===s;let f="MacIntel"===s;return !c&&f&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${l}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),f=!1),d&&!h&&(a.os="android",a.android=!0),(c||p||u)&&(a.os="ios",a.ios=!0),a;}(e)),_;}var N={on(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const s=i?"unshift":"push";return e.split(" ").forEach(((e)=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t);})),n;},once(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function s(){n.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];t.apply(n,r);}return s.__emitterProxy=t,n.on(e,s,i);},onAny(e,t){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof e)return i;const n=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[n](e),i;},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t;},off(e,t){const i=this;return !i.eventsListeners||i.destroyed?i:i.eventsListeners?(e.split(" ").forEach(((e)=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(((n,s)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(s,1);}));})),i):i;},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,i,n;for(var s=arguments.length,r=new Array(s),a=0;a<s;a++)r[a]=arguments[a];return "string"==typeof r[0]||Array.isArray(r[0])?(t=r[0],i=r.slice(1,r.length),n=e):(t=r[0].events,i=r[0].data,n=r[0].context||e),i.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEach(((t)=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(((e)=>{e.apply(n,[t,...i]);})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(((e)=>{e.apply(n,i);}));})),e;}};const R=(e,t)=>{if(!e||e.destroyed||!e.params)return;const i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove());}))),t&&t.remove();}},B=(e,t)=>{if(!e.slides[t])return;const i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading");},F=(e)=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);const n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),s=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const i=s,r=[i-t];return r.push(...Array.from({length:t}).map(((e,t)=>i+n+t))),void e.slides.forEach(((t,i)=>{r.includes(t.column)&&B(e,i);}));}const r=s+n-1;if(e.params.rewind||e.params.loop){for(let n=s-t;n<=r+t;n+=1){const t=(n%i+i)%i;(t<s||t>r)&&B(e,t);}}else{for(let n=Math.max(s-t,0);n<=Math.min(r+t,i-1);n+=1)n!==s&&(n>r||n<s)&&B(e,n);}};var q={updateSize:function(){const e=this;let t,i;const n=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n.clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n.clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(C(n,"padding-left")||0,10)-parseInt(C(n,"padding-right")||0,10),i=i-parseInt(C(n,"padding-top")||0,10)-parseInt(C(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}));},updateSlides:function(){const e=this;function t(t,i){return parseFloat(t.getPropertyValue(e.getDirectionLabel(i))||0);}const i=e.params,{wrapperEl:n,slidesEl:s,size:r,rtlTranslate:a,wrongRTL:o}=e,l=e.virtual&&i.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,c=T(s,`.${e.params.slideClass}, swiper-slide`),u=l?e.virtual.slides.length:c.length;let p=[];const h=[],f=[];let m=i.slidesOffsetBefore;"function"==typeof m&&(m=i.slidesOffsetBefore.call(e));let g=i.slidesOffsetAfter;"function"==typeof g&&(g=i.slidesOffsetAfter.call(e));const v=e.snapGrid.length,y=e.slidesGrid.length;let w=i.spaceBetween,b=-m,E=0,x=0;if(void 0===r)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*r:"string"==typeof w&&(w=parseFloat(w)),e.virtualSize=-w,c.forEac
15h(((e)=>{a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop="";})),i.centeredSlides&&i.cssMode&&(S(n,"--swiper-centered-offset-before",""),S(n,"--swiper-centered-offset-after",""));const L=i.grid&&i.grid.rows>1&&e.grid;let M;L?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const k="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(((e)=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let n=0;n<u;n+=1){let s;if(M=0,c[n]&&(s=c[n]),L&&e.grid.updateSlide(n,s,c),!c[n]||"none"!==C(s,"display")){if("auto"===i.slidesPerView){k&&(c[n].style[e.getDirectionLabel("width")]="");const r=getComputedStyle(s),a=s.style.transform,o=s.style.webkitTransform;if(a&&(s.style.transform="none"),o&&(s.style.webkitTransform="none"),i.roundLengths)M=e.isHorizontal()?P(s,"width",!0):P(s,"height",!0);else{const e=t(r,"width"),i=t(r,"padding-left"),n=t(r,"padding-right"),a=t(r,"margin-left"),o=t(r,"margin-right"),l=r.getPropertyValue("box-sizing");if(l&&"border-box"===l)M=e+a+o;else{const {clientWidth:t,offsetWidth:r}=s;M=e+i+n+a+o+(r-t);}}a&&(s.style.transform=a),o&&(s.style.webkitTransform=o),i.roundLengths&&(M=Math.floor(M));}else M=(r-(i.slidesPerView-1)*w)/i.slidesPerView,i.roundLengths&&(M=Math.floor(M)),c[n]&&(c[n].style[e.getDirectionLabel("width")]=`${M}px`);c[n]&&(c[n].swiperSlideSize=M),f.push(M),i.centeredSlides?(b=b+M/2+E/2+w,0===E&&0!==n&&(b=b-r/2-w),0===n&&(b=b-r/2-w),Math.abs(b)<.001&&(b=0),i.roundLengths&&(b=Math.floor(b)),x%i.slidesPerGroup==0&&p.push(b),h.push(b)):(i.roundLengths&&(b=Math.floor(b)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&p.push(b),h.push(b),b=b+M+w),e.virtualSize+=M+w,E=M,x+=1;}}if(e.virtualSize=Math.max(e.virtualSize,r)+g,a&&o&&("slide"===i.effect||"coverflow"===i.effect)&&(n.style.width=`${e.virtualSize+w}px`),i.setWrapperSize&&(n.style[e.getDirectionLabel("width")]=`${e.virtualSize+w}px`),L&&e.grid.updateWrapperSize(M,p),!i.centeredSlides){const t=[];for(let n=0;n<p.length;n+=1){let s=p[n];i.roundLengths&&(s=Math.floor(s)),p[n]<=e.virtualSize-r&&t.push(s);}p=t,Math.floor(e.virtualSize-r)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-r);}if(l&&i.loop){const t=f[0]+w;if(i.slidesPerGroup>1){const n=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/i.slidesPerGroup),s=t*i.slidesPerGroup;for(let e=0;e<n;e+=1)p.push(p[p.length-1]+s);}for(let n=0;n<e.virtual.slidesBefore+e.virtual.slidesAfter;n+=1)1===i.slidesPerGroup&&p.push(p[p.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t;}if(0===p.length&&(p=[0]),0!==w){const t=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");c.filter(((e,t)=>!(i.cssMode&&!i.loop)||t!==c.length-1)).forEach(((e)=>{e.style[t]=`${w}px`;}));}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;f.forEach(((t)=>{e+=t+(w||0);})),e-=w;const t=e-r;p=p.map(((e)=>e<=0?-m:e>t?t+g:e));}if(i.centerInsufficientSlides){let e=0;if(f.forEach(((t)=>{e+=t+(w||0);})),e-=w,e<r){const t=(r-e)/2;p.forEach(((e,i)=>{p[i]=e-t;})),h.forEach(((e,i)=>{h[i]=e+t;}));}}if(Object.assign(e,{slides:c,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){S(n,"--swiper-centered-offset-before",-p[0]+"px"),S(n,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(((e)=>e+t)),e.slidesGrid=e.slidesGrid.map(((e)=>e+i));}if(u!==d&&e.emit("slidesLengthChange"),p.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==y&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,n=e.el.classList.contains(t);u<=i.maxBackfaceHiddenSlides?n||e.el.classList.add(t):n&&e.el.classList.remove(t);}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let s,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=(e)=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>
151)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(((e)=>{i.push(e);}));else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){const e=t.activeIndex+s;if(e>t.slides.length&&!n)break;i.push(a(e));}else i.push(a(t.activeIndex));for(s=0;s<i.length;s+=1)if(void 0!==i[s]){const e=i[s].offsetHeight;r=e>r?e:r;}(r||0===r)&&(t.wrapperEl.style.height=`${r}px`);},updateSlidesOffset:function(){const e=this,t=e.slides,i=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=(e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop)-i-e.cssOverflowAdjustment();},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,i=t.params,{slides:n,rtlTranslate:s,snapGrid:r}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;s&&(a=e),n.forEach(((e)=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass);})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=i.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<n.length;e+=1){const l=n[e];let d=l.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const c=(a+(i.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),u=(a-r[0]+(i.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),p=-(a-d),h=p+t.slidesSizesGrid[e],f=p>=0&&p<=t.size-t.slidesSizesGrid[e];(p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),n[e].classList.add(i.slideVisibleClass)),f&&n[e].classList.add(i.slideFullyVisibleClass),l.progress=s?-c:c,l.originalProgress=s?-u:u;}},updateProgress:function(e){const 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:s,isBeginning:r,isEnd:a,progressLoop:o}=t;const l=r,d=a;if(0===n)s=0,r=!0,a=!0;else{s=(e-t.minTranslate())/n;const i=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;r=i||s<=0,a=o||s>=1,i&&(s=0),o&&(s=1);}if(i.loop){const i=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),s=t.slidesGrid[i],r=t.slidesGrid[n],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=s?(l-s)/a:(l+a-r)/a,o>1&&(o-=1);}Object.assign(t,{progress:s,progressLoop:o,isBeginning:r,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),a&&!d&&t.emit("reachEnd toEdge"),(l&&!r||d&&!a)&&t.emit("fromEdge"),t.emit("progress",s);},updateSlidesClasses:function(){const e=this,{slides:t,params:i,slidesEl:n,activeIndex:s}=e,r=e.virtual&&i.virtual.enabled,a=e.grid&&i.grid&&i.grid.rows>1,o=(e)=>T(n,`.${i.slideClass}${e}, swiper-slide${e}`)[0];let l,d,c;if(t.forEach(((e)=>{e.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass);})),r)if(i.loop){let t=s-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${t}"]`);}else l=o(`[data-swiper-slide-index="${s}"]`);else a?(l=t.filter(((e)=>e.column===s))[0],c=t.filter(((e)=>e.column===s+1))[0],d=t.filter(((e)=>e.column===s-1))[0]):l=t[s];l&&(l.classList.add(i.slideActiveClass),a?(c&&c.classList.add(i.slideNextClass),d&&d.classList.add(i.slidePrevClass)):(c=function(e,t){const i=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n;}return i;}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=t[0]),c&&c.classList.add(i.slideNextClass),d=function(e,t){const i=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n;}return i;}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&0===!d&&(d=t[t.length-1]),d&&d.classList.add(i.slidePrevClass))),e.emitSlidesClasses();},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:s,activeIndex:r,realIndex:a,snapIndex:o}=t;let l,d=e;const c=(e)=>{let i=e-t.virtual.slidesBefore;return i<0&&(i=t.virtual.slides.length+i),i>=t.virtual.slides.length&&(i-=t.virtual.slides.length),i;};if(void 0===d&&(d=function(e){const {slidesGrid:t,params:i}=e,n=e.rtlTranslate?e.translate:-e.translate;let s;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?s=e:n>=t[e]&&n<t[e+1]&&(s=e+1):n>=t[e]&&(s=e);return i.normalizeSlideIndex&&(s<0||void 0===s)&&(s=0),s;}(t)),n.indexOf(i)>=0)l=n.indexOf(i);else{const e=Math.min(s.slidesPerGroupSkip,d);l=e+Math.floor((d-e)/s.slidesPerGroup);}if(l>=n.length&&(l=n.length-1),d===r&&!t.params.loop)return void (l!==o&&(t.snapIndex=l,t.emit("snapIndexChange")));if(d===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void (t.realIndex=c(d));const u=t.grid&&s.grid&&s.grid.rows>1;let p;if(t.virtual&&s.virtual.enabled&&s.loop)p=c(d);else if(u){const e=t.slides.filter(((e)=>e.column===d))[0];let i=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(t.slides.indexOf(e),0)),p=Math.floor(i/s.grid.rows);}else if(t.slides[d]){const e=t.slides[d].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):d;}else p=d;Object.assign(t,{previousSnapIndex:o,snapIndex:l,previousRealIndex:a,realIndex:p,previousIndex:r,activeIndex:d}),t.initialized&&F(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&t.emit("realIndexChange"),t.emit("slideChange"));},updateClickedSlide:function(e,t){const i=this,n=i.params;let s=e.closest(`.${n.slideClass}, swiper-slide`);!s&&i.isElement&&t&&t.length>
151&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(((e)=>{!s&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(s=e);}));let r,a=!1;if(s){for(let e=0;e<i.slides.length;e+=1)if(i.slides[e]===s){a=!0,r=e;break;}}if(!s||!a)return i.clickedSlide=void 0,void (i.clickedIndex=void 0);i.clickedSlide=s,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r,n.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide();}};function G(e){let {swiper:t,runCallbacks:i,direction:n,step:s}=e;const {activeIndex:r,previousIndex:a}=t;let o=n;if(o||(o=r>a?"next":r<a?"prev":"reset"),t.emit(`transition${s}`),i&&r!==a){if("reset"===o)return void t.emit(`slideResetTransition${s}`);t.emit(`slideChangeTransition${s}`),"next"===o?t.emit(`slideNextTransition${s}`):t.emit(`slidePrevTransition${s}`);}}var H={slideTo:function(e,t,i,n,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof e&&(e=parseInt(e,10));const r=this;let a=e;a<0&&(a=0);const {params:o,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:u,rtlTranslate:p,wrapperEl:h,enabled:f}=r;if(r.animating&&o.preventInteractionOnTransition||!f&&!n&&!s||r.destroyed)return !1;const m=Math.min(r.params.slidesPerGroupSkip,a);let g=m+Math.floor((a-m)/r.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const v=-l[g];if(o.normalizeSlideIndex){for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*v),i=Math.floor(100*d[e]),n=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=i&&t<n-(n-i)/2?a=e:t>=i&&t<n&&(a=e+1):t>=i&&(a=e);}}if(r.initialized&&a!==u){if(!r.allowSlideNext&&(p?v>r.translate&&v>r.minTranslate():v<r.translate&&v<r.minTranslate()))return !1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(u||0)!==a)return !1;}let y;if(a!==(c||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(v),y=a>u?"next":a<u?"prev":"reset",p&&-v===r.translate||!p&&v===r.translate)return r.updateActiveIndex(a),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==o.effect&&r.setTranslate(v),"reset"!==y&&(r.transitionStart(i,y),r.transitionEnd(i,y)),!1;if(o.cssMode){const e=r.isHorizontal(),i=p?v:-v;if(0===t){const t=r.virtual&&r.params.virtual.enabled;t&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),t&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=i;}))):h[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1;}));}else{if(!r.support.smoothScroll)return E({swiper:r,targetPosition:i,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,behavior:"smooth"});}return !0;}return r.setTransition(t),r.setTranslate(v),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,y),0===t?r.transitionEnd(i,y):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,y));}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0;},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof e&&(e=parseInt(e,10));const s=this;if(s.destroyed)return;const r=s.grid&&s.params.grid&&s.params.grid.rows>1;let a=e;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)a+=s.virtual.slidesBefore;else{let e;if(r){const t=a*s.params.grid.rows;e=s.slides.filter(((e)=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column;}else e=s.getSlideIndexByData(a);const t=r?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:i}=s.params;let n=s.params.slidesPerView;"auto"===n?n=s.slidesPerViewDynamic():(n=Math.ceil(parseFloat(s.params.slidesPerView,10)),i&&n%2==0&&(n+=1));let o=t-e<n;if(i&&(o=o||e<Math.ceil(n/2)),o){const n=i?e<s.activeIndex?"prev":"next":e-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?s.realIndex:void 0});}if(r){const e=a*s.params.grid.rows;a=s.slides.filter(((t)=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column;}
15else a=s.getSlideIndexByData(a);}return requestAnimationFrame((()=>{s.slideTo(a,t,i,n);})),s;},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{enabled:s,params:r,animating:a}=n;if(!s||n.destroyed)return n;let o=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<r.slidesPerGroupSkip?1:o,d=n.virtual&&r.virtual.enabled;if(r.loop){if(a&&!d&&r.loopPreventsSliding)return !1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&r.cssMode)return requestAnimationFrame((()=>{n.slideTo(n.activeIndex+l,e,t,i);})),!0;}return r.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:s,snapGrid:r,slidesGrid:a,rtlTranslate:o,enabled:l,animating:d}=n;if(!l||n.destroyed)return n;const c=n.virtual&&s.virtual.enabled;if(s.loop){if(d&&!c&&s.loopPreventsSliding)return !1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft;}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e);}const p=u(o?n.translate:-n.translate),h=r.map(((e)=>u(e)));let f=r[h.indexOf(p)-1];if(void 0===f&&s.cssMode){let e;r.forEach(((t,i)=>{p>=t&&(e=i);})),void 0!==e&&(f=r[e>0?e-1:e]);}let m=0;if(void 0!==f&&(m=a.indexOf(f),m<0&&(m=n.activeIndex-1),"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(m=m-n.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),s.rewind&&n.isBeginning){const s=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(s,e,t,i);}return s.loop&&0===n.activeIndex&&s.cssMode?(requestAnimationFrame((()=>{n.slideTo(m,e,t,i);})),!0):n.slideTo(m,e,t,i);},slideReset:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,e,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);const s=this;if(s.destroyed)return;let r=s.activeIndex;const a=Math.min(s.params.slidesPerGroupSkip,r),o=a+Math.floor((r-a)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[o]){const e=s.snapGrid[o];l-e>(s.snapGrid[o+1]-e)*n&&(r+=s.params.slidesPerGroup);}else{const e=s.snapGrid[o-1];l-e<=(s.snapGrid[o]-e)*n&&(r-=s.params.slidesPerGroup);}return r=Math.max(r,0),r=Math.min(r,s.slidesGrid.length-1),s.slideTo(r,e,t,i);},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const {params:t,slidesEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let s,r=e.clickedIndex;const a=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-n/2||r>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),r=e.getSlideIndex(T(i,`${a}[data-swiper-slide-index="${s}"]`)[0]),v((()=>{e.slideTo(r);}))):e.slideTo(r):r>e.slides.length-n?(e.loopFix(),r=e.getSlideIndex(T(i,`${a}[data-swiper-slide-index="${s}"]`)[0]),v((()=>{e.slideTo(r);}))):e.slideTo(r);}else e.slideTo(r);}},$={loopCreate:function(e){const t=this,{params:i,slidesEl:n}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const s=()=>{T(n,`.${i.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t);}));},r=t.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(r?i.grid.rows:1),o=t.slides.length%a!=0,l=r&&t.slides.length%i.grid.rows!=0,d=(e)=>{for(let n=0;n<e;n+=1){const e=t.isElement?L("swiper-slide",[i.slideBlankClass]):L("div",[i.slideClass,i.slideBlankClass]);t.slidesEl.append(e);}};o?(i.loopAddBlankSlides?(d(a-t.slides.length%a),t.recalcSlides(),t.updateSlides()):x("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)"),s()):l?(i.loopAddBlankSlides?(d(i.grid.rows-t.slides.length%i.grid.rows),t.recalcSlides(),t.updateSlides()):x("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may
15not function properly. You need to add more slides (or make duplicates, or empty slides)"),s()):s(),t.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next"});},loopFix:function(e){let {slideRealIndex:t,slideTo:i=!0,direction:n,setTranslate:s,activeSlideIndex:r,byController:a,byMousewheel:o}=void 0===e?{}:e;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const {slides:d,allowSlidePrev:c,allowSlideNext:u,slidesEl:p,params:h}=l,{centeredSlides:f}=h;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&h.virtual.enabled)return i&&(h.centeredSlides||0!==l.snapIndex?h.centeredSlides&&l.snapIndex<h.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=u,void l.emit("loopFix");let m=h.slidesPerView;"auto"===m?m=l.slidesPerViewDynamic():(m=Math.ceil(parseFloat(h.slidesPerView,10)),f&&m%2==0&&(m+=1));const g=h.slidesPerGroupAuto?m:h.slidesPerGroup;let v=g;v%g!=0&&(v+=g-v%g),v+=h.loopAdditionalSlides,l.loopedSlides=v;const y=l.grid&&h.grid&&h.grid.rows>1;d.length<m+v?x("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"):y&&"row"===h.grid.fill&&x("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const w=[],b=[];let S=l.activeIndex;void 0===r?r=l.getSlideIndex(d.filter(((e)=>e.classList.contains(h.slideActiveClass)))[0]):S=r;const E="next"===n||!n,T="prev"===n||!n;let L=0,C=0;const M=y?Math.ceil(d.length/h.grid.rows):d.length,k=(y?d[r].column:r)+(f&&void 0===s?-m/2+.5:0);if(k<v){L=Math.max(v-k,g);for(let e=0;e<v-k;e+=1){const t=e-Math.floor(e/M)*M;if(y){const e=M-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&w.push(t);}else w.push(M-t-1);}}else{if(k+m>M-v){C=Math.max(k-(M-2*v),g);for(let e=0;e<C;e+=1){const t=e-Math.floor(e/M)*M;y?d.forEach(((e,i)=>{e.column===t&&b.push(i);})):b.push(t);}}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1;})),T&&w.forEach(((e)=>{d[e].swiperLoopMoveDOM=!0,p.prepend(d[e]),d[e].swiperLoopMoveDOM=!1;})),E&&b.forEach(((e)=>{d[e].swiperLoopMoveDOM=!0,p.append(d[e]),d[e].swiperLoopMoveDOM=!1;})),l.recalcSlides(),"auto"===h.slidesPerView?l.updateSlides():y&&(w.length>0&&T||b.length>0&&E)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides);})),h.watchSlidesProgress&&l.updateSlidesOffset(),i)if(w.length>0&&T)if(void 0===t){const e=l.slidesGrid[S],t=l.slidesGrid[S+L]-e;o?l.setTranslate(l.translate-t):(l.slideTo(S+Math.ceil(L),0,!1,!0),s&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t));}else{if(s){const e=y?w.length/h.grid.rows:w.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate;}}else{if(b.length>0&&E)if(void 0===t){const e=l.slidesGrid[S],t=l.slidesGrid[S-C]-e;o?l.setTranslate(l.translate-t):(l.slideTo(S-C,0,!1,!0),s&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t));}else{const e=y?b.length/h.grid.rows:b.length;l.slideTo(l.activeIndex-e,0,!1,!0);}}if(l.allowSlidePrev=c,l.allowSlideNext=u,l.controller&&l.controller.control&&!a){const e={slideRealIndex:t,direction:n,setTranslate:s,activeSlideIndex:r,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(((t)=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&i});})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===h.slidesPerView&&i});}l.emit("loopFix");},loopDestroy:function(){const e=this,{params:t,slidesEl:i}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];
15e.slides.forEach(((e)=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e;})),e.slides.forEach(((e)=>{e.removeAttribute("data-swiper-slide-index");})),n.forEach(((e)=>{i.append(e);})),e.recalcSlides(),e.slideTo(e.realIndex,0);}};function j(e,t,i){const n=g(),{params:s}=e,r=s.edgeSwipeDetection,a=s.edgeSwipeThreshold;return !r||!(i<=a||i>=n.innerWidth-a)||"prevent"===r&&(t.preventDefault(),!0);}function V(e){const t=this,i=f();let n=e;n.originalEvent&&(n=n.originalEvent);const s=t.touchEventsData;if("pointerdown"===n.type){if(null!==s.pointerId&&s.pointerId!==n.pointerId)return;s.pointerId=n.pointerId;}else "touchstart"===n.type&&1===n.targetTouches.length&&(s.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void j(t,n,n.targetTouches[0].pageX);const {params:r,touches:a,enabled:o}=t;if(!o)return;if(!r.simulateTouch&&"mouse"===n.pointerType)return;if(t.animating&&r.preventInteractionOnTransition)return;!t.animating&&r.cssMode&&r.loop&&t.loopFix();let l=n.target;if("wrapper"===r.touchEventsTarget&&!t.wrapperEl.contains(l))return;if("which" in n&&3===n.which)return;if("button" in n&&n.button>0)return;if(s.isTouched&&s.isMoved)return;const d=!!r.noSwipingClass&&""!==r.noSwipingClass,c=n.composedPath?n.composedPath():n.path;d&&n.target&&n.target.shadowRoot&&c&&(l=c[0]);const u=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!(!n.target||!n.target.shadowRoot);if(r.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(i){if(!i||i===f()||i===g())return null;i.assignedSlot&&(i=i.assignedSlot);const n=i.closest(e);return n||i.getRootNode?n||t(i.getRootNode().host):null;}(t);}(u,l):l.closest(u)))return void (t.allowClick=!0);if(r.swipeHandler&&!l.closest(r.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const h=a.currentX,m=a.currentY;if(!j(t,n,h))return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=h,a.startY=m,s.touchStartTime=y(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(s.allowThresholdMove=!1);let v=!0;l.matches(s.focusableElements)&&(v=!1,"SELECT"===l.nodeName&&(s.isTouched=!1)),i.activeElement&&i.activeElement.matches(s.focusableElements)&&i.activeElement!==l&&i.activeElement.blur();const w=v&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!w||l.isContentEditable||n.preventDefault(),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.animating&&!r.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n);}function W(e){const t=f(),i=this,n=i.touchEventsData,{params:s,touches:r,rtlTranslate:a,enabled:o}=i;if(!o)return;if(!s.simulateTouch&&"mouse"===e.pointerType)return;let l,d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type){if(null!==n.touchId)return;if(d.pointerId!==n.pointerId)return;}if("touchmove"===d.type){if(l=[...d.changedTouches].filter(((e)=>e.identifier===n.touchId))[0],!l||l.identifier!==n.touchId)return;}else l=d;if(!n.isTouched)return void (n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",d));const c=l.pageX,u=l.pageY;if(d.preventedByNestedSwiper)return r.startX=c,void (r.startY=u);if(!i.allowTouchMove)return d.target.matches(n.focusableElements)||(i.allowClick=!1),void (n.isTouched&&(Object.assign(r,{startX:c,startY:u,currentX:c,currentY:u}),n.touchStartTime=y()));if(s.touchReleaseOnEdges&&!s.loop)if(i.isVertical()){if(u<r.startY&&i.translate<=i.maxTranslate()||u>r.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void (n.isMoved=!1);}else{if(c<r.startX&&i.translate<=i.maxTranslate()||c>r.startX&&i.translate>=i.minTranslate())return;}if(t.activeElement&&d.target===t.activeElement&&d.target.matches(n.focusableElements))return n.isMoved=!0,void (i.allowClick=!1);n.allowTouchCallbacks&&i.emit("touchMove",d),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=c,r.currentY=u;const p=r.currentX-r.startX,h=r.currentY-r.startY;if(i.params.threshold&&Math.sqrt(p**2+h**2)<i.params.threshold)return;if(void 0===n.isScrolling){let e;i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?n.isScrolling=!1:p*p+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,n.isScrolling=i.isHorizontal()?e>s.touchAngle:90-e>s.touchAngle);}if(n.isScrolling&&i.emit("touchMoveOpposite",d),void 0===n.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(n.startMoving=!0)),n.isScrolling)return void (n.isTouched=!1);if(!n.startMoving)return;i.allowClick=!1,!s.cssMode&&d.cancelable&&d.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&d.stopPropagation();let m=i.isHorizontal()?p:h,g=i.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;s.oneWayMovement&&(m=Math.abs(m)*(a?1:-1),g=Math.abs(g)*(a?1:-1)),r.diff=m,m*=s.touchRatio,a&&(m=-m,g=-g);const v=i.touchesDirection;i.swipeDirection=m>0?"prev":"next",i.touchesDirection=g>0?"prev":"next";const w=i.params.loop&&!s.cssMode,b="next"===i.touchesDirection&&i.allowSlideNext||"prev"===i.touchesDirection&&i.allowSlidePrev;if(!n.isMoved){if(w&&b&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});
vendor: 1,846 bytes, line 15
15i.wrapperEl.dispatchEvent(e);}n.allowMomentumBounce=!1,!s.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",d);}if((new Date()).getTime(),n.isMoved&&n.allowThresholdMove&&v!==i.touchesDirection&&w&&b&&Math.abs(m)>=1)return Object.assign(r,{startX:c,startY:u,currentX:c,currentY:u,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void (n.startTranslate=n.currentTranslate);i.emit("sliderMove",d),n.isMoved=!0,n.currentTranslate=m+n.startTranslate;let S=!0,E=s.resistanceRatio;if(s.touchReleaseOnEdges&&(E=0),m>0?(w&&b&&n.allowThresholdMove&&n.currentTranslate>(s.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(S=!1,s.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+m)**E))):m<0&&(w&&b&&n.allowThresholdMove&&n.currentTranslate<(s.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-("auto"===s.slidesPerView?i.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(S=!1,s.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-m)**E))),S&&(d.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),s.threshold>0){if(!(Math.abs(m)>s.threshold||n.allowThresholdMove))return void (n.currentTranslate=n.startTranslate);
vendor: 4,899 bytes, line 15
15if(!n.allowThresholdMove)return n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,void (r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY);}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&i.freeMode||s.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate));}function Y(e){const t=this,i=t.touchEventsData;let n,s=e;if(s.originalEvent&&(s=s.originalEvent),"touchend"===s.type||"touchcancel"===s.type){if(n=[...s.changedTouches].filter(((e)=>e.identifier===i.touchId))[0],!n||n.identifier!==i.touchId)return;}else{if(null!==i.touchId)return;if(s.pointerId!==i.pointerId)return;n=s;}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&(!["pointercancel","contextmenu"].includes(s.type)||!t.browser.isSafari&&!t.browser.isWebView))return;i.pointerId=null,i.touchId=null;const {params:r,touches:a,rtlTranslate:o,slidesGrid:l,enabled:d}=t;if(!d)return;if(!r.simulateTouch&&"mouse"===s.pointerType)return;if(i.allowTouchCallbacks&&t.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&r.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void (i.startMoving=!1);r.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=y(),u=c-i.touchStartTime;if(t.allowClick){const e=s.path||s.composedPath&&s.composedPath();t.updateClickedSlide(e&&e[0]||s.target,e),t.emit("tap click",s),u<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",s);}if(i.lastClickTime=y(),v((()=>{t.destroyed||(t.allowClick=!0);})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset)return i.isTouched=!1,i.isMoved=!1,void (i.startMoving=!1);let p;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=r.followFinger?o?t.translate:-t.translate:-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const h=p>=-t.maxTranslate()&&!t.params.loop;let f=0,m=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=e<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==l[e+t]?(h||p>=l[e]&&p<l[e+t])&&(f=e,m=l[e+t]-l[e]):(h||p>=l[e])&&(f=e,m=l[l.length-1]-l[l.length-2]);}let g=null,w=null;r.rewind&&(t.isBeginning?w=r.virtual&&r.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const b=(p-l[f])/m,S=f<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(u>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?g:f+S):t.slideTo(f)),"prev"===t.swipeDirection&&(b>1-r.longSwipesRatio?t.slideTo(f+S):null!==w&&b<0&&Math.abs(b)>r.longSwipesRatio?t.slideTo(w):t.slideTo(f));}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||s.target!==t.navigation.nextEl&&s.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==g?g:f+S),"prev"===t.swipeDirection&&t.slideTo(null!==w?w:f)):s.target===t.navigation.nextEl?t.slideTo(f+S):t.slideTo(f);}}function X(){const e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const {allowSlideNext:n,allowSlidePrev:s,snapGrid:r}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!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=s,e.allowSlideNext=n,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow();}function U(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())));}function K(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;let s;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();s=0===r?0:(e.translate-e.minTranslate())/r,s!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1);}function J(e){const t=this;R(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update(
15);}function Z(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"));}const Q=(e,t)=>{const i=f(),{params:n,el:s,wrapperEl:r,device:a}=e,o=!!n.nested,l="on"===t?"addEventListener":"removeEventListener",d=t;i[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),s[l]("touchstart",e.onTouchStart,{passive:!1}),s[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)&&s[l]("click",e.onClick,!0),n.cssMode&&r[l]("scroll",e.onScroll),n.updateOnWindowResize?e[d](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",X,!0):e[d]("observerUpdate",X,!0),s[l]("load",e.onLoad,{capture:!0});},ee=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var te={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",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};function ie(e,t){return function(i){void 0===i&&(i={});const n=Object.keys(i)[0],s=i[n];"object"==typeof s&&null!==s?(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled" in s?("object"!=typeof e[n]||"enabled" in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),b(t,i)):b(t,i)):b(t,i);};}const ne={eventsEmitter:N,update:q,translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const {params:t,rtlTranslate:i,translate:n,wrapperEl:s}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let r=function(e,t){void 0===t&&(t="x");const i=g();let n,s,r;const a=function(e){const t=g();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i;}(e);return i.WebKitCSSMatrix?(s=a.transform||a.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(((e)=>e.replace(",","."))).join(", ")),r=new i.WebKitCSSMatrix("none"===s?"":s)):(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=r.toString().split(",")),"x"===t&&(s=i.WebKitCSSMatrix?r.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(s=i.WebKitCSSMatrix?r.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),s||0;}(s,e);return r+=this.cssOverflowAdjustment(),i&&(r=-r),r||0;},setTranslate:function(e,t){const i=this,{rtlTranslate:n,params:s,wrapperEl:r,progress:a}=i;let o,l=0,d=0;i.isHorizontal()?l=n?-e:e:d=e,s.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:d,s.cssMode?r[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-d:s.virtualTranslate||(i.isHorizontal()?l-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),r.style.transform=`translate3d(${l}px, ${d}px, 0px)`);const c=i.maxTranslate()-i.minTranslate();o=0===c?0:(e-i.minTranslate())/c,o!==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,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);const r=this,{params:a,wrapperEl:o}=r;if(r.animating&&a.preventInteractionOnTransition)return !1;const l=r.minTranslate(),d=r.maxTranslate();let c;if(c=n&&e>
15l?l:n&&e<d?d:e,r.updateProgress(c),a.cssMode){const e=r.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return E({swiper:r,targetPosition:-c,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"});}return !0;}return 0===t?(r.setTransition(0),r.setTranslate(c),i&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(c),i&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"));}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0;}},transition:{setTransition:function(e,t){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${e}ms`,i.wrapperEl.style.transitionDelay=0===e?"0ms":""),i.emit("setTransition",e,t);},transitionStart:function(e,t){void 0===e&&(e=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),G({swiper:i,runCallbacks:e,direction:t,step:"Start"}));},transitionEnd:function(e,t){void 0===e&&(e=!0);const i=this,{params:n}=i;i.animating=!1,n.cssMode||(i.setTransition(0),G({swiper:i,runCallbacks:e,direction:t,step:"End"}));}},slide:H,loop:$,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const 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(){const e=this,{params:t}=e;e.onTouchStart=V.bind(e),e.onTouchMove=W.bind(e),e.onTouchEnd=Y.bind(e),e.onDocumentTouchStart=Z.bind(e),t.cssMode&&(e.onScroll=K.bind(e)),e.onClick=U.bind(e),e.onLoad=J.bind(e),Q(e,"on");},detachEvents:function(){Q(this,"off");}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:i,params:n,el:s}=e,r=n.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const a=e.getBreakpoint(r,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const o=(a in r?r[a]:void 0)||e.originalParams,l=ee(e,n),d=ee(e,o),c=n.enabled;l&&!d?(s.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&d&&(s.classList.add(`${n.containerModifierClass}grid`),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===n.grid.fill)&&s.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(((t)=>{if(void 0===o[t])return;const i=n[t]&&n[t].enabled,s=o[t]&&o[t].enabled;i&&!s&&e[t].disable(),!i&&s&&e[t].enable();}));const u=o.direction&&o.direction!==n.direction,p=n.loop&&(o.slidesPerView!==n.slidesPerView||u),h=n.loop;u&&i&&e.changeDirection(),b(e.params,o);const f=e.params.enabled,m=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),c&&!f?e.disable():!c&&f&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",o),i&&(p?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!h&&m?(e.loopCreate(t),e.updateSlides()):h&&!m&&e.loopDestroy()),e.emit("breakpoint",o);},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),!e||"container"===t&&!i)return;let n=!1;const s=g(),r="window"===t?s.innerHeight:i.clientHeight,a=Object.keys(e).map(((e)=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return {value:r*t,point:e};}return {value:e,point:e};}));a.sort(((e,t)=>
15parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const {point:r,value:o}=a[e];"window"===t?s.matchMedia(`(min-width: ${o}px)`).matches&&(n=r):o<=i.clientWidth&&(n=r);}return n||"max";}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:i}=e,{slidesOffsetBefore:n}=i;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(){const e=this,{classNames:t,params:i,rtl:n,el:s,device:r}=e,a=function(e,t){const i=[];return e.forEach(((e)=>{"object"==typeof e?Object.keys(e).forEach(((n)=>{e[n]&&i.push(t+n);})):"string"==typeof e&&i.push(t+e);})),i;}(["initialized",i.direction,{"free-mode":e.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);t.push(...a),s.classList.add(...t),e.emitContainerClasses();},removeClasses:function(){const {el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses();}}},se={};class re{constructor(){let e,t;for(var i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=b({},t),e&&!t.el&&(t.el=e);const r=f();if(t.el&&"string"==typeof t.el&&r.querySelectorAll(t.el).length>1){const e=[];return r.querySelectorAll(t.el).forEach(((i)=>{const n=b({},t,{el:i});e.push(new re(n));})),e;}const a=this;a.__swiper__=!0,a.support=I(),a.device=D({userAgent:t.userAgent}),a.browser=(O||(O=function(){const e=g(),t=D();let i=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0;}if(n()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const [e,n]=t.split("Version/")[1].split(" ")[0].split(".").map(((e)=>Number(e)));i=e<16||16===e&&n<2;}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),r=n();return {isSafari:i||r,needPerspectiveFix:i,need3dFix:r||s&&t.ios,isWebView:s};}()),O),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const o={};a.modules.forEach(((e)=>{e({params:t,swiper:a,extendParams:ie(t,o),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)});}));const l=b({},te,o);return a.params=b({},l,se,t),a.originalParams=b({},a.params),a.passedParams=b({}
15,t),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:e,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){const {slidesEl:t,params:i}=this,n=M(T(t,`.${i.slideClass}, swiper-slide`)[0]);return M(e)-n;}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(((t)=>1*t.getAttribute("data-swiper-slide-index")===e))[0]);}recalcSlides(){const {slidesEl:e,params:t}=this;this.slides=T(e,`.${t.slideClass}, swiper-slide`);}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"));}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"));}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const n=i.minTranslate(),s=(i.maxTranslate()-n)*e+n;i.translateTo(s,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses();}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(((t)=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.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 e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(((i)=>{const n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n);})),e.emit("_slideClasses",t);}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const {params:i,slides:n,slidesGrid:s,slidesSizesGrid:r,size:a,activeIndex:o}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=n[o]?Math.ceil(n[o].swiperSlideSize):0;for(let i=o+1;i<n.length;i+=1)n[i]&&!e&&(t+=Math.ceil(n[i].swiperSlideSize),l+=1,t>a&&(e=!0));for(let i=o-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>a&&(e=!0));}else if("current"===e){for(let e=o+1;e<n.length;e+=1)(t?s[e]+r[e]-s[o]<a:s[e]-s[o]<a)&&(l+=1);}else{for(let e=o-1;e>=0;e-=1)s[o]-s[e]<a&&(l+=1);}return l;}update(){const e=this;if(!e||e.destroyed)return;const {snapGrid:t,params:i}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses();}let s;if(i.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(((t)=>{t.complete&&R(e,t);})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)n(),i.autoHeight&&e.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const t=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(t.length-1,0,!1,!0);}else s=e.slideTo(e.activeIndex,0,!1,!0);s||n();}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update");}changeDirection(e,t){void 0===t&&(t=!0);const i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.el.classList.remove(`${i.params.containerModifierClass}${n}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEac
15h(((t)=>{"vertical"===e?t.style.width="":t.style.height="";})),i.emit("changeDirection"),t&&i.update()),i;}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update());}mount(e){const t=this;if(t.mounted)return !0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return !1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(n()):T(i,n())[0];return !s&&t.params.createElements&&(s=L("div",t.params.wrapperClass),i.append(s),T(i,`.${t.params.slideClass}`).forEach(((e)=>{s.append(e);}))),Object.assign(t,{el:i,wrapperEl:s,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:s,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===C(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===C(i,"direction")),wrongRTL:"-webkit-box"===C(s,"display")}),!0;}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;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();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(((e)=>{e.complete?R(t,e):e.addEventListener("load",((e)=>{R(t,e.target);}));})),F(t),t.initialized=!0,F(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:s,wrapperEl:r,slides:a}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttribute("style"),r.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,function(e){const t=e;Object.keys(t).forEach(((e)=>{try{t[e]=null;}catch(e){}try{delete t[e];}catch(e){}}));}(i)),i.destroyed=!0),null;}static extendDefaults(e){b(se,e);}static get extendedDefaults(){return se;}static get defaults(){return te;}static installModule(e){re.prototype.__modules__||(re.prototype.__modules__=[]);const t=re.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e);}static use(e){return Array.isArray(e)?(e.forEach(((e)=>re.installModule(e))),re):(re.installModule(e),re);}}function ae(e){let {swiper:t,extendParams:i,on:n,emit:s}=e;const r=g();let a;i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let o,l=y();const d=[];function c(){t.enabled&&(t.mouseEntered=!0);}function u(){t.enabled&&(t.mouseEntered=!1);}function p(e){return !(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&y()-l<t.params.mousewheel.thresholdTime||!(e.delta>=6&&y()-l<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),s("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),s("scroll",e.raw)),l=(new r.Date()).getTime(),1));}function h(e){let i=e,n=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const r=t.params.mousewheel;t.params.cssMode&&i.preventDefault();let l=t.el;"container"!==t.params.mousewheel.eventsTarget&&(l=document.querySelector(t.params.mousewheel.eventsTarget));const c=l&&l.contains(i.target);if(!t.mouseEntered&&!c&&!r.releaseOnEdges)return !0;i.originalEvent&&(i=i.originalEvent);let u=0;const h=t.rtlTranslate?-1:1,f=function(e){let t=0,i=0,n=0,s=0;return "detail" in e&&(i=e.detail),"wheelDelta" in e&&(i=-e.wheelDelta/120),"wheelDeltaY" in e&&(i=-e.wheelDeltaY/120
15),"wheelDeltaX" in e&&(t=-e.wheelDeltaX/120),"axis" in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,s=10*i,"deltaY" in e&&(s=e.deltaY),"deltaX" in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=s,s=0),(n||s)&&e.deltaMode&&(1===e.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),n&&!t&&(t=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:s};}(i);if(r.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return !0;u=-f.pixelX*h;}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return !0;u=-f.pixelY;}else u=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*h:-f.pixelY;if(0===u)return !0;r.invert&&(u=-u);let m=t.getTranslate()+u*r.sensitivity;if(m>=t.minTranslate()&&(m=t.minTranslate()),m<=t.maxTranslate()&&(m=t.maxTranslate()),n=!!t.params.loop||!(m===t.minTranslate()||m===t.maxTranslate()),n&&t.params.nested&&i.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:y(),delta:Math.abs(u),direction:Math.sign(u)},n=o&&e.time<o.time+500&&e.delta<=o.delta&&e.direction===o.direction;if(!n){o=void 0;let l=t.getTranslate()+u*r.sensitivity;const c=t.isBeginning,p=t.isEnd;if(l>=t.minTranslate()&&(l=t.minTranslate()),l<=t.maxTranslate()&&(l=t.maxTranslate()),t.setTransition(0),t.setTranslate(l),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!c&&t.isBeginning||!p&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(a),a=void 0,d.length>=15&&d.shift();const i=d.length?d[d.length-1]:void 0,n=d[0];if(d.push(e),i&&(e.delta>i.delta||e.direction!==i.direction))d.splice(0);else{if(d.length>=15&&e.time-n.time<500&&n.delta-e.delta>=1&&e.delta<=6){const i=u>0?.8:.2;o=e,d.splice(0),a=v((()=>{t.slideToClosest(t.params.speed,!0,void 0,i);}),0);}}a||(a=v((()=>{o=e,d.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5);}),500));}if(n||s("scroll",i),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),r.releaseOnEdges&&(l===t.minTranslate()||l===t.maxTranslate()))return !0;}}else{const i={time:y(),delta:Math.abs(u),direction:Math.sign(u),raw:e};d.length>=2&&d.shift();const n=d.length?d[d.length-1]:void 0;if(d.push(i),n?(i.direction!==n.direction||i.delta>n.delta||i.time>n.time+150)&&p(i):p(i),function(e){const i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return !0;}else{if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return !0;}return !1;}(i))return !0;}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1;}function f(e){let i=t.el;"container"!==t.params.mousewheel.eventsTarget&&(i=document.querySelector(t.params.mousewheel.eventsTarget)),i[e]("mouseenter",c),i[e]("mouseleave",u),i[e]("wheel",h);}function m(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",h),!0):!t.mousewheel.enabled&&(f("addEventListener"),t.mousewheel.enabled=!0,!0);}function w(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,h),!0):!!t.mousewheel.enabled&&(f("removeEventListener"),t.mousewheel.enabled=!1,!0);}n("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&w(),t.params.mousewheel.enabled&&m();})),n("destroy",(()=>{t.params.cssMode&&m(),t.mousewheel.enabled&&w();})),Object.assign(t.mousewheel,{enable:m,disable:w});}function oe(e,t,i,n){return e.params.createElements&&Object.keys(n).forEach(((s)=>{if(!i[s]&&!0===i.auto){let r=T(e.el,`.${n[s]}`)[0];r||(r=L("div",n[s]),r.className=n[s],e.el.append(r)),i[s]=r,t[s]=r;}})),i;}function le(e){let {swiper:t,extendParams:i,on:n,emit:s}=e;function r(e){let i;return e&&"string"==typeof e&&t.isElement&&(i=t.el.querySelector(e),i)?i:(e&&("string"==typeof e&&(i=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&i.length>1&&1===t.el.querySelectorAll(e).length&&(i=t.el.querySelector(e))),e&&!i?e:i);}function a(e,i){const n=t.params.navigation;(e=A(e)).forEach(((e)=>{e&&(e.classList[i?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=i),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass));}));}function o(){const {nextEl:e,prevEl:i}=t.navigation;if(t.params.loop)return a(i,!1),void a(e,!1);a(i,t.isBeginning&&!t.params.rewind),a(e,t.isEnd&&!t.params.rewind);}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),s("navigationPrev"));}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),s("navigationNext"));}function c(){const e=t.params.navigation;if(t.params.navigation=oe(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let i=r(e.nextEl),n=r(e.prevEl);Object.assign(t.navigation,{nextEl:i,prevEl:n}),i=A(i),n=A(n);const s=(i,n)=>
15{i&&i.addEventListener("click","next"===n?d:l),!t.enabled&&i&&i.classList.add(...e.lockClass.split(" "));};i.forEach(((e)=>s(e,"next"))),n.forEach(((e)=>s(e,"prev")));}function u(){let {nextEl:e,prevEl:i}=t.navigation;e=A(e),i=A(i);const n=(e,i)=>{e.removeEventListener("click","next"===i?d:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "));};e.forEach(((e)=>n(e,"next"))),i.forEach(((e)=>n(e,"prev")));}i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},n("init",(()=>{!1===t.params.navigation.enabled?p():(c(),o());})),n("toEdge fromEdge lock unlock",(()=>{o();})),n("destroy",(()=>{u();})),n("enable disable",(()=>{let {nextEl:e,prevEl:i}=t.navigation;e=A(e),i=A(i),t.enabled?o():[...e,...i].filter(((e)=>!!e)).forEach(((e)=>e.classList.add(t.params.navigation.lockClass)));})),n("click",((e,i)=>{let {nextEl:n,prevEl:r}=t.navigation;n=A(n),r=A(r);const a=i.target;if(t.params.navigation.hideOnClick&&!r.includes(a)&&!n.includes(a)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;let e;n.length?e=n[0].classList.contains(t.params.navigation.hiddenClass):r.length&&(e=r[0].classList.contains(t.params.navigation.hiddenClass)),s(!0===e?"navigationShow":"navigationHide"),[...n,...r].filter(((e)=>!!e)).forEach(((e)=>e.classList.toggle(t.params.navigation.hiddenClass)));}}));const p=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),u();};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),o();},disable:p,update:o,init:c,destroy:u});}function de(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`;}function ce(e){let {swiper:t,extendParams:i,on:n,emit:s}=e;const r="swiper-pagination";let a;i({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:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),t.pagination={el:null,bullets:[]};let o=0;function l(){return !t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length;}function d(e,i){const {bulletActiveClass:n}=t.params.pagination;e&&(e=e[("prev"===i?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${n}-${i}`),(e=e[("prev"===i?"previous":"next")+"ElementSibling"])&&e.classList.add(`${n}-${i}-${i}`));}function c(e){const i=e.target.closest(de(t.params.pagination.bulletClass));if(!i)return;e.preventDefault();const n=M(i)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===n)return;t.slideToLoop(n);}else t.slideTo(n);}function u(){const e=t.rtl,i=t.params.pagination;if(l())return;let n,r,c=t.pagination.el;c=A(c);const u=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,p=t.params.loop?Math.ceil(u/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(r=t.previousRealIndex||0,n=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(n=t.snapIndex,r=t.previousSnapIndex):(r=t.previousIndex||0,n=t.activeIndex||0),"bullets"===i.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const s=t.pagination.bullets;let l,u,p;if(i.dynamicBullets&&(a=P(s[0],t.isHorizontal()?"width":"height",!0),c.forEach(((e)=>{e.style[t.isHorizontal()?"width":"height"]=a*(i.dynamicMainBullets+4)+"px";})),i.dynamicMainBullets>1&&void 0!==r&&(o+=n-(r||0),o>i.dynamicMainBullets-1?o=i.dynamicMainBullets-1:o<0&&(o=0)),l=Math.max(n-o,0),u=l+(Math.min(s.length,i.dynamicMainBullets)-1),p=(u+l)/2),s.forEac
15h(((e)=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(((e)=>`${i.bulletActiveClass}${e}`))].map(((e)=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t);})),c.length>1)s.forEach(((e)=>{const s=M(e);s===n?e.classList.add(...i.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),i.dynamicBullets&&(s>=l&&s<=u&&e.classList.add(...`${i.bulletActiveClass}-main`.split(" ")),s===l&&d(e,"prev"),s===u&&d(e,"next"));}));else{const e=s[n];if(e&&e.classList.add(...i.bulletActiveClass.split(" ")),t.isElement&&s.forEach(((e,t)=>{e.setAttribute("part",t===n?"bullet-active":"bullet");})),i.dynamicBullets){const e=s[l],t=s[u];for(let e=l;e<=u;e+=1)s[e]&&s[e].classList.add(...`${i.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next");}}if(i.dynamicBullets){const n=Math.min(s.length,i.dynamicMainBullets+4),r=(a*n-a)/2-p*a,o=e?"right":"left";s.forEach(((e)=>{e.style[t.isHorizontal()?o:"top"]=`${r}px`;}));}}c.forEach(((e,r)=>{if("fraction"===i.type&&(e.querySelectorAll(de(i.currentClass)).forEach(((e)=>{e.textContent=i.formatFractionCurrent(n+1);})),e.querySelectorAll(de(i.totalClass)).forEach(((e)=>{e.textContent=i.formatFractionTotal(p);}))),"progressbar"===i.type){let s;s=i.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const r=(n+1)/p;let a=1,o=1;"horizontal"===s?a=r:o=r,e.querySelectorAll(de(i.progressbarFillClass)).forEach(((e)=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${o})`,e.style.transitionDuration=`${t.params.speed}ms`;}));}"custom"===i.type&&i.renderCustom?(e.innerHTML=i.renderCustom(t,n+1,p),0===r&&s("paginationRender",e)):(0===r&&s("paginationRender",e),s("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass);}));}function p(){const e=t.params.pagination;if(l())return;const i=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let n=t.pagination.el;n=A(n);let r="";if("bullets"===e.type){let n=t.params.loop?Math.ceil(i/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&n>i&&(n=i);for(let i=0;i<n;i+=1)e.renderBullet?r+=e.renderBullet.call(t,i,e.bulletClass):r+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`;}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],n.forEach(((i)=>{"custom"!==e.type&&(i.innerHTML=r||""),"bullets"===e.type&&t.pagination.bullets.push(...i.querySelectorAll(de(e.bulletClass)));})),"custom"!==e.type&&s("paginationRender",n[0]);}function h(){t.params.pagination=oe(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let i;"string"==typeof e.el&&t.isElement&&(i=t.el.querySelector(e.el)),i||"string"!=typeof e.el||(i=[...document.querySelectorAll(e.el)]),i||(i=e.el),i&&0!==i.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(i)&&i.length>1&&(i=[...t.el.querySelectorAll(e.el)],i.length>1&&(i=i.filter(((e)=>k(e,".swiper")[0]===t.el))[0])),Array.isArray(i)&&1===i.length&&(i=i[0]),Object.assign(t.pagination,{el:i}),i=A(i),i.forEach(((i)=>{"bullets"===e.type&&e.clickable&&i.classList.add(...(e.clickableClass||"").split(" ")),i.classList.add(e.modifierClass+e.type),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(i.classList.add(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&i.classList.add(e.progressbarOppositeClass),e.clickable&&i.addEventListener("click",c),t.enabled||i.classList.add(e.lockClass);})));}function f(){const e=t.params.pagination;if(l())return;let i=t.pagination.el;
15i&&(i=A(i),i.forEach(((i)=>{i.classList.remove(e.hiddenClass),i.classList.remove(e.modifierClass+e.type),i.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(i.classList.remove(...(e.clickableClass||"").split(" ")),i.removeEventListener("click",c));}))),t.pagination.bullets&&t.pagination.bullets.forEach(((t)=>t.classList.remove(...e.bulletActiveClass.split(" "))));}n("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let {el:i}=t.pagination;i=A(i),i.forEach(((i)=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass);}));})),n("init",(()=>{!1===t.params.pagination.enabled?m():(h(),p(),u());})),n("activeIndexChange",(()=>{void 0===t.snapIndex&&u();})),n("snapIndexChange",(()=>{u();})),n("snapGridLengthChange",(()=>{p(),u();})),n("destroy",(()=>{f();})),n("enable disable",(()=>{let {el:e}=t.pagination;e&&(e=A(e),e.forEach(((e)=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))));})),n("lock unlock",(()=>{u();})),n("click",((e,i)=>{const n=i.target,r=A(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&r&&r.length>0&&!n.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&n===t.navigation.nextEl||t.navigation.prevEl&&n===t.navigation.prevEl))return;const e=r[0].classList.contains(t.params.pagination.hiddenClass);s(!0===e?"paginationShow":"paginationHide"),r.forEach(((e)=>e.classList.toggle(t.params.pagination.hiddenClass)));}}));const m=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let {el:e}=t.pagination;e&&(e=A(e),e.forEach(((e)=>e.classList.add(t.params.pagination.paginationDisabledClass)))),f();};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let {el:e}=t.pagination;e&&(e=A(e),e.forEach(((e)=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),h(),p(),u();},disable:m,render:p,update:u,init:h,destroy:f});}function ue(e){let {swiper:t,extendParams:i,on:n}=e;i({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}}),t.a11y={clicked:!1};let s=null;function r(e){const t=s;0!==t.length&&(t.innerHTML="",t.innerHTML=e);}function a(e){(e=A(e)).forEach(((e)=>{e.setAttribute("tabIndex","0");}));}function o(e){(e=A(e)).forEach(((e)=>{e.setAttribute("tabIndex","-1");}));}function l(e,t){(e=A(e)).forEach(((e)=>{e.setAttribute("role",t);}));}function d(e,t){(e=A(e)).forEach(((e)=>{e.setAttribute("aria-roledescription",t);}));}function c(e,t){(e=A(e)).forEach(((e)=>{e.setAttribute("aria-label",t);}));}function u(e){(e=A(e)).forEach(((e)=>{e.setAttribute("aria-disabled",!0);}));}function p(e){(e=A(e)).forEach(((e)=>{e.setAttribute("aria-disabled",!1);}));}function h(e){if(13!==e.keyCode&&32!==e.keyCode)return;const i=t.params.a11y,n=e.target;t.pagination&&t.pagination.el&&(n===t.pagination.el||t.pagination.el.contains(e.target))&&!e.target.matches(de(t.params.pagination.bulletClass))||(t.navigation&&t.navigation.nextEl&&n===t.navigation.nextEl&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?r(i.lastSlideMessage):r(i.nextSlideMessage)),t.navigation&&t.navigation.prevEl&&n===t.navigation.prevEl&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?r(i.firstSlideMessage):r(i.prevSlideMessage)),t.pagination&&n.matches(de(t.params.pagination.bulletClass))&&n.click());}function f(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length;}function m(){return f()&&t.params.pagination.clickable;}const g=(e,t,i)=>{a(e),"BUTTON"!==e.tagName&&(l(e,"button"),e.addEventListener("keydown",h)),c(e,i),function(e,t){(e=A(e)).forEach(((e)=>{e.setAttribute("aria-controls",t);}));}(e,t);},v=()=>{t.a11y.clicked=!0;},y=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1);}));}));},w=(e)=>{if(t.a11y.clicked)return;const i=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!i||!t.slides.includes(i))return;const n=t.slides.indexOf(i)===t.activeIndex,s=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(i);n||s||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(i),0));},b=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&d(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&l(t.slides,e.slideRole);const i=t.slides.length;
15e.slideLabelMessage&&t.slides.forEach(((n,s)=>{const r=t.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):s;c(n,e.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,i));}));};n("beforeInit",(()=>{s=L("span",t.params.a11y.notificationClass),s.setAttribute("aria-live","assertive"),s.setAttribute("aria-atomic","true");})),n("afterInit",(()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(s);const i=t.el;e.containerRoleDescriptionMessage&&d(i,e.containerRoleDescriptionMessage),e.containerMessage&&c(i,e.containerMessage);const n=t.wrapperEl,r=e.id||n.getAttribute("id")||`swiper-wrapper-${a=16,void 0===a&&(a=16),"x".repeat(a).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var a;const o=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var l;l=r,A(n).forEach(((e)=>{e.setAttribute("id",l);})),function(e,t){(e=A(e)).forEach(((e)=>{e.setAttribute("aria-live",t);}));}(n,o),b();let {nextEl:u,prevEl:p}=t.navigation?t.navigation:{};u=A(u),p=A(p),u&&u.forEach(((t)=>g(t,r,e.nextSlideMessage))),p&&p.forEach(((t)=>g(t,r,e.prevSlideMessage))),m()&&A(t.pagination.el).forEach(((e)=>{e.addEventListener("keydown",h);})),t.el.addEventListener("focus",w,!0),t.el.addEventListener("pointerdown",v,!0),t.el.addEventListener("pointerup",y,!0);})();})),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&b();})),n("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const {nextEl:e,prevEl:i}=t.navigation;i&&(t.isBeginning?(u(i),o(i)):(p(i),a(i))),e&&(t.isEnd?(u(e),o(e)):(p(e),a(e)));}();})),n("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;f()&&t.pagination.bullets.forEach(((i)=>{t.params.pagination.clickable&&(a(i),t.params.pagination.renderBullet||(l(i,"button"),c(i,e.paginationBulletMessage.replace(/\{\{index\}\}/,M(i)+1)))),i.matches(de(t.params.pagination.bulletActiveClass))?i.setAttribute("aria-current","true"):i.removeAttribute("aria-current");}));}();})),n("destroy",(()=>{t.params.a11y.enabled&&function(){s&&s.remove();let {nextEl:e,prevEl:i}=t.navigation?t.navigation:{};e=A(e),i=A(i),e&&e.forEach(((e)=>e.removeEventListener("keydown",h))),i&&i.forEach(((e)=>e.removeEventListener("keydown",h))),m()&&A(t.pagination.el).forEach(((e)=>{e.removeEventListener("keydown",h);})),t.el.removeEventListener("focus",w,!0),t.el.removeEventListener("pointerdown",v,!0),t.el.removeEventListener("pointerup",y,!0);}();}));}Object.keys(ne).forEach(((e)=>
15{Object.keys(ne[e]).forEach(((t)=>{re.prototype[t]=ne[e][t];}));})),re.use([function(e){let {swiper:t,on:i,emit:n}=e;const s=g();let r=null,a=null;const o=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"));},l=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange");};i("init",(()=>{t.params.resizeObserver&&void 0!==s.ResizeObserver?t&&!t.destroyed&&t.initialized&&(r=new ResizeObserver(((e)=>{a=s.requestAnimationFrame((()=>{const {width:i,height:n}=t;let s=i,r=n;e.forEach(((e)=>{let {contentBoxSize:i,contentRect:n,target:a}=e;a&&a!==t.el||(s=n?n.width:(i[0]||i).inlineSize,r=n?n.height:(i[0]||i).blockSize);})),s===i&&r===n||o();}));})),r.observe(t.el)):(s.addEventListener("resize",o),s.addEventListener("orientationchange",l));})),i("destroy",(()=>{a&&s.cancelAnimationFrame(a),r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null),s.removeEventListener("resize",o),s.removeEventListener("orientationchange",l);}));},function(e){let {swiper:t,extendParams:i,on:n,emit:s}=e;const r=[],a=g(),o=function(e,i){void 0===i&&(i={});const n=new (a.MutationObserver||a.WebkitMutationObserver)(((e)=>{if(t.__preventObserver__)return;if(1===e.length)return void s("observerUpdate",e[0]);const i=function(){s("observerUpdate",e[0]);};a.requestAnimationFrame?a.requestAnimationFrame(i):a.setTimeout(i,0);}));n.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),r.push(n);};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=k(t.hostEl);for(let t=0;t<e.length;t+=1)o(e[t]);}o(t.hostEl,{childList:t.params.observeSlideChildren}),o(t.wrapperEl,{attributes:!1});}})),n("destroy",(()=>{r.forEach(((e)=>{e.disconnect();})),r.splice(0,r.length);}));}]);const pe=(e,t=300)=>"none"===window.getComputedStyle(e).display?fe(e,t):he(e,t),he=(e,t=300)=>{e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.boxSizing="border-box",e.style.height=e.offsetHeight+"px",e.offsetHeight,e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,window.setTimeout((()=>{e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property");}),t);},fe=(e,t=300)=>{e.style.removeProperty("display");let i=window.getComputedStyle(e).display;"none"===i&&(i="block"),e.style.display=i;let n=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.offsetHeight,e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=n+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),window.setTimeout((()=>{e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property");}),t);},me=()=>{let e=document.querySelectorAll(".im-accordion__toggle");if(!e.length)return;const t=(e)=>{var t=e.getAttribute("data-breakpoint");if(null==t)return !0;if(t.length)for(var i=JSON.parse(t),n=0;n<i.length;++n)if(window.innerWidth>=i[n][0]&&window.innerWidth<=i[n][1])return !0;return !1;},i=()=>{var e=document.querySelectorAll(".im-accordion__content.open");if(e.length)for(var t=0;t<e.length;++t){var i=e[t].children[0].offsetHeight;e[t].style.height=i+"px";}};function n(){const e=document.querySelector("#addRoom");if(!e)return;const t=document.querySelector("#removeRoom");t&&(e.addEventListener("click",(()=>{i();})),t.addEventListener("click",(()=>{i();})));}e.forEach(((e)=>{e.addEventListener("click",(function(){let e=this.getAttribute("data-accordion");var i=document.querySelector('.im-accordion__content[data-accordion="'+e+'"]'),n=i.querySelector("div[data-wrapper-height]").offsetHeight;let s=this.getAttribute("data-group"),r=this.getAttribute("data-close");null==r||"true"!=r||this.classList.contains("open")||((e,t)=>{let i=document.querySelectorAll('.im-accordion__toggle[data-group="'+e+'"]');
15i.length&&i.forEach(((e)=>{e.classList.contains("open")&&e.click();}));})(s),((e,i,n,s)=>{t(e)&&(e.classList.contains("open")?(e.classList.remove("open"),n.classList.remove("open"),n.style.height="0px"):(e.classList.add("open"),n.classList.add("open"),n.style.height=s+"px"));})(this,0,i,n);}));})),n(),window.onresize=function(){(()=>{for(var i=0;i<e.length;++i)if(!t(e[i])){var n=e[i].getAttribute("data-accordion"),s=document.querySelector('.im-accordion__content[data-accordion="'+n+'"]');e[i].classList.remove("open"),s.classList.remove("open"),s.style.height="";}})(),i(),n();};};new class{constructor(){this.videos=document.querySelectorAll("[data-video-player]"),this.player=null,this.video=null,this.playerContent=null,this.init();}init(){this.videos&&(this.addPlayerIntoDom(),this.setEvents());}setEvents(){this.videos.forEach(((e)=>{e.addEventListener("click",((t)=>{t.preventDefault(),this.addVideoIntoPlayer(e.dataset.videoPlayer);}));}));const e=this.player.querySelector(".video-player__close");null!==e&&e.addEventListener("click",((e)=>{this.closePlayer();})),document.addEventListener("keyup",((e)=>{"Escape"===e.key&&this.player.classList.contains("is-open")&&this.closePlayer();}));}addVideoIntoPlayer(e){const t=`<video controls class="loading">\n <source src="${e}" type="video/mp4">\n Your browser does not support the video tag.\n </video>`;this.playerContent.innerHTML=t,this.video=this.playerContent.querySelector("video"),this.openPlayer(),this.video.classList.add("attached"),this.video.addEventListener("canplay",((e)=>{this.video.play(),this.video.classList.remove("loading"),this.video.classList.add("play");}));}addPlayerIntoDom(){this.player=document.createElement("div"),this.player.classList.add("video-player"),this.player.innerHTML='<div class="video-player__content"></div><span class="video-player__close"></span>',this.playerContent=this.player.querySelector(".video-player__content"),document.querySelector("body").appendChild(this.player);}openPlayer(){this.player.classList.add("is-open");}closePlayer(){this.video.pause(),this.player.classList.remove("is-open");}}();i(371).load({typekit:{id:"aai1sri"}}),window.IM_GLOBAL={resolutions:{mobile:0,tabletPortrait:768,tabletLandscape:1024,desktopExtended:1601,headerExpanded:1024},size:{maxWidth:1220,paddingMobile:20,paddingTablet:40,paddingDesktop:40}},window.addEventListener("DOMContentLoaded",((e)=>{(()=>{const e=1024|window.IM_GLOBAL.resolutions.headerExpanded;let t=window.innerWidth>=e;const i=document.querySelector("body"),n=document.querySelector("#header");if(null===n)return !1;function s(){var e={offset:n.offsetHeight};new (l())(n,e).init();}s(),window.addEventListener("resize",s);const r=n.querySelector(".header__burgermenu");if(null===r)return !1;const a=n.querySelectorAll(".header__submenu-mobile > li"),o=document.querySelectorAll(".booking-cta"),d=document.querySelector("#myBoxBooking"),u=document.querySelector(".booking__container"),p=n.querySelector(".header__submenu"),h=n.querySelectorAll(".submenu"),f=n.querySelector(".header__logo"),m=n.querySelector(".header__logo--resort");if(m&&(f.style.display="none"),r.addEventListener("click",((e)=>{n.classList.add("transition-on"),n.classList.contains("mainmenu-opened")?(y(),m&&(f.style.display="none",m.style.display="block")):(p.classList.add("open"),n.classList.add("mainmenu-opened"),i.classList.add("open-submenu"),m&&(f.style.display="block",m.style.display="none"));})),a.forEach(((e)=>{e.addEventListener("click",((t)=>{t.preventDefault(),g(e);})),e.addEventListener("keydown",(function(t){"Enter"===t.key&&(t.preventDefault(),g(e),i.classList.add("open-submenu"));}));})),h.forEach(((e,t)=>{const i=e.querySelector(".submenu .back");i.addEventListener("click",(()=>{e.classList.remove("open-submenu"),n.classList.remove("megamenu-opened"),a.forEach(((e)=>{e.classList.remove("children-opened");}));})),i.addEventListener("keydown",(function(t){"Enter"===t.key&&(e.classList.remove("open-submenu"),n.classList.remove("megamenu-opened"),a.forEach(((e)=>{e.classList.remove("children-opened");})));}));})),o&&o.forEach(((e)=>{e.addEventListener("click",(()=>{d.classList.contains("open")?(d.classList.remove("open"),i.classList.remove("booking-opened")):(v(),d.classList.add("open"),i.classList.add("booking-opened"));}));})),d){d.addEventListener("click",((e)=>{u.contains(e.target)||(d.classList.remove("open"),i.classList.remove("booking-opened"));})),d.addEventListener("keydown",((e)=>{"Escape"===e.key&&(u.contains(e.target)||(d.classList.remove("open"),i.classList.remove("booking-opened")));}));const e=d.querySelector(".accomodations__close");e&&(e.addEventListener("click",(()=>{d.classList.remove("open"),i.classList.remove("booking-opened");})),e.addEventListener("keydown",(function(e){"Enter"===e.key&&(d.classList.remove("open"),i.classList.remove("booking-opened"));})));}function g(e){const t=e.className,i=n.querySelector(`.submenu[data-submenu="${t}"]`);i&&(e.classList.contains("children-opened")?v():(e.classList.add("children-opened"),i.classList.add("open-submenu"),n.classList.add("megamenu-opened")));}function v(){a.forEach(((e)=>{e.classList.remove("children-opened");})),h.forEach(((e)=>{e.classList.remove("open-submenu");})),p&&(p.classList.remove("open"),n.classList.remove("mainmenu-opened","megamenu-opened"),i.classList.remove("open-submenu"));}function y(){v(),w(),b();}function w(){let e=document.querySelector(".hero");if(!e)return;let t=new (c().Controller)();new (c().Scene)({triggerElement:e,duration:e.offsetHeight,triggerHook:0}).on("leave",(function(){n.classList.add("fixed");})).on("enter",(function(){n.classList.remove("fixed");})).addTo(t);}function b(){let e="scroll-up",t="scroll-down",s="scroll-detect",r=0,a=n.querySelector(".header__container").offsetHeight;window.addEventListener("resize",(()=>{a=n.querySelector(".header__container").offsetHeight;})),window.addEventListener("scroll",(()=>{const n=window.scrollY;i.classList.contains("open-submenu")||(0!=n?(n>r&&!i.classList.contains(t)&&n>=a?(i.classList.add(s),n>=a+30&&(i.classList.remove(e),i.classList.add(t))):n<r&&i.classList.contains(t)&&(i.classList.remove(t),i.classList.add(e)),r=n):i.classList.remove(e,s));}));}function S(){window.innerWidth>=e?t||(n.classList.remove("transition-on"),y(),t=!0):t&&(n.classList.remove("transition-on"),y(),t=!1);}document.querySelectorAll(".restaurants .menu a").forEach(((e)=>{e.addEventListener("click",(()=>{y();}));})),setTimeout((()=>{w();}),1e3),b(),function(){if(!n.classList.contains("header--new-menu"))return;const t=n.querySelectorAll(".has-subpanel[data-subpanel]"),i=n.querySelectorAll(".header__desktop-panel[data-subpanel]"),s=n.querySelector(".header__desktop-media-image img");if(!t.length||!i.length)return;const a=s?s.getAttribute("src"):null;let o=a;const l=new Set();function d(e){return e&&!l.has(e)?e:o&&!l.has(o)?o:a;}const c=n.querySelector(".header__desktop-media-image"),u=new Map();function p(e){if(!e)return Promise.resolve(!1);if(u.has(e))return u.get(e);const t=new Promise(((t)=>{const i=new Image();i.onload=()=>t(!0),i.onerror=()=>{l.add(e),t(!1);},i.src=e;}));return u.set(e,t),t;}let h=a,f=null,m=null;const g=200,v=160;function w(e){if(!s)return;const t=d(e);
15t!==h&&(h=t,p(t).then(((e)=>{if(h!==t)return;const i=e?t:d(null);s.getAttribute("src")!==i&&(clearTimeout(m),c&&c.classList.add("is-swapping"),m=setTimeout((()=>{s.setAttribute("src",i),c&&c.classList.remove("is-swapping");}),g));})));}function b(e,t=!0){clearTimeout(f),t?w(e):f=setTimeout((()=>w(e)),v);}function S(){i.forEach(((e)=>e.classList.remove("open"))),t.forEach(((e)=>{e.classList.remove("is-active"),e.setAttribute("aria-expanded","false");})),n.classList.remove("subpanel-opened"),o=a,b(a);}function E(e){const t=e.dataset.subpanel,i=n.querySelector(`.header__desktop-panel[data-subpanel="${t}"]`);i&&(e.classList.contains("is-active")?S():(S(),e.classList.add("is-active"),e.setAttribute("aria-expanded","true"),i.classList.add("open"),n.classList.add("subpanel-opened"),o=i.dataset.mediaImage||e.dataset.mediaImage||a,b(o),i.querySelectorAll(".menu-card[data-media-image]").forEach(((e)=>p(e.dataset.mediaImage)))));}function T(e){const t=e&&e.closest?e.closest(".menu-card"):null;t?b(t.dataset.mediaImage):b(o,!1);}function x(){S(),y();}s&&s.addEventListener("error",(()=>{const e=s.getAttribute("src");e&&!l.has(e)&&(l.add(e),h=null,w(null));}
15)),i.forEach(((e)=>{e.addEventListener("mouseover",((e)=>T(e.target))),e.addEventListener("focusin",((e)=>T(e.target))),e.addEventListener("mouseleave",(()=>b(o,!1)));})),t.forEach(((e)=>{e.addEventListener("click",((t)=>{t.preventDefault(),E(e);})),e.addEventListener("keydown",((t)=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),E(e));}));})),r.addEventListener("click",(()=>{n.classList.contains("mainmenu-opened")||S();})),window.addEventListener("resize",S),document.addEventListener("keydown",((e)=>{"Escape"===e.key&&n.classList.contains("mainmenu-opened")&&(n.classList.contains("subpanel-opened")?S():x());}));const L=n.querySelector(".header__submenu");L&&L.addEventListener("click",((t)=>{n.classList.contains("mainmenu-opened")&&(window.innerWidth<=e||t.target.closest(".header__desktop-media")&&(t.target.closest(".header__desktop-media-content")||(n.classList.contains("subpanel-opened")?S():x())));}));}(),function(){const e=n.querySelector(".header-swiper__container");if(!e)return;const t=n.querySelector(".button-next"),i=n.querySelector(".button-prev"),s=n.querySelector(".swiper-pagination");new re(e,{slidesPerView:1,navigation:{nextEl:t,prevEl:i},pagination:{el:s},mousewheel:{forceToAxis:!0},a11y:{enabled:!0,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",notificationClass:"swiper-notification"},modules:[le,ce,ue,ae]});}(),window.addEventListener("resize",S),S();})(),(()=>{let e=document.querySelector("footer"),t=document.querySelector(".footer-central__menu");if(!e&&t)return;let i=document.querySelectorAll(".footer-central__menu > ul > li");i.length&&i.forEach(((e)=>{if(e.classList.add("primary-menu__column"),e.querySelector("ul")){let t=e.querySelector("span");t&&(t.className="toggle-ul-footer");}}));let n=document.querySelectorAll(".toggle-ul-footer");n.length&&n.forEach(((e)=>{e.addEventListener("click",((t)=>{t.preventDefault();let i=e.nextSibling.nextSibling;pe(i,300),e.classList.contains("open")?e.classList.remove("open"):e.classList.add("open");})),e.addEventListener("keydown",(function(t){t.preventDefault();let i=e.nextSibling.nextSibling;pe(i,300),"Enter"===t.key?e.classList.contains("open")||e.classList.add("open"):"Escape"===t.key&&e.classList.contains("open")&&e.classList.remove("open");}));})),(()=>{const e=document.querySelector("body"),t=document.querySelector("#header"),i=document.querySelector(".confirm-language");if(!i)return;function n(){const e=i.offsetHeight;t.style.top=e+"px";}n(),window.addEventListener("resize",n);const s=i.querySelector(".confirm-language__close");let r=parseInt(i.getAttribute("data-expire")),a=i.getAttribute("data-name");s.addEventListener("click",(function(n){n.preventDefault(),e.classList.remove("show-banner"),i.classList.remove("show"),t.style.top=0,((e,t,i)=>{let n="";if(i){var s=new Date();s.setTime(s.getTime()+24*i*60*60*1e3),n="; expires="+s.toUTCString();}document.cookie=e+"=true"+n+"; path=/";})(a,0,r);})),((e)=>{for(var t=e+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(var s=i[n];" "==s.charAt(0);)s=s.substring(1,s.length);if(0==s.indexOf(t))return s.substring(t.length,s.length);}return null;})(a)?(e.classList.remove("show-banner"),i.classList.remove("show"),t.style.top=0):(e.classList.add("show-banner"),i.classList.add("show"),n());})();const s=e.querySelector(".credits-cta"),r=e.querySelector(".footer-credits__close"),a=e.querySelector(".footer-credits");if(!s||!a)return;s.addEventListener("click",(function(e){e.preventDefault(),o(a);})),s.addEventListener("keydown",(function(e){"Enter"===e.key&&(e.preventDefault(),o(a));})),r.addEventListener("click",(function(e){e.preventDefault(),o(a);}));const o=(e)=>{e.classList.contains("open")?(e.classList.remove("open"),e.classList.add("close")):(e.classList.remove("close"),e.classList.add("open"));};document.addEventListener("keyup",((e)=>
15{27===e.keyCode&&(a.classList.remove("open"),a.classList.add("close"));}));})(),(()=>{const e=document.querySelectorAll(".fix-bar--exclusion .fix-bar__item"),t=document.querySelectorAll(".fix-bar--overlay .fix-bar__item--label");e.forEach(((e,i)=>{e.addEventListener("mouseenter",(()=>t[i]?.classList.add("is-hovered"))),e.addEventListener("mouseleave",(()=>t[i]?.classList.remove("is-hovered")));}));})(),new a(),document.querySelectorAll("[data-animm]").forEach(n),(()=>{var e=document.querySelectorAll(".scroll-to");if(0===e.length)return;e.forEach(((e)=>{e.addEventListener("click",((i)=>{i.preventDefault(),t(e);}));}));const t=(e)=>{let t=e.getAttribute("href"),i=document.querySelector(t);if(!i)return;const n=(e,t,i,s,r)=>{const a=t-e;let o=a/i;o=Math.min(o,1);const l=(d=o)<.5?16*d*d*d*d*d:1-Math.pow(-2*d+2,5)/2;var d;window.scroll(0,r+s*l),a<i&&requestAnimationFrame(((t)=>{const a=t||(new Date()).getTime();n(e,a,i,s,r);}));};requestAnimationFrame(((e)=>{const t=e||(new Date()).getTime(),s=t,r=window.scrollY,a=i.getBoundingClientRect().top-60;n(s,t,500,a,r);}));};})(),me(),s();})),document.addEventListener("DOMContentLoaded",(function(){const e=(e)=>{const t=e.nextElementSibling;t.style.height="0px"===t.style.height||""===t.style.height?t.scrollHeight+"px":"0px";};document.querySelectorAll(".open_consenso").forEach(((t)=>{t.setAttribute("tabindex","0"),t.addEventListener("click",(()=>e(t))),t.addEventListener("keydown",((i)=>{"Enter"===i.key&&e(t);}));})),document.querySelectorAll(".dichiarazione_consenso_toggle").forEach(((e)=>{new ResizeObserver(((e)=>{e.forEach(((e)=>{"0px"!==e.target.style.height&&""!==e.target.style.height&&(e.target.style.height=e.target.scrollHeight+"px");}));})).observe(e);}));}));})();})();; 16(()=>{"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor" in e&&e.constructor===Object;}function t(i,n){void 0===i&&(i={}),void 0===n&&(n={}),Object.keys(n).forEach(((s)=>{void 0===i[s]?i[s]=n[s]:e(n[s])&&e(i[s])&&Object.keys(n[s]).length>0&&t(i[s],n[s]);}));}const i={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 n(){const e="undefined"!=typeof document?document:{};return t(e,i),e;}const s={document:i,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 r(){const e="undefined"!=typeof window?window:{};return t(e,s),e;}function a(e,t){return void 0===t&&(t=0),setTimeout(e,t);}function o(){return Date.now();}function l(e){return "object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1);}function d(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const s=n<0||arguments.length<=n?void 0:arguments[n];if(null!=s&&(i=s,!("undefined"!=typeof window&&void 0!==window.HTMLElement?i instanceof HTMLElement:i&&(1===i.nodeType||11===i.nodeType)))){const i=Object.keys(Object(s)).filter(((e)=>t.indexOf(e)<0));for(let t=0,n=i.length;t<n;t+=1){const n=i[t],r=Object.getOwnPropertyDescriptor(s,n);void 0!==r&&r.enumerable&&(l(e[n])&&l(s[n])?s[n].__swiper__?e[n]=s[n]:d(e[n],s[n]):!l(e[n])&&l(s[n])?(e[n]={},s[n].__swiper__?e[n]=s[n]:d(e[n],s[n])):e[n]=s[n]);}}}var i;return e;}function c(e,t,i){e.style.setProperty(t,i);}function u(e){let {swiper:t,targetPosition:i,side:n}=e;const s=r(),a=-t.translate;let o,l=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(t.cssModeFrameID);const c=i>a?"next":"prev",u=(e,t)=>
16"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{o=(new Date()).getTime(),null===l&&(l=o);const e=Math.max(Math.min((o-l)/d,1),0),r=.5-Math.cos(e*Math.PI)/2;let c=a+r*(i-a);if(u(c,i)&&(c=i),t.wrapperEl.scrollTo({[n]:c}),u(c,i))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:c});})),void s.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=s.requestAnimationFrame(p);};p();}function p(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e;}function f(e,t){return void 0===t&&(t=""),[...e.children].filter(((e)=>e.matches(t)));}function m(e){try{return void console.warn(e);}catch(e){}}function h(e,t){void 0===t&&(t=[]);const i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter(((e)=>!!e.trim()));}(t)),i;}function g(e,t){return r().getComputedStyle(e,null).getPropertyValue(t);}function v(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t;}}function y(e,t){const i=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&i.push(n):i.push(n),n=n.parentElement;return i;}function w(e,t,i){const n=r();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;}function b(e){return (Array.isArray(e)?e:[e]).filter(((e)=>!!e));}let S,E,x;function T(){return S||(S=function(){const e=r(),t=n();return {smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior" in t.documentElement.style,touch:!!("ontouchstart" in e||e.DocumentTouch&&t instanceof e.DocumentTouch)};}()),S;}function M(e){return void 0===e&&(e={}),E||(E=function(e){let {userAgent:t}=void 0===e?{}:e;const i=T(),n=r(),s=n.navigator.platform,a=t||n.navigator.userAgent,o={ios:!1,android:!1},l=n.screen.width,d=n.screen.height,c=a.match(/(Android);?[\s\/]+([\d.]+)?/);let u=a.match(/(iPad).*OS\s([\d_]+)/);const p=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!u&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===s;let h="MacIntel"===s;return !u&&h&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${d}`)>=0&&(u=a.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),h=!1),c&&!m&&(o.os="android",o.android=!0),(u||f||p)&&(o.os="ios",o.ios=!0),o;}(e)),E;}var C={on(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const s=i?"unshift":"push";return e.split(" ").forEach(((e)=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t);})),n;},once(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function s(){n.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];t.apply(n,r);}return s.__emitterProxy=t,n.on(e,s,i);},onAny(e,t){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof e)return i;const n=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[n](e),i;},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t;},off(e,t){const i=this;return !i.eventsListeners||i.destroyed?i:i.eventsListeners?(e.split(" ").forEach(((e)=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(((n,s)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(s,1);}));})),i):i;},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,i,n;for(var s=arguments.length,r=new Array(s),a=0;a<s;a++)r[a]=arguments[a];return "string"==typeof r[0]||Array.isArray(r[0])?(t=r[0],i=r.slice(1,r.length),n=e):(t=r[0].events,i=r[0].data,n=r[0].context||e),i.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEac
16h(((t)=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(((e)=>{e.apply(n,[t,...i]);})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(((e)=>{e.apply(n,i);}));})),e;}};const L=(e,t)=>{if(!e||e.destroyed||!e.params)return;const i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove());}))),t&&t.remove();}},P=(e,t)=>{if(!e.slides[t])return;const i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading");},k=(e)=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);const n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),s=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const i=s,r=[i-t];return r.push(...Array.from({length:t}).map(((e,t)=>i+n+t))),void e.slides.forEach(((t,i)=>{r.includes(t.column)&&P(e,i);}));}const r=s+n-1;if(e.params.rewind||e.params.loop){for(let n=s-t;n<=r+t;n+=1){const t=(n%i+i)%i;(t<s||t>r)&&P(e,t);}}else{for(let n=Math.max(s-t,0);n<=Math.min(r+t,i-1);n+=1)n!==s&&(n>r||n<s)&&P(e,n);}};var A={updateSize:function(){const e=this;let t,i;const 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(g(n,"padding-left")||0,10)-parseInt(g(n,"padding-right")||0,10),i=i-parseInt(g(n,"padding-top")||0,10)-parseInt(g(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 e=this;function t(t,i){return parseFloat(t.getPropertyValue(e.getDirectionLabel(i))||0);}const i=e.params,{wrapperEl:n,slidesEl:s,size:r,rtlTranslate:a,wrongRTL:o}=e,l=e.virtual&&i.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,u=f(s,`.${e.params.slideClass}, swiper-slide`),p=l?e.virtual.slides.length:u.length;let m=[];const h=[],v=[];let y=i.slidesOffsetBefore;"function"==typeof y&&(y=i.slidesOffsetBefore.call(e));let b=i.slidesOffsetAfter;"function"==typeof b&&(b=i.slidesOffsetAfter.call(e));const S=e.snapGrid.length,E=e.slidesGrid.length;let x=i.spaceBetween,T=-y,M=0,C=0;if(void 0===r)return;"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*r:"string"==typeof x&&(x=parseFloat(x)),e.virtualSize=-x,u.forEach(((e)=>{a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop="";})),i.centeredSlides&&i.cssMode&&(c(n,"--swiper-centered-offset-before",""),c(n,"--swiper-centered-offset-after",""));const L=i.grid&&i.grid.rows>1&&e.grid;let P;L?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const k="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(((e)=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let n=0;n<p;n+=1){let s;if(P=0,u[n]&&(s=u[n]),L&&e.grid.updateSlide(n,s,u),!u[n]||"none"!==g(s,"display")){if("auto"===i.slidesPerView){k&&(u[n].style[e.getDirectionLabel("width")]="");const r=getComputedStyle(s),a=s.style.transform,o=s.style.webkitTransform;if(a&&(s.style.transform="none"),o&&(s.style.webkitTransform="none"),i.roundLengths)P=e.isHorizontal()?w(s,"width",!0):w(s,"height",!0);else{const e=t(r,"width"),i=t(r,"padding-left"),n=t(r,"padding-right"),a=t(r,"margin-left"),o=t(r,"margin-right"),l=r.getPropertyValue("box-sizing");if(l&&"border-box"===l)P=e+a+o;else{const {clientWidth:t,offsetWidth:r}=s;P=e+i+n+a+o+(r-t);}}a&&(s.style.transform=a),o&&(s.style.webkitTransform=o),i.roundLengths&&(P=Math.floor(P));}else P=(r-(i.slidesPerView-1)*x)/i.slidesPerView,i.roundLengths&&(P=Math.floor(P)),u[n]&&(u[n].style[e.getDirectionLabel("width")]=`${P}px`);u[n]&&(u[n].swiperSlideSize=P),v.push(P),i.centeredSlides?(T=T+P/2+M/2+x,0===M&&0!==n&&(T=T-r/2-x),0===n&&(T=T-r/2-x),Math.abs(T)<.001&&(T=0),i.roundLengths&&(T=Math.floor(T)),C%i.slidesPerGroup==0&&m.push(T),h.push(T)):(i.roundLengths&&(T=Math.floor(T)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup==0&&m.push(T),h.push(T),T=T+P+x),e.virtualSize+=P+x,M=P,C+=1;}}if(e.virtualSize=Math.max(e.virtualSize,r)+b,a&&o&&("slide"===i.effect||"coverflow"===i.effect)&&(n.style.width=`${e.virtualSize+x}px`),i.setWrapperSize&&(n.style[e.getDirectionLabel("width")]=`${e.virtualSize+x}px`),L&&e.grid.updateWrapperSize(P,m),!i.centeredSlides){const t=[];for(let n=0;n<m.length;n+=1){let s=m[n];i.roundLengths&&(s=Math.floor(s)),m[n]<=e.virtualSize-r&&t.push(s);}
16m=t,Math.floor(e.virtualSize-r)-Math.floor(m[m.length-1])>1&&m.push(e.virtualSize-r);}if(l&&i.loop){const t=v[0]+x;if(i.slidesPerGroup>1){const n=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/i.slidesPerGroup),s=t*i.slidesPerGroup;for(let e=0;e<n;e+=1)m.push(m[m.length-1]+s);}for(let n=0;n<e.virtual.slidesBefore+e.virtual.slidesAfter;n+=1)1===i.slidesPerGroup&&m.push(m[m.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t;}if(0===m.length&&(m=[0]),0!==x){const t=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");u.filter(((e,t)=>!(i.cssMode&&!i.loop)||t!==u.length-1)).forEach(((e)=>{e.style[t]=`${x}px`;}));}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;v.forEach(((t)=>{e+=t+(x||0);})),e-=x;const t=e-r;m=m.map(((e)=>e<=0?-y:e>t?t+b:e));}if(i.centerInsufficientSlides){let e=0;if(v.forEach(((t)=>{e+=t+(x||0);})),e-=x,e<r){const t=(r-e)/2;m.forEach(((e,i)=>{m[i]=e-t;})),h.forEach(((e,i)=>{h[i]=e+t;}));}}if(Object.assign(e,{slides:u,snapGrid:m,slidesGrid:h,slidesSizesGrid:v}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){c(n,"--swiper-centered-offset-before",-m[0]+"px"),c(n,"--swiper-centered-offset-after",e.size/2-v[v.length-1]/2+"px");const t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(((e)=>e+t)),e.slidesGrid=e.slidesGrid.map(((e)=>e+i));}if(p!==d&&e.emit("slidesLengthChange"),m.length!==S&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==E&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,n=e.el.classList.contains(t);p<=i.maxBackfaceHiddenSlides?n||e.el.classList.add(t):n&&e.el.classList.remove(t);}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let s,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=(e)=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(((e)=>{i.push(e);}));else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){const e=t.activeIndex+s;if(e>t.slides.length&&!n)break;i.push(a(e));}else i.push(a(t.activeIndex));for(s=0;s<i.length;s+=1)if(void 0!==i[s]){const e=i[s].offsetHeight;r=e>r?e:r;}(r||0===r)&&(t.wrapperEl.style.height=`${r}px`);},updateSlidesOffset:function(){const e=this,t=e.slides,i=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=(e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop)-i-e.cssOverflowAdjustment();},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,i=t.params,{slides:n,rtlTranslate:s,snapGrid:r}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;s&&(a=e),n.forEach(((e)=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass);})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=i.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<n.length;e+=1){const l=n[e];let d=l.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const c=(a+(i.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),u=(a-r[0]+(i.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),p=-(a-d),f=p+t.slidesSizesGrid[e],m=p>=0&&p<=t.size-t.slidesSizesGrid[e];(p>=0&&p<t.size-1||f>1&&f<=t.size||p<=0&&f>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),n[e].classList.add(i.slideVisibleClass)),m&&n[e].classList.add(i.slideFullyVisibleClass),l.progress=s?-c:c,l.originalProgress=s?-u:u;}},updateProgress:function(e){const 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:s,isBeginning:r,isEnd:a,progressLoop:o}=t;const l=r,d=a;if(0===n)s=0,r=!0,a=!0;else{s=(e-t.minTranslate())/n;const i=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;r=i||s<=0,a=o||s>=1,i&&(s=0),o&&(s=1);}if(i.loop){const i=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),s=t.slidesGrid[i],r=t.slidesGrid[n],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=s?(l-s)/a:(l+a-r)/a,o>1&&(o-=1);}Object.assign(t,{progress:s,progressLoop:o,isBeginning:r,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),a&&!d&&t.emit("reachEnd toEdge"),(l&&!r||d&&!a)&&t.emit("fromEdge"),t.emit("progress",s);},updateSlidesClasses:function(){const e=this,{slides:t,params:i,slidesEl:n,activeIndex:s}=e,r=e.virtual&&i.virtual.enabled,a=e.grid&&i.grid&&i.grid.rows>1,o=(e)=>f(n,`.${i.slideClass}${e}, swiper-slide${e}`)[0];let l,d,c;if(t.forEach(((e)=>{e.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass);})),r)if(i.loop){let t=s-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${t}"]`);}else l=o(`[data-swiper-slide-index="${s}"]`);else a?(l=t.filter(((e)=>e.column===s))[0],c=t.filter(((e)=>e.column===s+1))[0],d=t.filter(((e)=>e.column===s-1))[0]):l=t[s];l&&(l.classList.add(i.slideActiveClass),a?(c&&c.classList.add(i.slideNextClass),d&&d.classList.add(i.slidePrevClass)):(c=function(e,t){const i=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n;}return i;}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=t[0]),c&&c.classList.add(i.slideNextClass),d=function(e,t){const i=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n;}return i;}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&0===!d&&(d=t[t.length-1]),d&&d.classList.add(i.slidePrevClass))),e.emitSlidesClasses();},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:s,activeIndex:r,realIndex:a,snapIndex:o}=t;let l,d=e;const c=(e)=>{let i=e-t.virtual.slidesBefore;return i<0&&(i=t.virtual.slides.length+i),i>=t.virtual.slides.length&&(i-=t.virtual.slides.length),i;};if(void 0===d&&(d=function(e){const {slidesGrid:t,params:i}=e,n=e.rtlTranslate?e.translate:-e.translate;let s;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?s=e:n>=t[e]&&n<t[e+1]&&(s=e+1):n>=t[e]&&(s=e);return i.normalizeSlideIndex&&(s<0||void 0===s)&&(s=0),s;}(t)),n.indexOf(i)>=0)l=n.indexOf(i);else{const e=Math.min(s.slidesPerGroupSkip,d);l=e+Math.floor((d-e)/s.slidesPerGroup);}if(l>=n.length&&(l=n.length-1),d===r&&!t.params.loop)return void (l!==o&&(t.snapIndex=l,t.emit("snapIndexChange")));if(d===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void (t.realIndex=c(d));const u=t.grid&&s.grid&&s.grid.rows>1;let p;if(t.virtual&&s.virtual.enabled&&s.loop)p=c(d);else if(u){const e=t.slides.filter(((e)=>e.column===d))[0];let i=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(t.slides.indexOf(e),0)),p=Math.floor(i/s.grid.rows);}else if(t.slides[d]){const e=t.slides[d].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):d;}else p=d;Object.assign(t,{previousSnapIndex:o,snapIndex:l,previousRealIndex:a,realIndex:p,previousIndex:r,activeIndex:d}),t.initialized&&k(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&t.emit("realIndexChange"),t.emit("slideChange"));},updateClickedSlide:function(e,t){const i=this,n=i.params;let s=e.closest(`.${n.slideClass}, swiper-slide`);!s&&i.isElement&&t&&t.length>
161&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(((e)=>{!s&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(s=e);}));let r,a=!1;if(s){for(let e=0;e<i.slides.length;e+=1)if(i.slides[e]===s){a=!0,r=e;break;}}if(!s||!a)return i.clickedSlide=void 0,void (i.clickedIndex=void 0);i.clickedSlide=s,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r,n.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide();}},I={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const {params:t,rtlTranslate:i,translate:n,wrapperEl:s}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let a=function(e,t){void 0===t&&(t="x");const i=r();let n,s,a;const o=function(e){const t=r();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i;}(e);return i.WebKitCSSMatrix?(s=o.transform||o.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(((e)=>e.replace(",","."))).join(", ")),a=new i.WebKitCSSMatrix("none"===s?"":s)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=a.toString().split(",")),"x"===t&&(s=i.WebKitCSSMatrix?a.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(s=i.WebKitCSSMatrix?a.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),s||0;}(s,e);return a+=this.cssOverflowAdjustment(),i&&(a=-a),a||0;},setTranslate:function(e,t){const i=this,{rtlTranslate:n,params:s,wrapperEl:r,progress:a}=i;let o,l=0,d=0;i.isHorizontal()?l=n?-e:e:d=e,s.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:d,s.cssMode?r[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-d:s.virtualTranslate||(i.isHorizontal()?l-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),r.style.transform=`translate3d(${l}px, ${d}px, 0px)`);const c=i.maxTranslate()-i.minTranslate();o=0===c?0:(e-i.minTranslate())/c,o!==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,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);const r=this,{params:a,wrapperEl:o}=r;if(r.animating&&a.preventInteractionOnTransition)return !1;const l=r.minTranslate(),d=r.maxTranslate();let c;if(c=n&&e>l?l:n&&e<d?d:e,r.updateProgress(c),a.cssMode){const e=r.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return u({swiper:r,targetPosition:-c,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"});}return !0;}return 0===t?(r.setTransition(0),r.setTranslate(c),i&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(c),i&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"));}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0;}};function O(e){let {swiper:t,runCallbacks:i,direction:n,step:s}=e;const {activeIndex:r,previousIndex:a}=t;let o=n;if(o||(o=r>a?"next":r<a?"prev":"reset"),t.emit(`transition${s}`),i&&r!==a){if("reset"===o)return void t.emit(`slideResetTransition${s}`);t.emit(`slideChangeTransition${s}`),"next"===o?t.emit(`slideNextTransition${s}`):t.emit(`slidePrevTransition${s}`);}}var _={slideTo:function(e,t,i,n,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof e&&(e=parseInt(e,10));const r=this;let a=e;a<0&&(a=0);const {params:o,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:f,wrapperEl:m,enabled:h}=r;if(r.animating&&o.preventInteractionOnTransition||!h&&!n&&!s||r.destroyed)return !1;const g=Math.min(r.params.slidesPerGroupSkip,a);let v=g+Math.floor((a-g)/r.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const y=-l[v];
16if(o.normalizeSlideIndex){for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*y),i=Math.floor(100*d[e]),n=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=i&&t<n-(n-i)/2?a=e:t>=i&&t<n&&(a=e+1):t>=i&&(a=e);}}if(r.initialized&&a!==p){if(!r.allowSlideNext&&(f?y>r.translate&&y>r.minTranslate():y<r.translate&&y<r.minTranslate()))return !1;if(!r.allowSlidePrev&&y>r.translate&&y>r.maxTranslate()&&(p||0)!==a)return !1;}let w;if(a!==(c||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(y),w=a>p?"next":a<p?"prev":"reset",f&&-y===r.translate||!f&&y===r.translate)return r.updateActiveIndex(a),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==o.effect&&r.setTranslate(y),"reset"!==w&&(r.transitionStart(i,w),r.transitionEnd(i,w)),!1;if(o.cssMode){const e=r.isHorizontal(),i=f?y:-y;if(0===t){const t=r.virtual&&r.params.virtual.enabled;t&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),t&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{m[e?"scrollLeft":"scrollTop"]=i;}))):m[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1;}));}else{if(!r.support.smoothScroll)return u({swiper:r,targetPosition:i,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:i,behavior:"smooth"});}return !0;}return r.setTransition(t),r.setTranslate(y),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,w),0===t?r.transitionEnd(i,w):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,w));}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0;},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof e&&(e=parseInt(e,10));const s=this;if(s.destroyed)return;const r=s.grid&&s.params.grid&&s.params.grid.rows>1;let a=e;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)a+=s.virtual.slidesBefore;else{let e;if(r){const t=a*s.params.grid.rows;e=s.slides.filter(((e)=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column;}else e=s.getSlideIndexByData(a);const t=r?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:i}=s.params;let n=s.params.slidesPerView;"auto"===n?n=s.slidesPerViewDynamic():(n=Math.ceil(parseFloat(s.params.slidesPerView,10)),i&&n%2==0&&(n+=1));let o=t-e<n;if(i&&(o=o||e<Math.ceil(n/2)),o){const n=i?e<s.activeIndex?"prev":"next":e-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?s.realIndex:void 0});}if(r){const e=a*s.params.grid.rows;a=s.slides.filter(((t)=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column;}else a=s.getSlideIndexByData(a);}return requestAnimationFrame((()=>{s.slideTo(a,t,i,n);})),s;},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{enabled:s,params:r,animating:a}=n;if(!s||n.destroyed)return n;let o=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<r.slidesPerGroupSkip?1:o,d=n.virtual&&r.virtual.enabled;if(r.loop){if(a&&!d&&r.loopPreventsSliding)return !1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&r.cssMode)return requestAnimationFrame((()=>{n.slideTo(n.activeIndex+l,e,t,i);})),!0;}return r.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:s,snapGrid:r,slidesGrid:a,rtlTranslate:o,enabled:l,animating:d}=n;if(!l||n.destroyed)return n;const c=n.virtual&&s.virtual.enabled;if(s.loop){if(d&&!c&&s.loopPreventsSliding)return !1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft;}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e);}const p=u(o?n.translate:-n.translate),f=r.map(((e)=>u(e)));let m=r[f.indexOf(p)-1];if(void 0===m&&s.cssMode){let e;r.forEach(((t,i)=>{p>=t&&(e=i);})),void 0!==e&&(m=r[e>0?e-1:e]);}let h=0;if(void 0!==m&&(h=a.indexOf(m),h<0&&(h=n.activeIndex-1),"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(h=h-n.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),s.rewind&&n.isBeginning){const s=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(s,e,t,i);}return s.loop&&0===n.activeIndex&&s.cssMode?(requestAnimationFrame((()=>{n.slideTo(h,e,t,i);})),!0):n.slideTo(h,e,t,i);},slideReset:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,e,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);const s=this;if(s.destroyed)return;let r=s.activeIndex;const a=Math.min(s.params.slidesPerGroupSkip,r),o=a+Math.floor((r-a)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[o]){const e=s.snapGrid[o];l-e>(s.snapGrid[o+1]-e)*n&&(r+=s.params.slidesPerGroup);}else{const e=s.snapGrid[o-1];l-e<=(s.snapGrid[o]-e)*n&&(r-=s.params.slidesPerGroup);}return r=Math.max(r,0),r=Math.min(r,s.slidesGrid.length-1),s.slideTo(r,e,t,i);},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const {params:t,slidesEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let s,r=e.clickedIndex;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-n/2||r>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),r=e.getSlideIndex(f(i,`${o}[data-swiper-slide-index="${s}"]`)[0]),a((()=>{e.slideTo(r);}))):e.slideTo(r):r>e.slides.length-n?(e.loopFix(),r=e.getSlideIndex(f(i,`${o}[data-swiper-slide-index="${s}"]`)[0]),a((()=>{e.slideTo(r);}))):e.slideTo(r);}else e.slideTo(r);}},D={loopCreate:function(e){const t=this,{params:i,slidesEl:n}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const s=()=>{f(n,`.${i.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t);}));},r=t.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(r?i.grid.rows:1),o=t.slides.length%a!=0,l=r&&t.slides.length%i.grid.rows!=0,d=(e)=>{for(let n=0;n<e;n+=1){const e=t.isElement?h("swiper-slide",[i.slideBlankClass]):h("div",[i.slideClass,i.slideBlankClass]);t.slidesEl.append(e);}};o?(i.loopAddBlankSlides?(d(a-t.slides.length%a),t.recalcSlides(),t.updateSlides()):m("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may
16not function properly. You need to add more slides (or make duplicates, or empty slides)"),s()):l?(i.loopAddBlankSlides?(d(i.grid.rows-t.slides.length%i.grid.rows),t.recalcSlides(),t.updateSlides()):m("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)"),s()):s(),t.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next"});},loopFix:function(e){let {slideRealIndex:t,slideTo:i=!0,direction:n,setTranslate:s,activeSlideIndex:r,byController:a,byMousewheel:o}=void 0===e?{}:e;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const {slides:d,allowSlidePrev:c,allowSlideNext:u,slidesEl:p,params:f}=l,{centeredSlides:h}=f;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&f.virtual.enabled)return i&&(f.centeredSlides||0!==l.snapIndex?f.centeredSlides&&l.snapIndex<f.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=u,void l.emit("loopFix");let g=f.slidesPerView;"auto"===g?g=l.slidesPerViewDynamic():(g=Math.ceil(parseFloat(f.slidesPerView,10)),h&&g%2==0&&(g+=1));const v=f.slidesPerGroupAuto?g:f.slidesPerGroup;let y=v;y%v!=0&&(y+=v-y%v),y+=f.loopAdditionalSlides,l.loopedSlides=y;const w=l.grid&&f.grid&&f.grid.rows>1;d.length<g+y?m("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"):w&&"row"===f.grid.fill&&m("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],S=[];let E=l.activeIndex;void 0===r?r=l.getSlideIndex(d.filter(((e)=>e.classList.contains(f.slideActiveClass)))[0]):E=r;const x="next"===n||!n,T="prev"===n||!n;let M=0,C=0;const L=w?Math.ceil(d.length/f.grid.rows):d.length,P=(w?d[r].column:r)+(h&&void 0===s?-g/2+.5:0);if(P<y){M=Math.max(y-P,v);for(let e=0;e<y-P;e+=1){const t=e-Math.floor(e/L)*L;if(w){const e=L-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&b.push(t);}else b.push(L-t-1);}}else{if(P+g>L-y){C=Math.max(P-(L-2*y),v);for(let e=0;e<C;e+=1){const t=e-Math.floor(e/L)*L;w?d.forEach(((e,i)=>{e.column===t&&S.push(i);})):S.push(t);}}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1;})),T&&b.forEach(((e)=>{d[e].swiperLoopMoveDOM=!0,p.prepend(d[e]),d[e].swiperLoopMoveDOM=!1;}
16)),x&&S.forEach(((e)=>{d[e].swiperLoopMoveDOM=!0,p.append(d[e]),d[e].swiperLoopMoveDOM=!1;})),l.recalcSlides(),"auto"===f.slidesPerView?l.updateSlides():w&&(b.length>0&&T||S.length>0&&x)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides);})),f.watchSlidesProgress&&l.updateSlidesOffset(),i)if(b.length>0&&T)if(void 0===t){const e=l.slidesGrid[E],t=l.slidesGrid[E+M]-e;o?l.setTranslate(l.translate-t):(l.slideTo(E+Math.ceil(M),0,!1,!0),s&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t));}else{if(s){const e=w?b.length/f.grid.rows:b.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate;}}else{if(S.length>0&&x)if(void 0===t){const e=l.slidesGrid[E],t=l.slidesGrid[E-C]-e;o?l.setTranslate(l.translate-t):(l.slideTo(E-C,0,!1,!0),s&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t));}else{const e=w?S.length/f.grid.rows:S.length;l.slideTo(l.activeIndex-e,0,!1,!0);}}if(l.allowSlidePrev=c,l.allowSlideNext=u,l.controller&&l.controller.control&&!a){const e={slideRealIndex:t,direction:n,setTranslate:s,activeSlideIndex:r,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(((t)=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&i});})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===f.slidesPerView&&i});}l.emit("loopFix");},loopDestroy:function(){const e=this,{params:t,slidesEl:i}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach(((e)=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e;})),e.slides.forEach(((e)=>{e.removeAttribute("data-swiper-slide-index");})),n.forEach(((e)=>{i.append(e);})),e.recalcSlides(),e.slideTo(e.realIndex,0);}};function z(e,t,i){const n=r(),{params:s}=e,a=s.edgeSwipeDetection,o=s.edgeSwipeThreshold;return !a||!(i<=o||i>=n.innerWidth-o)||"prevent"===a&&(t.preventDefault(),!0);}function G(e){const t=this,i=n();let s=e;s.originalEvent&&(s=s.originalEvent);const a=t.touchEventsData;if("pointerdown"===s.type){if(null!==a.pointerId&&a.pointerId!==s.pointerId)return;a.pointerId=s.pointerId;}else "touchstart"===s.type&&1===s.targetTouches.length&&(a.touchId=s.targetTouches[0].identifier);if("touchstart"===s.type)return void z(t,s,s.targetTouches[0].pageX);const {params:l,touches:d,enabled:c}=t;if(!c)return;if(!l.simulateTouch&&"mouse"===s.pointerType)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let u=s.target;if("wrapper"===l.touchEventsTarget&&!t.wrapperEl.contains(u))return;if("which" in s&&3===s.which)return;if("button" in s&&s.button>0)return;if(a.isTouched&&a.isMoved)return;const p=!!l.noSwipingClass&&""!==l.noSwipingClass,f=s.composedPath?s.composedPath():s.path;p&&s.target&&s.target.shadowRoot&&f&&(u=f[0]);const m=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,h=!(!s.target||!s.target.shadowRoot);if(l.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(i){if(!i||i===n()||i===r())return null;i.assignedSlot&&(i=i.assignedSlot);const s=i.closest(e);return s||i.getRootNode?s||t(i.getRootNode().host):null;}(t);}(m,u):u.closest(m)))return void (t.allowClick=!0);if(l.swipeHandler&&!u.closest(l.swipeHandler))return;d.currentX=s.pageX,d.currentY=s.pageY;const g=d.currentX,v=d.currentY;if(!z(t,s,g))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=g,d.startY=v,a.touchStartTime=o(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(a.allowThresholdMove=!1);let y=!0;u.matches(a.focusableElements)&&(y=!1,"SELECT"===u.nodeName&&(a.isTouched=!1)),i.activeElement&&i.activeElement.matches(a.focusableElements)&&i.activeElement!==u&&i.activeElement.blur();const w=y&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!w||u.isContentEditable||s.preventDefault(),l.freeMode&&l.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",s);}function B(e){const t=n(),i=this,s=i.touchEventsData,{params:r,touches:a,rtlTranslate:l,enabled:d}=i;if(!d)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let c,u=e;if(u.originalEvent&&(u=u.originalEvent),"pointermove"===u.type){if(null!==s.touchId)return;if(u.pointerId!==s.pointerId)return;}if("touchmove"===u.type){if(c=[...u.changedTouches].filter(((e)=>e.identifier===s.touchId))[0],!c||c.identifier!==s.touchId)return;}else c=u;if(!s.isTouched)return void (s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",u));const p=c.pageX,f=c.pageY;if(u.preventedByNestedSwiper)return a.startX=p,void (a.startY=f);if(!i.allowTouchMove)return u.target.matches(s.focusableElements)||(i.allowClick=!1),void (s.isTouched&&(Object.assign(a,{startX:p,startY:f,currentX:p,currentY:f}),s.touchStartTime=o()));if(r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(f<a.startY&&i.translate<=i.maxTranslate()||f>a.startY&&i.translate>=i.minTranslate())return s.isTouched=!1,void (s.isMoved=!1);}else{if(p<a.startX&&i.translate<=i.maxTranslate()||p>a.startX&&i.translate>=i.minTranslate())return;}if(t.activeElement&&u.target===t.activeElement&&u.target.matches(s.focusableElements))return s.isMoved=!0,void (i.allowClick=!1);s.allowTouchCallbacks&&i.emit("touchMove",u),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=p,a.currentY=f;const m=a.currentX-a.startX,h=a.currentY-a.startY;if(i.params.threshold&&Math.sqrt(m**2+h**2)<i.params.threshold)return;if(void 0===s.isScrolling){let e;i.isHorizontal()&&a.currentY===a.startY||i.isVertical()&&a.currentX===a.startX?s.isScrolling=!1:m*m+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(m))/Math.PI,s.isScrolling=i.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle);}if(s.isScrolling&&i.emit("touchMoveOpposite",u),void 0===s.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(s.startMoving=!0)),s.isScrolling)return void (s.isTouched=!1);if(!s.startMoving)return;i.allowClick=!1,!r.cssMode&&u.cancelable&&u.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&u.stopPropagation();let g=i.isHorizontal()?m:h,v=i.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;r.oneWayMovement&&(g=Math.abs(g)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),a.diff=g,g*=r.touchRatio,l&&(g=-g,v=-v);const y=i.touchesDirection;i.swipeDirection=g>0?"prev":"next",i.touchesDirection=v>0?"prev":"next";const w=i.params.loop&&!r.cssMode,b="next"===i.touchesDirection&&i.allowSlideNext||"prev"===i.touchesDirection&&i.allowSlidePrev;if(!s.isMoved){if(w&&b&&i.loopFix({direction:i.swipeDirection}),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});
vendor: 1,846 bytes, line 16
16i.wrapperEl.dispatchEvent(e);}s.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",u);}if((new Date()).getTime(),s.isMoved&&s.allowThresholdMove&&y!==i.touchesDirection&&w&&b&&Math.abs(g)>=1)return Object.assign(a,{startX:p,startY:f,currentX:p,currentY:f,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,void (s.startTranslate=s.currentTranslate);i.emit("sliderMove",u),s.isMoved=!0,s.currentTranslate=g+s.startTranslate;let S=!0,E=r.resistanceRatio;if(r.touchReleaseOnEdges&&(E=0),g>0?(w&&b&&s.allowThresholdMove&&s.currentTranslate>(r.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>i.minTranslate()&&(S=!1,r.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+g)**E))):g<0&&(w&&b&&s.allowThresholdMove&&s.currentTranslate<(r.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-("auto"===r.slidesPerView?i.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),s.currentTranslate<i.maxTranslate()&&(S=!1,r.resistance&&(s.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-s.startTranslate-g)**E))),S&&(u.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),i.allowSlidePrev||i.allowSlideNext||(s.currentTranslate=s.startTranslate),r.threshold>0){if(!(Math.abs(g)>r.threshold||s.allowThresholdMove))return void (s.currentTranslate=s.startTranslate);
vendor: 10,237 bytes, line 16
16if(!s.allowThresholdMove)return s.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,s.currentTranslate=s.startTranslate,void (a.diff=i.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY);}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate));}function N(e){const t=this,i=t.touchEventsData;let n,s=e;if(s.originalEvent&&(s=s.originalEvent),"touchend"===s.type||"touchcancel"===s.type){if(n=[...s.changedTouches].filter(((e)=>e.identifier===i.touchId))[0],!n||n.identifier!==i.touchId)return;}else{if(null!==i.touchId)return;if(s.pointerId!==i.pointerId)return;n=s;}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&(!["pointercancel","contextmenu"].includes(s.type)||!t.browser.isSafari&&!t.browser.isWebView))return;i.pointerId=null,i.touchId=null;const {params:r,touches:l,rtlTranslate:d,slidesGrid:c,enabled:u}=t;if(!u)return;if(!r.simulateTouch&&"mouse"===s.pointerType)return;if(i.allowTouchCallbacks&&t.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&r.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void (i.startMoving=!1);r.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const p=o(),f=p-i.touchStartTime;if(t.allowClick){const e=s.path||s.composedPath&&s.composedPath();t.updateClickedSlide(e&&e[0]||s.target,e),t.emit("tap click",s),f<300&&p-i.lastClickTime<300&&t.emit("doubleTap doubleClick",s);}if(i.lastClickTime=o(),a((()=>{t.destroyed||(t.allowClick=!0);})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===l.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset)return i.isTouched=!1,i.isMoved=!1,void (i.startMoving=!1);let m;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,m=r.followFinger?d?t.translate:-t.translate:-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:m});const h=m>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=e<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==c[e+t]?(h||m>=c[e]&&m<c[e+t])&&(g=e,v=c[e+t]-c[e]):(h||m>=c[e])&&(g=e,v=c[c.length-1]-c[c.length-2]);}let y=null,w=null;r.rewind&&(t.isBeginning?w=r.virtual&&r.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(y=0));const b=(m-c[g])/v,S=g<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(f>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?y:g+S):t.slideTo(g)),"prev"===t.swipeDirection&&(b>1-r.longSwipesRatio?t.slideTo(g+S):null!==w&&b<0&&Math.abs(b)>r.longSwipesRatio?t.slideTo(w):t.slideTo(g));}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||s.target!==t.navigation.nextEl&&s.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==y?y:g+S),"prev"===t.swipeDirection&&t.slideTo(null!==w?w:g)):s.target===t.navigation.nextEl?t.slideTo(g+S):t.slideTo(g);}}function F(){const e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const {allowSlideNext:n,allowSlidePrev:s,snapGrid:r}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!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=s,e.allowSlideNext=n,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow();}function q(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())));}function $(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;let s;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();s=0===r?0:(e.translate-e.minTranslate())/r,s!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1);}function V(e){const t=this;L(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update();}function R(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"));}const H=(e,t)=>{const i=n(),{params:s,el:r,wrapperEl:a,device:o}=e,l=!!s.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;i[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),r[d]("touchstart",e.onTouchStart,{passive:!1}),r[d]("pointerdown",e.onTouchStart,{passive:!1}),i[d]("touchmove",e.onTouchMove,{passive:!1,capture:l}),i[d]("pointermove",e.onTouchMove,{passive:!1,capture:l}),i[d]("touchend",e.onTouchEnd,{passive:!0}),i[d]("pointerup",e.onTouchEnd,{passive:!0}),i[d]("pointercancel",e.onTouchEnd,{passive:!0}),i[d]("touchcancel",e.onTouchEnd,{passive:!0}),i[d]("pointerout",e.onTouchEnd,{passive:!0}),i[d]("pointerleave",e.onTouchEnd,{passive:!0}),i[d]("contextmenu",e.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&r[d]("click",e.onClick,!0),s.cssMode&&a[d]("scroll",e.onScroll),s.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",F,!0):e[c]("observerUpdate",F,!0),r[d]("load",e.onLoad,{capture:!0});},j=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var W={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",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};function Y(e,t){return function(i){void 0===i&&(i={});const n=Object.keys(i)[0],s=i[n];"object"==typeof s&&null!==s?(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled" in s?("object"!=typeof e[n]||"enabled" in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),d(t,i)):d(t,i)):d(t,i);};}const X={eventsEmitter:C,update:A,translate:I,transition:{setTransition:function(e,t){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${e}ms`,i.wrapperEl.style.transitionDelay=0===e?"0ms":""),i.emit("setTransition",e,t);},transitionStart:function(e,t){void 0===e&&(e=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),O({swiper:i,runCallbacks:e,direction:t,step:"Start"}));},transitionEnd:function(e,t){void 0===e&&(e=!0);const i=this,{params:n}=i;i.animating=!1,n.cssMode||(i.setTransition(0),O({swiper:i,runCallbacks:e,direction:t,step:"End"}));}},slide:_,loop:D,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const 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(){const e=this,{params:t}=e;e.onTouchStart=G.bind(e),e.onTouchMove=B.bind(e),e.onTouchEnd=N.bind(e),e.onDocumentTouchStart=R.bind(e),t.cssMode&&(e.onScroll=$.bind(e)),e.onClick=q.bind(e),e.onLoad=V.bind(e),H(e,"on");},detachEvents:function(){H(this,"off");}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:i,params:n,el:s}=e,r=n.breakpoints;if(!r||r&&0===Object.keys(r).length)return;
16const a=e.getBreakpoint(r,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const o=(a in r?r[a]:void 0)||e.originalParams,l=j(e,n),c=j(e,o),u=n.enabled;l&&!c?(s.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&c&&(s.classList.add(`${n.containerModifierClass}grid`),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===n.grid.fill)&&s.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(((t)=>{if(void 0===o[t])return;const i=n[t]&&n[t].enabled,s=o[t]&&o[t].enabled;i&&!s&&e[t].disable(),!i&&s&&e[t].enable();}));const p=o.direction&&o.direction!==n.direction,f=n.loop&&(o.slidesPerView!==n.slidesPerView||p),m=n.loop;p&&i&&e.changeDirection(),d(e.params,o);const h=e.params.enabled,g=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!h?e.disable():!u&&h&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",o),i&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!m&&g?(e.loopCreate(t),e.updateSlides()):m&&!g&&e.loopDestroy()),e.emit("breakpoint",o);},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),!e||"container"===t&&!i)return;let n=!1;const s=r(),a="window"===t?s.innerHeight:i.clientHeight,o=Object.keys(e).map(((e)=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return {value:a*t,point:e};}return {value:e,point:e};}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<o.length;e+=1){const {point:r,value:a}=o[e];"window"===t?s.matchMedia(`(min-width: ${a}px)`).matches&&(n=r):a<=i.clientWidth&&(n=r);}return n||"max";}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:i}=e,{slidesOffsetBefore:n}=i;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(){const e=this,{classNames:t,params:i,rtl:n,el:s,device:r}=e,a=function(e,t){const i=[];return e.forEach(((e)=>{"object"==typeof e?Object.keys(e).forEach(((n)=>{e[n]&&i.push(t+n);})):"string"==typeof e&&i.push(t+e);})),i;}(["initialized",i.direction,{"free-mode":e.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);t.push(...a),s.classList.add(...t),e.emitContainerClasses();},removeClasses:function(){const {el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses();}}},U={};class K{constructor(){let e,t;for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];1===s.length&&s[0].constructor&&"Object"===Object.prototype.toString.call(s[0]).slice(8,-1)?t=s[0]:[e,t]=s,t||(t={}),t=d({},t),e&&!t.el&&(t.el=e);const o=n();if(t.el&&"string"==typeof t.el&&o.querySelectorAll(t.el).length>1){const e=[];return o.querySelectorAll(t.el).forEach(((i)=>{const n=d({},t,{el:i});e.push(new K(n));})),e;}const l=this;l.__swiper__=!0,l.support=T(),l.device=M({userAgent:t.userAgent}),l.browser=(x||(x=function(){const e=r(),t=M();let i=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0;}if(n()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const [e,n]=t.split("Version/")[1].split(" ")[0].split(".").map(((e)=>Number(e)));i=e<16||16===e&&n<2;}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=n();return {isSafari:i||a,needPerspectiveFix:i,need3dFix:a||s&&t.ios,isWebView:s};}()),x),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);const c={};
16l.modules.forEach(((e)=>{e({params:t,swiper:l,extendParams:Y(t,c),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)});}));const u=d({},W,c);return l.params=d({},u,U,t),l.originalParams=d({},l.params),l.passedParams=d({},t),l.params&&l.params.on&&Object.keys(l.params.on).forEach(((e)=>{l.on(e,l.params.on[e]);})),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===l.params.direction,isVertical:()=>"vertical"===l.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:l.params.allowSlideNext,allowSlidePrev:l.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:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l;}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){const {slidesEl:t,params:i}=this,n=v(f(t,`.${i.slideClass}, swiper-slide`)[0]);return v(e)-n;}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(((t)=>1*t.getAttribute("data-swiper-slide-index")===e))[0]);}recalcSlides(){const {slidesEl:e,params:t}=this;this.slides=f(e,`.${t.slideClass}, swiper-slide`);}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"));}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"));}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const n=i.minTranslate(),s=(i.maxTranslate()-n)*e+n;i.translateTo(s,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses();}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(((t)=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.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 e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(((i)=>{const n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n);})),e.emit("_slideClasses",t);}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const {params:i,slides:n,slidesGrid:s,slidesSizesGrid:r,size:a,activeIndex:o}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=n[o]?Math.ceil(n[o].swiperSlideSize):0;for(let i=o+1;i<n.length;i+=1)n[i]&&!e&&(t+=Math.ceil(n[i].swiperSlideSize),l+=1,t>a&&(e=!0));for(let i=o-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>a&&(e=!0));}else if("current"===e){for(let e=o+1;e<n.length;e+=1)(t?s[e]+r[e]-s[o]<a:s[e]-s[o]<a)&&(l+=1);}else{for(let e=o-1;e>=0;e-=1)s[o]-s[e]<a&&(l+=1);}return l;}update(){const e=this;if(!e||e.destroyed)return;const {snapGrid:t,params:i}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses();}let s;if(i.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(((t)=>{t.complete&&L(e,t);})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)n(),i.autoHeight&&e.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const t=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(t.length-1,0,!1,!0);}else s=e.slideTo(e.activeIndex,0,!1,!0);s||n();}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update");}changeDirection(e,t){void 0===t&&(t=!0);const i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.el.classList.remove(`${i.params.containerModifierClass}${n}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEac
16h(((t)=>{"vertical"===e?t.style.width="":t.style.height="";})),i.emit("changeDirection"),t&&i.update()),i;}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update());}mount(e){const t=this;if(t.mounted)return !0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return !1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(n()):f(i,n())[0];return !s&&t.params.createElements&&(s=h("div",t.params.wrapperClass),i.append(s),f(i,`.${t.params.slideClass}`).forEach(((e)=>{s.append(e);}))),Object.assign(t,{el:i,wrapperEl:s,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:s,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===g(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===g(i,"direction")),wrongRTL:"-webkit-box"===g(s,"display")}),!0;}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;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();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(((e)=>{e.complete?L(t,e):e.addEventListener("load",((e)=>{L(t,e.target);}));})),k(t),t.initialized=!0,k(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:s,wrapperEl:r,slides:a}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttribute("style"),r.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,function(e){const t=e;Object.keys(t).forEach(((e)=>{try{t[e]=null;}catch(e){}try{delete t[e];}catch(e){}}));}(i)),i.destroyed=!0),null;}static extendDefaults(e){d(U,e);}static get extendedDefaults(){return U;}static get defaults(){return W;}static installModule(e){K.prototype.__modules__||(K.prototype.__modules__=[]);const t=K.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e);}static use(e){return Array.isArray(e)?(e.forEach(((e)=>K.installModule(e))),K):(K.installModule(e),K);}}function J(e){let {swiper:t,extendParams:i,on:n,emit:s}=e;const l=r();let d;i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let c,u=o();const p=[];function f(){t.enabled&&(t.mouseEntered=!0);}function m(){t.enabled&&(t.mouseEntered=!1);}function h(e){return !(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&o()-u<t.params.mousewheel.thresholdTime||!(e.delta>=6&&o()-u<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),s("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),s("scroll",e.raw)),u=(new l.Date()).getTime(),1));}function g(e){let i=e,n=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const r=t.params.mousewheel;t.params.cssMode&&i.preventDefault();let l=t.el;"container"!==t.params.mousewheel.eventsTarget&&(l=document.querySelector(t.params.mousewheel.eventsTarget));const u=l&&l.contains(i.target);if(!t.mouseEntered&&!u&&!r.releaseOnEdges)return !0;i.originalEvent&&(i=i.originalEvent);let f=0;const m=t.rtlTranslate?-1:1,g=function(e){let t=0,i=0,n=0,s=0;return "detail" in e&&(i=e.detail),"wheelDelta" in e&&(i=-e.wheelDelta/120),"wheelDeltaY" in e&&(i=-e.wheelDeltaY/120
16),"wheelDeltaX" in e&&(t=-e.wheelDeltaX/120),"axis" in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,s=10*i,"deltaY" in e&&(s=e.deltaY),"deltaX" in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=s,s=0),(n||s)&&e.deltaMode&&(1===e.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),n&&!t&&(t=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:s};}(i);if(r.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return !0;f=-g.pixelX*m;}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return !0;f=-g.pixelY;}else f=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*m:-g.pixelY;if(0===f)return !0;r.invert&&(f=-f);let v=t.getTranslate()+f*r.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),n=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),n&&t.params.nested&&i.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:o(),delta:Math.abs(f),direction:Math.sign(f)},n=c&&e.time<c.time+500&&e.delta<=c.delta&&e.direction===c.direction;if(!n){c=void 0;let o=t.getTranslate()+f*r.sensitivity;const l=t.isBeginning,u=t.isEnd;if(o>=t.minTranslate()&&(o=t.minTranslate()),o<=t.maxTranslate()&&(o=t.maxTranslate()),t.setTransition(0),t.setTranslate(o),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!l&&t.isBeginning||!u&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(d),d=void 0,p.length>=15&&p.shift();const i=p.length?p[p.length-1]:void 0,n=p[0];if(p.push(e),i&&(e.delta>i.delta||e.direction!==i.direction))p.splice(0);else{if(p.length>=15&&e.time-n.time<500&&n.delta-e.delta>=1&&e.delta<=6){const i=f>0?.8:.2;c=e,p.splice(0),d=a((()=>{t.slideToClosest(t.params.speed,!0,void 0,i);}),0);}}d||(d=a((()=>{c=e,p.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5);}),500));}if(n||s("scroll",i),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),r.releaseOnEdges&&(o===t.minTranslate()||o===t.maxTranslate()))return !0;}}else{const i={time:o(),delta:Math.abs(f),direction:Math.sign(f),raw:e};p.length>=2&&p.shift();const n=p.length?p[p.length-1]:void 0;if(p.push(i),n?(i.direction!==n.direction||i.delta>n.delta||i.time>n.time+150)&&h(i):h(i),function(e){const i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return !0;}else{if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return !0;}return !1;}(i))return !0;}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1;}function v(e){let i=t.el;"container"!==t.params.mousewheel.eventsTarget&&(i=document.querySelector(t.params.mousewheel.eventsTarget)),i[e]("mouseenter",f),i[e]("mouseleave",m),i[e]("wheel",g);}function y(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0);}function w(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0);}n("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&w(),t.params.mousewheel.enabled&&y();})),n("destroy",(()=>{t.params.cssMode&&y(),t.mousewheel.enabled&&w();})),Object.assign(t.mousewheel,{enable:y,disable:w});}function Q(e,t,i,n){return e.params.createElements&&Object.keys(n).forEach(((s)=>{if(!i[s]&&!0===i.auto){let r=f(e.el,`.${n[s]}`)[0];r||(r=h("div",n[s]),r.className=n[s],e.el.append(r)),i[s]=r,t[s]=r;}})),i;}function Z(e){let {swiper:t,extendParams:i,on:n,emit:s}=e;function r(e){let i;return e&&"string"==typeof e&&t.isElement&&(i=t.el.querySelector(e),i)?i:(e&&("string"==typeof e&&(i=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&i.length>1&&1===t.el.querySelectorAll(e).length&&(i=t.el.querySelector(e))),e&&!i?e:i);}function a(e,i){const n=t.params.navigation;
16(e=b(e)).forEach(((e)=>{e&&(e.classList[i?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=i),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass));}));}function o(){const {nextEl:e,prevEl:i}=t.navigation;if(t.params.loop)return a(i,!1),void a(e,!1);a(i,t.isBeginning&&!t.params.rewind),a(e,t.isEnd&&!t.params.rewind);}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),s("navigationPrev"));}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),s("navigationNext"));}function c(){const e=t.params.navigation;if(t.params.navigation=Q(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let i=r(e.nextEl),n=r(e.prevEl);Object.assign(t.navigation,{nextEl:i,prevEl:n}),i=b(i),n=b(n);const s=(i,n)=>{i&&i.addEventListener("click","next"===n?d:l),!t.enabled&&i&&i.classList.add(...e.lockClass.split(" "));};i.forEach(((e)=>s(e,"next"))),n.forEach(((e)=>s(e,"prev")));}function u(){let {nextEl:e,prevEl:i}=t.navigation;e=b(e),i=b(i);const n=(e,i)=>{e.removeEventListener("click","next"===i?d:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "));};e.forEach(((e)=>
16n(e,"next"))),i.forEach(((e)=>n(e,"prev")));}i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},n("init",(()=>{!1===t.params.navigation.enabled?p():(c(),o());})),n("toEdge fromEdge lock unlock",(()=>{o();})),n("destroy",(()=>{u();})),n("enable disable",(()=>{let {nextEl:e,prevEl:i}=t.navigation;e=b(e),i=b(i),t.enabled?o():[...e,...i].filter(((e)=>!!e)).forEach(((e)=>e.classList.add(t.params.navigation.lockClass)));})),n("click",((e,i)=>{let {nextEl:n,prevEl:r}=t.navigation;n=b(n),r=b(r);const a=i.target;if(t.params.navigation.hideOnClick&&!r.includes(a)&&!n.includes(a)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;let e;n.length?e=n[0].classList.contains(t.params.navigation.hiddenClass):r.length&&(e=r[0].classList.contains(t.params.navigation.hiddenClass)),s(!0===e?"navigationShow":"navigationHide"),[...n,...r].filter(((e)=>!!e)).forEach(((e)=>e.classList.toggle(t.params.navigation.hiddenClass)));}}));const p=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),u();};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),o();},disable:p,update:o,init:c,destroy:u});}function ee(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`;}function te(e){let {swiper:t,extendParams:i,on:n,emit:s}=e;const r="swiper-pagination";let a;i({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:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),t.pagination={el:null,bullets:[]};let o=0;function l(){return !t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length;}function d(e,i){const {bulletActiveClass:n}=t.params.pagination;e&&(e=e[("prev"===i?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${n}-${i}`),(e=e[("prev"===i?"previous":"next")+"ElementSibling"])&&e.classList.add(`${n}-${i}-${i}`));}function c(e){const i=e.target.closest(ee(t.params.pagination.bulletClass));if(!i)return;e.preventDefault();const n=v(i)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===n)return;t.slideToLoop(n);}else t.slideTo(n);}function u(){const e=t.rtl,i=t.params.pagination;if(l())return;let n,r,c=t.pagination.el;c=b(c);const u=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,p=t.params.loop?Math.ceil(u/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(r=t.previousRealIndex||0,n=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(n=t.snapIndex,r=t.previousSnapIndex):(r=t.previousIndex||0,n=t.activeIndex||0),"bullets"===i.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const s=t.pagination.bullets;let l,u,p;if(i.dynamicBullets&&(a=w(s[0],t.isHorizontal()?"width":"height",!0),c.forEach(((e)=>{e.style[t.isHorizontal()?"width":"height"]=a*(i.dynamicMainBullets+4)+"px";})),i.dynamicMainBullets>1&&void 0!==r&&(o+=n-(r||0),o>i.dynamicMainBullets-1?o=i.dynamicMainBullets-1:o<0&&(o=0)),l=Math.max(n-o,0),u=l+(Math.min(s.length,i.dynamicMainBullets)-1),p=(u+l)/2),s.forEach(((e)=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(((e)=>`${i.bulletActiveClass}${e}`))].map(((e)=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t);})),c.length>1)s.forEach(((e)=>{const s=v(e);s===n?e.classList.add(...i.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),i.dynamicBullets&&(s>=l&&s<=u&&e.classList.add(...`${i.bulletActiveClass}-main`.split(" ")),s===l&&d(e,"prev"),s===u&&d(e,"next"));}));else{const e=s[n];if(e&&e.classList.add(...i.bulletActiveClass.split(" ")),t.isElement&&s.forEac
16h(((e,t)=>{e.setAttribute("part",t===n?"bullet-active":"bullet");})),i.dynamicBullets){const e=s[l],t=s[u];for(let e=l;e<=u;e+=1)s[e]&&s[e].classList.add(...`${i.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next");}}if(i.dynamicBullets){const n=Math.min(s.length,i.dynamicMainBullets+4),r=(a*n-a)/2-p*a,o=e?"right":"left";s.forEach(((e)=>{e.style[t.isHorizontal()?o:"top"]=`${r}px`;}));}}c.forEach(((e,r)=>{if("fraction"===i.type&&(e.querySelectorAll(ee(i.currentClass)).forEach(((e)=>{e.textContent=i.formatFractionCurrent(n+1);})),e.querySelectorAll(ee(i.totalClass)).forEach(((e)=>{e.textContent=i.formatFractionTotal(p);}))),"progressbar"===i.type){let s;s=i.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const r=(n+1)/p;let a=1,o=1;"horizontal"===s?a=r:o=r,e.querySelectorAll(ee(i.progressbarFillClass)).forEach(((e)=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${o})`,e.style.transitionDuration=`${t.params.speed}ms`;}));}"custom"===i.type&&i.renderCustom?(e.innerHTML=i.renderCustom(t,n+1,p),0===r&&s("paginationRender",e)):(0===r&&s("paginationRender",e),s("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass);}));}function p(){const e=t.params.pagination;if(l())return;const i=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let n=t.pagination.el;n=b(n);let r="";if("bullets"===e.type){let n=t.params.loop?Math.ceil(i/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&n>i&&(n=i);for(let i=0;i<n;i+=1)e.renderBullet?r+=e.renderBullet.call(t,i,e.bulletClass):r+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`;}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],n.forEach(((i)=>{"custom"!==e.type&&(i.innerHTML=r||""),"bullets"===e.type&&t.pagination.bullets.push(...i.querySelectorAll(ee(e.bulletClass)));})),"custom"!==e.type&&s("paginationRender",n[0]);}function f(){t.params.pagination=Q(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let i;"string"==typeof e.el&&t.isElement&&(i=t.el.querySelector(e.el)),i||"string"!=typeof e.el||(i=[...document.querySelectorAll(e.el)]),i||(i=e.el),i&&0!==i.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(i)&&i.length>1&&(i=[...t.el.querySelectorAll(e.el)],i.length>1&&(i=i.filter(((e)=>y(e,".swiper")[0]===t.el))[0])),Array.isArray(i)&&1===i.length&&(i=i[0]),Object.assign(t.pagination,{el:i}),i=b(i),i.forEach(((i)=>{"bullets"===e.type&&e.clickable&&i.classList.add(...(e.clickableClass||"").split(" ")),i.classList.add(e.modifierClass+e.type),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(i.classList.add(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&i.classList.add(e.progressbarOppositeClass),e.clickable&&i.addEventListener("click",c),t.enabled||i.classList.add(e.lockClass);})));}function m(){const e=t.params.pagination;if(l())return;let i=t.pagination.el;i&&(i=b(i),i.forEach(((i)=>{i.classList.remove(e.hiddenClass),i.classList.remove(e.modifierClass+e.type),i.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(i.classList.remove(...(e.clickableClass||"").split(" ")),i.removeEventListener("click",c));}))),t.pagination.bullets&&t.pagination.bullets.forEach(((t)=>t.classList.remove(...e.bulletActiveClass.split(" "))));}n("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let {el:i}=t.pagination;
16i=b(i),i.forEach(((i)=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass);}));})),n("init",(()=>{!1===t.params.pagination.enabled?h():(f(),p(),u());})),n("activeIndexChange",(()=>{void 0===t.snapIndex&&u();})),n("snapIndexChange",(()=>{u();})),n("snapGridLengthChange",(()=>{p(),u();})),n("destroy",(()=>{m();})),n("enable disable",(()=>{let {el:e}=t.pagination;e&&(e=b(e),e.forEach(((e)=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))));})),n("lock unlock",(()=>{u();})),n("click",((e,i)=>{const n=i.target,r=b(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&r&&r.length>0&&!n.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&n===t.navigation.nextEl||t.navigation.prevEl&&n===t.navigation.prevEl))return;const e=r[0].classList.contains(t.params.pagination.hiddenClass);s(!0===e?"paginationShow":"paginationHide"),r.forEach(((e)=>e.classList.toggle(t.params.pagination.hiddenClass)));}}));const h=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let {el:e}=t.pagination;e&&(e=b(e),e.forEach(((e)=>e.classList.add(t.params.pagination.paginationDisabledClass)))),m();};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let {el:e}=t.pagination;e&&(e=b(e),e.forEach(((e)=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),f(),p(),u();},disable:h,render:p,update:u,init:f,destroy:m});}function ie(e){let {swiper:t,extendParams:i,on:n}=e;i({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}}),t.a11y={clicked:!1};let s=null;function r(e){const t=s;0!==t.length&&(t.innerHTML="",t.innerHTML=e);}
16function a(e){(e=b(e)).forEach(((e)=>{e.setAttribute("tabIndex","0");}));}function o(e){(e=b(e)).forEach(((e)=>{e.setAttribute("tabIndex","-1");}));}function l(e,t){(e=b(e)).forEach(((e)=>{e.setAttribute("role",t);}));}function d(e,t){(e=b(e)).forEach(((e)=>{e.setAttribute("aria-roledescription",t);}));}function c(e,t){(e=b(e)).forEach(((e)=>{e.setAttribute("aria-label",t);}));}function u(e){(e=b(e)).forEach(((e)=>{e.setAttribute("aria-disabled",!0);}));}function p(e){(e=b(e)).forEach(((e)=>{e.setAttribute("aria-disabled",!1);}));}function f(e){if(13!==e.keyCode&&32!==e.keyCode)return;const i=t.params.a11y,n=e.target;t.pagination&&t.pagination.el&&(n===t.pagination.el||t.pagination.el.contains(e.target))&&!e.target.matches(ee(t.params.pagination.bulletClass))||(t.navigation&&t.navigation.nextEl&&n===t.navigation.nextEl&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?r(i.lastSlideMessage):r(i.nextSlideMessage)),t.navigation&&t.navigation.prevEl&&n===t.navigation.prevEl&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?r(i.firstSlideMessage):r(i.prevSlideMessage)),t.pagination&&n.matches(ee(t.params.pagination.bulletClass))&&n.click());}function m(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length;}function g(){return m()&&t.params.pagination.clickable;}const y=(e,t,i)=>{a(e),"BUTTON"!==e.tagName&&(l(e,"button"),e.addEventListener("keydown",f)),c(e,i),function(e,t){(e=b(e)).forEac
16h(((e)=>{e.setAttribute("aria-controls",t);}));}(e,t);},w=()=>{t.a11y.clicked=!0;},S=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1);}));}));},E=(e)=>{if(t.a11y.clicked)return;const i=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!i||!t.slides.includes(i))return;const n=t.slides.indexOf(i)===t.activeIndex,s=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(i);n||s||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(i),0));},x=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&d(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&l(t.slides,e.slideRole);const i=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((n,s)=>{const r=t.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):s;c(n,e.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,i));}));};n("beforeInit",(()=>{s=h("span",t.params.a11y.notificationClass),s.setAttribute("aria-live","assertive"),s.setAttribute("aria-atomic","true");})),n("afterInit",(()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(s);const i=t.el;e.containerRoleDescriptionMessage&&d(i,e.containerRoleDescriptionMessage),e.containerMessage&&c(i,e.containerMessage);const n=t.wrapperEl,r=e.id||n.getAttribute("id")||`swiper-wrapper-${a=16,void 0===a&&(a=16),"x".repeat(a).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var a;const o=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var l;l=r,b(n).forEach(((e)=>{e.setAttribute("id",l);}
16)),function(e,t){(e=b(e)).forEach(((e)=>{e.setAttribute("aria-live",t);}));}(n,o),x();let {nextEl:u,prevEl:p}=t.navigation?t.navigation:{};u=b(u),p=b(p),u&&u.forEach(((t)=>y(t,r,e.nextSlideMessage))),p&&p.forEach(((t)=>y(t,r,e.prevSlideMessage))),g()&&b(t.pagination.el).forEach(((e)=>{e.addEventListener("keydown",f);})),t.el.addEventListener("focus",E,!0),t.el.addEventListener("pointerdown",w,!0),t.el.addEventListener("pointerup",S,!0);})();})),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&x();})),n("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const {nextEl:e,prevEl:i}=t.navigation;i&&(t.isBeginning?(u(i),o(i)):(p(i),a(i))),e&&(t.isEnd?(u(e),o(e)):(p(e),a(e)));}();})),n("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;m()&&t.pagination.bullets.forEach(((i)=>{t.params.pagination.clickable&&(a(i),t.params.pagination.renderBullet||(l(i,"button"),c(i,e.paginationBulletMessage.replace(/\{\{index\}\}/,v(i)+1)))),i.matches(ee(t.params.pagination.bulletActiveClass))?i.setAttribute("aria-current","true"):i.removeAttribute("aria-current");}));}();})),n("destroy",(()=>{t.params.a11y.enabled&&function(){s&&s.remove();let {nextEl:e,prevEl:i}=t.navigation?t.navigation:{};e=b(e),i=b(i),e&&e.forEach(((e)=>e.removeEventListener("keydown",f))),i&&i.forEach(((e)=>e.removeEventListener("keydown",f))),g()&&b(t.pagination.el).forEach(((e)=>{e.removeEventListener("keydown",f);})),t.el.removeEventListener("focus",E,!0),t.el.removeEventListener("pointerdown",w,!0),t.el.removeEventListener("pointerup",S,!0);}();}));}function ne(e){let t,i,{swiper:s,extendParams:r,on:a,emit:o,params:l}=e;s.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let d,c,u,p,f,m,h,g,v=l&&l.autoplay?l.autoplay.delay:3e3,y=l&&l.autoplay?l.autoplay.delay:3e3,w=(new Date()).getTime();function b(e){s&&!s.destroyed&&s.wrapperEl&&e.target===s.wrapperEl&&(s.wrapperEl.removeEventListener("transitionend",b),g||C());}const S=()=>{if(s.destroyed||!s.autoplay.running)return;s.autoplay.paused?c=!0:c&&(y=d,c=!1);const e=s.autoplay.paused?d:w+y-(new Date()).getTime();s.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/v),i=requestAnimationFrame((()=>{S();}));},E=(e)=>{if(s.destroyed||!s.autoplay.running)return;cancelAnimationFrame(i),S();let n=void 0===e?s.params.autoplay.delay:e;v=s.params.autoplay.delay,y=s.params.autoplay.delay;const r=(()=>{let e;if(e=s.virtual&&s.params.virtual.enabled?s.slides.filter(((e)=>e.classList.contains("swiper-slide-active")))[0]:s.slides[s.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10);})();!Number.isNaN(r)&&r>0&&void 0===e&&(n=r,v=r,y=r),d=n;const a=s.params.speed,l=()=>{s&&!s.destroyed&&(s.params.autoplay.reverseDirection?!s.isBeginning||s.params.loop||s.params.rewind?(s.slidePrev(a,!0,!0),o("autoplay")):s.params.autoplay.stopOnLastSlide||(s.slideTo(s.slides.length-1,a,!0,!0),o("autoplay")):!s.isEnd||s.params.loop||s.params.rewind?(s.slideNext(a,!0,!0),o("autoplay")):s.params.autoplay.stopOnLastSlide||(s.slideTo(0,a,!0,!0),o("autoplay")),s.params.cssMode&&(w=(new Date()).getTime(),requestAnimationFrame((()=>{E();}))));};return n>0?(clearTimeout(t),t=setTimeout((()=>{l();}),n)):requestAnimationFrame((()=>{l();})),n;},x=()=>{w=(new Date()).getTime(),s.autoplay.running=!0,E(),o("autoplayStart");},T=()=>{s.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(i),o("autoplayStop");},M=(e,i)=>{if(s.destroyed||!s.autoplay.running)return;clearTimeout(t),e||(h=!0);const n=()=>{o("autoplayPause"),s.params.autoplay.waitForTransition?s.wrapperEl.addEventListener("transitionend",b):C();};if(s.autoplay.paused=!0,i)return m&&(d=s.params.autoplay.delay),m=!1,void n();const r=d||s.params.autoplay.delay;d=r-((new Date()).getTime()-w),s.isEnd&&d<0&&!s.params.loop||(d<0&&(d=0),n());},C=()=>{s.isEnd&&d<0&&!s.params.loop||s.destroyed||!s.autoplay.running||(w=(new Date()).getTime(),h?(h=!1,E(d)):E(),s.autoplay.paused=!1,o("autoplayResume"));},L=()=>
16{if(s.destroyed||!s.autoplay.running)return;const e=n();"hidden"===e.visibilityState&&(h=!0,M(!0)),"visible"===e.visibilityState&&C();},P=(e)=>{"mouse"===e.pointerType&&(h=!0,g=!0,s.animating||s.autoplay.paused||M(!0));},k=(e)=>{"mouse"===e.pointerType&&(g=!1,s.autoplay.paused&&C());};a("init",(()=>{s.params.autoplay.enabled&&(s.params.autoplay.pauseOnMouseEnter&&(s.el.addEventListener("pointerenter",P),s.el.addEventListener("pointerleave",k)),n().addEventListener("visibilitychange",L),x());})),a("destroy",(()=>{s.el.removeEventListener("pointerenter",P),s.el.removeEventListener("pointerleave",k),n().removeEventListener("visibilitychange",L),s.autoplay.running&&T();})),a("_freeModeStaticRelease",(()=>{(p||h)&&C();})),a("_freeModeNoMomentumRelease",(()=>{s.params.autoplay.disableOnInteraction?T():M(!0,!0);})),a("beforeTransitionStart",((e,t,i)=>{!s.destroyed&&s.autoplay.running&&(i||!s.params.autoplay.disableOnInteraction?M(!0,!0):T());})),a("sliderFirstMove",(()=>{!s.destroyed&&s.autoplay.running&&(s.params.autoplay.disableOnInteraction?T():(u=!0,p=!1,h=!1,f=setTimeout((()=>{h=!0,p=!0,M(!0);}),200)));})),a("touchEnd",(()=>{if(!s.destroyed&&s.autoplay.running&&u){if(clearTimeout(f),clearTimeout(t),s.params.autoplay.disableOnInteraction)return p=!1,void (u=!1);p&&s.params.cssMode&&C(),p=!1,u=!1;}})),a("slideChange",(()=>{!s.destroyed&&s.autoplay.running&&(m=!0);})),Object.assign(s.autoplay,{start:x,stop:T,pause:M,resume:C});}function se(e,t){const i=p(t);return i!==t&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden"),i;}function re(e){let {swiper:t,extendParams:i,on:n}=e;i({fadeEffect:{crossFade:!1}}),function(e){const {effect:t,swiper:i,on:n,setTranslate:s,setTransition:r,overwriteParams:a,perspective:o,recreateShadows:l,getEffectParams:d}=e;let c;n("beforeInit",(()=>{if(i.params.effect!==t)return;i.classNames.push(`${i.params.containerModifierClass}${t}`),o&&o()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const e=a?a():{};Object.assign(i.params,e),Object.assign(i.originalParams,e);})),n("setTranslate",(()=>{i.params.effect===t&&s();})),n("setTransition",((e,n)=>{i.params.effect===t&&r(n);})),n("transitionEnd",(()=>{if(i.params.effect===t&&l){if(!d||!d().slideShadows)return;i.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();}})),n("virtualUpdate",(()=>{i.params.effect===t&&(i.slides.length||(c=!0),requestAnimationFrame((()=>{c&&i.slides&&i.slides.length&&(s(),c=!1);})));}));}({effect:"fade",swiper:t,on:n,setTranslate:()=>{const {slides:e}=t;t.params.fadeEffect;for(let i=0;i<e.length;i+=1){const e=t.slides[i];let n=-e.swiperSlideOffset;t.params.virtualTranslate||(n-=t.translate);let s=0;t.isHorizontal()||(s=n,n=0);const r=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),a=se(0,e);a.style.opacity=r,a.style.transform=`translate3d(${n}px, ${s}px, 0px)`;}},setTransition:(e)=>{const i=t.slides.map(((e)=>p(e)));i.forEach(((t)=>{t.style.transitionDuration=`${e}ms`;})),function(e){let {swiper:t,duration:i,transformElements:n,allSlides:s}=e;const {activeIndex:r}=t;if(t.params.virtualTranslate&&0!==i){let e,i=!1;e=s?n:n.filter(((e)=>{const i=e.classList.contains("swiper-slide-transform")?((e)=>e.parentElement?e.parentElement:t.slides.filter(((t)=>t.shadowRoot&&t.shadowRoot===e.parentNode))[0])(e):e;return t.getSlideIndex(i)===r;})),e.forEach(((e)=>{!function(e,t){t&&e.addEventListener("transitionend",(function i(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",i));}));}(e,(()=>{if(i)return;if(!t||t.destroyed)return;i=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e);}));}));}}({swiper:t,duration:e,transformElements:i,allSlides:!0});},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})});}Object.keys(X).forEach(((e)=>
16{Object.keys(X[e]).forEach(((t)=>{K.prototype[t]=X[e][t];}));})),K.use([function(e){let {swiper:t,on:i,emit:n}=e;const s=r();let a=null,o=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"));},d=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange");};i("init",(()=>{t.params.resizeObserver&&void 0!==s.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver(((e)=>{o=s.requestAnimationFrame((()=>{const {width:i,height:n}=t;let s=i,r=n;e.forEach(((e)=>{let {contentBoxSize:i,contentRect:n,target:a}=e;a&&a!==t.el||(s=n?n.width:(i[0]||i).inlineSize,r=n?n.height:(i[0]||i).blockSize);})),s===i&&r===n||l();}));})),a.observe(t.el)):(s.addEventListener("resize",l),s.addEventListener("orientationchange",d));})),i("destroy",(()=>{o&&s.cancelAnimationFrame(o),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),s.removeEventListener("resize",l),s.removeEventListener("orientationchange",d);}));},function(e){let {swiper:t,extendParams:i,on:n,emit:s}=e;const a=[],o=r(),l=function(e,i){void 0===i&&(i={});const n=new (o.MutationObserver||o.WebkitMutationObserver)(((e)=>{if(t.__preventObserver__)return;if(1===e.length)return void s("observerUpdate",e[0]);const i=function(){s("observerUpdate",e[0]);};o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0);}));n.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),a.push(n);};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=y(t.hostEl);for(let t=0;t<e.length;t+=1)l(e[t]);}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1});}})),n("destroy",(()=>{a.forEach(((e)=>{e.disconnect();})),a.splice(0,a.length);}));}]);function ae(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);}}var oe="(prefers-reduced-motion: reduce)",le={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function de(e){e.length=0;}function ce(e,t,i){return Array.prototype.slice.call(e,t,i);}function ue(e){return e.bind.apply(e,[null].concat(ce(arguments,1)));}var pe=setTimeout,fe=function(){};function me(e){return requestAnimationFrame(e);}function he(e,t){return typeof t===e;}function ge(e){return !Se(e)&&he("object",e);}var ve=Array.isArray,ye=ue(he,"function"),we=ue(he,"string"),be=ue(he,"undefined");function Se(e){return null===e;}function Ee(e){try{return e instanceof (e.ownerDocument.defaultView||window).HTMLElement;}catch(e){return !1;}}function xe(e){return ve(e)?e:[e];}function Te(e,t){xe(e).forEach(t);}function Me(e,t){return e.indexOf(t)>-1;}function Ce(e,t){return e.push.apply(e,xe(t)),e;}function Le(e,t,i){e&&Te(t,(function(t){t&&e.classList[i?"add":"remove"](t);}));}function Pe(e,t){Le(e,we(t)?t.split(" "):t,!0);}function ke(e,t){Te(t,e.appendChild.bind(e));}function Ae(e,t){Te(e,(function(e){var i=(t||e).parentNode;i&&i.insertBefore(e,t);}));}function Ie(e,t){return Ee(e)&&(e.msMatchesSelector||e.matches).call(e,t);}function Oe(e,t){var i=e?ce(e.children):[];return t?i.filter((function(e){return Ie(e,t);})):i;}function _e(e,t){return t?Oe(e,t)[0]:e.firstElementChild;}var De=Object.keys;function ze(e,t,i){return e&&(i?De(e).reverse():De(e)).forEach((function(i){"__proto__"!==i&&t(e[i],i);})),e;}function Ge(e){return ce(arguments,1).forEach((function(t){ze(t,(function(i,n){e[n]=t[n];}));})),e;}function Be(e){return ce(arguments,1).forEach((function(t){ze(t,(function(t,i){ve(t)?e[i]=t.slice():ge(t)?e[i]=Be({},ge(e[i])?e[i]:{},t):e[i]=t;}));})),e;}function Ne(e,t){Te(t||De(e),(function(t){delete e[t];}));}function Fe(e,t){Te(e,(function(e){Te(t,(function(t){e&&e.removeAttribute(t);}));}));}function qe(e,t,i){ge(t)?ze(t,(function(t,i){qe(e,i,t);})):Te(e,(function(e){Se(i)||""===i?Fe(e,t):e.setAttribute(t,String(i));}));}function $e(e,t,i){var n=document.createElement(e);return t&&(we(t)?Pe(n,t):qe(n,t)),i&&ke(i,n),n;}function Ve(e,t,i){if(be(i))return getComputedStyle(e)[t];Se(i)||(e.style[t]=""+i);}function Re(e,t){Ve(e,"display",t);}function He(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0});}function je(e,t){return e.getAttribute(t);}function We(e,t){return e&&e.classList.contains(t);}function Ye(e){return e.getBoundingClientRect();}function Xe(e){Te(e,(function(e){e&&e.parentNode&&e.parentNode.removeChild(e);}));}function Ue(e){return _e((new DOMParser()).parseFromString(e,"text/html").body);}function Ke(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation());}function Je(e,t){return e&&e.querySelector(t);}function Qe(e,t){return t?ce(e.querySelectorAll(t)):[];}function Ze(e,t){Le(e,t,!1);}function et(e){return e.timeStamp;}function tt(e){return we(e)?e:e?e+"px":"";}var it="splide",nt="data-"+it;function st(e,t){if(!e)throw new Error("["+it+"] "+(t||""));}var rt=Math.min,at=Math.max,ot=Math.floor,lt=Math.ceil,dt=Math.abs;function ct(e,t,i){return dt(e-t)<i;}function ut(e,t,i,n){var s=rt(t,i),r=at(t,i);return n?s<e&&e<r:s<=e&&e<=r;}function pt(e,t,i){var n=rt(t,i),s=at(t,i);return rt(at(n,e),s);}function ft(e){return +(e>0)-+(e<0);}function mt(e,t){return Te(t,(function(t){e=e.replace("%s",""+t);})),e;}function ht(e){return e<10?"0"+e:""+e;}var gt={};function vt(){var e=[];function t(e,t,i){Te(e,(function(e){e&&Te(t,(function(t){t.split(" ").forEach((function(t){var n=t.split(".");i(e,n[0],n[1]);}));}));}));}return {bind:function(i,n,s,r){t(i,n,(function(t,i,n){var a="addEventListener" in t,o=a?t.removeEventListener.bind(t,i,s,r):t.removeListener.bind(t,s);a?t.addEventListener(i,s,r):t.addListener(s),e.push([t,i,n,s,o]);}));},unbind:function(i,n,s){t(i,n,(function(t,i,n){e=e.filter((function(e){return !!(e[0]!==t||e[1]!==i||e[2]!==n||s&&e[3]!==s)||(e[4](),!1);}));}));},dispatch:function(e,t,i){var n,s=!0;return "function"==typeof CustomEvent?n=new CustomEvent(t,{bubbles:s,detail:i}):(n=document.createEvent("CustomEvent")).initCustomEvent(t,s,!1,i),e.dispatchEvent(n),n;},destroy:function(){e.forEach((function(e){e[4]();})),de(e);}};}var yt="mounted",wt="ready",bt="move",St="moved",Et="click",xt="refresh",Tt="updated",Mt="resize",Ct="resized",Lt="scroll",Pt="scrolled",kt="destroy",At="navigation:mounted",It="autoplay:play",Ot="autoplay:pause",_t="lazyload:loaded",Dt="ei";function zt(e){var t=e?e.event.bus:document.createDocumentFragment(),i=vt();return e&&e.event.on(kt,i.destroy),Ge(i,{bus:t,on:function(e,n){i.bind(t,xe(e).join(" "),(function(e){n.apply(n,ve(e.detail)?e.detail
16:[]);}));},off:ue(i.unbind,t),emit:function(e){i.dispatch(t,e,ce(arguments,1));}});}function Gt(e,t,i,n){var s,r,a=Date.now,o=0,l=!0,d=0;function c(){if(!l){if(o=e?rt((a()-s)/e,1):1,i&&i(o),o>=1&&(t(),s=a(),n&&++d>=n))return u();r=me(c);}}function u(){l=!0;}function p(){r&&cancelAnimationFrame(r),o=0,r=0,l=!0;}return {start:function(t){t||p(),s=a()-(t?o*e:0),l=!1,r=me(c);},rewind:function(){s=a(),o=0,i&&i(o);},pause:u,cancel:p,set:function(t){e=t;},isPaused:function(){return l;}};}var Bt="Arrow",Nt=Bt+"Left",Ft=Bt+"Right",qt=Bt+"Up",$t=Bt+"Down",Vt="ttb",Rt={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[qt,Ft],ArrowRight:[$t,Nt]};var Ht="role",jt="tabindex",Wt="aria-",Yt=Wt+"controls",Xt=Wt+"current",Ut=Wt+"selected",Kt=Wt+"label",Jt=Wt+"labelledby",Qt=Wt+"hidden",Zt=Wt+"orientation",ei=Wt+"roledescription",ti=Wt+"live",ii=Wt+"busy",ni=Wt+"atomic",si=[Ht,jt,"disabled",Yt,Xt,Kt,Jt,Qt,Zt,ei],ri=it+"__",ai="is-",oi=it,li=ri+"track",di=ri+"list",ci=ri+"slide",ui=ci+"--clone",pi=ci+"__container",fi=ri+"arrows",mi=ri+"arrow",hi=mi+"--prev",gi=mi+"--next",vi=ri+"pagination",yi=vi+"__page",wi=ri+"progress__bar",bi=ri+"toggle",Si=ri+"sr",Ei=ai+"initialized",xi=ai+"active",Ti=ai+"prev",Mi=ai+"next",Ci=ai+"visible",Li=ai+"loading",Pi=ai+"focus-in",ki=ai+"overflow",Ai=[xi,Ci,Ti,Mi,Li,Pi,ki],Ii={slide:ci,clone:ui,arrows:fi,arrow:mi,prev:hi,next:gi,pagination:vi,page:yi,spinner:ri+"spinner"},Oi="touchstart mousedown",_i="touchmove mousemove",Di="touchend touchcancel mouseup click",zi="slide",Gi="loop",Bi="fade";var Ni=nt+"-interval",Fi={passive:!1,capture:!0},qi={Spacebar:" ",Right:Ft,Left:Nt,Up:qt,Down:$t};function $i(e){return e=we(e)?e:e.key,qi[e]||e;}var Vi="keydown",Ri=nt+"-lazy",Hi=Ri+"-srcset",ji="["+Ri+"], ["+Hi+"]",Wi=[" ","Enter"],Yi=Object.freeze({__proto__:null,Media:function(e,t,i){var n=e.state,s=i.breakpoints||{},r=i.reducedMotion||{},a=vt(),o=[];function l(e){e&&a.destroy();}function d(e,t){var i=matchMedia(t);a.bind(i,"change",c),o.push([e,i]);}function c(){var t=n.is(7),s=i.direction,r=o.reduce((function(e,t){return Be(e,t[1].matches?t[0]:{});}),{});Ne(i),u(r),i.destroy?e.destroy("completely"===i.destroy):t?(l(!0),e.mount()):s!==i.direction&&e.refresh();}function u(t,s,r){Be(i,t),s&&Be(Object.getPrototypeOf(i),t),!r&&n.is(1)||e.emit(Tt,i);}return {setup:function(){var e="min"===i.mediaQuery;De(s).sort((function(t,i){return e?+t-+i:+i-+t;})).forEach((function(t){d(s[t],"("+(e?"min":"max")+"-width:"+t+"px)");})),d(r,oe),c();},destroy:l,reduce:function(e){matchMedia(oe).matches&&(e?Be(i,r):Ne(i,De(r)));},set:u};},Direction:function(e,t,i){return {resolve:function(e,t,n){var s="rtl"!==(n=n||i.direction)||t?n===Vt?0:-1:1;return Rt[e]&&Rt[e][s]||e.replace(/width|left|right/i,(function(e,t){var i=Rt[e.toLowerCase()][s]||e;return t>0?i.charAt(0).toUpperCase()+i.slice(1):i;}));},orient:function(e){return e*("rtl"===i.direction?1:-1);}};},Elements:function(e,t,i){var n,s,r,a=zt(e),o=a.on,l=a.bind,d=e.root,c=i.i18n,u={},p=[],f=[],m=[];function h(){var e,t,r;n=y("."+li),s=_e(n,"."+di),st(n&&s,"A track/list element is missing."),Ce(p,Oe(s,"."+ci+":not(."+ui+")")),ze({arrows:fi,pagination:vi,prev:hi,next:gi,bar:wi,toggle:bi},(function(e,t){u[t]=y("."+e);})),Ge(u,{root:d,track:n,list:s,slides:p}),t=d.id||""+(e=it)+ht(gt[e]=(gt[e]||0)+1),r=i.role,d.id=t,n.id=n.id||t+"-track",s.id=s.id||t+"-list",!je(d,Ht)&&"SECTION"!==d.tagName&&r&&qe(d,Ht,r),qe(d,ei,c.carousel),qe(s,Ht,"presentation"),v();}function g(e){var t=si.concat("style");de(p),Ze(d,f),Ze(n,m),Fe([n,s],t),Fe(d,e?t:["style",ei]);}function v(){Ze(d,f),Ze(n,m),f=w(oi),m=w(li),Pe(d,f),Pe(n,m),qe(d,Kt,i.label),qe(d,Jt,i.labelledby);}function y(e){var t=Je(d,e);return t&&function(e,t){if(ye(e.closest))return e.closest(t);for(var i=e;i&&1===i.nodeType&&!Ie(i,t);)i=i.parentElement;return i;}(t,"."+oi)===d?t:void 0;}function w(e){return [e+"--"+i.type,e+"--"+i.direction,i.drag&&e+"--draggable",i.isNavigation&&e+"--nav",e===oi&&xi];}return Ge(u,{setup:h,mount:function(){o(xt,g),o(xt,h),o(Tt,v),l(document,Oi+" keydown",(function(e){r="keydown"===e.type;}),{capture:!0}),l(d,"focusin",(function(){Le(d,Pi,!!r);}));},destroy:g});},Slides:function(e,t,i){var n=zt(e),s=n.on,r=n.emit,a=n.bind,o=t.Elements,l=o.slides,d=o.list,c=[];function u(){l.forEach((function(e,t){f(e,t,-1);}));}function p(){h((function(e){e.destroy();})),de(c);}function f(t,i,n){var s=function(e,t,i,n){var s,r=zt(e),a=r.on,o=r.emit,l=r.bind,d=e.Components,c=e.root,u=e.options,p=u.isNavigation,f=u.updateOnMove,m=u.i18n,h=u.pagination,g=u.slideFocus,v=d.Direction.resolve,y=je(n,"style"),w=je(n,Kt),b=i>-1,S=_e(n,"."+pi);function E(){var s=e.splides.map((function(e){var i=e.splide.Components.Slides.getAt(t);return i?i.slide.id:"";})).join(" ");qe(n,Kt,mt(m.slideX,(b?i:t)+1)),qe(n,Yt,s),qe(n,Ht,g?"button":""),g&&Fe(n,ei);}function x(){s||T();}function T(){if(!s){var i=e.index;
16(r=M())!==We(n,xi)&&(Le(n,xi,r),qe(n,Xt,p&&r||""),o(r?"active":"inactive",C)),function(){var t=function(){if(e.is(Bi))return M();var t=Ye(d.Elements.track),i=Ye(n),s=v("left",!0),r=v("right",!0);return ot(t[s])<=lt(i[s])&&ot(i[r])<=lt(t[r]);}(),i=!t&&(!M()||b);if(e.state.is([4,5])||qe(n,Qt,i||""),qe(Qe(n,u.focusableNodes||""),jt,i?-1:""),g&&qe(n,jt,i?-1:0),t!==We(n,Ci)&&(Le(n,Ci,t),o(t?"visible":"hidden",C)),!t&&document.activeElement===n){var s=d.Slides.getAt(e.index);s&&He(s.slide);}}(),Le(n,Ti,t===i-1),Le(n,Mi,t===i+1);}var r;}function M(){var n=e.index;return n===t||u.cloneStatus&&n===i;}var C={index:t,slideIndex:i,slide:n,container:S,isClone:b,mount:function(){b||(n.id=c.id+"-slide"+ht(t+1),qe(n,Ht,h?"tabpanel":"group"),qe(n,ei,m.slide),qe(n,Kt,w||mt(m.slideLabel,[t+1,e.length]))),l(n,"click",ue(o,Et,C)),l(n,"keydown",ue(o,"sk",C)),a([St,"sh",Pt],T),a(At,E),f&&a(bt,x);},destroy:function(){s=!0,r.destroy(),Ze(n,Ai),Fe(n,si),qe(n,"style",y),qe(n,Kt,w||"");},update:T,style:function(e,t,i){Ve(i&&S||n,e,t);},isWithin:function(i,n){var s=dt(i-t);return b||!u.rewind&&!e.is(Gi)||(s=rt(s,e.length-s)),s<=n;}};return C;}(e,i,n,t);s.mount(),c.push(s),c.sort((function(e,t){return e.index-t.index;}));}function m(e){return e?g((function(e){return !e.isClone;})):c;}function h(e,t){m(t).forEach(e);}function g(e){return c.filter(ye(e)?e:function(t){return we(e)?Ie(t.slide,e):Me(xe(e),t.index);});}
16return {mount:function(){u(),s(xt,p),s(xt,u);},destroy:p,update:function(){h((function(e){e.update();}));},register:f,get:m,getIn:function(e){var n=t.Controller,s=n.toIndex(e),r=n.hasFocus()?1:i.perPage;return g((function(e){return ut(e.index,s,s+r-1);}));},getAt:function(e){return g(e)[0];},add:function(e,t){Te(e,(function(e){if(we(e)&&(e=Ue(e)),Ee(e)){var n=l[t];n?Ae(e,n):ke(d,e),Pe(e,i.classes.slide),s=e,o=ue(r,Mt),c=Qe(s,"img"),(u=c.length)?c.forEach((function(e){a(e,"load error",(function(){--u||o();}));})):o();}var s,o,c,u;})),r(xt);},remove:function(e){Xe(g(e).map((function(e){return e.slide;}))),r(xt);},forEach:h,filter:g,style:function(e,t,i){h((function(n){n.style(e,t,i);}));},getLength:function(e){return e?l.length:c.length;},isEnough:function(){return c.length>i.perPage;}};},Layout:function(e,t,i){var n,s,r,a=zt(e),o=a.on,l=a.bind,d=a.emit,c=t.Slides,u=t.Direction.resolve,p=t.Elements,f=p.root,m=p.track,h=p.list,g=c.getAt,v=c.style;function y(){n=i.direction===Vt,Ve(f,"maxWidth",tt(i.width)),Ve(m,u("paddingLeft"),b(!1)),Ve(m,u("paddingRight"),b(!0)),w(!0);}function w(e){var t,a=Ye(f);(e||s.width!==a.width||s.height!==a.height)&&(Ve(m,"height",(t="",n&&(st(t=S(),"height or heightRatio is missing."),t="calc("+t+" - "+b(!1)+" - "+b(!0)+")"),t)),v(u("marginRight"),tt(i.gap)),v("width",i.autoWidth?null:tt(i.fixedWidth)||(n?"":E())),v("height",tt(i.fixedHeight)||(n?i.autoHeight?null:E():S()),!0),s=a,d(Ct),r!==(r=P())&&(Le(f,ki,r),d("overflow",r)));}function b(e){var t=i.padding,n=u(e?"right":"left");return t&&tt(t[n]||(ge(t)?0:t))||"0px";}function S(){return tt(i.height||Ye(h).width*i.heightRatio);}function E(){var e=tt(i.gap);return "calc((100%"+(e&&" + "+e)+")/"+(i.perPage||1)+(e&&" - "+e)+")";}function x(){return Ye(h)[u("width")];}function T(e,t){var i=g(e||0);return i?Ye(i.slide)[u("width")]+(t?0:L()):0;}function M(e,t){var i=g(e);if(i){var n=Ye(i.slide)[u("right")],s=Ye(h)[u("left")];return dt(n-s)+(t?0:L());}return 0;}function C(t){return M(e.length-1)-M(0)+T(0,t);}function L(){var e=g(0);return e&&parseFloat(Ve(e.slide,u("marginRight")))||0;}function P(){return e.is(Bi)||C(!0)>x();}
16return {mount:function(){var e,t;y(),l(window,"resize load",(e=ue(d,Mt),t=Gt(0,e,null,1),function(){t.isPaused()&&t.start();})),o([Tt,xt],y),o(Mt,w);},resize:w,listSize:x,slideSize:T,sliderSize:C,totalSize:M,getPadding:function(e){return parseFloat(Ve(m,u("padding"+(e?"Right":"Left"))))||0;},isOverflow:P};},Clones:function(e,t,i){var n,s=zt(e),r=s.on,a=t.Elements,o=t.Slides,l=t.Direction.resolve,d=[];function c(){r(xt,u),r([Tt,Mt],f),(n=m())&&(function(t){var n=o.get().slice(),s=n.length;if(s){for(;n.length<t;)Ce(n,n);Ce(n.slice(-t),n.slice(0,t)).forEach((function(r,l){var c=l<t,u=function(t,n){var s=t.cloneNode(!0);return Pe(s,i.classes.clone),s.id=e.root.id+"-clone"+ht(n+1),s;}(r.slide,l);c?Ae(u,n[0].slide):ke(a.list,u),Ce(d,u),o.register(u,l-t+(c?0:s),r.index);}));}}(n),t.Layout.resize(!0));}function u(){p(),c();}function p(){Xe(d),de(d),s.destroy();}function f(){var e=m();n!==e&&(n<e||!e)&&s.emit(xt);}function m(){var n=i.clones;if(e.is(Gi)){if(be(n)){var s=i[l("fixedWidth")]&&t.Layout.slideSize(0);n=s&<(Ye(a.track)[l("width")]/s)||i[l("autoWidth")]&&e.length||2*i.perPage;}}else n=0;return n;}
16return {mount:c,destroy:p};},Move:function(e,t,i){var n,s=zt(e),r=s.on,a=s.emit,o=e.state.set,l=t.Layout,d=l.slideSize,c=l.getPadding,u=l.totalSize,p=l.listSize,f=l.sliderSize,m=t.Direction,h=m.resolve,g=m.orient,v=t.Elements,y=v.list,w=v.track;function b(){t.Controller.isBusy()||(t.Scroll.cancel(),S(e.index),t.Slides.update());}function S(e){E(C(e,!0));}function E(i,n){if(!e.is(Bi)){var s=n?i:function(i){if(e.is(Gi)){var n=M(i),s=n>t.Controller.getEnd();(n<0||s)&&(i=x(i,s));}return i;}(i);Ve(y,"transform","translate"+h("X")+"("+s+"px)"),i!==s&&a("sh");}}function x(e,t){var i=e-P(t),n=f();return e-g(n*(lt(dt(i)/n)||1))*(t?1:-1);}function T(){E(L(),!0),n.cancel();}function M(e){for(var i=t.Slides.get(),n=0,s=1/0,r=0;r<i.length;r++){var a=i[r].index,o=dt(C(a,!0)-e);if(!(o<=s))break;s=o,n=a;}return n;}function C(t,n){var s=g(u(t-1)-function(e){var t=i.focus;return "center"===t?(p()-d(e,!0))/2:+t*d(e)||0;}(t));return n?function(t){return i.trimSpace&&e.is(zi)&&(t=pt(t,0,g(f(!0)-p()))),t;}(s):s;}function L(){var e=h("left");return Ye(y)[e]-Ye(w)[e]+g(c(!1));}function P(e){return C(e?t.Controller.getEnd():0,!!i.trimSpace);}
16return {mount:function(){n=t.Transition,r([yt,Ct,Tt,xt],b);},move:function(e,t,i,s){var r,l;e!==t&&(r=e>i,l=g(x(L(),r)),r?l>=0:l<=y[h("scrollWidth")]-Ye(w)[h("width")])&&(T(),E(x(L(),e>i),!0)),o(4),a(bt,t,i,e),n.start(t,(function(){o(3),a(St,t,i,e),s&&s();}));},jump:S,translate:E,shift:x,cancel:T,toIndex:M,toPosition:C,getPosition:L,getLimit:P,exceededLimit:function(e,t){t=be(t)?L():t;var i=!0!==e&&g(t)<g(P(!1)),n=!1!==e&&g(t)>g(P(!0));return i||n;},reposition:b};},Controller:function(e,t,i){var n,s,r,a,o=zt(e),l=o.on,d=o.emit,c=t.Move,u=c.getPosition,p=c.getLimit,f=c.toPosition,m=t.Slides,h=m.isEnough,g=m.getLength,v=i.omitEnd,y=e.is(Gi),w=e.is(zi),b=ue(C,!1),S=ue(C,!0),E=i.start||0,x=E;function T(){s=g(!0),r=i.perMove,a=i.perPage,n=k();var e=pt(E,0,v?n:s-1);e!==E&&(E=e,c.reposition());}function M(){n!==k()&&d(Dt);}function C(e,t){var i=r||(_()?1:a),s=L(E+i*(e?-1:1),E,!(r||_()));return -1===s&&w&&!ct(u(),p(!e),1)?e?0:n:t?s:P(s);}function L(t,o,l){if(h()||_()){var d=function(t){if(w&&"move"===i.trimSpace&&t!==E)for(var n=u();n===f(t,!0)&&ut(t,0,e.length-1,!i.rewind);)t<E?--t:++t;return t;}(t);d!==t&&(o=t,t=d,l=!1),t<0||t>n?t=r||!ut(0,t,o,!0)&&!ut(n,o,t,!0)?y?l?t<0?-(s%a||a):s:t:i.rewind?t<0?n:0:-1:A(I(t)):l&&t!==o&&(t=A(I(o)+(t<o?-1:1)));}else t=-1;return t;}function P(e){return y?(e+s)%s||0:e;}function k(){for(var e=s-(_()||y&&r?1:a);v&&e-->0;)if(f(s-1,!0)!==f(e,!0)){e++;break;}return pt(e,0,s-1);}function A(e){return pt(_()?e:a*e,0,n);}function I(e){return _()?rt(e,n):ot((e>=n?s-1:e)/a);}function O(e){e!==E&&(x=E,E=e);}function _(){return !be(i.focus)||i.isNavigation;}function D(){return e.state.is([4,5])&&!!i.waitForTransition;}
16return {mount:function(){T(),l([Tt,xt,Dt],T),l(Ct,M);},go:function(e,t,i){if(!D()){var s=function(e){var t=E;if(we(e)){var i=e.match(/([+\-<>])(\d+)?/)||[],s=i[1],r=i[2];"+"===s||"-"===s?t=L(E+ +(""+s+(+r||1)),E):">"===s?t=r?A(+r):b(!0):"<"===s&&(t=S(!0));}else t=y?e:pt(e,0,n);return t;}(e),r=P(s);r>-1&&(t||r!==E)&&(O(r),c.move(s,r,x,i));}},scroll:function(e,i,s,r){t.Scroll.scroll(e,i,s,(function(){var e=P(c.toIndex(u()));O(v?rt(e,n):e),r&&r();}));},getNext:b,getPrev:S,getAdjacent:C,getEnd:k,setIndex:O,getIndex:function(e){return e?x:E;},toIndex:A,toPage:I,toDest:function(e){var t=c.toIndex(e);return w?pt(t,0,n):t;},hasFocus:_,isBusy:D};},Arrows:function(e,t,i){var n,s,r=zt(e),a=r.on,o=r.bind,l=r.emit,d=i.classes,c=i.i18n,u=t.Elements,p=t.Controller,f=u.arrows,m=u.track,h=f,g=u.prev,v=u.next,y={};function w(){var e;!(e=i.arrows)||g&&v||(h=f||$e("div",d.arrows),g=x(!0),v=x(!1),n=!0,ke(h,[g,v]),!f&&Ae(h,m)),g&&v&&(Ge(y,{prev:g,next:v}),Re(h,e?"":"none"),Pe(h,s=fi+"--"+i.direction),e&&(a([yt,St,xt,Pt,Dt],T),o(v,"click",ue(E,">")),o(g,"click",ue(E,"<")),T(),qe([g,v],Yt,m.id),l("arrows:mounted",g,v))),a(Tt,b);}function b(){S(),w();}function S(){r.destroy(),Ze(h,s),n?(Xe(f?[g,v]:h),g=v=null):Fe([g,v],si);}function E(e){p.go(e,!0);}function x(e){return Ue('<button class="'+d.arrow+" "+(e?d.prev:d.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(i.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />');}function T(){if(g&&v){var t=e.index,i=p.getPrev(),n=p.getNext(),s=i>-1&&t<i?c.last:c.prev,r=n>-1&&t>n?c.first:c.next;g.disabled=i<0,v.disabled=n<0,qe(g,Kt,s),qe(v,Kt,r),l("arrows:updated",g,v,i,n);}}return {arrows:y,mount:w,destroy:S,update:T};},Autoplay:function(e,t,i){var n,s,r=zt(e),a=r.on,o=r.bind,l=r.emit,d=Gt(i.interval,e.go.bind(e,">"),(function(e){var t=u.bar;t&&Ve(t,"width",100*e+"%"),l("autoplay:playing",e);})),c=d.isPaused,u=t.Elements,p=t.Elements,f=p.root,m=p.toggle,h=i.autoplay,g="pause"===h;function v(){c()&&t.Slides.isEnough()&&(d.start(!i.resetProgress),s=n=g=!1,b(),l(It));}function y(e){void 0===e&&(e=!0),g=!!e,b(),c()||(d.pause(),l(Ot));}function w(){g||(n||s?y(!1):v());}function b(){m&&(Le(m,xi,!g),qe(m,Kt,i.i18n[g?"play":"pause"]));}function S(e){var n=t.Slides.getAt(e);d.set(n&&+je(n.slide,Ni)||i.interval);}
16return {mount:function(){h&&(i.pauseOnHover&&o(f,"mouseenter mouseleave",(function(e){n="mouseenter"===e.type,w();})),i.pauseOnFocus&&o(f,"focusin focusout",(function(e){s="focusin"===e.type,w();})),m&&o(m,"click",(function(){g?v():y(!0);})),a([bt,Lt,xt],d.rewind),a(bt,S),m&&qe(m,Yt,u.track.id),g||v(),b());},destroy:d.cancel,play:v,pause:y,isPaused:c};},Cover:function(e,t,i){var n=zt(e).on;function s(e){t.Slides.forEach((function(t){var i=_e(t.container||t.slide,"img");i&&i.src&&r(e,i,t);}));}function r(e,t,i){i.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),Re(t,e?"none":"");}return {mount:function(){i.cover&&(n(_t,ue(r,!0)),n([yt,Tt,xt],ue(s,!0)));},destroy:ue(s,!1)};},Scroll:function(e,t,i){var n,s,r=zt(e),a=r.on,o=r.emit,l=e.state.set,d=t.Move,c=d.getPosition,u=d.getLimit,p=d.exceededLimit,f=d.translate,m=e.is(zi),h=1;function g(e,i,r,a,u){var f=c();if(w(),r&&(!m||!p())){var g=t.Layout.sliderSize(),b=ft(e)*g*ot(dt(e)/g)||0;e=d.toPosition(t.Controller.toDest(e%g))+b;}var S=ct(f,e,1);h=1,i=S?0:i||at(dt(e-f)/1.5,800),s=a,n=Gt(i,v,ue(y,f,e,u),1),l(5),o(Lt),n.start();}function v(){l(3),s&&s(),o(Pt);}function y(e,t,n,r){var a,o,l=c(),d=(e+(t-e)*(a=r,(o=i.easingFunc)?o(a):1-Math.pow(1-a,4))-l)*h;f(l+d),m&&!n&&p()&&(h*=.6,dt(d)<10&&g(u(p(!0)),600,!1,s,!0));}function w(){n&&n.cancel();}function b(){n&&!n.isPaused()&&(w(),v());}
16return {mount:function(){a(bt,w),a([Tt,xt],b);},destroy:w,scroll:g,cancel:b};},Drag:function(e,t,i){var n,s,r,a,o,l,d,c,u=zt(e),p=u.on,f=u.emit,m=u.bind,h=u.unbind,g=e.state,v=t.Move,y=t.Scroll,w=t.Controller,b=t.Elements.track,S=t.Media.reduce,E=t.Direction,x=E.resolve,T=E.orient,M=v.getPosition,C=v.exceededLimit,L=!1;function P(){var e=i.drag;F(!e),a="free"===e;}function k(e){if(l=!1,!d){var t=N(e);n=e.target,s=i.noDrag,Ie(n,"."+yi+", ."+mi)||s&&Ie(n,s)||!t&&e.button||(w.isBusy()?Ke(e,!0):(c=t?b:window,o=g.is([4,5]),r=null,m(c,_i,A,Fi),m(c,Di,I,Fi),v.cancel(),y.cancel(),_(e)));}var n,s;}function A(t){if(g.is(6)||(g.set(6),f("drag")),t.cancelable)if(o){v.translate(n+D(t)/(L&&e.is(zi)?5:1));var s=z(t)>200,r=L!==(L=C());(s||r)&&_(t),l=!0,f("dragging"),Ke(t);}else (function(e){return dt(D(e))>dt(D(e,!0));})(t)&&(o=function(e){var t=i.dragMinThreshold,n=ge(t),s=n&&t.mouse||0,r=(n?t.touch:+t)||10;return dt(D(e))>(N(e)?r:s);}(t),Ke(t));}function I(n){g.is(6)&&(g.set(3),f("dragged")),o&&(function(n){var s=function(t){if(e.is(Gi)||!L){var i=z(t);if(i&&i<200)return D(t)/i;}return 0;}(n),r=function(e){return M()+ft(e)*rt(dt(e)*(i.flickPower||600),a?1/0:t.Layout.listSize()*(i.flickMaxPages||1));}(s),o=i.rewind&&i.rewindByDrag;S(!1),a?w.scroll(r,0,i.snap):e.is(Bi)?w.go(T(ft(s))<0?o?"<":"-":o?">":"+"):e.is(zi)&&L&&o?w.go(C(!0)?">":"<"):w.go(w.toDest(r),!0),S(!0);}(n),Ke(n)),h(c,_i,A),h(c,Di,I),o=!1;}function O(e){!d&&l&&Ke(e,!0);}function _(e){r=s,s=e,n=M();}function D(e,t){return B(e,t)-B(G(e),t);}function z(e){return et(e)-et(G(e));}function G(e){return s===e&&r||s;}function B(e,t){return (N(e)?e.changedTouches[0]:e)["page"+x(t?"Y":"X")];}function N(e){return "undefined"!=typeof TouchEvent&&e instanceof TouchEvent;}function F(e){d=e;}
16return {mount:function(){m(b,_i,fe,Fi),m(b,Di,fe,Fi),m(b,Oi,k,Fi),m(b,"click",O,{capture:!0}),m(b,"dragstart",Ke),p([yt,Tt],P);},disable:F,isDragging:function(){return o;}};},Keyboard:function(e,t,i){var n,s,r=zt(e),a=r.on,o=r.bind,l=r.unbind,d=e.root,c=t.Direction.resolve;function u(){var e=i.keyboard;e&&(n="global"===e?window:d,o(n,Vi,m));}function p(){l(n,Vi);}function f(){var e=s;s=!0,pe((function(){s=e;}));}function m(t){if(!s){var i=$i(t);i===c(Nt)?e.go("<"):i===c(Ft)&&e.go(">");}}return {mount:function(){u(),a(Tt,p),a(Tt,u),a(bt,f);},destroy:p,disable:function(e){s=e;}};},LazyLoad:function(e,t,i){var n=zt(e),s=n.on,r=n.off,a=n.bind,o=n.emit,l="sequential"===i.lazyLoad,d=[St,Pt],c=[];function u(){de(c),t.Slides.forEach((function(e){Qe(e.slide,ji).forEach((function(t){var n=je(t,Ri),s=je(t,Hi);if(n!==t.src||s!==t.srcset){var r=i.classes.spinner,a=t.parentElement,o=_e(a,"."+r)||$e("span",r,a);c.push([t,e,o]),t.src||Re(t,"none");}}));})),l?h():(r(d),s(d,p),p());}function p(){(c=c.filter((function(t){var n=i.perPage*((i.preloadPages||1)+1)-1;return !t[1].isWithin(e.index,n)||f(t);}))).length||r(d);}function f(e){var t=e[0];Pe(e[1].slide,Li),a(t,"load error",ue(m,e)),qe(t,"src",je(t,Ri)),qe(t,"srcset",je(t,Hi)),Fe(t,Ri),Fe(t,Hi);}function m(e,t){var i=e[0],n=e[1];Ze(n.slide,Li),"error"!==t.type&&(Xe(e[2]),Re(i,""),o(_t,i,n),o(Mt)),l&&h();}function h(){c.length&&f(c.shift());}
16return {mount:function(){i.lazyLoad&&(u(),s(xt,u));},destroy:ue(de,c),check:p};},Pagination:function(e,t,i){var n,s,r=zt(e),a=r.on,o=r.emit,l=r.bind,d=t.Slides,c=t.Elements,u=t.Controller,p=u.hasFocus,f=u.getIndex,m=u.go,h=t.Direction.resolve,g=c.pagination,v=[];function y(){n&&(Xe(g?ce(n.children):n),Ze(n,s),de(v),n=null),r.destroy();}function w(e){m(">"+e,!0);}function b(e,t){var i=v.length,n=$i(t),s=S(),r=-1;n===h(Ft,!1,s)?r=++e%i:n===h(Nt,!1,s)?r=(--e+i)%i:"Home"===n?r=0:"End"===n&&(r=i-1);var a=v[r];a&&(He(a.button),m(">"+r),Ke(t,!0));}function S(){return i.paginationDirection||i.direction;}function E(e){return v[u.toPage(e)];}function x(){var e=E(f(!0)),t=E(f());if(e){var i=e.button;Ze(i,xi),Fe(i,Ut),qe(i,jt,-1);}if(t){var s=t.button;Pe(s,xi),qe(s,Ut,!0),qe(s,jt,"");}o("pagination:updated",{list:n,items:v},e,t);}return {items:v,mount:function t(){y(),a([Tt,xt,Dt],t);var r=i.pagination;g&&Re(g,r?"":"none"),r&&(a([bt,Lt,Pt],x),function(){var t=e.length,r=i.classes,a=i.i18n,o=i.perPage,f=p()?u.getEnd()+1:lt(t/o);Pe(n=g||$e("ul",r.pagination,c.track.parentElement),s=vi+"--"+S()),qe(n,Ht,"tablist"),qe(n,Kt,a.select),qe(n,Zt,S()===Vt?"vertical":"");for(var m=0;m<f;m++){var h=$e("li",null,n),y=$e("button",{class:r.page,type:"button"},h),E=d.getIn(m).map((function(e){return e.slide.id;})),x=!p()&&o>1?a.pageX:a.slideX;l(y,"click",ue(w,m)),i.paginationKeyboard&&l(y,"keydown",ue(b,m)),qe(h,Ht,"presentation"),qe(y,Ht,"tab"),qe(y,Yt,E.join(" ")),qe(y,Kt,mt(x,m+1)),qe(y,jt,-1),v.push({li:h,button:y,page:m});}}(),x(),o("pagination:mounted",{list:n,items:v},E(e.index)));},destroy:y,getAt:E,update:x};},Sync:function(e,t,i){var n=i.isNavigation,s=i.slideFocus,r=[];function a(){e.splides.forEach((function(t){t.isParent||(l(e,t.splide),l(t.splide,e));})),n&&function(){var t=zt(e),i=t.on;i(Et,c),i("sk",u),i([yt,Tt],d),r.push(t),t.emit(At,e.splides);}();}function o(){r.forEach((function(e){e.destroy();})),de(r);}function l(e,t){var i=zt(e);i.on(bt,(function(e,i,n){t.go(t.is(Gi)?n:e);})),r.push(i);}function d(){qe(t.Elements.list,Zt,i.direction===Vt?"vertical":"");}function c(t){e.go(t.index);}function u(e,t){Me(Wi,$i(t))&&(c(e),Ke(t));}return {setup:ue(t.Media.set,{slideFocus:be(s)?n:s},!0),mount:a,destroy:o,remount:function(){o(),a();}};},Wheel:function(e,t,i){var n=zt(e).bind,s=0;function r(n){if(n.cancelable){var r=n.deltaY,a=r<0,o=et(n),l=i.wheelMinThreshold||0,d=i.wheelSleep||0;dt(r)>l&&o-s>d&&(e.go(a?"<":">"),s=o),function(n){return !i.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(n);}(a)&&Ke(n);}}return {mount:function(){i.wheel&&n(t.Elements.track,"wheel",r,Fi);}};},Live:function(e,t,i){var n=zt(e).on,s=t.Elements.track,r=i.live&&!i.isNavigation,a=$e("span",Si),o=Gt(90,ue(l,!1));function l(e){qe(s,ii,e),e?(ke(s,a),o.start()):(Xe(a),o.cancel());}function d(e){r&&qe(s,ti,e?"off":"polite");}
16return {mount:function(){r&&(d(!t.Autoplay.isPaused()),qe(s,ni,!0),a.textContent="â¦",n(It,ue(d,!0)),n(Ot,ue(d,!1)),n([St,Pt],ue(l,!0)));},disable:d,destroy:function(){Fe(s,[ti,ni,ii]),Xe(a);}};}}),Xi={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Ii,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Ui(e,t,i){var n=t.Slides;function s(){n.forEach((function(e){e.style("transform","translateX(-"+100*e.index+"%)");}));}return {mount:function(){zt(e).on([yt,xt],s);},start:function(e,t){n.style("transition","opacity "+i.speed+"ms "+i.easing),pe(t);},cancel:fe};}function Ki(e,t,i){var n,s=t.Move,r=t.Controller,a=t.Scroll,o=t.Elements.list,l=ue(Ve,o,"transition");function d(){l(""),a.cancel();}
16return {mount:function(){zt(e).bind(o,"transitionend",(function(e){e.target===o&&n&&(d(),n());}));},start:function(t,o){var d=s.toPosition(t,!0),c=s.getPosition(),u=function(t){var n=i.rewindSpeed;if(e.is(zi)&&n){var s=r.getIndex(!0),a=r.getEnd();if(0===s&&t>=a||s>=a&&0===t)return n;}return i.speed;}(t);dt(d-c)>=1&&u>=1?i.useScroll?a.scroll(d,u,!1,o):(l("transform "+u+"ms "+i.easing),s.translate(d,!0),n=o):(s.jump(t),o());},cancel:d};}var Ji=function(){function e(t,i){this.event=zt(),this.Components={},this.state=function(e){var t=1;return {set:function(e){t=e;},is:function(e){return Me(xe(e),t);}};}(),this.splides=[],this._o={},this._E={};var n=we(t)?Je(document,t):t;st(n,n+" is invalid."),this.root=n,i=Be({label:je(n,Kt)||"",labelledby:je(n,Jt)||""},Xi,e.defaults,i||{});try{Be(i,JSON.parse(je(n,nt)));}catch(e){st(!1,"Invalid JSON");}this._o=Object.create(Be({},i));}var t,i,n=e.prototype;return n.mount=function(e,t){var i=this,n=this.state,s=this.Components;return st(n.is([1,7]),"Already mounted!"),n.set(1),this._C=s,this._T=t||this._T||(this.is(Bi)?Ui:Ki),this._E=e||this._E,ze(Ge({},Yi,this._E,{Transition:this._T}),(function(e,t){var n=e(i,s,i._o);s[t]=n,n.setup&&n.setup();})),ze(s,(function(e){e.mount&&e.mount();})),this.emit(yt),Pe(this.root,Ei),n.set(3),this.emit(wt),this;},n.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this;},n.go=function(e){return this._C.Controller.go(e),this;},n.on=function(e,t){return this.event.on(e,t),this;},n.off=function(e){return this.event.off(e),this;},n.emit=function(e){var t;return (t=this.event).emit.apply(t,[e].concat(ce(arguments,1))),this;},n.add=function(e,t){return this._C.Slides.add(e,t),this;},n.remove=function(e){return this._C.Slides.remove(e),this;},n.is=function(e){return this._o.type===e;},n.refresh=function(){return this.emit(xt),this;},n.destroy=function(e){void 0===e&&(e=!0);var t=this.event,i=this.state;return i.is(1)?zt(this).on(wt,this.destroy.bind(this,e)):(ze(this._C,(function(t){t.destroy&&t.destroy(e);}),!0),t.emit(kt),t.destroy(),e&&de(this.splides),i.set(7)),this;},t=e,(i=[{key:"options",get:function(){return this._o;},set:function(e){this._C.Media.set(e,!0,!0);}},{key:"length",get:function(){return this._C.Slides.getLength(!0);}},{key:"index",get:function(){return this._C.Controller.getIndex();}}])&&ae(t.prototype,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}(),Qi=Ji;function Zi(e,t,i){return Array.prototype.slice.call(e,t,i);}function en(e){return e.bind.apply(e,[null].concat(Zi(arguments,1)));}function tn(e){return requestAnimationFrame(e);}function nn(e,t){return typeof t===e;}Qi.defaults={},Qi.STATES=le;var sn=Array.isArray;function rn(e){return sn(e)?e:[e];}function an(e,t){rn(e).forEach(t);}en(nn,"function"),en(nn,"string"),en(nn,"undefined");var on=Object.keys;var ln=Math.min,dn="move",cn="moved",un="drag",pn="scroll",fn="scrolled",mn="destroy";function hn(e){var t=e?e.event.bus:document.createDocumentFragment(),i=function(){var e=[];function t(e,t,i){an(e,(function(e){e&&an(t,(function(t){t.split(" ").forEach((function(t){var n=t.split(".");i(e,n[0],n[1]);}));}));}));}return {bind:function(i,n,s,r){t(i,n,(function(t,i,n){var a="addEventListener" in t,o=a?t.removeEventListener.bind(t,i,s,r):t.removeListener.bind(t,s);a?t.addEventListener(i,s,r):t.addListener(s),e.push([t,i,n,s,o]);}));},unbind:function(i,n,s){t(i,n,(function(t,i,n){e=e.filter((function(e){return !!(e[0]!==t||e[1]!==i||e[2]!==n||s&&e[3]!==s)||(e[4](),!1);}));}));},dispatch:function(e,t,i){var n,s=!0;return "function"==typeof CustomEvent?n=new CustomEvent(t,{bubbles:s,detail:i}):(n=document.createEvent("CustomEvent")).initCustomEvent(t,s,!1,i),e.dispatchEvent(n),n;},destroy:function(){e.forEach((function(e){e[4]();})),e.length=0;}};}();return e&&e.event.on(mn,i.destroy),function(e){return Zi(arguments,1).forEach((function(t){!function(e,t,i){if(e)for(var n=on(e),s=0;s<n.length;s++){var r=n[s];if("__proto__"!==r&&!1===t(e[r],r))break;}}(t,(function(i,n){e[n]=t[n];}));})),e;}(i,{bus:t,on:function(e,n){i.bind(t,rn(e).join(" "),(function(e){n.apply(n,sn(e.detail)?e.detail
16:[]);}));},off:en(i.unbind,t),emit:function(e){i.dispatch(t,e,Zi(arguments,1));}});}function gn(e,t,i,n){var s,r,a=Date.now,o=0,l=!0,d=0;function c(){if(!l){if(o=e?ln((a()-s)/e,1):1,i&&i(o),o>=1&&(t(),s=a(),n&&++d>=n))return u();tn(c);}}function u(){l=!0;}function p(){r&&cancelAnimationFrame(r),o=0,r=0,l=!0;}return {start:function(t){!t&&p(),s=a()-(t?o*e:0),l=!1,tn(c);},rewind:function(){s=a(),o=0,i&&i(o);},pause:u,cancel:p,set:function(t){e=t;},isPaused:function(){return l;}};}function vn(e,t,i){return Array.prototype.slice.call(e,t,i);}function yn(e){return e.bind(null,...vn(arguments,1));}function wn(e,t){return typeof t===e;}function bn(e){return !xn(e)&&wn("object",e);}const Sn=Array.isArray;yn(wn,"function"),yn(wn,"string");const En=yn(wn,"undefined");function xn(e){return null===e;}function Tn(e,t){var i;(i=e,Sn(i)?i:[i]).forEach(t);}const Mn=Object.keys;function Cn(e,t,i){if(e){let n=Mn(e);n=i?n.reverse():n;for(let i=0;i<n.length;i++){const s=n[i];if("__proto__"!==s&&!1===t(e[s],s))break;}}return e;}function Ln(e){return vn(arguments,1).forEach(((t)=>{Cn(t,((i,n)=>{e[n]=t[n];}));})),e;}function Pn(e,t,i){bn(t)?Cn(t,((t,i)=>{Pn(e,i,t);})):Tn(e,((e)=>{xn(i)||""===i?function(e,t){Tn(e,((e)=>{Tn(t,((t)=>{e&&e.removeAttribute(t);}));}));}(e,t):e.setAttribute(t,String(i));}));}const {min:kn,max:An,floor:In,ceil:On,abs:_n}=Math,Dn={speed:1,autoStart:!0,pauseOnHover:!0,pauseOnFocus:!0},zn={startScroll:"Start auto scroll",pauseScroll:"Pause auto scroll"};function Gn(e,t,i){const {on:n,off:s,bind:r,unbind:a}=hn(e),{translate:o,getPosition:l,toIndex:d,getLimit:c}=t.Move,{setIndex:u,getIndex:p}=t.Controller,{orient:f}=t.Direction,{toggle:m}=t.Elements,{Live:h}=t,{root:g}=e,v=function(e,t){var i;return function(){i||(i=gn(500,(function(){e(),i=null;}),null,1)).start();};}(t.Arrows.update);let y,w,b,S,E,x,T={};function M(){e.is("fade")||y||!1===i.autoScroll||(y=gn(0,I),T.pauseOnHover&&r(g,"mouseenter mouseleave",((e)=>{b="mouseenter"===e.type,A();})),T.pauseOnFocus&&r(g,"focusin focusout",((e)=>{S="focusin"===e.type,A();})),T.useToggleButton&&r(m,"click",(()=>{w?P():k();})),n("updated",L),n([dn,un,pn],(()=>{E=!0,k(!1);})),n([cn,"dragged",fn],(()=>{E=!1,A();})),T.autoStart&&("complete"===document.readyState?P():r(window,"load",P)));}function C(){y&&(y.cancel(),y=null,x=void 0,s([dn,un,pn,cn,fn]),a(g,"mouseenter mouseleave focusin focusout"),a(m,"click"));}function L(){const {autoScroll:e}=i;!1!==e?(T=Ln({},T,bn(e)?e:{}),M()):C(),y&&!En(x)&&o(x);}function P(){_()&&(y.start(!0),h.disable(!0),S=b=w=!1,O());}function k(e=!0){w||(w=e,O(),_()||(y.pause(),h.disable(!1)));}function A(){w||(b||S||E?k(!1):P());}function I(){const n=l(),s=function(t){const i=T.speed||1;return t+=f(i),e.is("slide")&&(t=function(e,t,i){const n=kn(t,i),s=An(t,i);return kn(An(n,e),s);}(t,c(!1),c(!0))),t;}(n);n!==s?(o(s),function(n){const {length:s}=e,r=(d(n)+s)%s;r!==p()&&(u(r),t.Slides.update(),t.Pagination.update(),"nearby"===i.lazyLoad&&t.LazyLoad.check());}(x=l())):(k(!1),T.rewind&&e.go(T.speed>0?0:t.Controller.getEnd())),v();}function O(){if(m){const n=w?"startScroll":"pauseScroll";t=!w,(e=m)&&Tn("is-active",((i)=>{i&&e.classList[t?"add":"remove"](i);})),Pn(m,"aria-label",i.i18n[n]||zn[n]);}var e,t;}function _(){return !y||y.isPaused();}return {setup:function(){const {autoScroll:e}=i;T=Ln({},Dn,bn(e)?e:{});},mount:M,destroy:C,play:P,pause:k,isPaused:_};}class Bn{constructor(e,t,i){this.track=e,this.direction=t,this.loopHeight=i,this.y=0,this.velocity=-.8*t,this.hovering=!1,this.dragging=!1,this.raf=null;}loop(e){return e<=-this.loopHeight?e+this.loopHeight:e>0?e-this.loopHeight:e;}tick(){if(!this.dragging){const e=this.hovering?0:-.8*this.direction;this.velocity+=.05*(e-this.velocity),this.y=this.loop(this.y+this.velocity),this.track.style.transform=`translateY(${this.y}px)`;}this.raf=requestAnimationFrame((()=>this.tick()));}applyDelta(e){this.y=this.loop(this.y+e),this.track.style.transform=`translateY(${this.y}px)`;}releaseDrag(e){this.dragging=!1,this.velocity=e;}start(e=0){this.y=e,this.raf=requestAnimationFrame((()=>this.tick()));}destroy(){cancelAnimationFrame(this.raf),this.raf=null,this.track.style.transform="";}}const Nn=(e,t)=>{const i=[...e.children];if(!i.length)return 0;for(;e.scrollHeight<t;)i.forEach(((t)=>e.appendChild(t.cloneNode(!0))));const n=e.children.length;
16return [...e.children].forEach(((t)=>e.appendChild(t.cloneNode(!0)))),e.children[n].offsetTop;},Fn=new WeakMap(),qn=(e)=>{Fn.has(e)||Fn.set(e,{swiper:null,marqueeBuilt:!1,controllers:null});const t=Fn.get(e);window.innerWidth>=1024?(t.swiper&&(t.swiper.destroy(!0,!0),t.swiper=null),t.marqueeBuilt||(t.controllers=((e)=>{const t=[...e.querySelectorAll(".carousel-txt-destinations__swiper .swiper-slide")].filter(((e)=>!e.classList.contains("swiper-slide-duplicate")));if(!t.length)return null;const i=e.querySelectorAll(".carousel-txt-destinations__col"),[n,s]=e.querySelectorAll(".carousel-txt-destinations__track"),r=i[0]?i[0].offsetHeight:800,a=Math.ceil(t.length/2);t.forEach(((e,t)=>{const i=e.querySelector(".card-destination");i&&(t<a?n:s).appendChild(i.cloneNode(!0));}));const o=Nn(n,r),l=Nn(s,r),d=new Bn(n,1,o),c=new Bn(s,-1,l);d.start(0),c.start(.4*-l);const u=e.querySelector(".carousel-txt-destinations__marquee");u.addEventListener("mouseenter",(()=>{d.hovering=!0,c.hovering=!0;})),u.addEventListener("mouseleave",(()=>{d.hovering=!1,c.hovering=!1;}));let p=!1,f=0,m=0,h=0;u.style.cursor="grab",u.addEventListener("pointerdown",((e)=>{p=!0,f=e.clientY,m=0,h=0,d.dragging=!0,c.dragging=!0,d.hovering=!1,c.hovering=!1,u.setPointerCapture(e.pointerId),u.style.cursor="grabbing";})),u.addEventListener("pointermove",((e)=>{if(!p)return;const t=e.clientY-f;f=e.clientY,m=t,h+=Math.abs(t),d.applyDelta(t),c.applyDelta(t);}));const g=()=>{p&&(p=!1,d.releaseDrag(m),c.releaseDrag(m),u.style.cursor="grab");};return u.addEventListener("pointerup",g),u.addEventListener("pointercancel",g),u.addEventListener("click",((e)=>{h>6&&e.preventDefault();}),!0),[d,c];})(e),t.marqueeBuilt=!0)):(t.marqueeBuilt&&(((e,t)=>{t&&t.forEach(((e)=>e.destroy())),e.querySelectorAll(".carousel-txt-destinations__track").forEach(((e)=>{e.innerHTML="";}));})(e,t.controllers),t.controllers=null,t.marqueeBuilt=!1),t.swiper||(t.swiper=((e)=>{const t=e.querySelector(".carousel-txt-destinations__swiper");return t?new K(t,{loop:!0,slidesPerView:1.2,spaceBetween:10,a11y:{enabled:!0,prevSlideMessage:"Slide precedente",nextSlideMessage:"Slide successiva"},modules:[ie]}):null;})(e)));},$n=()=>{const e=[...document.querySelectorAll(".carousel-txt-destinations")];e.length&&(e.forEach(qn),window.addEventListener("resize",((t,i)=>{let n;return (...t)=>{clearTimeout(n),n=setTimeout((()=>(()=>e.forEach(qn))(...t)),200);};})()));};window.addEventListener("DOMContentLoaded",((e)=>{(()=>{const e=document.querySelectorAll(".hero-page__slider");e.length&&e.forEach(((e)=>{const t=document.querySelectorAll(".swiper-slide"),i=e.querySelector(".button-next"),n=e.querySelector(".button-prev"),s=e.querySelector(".swiper-pagination");new K(e,{slidesPerView:1,navigation:{nextEl:i,prevEl:n},pagination:{el:s,type:"progressbar"},mousewheel:{forceToAxis:!0},a11y:{enabled:!0,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",notificationClass:"swiper-notification"},modules:[Z,te,ie,J]}),1==t.length&&(i.style.display="none",n.style.display="none",s.style.display="none");}));})(),(()=>{const e=document.querySelectorAll(".carousel-resort__slider");e.length&&e.forEach(((e)=>{const t=e.querySelectorAll(".swiper-slide"),i=e.querySelector(".button-next"),n=e.querySelector(".button-prev"),s=e.querySelector(".swiper-pagination");new K(e,{slidesPerView:"auto",breakpoints:{0:{spaceBetween:10},768:{spaceBetween:20}},navigation:{nextEl:i,prevEl:n},pagination:{el:s,type:"progressbar"},mousewheel:{forceToAxis:!0},a11y:{enabled:!0,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",notificationClass:"swiper-notification"},modules:[Z,te,ie,J]}),1==t.length&&(i.style.display="none",n.style.display="none",s.style.display="none");}));})(),(()=>{const e=document.querySelectorAll(".tapis-roulant__container");e.length&&e.forEach(((e)=>{let t;e.querySelectorAll(".splide__slide"),t=new Qi(e,{type:"loop",drag:"free",focus:"center",arrows:!1,pagination:!1,gap:20,perPage:3,autoScroll:{speed:1}}),t.mount({AutoScroll:Gn});}));})(),(()=>{const e=document.querySelectorAll(".carousel-wide__slider");e.length&&e.forEach(((e)=>{const t=document.querySelectorAll(".swiper-slide"),i=e.querySelector(".button-next"),n=e.querySelector(".button-prev"),s=e.querySelector(".swiper-pagination");new K(e,{slidesPerView:"auto",breakpoints:{0:{spaceBetween:10},768:{spaceBetween:20}},navigation:{nextEl:i,prevEl:n},pagination:{el:s,type:"progressbar"},mousewheel:{forceToAxis:!0},a11y:{enabled:!0,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",notificationClass:"swiper-notification"},modules:[Z,te,ie,J]}),1==t.length&&(i.style.display="none",n.style.display="none",s.style.display="none");}));})(),(()=>{const e=document.querySelectorAll(".carousel-text__slider");if(!e.length)return;const t=document.querySelectorAll(".carousel-text__intro");e.forEach(((e,i)=>{new K(e,{slidesPerView:"auto",breakpoints:{0:{spaceBetween:10},768:{spaceBetween:20}},a11y:{enabled:!0,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",notificationClass:"swiper-notification"},mousewheel:{forceToAxis:!0},modules:[ie,J],on:{slideNextTransitionStart:function(){t[i].classList.add("hideText");},reachBeginning:function(){t[i].classList.remove("hideText");}}});}));})(),(()=>{const e=document.querySelectorAll(".story-txt__swiper");e.length&&e.forEach(((e)=>{const t=e.querySelectorAll(".swiper-slide"),i=e.querySelector(".story-txt__progress-nav");e.style.setProperty("--story-progress-duration","7000ms");let n=null;i&&t.length>1&&(n=document.createElement("span"),n.className="story-txt__progress-bar is-active",i.appendChild(n)),new K(e,{effect:"fade",loop:!0,autoplay:{delay:7e3,disableOnInteraction:!1},slidesPerView:"auto",breakpoints:{0:{spaceBetween:10},768:{spaceBetween:20}},mousewheel:{forceToAxis:!0},a11y:{enabled:!0,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",notificationClass:"swiper-notification"},modules:[ne,ie,J,re]}).on("slideChange",(()=>{n&&(n.style.animation="none",n.offsetWidth,n.style.animation="");})),t.length<=1&&i&&(i.style.display="none");}));})(),$n(),(()=>{const e=document.querySelectorAll(".feature-grid");e.length&&e.forEach(((e)=>{const t=e.querySelector(".feature-grid__slider");if(!t)return;const i=e.querySelector(".swiper-pagination");new K(t,{slidesPerView:"auto",spaceBetween:20,breakpoints:{1025:{slidesPerView:3,spaceBetween:20}},pagination:{el:i,type:"progressbar"},mousewheel:{forceToAxis:!0},a11y:{enabled:!0,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",notificationClass:"swiper-notification"},modules:[te,ie,J]});}));})(),(()=>{const e=document.querySelectorAll(".media-slider");e.length&&e.forEach(((e)=>{const t=e.querySelector(".media-slider__slider");if(!t)return;const i=e.classList.contains("single"),n=e.querySelectorAll(".swiper-slide"),s=i?4:Math.max(9,3*n.length);n.length>1&&((e,t)=>{const i=e.querySelector(".swiper-wrapper");if(!i)return;const n=Array.from(i.children);if(n.length&&!(n.length>=t))for(;i.children.length<t;)n.forEach(((e)=>{if(i.children.length>=t)return;const n=e.cloneNode(!0);n.setAttribute("aria-hidden","true"),i.appendChild(n);}));})(t,s);const r=e.querySelector(".button-next"),a=e.querySelector(".button-prev"),o=e.querySelector(".swiper-pagination"),l={loop:!0,loopAdditionalSlides:2,watchSlidesProgress:!0,speed:800,navigation:{nextEl:r,prevEl:a},pagination:{el:o,type:"progressbar"},mousewheel:{forceToAxis:!0},a11y:{enabled:!0,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",notificationClass:"swiper-notification"},modules:[Z,te,ie,J]};i?l.slidesPerView=1:(l.slidesPerView="auto",l.centeredSlides=!0,l.spaceBetween=20),new K(t,l),1==n.length&&(r&&(r.style.display="none"),a&&(a.style.display="none"),o&&(o.style.display="none"));}));})();}));})();; 17class mangiasBooking{constructor(params){this.type='Mangias Booking';this.params=params;}getUrl(){var form=document.getElementById('bookingForm');
17var adultsInputs=form.querySelectorAll('input[name="adults[]"]');var childsInputs=form.querySelectorAll('input[name="childs[]"]');var agesInputs=form.querySelectorAll('input[name="ages[]"]');let stringPromo=form.querySelectorAll('input[name="promocode"]')[0].value;var stringAdults=parseSearchArrays(adultsInputs);var stringChilds=parseSearchArrays(childsInputs);var stringAges=parseSearchArrays(agesInputs);var bookingUrl="https://booking.mangias.com/#/hotel/%%HOTEL%%/channel/1193/language/%%LANG%%/rooms?arrival=%%ARRIVAL%%&departure=%%DEPARTURE%%&adults=%%ADULTS%%&childs=%%CHILDS%%&ages=%%CHILDS_AGES%%&promocode=%%PROMOCODE%%";var remote_id=presetRemoteIds[form.querySelector('select[name="booking_destinations"]').value];const langs={'en':1,'it':2,'fr':4,'de':3};let lang_id=drupalSettings.path.currentLanguage;if(langs.hasOwnProperty(lang_id))bookingUrl=convertSearchParam(bookingUrl,"%%LANG%%",langs[lang_id]);else bookingUrl=convertSearchParam(bookingUrl,"%%LANG%%",1);bookingUrl=convertSearchParam(bookingUrl,"%%HOTEL%%",remote_id);bookingUrl=convertSearchParam(bookingUrl,"%%ARRIVAL%%",picker.getStartDate().format('YYYYMMDD'));bookingUrl=convertSearchParam(bookingUrl,"%%DEPARTURE%%",picker.getEndDate().format('YYYYMMDD'));bookingUrl=convertSearchParam(bookingUrl,"%%ADULTS%%",stringAdults);bookingUrl=convertSearchParam(bookingUrl,"%%CHILDS%%",stringChilds);bookingUrl=convertSearchParam(bookingUrl,"%%CHILDS_AGES%%",stringAges);bookingUrl=convertSearchParam(bookingUrl,"%%PROMOCODE%%",stringPromo);return bookingUrl;}}; 18class hiltonBooking{constructor(params){this.type='Hilton Booking';this.params=params;}getUrl(){let form=document.getElementById('bookingForm');let stringAdults=parseSearchArrays(form.querySelectorAll('input[name="adults[]"]'));let stringChilds=parseSearchArrays(form.querySelectorAll('input[name="childs[]"]'));let stringAges=parseSearchArrays(form.querySelectorAll('input[name="ages[]"]'));let remote_id=presetRemoteIds[form.querySelector('select[name="booking_destinations"]').value];let dataArrival=picker.getStartDate().format('YYYY-MM-DD');let dataDeparture=picker.getEndDate().format('YYYY-MM-DD');var bookingUrl="https://www.hilton.com/%%LANG%%/book/reservation/rooms/?ctyhocn=%%HOTEL%%&arrivalDate=%%ARRIVAL%%&departureDate=%%DEPARTURE%%&room1NumAdults=%%ADULTS%%&room1NumChildren=%%CHILDS%%";bookingUrl=convertSearchParam(bookingUrl,"%%LANG%%",drupalSettings.path.currentLanguage);bookingUrl=convertSearchParam(bookingUrl,"%%HOTEL%%",remote_id);bookingUrl=convertSearchParam(bookingUrl,"%%ARRIVAL%%",dataArrival);bookingUrl=convertSearchParam(bookingUrl,"%%DEPARTURE%%",dataDeparture);bookingUrl=convertSearchParam(bookingUrl,"%%ADULTS%%",stringAdults);bookingUrl=convertSearchParam(bookingUrl,"%%CHILDS%%",stringChilds);bookingUrl=convertSearchParam(bookingUrl,"%%CHILDS_AGES%%",stringAges);return bookingUrl;}}; 19class marriotBooking{constructor(params){this.type='Mangias Booking';this.params=params;}getUrl(){let form=document.getElementById('bookingForm');let adultsInputs=form.querySelectorAll('input[name="adults[]"]');let childsInputs=form.querySelectorAll('input[name="childs[]"]');let agesInputs=form.querySelectorAll('input[name="ages[]"]');let stringAdults=this.getSumofEntriesOfNumberFieldInstance(adultsInputs);let stringChilds=this.getSumofEntriesOfNumberFieldInstance(childsInputs);let stringAges=this.getSumofEntriesOfNumberFieldInstance(agesInputs);let dataArrival=picker.getStartDate().format('MM/DD/YYYY');let dataDeparture=picker.getEndDate().format('MM/DD/YYYY');let modalRooms=document.querySelectorAll('.modal-wrap-rooms[data-accordion="accordion-booking"] .modal-room');let numRooms=modalRooms.length;let remote_id=presetRemoteIds[form.querySelector('select[name="booking_destinations"]').value];let bookingUrl="https://www.marriott.com/reservation/availabilitySearch.mi?isSearch=false"+"&propertyCode=%%HOTEL%%"+"&fromDate=%%ARRIVAL%%"+"&toDate=%%DEPARTURE%%"+"&numberOfRooms=%%ROOMS%%"+"&numberOfAdults=%%ADULTS%%";;bookingUrl=convertSearchParam(bookingUrl,"%%HOTEL%%",remote_id);bookingUrl=convertSearchParam(bookingUrl,"%%ARRIVAL%%",dataArrival);bookingUrl=convertSearchParam(bookingUrl,"%%DEPARTURE%%",dataDeparture);bookingUrl=convertSearchParam(bookingUrl,"%%ADULTS%%",stringAdults);bookingUrl=convertSearchParam(bookingUrl,"%%CHILDS%%",stringChilds);bookingUrl=convertSearchParam(bookingUrl,"%%ROOMS%%",numRooms);return bookingUrl;}getSumofEntriesOfNumberFieldInstance(inputInstance){var inputsAdults=document.querySelectorAll('.modal-room input[name="modalAdults[]"]');var somma=0;inputInstance.forEach(function(input){somma+=parseInt(input.value);});return somma;}}; 20class BookingFactory{static createBooking(type,params){if(type==='mangiasBooking')return new mangiasBooking(params);if(type==='hiltonBooking')return new hiltonBooking(params);if(type==='marriotBooking')return new marriotBooking(params);return null;}}; 21let startDatePreset=drupalSettings.lab_booking['datePicker'].preset_date.start_date;let endDatePreset=drupalSettings.lab_booking['datePicker'].preset_date.end_date;let datePickerLocale=drupalSettings.lab_booking['datePicker'].locale.lang;let datePickerFormat=drupalSettings.lab_booking['datePicker'].locale.format;let datePickerRangeLocale=drupalSettings.lab_booking['datePicker'].locale.rangeOptions.locale;let datePickerCalendars=drupalSettings.lab_booking['datePicker'].calendars;let presetImages=drupalSettings.lab_booking.images;let presetRemoteIds=drupalSettings.lab_booking.remote_ids;let bookingFranchiseDestinations=drupalSettings.lab_booking.booking_franchise_config;var selectElement=document.querySelector('#booking_destinations');if(selectElement)document.addEventListener('DOMContentLoaded',function(){selectElement.addEventListener('change',function(){if(picker){picker.clear();picker.destroy();picker=null;}var selectedValue=this.value;if(selectedValue!=='-2')changeItemImage(selectedValue,presetImages,'booking_cover_container','booking_cover');var remoteIds=drupalSettings.lab_booking.remote_ids;var currentRemoteId='';if(remoteIds&&typeof remoteIds==='object')currentRemoteId=remoteIds[selectedValue];loadPicker(currentRemoteId);submitButtonStatus();});});function submitButtonStatus(){const destination=document.getElementById('booking_destinations').value;const startDate=picker?.getStartDate();const endDate=picker?.getEndDate();if(destination==='-2'||!startDate||!endDate){document.getElementById("booking-submit-btn").disabled=true;document.getElementById("booking-submit-btn").classList.add("booking-btn-disabled");document.getElementById("booking-submit-btn").classList.remove("booking-btn-sand");}else{document.getElementById("booking-submit-btn").disabled=false;document.getElementById("booking-submit-btn").classList.remove("booking-btn-disabled");document.getElementById("booking-submit-btn").classList.add("booking-btn-sand");}}const booking_submit_btn=document.getElementById('booking-submit-btn');if(booking_submit_btn)document.addEventListener('DOMContentLoaded',function(){booking_submit_btn.addEventListener('click',function(event){event.preventDefault();let current_destination=document.getElementById('booking_destinations').value;let bookingFranchiseConfig=bookingFranchiseDestinations[current_destination];(bookingFranchiseConfig=JSON.parse(bookingFranchiseConfig));const Booking=BookingFactory.createBooking(bookingFranchiseConfig.JsClassName,{});window.open(Booking.getUrl());return false;});});window.addEventListener('load',function(){if(typeof drupalSettings.lab_booking.prefetch!=='undefined'&&drupalSettings.lab_booking.prefetch!==null){let current_node_id=drupalSettings.lab_booking.prefetch;let select=document.getElementById('booking_destinations');if(select&&checkIfSelectValueExists(select,current_node_id)){select.value=current_node_id;var event=new Event('change',{bubbles:true,cancelable:true});select.dispatchEvent(event);}}});function checkIfSelectValueExists(selectElement,valueToCheck){for(var i=0;i<selectElement.options.length;i++)if(selectElement.options[i].value===valueToCheck)return true;return false;}
21function convertSearchParam(fullString,searchString,replaceString){return fullString.replace(searchString,replaceString);}function parseSearchArrays(inputs){var arr=[];inputs.forEach(function(input){arr.push(input.value);});return arr.join(",");}function changeItemImage(id_item,images,container_id,target_id){var existingImg=document.getElementById(target_id);var img_path=images[id_item];if(img_path)if(existingImg)existingImg.src=img_path;else{var newImg=new Image();newImg.src=img_path;newImg.id=target_id;document.getElementById(container_id).appendChild(newImg);}else document.getElementById(container_id).innerHTML='';}(function($,Drupal){Drupal.behaviors.booking={attach:function(context,settings){var drupalLang=(drupalSettings.path&&drupalSettings.path.currentLanguage)?drupalSettings.path.currentLanguage:'en';var langMap={'it':'IT','it-it':'IT','de':'DE','de-de':'DE','fr':'FR','fr-fr':'FR','en':'EN','en-gb':'EN','en-us':'EN'};window.languageId=langMap[drupalLang.toLowerCase()]||'EN';window.micrositeId="mangiasb2c";window.urlBaseHome="https://mdestinations.mangias.com";window.initAutoComplete=function(inputId,type,hiddenId,tripType,displayId){$("#"+inputId).autocomplete({source:function(request,response){$.ajax({url:window.urlBaseHome+"/jsonp/locationSearch?callback=?",dataType:"jsonp",data:{query:request.term,tripType,micrositeId:window.micrositeId,languageId:window.languageId},success:function(data){response(data);},error:function(xhr,status,error){console.error('API Error:',status,error);response([]);}});},minLength:2,select:function(event,ui){var departureId=ui.item.id||ui.item.value;$("#"+hiddenId).val(departureId);$("#"+inputId).val(ui.item.label);validateFlightHotelForm();return false;},open:function(){$("#"+inputId).removeClass("ui-corner-all").addClass("ui-corner-top");},close:function(){$("#"+inputId).removeClass("ui-corner-top").addClass("ui-corner-all");}});};window.loadMicrositeSettings=function(){$.ajax({url:window.urlBaseHome+"/jsonp/searchBoxSettings?callback=?",dataType:"jsonp",data:{micrositeId:window.micrositeId,languageId:window.languageId},success:function(micrositeSettings){if(micrositeSettings.hasFlightHotelDestinations===true&µsiteSettings.destinationsFlightHotel){var destinations=JSON.parse(micrositeSettings.destinationsFlightHotel);var select=$("#selectFlightHotelDestination");select.empty();select.prop('disabled',false);var defaultText='Select destination';if(micrositeSettings.translations){var selectDestTranslation=micrositeSettings.translations.find(function(t){return t.id==='selectone';});if(selectDestTranslation)defaultText=selectDestTranslation.label;}select.append('<option value="">'+defaultText+'</option>');destinations.forEach(function(dest){select.append('<option value="'+dest.id+'">'+dest.label+'</option>');});select.off('change').on('change',function(){var selectedValue=$(this).val();var selectedText=$(this).find('option:selected').text();$("#flightHotelDestinationHidden").val(selectedValue);$("#flightHotelDestination").val(selectedText);validateFlightHotelForm();});validateFlightHotelForm();}else{var selectEmpty=$("#selectFlightHotelDestination");selectEmpty.empty();selectEmpty.prop('disabled',true);validateFlightHotelForm();}},error:function(){var selectEmpty=$("#selectFlightHotelDestination");selectEmpty.empty();selectEmpty.prop('disabled',true);validateFlightHotelForm();}});};window.recalculateAccordionHeight=function(){var flightHotelContainer=$('.modal-wrap-rooms[data-accordion="accordion-flight-hotel"]');var content=flightHotelContainer.find('.modal-wrap-rooms__content');if(content.length===0)return;var isOpen=flightHotelContainer.hasClass('open');if(!isOpen){flightHotelContainer.css('height','0px');return;}var originalContainerHeight=flightHotelContainer.css('height');var originalContentHeight=content.css('height');flightHotelContainer.css('height','auto');content.css('height','auto');var naturalHeight=content[0].scrollHeight;flightHotelContainer.css('height',naturalHeight+'px');content.css('height','auto');};window.updateFlightHotelRoomDisplay=function(){var totalAdults=0;var totalChildren=0;var totalRooms=0;var flightHotelContainer=$('.modal-wrap-rooms[data-accordion="accordion-flight-hotel"]');flightHotelContainer.find('select[name="flightHotelModalAdults[]"]').each(function(){totalAdults+=parseInt($(this).val())||0;});flightHotelContainer.find('select[name="flightHotelModalChilds[]"]').each(function(){totalChildren+=
21parseInt($(this).val())||0;});totalRooms=flightHotelContainer.find('select[name="flightHotelModalAdults[]"]').length;$('.searchFlightHotelAdults').text(totalAdults);$('.searchFlightHotelChildren').text(totalChildren);$('.searchFlightHotelRooms').text(totalRooms);$('input[name="flightHotelAdults[]"]').val(totalAdults);$('input[name="flightHotelChildren[]"]').val(totalChildren);};window.updateFlightHotelChildrenAges=function(roomElement){var childAge='<select class="child-age" size="1"><option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option>';childAge+='<option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option>';childAge+='<option value="10">10</option><option value="11">11</option><option value="12" selected="selected">12</option><option value="13">13</option>';childAge+='<option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option></select>';var childrenSelect=$(roomElement).find('.children-select');var children=parseInt(childrenSelect.val())||0;var currentChildren=$(roomElement).find('.child-age').length;var change=children-currentChildren;var i;if(change>0)for(i=0;i<change;i++)$(roomElement).find('.children-ages-selects').append(childAge);else for(i=0;i>change;i--)$(roomElement).find('.child-age').last().remove();if(children>0)$(roomElement).find('.children-ages-row').show();else $(roomElement).find('.children-ages-row').hide();setTimeout(function(){recalculateAccordionHeight();},100);};window.addFlightHotelRoom=function(){var flightHotelContainer=$('.modal-wrap-rooms[data-accordion="accordion-flight-hotel"]');var flightHotelRooms=flightHotelContainer.find('.modal-room[data-index]');var roomCount=flightHotelRooms.length;if(roomCount>=4)return;roomCount++;var firstRoom=flightHotelContainer.find('.modal-room[data-index="1"]').first();var newRoom=firstRoom.clone();newRoom.attr('data-index',roomCount);newRoom.find('.subtitle').text('Room guests #'+roomCount);newRoom.find('select[name="flightHotelModalAdults[]"]').val('2');newRoom.find('select[name="flightHotelModalChilds[]"]').val('0');newRoom.find('.children-ages-selects').empty();newRoom.find('.children-ages-row').hide();newRoom.find('select').off();var subtitle=newRoom.find('.subtitle');subtitle.append(' <a href="javascript:void(0);" class="remove-flight-hotel-room">'+'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" shape-rendering="geometricPrecision">'+'<use xlink:href="/themes/custom/lab/assets/img/share/spritemap.svg#ico_delete"></use>'+'</svg></a>');newRoom.find('select').on('change',function(){if($(this).hasClass('children-select'))updateFlightHotelChildrenAges($(this).closest('.modal-room'));updateFlightHotelRoomDisplay();setTimeout(function(){recalculateAccordionHeight();},100);});flightHotelContainer.find('.modal-wrap-rooms__content').append(newRoom);flightHotelContainer.find('.modal-room[data-index]:not(:last-child)').find('.remove-flight-hotel-room').remove();recalculateAccordionHeight();updateFlightHotelRoomDisplay();};window.removeFlightHotelRoom=function(roomElement){var flightHotelContainer=$('.modal-wrap-rooms[data-accordion="accordion-flight-hotel"]');var flightHotelRooms=flightHotelContainer.find('.modal-room[data-index]');if(flightHotelRooms.length<=1)return;if(roomElement)$(roomElement).remove();else flightHotelRooms.last().remove();var remainingRooms=flightHotelContainer.find('.modal-room[data-index]');remainingRooms.each(function(index){$(this).attr('data-index',index+1);var subtitle=$(this).find('.subtitle');var currentText=subtitle.text();var newText='Room guests #'+(index+1);if(currentText.includes('Room guests #'))subtitle.text(newText);else{var removeBtn=subtitle.find('.remove-flight-hotel-room');subtitle.text(newText);if(removeBtn.length>0)subtitle.append(removeBtn);}});if(remainingRooms.length>1){var lastRoom=remainingRooms.last();var subtitle=lastRoom.find('.subtitle');if(subtitle.find('.remove-flight-hotel-room').length===0)subtitle.append(' <a href="javascript:void(0);" class="remove-flight-hotel-room">'+'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" shape-rendering="geometricPrecision">'+'<use xlink:href="/themes/custom/lab/assets/img/share/spritemap.svg#ico_delete"></use>'+'</svg></a>');}recalculateAccordionHeight();updateFlightHotelRoomDisplay();};window.getFlightHotelDistribution=function(){var distribution="";var flightHotelContainer=$('.modal-wrap-rooms[data-accordion="accordion-flight-hotel"]');
21var rooms=flightHotelContainer.find('.modal-room[data-index]');rooms.each(function(index){var adults=parseInt($(this).find('select[name="flightHotelModalAdults[]"]').val())||0;var children=parseInt($(this).find('select[name="flightHotelModalChilds[]"]').val())||0;var childrenAges=[];$(this).find('.child-age').each(function(){var age=parseInt($(this).val())||0;childrenAges.push(age);});if(index>0)distribution+="::";distribution+=adults+"-"+children;if(childrenAges.length>0)distribution+="-"+childrenAges.join(",");});return distribution||"2-0";};window.validateFlightHotelForm=function(){var origin=document.getElementById('flightHotelOriginHidden').value;var destination=document.getElementById('flightHotelDestinationHidden').value;var departureDate=document.getElementById('flightHotelDeparture').value;var arrivalDate=document.getElementById('flightHotelArrival').value;var submitBtn=document.getElementById('flightHotel-submit-btn');var isValid=Boolean(origin&&destination&&departureDate&&arrivalDate);if(submitBtn)if(isValid){submitBtn.disabled=false;submitBtn.classList.remove('booking-btn-disabled');}else{submitBtn.disabled=true;submitBtn.classList.add('booking-btn-disabled');}};window.submitFlightHotelForm=function(e){e.preventDefault();var origin=document.getElementById('flightHotelOriginHidden').value;var destination=document.getElementById('flightHotelDestinationHidden').value;var departureDate=document.getElementById('flightHotelDeparture').value;var arrivalDate=document.getElementById('flightHotelArrival').value;var distribution=getFlightHotelDistribution();if(!origin||!destination||!departureDate||!arrivalDate){alert('Please fill in all required fields');return false;}var url=window.urlBaseHome+"/home";url+="?directSubmit=true";url+="&tripType=FLIGHT_HOTEL";url+="&departure="+encodeURIComponent(origin);url+="&destination="+encodeURIComponent(destination);url+="&departureDate="+encodeURIComponent(departureDate);url+="&arrivalDate="+encodeURIComponent(arrivalDate);url+="&distribution="+encodeURIComponent(distribution);url+="&businessCabin=false";url+="&lang="+window.languageId;window.open(url,'_blank');return false;};window.initFlightHotelDatePickers=function(){if(typeof window.easepick!=='undefined'&&typeof window.easepick.create==='function')try{var fhPicker=new easepick.create({element:"#flightHotelDeparture",css:["https://cdn.jsdelivr.net/npm/@easepick/[email protected]/dist/index.css","/modules/custom/lab_booking/css/easepick.css?scsp7a"],zIndex:10,lang:(typeof datePickerLocale!=='undefined'&&datePickerLocale)?datePickerLocale:'it-IT',format:'DD/MM/YYYY',grid:2,calendars:(typeof datePickerCalendars!=='undefined'&&datePickerCalendars)?datePickerCalendars:2,plugins:["RangePlugin","AmpPlugin"],minDate:new Date(),AmpPlugin:{resetButton:false,darkMode:false},RangePlugin:{delimiter:' -- ',elementEnd:'#flightHotelArrival'},autoApply:true,setup(picker){picker.on('select',()=>{var start=picker.getStartDate();var end=picker.getEndDate();var depInput=document.getElementById('flightHotelDeparture');var arrInput=document.getElementById('flightHotelArrival');if(start&&depInput)depInput.value=start.format('DD/MM/YYYY');if(end&&arrInput)arrInput.value=end.format('DD/MM/YYYY');validateFlightHotelForm();});}});return;}catch(e){console.error('Error initializing easepick for Flight+Hotel, falling back to jQuery UI datepicker',e);}};let flightHotelInitialized=false;const initFlightHotelForm=()=>{const flightHotelTab=document.querySelector('[data-tab="2"]');if(!flightHotelTab)return;const initializeWhenReady=()=>{if(flightHotelInitialized)return;if(typeof window.jQuery!=='undefined')try{window.initAutoComplete("flightHotelOrigin","origin","flightHotelOriginHidden","FLIGHT_HOTEL","flightHotelOrigin");window.loadMicrositeSettings();window.initFlightHotelDatePickers();const form=document.getElementById('flightHotelForm');if(form)form.addEventListener('submit',window.submitFlightHotelForm);const originInput=document.getElementById('flightHotelOrigin');const destinationSelect=document.getElementById('flightHotelDestination');const departureInput=document.getElementById('flightHotelDeparture');const arrivalInput=document.getElementById('flightHotelArrival');if(originInput){originInput.addEventListener('input',function(){var hidden=document.getElementById('flightHotelOriginHidden');if(hidden)hidden.value='';validateFlightHotelForm();});originInput.addEventListener('change',validateFlightHotelForm);}if(destinationSelect)destinationSelect.addEventListener('change',validateFlightHotelForm);if(departureInput)departureInput.addEventListener('change',validateFlightHotelForm);if(arrivalInput)arrivalInput.addEventListener('change',validateFlightHotelForm);validateFlightHotelForm();$('select[name="flightHotelModalAdults[]"], select[name="flightHotelModalChilds[]"]').off('change');$('select[name="flightHotelModalAdults[]"], select[name="flightHotelModalChilds[]"]').on('change',function(){if($(this).hasClass('children-select'))updateFlightHotelChildrenAges($(this).closest('.modal-room'));updateFlightHotelRoomDisplay();setTimeout(function(){recalculateAccordionHeight();},100);});$('#addFlightHotelRoom').off('click').on('click',function(e){e.preventDefault();addFlightHotelRoom();});$('.modal-wrap-rooms[data-accordion="accordion-flight-hotel"]').off('click','.remove-flight-hotel-room').on('click','.remove-flight-hotel-room',function(e){e.preventDefault();e.stopPropagation();removeFlightHotelRoom($(this).closest('.modal-room'));});updateFlightHotelRoomDisplay();flightHotelInitialized=true;}catch(error){console.error('Error initializing Flight+Hotel form:',error);}else setTimeout(initializeWhenReady,100);};flightHotelTab.addEventListener('click',()=>{setTimeout(initializeWhenReady,100);});if(flightHotelTab.classList.contains('active'))setTimeout(initializeWhenReady,500);};initFlightHotelForm();}};})(jQuery,Drupal);;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.