vendor: 9,882 bytes, lines 1-2
1/*! For license information please see article.bundle.js.LICENSE.txt */ 2(()=>{var e={5125:function(e){e.exports=function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function t(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function i(e){for(var i=1;i<arguments.length;i++){var a=null!=arguments[i]?arguments[i]:{};i%2?n(Object(a),!0).forEach((function(n){t(e,n,a[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function a(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||s(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function s(t,n){if(t){if("string"==typeof t)return e(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?e(t,n):void 0}}var o=function(e){return"string"==typeof e?document.querySelector(e):e()},l=function(e,t){var n="string"==typeof e?document.createElement(e):e;for(var i in t){var a=t[i];if("inside"===i)a.append(n);else if("dest"===i)o(a[0]).insertAdjacentElement(a[1],n);else if("around"===i){var r=a;r.parentNode.insertBefore(n,r),n.append(r),null!=r.getAttribute("autofocus")&&r.focus()}else i in n?n[i]=a:n.setAttribute(i,a)}return n},c=function(e,t){return e=String(e).toLowerCase(),t?e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").normalize("NFC"):e},d=function(e,t){return l("mark",i({innerHTML:e},"string"==typeof t&&{class:t})).outerHTML},u=function(e,t){t.input.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:t.feedback,cancelable:!0}))},p=function(e,t,n){var i=n||{},a=i.mode,r=i.diacritics,s=i.highlight,o=c(t,r);if(t=String(t),e=c(e,r),"loose"===a){var l=(e=e.replace(/ /g,"")).length,u=0,p=Array.from(t).map((function(t,n){return u<l&&o[n]===e[u]&&(t=s?d(t,s):t,u++),t})).join("");if(u===l)return p}else{var h=o.indexOf(e);if(~h)return e=t.substring(h,h+e.length),s?t.replace(e,d(e,s)):t}},h=function(e,t){return new Promise((function(n,i){var a;return(a=e.data).cache&&a.store?n():new Promise((function(e,n){return"function"==typeof a.src?new Promise((function(e,n){return"AsyncFunction"===a.src.constructor.name?a.src(t).then(e,n):e(a.src(t))})).then(e,n):e(a.src)})).then((function(t){try{return e.feedback=a.store=t,u("response",e),n()}catch(e){return i(e)}}),i)}))},f=function(e,t){var n=t.data,i=t.searchEngine,a=[];n.store.forEach((function(r,o){var l=function(n){var s=n?r[n]:r,o="function"==typeof i?i(e,s):p(e,s,{mode:i,diacritics:t.diacritics,highlight:t.resultItem.highlight});if(o){var l={match:o,value:r};n&&(l.key=n),a.push(l)}};if(n.keys){var c,d=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw r}}}}(n.keys);try{for(d.s();!(c=d.n()).done;)l(c.value)}catch(e){d.e(e)}finally{d.f()}}else l()})),n.filter&&(a=n.filter(a));var r=a.slice(0,t.resultsList.maxResults);t.feedback={query:e,matches:a,results:r},u("results",t)},m="aria-expanded",v="aria-activedescendant",g="aria-selected",y=function(e,t){e.feedback.selection=i({index:t},e.feedback.results[t])},b=function(e){e.isOpen||((e.wrapper||e.input).setAttribute(m,!0),e.list.removeAttribute("hidden"),e.isOpen=!0,u("open",e))},w=function(e){e.isOpen&&((e.wrapper||e.input).setAttribute(m,!1),e.input.setAttribute(v,""),e.list.setAttribute("hidden",""),e.isOpen=!1,u("close",e))},E=function(e,t){var n=t.resultItem,i=t.list.getElementsByTagName(n.tag),r=!!n.selected&&n.selected.split(" ");if(t.isOpen&&i.length){var s,o,l=t.cursor;e>=i.length&&(e=0),e<0&&(e=i.length-1),t.cursor=e,l>-1&&(i[l].removeAttribute(g),r&&(o=i[l].classList).remove.apply(o,a(r))),i[e].setAttribute(g,!0),r&&(s=i[e].classList).add.apply(s,a(r)),t.input.setAttribute(v,i[t.cursor].id),t.list.scrollTop=i[e].offsetTop-t.list.clientHeight+i[e].clientHeight+5,t.feedback.cursor=t.cursor,y(t,e),u("navigate",t)}},x=function(e){E(e.cursor+1,e)},S=function(e){E(e.cursor-1,e)},T=function(e,t,n){(n=n>=0?n:e.cursor)<0||(e.feedback.event=t,y(e,n),u("selection",e),w(e))};function C(e,t){var n=this;return new Promise((function(a,r){var s,o,c,d,u;return s=t||((u=e.input)instanceof HTMLInputElement||u instanceof HTMLTextAreaElement?u.value:u.innerHTML),s=e.query?e.query(s):s,o=s,c=e.trigger,d=e.threshold,(c?c(o):o.length>=d)?h(e,s).then((function(t){try{return e.feedback instanceof Error?a():(f(s,e),e.resultsList&&function(e){var t=e.resultsList,n=e.list,a=e.resultItem,r=e.feedback,s=r.matches,o=r.results;if(e.cursor=-1,n.innerHTML="",s.length||t.noResults){var c=new DocumentFragment;o.forEach((function(e,t){var n=l(a.tag,i({id:"".concat(a.id,"_").concat(t),role:"option",innerHTML:e.match,inside:c},a.class&&{class:a.class}));a.element&&a.element(n,e)})),n.append(c),t.element&&t.element(n,r),b(e)}else w(e)}(e),p.call(n))}catch(e){return r(e)}}),r):(w(e),p.call(n));function p(){return a()}}))}var $=function(e,t){for(var n in e)for(var i in e[n])t(n,i)},k=function(e){var t,n,a,r=e.events,s=(t=function(){return C(e)},n=e.debounce,function(){clearTimeout(a),a=setTimeout((function(){return t()}),n)}),o=e.events=i({input:i({},r&&r.input)},e.resultsList&&{list:r?i({},r.list):{}}),l={input:{input:function(){s()},keydown:function(t){!function(e,t){switch(e.keyCode){case 40:case 38:e.preventDefault(),40===e.keyCode?x(t):S(t);break;case 13:t.submit||e.preventDefault(),t.cursor>=0&&T(t,e);break;case 9:t.resultsList.tabSelect&&t.cursor>=0&&T(t,e);break;case 27:t.input.value="",u("clear",t),w(t)}}(t,e)},blur:function(){w(e)}},list:{mousedown:function(e){e.preventDefault()},click:function(t){!function(e,t){var n=t.resultItem.tag.toUpperCase(),i=Array.from(t.list.querySelectorAll(n)),a=e.target.closest(n);a&&a.nodeName===n&&T(t,e,i.indexOf(a))}(t,e)}}};$(l,(function(t,n){(e.resultsList||"input"===n)&&(o[t][n]||(o[t][n]=l[t][n]))})),$(o,(function(t,n){e[t].addEventListener(n,o[t][n])}))};function L(e){var t=this;return new Promise((function(n,a){var r,s,o;if(r=e.placeHolder,o={role:"combobox","aria-owns":(s=e.resultsList).id,"aria-haspopup":!0,"aria-expanded":!1},l(e.input,i(i({"aria-controls":s.id,"aria-autocomplete":"both"},r&&{placeholder:r}),!e.wrapper&&i({},o))),e.wrapper&&(e.wrapper=l("div",i({around:e.input,class:e.name+"_wrapper"},o))),s&&(e.list=l(s.tag,i({dest:[s.destination,s.position],id:s.id,role:"listbox",hidden:"hidden"},s.class&&{class:s.class}))),k(e),e.data.cache)return h(e).then((function(e){try{return c.call(t)}catch(e){return a(e)}}),a);function c(){return u("init",e),n()}return c.call(t)}))}function M(e){var t=e.prototype;t.init=function(){L(this)},t.start=function(e){C(this,e)},t.unInit=function(){if(this.wrapper){var e=this.wrapper.parentNode;e.insertBefore(this.input,this.wrapper),e.removeChild(this.wrapper)}var t;$((t=this).events,(function(e,n){t[e].removeEventListener(n,t.events[e][n])}))},t.open=function(){b(this)},t.close=function(){w(this)},t.goTo=function(e){E(e,this)},t.next=function(){x(this)},t.previous=function(){S(this)},t.select=function(e){T(this,null,e)},t.search=function(e,t,n){return p(e,t,n)}}return function e(t){this.options=t,this.id=e.instances=(e.instances||0)+1,this.name="autoComplete",this.wrapper=1,this.threshold=1,this.debounce=0,this.resultsList={position:"afterend",tag:"ul",maxResults:5},this.resultItem={tag:"li"},function(e){var t=e.name,n=e.options,i=e.resultsList,a=e.resultItem;for(var s in n)if("object"===r(n[s]))for(var l in e[s]||(e[s]={}),n[s])e[s][l]=n[s][l];else e[s]=n[s];e.selector=e.selector||"#"+t,i.destination=i.destination||e.selector,i.id=i.id||t+"_list_"+e.id,a.id=a.id||t+"_result",e.input=o(e.selector)}(this),M.call(this,e),L(this)}}()},9564:()=>{function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}document.addEventListener("DOMContentLoaded",(function(){if(window.matchMedia("(min-width: 1024px)").matches){var t=document.querySelector(".c-detail--full");if(t){var n=t.querySelector(".c-detail__top .c-detail__header");if(n){var i=function(e){var t=n.parentNode;t&&e&&t.insertBefore(e,n.nextSibling)},a=function(e){var n=t.querySelector(e);n&&i(n)};a(".c-detail__epigraph"),a(".c-detail__data");
vendor: 5,918 bytes, line 2
2var r=t.querySelector(".c-detail__content");if(r){var s,o=function(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,n){if(t){if("string"==typeof t)return e(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?e(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var a=0,r=function(){};return{s:r,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){i=i.call(t)},n:function(){var e=i.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==i.return||i.return()}finally{if(l)throw s}}}}(r.children);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(l.classList.contains("c-detail__media")){i(l);break}}}catch(e){o.e(e)}finally{o.f()}}}}}}))},5833:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(){"use strict";t=function(){return i};var n,i={},a=Object.prototype,r=a.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",d=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(n){u=function(e,t,n){return e[t]=n}}function p(e,t,n,i){var a=t&&t.prototype instanceof y?t:y,r=Object.create(a.prototype),o=new O(i||[]);return s(r,"_invoke",{value:k(e,n,o)}),r}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}i.wrap=p;var f="suspendedStart",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var E={};u(E,l,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(z([])));S&&S!==a&&r.call(S,l)&&(E=S);var T=w.prototype=y.prototype=Object.create(E);function C(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function $(t,n){function i(a,s,o,l){var c=h(t[a],t,s);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==e(u)&&r.call(u,"__await")?n.resolve(u.__await).then((function(e){i("next",e,o,l)}),(function(e){i("throw",e,o,l)})):n.resolve(u).then((function(e){d.value=e,o(d)}),(function(e){return i("throw",e,o,l)}))}l(c.arg)}var a;s(this,"_invoke",{value:function(e,t){function r(){return new n((function(n,a){i(e,t,n,a)}))}return a=a?a.then(r,r):r()}})}function k(e,t,i){var a=f;return function(r,s){if(a===m)throw Error("Generator is already running");if(a===v){if("throw"===r)throw s;return{value:n,done:!0}}for(i.method=r,i.arg=s;;){var o=i.delegate;if(o){var l=L(o,i);if(l){if(l===g)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===f)throw a=v,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=m;var c=h(e,t,i);if("normal"===c.type){if(a=i.done?v:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(a=v,i.method="throw",i.arg=c.arg)}}}function L(e,t){var i=t.method,a=e.iterator[i];if(a===n)return t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=n,L(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var r=h(a,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,g;var s=r.arg;return s?s.done?(t[e.resultName]=s.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,g):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function z(t){if(t||""===t){var i=t[l];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,s=function e(){for(;++a<t.length;)if(r.call(t,a))return e.value=t[a],e.done=!1,e;return e.value=n,e.done=!0,e};return s.next=s}}throw new TypeError(e(t)+" is not iterable")}return b.prototype=w,s(T,"constructor",{value:w,configurable:!0}),s(w,"constructor",{value:b,configurable:!0}),b.displayName=u(w,d,"GeneratorFunction"),i.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},i.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,u(e,d,"GeneratorFunction")),e.prototype=Object.create(T),e},i.awrap=function(e){return{__await:e}},C($.prototype),u($.prototype,c,(function(){return this})),i.AsyncIterator=$,i.async=function(e,t,n,a,r){void 0===r&&(r=Promise);var s=new $(p(e,t,n,a),r);return i.isGeneratorFunction(t)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},C(T),u(T,d,"Generator"),u(T,l,(function(){return this})),u(T,"toString",(function(){return"[object Generator]"})),i.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},i.values=z,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEac
2h(P),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(i,a){return o.type="throw",o.arg=e,t.next=i,a&&(t.method="next",t.arg=n),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var s=this.tryEntries[a],o=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&&c){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=e,s.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var a=i.arg;P(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:z(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=n),g}},i}function n(e,t,n,i,a,r,s){try{var o=e[r](s),l=o.value}catch(e){return void n(e)}o.done?t(l):Promise.resolve(l).then(i,a)}var i,a,r,s,o,l,c,d,u,p,h,f,m,v,g,y,b,w,E,x,S;i=new Map,a=null,r="#comentarios",s=null,o=new Map,l=window.location.search.includes("coral_debug=true"),c=function(e,t){var n;document.body.classList.toggle("no-scroll",e),document.body.dataset.disableAdsRefresher=e?1:0,document.querySelectorAll(".c-detail__comments-v2").forEach((function(e){e.classList.remove("visible")})),e&&(null==t||null===(n=t.querySelector(".c-detail__comments-v2"))||void 0===n||n.classList.add("visible")),function(e){var t=window.location,n=t.pathname,i=t.search,a=t.hash.toLowerCase()===r;e&&!a?history.replaceState(history.state,"",n+i+r):!e&&a&&history.replaceState(history.state,"",n+i)}(e)},d=function(e,t){c(!0,e),f(e,t)},u=function(){c(!1)},p=function(e,t){window.location.hash.toLowerCase()===r&&e.querySelector(".c-detail__comments-v2")&&d(e,t)},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"block_1",t=document.querySelector("#".concat(e));t||"block_1"!==e||(t=document),t&&t.querySelector(".c-detail__comments-v2")&&(t.querySelectorAll(".show-comments").forEach((function(n){n.addEventListener("click",(function(){d(t,e)}))})),t.querySelectorAll(".ofuscator, .c-detail__comments-v2--close").forEach((function(e){return e.addEventListener("click",u)})),p(t,e))},f=function(e,t){S("Load comments in ".concat(t));var n=e.querySelector(".coralThread");return n?o.get(t)?S("Comments already loaded in ".concat(t)):void m(n.dataset.coralUrl).then((function(){var e=v(t,n);o.set(t,!0),a&&g().then((function(n){S("Login embed ".concat(t)),e.login(n)}))})).catch((function(e){return console.error("Error loading Coral comments",e)})):S("Comments not found in ".concat(t))},m=function(e){return window.Coral?Promise.resolve():new Promise((function(t){var n=document.createElement("script");n.async=!0,n.src=e+"/assets/js/embed.js",n.onload=t,document.head.appendChild(n)}))},v=function(e,t){S("Create embed in ".concat(e));var n="coral_thread_".concat(e);t.id=n;var a=Coral.createStreamEmbed({id:n,bodyClassName:t.dataset.coralClass,autoRender:!0,rootURL:t.dataset.coralUrl,storyID:t.dataset.storyId,storyURL:t.dataset.storyUrl,events:function(e){e.on("loginPrompt",(function(){var e=window.location.pathname+window.location.search+r,t=new URLSearchParams;t.set("back",e),t.set("regSource",window.location.href+r),window.location.href="/user/login?"+t.toString()}))}});return i.set(e,a),a},g=function(){return s?Promise.resolve(s):y()},y=function(){return new Promise((function(e){var i=a.username||a.firstName||a.email.split("@")[0];S("Create token for ".concat(i));var r="/get/user/jwt-token?id=".concat(a.id,"&username=").concat(i,"&email=").concat(a.email);fetch(r).then((function(e){return e.json()})).then(function(){var i,a=(i=t().mark((function n(i){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=i.jwt,t.next=3,HenneoAuth.ready().then((function(e){return e.refresh()}));case 3:e(s);case 4:case"end":return t.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(a,r){var s=i.apply(e,t);function o(e){n(s,a,r,o,l,"next",e)}function l(e){n(s,a,r,o,l,"throw",e)}o(void 0)}))});return function(e){return a.apply(this,arguments)}}()).catch((function(e){console.error("Error creating Coral comments token",e)}))}
2))},b=function(e){if(S("Remove embed in ".concat(e)),document.querySelector("#".concat(e," .coralThread"))){var t=i.get(e);t&&t.remove()}i.delete(e)},w=function(e){e&&e.isAuthenticated&&e.user&&(a=e.user,s=a.customData.jwtCoralToken||null,S("User ".concat(a.id," logged in")),i.size&&g().then((function(e){i.forEach((function(t,n){S("Login embed ".concat(n)),t.login(e)}))})))},E=function(){a=null,s=null,S("User anonymous"),i.forEach((function(e,t){S("Logout embed ".concat(t)),e.logout()}))},x=function(){HenneoAuth.ready().then((function(e){e.getSession().then((function(e){"authenticated"===e.sessionStatus?w(e):"anonymous"===e.sessionStatus&&E()})),e.onLogin((function(e){w(e)})),e.onLogout((function(){E()}))}))},S=function(e){l&&console.log("%cCORAL","display: inline-block; color: #fff; background: orange; padding: 1px 4px; border-radius: 3px",e)},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function(){return h()})):h(),document.addEventListener("is.append",(function(e){return h(e.detail.blockId)})),document.addEventListener("is.destroyBlock",(function(e){return b(e.detail.blockId)})),x()},9278:(e,t,n)=>{"use strict";n.r(t);var i,a,r,s,o,l,c=n(5125),d=n.n(c);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function p(){p=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},s=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,i){var r=t&&t.prototype instanceof y?t:y,s=Object.create(r.prototype),o=new O(i||[]);return a(s,"_invoke",{value:k(e,n,o)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var f="suspendedStart",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var E={};c(E,s,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(z([])));S&&S!==n&&i.call(S,s)&&(E=S);var T=w.prototype=y.prototype=Object.create(E);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function $(e,t){function n(a,r,s,o){var l=h(e[a],e,r);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==u(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,o)}),(function(e){n("throw",e,s,o)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,o)}))}o(l.arg)}var r;a(this,"_invoke",{value:function(e,i){function a(){return new t((function(t,a){n(e,i,t,a)}))}return r=r?r.then(a,a):a()}})}function k(t,n,i){var a=f;return function(r,s){if(a===m)throw Error("Generator is already running");if(a===v){if("throw"===r)throw s;return{value:e,done:!0}}for(i.method=r,i.arg=s;;){var o=i.delegate;if(o){var l=L(o,i);if(l){if(l===g)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===f)throw a=v,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=m;var c=h(t,n,i);if("normal"===c.type){if(a=i.done?v:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(a=v,i.method="throw",i.arg=c.arg)}}}function L(t,n){var i=n.method,a=t.iterator[i];if(a===e)return n.delegate=null,"throw"===i&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var r=h(a,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,g;var s=r.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function z(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,r=function n(){for(;++a<t.length;)if(i.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return r.next=r}}throw new TypeError(u(t)+" is not iterable")}return b.prototype=w,a(T,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=c(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,
2c(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},C($.prototype),c($.prototype,o,(function(){return this})),t.AsyncIterator=$,t.async=function(e,n,i,a,r){void 0===r&&(r=Promise);var s=new $(d(e,n,i,a),r);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},C(T),c(T,l,"Generator"),c(T,s,(function(){return this})),c(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=z,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(i,a){return o.type="throw",o.arg=t,n.next=i,a&&(n.method="next",n.arg=e),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r],o=s.completion;if("root"===s.tryLoc)return a("end");if(s.tryLoc<=this.prev){var l=i.call(s,"catchLoc"),c=i.call(s,"finallyLoc");if(l&&c){if(this.prev<s.catchLoc)return a(s.catchLoc,!0);if(this.prev<s.finallyLoc)return a(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return a(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return a(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var s=r?r.completion:{};return s.type=e,s.arg=t,r?(this.method="next",this.next=r.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var a=i.arg;P(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:z(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),g}},t}function h(e,t,n,i,a,r,s){try{var o=e[r](s),l=o.value}catch(e){return void n(e)}o.done?t(l):Promise.resolve(l).then(i,a)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(i,a){var r=e.apply(t,n);function s(e){h(r,i,a,s,o,"next",e)}function o(e){h(r,i,a,s,o,"throw",e)}s(void 0)}))}}i=window.location.search.includes("stockexchange_debug=true"),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"block_1";if(l("handle search-stockexchange.js for ".concat(e)),document.querySelector("#search-stockexchange")){var t=window.location.origin+"/search/tags/stockexchange.json";fetch(t).then(function(){var e=f(p().mark((function e(n){var i,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0===n.status||n.status>=200&&n.status<400)){e.next=10;break}return l("Loaded ".concat(t)),e.next=4,n.text();case 4:if(i=e.sent,(a=JSON.parse(i))&&a.items){e.next=9;break}return l("Sorry, stockexchange.json is empty"),e.abrupt("return");case 9:new(d())({selector:"#search-stockexchange",placeHolder:"Buscar acciones, Ãndices, criptos, divisas, materias primas...",data:{src:r(a.items),cache:!0},events:{input:{selection:function(e){var t=e.detail.selection.value,n=s(a.items,t);n?(dataLayer.push({event:"gigya",category:"buscador-bolsa",action:o(),value:t}),l("Redirecting to ".concat(n," for ").concat(t)),window.location.href=n):l("Url not defined for ".concat(t))}}}});case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}else l("#search-stockexchange not founded")},r=function(e){var t=[];return e.forEach((function(e){t.push(e.title)})),t},s=function(e,t){var n="";return e.forEach((function(e){e.title==t&&(n=e.url_web)})),n},o=function(){var e="",t=document.querySelector("aside.container-grid-cell .predictive-search input"),n=document.querySelector("main > .predictive-search input"),i=document.querySelector("main > article.container #search-stockexchange");return"home"==window.dataLayer[0].layout?e="home":"mercados-y-bolsa"==window.dataLayer[0].categoria?e="mercatia":t&&t.value==suggestion.value?e="sidebar":"mobile"==window.dataLayer[0].platform&&"articulo"==window.dataLayer[0].layout?e="mfooter":"subhome"==window.dataLayer[0].layout&&(n&&n.value==suggestion.value||i&&i.value==suggestion.value)?e="top-shome":"mobile"==window.dataLayer[0].platform&&"subhome"==window.dataLayer[0].layout&&(e="m-shome"),e},l=function(e){i&&console.log("%cSTOCKEXCHANGE","display: inline-block; color: #fff; background: brown; padding: 1px 4px; border-radius: 3px",e)},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function(){return a()})):a(),document.addEventListener("is.append",(function(e){return a(e.detail.blockId)}))},330:()=>{window.screen.width>768||document.querySelectorAll(".c-ticker").forEach((function(e){var t=e.querySelector(".c-ticker__txt");if(t){var n=window.screen.width<=400?37:42;t.innerText.length>n&&t.classList.add("animate")}}))},5614:()=>{var e=function(){var e=window.location.search.includes("is_debug=true"),t=window.location.search.includes("is_test=true"),n=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return e?console.log("%cIS Template","color: #fff;background: blue;display: inline-block;padding: 1px 4px;border-radius: 3px;",t,n):null};if(n("Initiating infinite scroll"),window.dataLayer){var i=window.dataLayer[0];if(t||"articulo"===i.layout||"directo"===i.layout)if(["branded-content","noticias-positivas"].includes(i.categoria))n("Invalid category");else if(navigator.deviceMemory&&navigator.deviceMemory<4)n("Low device memory");else{var a="";t||window.location.hostname.startsWith("pre")||window.location.hostname.startsWith("test")?(n("Use PRE file"),a="scroll-infinito-pre"):(n("Use PRO file"),a="scroll-infinito"),n("Infinite scroll loading");var r=document.head,s=document.createElement("link");s.rel="stylesheet",s.href="https://dkumiip2e9ary.cloudfront.net/js/"+a+"/20minutos.es/style.css",r.appendChild(s);var o=document.createElement("script");o.src="https://dkumiip2e9ary.cloudfront.net/js/"+a+"/infinite-scroll.pkgd.min.js",r.appendChild(o);var l=document.createElement("script");l.src="https://dkumiip2e9ary.cloudfront.net/js/"+a+"/20minutos.es/custom-is.js",l.async=!0,r.appendChild(l)}else n("Not article or directo layout")}};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()},3662:()=>{!function(){function e(){document.querySelectorAll(".c-price__comparator__link").forEach((function(e){var t,n,i=null!==(t=e.getAttribute("rel"))&&void 0!==t?t:"";console.log("noRel: ",e.hasAttribute("rel")),console.log("hasSponsored: ",(null===(n=e.getAttribute("rel"))||void 0===n?void 0:n.indexOf("sponsored"))<0),(!e.hasAttribute("rel")||e.getAttribute("rel").indexOf("sponsored")<0)&&(console.log("Fixing rel for link:",e.href),e.setAttribute("rel","".concat(i," sponsored").trim()),console.log("Fixed rel for link:",e.href))}))}console.log("Rel fixer loaded now"),document.addEventListener("DOMContentLoaded",e),document.addEventListener("ajaxContentLoaded",e)}()},5835:(e,t,n)=>{"use strict";n.r(t);var i=null,a=null,r=null;const s=function(e,t){var n=(t=t||{}).type||"success",s=t.href,o=t.actionLabel;if(e){clearTimeout(a),r&&(r.remove(),r=null);var l=document.createElement("div");
vendor: 5,762 bytes, line 2
2l.className="c-toast c-toast--"+n,l.setAttribute("role","status");var c=document.createElement("span");if(c.className="c-toast__message",c.textContent=e,l.appendChild(c),o){var d=document.createElement("span");d.className="c-toast__action",d.textContent=o,l.appendChild(d)}s&&(l.classList.add("c-toast--clickable"),l.setAttribute("role","link"),l.setAttribute("tabindex","0"),l.addEventListener("click",(function(){window.location.href=s})),l.addEventListener("keydown",(function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),window.location.href=s)}))),(i||((i=document.createElement("div")).className="c-toast-container",i.setAttribute("aria-live","polite"),i.setAttribute("aria-atomic","true"),document.body.appendChild(i)),i).appendChild(l),r=l,requestAnimationFrame((function(){l.classList.add("c-toast--visible")})),a=setTimeout((function(){!function(e){e.classList.remove("c-toast--visible"),setTimeout((function(){e.remove(),r===e&&(r=null)}),300)}(l)}),t.duration||3500)}};function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function l(){l=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},s=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",d=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function p(e,t,n,i){var r=t&&t.prototype instanceof y?t:y,s=Object.create(r.prototype),o=new O(i||[]);return a(s,"_invoke",{value:k(e,n,o)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f="suspendedStart",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var E={};u(E,s,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(z([])));S&&S!==n&&i.call(S,s)&&(E=S);var T=w.prototype=y.prototype=Object.create(E);function C(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function $(e,t){function n(a,r,s,l){var c=h(e[a],e,r);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==o(u)&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(u).then((function(e){d.value=e,s(d)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var r;a(this,"_invoke",{value:function(e,i){function a(){return new t((function(t,a){n(e,i,t,a)}))}return r=r?r.then(a,a):a()}})}function k(t,n,i){var a=f;return function(r,s){if(a===m)throw Error("Generator is already running");if(a===v){if("throw"===r)throw s;return{value:e,done:!0}}for(i.method=r,i.arg=s;;){var o=i.delegate;if(o){var l=L(o,i);if(l){if(l===g)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===f)throw a=v,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=m;var c=h(t,n,i);if("normal"===c.type){if(a=i.done?v:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(a=v,i.method="throw",i.arg=c.arg)}}}function L(t,n){var i=n.method,a=t.iterator[i];if(a===e)return n.delegate=null,"throw"===i&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var r=h(a,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,g;var s=r.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function z(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,r=function n(){for(;++a<t.length;)if(i.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return r.next=r}}throw new TypeError(o(t)+" is not iterable")}return b.prototype=w,a(T,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=u(w,d,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,u(e,d,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},C($.prototype),u($.prototype,c,(function(){return this})),t.AsyncIterator=$,t.async=function(e,n,i,a,r){void 0===r&&(r=Promise);var s=new $(p(e,n,i,a),r);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},C(T),u(T,d,"Generator"),u(T,s,(function(){return this})),u(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=z,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
2h(P),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(i,a){return o.type="throw",o.arg=t,n.next=i,a&&(n.method="next",n.arg=e),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r],o=s.completion;if("root"===s.tryLoc)return a("end");if(s.tryLoc<=this.prev){var l=i.call(s,"catchLoc"),c=i.call(s,"finallyLoc");if(l&&c){if(this.prev<s.catchLoc)return a(s.catchLoc,!0);if(this.prev<s.finallyLoc)return a(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return a(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return a(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var s=r?r.completion:{};return s.type=e,s.arg=t,r?(this.method="next",this.next=r.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var a=i.arg;P(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:z(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),g}},t}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t,n,i,a,r,s){try{var o=e[r](s),l=o.value}catch(e){return void n(e)}o.done?t(l):Promise.resolve(l).then(i,a)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(i,a){var r=e.apply(t,n);function s(e){p(r,i,a,s,o,"next",e)}function o(e){p(r,i,a,s,o,"throw",e)}s(void 0)}))}}!function(){var e="[data-saved-news]";function t(e,t){var n=Number(t);return function(e){var t,n=null==e||null===(t=e.customData)||void 0===t?void 0:t.savedNews;return Array.isArray(n)?n:[]}(e).some((function(e){return Number(e)===n}))}function n(e,t){e.disabled=t,e.classList.toggle("c-saved-news--loading",t),e.setAttribute("aria-busy",t?"true":"false")}function i(){var e=encodeURIComponent(window.location.pathname+window.location.search+"#mis-noticias");window.location.href="/user/login?back="+e}function a(){return(a=h(l().mark((function e(a,o){var c,u,p,h,f,m;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=Number(a.dataset.articleId)){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,o.isAuthenticated();case 5:if(e.sent){e.next=8;break}return i(),e.abrupt("return");case 8:return e.next=10,o.getUser();case 10:return u=e.sent,p=t(u,c),h=p?"/post/user/saved-news/"+c:"/post/user/saved-news",n(a,!0),e.prev=14,e.next=17,fetch(h,{method:p?"DELETE":"POST",credentials:"include",headers:d({Accept:"application/json"},p?{}:{"Content-Type":"application/json"}),body:p?void 0:JSON.stringify({article_id:c})});case 17:if(401!==(f=e.sent).status){e.next=21;break}return i(),e.abrupt("return");case 21:if(f.ok){e.next=23;break}throw new Error("Saved news request failed: "+f.status);case 23:return e.next=25,f.json();
2case 25:if(m=e.sent,Array.isArray(m.saved_news)){e.next=28;break}throw new Error("Saved news response missing saved_news");case 28:return e.next=30,o.patchUserCustomData({savedNews:m.saved_news});case 30:return e.t0=r,e.t1=o,e.next=34,o.getUser();case 34:e.t2=e.sent,e.t3={isAuthenticated:!0,user:e.t2},(0,e.t0)(e.t1,e.t3),p?s("Noticia eliminada de 'Mis noticias'"):s("Noticia añadida a 'Mis noticias'",{actionLabel:"Ver todas",href:"/area-usuario/mis-noticias"}),e.next=45;break;case 40:e.prev=40,e.t4=e.catch(14),console.error("[savedNews]",e.t4),n(a,!1),s("No se ha podido actualizar la noticia guardada",{type:"error"});case 45:case"end":return e.stop()}}),e,null,[[14,40]])})))).apply(this,arguments)}function r(i,a,r){(r||document).querySelectorAll(e).forEach((function(e){if(a.isAuthenticated&&a.user)!function(e,i){var a=Number(e.dataset.articleId),r=i&&t(i,a),s=e.querySelector("[data-saved-news-label]");n(e,!1),e.hidden=!1,e.setAttribute("aria-pressed",r?"true":"false"),e.classList.toggle("c-saved-news--saved",r),s&&(s.textContent=r?"Guardada":"Guardar")}(e,a.user);else{var i=e.querySelector("[data-saved-news-label]");n(e,!1),e.hidden=!1,e.setAttribute("aria-pressed","false"),e.classList.remove("c-saved-news--saved"),i&&(i.textContent="Guardar")}}))}function o(){document.querySelector(e)&&window.HenneoAuth.ready().then((function(t){t.getSession().then((function(e){r(0,e)})),t.onLogin((function(e){r(0,e)})),t.onLogout((function(){r(0,{isAuthenticated:!1,user:null})})),document.addEventListener("click",(function(n){var i=n.target.closest(e);!i||i.disabled||i.classList.contains("c-saved-news--loading")||(n.preventDefault(),function(e,t){a.apply(this,arguments)}(i,t))})),document.addEventListener("is.append",(function(e){var n=e.detail&&e.detail.blockId,i=n?document.getElementById(n):null;t.getSession().then((function(e){r(0,e,i||document)}))}))}))}"loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o)}()},50:(e,t,n)=>{e.exports=function(){var e=n(7003);document.addEventListener("DOMContentLoaded",(function(){[{selector:'[data-type="default-slider"]',config:{slidesPerView:1,spaceBetween:10,navigation:{nextEl:".next-v4",prevEl:".prev-v4"}}},{selector:'[data-type="images-slider"]',config:{slidesPerView:1,spaceBetween:10,navigation:{nextEl:".next-v4",prevEl:".prev-v4"}}},{selector:'[data-type="native-commerce-slider"]',config:{slidesPerView:2,loop:!0,navigation:{nextEl:".next-v5",prevEl:".prev-v5"},breakpoints:{479:{slidesPerView:3}}}},{selector:'[data-type="native-commerce-slider"].auto',config:{slidesPerView:2,loop:!0,autoplay:{delay:5e3},navigation:{nextEl:".next-v5",prevEl:".prev-v5"},breakpoints:{479:{slidesPerView:3}},spaceBetween:30,centeredSlides:!0}}].forEach((function(e){var n=e.selector,i=e.config;document.querySelectorAll(n).forEach((function(e){new t(e,i)}))}))}),!1);var t=e.default}()},5757:e=>{e.exports=void document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelectorAll(".c-detail__media--video .c-detail__media__thumb");0!==e.length&&e.forEach((function(e){e.addEventListener("click",(function(){event.target.closest(".c-detail__media--video").classList.add("player-inline")}))}))}),!1)},4559:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t,i,a){return i=s(i),function(t,n){if(n&&("object"==e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t)}(t,n()?Reflect.construct(i,a||[],s(t).constructor):i.apply(t,a))}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(n=function(){return!!e})()}function i(e,t,n,i){var r=a(s(1&i?e.prototype:e),t,n);return 2&i?function(e){return r.apply(n,e)}:r}function a(){return a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=r(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},a.apply(null,arguments)}function r(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}
2function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,h(i.key),i)}}function u(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t,n){return(t=h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(t){var n=function(t,n){if("object"!=e(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,n);if("object"!=e(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==e(n)?n:n+""}window.LazyEmbed=function(){return u((function e(t,n){var i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"afterScript",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];c(this,e),p(this,"isDebug",window.location.search.includes("embed_debug=true")),p(this,"debugStyles","display: inline-block; color: #fff; background: purple; padding: 1px 4px; border-radius: 3px"),p(this,"observer",new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&(i.observer.unobserve(e.target),e.target.classList.contains("wrapper-embed")&&i.embed(e.target))}))}
2),{rootMargin:"100% 0px 100% 0px"})),p(this,"element",null),p(this,"id",null),p(this,"html",null),p(this,"usertype",null),p(this,"name","LazyEmbed"),p(this,"htmlInjectOrder","afterScript"),p(this,"replaceHtml",!1),p(this,"insertHtml",(function(e){i.debug("Inject embed html",i.id),i.replaceHtml?e.outerHTML=i.html:(e.innerHTML="",i.html&&e.insertAdjacentHTML("afterbegin",i.html))})),this.name=n||this.name,this.element=document.getElementById(t),this.htmlInjectOrder=a,this.replaceHtml=r,void 0!==this.element.dataset.id?(this.id=this.element.dataset.id,this.debug("Observe element",this.element),this.observer.observe(this.element)):this.debug("No dataset",this.element)}),[{key:"debug",value:function(e,t){this.isDebug&&console.log("%cEMBED ".concat(this.name),this.debugStyles,e,t)}},{key:"injectScript",value:function(){var e=this;return document.getElementById(this.scriptId)||!this.scriptSource?Promise.resolve():(this.debug("Inject script",this.scriptSource),new Promise((function(t,n){var i=document.createElement("script");i.src=e.scriptSource,i.id=e.scriptId,i.onload=function(){e.debug("Script loaded",e.scriptSource),t()},i.onerror=n,document.body.appendChild(i)})))}},{key:"afterInjectCallback",value:function(){this.debug("AfterInjectCallback",this.id)}},{key:"embed",value:function(e){var t=this;"beforeScript"===this.htmlInjectOrder&&this.insertHtml(e),this.injectScript().then((function(){t.debug("Inject embed html",t.id),t.html&&"afterScript"===t.htmlInjectOrder&&t.insertHtml(e),t.afterInjectCallback()})).catch((function(e){console.error("Error loading js",t.id,e)}))}}])}(),window.TwitterEmbed=function(e){function n(e){var i;return c(this,n),p(i=t(this,n,[e,"Twitter"]),"scriptSource","https://platform.twitter.com/widgets.js"),p(i,"scriptId","twitter-embed-js"),p(i,"html",'<blockquote class="twitter-tweet" data-lang="es"><a href="'.concat(i.id,'"></a></blockquote>')),i}return o(n,LazyEmbed),u(n,[{key:"injectScript",value:function(){return window.twttr||(window.twttr={_e:[],ready:function(e){window.twttr._e.push(e)}}),i(n,"injectScript",this,3)([])}},{key:"afterInjectCallback",value:function(){var e=this;window.twttr.ready((function(t){e.debug("Load ".concat(e.name," embed"),e.id),t.widgets.load(e.element)})),i(n,"afterInjectCallback",this,3)([])}}])}(),window.InstagramEmbed=function(e){function n(e){var i;return c(this,n),p(i=t(this,n,[e,"Instagram"]),"scriptSource","https://www.instagram.com/embed.js"),p(i,"scriptId","instagram-embed-js"),p(i,"html",'<blockquote class="instagram-media" data-instgrm-permalink="'.concat(i.id,'" data-instgrm-captioned data-instgrm-version="14"></blockquote>')),i}return o(n,LazyEmbed),u(n,[{key:"afterInjectCallback",value:function(){window.instgrm.Embeds.process(),i(n,"afterInjectCallback",this,3)([])}}])}(),window.TikTokEmbed=function(e){function n(e){var i;return c(this,n),p(i=t(this,n,[e,"TikTok"]),"html",'<iframe src="https://www.tiktok.com/embed/v2/'.concat(i.id,'" style="border:none; height: 760px"></iframe>')),i}return o(n,LazyEmbed),u(n)}(),window.QualifioEmbed=function(e){function n(e,i){var a;return c(this,n),p(a=t(this,n,[e,"Qualifio"]),"scriptSource","https://".concat(location.hostname,"/bundles/henneocmsbase/javascripts/qualifioGame.js")),p(a,"html","<div id='qualifio_insert_place-".concat(a.id,"'></div>")),a.usertype=i,a}return o(n,LazyEmbed),u(n,[{key:"afterInjectCallback",value:function(){new qualifioGame({divId:"qualifio_insert_place-".concat(this.id),gameId:this.id,type:this.usertype}),i(n,"afterInjectCallback",this,3)([])}}])}(),window.InfogramEmbed=function(e){function n(e,i,a){var r;return c(this,n),p(r=t(this,n,[e,"Infogram"]),"scriptSource","https://e.infogram.com/js/dist/embed-loader-min.js"),p(r,"scriptId","infogram-async"),r.html='<div class="infogram-embed" data-id="'.concat(r.id,'" data-type="interactive" data-title="').concat(i,'"></div>'),a&&(r.html+='\n<div\n style="padding:8px 0;font-family:Arial!important;font-size:13px!important;line-height:15px!important;text-align:center;border-top:1px solid #dadada;margin:0 30px">\n <a href="'.concat(a,'" style="color:#989898!important;text-decoration:none!important;" target="_blank">').concat(i,'</a>\n <br>\n <a href="https://infogram.com" style="color:#989898!important;text-decoration:none!important;" target="_blank"\n rel="nofollow">Infogram</a>\n</div>')),r}return o(n,LazyEmbed),u(n,[{key:"afterInjectCallback",value:function(){window.InfogramEmbeds&&window.InfogramEmbeds.process(this.id),i(n,"afterInjectCallback",this,3)([])}}])}(),window.SpreakerEmbed=function(e){function n(e,i){var a;return c(this,n),p(a=t(this,n,[e,i,"beforeScript",!0]),"scriptSource","https://widget.spreaker.com/widgets.js"),p(a,"scriptId","spreaker-embed-js"),p(a,"html",'<a class="spreaker-player" href="https://www.spreaker.com/episode/'.concat(a.id,'" data-resource="episode_id=').concat(a.id,'" data-width="100%" data-height="200px">').concat(a.name,"</a>")),a}return o(n,LazyEmbed),u(n)}(),window.FlourishEmbed=function(e){function n(e){var i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"visualisation";return c(this,n),p(i=t(this,n,[e,"Flourish","beforeScript",!0]),"scriptSource","https://public.flourish.studio/resources/embed.js"),p(i,"scriptId","flourish-embed-js"),i.html='<div class="flourish-embed flourish-chart" style="width: 100%;" data-src="'.concat(a,"/").concat(i.id,'"></div>'),i}return o(n,LazyEmbed),u(n)}(),window.ViqeoEmbed=function(e){function n(e){var i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"525";return c(this,n),p(i=t(this,n,[e,"Viqeo","beforeScript",!0]),"scriptSource","//cdn.viqeo.tv/js/vq_starter.js"),p(i,"scriptId","viqeo-embed-js"),i.html='\n <div style="width:100%;height:0;position:relative;padding-bottom: 57%;" class="viqeo-embed viqeo-horizontal viqeo-embed--'.concat(i.id,'" data-profile="').concat(a,'" data-vnd="').concat(i.id,'" >\n <iframe src="//cdn.viqeo.tv/embed/?vid=').concat(i.id,'" width="100%" height="100%" style="position:absolute;" frameBorder="0" allowFullScreen></iframe>\n </div>'),i}return o(n,LazyEmbed),u(n)}(),window.GeniallyEmbed=function(e){function n(e){var i,a,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"16:9";switch(c(this,n),(i=t(this,n,[e,"Genially","beforeScript",!0])).aspectRatio=r||"16:9",i.aspectRatio){case"4:3":a=75;break;case"1:1":a=100;break;case"1:2":a=200;break;default:a=56.25}return i.html='<div style="position: relative; width: 100%; padding-bottom: '.concat(a,'%; padding-top: 0; height: 0;">\n <iframe frameborder="0" width="100%" height="100%" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" src="https://view.genially.com/').concat(i.id,'" type="text/html" allowscriptaccess="always" allowfullscreen="true" scrolling="yes" allownetworking="all"></iframe>\n </div>'),i}return o(n,LazyEmbed),u(n)}(),window.DataWrapperEmbed=function(e){function n(e){var i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"547";return c(this,n),p(i=t(this,n,[e,"DataWrapper","beforeScript",!0]),"scriptSource",null),p(i,"scriptId",null),i.height=r,i.title=a,i.html='<iframe title="'.concat(i.title,'" aria-label="Gráfico" id="datawrapper-chart-').concat(i.id,'" src="https://datawrapper.dwcdn.net/').concat(i.id,'/" scrolling="no" frameborder="0" style="width: 0; min-width: 100% !important; border: none;" height="').concat(i.height,'" data-external="1"></iframe>'),i}return o(n,LazyEmbed),u(n,[{key:"injectScript",value:function(){var e=this;return this.debug("Inject inline script for responsive height"),document.getElementById("datawrapper-script-".concat(this.id
2))?Promise.resolve():new Promise((function(t){var n=document.createElement("script");n.id="datawrapper-script-".concat(e.id),n.type="text/javascript",n.textContent='!function(){"use strict";window.addEventListener("message",(function(a){if(void 0!==a.data["datawrapper-height"]){var e=document.querySelectorAll("iframe");for(var t in a.data["datawrapper-height"])for(var r,i=0;r=e[i];i++)if(r.contentWindow===a.source){var d=a.data["datawrapper-height"][t]+"px";r.style.height=d}}}))}();',document.body.appendChild(n),e.debug("Inline script loaded"),t()}))}}])}(),window.lazyEmbeds=window.lazyEmbeds||[],window.lazyEmbeds.forEach((function(e){return e()})),window.lazyEmbeds={push:function(e){return e()}}},3191:()=>{document.addEventListener("DOMContentLoaded",(function(){document.querySelector(".c-header__progress-bar")&&(window.addEventListener("scroll",(function(){e()})),e())}),!1);var e=function(){var e=100*(document.body.scrollTop||document.documentElement.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight);document.querySelector(".c-header__progress-bar span").style.width=e+"%"}},29:()=>{document.addEventListener("DOMContentLoaded",(function(){var e,t;t=function(){document.querySelectorAll('[data-type="scroll-visible"]').forEach((function(e){var t=document.querySelector(e.dataset.scrollVisibleEle),n=e.dataset.scrollVisibleClass,i=void 0!==e.dataset.scrollVisibleDown;t&&function(e,t){var n=window.scrollY,i=window.innerHeight,a=e.getBoundingClientRect().top+n,r=e.offsetHeight;return a+r-r>n&&(t||a<n+i)}(t,i)?(e.classList.contains(n)||e.classList.add(n),e.style.display="none"):e.style.display=""}))},window.addEventListener("scroll",t),t(),e=window.scrollY,window.addEventListener("scroll",(function(){var t=window.scrollY,n="status__scroll--down",i="status__scroll--up",a="status__scroll--init",r=document.body,s=document.querySelector(".c-header__middle");t>e?(r.classList.add(n),r.classList.remove(a)):t<1&&(r.classList.remove(n),r.classList.remove(a)),t<e?(r.classList.add(i),r.classList.remove(a)):(r.classList.remove(i),r.classList.remove(a)),e>25?null==s||s.classList.add("c-header__sticky"):null==s||s.classList.remove("c-header__sticky"),e=t}))}))},8122:e=>{e.exports=function(){function e(){var e=navigator.userAgent||navigator.vendor||window.opera,t=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(e.toLowerCase()),n=window.innerWidth<=768,i=window.matchMedia&&window.matchMedia("(max-width: 768px)").matches,a="ontouchstart"in window||navigator.maxTouchPoints>0;return t&&(n||i||a)}function t(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=n?document.querySelector("#".concat(n," .c-detail__share__list")):document.querySelector(".c-detail__share__list");if(i){var a=null!==(t=document.body.getAttribute("data-tvia"))&&void 0!==t?t:"",r=i.querySelectorAll("li a");r.forEach((function(t){t.addEventListener("click",(function(t){var n;t.preventDefault();var i=this.className,r=encodeURIComponent(window.location.href),s=encodeURIComponent(document.title);r=r.replace("http://m.","http://www."),s=s.trim().replace(/[\t\n]+/g," ");var o,l,c="desktop";switch(e()&&(c="mobile"),i){case"whatsapp":var d="".concat(window.location.href).concat(window.location.href.includes("?")?"&":"?","utm_source=WhatsApp&utm_medium=social&utm_campaign=").concat(c);l="".concat(s," ").concat(encodeURIComponent(d)),o="https://api.whatsapp.com/send?text=".concat(l),window.open(o,"","toolbar=0, status=0, width=900, height=500");break;case"twitter":var u="".concat(window.location.href).concat(window.location.href.includes("?")?"&":"?","utm_source=Twitter&utm_medium=social&utm_campaign=").concat(c),p=encodeURIComponent(u),h=encodeURIComponent(document.title);l="text=".concat(h,"&url=").concat(p).concat(""!==a?"&via="+a:""),o="https://twitter.com/intent/tweet?".concat(l),window.open(o,"","toolbar=0, status=0, width=650, height=360");break;case"facebook":var f="".concat(window.location.href).concat(window.location.href.includes("?")?"&":"?","utm_source=Facebook&utm_medium=social&utm_campaign=").concat(c);o="https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(f),""e=").concat(s),window.open(o,"","toolbar=0, status=0, width=900, height=500");break;
2case"linkedin":var m="".concat(window.location.href).concat(window.location.href.includes("?")?"&":"?","utm_source=LinkedIn&utm_medium=social&utm_campaign=").concat(c),v=encodeURIComponent((null===(n=document.querySelector('meta[name="description"]'))||void 0===n?void 0:n.content)||"");o="https://www.linkedin.com/shareArticle?mini=true&url=".concat(encodeURIComponent(m),"&title=").concat(s,"&summary=").concat(v),window.open(o,"","toolbar=0, status=0, width=900, height=500");break;case"telegram":var g="".concat(window.location.href).concat(window.location.href.includes("?")?"&":"?","utm_source=Telegram&utm_medium=social&utm_campaign=").concat(c);o="https://t.me/share/url?url=".concat(encodeURIComponent(g),"&text=").concat(s),window.open(o,"","toolbar=0, status=0, width=900, height=500");break;case"beloud":var y="".concat(window.location.href).concat(window.location.href.includes("?")?"&":"?","utm_source=Beloud&utm_medium=social&utm_campaign=").concat(c);o="https://beloud.com/share?url=".concat(encodeURIComponent(y)),window.open(o,"","toolbar=0, status=0, width=900, height=500");break;case"copy":var b=window.location.href;navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(b).then((function(){return alert("URL copiada al portapapeles")})).catch((function(e){console.error("Error al copiar:",e),fallbackCopyTextToClipboard(b)})):fallbackCopyTextToClipboard(b)}}))}))}}return"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function(){return t()})):t(),document.addEventListener("is.append",(function(e){t(e.detail.blockId||"block_1")})),{init:t}}()},8327:e=>{e.exports=function(e){if(e&&"function"==typeof e){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return e();document.attachEvent&&void 0!==document.attachEvent?document.attachEvent("onreadystatechange",(function(){if("complete"===document.readyState)return e()})):document.addEventListener("DOMContentLoaded",(function(){return e()}))}}},6546:e=>{e.exports=function(){function e(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"get",a=new XMLHttpRequest;if(a.onreadystatechange=function(){4==a.readyState&&n(a.status,a.response)},"get"==i){var r=new URLSearchParams(t).toString();e+=-1===e.indexOf("?")?"?"+r:"&"+r}a.open(i,e),a.send(t)}function t(e,t,n){var i;try{i=JSON.parse(n)}catch(e){console.error(e,n)}e(t,i)}var n={get:function(t,n,i){e(t,n,i)},getJSON:function(e,i,a){n.get(e,i,t.bind(null,a))},post:function(t,n,i){e(t,n,i,"post")},postJSON:function(e,i,a){n.post(e,i,t.bind(null,a))}};return n}()},7509:(e,t,n)=>{e.exports=function(){var e=n(8327),t=n(6546);if(!("Poll"in window)){var i=document.getElementsByTagName("body")[0],a=function(e){e.style.display="none"!==getComputedStyle(e).display?"none":"block"},r={ids:[],user_login_required:!0,userlessVote:!1,votedPolls:function(){for(var e,t=document.cookie.split(";"),n=[],i=0;i<t.length;i++){var a=t[i].replace(/^\s+|\s+$/g,"");0==a.indexOf("_cms-poll-")&&(e=(a=a.split("="))[0].match(/_cms-poll-(\d+)/)[1],n.push({id:e,vote:a[1]}))}return n},init:function(){var e=this.formSubmit.bind(this);i.querySelectorAll(".c-detail__poll__footer__link:not(.generated)").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();var n=e.closest(".c-detail__poll");a(n.querySelector(".poll-form")),a(n.querySelector(".poll-results"))})),e.classList.add("generated")})),i.querySelectorAll(".poll-form:not(.generated)").forEach((function(t){t.addEventListener("submit",e),t.classList.add("generated")}))},addId:function(e){this.ids.push(e)},disablePoll:function(e){var t=i.getElementById("poll-"+e);t&&t.removeEventListener("submit",this.formSubmit)},alertLogin:function(){document.dispatchEvent(new CustomEvent("pollLoginRequired"))},loadAll:function(){var e=this,n=[],i=null;document.querySelectorAll(".poll").forEach((function(e){var t=e.getAttribute("id");if(t&&t.match(/^poll/)){n.push(t.replace(/[^0-9]+/g,""));var a=e.getAttribute("data-infoUrl");a&&(i=a)}})),!n.length&&this.ids.length&&(n=this.ids),n.length&&t.getJSON(i,{ids:n},(function(t,n){if(e.user_login_required=n.poll_user_login,n.polls)for(var i=0;i<n.polls.length;i++){var a=n.polls[i],r=a.id;document.getElementById("poll-"+r),e.processVotes(a);var s=new Event("poll-load");s.pollId=r,document.dispatchEvent(s)}e.disableVotedPolls()}))},processVotes:function(e){for(var t=0,n=e.id,i=document.getElementById("poll-"+n),a=0;a<e.options.length;a++)t+=e.options[a].vote_count;for(a=0;a<e.options.length;a++)for(var r=e.options[a],s=parseFloat(100*r.vote_count/t).toFixed(2),o=i.querySelectorAll('.c-detail__poll__item__option[data-id="'+r.id+'"]'),l=0;l<o.length;l++){var c=o[l],d=c.querySelector(".c-detail__poll__item__option__bar__progress"),u=c.querySelector(".c-detail__poll__item__option__bar__progress__percentage"),p=c.querySelector(".poll-option-votes");p&&(p.textContent=r.vote_count),d&&(d.style.width=s+"%"),u&&(u.textContent=s+"%")}i.querySelector(".poll-total-votes").textContent=e.total_persons_that_voted||0},formSubmit:function(e){e.preventDefault();var n=e.target,i=new FormData(n),a=this,r=n.classList.contains("multiple");if(a.user_login_required)a.alertLogin();else{var s=n.getAttribute("action"),o=i.get("vote");s&&(r||o)&&t.postJSON(s,i,(function(e,t){if(200==e)try{if(r)for(var n=i.getAll("vote[]"),s=0;s<n.length;s++){var o=n[s];a.markPollVoted(t.id,o)}else a.markPollVoted(t.id,o)}catch(e){console.error("Not valid poll response received",t)}else console.error("Request failed!",e,t);a.disableVotedPolls(),a.processVotes(t);var l=new Event("wfcms-poll-voted");l.pollData=t,document.dispatchEvent(l)}))}},markPollVoted:function(e,t){var n=new Date;n.setHours(n.getHours()+3),document.cookie="_cms-poll-"+e+"=option-"+t+";domain="+document.location.hostname+";path=/;expires="+n.toGMTString()},disableVotedPolls:function(){var e,t=r.votedPolls();for(poll in t){e=t[poll].id;var n=document.getElementById("poll-"+e);n&&(n.classList.add("poll-voted"),Array.from(n.querySelectorAll("input")).map((function(e){return e.setAttribute("disabled","disabled")})))}}};if("PollConfig"in window)for(var s in window.PollConfig)window.PollConfig.hasOwnProperty(s)&&(r[s]=window.PollConfig[s]);e((function(){r.init(),r.loadAll()})),!(!1 in window)&&window.Poll||(window.Poll=r),document.dispatchEvent(new Event("pollLoaded"))}}()},7003:(e,t,n)=>{"use strict";function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function a(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(n){void 0===e[n]?e[n]=t[n]:i(t[n])&&i(e[n])&&Object.keys(t[n]).length>0&&a(e[n],t[n])}))}n.r(t),n.d(t,{default:()=>de});var r="undefined"!=typeof document?document:{},s={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};a(r,s);var o="undefined"!=typeof window?window:{};a(o,{document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});class l{constructor(e){const t=this;for(let n=0;n<e.length;n+=1)t[n]=e[n];return t.length=e.length,this}}function c(e,t){const n=[];let i=0;if(e&&!t&&e instanceof l)return e;if(e)if("string"==typeof e){let a,s;const o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){let e="div";for(0===o.indexOf("<li")&&(e="ul"),0===o.indexOf("<tr")&&(e="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(e="tr"),0===o.indexOf("<tbody")&&(e="table"),0===o.indexOf("<option")&&(e="select"),s=r.createElement(e),s.innerHTML=o,i=0;i<s.childNodes.length;i+=1)n.push(s.childNodes[i])}else for(a=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||r).querySelectorAll(e.trim()):[r.getElementById(e.trim().split("#")[1])],i=0;i<a.length;i+=1)a[i]&&n.push(a[i])}else if(e.nodeType||e===o||e===r)n.push(e);else if(e.length>0&&e[0].nodeType)for(i=0;i<e.length;i+=1)n.push(e[i]);return new l(n)}function d(e){const t=[];for(let n=0;n<e.length;
2n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}c.fn=l.prototype,c.Class=l,c.Dom7=l,"resize scroll".split(" ");const u={addClass:function(e){if(void 0===e)return this;const t=e.split(" ");for(let e=0;e<t.length;e+=1)for(let n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.add(t[e]);return this},removeClass:function(e){const t=e.split(" ");for(let e=0;e<t.length;e+=1)for(let n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.remove(t[e]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){const t=e.split(" ");for(let e=0;e<t.length;e+=1)for(let n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.toggle(t[e]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){let n;if(void 0!==t){for(let i=0;i<this.length;i+=1)n=this[i],n.dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0],n){if(n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[e];return n.getAttribute(`data-${e}`)||void 0}},transform:function(e){for(let t=0;t<this.length;t+=1){const n=this[t].style;n.webkitTransform=e,n.transform=e}return this},transition:function(e){"string"!=typeof e&&(e=`${e}ms`);for(let t=0;t<this.length;t+=1){const n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this},on:function(...e){let[t,n,i,a]=e;function r(e){const t=e.target;if(!t)return;const a=e.target.dom7EventData||[];if(a.indexOf(e)<0&&a.unshift(e),c(t).is(n))i.apply(t,a);else{const e=c(t).parents();for(let t=0;t<e.length;t+=1)c(e[t]).is(n)&&i.apply(e[t],a)}}function s(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),i.apply(this,t)}"function"==typeof e[1]&&([t,i,a]=e,n=void 0),a||(a=!1);const o=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(n)for(l=0;l<o.length;l+=1){const e=o[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:i,proxyListener:r}),t.addEventListener(e,r,a)}else for(l=0;l<o.length;l+=1){const e=o[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:i,proxyListener:s}),t.addEventListener(e,s,a)}}return this},off:function(...e){let[t,n,i,a]=e;"function"==typeof e[1]&&([t,i,a]=e,n=void 0),a||(a=!1);const r=t.split(" ");for(let e=0;e<r.length;e+=1){const t=r[e];for(let e=0;e<this.length;e+=1){const r=this[e];let s;if(!n&&r.dom7Listeners?s=r.dom7Listeners[t]:n&&r.dom7LiveListeners&&(s=r.dom7LiveListeners[t]),s&&s.length)for(let e=s.length-1;e>=0;e-=1){const n=s[e];i&&n.listener===i||i&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===i?(r.removeEventListener(t,n.proxyListener,a),s.splice(e,1)):i||(r.removeEventListener(t,n.proxyListener,a),s.splice(e,1))}}}return this},trigger:function(...e){const t=e[0].split(" "),n=e[1];for(let i=0;i<t.length;i+=1){const a=t[i];for(let t=0;t<this.length;t+=1){const i=this[t];let s;try{s=new o.CustomEvent(a,{detail:n,bubbles:!0,cancelable:!0})}catch(e){s=r.createEvent("Event"),s.initEvent(a,!0,!0),s.detail=n}i.dom7EventData=e.filter(((e,t)=>t>0)),i.dispatchEvent(s),i.dom7EventData=[],delete i.dom7EventData}}return this},transitionEnd:function(e){const t=["webkitTransitionEnd","transitionend"],n=this;let i;function a(r){if(r.target===this)for(e.call(this,r),i=0;i<t.length;i+=1)n.off(t[i],a)}if(e)for(i=0;i<t.length;i+=1)n.on(t[i],a);return 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},offset:function(){if(this.length>0){const e=this[0],t=e.getBoundingClientRect(),n=r.body,i=e.clientTop||n.clientTop||0,a=e.clientLeft||n.clientLeft||0,s=e===o?o.scrollY:e.scrollTop,l=e===o?o.scrollX:e.scrollLeft;return{top:t.top+s-i,left:t.left+l-a}}return null},css:function(e,t){let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(let t in e)this[n].style[t]=e[t];return this}if(this[0])return o.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(let t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=this[0];let n,i;if(!t||void 0===e)return!1;if("string"==typeof e){if(t.matches)return t.matches(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e);
2if(t.msMatchesSelector)return t.msMatchesSelector(e);for(n=c(e),i=0;i<n.length;i+=1)if(n[i]===t)return!0;return!1}if(e===r)return t===r;if(e===o)return t===o;if(e.nodeType||e instanceof l){for(n=e.nodeType?[e]:e,i=0;i<n.length;i+=1)if(n[i]===t)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;let n;return e>t-1?new l([]):e<0?(n=t+e,new l(n<0?[]:[this[n]])):new l([this[e]])},append:function(...e){let t;for(let n=0;n<e.length;n+=1){t=e[n];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const n=r.createElement("div");for(n.innerHTML=t;n.firstChild;)this[e].appendChild(n.firstChild)}else if(t instanceof l)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this},prepend:function(e){let t,n;for(t=0;t<this.length;t+=1)if("string"==typeof e){const i=r.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof l)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&c(this[0].nextElementSibling).is(e)?new l([this[0].nextElementSibling]):new l([]):this[0].nextElementSibling?new l([this[0].nextElementSibling]):new l([]):new l([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return new l([]);for(;n.nextElementSibling;){const i=n.nextElementSibling;e?c(i).is(e)&&t.push(i):t.push(i),n=i}return new l(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&c(t.previousElementSibling).is(e)?new l([t.previousElementSibling]):new l([]):t.previousElementSibling?new l([t.previousElementSibling]):new l([])}return new l([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return new l([]);for(;n.previousElementSibling;){const i=n.previousElementSibling;e?c(i).is(e)&&t.push(i):t.push(i),n=i}return new l(t)},parent:function(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?c(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return c(d(t))},parents:function(e){const t=[];for(let n=0;n<this.length;n+=1){let i=this[n].parentNode;for(;i;)e?c(i).is(e)&&t.push(i):t.push(i),i=i.parentNode}return c(d(t))},closest:function(e){let t=this;return void 0===e?new l([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let n=0;n<this.length;n+=1){const i=this[n].querySelectorAll(e);for(let e=0;e<i.length;e+=1)t.push(i[e])}return new l(t)},children:function(e){const t=[];for(let n=0;n<this.length;n+=1){const i=this[n].childNodes;for(let n=0;n<i.length;n+=1)e?1===i[n].nodeType&&c(i[n]).is(e)&&t.push(i[n]):1===i[n].nodeType&&t.push(i[n])}return new l(d(t))},filter:function(e){const t=[],n=this;for(let i=0;i<n.length;i+=1)e.call(n[i],i,n[i])&&t.push(n[i]);return new l(t)},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(...e){const t=this;let n,i;for(n=0;n<e.length;n+=1){const a=c(e[n]);for(i=0;i<a.length;i+=1)t[t.length]=a[i],t.length+=1}return t},styles:function(){return this[0]?o.getComputedStyle(this[0],null):{}}};Object.keys(u).forEach((e=>{c.fn[e]=c.fn[e]||u[e]}));const p={deleteProps(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))},nextTick:(e,t=0)=>setTimeout(e,t),now:()=>Date.now(),getTranslate(e,t="x"){let n,i,a;const r=o.getComputedStyle(e,null);return o.WebKitCSSMatrix?(i=r.transform||r.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new o.WebKitCSSMatrix("none"===i?"":i)):(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=a.toString().split(",")),"x"===t&&(i=o.WebKitCSSMatrix?a.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=o.WebKitCSSMatrix?a.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0},parseUrlQuery(e){const t={};let n,i,a,r,s=e||o.location.href;if("string"==typeof s&&s.length)for(s=s.indexOf("?")>-1?s.replace(/\S*\?/,""):"",i=s.split("&").filter((e=>""!==e)),r=i.length,n=0;n<r;
2n+=1)a=i[n].replace(/#\S+/g,"").split("="),t[decodeURIComponent(a[0])]=void 0===a[1]?void 0:decodeURIComponent(a[1])||"";return t},isObject:e=>"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object,extend(...e){const t=Object(e[0]);for(let n=1;n<e.length;n+=1){const i=e[n];if(null!=i){const e=Object.keys(Object(i));for(let n=0,a=e.length;n<a;n+=1){const a=e[n],r=Object.getOwnPropertyDescriptor(i,a);void 0!==r&&r.enumerable&&(p.isObject(t[a])&&p.isObject(i[a])?p.extend(t[a],i[a]):!p.isObject(t[a])&&p.isObject(i[a])?(t[a]={},p.extend(t[a],i[a])):t[a]=i[a])}}}return t}},h={touch:!!("ontouchstart"in o||o.DocumentTouch&&r instanceof o.DocumentTouch),pointerEvents:!!o.PointerEvent&&"maxTouchPoints"in o.navigator&&o.navigator.maxTouchPoints>=0,observer:"MutationObserver"in o||"WebkitMutationObserver"in o,passiveListener:function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get(){e=!0}});o.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in o};class f{constructor(e={}){const t=this;t.params=e,t.eventsListeners={}
2,t.params&&t.params.on&&Object.keys(t.params.on).forEach((e=>{t.on(e,t.params.on[e])}))}on(e,t,n){const i=this;if("function"!=typeof t)return i;const a=n?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][a](t)})),i}once(e,t,n){const i=this;if("function"!=typeof t)return i;function a(...n){i.off(e,a),a.f7proxy&&delete a.f7proxy,t.apply(i,n)}return a.f7proxy=t,i.on(e,a,n)}off(e,t){const n=this;return n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach(((i,a)=>{(i===t||i.f7proxy&&i.f7proxy===t)&&n.eventsListeners[e].splice(a,1)}))})),n):n}emit(...e){const t=this;if(!t.eventsListeners)return t;let n,i,a;return"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],i=e.slice(1,e.length),a=t):(n=e[0].events,i=e[0].data,a=e[0].context||t),(Array.isArray(n)?n:n.split(" ")).forEach((e=>{if(t.eventsListeners&&t.eventsListeners[e]){const n=[];t.eventsListeners[e].forEach((e=>{n.push(e)})),n.forEach((e=>{e.apply(a,i)}))}})),t}useModulesParams(e){const t=this;t.modules&&Object.keys(t.modules).forEach((n=>{const i=t.modules[n];i.params&&p.extend(e,i.params)}))}useModules(e={}){const t=this;t.modules&&Object.keys(t.modules).forEach((n=>{const i=t.modules[n],a=e[n]||{};i.instance&&Object.keys(i.instance).forEach((e=>{const n=i.instance[e];t[e]="function"==typeof n?n.bind(t):n})),i.on&&t.on&&Object.keys(i.on).forEach((e=>{t.on(e,i.on[e])})),i.create&&i.create.bind(t)(a)}))}static set components(e){this.use&&this.use(e)}static installModule(e,...t){const n=this;n.prototype.modules||(n.prototype.modules={});const i=e.name||`${Object.keys(n.prototype.modules).length}_${p.now()}`;return n.prototype.modules[i]=e,e.proto&&Object.keys(e.proto).forEach((t=>{n.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((t=>{n[t]=e.static[t]})),e.install&&e.install.apply(n,t),n}static use(e,...t){const n=this;return Array.isArray(e)?(e.forEach((e=>n.installModule(e))),n):n.installModule(e,...t)}}var m={updateSize:function(){const e=this;let t,n;const i=e.$el;t=void 0!==e.params.width?e.params.width:i[0].clientWidth,n=void 0!==e.params.height?e.params.height:i[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),n=n-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),p.extend(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this,t=e.params,{$wrapperEl:n,size:i,rtlTranslate:a,wrongRTL:r}=e,s=e.virtual&&t.virtual.enabled,l=s?e.virtual.slides.length:e.slides.length,c=n.children(`.${e.params.slideClass}`),d=s?e.virtual.slides.length:c.length;let u=[];const h=[],f=[];function m(e){return!t.cssMode||e!==c.length-1}let v=t.slidesOffsetBefore;"function"==typeof v&&(v=t.slidesOffsetBefore.call(e));let g=t.slidesOffsetAfter;"function"==typeof g&&(g=t.slidesOffsetAfter.call(e));const y=e.snapGrid.length,b=e.snapGrid.length;let w,E,x=t.spaceBetween,S=-v,T=0,C=0;if(void 0===i)return;"string"==typeof x&&x.indexOf("%")>=0&&(x=parseFloat(x.replace("%",""))/100*i),e.virtualSize=-x,a?c.css({marginLeft:"",marginTop:""}):c.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(w=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(w=Math.max(w,t.slidesPerView*t.slidesPerColumn)));const $=t.slidesPerColumn,k=w/$,L=Math.floor(d/t.slidesPerColumn);for(let n=0;n<d;n+=1){E=0;const a=c.eq(n);if(t.slidesPerColumn>1){let i,r,s;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){const e=Math.floor(n/(t.slidesPerGroup*t.slidesPerColumn)),o=n-t.slidesPerColumn*t.slidesPerGroup*e,l=0===e?t.slidesPerGroup:Math.min(Math.ceil((d-e*$*t.slidesPerGroup)/$),t.slidesPerGroup);s=Math.floor(o/l),r=o-s*l+e*t.slidesPerGroup,i=r+s*w/$,a.css({"-webkit-box-ordinal-group":i,"-moz-box-ordinal-group":i,"-ms-flex-order":i,"-webkit-order":i,order:i})}else"column"===t.slidesPerColumnFill?(r=Math.floor(n/$),s=n-r*$,(r>L||r===L&&s===$-1)&&(s+=1,s>=$&&(s=0,r+=1))):(s=Math.floor(n/k),r=n-s*k);a.css("margin-"+(e.isHorizontal()?"top":"left"),0!==s&&t.spaceBetween&&`${t.spaceBetween}px`)}if("none"!==a.css("display")){if("auto"===t.slidesPerView){const n=o.getComputedStyle(a[0],null),i=a[0].style.transform,r=a[0].style.webkitTransform;if(i&&(a[0].style.transform="none"),r&&(a[0].style.webkitTransform="none"),t.roundLengths)E=e.isHorizontal()?a.outerWidth(!0):a.outerHeight(!0);else if(e.isHorizontal()){const e=parseFloat(n.getPropertyValue("width")),t=parseFloat(n.getPropertyValue("padding-left")),i=parseFloat(n.getPropertyValue("padding-right")),a=parseFloat(n.getPropertyValue("margin-left")),r=parseFloat(n.getPropertyValue("margin-right")),s=n.getPropertyValue("box-sizing");E=s&&"border-box"===s?e+a+r:e+t+i+a+r}else{const e=parseFloat(n.getPropertyValue("height")),t=parseFloat(n.getPropertyValue("padding-top")),i=parseFloat(n.getPropertyValue("padding-bottom")),a=parseFloat(n.getPropertyValue("margin-top")),r=parseFloat(n.getPropertyValue("margin-bottom")),s=n.getPropertyValue("box-sizing");E=s&&"border-box"===s?e+a+r:e+t+i+a+r}
2i&&(a[0].style.transform=i),r&&(a[0].style.webkitTransform=r),t.roundLengths&&(E=Math.floor(E))}else E=(i-(t.slidesPerView-1)*x)/t.slidesPerView,t.roundLengths&&(E=Math.floor(E)),c[n]&&(e.isHorizontal()?c[n].style.width=`${E}px`:c[n].style.height=`${E}px`);c[n]&&(c[n].swiperSlideSize=E),f.push(E),t.centeredSlides?(S=S+E/2+T/2+x,0===T&&0!==n&&(S=S-i/2-x),0===n&&(S=S-i/2-x),Math.abs(S)<.001&&(S=0),t.roundLengths&&(S=Math.floor(S)),C%t.slidesPerGroup==0&&u.push(S),h.push(S)):(t.roundLengths&&(S=Math.floor(S)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup==0&&u.push(S),h.push(S),S=S+E+x),e.virtualSize+=E+x,T=E,C+=1}}let M;if(e.virtualSize=Math.max(e.virtualSize,i)+g,a&&r&&("slide"===t.effect||"coverflow"===t.effect)&&n.css({width:`${e.virtualSize+t.spaceBetween}px`}),t.setWrapperSize&&(e.isHorizontal()?n.css({width:`${e.virtualSize+t.spaceBetween}px`}):n.css({height:`${e.virtualSize+t.spaceBetween}px`})),t.slidesPerColumn>1&&(e.virtualSize=(E+t.spaceBetween)*w,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?n.css({width:`${e.virtualSize+t.spaceBetween}px`}):n.css({height:`${e.virtualSize+t.spaceBetween}px`}),t.centeredSlides)){M=[];for(let n=0;n<u.length;n+=1){let i=u[n];t.roundLengths&&(i=Math.floor(i)),u[n]<e.virtualSize+u[0]&&M.push(i)}u=M}if(!t.centeredSlides){M=[];for(let n=0;n<u.length;n+=1){let a=u[n];t.roundLengths&&(a=Math.floor(a)),u[n]<=e.virtualSize-i&&M.push(a)}u=M,Math.floor(e.virtualSize-i)-Math.floor(u[u.length-1])>1&&u.push(e.virtualSize-i)}if(0===u.length&&(u=[0]),0!==t.spaceBetween&&(e.isHorizontal()?a?c.filter(m).css({marginLeft:`${x}px`}):c.filter(m).css({marginRight:`${x}px`}):c.filter(m).css({marginBottom:`${x}px`})),t.centeredSlides&&t.centeredSlidesBounds){let e=0;f.forEach((n=>{e+=n+(t.spaceBetween?t.spaceBetween:0)})),e-=t.spaceBetween;const n=e-i;u=u.map((e=>e<0?-v:e>n?n+g:e))}if(t.centerInsufficientSlides){let e=0;if(f.forEach((n=>{e+=n+(t.spaceBetween?t.spaceBetween:0)})),e-=t.spaceBetween,e<i){const t=(i-e)/2;u.forEach(((e,n)=>{u[n]=e-t})),h.forEach(((e,n)=>{h[n]=e+t}))}}p.extend(e,{slides:c,snapGrid:u,slidesGrid:h,slidesSizesGrid:f}),d!==l&&e.emit("slidesLengthChange"),u.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()},updateAutoHeight:function(e){const t=this,n=[];let i,a=0;if("number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed),"auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each(((e,t)=>{n.push(t)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length)break;n.push(t.slides.eq(e)[0])}else n.push(t.slides.eq(t.activeIndex)[0]);for(i=0;i<n.length;i+=1)if(void 0!==n[i]){const e=n[i].offsetHeight;a=e>a?e:a}a&&t.$wrapperEl.css("height",`${a}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:i,rtlTranslate:a}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;a&&(r=e),i.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<i.length;e+=1){const s=i[e],o=(r+(n.centeredSlides?t.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){const a=-(r-s.swiperSlideOffset),o=a+t.slidesSizesGrid[e];(a>=0&&a<t.size-1||o>1&&o<=t.size||a<=0&&o>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),i.eq(e).addClass(n.slideVisibleClass))}s.progress=a?-o:o}t.visibleSlides=c(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:r,isEnd:s}=t;const o=r,l=s;0===i?(a=0,r=!0,s=!0):(a=(e-t.minTranslate())/i,r=a<=0,s=a>=1),p.extend(t,{progress:a,isBeginning:r,isEnd:s}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),s&&!l&&t.emit("reachEnd toEdge"),(o&&!r||l&&!s)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:i,activeIndex:a,realIndex:r}=e,s=e.virtual&&n.virtual.enabled;let o;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),o=s?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${a}"]`):t.eq(a),o.addClass(n.slideActiveClass),n.loop&&(o.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(n.slideDuplicateActiveClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(n.slideDuplicateActiveClass));let l=o.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);
2n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let c=o.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass))},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:i,snapGrid:a,params:r,activeIndex:s,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e<i.length;e+=1)void 0!==i[e+1]?n>=i[e]&&n<i[e+1]-(i[e+1]-i[e])/2?d=e:n>=i[e]&&n<i[e+1]&&(d=e+1):n>=i[e]&&(d=e);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(a.indexOf(n)>=0)c=a.indexOf(n);else{const e=Math.min(r.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/r.slidesPerGroup)}if(c>=a.length&&(c=a.length-1),d===s)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const u=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);p.extend(t,{snapIndex:c,realIndex:u,previousIndex:s,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==u&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,i=c(e.target).closest(`.${n.slideClass}`)[0];let a=!1;if(i)for(let e=0;e<t.slides.length;e+=1)t.slides[e]===i&&(a=!0);if(!i||!a)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(c(i).attr("data-swiper-slide-index"),10):t.clickedIndex=c(i).index(),n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},v={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:i,$wrapperEl:a}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let r=p.getTranslate(a[0],e);return n&&(r=-r),r||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:a,$wrapperEl:r,wrapperEl:s,progress:o}=n;let l,c=0,d=0;n.isHorizontal()?c=i?-e:e:d=e,a.roundLengths&&(c=Math.floor(c),d=Math.floor(d)),a.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-d:a.virtualTranslate||r.transform(`translate3d(${c}px, ${d}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:d;const u=n.maxTranslate()-n.minTranslate();l=0===u?0:(e-n.minTranslate())/u,l!==o&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,i=!0,a){const r=this,{params:s,wrapperEl:o}=r;if(r.animating&&s.preventInteractionOnTransition)return!1;const l=r.minTranslate(),c=r.maxTranslate();let d;if(d=i&&e>l?l:i&&e<c?c:e,r.updateProgress(d),s.cssMode){const e=r.isHorizontal();return 0===t?o[e?"scrollLeft":"scrollTop"]=-d:o.scrollTo?o.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"}):o[e?"scrollLeft":"scrollTop"]=-d,!0}return 0===t?(r.setTransition(0),r.setTranslate(d),n&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(d),n&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,n&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}},g={slideTo:function(e=0,t=this.params.speed,n=!0,i){const a=this;let r=e;r<0&&(r=0);const{params:s,snapGrid:o,slidesGrid:l,previousIndex:c,activeIndex:d,rtlTranslate:u,wrapperEl:p}=a;if(a.animating&&s.preventInteractionOnTransition)return!1;const h=Math.min(a.params.slidesPerGroupSkip,r);let f=h+Math.floor((r-h)/a.params.slidesPerGroup);f>=o.length&&(f=o.length-1),(d||s.initialSlide||0)===(c||0)&&n&&a.emit("beforeSlideChangeStart");const m=-o[f];if(a.updateProgress(m),s.normalizeSlideIndex)for(let e=0;e<l.length;e+=1)-Math.floor(100*m)>=Math.floor(100*l[e])&&(r=e);if(a.initialized&&r!==d){if(!a.allowSlideNext&&m<a.translate&&m<a.minTranslate())return!1;if(!a.allowSlidePrev&&m>a.translate&&m>a.maxTranslate()&&(d||0)!==r)return!1}let v;if(v=r>d?"next":r<d?"prev":"reset",u&&-m===a.translate||!u&&m===a.translate)return a.updateActiveIndex(r),s.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==s.effect&&a.setTranslate(m),"reset"!==v&&(a.transitionStart(n,v),a.transitionEnd(n,v)),!1;if(s.cssMode){const e=a.isHorizontal();let n=-m;return u&&(n=p.scrollWidth-p.offsetWidth-n),0===t?p[e?"scrollLeft":"scrollTop"]=n:p.scrollTo?p.scrollTo({[e?"left":"top"]:n,behavior:"smooth"}):p[e?"scrollLeft":"scrollTop"]=n,!0}return 0===t?(a.setTransition(0),a.setTranslate(m),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(n,v),a.transitionEnd(n,v)):(a.setTransition(t),a.setTranslate(m),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(n,v),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,v))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,i){const a=this;let r=e;return a.params.loop&&(r+=a.loopedSlides),a.slideTo(r,t,n,i)},slideNext:function(e=this.params.speed,t=!0,n){const i=this,{params:a,animating:r}=i,s=i.activeIndex<a.slidesPerGroupSkip?1:a.slidesPerGroup;if(a.loop){if(r)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(i.activeIndex+s,e,t,n)},slidePrev:function(e=this.params.speed,t=!0,n){const i=this,{params:a,animating:r,snapGrid:s,slidesGrid:o,rtlTranslate:l}=i;if(a.loop){if(r)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=c(l?i.translate:-i.translate),u=s.map((e=>c(e)));o.map((e=>c(e))),s[u.indexOf(d)];let p,h=s[u.indexOf(d)-1];
2return void 0===h&&a.cssMode&&s.forEach((e=>{!h&&d>=e&&(h=e)})),void 0!==h&&(p=o.indexOf(h),p<0&&(p=i.activeIndex-1)),i.slideTo(p,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,i=.5){const a=this;let r=a.activeIndex;const s=Math.min(a.params.slidesPerGroupSkip,r),o=s+Math.floor((r-s)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){const e=a.snapGrid[o];l-e>(a.snapGrid[o+1]-e)*i&&(r+=a.params.slidesPerGroup)}else{const e=a.snapGrid[o-1];l-e<=(a.snapGrid[o]-e)*i&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let a,r=e.clickedIndex;if(t.loop){if(e.animating)return;a=parseInt(c(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-i/2||r>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),r=n.children(`.${t.slideClass}[data-swiper-slide-index="${a}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),p.nextTick((()=>{e.slideTo(r)}))):e.slideTo(r):r>e.slides.length-i?(e.loopFix(),r=n.children(`.${t.slideClass}[data-swiper-slide-index="${a}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),p.nextTick((()=>{e.slideTo(r)}))):e.slideTo(r)}else e.slideTo(r)}},y={loopCreate:function(){const e=this,{params:t,$wrapperEl:n}=e;n.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let i=n.children(`.${t.slideClass}`);if(t.loopFillGroupWithBlank){const e=t.slidesPerGroup-i.length%t.slidesPerGroup;if(e!==t.slidesPerGroup){for(let i=0;i<e;i+=1){const e=c(r.createElement("div")).addClass(`${t.slideClass} ${t.slideBlankClass}`);n.append(e)}i=n.children(`.${t.slideClass}`)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=i.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>i.length&&(e.loopedSlides=i.length);const a=[],s=[];i.each(((t,n)=>{const r=c(n);t<e.loopedSlides&&s.push(n),t<i.length&&t>=i.length-e.loopedSlides&&a.push(n),r.attr("data-swiper-slide-index",t)}));for(let e=0;e<s.length;e+=1)n.append(c(s[e].cloneNode(!0)).addClass(t.slideDuplicateClass));for(let e=a.length-1;e>=0;e-=1)n.prepend(c(a[e].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:i,allowSlidePrev:a,allowSlideNext:r,snapGrid:s,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-s[t]-e.getTranslate();t<i?(l=n.length-3*i+t,l+=i,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)):t>=n.length-i&&(l=-n.length+t+i,l+=i,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)),e.allowSlidePrev=a,e.allowSlideNext=r,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}},b={setGrabCursor:function(e){const t=this;if(h.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.el;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;h.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}},w={appendSlide:function(e){const t=this,{$wrapperEl:n,params:i}=t;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&n.append(e[t]);else n.append(e);i.loop&&t.loopCreate(),i.observer&&h.observer||t.update()},prependSlide:function(e){const t=this,{params:n,$wrapperEl:i,activeIndex:a}=t;n.loop&&t.loopDestroy();let r=a+1;if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&i.prepend(e[t]);r=a+e.length}else i.prepend(e);
2n.loop&&t.loopCreate(),n.observer&&h.observer||t.update(),t.slideTo(r,0,!1)},addSlide:function(e,t){const n=this,{$wrapperEl:i,params:a,activeIndex:r}=n;let s=r;a.loop&&(s-=n.loopedSlides,n.loopDestroy(),n.slides=i.children(`.${a.slideClass}`));const o=n.slides.length;if(e<=0)return void n.prependSlide(t);if(e>=o)return void n.appendSlide(t);let l=s>e?s+1:s;const c=[];for(let t=o-1;t>=e;t-=1){const e=n.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&i.append(t[e]);l=s>e?s+t.length:s}else i.append(t);for(let e=0;e<c.length;e+=1)i.append(c[e]);a.loop&&n.loopCreate(),a.observer&&h.observer||n.update(),a.loop?n.slideTo(l+n.loopedSlides,0,!1):n.slideTo(l,0,!1)},removeSlide:function(e){const t=this,{params:n,$wrapperEl:i,activeIndex:a}=t;let r=a;n.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=i.children(`.${n.slideClass}`));let s,o=r;if("object"==typeof e&&"length"in e){for(let n=0;n<e.length;n+=1)s=e[n],t.slides[s]&&t.slides.eq(s).remove(),s<o&&(o-=1);o=Math.max(o,0)}else s=e,t.slides[s]&&t.slides.eq(s).remove(),s<o&&(o-=1),o=Math.max(o,0);n.loop&&t.loopCreate(),n.observer&&h.observer||t.update(),n.loop?t.slideTo(o+t.loopedSlides,0,!1):t.slideTo(o,0,!1)},removeAllSlides:function(){const e=this,t=[];for(let n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}};const E=function(){const e=o.navigator.platform,t=o.navigator.userAgent,n={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!o.cordova&&!o.phonegap),phonegap:!(!o.cordova&&!o.phonegap),electron:!1},i=o.screen.width,a=o.screen.height,r=t.match(/(Android);?[\s\/]+([\d.]+)?/);let s=t.match(/(iPad).*OS\s([\d_]+)/);const l=t.match(/(iPod)(.*OS\s([\d_]+))?/),c=!s&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),d=t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0,u=t.indexOf("Edge/")>=0,p=t.indexOf("Gecko/")>=0&&t.indexOf("Firefox/")>=0,f="Win32"===e,m=t.toLowerCase().indexOf("electron")>=0;let v="MacIntel"===e;return!s&&v&&h.touch&&(1024===i&&1366===a||834===i&&1194===a||834===i&&1112===a||768===i&&1024===a)&&(s=t.match(/(Version)\/([\d.]+)/),v=!1),n.ie=d,n.edge=u,n.firefox=p,r&&!f&&(n.os="android",n.osVersion=r[2],n.android=!0,n.androidChrome=t.toLowerCase().indexOf("chrome")>=0),(s||c||l)&&(n.os="ios",n.ios=!0),c&&!l&&(n.osVersion=c[2].replace(/_/g,"."),n.iphone=!0),s&&(n.osVersion=s[2].replace(/_/g,"."),n.ipad=!0),l&&(n.osVersion=l[3]?l[3].replace(/_/g,"."):null,n.ipod=!0),n.ios&&n.osVersion&&t.indexOf("Version/")>=0&&"10"===n.osVersion.split(".")[0]&&(n.osVersion=t.toLowerCase().split("version/")[1].split(" ")[0]),n.webView=!(!(c||s||l)||!t.match(/.*AppleWebKit(?!.*Safari)/i)&&!o.navigator.standalone)||o.matchMedia&&o.matchMedia("(display-mode: standalone)").matches,n.webview=n.webView,n.standalone=n.webView,n.desktop=!(n.ios||n.android)||m,n.desktop&&(n.electron=m,n.macos=v,n.windows=f,n.macos&&(n.os="macos"),n.windows&&(n.os="windows")),n.pixelRatio=o.devicePixelRatio||1,n}();function x(e){const t=this,n=t.touchEventsData,{params:i,touches:a}=t;if(t.animating&&i.preventInteractionOnTransition)return;let s=e;s.originalEvent&&(s=s.originalEvent);const l=c(s.target);if("wrapper"===i.touchEventsTarget&&!l.closest(t.wrapperEl).length)return;if(n.isTouchEvent="touchstart"===s.type,!n.isTouchEvent&&"which"in s&&3===s.which)return;if(!n.isTouchEvent&&"button"in s&&s.button>0)return;if(n.isTouched&&n.isMoved)return;if(i.noSwiping&&l.closest(i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`)[0])return void(t.allowClick=!0);if(i.swipeHandler&&!l.closest(i.swipeHandler)[0])return;a.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,a.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;const d=a.currentX,u=a.currentY,h=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,f=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(!h||!(d<=f||d>=o.screen.width-f)){if(p.extend(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=d,a.startY=u,n.touchStartTime=p.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==s.type){let e=!0;l.is(n.formElements)&&(e=!1),r.activeElement&&c(r.activeElement).is(n.formElements)&&r.activeElement!==l[0]&&r.activeElement.blur();const a=e&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||a)&&s.preventDefault()}t.emit("touchStart",s)}}function S(e){const t=this,n=t.touchEventsData,{params:i,touches:a,rtlTranslate:s}=t;let o=e;if(o.originalEvent&&(o=o.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",o));if(n.isTouchEvent&&"touchmove"!==o.type)return;const l="touchmove"===o.type&&o.targetTouches&&(o.targetTouches[0]||o.changedTouches[0]),d="touchmove"===o.type?l.pageX:o.pageX,u="touchmove"===o.type?l.pageY:o.pageY;if(o.preventedByNestedSwiper)return a.startX=d,void(a.startY=u);
2if(!t.allowTouchMove)return t.allowClick=!1,void(n.isTouched&&(p.extend(a,{startX:d,startY:u,currentX:d,currentY:u}),n.touchStartTime=p.now()));if(n.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(t.isVertical()){if(u<a.startY&&t.translate<=t.maxTranslate()||u>a.startY&&t.translate>=t.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(d<a.startX&&t.translate<=t.maxTranslate()||d>a.startX&&t.translate>=t.minTranslate())return;if(n.isTouchEvent&&r.activeElement&&o.target===r.activeElement&&c(o.target).is(n.formElements))return n.isMoved=!0,void(t.allowClick=!1);if(n.allowTouchCallbacks&&t.emit("touchMove",o),o.targetTouches&&o.targetTouches.length>1)return;a.currentX=d,a.currentY=u;const h=a.currentX-a.startX,f=a.currentY-a.startY;if(t.params.threshold&&Math.sqrt(h**2+f**2)<t.params.threshold)return;if(void 0===n.isScrolling){let e;t.isHorizontal()&&a.currentY===a.startY||t.isVertical()&&a.currentX===a.startX?n.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,n.isScrolling=t.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(n.isScrolling&&t.emit("touchMoveOpposite",o),void 0===n.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;t.allowClick=!1,!i.cssMode&&o.cancelable&&o.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&o.stopPropagation(),n.isMoved||(i.loop&&t.loopFix(),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!i.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",o)),t.emit("sliderMove",o),n.isMoved=!0;let m=t.isHorizontal()?h:f;a.diff=m,m*=i.touchRatio,s&&(m=-m),t.swipeDirection=m>0?"prev":"next",n.currentTranslate=m+n.startTranslate;let v=!0,g=i.resistanceRatio;if(i.touchReleaseOnEdges&&(g=0),m>0&&n.currentTranslate>t.minTranslate()?(v=!1,i.resistance&&(n.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+n.startTranslate+m)**g)):m<0&&n.currentTranslate<t.maxTranslate()&&(v=!1,i.resistance&&(n.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-n.startTranslate-m)**g)),v&&(o.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.threshold>0){if(!(Math.abs(m)>i.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
2if(!n.allowThresholdMove)return n.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,n.currentTranslate=n.startTranslate,void(a.diff=t.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}i.followFinger&&!i.cssMode&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&(0===n.velocities.length&&n.velocities.push({position:a[t.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:a[t.isHorizontal()?"currentX":"currentY"],time:p.now()})),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}function T(e){const t=this,n=t.touchEventsData,{params:i,touches:a,rtlTranslate:r,$wrapperEl:s,slidesGrid:o,snapGrid:l}=t;let c=e;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=p.now(),u=d-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap click",c),u<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",c)),n.lastClickTime=p.now(),p.nextTick((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===a.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=i.followFinger?r?t.translate:-t.translate:-n.currentTranslate,i.cssMode)return;if(i.freeMode){if(h<-t.minTranslate())return void t.slideTo(t.activeIndex);if(h>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(n.velocities.length>1){const e=n.velocities.pop(),a=n.velocities.pop(),r=e.position-a.position,s=e.time-a.time;t.velocity=r/s,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(s>150||p.now()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;let e=1e3*i.freeModeMomentumRatio;const a=t.velocity*e;let o=t.translate+a;r&&(o=-o);let c,d=!1;const u=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;let h;if(o<t.maxTranslate())i.freeModeMomentumBounce?(o+t.maxTranslate()<-u&&(o=t.maxTranslate()-u),c=t.maxTranslate(),d=!0,n.allowMomentumBounce=!0):o=t.maxTranslate(),i.loop&&i.centeredSlides&&(h=!0);else if(o>t.minTranslate())i.freeModeMomentumBounce?(o-t.minTranslate()>u&&(o=t.minTranslate()+u),c=t.minTranslate(),d=!0,n.allowMomentumBounce=!0):o=t.minTranslate(),i.loop&&i.centeredSlides&&(h=!0);else if(i.freeModeSticky){let e;for(let t=0;t<l.length;t+=1)if(l[t]>-o){e=t;break}o=Math.abs(l[e]-o)<Math.abs(l[e-1]-o)||"next"===t.swipeDirection?l[e]:l[e-1],o=-o}if(h&&t.once("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=r?Math.abs((-o-t.translate)/t.velocity):Math.abs((o-t.translate)/t.velocity),i.freeModeSticky){const n=Math.abs((r?-o:o)-t.translate),a=t.slidesSizesGrid[t.activeIndex];e=n<a?i.speed:n<2*a?1.5*i.speed:2.5*i.speed}}else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&d?(t.updateProgress(c),t.setTransition(e),t.setTranslate(o),t.transitionStart(!0,t.swipeDirection),t.animating=!0,s.transitionEnd((()=>{t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),setTimeout((()=>{t.setTranslate(c),s.transitionEnd((()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(o),t.setTransition(e),t.setTranslate(o),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,s.transitionEnd((()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(o),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();return void((!i.freeModeMomentum||u>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses()))}let f=0,m=t.slidesSizesGrid[0];for(let e=0;e<o.length;e+=e<i.slidesPerGroupSkip?1:i.slidesPerGroup){const t=e<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==o[e+t]?h>=o[e]&&h<o[e+t]&&(f=e,m=o[e+t]-o[e]):h>=o[e]&&(f=e,m=o[o.length-1]-o[o.length-2])}const v=(h-o[f])/m,g=f<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(u>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=i.longSwipesRatio?t.slideTo(f+g):t.slideTo(f)),"prev"===t.swipeDirection&&(v>1-i.longSwipesRatio?t.slideTo(f+g):t.slideTo(f))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||c.target!==t.navigation.nextEl&&c.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(f+g),"prev"===t.swipeDirection&&t.slideTo(f)):c.target===t.navigation.nextEl?t.slideTo(f+g):t.slideTo(f)}}function C(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,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=a,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function $(e){const t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function k(){const e=this,{wrapperEl:t,rtlTranslate:n}=e;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=n?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const a=e.maxTranslate()-e.minTranslate();i=0===a?0:(e.translate-e.minTranslate())/a,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let L=!1;function M(){}var P={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesB
2ounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,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,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",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};const O={update:m,translate:v,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{activeIndex:i,params:a,previousIndex:r}=n;if(a.cssMode)return;a.autoHeight&&n.updateAutoHeight();let s=t;if(s||(s=i>r?"next":i<r?"prev":"reset"),n.emit("transitionStart"),e&&i!==r){if("reset"===s)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===s?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}},transitionEnd:function(e=!0,t){const n=this,{activeIndex:i,previousIndex:a,params:r}=n;if(n.animating=!1,r.cssMode)return;n.setTransition(0);let s=t;if(s||(s=i>a?"next":i<a?"prev":"reset"),n.emit("transitionEnd"),e&&i!==a){if("reset"===s)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===s?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}},slide:g,loop:y,grabCursor:b,manipulation:w,events:{attachEvents:function(){const e=this,{params:t,touchEvents:n,el:i,wrapperEl:a}=e;e.onTouchStart=x.bind(e),e.onTouchMove=S.bind(e),e.onTouchEnd=T.bind(e),t.cssMode&&(e.onScroll=k.bind(e)),e.onClick=$.bind(e);const s=!!t.nested;if(!h.touch&&h.pointerEvents)i.addEventListener(n.start,e.onTouchStart,!1),r.addEventListener(n.move,e.onTouchMove,s),r.addEventListener(n.end,e.onTouchEnd,!1);else{if(h.touch){const a=!("touchstart"!==n.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};i.addEventListener(n.start,e.onTouchStart,a),i.addEventListener(n.move,e.onTouchMove,h.passiveListener?{passive:!1,capture:s}:s),i.addEventListener(n.end,e.onTouchEnd,a),n.cancel&&i.addEventListener(n.cancel,e.onTouchEnd,a),L||(r.addEventListener("touchstart",M),L=!0)}(t.simulateTouch&&!E.ios&&!E.android||t.simulateTouch&&!h.touch&&E.ios)&&(i.addEventListener("mousedown",e.onTouchStart,!1),r.addEventListener("mousemove",e.onTouchMove,s),r.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&i.addEventListener("click",e.onClick,!0),t.cssMode&&a.addEventListener("scroll",e.onScroll),t.updateOnWindowResize?e.on(E.ios||E.android?"resize orientationchange observerUpdate":"resize observerUpdate",C,!0):e.on("observerUpdate",C,!0)},detachEvents:function(){const e=this,{params:t,touchEvents:n,el:i,wrapperEl:a}=e,s=!!t.nested;if(!h.touch&&h.pointerEvents)i.removeEventListener(n.start,e.onTouchStart,!1),r.removeEventListener(n.move,e.onTouchMove,s),r.removeEventListener(n.end,e.onTouchEnd,!1);else{if(h.touch){const a=!("onTouchStart"!==n.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};i.removeEventListener(n.start,e.onTouchStart,a),i.removeEventListener(n.move,e.onTouchMove,s),i.removeEventListener(n.end,e.onTouchEnd,a),n.cancel&&i.removeEventListener(n.cancel,e.onTouchEnd,a)}(t.simulateTouch&&!E.ios&&!E.android||t.simulateTouch&&!h.touch&&E.ios)&&(i.removeEventListener("mousedown",e.onTouchStart,!1),r.removeEventListener("mousemove",e.onTouchMove,s),r.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&i.removeEventListener("click",e.onClick,!0),t.cssMode&&a.removeEventListener("scroll",e.onScroll),e.off(E.ios||E.android?"resize orientationchange observerUpdate":"resize observerUpdate",C)}},breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:i=0,params:a,$el:r}=e,s=a.breakpoints;if(!s||s&&0===Object.keys(s).length)return;
2const o=e.getBreakpoint(s);if(o&&e.currentBreakpoint!==o){const l=o in s?s[o]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((e=>{const t=l[e];void 0!==t&&(l[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));const c=l||e.originalParams,d=a.slidesPerColumn>1,u=c.slidesPerColumn>1;d&&!u?r.removeClass(`${a.containerModifierClass}multirow ${a.containerModifierClass}multirow-column`):!d&&u&&(r.addClass(`${a.containerModifierClass}multirow`),"column"===c.slidesPerColumnFill&&r.addClass(`${a.containerModifierClass}multirow-column`));const h=c.direction&&c.direction!==a.direction,f=a.loop&&(c.slidesPerView!==a.slidesPerView||h);h&&n&&e.changeDirection(),p.extend(e.params,c),p.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=o,f&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}},getBreakpoint:function(e){if(!e)return;let t=!1;const n=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o.innerHeight*t,point:e}}return{value:e,point:e}}));n.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<n.length;e+=1){const{point:i,value:a}=n[e];a<=o.innerWidth&&(t=i)}return t||"max"}},checkOverflow:{checkOverflow:function(){const e=this,t=e.params,n=e.isLocked,i=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&i?e.isLocked=i<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,n!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),n&&n!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:n,$el:i}=this,a=[];a.push("initialized"),a.push(t.direction),t.freeMode&&a.push("free-mode"),t.autoHeight&&a.push("autoheight"),n&&a.push("rtl"),t.slidesPerColumn>1&&(a.push("multirow"),"column"===t.slidesPerColumnFill&&a.push("multirow-column")),E.android&&a.push("android"),E.ios&&a.push("ios"),t.cssMode&&a.push("css-mode"),a.forEach((n=>{e.push(t.containerModifierClass+n)})),i.addClass(e.join(" "))},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,n,i,a,r){let s;function l(){r&&r()}c(e).parent("picture")[0]||e.complete&&a?l():t?(s=new o.Image,s.onload=l,s.onerror=l,i&&(s.sizes=i),n&&(s.srcset=n),t&&(s.src=t)):l()},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 n=0;n<e.imagesToLoad.length;n+=1){const i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},z={};class I extends f{constructor(...e){let t,n;1===e.length&&e[0].constructor&&e[0].constructor===Object?n=e[0]:[t,n]=e,n||(n={}),n=p.extend({},n),t&&!n.el&&(n.el=t),super(n),Object.keys(O).forEach((e=>{Object.keys(O[e]).forEach((t=>{I.prototype[t]||(I.prototype[t]=O[e][t])}))}));const i=this;void 0===i.modules&&(i.modules={}),Object.keys(i.modules).forEach((e=>{const t=i.modules[e];if(t.params){const e=Object.keys(t.params)[0],i=t.params[e];if("object"!=typeof i||null===i)return;if(!(e in n)||!("enabled"in i))return;!0===n[e]&&(n[e]={enabled:!0}),"object"!=typeof n[e]||"enabled"in n[e]||(n[e].enabled=!0),n[e]||(n[e]={enabled:!1})}}));const a=p.extend({},P);i.useModulesParams(a),i.params=p.extend({},a,z,n),i.originalParams=p.extend({},i.params),i.passedParams=p.extend({},n),i.$=c;const r=c(i.params.el);if(t=r[0],!t)return;if(r.length>1){const e=[];return r.each(((t,i)=>{const a=p.extend({},n,{el:i});e.push(new I(a))})),e}let s;return t.swiper=i,r.data("swiper",i),t&&t.shadowRoot&&t.shadowRoot.querySelector?(s=c(t.shadowRoot.querySelector(`.${i.params.wrapperClass}`)),s.children=e=>r.children(e)):s=r.children(`.${i.params.wrapperClass}`),p.extend(i,{$el:r,el:t,$wrapperEl:s,wrapperEl:s[0],classNames:[],slides:c(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===i.params.direction,isVertical:()=>"vertical"===i.params.direction,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===r.css("direction"),rtlTranslate:"horizontal"===i.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===r.css("direction")),wrongRTL:"-webkit-box"===s.css("display"),activeIndex:0,realIndex:0,isBeg
2inning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"];let t=["mousedown","mousemove","mouseup"];return h.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),i.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},i.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},h.touch||!i.params.simulateTouch?i.touchEventsTouch:i.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,formElements:"input, select, option, textarea, button, video, label",lastClickTime:p.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.useModules(),i.params.init&&i.init(),i}slidesPerViewDynamic(){const{params:e,slides:t,slidesGrid:n,size:i,activeIndex:a}=this;let r=1;if(e.centeredSlides){let e,n=t[a].swiperSlideSize;for(let s=a+1;s<t.length;s+=1)t[s]&&!e&&(n+=t[s].swiperSlideSize,r+=1,n>i&&(e=!0));for(let s=a-1;s>=0;s-=1)t[s]&&!e&&(n+=t[s].swiperSlideSize,r+=1,n>i&&(e=!0))}else for(let e=a+1;e<t.length;e+=1)n[e]-n[a]<i&&(r+=1);return r}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let a;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(a=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),a||i()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${i}`).addClass(`${n.params.containerModifierClass}${e}`),n.params.direction=e,n.slides.each(((t,n)=>{"vertical"===e?n.style.width="":n.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}init(){const e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}destroy(e=!0,t=!0){const n=this,{params:i,$el:a,$wrapperEl:r,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),a.removeAttr("style"),r.removeAttr("style"),s&&s.length&&s.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),p.deleteProps(n)),n.destroyed=!0),null}static extendDefaults(e){p.extend(z,e)}static get extendedDefaults(){return z}static get defaults(){return P}static get Class(){return f}static get $(){return c}}var A={name:"device",proto:{device:E},static:{device:E}},_={name:"support",proto:{support:h},static:{support:h}};const D={isEdge:!!o.navigator.userAgent.match(/Edge/g),isSafari:function(){const e=o.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}
2(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(o.navigator.userAgent)};var j={name:"browser",proto:{browser:D},static:{browser:D}},N={name:"resize",create(){const e=this;p.extend(e,{resize:{resizeHandler(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init(){o.addEventListener("resize",this.resize.resizeHandler),o.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy(){o.removeEventListener("resize",this.resize.resizeHandler),o.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}};const G={func:o.MutationObserver||o.WebkitMutationObserver,attach(e,t={}){const n=this,i=new(0,G.func)((e=>{if(1===e.length)return void n.emit("observerUpdate",e[0]);const t=function(){n.emit("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)}));i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(i)},init(){const e=this;if(h.observer&&e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let n=0;n<t.length;n+=1)e.observer.attach(t[n])}e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy(){this.observer.observers.forEach((e=>{e.disconnect()})),this.observer.observers=[]}};var H={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create(){const e=this;p.extend(e,{observer:{init:G.init.bind(e),attach:G.attach.bind(e),destroy:G.destroy.bind(e),observers:[]}})},on:{init(){this.observer.init()},destroy(){this.observer.destroy()}}};const B={update(e){const t=this,{slidesPerView:n,slidesPerGroup:i,centeredSlides:a}=t.params,{addSlidesBefore:r,addSlidesAfter:s}=t.params.virtual,{from:o,to:l,slides:c,slidesGrid:d,renderSlide:u,offset:h}=t.virtual;t.updateActiveIndex();const f=t.activeIndex||0;let m,v,g;m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",a?(v=Math.floor(n/2)+i+r,g=Math.floor(n/2)+i+s):(v=n+(i-1)+r,g=i+s);const y=Math.max((f||0)-g,0),b=Math.min((f||0)+v,c.length-1),w=(t.slidesGrid[y]||0)-(t.slidesGrid[0]||0);function E(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(p.extend(t.virtual,{from:y,to:b,offset:w,slidesGrid:t.slidesGrid}),o===y&&l===b&&!e)return t.slidesGrid!==d&&w!==h&&t.slides.css(m,`${w}px`),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:w,from:y,to:b,slides:function(){const e=[];for(let t=y;t<=b;t+=1)e.push(c[t]);return e}()}),void E();const x=[],S=[];if(e)t.$wrapperEl.find(`.${t.params.slideClass}`).remove();else for(let e=o;e<=l;e+=1)(e<y||e>b)&&t.$wrapperEl.find(`.${t.params.slideClass}[data-swiper-slide-index="${e}"]`).remove();for(let t=0;t<c.length;t+=1)t>=y&&t<=b&&(void 0===l||e?S.push(t):(t>l&&S.push(t),t<o&&x.push(t)));S.forEach((e=>{t.$wrapperEl.append(u(c[e],e))})),x.sort(((e,t)=>t-e)).forEach((e=>{t.$wrapperEl.prepend(u(c[e],e))})),t.$wrapperEl.children(".swiper-slide").css(m,`${w}px`),E()},renderSlide(e,t){const n=this,i=n.params.virtual;if(i.cache&&n.virtual.cache[t])return n.virtual.cache[t];const a=i.renderSlide?c(i.renderSlide.call(n,e,t)):c(`<div class="${n.params.slideClass}" data-swiper-slide-index="${t}">${e}</div>`);return a.attr("data-swiper-slide-index")||a.attr("data-swiper-slide-index",t),i.cache&&(n.virtual.cache[t]=a),a},appendSlide(e){const t=this;if("object"==typeof e&&"length"in e)for(let n=0;n<e.length;n+=1)e[n]&&t.virtual.slides.push(e[n]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide(e){const t=this,n=t.activeIndex;let i=n+1,a=1;if(Array.isArray(e)){for(let n=0;n<e.length;n+=1)e[n]&&t.virtual.slides.unshift(e[n]);i=n+e.length,a=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){const e=t.virtual.cache,n={};Object.keys(e).forEach((t=>{const i=e[t],r=i.attr("data-swiper-slide-index");r&&i.attr("data-swiper-slide-index",parseInt(r,10)+1),n[parseInt(t,10)+a]=i})),t.virtual.cache=n}t.virtual.update(!0),t.slideTo(i,0)},removeSlide(e){const t=this;if(null==e)return;let n=t.activeIndex;if(Array.isArray(e))for(let i=e.length-1;i>=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<n&&(n-=1),n=Math.max(n,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<n&&(n-=1),n=Math.max(n,0);t.virtual.update(!0),t.slideTo(n,0)},removeAllSlides(){const e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}};var q={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create(){const e=this;p.extend(e,{virtual:{update:B.update.bind(e),appendSlide:B.appendSlide.bind(e),prependSlide:B.prependSlide.bind(e),removeSlide:B.removeSlide.bind(e),removeAllSlides:B.removeAllSlides.bind(e),renderSlide:B.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit(){const e=this;if(!e.params.virtual.enabled)return;e.classNames.push(`${e.params.containerModifierClass}virtual`);const t={watchSlidesProgress:!0};p.extend(e.params,t),p.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update(
2)},setTranslate(){this.params.virtual.enabled&&this.virtual.update()}}};const V={handle(e){const t=this,{rtlTranslate:n}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const a=i.keyCode||i.charCode,s=t.params.keyboard.pageUpDown,l=s&&33===a,c=s&&34===a,d=37===a,u=39===a,p=38===a,h=40===a;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&h||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&d||t.isVertical()&&p||l))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||r.activeElement&&r.activeElement.nodeName&&("input"===r.activeElement.nodeName.toLowerCase()||"textarea"===r.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(l||c||d||u||p||h)){let e=!1;if(t.$el.parents(`.${t.params.slideClass}`).length>0&&0===t.$el.parents(`.${t.params.slideActiveClass}`).length)return;const i=o.innerWidth,a=o.innerHeight,r=t.$el.offset();n&&(r.left-=t.$el[0].scrollLeft);const s=[[r.left,r.top],[r.left+t.width,r.top],[r.left,r.top+t.height],[r.left+t.width,r.top+t.height]];for(let t=0;t<s.length;t+=1){const n=s[t];n[0]>=0&&n[0]<=i&&n[1]>=0&&n[1]<=a&&(e=!0)}if(!e)return}t.isHorizontal()?((l||c||d||u)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((c||u)&&!n||(l||d)&&n)&&t.slideNext(),((l||d)&&!n||(c||u)&&n)&&t.slidePrev()):((l||c||p||h)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(c||h)&&t.slideNext(),(l||p)&&t.slidePrev()),t.emit("keyPress",a)}},enable(){const e=this;e.keyboard.enabled||(c(r).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable(){const e=this;e.keyboard.enabled&&(c(r).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}};var F={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create(){const e=this;p.extend(e,{keyboard:{enabled:!1,enable:V.enable.bind(e),disable:V.disable.bind(e),handle:V.handle.bind(e)}})},on:{init(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy(){this.keyboard.enabled&&this.keyboard.disable()}}};const R={lastScrollTime:p.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:()=>o.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){const e="onwheel";let t=e in r;if(!t){const n=r.createElement("div");n.setAttribute(e,"return;"),t="function"==typeof n.onwheel}return!t&&r.implementation&&r.implementation.hasFeature&&!0!==r.implementation.hasFeature("","")&&(t=r.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize(e){let t=0,n=0,i=0,a=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,a=10*n,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=a,a=0),(i||a)&&e.deltaMode&&(1===e.deltaMode?(i*=40,a*=40):(i*=800,a*=800)),i&&!t&&(t=i<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:a}},handleMouseEnter(){this.mouseEntered=!0},handleMouseLeave(){this.mouseEntered=!1},handle(e){let t=e;const n=this,i=n.params.mousewheel;n.params.cssMode&&t.preventDefault();let a=n.$el;if("container"!==n.params.mousewheel.eventsTarged&&(a=c(n.params.mousewheel.eventsTarged)),!n.mouseEntered&&!a[
20].contains(t.target)&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);let r=0;const s=n.rtlTranslate?-1:1,o=R.normalize(t);if(i.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=-o.pixelX*s}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=-o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*s:-o.pixelY;if(0===r)return!0;if(i.invert&&(r=-r),n.params.freeMode){const e={time:p.now(),delta:Math.abs(r),direction:Math.sign(r)},{lastEventBeforeSnap:a}=n.mousewheel,s=a&&e.time<a.time+500&&e.delta<=a.delta&&e.direction===a.direction;if(!s){n.mousewheel.lastEventBeforeSnap=void 0,n.params.loop&&n.loopFix();let a=n.getTranslate()+r*i.sensitivity;const o=n.isBeginning,l=n.isEnd;if(a>=n.minTranslate()&&(a=n.minTranslate()),a<=n.maxTranslate()&&(a=n.maxTranslate()),n.setTransition(0),n.setTranslate(a),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!o&&n.isBeginning||!l&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;const t=n.mousewheel.recentWheelEvents;t.length>=15&&t.shift();const i=t.length?t[t.length-1]:void 0,a=t[0];if(t.push(e),i&&(e.delta>i.delta||e.direction!==i.direction))t.splice(0);else if(t.length>=15&&e.time-a.time<500&&a.delta-e.delta>=1&&e.delta<=6){const i=r>0?.8:.2;n.mousewheel.lastEventBeforeSnap=e,t.splice(0),n.mousewheel.timeout=p.nextTick((()=>{n.slideToClosest(n.params.speed,!0,void 0,i)}),0)}n.mousewheel.timeout||(n.mousewheel.timeout=p.nextTick((()=>{n.mousewheel.lastEventBeforeSnap=e,t.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)}),500))}if(s||n.emit("scroll",t),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),a===n.minTranslate()||a===n.maxTranslate())return!0}}else{const t={time:p.now(),delta:Math.abs(r),direction:Math.sign(r),raw:e},i=n.mousewheel.recentWheelEvents;i.length>=2&&i.shift();const a=i.length?i[i.length-1]:void 0;if(i.push(t),a?(t.direction!==a.direction||t.delta>a.delta||t.time>a.time+150)&&n.mousewheel.animateSlider(t):n.mousewheel.animateSlider(t),n.mousewheel.releaseScroll(t))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider(e){const t=this;return e.delta>=6&&p.now()-t.mousewheel.lastScrollTime<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new o.Date).getTime(),!1)},releaseScroll(e){const t=this,n=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&n.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&n.releaseOnEdges)return!0;return!1},enable(){const e=this,t=R.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;let n=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(n=c(e.params.mousewheel.eventsTarged)),n.on("mouseenter",e.mousewheel.handleMouseEnter),n.on("mouseleave",e.mousewheel.handleMouseLeave),n.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable(){const e=this,t=R.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;let n=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(n=c(e.params.mousewheel.eventsTarged)),n.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},Y={update(){const e=this,t=e.params.navigation;if(e.params.loop)return;const{$nextEl:n,$prevEl:i}=e.navigation;i&&i.length>0&&(e.isBeginning?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(e.isEnd?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))},onPrevClick(e){const t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick(e){const t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init(){const e=this,t=e.params.navigation;if(!t.nextEl&&!t.prevEl)return;let n,i;t.nextEl&&(n=c(t.nextEl),e.params.uniqueNavElements&&"string"==typeof t.nextEl&&n.length>1&&1===e.$el.find(t.nextEl).length&&(n=e.$el.find(t.nextEl))),t.prevEl&&(i=c(t.prevEl),e.params.uniqueNavElements&&"string"==typeof t.prevEl&&i.length>1&&1===e.$el.find(t.prevEl).length&&(i=e.$el.find(t.prevEl))),n&&n.length>0&&n.on("click",e.navigation.onNextClick),i&&i.length>0&&i.on("click",e.navigation.onPrevClick),p.extend(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:i,prevEl:i&&i[0]})},destroy(){const e=this,{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",e.navigation.onNextClick),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("
2click",e.navigation.onPrevClick),n.removeClass(e.params.navigation.disabledClass))}},X={update(){const e=this,t=e.rtl,n=e.params.pagination;if(!n.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el;let r;const s=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(r=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),r>i-1-2*e.loopedSlides&&(r-=i-2*e.loopedSlides),r>s-1&&(r-=s),r<0&&"bullets"!==e.params.paginationType&&(r=s+r)):r=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let s,o,l;if(n.dynamicBullets&&(e.pagination.bulletSize=i.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),a.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=r-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),s=r-e.pagination.dynamicBulletIndex,o=s+(Math.min(i.length,n.dynamicMainBullets)-1),l=(o+s)/2),i.removeClass(`${n.bulletActiveClass} ${n.bulletActiveClass}-next ${n.bulletActiveClass}-next-next ${n.bulletActiveClass}-prev ${n.bulletActiveClass}-prev-prev ${n.bulletActiveClass}-main`),a.length>1)i.each(((e,t)=>{const i=c(t),a=i.index();a===r&&i.addClass(n.bulletActiveClass),n.dynamicBullets&&(a>=s&&a<=o&&i.addClass(`${n.bulletActiveClass}-main`),a===s&&i.prev().addClass(`${n.bulletActiveClass}-prev`).prev().addClass(`${n.bulletActiveClass}-prev-prev`),a===o&&i.next().addClass(`${n.bulletActiveClass}-next`).next().addClass(`${n.bulletActiveClass}-next-next`))}));else{const t=i.eq(r),a=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){const t=i.eq(s),r=i.eq(o);for(let e=s;e<=o;e+=1)i.eq(e).addClass(`${n.bulletActiveClass}-main`);if(e.params.loop)if(a>=i.length-n.dynamicMainBullets){for(let e=n.dynamicMainBullets;e>=0;e-=1)i.eq(i.length-e).addClass(`${n.bulletActiveClass}-main`);i.eq(i.length-n.dynamicMainBullets-1).addClass(`${n.bulletActiveClass}-prev`)}else t.prev().addClass(`${n.bulletActiveClass}-prev`).prev().addClass(`${n.bulletActiveClass}-prev-prev`),r.next().addClass(`${n.bulletActiveClass}-next`).next().addClass(`${n.bulletActiveClass}-next-next`);else t.prev().addClass(`${n.bulletActiveClass}-prev`).prev().addClass(`${n.bulletActiveClass}-prev-prev`),r.next().addClass(`${n.bulletActiveClass}-next`).next().addClass(`${n.bulletActiveClass}-next-next`)}}if(n.dynamicBullets){const a=Math.min(i.length,n.dynamicMainBullets+4),r=(e.pagination.bulletSize*a-e.pagination.bulletSize)/2-l*e.pagination.bulletSize,s=t?"right":"left";i.css(e.isHorizontal()?s:"top",`${r}px`)}}if("fraction"===n.type&&(a.find(`.${n.currentClass}`).text(n.formatFractionCurrent(r+1)),a.find(`.${n.totalClass}`).text(n.formatFractionTotal(s))),"progressbar"===n.type){let t;t=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const i=(r+1)/s;let o=1,l=1;"horizontal"===t?o=i:l=i,a.find(`.${n.progressbarFillClass}`).transform(`translate3d(0,0,0) scaleX(${o}) scaleY(${l})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(a.html(n.renderCustom(e,r+1,s)),e.emit("paginationRender",e,a[0])):e.emit("paginationUpdate",e,a[0]),a[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)},render(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el;let a="";if("bullets"===t.type){const r=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;for(let n=0;n<r;n+=1)t.renderBullet?a+=t.renderBullet.call(e,n,t.bulletClass):a+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;i.html(a),e.pagination.bullets=i.find(`.${t.bulletClass}`)}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,i.html(a)),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,i.html(a)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])},init(){const e=this,t=e.params.pagination;if(!t.el)return;let n=c(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click",`.${t.bulletClass}`,(function(t){t.preventDefault();let n=c(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),p.extend(e.pagination,{$el:n,el:n[0]}))},destroy(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",`.${t.bulletClass}`)}},W={setTranslate(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:n,progress:i}=e,{dragSize:a,trackSize:r,$dragEl:s,$el:o}=t,l=e.params.scrollbar;let c=a,d=(r-a)*i;n?(d=-d,d>0?(c=a-d,d=0):-d+a>r&&(c=r+d)):d<0?(c=a+d,d=0):d+a>
2r&&(c=r-d),e.isHorizontal()?(s.transform(`translate3d(${d}px, 0, 0)`),s[0].style.width=`${c}px`):(s.transform(`translate3d(0px, ${d}px, 0)`),s[0].style.height=`${c}px`),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout((()=>{o[0].style.opacity=0,o.transition(400)}),1e3))},setTransition(e){const t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:n,$el:i}=t;n[0].style.width="",n[0].style.height="";const a=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=e.size/e.virtualSize,s=r*(a/e.size);let o;o="auto"===e.params.scrollbar.dragSize?a*r:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n[0].style.width=`${o}px`:n[0].style.height=`${o}px`,i[0].style.display=r>=1?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),p.extend(t,{trackSize:a,divider:r,moveDivider:s,dragSize:o}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)},getPointerPosition(e){return this.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},setDragPosition(e){const t=this,{scrollbar:n,rtlTranslate:i}=t,{$el:a,dragSize:r,trackSize:s,dragStartPos:o}=n;let l;l=(n.getPointerPosition(e)-a.offset()[t.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(s-r),l=Math.max(Math.min(l,1),0),i&&(l=1-l);const c=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*l;t.updateProgress(c),t.setTranslate(c),t.updateActiveIndex(),t.updateSlidesClasses()},onDragStart(e){const t=this,n=t.params.scrollbar,{scrollbar:i,$wrapperEl:a}=t,{$el:r,$dragEl:s}=i;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===s[0]||e.target===s?i.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.transition(100),s.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),n.hide&&r.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove(e){const t=this,{scrollbar:n,$wrapperEl:i}=t,{$el:a,$dragEl:r}=n;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,n.setDragPosition(e),i.transition(0),a.transition(0),r.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd(e){const t=this,n=t.params.scrollbar,{scrollbar:i,$wrapperEl:a}=t,{$el:r}=i;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),a.transition("")),n.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=p.nextTick((()=>{r.css("opacity",0),r.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())},enableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:n,touchEventsDesktop:i,params:a}=e,s=t.$el[0],o=!(!h.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},l=!(!h.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};h.touch?(s.addEventListener(n.start,e.scrollbar.onDragStart,o),s.addEventListener(n.move,e.scrollbar.onDragMove,o),s.addEventListener(n.end,e.scrollbar.onDragEnd,l)):(s.addEventListener(i.start,e.scrollbar.onDragStart,o),r.addEventListener(i.move,e.scrollbar.onDragMove,o),r.addEventListener(i.end,e.scrollbar.onDragEnd,l))},disableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:n,touchEventsDesktop:i,params:a}=e,s=t.$el[0],o=!(!h.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},l=!(!h.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};h.touch?(s.removeEventListener(n.start,e.scrollbar.onDragStart,o),s.removeEventListener(n.move,e.scrollbar.onDragMove,o),s.removeEventListener(n.end,e.scrollbar.onDragEnd,l)):(s.removeEventListener(i.start,e.scrollbar.onDragStart,o),r.removeEventListener(i.move,e.scrollbar.onDragMove,o),r.removeEventListener(i.end,e.scrollbar.onDragEnd,l))},init(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,$el:n}=e,i=e.params.scrollbar;let a=c(i.el);e.params.uniqueNavElements&&"string"==typeof i.el&&a.length>1&&1===n.find(i.el).length&&(a=n.find(i.el));let r=a.find(`.${e.params.scrollbar.dragClass}`);0===r.length&&(r=c(`<div class="${e.params.scrollbar.dragClass}"></div>`),a.append(r)),p.extend(t,{$el:a,el:a[0],$dragEl:r,dragEl:r[0]}),i.draggable&&t.enableDraggable()},destroy(){this.scrollbar.disableDraggable()}},U={setTransform(e,t){const{rtl:n}=this,i=c(e),a=n?-1:1,r=i.attr("data-swiper-parallax")||"0";let s=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y");const l=i.attr("data-swiper-parallax-scale"),d=i.attr("data-swiper-parallax-opacity");if(s||o?(s=s||"0",o=o||"0"):this.isHorizontal()?(s=r,o="0"):(o=r,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*t*a+"%":s*t*a+"px",o=o.indexOf("%")>=0?parseInt(o,10)*t+"%":o*t+"px",null!=d){const e=d-(d-1)*(1-Math.abs(t));i[0].style.opacity=e}if(null==l)i.transform(`translate3d(${s}, ${o}, 0px)`);else{const e=l-(l-1)*(1-Math.abs(t));i.transform(`translate3d(${s}, ${o}, 0px) scale(${e})`)}},setTranslate(){const e=this,{$el:t,slides:n,progress:i,snapGrid:a}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(((t,n)=>{e.parallax.setTransform(n,i)})),n.each(((t,n)=>{let r=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(r+=Math.ceil(t/2)-i*(a.length-1)),r=Math.min(Math.max(r,-1),1),c(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(((t,n)=>{e.parallax.setTransform(n,r)}))}))},setTransition(e=this.params.speed){const{$el:t}=this;t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(((t,n)=>{const i=c(n);let a=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(a=0),i.transition(a)}))}},K={getDistanceBetweenTouches(e){if(e.targetTouches.length<2)return 1;
2const t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return Math.sqrt((i-t)**2+(a-n)**2)},onGestureStart(e){const t=this,n=t.params.zoom,i=t.zoom,{gesture:a}=i;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!h.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,a.scaleStart=K.getDistanceBetweenTouches(e)}a.$slideEl&&a.$slideEl.length||(a.$slideEl=c(e.target).closest(`.${t.params.slideClass}`),0===a.$slideEl.length&&(a.$slideEl=t.slides.eq(t.activeIndex)),a.$imageEl=a.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imageWrapEl=a.$imageEl.parent(`.${n.containerClass}`),a.maxRatio=a.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==a.$imageWrapEl.length)?(a.$imageEl&&a.$imageEl.transition(0),t.zoom.isScaling=!0):a.$imageEl=void 0},onGestureChange(e){const t=this.params.zoom,n=this.zoom,{gesture:i}=n;if(!h.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,i.scaleMove=K.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=h.gestures?e.scale*n.currentScale:i.scaleMove/i.scaleStart*n.currentScale,n.scale>i.maxRatio&&(n.scale=i.maxRatio-1+(n.scale-i.maxRatio+1)**.5),n.scale<t.minRatio&&(n.scale=t.minRatio+1-(t.minRatio-n.scale+1)**.5),i.$imageEl.transform(`translate3d(0,0,0) scale(${n.scale})`))},onGestureEnd(e){const t=this,n=t.params.zoom,i=t.zoom,{gesture:a}=i;if(!h.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!E.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}a.$imageEl&&0!==a.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,a.maxRatio),n.minRatio),a.$imageEl.transition(t.params.speed).transform(`translate3d(0,0,0) scale(${i.scale})`),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(a.$slideEl=void 0))},onTouchStart(e){const t=this.zoom,{gesture:n,image:i}=t;n.$imageEl&&0!==n.$imageEl.length&&(i.isTouched||(E.android&&e.cancelable&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove(e){const t=this,n=t.zoom,{gesture:i,image:a,velocity:r}=n;if(!i.$imageEl||0===i.$imageEl.length)return;if(t.allowClick=!1,!a.isTouched||!i.$slideEl)return;a.isMoved||(a.width=i.$imageEl[0].offsetWidth,a.height=i.$imageEl[0].offsetHeight,a.startX=p.getTranslate(i.$imageWrapEl[0],"x")||0,a.startY=p.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(a.startX=-a.startX,a.startY=-a.startY));const s=a.width*n.scale,o=a.height*n.scale;if(!(s<i.slideWidth&&o<i.slideHeight)){if(a.minX=Math.min(i.slideWidth/2-s/2,0),a.maxX=-a.minX,a.minY=Math.min(i.slideHeight/2-o/2,0),a.maxY=-a.minY,a.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,a.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!a.isMoved&&!n.isScaling){if(t.isHorizontal()&&(Math.floor(a.minX)===Math.floor(a.startX)&&a.touchesCurrent.x<a.touchesStart.x||Math.floor(a.maxX)===Math.floor(a.startX)&&a.touchesCurrent.x>a.touchesStart.x))return void(a.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(a.minY)===Math.floor(a.startY)&&a.touchesCurrent.y<a.touchesStart.y||Math.floor(a.maxY)===Math.floor(a.startY)&&a.touchesCurrent.y>a.touchesStart.y))return void(a.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),a.isMoved=!0,a.currentX=a.touchesCurrent.x-a.touchesStart.x+a.startX,a.currentY=a.touchesCurrent.y-a.touchesStart.y+a.startY,a.currentX<a.minX&&(a.currentX=a.minX+1-(a.minX-a.currentX+1)**.8),a.currentX>a.maxX&&(a.currentX=a.maxX-1+(a.currentX-a.maxX+1)**.8),a.currentY<a.minY&&(a.currentY=a.minY+1-(a.minY-a.currentY+1)**.8),a.currentY>a.maxY&&(a.currentY=a.maxY-1+(a.currentY-a.maxY+1)**.8),r.prevPositionX||(r.prevPositionX=a.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=a.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(a.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(a.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(a.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(a.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=a.touchesCurrent.x,r.prevPositionY=a.touchesCurrent.y,r.prevTime=Date.now(),i.$imageWrapEl.transform(`translate3d(${a.currentX}px, ${a.currentY}px,0)`)}},onTouchEnd(){const e=this.zoom,{gesture:t,image:n,velocity:i}=e;if(!t.$imageEl||0===t.$imageEl.length)return;if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;let a=300,r=300;const s=i.x*a,o=n.currentX+s,l=i.y*r,c=n.currentY+l;0!==i.x&&(a=Math.abs((o-n.currentX)/i.x)),0!==i.y&&(r=Math.abs((c-n.currentY)/i.y));const d=Math.max(a,r);n.currentX=o,n.currentY=c;const u=n.width*e.scale,p=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-u/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-p/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(d).transform(`translate3d(${n.currentX}px, ${n.currentY}px,0)`)},onTransitionEnd(){const e=this,t=e.zoom,{gesture:n}=t;n.$slideEl&&e.previousIndex!==e.activeIndex&&(n.$imageEl&&n.$imageEl.transform("translate3d(0,
20,0) scale(1)"),n.$imageWrapEl&&n.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,n.$slideEl=void 0,n.$imageEl=void 0,n.$imageWrapEl=void 0)},toggle(e){const t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in(e){const t=this,n=t.zoom,i=t.params.zoom,{gesture:a,image:r}=n;if(a.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?a.$slideEl=t.$wrapperEl.children(`.${t.params.slideActiveClass}`):a.$slideEl=t.slides.eq(t.activeIndex),a.$imageEl=a.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imageWrapEl=a.$imageEl.parent(`.${i.containerClass}`)),!a.$imageEl||0===a.$imageEl.length)return;let s,o,l,c,d,u,p,h,f,m,v,g,y,b,w,E,x,S;a.$slideEl.addClass(`${i.zoomedSlideClass}`),void 0===r.touchesStart.x&&e?(s="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,o="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(s=r.touchesStart.x,o=r.touchesStart.y),n.scale=a.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,n.currentScale=a.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,e?(x=a.$slideEl[0].offsetWidth,S=a.$slideEl[0].offsetHeight,l=a.$slideEl.offset().left,c=a.$slideEl.offset().top,d=l+x/2-s,u=c+S/2-o,f=a.$imageEl[0].offsetWidth,m=a.$imageEl[0].offsetHeight,v=f*n.scale,g=m*n.scale,y=Math.min(x/2-v/2,0),b=Math.min(S/2-g/2,0),w=-y,E=-b,p=d*n.scale,h=u*n.scale,p<y&&(p=y),p>w&&(p=w),h<b&&(h=b),h>E&&(h=E)):(p=0,h=0),a.$imageWrapEl.transition(300).transform(`translate3d(${p}px, ${h}px,0)`),a.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${n.scale})`)},out(){const e=this,t=e.zoom,n=e.params.zoom,{gesture:i}=t;i.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?i.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):i.$slideEl=e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent(`.${n.containerClass}`)),i.$imageEl&&0!==i.$imageEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(`${n.zoomedSlideClass}`),i.$slideEl=void 0)},enable(){const e=this,t=e.zoom;if(t.enabled)return;t.enabled=!0;const n=!("touchstart"!==e.touchEvents.start||!h.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},i=!h.passiveListener||{passive:!1,capture:!0},a=`.${e.params.slideClass}`;h.gestures?(e.$wrapperEl.on("gesturestart",a,t.onGestureStart,n),e.$wrapperEl.on("gesturechange",a,t.onGestureChange,n),e.$wrapperEl.on("gestureend",a,t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,a,t.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,a,t.onGestureChange,i),e.$wrapperEl.on(e.touchEvents.end,a,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,a,t.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,t.onTouchMove,i)},disable(){const e=this,t=e.zoom;if(!t.enabled)return;e.zoom.enabled=!1;const n=!("touchstart"!==e.touchEvents.start||!h.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},i=!h.passiveListener||{passive:!1,capture:!0},a=`.${e.params.slideClass}`;h.gestures?(e.$wrapperEl.off("gesturestart",a,t.onGestureStart,n),e.$wrapperEl.off("gesturechange",a,t.onGestureChange,n),e.$wrapperEl.off("gestureend",a,t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,a,t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,a,t.onGestureChange,i),e.$wrapperEl.off(e.touchEvents.end,a,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,a,t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,t.onTouchMove,i)}},J={loadInSlide(e,t=!0){const n=this,i=n.params.lazy;if(void 0===e)return;if(0===n.slides.length)return;const a=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children(`.${n.params.slideClass}[data-swiper-slide-index="${e}"]`):n.slides.eq(e);let r=a.find(`.${i.elementClass}:not(.${i.loadedClass}):not(.${i.loadingClass})`);!a.hasClass(i.elementClass)||a.hasClass(i.loadedClass)||a.hasClass(i.loadingClass)||(r=r.add(a[0])),0!==r.length&&r.each(((e,r)=>{const s=c(r);s.addClass(i.loadingClass);const o=s.attr("data-background"),l=s.attr("data-src"),d=s.attr("data-srcset"),u=s.attr("data-sizes"),p=s.parent("picture");n.loadImage(s[0],l||o,d,u,!1,(()=>
2{if(null!=n&&n&&(!n||n.params)&&!n.destroyed){if(o?(s.css("background-image",`url("${o}")`),s.removeAttr("data-background")):(d&&(s.attr("srcset",d),s.removeAttr("data-srcset")),u&&(s.attr("sizes",u),s.removeAttr("data-sizes")),p.length&&p.children("source").each(((e,t)=>{const n=c(t);n.attr("data-srcset")&&(n.attr("srcset",n.attr("data-srcset")),n.removeAttr("data-srcset"))})),l&&(s.attr("src",l),s.removeAttr("data-src"))),s.addClass(i.loadedClass).removeClass(i.loadingClass),a.find(`.${i.preloaderClass}`).remove(),n.params.loop&&t){const e=a.attr("data-swiper-slide-index");if(a.hasClass(n.params.slideDuplicateClass)){const t=n.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${n.params.slideDuplicateClass})`);n.lazy.loadInSlide(t.index(),!1)}else{const t=n.$wrapperEl.children(`.${n.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`);n.lazy.loadInSlide(t.index(),!1)}}n.emit("lazyImageReady",a[0],s[0]),n.params.autoHeight&&n.updateAutoHeight()}})),n.emit("lazyImageLoad",a[0],s[0])}))},load(){const e=this,{$wrapperEl:t,params:n,slides:i,activeIndex:a}=e,r=e.virtual&&n.virtual.enabled,s=n.lazy;let o=n.slidesPerView;function l(e){if(r){if(t.children(`.${n.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(i[e])return!0;return!1}function d(e){return r?c(e).attr("data-swiper-slide-index"):c(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children(`.${n.slideVisibleClass}`).each(((t,n)=>{const i=r?c(n).attr("data-swiper-slide-index"):c(n).index();e.lazy.loadInSlide(i)}));else if(o>1)for(let t=a;t<a+o;t+=1)l(t)&&e.lazy.loadInSlide(t);else e.lazy.loadInSlide(a);if(s.loadPrevNext)if(o>1||s.loadPrevNextAmount&&s.loadPrevNextAmount>1){const t=s.loadPrevNextAmount,n=o,r=Math.min(a+n+Math.max(t,n),i.length),c=Math.max(a-Math.max(n,t),0);for(let t=a+o;t<r;t+=1)l(t)&&e.lazy.loadInSlide(t);for(let t=c;t<a;t+=1)l(t)&&e.lazy.loadInSlide(t)}else{const i=t.children(`.${n.slideNextClass}`);i.length>0&&e.lazy.loadInSlide(d(i));const a=t.children(`.${n.slidePrevClass}`);a.length>0&&e.lazy.loadInSlide(d(a))}}},Q={LinearSpline:function(e,t){const n=function(){let e,t,n;return(i,a)=>{for(t=-1,e=i.length;e-t>1;)n=e+t>>1,i[n]<=a?t=n:e=n;return e}}();let i,a;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=n(this.x,e),i=a-1,(e-this.x[i])*(this.y[a]-this.y[i])/(this.x[a]-this.x[i])+this.y[i]):0},this},getInterpolateFunction(e){const t=this;t.controller.spline||(t.controller.spline=t.params.loop?new Q.LinearSpline(t.slidesGrid,e.slidesGrid):new Q.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate(e,t){const n=this,i=n.controller.control;let a,r;function s(e){const t=n.rtlTranslate?-n.translate:n.translate;"slide"===n.params.controller.by&&(n.controller.getInterpolateFunction(e),r=-n.controller.spline.interpolate(-t)),r&&"container"!==n.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),r=(t-n.minTranslate())*a+e.minTranslate()),n.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,n),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e<i.length;e+=1)i[e]!==t&&i[e]instanceof I&&s(i[e]);else i instanceof I&&t!==i&&s(i)},setTransition(e,t){const n=this,i=n.controller.control;let a;function r(t){t.setTransition(e,n),0!==e&&(t.transitionStart(),t.params.autoHeight&&p.nextTick((()=>{t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((()=>{i&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(i))for(a=0;a<i.length;a+=1)i[a]!==t&&i[a]instanceof I&&r(i[a]);else i instanceof I&&t!==i&&r(i)}};var Z={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create(){const e=this;p.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:Q.getInterpolateFunction.bind(e),setTranslate:Q.setTranslate.bind(e),setTransition:Q.setTransition.bind(e)}})},on:{update(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition(e,t){this.controller.control&&this.controller.setTransition(e,t)}}};const ee={makeElFocusable:e=>(e.attr("tabIndex","0"),e),makeElNotFocusable:e=>(e.attr("tabIndex","-1"),e),addElRole:(e,t)=>
2(e.attr("role",t),e),addElLabel:(e,t)=>(e.attr("aria-label",t),e),disableEl:e=>(e.attr("aria-disabled",!0),e),enableEl:e=>(e.attr("aria-disabled",!1),e),onEnterKey(e){const t=this,n=t.params.a11y;if(13!==e.keyCode)return;const i=c(e.target);t.navigation&&t.navigation.$nextEl&&i.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(n.lastSlideMessage):t.a11y.notify(n.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&i.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(n.firstSlideMessage):t.a11y.notify(n.prevSlideMessage)),t.pagination&&i.is(`.${t.params.pagination.bulletClass}`)&&i[0].click()},notify(e){const t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation(){const e=this;if(e.params.loop||!e.navigation)return;const{$nextEl:t,$prevEl:n}=e.navigation;n&&n.length>0&&(e.isBeginning?(e.a11y.disableEl(n),e.a11y.makeElNotFocusable(n)):(e.a11y.enableEl(n),e.a11y.makeElFocusable(n))),t&&t.length>0&&(e.isEnd?(e.a11y.disableEl(t),e.a11y.makeElNotFocusable(t)):(e.a11y.enableEl(t),e.a11y.makeElFocusable(t)))},updatePagination(){const e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each(((n,i)=>{const a=c(i);e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,t.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1))}))},init(){const e=this;e.$el.append(e.a11y.liveRegion);const t=e.params.a11y;let n,i;e.navigation&&e.navigation.$nextEl&&(n=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(i=e.navigation.$prevEl),n&&(e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,t.nextSlideMessage),n.on("keydown",e.a11y.onEnterKey)),i&&(e.a11y.makeElFocusable(i),e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,t.prevSlideMessage),i.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",`.${e.params.pagination.bulletClass}`,e.a11y.onEnterKey)},destroy(){const e=this;let t,n;e.a11y.liveRegion&&e.a11y.liveRegion.length>0&&e.a11y.liveRegion.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),t&&t.off("keydown",e.a11y.onEnterKey),n&&n.off("keydown",e.a11y.onEnterKey),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.off("keydown",`.${e.params.pagination.bulletClass}`,e.a11y.onEnterKey)}},te={init(){const e=this;if(!e.params.history)return;if(!o.history||!o.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);const t=e.history;t.initialized=!0,t.paths=te.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||o.addEventListener("popstate",e.history.setHistoryPopState))},destroy(){this.params.history.replaceState||o.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState(){const e=this;e.history.paths=te.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues(){const e=o.location.pathname.slice(1).split("/").filter((e=>""!==e)),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory(e,t){const n=this;if(!n.history.initialized||!n.params.history.enabled)return;const i=n.slides.eq(t);let a=te.slugify(i.attr("data-history"));o.location.pathname.includes(e)||(a=`${e}/${a}`);const r=o.history.state;r&&r.value===a||(n.params.history.replaceState?o.history.replaceState({value:a},null,a):o.history.pushState({value:a},null,a))},slugify:e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),scrollToSlide(e,t,n){const i=this;if(t)for(let a=0,r=i.slides.length;a<r;a+=1){const r=i.slides.eq(a);if(te.slugify(r.attr("data-history"))===t&&!r.hasClass(i.params.slideDuplicateClass)){const t=r.index();i.slideTo(t,e,n)}}else i.slideTo(0,e,n)}},ne={onHashCange(){const e=this;e.emit("hashChange");const t=r.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const n=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===n)return;e.slideTo(n)}},setHash(){const e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState)o.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),e.emit("hashSet");else{const t=e.slides.eq(e.activeIndex),n=t.attr("data-hash")||t.attr("data-history");r.location.hash=n||"",e.emit("hashSet")}},init(){const e=this;if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;e.hashNavigation.initialized=!0;const t=r.location.hash.replace("#","");if(t){const n=0;for(let i=0,a=e.slides.length;i<a;i+=1){const a=e.slides.eq(i);if((a.attr("data-hash")||a.attr("data-history"))===t&&!a.hasClass(e.params.slideDuplicateClass)){const t=a.index();e.slideTo(t,n,e.params.runCallbacksOnInit,!0)}}}e.params.hashNavigation.watchState&&c(o).on("hashchange",e.hashNavigation.onHashCange)},destroy(){this.params.hashNavigation.watchState&&c(o).off("hashchange",this.hashNavigation.onHashCange)}},ie={run(){const e=this,t=e.slides.eq(e.activeIndex);let n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=p.nextTick((()=>{e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,
2!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()}),n)},start(){const e=this;return void 0===e.autoplay.timeout&&!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0)},stop(){const e=this;return!!e.autoplay.running&&void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0)},pause(e){const t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},ae={setTranslate(){const e=this,{slides:t}=e;for(let n=0;n<t.length;n+=1){const t=e.slides.eq(n);let i=-t[0].swiperSlideOffset;e.params.virtualTranslate||(i-=e.translate);let a=0;e.isHorizontal()||(a=i,i=0);const r=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:r}).transform(`translate3d(${i}px, ${a}px, 0px)`)}},setTransition(e){const t=this,{slides:n,$wrapperEl:i}=t;if(n.transition(e),t.params.virtualTranslate&&0!==e){let e=!1;n.transitionEnd((()=>{if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const n=["webkitTransitionEnd","transitionend"];for(let e=0;e<n.length;e+=1)i.trigger(n[e])}))}}},re={setTranslate(){const e=this,{$el:t,$wrapperEl:n,slides:i,width:a,height:r,rtlTranslate:s,size:o}=e,l=e.params.cubeEffect,d=e.isHorizontal(),u=e.virtual&&e.params.virtual.enabled;let p,h=0;l.shadow&&(d?(p=n.find(".swiper-cube-shadow"),0===p.length&&(p=c('<div class="swiper-cube-shadow"></div>'),n.append(p)),p.css({height:`${a}px`})):(p=t.find(".swiper-cube-shadow"),0===p.length&&(p=c('<div class="swiper-cube-shadow"></div>'),t.append(p))));for(let e=0;e<i.length;e+=1){const t=i.eq(e);let n=e;u&&(n=parseInt(t.attr("data-swiper-slide-index"),10));let a=90*n,r=Math.floor(a/360);s&&(a=-a,r=Math.floor(-a/360));const p=Math.max(Math.min(t[0].progress,1),-1);let f=0,m=0,v=0;n%4==0?(f=4*-r*o,v=0):(n-1)%4==0?(f=0,v=4*-r*o):(n-2)%4==0?(f=o+4*r*o,v=o):(n-3)%4==0&&(f=-o,v=3*o+4*o*r),s&&(f=-f),d||(m=f,f=0);const g=`rotateX(${d?0:-a}deg) rotateY(${d?a:0}deg) translate3d(${f}px, ${m}px, ${v}px)`;if(p<=1&&p>-1&&(h=90*n+90*p,s&&(h=90*-n-90*p)),t.transform(g),l.slideShadows){let e=d?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),n=d?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=c(`<div class="swiper-slide-shadow-${d?"left":"top"}"></div>`),t.append(e)),0===n.length&&(n=c(`<div class="swiper-slide-shadow-${d?"right":"bottom"}"></div>`),t.append(n)),e.length&&(e[0].style.opacity=Math.max(-p,0)),n.length&&(n[0].style.opacity=Math.max(p,0))}}if(n.css({"-webkit-transform-origin":`50% 50% -${o/2}px`,"-moz-transform-origin":`50% 50% -${o/2}px`,"-ms-transform-origin":`50% 50% -${o/2}px`,"transform-origin":`50% 50% -${o/2}px`}),l.shadow)if(d)p.transform(`translate3d(0px, ${a/2+l.shadowOffset}px, ${-a/2}px) rotateX(90deg) rotateZ(0deg) scale(${l.shadowScale})`);else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),n=l.shadowScale,i=l.shadowScale/t,a=l.shadowOffset;p.transform(`scale3d(${n}, 1, ${i}) translate3d(0px, ${r/2+a}px, ${-r/2/i}px) rotateX(-90deg)`)}const f=D.isSafari||D.isWebView?-o/2:0;n.transform(`translate3d(0px,0,${f}px) rotateX(${e.isHorizontal()?0:h}deg) rotateY(${e.isHorizontal()?-h:0}deg)`)},setTransition(e){const t=this,{$el:n,slides:i}=t;i.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()&&n.find(".swiper-cube-shadow").transition(e)}},se={setTranslate(){const e=this,{slides:t,rtlTranslate:n}=e;for(let i=0;i<t.length;i+=1){const a=t.eq(i);let r=a[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a[0].progress,
21),-1));let s=-180*r,o=0,l=-a[0].swiperSlideOffset,d=0;if(e.isHorizontal()?n&&(s=-s):(d=l,l=0,o=-s,s=0),a[0].style.zIndex=-Math.abs(Math.round(r))+t.length,e.params.flipEffect.slideShadows){let t=e.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),n=e.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===t.length&&(t=c(`<div class="swiper-slide-shadow-${e.isHorizontal()?"left":"top"}"></div>`),a.append(t)),0===n.length&&(n=c(`<div class="swiper-slide-shadow-${e.isHorizontal()?"right":"bottom"}"></div>`),a.append(n)),t.length&&(t[0].style.opacity=Math.max(-r,0)),n.length&&(n[0].style.opacity=Math.max(r,0))}a.transform(`translate3d(${l}px, ${d}px, 0px) rotateX(${o}deg) rotateY(${s}deg)`)}},setTransition(e){const t=this,{slides:n,activeIndex:i,$wrapperEl:a}=t;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){let e=!1;n.eq(i).transitionEnd((function(){if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const n=["webkitTransitionEnd","transitionend"];for(let e=0;e<n.length;e+=1)a.trigger(n[e])}))}}},oe={setTranslate(){const e=this,{width:t,height:n,slides:i,$wrapperEl:a,slidesSizesGrid:r}=e,s=e.params.coverflowEffect,o=e.isHorizontal(),l=e.translate,d=o?t/2-l:n/2-l,u=o?s.rotate:-s.rotate,p=s.depth;for(let e=0,t=i.length;e<t;e+=1){const t=i.eq(e),n=r[e],a=(d-t[0].swiperSlideOffset-n/2)/n*s.modifier;let l=o?u*a:0,h=o?0:u*a,f=-p*Math.abs(a),m=s.stretch;"string"==typeof m&&-1!==m.indexOf("%")&&(m=parseFloat(s.stretch)/100*n);let v=o?0:m*a,g=o?m*a:0,y=1-(1-s.scale)*Math.abs(a);Math.abs(g)<.001&&(g=0),Math.abs(v)<.001&&(v=0),Math.abs(f)<.001&&(f=0),Math.abs(l)<.001&&(l=0),Math.abs(h)<.001&&(h=0),Math.abs(y)<.001&&(y=0);const b=`translate3d(${g}px,${v}px,${f}px) rotateX(${h}deg) rotateY(${l}deg) scale(${y})`;if(t.transform(b),t[0].style.zIndex=1-Math.abs(Math.round(a)),s.slideShadows){let e=o?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),n=o?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=c(`<div class="swiper-slide-shadow-${o?"left":"top"}"></div>`),t.append(e)),0===n.length&&(n=c(`<div class="swiper-slide-shadow-${o?"right":"bottom"}"></div>`),t.append(n)),e.length&&(e[0].style.opacity=a>0?a:0),n.length&&(n[0].style.opacity=-a>0?-a:0)}}(h.pointerEvents||h.prefixedPointerEvents)&&(a[0].style.perspectiveOrigin=`${d}px 50%`)},setTransition(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},le={init(){const e=this,{thumbs:t}=e.params,n=e.constructor;t.swiper instanceof n?(e.thumbs.swiper=t.swiper,p.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),p.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):p.isObject(t.swiper)&&(e.thumbs.swiper=new n(p.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick(){const e=this,t=e.thumbs.swiper;if(!t)return;const n=t.clickedIndex,i=t.clickedSlide;if(i&&c(i).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==n)return;let a;if(a=t.params.loop?parseInt(c(t.clickedSlide).attr("data-swiper-slide-index"),10):n,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const n=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${a}"]`).eq(0).index(),i=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${a}"]`).eq(0).index();a=void 0===n?i:void 0===i?n:i-t<t-n?i:n}e.slideTo(a)},update(e){const t=this,n=t.thumbs.swiper;if(!n)return;const i="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView,a=t.params.thumbs.autoScrollOffset,r=a&&!n.params.loop;if(t.realIndex!==n.realIndex||r){let s,o,l=n.activeIndex;if(n.params.loop){n.slides.eq(l).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,l=n.activeIndex);const e=n.slides.eq(l).prevAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index(),i=n.slides.eq(l).nextAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index();s=void 0===e?i:void 0===i?e:i-l==l-e?l:i-l<l-e?i:e,o=t.activeIndex>t.previousIndex?"next":"prev"}else s=t.realIndex,o=s>t.previousIndex?"next":"prev";r&&(s+="next"===o?a:-1*a),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(s)<0&&(n.params.centeredSlides?s=s>l?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>l&&(s=s-i+1),n.slideTo(s,e?0:void 0))}let s=1;const o=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(s=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(s=1),s=Math.floor(s),n.slides.removeClass(o),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let e=0;e<s;e+=1)n.$wrapperEl.children(`[data-swiper-slide-index="${t.realIndex+e}"]`).addClass(o);else for(let e=0;e<s;e+=1)n.slides.eq(t.realIndex+e).addClass(o)}},ce=[A,_,j,N,H,q,F,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create(){const e=this;p.extend(e,{mousewheel:{enabled:!1,enable:R.enable.bind(e),disable:R.disable.bind(e),handle:R.handle.bind(e),handleMouseEnter:R.handleMouseEnter.bind(e),handleMouseLeave:R.handleMouseLeave.bind(e),animateSlider:R.animateSlider.bind(e),releaseScroll:R.releaseScroll.bind(e),lastScrollTime:p.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init(){const e=this;!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy(){const e=this;e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create(){const e=this;p.extend(e,{navigation:{init:Y.init.bind(e),update:Y.update.bind(e),destroy:Y.destroy.bind(e),onNextClick:Y.onNextClick.bind(e),onPrevClick:Y.onPrevClick.bind(e)}})},on:{init(){this.navigation.init(),this.navigation.update()},toEdge(){this.navigation.update()},fromEdge(){this.navigation.update()},destroy(){this.navigation.destroy()},click(e){const t=this,{$nextEl:n,$prevEl:i}=t.navigation;if(t.params.navigation.hideOnClick&&!c(e.target).is(i)&&!c(e.target).is(n)){let e;n?e=n.hasClass(t.params.navigation.hiddenClass):i&&(e=i.hasClass(t.params.navigation.hiddenClass)),!0===e?t.emit("navigationShow",t):t.emit("navigationHide",t),n&&n.toggleClass(t.params.navigation.hiddenClass),i&&i.toggleClass(t.params.navigation.hiddenClass)}}}},{name:"pagination",params:{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:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create(){const e=this;p.extend(e,{pagination:{init:X.init.bind(e),render:X.render.bind(e),update:X.update.bind(e),destroy:X.destroy.bind(e),dynamicBulletIndex:0}})},on:{init(){const e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange(){const e=this;(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange(){this.params.loop||this.pagination.update()},slidesLengthChange(){const e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange(){const e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy(){this.pagination.destroy()},click(e){const t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!c(e.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create(){const e=this;p.extend(e,{scrollbar:{init:W.init.bind(e),destroy:W.destroy.bind(e),updateSize:W.updateSize.bind(e),setTranslate:W.setTranslate.bind(e),setTransition:W.setTransition.bind(e),enableDraggable:W.enableDraggable.bind(e),disableDraggable:W.disableDraggable.bind(e),setDragPosition:W.setDragPosition.bind(e),getPointerPosition:W.getPointerPosition.bind(e),onDragStart:W.onDragStart.bind(e),onDragMove:W.onDragMove.bind(e),onDragEnd:W.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init(){const e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update(){this.scrollbar.updateSize()},resize(){this.scrollbar.updateSize()},observerUpdate(){this.scrollbar.updateSize()},setTranslate(){this.scrollbar.setTranslate()},setTransition(e){this.scrollbar.setTransition(e)},destroy(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create(){const e=this;p.extend(e,{parallax:{setTransform:U.setTransform.bind(e),setTranslate:U.setTranslate.bind(e),setTransition:U.setTransition.bind(e)}})},on:{beforeInit(){const e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create(){const e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{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:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((n=>{t[n]=K[n].bind(e)})),p.extend(e,{zoom:t});let n=1;Object.defineProperty(e.zoom,"scale",{get:()=>n,set(t){if(n!==t){const n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,i=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,i)}n=t}})},on:{init(){this.params.zoom.enabled&&this.zoom.enable()},destroy(){this.zoom.disable()},touchStart(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap(e){const t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create(){const e=this;p.extend(e,{lazy:{initialImageLoaded:!1,load:J.load.bind(e),loadInSlide:J.loadInSlide.bind(e)}})},on:{beforeInit(){const e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init(){const e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll(){const e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove(){this.params.lazy.enabled&&this.lazy.load()},transitionStart(){const e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd(){const e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange(){const e=this;e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},Z,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create(){const e=this;p.extend(e,{a11y:{liveRegion:c(`<span class="${e.params.a11y.notificationClass}
2" aria-live="assertive" aria-atomic="true"></span>`)}}),Object.keys(ee).forEach((t=>{e.a11y[t]=ee[t].bind(e)}))},on:{init(){const e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create(){const e=this;p.extend(e,{history:{init:te.init.bind(e),setHistory:te.setHistory.bind(e),setHistoryPopState:te.setHistoryPopState.bind(e),scrollToSlide:te.scrollToSlide.bind(e),destroy:te.destroy.bind(e)}})},on:{init(){this.params.history.enabled&&this.history.init()},destroy(){this.params.history.enabled&&this.history.destroy()},transitionEnd(){const e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange(){const e=this;e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create(){const e=this;p.extend(e,{hashNavigation:{initialized:!1,init:ne.init.bind(e),destroy:ne.destroy.bind(e),setHash:ne.setHash.bind(e),onHashCange:ne.onHashCange.bind(e)}})},on:{init(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange(){const e=this;e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create(){const e=this;p.extend(e,{autoplay:{running:!1,paused:!1,run:ie.run.bind(e),start:ie.start.bind(e),stop:ie.stop.bind(e),pause:ie.pause.bind(e),onVisibilityChange(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init(){const e=this;e.params.autoplay.enabled&&(e.autoplay.start(),document.addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart(e,t){const n=this;n.autoplay.running&&(t||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(e):n.autoplay.stop())},sliderFirstMove(){const e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd(){const e=this;e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy(){const e=this;e.autoplay.running&&e.autoplay.stop(),document.removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create(){const e=this;p.extend(e,{fadeEffect:{setTranslate:ae.setTranslate.bind(e),setTransition:ae.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("fade"!==e.params.effect)return;e.classNames.push(`${e.params.containerModifierClass}fade`);const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};p.extend(e.params,t),p.extend(e.originalParams,t)},setTranslate(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create(){const e=this;p.extend(e,{cubeEffect:{setTranslate:re.setTranslate.bind(e),setTransition:re.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("cube"!==e.params.effect)return;e.classNames.push(`${e.params.containerModifierClass}cube`),e.classNames.push(`${e.params.containerModifierClass}3d`);const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};p.extend(e.params,t),p.extend(e.originalParams,t)},setTranslate(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create(){const e=this;p.extend(e,{flipEffect:{setTranslate:se.setTranslate.bind(e),setTransition:se.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("flip"!==e.params.effect)return;e.classNames.push(`${e.params.containerModifierClass}flip`),e.classNames.push(`${e.params.containerModifierClass}3d`);const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};p.extend(e.params,t),p.extend(e.originalParams,t)},setTranslate(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create(){const e=this;p.extend(e,{coverflowEffect:{setTranslate:oe.setTranslate.bind(e),setTransition:oe.setTransition.bind(e)}})},on:{beforeInit(){const e=this;"coverflow"===e.params.effect&&(e.classNames.push(`${e.params.containerModifierClass}coverflow`),e.classNames.push(`${e.params.containerModifierClass}3d`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create(){const e=this;p.extend(e,{thumbs:{swiper:null,init:le.init.bind(e),update:le.update.bind(e),onThumbClick:le.onThumbClick.bind(e)}})},on:{beforeInit(){const e=this,{thumbs:t}=e.params;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange(){this.thumbs.swiper&&this.thumbs.update()},update(){this.thumbs.swiper&&this.thumbs.update()},resize(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate(){this.thumbs.swiper&&this.thumbs.update()},setTransition(e){const t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy(){const e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===I.use&&(I.use=I.Class.use,I.installModule=I.Class.installModule),I.use(ce);const de=I}},t={};function n(i){var a=t[i];if(void 0!==a)return a.exports;var r=t[i]={exports:{}};
2return e[i].call(r.exports,r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(5835),n(5614),n(50),n(29),n(8122),n(3191),n(7509),n(5757),n(4559),n(5833),n(9278),n(9564),n(330),n(3662)})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.