/** * @module jquery * @version 3.6.0 */ !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(c,e){"use strict";var t=[],r=object.getprototypeof,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexof,n={},o=n.tostring,v=n.hasownproperty,a=v.tostring,l=a.call(object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodetype&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},e=c.document,c={type:!0,src:!0,nonce:!0,nomodule:!0};function b(e,t,n){var r,i,o=(n=n||e).createelement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getattribute&&t.getattribute(r))&&o.setattribute(r,i);n.head.appendchild(o).parentnode.removechild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",s=function(e,t){return new s.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+m+")"+m+"*"),u=new regexp(m+"|>"),x=new regexp(f),v=new regexp("^"+i+"$"),g={id:new regexp("^#("+i+")"),class:new regexp("^\\.("+i+")"),tag:new regexp("^("+i+"|[*])"),attr:new regexp("^"+w),pseudo:new regexp("^"+f),child:new regexp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+m+"*(even|odd|(([+-]|)(\\d*)n|)"+m+"*(?:([+-]|)"+m+"*(\\d+)|))"+m+"*\\)|)","i"),bool:new regexp("^(?:"+r+")$","i"),needscontext:new regexp("^"+m+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+m+"*((?:-\\d)?\\d*)"+m+"*\\)|)(?=[^-]|$)","i")},y=/html$/i,q=/^(?:input|select|textarea|button)$/i,j=/^h\d$/i,k=/^[^{]+\{\s*\[native \w/,z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new regexp("\\\\[\\da-fa-f]{1,6}"+m+"?|\\\\([^\\r\\n\\f])","g"),ne=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))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uffff\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charcodeat(e.length-1).tostring(16)+" ":"\\"+e},oe=function(){t()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodename.tolowercase()},{dir:"parentnode",next:"legend"});try{h.apply(t=o.call(p.childnodes),p.childnodes),t[p.childnodes.length].nodetype}catch(e){h={apply:t.length?function(e,t){l.apply(e,o.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(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&&(t(e),e=e||c,e)){if(11!==p&&(u=z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getelementbyid(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getelementbyid(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return h.apply(n,e.getelementsbytagname(t)),n;if((i=u[3])&&d.getelementsbyclassname&&e.getelementsbyclassname)return h.apply(n,e.getelementsbyclassname(i)),n}if(d.qsa&&!n[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodename.tolowercase())){if(c=t,f=e,1===p&&(u.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentnode)||e)===e&&d.scope||((s=e.getattribute("id"))?s=s.replace(re,ie):e.setattribute("id",s=s)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return h.apply(n,f.queryselectorall(c)),n}catch(e){n(t,!0)}finally{s===s&&e.removeattribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cachelength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[s]=!0,e}function ce(e){var t=c.createelement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentnode&&t.parentnode.removechild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrhandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodetype&&1===t.nodetype&&e.sourceindex-t.sourceindex;if(r)return r;if(n)while(n=n.nextsibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodename.tolowercase()&&e.type===t}}function he(n){return function(e){var t=e.nodename.tolowercase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentnode&&!1===e.disabled?"label"in e?"label"in e.parentnode?e.parentnode.disabled===t:e.disabled===t:e.isdisabled===t||e.isdisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(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 ye(e){return e&&"undefined"!=typeof e.getelementsbytagname&&e}for(e in d=se.support={},i=se.isxml=function(e){var t=e&&e.namespaceuri,n=e&&(e.ownerdocument||e).documentelement;return!y.test(t||n&&n.nodename||"html")},t=se.setdocument=function(e){var t,n,r=e?e.ownerdocument||e:p;return r!=c&&9===r.nodetype&&r.documentelement&&(a=(c=r).documentelement,e=!i(c),p!=c&&(n=c.defaultview)&&n.top!==n&&(n.addeventlistener?n.addeventlistener("unload",oe,!1):n.attachevent&&n.attachevent("onunload",oe)),d.scope=ce(function(e){return a.appendchild(e).appendchild(c.createelement("div")),"undefined"!=typeof e.queryselectorall&&!e.queryselectorall(":scope fieldset div").length}),d.attributes=ce(function(e){return e.classname="i",!e.getattribute("classname")}),d.getelementsbytagname=ce(function(e){return e.appendchild(c.createcomment("")),!e.getelementsbytagname("*").length}),d.getelementsbyclassname=k.test(c.getelementsbyclassname),d.getbyid=ce(function(e){return a.appendchild(e).id=s,!c.getelementsbyname||!c.getelementsbyname(s).length}),d.getbyid?(b.filter.id=function(e){var t=e.replace(te,ne);return function(e){return e.getattribute("id")===t}},b.find.id=function(e,t){if("undefined"!=typeof t.getelementbyid&&e){var n=t.getelementbyid(e);return n?[n]:[]}}):(b.filter.id=function(e){var n=e.replace(te,ne);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&&e){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=d.getelementsbytagname?function(e,t){return"undefined"!=typeof t.getelementsbytagname?t.getelementsbytagname(e):d.qsa?t.queryselectorall(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getelementsbytagname(e);if("*"===e){while(n=o[i++])1===n.nodetype&&r.push(n);return r}return o},b.find.class=d.getelementsbyclassname&&function(e,t){if("undefined"!=typeof t.getelementsbyclassname&&e)return t.getelementsbyclassname(e)},s=[],v=[],(d.qsa=k.test(c.queryselectorall))&&(ce(function(e){var t;a.appendchild(e).innerhtml="",e.queryselectorall("[msallowcapture^='']").length&&v.push("[*^$]="+m+"*(?:''|\"\")"),e.queryselectorall("[selected]").length||v.push("\\["+m+"*(?:value|"+r+")"),e.queryselectorall("[id~="+s+"-]").length||v.push("~="),(t=c.createelement("input")).setattribute("name",""),e.appendchild(t),e.queryselectorall("[name='']").length||v.push("\\["+m+"*name"+m+"*="+m+"*(?:''|\"\")"),e.queryselectorall(":checked").length||v.push(":checked"),e.queryselectorall("a#"+s+"+*").length||v.push(".#.+[+~]"),e.queryselectorall("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerhtml="";var t=c.createelement("input");t.setattribute("type","hidden"),e.appendchild(t).setattribute("name","d"),e.queryselectorall("[name=d]").length&&v.push("name"+m+"*[*^$|!~]?="),2!==e.queryselectorall(":enabled").length&&v.push(":enabled",":disabled"),a.appendchild(e).disabled=!0,2!==e.queryselectorall(":disabled").length&&v.push(":enabled",":disabled"),e.queryselectorall("*,:x"),v.push(",.*:")})),(d.matchesselector=k.test(c=a.matches||a.webkitmatchesselector||a.mozmatchesselector||a.omatchesselector||a.msmatchesselector))&&ce(function(e){d.disconnectedmatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",f)}),v=v.length&&new regexp(v.join("|")),s=s.length&&new regexp(s.join("|")),t=k.test(a.comparedocumentposition),y=t||k.test(a.contains)?function(e,t){var n=9===e.nodetype?e.documentelement:e,r=t&&t.parentnode;return e===r||!(!r||1!==r.nodetype||!(n.contains?n.contains(r):e.comparedocumentposition&&16&e.comparedocumentposition(r)))}:function(e,t){if(t)while(t=t.parentnode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.comparedocumentposition-!t.comparedocumentposition;return n||(1&(n=(e.ownerdocument||e)==(t.ownerdocument||t)?e.comparedocumentposition(t):1)||!d.sortdetached&&t.comparedocumentposition(e)===n?e==c||e.ownerdocument==p&&y(p,e)?-1:t==c||t.ownerdocument==p&&y(p,t)?1:u?p(u,e)-p(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentnode,o=t.parentnode,a=[e],s=[t];if(!i||!o)return e==c?-1:t==c?1:i?-1:o?1:u?p(u,e)-p(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentnode)a.unshift(n);n=t;while(n=n.parentnode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),c},se.matches=function(e,t){return se(e,null,null,t)},se.matchesselector=function(e,t){if(t(e),d.matchesselector&&e&&!n[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedmatch||e.document&&11!==e.document.nodetype)return n}catch(e){n(t,!0)}return 0":{dir:"parentnode",first:!0}," ":{dir:"parentnode"},"+":{dir:"previoussibling",first:!0},"~":{dir:"previoussibling"}},prefilter:{attr:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.error(e[0]),e},pseudo:function(e){var t,n=!e[6]&&e[2];return g.child.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&x.test(n)&&(t=h(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(te,ne).tolowercase();return"*"===e?function(){return!0}:function(e){return e.nodename&&e.nodename.tolowercase()===t}},class:function(e){var t=m[e+" "];return t||(t=new regexp("(^|"+m+")"+e+"("+m+"|$)"))&&m(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=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexof(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?s.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodetype?s.grep(e,function(e){return e===n!==r}):"string"!=typeof n?s.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(s.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||d,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.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 s?t[0]:t,s.merge(this,s.parsehtml(r[1],t&&t.nodetype?t.ownerdocument||t:e,!0)),n.test(r[1])&&s.isplainobject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=e.getelementbyid(r[2]))&&(this[0]=i,this.length=1),this}return e.nodetype?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(s):s.makearray(e,this)}).prototype=s.fn,d=s(e);var l=/^(?:parents|prev(?:until|all))/,h={children:!0,contents:!0,next:!0,prev:!0};function o(e,t){while((e=e[t])&&1!==e.nodetype);return e}s.fn.extend({has:function(e){var t=s(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=e.createdocumentfragment().appendchild(e.createelement("div")),(fe=e.createelement("input")).setattribute("type","radio"),fe.setattribute("checked","checked"),fe.setattribute("name","t"),ce.appendchild(fe),y.checkclone=ce.clonenode(!0).clonenode(!0).lastchild.checked,ce.innerhtml="",y.noclonechecked=!!ce.clonenode(!0).lastchild.defaultvalue,ce.innerhtml="",y.option=!!ce.lastchild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getelementsbytagname?e.getelementsbytagname(t||"*"):"undefined"!=typeof e.queryselectorall?e.queryselectorall(t||"*"):[],void 0===t||t&&a(e,t)?s.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createdocumentfragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return a(e,"table")&&a(11!==t.nodetype?t:t.firstchild,"tr")&&s(e).children("tbody")[0]||e}function de(e){return e.type=(null!==e.getattribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeattribute("type"),e}function le(e,t){var n,r,i,o,a,s;if(1===t.nodetype){if(y.hasdata(e)&&(s=y.get(e).events))for(i in y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").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)}),e.head.appendchild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],ut=/(=)\?(?=&|$)|\?\?/;s.ajaxsetup({jsonp:"callback",jsonpcallback:function(){var e=zt.pop()||s.expando+"_"+wt.guid++;return this[e]=!0,e}}),s.ajaxprefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contenttype||"").indexof("application/x-www-form-urlencoded")&&ut.test(e.data)&&"data");if(a||"jsonp"===e.datatypes[0])return r=e.jsonpcallback=m(e.jsonpcallback)?e.jsonpcallback():e.jsonpcallback,a?e[a]=e[a].replace(ut,"$1"+r):!1!==e.jsonp&&(e.url+=(tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||s.error(r+" was not called"),o[0]},e.datatypes[0]="json",i=c[r],c[r]=function(){o=arguments},n.always(function(){void 0===i?s(c).removeprop(r):c[r]=i,e[r]&&(e.jsonpcallback=t.jsonpcallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createhtmldocument=((_t=e.implementation.createhtmldocument("").body).innerhtml="
",2===_t.childnodes.length),s.parsehtml=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createhtmldocument?((r=(t=e.implementation.createhtmldocument("")).createelement("base")).href=e.location.href,t.head.appendchild(r)):t=e),o=!n&&[],(i=n.exec(e))?[t.createelement(i[1])]:(i=xe([e],t,o),o&&o.length&&s(o).remove(),s.merge([],i.childnodes)));var r,i,o},s.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexof(" ");return-1").append(s.parsehtml(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responsetext,t,e])})}),this},s.expr.pseudos.animated=function(t){return s.grep(s.timers,function(e){return t===e.elem}).length},s.offset={setoffset:function(e,t,n){var r,i,o,a,s,u,l=s.css(e,"position"),c=s(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=s.css(e,"top"),u=s.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),m(t)&&(t=t.call(e,n,s.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)}},s.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){s.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"===s.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"===s.css(e,"position"))e=e.parentnode;e&&e!==r&&1===e.nodetype&&((i=s(e).offset()).top+=s.css(e,"bordertopwidth",!0),i.left+=s.css(e,"borderleftwidth",!0))}return{top:t.top-i.top-s.css(r,"margintop",!0),left:t.left-i.left-s.css(r,"marginleft",!0)}}},offsetparent:function(){return this.map(function(){var e=this.offsetparent;while(e&&"static"===s.css(e,"position"))e=e.offsetparent;return e||re})}}),s.each({scrollleft:"pagexoffset",scrolltop:"pageyoffset"},function(t,i){var o="pageyoffset"===i;s.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(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)}}),s.each(["top","left"],function(e,n){s.csshooks[n]=fe(y.pixelposition,function(e,t){if(t)return t=we(e,n),pe.test(t)?s(e).position()[n]+"px":t})}),s.each({height:"height",width:"width"},function(a,s){s.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){s.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(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?s.css(e,t,i):s.style(e,t,n,i)},s,n?e:void 0,n)}})}),s.each(["ajaxstart","ajaxstop","ajaxcomplete","ajaxerror","ajaxsuccess","ajaxsend"],function(e,t){s.fn[t]=function(e){return this.on(t,e)}}),s.fn.extend({bind:function(e,t,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.mouseenter(e).mouseleave(t||e)}}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){s.fn[n]=function(e,t){return 00?parsefloat(r)*t.height/100:parsefloat(r):r,s?(a>=l&&!t.isstuck||a=l&&!t.isstuck&&!t.$element.hasclass("rd-navbar-fixed")?(t.options.callbacks.onstuck&&t.options.callbacks.onstuck.call(t),navigator.platform.match(/(mac)/i)?settimeout(e,10):e()):("resize"===o.type?t.switchclass(i,"rd-navbar--is-stuck",""):i.removeclass("rd-navbar--is-stuck").one("transitionend webkittransitionend otransitionend mstransitionend",n.proxy(t.resizewrap,t,o)),t.isstuck=!1,t.options.callbacks.onunstuck&&t.options.callbacks.onunstuck.call(t))):(t.$element.find(".rd-navbar-submenu").removeclass("opened").removeclass("focus"),t.isstuck&&(t.switchclass(i,"rd-navbar--is-stuck",""),t.isstuck=!1,t.resizewrap(o))),t},a.prototype.resizewrap=function(t){var n,o;if(null==(o=this).$clone&&!o.isstuck)return n=o.$element.parent(),o.getoption("autoheight")?(o.height=o.$element.outerheight(),"resize"===t.type?(n.addclass("rd-navbar--no-transition").css("height","auto"),n[0].offsetheight,n.removeclass("rd-navbar--no-transition")):n.css("height","auto")):void n.css("height","auto")},a.prototype.createnav=function(t){return t.$element.find(".rd-navbar-dropdown, .rd-navbar-megamenu").each(function(){var t;return t=n(this),this.getboundingclientrect(),t.hasclass("rd-navbar-megamenu")?t.parent().addclass("rd-navbar--has-megamenu"):t.parent().addclass("rd-navbar--has-dropdown")}).parents("li").addclass("rd-navbar-submenu"),n('').insertafter(".rd-navbar-nav li.rd-navbar-submenu > a"),t.options.callbacks.ondomappend&&t.options.callbacks.ondomappend.call(this),t},a.prototype.createclone=function(t){return t.$clone=t.$element.clone().insertafter(t.$element).addclass("rd-navbar--is-clone"),t.addadditionalclasstotoggles(".rd-navbar--is-clone","toggle-cloned","toggle-cloned-elements"),t},a.prototype.closetoggle=function(t,o){var e,a,s,r,i,l,c;return a=n(o.target),i=!1,l=this.getattribute("data-rd-navbar-toggle"),t.options.stickupclone&&t.isstuck?(r=".toggle-cloned",s=".toggle-cloned-elements",c=!a.hasclass("toggle-cloned")):(r=".toggle-original",s=".toggle-original-elements",c=!a.hasclass("toggle-original")),o.target!==this&&!a.parents(r+"[data-rd-navbar-toggle]").length&&!a.parents(s).length&&l&&c&&((e=n(this).parents("body").find(l).add(n(this).parents(".rd-navbar")[0])).each(function(){if(!i)return i=!0===(o.target===this||n.contains(this,o.target))}),i||(e.add(this).removeclass("active"),t.options.callbacks.ontoggleclose&&t.options.callbacks.ontoggleclose.call(this,t))),this},a.prototype.switchtoggle=function(t,o){var e,a,s;return o.preventdefault(),n(this).hasclass("toggle-cloned")?(s=".rd-navbar--is-clone",e=".toggle-cloned-elements"):(s=".rd-navbar-original",e=".toggle-original-elements"),(a=this.getattribute("data-rd-navbar-toggle"))&&(n(s+" [data-rd-navbar-toggle]").not(this).each(function(){var t;if(t=this.getattribute("data-rd-navbar-toggle"))return n(this).parents("body").find(s+" "+t+e).add(this).add(n.inarray(".rd-navbar",t.split(/\s*,\s*/i))>-1&&n(this).parents("body")[0]).removeclass("active")}),n(this).parents("body").find(s+" "+a+e).add(this).add(n.inarray(".rd-navbar",a.split(/\s*,\s*/i))>-1&&n(this).parents(".rd-navbar")[0]).toggleclass("active")),t.options.callbacks.ontoggleswitch&&t.options.callbacks.ontoggleswitch.call(this,t),this},a.prototype.dropdownover=function(t,o){var e;if(t.focusonhover){if(e=n(this),cleartimeout(o),t.options.callbacks.ondropdownover&&!t.options.callbacks.ondropdownover.call(this,t))return this;e.addclass("focus").siblings().removeclass("opened").each(t.dropdownunfocus)}return this},a.prototype.dropdowntouch=function(t,o){var e,a;if(e=n(this),cleartimeout(o),t.focusonhover){if(a=!1,e.hasclass("focus")&&(a=!0),!a)return e.addclass("focus").siblings().removeclass("opened").each(t.dropdownunfocus),!1;t.options.callbacks.ondropdownover&&t.options.callbacks.ondropdownover.call(this,t)}return this},a.prototype.dropdownout=function(t,o){return t.focusonhover&&(n(this).one("mouseenter.navbar",function(){return cleartimeout(o)}),t.options.callbacks.ondropdownout&&t.options.callbacks.ondropdownout.call(this,t),cleartimeout(o),o=settimeout(n.proxy(t.dropdownunfocus,this,t),t.options.focusonhovertimeout)),this},a.prototype.dropdownunfocus=function(t){return n(this).find("li.focus").add(this).removeclass("focus"),this},a.prototype.dropdownclose=function(t,o){return o.target===this||n(o.target).parents(".rd-navbar-submenu").length||(n(this).find("li.focus").add(this).removeclass("focus").removeclass("opened"),t.options.callbacks.ondropdownclose&&t.options.callbacks.ondropdownclose.call(this,t)),this},a.prototype.dropdowntoggle=function(t){return n(this).toggleclass("opened").siblings().removeclass("opened"),t.options.callbacks.ondropdowntoggle&&t.options.callbacks.ondropdowntoggle.call(this,t),this},a.prototype.gotoanchor=function(t,o){var e,a;return a=this.hash,e=n(a),!!t.getoption("anchornav")&&(e.length&&(o.preventdefault(),n("html, body").stop().animate({scrolltop:e.offset().top+t.getoption("anchornavoffset")+1},t.getoption("anchornavspeed"),t.getoption("anchornaveasing"),function(){return t.changeanchor(a)})),this)},a.prototype.activateanchor=function(t){var o,e,a,s,r,i,l,c,d,p,u,h;if(s=this,u=s.$doc.scrolltop(),h=s.$win.height(),r=s.$doc.height(),p=s.getoption("anchornavoffset"),!s.options.anchornav)return!1;if(u+h>r-50)return(o=n('[data-type="anchor"]').last()).length&&o.offset().top>=u&&(i="#"+o.attr("id"),(e=n('.rd-navbar-nav a[href^="'+i+'"]').parent()).hasclass("active")||(e.addclass("active").siblings().removeclass("active"),s.options.callbacks.onanchorchange&&s.options.callbacks.onanchorchange.call(o[0],s))),o;d=n('.rd-navbar-nav a[href^="#"]').get();for(l in d)c=d[l],i=(a=n(c)).attr("href"),(o=n(i)).length&&o.offset().top+p<=u&&o.offset().top+o.outerheight()>u&&(a.parent().addclass("active").siblings().removeclass("active"),s.options.callbacks.onanchorchange&&s.options.callbacks.onanchorchange.call(o[0],s));return null},a.prototype.getanchor=function(){return history&&history.state?history.state.id:null},a.prototype.changeanchor=function(t){return history&&(history.state&&history.state.id!==t?history.replacestate({anchorid:t},null,t):history.pushstate({anchorid:t},null,t)),this},a.prototype.applyhandlers=function(t){return null!=t.options.responsive&&t.$win.on("resize.navbar",n.proxy(t.resize,t.$win[0],t)).on("resize.navbar",n.proxy(t.resizewrap,t)).on("resize.navbar",n.proxy(t.stickup,null!=t.$clone?t.$clone:t.$element,t)).on("orientationchange.navbar",n.proxy(t.resize,t.$win[0],t)).trigger("resize.navbar"),t.$doc.on("scroll.navbar",n.proxy(t.stickup,null!=t.$clone?t.$clone:t.$element,t)).on("scroll.navbar",n.proxy(t.activateanchor,t)),t.$element.add(t.$clone).find("[data-rd-navbar-toggle]").each(function(){var o;return(o=n(this)).on("click",n.proxy(t.switchtoggle,this,t)),o.parents("body").on("click",n.proxy(t.closetoggle,this,t))}),t.$element.add(t.$clone).find(".rd-navbar-submenu").each(function(){var o,e;return o=n(this),e=o.parents(".rd-navbar--is-clone").length?t.clonetimer:t.focustimer,o.on("mouseleave.navbar",n.proxy(t.dropdownout,this,t,e)),o.find("> a").on("mouseenter.navbar",n.proxy(t.dropdownover,this,t,e)),o.find("> a").on("touchstart.navbar",n.proxy(t.dropdowntouch,this,t,e)),o.find("> .rd-navbar-submenu-toggle").on("click",n.proxy(t.dropdowntoggle,this,t)),o.parents("body").on("click",n.proxy(t.dropdownclose,this,t))}),t.$element.add(t.$clone).find('.rd-navbar-nav a[href^="#"]').each(function(){return n(this).on("click",n.proxy(t.gotoanchor,this,t))}),t.$element.find(".rd-navbar-dropdown, .rd-navbar-megamenu").each(function(){var t,o;t=n(this),(o=this.getboundingclientrect()).left+t.outerwidth()>=e.innerwidth-10?this.classname+=" rd-navbar-open-left":o.left-t.outerwidth()<=10&&(this.classname+=" rd-navbar-open-right")}),t},a.prototype.switchclass=function(t,o,e){var a;return(a=t instanceof jquery?t:n(t)).addclass("rd-navbar--no-transition").removeclass(o).addclass(e),a[0].offsetheight,a.removeclass("rd-navbar--no-transition")},a.prototype.getoption=function(t){var n,o;for(n in this.options.responsive)n<=e.innerwidth&&(o=n);return null!=this.options.responsive&&null!=this.options.responsive[o][t]?this.options.responsive[o][t]:this.options[t]},a.prototype.addadditionalclasstotoggles=function(t,o,e){return n(t).find("[data-rd-navbar-toggle]").each(function(){var a;return n(this).addclass(o),a=this.getattribute("data-rd-navbar-toggle"),n(this).parents("body").find(t).find(a).addclass(e)})},a}(),n.fn.extend({rdnavbar:function(t){var o;if(!(o=n(this)).data("rdnavbar"))return o.data("rdnavbar",new a(this,t))}}),e.rdnavbar=a}(window.jquery,document,window),"undefined"!=typeof module&&null!==module?module.exports=window.rdnavbar:"function"==typeof define&&define.amd&&define(["jquery"],function(){"use strict";return window.rdnavbar})}).call(this); /** * @module bootstrap * @version 4.6.1 */ (function(global,factory){typeof exports==='object'&&typeof module!=='undefined'?factory(exports,require('jquery')):typeof define==='function'&&define.amd?define(['exports','jquery'],factory):(global=typeof globalthis!=='undefined'?globalthis:global||self,factory(global.bootstrap={},global.jquery))})(this,(function(exports,$){'use strict';function _interopdefaultlegacy(e){return e&&typeof e==='object'&&'default'in e?e:{'default':e}}var $__default=_interopdefaultlegacy($);function _defineproperties(target,props){for(var i=0;i=maxmajor){throw new error('bootstrap\'s javascript requires at least jquery v1.9.1 but less than v4.0.0');}}};util.jquerydetection();settransitionendsupport();var name$a='alert';var version$a='4.6.1';var data_key$a='bs.alert';var event_key$a="."+data_key$a;var data_api_key$7='.data-api';var jquery_no_conflict$a=$__default["default"].fn[name$a];var class_name_alert='alert';var class_name_fade$5='fade';var class_name_show$7='show';var event_close="close"+event_key$a;var event_closed="closed"+event_key$a;var event_click_data_api$6="click"+event_key$a+data_api_key$7;var selector_dismiss='[data-dismiss="alert"]';var alert=function(){function alert(element){this._element=element}var _proto=alert.prototype;_proto.close=function close(element){var rootelement=this._element;if(element){rootelement=this._getrootelement(element)}var customevent=this._triggercloseevent(rootelement);if(customevent.isdefaultprevented()){return}this._removeelement(rootelement)};_proto.dispose=function dispose(){$__default["default"].removedata(this._element,data_key$a);this._element=null};_proto._getrootelement=function _getrootelement(element){var selector=util.getselectorfromelement(element);var parent=false;if(selector){parent=document.queryselector(selector)}if(!parent){parent=$__default["default"](element).closest("."+class_name_alert)[0]}return parent};_proto._triggercloseevent=function _triggercloseevent(element){var closeevent=$__default["default"].event(event_close);$__default["default"](element).trigger(closeevent);return closeevent};_proto._removeelement=function _removeelement(element){var _this=this;$__default["default"](element).removeclass(class_name_show$7);if(!$__default["default"](element).hasclass(class_name_fade$5)){this._destroyelement(element);return}var transitionduration=util.gettransitiondurationfromelement(element);$__default["default"](element).one(util.transition_end,function(event){return _this._destroyelement(element,event)}).emulatetransitionend(transitionduration)};_proto._destroyelement=function _destroyelement(element){$__default["default"](element).detach().trigger(event_closed).remove()};alert._jqueryinterface=function _jqueryinterface(config){return this.each(function(){var $element=$__default["default"](this);var data=$element.data(data_key$a);if(!data){data=new alert(this);$element.data(data_key$a,data)}if(config==='close'){data[config](this)}})};alert._handledismiss=function _handledismiss(alertinstance){return function(event){if(event){event.preventdefault()}alertinstance.close(this)}};_createclass(alert,null,[{key:"version",get:function get(){return version$a}}]);return alert}();$__default["default"](document).on(event_click_data_api$6,selector_dismiss,alert._handledismiss(new alert()));$__default["default"].fn[name$a]=alert._jqueryinterface;$__default["default"].fn[name$a].constructor=alert;$__default["default"].fn[name$a].noconflict=function(){$__default["default"].fn[name$a]=jquery_no_conflict$a;return alert._jqueryinterface};var name$9='button';var version$9='4.6.1';var data_key$9='bs.button';var event_key$9="."+data_key$9;var data_api_key$6='.data-api';var jquery_no_conflict$9=$__default["default"].fn[name$9];var class_name_active$3='active';var class_name_button='btn';var class_name_focus='focus';var event_click_data_api$5="click"+event_key$9+data_api_key$6;var event_focus_blur_data_api="focus"+event_key$9+data_api_key$6+" "+("blur"+event_key$9+data_api_key$6);var event_load_data_api$2="load"+event_key$9+data_api_key$6;var selector_data_toggle_carrot='[data-toggle^="button"]';var selector_data_toggles='[data-toggle="buttons"]';var selector_data_toggle$4='[data-toggle="button"]';var selector_data_toggles_buttons='[data-toggle="buttons"] .btn';var selector_input='input:not([type="hidden"])';var selector_active$2='.active';var selector_button='.btn';var button=function(){function button(element){this._element=element;this.shouldavoidtriggerchange=false}var _proto=button.prototype;_proto.toggle=function toggle(){var triggerchangeevent=true;var addariapressed=true;var rootelement=$__default["default"](this._element).closest(selector_data_toggles)[0];if(rootelement){var input=this._element.queryselector(selector_input);if(input){if(input.type==='radio'){if(input.checked&&this._element.classlist.contains(class_name_active$3)){triggerchangeevent=false}else{var activeelement=rootelement.queryselector(selector_active$2);if(activeelement){$__default["default"](activeelement).removeclass(class_name_active$3)}}}if(triggerchangeevent){if(input.type==='checkbox'||input.type==='radio'){input.checked=!this._element.classlist.contains(class_name_active$3)}if(!this.shouldavoidtriggerchange){$__default["default"](input).trigger('change')}}input.focus();addariapressed=false}}if(!(this._element.hasattribute('disabled')||this._element.classlist.contains('disabled'))){if(addariapressed){this._element.setattribute('aria-pressed',!this._element.classlist.contains(class_name_active$3))}if(triggerchangeevent){$__default["default"](this._element).toggleclass(class_name_active$3)}}};_proto.dispose=function dispose(){$__default["default"].removedata(this._element,data_key$9);this._element=null};button._jqueryinterface=function _jqueryinterface(config,avoidtriggerchange){return this.each(function(){var $element=$__default["default"](this);var data=$element.data(data_key$9);if(!data){data=new button(this);$element.data(data_key$9,data)}data.shouldavoidtriggerchange=avoidtriggerchange;if(config==='toggle'){data[config]()}})};_createclass(button,null,[{key:"version",get:function get(){return version$9}}]);return button}();$__default["default"](document).on(event_click_data_api$5,selector_data_toggle_carrot,function(event){var button=event.target;var initialbutton=button;if(!$__default["default"](button).hasclass(class_name_button)){button=$__default["default"](button).closest(selector_button)[0]}if(!button||button.hasattribute('disabled')||button.classlist.contains('disabled')){event.preventdefault()}else{var inputbtn=button.queryselector(selector_input);if(inputbtn&&(inputbtn.hasattribute('disabled')||inputbtn.classlist.contains('disabled'))){event.preventdefault();return}if(initialbutton.tagname==='input'||button.tagname!=='label'){button._jqueryinterface.call($__default["default"](button),'toggle',initialbutton.tagname==='input')}}}).on(event_focus_blur_data_api,selector_data_toggle_carrot,function(event){var button=$__default["default"](event.target).closest(selector_button)[0];$__default["default"](button).toggleclass(class_name_focus,/^focus(in)?$/.test(event.type))});$__default["default"](window).on(event_load_data_api$2,function(){var buttons=[].slice.call(document.queryselectorall(selector_data_toggles_buttons));for(var i=0,len=buttons.length;i0;this._pointerevent=boolean(window.pointerevent||window.mspointerevent);this._addeventlisteners()}var _proto=carousel.prototype;_proto.next=function next(){if(!this._issliding){this._slide(direction_next)}};_proto.nextwhenvisible=function nextwhenvisible(){var $element=$__default["default"](this._element);if(!document.hidden&&$element.is(':visible')&&$element.css('visibility')!=='hidden'){this.next()}};_proto.prev=function prev(){if(!this._issliding){this._slide(direction_prev)}};_proto.pause=function pause(event){if(!event){this._ispaused=true}if(this._element.queryselector(selector_next_prev)){util.triggertransitionend(this._element);this.cycle(true)}clearinterval(this._interval);this._interval=null};_proto.cycle=function cycle(event){if(!event){this._ispaused=false}if(this._interval){clearinterval(this._interval);this._interval=null}if(this._config.interval&&!this._ispaused){this._updateinterval();this._interval=setinterval((document.visibilitystate?this.nextwhenvisible:this.next).bind(this),this._config.interval)}};_proto.to=function to(index){var _this=this;this._activeelement=this._element.queryselector(selector_active_item);var activeindex=this._getitemindex(this._activeelement);if(index>this._items.length-1||index<0){return}if(this._issliding){$__default["default"](this._element).one(event_slid,function(){return _this.to(index)});return}if(activeindex===index){this.pause();this.cycle();return}var direction=index>activeindex?direction_next:direction_prev;this._slide(direction,this._items[index])};_proto.dispose=function dispose(){$__default["default"](this._element).off(event_key$8);$__default["default"].removedata(this._element,data_key$8);this._items=null;this._config=null;this._element=null;this._interval=null;this._ispaused=null;this._issliding=null;this._activeelement=null;this._indicatorselement=null};_proto._getconfig=function _getconfig(config){config=_extends$1({},default$7,config);util.typecheckconfig(name$8,config,defaulttype$7);return config};_proto._handleswipe=function _handleswipe(){var absdeltax=math.abs(this.touchdeltax);if(absdeltax<=swipe_threshold){return}var direction=absdeltax/this.touchdeltax;this.touchdeltax=0;if(direction>0){this.prev()}if(direction<0){this.next()}};_proto._addeventlisteners=function _addeventlisteners(){var _this2=this;if(this._config.keyboard){$__default["default"](this._element).on(event_keydown,function(event){return _this2._keydown(event)})}if(this._config.pause==='hover'){$__default["default"](this._element).on(event_mouseenter,function(event){return _this2.pause(event)}).on(event_mouseleave,function(event){return _this2.cycle(event)})}if(this._config.touch){this._addtoucheventlisteners()}};_proto._addtoucheventlisteners=function _addtoucheventlisteners(){var _this3=this;if(!this._touchsupported){return}var start=function start(event){if(_this3._pointerevent&&pointertype[event.originalevent.pointertype.touppercase()]){_this3.touchstartx=event.originalevent.clientx}else if(!_this3._pointerevent){_this3.touchstartx=event.originalevent.touches[0].clientx}};var move=function move(event){_this3.touchdeltax=event.originalevent.touches&&event.originalevent.touches.length>1?0:event.originalevent.touches[0].clientx-_this3.touchstartx};var end=function end(event){if(_this3._pointerevent&&pointertype[event.originalevent.pointertype.touppercase()]){_this3.touchdeltax=event.originalevent.clientx-_this3.touchstartx}_this3._handleswipe();if(_this3._config.pause==='hover'){_this3.pause();if(_this3.touchtimeout){cleartimeout(_this3.touchtimeout)}_this3.touchtimeout=settimeout(function(event){return _this3.cycle(event)},touchevent_compat_wait+_this3._config.interval)}};$__default["default"](this._element.queryselectorall(selector_item_img)).on(event_drag_start,function(e){return e.preventdefault()});if(this._pointerevent){$__default["default"](this._element).on(event_pointerdown,function(event){return start(event)});$__default["default"](this._element).on(event_pointerup,function(event){return end(event)});this._element.classlist.add(class_name_pointer_event)}else{$__default["default"](this._element).on(event_touchstart,function(event){return start(event)});$__default["default"](this._element).on(event_touchmove,function(event){return move(event)});$__default["default"](this._element).on(event_touchend,function(event){return end(event)})}};_proto._keydown=function _keydown(event){if(/input|textarea/i.test(event.target.tagname)){return}switch(event.which){case arrow_left_keycode:event.preventdefault();this.prev();break;case arrow_right_keycode:event.preventdefault();this.next();break}};_proto._getitemindex=function _getitemindex(element){this._items=element&&element.parentnode?[].slice.call(element.parentnode.queryselectorall(selector_item)):[];return this._items.indexof(element)};_proto._getitembydirection=function _getitembydirection(direction,activeelement){var isnextdirection=direction===direction_next;var isprevdirection=direction===direction_prev;var activeindex=this._getitemindex(activeelement);var lastitemindex=this._items.length-1;var isgoingtowrap=isprevdirection&&activeindex===0||isnextdirection&&activeindex===lastitemindex;if(isgoingtowrap&&!this._config.wrap){return activeelement}var delta=direction===direction_prev?-1:1;var itemindex=(activeindex+delta)%this._items.length;return itemindex===-1?this._items[this._items.length-1]:this._items[itemindex]};_proto._triggerslideevent=function _triggerslideevent(relatedtarget,eventdirectionname){var targetindex=this._getitemindex(relatedtarget);var fromindex=this._getitemindex(this._element.queryselector(selector_active_item));var slideevent=$__default["default"].event(event_slide,{relatedtarget:relatedtarget,direction:eventdirectionname,from:fromindex,to:targetindex});$__default["default"](this._element).trigger(slideevent);return slideevent};_proto._setactiveindicatorelement=function _setactiveindicatorelement(element){if(this._indicatorselement){var indicators=[].slice.call(this._indicatorselement.queryselectorall(selector_active$1));$__default["default"](indicators).removeclass(class_name_active$2);var nextindicator=this._indicatorselement.children[this._getitemindex(element)];if(nextindicator){$__default["default"](nextindicator).addclass(class_name_active$2)}}};_proto._updateinterval=function _updateinterval(){var element=this._activeelement||this._element.queryselector(selector_active_item);if(!element){return}var elementinterval=parseint(element.getattribute('data-interval'),10);if(elementinterval){this._config.defaultinterval=this._config.defaultinterval||this._config.interval;this._config.interval=elementinterval}else{this._config.interval=this._config.defaultinterval||this._config.interval}};_proto._slide=function _slide(direction,element){var _this4=this;var activeelement=this._element.queryselector(selector_active_item);var activeelementindex=this._getitemindex(activeelement);var nextelement=element||activeelement&&this._getitembydirection(direction,activeelement);var nextelementindex=this._getitemindex(nextelement);var iscycling=boolean(this._interval);var directionalclassname;var orderclassname;var eventdirectionname;if(direction===direction_next){directionalclassname=class_name_left;orderclassname=class_name_next;eventdirectionname=direction_left}else{directionalclassname=class_name_right;orderclassname=class_name_prev;eventdirectionname=direction_right}if(nextelement&&$__default["default"](nextelement).hasclass(class_name_active$2)){this._issliding=false;return}var slideevent=this._triggerslideevent(nextelement,eventdirectionname);if(slideevent.isdefaultprevented()){return}if(!activeelement||!nextelement){return}this._issliding=true;if(iscycling){this.pause()}this._setactiveindicatorelement(nextelement);this._activeelement=nextelement;var slidevent=$__default["default"].event(event_slid,{relatedtarget:nextelement,direction:eventdirectionname,from:activeelementindex,to:nextelementindex});if($__default["default"](this._element).hasclass(class_name_slide)){$__default["default"](nextelement).addclass(orderclassname);util.reflow(nextelement);$__default["default"](activeelement).addclass(directionalclassname);$__default["default"](nextelement).addclass(directionalclassname);var transitionduration=util.gettransitiondurationfromelement(activeelement);$__default["default"](activeelement).one(util.transition_end,function(){$__default["default"](nextelement).removeclass(directionalclassname+" "+orderclassname).addclass(class_name_active$2);$__default["default"](activeelement).removeclass(class_name_active$2+" "+orderclassname+" "+directionalclassname);_this4._issliding=false;settimeout(function(){return $__default["default"](_this4._element).trigger(slidevent)},0)}).emulatetransitionend(transitionduration)}else{$__default["default"](activeelement).removeclass(class_name_active$2);$__default["default"](nextelement).addclass(class_name_active$2);this._issliding=false;$__default["default"](this._element).trigger(slidevent)}if(iscycling){this.cycle()}};carousel._jqueryinterface=function _jqueryinterface(config){return this.each(function(){var data=$__default["default"](this).data(data_key$8);var _config=_extends$1({},default$7,$__default["default"](this).data());if(typeof config==='object'){_config=_extends$1({},_config,config)}var action=typeof config==='string'?config:_config.slide;if(!data){data=new carousel(this,_config);$__default["default"](this).data(data_key$8,data)}if(typeof config==='number'){data.to(config)}else if(typeof action==='string'){if(typeof data[action]==='undefined'){throw new typeerror("no method named \""+action+"\"");}data[action]()}else if(_config.interval&&_config.ride){data.pause();data.cycle()}})};carousel._dataapiclickhandler=function _dataapiclickhandler(event){var selector=util.getselectorfromelement(this);if(!selector){return}var target=$__default["default"](selector)[0];if(!target||!$__default["default"](target).hasclass(class_name_carousel)){return}var config=_extends$1({},$__default["default"](target).data(),$__default["default"](this).data());var slideindex=this.getattribute('data-slide-to');if(slideindex){config.interval=false}carousel._jqueryinterface.call($__default["default"](target),config);if(slideindex){$__default["default"](target).data(data_key$8).to(slideindex)}event.preventdefault()};_createclass(carousel,null,[{key:"version",get:function get(){return version$8}},{key:"default",get:function get(){return default$7}}]);return carousel}();$__default["default"](document).on(event_click_data_api$4,selector_data_slide,carousel._dataapiclickhandler);$__default["default"](window).on(event_load_data_api$1,function(){var carousels=[].slice.call(document.queryselectorall(selector_data_ride));for(var i=0,len=carousels.length;i0){this._selector=selector;this._triggerarray.push(elem)}}this._parent=this._config.parent?this._getparent():null;if(!this._config.parent){this._addariaandcollapsedclass(this._element,this._triggerarray)}if(this._config.toggle){this.toggle()}}var _proto=collapse.prototype;_proto.toggle=function toggle(){if($__default["default"](this._element).hasclass(class_name_show$6)){this.hide()}else{this.show()}};_proto.show=function show(){var _this=this;if(this._istransitioning||$__default["default"](this._element).hasclass(class_name_show$6)){return}var actives;var activesdata;if(this._parent){actives=[].slice.call(this._parent.queryselectorall(selector_actives)).filter(function(elem){if(typeof _this._config.parent==='string'){return elem.getattribute('data-parent')===_this._config.parent}return elem.classlist.contains(class_name_collapse)});if(actives.length===0){actives=null}}if(actives){activesdata=$__default["default"](actives).not(this._selector).data(data_key$7);if(activesdata&&activesdata._istransitioning){return}}var startevent=$__default["default"].event(event_show$4);$__default["default"](this._element).trigger(startevent);if(startevent.isdefaultprevented()){return}if(actives){collapse._jqueryinterface.call($__default["default"](actives).not(this._selector),'hide');if(!activesdata){$__default["default"](actives).data(data_key$7,null)}}var dimension=this._getdimension();$__default["default"](this._element).removeclass(class_name_collapse).addclass(class_name_collapsing);this._element.style[dimension]=0;if(this._triggerarray.length){$__default["default"](this._triggerarray).removeclass(class_name_collapsed).attr('aria-expanded',true)}this.settransitioning(true);var complete=function complete(){$__default["default"](_this._element).removeclass(class_name_collapsing).addclass(class_name_collapse+" "+class_name_show$6);_this._element.style[dimension]='';_this.settransitioning(false);$__default["default"](_this._element).trigger(event_shown$4)};var capitalizeddimension=dimension[0].touppercase()+dimension.slice(1);var scrollsize="scroll"+capitalizeddimension;var transitionduration=util.gettransitiondurationfromelement(this._element);$__default["default"](this._element).one(util.transition_end,complete).emulatetransitionend(transitionduration);this._element.style[dimension]=this._element[scrollsize]+"px"};_proto.hide=function hide(){var _this2=this;if(this._istransitioning||!$__default["default"](this._element).hasclass(class_name_show$6)){return}var startevent=$__default["default"].event(event_hide$4);$__default["default"](this._element).trigger(startevent);if(startevent.isdefaultprevented()){return}var dimension=this._getdimension();this._element.style[dimension]=this._element.getboundingclientrect()[dimension]+"px";util.reflow(this._element);$__default["default"](this._element).addclass(class_name_collapsing).removeclass(class_name_collapse+" "+class_name_show$6);var triggerarraylength=this._triggerarray.length;if(triggerarraylength>0){for(var i=0;i=0){return 1}}return 0}();function microtaskdebounce(fn){var called=false;return function(){if(called){return}called=true;window.promise.resolve().then(function(){called=false;fn()})}}function taskdebounce(fn){var scheduled=false;return function(){if(!scheduled){scheduled=true;settimeout(function(){scheduled=false;fn()},timeoutduration)}}}var supportsmicrotasks=isbrowser&&window.promise;var debounce=supportsmicrotasks?microtaskdebounce:taskdebounce;function isfunction(functiontocheck){var gettype={};return functiontocheck&&gettype.tostring.call(functiontocheck)==='[object function]'}function getstylecomputedproperty(element,property){if(element.nodetype!==1){return[]}var window=element.ownerdocument.defaultview;var css=window.getcomputedstyle(element,null);return property?css[property]:css}function getparentnode(element){if(element.nodename==='html'){return element}return element.parentnode||element.host}function getscrollparent(element){if(!element){return document.body}switch(element.nodename){case'html':case'body':return element.ownerdocument.body;case'#document':return element.body}var _getstylecomputedprop=getstylecomputedproperty(element),overflow=_getstylecomputedprop.overflow,overflowx=_getstylecomputedprop.overflowx,overflowy=_getstylecomputedprop.overflowy;if(/(auto|scroll|overlay)/.test(overflow+overflowy+overflowx)){return element}return getscrollparent(getparentnode(element))}function getreferencenode(reference){return reference&&reference.referencenode?reference.referencenode:reference}var isie11=isbrowser&&!!(window.msinputmethodcontext&&document.documentmode);var isie10=isbrowser&&/msie 10/.test(navigator.useragent);function isie(version){if(version===11){return isie11}if(version===10){return isie10}return isie11||isie10}function getoffsetparent(element){if(!element){return document.documentelement}var nooffsetparent=isie(10)?document.body:null;var offsetparent=element.offsetparent||null;while(offsetparent===nooffsetparent&&element.nextelementsibling){offsetparent=(element=element.nextelementsibling).offsetparent}var nodename=offsetparent&&offsetparent.nodename;if(!nodename||nodename==='body'||nodename==='html'){return element?element.ownerdocument.documentelement:document.documentelement}if(['th','td','table'].indexof(offsetparent.nodename)!==-1&&getstylecomputedproperty(offsetparent,'position')==='static'){return getoffsetparent(offsetparent)}return offsetparent}function isoffsetcontainer(element){var nodename=element.nodename;if(nodename==='body'){return false}return nodename==='html'||getoffsetparent(element.firstelementchild)===element}function getroot(node){if(node.parentnode!==null){return getroot(node.parentnode)}return node}function findcommonoffsetparent(element1,element2){if(!element1||!element1.nodetype||!element2||!element2.nodetype){return document.documentelement}var order=element1.comparedocumentposition(element2)&node.document_position_following;var start=order?element1:element2;var end=order?element2:element1;var range=document.createrange();range.setstart(start,0);range.setend(end,0);var commonancestorcontainer=range.commonancestorcontainer;if(element1!==commonancestorcontainer&&element2!==commonancestorcontainer||start.contains(end)){if(isoffsetcontainer(commonancestorcontainer)){return commonancestorcontainer}return getoffsetparent(commonancestorcontainer)}var element1root=getroot(element1);if(element1root.host){return findcommonoffsetparent(element1root.host,element2)}else{return findcommonoffsetparent(element1,getroot(element2).host)}}function getscroll(element){var side=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'top';var upperside=side==='top'?'scrolltop':'scrollleft';var nodename=element.nodename;if(nodename==='body'||nodename==='html'){var html=element.ownerdocument.documentelement;var scrollingelement=element.ownerdocument.scrollingelement||html;return scrollingelement[upperside]}return element[upperside]}function includescroll(rect,element){var subtract=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var scrolltop=getscroll(element,'top');var scrollleft=getscroll(element,'left');var modifier=subtract?-1:1;rect.top+=scrolltop*modifier;rect.bottom+=scrolltop*modifier;rect.left+=scrollleft*modifier;rect.right+=scrollleft*modifier;return rect}function getborderssize(styles,axis){var sidea=axis==='x'?'left':'top';var sideb=sidea==='left'?'right':'bottom';return parsefloat(styles['border'+sidea+'width'])+parsefloat(styles['border'+sideb+'width'])}function getsize(axis,body,html,computedstyle){return math.max(body['offset'+axis],body['scroll'+axis],html['client'+axis],html['offset'+axis],html['scroll'+axis],isie(10)?parseint(html['offset'+axis])+parseint(computedstyle['margin'+(axis==='height'?'top':'left')])+parseint(computedstyle['margin'+(axis==='height'?'bottom':'right')]):0)}function getwindowsizes(document){var body=document.body;var html=document.documentelement;var computedstyle=isie(10)&&getcomputedstyle(html);return{height:getsize('height',body,html,computedstyle),width:getsize('width',body,html,computedstyle)}}var classcallcheck=function(instance,constructor){if(!(instance instanceof constructor)){throw new typeerror("cannot call a class as a function");}};var createclass=function(){function defineproperties(target,props){for(var i=0;i2&&arguments[2]!==undefined?arguments[2]:false;var isie10=isie(10);var ishtml=parent.nodename==='html';var childrenrect=getboundingclientrect(children);var parentrect=getboundingclientrect(parent);var scrollparent=getscrollparent(children);var styles=getstylecomputedproperty(parent);var bordertopwidth=parsefloat(styles.bordertopwidth);var borderleftwidth=parsefloat(styles.borderleftwidth);if(fixedposition&&ishtml){parentrect.top=math.max(parentrect.top,0);parentrect.left=math.max(parentrect.left,0)}var offsets=getclientrect({top:childrenrect.top-parentrect.top-bordertopwidth,left:childrenrect.left-parentrect.left-borderleftwidth,width:childrenrect.width,height:childrenrect.height});offsets.margintop=0;offsets.marginleft=0;if(!isie10&&ishtml){var margintop=parsefloat(styles.margintop);var marginleft=parsefloat(styles.marginleft);offsets.top-=bordertopwidth-margintop;offsets.bottom-=bordertopwidth-margintop;offsets.left-=borderleftwidth-marginleft;offsets.right-=borderleftwidth-marginleft;offsets.margintop=margintop;offsets.marginleft=marginleft}if(isie10&&!fixedposition?parent.contains(scrollparent):parent===scrollparent&&scrollparent.nodename!=='body'){offsets=includescroll(offsets,parent)}return offsets}function getviewportoffsetrectrelativetoartbitrarynode(element){var excludescroll=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var html=element.ownerdocument.documentelement;var relativeoffset=getoffsetrectrelativetoarbitrarynode(element,html);var width=math.max(html.clientwidth,window.innerwidth||0);var height=math.max(html.clientheight,window.innerheight||0);var scrolltop=!excludescroll?getscroll(html):0;var scrollleft=!excludescroll?getscroll(html,'left'):0;var offset={top:scrolltop-relativeoffset.top+relativeoffset.margintop,left:scrollleft-relativeoffset.left+relativeoffset.marginleft,width:width,height:height};return getclientrect(offset)}function isfixed(element){var nodename=element.nodename;if(nodename==='body'||nodename==='html'){return false}if(getstylecomputedproperty(element,'position')==='fixed'){return true}var parentnode=getparentnode(element);if(!parentnode){return false}return isfixed(parentnode)}function getfixedpositionoffsetparent(element){if(!element||!element.parentelement||isie()){return document.documentelement}var el=element.parentelement;while(el&&getstylecomputedproperty(el,'transform')==='none'){el=el.parentelement}return el||document.documentelement}function getboundaries(popper,reference,padding,boundarieselement){var fixedposition=arguments.length>4&&arguments[4]!==undefined?arguments[4]:false;var boundaries={top:0,left:0};var offsetparent=fixedposition?getfixedpositionoffsetparent(popper):findcommonoffsetparent(popper,getreferencenode(reference));if(boundarieselement==='viewport'){boundaries=getviewportoffsetrectrelativetoartbitrarynode(offsetparent,fixedposition)}else{var boundariesnode=void 0;if(boundarieselement==='scrollparent'){boundariesnode=getscrollparent(getparentnode(reference));if(boundariesnode.nodename==='body'){boundariesnode=popper.ownerdocument.documentelement}}else if(boundarieselement==='window'){boundariesnode=popper.ownerdocument.documentelement}else{boundariesnode=boundarieselement}var offsets=getoffsetrectrelativetoarbitrarynode(boundariesnode,offsetparent,fixedposition);if(boundariesnode.nodename==='html'&&!isfixed(offsetparent)){var _getwindowsizes=getwindowsizes(popper.ownerdocument),height=_getwindowsizes.height,width=_getwindowsizes.width;boundaries.top+=offsets.top-offsets.margintop;boundaries.bottom=height+offsets.top;boundaries.left+=offsets.left-offsets.marginleft;boundaries.right=width+offsets.left}else{boundaries=offsets}}padding=padding||0;var ispaddingnumber=typeof padding==='number';boundaries.left+=ispaddingnumber?padding:padding.left||0;boundaries.top+=ispaddingnumber?padding:padding.top||0;boundaries.right-=ispaddingnumber?padding:padding.right||0;boundaries.bottom-=ispaddingnumber?padding:padding.bottom||0;return boundaries}function getarea(_ref){var width=_ref.width,height=_ref.height;return width*height}function computeautoplacement(placement,refrect,popper,reference,boundarieselement){var padding=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(placement.indexof('auto')===-1){return placement}var boundaries=getboundaries(popper,reference,padding,boundarieselement);var rects={top:{width:boundaries.width,height:refrect.top-boundaries.top},right:{width:boundaries.right-refrect.right,height:boundaries.height},bottom:{width:boundaries.width,height:boundaries.bottom-refrect.bottom},left:{width:refrect.left-boundaries.left,height:boundaries.height}};var sortedareas=object.keys(rects).map(function(key){return _extends({key:key},rects[key],{area:getarea(rects[key])})}).sort(function(a,b){return b.area-a.area});var filteredareas=sortedareas.filter(function(_ref2){var width=_ref2.width,height=_ref2.height;return width>=popper.clientwidth&&height>=popper.clientheight});var computedplacement=filteredareas.length>0?filteredareas[0].key:sortedareas[0].key;var variation=placement.split('-')[1];return computedplacement+(variation?'-'+variation:'')}function getreferenceoffsets(state,popper,reference){var fixedposition=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null;var commonoffsetparent=fixedposition?getfixedpositionoffsetparent(popper):findcommonoffsetparent(popper,getreferencenode(reference));return getoffsetrectrelativetoarbitrarynode(reference,commonoffsetparent,fixedposition)}function getoutersizes(element){var window=element.ownerdocument.defaultview;var styles=window.getcomputedstyle(element);var x=parsefloat(styles.margintop||0)+parsefloat(styles.marginbottom||0);var y=parsefloat(styles.marginleft||0)+parsefloat(styles.marginright||0);var result={width:element.offsetwidth+y,height:element.offsetheight+x};return result}function getoppositeplacement(placement){var hash={left:'right',right:'left',bottom:'top',top:'bottom'};return placement.replace(/left|right|bottom|top/g,function(matched){return hash[matched]})}function getpopperoffsets(popper,referenceoffsets,placement){placement=placement.split('-')[0];var popperrect=getoutersizes(popper);var popperoffsets={width:popperrect.width,height:popperrect.height};var ishoriz=['right','left'].indexof(placement)!==-1;var mainside=ishoriz?'top':'left';var secondaryside=ishoriz?'left':'top';var measurement=ishoriz?'height':'width';var secondarymeasurement=!ishoriz?'height':'width';popperoffsets[mainside]=referenceoffsets[mainside]+referenceoffsets[measurement]/2-popperrect[measurement]/2;if(placement===secondaryside){popperoffsets[secondaryside]=referenceoffsets[secondaryside]-popperrect[secondarymeasurement]}else{popperoffsets[secondaryside]=referenceoffsets[getoppositeplacement(secondaryside)]}return popperoffsets}function find(arr,check){if(array.prototype.find){return arr.find(check)}return arr.filter(check)[0]}function findindex(arr,prop,value){if(array.prototype.findindex){return arr.findindex(function(cur){return cur[prop]===value})}var match=find(arr,function(obj){return obj[prop]===value});return arr.indexof(match)}function runmodifiers(modifiers,data,ends){var modifierstorun=ends===undefined?modifiers:modifiers.slice(0,findindex(modifiers,'name',ends));modifierstorun.foreach(function(modifier){if(modifier['function']){console.warn('`modifier.function` is deprecated, use `modifier.fn`!')}var fn=modifier['function']||modifier.fn;if(modifier.enabled&&isfunction(fn)){data.offsets.popper=getclientrect(data.offsets.popper);data.offsets.reference=getclientrect(data.offsets.reference);data=fn(data,modifier)}});return data}function update(){if(this.state.isdestroyed){return}var data={instance:this,styles:{},arrowstyles:{},attributes:{},flipped:false,offsets:{}};data.offsets.reference=getreferenceoffsets(this.state,this.popper,this.reference,this.options.positionfixed);data.placement=computeautoplacement(this.options.placement,data.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundarieselement,this.options.modifiers.flip.padding);data.originalplacement=data.placement;data.positionfixed=this.options.positionfixed;data.offsets.popper=getpopperoffsets(this.popper,data.offsets.reference,data.placement);data.offsets.popper.position=this.options.positionfixed?'fixed':'absolute';data=runmodifiers(this.modifiers,data);if(!this.state.iscreated){this.state.iscreated=true;this.options.oncreate(data)}else{this.options.onupdate(data)}}function ismodifierenabled(modifiers,modifiername){return modifiers.some(function(_ref){var name=_ref.name,enabled=_ref.enabled;return enabled&&name===modifiername})}function getsupportedpropertyname(property){var prefixes=[false,'ms','webkit','moz','o'];var upperprop=property.charat(0).touppercase()+property.slice(1);for(var i=0;ipopper[opside]){data.offsets.popper[side]+=reference[side]+arrowelementsize-popper[opside]}data.offsets.popper=getclientrect(data.offsets.popper);var center=reference[side]+reference[len]/2-arrowelementsize/2;var css=getstylecomputedproperty(data.instance.popper);var poppermarginside=parsefloat(css['margin'+sidecapitalized]);var popperborderside=parsefloat(css['border'+sidecapitalized+'width']);var sidevalue=center-data.offsets.popper[side]-poppermarginside-popperborderside;sidevalue=math.max(math.min(popper[len]-arrowelementsize,sidevalue),0);data.arrowelement=arrowelement;data.offsets.arrow=(_data$offsets$arrow={},defineproperty(_data$offsets$arrow,side,math.round(sidevalue)),defineproperty(_data$offsets$arrow,altside,''),_data$offsets$arrow);return data}function getoppositevariation(variation){if(variation==='end'){return'start'}else if(variation==='start'){return'end'}return variation}var placements=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'];var validplacements=placements.slice(3);function clockwise(placement){var counter=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var index=validplacements.indexof(placement);var arr=validplacements.slice(index+1).concat(validplacements.slice(0,index));return counter?arr.reverse():arr}var behaviors={flip:'flip',clockwise:'clockwise',counterclockwise:'counterclockwise'};function flip(data,options){if(ismodifierenabled(data.instance.modifiers,'inner')){return data}if(data.flipped&&data.placement===data.originalplacement){return data}var boundaries=getboundaries(data.instance.popper,data.instance.reference,options.padding,options.boundarieselement,data.positionfixed);var placement=data.placement.split('-')[0];var placementopposite=getoppositeplacement(placement);var variation=data.placement.split('-')[1]||'';var fliporder=[];switch(options.behavior){case behaviors.flip:fliporder=[placement,placementopposite];break;case behaviors.clockwise:fliporder=clockwise(placement);break;case behaviors.counterclockwise:fliporder=clockwise(placement,true);break;default:fliporder=options.behavior}fliporder.foreach(function(step,index){if(placement!==step||fliporder.length===index+1){return data}placement=data.placement.split('-')[0];placementopposite=getoppositeplacement(placement);var popperoffsets=data.offsets.popper;var refoffsets=data.offsets.reference;var floor=math.floor;var overlapsref=placement==='left'&&floor(popperoffsets.right)>floor(refoffsets.left)||placement==='right'&&floor(popperoffsets.left)floor(refoffsets.top)||placement==='bottom'&&floor(popperoffsets.top)floor(boundaries.right);var overflowstop=floor(popperoffsets.top)floor(boundaries.bottom);var overflowsboundaries=placement==='left'&&overflowsleft||placement==='right'&&overflowsright||placement==='top'&&overflowstop||placement==='bottom'&&overflowsbottom;var isvertical=['top','bottom'].indexof(placement)!==-1;var flippedvariationbyref=!!options.flipvariations&&(isvertical&&variation==='start'&&overflowsleft||isvertical&&variation==='end'&&overflowsright||!isvertical&&variation==='start'&&overflowstop||!isvertical&&variation==='end'&&overflowsbottom);var flippedvariationbycontent=!!options.flipvariationsbycontent&&(isvertical&&variation==='start'&&overflowsright||isvertical&&variation==='end'&&overflowsleft||!isvertical&&variation==='start'&&overflowsbottom||!isvertical&&variation==='end'&&overflowstop);var flippedvariation=flippedvariationbyref||flippedvariationbycontent;if(overlapsref||overflowsboundaries||flippedvariation){data.flipped=true;if(overlapsref||overflowsboundaries){placement=fliporder[index+1]}if(flippedvariation){variation=getoppositevariation(variation)}data.placement=placement+(variation?'-'+variation:'');data.offsets.popper=_extends({},data.offsets.popper,getpopperoffsets(data.instance.popper,data.offsets.reference,data.placement));data=runmodifiers(data.instance.modifiers,data,'flip')}});return data}function keeptogether(data){var _data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference;var placement=data.placement.split('-')[0];var floor=math.floor;var isvertical=['top','bottom'].indexof(placement)!==-1;var side=isvertical?'right':'bottom';var opside=isvertical?'left':'top';var measurement=isvertical?'width':'height';if(popper[side]floor(reference[side])){data.offsets.popper[opside]=floor(reference[side])}return data}function tovalue(str,measurement,popperoffsets,referenceoffsets){var split=str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/);var value=+split[1];var unit=split[2];if(!value){return str}if(unit.indexof('%')===0){var element=void 0;switch(unit){case'%p':element=popperoffsets;break;case'%':case'%r':default:element=referenceoffsets}var rect=getclientrect(element);return rect[measurement]/100*value}else if(unit==='vh'||unit==='vw'){var size=void 0;if(unit==='vh'){size=math.max(document.documentelement.clientheight,window.innerheight||0)}else{size=math.max(document.documentelement.clientwidth,window.innerwidth||0)}return size/100*value}else{return value}}function parseoffset(offset,popperoffsets,referenceoffsets,baseplacement){var offsets=[0,0];var useheight=['right','left'].indexof(baseplacement)!==-1;var fragments=offset.split(/(\+|\-)/).map(function(frag){return frag.trim()});var divider=fragments.indexof(find(fragments,function(frag){return frag.search(/,|\s/)!==-1}));if(fragments[divider]&&fragments[divider].indexof(',')===-1){console.warn('offsets separated by white space(s) are deprecated, use a comma (,) instead.')}var splitregex=/\s*,\s*|\s+/;var ops=divider!==-1?[fragments.slice(0,divider).concat([fragments[divider].split(splitregex)[0]]),[fragments[divider].split(splitregex)[1]].concat(fragments.slice(divider+1))]:[fragments];ops=ops.map(function(op,index){var measurement=(index===1?!useheight:useheight)?'height':'width';var mergewithprevious=false;return op.reduce(function(a,b){if(a[a.length-1]===''&&['+','-'].indexof(b)!==-1){a[a.length-1]=b;mergewithprevious=true;return a}else if(mergewithprevious){a[a.length-1]+=b;mergewithprevious=false;return a}else{return a.concat(b)}},[]).map(function(str){return tovalue(str,measurement,popperoffsets,referenceoffsets)})});ops.foreach(function(op,index){op.foreach(function(frag,index2){if(isnumeric(frag)){offsets[index]+=frag*(op[index2-1]==='-'?-1:1)}})});return offsets}function offset(data,_ref){var offset=_ref.offset;var placement=data.placement,_data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference;var baseplacement=placement.split('-')[0];var offsets=void 0;if(isnumeric(+offset)){offsets=[+offset,0]}else{offsets=parseoffset(offset,popper,reference,baseplacement)}if(baseplacement==='left'){popper.top+=offsets[0];popper.left-=offsets[1]}else if(baseplacement==='right'){popper.top+=offsets[0];popper.left+=offsets[1]}else if(baseplacement==='top'){popper.left+=offsets[0];popper.top-=offsets[1]}else if(baseplacement==='bottom'){popper.left+=offsets[0];popper.top+=offsets[1]}data.popper=popper;return data}function preventoverflow(data,options){var boundarieselement=options.boundarieselement||getoffsetparent(data.instance.popper);if(data.instance.reference===boundarieselement){boundarieselement=getoffsetparent(boundarieselement)}var transformprop=getsupportedpropertyname('transform');var popperstyles=data.instance.popper.style;var top=popperstyles.top,left=popperstyles.left,transform=popperstyles[transformprop];popperstyles.top='';popperstyles.left='';popperstyles[transformprop]='';var boundaries=getboundaries(data.instance.popper,data.instance.reference,options.padding,boundarieselement,data.positionfixed);popperstyles.top=top;popperstyles.left=left;popperstyles[transformprop]=transform;options.boundaries=boundaries;var order=options.priority;var popper=data.offsets.popper;var check={primary:function primary(placement){var value=popper[placement];if(popper[placement]boundaries[placement]&&!options.escapewithreference){value=math.min(popper[mainside],boundaries[placement]-(placement==='right'?popper.width:popper.height))}return defineproperty({},mainside,value)}};order.foreach(function(placement){var side=['left','top'].indexof(placement)!==-1?'primary':'secondary';popper=_extends({},popper,check[side](placement))});data.offsets.popper=popper;return data}function shift(data){var placement=data.placement;var baseplacement=placement.split('-')[0];var shiftvariation=placement.split('-')[1];if(shiftvariation){var _data$offsets=data.offsets,reference=_data$offsets.reference,popper=_data$offsets.popper;var isvertical=['bottom','top'].indexof(baseplacement)!==-1;var side=isvertical?'left':'top';var measurement=isvertical?'width':'height';var shiftoffsets={start:defineproperty({},side,reference[side]),end:defineproperty({},side,reference[side]+reference[measurement]-popper[measurement])};data.offsets.popper=_extends({},popper,shiftoffsets[shiftvariation])}return data}function hide(data){if(!ismodifierrequired(data.instance.modifiers,'hide','preventoverflow')){return data}var refrect=data.offsets.reference;var bound=find(data.instance.modifiers,function(modifier){return modifier.name==='preventoverflow'}).boundaries;if(refrect.bottombound.right||refrect.top>bound.bottom||refrect.right2&&arguments[2]!==undefined?arguments[2]:{};classcallcheck(this,popper);this.scheduleupdate=function(){return requestanimationframe(_this.update)};this.update=debounce(this.update.bind(this));this.options=_extends({},popper.defaults,options);this.state={isdestroyed:false,iscreated:false,scrollparents:[]};this.reference=reference&&reference.jquery?reference[0]:reference;this.popper=popper&&popper.jquery?popper[0]:popper;this.options.modifiers={};object.keys(_extends({},popper.defaults.modifiers,options.modifiers)).foreach(function(name){_this.options.modifiers[name]=_extends({},popper.defaults.modifiers[name]||{},options.modifiers?options.modifiers[name]:{})});this.modifiers=object.keys(this.options.modifiers).map(function(name){return _extends({name:name},_this.options.modifiers[name])}).sort(function(a,b){return a.order-b.order});this.modifiers.foreach(function(modifieroptions){if(modifieroptions.enabled&&isfunction(modifieroptions.onload)){modifieroptions.onload(_this.reference,_this.popper,_this.options,modifieroptions,_this.state)}});this.update();var eventsenabled=this.options.eventsenabled;if(eventsenabled){this.enableeventlisteners()}this.state.eventsenabled=eventsenabled}createclass(popper,[{key:'update',value:function update$$1(){return update.call(this)}},{key:'destroy',value:function destroy$$1(){return destroy.call(this)}},{key:'enableeventlisteners',value:function enableeventlisteners$$1(){return enableeventlisteners.call(this)}},{key:'disableeventlisteners',value:function disableeventlisteners$$1(){return disableeventlisteners.call(this)}}]);return popper}();popper.utils=(typeof window!=='undefined'?window:global).popperutils;popper.placements=placements;popper.defaults=defaults;var popper$1=popper;var name$6='dropdown';var version$6='4.6.1';var data_key$6='bs.dropdown';var event_key$6="."+data_key$6;var data_api_key$3='.data-api';var jquery_no_conflict$6=$__default["default"].fn[name$6];var escape_keycode$1=27;var space_keycode=32;var tab_keycode=9;var arrow_up_keycode=38;var arrow_down_keycode=40;var right_mouse_button_which=3;var regexp_keydown=new regexp(arrow_up_keycode+"|"+arrow_down_keycode+"|"+escape_keycode$1);var class_name_disabled$1='disabled';var class_name_show$5='show';var class_name_dropup='dropup';var class_name_dropright='dropright';var class_name_dropleft='dropleft';var class_name_menuright='dropdown-menu-right';var class_name_position_static='position-static';var event_hide$3="hide"+event_key$6;var event_hidden$3="hidden"+event_key$6;var event_show$3="show"+event_key$6;var event_shown$3="shown"+event_key$6;var event_click="click"+event_key$6;var event_click_data_api$2="click"+event_key$6+data_api_key$3;var event_keydown_data_api="keydown"+event_key$6+data_api_key$3;var event_keyup_data_api="keyup"+event_key$6+data_api_key$3;var selector_data_toggle$2='[data-toggle="dropdown"]';var selector_form_child='.dropdown form';var selector_menu='.dropdown-menu';var selector_navbar_nav='.navbar-nav';var selector_visible_items='.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)';var placement_top='top-start';var placement_topend='top-end';var placement_bottom='bottom-start';var placement_bottomend='bottom-end';var placement_right='right-start';var placement_left='left-start';var default$5={offset:0,flip:true,boundary:'scrollparent',reference:'toggle',display:'dynamic',popperconfig:null};var defaulttype$5={offset:'(number|string|function)',flip:'boolean',boundary:'(string|element)',reference:'(string|element)',display:'string',popperconfig:'(null|object)'};var dropdown=function(){function dropdown(element,config){this._element=element;this._popper=null;this._config=this._getconfig(config);this._menu=this._getmenuelement();this._innavbar=this._detectnavbar();this._addeventlisteners()}var _proto=dropdown.prototype;_proto.toggle=function toggle(){if(this._element.disabled||$__default["default"](this._element).hasclass(class_name_disabled$1)){return}var isactive=$__default["default"](this._menu).hasclass(class_name_show$5);dropdown._clearmenus();if(isactive){return}this.show(true)};_proto.show=function show(usepopper){if(usepopper===void 0){usepopper=false}if(this._element.disabled||$__default["default"](this._element).hasclass(class_name_disabled$1)||$__default["default"](this._menu).hasclass(class_name_show$5)){return}var relatedtarget={relatedtarget:this._element};var showevent=$__default["default"].event(event_show$3,relatedtarget);var parent=dropdown._getparentfromelement(this._element);$__default["default"](parent).trigger(showevent);if(showevent.isdefaultprevented()){return}if(!this._innavbar&&usepopper){if(typeof popper$1==='undefined'){throw new typeerror('bootstrap\'s dropdowns require popper (https://popper.js.org)');}var referenceelement=this._element;if(this._config.reference==='parent'){referenceelement=parent}else if(util.iselement(this._config.reference)){referenceelement=this._config.reference;if(typeof this._config.reference.jquery!=='undefined'){referenceelement=this._config.reference[0]}}if(this._config.boundary!=='scrollparent'){$__default["default"](parent).addclass(class_name_position_static)}this._popper=new popper$1(referenceelement,this._menu,this._getpopperconfig())}if('ontouchstart'in document.documentelement&&$__default["default"](parent).closest(selector_navbar_nav).length===0){$__default["default"](document.body).children().on('mouseover',null,$__default["default"].noop)}this._element.focus();this._element.setattribute('aria-expanded',true);$__default["default"](this._menu).toggleclass(class_name_show$5);$__default["default"](parent).toggleclass(class_name_show$5).trigger($__default["default"].event(event_shown$3,relatedtarget))};_proto.hide=function hide(){if(this._element.disabled||$__default["default"](this._element).hasclass(class_name_disabled$1)||!$__default["default"](this._menu).hasclass(class_name_show$5)){return}var relatedtarget={relatedtarget:this._element};var hideevent=$__default["default"].event(event_hide$3,relatedtarget);var parent=dropdown._getparentfromelement(this._element);$__default["default"](parent).trigger(hideevent);if(hideevent.isdefaultprevented()){return}if(this._popper){this._popper.destroy()}$__default["default"](this._menu).toggleclass(class_name_show$5);$__default["default"](parent).toggleclass(class_name_show$5).trigger($__default["default"].event(event_hidden$3,relatedtarget))};_proto.dispose=function dispose(){$__default["default"].removedata(this._element,data_key$6);$__default["default"](this._element).off(event_key$6);this._element=null;this._menu=null;if(this._popper!==null){this._popper.destroy();this._popper=null}};_proto.update=function update(){this._innavbar=this._detectnavbar();if(this._popper!==null){this._popper.scheduleupdate()}};_proto._addeventlisteners=function _addeventlisteners(){var _this=this;$__default["default"](this._element).on(event_click,function(event){event.preventdefault();event.stoppropagation();_this.toggle()})};_proto._getconfig=function _getconfig(config){config=_extends$1({},this.constructor.default,$__default["default"](this._element).data(),config);util.typecheckconfig(name$6,config,this.constructor.defaulttype);return config};_proto._getmenuelement=function _getmenuelement(){if(!this._menu){var parent=dropdown._getparentfromelement(this._element);if(parent){this._menu=parent.queryselector(selector_menu)}}return this._menu};_proto._getplacement=function _getplacement(){var $parentdropdown=$__default["default"](this._element.parentnode);var placement=placement_bottom;if($parentdropdown.hasclass(class_name_dropup)){placement=$__default["default"](this._menu).hasclass(class_name_menuright)?placement_topend:placement_top}else if($parentdropdown.hasclass(class_name_dropright)){placement=placement_right}else if($parentdropdown.hasclass(class_name_dropleft)){placement=placement_left}else if($__default["default"](this._menu).hasclass(class_name_menuright)){placement=placement_bottomend}return placement};_proto._detectnavbar=function _detectnavbar(){return $__default["default"](this._element).closest('.navbar').length>0};_proto._getoffset=function _getoffset(){var _this2=this;var offset={};if(typeof this._config.offset==='function'){offset.fn=function(data){data.offsets=_extends$1({},data.offsets,_this2._config.offset(data.offsets,_this2._element));return data}}else{offset.offset=this._config.offset}return offset};_proto._getpopperconfig=function _getpopperconfig(){var popperconfig={placement:this._getplacement(),modifiers:{offset:this._getoffset(),flip:{enabled:this._config.flip},preventoverflow:{boundarieselement:this._config.boundary}}};if(this._config.display==='static'){popperconfig.modifiers.applystyle={enabled:false}}return _extends$1({},popperconfig,this._config.popperconfig)};dropdown._jqueryinterface=function _jqueryinterface(config){return this.each(function(){var data=$__default["default"](this).data(data_key$6);var _config=typeof config==='object'?config:null;if(!data){data=new dropdown(this,_config);$__default["default"](this).data(data_key$6,data)}if(typeof config==='string'){if(typeof data[config]==='undefined'){throw new typeerror("no method named \""+config+"\"");}data[config]()}})};dropdown._clearmenus=function _clearmenus(event){if(event&&(event.which===right_mouse_button_which||event.type==='keyup'&&event.which!==tab_keycode)){return}var toggles=[].slice.call(document.queryselectorall(selector_data_toggle$2));for(var i=0,len=toggles.length;i0){index--}if(event.which===arrow_down_keycode&&indexdocument.documentelement.clientheight;if(!ismodaloverflowing){this._element.style.overflowy='hidden'}this._element.classlist.add(class_name_static);var modaltransitionduration=util.gettransitiondurationfromelement(this._dialog);$__default["default"](this._element).off(util.transition_end);$__default["default"](this._element).one(util.transition_end,function(){_this3._element.classlist.remove(class_name_static);if(!ismodaloverflowing){$__default["default"](_this3._element).one(util.transition_end,function(){_this3._element.style.overflowy=''}).emulatetransitionend(_this3._element,modaltransitionduration)}}).emulatetransitionend(modaltransitionduration);this._element.focus()};_proto._showelement=function _showelement(relatedtarget){var _this4=this;var transition=$__default["default"](this._element).hasclass(class_name_fade$4);var modalbody=this._dialog?this._dialog.queryselector(selector_modal_body):null;if(!this._element.parentnode||this._element.parentnode.nodetype!==node.element_node){document.body.appendchild(this._element)}this._element.style.display='block';this._element.removeattribute('aria-hidden');this._element.setattribute('aria-modal',true);this._element.setattribute('role','dialog');if($__default["default"](this._dialog).hasclass(class_name_scrollable)&&modalbody){modalbody.scrolltop=0}else{this._element.scrolltop=0}if(transition){util.reflow(this._element)}$__default["default"](this._element).addclass(class_name_show$4);if(this._config.focus){this._enforcefocus()}var shownevent=$__default["default"].event(event_shown$2,{relatedtarget:relatedtarget});var transitioncomplete=function transitioncomplete(){if(_this4._config.focus){_this4._element.focus()}_this4._istransitioning=false;$__default["default"](_this4._element).trigger(shownevent)};if(transition){var transitionduration=util.gettransitiondurationfromelement(this._dialog);$__default["default"](this._dialog).one(util.transition_end,transitioncomplete).emulatetransitionend(transitionduration)}else{transitioncomplete()}};_proto._enforcefocus=function _enforcefocus(){var _this5=this;$__default["default"](document).off(event_focusin).on(event_focusin,function(event){if(document!==event.target&&_this5._element!==event.target&&$__default["default"](_this5._element).has(event.target).length===0){_this5._element.focus()}})};_proto._setescapeevent=function _setescapeevent(){var _this6=this;if(this._isshown){$__default["default"](this._element).on(event_keydown_dismiss,function(event){if(_this6._config.keyboard&&event.which===escape_keycode){event.preventdefault();_this6.hide()}else if(!_this6._config.keyboard&&event.which===escape_keycode){_this6._triggerbackdroptransition()}})}else if(!this._isshown){$__default["default"](this._element).off(event_keydown_dismiss)}};_proto._setresizeevent=function _setresizeevent(){var _this7=this;if(this._isshown){$__default["default"](window).on(event_resize,function(event){return _this7.handleupdate(event)})}else{$__default["default"](window).off(event_resize)}};_proto._hidemodal=function _hidemodal(){var _this8=this;this._element.style.display='none';this._element.setattribute('aria-hidden',true);this._element.removeattribute('aria-modal');this._element.removeattribute('role');this._istransitioning=false;this._showbackdrop(function(){$__default["default"](document.body).removeclass(class_name_open);_this8._resetadjustments();_this8._resetscrollbar();$__default["default"](_this8._element).trigger(event_hidden$2)})};_proto._removebackdrop=function _removebackdrop(){if(this._backdrop){$__default["default"](this._backdrop).remove();this._backdrop=null}};_proto._showbackdrop=function _showbackdrop(callback){var _this9=this;var animate=$__default["default"](this._element).hasclass(class_name_fade$4)?class_name_fade$4:'';if(this._isshown&&this._config.backdrop){this._backdrop=document.createelement('div');this._backdrop.classname=class_name_backdrop;if(animate){this._backdrop.classlist.add(animate)}$__default["default"](this._backdrop).appendto(document.body);$__default["default"](this._element).on(event_click_dismiss$1,function(event){if(_this9._ignorebackdropclick){_this9._ignorebackdropclick=false;return}if(event.target!==event.currenttarget){return}if(_this9._config.backdrop==='static'){_this9._triggerbackdroptransition()}else{_this9.hide()}});if(animate){util.reflow(this._backdrop)}$__default["default"](this._backdrop).addclass(class_name_show$4);if(!callback){return}if(!animate){callback();return}var backdroptransitionduration=util.gettransitiondurationfromelement(this._backdrop);$__default["default"](this._backdrop).one(util.transition_end,callback).emulatetransitionend(backdroptransitionduration)}else if(!this._isshown&&this._backdrop){$__default["default"](this._backdrop).removeclass(class_name_show$4);var callbackremove=function callbackremove(){_this9._removebackdrop();if(callback){callback()}};if($__default["default"](this._element).hasclass(class_name_fade$4)){var _backdroptransitionduration=util.gettransitiondurationfromelement(this._backdrop);$__default["default"](this._backdrop).one(util.transition_end,callbackremove).emulatetransitionend(_backdroptransitionduration)}else{callbackremove()}}else if(callback){callback()}};_proto._adjustdialog=function _adjustdialog(){var ismodaloverflowing=this._element.scrollheight>document.documentelement.clientheight;if(!this._isbodyoverflowing&&ismodaloverflowing){this._element.style.paddingleft=this._scrollbarwidth+"px"}if(this._isbodyoverflowing&&!ismodaloverflowing){this._element.style.paddingright=this._scrollbarwidth+"px"}};_proto._resetadjustments=function _resetadjustments(){this._element.style.paddingleft='';this._element.style.paddingright=''};_proto._checkscrollbar=function _checkscrollbar(){var rect=document.body.getboundingclientrect();this._isbodyoverflowing=math.round(rect.left+rect.right)
',trigger:'hover focus',title:'',delay:0,html:false,selector:false,placement:'top',offset:0,container:false,fallbackplacement:'flip',boundary:'scrollparent',customclass:'',sanitize:true,sanitizefn:null,whitelist:defaultwhitelist,popperconfig:null};var defaulttype$3={animation:'boolean',template:'string',title:'(string|element|function)',trigger:'string',delay:'(number|object)',html:'boolean',selector:'(string|boolean)',placement:'(string|function)',offset:'(number|string|function)',container:'(string|element|boolean)',fallbackplacement:'(string|array)',boundary:'(string|element)',customclass:'(string|function)',sanitize:'boolean',sanitizefn:'(null|function)',whitelist:'object',popperconfig:'(null|object)'};var event$1={hide:"hide"+event_key$4,hidden:"hidden"+event_key$4,show:"show"+event_key$4,shown:"shown"+event_key$4,inserted:"inserted"+event_key$4,click:"click"+event_key$4,focusin:"focusin"+event_key$4,focusout:"focusout"+event_key$4,mouseenter:"mouseenter"+event_key$4,mouseleave:"mouseleave"+event_key$4};var tooltip=function(){function tooltip(element,config){if(typeof popper$1==='undefined'){throw new typeerror('bootstrap\'s tooltips require popper (https://popper.js.org)');}this._isenabled=true;this._timeout=0;this._hoverstate='';this._activetrigger={};this._popper=null;this.element=element;this.config=this._getconfig(config);this.tip=null;this._setlisteners()}var _proto=tooltip.prototype;_proto.enable=function enable(){this._isenabled=true};_proto.disable=function disable(){this._isenabled=false};_proto.toggleenabled=function toggleenabled(){this._isenabled=!this._isenabled};_proto.toggle=function toggle(event){if(!this._isenabled){return}if(event){var datakey=this.constructor.data_key;var context=$__default["default"](event.currenttarget).data(datakey);if(!context){context=new this.constructor(event.currenttarget,this._getdelegateconfig());$__default["default"](event.currenttarget).data(datakey,context)}context._activetrigger.click=!context._activetrigger.click;if(context._iswithactivetrigger()){context._enter(null,context)}else{context._leave(null,context)}}else{if($__default["default"](this.gettipelement()).hasclass(class_name_show$3)){this._leave(null,this);return}this._enter(null,this)}};_proto.dispose=function dispose(){cleartimeout(this._timeout);$__default["default"].removedata(this.element,this.constructor.data_key);$__default["default"](this.element).off(this.constructor.event_key);$__default["default"](this.element).closest('.modal').off('hide.bs.modal',this._hidemodalhandler);if(this.tip){$__default["default"](this.tip).remove()}this._isenabled=null;this._timeout=null;this._hoverstate=null;this._activetrigger=null;if(this._popper){this._popper.destroy()}this._popper=null;this.element=null;this.config=null;this.tip=null};_proto.show=function show(){var _this=this;if($__default["default"](this.element).css('display')==='none'){throw new error('please use show on visible elements');}var showevent=$__default["default"].event(this.constructor.event.show);if(this.iswithcontent()&&this._isenabled){$__default["default"](this.element).trigger(showevent);var shadowroot=util.findshadowroot(this.element);var isinthedom=$__default["default"].contains(shadowroot!==null?shadowroot:this.element.ownerdocument.documentelement,this.element);if(showevent.isdefaultprevented()||!isinthedom){return}var tip=this.gettipelement();var tipid=util.getuid(this.constructor.name);tip.setattribute('id',tipid);this.element.setattribute('aria-describedby',tipid);this.setcontent();if(this.config.animation){$__default["default"](tip).addclass(class_name_fade$3)}var placement=typeof this.config.placement==='function'?this.config.placement.call(this,tip,this.element):this.config.placement;var attachment=this._getattachment(placement);this.addattachmentclass(attachment);var container=this._getcontainer();$__default["default"](tip).data(this.constructor.data_key,this);if(!$__default["default"].contains(this.element.ownerdocument.documentelement,this.tip)){$__default["default"](tip).appendto(container)}$__default["default"](this.element).trigger(this.constructor.event.inserted);this._popper=new popper$1(this.element,tip,this._getpopperconfig(attachment));$__default["default"](tip).addclass(class_name_show$3);$__default["default"](tip).addclass(this.config.customclass);if('ontouchstart'in document.documentelement){$__default["default"](document.body).children().on('mouseover',null,$__default["default"].noop)}var complete=function complete(){if(_this.config.animation){_this._fixtransition()}var prevhoverstate=_this._hoverstate;_this._hoverstate=null;$__default["default"](_this.element).trigger(_this.constructor.event.shown);if(prevhoverstate===hover_state_out){_this._leave(null,_this)}};if($__default["default"](this.tip).hasclass(class_name_fade$3)){var transitionduration=util.gettransitiondurationfromelement(this.tip);$__default["default"](this.tip).one(util.transition_end,complete).emulatetransitionend(transitionduration)}else{complete()}}};_proto.hide=function hide(callback){var _this2=this;var tip=this.gettipelement();var hideevent=$__default["default"].event(this.constructor.event.hide);var complete=function complete(){if(_this2._hoverstate!==hover_state_show&&tip.parentnode){tip.parentnode.removechild(tip)}_this2._cleantipclass();_this2.element.removeattribute('aria-describedby');$__default["default"](_this2.element).trigger(_this2.constructor.event.hidden);if(_this2._popper!==null){_this2._popper.destroy()}if(callback){callback()}};$__default["default"](this.element).trigger(hideevent);if(hideevent.isdefaultprevented()){return}$__default["default"](tip).removeclass(class_name_show$3);if('ontouchstart'in document.documentelement){$__default["default"](document.body).children().off('mouseover',null,$__default["default"].noop)}this._activetrigger[trigger_click]=false;this._activetrigger[trigger_focus]=false;this._activetrigger[trigger_hover]=false;if($__default["default"](this.tip).hasclass(class_name_fade$3)){var transitionduration=util.gettransitiondurationfromelement(tip);$__default["default"](tip).one(util.transition_end,complete).emulatetransitionend(transitionduration)}else{complete()}this._hoverstate=''};_proto.update=function update(){if(this._popper!==null){this._popper.scheduleupdate()}};_proto.iswithcontent=function iswithcontent(){return boolean(this.gettitle())};_proto.addattachmentclass=function addattachmentclass(attachment){$__default["default"](this.gettipelement()).addclass(class_prefix$1+"-"+attachment)};_proto.gettipelement=function gettipelement(){this.tip=this.tip||$__default["default"](this.config.template)[0];return this.tip};_proto.setcontent=function setcontent(){var tip=this.gettipelement();this.setelementcontent($__default["default"](tip.queryselectorall(selector_tooltip_inner)),this.gettitle());$__default["default"](tip).removeclass(class_name_fade$3+" "+class_name_show$3)};_proto.setelementcontent=function setelementcontent($element,content){if(typeof content==='object'&&(content.nodetype||content.jquery)){if(this.config.html){if(!$__default["default"](content).parent().is($element)){$element.empty().append(content)}}else{$element.text($__default["default"](content).text())}return}if(this.config.html){if(this.config.sanitize){content=sanitizehtml(content,this.config.whitelist,this.config.sanitizefn)}$element.html(content)}else{$element.text(content)}};_proto.gettitle=function gettitle(){var title=this.element.getattribute('data-original-title');if(!title){title=typeof this.config.title==='function'?this.config.title.call(this.element):this.config.title}return title};_proto._getpopperconfig=function _getpopperconfig(attachment){var _this3=this;var defaultbsconfig={placement:attachment,modifiers:{offset:this._getoffset(),flip:{behavior:this.config.fallbackplacement},arrow:{element:selector_arrow},preventoverflow:{boundarieselement:this.config.boundary}},oncreate:function oncreate(data){if(data.originalplacement!==data.placement){_this3._handlepopperplacementchange(data)}},onupdate:function onupdate(data){return _this3._handlepopperplacementchange(data)}};return _extends$1({},defaultbsconfig,this.config.popperconfig)};_proto._getoffset=function _getoffset(){var _this4=this;var offset={};if(typeof this.config.offset==='function'){offset.fn=function(data){data.offsets=_extends$1({},data.offsets,_this4.config.offset(data.offsets,_this4.element));return data}}else{offset.offset=this.config.offset}return offset};_proto._getcontainer=function _getcontainer(){if(this.config.container===false){return document.body}if(util.iselement(this.config.container)){return $__default["default"](this.config.container)}return $__default["default"](document).find(this.config.container)};_proto._getattachment=function _getattachment(placement){return attachmentmap[placement.touppercase()]};_proto._setlisteners=function _setlisteners(){var _this5=this;var triggers=this.config.trigger.split(' ');triggers.foreach(function(trigger){if(trigger==='click'){$__default["default"](_this5.element).on(_this5.constructor.event.click,_this5.config.selector,function(event){return _this5.toggle(event)})}else if(trigger!==trigger_manual){var eventin=trigger===trigger_hover?_this5.constructor.event.mouseenter:_this5.constructor.event.focusin;var eventout=trigger===trigger_hover?_this5.constructor.event.mouseleave:_this5.constructor.event.focusout;$__default["default"](_this5.element).on(eventin,_this5.config.selector,function(event){return _this5._enter(event)}).on(eventout,_this5.config.selector,function(event){return _this5._leave(event)})}});this._hidemodalhandler=function(){if(_this5.element){_this5.hide()}};$__default["default"](this.element).closest('.modal').on('hide.bs.modal',this._hidemodalhandler);if(this.config.selector){this.config=_extends$1({},this.config,{trigger:'manual',selector:''})}else{this._fixtitle()}};_proto._fixtitle=function _fixtitle(){var titletype=typeof this.element.getattribute('data-original-title');if(this.element.getattribute('title')||titletype!=='string'){this.element.setattribute('data-original-title',this.element.getattribute('title')||'');this.element.setattribute('title','')}};_proto._enter=function _enter(event,context){var datakey=this.constructor.data_key;context=context||$__default["default"](event.currenttarget).data(datakey);if(!context){context=new this.constructor(event.currenttarget,this._getdelegateconfig());$__default["default"](event.currenttarget).data(datakey,context)}if(event){context._activetrigger[event.type==='focusin'?trigger_focus:trigger_hover]=true}if($__default["default"](context.gettipelement()).hasclass(class_name_show$3)||context._hoverstate===hover_state_show){context._hoverstate=hover_state_show;return}cleartimeout(context._timeout);context._hoverstate=hover_state_show;if(!context.config.delay||!context.config.delay.show){context.show();return}context._timeout=settimeout(function(){if(context._hoverstate===hover_state_show){context.show()}},context.config.delay.show)};_proto._leave=function _leave(event,context){var datakey=this.constructor.data_key;context=context||$__default["default"](event.currenttarget).data(datakey);if(!context){context=new this.constructor(event.currenttarget,this._getdelegateconfig());$__default["default"](event.currenttarget).data(datakey,context)}if(event){context._activetrigger[event.type==='focusout'?trigger_focus:trigger_hover]=false}if(context._iswithactivetrigger()){return}cleartimeout(context._timeout);context._hoverstate=hover_state_out;if(!context.config.delay||!context.config.delay.hide){context.hide();return}context._timeout=settimeout(function(){if(context._hoverstate===hover_state_out){context.hide()}},context.config.delay.hide)};_proto._iswithactivetrigger=function _iswithactivetrigger(){for(var trigger in this._activetrigger){if(this._activetrigger[trigger]){return true}}return false};_proto._getconfig=function _getconfig(config){var dataattributes=$__default["default"](this.element).data();object.keys(dataattributes).foreach(function(dataattr){if(disallowed_attributes.indexof(dataattr)!==-1){delete dataattributes[dataattr]}});config=_extends$1({},this.constructor.default,dataattributes,typeof config==='object'&&config?config:{});if(typeof config.delay==='number'){config.delay={show:config.delay,hide:config.delay}}if(typeof config.title==='number'){config.title=config.title.tostring()}if(typeof config.content==='number'){config.content=config.content.tostring()}util.typecheckconfig(name$4,config,this.constructor.defaulttype);if(config.sanitize){config.template=sanitizehtml(config.template,config.whitelist,config.sanitizefn)}return config};_proto._getdelegateconfig=function _getdelegateconfig(){var config={};if(this.config){for(var key in this.config){if(this.constructor.default[key]!==this.config[key]){config[key]=this.config[key]}}}return config};_proto._cleantipclass=function _cleantipclass(){var $tip=$__default["default"](this.gettipelement());var tabclass=$tip.attr('class').match(bscls_prefix_regex$1);if(tabclass!==null&&tabclass.length){$tip.removeclass(tabclass.join(''))}};_proto._handlepopperplacementchange=function _handlepopperplacementchange(popperdata){this.tip=popperdata.instance.popper;this._cleantipclass();this.addattachmentclass(this._getattachment(popperdata.placement))};_proto._fixtransition=function _fixtransition(){var tip=this.gettipelement();var initconfiganimation=this.config.animation;if(tip.getattribute('x-placement')!==null){return}$__default["default"](tip).removeclass(class_name_fade$3);this.config.animation=false;this.hide();this.show();this.config.animation=initconfiganimation};tooltip._jqueryinterface=function _jqueryinterface(config){return this.each(function(){var $element=$__default["default"](this);var data=$element.data(data_key$4);var _config=typeof config==='object'&&config;if(!data&&/dispose|hide/.test(config)){return}if(!data){data=new tooltip(this,_config);$element.data(data_key$4,data)}if(typeof config==='string'){if(typeof data[config]==='undefined'){throw new typeerror("no method named \""+config+"\"");}data[config]()}})};_createclass(tooltip,null,[{key:"version",get:function get(){return version$4}},{key:"default",get:function get(){return default$3}},{key:"name",get:function get(){return name$4}},{key:"data_key",get:function get(){return data_key$4}},{key:"event",get:function get(){return event$1}},{key:"event_key",get:function get(){return event_key$4}},{key:"defaulttype",get:function get(){return defaulttype$3}}]);return tooltip}();$__default["default"].fn[name$4]=tooltip._jqueryinterface;$__default["default"].fn[name$4].constructor=tooltip;$__default["default"].fn[name$4].noconflict=function(){$__default["default"].fn[name$4]=jquery_no_conflict$4;return tooltip._jqueryinterface};var name$3='popover';var version$3='4.6.1';var data_key$3='bs.popover';var event_key$3="."+data_key$3;var jquery_no_conflict$3=$__default["default"].fn[name$3];var class_prefix='bs-popover';var bscls_prefix_regex=new regexp("(^|\\s)"+class_prefix+"\\s+",'g');var class_name_fade$2='fade';var class_name_show$2='show';var selector_title='.popover-header';var selector_content='.popover-body';var default$2=_extends$1({},tooltip.default,{placement:'right',trigger:'click',content:'',template:''});var defaulttype$2=_extends$1({},tooltip.defaulttype,{content:'(string|element|function)'});var event={hide:"hide"+event_key$3,hidden:"hidden"+event_key$3,show:"show"+event_key$3,shown:"shown"+event_key$3,inserted:"inserted"+event_key$3,click:"click"+event_key$3,focusin:"focusin"+event_key$3,focusout:"focusout"+event_key$3,mouseenter:"mouseenter"+event_key$3,mouseleave:"mouseleave"+event_key$3};var popover=function(_tooltip){_inheritsloose(popover,_tooltip);function popover(){return _tooltip.apply(this,arguments)||this}var _proto=popover.prototype;_proto.iswithcontent=function iswithcontent(){return this.gettitle()||this._getcontent()};_proto.addattachmentclass=function addattachmentclass(attachment){$__default["default"](this.gettipelement()).addclass(class_prefix+"-"+attachment)};_proto.gettipelement=function gettipelement(){this.tip=this.tip||$__default["default"](this.config.template)[0];return this.tip};_proto.setcontent=function setcontent(){var $tip=$__default["default"](this.gettipelement());this.setelementcontent($tip.find(selector_title),this.gettitle());var content=this._getcontent();if(typeof content==='function'){content=content.call(this.element)}this.setelementcontent($tip.find(selector_content),content);$tip.removeclass(class_name_fade$2+" "+class_name_show$2)};_proto._getcontent=function _getcontent(){return this.element.getattribute('data-content')||this.config.content};_proto._cleantipclass=function _cleantipclass(){var $tip=$__default["default"](this.gettipelement());var tabclass=$tip.attr('class').match(bscls_prefix_regex);if(tabclass!==null&&tabclass.length>0){$tip.removeclass(tabclass.join(''))}};popover._jqueryinterface=function _jqueryinterface(config){return this.each(function(){var data=$__default["default"](this).data(data_key$3);var _config=typeof config==='object'?config:null;if(!data&&/dispose|hide/.test(config)){return}if(!data){data=new popover(this,_config);$__default["default"](this).data(data_key$3,data)}if(typeof config==='string'){if(typeof data[config]==='undefined'){throw new typeerror("no method named \""+config+"\"");}data[config]()}})};_createclass(popover,null,[{key:"version",get:function get(){return version$3}},{key:"default",get:function get(){return default$2}},{key:"name",get:function get(){return name$3}},{key:"data_key",get:function get(){return data_key$3}},{key:"event",get:function get(){return event}},{key:"event_key",get:function get(){return event_key$3}},{key:"defaulttype",get:function get(){return defaulttype$2}}]);return popover}(tooltip);$__default["default"].fn[name$3]=popover._jqueryinterface;$__default["default"].fn[name$3].constructor=popover;$__default["default"].fn[name$3].noconflict=function(){$__default["default"].fn[name$3]=jquery_no_conflict$3;return popover._jqueryinterface};var name$2='scrollspy';var version$2='4.6.1';var data_key$2='bs.scrollspy';var event_key$2="."+data_key$2;var data_api_key$1='.data-api';var jquery_no_conflict$2=$__default["default"].fn[name$2];var class_name_dropdown_item='dropdown-item';var class_name_active$1='active';var event_activate="activate"+event_key$2;var event_scroll="scroll"+event_key$2;var event_load_data_api="load"+event_key$2+data_api_key$1;var method_offset='offset';var method_position='position';var selector_data_spy='[data-spy="scroll"]';var selector_nav_list_group$1='.nav, .list-group';var selector_nav_links='.nav-link';var selector_nav_items='.nav-item';var selector_list_items='.list-group-item';var selector_dropdown$1='.dropdown';var selector_dropdown_items='.dropdown-item';var selector_dropdown_toggle$1='.dropdown-toggle';var default$1={offset:10,method:'auto',target:''};var defaulttype$1={offset:'number',method:'string',target:'(string|element)'};var scrollspy=function(){function scrollspy(element,config){var _this=this;this._element=element;this._scrollelement=element.tagname==='body'?window:element;this._config=this._getconfig(config);this._selector=this._config.target+" "+selector_nav_links+","+(this._config.target+" "+selector_list_items+",")+(this._config.target+" "+selector_dropdown_items);this._offsets=[];this._targets=[];this._activetarget=null;this._scrollheight=0;$__default["default"](this._scrollelement).on(event_scroll,function(event){return _this._process(event)});this.refresh();this._process()}var _proto=scrollspy.prototype;_proto.refresh=function refresh(){var _this2=this;var automethod=this._scrollelement===this._scrollelement.window?method_offset:method_position;var offsetmethod=this._config.method==='auto'?automethod:this._config.method;var offsetbase=offsetmethod===method_position?this._getscrolltop():0;this._offsets=[];this._targets=[];this._scrollheight=this._getscrollheight();var targets=[].slice.call(document.queryselectorall(this._selector));targets.map(function(element){var target;var targetselector=util.getselectorfromelement(element);if(targetselector){target=document.queryselector(targetselector)}if(target){var targetbcr=target.getboundingclientrect();if(targetbcr.width||targetbcr.height){return[$__default["default"](target)[offsetmethod]().top+offsetbase,targetselector]}}return null}).filter(function(item){return item}).sort(function(a,b){return a[0]-b[0]}).foreach(function(item){_this2._offsets.push(item[0]);_this2._targets.push(item[1])})};_proto.dispose=function dispose(){$__default["default"].removedata(this._element,data_key$2);$__default["default"](this._scrollelement).off(event_key$2);this._element=null;this._scrollelement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activetarget=null;this._scrollheight=null};_proto._getconfig=function _getconfig(config){config=_extends$1({},default$1,typeof config==='object'&&config?config:{});if(typeof config.target!=='string'&&util.iselement(config.target)){var id=$__default["default"](config.target).attr('id');if(!id){id=util.getuid(name$2);$__default["default"](config.target).attr('id',id)}config.target="#"+id}util.typecheckconfig(name$2,config,defaulttype$1);return config};_proto._getscrolltop=function _getscrolltop(){return this._scrollelement===window?this._scrollelement.pageyoffset:this._scrollelement.scrolltop};_proto._getscrollheight=function _getscrollheight(){return this._scrollelement.scrollheight||math.max(document.body.scrollheight,document.documentelement.scrollheight)};_proto._getoffsetheight=function _getoffsetheight(){return this._scrollelement===window?window.innerheight:this._scrollelement.getboundingclientrect().height};_proto._process=function _process(){var scrolltop=this._getscrolltop()+this._config.offset;var scrollheight=this._getscrollheight();var maxscroll=this._config.offset+scrollheight-this._getoffsetheight();if(this._scrollheight!==scrollheight){this.refresh()}if(scrolltop>=maxscroll){var target=this._targets[this._targets.length-1];if(this._activetarget!==target){this._activate(target)}return}if(this._activetarget&&scrolltop0){this._activetarget=null;this._clear();return}for(var i=this._offsets.length;i--;){var isactivetarget=this._activetarget!==this._targets[i]&&scrolltop>=this._offsets[i]&&(typeof this._offsets[i+1]==='undefined'||scrolltopb.$items.length&&(b.s.preload=b.$items.length);var c=window.location.hash;c.indexof("lg="+this.s.galleryid)>0&&(b.index=parseint(c.split("&slide=")[1],10),a("body").addclass("lg-from-hash"),a("body").hasclass("lg-on")||(settimeout(function(){b.build(b.index)}),a("body").addclass("lg-on"))),b.s.dynamic?(b.$el.trigger("onbeforeopen.lg"),b.index=b.s.index||0,a("body").hasclass("lg-on")||settimeout(function(){b.build(b.index),a("body").addclass("lg-on")})):b.$items.on("click.lgcustom",function(c){try{c.preventdefault(),c.preventdefault()}catch(a){c.returnvalue=!1}b.$el.trigger("onbeforeopen.lg"),b.index=b.s.index||b.$items.index(this),a("body").hasclass("lg-on")||(b.build(b.index),a("body").addclass("lg-on"))})},b.prototype.build=function(b){var c=this;c.structure(),a.each(a.fn.lightgallery.modules,function(b){c.modules[b]=new a.fn.lightgallery.modules[b](c.el)}),c.slide(b,!1,!1,!1),c.s.keypress&&c.keypress(),c.$items.length>1?(c.arrow(),settimeout(function(){c.enabledrag(),c.enableswipe()},50),c.s.mousewheel&&c.mousewheel()):c.$slide.on("click.lg",function(){c.$el.trigger("onslideclick.lg")}),c.counter(),c.closegallery(),c.$el.trigger("onafteropen.lg"),c.s.hidebarsdelay>0&&c.$outer.on("mousemove.lg click.lg touchstart.lg",function(){c.$outer.removeclass("lg-hide-items"),cleartimeout(c.hidebartimeout),c.hidebartimeout=settimeout(function(){c.$outer.addclass("lg-hide-items")},c.s.hidebarsdelay)}),c.$outer.trigger("mousemove.lg")},b.prototype.structure=function(){var b,c="",d="",e=0,f="",g=this;for(a("body").append('
'),a(".lg-backdrop").css("transition-duration",this.s.backdropduration+"ms"),e=0;e';if(this.s.controls&&this.$items.length>1&&(d='
"),".lg-sub-html"===this.s.appendsubhtmlto&&(f='
'),b='",a("body").append(b),this.$outer=a(".lg-outer"),this.$outer.focus(),this.$slide=this.$outer.find(".lg-item"),this.s.useleft?(this.$outer.addclass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addclass("lg-use-css3"),g.settop(),a(window).on("resize.lg orientationchange.lg",function(){settimeout(function(){g.settop()},100)}),this.$slide.eq(this.index).addclass("lg-current"),this.docss()?this.$outer.addclass("lg-css3"):(this.$outer.addclass("lg-css"),this.s.speed=0),this.$outer.addclass(this.s.mode),this.s.enabledrag&&this.$items.length>1&&this.$outer.addclass("lg-grab"),this.s.showafterload&&this.$outer.addclass("lg-show-after-load"),this.docss()){var h=this.$outer.find(".lg-inner");h.css("transition-timing-function",this.s.csseasing),h.css("transition-duration",this.s.speed+"ms")}settimeout(function(){a(".lg-backdrop").addclass("in")}),settimeout(function(){g.$outer.addclass("lg-visible")},this.s.backdropduration),this.s.download&&this.$outer.find(".lg-toolbar").append(''),this.prevscrolltop=a(window).scrolltop()},b.prototype.settop=function(){if("100%"!==this.s.height){var b=a(window).height(),c=(b-parseint(this.s.height,10))/2,d=this.$outer.find(".lg");b>=parseint(this.s.height,10)?d.css("top",c+"px"):d.css("top","0px")}},b.prototype.docss=function(){return!!function(){var a=["transition","moztransition","webkittransition","otransition","mstransition","khtmltransition"],b=document.documentelement,c=0;for(c=0;c'+(parseint(this.index,10)+1)+' / '+this.$items.length+"")},b.prototype.addhtml=function(b){var c,d,e=null;if(this.s.dynamic?this.s.dynamicel[b].subhtmlurl?c=this.s.dynamicel[b].subhtmlurl:e=this.s.dynamicel[b].subhtml:(d=this.$items.eq(b),d.attr("data-sub-html-url")?c=d.attr("data-sub-html-url"):(e=d.attr("data-sub-html"),this.s.getcaptionfromtitleoralt&&!e&&(e=d.attr("title")||d.find("img").first().attr("alt")))),!c)if(void 0!==e&&null!==e){var f=e.substring(0,1);"."!==f&&"#"!==f||(e=this.s.subhtmlselectorrelative&&!this.s.dynamic?d.find(e).html():a(e).html())}else e="";".lg-sub-html"===this.s.appendsubhtmlto?c?this.$outer.find(this.s.appendsubhtmlto).load(c):this.$outer.find(this.s.appendsubhtmlto).html(e):c?this.$slide.eq(b).load(c):this.$slide.eq(b).append(e),void 0!==e&&null!==e&&(""===e?this.$outer.find(this.s.appendsubhtmlto).addclass("lg-empty-html"):this.$outer.find(this.s.appendsubhtmlto).removeclass("lg-empty-html")),this.$el.trigger("onafterappendsubhtml.lg",[b])},b.prototype.preload=function(a){var b=1,c=1;for(b=1;b<=this.s.preload&&!(b>=this.$items.length-a);b++)this.loadcontent(a+b,!1,0);for(c=1;c<=this.s.preload&&!(a-c<0);c++)this.loadcontent(a-c,!1,0)},b.prototype.loadcontent=function(b,c,d){var e,f,g,h,i,j,k,l=this,m=!1,n=function(b){for(var c=[],d=[],e=0;eh){f=d[i];break}};if(l.s.dynamic){if(l.s.dynamicel[b].poster&&(m=!0,g=l.s.dynamicel[b].poster),j=l.s.dynamicel[b].html,f=l.s.dynamicel[b].src,k=l.s.dynamicel[b].alt,l.s.dynamicel[b].responsive){n(l.s.dynamicel[b].responsive.split(","))}h=l.s.dynamicel[b].srcset,i=l.s.dynamicel[b].sizes}else{var o=l.$items.eq(b);if(o.attr("data-poster")&&(m=!0,g=o.attr("data-poster")),j=o.attr("data-html"),f=o.attr("href")||o.attr("data-src"),k=o.attr("title")||o.find("img").first().attr("alt"),o.attr("data-responsive")){n(o.attr("data-responsive").split(","))}h=o.attr("data-srcset"),i=o.attr("data-sizes")}var p=!1;l.s.dynamic?l.s.dynamicel[b].iframe&&(p=!0):"true"===l.$items.eq(b).attr("data-iframe")&&(p=!0);var q=l.isvideo(f,b);if(!l.$slide.eq(b).hasclass("lg-loaded")){if(p)l.$slide.eq(b).prepend('
');else if(m){var r="";r=q&&q.youtube?"lg-has-youtube":q&&q.vimeo?"lg-has-vimeo":"lg-has-html5",l.$slide.eq(b).prepend('
')}else q?(l.$slide.eq(b).prepend('
'),l.$el.trigger("hasvideo.lg",[b,f,j])):(k=k?'alt="'+k+'"':"",l.$slide.eq(b).prepend('
'));if(l.$el.trigger("onaferappendslide.lg",[b]),e=l.$slide.eq(b).find(".lg-object"),i&&e.attr("sizes",i),h&&(e.attr("srcset",h),this.s.supportlegacybrowser))try{picturefill({elements:[e[0]]})}catch(a){console.warn("lightgallery :- if you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.")}".lg-sub-html"!==this.s.appendsubhtmlto&&l.addhtml(b),l.$slide.eq(b).addclass("lg-loaded")}l.$slide.eq(b).find(".lg-object").on("load.lg error.lg",function(){var c=0;d&&!a("body").hasclass("lg-from-hash")&&(c=d),settimeout(function(){l.$slide.eq(b).addclass("lg-complete"),l.$el.trigger("onslideitemload.lg",[b,d||0])},c)}),q&&q.html5&&!m&&l.$slide.eq(b).addclass("lg-complete"),!0===c&&(l.$slide.eq(b).hasclass("lg-complete")?l.preload(b):l.$slide.eq(b).find(".lg-object").on("load.lg error.lg",function(){l.preload(b)}))},b.prototype.slide=function(b,c,d,e){var f=this.$outer.find(".lg-current").index(),g=this;if(!g.lgalleryon||f!==b){var h=this.$slide.length,i=g.lgalleryon?this.s.speed:0;if(!g.lgbusy){if(this.s.download){var j;j=g.s.dynamic?!1!==g.s.dynamicel[b].downloadurl&&(g.s.dynamicel[b].downloadurl||g.s.dynamicel[b].src):"false"!==g.$items.eq(b).attr("data-download-url")&&(g.$items.eq(b).attr("data-download-url")||g.$items.eq(b).attr("href")||g.$items.eq(b).attr("data-src")),j?(a("#lg-download").attr("href",j),g.$outer.removeclass("lg-hide-download")):g.$outer.addclass("lg-hide-download")}if(this.$el.trigger("onbeforeslide.lg",[f,b,c,d]),g.lgbusy=!0,cleartimeout(g.hidebartimeout),".lg-sub-html"===this.s.appendsubhtmlto&&settimeout(function(){g.addhtml(b)},i),this.arrowdisable(b),e||(bf&&(e="next")),c){this.$slide.removeclass("lg-prev-slide lg-current lg-next-slide");var k,l;h>2?(k=b-1,l=b+1,0===b&&f===h-1?(l=0,k=h-1):b===h-1&&0===f&&(l=0,k=h-1)):(k=0,l=1),"prev"===e?g.$slide.eq(l).addclass("lg-next-slide"):g.$slide.eq(k).addclass("lg-prev-slide"),g.$slide.eq(b).addclass("lg-current")}else g.$outer.addclass("lg-no-trans"),this.$slide.removeclass("lg-prev-slide lg-next-slide"),"prev"===e?(this.$slide.eq(b).addclass("lg-prev-slide"),this.$slide.eq(f).addclass("lg-next-slide")):(this.$slide.eq(b).addclass("lg-next-slide"),this.$slide.eq(f).addclass("lg-prev-slide")),settimeout(function(){g.$slide.removeclass("lg-current"),g.$slide.eq(b).addclass("lg-current"),g.$outer.removeclass("lg-no-trans")},50);g.lgalleryon?(settimeout(function(){g.loadcontent(b,!0,0)},this.s.speed+50),settimeout(function(){g.lgbusy=!1,g.$el.trigger("onafterslide.lg",[f,b,c,d])},this.s.speed)):(g.loadcontent(b,!0,g.s.backdropduration),g.lgbusy=!1,g.$el.trigger("onafterslide.lg",[f,b,c,d])),g.lgalleryon=!0,this.s.counter&&a("#lg-counter-current").text(b+1)}g.index=b}},b.prototype.gotonextslide=function(a){var b=this,c=b.s.loop;a&&b.$slide.length<3&&(c=!1),b.lgbusy||(b.index+10?(b.index--,b.$el.trigger("onbeforeprevslide.lg",[b.index,a]),b.slide(b.index,a,!1,"prev")):c?(b.index=b.$items.length-1,b.$el.trigger("onbeforeprevslide.lg",[b.index,a]),b.slide(b.index,a,!1,"prev")):b.s.slideendanimatoin&&!a&&(b.$outer.addclass("lg-left-end"),settimeout(function(){b.$outer.removeclass("lg-left-end")},400)))},b.prototype.keypress=function(){var b=this;this.$items.length>1&&a(window).on("keyup.lg",function(a){b.$items.length>1&&(37===a.keycode&&(a.preventdefault(),b.gotoprevslide()),39===a.keycode&&(a.preventdefault(),b.gotonextslide()))}),a(window).on("keydown.lg",function(a){!0===b.s.esckey&&27===a.keycode&&(a.preventdefault(),b.$outer.hasclass("lg-thumb-open")?b.$outer.removeclass("lg-thumb-open"):b.destroy())})},b.prototype.arrow=function(){var a=this;this.$outer.find(".lg-prev").on("click.lg",function(){a.gotoprevslide()}),this.$outer.find(".lg-next").on("click.lg",function(){a.gotonextslide()})},b.prototype.arrowdisable=function(a){!this.s.loop&&this.s.hidecontrolonend&&(a+10?this.$outer.find(".lg-prev").removeattr("disabled").removeclass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addclass("disabled"))},b.prototype.settranslate=function(a,b,c){this.s.useleft?a.css("left",b):a.css({transform:"translate3d("+b+"px, "+c+"px, 0px)"})},b.prototype.touchmove=function(b,c){var d=c-b;math.abs(d)>15&&(this.$outer.addclass("lg-dragging"),this.settranslate(this.$slide.eq(this.index),d,0),this.settranslate(a(".lg-prev-slide"),-this.$slide.eq(this.index).width()+d,0),this.settranslate(a(".lg-next-slide"),this.$slide.eq(this.index).width()+d,0))},b.prototype.touchend=function(a){var b=this;"lg-slide"!==b.s.mode&&b.$outer.addclass("lg-slide"),this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0"),settimeout(function(){b.$outer.removeclass("lg-dragging"),a<0&&math.abs(a)>b.s.swipethreshold?b.gotonextslide(!0):a>0&&math.abs(a)>b.s.swipethreshold?b.gotoprevslide(!0):math.abs(a)<5&&b.$el.trigger("onslideclick.lg"),b.$slide.removeattr("style")}),settimeout(function(){b.$outer.hasclass("lg-dragging")||"lg-slide"===b.s.mode||b.$outer.removeclass("lg-slide")},b.s.speed+100)},b.prototype.enableswipe=function(){var a=this,b=0,c=0,d=!1;a.s.enableswipe&&a.docss()&&(a.$slide.on("touchstart.lg",function(c){a.$outer.hasclass("lg-zoomed")||a.lgbusy||(c.preventdefault(),a.manageswipeclass(),b=c.originalevent.targettouches[0].pagex)}),a.$slide.on("touchmove.lg",function(e){a.$outer.hasclass("lg-zoomed")||(e.preventdefault(),c=e.originalevent.targettouches[0].pagex,a.touchmove(b,c),d=!0)}),a.$slide.on("touchend.lg",function(){a.$outer.hasclass("lg-zoomed")||(d?(d=!1,a.touchend(c-b)):a.$el.trigger("onslideclick.lg"))}))},b.prototype.enabledrag=function(){var b=this,c=0,d=0,e=!1,f=!1;b.s.enabledrag&&b.docss()&&(b.$slide.on("mousedown.lg",function(d){b.$outer.hasclass("lg-zoomed")||b.lgbusy||a(d.target).text().trim()||(d.preventdefault(),b.manageswipeclass(),c=d.pagex,e=!0,b.$outer.scrollleft+=1,b.$outer.scrollleft-=1,b.$outer.removeclass("lg-grab").addclass("lg-grabbing"),b.$el.trigger("ondragstart.lg"))}),a(window).on("mousemove.lg",function(a){e&&(f=!0,d=a.pagex,b.touchmove(c,d),b.$el.trigger("ondragmove.lg"))}),a(window).on("mouseup.lg",function(g){f?(f=!1,b.touchend(d-c),b.$el.trigger("ondragend.lg")):(a(g.target).hasclass("lg-object")||a(g.target).hasclass("lg-video-play"))&&b.$el.trigger("onslideclick.lg"),e&&(e=!1,b.$outer.removeclass("lg-grabbing").addclass("lg-grab"))}))},b.prototype.manageswipeclass=function(){var a=this.index+1,b=this.index-1;this.s.loop&&this.$slide.length>2&&(0===this.index?b=this.$slide.length-1:this.index===this.$slide.length-1&&(a=0)),this.$slide.removeclass("lg-next-slide lg-prev-slide"),b>-1&&this.$slide.eq(b).addclass("lg-prev-slide"),this.$slide.eq(a).addclass("lg-next-slide")},b.prototype.mousewheel=function(){var a=this;a.$outer.on("mousewheel.lg",function(b){b.deltay&&(b.deltay>0?a.gotoprevslide():a.gotonextslide(),b.preventdefault())})},b.prototype.closegallery=function(){var b=this,c=!1;this.$outer.find(".lg-close").on("click.lg",function(){b.destroy()}),b.s.closable&&(b.$outer.on("mousedown.lg",function(b){c=!!(a(b.target).is(".lg-outer")||a(b.target).is(".lg-item ")||a(b.target).is(".lg-img-wrap"))}),b.$outer.on("mousemove.lg",function(){c=!1}),b.$outer.on("mouseup.lg",function(d){(a(d.target).is(".lg-outer")||a(d.target).is(".lg-item ")||a(d.target).is(".lg-img-wrap")&&c)&&(b.$outer.hasclass("lg-dragging")||b.destroy())}))},b.prototype.destroy=function(b){var c=this;b||(c.$el.trigger("onbeforeclose.lg"),a(window).scrolltop(c.prevscrolltop)),b&&(c.s.dynamic||this.$items.off("click.lg click.lgcustom"),a.removedata(c.el,"lightgallery")),this.$el.off(".lg.tm"),a.each(a.fn.lightgallery.modules,function(a){c.modules[a]&&c.modules[a].destroy()}),this.lgalleryon=!1,cleartimeout(c.hidebartimeout),this.hidebartimeout=!1,a(window).off(".lg"),a("body").removeclass("lg-on lg-from-hash"),c.$outer&&c.$outer.removeclass("lg-visible"),a(".lg-backdrop").removeclass("in"),settimeout(function(){c.$outer&&c.$outer.remove(),a(".lg-backdrop").remove(),b||c.$el.trigger("oncloseafter.lg"),c.$el.focus()},c.s.backdropduration+50)},a.fn.lightgallery=function(c){return this.each(function(){if(a.data(this,"lightgallery"))try{a(this).data("lightgallery").init()}catch(a){console.error("lightgallery has not initiated properly",a)}else a.data(this,"lightgallery",new b(this,c))})},a.fn.lightgallery.modules={}}()}); /** * @module swiper * @version 8.3.0 */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalthis?globalthis:e||self).swiper=t()}(this,(function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===object}function t(s,a){void 0===s&&(s={}),void 0===a&&(a={}),object.keys(a).foreach((i=>{void 0===s[i]?s[i]=a[i]:e(a[i])&&e(s[i])&&object.keys(a[i]).length>0&&t(s[i],a[i])}))}const s={body:{},addeventlistener(){},removeeventlistener(){},activeelement:{blur(){},nodename:""},queryselector:()=>null,queryselectorall:()=>[],getelementbyid:()=>null,createevent:()=>({initevent(){}}),createelement:()=>({children:[],childnodes:[],style:{},setattribute(){},getelementsbytagname:()=>[]}),createelementns:()=>({}),importnode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return t(e,s),e}const i={document:s,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,i),e}class n extends array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;object.defineproperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function l(e){void 0===e&&(e=[]);const t=[];return e.foreach((e=>{array.isarray(e)?t.push(...l(e)):t.push(e)})),t}function o(e,t){return array.prototype.filter.call(e,t)}function d(e,t){const s=r(),i=a();let l=[];if(!t&&e instanceof n)return e;if(!e)return new n(l);if("string"==typeof e){const s=e.trim();if(s.indexof("<")>=0&&s.indexof(">")>=0){let e="div";0===s.indexof("e.split(" "))));return this.foreach((e=>{e.classlist.add(...a)})),this},removeclass:function(){for(var e=arguments.length,t=new array(e),s=0;se.split(" "))));return this.foreach((e=>{e.classlist.remove(...a)})),this},hasclass:function(){for(var e=arguments.length,t=new array(e),s=0;se.split(" "))));return o(this,(e=>a.filter((t=>e.classlist.contains(t))).length>0)).length>0},toggleclass:function(){for(var e=arguments.length,t=new array(e),s=0;se.split(" "))));this.foreach((e=>{a.foreach((t=>{e.classlist.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getattribute(e):void 0;for(let s=0;s=0;e-=1){const i=a[e];r&&i.listener===r||r&&i.listener&&i.listener.dom7proxy&&i.listener.dom7proxy===r?(s.removeeventlistener(t,i.proxylistener,n),a.splice(e,1)):r||(s.removeeventlistener(t,i.proxylistener,n),a.splice(e,1))}}}return this},trigger:function(){const e=r();for(var t=arguments.length,s=new array(t),a=0;at>0)),i.dispatchevent(t),i.dom7eventdata=[],delete i.dom7eventdata}}}return this},transitionend:function(e){const t=this;return e&&t.on("transitionend",(function s(a){a.target===this&&(e.call(this,a),t.off("transitionend",s))})),this},outerwidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetwidth+parsefloat(e.getpropertyvalue("margin-right"))+parsefloat(e.getpropertyvalue("margin-left"))}return this[0].offsetwidth}return null},outerheight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetheight+parsefloat(e.getpropertyvalue("margin-top"))+parsefloat(e.getpropertyvalue("margin-bottom"))}return this[0].offsetheight}return null},styles:function(){const e=r();return this[0]?e.getcomputedstyle(this[0],null):{}},offset:function(){if(this.length>0){const e=r(),t=a(),s=this[0],i=s.getboundingclientrect(),n=t.body,l=s.clienttop||n.clienttop||0,o=s.clientleft||n.clientleft||0,d=s===e?e.scrolly:s.scrolltop,c=s===e?e.scrollx:s.scrollleft;return{top:i.top+d-l,left:i.left+c-o}}return null},css:function(e,t){const s=r();let a;if(1===arguments.length){if("string"!=typeof e){for(a=0;a{e.apply(t,[t,s])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerhtml:null;for(let t=0;tt-1)return d([]);if(e<0){const s=t+e;return d(s<0?[]:[this[s]])}return d([this[e]])},append:function(){let e;const t=a();for(let s=0;s=0;i-=1)this[s].insertbefore(a.childnodes[i],this[s].childnodes[0])}else if(e instanceof n)for(i=0;i0?e?this[0].nextelementsibling&&d(this[0].nextelementsibling).is(e)?d([this[0].nextelementsibling]):d([]):this[0].nextelementsibling?d([this[0].nextelementsibling]):d([]):d([])},nextall:function(e){const t=[];let s=this[0];if(!s)return d([]);for(;s.nextelementsibling;){const a=s.nextelementsibling;e?d(a).is(e)&&t.push(a):t.push(a),s=a}return d(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previouselementsibling&&d(t.previouselementsibling).is(e)?d([t.previouselementsibling]):d([]):t.previouselementsibling?d([t.previouselementsibling]):d([])}return d([])},prevall:function(e){const t=[];let s=this[0];if(!s)return d([]);for(;s.previouselementsibling;){const a=s.previouselementsibling;e?d(a).is(e)&&t.push(a):t.push(a),s=a}return d(t)},parent:function(e){const t=[];for(let s=0;s6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.webkitcssmatrix("none"===i?"":i)):(n=l.moztransform||l.otransform||l.mstransform||l.mstransform||l.transform||l.getpropertyvalue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=n.tostring().split(",")),"x"===t&&(i=s.webkitcssmatrix?n.m41:16===a.length?parsefloat(a[12]):parsefloat(a[4])),"y"===t&&(i=s.webkitcssmatrix?n.m42:16===a.length?parsefloat(a[13]):parsefloat(a[5])),i||0}function m(e){return"object"==typeof e&&null!==e&&e.constructor&&"object"===object.prototype.tostring.call(e).slice(8,-1)}function f(e){return"undefined"!=typeof window&&void 0!==window.htmlelement?e instanceof htmlelement:e&&(1===e.nodetype||11===e.nodetype)}function g(){const e=object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let s=1;st.indexof(e)<0));for(let t=0,i=s.length;tn?"next":"prev",p=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{l=(new date).gettime(),null===o&&(o=l);const e=math.max(math.min((l-o)/d,1),0),r=.5-math.cos(e*math.pi)/2;let c=n+r*(s-n);if(p(c,s)&&(c=s),t.wrapperel.scrollto({[a]:c}),p(c,s))return t.wrapperel.style.overflow="hidden",t.wrapperel.style.scrollsnaptype="",settimeout((()=>{t.wrapperel.style.overflow="",t.wrapperel.scrollto({[a]:c})})),void i.cancelanimationframe(t.cssmodeframeid);t.cssmodeframeid=i.requestanimationframe(u)};u()}let b,x,y;function e(){return b||(b=function(){const e=r(),t=a();return{smoothscroll:t.documentelement&&"scrollbehavior"in t.documentelement.style,touch:!!("ontouchstart"in e||e.documenttouch&&t instanceof e.documenttouch),passivelistener:function(){let t=!1;try{const s=object.defineproperty({},"passive",{get(){t=!0}});e.addeventlistener("testpassivelistener",null,s)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),b}function c(e){return void 0===e&&(e={}),x||(x=function(e){let{useragent:t}=void 0===e?{}:e;const s=e(),a=r(),i=a.navigator.platform,n=t||a.navigator.useragent,l={ios:!1,android:!1},o=a.screen.width,d=a.screen.height,c=n.match(/(android);?[\s\/]+([\d.]+)?/);let p=n.match(/(ipad).*os\s([\d_]+)/);const u=n.match(/(ipod)(.*os\s([\d_]+))?/),h=!p&&n.match(/(iphone\sos|ios)\s([\d_]+)/),m="win32"===i;let f="macintel"===i;return!p&&f&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexof(`${o}x${d}`)>=0&&(p=n.match(/(version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),c&&!m&&(l.os="android",l.android=!0),(p||h||u)&&(l.os="ios",l.ios=!0),l}(e)),x}function t(){return y||(y=function(){const e=r();return{issafari:function(){const t=e.navigator.useragent.tolowercase();return t.indexof("safari")>=0&&t.indexof("chrome")<0&&t.indexof("android")<0}(),iswebview:/(iphone|ipod|ipad).*applewebkit(?!.*safari)/i.test(e.navigator.useragent)}}()),y}object.keys(c).foreach((e=>{object.defineproperty(d.fn,e,{value:c[e],writable:!0})}));var $={on(e,t,s){const a=this;if(!a.eventslisteners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").foreach((e=>{a.eventslisteners[e]||(a.eventslisteners[e]=[]),a.eventslisteners[e][i](t)})),a},once(e,t,s){const a=this;if(!a.eventslisteners||a.destroyed)return a;if("function"!=typeof t)return a;function i(){a.off(e,i),i.__emitterproxy&&delete i.__emitterproxy;for(var s=arguments.length,r=new array(s),n=0;n=0&&t.eventsanylisteners.splice(s,1),t},off(e,t){const s=this;return!s.eventslisteners||s.destroyed?s:s.eventslisteners?(e.split(" ").foreach((e=>{void 0===t?s.eventslisteners[e]=[]:s.eventslisteners[e]&&s.eventslisteners[e].foreach(((a,i)=>{(a===t||a.__emitterproxy&&a.__emitterproxy===t)&&s.eventslisteners[e].splice(i,1)}))})),s):s},emit(){const e=this;if(!e.eventslisteners||e.destroyed)return e;if(!e.eventslisteners)return e;let t,s,a;for(var i=arguments.length,r=new array(i),n=0;n{e.eventsanylisteners&&e.eventsanylisteners.length&&e.eventsanylisteners.foreach((e=>{e.apply(a,[t,...s])})),e.eventslisteners&&e.eventslisteners[t]&&e.eventslisteners[t].foreach((e=>{e.apply(a,s)}))})),e}};var s={updatesize:function(){const e=this;let t,s;const a=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a[0].clientwidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a[0].clientheight,0===t&&e.ishorizontal()||0===s&&e.isvertical()||(t=t-parseint(a.css("padding-left")||0,10)-parseint(a.css("padding-right")||0,10),s=s-parseint(a.css("padding-top")||0,10)-parseint(a.css("padding-bottom")||0,10),number.isnan(t)&&(t=0),number.isnan(s)&&(s=0),object.assign(e,{width:t,height:s,size:e.ishorizontal()?t:s}))},updateslides:function(){const e=this;function t(t){return e.ishorizontal()?t:{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"}[t]}function s(e,s){return parsefloat(e.getpropertyvalue(t(s))||0)}const a=e.params,{$wrapperel:i,size:r,rtltranslate:n,wrongrtl:l}=e,o=e.virtual&&a.virtual.enabled,d=o?e.virtual.slides.length:e.slides.length,c=i.children(`.${e.params.slideclass}`),p=o?e.virtual.slides.length:c.length;let u=[];const h=[],m=[];let f=a.slidesoffsetbefore;"function"==typeof f&&(f=a.slidesoffsetbefore.call(e));let g=a.slidesoffsetafter;"function"==typeof g&&(g=a.slidesoffsetafter.call(e));const w=e.snapgrid.length,b=e.slidesgrid.length;let x=a.spacebetween,y=-f,e=0,c=0;if(void 0===r)return;"string"==typeof x&&x.indexof("%")>=0&&(x=parsefloat(x.replace("%",""))/100*r),e.virtualsize=-x,n?c.css({marginleft:"",marginbottom:"",margintop:""}):c.css({marginright:"",marginbottom:"",margintop:""}),a.centeredslides&&a.cssmode&&(v(e.wrapperel,"--swiper-centered-offset-before",""),v(e.wrapperel,"--swiper-centered-offset-after",""));const t=a.grid&&a.grid.rows>1&&e.grid;let $;t&&e.grid.initslides(p);const s="auto"===a.slidesperview&&a.breakpoints&&object.keys(a.breakpoints).filter((e=>void 0!==a.breakpoints[e].slidesperview)).length>0;for(let i=0;i1&&u.push(e.virtualsize-r)}if(0===u.length&&(u=[0]),0!==a.spacebetween){const s=e.ishorizontal()&&n?"marginleft":t("marginright");c.filter(((e,t)=>!a.cssmode||t!==c.length-1)).css({[s]:`${x}px`})}if(a.centeredslides&&a.centeredslidesbounds){let e=0;m.foreach((t=>{e+=t+(a.spacebetween?a.spacebetween:0)})),e-=a.spacebetween;const t=e-r;u=u.map((e=>e<0?-f:e>t?t+g:e))}if(a.centerinsufficientslides){let e=0;if(m.foreach((t=>{e+=t+(a.spacebetween?a.spacebetween:0)})),e-=a.spacebetween,e{u[s]=e-t})),h.foreach(((e,s)=>{h[s]=e+t}))}}if(object.assign(e,{slides:c,snapgrid:u,slidesgrid:h,slidessizesgrid:m}),a.centeredslides&&a.cssmode&&!a.centeredslidesbounds){v(e.wrapperel,"--swiper-centered-offset-before",-u[0]+"px"),v(e.wrapperel,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapgrid[0],s=-e.slidesgrid[0];e.snapgrid=e.snapgrid.map((e=>e+t)),e.slidesgrid=e.slidesgrid.map((e=>e+s))}if(p!==d&&e.emit("slideslengthchange"),u.length!==w&&(e.params.watchoverflow&&e.checkoverflow(),e.emit("snapgridlengthchange")),h.length!==b&&e.emit("slidesgridlengthchange"),a.watchslidesprogress&&e.updateslidesoffset(),!(o||a.cssmode||"slide"!==a.effect&&"fade"!==a.effect)){const t=`${a.containermodifierclass}backface-hidden`,s=e.$el.hasclass(t);p<=a.maxbackfacehiddenslides?s||e.$el.addclass(t):s&&e.$el.removeclass(t)}},updateautoheight:function(e){const t=this,s=[],a=t.virtual&&t.params.virtual.enabled;let i,r=0;"number"==typeof e?t.settransition(e):!0===e&&t.settransition(t.params.speed);const n=e=>a?t.slides.filter((t=>parseint(t.getattribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesperview&&t.params.slidesperview>1)if(t.params.centeredslides)(t.visibleslides||d([])).each((e=>{s.push(e)}));else for(i=0;it.slides.length&&!a)break;s.push(n(e))}else s.push(n(t.activeindex));for(i=0;ir?e:r}(r||0===r)&&t.$wrapperel.css("height",`${r}px`)},updateslidesoffset:function(){const e=this,t=e.slides;for(let s=0;s=0&&p1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleslides.push(l),t.visibleslidesindexes.push(e),a.eq(e).addclass(s.slidevisibleclass)),l.progress=i?-d:d,l.originalprogress=i?-c:c}t.visibleslides=d(t.visibleslides)},updateprogress:function(e){const t=this;if(void 0===e){const s=t.rtltranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxtranslate()-t.mintranslate();let{progress:i,isbeginning:r,isend:n}=t;const l=r,o=n;0===a?(i=0,r=!0,n=!0):(i=(e-t.mintranslate())/a,r=i<=0,n=i>=1),object.assign(t,{progress:i,isbeginning:r,isend:n}),(s.watchslidesprogress||s.centeredslides&&s.autoheight)&&t.updateslidesprogress(e),r&&!l&&t.emit("reachbeginning toedge"),n&&!o&&t.emit("reachend toedge"),(l&&!r||o&&!n)&&t.emit("fromedge"),t.emit("progress",i)},updateslidesclasses:function(){const e=this,{slides:t,params:s,$wrapperel:a,activeindex:i,realindex:r}=e,n=e.virtual&&s.virtual.enabled;let l;t.removeclass(`${s.slideactiveclass} ${s.slidenextclass} ${s.slideprevclass} ${s.slideduplicateactiveclass} ${s.slideduplicatenextclass} ${s.slideduplicateprevclass}`),l=n?e.$wrapperel.find(`.${s.slideclass}[data-swiper-slide-index="${i}"]`):t.eq(i),l.addclass(s.slideactiveclass),s.loop&&(l.hasclass(s.slideduplicateclass)?a.children(`.${s.slideclass}:not(.${s.slideduplicateclass})[data-swiper-slide-index="${r}"]`).addclass(s.slideduplicateactiveclass):a.children(`.${s.slideclass}.${s.slideduplicateclass}[data-swiper-slide-index="${r}"]`).addclass(s.slideduplicateactiveclass));let o=l.nextall(`.${s.slideclass}`).eq(0).addclass(s.slidenextclass);s.loop&&0===o.length&&(o=t.eq(0),o.addclass(s.slidenextclass));let d=l.prevall(`.${s.slideclass}`).eq(0).addclass(s.slideprevclass);s.loop&&0===d.length&&(d=t.eq(-1),d.addclass(s.slideprevclass)),s.loop&&(o.hasclass(s.slideduplicateclass)?a.children(`.${s.slideclass}:not(.${s.slideduplicateclass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addclass(s.slideduplicatenextclass):a.children(`.${s.slideclass}.${s.slideduplicateclass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addclass(s.slideduplicatenextclass),d.hasclass(s.slideduplicateclass)?a.children(`.${s.slideclass}:not(.${s.slideduplicateclass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addclass(s.slideduplicateprevclass):a.children(`.${s.slideclass}.${s.slideduplicateclass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addclass(s.slideduplicateprevclass)),e.emitslidesclasses()},updateactiveindex:function(e){const t=this,s=t.rtltranslate?t.translate:-t.translate,{slidesgrid:a,snapgrid:i,params:r,activeindex:n,realindex:l,snapindex:o}=t;let d,c=e;if(void 0===c){for(let e=0;e=a[e]&&s=a[e]&&s=a[e]&&(c=e);r.normalizeslideindex&&(c<0||void 0===c)&&(c=0)}if(i.indexof(s)>=0)d=i.indexof(s);else{const e=math.min(r.slidespergroupskip,c);d=e+math.floor((c-e)/r.slidespergroup)}if(d>=i.length&&(d=i.length-1),c===n)return void(d!==o&&(t.snapindex=d,t.emit("snapindexchange")));const p=parseint(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);object.assign(t,{snapindex:d,realindex:p,previousindex:n,activeindex:c}),t.emit("activeindexchange"),t.emit("snapindexchange"),l!==p&&t.emit("realindexchange"),(t.initialized||t.params.runcallbacksoninit)&&t.emit("slidechange")},updateclickedslide:function(e){const t=this,s=t.params,a=d(e).closest(`.${s.slideclass}`)[0];let i,r=!1;if(a)for(let e=0;eo?o:a&&en?"next":r=o.length&&(g=o.length-1),(p||l.initialslide||0)===(c||0)&&s&&r.emit("beforeslidechangestart");const v=-o[g];if(r.updateprogress(v),l.normalizeslideindex)for(let e=0;e=s&&t=s&&t=s&&(n=e)}if(r.initialized&&n!==p){if(!r.allowslidenext&&vr.translate&&v>r.maxtranslate()&&(p||0)!==n)return!1}let b;if(b=n>p?"next":n{r.wrapperel.style.scrollsnaptype="",r._swiperimmediatevirtual=!1}))}else{if(!r.support.smoothscroll)return w({swiper:r,targetposition:s,side:e?"left":"top"}),!0;h.scrollto({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return r.settransition(t),r.settranslate(v),r.updateactiveindex(n),r.updateslidesclasses(),r.emit("beforetransitionstart",t,a),r.transitionstart(s,b),0===t?r.transitionend(s,b):r.animating||(r.animating=!0,r.onslidetowrappertransitionend||(r.onslidetowrappertransitionend=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperel[0].removeeventlistener("transitionend",r.onslidetowrappertransitionend),r.$wrapperel[0].removeeventlistener("webkittransitionend",r.onslidetowrappertransitionend),r.onslidetowrappertransitionend=null,delete r.onslidetowrappertransitionend,r.transitionend(s,b))}),r.$wrapperel[0].addeventlistener("transitionend",r.onslidetowrappertransitionend),r.$wrapperel[0].addeventlistener("webkittransitionend",r.onslidetowrappertransitionend)),!0},slidetoloop:function(e,t,s,a){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof e){const t=parseint(e,10);if(!isfinite(t))throw new error(`the passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let r=e;return i.params.loop&&(r+=i.loopedslides),i.slideto(r,t,s,a)},slidenext:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const a=this,{animating:i,enabled:r,params:n}=a;if(!r)return a;let l=n.slidespergroup;"auto"===n.slidesperview&&1===n.slidespergroup&&n.slidespergroupauto&&(l=math.max(a.slidesperviewdynamic("current",!0),1));const o=a.activeindexc(e)));let h=n[u.indexof(p)-1];if(void 0===h&&i.cssmode){let e;n.foreach(((t,s)=>{p>=t&&(e=s)})),void 0!==e&&(h=n[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=l.indexof(h),m<0&&(m=a.activeindex-1),"auto"===i.slidesperview&&1===i.slidespergroup&&i.slidespergroupauto&&(m=m-a.slidesperviewdynamic("previous",!0)+1,m=math.max(m,0))),i.rewind&&a.isbeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideto(i,e,t,s)}return a.slideto(m,e,t,s)},slidereset:function(e,t,s){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideto(this.activeindex,e,t,s)},slidetoclosest:function(e,t,s,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===a&&(a=.5);const i=this;let r=i.activeindex;const n=math.min(i.params.slidespergroupskip,r),l=n+math.floor((r-n)/i.params.slidespergroup),o=i.rtltranslate?i.translate:-i.translate;if(o>=i.snapgrid[l]){const e=i.snapgrid[l];o-e>(i.snapgrid[l+1]-e)*a&&(r+=i.params.slidespergroup)}else{const e=i.snapgrid[l-1];o-e<=(i.snapgrid[l]-e)*a&&(r-=i.params.slidespergroup)}return r=math.max(r,0),r=math.min(r,i.slidesgrid.length-1),i.slideto(r,e,t,s)},slidetoclickedslide:function(){const e=this,{params:t,$wrapperel:s}=e,a="auto"===t.slidesperview?e.slidesperviewdynamic():t.slidesperview;let i,r=e.clickedindex;if(t.loop){if(e.animating)return;i=parseint(d(e.clickedslide).attr("data-swiper-slide-index"),10),t.centeredslides?re.slides.length-e.loopedslides+a/2?(e.loopfix(),r=s.children(`.${t.slideclass}[data-swiper-slide-index="${i}"]:not(.${t.slideduplicateclass})`).eq(0).index(),p((()=>{e.slideto(r)}))):e.slideto(r):r>e.slides.length-a?(e.loopfix(),r=s.children(`.${t.slideclass}[data-swiper-slide-index="${i}"]:not(.${t.slideduplicateclass})`).eq(0).index(),p((()=>{e.slideto(r)}))):e.slideto(r)}else e.slideto(r)}};var z={loopcreate:function(){const e=this,t=a(),{params:s,$wrapperel:i}=e,r=i.children().length>0?d(i.children()[0].parentnode):i;r.children(`.${s.slideclass}.${s.slideduplicateclass}`).remove();let n=r.children(`.${s.slideclass}`);if(s.loopfillgroupwithblank){const e=s.slidespergroup-n.length%s.slidespergroup;if(e!==s.slidespergroup){for(let a=0;an.length&&(e.loopedslides=n.length);const l=[],o=[];n.each(((t,s)=>{const a=d(t);s=n.length-e.loopedslides&&l.push(t),a.attr("data-swiper-slide-index",s)}));for(let e=0;e=0;e-=1)r.prepend(d(l[e].clonenode(!0)).addclass(s.slideduplicateclass))},loopfix:function(){const e=this;e.emit("beforeloopfix");const{activeindex:t,slides:s,loopedslides:a,allowslideprev:i,allowslidenext:r,snapgrid:n,rtltranslate:l}=e;let o;e.allowslideprev=!0,e.allowslidenext=!0;const d=-n[t]-e.gettranslate();if(t=s.length-a){o=-s.length+t+a,o+=a;e.slideto(o,0,!1,!0)&&0!==d&&e.settranslate((l?-e.translate:e.translate)-d)}e.allowslideprev=i,e.allowslidenext=r,e.emit("loopfix")},loopdestroy:function(){const{$wrapperel:e,params:t,slides:s}=this;e.children(`.${t.slideclass}.${t.slideduplicateclass},.${t.slideclass}.${t.slideblankclass}`).remove(),s.removeattr("data-swiper-slide-index")}};function l(e){const t=this,s=a(),i=r(),n=t.toucheventsdata,{params:l,touches:o,enabled:c}=t;if(!c)return;if(t.animating&&l.preventinteractionontransition)return;!t.animating&&l.cssmode&&l.loop&&t.loopfix();let p=e;p.originalevent&&(p=p.originalevent);let h=d(p.target);if("wrapper"===l.toucheventstarget&&!h.closest(t.wrapperel).length)return;if(n.istouchevent="touchstart"===p.type,!n.istouchevent&&"which"in p&&3===p.which)return;if(!n.istouchevent&&"button"in p&&p.button>0)return;if(n.istouched&&n.ismoved)return;!!l.noswipingclass&&""!==l.noswipingclass&&p.target&&p.target.shadowroot&&e.path&&e.path[0]&&(h=d(e.path[0]));const m=l.noswipingselector?l.noswipingselector:`.${l.noswipingclass}`,f=!(!p.target||!p.target.shadowroot);if(l.noswiping&&(f?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===a()||s===r())return null;s.assignedslot&&(s=s.assignedslot);const i=s.closest(e);return i||s.getrootnode?i||t(s.getrootnode().host):null}(t)}(m,h[0]):h.closest(m)[0]))return void(t.allowclick=!0);if(l.swipehandler&&!h.closest(l.swipehandler)[0])return;o.currentx="touchstart"===p.type?p.targettouches[0].pagex:p.pagex,o.currenty="touchstart"===p.type?p.targettouches[0].pagey:p.pagey;const g=o.currentx,v=o.currenty,w=l.edgeswipedetection||l.iosedgeswipedetection,b=l.edgeswipethreshold||l.iosedgeswipethreshold;if(w&&(g<=b||g>=i.innerwidth-b)){if("prevent"!==w)return;e.preventdefault()}if(object.assign(n,{istouched:!0,ismoved:!1,allowtouchcallbacks:!0,isscrolling:void 0,startmoving:void 0}),o.startx=g,o.starty=v,n.touchstarttime=u(),t.allowclick=!0,t.updatesize(),t.swipedirection=void 0,l.threshold>0&&(n.allowthresholdmove=!1),"touchstart"!==p.type){let e=!0;h.is(n.focusableelements)&&(e=!1,"select"===h[0].nodename&&(n.istouched=!1)),s.activeelement&&d(s.activeelement).is(n.focusableelements)&&s.activeelement!==h[0]&&s.activeelement.blur();const a=e&&t.allowtouchmove&&l.touchstartpreventdefault;!l.touchstartforcepreventdefault&&!a||h[0].iscontenteditable||p.preventdefault()}t.params.freemode&&t.params.freemode.enabled&&t.freemode&&t.animating&&!l.cssmode&&t.freemode.ontouchstart(),t.emit("touchstart",p)}function o(e){const t=a(),s=this,i=s.toucheventsdata,{params:r,touches:n,rtltranslate:l,enabled:o}=s;if(!o)return;let c=e;if(c.originalevent&&(c=c.originalevent),!i.istouched)return void(i.startmoving&&i.isscrolling&&s.emit("touchmoveopposite",c));if(i.istouchevent&&"touchmove"!==c.type)return;const p="touchmove"===c.type&&c.targettouches&&(c.targettouches[0]||c.changedtouches[0]),h="touchmove"===c.type?p.pagex:c.pagex,m="touchmove"===c.type?p.pagey:c.pagey;if(c.preventedbynestedswiper)return n.startx=h,void(n.starty=m);if(!s.allowtouchmove)return d(c.target).is(i.focusableelements)||(s.allowclick=!1),void(i.istouched&&(object.assign(n,{startx:h,starty:m,currentx:h,currenty:m}),i.touchstarttime=u()));if(i.istouchevent&&r.touchreleaseonedges&&!r.loop)if(s.isvertical()){if(mn.starty&&s.translate>=s.mintranslate())return i.istouched=!1,void(i.ismoved=!1)}else if(hn.startx&&s.translate>=s.mintranslate())return;if(i.istouchevent&&t.activeelement&&c.target===t.activeelement&&d(c.target).is(i.focusableelements))return i.ismoved=!0,void(s.allowclick=!1);if(i.allowtouchcallbacks&&s.emit("touchmove",c),c.targettouches&&c.targettouches.length>1)return;n.currentx=h,n.currenty=m;const f=n.currentx-n.startx,g=n.currenty-n.starty;if(s.params.threshold&&math.sqrt(f**2+g**2)=25&&(e=180*math.atan2(math.abs(g),math.abs(f))/math.pi,i.isscrolling=s.ishorizontal()?e>r.touchangle:90-e>r.touchangle)}if(i.isscrolling&&s.emit("touchmoveopposite",c),void 0===i.startmoving&&(n.currentx===n.startx&&n.currenty===n.starty||(i.startmoving=!0)),i.isscrolling)return void(i.istouched=!1);if(!i.startmoving)return;s.allowclick=!1,!r.cssmode&&c.cancelable&&c.preventdefault(),r.touchmovestoppropagation&&!r.nested&&c.stoppropagation(),i.ismoved||(r.loop&&!r.cssmode&&s.loopfix(),i.starttranslate=s.gettranslate(),s.settransition(0),s.animating&&s.$wrapperel.trigger("webkittransitionend transitionend"),i.allowmomentumbounce=!1,!r.grabcursor||!0!==s.allowslidenext&&!0!==s.allowslideprev||s.setgrabcursor(!0),s.emit("sliderfirstmove",c)),s.emit("slidermove",c),i.ismoved=!0;let v=s.ishorizontal()?f:g;n.diff=v,v*=r.touchratio,l&&(v=-v),s.swipedirection=v>0?"prev":"next",i.currenttranslate=v+i.starttranslate;let w=!0,b=r.resistanceratio;if(r.touchreleaseonedges&&(b=0),v>0&&i.currenttranslate>s.mintranslate()?(w=!1,r.resistance&&(i.currenttranslate=s.mintranslate()-1+(-s.mintranslate()+i.starttranslate+v)**b)):v<0&&i.currenttranslatei.starttranslate&&(i.currenttranslate=i.starttranslate),s.allowslideprev||s.allowslidenext||(i.currenttranslate=i.starttranslate),r.threshold>0){if(!(math.abs(v)>r.threshold||i.allowthresholdmove))return void(i.currenttranslate=i.starttranslate);if(!i.allowthresholdmove)return i.allowthresholdmove=!0,n.startx=n.currentx,n.starty=n.currenty,i.currenttranslate=i.starttranslate,void(n.diff=s.ishorizontal()?n.currentx-n.startx:n.currenty-n.starty)}r.followfinger&&!r.cssmode&&((r.freemode&&r.freemode.enabled&&s.freemode||r.watchslidesprogress)&&(s.updateactiveindex(),s.updateslidesclasses()),s.params.freemode&&r.freemode.enabled&&s.freemode&&s.freemode.ontouchmove(),s.updateprogress(i.currenttranslate),s.settranslate(i.currenttranslate))}function i(e){const t=this,s=t.toucheventsdata,{params:a,touches:i,rtltranslate:r,slidesgrid:n,enabled:l}=t;if(!l)return;let o=e;if(o.originalevent&&(o=o.originalevent),s.allowtouchcallbacks&&t.emit("touchend",o),s.allowtouchcallbacks=!1,!s.istouched)return s.ismoved&&a.grabcursor&&t.setgrabcursor(!1),s.ismoved=!1,void(s.startmoving=!1);a.grabcursor&&s.ismoved&&s.istouched&&(!0===t.allowslidenext||!0===t.allowslideprev)&&t.setgrabcursor(!1);const d=u(),c=d-s.touchstarttime;if(t.allowclick){const e=o.path||o.composedpath&&o.composedpath();t.updateclickedslide(e&&e[0]||o.target),t.emit("tap click",o),c<300&&d-s.lastclicktime<300&&t.emit("doubletap doubleclick",o)}if(s.lastclicktime=u(),p((()=>{t.destroyed||(t.allowclick=!0)})),!s.istouched||!s.ismoved||!t.swipedirection||0===i.diff||s.currenttranslate===s.starttranslate)return s.istouched=!1,s.ismoved=!1,void(s.startmoving=!1);let h;if(s.istouched=!1,s.ismoved=!1,s.startmoving=!1,h=a.followfinger?r?t.translate:-t.translate:-s.currenttranslate,a.cssmode)return;if(t.params.freemode&&a.freemode.enabled)return void t.freemode.ontouchend({currentpos:h});let m=0,f=t.slidessizesgrid[0];for(let e=0;e=n[e]&&h=n[e]&&(m=e,f=n[n.length-1]-n[n.length-2])}let g=null,v=null;a.rewind&&(t.isbeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isend&&(g=0));const w=(h-n[m])/f,b=ma.longswipesms){if(!a.longswipes)return void t.slideto(t.activeindex);"next"===t.swipedirection&&(w>=a.longswipesratio?t.slideto(a.rewind&&t.isend?g:m+b):t.slideto(m)),"prev"===t.swipedirection&&(w>1-a.longswipesratio?t.slideto(m+b):null!==v&&w<0&&math.abs(w)>a.longswipesratio?t.slideto(v):t.slideto(m))}else{if(!a.shortswipes)return void t.slideto(t.activeindex);t.navigation&&(o.target===t.navigation.nextel||o.target===t.navigation.prevel)?o.target===t.navigation.nextel?t.slideto(m+b):t.slideto(m):("next"===t.swipedirection&&t.slideto(null!==g?g:m+b),"prev"===t.swipedirection&&t.slideto(null!==v?v:m))}}function a(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetwidth)return;t.breakpoints&&e.setbreakpoint();const{allowslidenext:a,allowslideprev:i,snapgrid:r}=e;e.allowslidenext=!0,e.allowslideprev=!0,e.updatesize(),e.updateslides(),e.updateslidesclasses(),("auto"===t.slidesperview||t.slidesperview>1)&&e.isend&&!e.isbeginning&&!e.params.centeredslides?e.slideto(e.slides.length-1,0,!1,!0):e.slideto(e.activeindex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowslideprev=i,e.allowslidenext=a,e.params.watchoverflow&&r!==e.snapgrid&&e.checkoverflow()}function d(e){const t=this;t.enabled&&(t.allowclick||(t.params.preventclicks&&e.preventdefault(),t.params.preventclickspropagation&&t.animating&&(e.stoppropagation(),e.stopimmediatepropagation())))}function g(){const e=this,{wrapperel:t,rtltranslate:s,enabled:a}=e;if(!a)return;let i;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();i=0===r?0:(e.translate-e.mintranslate())/r,i!==e.progress&&e.updateprogress(s?-e.translate:e.translate),e.emit("settranslate",e.translate,!1)}let n=!1;function b(){}const h=(e,t)=>{const s=a(),{params:i,touchevents:r,el:n,wrapperel:l,device:o,support:d}=e,c=!!i.nested,p="on"===t?"addeventlistener":"removeeventlistener",u=t;if(d.touch){const t=!("touchstart"!==r.start||!d.passivelistener||!i.passivelisteners)&&{passive:!0,capture:!1};n[p](r.start,e.ontouchstart,t),n[p](r.move,e.ontouchmove,d.passivelistener?{passive:!1,capture:c}:c),n[p](r.end,e.ontouchend,t),r.cancel&&n[p](r.cancel,e.ontouchend,t)}else n[p](r.start,e.ontouchstart,!1),s[p](r.move,e.ontouchmove,c),s[p](r.end,e.ontouchend,!1);(i.preventclicks||i.preventclickspropagation)&&n[p]("click",e.onclick,!0),i.cssmode&&l[p]("scroll",e.onscroll),i.updateonwindowresize?e[u](o.ios||o.android?"resize orientationchange observerupdate":"resize observerupdate",a,!0):e[u]("observerupdate",a,!0)};var x={attachevents:function(){const e=this,t=a(),{params:s,support:i}=e;e.ontouchstart=l.bind(e),e.ontouchmove=o.bind(e),e.ontouchend=i.bind(e),s.cssmode&&(e.onscroll=g.bind(e)),e.onclick=d.bind(e),i.touch&&!n&&(t.addeventlistener("touchstart",b),n=!0),h(e,"on")},detachevents:function(){h(this,"off")}};const y=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var r={addclasses:function(){const e=this,{classnames:t,params:s,rtl:a,$el:i,device:r,support:n}=e,l=function(e,t){const s=[];return e.foreach((e=>{"object"==typeof e?object.keys(e).foreach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"pointer-events":!n.touch},{"free-mode":e.params.freemode&&s.freemode.enabled},{autoheight:s.autoheight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssmode},{centered:s.cssmode&&s.centeredslides},{"watch-progress":s.watchslidesprogress}],s.containermodifierclass);t.push(...l),i.addclass([...t].join(" ")),e.emitcontainerclasses()},removeclasses:function(){const{$el:e,classnames:t}=this;e.removeclass(t.join(" ")),this.emitcontainerclasses()}};var w={init:!0,direction:"horizontal",toucheventstarget:"wrapper",initialslide:0,speed:300,cssmode:!1,updateonwindowresize:!0,resizeobserver:!0,nested:!1,createelements:!1,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:0,touchmovestoppropagation:!1,touchstartpreventdefault:!0,touchstartforcepreventdefault:!1,touchreleaseonedges:!1,uniquenavelements:!0,resistance:!0,resistanceratio:.85,watchslidesprogress:!1,grabcursor:!1,preventclicks:!0,preventclickspropagation:!0,slidetoclickedslide:!1,preloadimages:!0,updateonimagesready:!0,loop:!1,loopadditionalslides:0,loopedslides:null,loopfillgroupwithblank:!1,looppreventsslide:!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-invisible-blank",slideactiveclass:"swiper-slide-active",slideduplicateactiveclass:"swiper-slide-duplicate-active",slidevisibleclass:"swiper-slide-visible",slideduplicateclass:"swiper-slide-duplicate",slidenextclass:"swiper-slide-next",slideduplicatenextclass:"swiper-slide-duplicate-next",slideprevclass:"swiper-slide-prev",slideduplicateprevclass:"swiper-slide-duplicate-prev",wrapperclass:"swiper-wrapper",runcallbacksoninit:!0,_emitclasses:!1};function j(e,t){return function(s){void 0===s&&(s={});const a=object.keys(s)[0],i=s[a];"object"==typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexof(a)>=0&&!0===e[a]&&(e[a]={auto:!0}),a in e&&"enabled"in i?(!0===e[a]&&(e[a]={enabled:!0}),"object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),g(t,s)):g(t,s)):g(t,s)}}const _={eventsemitter:$,update:s,translate:m,transition:{settransition:function(e,t){const s=this;s.params.cssmode||s.$wrapperel.transition(e),s.emit("settransition",e,t)},transitionstart:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;a.cssmode||(a.autoheight&&s.updateautoheight(),p({swiper:s,runcallbacks:e,direction:t,step:"start"}))},transitionend:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;s.animating=!1,a.cssmode||(s.settransition(0),p({swiper:s,runcallbacks:e,direction:t,step:"end"}))}},slide:k,loop:z,grabcursor:{setgrabcursor:function(e){const t=this;if(t.support.touch||!t.params.simulatetouch||t.params.watchoverflow&&t.islocked||t.params.cssmode)return;const s="container"===t.params.toucheventstarget?t.el:t.wrapperel;s.style.cursor="move",s.style.cursor=e?"grabbing":"grab"},unsetgrabcursor:function(){const e=this;e.support.touch||e.params.watchoverflow&&e.islocked||e.params.cssmode||(e["container"===e.params.toucheventstarget?"el":"wrapperel"].style.cursor="")}},events:x,breakpoints:{setbreakpoint:function(){const e=this,{activeindex:t,initialized:s,loopedslides:a=0,params:i,$el:r}=e,n=i.breakpoints;if(!n||n&&0===object.keys(n).length)return;const l=e.getbreakpoint(n,e.params.breakpointsbase,e.el);if(!l||e.currentbreakpoint===l)return;const o=(l in n?n[l]:void 0)||e.originalparams,d=y(e,i),c=y(e,o),p=i.enabled;d&&!c?(r.removeclass(`${i.containermodifierclass}grid ${i.containermodifierclass}grid-column`),e.emitcontainerclasses()):!d&&c&&(r.addclass(`${i.containermodifierclass}grid`),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===i.grid.fill)&&r.addclass(`${i.containermodifierclass}grid-column`),e.emitcontainerclasses()),["navigation","pagination","scrollbar"].foreach((t=>{const s=i[t]&&i[t].enabled,a=o[t]&&o[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const u=o.direction&&o.direction!==i.direction,h=i.loop&&(o.slidesperview!==i.slidesperview||u);u&&s&&e.changedirection(),g(e.params,o);const m=e.params.enabled;object.assign(e,{allowtouchmove:e.params.allowtouchmove,allowslidenext:e.params.allowslidenext,allowslideprev:e.params.allowslideprev}),p&&!m?e.disable():!p&&m&&e.enable(),e.currentbreakpoint=l,e.emit("_beforebreakpoint",o),h&&s&&(e.loopdestroy(),e.loopcreate(),e.updateslides(),e.slideto(t-a+e.loopedslides,0,!1)),e.emit("breakpoint",o)},getbreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let a=!1;const i=r(),n="window"===t?i.innerheight:s.clientheight,l=object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexof("@")){const t=parsefloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseint(e.value,10)-parseint(t.value,10)));for(let e=0;es}else e.islocked=1===e.snapgrid.length;!0===s.allowslidenext&&(e.allowslidenext=!e.islocked),!0===s.allowslideprev&&(e.allowslideprev=!e.islocked),t&&t!==e.islocked&&(e.isend=!1),t!==e.islocked&&e.emit(e.islocked?"lock":"unlock")}},classes:r,images:{loadimage:function(e,t,s,a,i,n){const l=r();let o;function c(){n&&n()}d(e).parent("picture")[0]||e.complete&&i?c():t?(o=new l.image,o.onload=c,o.onerror=c,a&&(o.sizes=a),s&&(o.srcset=s),t&&(o.src=t)):c()},preloadimages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesloaded&&(e.imagesloaded+=1),e.imagesloaded===e.imagestoload.length&&(e.params.updateonimagesready&&e.update(),e.emit("imagesready")))}e.imagestoload=e.$el.find("img");for(let s=0;s1){const e=[];return d(t.el).each((s=>{const a=g({},t,{el:s});e.push(new v(a))})),e}const r=this;r.__swiper__=!0,r.support=e(),r.device=c({useragent:t.useragent}),r.browser=t(),r.eventslisteners={},r.eventsanylisteners=[],r.modules=[...r.__modules__],t.modules&&array.isarray(t.modules)&&r.modules.push(...t.modules);const n={};r.modules.foreach((e=>{e({swiper:r,extendparams:j(t,n),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})}));const l=g({},w,n);return r.params=g({},l,q,t),r.originalparams=g({},r.params),r.passedparams=g({},t),r.params&&r.params.on&&object.keys(r.params.on).foreach((e=>{r.on(e,r.params.on[e])})),r.params&&r.params.onany&&r.onany(r.params.onany),r.$=d,object.assign(r,{enabled:r.params.enabled,el:e,classnames:[],slides:d(),slidesgrid:[],snapgrid:[],slidessizesgrid:[],ishorizontal:()=>"horizontal"===r.params.direction,isvertical:()=>"vertical"===r.params.direction,activeindex:0,realindex:0,isbeginning:!0,isend:!1,translate:0,previoustranslate:0,progress:0,velocity:0,animating:!1,allowslidenext:r.params.allowslidenext,allowslideprev:r.params.allowslideprev,touchevents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return r.toucheventstouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.toucheventsdesktop={start:t[0],move:t[1],end:t[2]},r.support.touch||!r.params.simulatetouch?r.toucheventstouch:r.toucheventsdesktop}(),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:r.params.focusableelements,lastclicktime:u(),clicktimeout:void 0,velocities:[],allowmomentumbounce:void 0,istouchevent:void 0,startmoving:void 0},allowclick:!0,allowtouchmove:r.params.allowtouchmove,touches:{startx:0,starty:0,currentx:0,currenty:0,diff:0},imagestoload:[],imagesloaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}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 s=this;e=math.min(math.max(e,0),1);const a=s.mintranslate(),i=(s.maxtranslate()-a)*e+a;s.translateto(i,void 0===t?0:t),s.updateactiveindex(),s.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.each((s=>{const a=e.getslideclasses(s);t.push({slideel:s,classnames:a}),e.emit("_slideclass",s,a)})),e.emit("_slideclasses",t)}slidesperviewdynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:a,slidesgrid:i,slidessizesgrid:r,size:n,activeindex:l}=this;let o=1;if(s.centeredslides){let e,t=a[l].swiperslidesize;for(let s=l+1;sn&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperslidesize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e=0;e-=1){i[l]-i[e]1)&&e.isend&&!e.params.centeredslides?e.slideto(e.slides.length-1,0,!1,!0):e.slideto(e.activeindex,0,!1,!0),i||a()),s.watchoverflow&&t!==e.snapgrid&&e.checkoverflow(),e.emit("update")}changedirection(e,t){void 0===t&&(t=!0);const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.$el.removeclass(`${s.params.containermodifierclass}${a}`).addclass(`${s.params.containermodifierclass}${e}`),s.emitcontainerclasses(),s.params.direction=e,s.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changedirection"),t&&s.update()),s}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.addclass(`${t.params.containermodifierclass}rtl`),t.el.dir="rtl"):(t.$el.removeclass(`${t.params.containermodifierclass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const s=d(e||t.params.el);if(!(e=s[0]))return!1;e.swiper=t;const i=()=>`.${(t.params.wrapperclass||"").trim().split(" ").join(".")}`;let r=(()=>{if(e&&e.shadowroot&&e.shadowroot.queryselector){const t=d(e.shadowroot.queryselector(i()));return t.children=e=>s.children(e),t}return s.children?s.children(i()):d(s).children(i())})();if(0===r.length&&t.params.createelements){const e=a().createelement("div");r=d(e),e.classname=t.params.wrapperclass,s.append(e),s.children(`.${t.params.slideclass}`).each((e=>{r.append(e)}))}return object.assign(t,{$el:s,el:e,$wrapperel:r,wrapperel:r[0],mounted:!0,rtl:"rtl"===e.dir.tolowercase()||"rtl"===s.css("direction"),rtltranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.tolowercase()||"rtl"===s.css("direction")),wrongrtl:"-webkit-box"===r.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeinit"),t.params.breakpoints&&t.setbreakpoint(),t.addclasses(),t.params.loop&&t.loopcreate(),t.updatesize(),t.updateslides(),t.params.watchoverflow&&t.checkoverflow(),t.params.grabcursor&&t.enabled&&t.setgrabcursor(),t.params.preloadimages&&t.preloadimages(),t.params.loop?t.slideto(t.params.initialslide+t.loopedslides,0,t.params.runcallbacksoninit,!1,!0):t.slideto(t.params.initialslide,0,t.params.runcallbacksoninit,!1,!0),t.attachevents(),t.initialized=!0,t.emit("init"),t.emit("afterinit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:a,$el:i,$wrapperel:r,slides:n}=s;return void 0===s.params||s.destroyed||(s.emit("beforedestroy"),s.initialized=!1,s.detachevents(),a.loop&&s.loopdestroy(),t&&(s.removeclasses(),i.removeattr("style"),r.removeattr("style"),n&&n.length&&n.removeclass([a.slidevisibleclass,a.slideactiveclass,a.slidenextclass,a.slideprevclass].join(" ")).removeattr("style").removeattr("data-swiper-slide-index")),s.emit("destroy"),object.keys(s.eventslisteners).foreach((e=>{s.off(e)})),!1!==e&&(s.$el[0].swiper=null,function(e){const t=e;object.keys(t).foreach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extenddefaults(e){g(q,e)}static get extendeddefaults(){return q}static get defaults(){return w}static installmodule(e){v.prototype.__modules__||(v.prototype.__modules__=[]);const t=v.prototype.__modules__;"function"==typeof e&&t.indexof(e)<0&&t.push(e)}static use(e){return array.isarray(e)?(e.foreach((e=>v.installmodule(e))),v):(v.installmodule(e),v)}}function f(e,t,s,i){const r=a();return e.params.createelements&&object.keys(i).foreach((a=>{if(!s[a]&&!0===s.auto){let n=e.$el.children(`.${i[a]}`)[0];n||(n=r.createelement("div"),n.classname=i[a],e.$el.append(n)),s[a]=n,t[a]=n}})),s}function u(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function k(e){const t=this,{$wrapperel:s,params:a}=t;if(a.loop&&t.loopdestroy(),"object"==typeof e&&"length"in e)for(let t=0;t=l)return void s.appendslide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides.eq(t);e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?n+t.length:n}else a.append(t);for(let e=0;e{if(s.params.effect!==t)return;s.classnames.push(`${s.params.containermodifierclass}${t}`),l&&l()&&s.classnames.push(`${s.params.containermodifierclass}3d`);const e=n?n():{};object.assign(s.params,e),object.assign(s.originalparams,e)})),a("settranslate",(()=>{s.params.effect===t&&i()})),a("settransition",((e,a)=>{s.params.effect===t&&r(a)})),a("transitionend",(()=>{if(s.params.effect===t&&o){if(!d||!d().slideshadows)return;s.slides.each((e=>{s.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),o()}})),a("virtualupdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestanimationframe((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}function se(e,t){return e.transformel?t.find(e.transformel).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function ae(e){let{swiper:t,duration:s,transformel:a,allslides:i}=e;const{slides:r,activeindex:n,$wrapperel:l}=t;if(t.params.virtualtranslate&&0!==s){let e,s=!1;e=i?a?r.find(a):r:a?r.eq(n).find(a):r.eq(n),e.transitionend((()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=["webkittransitionend","transitionend"];for(let t=0;t`),i.append(r)),r}object.keys(_).foreach((e=>{object.keys(_[e]).foreach((t=>{v.prototype[t]=_[e][t]}))})),v.use([function(e){let{swiper:t,on:s,emit:a}=e;const i=r();let n=null,l=null;const o=()=>{t&&!t.destroyed&&t.initialized&&(a("beforeresize"),a("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&a("orientationchange")};s("init",(()=>{t.params.resizeobserver&&void 0!==i.resizeobserver?t&&!t.destroyed&&t.initialized&&(n=new resizeobserver((e=>{l=i.requestanimationframe((()=>{const{width:s,height:a}=t;let i=s,r=a;e.foreach((e=>{let{contentboxsize:s,contentrect:a,target:n}=e;n&&n!==t.el||(i=a?a.width:(s[0]||s).inlinesize,r=a?a.height:(s[0]||s).blocksize)})),i===s&&r===a||o()}))})),n.observe(t.el)):(i.addeventlistener("resize",o),i.addeventlistener("orientationchange",d))})),s("destroy",(()=>{l&&i.cancelanimationframe(l),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null),i.removeeventlistener("resize",o),i.removeeventlistener("orientationchange",d)}))},function(e){let{swiper:t,extendparams:s,on:a,emit:i}=e;const n=[],l=r(),o=function(e,t){void 0===t&&(t={});const s=new(l.mutationobserver||l.webkitmutationobserver)((e=>{if(1===e.length)return void i("observerupdate",e[0]);const t=function(){i("observerupdate",e[0])};l.requestanimationframe?l.requestanimationframe(t):l.settimeout(t,0)}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childlist:void 0===t.childlist||t.childlist,characterdata:void 0===t.characterdata||t.characterdata}),n.push(s)};s({observer:!1,observeparents:!1,observeslidechildren:!1}),a("init",(()=>{if(t.params.observer){if(t.params.observeparents){const e=t.$el.parents();for(let t=0;t{n.foreach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]);const re=[function(e){let t,{swiper:s,extendparams:a,on:i,emit:r}=e;function n(e,t){const a=s.params.virtual;if(a.cache&&s.virtual.cache[t])return s.virtual.cache[t];const i=a.renderslide?d(a.renderslide.call(s,e,t)):d(`
${e}
`);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),a.cache&&(s.virtual.cache[t]=i),i}function l(e){const{slidesperview:t,slidespergroup:a,centeredslides:i}=s.params,{addslidesbefore:l,addslidesafter:o}=s.params.virtual,{from:d,to:c,slides:p,slidesgrid:u,offset:h}=s.virtual;s.params.cssmode||s.updateactiveindex();const m=s.activeindex||0;let f,g,v;f=s.rtltranslate?"right":s.ishorizontal()?"left":"top",i?(g=math.floor(t/2)+a+o,v=math.floor(t/2)+a+l):(g=t+(a-1)+o,v=a+l);const w=math.max((m||0)-v,0),b=math.min((m||0)+g,p.length-1),x=(s.slidesgrid[w]||0)-(s.slidesgrid[0]||0);function y(){s.updateslides(),s.updateprogress(),s.updateslidesclasses(),s.lazy&&s.params.lazy.enabled&&s.lazy.load(),r("virtualupdate")}if(object.assign(s.virtual,{from:w,to:b,offset:x,slidesgrid:s.slidesgrid}),d===w&&c===b&&!e)return s.slidesgrid!==u&&x!==h&&s.slides.css(f,`${x}px`),s.updateprogress(),void r("virtualupdate");if(s.params.virtual.renderexternal)return s.params.virtual.renderexternal.call(s,{offset:x,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(s.params.virtual.renderexternalupdate?y():r("virtualupdate"));const e=[],c=[];if(e)s.$wrapperel.find(`.${s.params.slideclass}`).remove();else for(let e=d;e<=c;e+=1)(eb)&&s.$wrapperel.find(`.${s.params.slideclass}[data-swiper-slide-index="${e}"]`).remove();for(let t=0;t=w&&t<=b&&(void 0===c||e?c.push(t):(t>c&&c.push(t),t{s.$wrapperel.append(n(p[e],e))})),e.sort(((e,t)=>t-e)).foreach((e=>{s.$wrapperel.prepend(n(p[e],e))})),s.$wrapperel.children(".swiper-slide").css(f,`${x}px`),y()}a({virtual:{enabled:!1,slides:[],cache:!0,renderslide:null,renderexternal:null,renderexternalupdate:!0,addslidesbefore:0,addslidesafter:0}}),s.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesgrid:[]},i("beforeinit",(()=>{s.params.virtual.enabled&&(s.virtual.slides=s.params.virtual.slides,s.classnames.push(`${s.params.containermodifierclass}virtual`),s.params.watchslidesprogress=!0,s.originalparams.watchslidesprogress=!0,s.params.initialslide||l())})),i("settranslate",(()=>{s.params.virtual.enabled&&(s.params.cssmode&&!s._immediatevirtual?(cleartimeout(t),t=settimeout((()=>{l()}),100)):l())})),i("init update resize",(()=>{s.params.virtual.enabled&&s.params.cssmode&&v(s.wrapperel,"--swiper-virtual-size",`${s.virtualsize}px`)})),object.assign(s.virtual,{appendslide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t{const a=e[s],r=a.attr("data-swiper-slide-index");r&&a.attr("data-swiper-slide-index",parseint(r,10)+i),t[parseint(s,10)+i]=a})),s.virtual.cache=t}l(!0),s.slideto(a,0)},removeslide:function(e){if(null==e)return;let t=s.activeindex;if(array.isarray(e))for(let a=e.length-1;a>=0;a-=1)s.virtual.slides.splice(e[a],1),s.params.virtual.cache&&delete s.virtual.cache[e[a]],e[a]0&&0===t.$el.parents(`.${t.params.slideactiveclass}`).length)return;const a=t.$el,i=a[0].clientwidth,r=a[0].clientheight,n=o.innerwidth,l=o.innerheight,d=t.$el.offset();s&&(d.left-=t.$el[0].scrollleft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let t=0;t=0&&s[0]<=n&&s[1]>=0&&s[1]<=l){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.ishorizontal()?((d||c||p||u)&&(a.preventdefault?a.preventdefault():a.returnvalue=!1),((c||u)&&!s||(d||p)&&s)&&t.slidenext(),((d||p)&&!s||(c||u)&&s)&&t.slideprev()):((d||c||h||m)&&(a.preventdefault?a.preventdefault():a.returnvalue=!1),(c||m)&&t.slidenext(),(d||h)&&t.slideprev()),n("keypress",i)}}function p(){t.keyboard.enabled||(d(l).on("keydown",c),t.keyboard.enabled=!0)}function u(){t.keyboard.enabled&&(d(l).off("keydown",c),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyinviewport:!0,pageupdown:!0}}),i("init",(()=>{t.params.keyboard.enabled&&p()})),i("destroy",(()=>{t.keyboard.enabled&&u()})),object.assign(t.keyboard,{enable:p,disable:u})},function(e){let{swiper:t,extendparams:s,on:a,emit:i}=e;const n=r();let l;s({mousewheel:{enabled:!1,releaseonedges:!1,invert:!1,forcetoaxis:!1,sensitivity:1,eventstarget:"container",thresholddelta:null,thresholdtime:null}}),t.mousewheel={enabled:!1};let o,c=u();const h=[];function m(){t.enabled&&(t.mouseentered=!0)}function f(){t.enabled&&(t.mouseentered=!1)}function g(e){return!(t.params.mousewheel.thresholddelta&&e.delta=6&&u()-c<60||(e.direction<0?t.isend&&!t.params.loop||t.animating||(t.slidenext(),i("scroll",e.raw)):t.isbeginning&&!t.params.loop||t.animating||(t.slideprev(),i("scroll",e.raw)),c=(new n.date).gettime(),!1)))}function v(e){let s=e,a=!0;if(!t.enabled)return;const r=t.params.mousewheel;t.params.cssmode&&s.preventdefault();let n=t.$el;if("container"!==t.params.mousewheel.eventstarget&&(n=d(t.params.mousewheel.eventstarget)),!t.mouseentered&&!n[0].contains(s.target)&&!r.releaseonedges)return!0;s.originalevent&&(s=s.originalevent);let c=0;const m=t.rtltranslate?-1:1,f=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheeldelta"in e&&(s=-e.wheeldelta/120),"wheeldeltay"in e&&(s=-e.wheeldeltay/120),"wheeldeltax"in e&&(t=-e.wheeldeltax/120),"axis"in e&&e.axis===e.horizontal_axis&&(t=s,s=0),a=10*t,i=10*s,"deltay"in e&&(i=e.deltay),"deltax"in e&&(a=e.deltax),e.shiftkey&&!a&&(a=i,i=0),(a||i)&&e.deltamode&&(1===e.deltamode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinx:t,spiny:s,pixelx:a,pixely:i}}(s);if(r.forcetoaxis)if(t.ishorizontal()){if(!(math.abs(f.pixelx)>math.abs(f.pixely)))return!0;c=-f.pixelx*m}else{if(!(math.abs(f.pixely)>math.abs(f.pixelx)))return!0;c=-f.pixely}else c=math.abs(f.pixelx)>math.abs(f.pixely)?-f.pixelx*m:-f.pixely;if(0===c)return!0;r.invert&&(c=-c);let v=t.gettranslate()+c*r.sensitivity;if(v>=t.mintranslate()&&(v=t.mintranslate()),v<=t.maxtranslate()&&(v=t.maxtranslate()),a=!!t.params.loop||!(v===t.mintranslate()||v===t.maxtranslate()),a&&t.params.nested&&s.stoppropagation(),t.params.freemode&&t.params.freemode.enabled){const e={time:u(),delta:math.abs(c),direction:math.sign(c)},a=o&&e.time=t.mintranslate()&&(n=t.mintranslate()),n<=t.maxtranslate()&&(n=t.maxtranslate()),t.settransition(0),t.settranslate(n),t.updateprogress(),t.updateactiveindex(),t.updateslidesclasses(),(!d&&t.isbeginning||!u&&t.isend)&&t.updateslidesclasses(),t.params.freemode.sticky){cleartimeout(l),l=void 0,h.length>=15&&h.shift();const s=h.length?h[h.length-1]:void 0,a=h[0];if(h.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))h.splice(0);else if(h.length>=15&&e.time-a.time<500&&a.delta-e.delta>=1&&e.delta<=6){const s=c>0?.8:.2;o=e,h.splice(0),l=p((()=>{t.slidetoclosest(t.params.speed,!0,void 0,s)}),0)}l||(l=p((()=>{o=e,h.splice(0),t.slidetoclosest(t.params.speed,!0,void 0,.5)}),500))}if(a||i("scroll",s),t.params.autoplay&&t.params.autoplaydisableoninteraction&&t.autoplay.stop(),n===t.mintranslate()||n===t.maxtranslate())return!0}}else{const s={time:u(),delta:math.abs(c),direction:math.sign(c),raw:e};h.length>=2&&h.shift();const a=h.length?h[h.length-1]:void 0;if(h.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&g(s):g(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isend&&!t.params.loop&&s.releaseonedges)return!0}else if(t.isbeginning&&!t.params.loop&&s.releaseonedges)return!0;return!1}(s))return!0}return s.preventdefault?s.preventdefault():s.returnvalue=!1,!1}function w(e){let s=t.$el;"container"!==t.params.mousewheel.eventstarget&&(s=d(t.params.mousewheel.eventstarget)),s[e]("mouseenter",m),s[e]("mouseleave",f),s[e]("wheel",v)}function b(){return t.params.cssmode?(t.wrapperel.removeeventlistener("wheel",v),!0):!t.mousewheel.enabled&&(w("on"),t.mousewheel.enabled=!0,!0)}function x(){return t.params.cssmode?(t.wrapperel.addeventlistener(event,v),!0):!!t.mousewheel.enabled&&(w("off"),t.mousewheel.enabled=!1,!0)}a("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssmode&&x(),t.params.mousewheel.enabled&&b()})),a("destroy",(()=>{t.params.cssmode&&b(),t.mousewheel.enabled&&x()})),object.assign(t.mousewheel,{enable:b,disable:x})},function(e){let{swiper:t,extendparams:s,on:a,emit:i}=e;function r(e){let s;return e&&(s=d(e),t.params.uniquenavelements&&"string"==typeof e&&s.length>1&&1===t.$el.find(e).length&&(s=t.$el.find(e))),s}function n(e,s){const a=t.params.navigation;e&&e.length>0&&(e[s?"addclass":"removeclass"](a.disabledclass),e[0]&&"button"===e[0].tagname&&(e[0].disabled=s),t.params.watchoverflow&&t.enabled&&e[t.islocked?"addclass":"removeclass"](a.lockclass))}function l(){if(t.params.loop)return;const{$nextel:e,$prevel:s}=t.navigation;n(s,t.isbeginning&&!t.params.rewind),n(e,t.isend&&!t.params.rewind)}function o(e){e.preventdefault(),(!t.isbeginning||t.params.loop||t.params.rewind)&&(t.slideprev(),i("navigationprev"))}function c(e){e.preventdefault(),(!t.isend||t.params.loop||t.params.rewind)&&(t.slidenext(),i("navigationnext"))}function p(){const e=t.params.navigation;if(t.params.navigation=f(t,t.originalparams.navigation,t.params.navigation,{nextel:"swiper-button-next",prevel:"swiper-button-prev"}),!e.nextel&&!e.prevel)return;const s=r(e.nextel),a=r(e.prevel);s&&s.length>0&&s.on("click",c),a&&a.length>0&&a.on("click",o),object.assign(t.navigation,{$nextel:s,nextel:s&&s[0],$prevel:a,prevel:a&&a[0]}),t.enabled||(s&&s.addclass(e.lockclass),a&&a.addclass(e.lockclass))}function u(){const{$nextel:e,$prevel:s}=t.navigation;e&&e.length&&(e.off("click",c),e.removeclass(t.params.navigation.disabledclass)),s&&s.length&&(s.off("click",o),s.removeclass(t.params.navigation.disabledclass))}s({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,$nextel:null,prevel:null,$prevel:null},a("init",(()=>{!1===t.params.navigation.enabled?h():(p(),l())})),a("toedge fromedge lock unlock",(()=>{l()})),a("destroy",(()=>{u()})),a("enable disable",(()=>{const{$nextel:e,$prevel:s}=t.navigation;e&&e[t.enabled?"removeclass":"addclass"](t.params.navigation.lockclass),s&&s[t.enabled?"removeclass":"addclass"](t.params.navigation.lockclass)})),a("click",((e,s)=>{const{$nextel:a,$prevel:r}=t.navigation,n=s.target;if(t.params.navigation.hideonclick&&!d(n).is(r)&&!d(n).is(a)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===n||t.pagination.el.contains(n)))return;let e;a?e=a.hasclass(t.params.navigation.hiddenclass):r&&(e=r.hasclass(t.params.navigation.hiddenclass)),i(!0===e?"navigationshow":"navigationhide"),a&&a.toggleclass(t.params.navigation.hiddenclass),r&&r.toggleclass(t.params.navigation.hiddenclass)}}));const h=()=>{t.$el.addclass(t.params.navigation.navigationdisabledclass),u()};object.assign(t.navigation,{enable:()=>{t.$el.removeclass(t.params.navigation.navigationdisabledclass),p(),l()},disable:h,update:l,init:p,destroy:u})},function(e){let{swiper:t,extendparams:s,on:a,emit:i}=e;const r="swiper-pagination";let n;s({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,$el:null,bullets:[]};let l=0;function o(){return!t.params.pagination.el||!t.pagination.el||!t.pagination.$el||0===t.pagination.$el.length}function c(e,s){const{bulletactiveclass:a}=t.params.pagination;e[s]().addclass(`${a}-${s}`)[s]().addclass(`${a}-${s}-${s}`)}function p(){const e=t.rtl,s=t.params.pagination;if(o())return;const a=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,r=t.pagination.$el;let p;const u=t.params.loop?math.ceil((a-2*t.loopedslides)/t.params.slidespergroup):t.snapgrid.length;if(t.params.loop?(p=math.ceil((t.activeindex-t.loopedslides)/t.params.slidespergroup),p>a-1-2*t.loopedslides&&(p-=a-2*t.loopedslides),p>u-1&&(p-=u),p<0&&"bullets"!==t.params.paginationtype&&(p=u+p)):p=void 0!==t.snapindex?t.snapindex:t.activeindex||0,"bullets"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let i,o,u;if(s.dynamicbullets&&(n=a.eq(0)[t.ishorizontal()?"outerwidth":"outerheight"](!0),r.css(t.ishorizontal()?"width":"height",n*(s.dynamicmainbullets+4)+"px"),s.dynamicmainbullets>1&&void 0!==t.previousindex&&(l+=p-(t.previousindex-t.loopedslides||0),l>s.dynamicmainbullets-1?l=s.dynamicmainbullets-1:l<0&&(l=0)),i=math.max(p-l,0),o=i+(math.min(a.length,s.dynamicmainbullets)-1),u=(o+i)/2),a.removeclass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletactiveclass}${e}`)).join(" ")),r.length>1)a.each((e=>{const t=d(e),a=t.index();a===p&&t.addclass(s.bulletactiveclass),s.dynamicbullets&&(a>=i&&a<=o&&t.addclass(`${s.bulletactiveclass}-main`),a===i&&c(t,"prev"),a===o&&c(t,"next"))}));else{const e=a.eq(p),r=e.index();if(e.addclass(s.bulletactiveclass),s.dynamicbullets){const e=a.eq(i),n=a.eq(o);for(let e=i;e<=o;e+=1)a.eq(e).addclass(`${s.bulletactiveclass}-main`);if(t.params.loop)if(r>=a.length){for(let e=s.dynamicmainbullets;e>=0;e-=1)a.eq(a.length-e).addclass(`${s.bulletactiveclass}-main`);a.eq(a.length-s.dynamicmainbullets-1).addclass(`${s.bulletactiveclass}-prev`)}else c(e,"prev"),c(n,"next");else c(e,"prev"),c(n,"next")}}if(s.dynamicbullets){const i=math.min(a.length,s.dynamicmainbullets+4),r=(n*i-n)/2-u*n,l=e?"right":"left";a.css(t.ishorizontal()?l:"top",`${r}px`)}}if("fraction"===s.type&&(r.find(u(s.currentclass)).text(s.formatfractioncurrent(p+1)),r.find(u(s.totalclass)).text(s.formatfractiontotal(u))),"progressbar"===s.type){let e;e=s.progressbaropposite?t.ishorizontal()?"vertical":"horizontal":t.ishorizontal()?"horizontal":"vertical";const a=(p+1)/u;let i=1,n=1;"horizontal"===e?i=a:n=a,r.find(u(s.progressbarfillclass)).transform(`translate3d(0,0,0) scalex(${i}) scaley(${n})`).transition(t.params.speed)}"custom"===s.type&&s.rendercustom?(r.html(s.rendercustom(t,p+1,u)),i("paginationrender",r[0])):i("paginationupdate",r[0]),t.params.watchoverflow&&t.enabled&&r[t.islocked?"addclass":"removeclass"](s.lockclass)}function u(){const e=t.params.pagination;if(o())return;const s=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,a=t.pagination.$el;let r="";if("bullets"===e.type){let i=t.params.loop?math.ceil((s-2*t.loopedslides)/t.params.slidespergroup):t.snapgrid.length;t.params.freemode&&t.params.freemode.enabled&&!t.params.loop&&i>s&&(i=s);for(let s=0;s`;a.html(r),t.pagination.bullets=a.find(u(e.bulletclass))}"fraction"===e.type&&(r=e.renderfraction?e.renderfraction.call(t,e.currentclass,e.totalclass):` / `,a.html(r)),"progressbar"===e.type&&(r=e.renderprogressbar?e.renderprogressbar.call(t,e.progressbarfillclass):``,a.html(r)),"custom"!==e.type&&i("paginationrender",t.pagination.$el[0])}function h(){t.params.pagination=f(t,t.originalparams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s=d(e.el);0!==s.length&&(t.params.uniquenavelements&&"string"==typeof e.el&&s.length>1&&(s=t.$el.find(e.el),s.length>1&&(s=s.filter((e=>d(e).parents(".swiper")[0]===t.el)))),"bullets"===e.type&&e.clickable&&s.addclass(e.clickableclass),s.addclass(e.modifierclass+e.type),s.addclass(t.ishorizontal()?e.horizontalclass:e.verticalclass),"bullets"===e.type&&e.dynamicbullets&&(s.addclass(`${e.modifierclass}${e.type}-dynamic`),l=0,e.dynamicmainbullets<1&&(e.dynamicmainbullets=1)),"progressbar"===e.type&&e.progressbaropposite&&s.addclass(e.progressbaroppositeclass),e.clickable&&s.on("click",u(e.bulletclass),(function(e){e.preventdefault();let s=d(this).index()*t.params.slidespergroup;t.params.loop&&(s+=t.loopedslides),t.slideto(s)})),object.assign(t.pagination,{$el:s,el:s[0]}),t.enabled||s.addclass(e.lockclass))}function m(){const e=t.params.pagination;if(o())return;const s=t.pagination.$el;s.removeclass(e.hiddenclass),s.removeclass(e.modifierclass+e.type),s.removeclass(t.ishorizontal()?e.horizontalclass:e.verticalclass),t.pagination.bullets&&t.pagination.bullets.removeclass&&t.pagination.bullets.removeclass(e.bulletactiveclass),e.clickable&&s.off("click",u(e.bulletclass))}a("init",(()=>{!1===t.params.pagination.enabled?f():(h(),u(),p())})),a("activeindexchange",(()=>{(t.params.loop||void 0===t.snapindex)&&p()})),a("snapindexchange",(()=>{t.params.loop||p()})),a("slideslengthchange",(()=>{t.params.loop&&(u(),p())})),a("snapgridlengthchange",(()=>{t.params.loop||(u(),p())})),a("destroy",(()=>{m()})),a("enable disable",(()=>{const{$el:e}=t.pagination;e&&e[t.enabled?"removeclass":"addclass"](t.params.pagination.lockclass)})),a("lock unlock",(()=>{p()})),a("click",((e,s)=>{const a=s.target,{$el:r}=t.pagination;if(t.params.pagination.el&&t.params.pagination.hideonclick&&r&&r.length>0&&!d(a).hasclass(t.params.pagination.bulletclass)){if(t.navigation&&(t.navigation.nextel&&a===t.navigation.nextel||t.navigation.prevel&&a===t.navigation.prevel))return;const e=r.hasclass(t.params.pagination.hiddenclass);i(!0===e?"paginationshow":"paginationhide"),r.toggleclass(t.params.pagination.hiddenclass)}}));const f=()=>{t.$el.addclass(t.params.pagination.paginationdisabledclass),t.pagination.$el&&t.pagination.$el.addclass(t.params.pagination.paginationdisabledclass),m()};object.assign(t.pagination,{enable:()=>{t.$el.removeclass(t.params.pagination.paginationdisabledclass),t.pagination.$el&&t.pagination.$el.removeclass(t.params.pagination.paginationdisabledclass),h(),u(),p()},disable:f,render:u,update:p,init:h,destroy:m})},function(e){let{swiper:t,extendparams:s,on:i,emit:r}=e;const n=a();let l,o,c,u,h=!1,m=null,f=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtltranslate:s,progress:a}=t,{$dragel:i,$el:r}=e,n=t.params.scrollbar;let l=o,d=(c-o)*a;s?(d=-d,d>0?(l=o-d,d=0):-d+o>c&&(l=c+d)):d<0?(l=o+d,d=0):d+o>c&&(l=c-d),t.ishorizontal()?(i.transform(`translate3d(${d}px, 0, 0)`),i[0].style.width=`${l}px`):(i.transform(`translate3d(0px, ${d}px, 0)`),i[0].style.height=`${l}px`),n.hide&&(cleartimeout(m),r[0].style.opacity=1,m=settimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{$dragel:s,$el:a}=e;s[0].style.width="",s[0].style.height="",c=t.ishorizontal()?a[0].offsetwidth:a[0].offsetheight,u=t.size/(t.virtualsize+t.params.slidesoffsetbefore-(t.params.centeredslides?t.snapgrid[0]:0)),o="auto"===t.params.scrollbar.dragsize?c*u:parseint(t.params.scrollbar.dragsize,10),t.ishorizontal()?s[0].style.width=`${o}px`:s[0].style.height=`${o}px`,a[0].style.display=u>=1?"none":"",t.params.scrollbar.hide&&(a[0].style.opacity=0),t.params.watchoverflow&&t.enabled&&e.$el[t.islocked?"addclass":"removeclass"](t.params.scrollbar.lockclass)}function w(e){return t.ishorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targettouches[0].clientx:e.clientx:"touchstart"===e.type||"touchmove"===e.type?e.targettouches[0].clienty:e.clienty}function b(e){const{scrollbar:s,rtltranslate:a}=t,{$el:i}=s;let r;r=(w(e)-i.offset()[t.ishorizontal()?"left":"top"]-(null!==l?l:o/2))/(c-o),r=math.max(math.min(r,1),0),a&&(r=1-r);const n=t.mintranslate()+(t.maxtranslate()-t.mintranslate())*r;t.updateprogress(n),t.settranslate(n),t.updateactiveindex(),t.updateslidesclasses()}function x(e){const s=t.params.scrollbar,{scrollbar:a,$wrapperel:i}=t,{$el:n,$dragel:o}=a;h=!0,l=e.target===o[0]||e.target===o?w(e)-e.target.getboundingclientrect()[t.ishorizontal()?"left":"top"]:null,e.preventdefault(),e.stoppropagation(),i.transition(100),o.transition(100),b(e),cleartimeout(f),n.transition(0),s.hide&&n.css("opacity",1),t.params.cssmode&&t.$wrapperel.css("scroll-snap-type","none"),r("scrollbardragstart",e)}function y(e){const{scrollbar:s,$wrapperel:a}=t,{$el:i,$dragel:n}=s;h&&(e.preventdefault?e.preventdefault():e.returnvalue=!1,b(e),a.transition(0),i.transition(0),n.transition(0),r("scrollbardragmove",e))}function e(e){const s=t.params.scrollbar,{scrollbar:a,$wrapperel:i}=t,{$el:n}=a;h&&(h=!1,t.params.cssmode&&(t.$wrapperel.css("scroll-snap-type",""),i.transition("")),s.hide&&(cleartimeout(f),f=p((()=>{n.css("opacity",0),n.transition(400)}),1e3)),r("scrollbardragend",e),s.snaponrelease&&t.slidetoclosest())}function c(e){const{scrollbar:s,toucheventstouch:a,toucheventsdesktop:i,params:r,support:l}=t,o=s.$el;if(!o)return;const d=o[0],c=!(!l.passivelistener||!r.passivelisteners)&&{passive:!1,capture:!1},p=!(!l.passivelistener||!r.passivelisteners)&&{passive:!0,capture:!1};if(!d)return;const u="on"===e?"addeventlistener":"removeeventlistener";l.touch?(d[u](a.start,x,c),d[u](a.move,y,c),d[u](a.end,e,p)):(d[u](i.start,x,c),n[u](i.move,y,c),n[u](i.end,e,p))}function t(){const{scrollbar:e,$el:s}=t;t.params.scrollbar=f(t,t.originalparams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const a=t.params.scrollbar;if(!a.el)return;let i=d(a.el);t.params.uniquenavelements&&"string"==typeof a.el&&i.length>1&&1===s.find(a.el).length&&(i=s.find(a.el)),i.addclass(t.ishorizontal()?a.horizontalclass:a.verticalclass);let r=i.find(`.${t.params.scrollbar.dragclass}`);0===r.length&&(r=d(`
`),i.append(r)),object.assign(e,{$el:i,el:i[0],$dragel:r,dragel:r[0]}),a.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&c("on"),i&&i[t.enabled?"removeclass":"addclass"](t.params.scrollbar.lockclass)}function $(){const e=t.params.scrollbar,s=t.scrollbar.$el;s&&s.removeclass(t.ishorizontal()?e.horizontalclass:e.verticalclass),t.params.scrollbar.el&&t.scrollbar.el&&c("off")}s({scrollbar:{el:null,dragsize:"auto",hide:!1,draggable:!1,snaponrelease:!0,lockclass:"swiper-scrollbar-lock",dragclass:"swiper-scrollbar-drag",scrollbardisabledclass:"swiper-scrollbar-disabled",horizontalclass:"swiper-scrollbar-horizontal",verticalclass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragel:null,$el:null,$dragel:null},i("init",(()=>{!1===t.params.scrollbar.enabled?s():(t(),v(),g())})),i("update resize observerupdate lock unlock",(()=>{v()})),i("settranslate",(()=>{g()})),i("settransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragel.transition(e)}(s)})),i("enable disable",(()=>{const{$el:e}=t.scrollbar;e&&e[t.enabled?"removeclass":"addclass"](t.params.scrollbar.lockclass)})),i("destroy",(()=>{$()}));const s=()=>{t.$el.addclass(t.params.scrollbar.scrollbardisabledclass),t.scrollbar.$el&&t.scrollbar.$el.addclass(t.params.scrollbar.scrollbardisabledclass),$()};object.assign(t.scrollbar,{enable:()=>{t.$el.removeclass(t.params.scrollbar.scrollbardisabledclass),t.scrollbar.$el&&t.scrollbar.$el.removeclass(t.params.scrollbar.scrollbardisabledclass),t(),v(),g()},disable:s,updatesize:v,settranslate:g,init:t,destroy:$})},function(e){let{swiper:t,extendparams:s,on:a}=e;s({parallax:{enabled:!1}});const i=(e,s)=>{const{rtl:a}=t,i=d(e),r=a?-1:1,n=i.attr("data-swiper-parallax")||"0";let l=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y");const c=i.attr("data-swiper-parallax-scale"),p=i.attr("data-swiper-parallax-opacity");if(l||o?(l=l||"0",o=o||"0"):t.ishorizontal()?(l=n,o="0"):(o=n,l="0"),l=l.indexof("%")>=0?parseint(l,10)*s*r+"%":l*s*r+"px",o=o.indexof("%")>=0?parseint(o,10)*s+"%":o*s+"px",null!=p){const e=p-(p-1)*(1-math.abs(s));i[0].style.opacity=e}if(null==c)i.transform(`translate3d(${l}, ${o}, 0px)`);else{const e=c-(c-1)*(1-math.abs(s));i.transform(`translate3d(${l}, ${o}, 0px) scale(${e})`)}},r=()=>{const{$el:e,slides:s,progress:a,snapgrid:r}=t;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,a)})),s.each(((e,s)=>{let n=e.progress;t.params.slidespergroup>1&&"auto"!==t.params.slidesperview&&(n+=math.ceil(s/2)-a*(r.length-1)),n=math.min(math.max(n,-1),1),d(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,n)}))}))};a("beforeinit",(()=>{t.params.parallax.enabled&&(t.params.watchslidesprogress=!0,t.originalparams.watchslidesprogress=!0)})),a("init",(()=>{t.params.parallax.enabled&&r()})),a("settranslate",(()=>{t.params.parallax.enabled&&r()})),a("settransition",((e,s)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{$el:s}=t;s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t=>{const s=d(t);let a=parseint(s.attr("data-swiper-parallax-duration"),10)||e;0===e&&(a=0),s.transition(a)}))}(s)}))},function(e){let{swiper:t,extendparams:s,on:a,emit:i}=e;const n=r();s({zoom:{enabled:!1,maxratio:3,minratio:1,toggle:!0,containerclass:"swiper-zoom-container",zoomedslideclass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let l,o,c,p=1,u=!1;const m={$slideel:void 0,slidewidth:void 0,slideheight:void 0,$imageel:void 0,$imagewrapel:void 0,maxratio:3},f={istouched:void 0,ismoved:void 0,currentx:void 0,currenty:void 0,minx:void 0,miny:void 0,maxx:void 0,maxy:void 0,width:void 0,height:void 0,startx:void 0,starty:void 0,touchesstart:{},touchescurrent:{}},g={x:void 0,y:void 0,prevpositionx:void 0,prevpositiony:void 0,prevtime:void 0};let v=1;function w(e){if(e.targettouches.length<2)return 1;const t=e.targettouches[0].pagex,s=e.targettouches[0].pagey,a=e.targettouches[1].pagex,i=e.targettouches[1].pagey;return math.sqrt((a-t)**2+(i-s)**2)}function b(e){const s=t.support,a=t.params.zoom;if(o=!1,c=!1,!s.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targettouches.length<2)return;o=!0,m.scalestart=w(e)}m.$slideel&&m.$slideel.length||(m.$slideel=d(e.target).closest(`.${t.params.slideclass}`),0===m.$slideel.length&&(m.$slideel=t.slides.eq(t.activeindex)),m.$imageel=m.$slideel.find(`.${a.containerclass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),m.$imagewrapel=m.$imageel.parent(`.${a.containerclass}`),m.maxratio=m.$imagewrapel.attr("data-swiper-zoom")||a.maxratio,0!==m.$imagewrapel.length)?(m.$imageel&&m.$imageel.transition(0),u=!0):m.$imageel=void 0}function x(e){const s=t.support,a=t.params.zoom,i=t.zoom;if(!s.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targettouches.length<2)return;c=!0,m.scalemove=w(e)}m.$imageel&&0!==m.$imageel.length?(s.gestures?i.scale=e.scale*p:i.scale=m.scalemove/m.scalestart*p,i.scale>m.maxratio&&(i.scale=m.maxratio-1+(i.scale-m.maxratio+1)**.5),i.scalef.touchesstart.x))return void(f.istouched=!1);if(!t.ishorizontal()&&(math.floor(f.miny)===math.floor(f.starty)&&f.touchescurrent.yf.touchesstart.y))return void(f.istouched=!1)}e.cancelable&&e.preventdefault(),e.stoppropagation(),f.ismoved=!0,f.currentx=f.touchescurrent.x-f.touchesstart.x+f.startx,f.currenty=f.touchescurrent.y-f.touchesstart.y+f.starty,f.currentxf.maxx&&(f.currentx=f.maxx-1+(f.currentx-f.maxx+1)**.8),f.currentyf.maxy&&(f.currenty=f.maxy-1+(f.currenty-f.maxy+1)**.8),g.prevpositionx||(g.prevpositionx=f.touchescurrent.x),g.prevpositiony||(g.prevpositiony=f.touchescurrent.y),g.prevtime||(g.prevtime=date.now()),g.x=(f.touchescurrent.x-g.prevpositionx)/(date.now()-g.prevtime)/2,g.y=(f.touchescurrent.y-g.prevpositiony)/(date.now()-g.prevtime)/2,math.abs(f.touchescurrent.x-g.prevpositionx)<2&&(g.x=0),math.abs(f.touchescurrent.y-g.prevpositiony)<2&&(g.y=0),g.prevpositionx=f.touchescurrent.x,g.prevpositiony=f.touchescurrent.y,g.prevtime=date.now(),m.$imagewrapel.transform(`translate3d(${f.currentx}px, ${f.currenty}px,0)`)}}function c(){const e=t.zoom;m.$slideel&&t.previousindex!==t.activeindex&&(m.$imageel&&m.$imageel.transform("translate3d(0,0,0) scale(1)"),m.$imagewrapel&&m.$imagewrapel.transform("translate3d(0,0,0)"),e.scale=1,p=1,m.$slideel=void 0,m.$imageel=void 0,m.$imagewrapel=void 0)}function t(e){const s=t.zoom,a=t.params.zoom;if(m.$slideel||(e&&e.target&&(m.$slideel=d(e.target).closest(`.${t.params.slideclass}`)),m.$slideel||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?m.$slideel=t.$wrapperel.children(`.${t.params.slideactiveclass}`):m.$slideel=t.slides.eq(t.activeindex)),m.$imageel=m.$slideel.find(`.${a.containerclass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),m.$imagewrapel=m.$imageel.parent(`.${a.containerclass}`)),!m.$imageel||0===m.$imageel.length||!m.$imagewrapel||0===m.$imagewrapel.length)return;let i,r,l,o,c,u,h,g,v,w,b,x,y,e,c,t,$,s;t.params.cssmode&&(t.wrapperel.style.overflow="hidden",t.wrapperel.style.touchaction="none"),m.$slideel.addclass(`${a.zoomedslideclass}`),void 0===f.touchesstart.x&&e?(i="touchend"===e.type?e.changedtouches[0].pagex:e.pagex,r="touchend"===e.type?e.changedtouches[0].pagey:e.pagey):(i=f.touchesstart.x,r=f.touchesstart.y),s.scale=m.$imagewrapel.attr("data-swiper-zoom")||a.maxratio,p=m.$imagewrapel.attr("data-swiper-zoom")||a.maxratio,e?($=m.$slideel[0].offsetwidth,s=m.$slideel[0].offsetheight,l=m.$slideel.offset().left+n.scrollx,o=m.$slideel.offset().top+n.scrolly,c=l+$/2-i,u=o+s/2-r,v=m.$imageel[0].offsetwidth,w=m.$imageel[0].offsetheight,b=v*s.scale,x=w*s.scale,y=math.min($/2-b/2,0),e=math.min(s/2-x/2,0),c=-y,t=-e,h=c*s.scale,g=u*s.scale,hc&&(h=c),gt&&(g=t)):(h=0,g=0),m.$imagewrapel.transition(300).transform(`translate3d(${h}px, ${g}px,0)`),m.$imageel.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`)}function $(){const e=t.zoom,s=t.params.zoom;m.$slideel||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?m.$slideel=t.$wrapperel.children(`.${t.params.slideactiveclass}`):m.$slideel=t.slides.eq(t.activeindex),m.$imageel=m.$slideel.find(`.${s.containerclass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),m.$imagewrapel=m.$imageel.parent(`.${s.containerclass}`)),m.$imageel&&0!==m.$imageel.length&&m.$imagewrapel&&0!==m.$imagewrapel.length&&(t.params.cssmode&&(t.wrapperel.style.overflow="",t.wrapperel.style.touchaction=""),e.scale=1,p=1,m.$imagewrapel.transition(300).transform("translate3d(0,0,0)"),m.$imageel.transition(300).transform("translate3d(0,0,0) scale(1)"),m.$slideel.removeclass(`${s.zoomedslideclass}`),m.$slideel=void 0)}function s(e){const s=t.zoom;s.scale&&1!==s.scale?$():t(e)}function m(){const e=t.support;return{passivelistener:!("touchstart"!==t.touchevents.start||!e.passivelistener||!t.params.passivelisteners)&&{passive:!0,capture:!1},activelistenerwithcapture:!e.passivelistener||{passive:!1,capture:!0}}}function p(){return`.${t.params.slideclass}`}function k(e){const{passivelistener:s}=m(),a=p();t.$wrapperel[e]("gesturestart",a,b,s),t.$wrapperel[e]("gesturechange",a,x,s),t.$wrapperel[e]("gestureend",a,y,s)}function z(){l||(l=!0,k("on"))}function l(){l&&(l=!1,k("off"))}function o(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const s=t.support,{passivelistener:a,activelistenerwithcapture:i}=m(),r=p();s.gestures?(t.$wrapperel.on(t.touchevents.start,z,a),t.$wrapperel.on(t.touchevents.end,l,a)):"touchstart"===t.touchevents.start&&(t.$wrapperel.on(t.touchevents.start,r,b,a),t.$wrapperel.on(t.touchevents.move,r,x,i),t.$wrapperel.on(t.touchevents.end,r,y,a),t.touchevents.cancel&&t.$wrapperel.on(t.touchevents.cancel,r,y,a)),t.$wrapperel.on(t.touchevents.move,`.${t.params.zoom.containerclass}`,e,i)}function i(){const e=t.zoom;if(!e.enabled)return;const s=t.support;e.enabled=!1;const{passivelistener:a,activelistenerwithcapture:i}=m(),r=p();s.gestures?(t.$wrapperel.off(t.touchevents.start,z,a),t.$wrapperel.off(t.touchevents.end,l,a)):"touchstart"===t.touchevents.start&&(t.$wrapperel.off(t.touchevents.start,r,b,a),t.$wrapperel.off(t.touchevents.move,r,x,i),t.$wrapperel.off(t.touchevents.end,r,y,a),t.touchevents.cancel&&t.$wrapperel.off(t.touchevents.cancel,r,y,a)),t.$wrapperel.off(t.touchevents.move,`.${t.params.zoom.containerclass}`,e,i)}object.defineproperty(t.zoom,"scale",{get:()=>v,set(e){if(v!==e){const t=m.$imageel?m.$imageel[0]:void 0,s=m.$slideel?m.$slideel[0]:void 0;i("zoomchange",e,t,s)}v=e}}),a("init",(()=>{t.params.zoom.enabled&&o()})),a("destroy",(()=>{i()})),a("touchstart",((e,s)=>{t.zoom.enabled&&function(e){const s=t.device;m.$imageel&&0!==m.$imageel.length&&(f.istouched||(s.android&&e.cancelable&&e.preventdefault(),f.istouched=!0,f.touchesstart.x="touchstart"===e.type?e.targettouches[0].pagex:e.pagex,f.touchesstart.y="touchstart"===e.type?e.targettouches[0].pagey:e.pagey))}(s)})),a("touchend",((e,s)=>{t.zoom.enabled&&function(){const e=t.zoom;if(!m.$imageel||0===m.$imageel.length)return;if(!f.istouched||!f.ismoved)return f.istouched=!1,void(f.ismoved=!1);f.istouched=!1,f.ismoved=!1;let s=300,a=300;const i=g.x*s,r=f.currentx+i,n=g.y*a,l=f.currenty+n;0!==g.x&&(s=math.abs((r-f.currentx)/g.x)),0!==g.y&&(a=math.abs((l-f.currenty)/g.y));const o=math.max(s,a);f.currentx=r,f.currenty=l;const d=f.width*e.scale,c=f.height*e.scale;f.minx=math.min(m.slidewidth/2-d/2,0),f.maxx=-f.minx,f.miny=math.min(m.slideheight/2-c/2,0),f.maxy=-f.miny,f.currentx=math.max(math.min(f.currentx,f.maxx),f.minx),f.currenty=math.max(math.min(f.currenty,f.maxy),f.miny),m.$imagewrapel.transition(o).transform(`translate3d(${f.currentx}px, ${f.currenty}px,0)`)}()})),a("doubletap",((e,s)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&s(s)})),a("transitionend",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&c()})),a("slidechange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssmode&&c()})),object.assign(t.zoom,{enable:o,disable:i,in:t,out:$,toggle:s})},function(e){let{swiper:t,extendparams:s,on:a,emit:i}=e;s({lazy:{checkinview:!1,enabled:!1,loadprevnext:!1,loadprevnextamount:1,loadontransitionstart:!1,scrollingelement:"",elementclass:"swiper-lazy",loadingclass:"swiper-lazy-loading",loadedclass:"swiper-lazy-loaded",preloaderclass:"swiper-lazy-preloader"}}),t.lazy={};let n=!1,l=!1;function o(e,s){void 0===s&&(s=!0);const a=t.params.lazy;if(void 0===e)return;if(0===t.slides.length)return;const r=t.virtual&&t.params.virtual.enabled?t.$wrapperel.children(`.${t.params.slideclass}[data-swiper-slide-index="${e}"]`):t.slides.eq(e),n=r.find(`.${a.elementclass}:not(.${a.loadedclass}):not(.${a.loadingclass})`);!r.hasclass(a.elementclass)||r.hasclass(a.loadedclass)||r.hasclass(a.loadingclass)||n.push(r[0]),0!==n.length&&n.each((e=>{const n=d(e);n.addclass(a.loadingclass);const l=n.attr("data-background"),c=n.attr("data-src"),p=n.attr("data-srcset"),u=n.attr("data-sizes"),h=n.parent("picture");t.loadimage(n[0],c||l,p,u,!1,(()=>{if(null!=t&&t&&(!t||t.params)&&!t.destroyed){if(l?(n.css("background-image",`url("${l}")`),n.removeattr("data-background")):(p&&(n.attr("srcset",p),n.removeattr("data-srcset")),u&&(n.attr("sizes",u),n.removeattr("data-sizes")),h.length&&h.children("source").each((e=>{const t=d(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeattr("data-srcset"))})),c&&(n.attr("src",c),n.removeattr("data-src"))),n.addclass(a.loadedclass).removeclass(a.loadingclass),r.find(`.${a.preloaderclass}`).remove(),t.params.loop&&s){const e=r.attr("data-swiper-slide-index");if(r.hasclass(t.params.slideduplicateclass)){o(t.$wrapperel.children(`[data-swiper-slide-index="${e}"]:not(.${t.params.slideduplicateclass})`).index(),!1)}else{o(t.$wrapperel.children(`.${t.params.slideduplicateclass}[data-swiper-slide-index="${e}"]`).index(),!1)}}i("lazyimageready",r[0],n[0]),t.params.autoheight&&t.updateautoheight()}})),i("lazyimageload",r[0],n[0])}))}function c(){const{$wrapperel:e,params:s,slides:a,activeindex:i}=t,r=t.virtual&&s.virtual.enabled,n=s.lazy;let c=s.slidesperview;function p(t){if(r){if(e.children(`.${s.slideclass}[data-swiper-slide-index="${t}"]`).length)return!0}else if(a[t])return!0;return!1}function u(e){return r?d(e).attr("data-swiper-slide-index"):d(e).index()}if("auto"===c&&(c=0),l||(l=!0),t.params.watchslidesprogress)e.children(`.${s.slidevisibleclass}`).each((e=>{o(r?d(e).attr("data-swiper-slide-index"):d(e).index())}));else if(c>1)for(let e=i;e1||n.loadprevnextamount&&n.loadprevnextamount>1){const e=n.loadprevnextamount,t=math.ceil(c),s=math.min(i+t+math.max(e,t),a.length),r=math.max(i-math.max(t,e),0);for(let e=i+t;e0&&o(u(t));const a=e.children(`.${s.slideprevclass}`);a.length>0&&o(u(a))}}function p(){const e=r();if(!t||t.destroyed)return;const s=t.params.lazy.scrollingelement?d(t.params.lazy.scrollingelement):d(e),a=s[0]===e,i=a?e.innerwidth:s[0].offsetwidth,l=a?e.innerheight:s[0].offsetheight,o=t.$el.offset(),{rtltranslate:u}=t;let h=!1;u&&(o.left-=t.$el[0].scrollleft);const m=[[o.left,o.top],[o.left+t.width,o.top],[o.left,o.top+t.height],[o.left+t.width,o.top+t.height]];for(let e=0;e=0&&t[0]<=i&&t[1]>=0&&t[1]<=l){if(0===t[0]&&0===t[1])continue;h=!0}}const f=!("touchstart"!==t.touchevents.start||!t.support.passivelistener||!t.params.passivelisteners)&&{passive:!0,capture:!1};h?(c(),s.off("scroll",p,f)):n||(n=!0,s.on("scroll",p,f))}a("beforeinit",(()=>{t.params.lazy.enabled&&t.params.preloadimages&&(t.params.preloadimages=!1)})),a("init",(()=>{t.params.lazy.enabled&&(t.params.lazy.checkinview?p():c())})),a("scroll",(()=>{t.params.freemode&&t.params.freemode.enabled&&!t.params.freemode.sticky&&c()})),a("scrollbardragmove resize _freemodenomomentumrelease",(()=>{t.params.lazy.enabled&&(t.params.lazy.checkinview?p():c())})),a("transitionstart",(()=>{t.params.lazy.enabled&&(t.params.lazy.loadontransitionstart||!t.params.lazy.loadontransitionstart&&!l)&&(t.params.lazy.checkinview?p():c())})),a("transitionend",(()=>{t.params.lazy.enabled&&!t.params.lazy.loadontransitionstart&&(t.params.lazy.checkinview?p():c())})),a("slidechange",(()=>{const{lazy:e,cssmode:s,watchslidesprogress:a,touchreleaseonedges:i,resistanceratio:r}=t.params;e.enabled&&(s||a&&(i||0===r))&&c()})),a("destroy",(()=>{t.$el&&t.$el.find(`.${t.params.lazy.loadingclass}`).removeclass(t.params.lazy.loadingclass)})),object.assign(t.lazy,{load:c,loadinslide:o})},function(e){let{swiper:t,extendparams:s,on:a}=e;function i(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastindex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function r(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}s({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},a("beforeinit",(()=>{t.controller.control=t.params.controller.control})),a("update",(()=>{r()})),a("resize",(()=>{r()})),a("observerupdate",(()=>{r()})),a("settranslate",((e,s,a)=>{t.controller.control&&t.controller.settranslate(s,a)})),a("settransition",((e,s,a)=>{t.controller.control&&t.controller.settransition(s,a)})),object.assign(t.controller,{settranslate:function(e,s){const a=t.controller.control;let r,n;const l=t.constructor;function o(e){const s=t.rtltranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(!function(e){t.controller.spline||(t.controller.spline=t.params.loop?new i(t.slidesgrid,e.slidesgrid):new i(t.snapgrid,e.snapgrid))}(e),n=-t.controller.spline.interpolate(-s)),n&&"container"!==t.params.controller.by||(r=(e.maxtranslate()-e.mintranslate())/(t.maxtranslate()-t.mintranslate()),n=(s-t.mintranslate())*r+e.mintranslate()),t.params.controller.inverse&&(n=e.maxtranslate()-n),e.updateprogress(n),e.settranslate(n,t),e.updateactiveindex(),e.updateslidesclasses()}if(array.isarray(a))for(let e=0;e{s.updateautoheight()})),s.$wrapperel.transitionend((()=>{i&&(s.params.loop&&"slide"===t.params.controller.by&&s.loopfix(),s.transitionend())})))}if(array.isarray(i))for(r=0;r{n(e),"button"!==e[0].tagname&&(o(e,"button"),e.on("keydown",m)),p(e,s),function(e,t){e.attr("aria-controls",t)}(e,t)},w=e=>{const s=e.target.closest(`.${t.params.slideclass}`);if(!s||!t.slides.includes(s))return;const a=t.slides.indexof(s)===t.activeindex,i=t.params.watchslidesprogress&&t.visibleslides&&t.visibleslides.includes(s);a||i||t.slideto(t.slides.indexof(s),0)},b=()=>{const e=t.params.a11y;e.itemroledescriptionmessage&&c(d(t.slides),e.itemroledescriptionmessage),e.sliderole&&o(d(t.slides),e.sliderole);const s=t.params.loop?t.slides.filter((e=>!e.classlist.contains(t.params.slideduplicateclass))).length:t.slides.length;e.slidelabelmessage&&t.slides.each(((a,i)=>{const r=d(a),n=t.params.loop?parseint(r.attr("data-swiper-slide-index"),10):i;p(r,e.slidelabelmessage.replace(/\{\{index\}\}/,n+1).replace(/\{\{slideslength\}\}/,s))}))},x=()=>{const e=t.params.a11y;t.$el.append(i);const s=t.$el;e.containerroledescriptionmessage&&c(s,e.containerroledescriptionmessage),e.containermessage&&p(s,e.containermessage);const a=t.$wrapperel,r=e.id||a.attr("id")||`swiper-wrapper-${n=16,void 0===n&&(n=16),"x".repeat(n).replace(/x/g,(()=>math.round(16*math.random()).tostring(16)))}`;var n;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var o;let d,u;o=r,a.attr("id",o),function(e,t){e.attr("aria-live",t)}(a,l),b(),t.navigation&&t.navigation.$nextel&&(d=t.navigation.$nextel),t.navigation&&t.navigation.$prevel&&(u=t.navigation.$prevel),d&&d.length&&v(d,r,e.nextslidemessage),u&&u.length&&v(u,r,e.prevslidemessage),g()&&t.pagination.$el.on("keydown",u(t.params.pagination.bulletclass),m),t.$el.on("focus",w,!0)};a("beforeinit",(()=>{i=d(``)})),a("afterinit",(()=>{t.params.a11y.enabled&&x()})),a("slideslengthchange snapgridlengthchange slidesgridlengthchange",(()=>{t.params.a11y.enabled&&b()})),a("fromedge toedge afterinit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{$nextel:e,$prevel:s}=t.navigation;s&&s.length>0&&(t.isbeginning?(u(s),l(s)):(h(s),n(s))),e&&e.length>0&&(t.isend?(u(e),l(e)):(h(e),n(e)))}()})),a("paginationupdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;f()&&t.pagination.bullets.each((s=>{const a=d(s);t.params.pagination.clickable&&(n(a),t.params.pagination.renderbullet||(o(a,"button"),p(a,e.paginationbulletmessage.replace(/\{\{index\}\}/,a.index()+1)))),a.is(`.${t.params.pagination.bulletactiveclass}`)?a.attr("aria-current","true"):a.removeattr("aria-current")}))}()})),a("destroy",(()=>{t.params.a11y.enabled&&function(){let e,s;i&&i.length>0&&i.remove(),t.navigation&&t.navigation.$nextel&&(e=t.navigation.$nextel),t.navigation&&t.navigation.$prevel&&(s=t.navigation.$prevel),e&&e.off("keydown",m),s&&s.off("keydown",m),g()&&t.pagination.$el.off("keydown",u(t.params.pagination.bulletclass),m),t.$el.off("focus",w,!0)}()}))},function(e){let{swiper:t,extendparams:s,on:a}=e;s({history:{enabled:!1,root:"",replacestate:!1,key:"slides",keepquery:!1}});let i=!1,n={};const l=e=>e.tostring().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{const t=r();let s;s=e?new url(e):t.location;const a=s.pathname.slice(1).split("/").filter((e=>""!==e)),i=a.length;return{key:a[i-2],value:a[i-1]}},d=(e,s)=>{const a=r();if(!i||!t.params.history.enabled)return;let n;n=t.params.url?new url(t.params.url):a.location;const o=t.slides.eq(s);let d=l(o.attr("data-history"));if(t.params.history.root.length>0){let s=t.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${e}/${d}`}else n.pathname.includes(e)||(d=`${e}/${d}`);t.params.history.keepquery&&(d+=n.search);const c=a.history.state;c&&c.value===d||(t.params.history.replacestate?a.history.replacestate({value:d},null,d):a.history.pushstate({value:d},null,d))},c=(e,s,a)=>{if(s)for(let i=0,r=t.slides.length;i{n=o(t.params.url),c(t.params.speed,n.value,!1)};a("init",(()=>{t.params.history.enabled&&(()=>{const e=r();if(t.params.history){if(!e.history||!e.history.pushstate)return t.params.history.enabled=!1,void(t.params.hashnavigation.enabled=!0);i=!0,n=o(t.params.url),(n.key||n.value)&&(c(0,n.value,t.params.runcallbacksoninit),t.params.history.replacestate||e.addeventlistener("popstate",p))}})()})),a("destroy",(()=>{t.params.history.enabled&&(()=>{const e=r();t.params.history.replacestate||e.removeeventlistener("popstate",p)})()})),a("transitionend _freemodenomomentumrelease",(()=>{i&&d(t.params.history.key,t.activeindex)})),a("slidechange",(()=>{i&&t.params.cssmode&&d(t.params.history.key,t.activeindex)}))},function(e){let{swiper:t,extendparams:s,emit:i,on:n}=e,l=!1;const o=a(),c=r();s({hashnavigation:{enabled:!1,replacestate:!1,watchstate:!1}});const p=()=>{i("hashchange");const e=o.location.hash.replace("#","");if(e!==t.slides.eq(t.activeindex).attr("data-hash")){const s=t.$wrapperel.children(`.${t.params.slideclass}[data-hash="${e}"]`).index();if(void 0===s)return;t.slideto(s)}},u=()=>{if(l&&t.params.hashnavigation.enabled)if(t.params.hashnavigation.replacestate&&c.history&&c.history.replacestate)c.history.replacestate(null,null,`#${t.slides.eq(t.activeindex).attr("data-hash")}`||""),i("hashset");else{const e=t.slides.eq(t.activeindex),s=e.attr("data-hash")||e.attr("data-history");o.location.hash=s||"",i("hashset")}};n("init",(()=>{t.params.hashnavigation.enabled&&(()=>{if(!t.params.hashnavigation.enabled||t.params.history&&t.params.history.enabled)return;l=!0;const e=o.location.hash.replace("#","");if(e){const s=0;for(let a=0,i=t.slides.length;a{t.params.hashnavigation.enabled&&t.params.hashnavigation.watchstate&&d(c).off("hashchange",p)})),n("transitionend _freemodenomomentumrelease",(()=>{l&&u()})),n("slidechange",(()=>{l&&t.params.cssmode&&u()}))},function(e){let t,{swiper:s,extendparams:i,on:r,emit:n}=e;function l(){const e=s.slides.eq(s.activeindex);let a=s.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(a=e.attr("data-swiper-autoplay")||s.params.autoplay.delay),cleartimeout(t),t=p((()=>{let e;s.params.autoplay.reversedirection?s.params.loop?(s.loopfix(),e=s.slideprev(s.params.speed,!0,!0),n("autoplay")):s.isbeginning?s.params.autoplay.stoponlastslide?d():(e=s.slideto(s.slides.length-1,s.params.speed,!0,!0),n("autoplay")):(e=s.slideprev(s.params.speed,!0,!0),n("autoplay")):s.params.loop?(s.loopfix(),e=s.slidenext(s.params.speed,!0,!0),n("autoplay")):s.isend?s.params.autoplay.stoponlastslide?d():(e=s.slideto(0,s.params.speed,!0,!0),n("autoplay")):(e=s.slidenext(s.params.speed,!0,!0),n("autoplay")),(s.params.cssmode&&s.autoplay.running||!1===e)&&l()}),a)}function o(){return void 0===t&&(!s.autoplay.running&&(s.autoplay.running=!0,n("autoplaystart"),l(),!0))}function d(){return!!s.autoplay.running&&(void 0!==t&&(t&&(cleartimeout(t),t=void 0),s.autoplay.running=!1,n("autoplaystop"),!0))}function c(e){s.autoplay.running&&(s.autoplay.paused||(t&&cleartimeout(t),s.autoplay.paused=!0,0!==e&&s.params.autoplay.waitfortransition?["transitionend","webkittransitionend"].foreach((e=>{s.$wrapperel[0].addeventlistener(e,h)})):(s.autoplay.paused=!1,l())))}function u(){const e=a();"hidden"===e.visibilitystate&&s.autoplay.running&&c(),"visible"===e.visibilitystate&&s.autoplay.paused&&(l(),s.autoplay.paused=!1)}function h(e){s&&!s.destroyed&&s.$wrapperel&&e.target===s.$wrapperel[0]&&(["transitionend","webkittransitionend"].foreach((e=>{s.$wrapperel[0].removeeventlistener(e,h)})),s.autoplay.paused=!1,s.autoplay.running?l():d())}function m(){s.params.autoplay.disableoninteraction?d():(n("autoplaypause"),c()),["transitionend","webkittransitionend"].foreach((e=>{s.$wrapperel[0].removeeventlistener(e,h)}))}function f(){s.params.autoplay.disableoninteraction||(s.autoplay.paused=!1,n("autoplayresume"),l())}s.autoplay={running:!1,paused:!1},i({autoplay:{enabled:!1,delay:3e3,waitfortransition:!0,disableoninteraction:!0,stoponlastslide:!1,reversedirection:!1,pauseonmouseenter:!1}}),r("init",(()=>{if(s.params.autoplay.enabled){o();a().addeventlistener("visibilitychange",u),s.params.autoplay.pauseonmouseenter&&(s.$el.on("mouseenter",m),s.$el.on("mouseleave",f))}})),r("beforetransitionstart",((e,t,a)=>{s.autoplay.running&&(a||!s.params.autoplay.disableoninteraction?s.autoplay.pause(t):d())})),r("sliderfirstmove",(()=>{s.autoplay.running&&(s.params.autoplay.disableoninteraction?d():c())})),r("touchend",(()=>{s.params.cssmode&&s.autoplay.paused&&!s.params.autoplay.disableoninteraction&&l()})),r("destroy",(()=>{s.$el.off("mouseenter",m),s.$el.off("mouseleave",f),s.autoplay.running&&d();a().removeeventlistener("visibilitychange",u)})),object.assign(s.autoplay,{pause:c,run:l,start:o,stop:d})},function(e){let{swiper:t,extendparams:s,on:a}=e;s({thumbs:{swiper:null,multipleactivethumbs:!0,autoscrolloffset:0,slidethumbactiveclass:"swiper-slide-thumb-active",thumbscontainerclass:"swiper-thumbs"}});let i=!1,r=!1;function n(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const s=e.clickedindex,a=e.clickedslide;if(a&&d(a).hasclass(t.params.thumbs.slidethumbactiveclass))return;if(null==s)return;let i;if(i=e.params.loop?parseint(d(e.clickedslide).attr("data-swiper-slide-index"),10):s,t.params.loop){let e=t.activeindex;t.slides.eq(e).hasclass(t.params.slideduplicateclass)&&(t.loopfix(),t._clientleft=t.$wrapperel[0].clientleft,e=t.activeindex);const s=t.slides.eq(e).prevall(`[data-swiper-slide-index="${i}"]`).eq(0).index(),a=t.slides.eq(e).nextall(`[data-swiper-slide-index="${i}"]`).eq(0).index();i=void 0===s?a:void 0===a?s:a-e1&&!t.params.centeredslides&&(i=t.params.slidesperview),t.params.thumbs.multipleactivethumbs||(i=1),i=math.floor(i),s.slides.removeclass(r),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let e=0;e1?a:o:a-ot.previousindex?"next":"prev"}else i=t.realindex,r=i>t.previousindex?"next":"prev";l&&(i+="next"===r?n:-1*n),s.visibleslidesindexes&&s.visibleslidesindexes.indexof(i)<0&&(s.params.centeredslides?i=i>o?i-math.floor(a/2)+1:i+math.floor(a/2)-1:i>o&&s.params.slidespergroup,s.slideto(i,e?0:void 0))}}t.thumbs={swiper:null},a("beforeinit",(()=>{const{thumbs:e}=t.params;e&&e.swiper&&(l(),o(!0))})),a("slidechange update resize observerupdate",(()=>{o()})),a("settransition",((e,s)=>{const a=t.thumbs.swiper;a&&!a.destroyed&&a.settransition(s)})),a("beforedestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&r&&e.destroy()})),object.assign(t.thumbs,{init:l,update:o})},function(e){let{swiper:t,extendparams:s,emit:a,once:i}=e;s({freemode:{enabled:!1,momentum:!0,momentumratio:1,momentumbounce:!0,momentumbounceratio:1,momentumvelocityratio:1,sticky:!1,minimumvelocity:.02}}),object.assign(t,{freemode:{ontouchstart:function(){const e=t.gettranslate();t.settranslate(e),t.settransition(0),t.toucheventsdata.velocities.length=0,t.freemode.ontouchend({currentpos:t.rtl?t.translate:-t.translate})},ontouchmove:function(){const{toucheventsdata:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.ishorizontal()?"startx":"starty"],time:e.touchstarttime}),e.velocities.push({position:s[t.ishorizontal()?"currentx":"currenty"],time:u()})},ontouchend:function(e){let{currentpos:s}=e;const{params:r,$wrapperel:n,rtltranslate:l,snapgrid:o,toucheventsdata:d}=t,c=u()-d.touchstarttime;if(s<-t.mintranslate())t.slideto(t.activeindex);else if(s>-t.maxtranslate())t.slides.length1){const e=d.velocities.pop(),s=d.velocities.pop(),a=e.position-s.position,i=e.time-s.time;t.velocity=a/i,t.velocity/=2,math.abs(t.velocity)150||u()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freemode.momentumvelocityratio,d.velocities.length=0;let e=1e3*r.freemode.momentumratio;const s=t.velocity*e;let c=t.translate+s;l&&(c=-c);let p,h=!1;const m=20*math.abs(t.velocity)*r.freemode.momentumbounceratio;let f;if(ct.mintranslate())r.freemode.momentumbounce?(c-t.mintranslate()>m&&(c=t.mintranslate()+m),p=t.mintranslate(),h=!0,d.allowmomentumbounce=!0):c=t.mintranslate(),r.loop&&r.centeredslides&&(f=!0);else if(r.freemode.sticky){let e;for(let t=0;t-c){e=t;break}c=math.abs(o[e]-c){t.loopfix()})),0!==t.velocity){if(e=l?math.abs((-c-t.translate)/t.velocity):math.abs((c-t.translate)/t.velocity),r.freemode.sticky){const s=math.abs((l?-c:c)-t.translate),a=t.slidessizesgrid[t.activeindex];e=s{t&&!t.destroyed&&d.allowmomentumbounce&&(a("momentumbounce"),t.settransition(r.speed),settimeout((()=>{t.settranslate(p),n.transitionend((()=>{t&&!t.destroyed&&t.transitionend()}))}),0))}))):t.velocity?(a("_freemodenomomentumrelease"),t.updateprogress(c),t.settransition(e),t.settranslate(c),t.transitionstart(!0,t.swipedirection),t.animating||(t.animating=!0,n.transitionend((()=>{t&&!t.destroyed&&t.transitionend()})))):t.updateprogress(c),t.updateactiveindex(),t.updateslidesclasses()}else{if(r.freemode.sticky)return void t.slidetoclosest();r.freemode&&a("_freemodenomomentumrelease")}(!r.freemode.momentum||c>=r.longswipesms)&&(t.updateprogress(),t.updateactiveindex(),t.updateslidesclasses())}}}})},function(e){let t,s,a,{swiper:i,extendparams:r}=e;r({grid:{rows:1,fill:"column"}}),i.grid={initslides:e=>{const{slidesperview:r}=i.params,{rows:n,fill:l}=i.params.grid;s=t/n,a=math.floor(e/n),t=math.floor(e/n)===e/n?e:math.ceil(e/n)*n,"auto"!==r&&"row"===l&&(t=math.max(t,r*n))},updateslide:(e,r,n,l)=>{const{slidespergroup:o,spacebetween:d}=i.params,{rows:c,fill:p}=i.params.grid;let u,h,m;if("row"===p&&o>1){const s=math.floor(e/(o*c)),a=e-c*o*s,i=0===s?o:math.min(math.ceil((n-s*c*o)/c),o);m=math.floor(a/i),h=a-m*i+s*o,u=h+m*t/c,r.css({"-webkit-order":u,order:u})}else"column"===p?(h=math.floor(e/c),m=e-h*c,(h>a||h===a&&m===c-1)&&(m+=1,m>=c&&(m=0,h+=1))):(m=math.floor(e/s),h=e-m*s);r.css(l("margin-top"),0!==m?d&&`${d}px`:"")},updatewrappersize:(e,s,a)=>{const{spacebetween:r,centeredslides:n,roundlengths:l}=i.params,{rows:o}=i.params.grid;if(i.virtualsize=(e+r)*t,i.virtualsize=math.ceil(i.virtualsize/o)-r,i.$wrapperel.css({[a("width")]:`${i.virtualsize+r}px`}),n){s.splice(0,s.length);const e=[];for(let t=0;t{const{slides:e}=t,s=t.params.fadeeffect;for(let a=0;a{const{transformel:s}=t.params.fadeeffect;(s?t.slides.find(s):t.slides).transition(e),ae({swiper:t,duration:e,transformel:s,allslides:!0})},overwriteparams:()=>({slidesperview:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!t.params.cssmode})})},function(e){let{swiper:t,extendparams:s,on:a}=e;s({cubeeffect:{slideshadows:!0,shadow:!0,shadowoffset:20,shadowscale:.94}});const i=(e,t,s)=>{let a=s?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),i=s?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===a.length&&(a=d(`
`),e.append(a)),0===i.length&&(i=d(`
`),e.append(i)),a.length&&(a[0].style.opacity=math.max(-t,0)),i.length&&(i[0].style.opacity=math.max(t,0))};te({effect:"cube",swiper:t,on:a,settranslate:()=>{const{$el:e,$wrapperel:s,slides:a,width:r,height:n,rtltranslate:l,size:o,browser:c}=t,p=t.params.cubeeffect,u=t.ishorizontal(),h=t.virtual&&t.params.virtual.enabled;let m,f=0;p.shadow&&(u?(m=s.find(".swiper-cube-shadow"),0===m.length&&(m=d('
'),s.append(m)),m.css({height:`${r}px`})):(m=e.find(".swiper-cube-shadow"),0===m.length&&(m=d('
'),e.append(m))));for(let e=0;e-1&&(f=90*s+90*d,l&&(f=90*-s-90*d)),t.transform(v),p.slideshadows&&i(t,d,u)}if(s.css({"-webkit-transform-origin":`50% 50% -${o/2}px`,"transform-origin":`50% 50% -${o/2}px`}),p.shadow)if(u)m.transform(`translate3d(0px, ${r/2+p.shadowoffset}px, ${-r/2}px) rotatex(90deg) rotatez(0deg) scale(${p.shadowscale})`);else{const e=math.abs(f)-90*math.floor(math.abs(f)/90),t=1.5-(math.sin(2*e*math.pi/360)/2+math.cos(2*e*math.pi/360)/2),s=p.shadowscale,a=p.shadowscale/t,i=p.shadowoffset;m.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${n/2+i}px, ${-n/2/a}px) rotatex(-90deg)`)}const g=c.issafari||c.iswebview?-o/2:0;s.transform(`translate3d(0px,0,${g}px) rotatex(${t.ishorizontal()?0:f}deg) rotatey(${t.ishorizontal()?-f:0}deg)`),s[0].style.setproperty("--swiper-cube-translate-z",`${g}px`)},settransition:e=>{const{$el:s,slides:a}=t;a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeeffect.shadow&&!t.ishorizontal()&&s.find(".swiper-cube-shadow").transition(e)},recreateshadows:()=>{const e=t.ishorizontal();t.slides.each((t=>{const s=math.max(math.min(t.progress,1),-1);i(d(t),s,e)}))},geteffectparams:()=>t.params.cubeeffect,perspective:()=>!0,overwriteparams:()=>({slidesperview:1,slidespergroup:1,watchslidesprogress:!0,resistanceratio:0,spacebetween:0,centeredslides:!1,virtualtranslate:!0})})},function(e){let{swiper:t,extendparams:s,on:a}=e;s({flipeffect:{slideshadows:!0,limitrotation:!0,transformel:null}});const i=(e,s,a)=>{let i=t.ishorizontal()?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=t.ishorizontal()?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===i.length&&(i=ie(a,e,t.ishorizontal()?"left":"top")),0===r.length&&(r=ie(a,e,t.ishorizontal()?"right":"bottom")),i.length&&(i[0].style.opacity=math.max(-s,0)),r.length&&(r[0].style.opacity=math.max(s,0))};te({effect:"flip",swiper:t,on:a,settranslate:()=>{const{slides:e,rtltranslate:s}=t,a=t.params.flipeffect;for(let r=0;r{const{transformel:s}=t.params.flipeffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),ae({swiper:t,duration:e,transformel:s})},recreateshadows:()=>{const e=t.params.flipeffect;t.slides.each((s=>{const a=d(s);let r=a[0].progress;t.params.flipeffect.limitrotation&&(r=math.max(math.min(s.progress,1),-1)),i(a,r,e)}))},geteffectparams:()=>t.params.flipeffect,perspective:()=>!0,overwriteparams:()=>({slidesperview:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!t.params.cssmode})})},function(e){let{swiper:t,extendparams:s,on:a}=e;s({coverfloweffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideshadows:!0,transformel:null}}),te({effect:"coverflow",swiper:t,on:a,settranslate:()=>{const{width:e,height:s,slides:a,slidessizesgrid:i}=t,r=t.params.coverfloweffect,n=t.ishorizontal(),l=t.translate,o=n?e/2-l:s/2-l,d=n?r.rotate:-r.rotate,c=r.depth;for(let e=0,t=a.length;e0?p:0),s.length&&(s[0].style.opacity=-p>0?-p:0)}}},settransition:e=>{const{transformel:s}=t.params.coverfloweffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)},perspective:()=>!0,overwriteparams:()=>({watchslidesprogress:!0})})},function(e){let{swiper:t,extendparams:s,on:a}=e;s({creativeeffect:{transformel:null,limitprogress:1,shadowperprogress:!1,progressmultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=e=>"string"==typeof e?e:`${e}px`;te({effect:"creative",swiper:t,on:a,settranslate:()=>{const{slides:e,$wrapperel:s,slidessizesgrid:a}=t,r=t.params.creativeeffect,{progressmultiplier:n}=r,l=t.params.centeredslides;if(l){const e=a[0]/2-t.params.slidesoffsetbefore||0;s.transform(`translatex(calc(50% - ${e}px))`)}for(let s=0;s0&&(f=r.prev,m=!0),u.foreach(((e,t)=>{u[t]=`calc(${e}px + (${i(f.translate[t])} * ${math.abs(d*n)}))`})),h.foreach(((e,t)=>{h[t]=f.rotate[t]*math.abs(d*n)})),a[0].style.zindex=-math.abs(math.round(o))+e.length;const g=u.join(", "),v=`rotatex(${h[0]}deg) rotatey(${h[1]}deg) rotatez(${h[2]}deg)`,w=c<0?`scale(${1+(1-f.scale)*c*n})`:`scale(${1-(1-f.scale)*c*n})`,b=c<0?1+(1-f.opacity)*c*n:1-(1-f.opacity)*c*n,x=`translate3d(${g}) ${v} ${w}`;if(m&&f.shadow||!m){let e=a.children(".swiper-slide-shadow");if(0===e.length&&f.shadow&&(e=ie(r,a)),e.length){const t=r.shadowperprogress?d*(1/r.limitprogress):d;e[0].style.opacity=math.min(math.max(math.abs(t),0),1)}}const y=se(r,a);y.transform(x).css({opacity:b}),f.origin&&y.css("transform-origin",f.origin)}},settransition:e=>{const{transformel:s}=t.params.creativeeffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow").transition(e),ae({swiper:t,duration:e,transformel:s,allslides:!0})},perspective:()=>t.params.creativeeffect.perspective,overwriteparams:()=>({watchslidesprogress:!0,virtualtranslate:!t.params.cssmode})})},function(e){let{swiper:t,extendparams:s,on:a}=e;s({cardseffect:{slideshadows:!0,transformel:null,rotate:!0}}),te({effect:"cards",swiper:t,on:a,settranslate:()=>{const{slides:e,activeindex:s}=t,a=t.params.cardseffect,{starttranslate:i,istouched:r}=t.toucheventsdata,n=t.translate;for(let l=0;l0&&c<1&&(r||t.params.cssmode)&&n-1&&(r||t.params.cssmode)&&n>i;if(b||x){const e=(1-math.abs((math.abs(c)-.5)/.5))**.5;g+=-28*c*e,f+=-.5*e,v+=96*e,h=-25*e*math.abs(c)+"%"}if(u=c<0?`calc(${u}px + (${v*math.abs(c)}%))`:c>0?`calc(${u}px + (-${v*math.abs(c)}%))`:`${u}px`,!t.ishorizontal()){const e=h;h=u,u=e}const y=c<0?""+(1+(1-f)*c):""+(1-(1-f)*c),e=`\n translate3d(${u}, ${h}, ${m}px)\n rotatez(${a.rotate?g:0}deg)\n scale(${y})\n `;if(a.slideshadows){let e=o.find(".swiper-slide-shadow");0===e.length&&(e=ie(a,o)),e.length&&(e[0].style.opacity=math.min(math.max((math.abs(c)-.5)/.5,0),1))}o[0].style.zindex=-math.abs(math.round(d))+e.length;se(a,o).transform(e)}},settransition:e=>{const{transformel:s}=t.params.cardseffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow").transition(e),ae({swiper:t,duration:e,transformel:s})},perspective:()=>!0,overwriteparams:()=>({watchslidesprogress:!0,virtualtranslate:!t.params.cssmode})})}];return v.use(re),v})); /** * @module slick * @version 1.8.1 */ !function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jquery)}(function(i){"use strict";var e=window.slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveheight:!1,appendarrows:i(t),appenddots:i(t),arrows:!0,asnavfor:null,prevarrow:'',nextarrow:'',autoplay:!1,autoplayspeed:3e3,centermode:!1,centerpadding:"50px",cssease:"ease",custompaging:function(e,t){return i('