1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(($,Drupal,once,drupalSettings)=>{if(drupalSettings.pianoanalytics===undefined)return;Drupal.elopresse_pianoanalytics={_initialize(settings){const paConfigurations={};if(settings.site)paConfigurations.site=settings.site;if(settings.collect_domain)paConfigurations.collectDomain=settings.collect_domain;if(settings.add_event_url)paConfigurations.addEventURL=settings.add_event_url;paConfigurations.sendEventWhenOptout=true;window.pa.setConfigurations(paConfigurations);},_getTarteaucitronConsentChoice(){if(window.tarteaucitron&&window.tarteaucitron.state){if(window.tarteaucitron.state.pianoanalytics===true)return 'accepted';if(window.tarteaucitron.state.pianoanalytics===false)return 'refused';return null;}const cookie=this.getCookie('tarteaucitron');if(!cookie)return null;if(cookie.indexOf('!pianoanalytics=true')!==-1||cookie.indexOf('pianoanalytics=true')!==-1)return 'accepted';if(cookie.indexOf('pianoanalytics=false')!==-1)return 'refused';return null;},_getConsentChoice(){const explicitChoice=this._getTarteaucitronConsentChoice();if(this._isExplicitOptout())return 'optout';return explicitChoice;},_getOptoutStorageValue(){try{return window.localStorage.getItem('pianoanalytics_optout');}catch(e){return null;}},_isExplicitOptout(){return (this._getOptoutStorageValue()==='1'||this.getCookie('pianoanalytics_optout')==='1');},_setExplicitOptout(){try{window.localStorage.setItem('pianoanalytics_optout','1');}catch(e){}this.setCookie('pianoanalytics_optout','1',365);},_clearExplicitOptout(){try{window.localStorage.removeItem('pianoanalytics_optout');}catch(e){}this.deleteCookie('pianoanalytics_optout');},_configurePrivacy(settings){if(typeof window.pa==='undefined'||!window.pa.consent)return;if(this._isExplicitOptout()){try{window.pa.consent.setByPurpose('AM','opt-out',['PA','AD']);}catch(e){}return;}const consentChoice=this._getTarteaucitronConsentChoice();if(consentChoice==='accepted'){try{window.pa.consent.setByPurpose('AM','opt-in',['PA','AD']);}catch(e){}this._clearExplicitOptout();}else if(consentChoice==='refused')try{window.pa.consent.setByPurpose('AM','essential',['PA','AD']);}catch(e){}else try{window.pa.consent.setByPurpose('AM','exempt',['PA','AD']);}catch(e){}},_applyConsentAndReload(mode){if(mode==='optout'){this._setExplicitOptout();if(window.tarteaucitron!==undefined)window.tarteaucitron.setConsent('pianoanalytics',false);if(window.pa&&window.pa.consent)try{window.pa.consent.setByPurpose('AM','opt-out',['PA','AD']);}catch(e){}window.location.reload();return;}if(mode==='optin'){this._clearExplicitOptout();if(window.tarteaucitron!==undefined)window.tarteaucitron.setConsent('pianoanalytics',true);if(window.pa&&window.pa.consent)try{window.pa.consent.setByPurpose('AM','opt-in',['PA','AD']);}catch(e){}window.location.reload();}},_watchTarteaucitronConsent(settings){let lastState=this._getTarteaucitronConsentChoice();const check=()=>{const currentState=this._getTarteaucitronConsentChoice();if(currentState!==lastState){lastState=currentState;if(currentState==='accepted'){this._clearExplicitOptout();if(window.pa&&window.pa.consent)try{window.pa.consent.setByPurpose('AM','opt-in',['PA','AD']);}catch(e){}}else{if(currentState==='refused')if(window.pa&&window.pa.consent)try{window.pa.consent.setByPurpose('AM','essential',['PA','AD']);}catch(e){}}}};const intervalId=window.setInterval(check,500);window.setTimeout(()=>{window.clearInterval(intervalId);},30000);},_addChaptersToProperties(settings,properties,prefix){if(settings.page_chapter1)properties[`${prefix}_chapter1`]=settings.page_chapter1;if(settings.page_chapter2)properties[`${prefix}_chapter2`]=settings.page_chapter2;if(settings.page_chapter3)properties[`${prefix}_chapter3`]=settings.page_chapter3;},_processPage(settings){const pageProperties={};if(settings.page_name)pageProperties.page=settings.page_name;this._addChaptersToProperties(settings,pageProperties,'page');if(settings.level2)pageProperties.site_level2=settings.level2;else pageProperties.site_level2=0;if(settings.userStatus)pageProperties.user_status=settings.userStatus;else pageProperties.user_status=0;if(settings.gabaritPage)pageProperties.gabarit_de_page=settings.gabaritPage;if(Object.getOwnPropertyNames(pageProperties).length>0&&window.pa)window.pa.sendEvent('page.display',pageProperties);},_registerActionListeners(){const self=this;$(document.body).on('click',(event)=>{if(window.pa===undefined)return;$(event.target).closest('a,area').each(function processLinks(){const link=this;if(Drupal.elopresse_pianoanalytics.isInternal(this.href)){if(drupalSettings.pianoanalytics.trackDownload&&Drupal.elopresse_pianoanalytics.isDownload(link.href)){const clickProperties={click:link.href};
2Drupal.elopresse_pianoanalytics._addChaptersToProperties(drupalSettings.pianoanalytics,clickProperties,'click');window.pa.sendEvent('click.download',clickProperties);}}else if(drupalSettings.pianoanalytics.trackMailto&&link.matches("a[href^='mailto:'],area[href^='mailto:']")){const clickProperties={click:link.href};self._addChaptersToProperties(drupalSettings.pianoanalytics,clickProperties,'click');window.pa.sendEvent('click.action',clickProperties);}else{if(drupalSettings.pianoanalytics.trackOutbound&&this.href.match(/^\w+:\/\//i)){const clickProperties={click:link.href};self._addChaptersToProperties(drupalSettings.pianoanalytics,clickProperties,'click');window.pa.sendEvent('click.navigation',clickProperties);}}if(link.hasAttribute('data-campagne')){const eventProperties={};const campagneId=link.dataset.campagne;eventProperties.onsitead_campaign=campagneId;eventProperties.onsitead_type='Publisher';if(Object.getOwnPropertyNames(eventProperties).length>0)window.pa.sendEvent('publisher.click',eventProperties);}});});},_triggerInitializedEvent(){$(document).trigger('pianoanalytics:tag_initialized');},_processPrintAdsEvent(settings){const ads=document.querySelectorAll('article[data-campagne]');ads.forEach((ad)=>{const eventProperties={};eventProperties.onsitead_campaign=ad.dataset.campagne;eventProperties.onsitead_type='Publisher';if(Object.getOwnPropertyNames(eventProperties).length>0)window.pa.sendEvent('publisher.impression',eventProperties);});const reviveAds=document.querySelectorAll('ins');reviveAds.forEach((ad)=>{const reviveEventProperties={};const link=ad.querySelector('a');if(link!==null){const img=ad.querySelector('img');const width=img?img.width:0;const height=img?img.height:0;const format=`${width}x${height}`;reviveEventProperties.onsitead_type='Publisher';reviveEventProperties.onsitead_detailed_placement=ad.dataset.reviveZoneId;reviveEventProperties.onsitead_format=format;reviveEventProperties.onsitead_url=link.href;if(Object.getOwnPropertyNames(reviveEventProperties).length>0)window.pa.sendEvent('publisher.impression',reviveEventProperties);}});},initializeAndTrackPage(settings=drupalSettings.pianoanalytics){if(typeof window.pa==='undefined'){console.error("Piano Analytics SDK n'est pas chargé correctement");return;}this._initialize(settings);this._configurePrivacy(settings);this._processPage(settings);this._watchTarteaucitronConsent(settings);this._processPrintAdsEvent(settings);this._registerActionListeners();this._triggerInitializedEvent();},isDownload(url){const isDownload=new RegExp(`\\.(${drupalSettings.pianoanalytics.trackDownloadExtensions})([?#].*)?$`,'i');return isDownload.test(url);},isInternal(url){const isInternal=new RegExp(`^(https?)://${window.location.host}`,'i');return isInternal.test(url);},getCookie(cname){const name=`${cname}=`;const decodedCookie=decodeURIComponent(document.cookie||'');const ca=decodedCookie.split(';');for(let i=0;i<ca.length;i++){let c=ca[i].trim();if(c.indexOf(name)===0)return c.substring(name.length);}return '';},setCookie(cname,cvalue,exdays){const d=new Date();d.setTime(d.getTime()+(exdays*24*60*60*1000));const expires=`expires=${d.toUTCString()}`;document.cookie=`${cname}=${cvalue};${expires};path=/;SameSite=Lax`;},deleteCookie(cname){document.cookie=`${cname}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;SameSite=Lax`;},fullOptout(){this._applyConsentAndReload('optout');},fullOptin(){this._applyConsentAndReload('optin');}};Drupal.behaviors.elopresse_pianoanalytics={attach(context,settings){once('elopresse_pianoanalytics','html',context).forEach(()=>{const optout=document.querySelector('a[href="#optout"]');const optin=document.querySelector('a[href="#optin"]');if(optout!==null)optout.addEventListener('click',function(event){event.preventDefault();Drupal.elopresse_pianoanalytics.fullOptout();});if(optin!==null)optin.addEventListener('click',function(event){event.preventDefault();Drupal.elopresse_pianoanalytics.fullOptin();});if(window.pa===undefined)return;Drupal.elopresse_pianoanalytics.initializeAndTrackPage(settings.pianoanalytics);document.addEventListener('search:updated',(event)=>
2{Drupal.elopresse_pianoanalytics.initializeAndTrackPage(settings.pianoanalytics);});document.addEventListener('adsShow',function(){Drupal.elopresse_pianoanalytics._processPrintAdsEvent(settings.pianoanalytics);});});}};})(jQuery,Drupal,once,drupalSettings);; 3(()=>{var e,t,i,n,r,s={481(e,t){!function(e){"use strict";function t(e){var t,i,n,r;for(i=1,n=arguments.length;i<n;i++)for(t in r=arguments[i])e[t]=r[t];return e}var i,n,r,s,o,a,l,c,u,d,h=Object.create||function(){function e(){}return function(t){return e.prototype=t,new e}}();function p(e,t){var i=Array.prototype.slice;if(e.bind)return e.bind.apply(e,i.call(arguments,1));var n=i.call(arguments,2);return function(){return e.apply(t,n.length?n.concat(i.call(arguments)):arguments)}}var f=0;function m(e){return"_leaflet_id"in e||(e._leaflet_id=++f),e._leaflet_id}function v(e,t,i){var n,r,s,o;return o=function(){n=!1,r&&(s.apply(i,r),r=!1)},s=function(){n?r=arguments:(e.apply(i,arguments),setTimeout(o,t),n=!0)}}function g(e,t,i){var n=t[1],r=t[0],s=n-r;return e===n&&i?e:((e-r)%s+s)%s+r}function _(){return!1}function y(e,t){if(!1===t)return e;var i=Math.pow(10,void 0===t?6:t);return Math.round(e*i)/i}function b(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function w(e){return b(e).split(/\s+/)}function x(e,t){for(var i in Object.prototype.hasOwnProperty.call(e,"options")||(e.options=e.options?h(e.options):{}),t)e.options[i]=t[i];return e.options}function E(e,t,i){var n=[];for(var r in e)n.push(encodeURIComponent(i?r.toUpperCase():r)+"="+encodeURIComponent(e[r]));return(t&&-1!==t.indexOf("?")?"&":"?")+n.join("&")}var S=/\{ *([\w_ -]+) *\}/g;function T(e,t){return e.replace(S,function(e,i){var n=t[i];if(void 0===n)throw Error("No value provided for variable "+e);return"function"==typeof n&&(n=n(t)),n})}var M=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function P(e,t){for(var i=0;i<e.length;i++)if(e[i]===t)return i;return -1}var C="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function O(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var k=0;function A(e){var t=+new Date,i=Math.max(0,16-(t-k));return k=t+i,window.setTimeout(e,i)}var z=window.requestAnimationFrame||O("RequestAnimationFrame")||A,I=window.cancelAnimationFrame||O("CancelAnimationFrame")||O("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function D(e,t,i){if(!i||z!==A)return z.call(window,p(e,t));e.call(t)}function B(e){e&&I.call(window,e)}function j(){}j.extend=function(e){var i=function(){x(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},n=i.__super__=this.prototype,r=h(n);for(var s in r.constructor=i,i.prototype=r,this)Object.prototype.hasOwnProperty.call(this,s)&&"prototype"!==s&&"__super__"!==s&&(i[s]=this[s]);return e.statics&&t(i,e.statics),e.includes&&(function(e){if("u">typeof L&&L&&L.Mixin){e=M(e)?e:[e];for(var t=0;t<e.length;
vendor: 4,826 bytes, line 3
3t++)e[t]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",Error().stack)}}(e.includes),t.apply(null,[r].concat(e.includes))),t(r,e),delete r.statics,delete r.includes,r.options&&(r.options=n.options?h(n.options):{},t(r.options,e.options)),r._initHooks=[],r.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=r._initHooks.length;e<t;e++)r._initHooks[e].call(this)}},i},j.include=function(e){var i=this.prototype.options;return t(this.prototype,e),e.options&&(this.prototype.options=i,this.mergeOptions(e.options)),this},j.mergeOptions=function(e){return t(this.prototype.options,e),this},j.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),i="function"==typeof e?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var N={on:function(e,t,i){if("object"==typeof e)for(var n in e)this._on(n,e[n],t);else{e=w(e);for(var r=0,s=e.length;r<s;r++)this._on(e[r],t,i)}return this},off:function(e,t,i){if(arguments.length)if("object"==typeof e)for(var n in e)this._off(n,e[n],t);else{e=w(e);for(var r=1==arguments.length,s=0,o=e.length;s<o;s++)r?this._off(e[s]):this._off(e[s],t,i)}else delete this._events;return this},_on:function(e,t,i,n){if("function"!=typeof t)return void console.warn("wrong listener type: "+typeof t);if(!1===this._listens(e,t,i)){i===this&&(i=void 0);var r={fn:t,ctx:i};n&&(r.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(r)}},_off:function(e,t,i){if(this._events&&(n=this._events[e])){if(1==arguments.length){if(this._firingCount)for(r=0,s=n.length;r<s;r++)n[r].fn=_;delete this._events[e];return}if("function"!=typeof t)return void console.warn("wrong listener type: "+typeof t);var n,r,s,o=this._listens(e,t,i);if(!1!==o){var a=n[o];this._firingCount&&(a.fn=_,this._events[e]=n=n.slice()),n.splice(o,1)}}},fire:function(e,i,n){if(!this.listens(e,n))return this;var r=t({},i,{type:e,target:this,sourceTarget:i&&i.sourceTarget||this});if(this._events){var s=this._events[e];if(s){this._firingCount=this._firingCount+1||1;for(var o=0,a=s.length;o<a;o++){var l=s[o],c=l.fn;l.once&&this.off(e,c,l.ctx),c.call(l.ctx||this,r)}this._firingCount--}}return n&&this._propagateEvent(r),this},listens:function(e,t,i,n){"string"!=typeof e&&console.warn('"string" type argument expected');var r=t;"function"!=typeof t&&(n=!!t,r=void 0,i=void 0);var s=this._events&&this._events[e];if(s&&s.length&&!1!==this._listens(e,r,i))return!0;if(n){for(var o in this._eventParents)if(this._eventParents[o].listens(e,t,i,n))return!0}return!1},_listens:function(e,t,i){if(!this._events)return!1;var n=this._events[e]||[];if(!t)return!!n.length;i===this&&(i=void 0);for(var r=0,s=n.length;r<s;r++)if(n[r].fn===t&&n[r].ctx===i)return r;return!1},once:function(e,t,i){if("object"==typeof e)for(var n in e)this._on(n,e[n],t,!0);else{e=w(e);for(var r=0,s=e.length;r<s;r++)this._on(e[r],t,i,!0)}return this},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[m(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[m(e)],this},_propagateEvent:function(e){for(var i in this._eventParents)this._eventParents[i].fire(e.type,t({layer:e.target,propagatedFrom:e.target},e),!0)}};N.addEventListener=N.on,N.removeEventListener=N.clearAllEventListeners=N.off,N.addOneTimeEventListener=N.once,N.fireEvent=N.fire,N.hasEventListeners=N.listens;var R=j.extend(N);function $(e,t,i){this.x=i?Math.round(e):e,this.y=i?Math.round(t):t}var Z=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};function F(e,t,i){return e instanceof $?e:M(e)?new $(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new $(e.x,e.y):new $(e,t,i)}function H(e,t){if(e)for(var i=t?[e,t]:e,n=0,r=i.length;n<r;n++)this.extend(i[n])}function W(e,t){return!e||e instanceof H?e:new H(e,t)}function q(e,t){if(e)for(var i=t?[e,t]:e,n=0,r=i.length;n<r;n++)this.extend(i[n])}function G(e,t){return e instanceof q?e:new q(e,t)}function V(e,t,i){if(isNaN(e)||isNaN(t))throw Error("Invalid LatLng object: ("+e+", "+t+")");this.lat=+e,this.lng=+t,void 0!==i&&(this.alt=+i)}function Y(e,t,i){return e instanceof V?e:M(e)&&"object"!=typeof e[0]?3===e.length?new V(e[0],e[1],e[2]):2===e.length?new V(e[0],e[1]):null:null==e?e:"object"==typeof e&&"lat"in e?new V(e.lat,"lng"in e?e.lng:e.lon,e.alt):void 0===t?null:new V(e,t,i)}$.prototype={clone:function(){return new $(this.x,this.y)},add:function(e){return this.clone()._add(F(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(F(e))}
vendor: 6,144 bytes, line 3
3,_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new $(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new $(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=Z(this.x),this.y=Z(this.y),this},distanceTo:function(e){var t=(e=F(e)).x-this.x,i=e.y-this.y;return Math.sqrt(t*t+i*i)},equals:function(e){return(e=F(e)).x===this.x&&e.y===this.y},contains:function(e){return Math.abs((e=F(e)).x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+y(this.x)+", "+y(this.y)+")"}},H.prototype={extend:function(e){var t,i;if(!e)return this;if(e instanceof $||"number"==typeof e[0]||"x"in e)t=i=F(e);else if(t=(e=W(e)).min,i=e.max,!t||!i)return this;return this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(i.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(i.y,this.max.y)):(this.min=t.clone(),this.max=i.clone()),this},getCenter:function(e){return F((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return F(this.min.x,this.max.y)},getTopRight:function(){return F(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,i;return(e="number"==typeof e[0]||e instanceof $?F(e):W(e))instanceof H?(t=e.min,i=e.max):t=i=e,t.x>=this.min.x&&i.x<=this.max.x&&t.y>=this.min.y&&i.y<=this.max.y},intersects:function(e){e=W(e);var t=this.min,i=this.max,n=e.min,r=e.max,s=r.x>=t.x&&n.x<=i.x,o=r.y>=t.y&&n.y<=i.y;return s&&o},overlaps:function(e){e=W(e);var t=this.min,i=this.max,n=e.min,r=e.max,s=r.x>t.x&&n.x<i.x,o=r.y>t.y&&n.y<i.y;return s&&o},isValid:function(){return!!(this.min&&this.max)},pad:function(e){var t=this.min,i=this.max,n=Math.abs(t.x-i.x)*e,r=Math.abs(t.y-i.y)*e;return W(F(t.x-n,t.y-r),F(i.x+n,i.y+r))},equals:function(e){return!!e&&(e=W(e),this.min.equals(e.getTopLeft())&&this.max.equals(e.getBottomRight()))}},q.prototype={extend:function(e){var t,i,n=this._southWest,r=this._northEast;if(e instanceof V)t=e,i=e;else if(!(e instanceof q))return e?this.extend(Y(e)||G(e)):this;else if(t=e._southWest,i=e._northEast,!t||!i)return this;return n||r?(n.lat=Math.min(t.lat,n.lat),n.lng=Math.min(t.lng,n.lng),r.lat=Math.max(i.lat,r.lat),r.lng=Math.max(i.lng,r.lng)):(this._southWest=new V(t.lat,t.lng),this._northEast=new V(i.lat,i.lng)),this},pad:function(e){var t=this._southWest,i=this._northEast,n=Math.abs(t.lat-i.lat)*e,r=Math.abs(t.lng-i.lng)*e;return new q(new V(t.lat-n,t.lng-r),new V(i.lat+n,i.lng+r))},getCenter:function(){return new V((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new V(this.getNorth(),this.getWest())},getSouthEast:function(){return new V(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){e="number"==typeof e[0]||e instanceof V||"lat"in e?Y(e):G(e);var t,i,n=this._southWest,r=this._northEast;return e instanceof q?(t=e.getSouthWest(),i=e.getNorthEast()):t=i=e,t.lat>=n.lat&&i.lat<=r.lat&&t.lng>=n.lng&&i.lng<=r.lng},intersects:function(e){e=G(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),r=e.getNorthEast(),s=r.lat>=t.lat&&n.lat<=i.lat,o=r.lng>=t.lng&&n.lng<=i.lng;return s&&o},overlaps:function(e){e=G(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),r=e.getNorthEast(),s=r.lat>t.lat&&n.lat<i.lat,o=r.lng>t.lng&&n.lng<i.lng;return s&&o},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,t){return!!e&&(e=G(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t))},isValid:function(){return!!(this._southWest&&this._northEast)}},V.prototype={equals:function(e,t){return!!e&&(e=Y(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(void 0===t?1e-9:t))},toString:function(e){return"LatLng("+y(this.lat,e)+", "+y(this.lng,e)+")"},distanceTo:function(e){return U.distance(this,Y(e))},wrap:function(){return U.wrapLatLng(this)},toBounds:function(e){var t=180*e/0x2637f09,i=t/Math.cos(Math.PI/180*this.lat);return G([this.lat-t,this.lng-i],[this.lat+t,this.lng+i])},clone:function(){return new V(this.lat,this.lng,this.alt)}};var X={latLngToPoint:function(e,t){var i=this.projection.project(e),n=this.scale(t);return this.transformation._transform(i,n)},pointToLatLng:function(e,t){var i=this.scale(t),n=this.transformation.untransform(e,i);return this.projection.unproject(n)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,i=this.scale(e);return new H(this.transformation.transform(t.min,i),this.transformation.transform(t.max,i))},infinite:!1,wrapLatLng:function(e){var t=this.wrapLng?g(e.lng,this.wrapLng,!0):e.lng;return new V(this.wrapLat?g(e.lat,this.wrapLat,!0):e.lat,t,e.alt)},wrapLatLngBounds:function(e){var t=e.getCenter(),i=this.wrapLatLng(t),n=t.lat-i.lat,r=t.lng-i.lng;if(0===n&&0===r)return e;
vendor: 6,899 bytes, line 3
3var s=e.getSouthWest(),o=e.getNorthEast();return new q(new V(s.lat-n,s.lng-r),new V(o.lat-n,o.lng-r))}},U=t({},X,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var i=Math.PI/180,n=e.lat*i,r=t.lat*i,s=Math.sin((t.lat-e.lat)*i/2),o=Math.sin((t.lng-e.lng)*i/2),a=s*s+Math.cos(n)*Math.cos(r)*o*o,l=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*l}}),K={R:6378137,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,i=this.MAX_LATITUDE,n=Math.sin(Math.max(Math.min(i,e.lat),-i)*t);return new $(this.R*e.lng*t,this.R*Math.log((1+n)/(1-n))/2)},unproject:function(e){var t=180/Math.PI;return new V((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:new H([-(l=6378137*Math.PI),-l],[l,l])};function J(e,t,i,n){if(M(e)){this._a=e[0],this._b=e[1],this._c=e[2],this._d=e[3];return}this._a=e,this._b=t,this._c=i,this._d=n}function Q(e,t,i,n){return new J(e,t,i,n)}J.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return e.x=(t=t||1)*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t=t||1,new $((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};var ee=t({},U,{code:"EPSG:3857",projection:K,transformation:Q(c=.5/(Math.PI*K.R),.5,-c,.5)}),et=t({},ee,{code:"EPSG:900913"});function ei(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function en(e,t){var i,n,r,s,o,a,l="";for(i=0,r=e.length;i<r;i++){for(n=0,s=(o=e[i]).length;n<s;n++)a=o[n],l+=(n?"L":"M")+a.x+" "+a.y;l+=t?eB.svg?"z":"x":""}return l||"M0 0"}var er=document.documentElement.style,es="ActiveXObject"in window,eo=es&&!document.addEventListener,ea="msLaunchUri"in navigator&&!("documentMode"in document),el=eD("webkit"),ec=eD("android"),eu=eD("android 2")||eD("android 3"),ed=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),eh=ec&&eD("Google")&&ed<537&&!("AudioNode"in window),ep=!!window.opera,ef=!ea&&eD("chrome"),em=eD("gecko")&&!el&&!ep&&!es,ev=!ef&&eD("safari"),eg=eD("phantom"),e_="OTransition"in er,ey=0===navigator.platform.indexOf("Win"),eb=es&&"transition"in er,ew="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!eu,ex="MozPerspective"in er,eE=!window.L_DISABLE_3D&&(eb||ew||ex)&&!e_&&!eg,eS="u">typeof orientation||eD("mobile"),eT=!window.PointerEvent&&window.MSPointerEvent,eL=!!(window.PointerEvent||eT),eM="ontouchstart"in window||!!window.TouchEvent,eP=!window.L_NO_TOUCH&&(eM||eL),eC=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,eO=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",_,t),window.removeEventListener("testPassiveEventSupport",_,t)}catch(e){}return e}(),ek=!!document.createElement("canvas").getContext,eA=!!(document.createElementNS&&ei("svg").createSVGRect),ez=!!eA&&((u=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(u.firstChild&&u.firstChild.namespaceURI)),eI=!eA&&function(){try{var e=document.createElement("div");e.innerHTML='<v:shape adj="1"/>';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}();function eD(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var eB={ie:es,ielt9:eo,edge:ea,webkit:el,android:ec,android23:eu,androidStock:eh,opera:ep,chrome:ef,gecko:em,safari:ev,phantom:eg,opera12:e_,win:ey,ie3d:eb,webkit3d:ew,gecko3d:ex,any3d:eE,mobile:eS,mobileWebkit:eS&&el,mobileWebkit3d:eS&&ew,msPointer:eT,pointer:eL,touch:eP,touchNative:eM,mobileOpera:eS&&ep,mobileGecko:eS&&em,retina:eC,passiveEvents:eO,canvas:ek,svg:eA,vml:eI,inlineSvg:ez,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},ej=eB.msPointer?"MSPointerDown":"pointerdown",eN=eB.msPointer?"MSPointerMove":"pointermove",eR=eB.msPointer?"MSPointerUp":"pointerup",e$=eB.msPointer?"MSPointerCancel":"pointercancel",eZ={touchstart:ej,touchmove:eN,touchend:eR,touchcancel:e$},eF={touchstart:function(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&tx(t),eY(e,t)},touchmove:eY,touchend:eY,touchcancel:eY},eH={},eW=!1;function eq(e){eH[e.pointerId]=e}function eG(e){eH[e.pointerId]&&(eH[e.pointerId]=e)}function eV(e){delete eH[e.pointerId]}function eY(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in t.touches=[],eH)t.touches.push(eH[i]);t.changedTouches=[t],e(t)}}var eX=tt(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),eU=tt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),eK="webkitTransition"===eU||"OTransition"===eU?eU+"End":"transitionend";function eJ(e){return"string"==typeof e?document.getElementById(e):e}function eQ(e,t){var i=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(e,null);i=n?n[t]:null}return"auto"===i?null:i}function e0(e,t,i){var n=document.createElement(e);return n.className=t||"",i&&i.appendChild(n),n}function e1(e){var t=e.parentNode;t&&t.removeChild(e)}function e2(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function e3(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function e8(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function e5(e,t){if(void 0!==e.classList)return e.classList.contains(t);var i=e7(e);return i.length>0&&RegExp("(^|\\s)"+t+"(\\s|$)").test(i)}function e4(e,t){if(void 0!==e.classList)for(var i=w(t),n=0,r=i.length;n<r;n++)e.classList.add(i[n]);else if(!e5(e,t)){var s=e7(e);e9(e,(s?s+" ":"")+t)}}function e6(e,t){void 0!==e.classList?e.classList.remove(t):e9(e,b((" "+e7(e)+" ").replace(" "+t+" "," ")))}function e9(e,t){void 0===e.className.baseVal?e.className=t:e.className.baseVal=t}function e7(e){return e.correspondingElement&&(e=e.correspondingElement),void 0===e.className.baseVal?e.className:e.className.baseVal}function te(e,t){"opacity"in e.style?e.style.opacity=t:"filter"in e.style&&function(e,t){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=e.filters.item(n)}catch(e){if(1===t)return}t=Math.round(100*t),i?(i.Enabled=100!==t,i.Opacity=t):e.style.filter+=" progid:"+n+"(opacity="+t+")"}(e,t)}function tt(e){for(var t=document.documentElement.style,i=0;i<e.length;i++)if(e[i]in t)return e[i];return!1}function ti(e,t,i){var n=t||new $(0,0);e.style[eX]=(eB.ie3d?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function tn(e,t){e._leaflet_pos=t,eB.any3d?ti(e,t):(e.style.left=t.x+"px",e.style.top=t.y+"px")}function tr(e){return e._leaflet_pos||new $(0,0)}if("onselectstart"in document)i=function(){th(window,"selectstart",tx)},n=function(){tf(window,"selectstart",tx)};else{var ts=tt(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);i=function(){if(ts){var e=document.documentElement.style;r=e[ts],e[ts]="none"}}
3,n=function(){ts&&(document.documentElement.style[ts]=r,r=void 0)}}function to(){th(window,"dragstart",tx)}function ta(){tf(window,"dragstart",tx)}function tl(e){for(;-1===e.tabIndex;)e=e.parentNode;e.style&&(tc(),s=e,o=e.style.outlineStyle,e.style.outlineStyle="none",th(window,"keydown",tc))}function tc(){s&&(s.style.outlineStyle=o,s=void 0,o=void 0,tf(window,"keydown",tc))}function tu(e){do e=e.parentNode;while((!e.offsetWidth||!e.offsetHeight)&&e!==document.body)return e}function td(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}function th(e,t,i,n){if(t&&"object"==typeof t)for(var r in t)tg(e,r,t[r],i);else{t=w(t);for(var s=0,o=t.length;s<o;s++)tg(e,t[s],i,n)}return this}var tp="_leaflet_events";function tf(e,t,i,n){if(1==arguments.length)tm(e),delete e[tp];else if(t&&"object"==typeof t)for(var r in t)t_(e,r,t[r],i);else if(t=w(t),2==arguments.length)tm(e,function(e){return -1!==P(t,e)});else for(var s=0,o=t.length;s<o;s++)t_(e,t[s],i,n);return this}function tm(e,t){for(var i in e[tp]){var n=i.split(/\d/)[0];(!t||t(n))&&t_(e,n,null,null,i)}}
3var tv={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function tg(e,t,i,n){var r=t+m(i)+(n?"_"+m(n):"");if(e[tp]&&e[tp][r])return this;var s=function(t){return i.call(n||e,t||window.event)},o=s;!eB.touchNative&&eB.pointer&&0===t.indexOf("touch")?s=function(e,t,i){return("touchstart"===t&&(eW||(document.addEventListener(ej,eq,!0),document.addEventListener(eN,eG,!0),document.addEventListener(eR,eV,!0),document.addEventListener(e$,eV,!0),eW=!0)),eF[t])?(i=eF[t].bind(this,i),e.addEventListener(eZ[t],i,!1),i):(console.warn("wrong event specified:",t),_)}(e,t,s):eB.touch&&"dblclick"===t?s=function(e,t){e.addEventListener("dblclick",t);var i,n=0;function r(e){if(1!==e.detail){i=e.detail;return}if("mouse"!==e.pointerType&&(!e.sourceCapabilities||e.sourceCapabilities.firesTouchEvents)){var r=tS(e);if(!r.some(function(e){return e instanceof HTMLLabelElement&&e.attributes.for})||r.some(function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement})){var s=Date.now();s-n<=200?2==++i&&t(function(e){var t,i,n={};for(i in e)t=e[i],n[i]=t&&t.bind?t.bind(e):t;return e=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}(e)):i=1,n=s}}}return e.addEventListener("click",r),{dblclick:t,simDblclick:r}}(e,s):"addEventListener"in e?"touchstart"===t||"touchmove"===t||"wheel"===t||"mousewheel"===t?e.addEventListener(tv[t]||t,s,!!eB.passiveEvents&&{passive:!1}):"mouseenter"===t||"mouseleave"===t?(s=function(t){tP(e,t=t||window.event)&&o(t)},e.addEventListener(tv[t],s,!1)):e.addEventListener(t,o,!1):e.attachEvent("on"+t,s),e[tp]=e[tp]||{},e[tp][r]=s}function t_(e,t,i,n,r){r=r||t+m(i)+(n?"_"+m(n):"");var s=e[tp]&&e[tp][r];if(!s)return this;!eB.touchNative&&eB.pointer&&0===t.indexOf("touch")?eZ[t]?e.removeEventListener(eZ[t],s,!1):console.warn("wrong event specified:",t):eB.touch&&"dblclick"===t?(e.removeEventListener("dblclick",s.dblclick),e.removeEventListener("click",s.simDblclick)):"removeEventListener"in e?e.removeEventListener(tv[t]||t,s,!1):e.detachEvent("on"+t,s),e[tp][r]=null}function ty(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,this}function tb(e){return tg(e,"wheel",ty),this}function tw(e){return th(e,"mousedown touchstart dblclick contextmenu",ty),e._leaflet_disable_click=!0,this}function tx(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function tE(e){return tx(e),ty(e),this}function tS(e){if(e.composedPath)return e.composedPath();for(var t=[],i=e.target;i;)t.push(i),i=i.parentNode;return t}function tT(e,t){if(!t)return new $(e.clientX,e.clientY);var i=td(t),n=i.boundingClientRect;return new $((e.clientX-n.left)/i.x-t.clientLeft,(e.clientY-n.top)/i.y-t.clientTop)}var tL=eB.linux&&eB.chrome?window.devicePixelRatio:eB.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function tM(e){return eB.edge?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/tL:e.deltaY&&1===e.deltaMode?-(20*e.deltaY):e.deltaY&&2===e.deltaMode?-(60*e.deltaY):e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&32765>Math.abs(e.detail)?-(20*e.detail):e.detail?-(60*(e.detail/32765)):0}function tP(e,t){var i=t.relatedTarget;if(!i)return!0;try{for(;i&&i!==e;)i=i.parentNode}catch(e){return!1}return i!==e}var tC=R.extend({run:function(e,t,i,n){this.stop(),this._el=e,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=tr(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=D(this._animate,this),this._step()},_step:function(e){var t=new Date-this._startTime,i=1e3*this._duration;t<i?this._runFrame(this._easeOut(t/i),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var i=this._startPos.add(this._offset.multiplyBy(e));t&&i._round(),tn(this._el,i),this.fire("step")},_complete:function(){B(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),tO=R.extend({options:{crs:ee,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=x(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=p(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),void 0!==t.zoom&&(this._zoom=this._limitZoom(t.zoom)),t.center&&void 0!==t.zoom&&this.setView(Y(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=eU&&eB.any3d&&!eB.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),th(this._proxy,eK,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 1,336 bytes, line 3
3,setView:function(e,i,n){return(i=void 0===i?this._zoom:this._limitZoom(i),e=this._limitCenter(Y(e),i,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=t({animate:n.animate},n.zoom),n.pan=t({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==i?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,i,n.zoom):this._tryAnimatedPan(e,n.pan)))?(clearTimeout(this._sizeTimer),this):(this._resetView(e,i,n.pan&&n.pan.noMoveStart),this)},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e=e||(eB.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e=e||(eB.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,i){var n=this.getZoomScale(t),r=this.getSize().divideBy(2),s=(e instanceof $?e:this.latLngToContainerPoint(e)).subtract(r).multiplyBy(1-1/n),o=this.containerPointToLatLng(r.add(s));return this.setView(o,t,{zoom:i})},_getBoundsCenterZoom:function(e,t){t=t||{},e=e.getBounds?e.getBounds():G(e);var i=F(t.paddingTopLeft||t.padding||[0,0]),n=F(t.paddingBottomRight||t.padding||[0,0]),r=this.getBoundsZoom(e,!1,i.add(n));if((r="number"==typeof t.maxZoom?Math.min(t.maxZoom,r):r)===1/0)return{center:e.getCenter(),zoom:r};
3var s=n.subtract(i).divideBy(2),o=this.project(e.getSouthWest(),r),a=this.project(e.getNorthEast(),r);return{center:this.unproject(o.add(a).divideBy(2).add(s),r),zoom:r}},fitBounds:function(e,t){if(!(e=G(e)).isValid())throw Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(e,t);return this.setView(i.center,i.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(e=F(e).round(),t=t||{},!e.x&&!e.y)return this.fire("moveend");if(!0!==t.animate&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new tC,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire("movestart"),!1!==t.animate){e4(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,i,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire("move").fire("moveend");return this},flyTo:function(e,t,i){if(!1===(i=i||{}).animate||!eB.any3d)return this.setView(e,t,i);this._stop();var n=this.project(this.getCenter()),r=this.project(e),s=this.getSize(),o=this._zoom;e=Y(e),t=void 0===t?o:t;var a=Math.max(s.x,s.y),l=a*this.getZoomScale(o,t),c=r.distanceTo(n)||1;function u(e){var t=(l*l-a*a+(e?-1:1)*4.0658689599999995*c*c)/(2*(e?l:a)*2.0164*c),i=Math.sqrt(t*t+1)-t;return i<1e-9?-18:Math.log(i)}function d(e){return(Math.exp(e)-Math.exp(-e))/2}function h(e){return(Math.exp(e)+Math.exp(-e))/2}var p=u(0),f=Date.now(),m=(u(1)-p)/1.42,v=i.duration?1e3*i.duration:1e3*m*.8;function g(){var i,s=(Date.now()-f)/v,l=(1-Math.pow(1-s,1.5))*m;s<=1?(this._flyToFrame=D(g,this),this._move(this.unproject(n.add(r.subtract(n).multiplyBy(a*(h(p)*(d(i=p+1.42*l)/h(i))-d(p))/2.0164/c)),o),this.get
vendor: 11,383 bytes, line 3
3ScaleZoom(a/(a*(h(p)/h(p+1.42*l))),o),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}return this._moveStart(!0,i.noMoveStart),g.call(this),this},flyToBounds:function(e,t){var i=this._getBoundsCenterZoom(e,t);return this.flyTo(i.center,i.zoom,t)},setMaxBounds:function(e){return(e=G(e),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),e.isValid())?(this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(e){var t=this.options.minZoom;return(this.options.minZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom))?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return(this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom))?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,G(e));return i.equals(n)||this.panTo(n,t),this._enforcingBounds=!1,this},panInside:function(e,t){var i=F((t=t||{}).paddingTopLeft||t.padding||[0,0]),n=F(t.paddingBottomRight||t.padding||[0,0]),r=this.project(this.getCenter()),s=this.project(e),o=this.getPixelBounds(),a=W([o.min.add(i),o.max.subtract(n)]),l=a.getSize();if(!a.contains(s)){this._enforcingBounds=!0;var c=s.subtract(a.getCenter()),u=a.extend(s).getSize().subtract(l);r.x+=c.x<0?-u.x:u.x,r.y+=c.y<0?-u.y:u.y,this.panTo(this.unproject(r),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=t({animate:!1,pan:!0},!0===e?{animate:!0}:e);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),r=i.divideBy(2).round(),s=n.divideBy(2).round(),o=r.subtract(s);return o.x||o.y?(e.animate&&e.pan?this.panBy(o):(e.pan&&this._rawPanBy(o),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(p(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=t({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=p(this._handleGeolocationResponse,this),n=p(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,n,e):navigator.geolocation.getCurrentPosition(i,n,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,i=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+i+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=new V(e.coords.latitude,e.coords.longitude),i=t.toBounds(2*e.coords.accuracy),n=this._locateOptions;if(n.setView){var r=this.getBoundsZoom(i);this.setView(t,n.maxZoom?Math.min(r,n.maxZoom):r)}var s={latlng:t,bounds:i,timestamp:e.timestamp};for(var o in e.coords)"number"==typeof e.coords[o]&&(s[o]=e.coords[o]);this.fire("locationfound",s)}},addHandler:function(e,t){if(!t)return this;var i=this[e]=new t(this);return this._handlers.push(i),this.options[e]&&i.enable(),this},remove:function(){var e;if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),e1(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(B(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)e1(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var i=e0("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=i),i},getCenter:function(){return(this._checkIfLoaded(),this._lastCenter&&!this._moved())?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new q(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,i){e=G(e),i=F(i||[0,0]);var n=this.getZoom()||0,r=this.getMinZoom(),s=this.getMaxZoom(),o=e.getNorthWest(),a=e.getSouthEast(),l=this.getSize().subtract(i),c=W(this.project(a,n),this.project(o,n)).getSize(),u=eB.any3d?this.options.zoomSnap:1,d=l.x/c.x,h=l.y/c.y,p=t?Math.max(d,h):Math.min(d,h);return n=this.getScaleZoom(p,n),u&&(n=u/100*Math.round(n/(u/100)),n=t?Math.ceil(n/u)*u:Math.floor(n/u)*u),Math.max(r,Math.min(s,n))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new $(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var i=this._getTopLeftPoint(e,t);return new H(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var i=this.options.crs;return t=void 0===t?this._zoom:t,i.scale(e)/i.scale(t)},getScaleZoom:function(e,t){var i=this.options.crs;t=void 0===t?this._zoom:t;var n=i.zoom(e*i.scale(t));return isNaN(n)?1/0:n},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(Y(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(F(e),t)},layerPointToLatLng:function(e){var t=F(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(Y(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(Y(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(G(e))},distance:function(e,t){return this.options.crs.distance(Y(e),Y(t))},containerPointToLayerPoint:function(e){return F(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return F(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(F(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(Y(e)))},mouseEventToContainerPoint:function(e){return tT(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=eJ(e);if(t){if(t._leaflet_id)throw Error("Map container is already initialized.")}else throw Error("Map container not found.");th(t,"scroll",this._onScroll,this),this._containerId=m(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&eB.any3d,e4(e,"leaflet-container"+(eB.touch?" leaflet-touch":"")+(eB.retina?" leaflet-retina":"")+(eB.ielt9?" leaflet-oldie":"")+(eB.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=eQ(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&"sticky"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),tn(this._mapPane,new $(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(e4(e.markerPane,"leaflet-zoom-hide"),e4(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t,i){tn(this._mapPane,new $(0,0));var n=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var r=this._zoom!==t;this._moveStart(r,i)._move(e,t)._moveEnd(r),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,i,n){void 0===t&&(t=this._zoom);var r=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),n?i&&i.pinch&&this.fire("zoom",i):((r||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return B(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){tn(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[m(this._container)]=this;var t=e?tf:th;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),eB.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){B(this._resizeRequest),this._resizeRequest=D(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var i,n=[],r="mouseout"===t||"mouseover"===t,s=e.target||e.srcElement,o=!1;s;){if((i=this._targets[m(s)])&&("click"===t||"preclick"===t)&&this._draggableMoved(i)){o=!0;break}if(i&&i.listens(t,!0)&&(r&&!tP(s,e)||(n.push(i),r)))break;if(s===this._container)break;s=s.parentNode}return!n.length&&!o&&!r&&this.listens(t,!0)&&(n=[this]),n},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||"click"===e.type&&this._isCl
vendor: 6,464 bytes, line 3
3ickDisabled(t))){var i=e.type;"mousedown"===i&&tl(t),this._fireDOMEvent(e,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,i,n){if("click"===e.type){var r=t({},e);r.type="preclick",this._fireDOMEvent(r,r.type,n)}var s=this._findEventTargets(e,i);if(n){for(var o=[],a=0;a<n.length;a++)n[a].listens(i,!0)&&o.push(n[a]);s=o.concat(s)}if(s.length){"contextmenu"===i&&tx(e);var l=s[0],c={originalEvent:e};if("keypress"!==e.type&&"keydown"!==e.type&&"keyup"!==e.type){var u=l.getLatLng&&(!l._radius||l._radius<=10);c.containerPoint=u?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(e),c.layerPoint=this.containerPointToLayerPoint(c.containerPoint),c.latlng=u?l.getLatLng():this.layerPointToLatLng(c.layerPoint)}for(a=0;a<s.length;a++)if(s[a].fire(i,c,!0),c.originalEvent._stopped||!1===s[a].options.bubblingMouseEvents&&-1!==P(this._mouseEvents,i))return}},_draggableMoved:function(e){return(e=e.dragging&&e.dragging.enabled()?e:this).dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on("load",e,t),this},_getMapPanePos:function(){return tr(this._mapPane)||new $(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&void 0!==t?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var i=this.getSize()._divideBy(2);return this.project(e,t)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,i){var n=this._getNewPixelOrigin(i,t);return this.project(e,t)._subtract(n)},_latLngBoundsToNewLayerBounds:function(e,t,i){var n=this._getNewPixelOrigin(i,t);return W([this.project(e.getSouthWest(),t)._subtract(n),this.project(e.getNorthWest(),t)._subtract(n),this.project(e.getSouthEast(),t)._subtract(n),this.project(e.getNorthEast(),t)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,i){if(!i)return e;var n=this.project(e,t),r=this.getSize().divideBy(2),s=new H(n.subtract(r),n.add(r)),o=this._getBoundsOffset(s,i,t);return 1>=Math.abs(o.x)&&1>=Math.abs(o.y)?e:this.unproject(n.add(o),t)},_limitOffset:function(e,t){if(!t)return e;var i=this.getPixelBounds(),n=new H(i.min.add(e),i.max.add(e));return e.add(this._getBoundsOffset(n,t))},_getBoundsOffset:function(e,t,i){var n=W(this.project(t.getNorthEast(),i),this.project(t.getSouthWest(),i)),r=n.min.subtract(e.min),s=n.max.subtract(e.max);return new $(this._rebound(r.x,-s.x),this._rebound(r.y,-s.y))},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),i=this.getMaxZoom(),n=eB.any3d?this.options.zoomSnap:1;return n&&(e=Math.round(e/n)*n),Math.max(t,Math.min(i,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){e6(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var i=this._getCenterOffset(e)._trunc();return(!0===(t&&t.animate)||!!this.getSize().contains(i))&&(this.panBy(i,t),!0)},_createAnimProxy:function(){var e=this._proxy=e0("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(e){var t=this._proxy.style[eX];ti(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),t===this._proxy.style[eX]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){e1(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();ti(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(t),r=this._getCenterOffset(e)._divideBy(1-1/n);return(!0===i.animate||!!this.getSize().contains(r))&&(D(function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(e,t,!0)},this),!0)},_animateZoom:function(e,t,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,e4(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(p(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&e6(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}}),tk=j.extend({options:{position:"topright"},initialize:function(e){x(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),i=this.getPosition(),n=e._controlCorners[i];return e4(t,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(t,n.firstChild):n.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(e1(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),tA=function(e){return new tk(e)};tO.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this}
vendor: 9,539 bytes, line 3
3,_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",i=this._controlContainer=e0("div",t+"control-container",this._container);function n(n,r){e[n+r]=e0("div",t+n+" "+t+r,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)e1(this._controlCorners[e]);e1(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var tz=tk.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,i,n){return i<n?-1:+(n<i)}},initialize:function(e,t,i){for(var n in x(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,e)this._addLayer(e[n],n);for(n in t)this._addLayer(t[n],n,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return tk.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off("add remove",this._onLayerChange,this);var t=this._getLayer(m(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){e4(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(e4(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):e6(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return e6(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",t=this._container=e0("div",e),i=this.options.collapsed;t.setAttribute("aria-haspopup",!0),tw(t),tb(t);var n=this._section=e0("section",e+"-list");i&&(this._map.on("click",this.collapse,this),th(t,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var r=this._layersLink=e0("a",e+"-toggle",t);r.href="#",r.title="Layers",r.setAttribute("role","button"),th(r,{keydown:function(e){13===e.keyCode&&this._expandSafely()},click:function(e){tx(e),this._expandSafely()}},this),i||this.expand(),this._baseLayersList=e0("div",e+"-base",n),this._separator=e0("div",e+"-separator",n),this._overlaysList=e0("div",e+"-overlays",n),t.appendChild(n)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&m(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,i){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:i}),this.options.sortLayers&&this._layers.sort(p(function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;e2(this._baseLayersList),e2(this._overlaysList),this._layerControlInputs=[];var e,t,i,n,r=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),t=t||n.overlay,e=e||!n.overlay,r+=+!n.overlay;return this.options.hideSingleBase&&(e=e&&r>1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(m(e.target)),i=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;i&&this._map.fire(i,t)},_createRadioElement:function(e,t){var i=document.createElement("div");return i.innerHTML='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(t?' checked="checked"':"")+"/>",i.firstChild},_addItem:function(e){var t,i=document.createElement("label"),n=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=n):t=this._createRadioElement("leaflet-base-layers_"+m(this),n),this._layerControlInputs.push(t),t.layerId=m(e.layer),th(t,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+e.name;var s=document.createElement("span");return i.appendChild(s),s.appendChild(t),s.appendChild(r),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var e,t,i=this._layerControlInputs,n=[],r=[];this._handlingClick=!0;for(var s=i.length-1;s>=0;s--)e=i[s],t=this._getLayer(e.layerId).layer,e.checked?n.push(t):e.checked||r.push(t);for(s=0;s<r.length;s++)this._map.hasLayer(r[s])&&this._map.removeLayer(r[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var e,t,i=this._layerControlInputs,n=this._map.getZoom(),r=i.length-1;r>=0;r--)e=i[r],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&n<t.options.minZoom||void 0!==t.options.maxZoom&&n>t.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,th(e,"click",tx),this.expand();var t=this;setTimeout(function(){tf(e,"click",tx),t._preventClick=!1})}}),tI=tk.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",i=e0("div",t+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,t+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,t+"-out",i,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,i,n,r){var s=e0("a",i,n);return s.innerHTML=e,s.href="#",s.title=t,s.setAttribute("role","button"),s.setAttribute("aria-label",t),tw(s),th(s,"click",tE),th(s,"click",r,this),th(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";e6(this._zoomInButton,t),e6(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(e4(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(e4(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}});tO.mergeOptions({zoomControl:!0}),tO.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new tI,this.addControl(this.zoomControl))});var tD=tk.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",i=e0("div",t),n=this.options;return this._addScales(n,t+"-line",i),e.on(n.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),i},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,i){e.metric&&(this._mScale=e0("div",t,i)),e.imperial&&(this._iScale=e0("div",t,i))},_update:function(){var e=this._map,t=e.getSize().y/2,i=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(i)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e);this._updateScale(this._mScale,t<1e3?t+" m":t/1e3+" km",t/e)},_updateImperial:function(e){var t,i,n,r=3.2808399*e;r>5280?(t=r/5280,i=this._getRoundNum(t),this._updateScale(this._iScale,i+" mi",i/t)):(n=this._getRoundNum(r),this._updateScale(this._iScale,n+" ft",n/r))},_updateScale:function(e,t,i){e.style.width=Math.round(this.options.maxWidth*i)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),i=e/t;return t*(i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),tB=tk.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(eB.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(e){x(this,e),this._attributions={}}
3,onAdd:function(e){for(var t in e.attributionControl=this,this._container=e0("div","leaflet-control-attribution"),tw(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e&&(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update()),this},removeAttribution:function(e){return e&&this._attributions[e]&&(this._attributions[e]--,this._update()),this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var i=[];this.options.prefix&&i.push(this.options.prefix),e.length&&i.push(e.join(", ")),this._container.innerHTML=i.join(' <span aria-hidden="true">|</span> ')}}});tO.mergeOptions({attributionControl:!0}),tO.addInitHook(function(){this.options.attributionControl&&new tB().addTo(this)}),tk.Layers=tz,tk.Zoom=tI,tk.Scale=tD,tk.Attribution=tB,tA.layers=function(e,t,i){return new tz(e,t,i)},tA.zoom=function(e){return new tI(e)},tA.scale=function(e){return new tD(e)},tA.attribution=function(e){return new tB(e)};var tj=j.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});tj.addTo=function(e,t){return e.addHandler(t,this),this};var tN=eB.touch?"touchstart mousedown":"mousedown",tR=R.extend({options:{clickTolerance:3},initialize:function(e,t,i,n){x(this,n),this._element=e,this._dragStartTarget=t||e,this._preventOutline=i},enable:function(){this._enabled||(th(this._dragStartTarget,tN,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(tR._dragging===this&&this.finishDrag(!0),tf(this._dragStartTarget,tN,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(!(!this._enabled||(this._moved=!1,e5(this._element,"leaflet-zoom-anim")))){if(e.touches&&1!==e.touches.length){tR._dragging===this&&this.finishDrag();return}if(!tR._dragging&&!e.shiftKey&&(1===e.which||1===e.button||e.touches)&&(tR._dragging=this,this._preventOutline&&tl(this._element),to(),i(),!this._moving)){this.fire("down");var t=e.touches?e.touches[0]:e,n=tu(this._element);this._startPoint=new $(t.clientX,t.clientY),this._startPos=tr(this._element),this._parentScale=td(n);var r="mousedown"===e.type;th(document,r?"mousemove":"touchmove",this._onMove,this),th(document,r?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var t=e.touches&&1===e.touches.length?e.touches[0]:e,i=new $(t.clientX,t.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)<this.options.clickTolerance||(i.x/=this._parentScale.x,i.y/=this._parentScale.y,tx(e),this._moved||(this.fire("dragstart"),this._moved=!0,e4(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),e4(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,this._lastEvent=e,this._updatePosition()))}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),tn(this._element,this._newPos),this.fire("drag",e)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(e){e6(document.body,"leaflet-dragging"),this._lastTarget&&(e6(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),tf(document,"mousemove touchmove",this._onMove,this),tf(document,"mouseup touchend touchcancel",this._onUp,this),ta(),n();var t=this._moved&&this._moving;this._moving=!1,tR._dragging=!1,t&&this.fire("dragend",{noInertia:e,distance:this._newPos.distanceTo(this._startPos)})}});function t$(e,t,i){var n,r,s,o,a,l,c,u,d,h=[1,4,2,8];for(r=0,c=e.length;r<c;r++)e[r]._code=tV(e[r],t);for(o=0;o<4;o++){for(r=0,u=h[o],n=[],s=(c=e.length)-1;r<c;s=r++)a=e[r],l=e[s],a._code&u?l._code&u||((d=tG(l,a,u,t,i))._code=tV(d,t),n.push(d)):(l._code&u&&((d=tG(l,a,u,t,i))._code=tV(d,t),n.push(d)),n.push(a));e=n}return e}function tZ(e,t){if(!e||0===e.length)throw Error("latlngs not passed");tX(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var i,n,r,s,o,a,l,c,u,d=Y([0,0]),h=G(e);
vendor: 2,151 bytes, line 3
3h.getNorthWest().distanceTo(h.getSouthWest())*h.getNorthEast().distanceTo(h.getNorthWest())<1700&&(d=tF(e));var p=e.length,f=[];for(i=0;i<p;i++){var m=Y(e[i]);f.push(t.project(Y([m.lat-d.lat,m.lng-d.lng])))}for(i=0,a=l=c=0,n=p-1;i<p;n=i++)r=f[i],s=f[n],o=r.y*s.x-s.y*r.x,l+=(r.x+s.x)*o,c+=(r.y+s.y)*o,a+=3*o;u=0===a?f[0]:[l/a,c/a];var v=t.unproject(F(u));return Y([v.lat+d.lat,v.lng+d.lng])}function tF(e){for(var t=0,i=0,n=0,r=0;r<e.length;r++){var s=Y(e[r]);t+=s.lat,i+=s.lng,n++}return Y([t/n,i/n])}function tH(e,t){if(!t||!e.length)return e.slice();var i=t*t;return function(e,t){var i=e.length,n=new("u">typeof Uint8Array?Uint8Array:Array)(i);n[0]=n[i-1]=1,function e(t,i,n,r,s){var o,a,l,c=0;for(a=r+1;a<=s-1;a++)(l=tY(t[a],t[r],t[s],!0))>c&&(o=a,c=l);c>n&&(i[o]=1,e(t,i,n,r,o),e(t,i,n,o,s))}(e,n,t,0,i-1);var r,s=[];for(r=0;r<i;r++)n[r]&&s.push(e[r]);return s}(e=function(e,t){for(var i=[e[0]],n=1,r=0,s=e.length;n<s;n++)(function(e,t){var i=t.x-e.x,n=t.y-e.y;return i*i+n*n})(e[n],e[r])>t&&(i.push(e[n]),r=n);return r<s-1&&i.push(e[s-1]),i}(e,i),i)}function tW(e,t,i){return Math.sqrt(tY(e,t,i,!0))}function tq(e,t,i,n,r){var s,o,l,c=n?a:tV(e,i),u=tV(t,i);for(a=u;;){if(!(c|u))return[e,t];if(c&u)return!1;l=tV(o=tG(e,t,s=c||u,i,r),i),s===c?(e=o,c=l):(t=o,u=l)}}function tG(e,t,i,n,r){var s,o,a=t.x-e.x,l=t.y-e.y,c=n.min,u=n.max;return 8&i?(s=e.x+a*(u.y-e.y)/l,o=u.y):4&i?(s=e.x+a*(c.y-e.y)/l,o=c.y):2&i?(s=u.x,o=e.y+l*(u.x-e.x)/a):1&i&&(s=c.x,o=e.y+l*(c.x-e.x)/a),new $(s,o,r)}function tV(e,t){var i=0;return e.x<t.min.x?i|=1:e.x>t.max.x&&(i|=2),e.y<t.min.y?i|=4:e.y>t.max.y&&(i|=8),i}function tY(e,t,i,n){var r,s=t.x,o=t.y,a=i.x-s,l=i.y-o,c=a*a+l*l;return c>0&&((r=((e.x-s)*a+(e.y-o)*l)/c)>1?(s=i.x,o=i.y):r>0&&(s+=a*r,o+=l*r)),a=e.x-s,l=e.y-o,n?a*a+l*l:new $(s,o)}function tX(e){return!M(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function tU(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),tX(e)}function tK(e,t){if(!e||0===e.length)throw Error("latlngs not passed");tX(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var i,n,r,s,o,a,l,c,u=Y([0,0]),d=G(e);
3d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(u=tF(e));var h=e.length,p=[];for(i=0;i<h;i++){var f=Y(e[i]);p.push(t.project(Y([f.lat-u.lat,f.lng-u.lng])))}for(i=0,n=0;i<h-1;i++)n+=p[i].distanceTo(p[i+1])/2;if(0===n)c=p[0];else for(i=0,s=0;i<h-1;i++)if(o=p[i],a=p[i+1],(s+=r=o.distanceTo(a))>n){l=(s-n)/r,c=[a.x-l*(a.x-o.x),a.y-l*(a.y-o.y)];break}var m=t.unproject(F(c));return Y([m.lat+u.lat,m.lng+u.lng])}var tJ={project:function(e){return new $(e.lng,e.lat)},unproject:function(e){return new V(e.y,e.x)},bounds:new H([-180,-90],[180,90])},tQ={R:6378137,R_MINOR:6356752.314245179,bounds:new H([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,i=this.R,n=e.lat*t,r=this.R_MINOR/i,s=Math.sqrt(1-r*r),o=s*Math.sin(n);return n=-i*Math.log(Math.max(Math.tan(Math.PI/4-n/2)/Math.pow((1-o)/(1+o),s/2),1e-10)),new $(e.lng*t*i,n)},unproject:function(e){for(var t,i=180/Math.PI,n=this.R,r=this.R_MINOR/n,s=Math.sqrt(1-r*r),o=Math.exp(-e.y/n),a=Math.PI/2-2*Math.atan(o),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)c=Math.PI/2-2*Math.atan(o*(t=Math.pow((1-(t=s*Math.sin(a)))/(1+t),s/2)))-a,a+=c;return new V(a*i,e.x*i/n)}},t0=t({},U,{code:"EPSG:3395",projection:tQ,transformation:Q(d=.5/(Math.PI*tQ.R),.5,-d,.5)}),t1=t({},U,{code:"EPSG:4326",projection:tJ,transformation:Q(1/180,1,-1/180,.5)}),t2=t({},X,{projection:tJ,transformation:Q(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var i=t.lng-e.lng,n=t.lat-e.lat;return Math.sqrt(i*i+n*n)},infinite:!0});X.Earth=U,X.EPSG3395=t0,X.EPSG3857=ee,X.EPSG900913=et,X.EPSG4326=t1,X.Simple=t2;var t3=R.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[m(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[m(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var i=this.getEvents();t.on(i,this),this.once("remove",function(){t.off(i,this)},this)}this.onAdd(t),this.fire("add"),t.fire("layeradd",{layer:this})}}});tO.include({addLayer:function(e){if(!e._layerAdd)throw Error("The provided object is not a Layer.");var t=m(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=m(e);return this._layers[t]&&(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null),this},hasLayer:function(e){return m(e)in this._layers},eachLayer:function(e,t){for(var i in this._layers)e.call(t,this._layers[i]);return this},_addLayers:function(e){e=e?M(e)?e:[e]:[];for(var t=0,i=e.length;t<i;t++)this.addLayer(e[t])},_addZoomLimit:function(e){isNaN(e.options.maxZoom)&&isNaN(e.options.minZoom)||(this._zoomBoundLayers[m(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=m(e);
vendor: 8,654 bytes, line 3
3this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,i=this._getZoomSpan();for(var n in this._zoomBoundLayers){var r=this._zoomBoundLayers[n].options;e=void 0===r.minZoom?e:Math.min(e,r.minZoom),t=void 0===r.maxZoom?t:Math.max(t,r.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,i!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var t8=t3.extend({initialize:function(e,t){var i,n;if(x(this,t),this._layers={},e)for(i=0,n=e.length;i<n;i++)this.addLayer(e[i])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){return("number"==typeof e?e:this.getLayerId(e))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t,i,n=Array.prototype.slice.call(arguments,1);for(t in this._layers)(i=this._layers[t])[e]&&i[e].apply(i,n);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var i in this._layers)e.call(t,this._layers[i]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:function(e){return m(e)}}),t5=t8.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),t8.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),t8.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e=new q;for(var t in this._layers){var i=this._layers[t];e.extend(i.getBounds?i.getBounds():i.getLatLng())}return e}}),t4=j.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(e){x(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var i=this._getIconUrl(e);if(!i){if("icon"===e)throw Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,t&&"IMG"===t.tagName?t:null);return this._setIconStyles(n,e),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n},_setIconStyles:function(e,t){var i=this.options,n=i[t+"Size"];"number"==typeof n&&(n=[n,n]);var r=F(n),s=F("shadow"===t&&i.shadowAnchor||i.iconAnchor||r&&r.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(i.className||""),s&&(e.style.marginLeft=-s.x+"px",e.style.marginTop=-s.y+"px"),r&&(e.style.width=r.x+"px",e.style.height=r.y+"px")},_createImg:function(e,t){return(t=t||document.createElement("img")).src=e,t},_getIconUrl:function(e){return eB.retina&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}}),t6=t4.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return"string"!=typeof t6.imagePath&&(t6.imagePath=this._detectIconPath()),(this.options.imagePath||t6.imagePath)+t4.prototype._getIconUrl.call(this,e)},_stripUrl:function(e){var t=function(e,t,i){var n=t.exec(e);return n&&n[i]};return(e=t(e,/^url\((['"])?(.+)\1\)$/,2))&&t(e,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var e=e0("div","leaflet-default-icon-path",document.body),t=eQ(e,"background-image")||eQ(e,"backgroundImage");if(document.body.removeChild(e),t=this._stripUrl(t))return t;var i=document.querySelector('link[href$="leaflet.css"]');return i?i.href.substring(0,i.href.length-11-1):""}}),t9=tj.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new tR(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),e4(e,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&e6(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,i=t._map,n=this._marker.options.autoPanSpeed,r=this._marker.options.autoPanPadding,s=tr(t._icon),o=i.getPixelBounds(),a=i.getPixelOrigin(),l=W(o.min._subtract(a).add(r),o.max._subtract(a).subtract(r));if(!l.contains(s)){var c=F((Math.max(l.max.x,s.x)-l.max.x)/(o.max.x-l.max.x)-(Math.min(l.min.x,s.x)-l.min.x)/(o.min.x-l.min.x),(Math.max(l.max.y,s.y)-l.max.y)/(o.max.y-l.max.y)-(Math.min(l.min.y,s.y)-l.min.y)/(o.min.y-l.min.y)).multiplyBy(n);i.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),tn(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=D(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(e){this._marker.options.autoPan&&(B(this._panRequest),this._panRequest=D(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,i=t._shadow,n=tr(t._icon),r=t._map.layerPointToLatLng(n);i&&tn(i,n),t._latlng=r,e.latlng=r,e.oldLatLng=this._oldLatLng,t.fire("move",e).fire("drag",e)},_onDragEnd:function(e){B(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),t7=t3.extend({options:{icon:new t6,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){x(this,t),this._latlng=Y(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=Y(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=e.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,e.title&&(i.title=e.title),"IMG"===i.tagName&&(i.alt=e.alt||"")),e4(i,t),e.keyboard&&(i.tabIndex="0",i.setAttribute("role","button")),this._icon=i,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&th(i,"focus",this._panOnFocus,this);var r=e.icon.createShadow(this._shadow),s=!1;r!==this._shadow&&(this._removeShadow(),s=!0),r&&(e4(r,t),r.alt=""),this._shadow=r,e.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),r&&s&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}
vendor: 5,487 bytes, line 3
3),this.options.autoPanOnFocus&&tf(this._icon,"focus",this._panOnFocus,this),e1(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&e1(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&tn(this._icon,e),this._shadow&&tn(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(e4(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),t9)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new t9(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&te(this._icon,e),this._shadow&&te(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var e=this._map;if(e){var t=this.options.icon.options,i=t.iconSize?F(t.iconSize):F(0,0),n=t.iconAnchor?F(t.iconAnchor):F(0,0);e.panInside(this._latlng,{paddingTopLeft:n,paddingBottomRight:i.subtract(n)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),ie=t3.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return x(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e&&Object.prototype.hasOwnProperty.call(e,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),it=ie.extend({options:{fill:!0,radius:10},initialize:function(e,t){x(this,t),this._latlng=Y(e),this._radius=this.options.radius},setLatLng:function(e){var t=this._latlng;return this._latlng=Y(e),this.redraw(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return ie.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,i=this._clickTolerance(),n=[e+i,t+i];this._pxBounds=new H(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),ii=it.extend({initialize:function(e,i,n){if("number"==typeof i&&(i=t({},n,{radius:i})),x(this,i),this._latlng=Y(e),isNaN(this.options.radius))throw Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new q(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:ie.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===U.distance){var r=Math.PI/180,s=this._mRadius/U.R/r,o=i.project([t+s,e]),a=i.project([t-s,e]),l=o.add(a).divideBy(2),c=i.unproject(l).lat,u=Math.acos((Math.cos(s*r)-Math.sin(t*r)*Math.sin(c*r))/(Math.cos(t*r)*Math.cos(c*r)))/r;(isNaN(u)||0===u)&&(u=s/Math.cos(Math.PI/180*t)),this._point=l.subtract(i.getPixelOrigin()),this._radius=isNaN(u)?0:l.x-i.project([c,e-u]).x,this._radiusY=l.y-o.y}else{var d=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(d).x}this._updateBounds()}}),ir=ie.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){x(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t,i,n=1/0,r=null,s=tY,o=0,a=this._parts.length;o<a;o++)for(var l=this._parts[o],c=1,u=l.length;c<u;c++){var d=s(e,t=l[c-1],i=l[c],!0);d<n&&(n=d,r=s(e,t,i))}return r&&(r.distance=Math.sqrt(n)),r}
vendor: 9,676 bytes, line 3
3,getCenter:function(){if(!this._map)throw Error("Must add layer to map before using getCenter()");return tK(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=Y(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new q,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return tX(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],i=tX(e),n=0,r=e.length;n<r;n++)i?(t[n]=Y(e[n]),this._bounds.extend(t[n])):t[n]=this._convertLatLngs(e[n]);return t},_project:function(){var e=new H;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new $(e,e);this._rawPxBounds&&(this._pxBounds=new H([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(e,t,i){var n,r,s=e[0]instanceof V,o=e.length;if(s){for(n=0,r=[];n<o;n++)r[n]=this._map.latLngToLayerPoint(e[n]),i.extend(r[n]);t.push(r)}else for(n=0;n<o;n++)this._projectLatlngs(e[n],t,i)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip){this._parts=this._rings;return}var t,i,n,r,s,o,a,l=this._parts;for(t=0,n=0,r=this._rings.length;t<r;t++)for(i=0,s=(a=this._rings[t]).length;i<s-1;i++)(o=tq(a[i],a[i+1],e,i,!0))&&(l[n]=l[n]||[],l[n].push(o[0]),(o[1]!==a[i+1]||i===s-2)&&(l[n].push(o[1]),n++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,i=0,n=e.length;i<n;i++)e[i]=tH(e[i],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var i,n,r,s,o,a,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(i=0,s=this._parts.length;i<s;i++)for(n=0,r=(o=(a=this._parts[i]).length)-1;n<o;r=n++)if((t||0!==n)&&tW(e,a[r],a[n])<=l)return!0;return!1}});ir._flat=tU;var is=ir.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw Error("Must add layer to map before using getCenter()");return tZ(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(e){var t=ir.prototype._convertLatLngs.call(this,e),i=t.length;return i>=2&&t[0]instanceof V&&t[0].equals(t[i-1])&&t.pop(),t},_setLatLngs:function(e){ir.prototype._setLatLngs.call(this,e),tX(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return tX(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,i=new $(t,t);if(e=new H(e.min.subtract(i),e.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip){this._parts=this._rings;return}for(var n,r=0,s=this._rings.length;r<s;r++)(n=t$(this._rings[r],e,!0)).length&&this._parts.push(n)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t,i,n,r,s,o,a,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(r=0,a=this._parts.length;r<a;r++)for(s=0,o=(l=(t=this._parts[r]).length)-1;s<l;o=s++)i=t[s],n=t[o],i.y>e.y!=n.y>e.y&&e.x<(n.x-i.x)*(e.y-i.y)/(n.y-i.y)+i.x&&(c=!c);return c||ir.prototype._containsPoint.call(this,e,!0)}}),io=t5.extend({initialize:function(e,t){x(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,i,n,r=M(e)?e:e.features;if(r){for(t=0,i=r.length;t<i;t++)((n=r[t]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(e))return this;var o=ia(e,s);return o?(o.feature=im(e),o.defaultOptions=o.options,this.resetStyle(o),s.onEachFeature&&s.onEachFeature(e,o),this.addLayer(o)):this},resetStyle:function(e){return void 0===e?this.eachLayer(this.resetStyle,this):(e.options=t({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(e,t){e.setStyle&&("function"==typeof t&&(t=t(e.feature)),e.setStyle(t))}});function ia(e,t){var i,n,r,s="Feature"===e.type?e.geometry:e,o=s?s.coordinates:null,a=[],l=t&&t.pointToLayer,c=t&&t.coordsToLatLng||ic;if(!o&&!s)return null;switch(s.type){case"Point":return il(l,e,i=c(o),t);case"MultiPoint":for(n=0,r=o.length;n<r;n++)i=c(o[n]),a.push(il(l,e,i,t));return new t5(a);case"LineString":case"MultiLineString":return new ir(iu(o,+("LineString"!==s.type),c),t);case"Polygon":case"MultiPolygon":return new is(iu(o,"Polygon"===s.type?1:2,c),t);case"GeometryCollection":for(n=0,r=s.geometries.length;n<r;n++){var u=ia({geometry:s.geometries[n],type:"Feature",properties:e.properties},t);u&&a.push(u)}return new t5(a);case"FeatureCollection":for(n=0,r=s.features.length;n<r;n++){var d=ia(s.features[n],t);d&&a.push(d)}return new t5(a);default:throw Error("Invalid GeoJSON object.")}}function il(e,t,i,n){return e?e(t,i):new t7(i,n&&n.markersInheritOptions&&n)}function ic(e){return new V(e[1],e[0],e[2])}function iu(e,t,i){for(var n=[],r=0,s=e.length;r<s;r++)n.push(t?iu(e[r],t-1,i):(i||ic)(e[r]));return n}function id(e,t){return void 0!==(e=Y(e)).alt?[y(e.lng,t),y(e.lat,t),y(e.alt,t)]:[y(e.lng,t),y(e.lat,t)]}function ih(e,t,i,n){for(var r=[],s=0,o=e.length;s<o;s++)r.push(t?ih(e[s],tX(e[s])?0:t-1,i,n):id(e[s],n));return!t&&i&&r.length>0&&r.push(r[0].slice()),r}function ip(e,i){return e.feature?t({},e.feature,{geometry:i}):im(i)}function im(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}var iv={toGeoJSON:function(e){return ip(this,{type:"Point",coordinates:id(this.getLatLng(),e)})}};function ig(e,t){return new io(e,t)}t7.include(iv),ii.include(iv),it.include(iv),ir.include({toGeoJSON:function(e){var t=!tX(this._latlngs),i=ih(this._latlngs,+!!t,!1,e);return ip(this,{type:(t?"Multi":"")+"LineString",coordinates:i})}}),is.include({toGeoJSON:function(e){var t=!tX(this._latlngs),i=t&&!tX(this._latlngs[0]),n=ih(this._latlngs,i?2:+!!t,!0,e);return t||(n=[n]),ip(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),t8.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(i){t.push(i.toGeoJSON(e).geometry.coordinates)}),ip(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var i="GeometryCollection"===t,n=[];return(this.eachLayer(function(t){if(t.toGeoJSON){var r=t.toGeoJSON(e);if(i)n.push(r.geometry);else{var s=im(r);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}}),i)?ip(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var i_=t3.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,i){this._url=e,this._bounds=G(t),x(this,i)},onAdd:function(){!this._image&&(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(e4(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){e1(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&e3(this._image),this},bringToBack:function(){return this._map&&e8(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=G(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:e0("img");if(e4(t,"leaflet-image-layer"),this._zoomAnimated&&e4(t,"leaflet-zoom-animated"),this.options.className&&e4(t,this.options.className),t.onselectstart=_,t.onmousemove=_,t.onload=p(this.fire,this,"load"),t.onerror=p(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=t.src;return}t.src=this._url,t.alt=this.options.alt},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;ti(this._image,i,t)},_reset:function(){var e=this._image,t=new H(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=t.getSize();tn(e,t.min),e.style.width=i.x+"px",e.style.height=i.y+"px"},_updateOpacity:function(){te(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),iy=i_.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInl
vendor: 5,599 bytes, line 3
3ine:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:e0("video");if(e4(t,"leaflet-image-layer"),this._zoomAnimated&&e4(t,"leaflet-zoom-animated"),this.options.className&&e4(t,this.options.className),t.onselectstart=_,t.onmousemove=_,t.onloadeddata=p(this.fire,this,"load"),e){for(var i=t.getElementsByTagName("source"),n=[],r=0;r<i.length;r++)n.push(i[r].src);this._url=i.length>0?n:[t.src];return}M(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var s=0;s<this._url.length;s++){var o=e0("source");o.src=this._url[s],t.appendChild(o)}}}),ib=i_.extend({_initImage:function(){var e=this._image=this._url;e4(e,"leaflet-image-layer"),this._zoomAnimated&&e4(e,"leaflet-zoom-animated"),this.options.className&&e4(e,this.options.className),e.onselectstart=_,e.onmousemove=_}}),iw=t3.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(e,t){e&&(e instanceof V||M(e))?(this._latlng=Y(e),x(this,t)):(x(this,e),this._source=t),this.options.content&&(this._content=this.options.content)},openOn:function(e){return e=arguments.length?e:this._source._map,e.hasLayer(this)||e.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(e){return this._map?this.close():(arguments.length?this._source=e:e=this._source,this._prepareOpen(),this.openOn(e._map)),this},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&te(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&te(this._container,1),this.bringToFront(),this.options.interactive&&(e4(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(e){e._fadeAnimated?(te(this._container,0),this._removeTimeout=setTimeout(p(e1,void 0,this._container),200)):e1(this._container),this.options.interactive&&(e6(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=Y(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&e3(this._container),this},bringToBack:function(){return this._map&&e8(this._container),this},_prepareOpen:function(e){var t=this._source;if(!t._map)return!1;if(t instanceof t5){t=null;var i=this._source._layers;for(var n in i)if(i[n]._map){t=i[n];break}if(!t)return!1;this._source=t}if(!e)if(t.getCenter)e=t.getCenter();else if(t.getLatLng)e=t.getLatLng();else if(t.getBounds)e=t.getBounds().getCenter();else throw Error("Unable to get source layer LatLng.");return this.setLatLng(e),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var e=this._contentNode,t="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof t)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=F(this.options.offset),i=this._getAnchor();this._zoomAnimated?tn(this._container,e.add(i)):t=t.add(e).add(i);var n=this._containerBottom=-t.y,r=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=n+"px",this._container.style.left=r+"px"}},_getAnchor:function(){return[0,0]}});tO.include({_initOverlay:function(e,t,i,n){var r=t;return r instanceof e||(r=new e(n).setContent(t)),i&&r.setLatLng(i),r}}),t3.include({_initOverlay:function(e,t,i,n){var r=i;return r instanceof e?(x(r,n),r._source=this):(r=t&&!n?t:new e(n,this)).setContent(i),r}});var ix=iw.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return e=arguments.length?e:this._source._map,!e.hasLayer(this)&&e._popup&&e._popup.options.autoClose&&e.removeLayer(e._popup),e._popup=this,iw.prototype.openOn.call(this,e)},onAdd:function(e){iw.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof ie||this._source.on("preclick",ty))},onRemove:function(e){iw.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof ie||this._source.off("preclick",ty))},getEvents:function(){var e=iw.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this.close),this.options.keepInView&&
vendor: 40,553 bytes, line 3
3(e.moveend=this._adjustPan),e},_initLayout:function(){var e="leaflet-popup",t=this._container=e0("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=e0("div",e+"-content-wrapper",t);if(this._contentNode=e0("div",e+"-content",i),tw(t),tb(this._contentNode),th(t,"contextmenu",ty),this._tipContainer=e0("div",e+"-tip-container",t),this._tip=e0("div",e+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=e0("a",e+"-close-button",t);n.setAttribute("role","button"),n.setAttribute("aria-label","Close popup"),n.href="#close",n.innerHTML='<span aria-hidden="true">×</span>',th(n,"click",function(e){tx(e),this.close()},this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var i=e.offsetWidth;t.width=(i=Math.max(i=Math.min(i,this.options.maxWidth),this.options.minWidth))+1+"px",t.whiteSpace="",t.height="";var n=e.offsetHeight,r=this.options.maxHeight,s="leaflet-popup-scrolled";r&&n>r?(t.height=r+"px",e4(e,s)):e6(e,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),i=this._getAnchor();tn(this._container,t.add(i))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var e=this._map,t=parseInt(eQ(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+t,n=this._containerWidth,r=new $(this._containerLeft,-i-this._containerBottom);r._add(tr(this._container));var s=e.layerPointToContainerPoint(r),o=F(this.options.autoPanPadding),a=F(this.options.autoPanPaddingTopLeft||o),l=F(this.options.autoPanPaddingBottomRight||o),c=e.getSize(),u=0,d=0;s.x+n+l.x>c.x&&(u=s.x+n-c.x+l.x),s.x-u-a.x<0&&(u=s.x-a.x),s.y+i+l.y>c.y&&(d=s.y+i-c.y+l.y),s.y-d-a.y<0&&(d=s.y-a.y),(u||d)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([u,d]))}},_getAnchor:function(){return F(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});tO.mergeOptions({closePopupOnClick:!0}),tO.include({openPopup:function(e,t,i){return this._initOverlay(ix,e,t,i).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),t3.include({bindPopup:function(e,t){return this._popup=this._initOverlay(ix,this._popup,e,t),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof t5||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){tE(e);var t=e.layer||e.target;if(this._popup._source===t&&!(t instanceof ie))return void(this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng));this._popup._source=t,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var iE=iw.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){iw.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){iw.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=iw.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=e0("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+m(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,i,n=this._map,r=this._container,s=n.latLngToContainerPoint(n.getCenter()),o=n.layerPointToContainerPoint(e),a=this.options.direction,l=r.offsetWidth,c=r.offsetHeight,u=F(this.options.offset),d=this._getAnchor();"top"===a?(t=l/2,i=c):"bottom"===a?(t=l/2,i=0):("center"===a?t=l/2:"right"===a?t=0:"left"===a?t=l:o.x<s.x?(a="right",t=0):(a="left",t=l+(u.x+d.x)*2),i=c/2),e=e.subtract(F(t,i,!0)).add(u).add(d),e6(r,"leaflet-tooltip-right"),e6(r,"leaflet-tooltip-left"),e6(r,"leaflet-tooltip-top"),e6(r,"leaflet-tooltip-bottom"),e4(r,"leaflet-tooltip-"+a),tn(r,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&te(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return F(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});tO.include({openTooltip:function(e,t,i){return this._initOverlay(iE,e,t,i).openOn(this),this},closeTooltip:function(e){return e.close(),this}}),t3.include({bindTooltip:function(e,t){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(iE,this._tooltip,e,t),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){if(e||!this._tooltipHandlersAdded){var t={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?t.add=this._openTooltip:(t.mouseover=this._openTooltip,t.mouseout=this.closeTooltip,t.click=this._openTooltip,this._map?this._addFocusListeners():t.add=this._addFocusListeners),this._tooltip.options.sticky&&(t.mousemove=this._moveTooltip),this[e?"off":"on"](t),this._tooltipHandlersAdded=!e}},openTooltip:function(e){return this._tooltip&&(this instanceof t5||(this._tooltip._source=this),this._tooltip._prepareOpen(e)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(e){var t="function"==typeof e.getElement&&e.getElement();t&&(th(t,"focus",function(){this._tooltip._source=e,this.openTooltip()},this),th(t,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(e){var t="function"==typeof e.getElement&&e.getElement();t&&t.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(e){if(this._tooltip&&this._map){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var t=this;this._map.once("moveend",function(){t._openOnceFlag=!1,t._openTooltip(e)});return}this._tooltip._source=e.layer||e.target,this.openTooltip(this._tooltip.options.sticky?e.latlng:void 0)}},_moveTooltip:function(e){var t,i,n=e.latlng;this._tooltip.options.sticky&&e.originalEvent&&(t=this._map.mouseEventToContainerPoint(e.originalEvent),i=this._map.containerPointToLayerPoint(t),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}});var iS=t4.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&"DIV"===e.tagName?e:document.createElement("div"),i=this.options;if(i.html instanceof Element?(e2(t),t.appendChild(i.html)):t.innerHTML=!1!==i.html?i.html:"",i.bgPos){var n=F(i.bgPos);t.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}});t4.Default=t6;var iT=t3.extend({options:{tileSize:256,opacity:1,updateWhenIdle:eB.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){x(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),e1(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(e3(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(e8(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var e=this._clampZoom(this._map.getZoom());e!==this._tileZoom&&(this._tileZoom=e,this._updateLevels()),this._update()}return this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=v(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof $?e:new $(e,e)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t,i=this.getPane().children,n=-e(-1/0,1/0),r=0,s=i.length;r<s;r++)t=i[r].style.zIndex,i[r]!==this._container&&t&&(n=e(n,+t));isFinite(n)&&(this.options.zIndex=n+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!eB.ielt9){te(this._container,this.options.opacity);var e=+new Date,t=!1,i=!1;for(var n in this._tiles){var r=this._tiles[n];if(r.current&&r.loaded){var s=Math.min(1,(e-r.loaded)/200);te(r.el,s),s<1?t=!0:(r.active?i=!0:this._onOpaqueTile(r),r.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),t&&(B(this._fadeFrame),this._fadeFrame=D(this._updateOpacity,this))}},_onOpaqueTile:_,_initContainer:function(){this._container||(this._container=e0("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(void 0!==e){for(var i in this._levels)i=Number(i),this._levels[i].el.children.length||i===e?(this._levels[i].el.style.zIndex=t-Math.abs(e-i),this._onUpdateLevel(i)):(e1(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[e],r=this._map;return n||((n=this._levels[e]={}).el=e0("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=t,n.origin=r.project(r.unproject(r.getPixelOrigin()),e).round(),n.zoom=e,this._setZoomTransform(n,r.getCenter(),r.getZoom()),_(n.el.offsetWidth),this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:_,_onRemoveLevel:_,_onCreateLevel:_,_pruneTiles:function(){if(this._map){var e,t,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)return void this._removeAllTiles();for(e in this._tiles)(t=this._tiles[e]).retain=t.current;for(e in this._tiles)if((t=this._tiles[e]).current&&!t.active){var n=t.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)e1(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,i,n){var r=Math.floor(e/2),s=Math.floor(t/2),o=i-1,a=new $(+r,+s);a.z=+o;var l=this._tileCoordsToKey(a),c=this._tiles[l];return c&&c.active?(c.retain=!0,!0):(c&&c.loaded&&(c.retain=!0),o>n&&this._retainParent(r,s,o,n))},_retainChildren:function(e,t,i,n){for(var r=2*e;r<2*e+2;r++)for(var s=2*t;s<2*t+2;s++){var o=new $(r,s);o.z=i+1;var a=this._tileCoordsToKey(o),l=this._tiles[a];if(l&&l.active){l.retain=!0;continue}l&&l.loaded&&(l.retain=!0),i+1<n&&this._retainChildren(r,s,i+1,n)}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return void 0!==t.minNativeZoom&&e<t.minNativeZoom?t.minNativeZoom:void 0!==t.maxNativeZoom&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,i,n){var r=Math.round(t);r=void 0!==this.options.maxZoom&&r>this.options.maxZoom||void 0!==this.options.minZoom&&r<this.options.minZoom?void 0:this._clampZoom(r);var s=this.options.updateWhenZooming&&r!==this._tileZoom;(!n||s)&&(this._tileZoom=r,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==r&&this._update(e),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var i in this._levels)this._setZoomTransform(this._levels[i],e,t)},_setZoomTransform:function(e,t,i){var n=this._map.getZoomScale(i,e.zoom),r=e.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(t,i)).round();eB.any3d?ti(e.el,r,n):tn(e.el,r)},_resetGrid:function(){var e=this._map,t=e.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,r=this._map.getPixelWorldBounds(this._tileZoom);r&&(this._globalTileRange=this._pxBoundsToTileRange(r)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],n).x/i.x),Math.ceil(e.project([0,t.wrapLng[1]],n).x/i.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],n).y/i.x),Math.ceil(e.project([t.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=this._map,i=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),n=t.getZoomScale(i,this._tileZoom),r=t.project(e,this._tileZoom).floor(),s=t.getSize().divideBy(2*n);return new H(r.subtract(s),r.add(s))},_update:function(e){var t=this._map;if(t){var i=this._clampZoom(t.getZoom());if(void 0===e&&(e=t.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(e),r=this._pxBoundsToTileRange(n),s=r.getCenter(),o=[],a=this.options.keepBuffer,l=new H(r.getBottomLeft().subtract([a,-a]),r.getTopRight().add([a,-a]));if(!(isFinite(r.min.x)&&isFinite(r.min.y)&&isFinite(r.max.x)&&isFinite(r.max.y)))throw Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var u=this._tiles[c].coords;u.z===this._tileZoom&&l.contains(new $(u.x,u.y))||(this._tiles[c].current=!1)}if(Math.abs(i-this._tileZoom)>1)return void this._setView(e,i);for(var d=r.min.y;d<=r.max.y;d++)for(var h=r.min.x;h<=r.max.x;h++){var p=new $(h,d);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:o.push(p)}}if(o.sort(function(e,t){return e.distanceTo(s)-t.distanceTo(s)}),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(h=0;h<o.length;h++)this._addTile(o[h],m);this._level.el.appendChild(m)}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var i=this._globalTileRange;if(!t.wrapLng&&(e.x<i.min.x||e.x>i.max.x)||!t.wrapLat&&(e.y<i.min.y||e.y>i.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(e);return G(this.options.bounds).overlaps(n)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,i=this.getTileSize(),n=e.scaleBy(i),r=n.add(i);return[t.unproject(n,e.z),t.unproject(r,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),i=new q(t[0],t[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),i=new $(+t[0],+t[1]);return i.z=+t[2],i},_removeTile:function(e){var t=this._tiles[e];t&&(e1(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){e4(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=_,e.onmousemove=_,eB.ielt9&&this.options.opacity<1&&te(e,this.options.opacity)},_addTile:function(e,t){var i=this._getTilePos(e),n=this._tileCoordsToKey(e),r=this.createTile(this._wrapCoords(e),p(this._tileReady,this,e));this._initTile(r),this.createTile.length<2&&D(p(this._tileReady,this,e,null,r)),tn(r,i),this._tiles[n]={el:r,coords:e,current:!0},t.appendChild(r),this.fire("tileloadstart",{tile:r,coords:e})},_tileReady:function(e,t,i){t&&this.fire("tileerror",{error:t,tile:i,coords:e});var n=this._tileCoordsToKey(e);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(te(i.el,0),B(this._fadeFrame),this._fadeFrame=D(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),t||(e4(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),eB.ielt9||!this._map._fadeAnimated?D(this._pruneTiles,this):setTimeout(p(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new $(this._wrapX?g(e.x,this._wrapX):e.x,this._wrapY?g(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new H(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}}),iL=iT.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,(t=x(this,t)).detectRetina&&eB.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var i=document.createElement("img");return th(i,"load",p(this._tileOnLoad,this,t,i)),th(i,"error",p(this._tileOnError,this,t,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(e),i},getTileUrl:function(e){var i={r:eB.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-e.y;this.options.tms&&(i.y=n),i["-y"]=n}return T(this._url,t(i,this.options))},_tileOnLoad:function(e,t){eB.ielt9?setTimeout(p(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,i){var n=this.options.errorTileUrl;n&&t.getAttribute("src")!==n&&(t.src=n),e(i,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom,i=this.options.zoomReverse,n=this.options.zoomOffset;return i&&(e=t-e),e+n},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=_,t.onerror=_,!t.complete)){t.src=C;var i=this._tiles[e].coords;e1(t),delete this._tiles[e],this.fire("tileabort",{tile:t,coords:i})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute("src",C),iT.prototype._removeTile.call(this,e)},_tileReady:function(e,t,i){if(this._map&&(!i||i.getAttribute("src")!==C))return iT.prototype._tileReady.call(this,e,t,i)}});function iM(e,t){return new iL(e,t)}var iP=iL.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,i){this._url=e;var n=t({},this.defaultWmsParams);for(var r in i)r in this.options||(n[r]=i[r]);var s=(i=x(this,i)).detectRetina&&eB.retina?2:1,o=this.getTileSize();n.width=o.x*s,n.height=o.y*s,this.wmsParams=n},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,iL.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),i=this._crs,n=W(i.project(t[0]),i.project(t[1])),r=n.min,s=n.max,o=(this._wmsVersion>=1.3&&this._crs===t1?[r.y,r.x,s.y,s.x]:[r.x,r.y,s.x,s.y]).join(","),a=iL.prototype.getTileUrl.call(this,e);return a+E(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(e,i){return t(this.wmsParams,e),i||this.redraw(),this}});iL.WMS=iP,iM.wms=function(e,t){return new iP(e,t)};var iC=t3.extend({options:{padding:.1},initialize:function(e){x(this,e),m(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),e4(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var i=this._map.getZoomScale(t,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,t),s=n.multiplyBy(-i).add(r).subtract(this._map._getNewPixelOrigin(e,t));eB.any3d?ti(this._container,s,i):tn(this._container,s)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),i=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new H(i,i.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),iO=iC.extend({options:{tolerance:0},getEvents:function(){var e=iC.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){iC.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");th(e,"mousemove",this._onMouseMove,this),th(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),th(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){B(this._redrawRequest),delete this._ctx,e1(this._container),tf(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){iC.prototype._update.call(this);var e=this._bounds,t=this._container,i=e.getSize(),n=eB.retina?2:1;tn(t,e.min),t.width=n*i.x,t.height=n*i.y,t.style.width=i.x+"px",t.style.height=i.y+"px",eB.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){iC.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[m(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,i=t.next,n=t.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete e._order,delete this._layers[m(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,i,n=e.options.dashArray.split(/[, ]+/),r=[];for(i=0;i<n.length;i++){if(isNaN(t=Number(n[i])))return;r.push(t)}e.options._dashArray=r}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||D(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new H,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var i=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)e=n.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var i,n,r,s,o=e._parts,a=o.length,l=this._ctx;if(a){for(l.beginPath(),i=0;i<a;i++){for(n=0,r=o[i].length;n<r;n++)s=o[i][n],l[n?"lineTo":"moveTo"](s.x,s.y);t&&l.closePath()}this._fillStroke(l,e)}}},_updateCircle:function(e){if(!(!this._drawing||e._empty())){var t=e._point,i=this._ctx,n=Math.max(Math.round(e._radius),1),r=(Math.max(Math.round(e._radiusY),1)||n)/n;1!==r&&(i.save(),i.scale(1,r)),i.beginPath(),i.arc(t.x,t.y/r,n,0,2*Math.PI,!1),1!==r&&i.restore(),this._fillStroke(i,e)}},_fillStroke:function(e,t){var i=t.options;i.fill&&(e.globalAlpha=i.fillOpacity,e.fillStyle=i.fillColor||i.color,e.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=i.opacity,e.lineWidth=i.weight,e.strokeStyle=i.color,e.lineCap=i.lineCap,e.lineJoin=i.lineJoin,e.stroke())},_onClick:function(e){for(var t,i,n=this._map.mouseEventToLayerPoint(e),r=this._drawFirst;r;r=r.next)(t=r.layer).options.interactive&&t._containsPoint(n)&&("click"!==e.type&&"preclick"!==e.type||!this._map._draggableMoved(t))&&(i=t);this._fireEvent(!!i&&[i],e)},_onMouseMove:function(e){if(!(!this._map||this._map.dragging.moving())&&!this._map._animatingZoom){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(e6(this._container,"leaflet-interactive"),this._fireEvent([t],e,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,t){if(!this._mouseHoverThrottled){for(var i,n,r=this._drawFirst;r;r=r.next)(i=r.layer).options.interactive&&i._containsPoint(t)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(e),n&&(e4(this._container,"leaflet-interactive"),this._fireEvent([n],e,"mouseover"),this._hoveredLayer=n)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],e),this._mouseHoverThrottled=!0,setTimeout(p(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(e,t,i){this._map._fireDOMEvent(t,i||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var i=t.next,n=t.prev;if(!i)return;i.prev=n,n?n.next=i:i&&(this._drawFirst=i),t.prev=this._drawLast,this._drawLast.next=t,t.next=null,this._drawLast=t,this._requestRedraw(e)}},_bringToBack:function(e){var t=e._order;if(t){var i=t.next,n=t.prev;if(!n)return;n.next=i,i?i.prev=n:n&&(this._drawLast=n),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e)}}});function ik(e){return eB.canvas?new iO(e):null}var iA=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch(e){}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),iz=eB.vml?iA:ei,iI=iC.extend({_initContainer:function(){this._container=iz("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=iz("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){e1(this._container),tf(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){iC.prototype._update.call(this);var e=this._bounds,t=e.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,i.setAttribute("width",t.x),i.setAttribute("height",t.y)),tn(i,e.min),i.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=iz("path");e.options.className&&e4(t,e.options.className),e.options.interactive&&e4(t,"leaflet-interactive"),this._updateStyle(e),this._layers[m(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){e1(e._path),e.removeInteractiveTarget(e._path),delete this._layers[m(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,i=e.options;t&&(i.stroke?(t.setAttribute("stroke",i.color),t.setAttribute("stroke-opacity",i.opacity),t.setAttribute("stroke-width",i.weight),t.setAttribute("stroke-linecap",i.lineCap),t.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?t.setAttribute("stroke-dasharray",i.dashArray):t.removeAttribute("stroke-dasharray"),i.dashOffset?t.setAttribute("stroke-dashoffset",i.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),i.fill?(t.setAttribute("fill",i.fillColor||i.color),t.setAttribute("fill-opacity",i.fillOpacity),t.setAttribute("fill-rule",i.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,en(e._parts,t))},_updateCircle:function(e){var t=e._point,i=Math.max(Math.round(e._radius),1),n=Math.max(Math.round(e._radiusY),1)||i,r="a"+i+","+n+" 0 1,0 ",s=e._empty()?"M0 0":"M"+(t.x-i)+","+t.y+r+2*i+",0 "+r+-(2*i)+",0 ";this._setPath(e,s)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){e3(e._path)},_bringToBack:function(e){e8(e._path)}});function iD(e){return eB.svg||eB.vml?new iI(e):null}eB.vml&&iI.include({_initContainer:function(){this._container=e0("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(iC.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=iA("shape");e4(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=iA("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[m(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;e1(t),e.removeInteractiveTarget(t),delete this._layers[m(e)]},_updateStyle:function(e){var t=e._stroke,i=e._fill,n=e.options,r=e._container;r.stroked=!!n.stroke,r.filled=!!n.fill,n.stroke?(t||(t=e._stroke=iA("stroke")),r.appendChild(t),t.weight=n.weight+"px",t.color=n.color,t.opacity=n.opacity,n.dashArray?t.dashStyle=M(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=n.lineCap.replace("butt","flat"),t.joinstyle=n.lineJoin):t&&(r.removeChild(t),e._stroke=null),n.fill?(i||(i=e._fill=iA("fill")),r.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(r.removeChild(i),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),i=Math.round(e._radius),n=Math.round(e._radiusY||i);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+i+","+n+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){e3(e._container)},_bringToBack:function(e){e8(e._container)}}),tO.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&ik(e)||iD(e)}});var iB=is.extend({initialize:function(e,t){is.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=G(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});iI.create=iz,iI.pointsToPath=en,io.geometryToLayer=ia,io.coordsToLatLng=ic,io.coordsToLatLngs=iu,io.latLngToCoords=id,io.latLngsToCoords=ih,io.getFeature=ip,io.asFeature=im,tO.mergeOptions({boxZoom:!0});var ij=tj.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){th(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){tf(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){e1(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),i(),to(),this._startPoint=this._map.mouseEventToContainerPoint(e),th(document,{contextmenu:tE,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=e0("div","leaflet-zoom-box",this._container),e4(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new H(this._point,this._startPoint),i=t.getSize();tn(this._box,t.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(e1(this._box),e6(this._container,"leaflet-crosshair")),n(),ta(),tf(document,{contextmenu:tE,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(p(this._resetState,this),0);var t=new q(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});tO.addInitHook("addHandler","boxZoom",ij),tO.mergeOptions({doubleClickZoom:!0});var iN=tj.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,i=t.getZoom(),n=t.options.zoomDelta,r=e.originalEvent.shiftKey?i-n:i+n;"center"===t.options.doubleClickZoom?t.setZoom(r):t.setZoomAround(e.containerPoint,r)}});tO.addInitHook("addHandler","doubleClickZoom",iN),tO.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var iR=tj.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new tR(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}e4(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){e6(this._map._container,"leaflet-grab"),e6(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=G(this._map.options.maxBounds);this._offsetLimit=W(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,r=(n-t+i)%e+t-i,s=(n+t+i)%e-t-i,o=Math.abs(r+i)<Math.abs(s+i)?r:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=o}
vendor: 9,149 bytes, line 3
3,_onDragEnd:function(e){var t=this._map,i=t.options,n=!i.inertia||e.noInertia||this._times.length<2;if(t.fire("dragend",e),n)t.fire("moveend");else{this._prunePositions(+new Date);var r=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,o=i.easeLinearity,a=r.multiplyBy(o/s),l=a.distanceTo([0,0]),c=Math.min(i.inertiaMaxSpeed,l),u=a.multiplyBy(c/l),d=c/(i.inertiaDeceleration*o),h=u.multiplyBy(-d/2).round();h.x||h.y?(h=t._limitOffset(h,t.options.maxBounds),D(function(){t.panBy(h,{duration:d,easeLinearity:o,noMoveStart:!0,animate:!0})})):t.fire("moveend")}}});tO.addInitHook("addHandler","dragging",iR),tO.mergeOptions({keyboard:!0,keyboardPanDelta:80});var i$=tj.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),th(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),tf(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,i=e.scrollTop||t.scrollTop,n=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(n,i)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t,i,n=this._panKeys={},r=this.keyCodes;for(t=0,i=r.left.length;t<i;t++)n[r.left[t]]=[-1*e,0];for(t=0,i=r.right.length;t<i;t++)n[r.right[t]]=[e,0];for(t=0,i=r.down.length;t<i;t++)n[r.down[t]]=[0,e];for(t=0,i=r.up.length;t<i;t++)n[r.up[t]]=[0,-1*e]},_setZoomDelta:function(e){var t,i,n=this._zoomKeys={},r=this.keyCodes;for(t=0,i=r.zoomIn.length;t<i;t++)n[r.zoomIn[t]]=e;for(t=0,i=r.zoomOut.length;t<i;t++)n[r.zoomOut[t]]=-e},_addHooks:function(){th(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){tf(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!e.altKey&&!e.ctrlKey&&!e.metaKey){var t,i=e.keyCode,n=this._map;if(i in this._panKeys){if(!n._panAnim||!n._panAnim._inProgress)if(t=this._panKeys[i],e.shiftKey&&(t=F(t).multiplyBy(3)),n.options.maxBounds&&(t=n._limitOffset(F(t),n.options.maxBounds)),n.options.worldCopyJump){var r=n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(t)));n.panTo(r)}else n.panBy(t)}else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}tE(e)}}});tO.addInitHook("addHandler","keyboard",i$),tO.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var iZ=tj.extend({addHooks:function(){th(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){tf(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var t=tM(e),i=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date);var n=Math.max(i-(new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(p(this._performZoom,this),n),tE(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),i=this._map.options.zoomSnap||0;e._stop();var n=4*Math.log(2/(1+Math.exp(-Math.abs(this._delta/(4*this._map.options.wheelPxPerZoomLevel)))))/Math.LN2,r=i?Math.ceil(n/i)*i:n,s=e._limitZoom(t+(this._delta>0?r:-r))-t;this._delta=0,this._startTime=null,s&&("center"===e.options.scrollWheelZoom?e.setZoom(t+s):e.setZoomAround(this._lastMousePos,t+s))}});tO.addInitHook("addHandler","scrollWheelZoom",iZ),tO.mergeOptions({tapHold:eB.touchNative&&eB.safari&&eB.mobile,tapTolerance:15});var iF=tj.extend({addHooks:function(){th(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){tf(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),1===e.touches.length){var t=e.touches[0];this._startPos=this._newPos=new $(t.clientX,t.clientY),this._holdTimeout=setTimeout(p(function(){this._cancel(),this._isTapValid()&&(th(document,"touchend",tx),th(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",t))},this),600),th(document,"touchend touchcancel contextmenu",this._cancel,this),th(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){tf(document,"touchend",tx),tf(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),tf(document,"touchend touchcancel contextmenu",this._cancel,this),tf(document,"touchmove",this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new $(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var i=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});i._simulated=!0,t.target.dispatchEvent(i)}});tO.addInitHook("addHandler","tapHold",iF),tO.mergeOptions({touchZoom:eB.touch,bounceAtZoomLimits:!0});var iH=tj.extend({addHooks:function(){e4(this._map._container,"leaflet-touch-zoom"),th(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){e6(this._map._container,"leaflet-touch-zoom"),tf(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var i=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),th(document,"touchmove",this._onTouchMove,this),th(document,"touchend touchcancel",this._onTouchEnd,this),tx(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,i=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]),r=i.distanceTo(n)/this._startDist;if(this._zoom=t.getScaleZoom(r,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&r<1||this._zoom>t.getMaxZoom()&&r>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var s=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===s.x&&0===s.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(s),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),B(this._animRequest);var o=p(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=D(o,this,!0),tx(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,B(this._animRequest),tf(document,"touchmove",this._onTouchMove,this),tf(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});tO.addInitHook("addHandler","touchZoom",iH),tO.BoxZoom=ij,tO.DoubleClickZoom=iN,tO.Drag=iR,tO.Keyboard=i$,tO.ScrollWheelZoom=iZ,tO.TapHold=iF,tO.TouchZoom=iH,e.Bounds=H,e.Browser=eB,e.CRS=X,e.Canvas=iO,e.Circle=ii,e.CircleMarker=it,e.Class=j,e.Control=tk,e.DivIcon=iS,e.DivOverlay=iw,e.DomEvent={__proto__:null,on:th,off:tf,stopPropagation:ty,disableScrollPropagation:tb,disableClickPropagation:tw,preventDefault:tx,stop:tE,getPropagationPath:tS,getMousePosition:tT,getWheelDelta:tM,isExternalTarget:tP,addListener:th,removeListener:tf},e.DomUtil={__proto__:null,TRANSFORM:eX,TRANSITION:eU,TRANSITION_END:eK,get:eJ,getStyle:eQ,create:e0,remove:e1,empty:e2,toFront:e3,toBack:e8,hasClass:e5,addClass:e4,removeClass:e6,setClass:e9,getClass:e7,setOpacity:te,testProp:tt,setTransform:ti,setPosition:tn,getPosition:tr,get disableTextSelection(){return i},get enableTextSelection(){return n},disableImageDrag:to,enableImageDrag:ta,preventOutline:tl,restoreOutline:tc,getSizedParentNode:tu,getScale:td},e.Draggable=tR,e.Evented=R,e.FeatureGroup=t5,e.GeoJSON=io,e.GridLayer=iT,e.Handler=tj,e.Icon=t4,e.ImageOverlay=i_,e.LatLng=V,e.LatLngBounds=q,e.Layer=t3,e.LayerGroup=t8,e.LineUtil={__proto__:null,simplify:tH,pointToSegmentDistance:tW,closestPointOnSegment:function(e,t,i){return tY(e,t,i)},clipSegment:tq,_getEdgeIntersection:tG,_getBitCode:tV,_sqClosestPointOnSegment:tY,isFlat:tX,_flat:tU,polylineCenter:tK},e.Map=tO,e.Marker=t7,e.Mixin={Events:N},e.Path=ie,e.Point=$,e.PolyUtil={__proto__:null,clipPolygon:t$,polygonCenter:tZ,centroid:tF}
vendor: 11,002 bytes, line 3
3,e.Polygon=is,e.Polyline=ir,e.Popup=ix,e.PosAnimation=tC,e.Projection={__proto__:null,LonLat:tJ,Mercator:tQ,SphericalMercator:K},e.Rectangle=iB,e.Renderer=iC,e.SVG=iI,e.SVGOverlay=ib,e.TileLayer=iL,e.Tooltip=iE,e.Transformation=J,e.Util={__proto__:null,extend:t,create:h,bind:p,get lastId(){return f},stamp:m,throttle:v,wrapNum:g,falseFn:_,formatNum:y,trim:b,splitWords:w,setOptions:x,getParamString:E,template:T,isArray:M,indexOf:P,emptyImageUrl:C,requestFn:z,cancelFn:I,requestAnimFrame:D,cancelAnimFrame:B},e.VideoOverlay=iy,e.bind=p,e.bounds=W,e.canvas=ik,e.circle=function(e,t,i){return new ii(e,t,i)},e.circleMarker=function(e,t){return new it(e,t)},e.control=tA,e.divIcon=function(e){return new iS(e)},e.extend=t,e.featureGroup=function(e,t){return new t5(e,t)},e.geoJSON=ig,e.geoJson=ig,e.gridLayer=function(e){return new iT(e)},e.icon=function(e){return new t4(e)},e.imageOverlay=function(e,t,i){return new i_(e,t,i)},e.latLng=Y,e.latLngBounds=G,e.layerGroup=function(e,t){return new t8(e,t)},e.map=function(e,t){return new tO(e,t)},e.marker=function(e,t){return new t7(e,t)},e.point=F,e.polygon=function(e,t){return new is(e,t)},e.polyline=function(e,t){return new ir(e,t)},e.popup=function(e,t){return new ix(e,t)},e.rectangle=function(e,t){return new iB(e,t)},e.setOptions=x,e.stamp=m,e.svg=iD,e.svgOverlay=function(e,t,i){return new ib(e,t,i)},e.tileLayer=iM,e.tooltip=function(e,t){return new iE(e,t)},e.transformation=Q,e.version="1.9.4",e.videoOverlay=function(e,t,i){return new iy(e,t,i)};var iW=window.L;e.noConflict=function(){return window.L=iW,this},window.L=e}(t)},182(e,t,i){e=i.nmd(e);var n,r,s,o,a,l,c,u,d,h,p,f="__lodash_hash_undefined__",m="[object Arguments]",v="[object Function]",g="[object Object]",_=/^\[object .+?Constructor\]$/,y=/^(?:0|[1-9]\d*)$/,b={};b["[object Float32Array]"]=b["[object Float64Array]"]=b["[object Int8Array]"]=b["[object Int16Array]"]=b["[object Int32Array]"]=b["[object Uint8Array]"]=b["[object Uint8ClampedArray]"]=b["[object Uint16Array]"]=b["[object Uint32Array]"]=!0,b[m]=b["[object Array]"]=b["[object ArrayBuffer]"]=b["[object Boolean]"]=b["[object DataView]"]=b["[object Date]"]=b["[object Error]"]=b[v]=b["[object Map]"]=b["[object Number]"]=b[g]=b["[object RegExp]"]=b["[object Set]"]=b["[object String]"]=b["[object WeakMap]"]=!1;var w="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,x="object"==typeof self&&self&&self.Object===Object&&self,E=w||x||Function("return this")(),S=t&&!t.nodeType&&t,T=S&&e&&!e.nodeType&&e,M=T&&T.exports===S,P=M&&w.process,C=function(){try{var e=T&&T.require&&T.require("util").types;if(e)return e;return P&&P.binding&&P.binding("util")}catch(e){}}(),O=C&&C.isTypedArray,k=Array.prototype,A=Function.prototype,z=Object.prototype,I=E["__core-js_shared__"],D=A.toString,B=z.hasOwnProperty,j=(c=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"",N=z.toString,R=D.call(Object),$=RegExp("^"+D.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Z=M?E.Buffer:void 0,F=E.Symbol,H=E.Uint8Array,W=Z?Z.allocUnsafe:void 0,q=(u=Object.getPrototypeOf,d=Object,function(e){return u(d(e))}),G=Object.create,V=z.propertyIsEnumerable,Y=k.splice,X=F?F.toStringTag:void 0,U=function(){try{var e=ef(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),K=Z?Z.isBuffer:void 0,J=Math.max,Q=Date.now,ee=ef(E,"Map"),et=ef(Object,"create"),ei=function(){function e(){}return function(t){if(!eL(t))return{};if(G)return G(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();function en(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function er(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function es(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function eo(e){var t=this.__data__=new er(e);this.size=t.size}function ea(e,t,i){(void 0===i||ey(e[t],i))&&(void 0!==i||t in e)||ec(e,t,i)}function el(e,t){for(var i=e.length;i--;)if(ey(e[i][0],t))return i;return -1}function ec(e,t,i){"__proto__"==t&&U?U(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}en.prototype.clear=function(){this.__data__=et?et(null):{},this.size=0},en.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},en.prototype.get=function(e){var t=this.__data__;if(et){var i=t[e];return i===f?void 0:i}return B.call(t,e)?t[e]:void 0},en.prototype.has=function(e){var t=this.__data__;return et?void 0!==t[e]:B.call(t,e)},en.prototype.set=function(e,t){var i=this.__data__;return this.size+=+!this.has(e),i[e]=et&&void 0===t?f:t,this},er.prototype.clear=function(){this.__data__=[],this.size=0},er.prototype.delete=function(e){var t=this.__data__,i=el(t,e);return!(i<0)&&(i==t.length-1?t.pop():Y.call(t,i,1),--this.size,!0)},er.prototype.get=function(e){var t=this.__data__,i=el(t,e);return i<0?void 0:t[i][1]},er.prototype.has=function(e){return el(this.__data__,e)>-1},er.prototype.set=function(e,t){var i=this.__data__,n=el(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this},es.prototype.clear=function(){this.size=0,this.__data__={hash:new en,map:new(ee||er),string:new en}},es.prototype.delete=function(e){var t=ep(this,e).delete(e);return this.size-=!!t,t},es.prototype.get=function(e){return ep(this,e).get(e)},es.prototype.has=function(e){return ep(this,e).has(e)},es.prototype.set=function(e,t){var i=ep(this,e),n=i.size;return i.set(e,t),this.size+=+(i.size!=n),this},eo.prototype.clear=function(){this.__data__=new er,this.size=0},eo.prototype.delete=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i},eo.prototype.get=function(e){return this.__data__.get(e)},eo.prototype.has=function(e){return this.__data__.has(e)},eo.prototype.set=function(e,t){var i=this.__data__;if(i instanceof er){var n=i.__data__;if(!ee||n.length<199)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new es(n)}return i.set(e,t),this.size=i.size,this};var eu=function(e,t,i){for(var n=-1,r=Object(e),s=i(e),o=s.length;o--;){var a=s[++n];if(!1===t(r[a],a,r))break}return e};function ed(e){var t;return null==e?void 0===e?"[object Undefined]":"[object Null]":X&&X in Object(e)?function(e){var t=B.call(e,X),i=e[X];try{e[X]=void 0;var n=!0}catch(e){}var r=N.call(e);return n&&(t?e[X]=i:delete e[X]),r}(e):(t=e,N.call(t))}function eh(e){return eM(e)&&ed(e)==m}function ep(e,t){var i,n,r=e.__data__;return("string"==(n=typeof(i=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?r["string"==typeof t?"string":"hash"]:r.map}function ef(e,t){var i,n=null==e?void 0:e[t];return!(!eL(n)||(i=n,j&&j in i))&&(eS(n)?$:_).test(function(e){if(null!=e){try{return D.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(n))?n:void 0}function em(e,t){var i=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==i||"symbol"!=i&&y.test(e))&&e>-1&&e%1==0&&e<t}function ev(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||z)}function eg(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var e_=(n=U?function(e,t){var i;return U(e,"toString",{configurable:!0,enumerable:!1,value:(i=t,function(){return i}),writable:!0})}:ek,r=0,s=0,function(){var e=Q(),t=16-(e-s);if(s=e,t>0){if(++r>=800)return arguments[0]}else r=0;return n.apply(void 0,arguments)});function ey(e,t){return e===t||e!=e&&t!=t}var eb=eh(function(){return arguments}())?eh:function(e){return eM(e)&&B.call(e,"callee")&&!V.call(e,"callee")},ew=Array.isArray;function ex(e){return null!=e&&eT(e.length)&&!eS(e)}var eE=K||function(){return!1};function eS(e){if(!eL(e))return!1;var t=ed(e);return t==v||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eT(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function eL(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eM(e){return null!=e&&"object"==typeof e}var eP=O?function(e){return O(e)}:function(e){return eM(e)&&eT(e.length)&&!!b[ed(e)]};function eC(e){return ex(e)?function(e,t){var i=ew(e),n=!i&&eb(e),r=!i&&!n&&eE(e),s=!i&&!n&&!r&&eP(e),o=i||n||r||s,a=o?function(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n}(e.length,String):[],l=a.length;for(var c in e)(t||B.call(e,c))&&!(o&&("length"==c||r&&("offset"==c||"parent"==c)||s&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||em(c,l)))&&a.push(c);return a}(e,!0):function(e){if(!eL(e)){var t=e,i=[];if(null!=t)for(var n in Object(t))i.push(n);return i}var r=ev(e),s=[];for(var o in e)"constructor"==o&&(r||!B.call(e,o))||s.push(o);return s}(e)}var eO=(h=function(e,t,i){!function e(t,i,n,r,s){t!==i&&eu(i,function(o,a){if(s||(s=new eo),eL(o))!function(e,t,i,n,r,s,o){var a=eg(e,i),l=eg(t,i),c=o.get(l);if(c)return ea(e,i,c);var u=s?s(a,l,i+"",e,t,o):void 0,d=void 0===u;if(d){var h,p,f,m,v,_,y,b=ew(l),w=!b&&eE(l),x=!b&&!w&&eP(l);u=l,b||w||x?ew(a)?u=a:eM(h=a)&&ex(h)?u=function(e,t){var i=-1,n=e.length;for(t||(t=Array(n));++i<n;)t[i]=e[i];return t}(a):w?(d=!1,u=function(e,t){if(t)return e.slice();var i=e.length,n=W?W(i):new e.constructor(i);return e.copy(n),n}(l,!0)):x?(d=!1,p=l,v=(new H(m=new(f=p.buffer).constructor(f.byteLength)).set(new H(f)),m),u=new p.constructor(v,p.byteOffset,p.length)):u=[]:function(e){if(!eM(e)||ed(e)!=g)return!1;var t=q(e);if(null===t)return!0;var i=B.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&D.call(i)==R}(l)||eb(l)?(u=a,eb(a)?u=function(e,t,i){var n=!i;i||(i={});for(var r=-1,s=t.length;++r<s;){var o=t[r],a=void 0;void 0===a&&(a=e[o]),n?ec(i,o,a):function(e,t,i){var n=e[t];B.call(e,t)&&ey(n,i)&&(void 0!==i||t in e)||ec(e,t,i)}(i,o,a)}return i}(_=a,eC(_)):(!eL(a)||eS(a))&&(u="function"!=typeof(y=l).constructor||ev(y)?{}:ei(q(y)))):d=!1}d&&(o.set(l,u),r(u,l,n,s,o),o.delete(l)),ea(e,i,u)}(t,i,a,n,e,r,s);else{var l=r?r(eg(t,a),o,a+"",t,i,s):void 0;void 0===l&&(l=o),ea(t,a,l)}},eC)}(e,t,i)},e_((o=p=function(e,t){var i=-1,n=t.length,r=n>1?t[n-1]:void 0,s=n>2?t[2]:void 0;for(r=h.length>3&&"function"==typeof r?(n--,r):void 0,s&&function(e,t,i){if(!eL(i))return!1;var n=typeof t;return("number"==n?!!(ex(i)&&em(t,i.length)):"string"==n&&t in i)&&ey(i[t],e)}(t[0],t[1],s)&&(r=n<3?void 0:r,n=1),e=Object(e);++i<n;){var o=t[i];o&&h(e,o,i,r)}return e},a=void 0,l=ek,a=J(void 0===a?o.length-1:a,0),function(){for(var e=arguments,t=-1,i=J(e.length-a,0),n=Array(i);++t<i;)n[t]=e[a+t];t=-1;for(var r=Array(a+1);++t<a;)r[t]=e[t];r[a]=l(n);switch(r.length){case 0:return o.call(this);case 1:return o.call(this,r[0]);case 2:return o.call(this,r[0],r[1]);case 3:return o.call(this,r[0],r[1],r[2])}return o.apply(this,r)}),p+""));function ek(e){return e}e.exports=eO},78(){document.addEventListener("alpine:init",function(){Alpine.data("buttonExpand",function(){return{labelWidth:null,init:function(){var e=this;CSS.supports("interpolate-size","allow-keywords")||document.fonts.ready.then(function(){e.labelWidth="".concat(e.$refs.label.offsetWidth,"px")}
3)}}})})},774(){window.addEventListener("scroll",function(e){var t=document.querySelector(".page > header"),i=document.querySelector("#event-nav");if(i){var n=i.getBoundingClientRect().top;t.classList.contains("lg:-translate-y-8")||80!==n?i.classList.remove("lg:translate-y-8"):i.classList.add("lg:translate-y-8")}})},356(){function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}document.addEventListener("alpine:init",function(){Alpine.data("iframeWrapper",function(){return{intersectionObserver:null,visible:!1,iframe:null,hasScript:!1,width:null,height:null,ready:!1,init:function(){var t=this;this.intersectionObserver=new IntersectionObserver(function(i){return t.visible=(function(e){if(Array.isArray(e))return e}(i)||function(e){var t,i,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r=[],s=!0,o=!1;try{for(n=n.call(e);!(s=(t=n.next()).done)&&(r.push(t.value),1!==r.length);s=!0);}catch(e){o=!0,i=e}finally{try{s||null==n.return||n.return()}finally{if(o)throw i}}return r}}(i)||function(t){if(t){if("string"==typeof t)return e(t,1);var i=Object.prototype.toString.call(t).slice(8,-1);if("Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i)return Array.from(i);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return e(t,1)}}(i)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].isIntersecting},{rootMargin:"500px"}),this.intersectionObserver.observe(this.$root),this.$watch("visible",function(e){e&&(t.intersectionObserver.disconnect(),t.iframe=t.$root.querySelector("iframe"),t.hasScript=!t.$root.querySelector("script"),t.iframe&&!t.hasScript&&t.setStyle())})},setStyle:function(){var e=this.iframe,t=e.width,i=e.height,n=e.offsetWidth,r=e.offsetHeight;Number(t)===n&&Number(i)===r&&(this.width=n,this.height=r,this.ready=!0)}}})})},437(e,t,i){"use strict";var n,r;i.r(t),i(481),n=Drupal,r=L,n.behaviors.map={attach:function(e){once("map","#map",e).forEach(function(e){var t=e.dataset.lat,i=e.dataset.lon,n=e.dataset.zoom,s=r.map(e).setView([t,i],n);r.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}).addTo(s),r.marker([t,i]).addTo(s)})}}},998(){function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}document.addEventListener("alpine:init",function(){Alpine.data("scrollTop",function(){return{observer:null,visible:!1,init:function(){var e=document.querySelector("[data-page-scroll-watcher]");e&&(this.initObserver(),this.observer.observe(e))},initObserver:function(){var t=this;this.observer=new IntersectionObserver(function(i){return t.visible=!(function(e){if(Array.isArray(e))return e}(i)||function(e){var t,i,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r=[],s=!0,o=!1;try{for(n=n.call(e);!(s=(t=n.next()).done)&&(r.push(t.value),1!==r.length);s=!0);}catch(e){o=!0,i=e}finally{try{s||null==n.return||n.return()}finally{if(o)throw i}}return r}}(i)||function(t){if(t){if("string"==typeof t)return e(t,1);var i=Object.prototype.toString.call(t).slice(8,-1);if("Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i)return Array.from(i);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return e(t,1)}}(i)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].isIntersecting}
3,{rootMargin:"100% 0px 0px 0px"})}}})})},82(){},442(){function e(e,t,i,n,r,s,o){try{var a=e[s](o),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}document.addEventListener("alpine:init",function(){Alpine.data("contextNav",function(t){return{sharerOpen:!1,copied:!1,progress:0,targetEl:null,url:t.url,targetSelector:t.targetSelector,init:function(){this.targetEl=document.querySelector(this.targetSelector)||document.documentElement},copyToClipboard:function(){var t;return(t=function(){var e;return function(e,t){var i,n,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:l(0)}),a(o,"throw",{value:l(1)}),a(o,"return",{value:l(2)}),"function"==typeof Symbol&&a(o,Symbol.iterator,{value:function(){return this}}),o;function l(a){return function(l){var c=[a,l];if(i)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(s=0)),s;)try{if(i=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,n=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===c[0]||2===c[0])){s=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){s.label=c[1];break}if(6===c[0]&&s.label<r[1]){s.label=r[1],r=c;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(c);break}r[2]&&s.ops.pop(),s.trys.pop();continue}c=t.call(e,s)}catch(e){c=[6,e],n=0}finally{i=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:e=this,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(this.url||window.location.href)];case 2:return t.sent(),this.copied=!0,setTimeout(function(){return e.copied=!1},1e4),[3,4];case 3:return console.error("Failed to copy!",t.sent()),[3,4];case 4:return[2]}})},function(){var i=this,n=arguments;return new Promise(function(r,s){var o=t.apply(i,n);function a(t){e(o,r,s,a,l,"next",t)}function l(t){e(o,r,s,a,l,"throw",t)}a(void 0)})}).call(this)},updateProgress:function(){var e=document.documentElement,t=e.clientHeight,i=e.scrollTop,n=this.targetEl.scrollHeight;this.targetEl!==document.documentElement&&(n+=this.$root.offsetHeight),i<=n-t?this.progress=i/(n-t):this.progress=1}}})})},890(){function e(e,t,i,n,r,s,o){try{var a=e[s](o),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}document.addEventListener("alpine:init",function(){Alpine.data("contextNav",function(t){return{sharerOpen:!1,copied:!1,progress:0,targetEl:null,url:t.url,targetSelector:t.targetSelector,init:function(){this.targetEl=document.querySelector(this.targetSelector)||document.documentElement},copyToClipboard:function(){var t;return(t=function(){var e;return function(e,t){var i,n,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:l(0)}),a(o,"throw",{value:l(1)}),a(o,"return",{value:l(2)}),"function"==typeof Symbol&&a(o,Symbol.iterator,{value:function(){return this}}),o;function l(a){return function(l){var c=[a,l];if(i)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(s=0)),s;)try{if(i=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,n=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===c[0]||2===c[0])){s=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){s.label=c[1];break}if(6===c[0]&&s.label<r[1]){s.label=r[1],r=c;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(c);break}r[2]&&s.ops.pop(),s.trys.pop();continue}c=t.call(e,s)}catch(e){c=[6,e],n=0}finally{i=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:e=this,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(this.url||window.location.href)];case 2:return t.sent(),this.copied=!0,setTimeout(function(){return e.copied=!1},1e4),[3,4];case 3:return console.error("Failed to copy!",t.sent()),[3,4];case 4:return[2]}})},function(){var i=this,n=arguments;
3return new Promise(function(r,s){var o=t.apply(i,n);function a(t){e(o,r,s,a,l,"next",t)}function l(t){e(o,r,s,a,l,"throw",t)}a(void 0)})}).call(this)},updateProgress:function(){var e=document.documentElement,t=e.clientHeight,i=e.scrollTop,n=this.targetEl.scrollHeight;this.targetEl!==document.documentElement&&(n+=this.$root.offsetHeight),i<=n-t?this.progress=i/(n-t):this.progress=1}}})})},58(){document.addEventListener("alpine:init",function(){Alpine.data("header",function(){return{searchbarVisible:!1,init:function(){},showSearchbar:function(){this.searchbarVisible=!0,this.$focus.focus(this.$refs.searchbarInput)}}})})},2(e,t,i){"use strict";i.r(t);var n=i(393);function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var s=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(i=r.next()).done)&&(s.push(i.value),!t||s.length!==t);o=!0);}catch(e){a=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw n}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if("Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i)return Array.from(i);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}document.addEventListener("alpine:init",function(){Alpine.data("lightbox",function(e){return{resizeObserver:null,visible:!1,imageMaxHeight:"none",imageRatio:e.imageRatio,id:e.id,init:function(){var e=this;this.resizeObserver=new ResizeObserver(function(){e.fixImageHeight()}),this.resizeObserver.observe(this.$refs.panelScroller)},show:function(e){var t=e.id,i=e.index;t===this.id&&(this.$dispatch("slider:slide-to",{id:t,index:void 0===i?0:i}),this.visible=!0)},fixImageHeight:function(){var e=this;this.imageMaxHeight="auto",this.$nextTick(function(){var t=e.$refs.panelScroller.offsetWidth,i=e.$refs.panelScroller.offsetHeight,n=e.$refs.panelContainer.offsetWidth,r=e.$refs.panel.offsetHeight,s=e.$refs.slider.offsetWidth,o=r+(t-n)/e.imageRatio-i,a=s/e.imageRatio;o<=0?e.imageMaxHeight="auto":e.imageMaxHeight="".concat(Math.max(a-o,240),"px")})}}}),Alpine.data("lightboxItem",function(){return{intersectionObserver:null,resizeObserver:null,isOverflown:!1,isEnd:!1,init:function(){var e=this;this.$refs.body&&(this.intersectionObserver=new IntersectionObserver(function(t){return e.isEnd=s(t,1)[0].isIntersecting},{root:this.$refs.body,rootMargin:"1px"}),this.resizeObserver=new ResizeObserver(function(t){var i=s(t,1)[0];e.isOverflown=(0,n.ar)(i.target)}),this.$watch("isOverflown",function(t){t?e.intersectionObserver.observe(e.$refs.scrollWatcher):e.intersectionObserver.disconnect()}),this.resizeObserver.observe(this.$refs.body))}}})})},988(){document.addEventListener("alpine:init",function(){Alpine.data("navMobile",function(){return{frameVisible:!1,init:function(){}}})})},518(){document.addEventListener("alpine:init",function(){Alpine.data("popinPromo",function(){return{init:function(){var e=this,t=window.drupalSettings;if(!t)return void setTimeout(function(){return e.$root.showModal()},1e3);if(t.popin){var i=t.popin,n=i.start,r=i.interval;setTimeout(function(){e.$root.showModal(),r&&setInterval(function(){return e.$root.showModal()},1e3*r)},1e3*n)}}}})})},559(){document.addEventListener("alpine:init",function(){Alpine.data("remoteVideo",function(e){return{started:!1,source:e.source,init:function(){var e=new URL(this.source);e.searchParams.set("autoplay",1),e.searchParams.set("rel",0),this.source=e.toString()},start:function(){this.started=!0}}})})},438(e,t,i){"use strict";i.r(t);var n=i(393);function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var s=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(i=r.next()).done)&&(s.push(i.value),!t||s.length!==t);o=!0);}catch(e){a=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw n}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if("Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i)return Array.from(i);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(e,t)}}
3(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}document.addEventListener("alpine:init",function(){Alpine.data("featured",function(){return{intersectionObserver:null,resizeObserver:null,isOverflown:!1,isEnd:!1,init:function(){var e=this;this.$refs.scroller&&(this.intersectionObserver=new IntersectionObserver(function(t){return e.isEnd=s(t,1)[0].isIntersecting},{root:this.$refs.scroller,rootMargin:"1px"}),this.resizeObserver=new ResizeObserver(function(t){var i=s(t,1)[0];e.isOverflown=(0,n.ar)(i.target)}),this.$watch("isOverflown",function(t){t?e.intersectionObserver.observe(e.$refs.scrollWatcher):e.intersectionObserver.disconnect()}),this.resizeObserver.observe(this.$refs.scroller))}}})})},605(e,t,i){"use strict";var n=i(236),r=i(94),s=i(182),o=i.n(s);function a(e,t,i,n,r,s,o){try{var a=e[s](o),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}document.addEventListener("alpine:init",function(){Alpine.data("slider",function(e){var t=e.autoplay,s=e.shadowed,l=e.extraSwiperParams,c=e.id,u=e.mobileOnly;return{swiperInstance:null,paginationBulletLength:0,isStart:!0,isEnd:!1,autoplay:t,shadowed:s,extraSwiperParams:l,id:c,mobileOnly:u,init:function(){var e;return(e=function(){var e,t,s,a,l;return function(e,t){var i,n,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:l(0)}),a(o,"throw",{value:l(1)}),a(o,"return",{value:l(2)}),"function"==typeof Symbol&&a(o,Symbol.iterator,{value:function(){return this}}),o;function l(a){return function(l){var c=[a,l];if(i)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(s=0)),s;)try{if(i=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,n=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===c[0]||2===c[0])){s=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){s.label=c[1];break}if(6===c[0]&&s.label<r[1]){s.label=r[1],r=c;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(c);break}r[2]&&s.ops.pop(),s.trys.pop();continue}c=t.call(e,s)}catch(e){c=[6,e],n=0}finally{i=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(c){switch(c.label){case 0:if(e=this,t={modules:[r.A11y,r.Navigation,r.Pagination],a11y:{prevSlideMessage:"Diapositive précédente",nextSlideMessage:"Diapositive suivante",firstSlideMessage:"Voici la première diapositive",lastSlideMessage:"Voici la dernière diapositive",paginationBulletMessage:"Aller à la diapositive n°{{index}}",slideLabelMessage:"Diapositive n°{{index}} sur {{slidesLength}}"},navigation:{prevEl:this.$refs.swiperPrev,nextEl:this.$refs.swiperNext,disabledClass:"is-disabled",hiddenClass:"is-hidden",lockClass:"is-lock"},pagination:{el:this.$refs.swiperPagination,type:"bullets"},init:!1},!this.autoplay)return[3,2];return[4,Promise.resolve().then(i.bind(i,94))];case 1:s=c.sent().Autoplay,t.modules.push(s),t.autoplay={delay:7e3},c.label=2;case 2:return a=o()(t,this.extraSwiperParams),this.swiperInstance=new n.A(this.$refs.swiper,a),this.swiperInstance.on("init",function(){e.updatePaginationBulletLength()}),this.swiperInstance.on("paginationUpdate",function(){e.updatePaginationBulletLength()}),this.shadowed&&(this.swiperInstance.on("fromEdge",function(){e.checkEdges()}),this.swiperInstance.on("toEdge",function(){e.checkEdges()})),u?(l=function(){window.innerWidth<768&&!e.swiperInstance.initialized?(e.init(),e.swiperInstance.init()):window.innerWidth>=768&&e.swiperInstance.initialized&&(e.$el.classList.remove("slider--shadowed"),e.swiperInstance.destroy(!0,!0))},window.addEventListener("resize",l),window.innerWidth<768&&this.swiperInstance.init()):this.swiperInstance.init(),[2]}})},function(){var t=this,i=arguments;return new Promise(function(n,r){var s=e.apply(t,i);function o(e){a(s,n,r,o,l,"next",e)}function l(e){a(s,n,r,o,l,"throw",e)}o(void 0)})}).call(this)},updatePaginationBulletLength:function(){this.paginationBulletLength=this.swiperInstance.pagination.bullets.length},checkEdges:function(){this.isStart=this.swiperInstance.isBeginning,this.isEnd=this.swiperInstance.isEnd},slideTo:function(e){var t=e.id,i=e.index;t===this.id&&this.swiperInstance.slideTo(i,0)}}})})},588(e,t,i){"use strict";i.r(t),i(236),i(94),i(182),document.addEventListener("alpine:init",function(){Alpine.data("paragraphAdvertorial",function(){return{init:function(){var e=this.$root.parentElement,t=e.childElementCount>1,i=this.$root.childElementCount>0;t||i?i||this.$root.remove():e.remove()}}}),Alpine.data("paragraphAdvertising",function(){return{init:function(){var e=window.OA_output;if(e){var t=this.$root.parentElement,i=t.childElementCount>1,n=this.$root.querySelectorAll("ins[data-revive-zone-id]"),r=0;
3n.forEach(function(t){var i=e[t.dataset.reviveZoneId];i&&new DOMParser().parseFromString(i,"text/html").querySelector('[href*="revive"]')&&(r+=1)}),i||r?r||this.$root.remove():t.remove()}}}}),Alpine.data("paragraphIntervenants",function(){return{init:function(){var e=document.querySelectorAll(".card-intervenant"),t=document.querySelectorAll(".modal-intervenant"),i=document.querySelector(".modal-intervenant-overlay");if(i.addEventListener("click",function(){t.forEach(function(e){e.classList.remove("modal-intervenant-open")})}),t.forEach(function(e){e.querySelector(".close-modal").addEventListener("click",function(){e.classList.remove("modal-intervenant-open")})}),e.forEach(function(e){e.addEventListener("click",function(){var t=e.dataset.cible;document.querySelector("#"+t).classList.add("modal-intervenant-open")})}),i){var n=new MutationObserver(function(){Array.from(t).some(function(e){return e.classList.contains("modal-intervenant-open")})?i.classList.add("active"):i.classList.remove("active")});t.forEach(function(e){n.observe(e,{attributes:!0,attributeFilter:["class"]})})}}}})})},544(){document.addEventListener("alpine:init",function(){Alpine.data("searchFilter",function(){return{searchForm:null,searchWapper:null,init:function(){var e=this;this.searchWapper=document.querySelector(".search-filter-wrapper"),this.searchForm=document.querySelector("#main-catalog-offer");var t=document.querySelector("#close-filters"),i=document.querySelectorAll('#main-catalog-offer input[type="checkbox"]'),n=document.querySelector("#search-reset"),r=document.querySelector('[data-drupal-selector="edit-date"]'),s=(function(){this.ajaxSearch("score")}).bind(this);this.searchForm.addEventListener("submit",function(t){t.preventDefault(),e.ajaxSearch("score"),e.searchWapper.classList.contains("search-filter-wrapper--open")&&e.searchWapper.classList.remove("search-filter-wrapper--open")}),i.forEach(function(e){e.addEventListener("change",s)}),t.addEventListener("click",function(){e.searchWapper.classList.toggle("search-filter-wrapper--open")}),n.addEventListener("click",function(){document.querySelectorAll('[data-drupal-selector="edit-format"] input[type="checkbox"]');var t=document.querySelector("#edit-search"),n=document.querySelectorAll('.main-search input[type="date"]'),r=document.querySelector('[data-drupal-selector="edit-date"]');t.value="",r.value=null,n.forEach(function(e){e.value=""}),i.forEach(function(e){e.removeEventListener("change",s),e.checked=!1}),e.ajaxSearch(),i.forEach(function(e){e.addEventListener("change",s)})}),r.addEventListener("change",function(){if("custom"===r.value){var e=document.querySelector('[data-drupal-selector="edit-date-wrapper"]'),t=document.querySelector(".main-catalog-offer [data-drupal-selector=edit-fieldset]");e&&t&&setTimeout(function(){var i=e.getBoundingClientRect(),n=t.getBoundingClientRect(),r=i.bottom-n.top+t.scrollTop;t.scrollTo({top:r,behavior:"smooth"})},100)}}),this.initAjaxEvents()},initAjaxEvents:function(){var e=this,t=document.querySelectorAll('[name="order"]'),i=document.querySelectorAll('[name="view"]'),n=document.querySelector("#open-filters"),r=document.querySelectorAll("[data-theme]"),s=document.querySelectorAll("[data-format]");document.querySelectorAll(".pager a").forEach(function(t){t.addEventListener("click",function(t){t.preventDefault();var i=t.target.href,n=new URLSearchParams(new URL(i).search),r=document.querySelector("#search-content");history.replaceState(null,"","?"+n.toString()),e.showOverlay(),fetch(i).then(function(e){return e.json()}).then(function(e){console.log(e),r.innerHTML=e.data}).catch(function(t){console.error("Error:",t),e.searchForm.submit()}).finally(function(){e.hideOverlay(),e.initAjaxEvents()})})}),r.forEach(function(t){t.addEventListener("click",function(t){var i=t.target.dataset.theme,n=e.searchForm.querySelector('[data-drupal-selector="edit-theme-'+i+'"]');n.checked=!n.checked,e.ajaxSearch()})}),s.forEach(function(t){t.addEventListener("click",function(t){var i=t.target.dataset.format,n=e.searchForm.querySelector('[data-drupal-selector="edit-format-'+i+'"]');n.checked=!n.checked,e.ajaxSearch()})}),t.forEach(function(t){t.addEventListener("change",function(){e.ajaxSearch(t.value)})}
3),i.forEach(function(t){t.addEventListener("change",function(){e.ajaxSearch()})}),n.addEventListener("click",function(){e.searchWapper.classList.toggle("search-filter-wrapper--open")})},showOverlay:function(){document.querySelector(".search-overlay").classList.add("search-overlay--open")},hideOverlay:function(){document.querySelector(".search-overlay").classList.remove("search-overlay--open")},ajaxSearch:function(e){var t=this,i=document.querySelector('[data-drupal-selector="edit-date-debut"]'),n=document.querySelector('[data-drupal-selector="edit-date-fin"]'),r=document.querySelector('[data-drupal-selector="edit-date"]'),s=document.querySelector('[data-drupal-selector="edit-custom-date-wrapper"]'),o=s.querySelector(".form-item__error-message");if(o&&o.remove(),"custom"==r.value&&i&&n&&i.value&&n.value&&new Date(i.value)>new Date(n.value)){var a=document.createElement("div");a.classList.add("form-item__error-message"),a.innerText="La date de début doit être avant ou égale à la date de fin",s.prepend(a);return}var l=window.location.origin,c=new FormData(this.searchForm);void 0!==e&&c.set("order",e);var u=new URLSearchParams(c),d=l+"/recherche-ajax?"+u.toString(),h=document.querySelector("#search-content");history.replaceState(null,"","?"+u.toString()),this.showOverlay(),fetch(d).then(function(e){return e.json()}).then(function(e){h.innerHTML=e.data,h.dispatchEvent(new CustomEvent("search:updated",{bubbles:!0,detail:{data:e.data}}))}).catch(function(e){t.searchForm.submit()}).finally(function(){t.hideOverlay(),t.initAjaxEvents(),Drupal.attachBehaviors(document.getElementById("search-content"),drupalSettings),Drupal.behaviors.addvisoReviveAddvisoRevive.attach(document,drupalSettingss)})}}})})},395(){document.addEventListener("alpine:init",function(){Alpine.store("header",{minDelta:5,minScrollTop:200,lastScrollTop:0,scrollDir:null,firstLoad:!0,navVisible:!1,init:function(){},get togglerLabel(){var e;return e=this.navVisible?"Fermer":"Ouvrir","".concat(e," le menu de navigation")},scrollWatcher:function(){if(this.firstLoad){this.firstLoad=!1;return}var e=document.documentElement.scrollTop;Math.abs(this.lastScrollTop-e)<=this.minDelta||e<this.minScrollTop||(e>this.lastScrollTop?this.scrollDir="down":this.scrollDir="up",this.lastScrollTop=e)}})})},393(e,t,i){"use strict";i.d(t,{HI:()=>n,ar:()=>r});var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"height",i=document.querySelector(e);return i?"width"===t?i.offsetWidth:"height"===t?i.offsetHeight:void 0:0},r=function(e){var t=e.clientHeight;return e.scrollHeight>t}},56(e,t,i){var n={"./atoms/button-expand/button-expand.js":78,"./molecules/eventnav/eventnav.theme.js":774,"./molecules/iframe-wrapper/iframe-wrapper.theme.js":356,"./molecules/map/map.js":437,"./molecules/scroll-top/scroll-top.theme.js":998,"./organisms/banner-evenements/banner-evenements.theme.js":82,"./organisms/context-nav-event/context-nav-event.theme.js":442,"./organisms/context-nav/context-nav.theme.js":890,"./organisms/header/header.theme.js":58,"./organisms/lightbox/lightbox.theme.js":2,"./organisms/nav-mobile/nav-mobile.theme.js":988,"./organisms/popin-promo/popin-promo.theme.js":518,"./organisms/remote-video/remote-video.theme.js":559,"./templates/featured/featured.theme.js":438,"./templates/slider/slider.theme.js":605};function r(e){return i(s(e))}function s(e){if(!i.o(n,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=s,e.exports=r,r.id=56},1(e,t,i){var n={"./images/404.svg":343,"./images/icons.sprite.svg":268,"./images/logo-3-presse.svg":871,"./images/logo-elo-presse.svg":596,"./images/logo-placeholder.png":237,"./images/logo-placeholder.svg":940,"./images/mag-placeholder.jpg":379,"./images/placeholder-archive.webp":433,"./images/placeholder-intervenant.webp":507,"./images/placeholder-square.jpg":377,"./images/placeholder-vertical.jpg":22,"./images/placeholder.jpg":629};function r(e){return i(s(e))}function s(e){if(!i.o(n,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=s,e.exports=r,r.id=1},446(e,t,i){var n={"./paragraph.js":588,"./search.js":544};function r(e){return i(s(e))}function s(e){if(!i.o(n,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=s,e.exports=r,r.id=446},237(e,t,i){"use strict";e.exports=i.p+"assets/images/31555891038854e55bef.png"},379(e,t,i){"use strict";e.exports=i.p+"assets/images/69d7aff703a0493421a1.jpg"},433(e,t,i){"use strict";e.exports=i.p+"assets/images/200ca7d16d15b4154813.webp"},507(e,t,i){"use strict";e.exports=i.p+"assets/images/c0f8d72944ed9dcba0d4.webp"},377(e,t,i){"use strict";e.exports=i.p+"assets/images/7384c1516a73095137b8.jpg"},22(e,t,i){"use strict";e.exports=i.p+"assets/images/c7e7a034cdaf00ae4a5d.jpg"},629(e,t,i){"use strict";
3e.exports=i.p+"assets/images/526667a11d1190a128bb.jpg"},343(e,t,i){"use strict";e.exports=i.p+"assets/images/872e4ba6b812325161ec.svg"},871(e,t,i){"use strict";e.exports=i.p+"assets/images/351f6a9a40a9da16712f.svg"},596(e,t,i){"use strict";e.exports=i.p+"assets/images/b3ab6784718ec5ca9e72.svg"},940(e,t,i){"use strict";e.exports=i.p+"assets/images/9b6b1ec9b67e57aceef5.svg"},268(e,t,i){"use strict";e.exports=i.p+"assets/images/2e871604ef7778ce3dc1.svg"},94(e,t,i){"use strict";i.r(t),i.d(t,{A11y:()=>v,Autoplay:()=>y,Controller:()=>m,EffectCards:()=>R,EffectCoverflow:()=>j,EffectCreative:()=>N,EffectCube:()=>I,EffectFade:()=>z,EffectFlip:()=>B,FreeMode:()=>w,Grid:()=>x,HashNavigation:()=>_,History:()=>g,Keyboard:()=>o,Manipulation:()=>C,Mousewheel:()=>a,Navigation:()=>c,Pagination:()=>d,Parallax:()=>p,Scrollbar:()=>h,Thumbs:()=>b,Virtual:()=>s,Zoom:()=>f});var n=i(375),r=i(44);function s(e){let t,{swiper:i,extendParams:s,on:o,emit:a}=e;s({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let l=(0,n.g)();i.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};let c=l.createElement("div");function u(e,t){let n,s=i.params.virtual;return s.cache&&i.virtual.cache[t]?i.virtual.cache[t]:(s.renderSlide?"string"==typeof(n=s.renderSlide.call(i,e,t))&&((0,r.s)(c,n),n=c.children[0]):n=i.isElement?(0,r.c)("swiper-slide"):(0,r.c)("div",i.params.slideClass),n.setAttribute("data-swiper-slide-index",t),s.renderSlide||(0,r.s)(n,e),s.cache&&(i.virtual.cache[t]=n),n)}function d(e,t,n){let s,o,l,{slidesPerView:c,slidesPerGroup:d,centeredSlides:h,loop:p,initialSlide:f}=i.params;if(t&&!p&&f>0)return;let{addSlidesBefore:m,addSlidesAfter:v}=i.params.virtual,{from:g,to:_,slides:y,slidesGrid:b,offset:w}=i.virtual;i.params.cssMode||i.updateActiveIndex();let x=void 0===n?i.activeIndex||0:n;s=i.rtlTranslate?"right":i.isHorizontal()?"left":"top",h?(o=Math.floor(c/2)+d+v,l=Math.floor(c/2)+d+m):(o=c+(d-1)+v,l=(p?c:d)+m);let E=x-l,S=x+o;p||(E=Math.max(E,0),S=Math.min(S,y.length-1));let T=(i.slidesGrid[E]||0)-(i.slidesGrid[0]||0);function M(){i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),a("virtualUpdate")}if(p&&x>=l?(E-=l,h||(T+=i.slidesGrid[0])):p&&x<l&&(E=-l,h&&(T+=i.slidesGrid[0])),Object.assign(i.virtual,{from:E,to:S,offset:T,slidesGrid:i.slidesGrid,slidesBefore:l,slidesAfter:o}),g===E&&_===S&&!e){i.slidesGrid!==b&&T!==w&&i.slides.forEach(e=>{e.style[s]=`${T-Math.abs(i.cssOverflowAdjustment())}px`}),i.updateProgress(),a("virtualUpdate");return}if(i.params.virtual.renderExternal){i.params.virtual.renderExternal.call(i,{offset:T,from:E,to:S,slides:function(){let e=[];for(let t=E;t<=S;t+=1)e.push(y[t]);return e}()}),i.params.virtual.renderExternalUpdate?M():a("virtualUpdate");return}let P=[],C=[],O=e=>{let t=e;return e<0?t=y.length+e:t>=y.length&&(t-=y.length),t};if(e)i.slides.filter(e=>e.matches(`.${i.params.slideClass}, swiper-slide`)).forEach(e=>{e.remove()});else for(let e=g;e<=_;e+=1)if(e<E||e>S){let t=O(e);i.slides.filter(e=>e.matches(`.${i.params.slideClass}[data-swiper-slide-index="${t}"], swiper-slide[data-swiper-slide-index="${t}"]`)).forEach(e=>{e.remove()})}let k=p?-y.length:0,A=p?2*y.length:y.length;for(let t=k;t<A;t+=1)if(t>=E&&t<=S){let i=O(t);void 0===_||e?C.push(i):(t>_&&C.push(i),t<g&&P.push(i))}if(C.forEach(e=>{i.slidesEl.append(u(y[e],e))}),p)for(let e=P.length-1;e>=0;e-=1){let t=P[e];i.slidesEl.prepend(u(y[t],t))}else P.sort((e,t)=>t-e),P.forEach(e=>{i.slidesEl.prepend(u(y[e],e))});(0,r.e)(i.slidesEl,".swiper-slide, swiper-slide").forEach(e=>{e.style[s]=`${T-Math.abs(i.cssOverflowAdjustment())}px`}),M()}o("beforeInit",()=>{let e;if(i.params.virtual.enabled){if(void 0===i.passedParams.virtual.slides){let t=[...i.slidesEl.children].filter(e=>e.matches(`.${i.params.slideClass}, swiper-slide`));t&&t.length&&(i.virtual.slides=[...t],e=!0,t.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t),i.virtual.cache[t]=e,e.remove()}))}e||(i.virtual.slides=i.params.virtual.slides),i.classNames.push(`${i.params.containerModifierClass}virtual`),i.params.watchSlidesProgress=!0,i.originalParams.watchSlidesProgress=!0,d(!1,!0)}}),o("setTranslate",()=>{i.params.virtual.enabled&&(i.params.cssMode&&!i._immediateVirtual?(clearTimeout(t),t=setTimeout(()=>{d()},100)):d())}),o("init update resize",()=>{i.params.virtual.enabled&&i.params.cssMode&&(0,r.a)(i.wrapperEl,"--swiper-virtual-size",`${i.virtualSize}px`)}),Object.assign(i.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&i.virtual.slides.push(e[t]);else i.virtual.slides.push(e);d(!0)},prependSlide:function(e){let t=i.activeIndex,n=t+1,r=1;if(Array.isArray(e)){for(let t=0;t<e.length;t+=1)e[t]&&i.virtual.slides.unshift(e[t]);n=t+e.length,r=e.length}else i.virtual.slides.unshift(e);
3if(i.params.virtual.cache){let e=i.virtual.cache,t={};Object.keys(e).forEach(i=>{let n=e[i],s=n.getAttribute("data-swiper-slide-index");s&&n.setAttribute("data-swiper-slide-index",parseInt(s,10)+r),t[parseInt(i,10)+r]=n}),i.virtual.cache=t}d(!0),i.slideTo(n,0)},removeSlide:function(e){if(null==e)return;let t=i.activeIndex;if(Array.isArray(e))for(let n=e.length-1;n>=0;n-=1)i.params.virtual.cache&&(delete i.virtual.cache[e[n]],Object.keys(i.virtual.cache).forEach(t=>{t>e&&(i.virtual.cache[t-1]=i.virtual.cache[t],i.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete i.virtual.cache[t])})),i.virtual.slides.splice(e[n],1),e[n]<t&&(t-=1),t=Math.max(t,0);else i.params.virtual.cache&&(delete i.virtual.cache[e],Object.keys(i.virtual.cache).forEach(t=>{t>e&&(i.virtual.cache[t-1]=i.virtual.cache[t],i.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete i.virtual.cache[t])})),i.virtual.slides.splice(e,1),e<t&&(t-=1),t=Math.max(t,0);d(!0),i.slideTo(t,0)},removeAllSlides:function(){i.virtual.slides=[],i.params.virtual.cache&&(i.virtual.cache={}),d(!0),i.slideTo(0,0)},update:d})}function o(e){let{swiper:t,extendParams:i,on:s,emit:o}=e,a=(0,n.g)(),l=(0,n.a)();function c(e){if(!t.enabled)return;let{rtlTranslate:i}=t,n=e;n.originalEvent&&(n=n.originalEvent);let s=n.keyCode||n.charCode,c=t.params.keyboard.pageUpDown,u=c&&33===s,d=c&&34===s,h=37===s,p=39===s,f=38===s,m=40===s;if(!t.allowSlideNext&&(t.isHorizontal()&&p||t.isVertical()&&m||d)||!t.allowSlidePrev&&(t.isHorizontal()&&h||t.isVertical()&&f||u))return!1;if(!n.shiftKey&&!n.altKey&&!n.ctrlKey&&!n.metaKey&&(!a.activeElement||!a.activeElement.isContentEditable&&(!a.activeElement.nodeName||"input"!==a.activeElement.nodeName.toLowerCase()&&"textarea"!==a.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(u||d||h||p||f||m)){let e=!1;if((0,r.b)(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===(0,r.b)(t.el,`.${t.params.slideActiveClass}`).length)return;let n=t.el,s=n.clientWidth,o=n.clientHeight,a=l.innerWidth,c=l.innerHeight,u=(0,r.d)(n);i&&(u.left-=n.scrollLeft);let d=[[u.left,u.top],[u.left+s,u.top],[u.left,u.top+o],[u.left+s,u.top+o]];for(let t=0;t<d.length;t+=1){let i=d[t];if(i[0]>=0&&i[0]<=a&&i[1]>=0&&i[1]<=c){if(0===i[0]&&0===i[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((u||d||h||p)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),((d||p)&&!i||(u||h)&&i)&&t.slideNext(),((u||h)&&!i||(d||p)&&i)&&t.slidePrev()):((u||d||f||m)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),(d||m)&&t.slideNext(),(u||f)&&t.slidePrev()),o("keyPress",s)}}function u(){t.keyboard.enabled||(a.addEventListener("keydown",c),t.keyboard.enabled=!0)}function d(){t.keyboard.enabled&&(a.removeEventListener("keydown",c),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},i({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),s("init",()=>{t.params.keyboard.enabled&&u()}),s("destroy",()=>{t.keyboard.enabled&&d()}),Object.assign(t.keyboard,{enable:u,disable:d})}function a(e){let t,i,{swiper:s,extendParams:o,on:a,emit:l}=e,c=(0,n.a)();o({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),s.mousewheel={enabled:!1};let u=(0,r.f)(),d=[];function h(){s.enabled&&(s.mouseEntered=!0)}function p(){s.enabled&&(s.mouseEntered=!1)}function f(e){return!(s.params.mousewheel.thresholdDelta&&e.delta<s.params.mousewheel.thresholdDelta||s.params.mousewheel.thresholdTime&&(0,r.f)()-u<s.params.mousewheel.thresholdTime)&&(!!(e.delta>=6&&(0,r.f)()-u<60)||(e.direction<0?s.isEnd&&!s.params.loop||s.animating||(s.slideNext(),l("scroll",e.raw)):s.isBeginning&&!s.params.loop||s.animating||(s.slidePrev(),l("scroll",e.raw)),u=new c.Date().getTime(),!1))}function m(e){var n;let o,a,c,u,h=e;if(!s.enabled||e.target.closest(`.${s.params.mousewheel.noMousewheelClass}`))return;let p=s.params.mousewheel;s.params.cssMode&&h.preventDefault();let m=s.el;"container"!==s.params.mousewheel.eventsTarget&&(m=document.querySelector(s.params.mousewheel.eventsTarget));let v=m&&m.contains(h.target);if(!s.mouseEntered&&!v&&!p.releaseOnEdges)return!0;h.originalEvent&&(h=h.originalEvent);let g=0,_=s.rtlTranslate?-1:1,y=(o=0,a=0,c=0,u=0,"detail"in(n=h)&&(a=n.detail),"wheelDelta"in n&&(a=-n.wheelDelta/120),"wheelDeltaY"in n&&(a=-n.wheelDeltaY/120
3),"wheelDeltaX"in n&&(o=-n.wheelDeltaX/120),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(o=a,a=0),c=10*o,u=10*a,"deltaY"in n&&(u=n.deltaY),"deltaX"in n&&(c=n.deltaX),n.shiftKey&&!c&&(c=u,u=0),(c||u)&&n.deltaMode&&(1===n.deltaMode?(c*=40,u*=40):(c*=800,u*=800)),c&&!o&&(o=c<1?-1:1),u&&!a&&(a=u<1?-1:1),{spinX:o,spinY:a,pixelX:c,pixelY:u});if(p.forceToAxis)if(s.isHorizontal())if(!(Math.abs(y.pixelX)>Math.abs(y.pixelY)))return!0;else g=-y.pixelX*_;else{if(!(Math.abs(y.pixelY)>Math.abs(y.pixelX)))return!0;g=-y.pixelY}else g=Math.abs(y.pixelX)>Math.abs(y.pixelY)?-y.pixelX*_:-y.pixelY;if(0===g)return!0;p.invert&&(g=-g);let b=s.getTranslate()+g*p.sensitivity;if(b>=s.minTranslate()&&(b=s.minTranslate()),b<=s.maxTranslate()&&(b=s.maxTranslate()),(s.params.loop||b!==s.minTranslate()&&b!==s.maxTranslate())&&s.params.nested&&h.stopPropagation(),s.params.freeMode&&s.params.freeMode.enabled){let e={time:(0,r.f)(),delta:Math.abs(g),direction:Math.sign(g)},n=i&&e.time<i.time+500&&e.delta<=i.delta&&e.direction===i.direction;if(!n){i=void 0;let o=s.getTranslate()+g*p.sensitivity,a=s.isBeginning,c=s.isEnd;if(o>=s.minTranslate()&&(o=s.minTranslate()),o<=s.maxTranslate()&&(o=s.maxTranslate()),s.setTransition(0),s.setTranslate(o),s.updateProgress(),s.updateActiveIndex(),s.updateSlidesClasses(),(!a&&s.isBeginning||!c&&s.isEnd)&&s.updateSlidesClasses(),s.params.loop&&s.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),s.params.freeMode.sticky){clearTimeout(t),t=void 0,d.length>=15&&d.shift();let n=d.length?d[d.length-1]:void 0,o=d[0];if(d.push(e),n&&(e.delta>n.delta||e.direction!==n.direction))d.splice(0);else if(d.length>=15&&e.time-o.time<500&&o.delta-e.delta>=1&&e.delta<=6){let n=g>0?.8:.2;i=e,d.splice(0),t=(0,r.n)(()=>{!s.destroyed&&s.params&&s.slideToClosest(s.params.speed,!0,void 0,n)},0)}t||(t=(0,r.n)(()=>{s.destroyed||!s.params||(i=e,d.splice(0),s.slideToClosest(s.params.speed,!0,void 0,.5))},500))}if(n||l("scroll",h),s.params.autoplay&&s.params.autoplay.disableOnInteraction&&s.autoplay.stop(),p.releaseOnEdges&&(o===s.minTranslate()||o===s.maxTranslate()))return!0}}else{let t={time:(0,r.f)(),delta:Math.abs(g),direction:Math.sign(g),raw:e};d.length>=2&&d.shift();let i=d.length?d[d.length-1]:void 0;if(d.push(t),i?(t.direction!==i.direction||t.delta>i.delta||t.time>i.time+150)&&f(t):f(t),function(e){let t=s.params.mousewheel;if(e.direction<0){if(s.isEnd&&!s.params.loop&&t.releaseOnEdges)return!0}else if(s.isBeginning&&!s.params.loop&&t.releaseOnEdges)return!0;return!1}(t))return!0}return h.preventDefault?h.preventDefault():h.returnValue=!1,!1}function v(e){let t=s.el;"container"!==s.params.mousewheel.eventsTarget&&(t=document.querySelector(s.params.mousewheel.eventsTarget)),t[e]("mouseenter",h),t[e]("mouseleave",p),t[e]("wheel",m)}function g(){return s.params.cssMode?(s.wrapperEl.removeEventListener("wheel",m),!0):!s.mousewheel.enabled&&(v("addEventListener"),s.mousewheel.enabled=!0,!0)}function _(){return s.params.cssMode?(s.wrapperEl.addEventListener(event,m),!0):!!s.mousewheel.enabled&&(v("removeEventListener"),s.mousewheel.enabled=!1,!0)}a("init",()=>{!s.params.mousewheel.enabled&&s.params.cssMode&&_(),s.params.mousewheel.enabled&&g()}),a("destroy",()=>{s.params.cssMode&&g(),s.mousewheel.enabled&&_()}),Object.assign(s.mousewheel,{enable:g,disable:_})}function l(e,t,i,n){return e.params.createElements&&Object.keys(n).forEach(s=>{if(!i[s]&&!0===i.auto){let o=(0,r.e)(e.el,`.${n[s]}`)[0];o||((o=(0,r.c)("div",n[s])).className=n[s],e.el.append(o)),i[s]=o,t[s]=o}}),i}function c(e){let{swiper:t,extendParams:i,on:n,emit:s}=e;function o(e){let i;return e&&"string"==typeof e&&t.isElement&&(i=t.el.querySelector(e)||t.hostEl.querySelector(e))?i:(e&&("string"==typeof e&&(i=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&i&&i.length>1&&1===t.el.querySelectorAll(e).length?i=t.el.querySelector(e):i&&1===i.length&&(i=i[0])),e&&!i)?e:i}function a(e,i){let n=t.params.navigation;(e=(0,r.m)(e)).forEach(e=>{e&&(e.classList[i?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=i),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass))})}function c(){let{nextEl:e,prevEl:i}=t.navigation;if(t.params.loop){a(i,!1),a(e,!1);return}a(i,t.isBeginning&&!t.params.rewind),a(e,t.isEnd&&!t.params.rewind)}function u(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),s("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),s("navigationNext"))}function h(){let e=t.params.navigation;if(t.params.navigation=l(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(e.nextEl||e.prevEl))return;let i=o(e.nextEl),n=o(e.prevEl);Object.assign(t.navigation,{nextEl:i,prevEl:n}),i=(0,r.m)(i),n=(0,r.m)(n);let s=(i,n)=>{i&&i.addEventListener("click","next"===n?d:u),!t.enabled&&i&&i.classList.add(...e.lockClass.split(" "))};
3i.forEach(e=>s(e,"next")),n.forEach(e=>s(e,"prev"))}function p(){let{nextEl:e,prevEl:i}=t.navigation;e=(0,r.m)(e),i=(0,r.m)(i);let n=(e,i)=>{e.removeEventListener("click","next"===i?d:u),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>n(e,"next")),i.forEach(e=>n(e,"prev"))}i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},n("init",()=>{!1===t.params.navigation.enabled?f():(h(),c())}),n("toEdge fromEdge lock unlock",()=>{c()}),n("destroy",()=>{p()}),n("enable disable",()=>{let{nextEl:e,prevEl:i}=t.navigation;(e=(0,r.m)(e),i=(0,r.m)(i),t.enabled)?c():[...e,...i].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),n("click",(e,i)=>{let{nextEl:n,prevEl:o}=t.navigation;n=(0,r.m)(n),o=(0,r.m)(o);let a=i.target,l=o.includes(a)||n.includes(a);if(t.isElement&&!l){let e=i.path||i.composedPath&&i.composedPath();e&&(l=e.find(e=>n.includes(e)||o.includes(e)))}if(t.params.navigation.hideOnClick&&!l){let e;if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;n.length?e=n[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(e=o[0].classList.contains(t.params.navigation.hiddenClass)),!0===e?s("navigationShow"):s("navigationHide"),[...n,...o].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});let f=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),h(),c()},disable:f,update:c,init:h,destroy:p})}function u(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function d(e){let t,{swiper:i,extendParams:n,on:s,emit:o}=e,a="swiper-pagination";n({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:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),i.pagination={el:null,bullets:[]};let c=0;function d(){return!i.params.pagination.el||!i.pagination.el||Array.isArray(i.pagination.el)&&0===i.pagination.el.length}function h(e,t){let{bulletActiveClass:n}=i.params.pagination;e&&(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&(e.classList.add(`${n}-${t}`),(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&e.classList.add(`${n}-${t}-${t}`))}function p(e){let t=e.target.closest(u(i.params.pagination.bulletClass));if(!t)return;e.preventDefault();let n=(0,r.i)(t)*i.params.slidesPerGroup;if(i.params.loop){var s,o,a;if(i.realIndex===n)return;let e=(s=i.realIndex,o=n,(s%=a=i.slides.length,(o%=a)===s+1)?"next":o===s-1?"previous":void 0);"next"===e?i.slideNext():"previous"===e?i.slidePrev():i.slideToLoop(n)}else i.slideTo(n)}function f(){let e,n,s=i.rtl,a=i.params.pagination;if(d())return;let l=i.pagination.el;l=(0,r.m)(l);let p=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.slides.length,f=i.params.loop?Math.ceil(p/i.params.slidesPerGroup):i.snapGrid.length;if(i.params.loop?(n=i.previousRealIndex||0,e=i.params.slidesPerGroup>1?Math.floor(i.realIndex/i.params.slidesPerGroup):i.realIndex):void 0!==i.snapIndex?(e=i.snapIndex,n=i.previousSnapIndex):(n=i.previousIndex||0,e=i.activeIndex||0),"bullets"===a.type&&i.pagination.bullets&&i.pagination.bullets.length>0){let o,u,d,p=i.pagination.bullets;if(a.dynamicBullets&&(t=(0,r.h)(p[0],i.isHorizontal()?"width":"height",!0),l.forEach(e
3=>{e.style[i.isHorizontal()?"width":"height"]=`${t*(a.dynamicMainBullets+4)}px`}),a.dynamicMainBullets>1&&void 0!==n&&((c+=e-(n||0))>a.dynamicMainBullets-1?c=a.dynamicMainBullets-1:c<0&&(c=0)),d=((u=(o=Math.max(e-c,0))+(Math.min(p.length,a.dynamicMainBullets)-1))+o)/2),p.forEach(e=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${a.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),l.length>1)p.forEach(t=>{let n=(0,r.i)(t);n===e?t.classList.add(...a.bulletActiveClass.split(" ")):i.isElement&&t.setAttribute("part","bullet"),a.dynamicBullets&&(n>=o&&n<=u&&t.classList.add(...`${a.bulletActiveClass}-main`.split(" ")),n===o&&h(t,"prev"),n===u&&h(t,"next"))});else{let t=p[e];if(t&&t.classList.add(...a.bulletActiveClass.split(" ")),i.isElement&&p.forEach((t,i)=>{t.setAttribute("part",i===e?"bullet-active":"bullet")}),a.dynamicBullets){let e=p[o],t=p[u];for(let e=o;e<=u;e+=1)p[e]&&p[e].classList.add(...`${a.bulletActiveClass}-main`.split(" "));h(e,"prev"),h(t,"next")}}if(a.dynamicBullets){let e=Math.min(p.length,a.dynamicMainBullets+4),n=(t*e-t)/2-d*t,r=s?"right":"left";p.forEach(e=>{e.style[i.isHorizontal()?r:"top"]=`${n}px`})}}l.forEach((t,n)=>{if("fraction"===a.type&&(t.querySelectorAll(u(a.currentClass)).forEach(t=>{t.textContent=a.formatFractionCurrent(e+1)}),t.querySelectorAll(u(a.totalClass)).forEach(e=>{e.textContent=a.formatFractionTotal(f)})),"progressbar"===a.type){let n;n=a.progressbarOpposite?i.isHorizontal()?"vertical":"horizontal":i.isHorizontal()?"horizontal":"vertical";let r=(e+1)/f,s=1,o=1;"horizontal"===n?s=r:o=r,t.querySelectorAll(u(a.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${o})`,e.style.transitionDuration=`${i.params.speed}ms`})}"custom"===a.type&&a.renderCustom?((0,r.s)(t,a.renderCustom(i,e+1,f)),0===n&&o("paginationRender",t)):(0===n&&o("paginationRender",t),o("paginationUpdate",t)),i.params.watchOverflow&&i.enabled&&t.classList[i.isLocked?"add":"remove"](a.lockClass)})}function m(){let e=i.params.pagination;if(d())return;let t=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.grid&&i.params.grid.rows>1?i.slides.length/Math.ceil(i.params.grid.rows):i.slides.length,n=i.pagination.el;n=(0,r.m)(n);let s="";if("bullets"===e.type){let n=i.params.loop?Math.ceil(t/i.params.slidesPerGroup):i.snapGrid.length;i.params.freeMode&&i.params.freeMode.enabled&&n>t&&(n=t);for(let t=0;t<n;t+=1)e.renderBullet?s+=e.renderBullet.call(i,t,e.bulletClass):s+=`<${e.bulletElement} ${i.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(i,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(i,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),i.pagination.bullets=[],n.forEach(t=>{"custom"!==e.type&&(0,r.s)(t,s||""),"bullets"===e.type&&i.pagination.bullets.push(...t.querySelectorAll(u(e.bulletClass)))}),"custom"!==e.type&&o("paginationRender",n[0])}function v(){let e;i.params.pagination=l(i,i.originalParams.pagination,i.params.pagination,{el:"swiper-pagination"});let t=i.params.pagination;!t.el||("string"==typeof t.el&&i.isElement&&(e=i.el.querySelector(t.el)),e||"string"!=typeof t.el||(e=[...document.querySelectorAll(t.el)]),e||(e=t.el),e&&0!==e.length&&(i.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&e.length>1&&(e=[...i.el.querySelectorAll(t.el)]).length>1&&(e=e.find(e=>(0,r.b)(e,".swiper")[0]===i.el)),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(i.pagination,{el:e}),(e=(0,r.m)(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(i.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(`${t.modifierClass}${t.type}-dynamic`),c=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",p),i.enabled||e.classList.add(t.lockClass)})))}function g(){let e=i.params.pagination;if(d())return;let t=i.pagination.el;
3t&&(t=(0,r.m)(t)).forEach(t=>{t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(i.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(t.classList.remove(...(e.clickableClass||"").split(" ")),t.removeEventListener("click",p))}),i.pagination.bullets&&i.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!i.pagination||!i.pagination.el)return;let e=i.params.pagination,{el:t}=i.pagination;(t=(0,r.m)(t)).forEach(t=>{t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(i.isHorizontal()?e.horizontalClass:e.verticalClass)})}),s("init",()=>{!1===i.params.pagination.enabled?_():(v(),m(),f())}),s("activeIndexChange",()=>{void 0===i.snapIndex&&f()}),s("snapIndexChange",()=>{f()}),s("snapGridLengthChange",()=>{m(),f()}),s("destroy",()=>{g()}),s("enable disable",()=>{let{el:e}=i.pagination;e&&(e=(0,r.m)(e)).forEach(e=>e.classList[i.enabled?"remove":"add"](i.params.pagination.lockClass))}),s("lock unlock",()=>{f()}),s("click",(e,t)=>{let n=t.target,s=(0,r.m)(i.pagination.el);if(i.params.pagination.el&&i.params.pagination.hideOnClick&&s&&s.length>0&&!n.classList.contains(i.params.pagination.bulletClass)){if(i.navigation&&(i.navigation.nextEl&&n===i.navigation.nextEl||i.navigation.prevEl&&n===i.navigation.prevEl))return;!0===s[0].classList.contains(i.params.pagination.hiddenClass)?o("paginationShow"):o("paginationHide"),s.forEach(e=>e.classList.toggle(i.params.pagination.hiddenClass))}});let _=()=>{i.el.classList.add(i.params.pagination.paginationDisabledClass);let{el:e}=i.pagination;e&&(e=(0,r.m)(e)).forEach(e=>e.classList.add(i.params.pagination.paginationDisabledClass)),g()};Object.assign(i.pagination,{enable:()=>{i.el.classList.remove(i.params.pagination.paginationDisabledClass);let{el:e}=i.pagination;e&&(e=(0,r.m)(e)).forEach(e=>e.classList.remove(i.params.pagination.paginationDisabledClass)),v(),m(),f()},disable:_,render:m,update:f,init:v,destroy:g})}function h(e){let t,i,s,o,{swiper:a,extendParams:c,on:d,emit:h}=e,p=(0,n.g)(),f=!1,m=null,v=null;function g(){if(!a.params.scrollbar.el||!a.scrollbar.el)return;let{scrollbar:e,rtlTranslate:t}=a,{dragEl:n,el:r}=e,o=a.params.scrollbar,l=a.params.loop?a.progressLoop:a.progress,c=i,u=(s-i)*l;t?(u=-u)>0?(c=i-u,u=0):-u+i>s&&(c=s+u):u<0?(c=i+u,u=0):u+i>s&&(c=s-u),a.isHorizontal()?(n.style.transform=`translate3d(${u}px, 0, 0)`,n.style.width=`${c}px`):(n.style.transform=`translate3d(0px, ${u}px, 0)`,n.style.height=`${c}px`),o.hide&&(clearTimeout(m),r.style.opacity=1,m=setTimeout(()=>{r.style.opacity=0,r.style.transitionDuration="400ms"},1e3))}function _(){if(!a.params.scrollbar.el||!a.scrollbar.el)return;let{scrollbar:e}=a,{dragEl:t,el:n}=e;t.style.width="",t.style.height="",s=a.isHorizontal()?n.offsetWidth:n.offsetHeight,o=a.size/(a.virtualSize+a.params.slidesOffsetBefore-(a.params.centeredSlides?a.snapGrid[0]:0)),i="auto"===a.params.scrollbar.dragSize?s*o:parseInt(a.params.scrollbar.dragSize,10),a.isHorizontal()?t.style.width=`${i}px`:t.style.height=`${i}px`,o>=1?n.style.display="none":n.style.display="",a.params.scrollbar.hide&&(n.style.opacity=0),a.params.watchOverflow&&a.enabled&&e.el.classList[a.isLocked?"add":"remove"](a.params.scrollbar.lockClass)}function y(e){return a.isHorizontal()?e.clientX:e.clientY}function b(e){let n,{scrollbar:o,rtlTranslate:l}=a,{el:c}=o;n=Math.max(Math.min(n=(y(e)-(0,r.d)(c)[a.isHorizontal()?"left":"top"]-(null!==t?t:i/2))/(s-i),1),0),l&&(n=1-n);let u=a.minTranslate()+(a.maxTranslate()-a.minTranslate())*n;a.updateProgress(u),a.setTranslate(u),a.updateActiveIndex(),a.updateSlidesClasses()}function w(e){let i=a.params.scrollbar,{scrollbar:n,wrapperEl:r}=a,{el:s,dragEl:o}=n;f=!0,t=e.target===o?y(e)-e.target.getBoundingClientRect()[a.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),r.style.transitionDuration="100ms",o.style.transitionDuration="100ms",b(e),clearTimeout(v),s.style.transitionDuration="0ms",i.hide&&(s.style.opacity=1),a.params.cssMode&&(a.wrapperEl.style["scroll-snap-type"]="none"),h("scrollbarDragStart",e)}function x(e){let{scrollbar:t,wrapperEl:i}=a,{el:n,dragEl:r}=t;f&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,b(e),i.style.transitionDuration="0ms",n.style.transitionDuration="0ms",r.style.transitionDuration="0ms",h("scrollbarDragMove",e))}function E(e){let t=a.params.scrollbar,{scrollbar:i,wrapperEl:n}=a,{el:s}=i;f&&(f=!1,a.params.cssMode&&(a.wrapperEl.style["scroll-snap-type"]="",n.style.transitionDuration=""),t.hide&&(clearTimeout(v),v=(0,r.n)(()=>{s.style.opacity=0,s.style.transitionDuration="400ms"},1e3)),h("scrollbarDragEnd",e),t.snapOnRelease&&a.slideToClosest())}function S(e){let{scrollbar:t,params:i}=a,n=t.el;if(!n)return;let r=!!i.passiveListeners&&{passive:!1,capture:!1},s=!!i.passiveListeners&&{passive:!0,capture:!1};if(!n)return;let o="on"===e?"addEventListener":"removeEventListener";n[o]("pointerdown",w,r),p[o]("pointermove",x,r),p[o]("pointerup",E,s)}function T(){let e,t,{scrollbar:i,el:n}=a;a.params.scrollbar=l(a,a.originalParams.scrollbar,a.params.scrollbar,{el:"swiper-scrollbar"});let s=a.params.scrollbar;
3if(s.el){if("string"==typeof s.el&&a.isElement&&(e=a.el.querySelector(s.el)),e||"string"!=typeof s.el)e||(e=s.el);else if(!(e=p.querySelectorAll(s.el)).length)return;a.params.uniqueNavElements&&"string"==typeof s.el&&e.length>1&&1===n.querySelectorAll(s.el).length&&(e=n.querySelector(s.el)),e.length>0&&(e=e[0]),e.classList.add(a.isHorizontal()?s.horizontalClass:s.verticalClass),e&&((t=e.querySelector(u(a.params.scrollbar.dragClass)))||(t=(0,r.c)("div",a.params.scrollbar.dragClass),e.append(t))),Object.assign(i,{el:e,dragEl:t}),s.draggable&&a.params.scrollbar.el&&a.scrollbar.el&&S("on"),e&&e.classList[a.enabled?"remove":"add"](...(0,r.j)(a.params.scrollbar.lockClass))}}function M(){let e=a.params.scrollbar,t=a.scrollbar.el;t&&t.classList.remove(...(0,r.j)(a.isHorizontal()?e.horizontalClass:e.verticalClass)),a.params.scrollbar.el&&a.scrollbar.el&&S("off")}c({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),a.scrollbar={el:null,dragEl:null},d("changeDirection",()=>{if(!a.scrollbar||!a.scrollbar.el)return;let e=a.params.scrollbar,{el:t}=a.scrollbar;(t=(0,r.m)(t)).forEach(t=>{t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(a.isHorizontal()?e.horizontalClass:e.verticalClass)})}),d("init",()=>{!1===a.params.scrollbar.enabled?P():(T(),_(),g())}),d("update resize observerUpdate lock unlock changeDirection",()=>{_()}),d("setTranslate",()=>{g()}),d("setTransition",(e,t)=>{a.params.scrollbar.el&&a.scrollbar.el&&(a.scrollbar.dragEl.style.transitionDuration=`${t}ms`)}),d("enable disable",()=>{let{el:e}=a.scrollbar;e&&e.classList[a.enabled?"remove":"add"](...(0,r.j)(a.params.scrollbar.lockClass))}),d("destroy",()=>{M()});let P=()=>{a.el.classList.add(...(0,r.j)(a.params.scrollbar.scrollbarDisabledClass)),a.scrollbar.el&&a.scrollbar.el.classList.add(...(0,r.j)(a.params.scrollbar.scrollbarDisabledClass)),M()};Object.assign(a.scrollbar,{enable:()=>{a.el.classList.remove(...(0,r.j)(a.params.scrollbar.scrollbarDisabledClass)),a.scrollbar.el&&a.scrollbar.el.classList.remove(...(0,r.j)(a.params.scrollbar.scrollbarDisabledClass)),T(),_(),g()},disable:P,updateSize:_,setTranslate:g,init:T,destroy:M})}function p(e){let{swiper:t,extendParams:i,on:n}=e;i({parallax:{enabled:!1}});let s="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",o=(e,i)=>{let{rtl:n}=t,r=n?-1:1,s=e.getAttribute("data-swiper-parallax")||"0",o=e.getAttribute("data-swiper-parallax-x"),a=e.getAttribute("data-swiper-parallax-y"),l=e.getAttribute("data-swiper-parallax-scale"),c=e.getAttribute("data-swiper-parallax-opacity"),u=e.getAttribute("data-swiper-parallax-rotate");if(o||a?(o=o||"0",a=a||"0"):t.isHorizontal()?(o=s,a="0"):(a=s,o="0"),o=o.indexOf("%")>=0?`${parseInt(o,10)*i*r}%`:`${o*i*r}px`,a=a.indexOf("%")>=0?`${parseInt(a,10)*i}%`:`${a*i}px`,null!=c){let t=c-(c-1)*(1-Math.abs(i));e.style.opacity=t}let d=`translate3d(${o}, ${a}, 0px)`;if(null!=l){let e=l-(l-1)*(1-Math.abs(i));d+=` scale(${e})`}u&&null!=u&&(d+=` rotate(${-(u*i*1)}deg)`),e.style.transform=d},a=()=>{let{el:e,slides:i,progress:n,snapGrid:a,isElement:l}=t,c=(0,r.e)(e,s);t.isElement&&c.push(...(0,r.e)(t.hostEl,s)),c.forEach(e=>{o(e,n)}
3),i.forEach((e,i)=>{let r=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(r+=Math.ceil(i/2)-n*(a.length-1)),r=Math.min(Math.max(r,-1),1),e.querySelectorAll(`${s}, [data-swiper-parallax-rotate]`).forEach(e=>{o(e,r)})})},l=function(e){void 0===e&&(e=t.params.speed);let{el:i,hostEl:n}=t,r=[...i.querySelectorAll(s)];t.isElement&&r.push(...n.querySelectorAll(s)),r.forEach(t=>{let i=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),t.style.transitionDuration=`${i}ms`})};n("beforeInit",()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)}),n("init",()=>{t.params.parallax.enabled&&a()}),n("setTranslate",()=>{t.params.parallax.enabled&&a()}),n("setTransition",(e,i)=>{t.params.parallax.enabled&&l(i)})}function f(e){let t,i,s,{swiper:o,extendParams:a,on:l,emit:c}=e,u=(0,n.a)();a({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),o.zoom={enabled:!1};let d=1,h=!1,p=!1,f={x:0,y:0},m=[],v={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},g={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:{}},_={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},y=1;function b(){if(m.length<2)return 1;let e=m[0].pageX,t=m[0].pageY;return Math.sqrt((m[1].pageX-e)**2+(m[1].pageY-t)**2)}function w(){let e=o.params.zoom,t=v.imageWrapEl.getAttribute("data-swiper-zoom")||e.maxRatio;return e.limitToOriginalSize&&v.imageEl&&v.imageEl.naturalWidth?Math.min(v.imageEl.naturalWidth/v.imageEl.offsetWidth,t):t}function x(e){let t=o.isElement?"swiper-slide":`.${o.params.slideClass}`;return!!e.target.matches(t)||!!(o.slides.filter(t=>t.contains(e.target)).length>0)}function E(e){let t=`.${o.params.zoom.containerClass}`;return!!e.target.matches(t)||!!([...o.hostEl.querySelectorAll(t)].filter(t=>t.contains(e.target)).length>0)}function S(e){if("mouse"===e.pointerType&&m.splice(0,m.length),!x(e))return;let n=o.params.zoom;if(t=!1,i=!1,m.push(e),!(m.length<2)){if(t=!0,v.scaleStart=b(),!v.slideEl){v.slideEl=e.target.closest(`.${o.params.slideClass}, swiper-slide`),v.slideEl||(v.slideEl=o.slides[o.activeIndex]);let t=v.slideEl.querySelector(`.${n.containerClass}`);if(t&&(t=t.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=t,t?v.imageWrapEl=(0,r.b)(v.imageEl,`.${n.containerClass}`)[0]:v.imageWrapEl=void 0,!v.imageWrapEl){v.imageEl=void 0;return}v.maxRatio=w()}if(v.imageEl){let[e,t]=function(){if(m.length<2)return{x:null,y:null};let e=v.imageEl.getBoundingClientRect();return[(m[0].pageX+(m[1].pageX-m[0].pageX)/2-e.x-u.scrollX)/d,(m[0].pageY+(m[1].pageY-m[0].pageY)/2-e.y-u.scrollY)/d]}();v.originX=e,v.originY=t,v.imageEl.style.transitionDuration="0ms"}h=!0}}function T(e){if(!x(e))return;let t=o.params.zoom,n=o.zoom,r=m.findIndex(t=>t.pointerId===e.pointerId);r>=0&&(m[r]=e),m.length<2||(i=!0,v.scaleMove=b(),v.imageEl&&(n.scale=v.scaleMove/v.scaleStart*d,n.scale>v.maxRatio&&(n.scale=v.maxRatio-1+(n.scale-v.maxRatio+1)**.5),n.scale<t.minRatio&&(n.scale=t.minRatio+1-(t.minRatio-n.scale+1)**.5),v.imageEl.style.transform=`translate3d(0,0,0) scale(${n.scale})`))}function M(e){if(!x(e)||"mouse"===e.pointerType&&"pointerout"===e.type)return;let n=o.params.zoom,r=o.zoom,s=m.findIndex(t=>t.pointerId===e.pointerId);s>=0&&m.splice(s,1),t&&i&&(t=!1,i=!1,v.imageEl&&(r.scale=Math.max(Math.min(r.scale,v.maxRatio),n.minRatio),v.imageEl.style.transitionDuration=`${o.params.speed}ms`,v.imageEl.style.transform=`translate3d(0,0,0) scale(${r.scale})`,d=r.scale,h=!1,r.scale>1&&v.slideEl?v.slideEl.classList.add(`${n.zoomedSlideClass}`):r.scale<=1&&v.slideEl&&v.slideEl.classList.remove(`${n.zoomedSlideClass}`),1===r.scale&&(v.originX=0,v.originY=0,v.slideEl=void 0)))}function P(){o.touchEventsData.preventTouchMoveFromPointerMove=!1}function C(e){let t="mouse"===e.pointerType&&o.params.zoom.panOnMouseMove;if(!x(e)||!E(e))return;let i=o.zoom;if(!v.imageEl)return;if(!g.isTouched||!v.slideEl){t&&k(e);return}if(t)return void k(e);g.isMoved||(g.width=v.imageEl.offsetWidth||v.imageEl.clientWidth,g.height=v.imageEl.offsetHeight||v.imageEl.clientHeight,g.startX=(0,r.k)(v.imageWrapEl,"x")||0,g.startY=(0,r.k)(v.imageWrapEl,"y")||0,v.slideWidth=v.slideEl.offsetWidth,v.slideHeight=v.slideEl.offsetHeight,v.imageWrapEl.style.transitionDuration="0ms");let n=g.width*i.scale,a=g.height*i.scale;if(g.minX=Math.min(v.slideWidth/2-n/2,0),g.maxX=-g.minX,g.minY=Math.min(v.slideHeight/2-a/2,0),g.maxY=-g.minY,g.touchesCurrent.x=m.length>0?m[0].pageX:e.pageX,g.touchesCurrent.y=m.length>0?m[0].pageY:e.pageY,Math.max(Math.abs(g.touchesCurrent.x-g.touchesStart.x),Math.abs(g.touchesCurrent.y-g.touchesStart.y))>5&&(o.allowClick=!1),!g.isMoved&&!h&&(o.isHorizontal()&&(Math.floor(g.minX)===Math.floor(g.startX)&&g.touchesCurrent.x<g.touchesStart.x||Math.floor(g.maxX)===Math.floor(g.startX)&&g.touchesCurrent.x>g.touchesStart.x)||!o.isHorizontal()&&(Math.floor(g.minY)===Math.floor(g.startY)&&g.touchesCurrent.y<g.touchesStart.y||Math.floor(g.maxY)===Math.floor(g.startY)&&g.touchesCurrent.y>g.touchesStart.y))){g.isTouched=!1,P();return}e.cancelable&&e.preventDefault(),e.stopPropagation(),clearTimeout(s),o.touchEventsData.preventTouchMoveFromPointerMove=!0,s=setTimeout(()=>{o.destroyed||P()}),g.isMoved=!0;let l=(i.scale-d)/(v.maxRatio-o.params.zoom.minRatio),{originX:c,originY:u}=v;g.currentX=g.touchesCurrent.x-g.touchesStart.x+g.startX+l*(g.width-2*c),g.currentY=g.touchesCurrent.y-g.touchesStart.y+g.startY+l*(g.height-2*u),g.currentX<g.minX&&(g.currentX=g.minX+1-(g.minX-g.currentX+1)**.8),g.currentX>g.maxX&&(g.currentX=g.maxX-1+(g.currentX-g.maxX+1)**.8),g.currentY<g.minY&&(g.currentY=g.minY+1-(g.minY-g.currentY+1)**.8),g.currentY>g.maxY&&(g.currentY=g.maxY-1+(g.currentY-g.maxY+1)**.8),_.prevPositionX||(_.prevPositionX=g.touchesCurrent.x),_.prevPositionY||(_.prevPositionY=g.touchesCurrent.y),_.prevTime||(_.prevTime=Date.now()),_.x=(g.touchesCurrent.x-_.prevPositionX)/(Date.now()-_.prevTime)/2,_.y=(g.touchesCurrent.y-_.prevPositionY)/(Date.now()-_.prevTime)/2,2>Math.abs(g.touchesCurrent.x-_.prevPositionX)&&(_.x=0),2>Math.abs(g.touchesCurrent.y-_.prevPositionY)&&(_.y=0),_.prevPositionX=g.touchesCurrent.x,_.prevPositionY=g.touchesCurrent.y,_.prevTime=Date.now(),v.imageWrapEl.style.transform=`translate3d(${g.currentX}px, ${g.currentY}px,0)`}function O(){let e=o.zoom;v.slideEl&&o.activeIndex!==o.slides.indexOf(v.slideEl)&&(v.imageEl&&(v.imageEl.style.transform="translate3d(0,
30,0) scale(1)"),v.imageWrapEl&&(v.imageWrapEl.style.transform="translate3d(0,0,0)"),v.slideEl.classList.remove(`${o.params.zoom.zoomedSlideClass}`),e.scale=1,d=1,v.slideEl=void 0,v.imageEl=void 0,v.imageWrapEl=void 0,v.originX=0,v.originY=0)}function k(e){if(d<=1||!v.imageWrapEl||!x(e)||!E(e))return;let t=u.getComputedStyle(v.imageWrapEl).transform,i=new u.DOMMatrix(t);if(!p){p=!0,f.x=e.clientX,f.y=e.clientY,g.startX=i.e,g.startY=i.f,g.width=v.imageEl.offsetWidth||v.imageEl.clientWidth,g.height=v.imageEl.offsetHeight||v.imageEl.clientHeight,v.slideWidth=v.slideEl.offsetWidth,v.slideHeight=v.slideEl.offsetHeight;return}let n=-((e.clientX-f.x)*3),r=-((e.clientY-f.y)*3),s=g.width*d,o=g.height*d,a=v.slideWidth,l=v.slideHeight,c=Math.min(a/2-s/2,0),h=Math.min(l/2-o/2,0),m=Math.max(Math.min(g.startX+n,-c),c),_=Math.max(Math.min(g.startY+r,-h),h);v.imageWrapEl.style.transitionDuration="0ms",v.imageWrapEl.style.transform=`translate3d(${m}px, ${_}px, 0)`,f.x=e.clientX,f.y=e.clientY,g.startX=m,g.startY=_,g.currentX=m,g.currentY=_}function A(e){let t,i,n,s,a,l,c,h,p,f,m,_,y,b,x,E,S,T,M=o.zoom,P=o.params.zoom;if(!v.slideEl){e&&e.target&&(v.slideEl=e.target.closest(`.${o.params.slideClass}, swiper-slide`)),v.slideEl||(o.params.virtual&&o.params.virtual.enabled&&o.virtual?v.slideEl=(0,r.e)(o.slidesEl,`.${o.params.slideActiveClass}`)[0]:v.slideEl=o.slides[o.activeIndex]);let t=v.slideEl.querySelector(`.${P.containerClass}`);t&&(t=t.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=t,t?v.imageWrapEl=(0,r.b)(v.imageEl,`.${P.containerClass}`)[0]:v.imageWrapEl=void 0}if(!v.imageEl||!v.imageWrapEl)return;o.params.cssMode&&(o.wrapperEl.style.overflow="hidden",o.wrapperEl.style.touchAction="none"),v.slideEl.classList.add(`${P.zoomedSlideClass}`),void 0===g.touchesStart.x&&e?(t=e.pageX,i=e.pageY):(t=g.touchesStart.x,i=g.touchesStart.y);let C=d,O="number"==typeof e?e:null;1===d&&O&&(t=void 0,i=void 0,g.touchesStart.x=void 0,g.touchesStart.y=void 0);let k=w();M.scale=O||k,d=O||k,e&&!(1===d&&O)?(S=v.slideEl.offsetWidth,T=v.slideEl.offsetHeight,n=(0,r.d)(v.slideEl).left+u.scrollX,s=(0,r.d)(v.slideEl).top+u.scrollY,a=n+S/2-t,l=s+T/2-i,p=v.imageEl.offsetWidth||v.imageEl.clientWidth,f=v.imageEl.offsetHeight||v.imageEl.clientHeight,m=p*M.scale,_=f*M.scale,y=Math.min(S/2-m/2,0),b=Math.min(T/2-_/2,0),x=-y,E=-b,C>0&&O&&"number"==typeof g.currentX&&"number"==typeof g.currentY?(c=g.currentX*M.scale/C,h=g.currentY*M.scale/C):(c=a*M.scale,h=l*M.scale),c<y&&(c=y),c>x&&(c=x),h<b&&(h=b),h>E&&(h=E)):(c=0,h=0),O&&1===M.scale&&(v.originX=0,v.originY=0),g.currentX=c,g.currentY=h,v.imageWrapEl.style.transitionDuration="300ms",v.imageWrapEl.style.transform=`translate3d(${c}px, ${h}px,0)`,v.imageEl.style.transitionDuration="300ms",v.imageEl.style.transform=`translate3d(0,0,0) scale(${M.scale})`}function z(){let e=o.zoom,t=o.params.zoom;if(!v.slideEl){o.params.virtual&&o.params.virtual.enabled&&o.virtual?v.slideEl=(0,r.e)(o.slidesEl,`.${o.params.slideActiveClass}`)[0]:v.slideEl=o.slides[o.activeIndex];let e=v.slideEl.querySelector(`.${t.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=e,e?v.imageWrapEl=(0,r.b)(v.imageEl,`.${t.containerClass}`)[0]:v.imageWrapEl=void 0}v.imageEl&&v.imageWrapEl&&(o.params.cssMode&&(o.wrapperEl.style.overflow="",o.wrapperEl.style.touchAction=""),e.scale=1,d=1,g.currentX=void 0,g.currentY=void 0,g.touchesStart.x=void 0,g.touchesStart.y=void 0,v.imageWrapEl.style.transitionDuration="300ms",v.imageWrapEl.style.transform="translate3d(0,0,0)",v.imageEl.style.transitionDuration="300ms",v.imageEl.style.transform="translate3d(0,0,0) scale(1)",v.slideEl.classList.remove(`${t.zoomedSlideClass}`),v.slideEl=void 0,v.originX=0,v.originY=0,o.params.zoom.panOnMouseMove&&(f={x:0,y:0},p&&(p=!1,g.startX=0,g.startY=0)))}function I(e){let t=o.zoom;t.scale&&1!==t.scale?z():A(e)}function D(){return{passiveListener:!!o.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!o.params.passiveListeners||{passive:!1,capture:!0}}}function B(){let e=o.zoom;if(e.enabled)return;e.enabled=!0;let{passiveListener:t,activeListenerWithCapture:i}=D();o.wrapperEl.addEventListener("pointerdown",S,t),o.wrapperEl.addEventListener("pointermove",T,
3i),["pointerup","pointercancel","pointerout"].forEach(e=>{o.wrapperEl.addEventListener(e,M,t)}),o.wrapperEl.addEventListener("pointermove",C,i)}function j(){let e=o.zoom;if(!e.enabled)return;e.enabled=!1;let{passiveListener:t,activeListenerWithCapture:i}=D();o.wrapperEl.removeEventListener("pointerdown",S,t),o.wrapperEl.removeEventListener("pointermove",T,i),["pointerup","pointercancel","pointerout"].forEach(e=>{o.wrapperEl.removeEventListener(e,M,t)}),o.wrapperEl.removeEventListener("pointermove",C,i)}Object.defineProperty(o.zoom,"scale",{get:()=>y,set(e){y!==e&&c("zoomChange",e,v.imageEl,v.slideEl),y=e}}),l("init",()=>{o.params.zoom.enabled&&B()}),l("destroy",()=>{j()}),l("touchStart",(e,t)=>{o.zoom.enabled&&function(e){let t=o.device;if(!v.imageEl||g.isTouched)return;t.android&&e.cancelable&&e.preventDefault(),g.isTouched=!0;let i=m.length>0?m[0]:e;g.touchesStart.x=i.pageX,g.touchesStart.y=i.pageY}(t)}),l("touchEnd",(e,t)=>{o.zoom.enabled&&function(){let e=o.zoom;if(m.length=0,!v.imageEl)return;if(!g.isTouched||!g.isMoved){g.isTouched=!1,g.isMoved=!1;return}g.isTouched=!1,g.isMoved=!1;let t=300,i=300,n=_.x*t,r=g.currentX+n,s=_.y*i,a=g.currentY+s;0!==_.x&&(t=Math.abs((r-g.currentX)/_.x)),0!==_.y&&(i=Math.abs((a-g.currentY)/_.y));let l=Math.max(t,i);g.currentX=r,g.currentY=a;let c=g.width*e.scale,u=g.height*e.scale;g.minX=Math.min(v.slideWidth/2-c/2,0),g.maxX=-g.minX,g.minY=Math.min(v.slideHeight/2-u/2,0),g.maxY=-g.minY,g.currentX=Math.max(Math.min(g.currentX,g.maxX),g.minX),g.currentY=Math.max(Math.min(g.currentY,g.maxY),g.minY),v.imageWrapEl.style.transitionDuration=`${l}ms`,v.imageWrapEl.style.transform=`translate3d(${g.currentX}px, ${g.currentY}px,0)`}()}),l("doubleTap",(e,t)=>{!o.animating&&o.params.zoom.enabled&&o.zoom.enabled&&o.params.zoom.toggle&&I(t)}),l("transitionEnd",()=>{o.zoom.enabled&&o.params.zoom.enabled&&O()}),l("slideChange",()=>{o.zoom.enabled&&o.params.zoom.enabled&&o.params.cssMode&&O()}),Object.assign(o.zoom,{enable:B,disable:j,in:A,out:z,toggle:I})}function m(e){let{swiper:t,extendParams:i,on:n}=e;function s(e,t){let i,n,r,s,o;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=(n=((e,t)=>{for(s=-1,r=e.length;r-s>1;)e[o=r+s>>1]<=t?s=o:r=o;return r})(this.x,e))-1,(e-this.x[i])*(this.y[n]-this.y[i])/(this.x[n]-this.x[i])+this.y[i]):0},this}function o(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}i({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},n("beforeInit",()=>{"u">typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)?("string"==typeof t.params.controller.control?[...document.querySelectorAll(t.params.controller.control)]:[t.params.controller.control]).forEach(e=>{if(t.controller.control||(t.controller.control=[]),e&&e.swiper)t.controller.control.push(e.swiper);else if(e){let i=`${t.params.eventsPrefix}init`,n=r=>{t.controller.control.push(r.detail[0]),t.update(),e.removeEventListener(i,n)};e.addEventListener(i,n)}}):t.controller.control=t.params.controller.control}),n("update",()=>{o()}),n("resize",()=>{o()}),n("observerUpdate",()=>{o()}),n("setTranslate",(e,i,n)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(i,n)}),n("setTransition",(e,i,n)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(i,n)}),Object.assign(t.controller,{setTranslate:function(e,i){let n,r,o=t.controller.control,a=t.constructor;function l(e){if(e.destroyed)return;let i=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(t.controller.spline=t.params.loop?new s(t.slidesGrid,e.slidesGrid):new s(t.snapGrid,e.snapGrid),r=-t.controller.spline.interpolate(-i));r&&"container"!==t.params.controller.by||((Number.isNaN(n=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()))||!Number.isFinite(n))&&(n=1),r=(i-t.minTranslate())*n+e.minTranslate()),t.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(o))for(let e=0;e<o.length;e+=1)o[e]!==i&&o[e]instanceof a&&l(o[e]);else o instanceof a&&i!==o&&l(o)},setTransition:function(e,i){let n,s=t.constructor,o=t.controller.control;function a(i){i.destroyed||(i.setTransition(e,t),0!==e&&(i.transitionStart(),i.params.autoHeight&&(0,r.n)(()=>{i.updateAutoHeight()}),(0,r.l)(i.wrapperEl,()=>{o&&i.transitionEnd()})))}if(Array.isArray(o))for(n=0;n<o.length;n+=1)o[n]!==i&&o[n]instanceof s&&a(o[n]);else o instanceof s&&i!==o&&a(o)}})}function v(e){let t,i,{swiper:s,extendParams:o,on:a}=e;o({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,
3scrollOnFocus:!0}}),s.a11y={clicked:!1};let l=null,c=new Date().getTime();function d(e){let t=l;0!==t.length&&(0,r.s)(t,e)}function h(e){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function p(e){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function f(e,t){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("role",t)})}function m(e,t){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function v(e,t){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function g(e){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function _(e){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function y(e){if(13!==e.keyCode&&32!==e.keyCode)return;let t=s.params.a11y,i=e.target;if(!(s.pagination&&s.pagination.el&&(i===s.pagination.el||s.pagination.el.contains(e.target)))||e.target.matches(u(s.params.pagination.bulletClass))){if(s.navigation&&s.navigation.prevEl&&s.navigation.nextEl){let e=(0,r.m)(s.navigation.prevEl);(0,r.m)(s.navigation.nextEl).includes(i)&&(s.isEnd&&!s.params.loop||s.slideNext(),s.isEnd?d(t.lastSlideMessage):d(t.nextSlideMessage)),e.includes(i)&&(s.isBeginning&&!s.params.loop||s.slidePrev(),s.isBeginning?d(t.firstSlideMessage):d(t.prevSlideMessage))}s.pagination&&i.matches(u(s.params.pagination.bulletClass))&&i.click()}}function b(){return s.pagination&&s.pagination.bullets&&s.pagination.bullets.length}function w(){return b()&&s.params.pagination.clickable}let x=(e,t,i)=>{var n;h(e),"BUTTON"!==e.tagName&&(f(e,"button"),e.addEventListener("keydown",y)),v(e,i),n=e,(n=(0,r.m)(n)).forEach(e=>{e.setAttribute("aria-controls",t)})},E=e=>{i&&i!==e.target&&!i.contains(e.target)&&(t=!0),s.a11y.clicked=!0},S=()=>{t=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{s.destroyed||(s.a11y.clicked=!1)})})},T=e=>{c=new Date().getTime()},M=e=>{if(s.a11y.clicked||!s.params.a11y.scrollOnFocus||new Date().getTime()-c<100)return;let n=e.target.closest(`.${s.params.slideClass}, swiper-slide`);if(!n||!s.slides.includes(n))return;i=n;let r=s.slides.indexOf(n)===s.activeIndex,o=s.params.watchSlidesProgress&&s.visibleSlides&&s.visibleSlides.includes(n);r||o||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(s.isHorizontal()?s.el.scrollLeft=0:s.el.scrollTop=0,requestAnimationFrame(()=>{t||(s.params.loop?s.slideToLoop(s.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index"))),0):s.slideTo(s.getSlideIndexWhenGrid(s.slides.indexOf(n)),0),t=!1)}))},P=()=>{let e=s.params.a11y;e.itemRoleDescriptionMessage&&m(s.slides,e.itemRoleDescriptionMessage),e.slideRole&&f(s.slides,e.slideRole);let t=s.slides.length;e.slideLabelMessage&&s.slides.forEach((i,n)=>{let r=s.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):n;v(i,e.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,t))})};a("beforeInit",()=>{(l=(0,r.c)("span",s.params.a11y.notificationClass)).setAttribute("aria-live","assertive"),l.setAttribute("aria-atomic","true")}),a("afterInit",()=>{s.params.a11y.enabled&&(()=>{var e,t;let i=s.params.a11y;s.el.append(l);let o=s.el;i.containerRoleDescriptionMessage&&m(o,i.containerRoleDescriptionMessage),i.containerMessage&&v(o,i.containerMessage),i.containerRole&&f(o,i.containerRole);let a=s.wrapperEl,c=i.id||a.getAttribute("id")||`swiper-wrapper-${"x".repeat(16).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}`,u=s.params.autoplay&&s.params.autoplay.enabled?"off":"polite";e=a,(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("id",c)}),t=a,(t=(0,r.m)(t)).forEach(e=>{e.setAttribute("aria-live",u)}),P();let{nextEl:d,prevEl:h}=s.navigation?s.navigation:{};d=(0,r.m)(d),h=(0,r.m)(h),d&&d.forEach(e=>x(e,c,i.nextSlideMessage)),h&&h.forEach(e=>x(e,c,i.prevSlideMessage)),w()&&(0,r.m)(s.pagination.el).forEach(e=>{e.addEventListener("keydown",y)}),(0,n.g)().addEventListener("visibilitychange",T),s.el.addEventListener("focus",M,!0),s.el.addEventListener("focus",M,!0),s.el.addEventListener("pointerdown",E,!0),s.el.addEventListener("pointerup",S,!0)})()}),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{s.params.a11y.enabled&&P()}),a("fromEdge toEdge afterInit lock unlock",()=>{s.params.a11y.enabled&&function(){if(s.params.loop||s.params.rewind||!s.navigation)return;let{nextEl:e,prevEl:t}=s.navigation;t&&(s.isBeginning?(g(t),p(t)):(_(t),h(t))),e&&(s.isEnd?(g(e),p(e)):(_(e),h(e)))}()}),a("paginationUpdate",()=>{if(s.params.a11y.enabled){let e;
3e=s.params.a11y,b()&&s.pagination.bullets.forEach(t=>{s.params.pagination.clickable&&(h(t),s.params.pagination.renderBullet||(f(t,"button"),v(t,e.paginationBulletMessage.replace(/\{\{index\}\}/,(0,r.i)(t)+1)))),t.matches(u(s.params.pagination.bulletActiveClass))?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")})}}),a("destroy",()=>{s.params.a11y.enabled&&function(){l&&l.remove();let{nextEl:e,prevEl:t}=s.navigation?s.navigation:{};e=(0,r.m)(e),t=(0,r.m)(t),e&&e.forEach(e=>e.removeEventListener("keydown",y)),t&&t.forEach(e=>e.removeEventListener("keydown",y)),w()&&(0,r.m)(s.pagination.el).forEach(e=>{e.removeEventListener("keydown",y)}),(0,n.g)().removeEventListener("visibilitychange",T),s.el&&"string"!=typeof s.el&&(s.el.removeEventListener("focus",M,!0),s.el.removeEventListener("pointerdown",E,!0),s.el.removeEventListener("pointerup",S,!0))}()})}function g(e){let{swiper:t,extendParams:i,on:r}=e;i({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let s=!1,o={},a=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{let t=(0,n.a)(),i=(e?new URL(e):t.location).pathname.slice(1).split("/").filter(e=>""!==e),r=i.length;return{key:i[r-2],value:i[r-1]}},c=(e,i)=>{let r,o=(0,n.a)();if(!s||!t.params.history.enabled)return;r=t.params.url?new URL(t.params.url):o.location;let l=a((t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${i}"]`):t.slides[i]).getAttribute("data-history"));if(t.params.history.root.length>0){let i=t.params.history.root;"/"===i[i.length-1]&&(i=i.slice(0,i.length-1)),l=`${i}/${e?`${e}/`:""}${l}`}else r.pathname.includes(e)||(l=`${e?`${e}/`:""}${l}`);t.params.history.keepQuery&&(l+=r.search);let c=o.history.state;c&&c.value===l||(t.params.history.replaceState?o.history.replaceState({value:l},null,l):o.history.pushState({value:l},null,l))},u=(e,i,n)=>{if(i)for(let r=0,s=t.slides.length;r<s;r+=1){let s=t.slides[r];if(a(s.getAttribute("data-history"))===i){let i=t.getSlideIndex(s);t.slideTo(i,e,n)}}else t.slideTo(0,e,n)},d=()=>{o=l(t.params.url),u(t.params.speed,o.value,!1)};r("init",()=>{t.params.history.enabled&&(()=>{let e=(0,n.a)();if(t.params.history){if(!e.history||!e.history.pushState){t.params.history.enabled=!1,t.params.hashNavigation.enabled=!0;return}if(s=!0,!(o=l(t.params.url)).key&&!o.value){t.params.history.replaceState||e.addEventListener("popstate",d);return}u(0,o.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",d)}})()}),r("destroy",()=>{let e;t.params.history.enabled&&(e=(0,n.a)(),t.params.history.replaceState||e.removeEventListener("popstate",d))}),r("transitionEnd _freeModeNoMomentumRelease",()=>{s&&c(t.params.history.key,t.activeIndex)}),r("slideChange",()=>{s&&t.params.cssMode&&c(t.params.history.key,t.activeIndex)})}function _(e){let{swiper:t,extendParams:i,emit:s,on:o}=e,a=!1,l=(0,n.g)(),c=(0,n.a)();i({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,i){if(t.virtual&&t.params.virtual.enabled){let e=t.slides.find(e=>e.getAttribute("data-hash")===i);return e?parseInt(e.getAttribute("data-swiper-slide-index"),10):0}return t.getSlideIndex((0,r.e)(t.slidesEl,`.${t.params.slideClass}[data-hash="${i}"], swiper-slide[data-hash="${i}"]`)[0])}}});let u=()=>{s("hashChange");let e=l.location.hash.replace("#",""),i=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex];if(e!==(i?i.getAttribute("data-hash"):"")){let i=t.params.hashNavigation.getSlideIndex(t,e);if(void 0===i||Number.isNaN(i))return;t.slideTo(i)}},d=()=>{if(!a||!t.params.hashNavigation.enabled)return;let e=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],i=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&c.history&&c.history.replaceState?c.history.replaceState(null,null,`#${i}`||""):l.location.hash=i||"",s("hashSet")};o("init",()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;a=!0;let e=l.location.hash.replace("#","");if(e){let i=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(i||0,0,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&c.addEventListener("hashchange",u)})()}),o("destroy",()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&c.removeEventListener("hashchange",u)}),o("transitionEnd _freeModeNoMomentumRelease",()=>{a&&d()}),o("slideChange",()=>{a&&t.params.cssMode&&d()})}function y(e){let t,i,r,s,o,a,l,c,u,d,{swiper:h,extendParams:p,on:f,emit:m,params:v}=e;h.autoplay={running:!1,paused:!1,timeLeft:0},p({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let g=v&&v.autoplay?v.autoplay.delay:3e3,_=v&&v.autoplay?v.autoplay.delay:3e3,y=new Date().getTime();function b(e){!h||h.destroyed||!h.wrapperEl||e.target!==h.wrapperEl||(h.wrapperEl.removeEventListener("transitionend",b),d||e.detail&&e.detail.bySwiperTouchMove||M())}let w=()=>
3{if(h.destroyed||!h.autoplay.running)return;h.autoplay.paused?s=!0:s&&(_=r,s=!1);let e=h.autoplay.paused?r:y+_-new Date().getTime();h.autoplay.timeLeft=e,m("autoplayTimeLeft",e,e/g),i=requestAnimationFrame(()=>{w()})},x=e=>{if(h.destroyed||!h.autoplay.running)return;cancelAnimationFrame(i),w();let n=void 0===e?h.params.autoplay.delay:e;g=h.params.autoplay.delay,_=h.params.autoplay.delay;let s=(()=>{let e;if(e=h.virtual&&h.params.virtual.enabled?h.slides.find(e=>e.classList.contains("swiper-slide-active")):h.slides[h.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(s)&&s>0&&void 0===e&&(n=s,g=s,_=s),r=n;let o=h.params.speed,a=()=>{h&&!h.destroyed&&(h.params.autoplay.reverseDirection?!h.isBeginning||h.params.loop||h.params.rewind?(h.slidePrev(o,!0,!0),m("autoplay")):h.params.autoplay.stopOnLastSlide||(h.slideTo(h.slides.length-1,o,!0,!0),m("autoplay")):!h.isEnd||h.params.loop||h.params.rewind?(h.slideNext(o,!0,!0),m("autoplay")):h.params.autoplay.stopOnLastSlide||(h.slideTo(0,o,!0,!0),m("autoplay")),h.params.cssMode&&(y=new Date().getTime(),requestAnimationFrame(()=>{x()})))};return n>0?(clearTimeout(t),t=setTimeout(()=>{a()},n)):requestAnimationFrame(()=>{a()}),n},E=()=>{y=new Date().getTime(),h.autoplay.running=!0,x(),m("autoplayStart")},S=()=>{h.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(i),m("autoplayStop")},T=(e,i)=>{if(h.destroyed||!h.autoplay.running)return;clearTimeout(t),e||(u=!0);let n=()=>{m("autoplayPause"),h.params.autoplay.waitForTransition?h.wrapperEl.addEventListener("transitionend",b):M()};if(h.autoplay.paused=!0,i){c&&(r=h.params.autoplay.delay),c=!1,n();return}r=(r||h.params.autoplay.delay)-(new Date().getTime()-y),h.isEnd&&r<0&&!h.params.loop||(r<0&&(r=0),n())},M=()=>{h.isEnd&&r<0&&!h.params.loop||h.destroyed||!h.autoplay.running||(y=new Date().getTime(),u?(u=!1,x(r)):x(),h.autoplay.paused=!1,m("autoplayResume"))},P=()=>{if(h.destroyed||!h.autoplay.running)return;let e=(0,n.g)();"hidden"===e.visibilityState&&(u=!0,T(!0)),"visible"===e.visibilityState&&M()},C=e=>{"mouse"!==e.pointerType||(u=!0,d=!0,h.animating||h.autoplay.paused||T(!0))},O=e=>{"mouse"===e.pointerType&&(d=!1,h.autoplay.paused&&M())};f("init",()=>{h.params.autoplay.enabled&&(h.params.autoplay.pauseOnMouseEnter&&(h.el.addEventListener("pointerenter",C),h.el.addEventListener("pointerleave",O)),(0,n.g)().addEventListener("visibilitychange",P),E())}),f("destroy",()=>{h.el&&"string"!=typeof h.el&&(h.el.removeEventListener("pointerenter",C),h.el.removeEventListener("pointerleave",O)),(0,n.g)().removeEventListener("visibilitychange",P),h.autoplay.running&&S()}),f("_freeModeStaticRelease",()=>{(a||u)&&M()}),f("_freeModeNoMomentumRelease",()=>{h.params.autoplay.disableOnInteraction?S():T(!0,!0)}),f("beforeTransitionStart",(e,t,i)=>{!h.destroyed&&h.autoplay.running&&(i||!h.params.autoplay.disableOnInteraction?T(!0,!0):S())}),f("sliderFirstMove",()=>{if(!h.destroyed&&h.autoplay.running){if(h.params.autoplay.disableOnInteraction)return void S();o=!0,a=!1,u=!1,l=setTimeout(()=>{u=!0,a=!0,T(!0)},200)}}),f("touchEnd",()=>{if(!h.destroyed&&h.autoplay.running&&o){if(clearTimeout(l),clearTimeout(t),h.params.autoplay.disableOnInteraction){a=!1,o=!1;return}a&&h.params.cssMode&&M(),a=!1,o=!1}}),f("slideChange",()=>{!h.destroyed&&h.autoplay.running&&(c=!0)}),Object.assign(h.autoplay,{start:E,stop:S,pause:T,resume:M})}function b(e){let{swiper:t,extendParams:i,on:s}=e;i({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let o=!1,a=!1;function l(){let e,i=t.thumbs.swiper;if(!i||i.destroyed)return;let n=i.clickedIndex,r=i.clickedSlide;r&&r.classList.contains(t.params.thumbs.slideThumbActiveClass)||null!=n&&(e=i.params.loop?parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10):n,t.params.loop?t.slideToLoop(e):t.slideTo(e))}function c(){let{thumbs:e}=t.params;if(o)return!1;o=!0;let i=t.constructor;if(e.swiper instanceof i){if(e.swiper.destroyed)return o=!1,!1;t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
3),t.thumbs.swiper.update()}else if((0,r.o)(e.swiper)){let n=Object.assign({},e.swiper);Object.assign(n,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new i(n),a=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",l),!0}function u(e){let i=t.thumbs.swiper;if(!i||i.destroyed)return;let n="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView,s=1,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),i.slides.forEach(e=>e.classList.remove(o)),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let e=0;e<s;e+=1)(0,r.e)(i.slidesEl,`[data-swiper-slide-index="${t.realIndex+e}"]`).forEach(e=>{e.classList.add(o)});else for(let e=0;e<s;e+=1)i.slides[t.realIndex+e]&&i.slides[t.realIndex+e].classList.add(o);let a=t.params.thumbs.autoScrollOffset,l=a&&!i.params.loop;if(t.realIndex!==i.realIndex||l){let r,s,o=i.activeIndex;if(i.params.loop){let e=i.slides.find(e=>e.getAttribute("data-swiper-slide-index")===`${t.realIndex}`);r=i.slides.indexOf(e),s=t.activeIndex>t.previousIndex?"next":"prev"}else s=(r=t.realIndex)>t.previousIndex?"next":"prev";l&&(r+="next"===s?a:-1*a),i.visibleSlidesIndexes&&0>i.visibleSlidesIndexes.indexOf(r)&&(i.params.centeredSlides?r=r>o?r-Math.floor(n/2)+1:r+Math.floor(n/2)-1:r>o&&i.params.slidesPerGroup,i.slideTo(r,e?0:void 0))}}t.thumbs={swiper:null},s("beforeInit",()=>{let{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){let i=(0,n.g)(),r=()=>{t.destroyed||(()=>{let n="string"==typeof e.swiper?i.querySelector(e.swiper):e.swiper;if(n&&n.swiper)e.swiper=n.swiper,c(),u(!0);else if(n){let i=`${t.params.eventsPrefix}init`,r=s=>{e.swiper=s.detail[0],n.removeEventListener(i,r),c(),u(!0),e.swiper.update(),t.update()};n.addEventListener(i,r)}return n})()||requestAnimationFrame(r)};requestAnimationFrame(r)}else c(),u(!0)}),s("slideChange update resize observerUpdate",()=>{u()}),s("setTransition",(e,i)=>{let n=t.thumbs.swiper;n&&!n.destroyed&&n.setTransition(i)}),s("beforeDestroy",()=>{let e=t.thumbs.swiper;e&&!e.destroyed&&a&&e.destroy()}),Object.assign(t.thumbs,{init:c,update:u})}function w(e){let{swiper:t,extendParams:i,emit:n,once:s}=e;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;let e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;let{touchEventsData:e,touches:i}=t;0===e.velocities.length&&e.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:(0,r.f)()})},onTouchEnd:function(e){let{currentPos:i}=e;if(t.params.cssMode)return;let{params:o,wrapperEl:a,rtlTranslate:l,snapGrid:c,touchEventsData:u}=t,d=(0,r.f)()-u.touchStartTime;if(i<-t.minTranslate())return void t.slideTo(t.activeIndex);if(i>-t.maxTranslate())return void(t.slides.length<c.length?t.slideTo(c.length-1):t.slideTo(t.slides.length-1));if(o.freeMode.momentum){let e,i;if(u.velocities.length>1){let e=u.velocities.pop(),i=u.velocities.pop(),n=e.position-i.position,s=e.time-i.time;t.velocity=n/s,t.velocity/=2,Math.abs(t.velocity)<o.freeMode.minimumVelocity&&(t.velocity=0),(s>150||(0,r.f)()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=o.freeMode.momentumVelocityRatio,u.velocities.length=0;let d=1e3*o.freeMode.momentumRatio,h=t.velocity*d,p=t.translate+h;l&&(p=-p);let f=!1,m=20*Math.abs(t.velocity)*o.freeMode.momentumBounceRatio;if(p<t.maxTranslate())o.freeMode.momentumBounce?(p+t.maxTranslate()<-m&&(p=t.maxTranslate()-m),e=t.maxTranslate(),f=!0,u.allowMomentumBounce=!0):p=t.maxTranslate(),o.loop&&o.centeredSlides&&(i=!0);else if(p>t.minTranslate())o.freeMode.momentumBounce?(p-t.minTranslate()>m&&(p=t.minTranslate()+m),e=t.minTranslate(),f=!0,u.allowMomentumBounce
3=!0):p=t.minTranslate(),o.loop&&o.centeredSlides&&(i=!0);else if(o.freeMode.sticky){let e;for(let t=0;t<c.length;t+=1)if(c[t]>-p){e=t;break}p=-(p=Math.abs(c[e]-p)<Math.abs(c[e-1]-p)||"next"===t.swipeDirection?c[e]:c[e-1])}if(i&&s("transitionEnd",()=>{t.loopFix()}),0!==t.velocity){if(d=l?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),o.freeMode.sticky){let e=Math.abs((l?-p:p)-t.translate),i=t.slidesSizesGrid[t.activeIndex];d=e<i?o.speed:e<2*i?1.5*o.speed:2.5*o.speed}}else if(o.freeMode.sticky)return void t.slideToClosest();o.freeMode.momentumBounce&&f?(t.updateProgress(e),t.setTransition(d),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating=!0,(0,r.l)(a,()=>{t&&!t.destroyed&&u.allowMomentumBounce&&(n("momentumBounce"),t.setTransition(o.speed),setTimeout(()=>{t.setTranslate(e),(0,r.l)(a,()=>{t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(n("_freeModeNoMomentumRelease"),t.updateProgress(p),t.setTransition(d),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,(0,r.l)(a,()=>{t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(o.freeMode.sticky)return void t.slideToClosest();o.freeMode&&n("_freeModeNoMomentumRelease")}(!o.freeMode.momentum||d>=o.longSwipesMs)&&(n("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}})}function x(e){let t,i,n,r,{swiper:s,extendParams:o,on:a}=e;o({grid:{rows:1,fill:"column"}});let l=()=>{let e=s.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*s.size:"string"==typeof e&&(e=parseFloat(e)),e};a("init",()=>{r=s.params.grid&&s.params.grid.rows>1}),a("update",()=>{let{params:e,el:t}=s,i=e.grid&&e.grid.rows>1;r&&!i?(t.classList.remove(`${e.containerModifierClass}grid`,`${e.containerModifierClass}grid-column`),n=1,s.emitContainerClasses()):!r&&i&&(t.classList.add(`${e.containerModifierClass}grid`),"column"===e.grid.fill&&t.classList.add(`${e.containerModifierClass}grid-column`),s.emitContainerClasses()),r=i}),s.grid={initSlides:e=>{let{slidesPerView:r}=s.params,{rows:o,fill:a}=s.params.grid,l=s.virtual&&s.params.virtual.enabled?s.virtual.slides.length:e.length;n=Math.floor(l/o),t=Math.floor(l/o)===l/o?l:Math.ceil(l/o)*o,"auto"!==r&&"row"===a&&(t=Math.max(t,r*o)),i=t/o},unsetSlides:()=>{s.slides&&s.slides.forEach(e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[s.getDirectionLabel("margin-top")]="")})},updateSlide:(e,r,o)=>{let a,c,u,{slidesPerGroup:d}=s.params,h=l(),{rows:p,fill:f}=s.params.grid,m=s.virtual&&s.params.virtual.enabled?s.virtual.slides.length:o.length;if("row"===f&&d>1){let i=Math.floor(e/(d*p)),n=e-p*d*i,s=0===i?d:Math.min(Math.ceil((m-i*p*d)/p),d);u=Math.floor(n/s),a=(c=n-u*s+i*d)+u*t/p,r.style.order=a}else"column"===f?(c=Math.floor(e/p),u=e-c*p,(c>n||c===n&&u===p-1)&&(u+=1)>=p&&(u=0,c+=1)):(u=Math.floor(e/i),c=e-u*i);r.row=u,r.column=c,r.style.height=`calc((100% - ${(p-1)*h}px) / ${p})`,r.style[s.getDirectionLabel("margin-top")]=0!==u?h&&`${h}px`:"",r.swiperSlideGridSet=!0},updateWrapperSize:(e,i)=>{let{centeredSlides:n,roundLengths:r}=s.params,o=l(),{rows:a}=s.params.grid;if(s.virtualSize=(e+o)*t,s.virtualSize=Math.ceil(s.virtualSize/a)-o,s.params.cssMode||(s.wrapperEl.style[s.getDirectionLabel("width")]=`${s.virtualSize+o}px`),n){let e=[];for(let t=0;t<i.length;t+=1){let n=i[t];r&&(n=Math.floor(n)),i[t]<s.virtualSize+i[0]&&e.push(n)}i.splice(0,i.length),i.push(...e)}}}}function E(e){let{params:t,slidesEl:i}=this;t.loop&&this.loopDestroy();let n=e=>{if("string"==typeof e){let t=document.createElement("div");(0,r.s)(t,e),i.append(t.children[0]),(0,r.s)(t,"")}else i.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&n(e[t]);else n(e);this.recalcSlides(),t.loop&&this.loopCreate(),(!t.observer||this.isElement)&&this.update()}function S(e){let{params:t,activeIndex:i,slidesEl:n}=this;t.loop&&this.loopDestroy();let s=i+1,o=e=>{if("string"==typeof e){let t=document.createElement("div");(0,r.s)(t,e),n.prepend(t.children[0]),(0,r.s)(t,"")}else n.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&o(e[t]);s=i+e.length}else o(e);this.recalcSlides(),t.loop&&this.loopCreate(),(!t.observer||this.isElement)&&this.update(),this.slideTo(s,0,!1)}function T(e,t){let{params:i,activeIndex:n,slidesEl:r}=this,s=n;i.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.recalcSlides());let o=this.slides.length;if(e<=0)return void this.prependSlide(t);if(e>=o)return void this.appendSlide(t);let a=s>e?s+1:s,l=[];for(let t=o-1;t>=e;t-=1){let e=this.slides[t];e.remove(),l.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&r.append(t[e]);a=s>e?s+t.length:s}else r.append(t);for(let e=0;e<l.length;e+=1)r.append(l[e]);this.recalcSlides(),i.loop&&this.loopCreate(),(!i.observer||this.isElement)&&this.update(),i.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)}function M(e){let t,{params:i,activeIndex:n}=this,r=n;i.loop&&(r-=this.loopedSlides,this.loopDestroy());let s=r;if("object"==typeof e&&"length"in e){for(let i=0;i<e.length;i+=1)t=e[i],this.slides[t]&&this.slides[t].remove(),t<s&&(s-=1);s=Math.max(s,0)}else t=e,this.slides[t]&&this.slides[t].remove(),t<s&&(s-=1),s=Math.max(s,0);this.recalcSlides(),i.loop&&this.loopCreate(),(!i.observer||this.isElement)&&this.update(),i.loop?this.slideTo(s+this.loopedSlides,0,!1):this.slideTo(s,0,!1)}function P(){let e=[];for(let t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}function C(e){let{swiper:t}=e;Object.assign(t,{appendSlide:E.bind(t),prependSlide:S.bind(t),addSlide:T.bind(t),removeSlide:M.bind(t),removeAllSlides:P.bind(t)})}function O(e){let t,{effect:i,swiper:n,on:r,setTranslate:s,setTransition:o,overwriteParams:a,perspective:l,recreateShadows:c,getEffectParams:u}=e;r("beforeInit",()=>{if(n.params.effect!==i)return;n.classNames.push(`${n.params.containerModifierClass}${i}`),l&&l()&&n.classNames.push(`${n.params.containerModifierClass}3d`);let e=a?a():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}),r("setTranslate _virtualUpdated",()=>{n.params.effect===i&&s()}),r("setTransition",(e,t)=>{n.params.effect===i&&o(t)}),r("transitionEnd",()=>
3{n.params.effect===i&&c&&u&&u().slideShadows&&(n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),c())}),r("virtualUpdate",()=>{n.params.effect===i&&(n.slides.length||(t=!0),requestAnimationFrame(()=>{t&&n.slides&&n.slides.length&&(s(),t=!1)}))})}function k(e,t){let i=(0,r.g)(t);return i!==t&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden"),i}function A(e){let{swiper:t,duration:i,transformElements:n,allSlides:s}=e,{activeIndex:o}=t;if(t.params.virtualTranslate&&0!==i){let e=!1;(s?n:n.filter(e=>{let i=e.classList.contains("swiper-slide-transform")?e.parentElement?e.parentElement:t.slides.find(t=>t.shadowRoot&&t.shadowRoot===e.parentNode):e;return t.getSlideIndex(i)===o})).forEach(i=>{(0,r.l)(i,()=>{if(e||!t||t.destroyed)return;e=!0,t.animating=!1;let i=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(i)})})}}function z(e){let{swiper:t,extendParams:i,on:n}=e;i({fadeEffect:{crossFade:!1}}),O({effect:"fade",swiper:t,on:n,setTranslate:()=>{let{slides:e}=t,i=t.params.fadeEffect;for(let n=0;n<e.length;n+=1){let e=t.slides[n],r=-e.swiperSlideOffset;t.params.virtualTranslate||(r-=t.translate);let s=0;t.isHorizontal()||(s=r,r=0);let o=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),a=k(i,e);a.style.opacity=o,a.style.transform=`translate3d(${r}px, ${s}px, 0px)`}},setTransition:e=>{let i=t.slides.map(e=>(0,r.g)(e));i.forEach(t=>{t.style.transitionDuration=`${e}ms`}),A({swiper:t,duration:e,transformElements:i,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function I(e){let{swiper:t,extendParams:i,on:n}=e;i({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});let s=(e,t,i)=>{let n=i?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),s=i?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");n||(n=(0,r.c)("div",`swiper-slide-shadow-cube swiper-slide-shadow-${i?"left":"top"}`.split(" ")),e.append(n)),s||(s=(0,r.c)("div",`swiper-slide-shadow-cube swiper-slide-shadow-${i?"right":"bottom"}`.split(" ")),e.append(s)),n&&(n.style.opacity=Math.max(-t,0)),s&&(s.style.opacity=Math.max(t,0))};O({effect:"cube",swiper:t,on:n,setTranslate:()=>{let e,{el:i,wrapperEl:n,slides:o,width:a,height:l,rtlTranslate:c,size:u,browser:d}=t,h=(0,r.p)(t),p=t.params.cubeEffect,f=t.isHorizontal(),m=t.virtual&&t.params.virtual.enabled,v=0;p.shadow&&(f?((e=t.wrapperEl.querySelector(".swiper-cube-shadow"))||(e=(0,r.c)("div","swiper-cube-shadow"),t.wrapperEl.append(e)),e.style.height=`${a}px`):(e=i.querySelector(".swiper-cube-shadow"))||(e=(0,r.c)("div","swiper-cube-shadow"),i.append(e)));for(let e=0;e<o.length;e+=1){let t=o[e],i=e;m&&(i=parseInt(t.getAttribute("data-swiper-slide-index"),10));let n=90*i,r=Math.floor(n/360);c&&(r=Math.floor(-(n=-n)/360));let a=Math.max(Math.min(t.progress,1),-1),l=0,d=0,g=0;i%4==0?(l=-(4*r)*u,g=0):(i-1)%4==0?(l=0,g=-(4*r)*u):(i-2)%4==0?(l=u+4*r*u,g=u):(i-3)%4==0&&(l=-u,g=3*u+4*u*r),c&&(l=-l),f||(d=l,l=0);let _=`rotateX(${h(f?0:-n)}deg) rotateY(${h(f?n:0)}deg) translate3d(${l}px, ${d}px, ${g}px)`;a<=1&&a>-1&&(v=90*i+90*a,c&&(v=-(90*i)-90*a)),t.style.transform=_,p.slideShadows&&s(t,a,f)}if(n.style.transformOrigin=`50% 50% -${u/2}px`,n.style["-webkit-transform-origin"]=`50% 50% -${u/2}px`,p.shadow)if(f)e.style.transform=`translate3d(0px, ${a/2+p.shadowOffset}px, ${-a/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{let t=Math.abs(v)-90*Math.floor(Math.abs(v)/90),i=1.5-(Math.sin(2*t*Math.PI/360)/2+Math.cos(2*t*Math.PI/360)/2),n=p.shadowScale,r=p.shadowScale/i,s=p.shadowOffset;e.style.transform=`scale3d(${n}, 1, ${r}) translate3d(0px, ${l/2+s}px, ${-l/2/r}px) rotateX(-89.99deg)`}let g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-u/2:0;n.style.transform=`translate3d(0px,0,${g}px) rotateX(${h(t.isHorizontal()?0:v)}deg) rotateY(${h(t.isHorizontal()?-v:0)}deg)`,n.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{let{el:i,slides:n}=t;if(n.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),t.params.cubeEffect.shadow&&!t.isHorizontal()){let t=i.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{let e=t.isHorizontal();
3t.slides.forEach(t=>{let i=Math.max(Math.min(t.progress,1),-1);s(t,i,e)})},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function D(e,t,i){let n=`swiper-slide-shadow${i?`-${i}`:""}${e?` swiper-slide-shadow-${e}`:""}`,s=(0,r.g)(t),o=s.querySelector(`.${n.split(" ").join(".")}`);return o||(o=(0,r.c)("div",n.split(" ")),s.append(o)),o}function B(e){let{swiper:t,extendParams:i,on:n}=e;i({flipEffect:{slideShadows:!0,limitRotation:!0}});let s=(e,i)=>{let n=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");n||(n=D("flip",e,t.isHorizontal()?"left":"top")),r||(r=D("flip",e,t.isHorizontal()?"right":"bottom")),n&&(n.style.opacity=Math.max(-i,0)),r&&(r.style.opacity=Math.max(i,0))};O({effect:"flip",swiper:t,on:n,setTranslate:()=>{let{slides:e,rtlTranslate:i}=t,n=t.params.flipEffect,o=(0,r.p)(t);for(let r=0;r<e.length;r+=1){let a=e[r],l=a.progress;t.params.flipEffect.limitRotation&&(l=Math.max(Math.min(a.progress,1),-1));let c=a.swiperSlideOffset,u=-180*l,d=0,h=t.params.cssMode?-c-t.translate:-c,p=0;t.isHorizontal()?i&&(u=-u):(p=h,h=0,d=-u,u=0),a.style.zIndex=-Math.abs(Math.round(l))+e.length,n.slideShadows&&s(a,l);let f=`translate3d(${h}px, ${p}px, 0px) rotateX(${o(d)}deg) rotateY(${o(u)}deg)`;k(n,a).style.transform=f}},setTransition:e=>{let i=t.slides.map(e=>(0,r.g)(e));i.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),A({swiper:t,duration:e,transformElements:i})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach(e=>{let i=e.progress;t.params.flipEffect.limitRotation&&(i=Math.max(Math.min(e.progress,1),-1)),s(e,i)})},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function j(e){let{swiper:t,extendParams:i,on:n}=e;i({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),O({effect:"coverflow",swiper:t,on:n,setTranslate:()=>{let{width:e,height:i,slides:n,slidesSizesGrid:s}=t,o=t.params.coverflowEffect,a=t.isHorizontal(),l=t.translate,c=a?-l+e/2:-l+i/2,u=a?o.rotate:-o.rotate,d=o.depth,h=(0,r.p)(t);for(let e=0,t=n.length;e<t;e+=1){let t=n[e],i=s[e],r=(c-t.swiperSlideOffset-i/2)/i,l="function"==typeof o.modifier?o.modifier(r):r*o.modifier,p=a?u*l:0,f=a?0:u*l,m=-d*Math.abs(l),v=o.stretch;"string"==typeof v&&-1!==v.indexOf("%")&&(v=parseFloat(o.stretch)/100*i);let g=a?0:v*l,_=a?v*l:0,y=1-(1-o.scale)*Math.abs(l);.001>Math.abs(_)&&(_=0),.001>Math.abs(g)&&(g=0),.001>Math.abs(m)&&(m=0),.001>Math.abs(p)&&(p=0),.001>Math.abs(f)&&(f=0),.001>Math.abs(y)&&(y=0);let b=`translate3d(${_}px,${g}px,${m}px) rotateX(${h(f)}deg) rotateY(${h(p)}deg) scale(${y})`;if(k(o,t).style.transform=b,t.style.zIndex=-Math.abs(Math.round(l))+1,o.slideShadows){let e=a?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),i=a?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=D("coverflow",t,a?"left":"top")),i||(i=D("coverflow",t,a?"right":"bottom")),e&&(e.style.opacity=l>0?l:0),i&&(i.style.opacity=-l>0?-l:0)}}},setTransition:e=>{t.slides.map(e=>(0,r.g)(e)).forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=`${e}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function N(e){let{swiper:t,extendParams:i,on:n}=e;i({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});let s=e=>"string"==typeof e?e:`${e}px`;O({effect:"creative",swiper:t,on:n,setTranslate:()=>{let{slides:e,wrapperEl:i,slidesSizesGrid:n}=t,o=t.params.creativeEffect,{progressMultiplier:a}=o,l=t.params.centeredSlides,c=(0,r.p)(t);if(l){let e=n[0]/2-t.params.slidesOffsetBefore||0;i.style.transform=`translateX(calc(50% - ${e}px))`}for(let i=0;i<e.length;i+=1){let n=e[i],r=n.progress,u=Math.min(Math.max(n.progress,-o.limitProgress),o.limitProgress),d=u;l||(d=Math.min(Math.max(n.originalProgress,-o.limitProgress),o.limitProgress));let h=n.swiperSlideOffset,p=[t.params.cssMode?-h-t.translate:-h,0,0],f=[0,0,0],m=!1;t.isHorizontal()||(p[1]=p[0],p[0]=0);
3let v={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};u<0?(v=o.next,m=!0):u>0&&(v=o.prev,m=!0),p.forEach((e,t)=>{p[t]=`calc(${e}px + (${s(v.translate[t])} * ${Math.abs(u*a)}))`}),f.forEach((e,t)=>{let i=v.rotate[t]*Math.abs(u*a);f[t]=i}),n.style.zIndex=-Math.abs(Math.round(r))+e.length;let g=p.join(", "),_=`rotateX(${c(f[0])}deg) rotateY(${c(f[1])}deg) rotateZ(${c(f[2])}deg)`,y=d<0?`scale(${1+(1-v.scale)*d*a})`:`scale(${1-(1-v.scale)*d*a})`,b=d<0?1+(1-v.opacity)*d*a:1-(1-v.opacity)*d*a,w=`translate3d(${g}) ${_} ${y}`;if(m&&v.shadow||!m){let e=n.querySelector(".swiper-slide-shadow");if(!e&&v.shadow&&(e=D("creative",n)),e){let t=o.shadowPerProgress?u*(1/o.limitProgress):u;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}let x=k(o,n);x.style.transform=w,x.style.opacity=b,v.origin&&(x.style.transformOrigin=v.origin)}},setTransition:e=>{let i=t.slides.map(e=>(0,r.g)(e));i.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),A({swiper:t,duration:e,transformElements:i,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}function R(e){let{swiper:t,extendParams:i,on:n}=e;i({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),O({effect:"cards",swiper:t,on:n,setTranslate:()=>{let{slides:e,activeIndex:i,rtlTranslate:n}=t,r=t.params.cardsEffect,{startTranslate:s,isTouched:o}=t.touchEventsData,a=n?-t.translate:t.translate;for(let l=0;l<e.length;l+=1){let c=e[l],u=c.progress,d=Math.min(Math.max(u,-4),4),h=c.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(h-=e[0].swiperSlideOffset);let p=t.params.cssMode?-h-t.translate:-h,f=0,m=-100*Math.abs(d),v=1,g=-r.perSlideRotate*d,_=r.perSlideOffset-.75*Math.abs(d),y=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,b=(y===i||y===i-1)&&d>0&&d<1&&(o||t.params.cssMode)&&a<s,w=(y===i||y===i+1)&&d<0&&d>-1&&(o||t.params.cssMode)&&a>s;if(b||w){let e=(1-Math.abs((Math.abs(d)-.5)/.5))**.5;g+=-28*d*e,v+=-.5*e,_+=96*e,f=`${-25*e*Math.abs(d)}%`}if(p=d<0?`calc(${p}px ${n?"-":"+"} (${_*Math.abs(d)}%))`:d>0?`calc(${p}px ${n?"-":"+"} (-${_*Math.abs(d)}%))`:`${p}px`,!t.isHorizontal()){let e=f;f=p,p=e}let x=d<0?`${1+(1-v)*d}`:`${1-(1-v)*d}`,E=` 4 translate3d(${p}, ${f}, ${m}px) 5 rotateZ(${r.rotate?n?-g:g:0}deg) 6 scale(${x}) 7 `;if(r.slideShadows){let e=c.querySelector(".swiper-slide-shadow");e||(e=D("cards",c)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(d)-.5)/.5,0),1))}c.style.zIndex=-Math.abs(Math.round(u))+e.length,k(r,c).style.transform=E}},setTransition:e=>{let i=t.slides.map(e=>(0,r.g)(e));i.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),A({swiper:t,duration:e,transformElements:i})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:t.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!t.params.cssMode})})}},375(e,t,i){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(e,t){void 0===e&&(e={}),void 0===t&&(t={});let i=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>i.indexOf(e)).forEach(i=>{void 0===e[i]?e[i]=t[i]:n(t[i])&&n(e[i])&&Object.keys(t[i]).length>0&&r(e[i],t[i])})}i.d(t,{a:()=>l,g:()=>o});let s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function o(){let e="u">typeof document?document:{};return r(e,s),e}let a={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){}
7,clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"u"<typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"u">typeof setTimeout&&clearTimeout(e)}};function l(){let e="u">typeof window?window:{};return r(e,a),e}},44(e,t,i){"use strict";i.d(t,{a:()=>u,b:()=>x,c:()=>v,d:()=>g,e:()=>p,f:()=>a,g:()=>h,h:()=>S,i:()=>w,j:()=>r,k:()=>l,l:()=>E,m:()=>T,n:()=>o,o:()=>c,p:()=>M,q:()=>b,r:()=>y,s:()=>P,t:()=>_,u:()=>d,v:()=>m,w:()=>f,x:()=>function e(){let t=Object(arguments.length<=0?void 0:arguments[0]),i=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){let r=n<0||arguments.length<=n?void 0:arguments[n];if(null!=r&&("u">typeof window&&void 0!==window.HTMLElement?!(r instanceof HTMLElement):!r||1!==r.nodeType&&11!==r.nodeType)){let n=Object.keys(Object(r)).filter(e=>0>i.indexOf(e));for(let i=0,s=n.length;i<s;i+=1){let s=n[i],o=Object.getOwnPropertyDescriptor(r,s);void 0!==o&&o.enumerable&&(c(t[s])&&c(r[s])?r[s].__swiper__?t[s]=r[s]:e(t[s],r[s]):!c(t[s])&&c(r[s])?(t[s]={},r[s].__swiper__?t[s]=r[s]:e(t[s],r[s])):t[s]=r[s])}}}return t},y:()=>s});var n=i(375);function r(e){return void 0===e&&(e=""),e.trim().split(" ").filter(e=>!!e.trim())}function s(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function o(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function a(){return Date.now()}function l(e,t){let i,r,s,o,a;void 0===t&&(t="x");let l=(0,n.a)(),c=((a=(0,n.a)()).getComputedStyle&&(o=a.getComputedStyle(e,null)),!o&&e.currentStyle&&(o=e.currentStyle),o||(o=e.style),o);return l.WebKitCSSMatrix?((r=c.transform||c.webkitTransform).split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new l.WebKitCSSMatrix("none"===r?"":r)):i=(s=c.MozTransform||c.OTransform||c.MsTransform||c.msTransform||c.transform||c.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(r=l.WebKitCSSMatrix?s.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=l.WebKitCSSMatrix?s.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function u(e,t,i){e.style.setProperty(t,i)}function d(e){let t,{swiper:i,targetPosition:r,side:s}=e,o=(0,n.a)(),a=-i.translate,l=null,c=i.params.speed;i.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(i.cssModeFrameID);let u=r>a?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,h=()=>{t=new Date().getTime(),null===l&&(l=t);let e=a+(.5-Math.cos(Math.max(Math.min((t-l)/c,1),0)*Math.PI)/2)*(r-a);if(d(e,r)&&(e=r),i.wrapperEl.scrollTo({[s]:e}),d(e,r)){i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[s]:e})}),o.cancelAnimationFrame(i.cssModeFrameID);return}i.cssModeFrameID=o.requestAnimationFrame(h)};h()}function h(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function p(e,t){void 0===t&&(t="");let i=(0,n.a)(),r=[...e.children];return(i.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t)?r.filter(e=>e.matches(t)):r}function f(e,t){let i=(0,n.a)(),r=t.contains(e);return!r&&i.HTMLSlotElement&&t instanceof HTMLSlotElement&&((r=[...t.assignedElements()].includes(e))||(r=function(e,t){let i=[t];for(;i.length>0;){let t=i.shift();if(e===t)return!0;i.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),r}function m(e){try{console.warn(e);return}catch(e){}}function v(e,t){void 0===t&&(t=[]);let i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:r(t)),i}function g(e){let t=(0,n.a)(),i=(0,n.g)(),r=e.getBoundingClientRect(),s=i.body,o=e.clientTop||s.clientTop||0,a=e.clientLeft||s.clientLeft||0,l=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:r.top+l-o,left:r.left+c-a}}function _(e,t){let i=[];for(;e.previousElementSibling;){let n=e.previousElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}function y(e,t){let i=[];for(;e.nextElementSibling;){let n=e.nextElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}function b(e,t){return(0,n.a)().getComputedStyle(e,null).getPropertyValue(t)}function w(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function x(e,t){let i=[],n=e.parentElement;for(;n;)t?n.matches(t)&&i.push(n):i.push(n),n=n.parentElement;return i}function E(e,t){t&&e.addEventListener("transitionend",function i(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",i))})}function S(e,t,i){let r=(0,n.a)();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function T(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function M(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function P(e,t){void 0===t&&(t=""),"u">typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}},236(e,t,i){"use strict";let n,r,s;i.d(t,{A:()=>A});var o=i(375),a=i(44);function l(){let e,t;return n||(e=(0,o.a)(),n={smoothScroll:(t=(0,o.g)()).documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}),n}function c(e){return void 0===e&&(e={}),r||(r=function(e){let{userAgent:t}=void 0===e?{}:e,i=l(),n=(0,o.a)(),r=n.navigator.platform,s=t||n.navigator.userAgent,a={ios:!1,android:!1},c=n.screen.width,u=n.screen.height,d=s.match(/(Android);?[\s\/]+([\d.]+)?/),h=s.match(/(iPad).*OS\s([\d_]+)/),p=s.match(/(iPod)(.*OS\s([\d_]+))?/),f=!h&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="MacIntel"===r;return!h&&m&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${c}x${u}`)>=0&&((h=s.match(/(Version)\/([\d.]+)/))||(h=[0,1,"13_0_0"]),m=!1),d&&"Win32"!==r&&(a.os="android",a.android=!0),(h||f||p)&&(a.os="ios",a.ios=!0),a}(e)),r}function u(){return s||(s=function(){let e=(0,o.a)(),t=c(),i=!1;function n(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(n()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));
7i=e<16||16===e&&n<2}}let r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=n(),a=s||r&&t.ios;return{isSafari:i||s,needPerspectiveFix:i,need3dFix:a,isWebView:r}}()),s}let d=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)},h=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)},p=(e,t)=>{if(!e||e.destroyed||!e.params)return;let i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},f=(e,t)=>{if(!e.slides[t])return;let i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},m=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);let n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let i=[r-t];i.push(...Array.from({length:t}).map((e,t)=>r+n+t)),e.slides.forEach((t,n)=>{i.includes(t.column)&&f(e,n)});return}let s=r+n-1;if(e.params.rewind||e.params.loop)for(let n=r-t;n<=s+t;n+=1){let t=(n%i+i)%i;(t<r||t>s)&&f(e,t)}else for(let n=Math.max(r-t,0);n<=Math.min(s+t,i-1);n+=1)n!==r&&(n>s||n<r)&&f(e,n)};function v(e){let{swiper:t,runCallbacks:i,direction:n,step:r}=e,{activeIndex:s,previousIndex:o}=t,a=n;a||(a=s>o?"next":s<o?"prev":"reset"),t.emit(`transition${r}`),i&&"reset"===a?t.emit(`slideResetTransition${r}`):i&&s!==o&&(t.emit(`slideChangeTransition${r}`),"next"===a?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`))}function g(e,t,i){let n=(0,o.a)(),{params:r}=e,s=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return!s||!(i<=a)&&!(i>=n.innerWidth-a)||"prevent"===s&&(t.preventDefault(),!0)}function _(e){let t=(0,o.g)(),i=e;i.originalEvent&&(i=i.originalEvent);let n=this.touchEventsData;if("pointerdown"===i.type){if(null!==n.pointerId&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(n.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void g(this,i,i.targetTouches[0].pageX);let{params:r,touches:s,enabled:l}=this;if(!l||!r.simulateTouch&&"mouse"===i.pointerType||this.animating&&r.preventInteractionOnTransition)return;!this.animating&&r.cssMode&&r.loop&&this.loopFix();let c=i.target;if("wrapper"===r.touchEventsTarget&&!(0,a.w)(c,this.wrapperEl)||"which"in i&&3===i.which||"button"in i&&i.button>0||n.isTouched&&n.isMoved)return;let u=!!r.noSwipingClass&&""!==r.noSwipingClass,d=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&d&&(c=d[0]);let h=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(i.target&&i.target.shadowRoot);if(r.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(i){if(!i||i===(0,o.g)()||i===(0,o.a)())return null;i.assignedSlot&&(i=i.assignedSlot);let n=i.closest(e);return n||i.getRootNode?n||t(i.getRootNode().host):null}(t)}(h,c):c.closest(h))){this.allowClick=!0;return}if(r.swipeHandler&&!c.closest(r.swipeHandler))return;s.currentX=i.pageX,s.currentY=i.pageY;let f=s.currentX,m=s.currentY;if(!g(this,i,f))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=f,s.startY=m,n.touchStartTime=(0,a.f)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let v=!0;c.matches(n.focusableElements)&&(v=!1,"SELECT"===c.nodeName&&(n.isTouched=!1)),t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==c&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!c.matches(n.focusableElements))&&t.activeElement.blur();let _=v&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||_)&&!c.isContentEditable&&i.preventDefault(),r.freeMode&&r.freeMode.enabled&&this.freeMode&&this.animating&&!r.cssMode&&this.freeMode.onTouchStart(),this.emit
7("touchStart",i)}function y(e){let t,i,n=(0,o.g)(),r=this.touchEventsData,{params:s,touches:l,rtlTranslate:c,enabled:u}=this;if(!u||!s.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type&&(null!==r.touchId||d.pointerId!==r.pointerId))return;if("touchmove"===d.type){if(!(t=[...d.changedTouches].find(e=>e.identifier===r.touchId))||t.identifier!==r.touchId)return}else t=d;if(!r.isTouched){r.startMoving&&r.isScrolling&&this.emit("touchMoveOpposite",d);return}let h=t.pageX,p=t.pageY;if(d.preventedByNestedSwiper){l.startX=h,l.startY=p;return}if(!this.allowTouchMove){d.target.matches(r.focusableElements)||(this.allowClick=!1),r.isTouched&&(Object.assign(l,{startX:h,startY:p,currentX:h,currentY:p}),r.touchStartTime=(0,a.f)());return}if(s.touchReleaseOnEdges&&!s.loop){if(this.isVertical()){if(p<l.startY&&this.translate<=this.maxTranslate()||p>l.startY&&this.translate>=this.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(c&&(h>l.startX&&-this.translate<=this.maxTranslate()||h<l.startX&&-this.translate>=this.minTranslate()))return;else if(!c&&(h<l.startX&&this.translate<=this.maxTranslate()||h>l.startX&&this.translate>=this.minTranslate()))return}if(n.activeElement&&n.activeElement.matches(r.focusableElements)&&n.activeElement!==d.target&&"mouse"!==d.pointerType&&n.activeElement.blur(),n.activeElement&&d.target===n.activeElement&&d.target.matches(r.focusableElements)){r.isMoved=!0,this.allowClick=!1;return}r.allowTouchCallbacks&&this.emit("touchMove",d),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=h,l.currentY=p;let f=l.currentX-l.startX,m=l.currentY-l.startY;if(this.params.threshold&&Math.sqrt(f**2+m**2)<this.params.threshold)return;if(void 0===r.isScrolling){let e;this.isHorizontal()&&l.currentY===l.startY||this.isVertical()&&l.currentX===l.startX?r.isScrolling=!1:f*f+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(f))/Math.PI,r.isScrolling=this.isHorizontal()?e>s.touchAngle:90-e>s.touchAngle)}if(r.isScrolling&&this.emit("touchMoveOpposite",d),void 0===r.startMoving&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(r.startMoving=!0),r.isScrolling||"touchmove"===d.type&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;this.allowClick=!1,!s.cssMode&&d.cancelable&&d.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&d.stopPropagation();let v=this.isHorizontal()?f:m,g=this.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;s.oneWayMovement&&(v=Math.abs(v)*(c?1:-1),g=Math.abs(g)*(c?1:-1)),l.diff=v,v*=s.touchRatio,c&&(v=-v,g=-g);let _=this.touchesDirection;this.swipeDirection=v>0?"prev":"next",this.touchesDirection=g>0?"prev":"next";let y=this.params.loop&&!s.cssMode,b="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!r.isMoved){if(y&&b&&this.loopFix({direction:this.swipeDirection}),r.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,s.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",d)}if(new Date().getTime(),!1!==s._loopSwapReset&&r.isMoved&&r.allowThresholdMove&&_!==this.touchesDirection&&y&&b&&Math.abs(v)>=1){Object.assign(l,{startX:h,startY:p,currentX:h,currentY:p,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}this.emit("sliderMove",d),r.isMoved=!0,r.currentTranslate=v+r.startTranslate;let w=!0,x=s.resistanceRatio;if(s.touchReleaseOnEdges&&(x=0),v>0?(y&&b&&!i&&r.allowThresholdMove&&r.currentTranslate>(s.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==s.slidesPerView&&this.slides.length-s.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>this.minTranslate()&&(w=!1,s.resistance&&(r.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+r.startTranslate+v)**x))):v<0&&(y&&b&&!i&&r.allowThresholdMove&&r.currentTranslate<(s.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==s.slidesPerView&&this.slides.length-s.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===s.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),r.currentTranslate<this.maxTranslate()&&(w=!1,s.resistance&&(r.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-r.startTranslate-v)**x))),w&&(d.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),this.allowSlidePrev||this.allowSlideNext||(r.currentTranslate=r.startTranslate),s.threshold>0)if(Math.abs(v)>s.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,r.currentTranslate=r.startTranslate,l.diff=this.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{r.currentTranslate=r.startTranslate;return}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&this.freeMode||s.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(r.currentTranslate),this.setTranslate(r.currentTranslate))}function b(e){let t,i,n=this,r=n.touchEventsData,s=e;if(s.originalEvent&&(s=s.originalEvent),"touchend"===s.type||"touchcancel"===s.type){if(!(t=[...s.changedTouches].find(e=>e.identifier===r.touchId))||t.identifier!==r.touchId)return}else{if(null!==r.touchId||s.pointerId!==r.pointerId)return;t=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(n.browser.isSafari||n.browser.isWebView)))return;r.pointerId=null,r.touchId=null;let{params:o,touches:l,rtlTranslate:c,slidesGrid:u,enabled:d}=n;if(!d||!o.simulateTouch&&"mouse"===s.pointerType)return;if(r.allowTouchCallbacks&&n.emit("touchEnd",s),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&o.grabCursor&&n.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}o.grabCursor&&r.isMoved&&r.isTouched&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!1);let h=(0,a.f)(),p=h-r.touchStartTime;if(n.allowClick){let e=s.path||s.composedPath&&s.composedPath();n.updateClickedSlide(e&&e[0]||s.target,e),n.emit("tap click",s),p<300&&h-r.lastClickTime<300&&n.emit("doubleTap doubleClick",
7s)}if(r.lastClickTime=(0,a.f)(),(0,a.n)(()=>{n.destroyed||(n.allowClick=!0)}),!r.isTouched||!r.isMoved||!n.swipeDirection||0===l.diff&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,i=o.followFinger?c?n.translate:-n.translate:-r.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void n.freeMode.onTouchEnd({currentPos:i});let f=i>=-n.maxTranslate()&&!n.params.loop,m=0,v=n.slidesSizesGrid[0];for(let e=0;e<u.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){let t=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==u[e+t]?(f||i>=u[e]&&i<u[e+t])&&(m=e,v=u[e+t]-u[e]):(f||i>=u[e])&&(m=e,v=u[u.length-1]-u[u.length-2])}let g=null,_=null;o.rewind&&(n.isBeginning?_=o.virtual&&o.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(g=0));let y=(i-u[m])/v,b=m<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(p>o.longSwipesMs){if(!o.longSwipes)return void n.slideTo(n.activeIndex);"next"===n.swipeDirection&&(y>=o.longSwipesRatio?n.slideTo(o.rewind&&n.isEnd?g:m+b):n.slideTo(m)),"prev"===n.swipeDirection&&(y>1-o.longSwipesRatio?n.slideTo(m+b):null!==_&&y<0&&Math.abs(y)>o.longSwipesRatio?n.slideTo(_):n.slideTo(m))}else{if(!o.shortSwipes)return void n.slideTo(n.activeIndex);n.navigation&&(s.target===n.navigation.nextEl||s.target===n.navigation.prevEl)?s.target===n.navigation.nextEl?n.slideTo(m+b):n.slideTo(m):("next"===n.swipeDirection&&n.slideTo(null!==g?g:m+b),"prev"===n.swipeDirection&&n.slideTo(null!==_?_:m))}}function w(){let e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:r,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let a=o&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function x(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function E(){let{wrapperEl:e,rtlTranslate:t,enabled:i}=this;if(!i)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function S(e){p(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function T(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let M=(e,t)=>{let i=(0,o.g)(),{params:n,el:r,wrapperEl:s,device:a}=e,l=!!n.nested,c="on"===t?"addEventListener":"removeEventListener";r&&"string"!=typeof r&&(i[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),r[c]("touchstart",e.onTouchStart,{passive:!1}),r[c]("pointerdown",e.onTouchStart,{passive:!1}),i[c]("touchmove",e.onTouchMove,{passive:!1,capture:l}),i[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),i[c]("touchend",e.onTouchEnd,{passive:!0}),i[c]("pointerup",e.onTouchEnd,{passive:!0}),i[c]("pointercancel",e.onTouchEnd,{passive:!0}),i[c]("touchcancel",e.onTouchEnd,{passive:!0}),i[c]("pointerout",e.onTouchEnd,{passive:!0}),i[c]("pointerleave",e.onTouchEnd,{passive:!0}),i[c]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&r[c]("click",e.onClick,!0),n.cssMode&&s[c]("scroll",e.onScroll),n.updateOnWindowResize?e[t](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",w,!0):e[t]("observerUpdate",w,!0),r[c]("load",e.onLoad,{capture:!0}))},P=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var C={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
7spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let O={eventsEmitter:{on(e,t,i){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;let r=i?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][r](t)}),n},once(e,t,i){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;function r(){n.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var i=arguments.length,s=Array(i),o=0;o<i;o++)s[o]=arguments[o];t.apply(n,s)}return r.__emitterProxy=t,n.on(e,r,i)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let i=this;return i.eventsListeners&&!i.destroyed&&i.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)})}),i},emit(){let e,t,i,n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;for(var r=arguments.length,s=Array(r),o=0;o<r;o++)s[o]=arguments[o];return"string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],t=s.slice(1,s.length),i=n):(e=s[0].events,t=s[0].data,i=s[0].context||n),t.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach(e=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(n=>{n.apply(i,[e,...t])}),n.eventsListeners&&n.eventsListeners[e]&&n.eventsListeners[e].forEach(e=>{e.apply(i,t)})}),n}},update:{updateSize:function(){let e,t,i=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:i.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:i.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,a.q)(i,"padding-left")||0,10)-parseInt((0,a.q)(i,"padding-right")||0,10),t=t-parseInt((0,a.q)(i,"padding-top")||0,10)-parseInt((0,a.q)(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e,t=this;function i(e,i){return parseFloat(e.getPropertyValue(t.getDirectionLabel(i))||0)}let n=t.params,{wrapperEl:r,slidesEl:s,size:o,rtlTranslate:l,wrongRTL:c}=t,u=t.virtual&&n.virtual.enabled,d=u?t.virtual.slides.length:t.slides.length,h=(0,a.e)(s,`.${t.params.slideClass}, swiper-slide`),p=u?t.virtual.slides.length:h.length,f=[],m=[],v=[],g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(t));let _=n.slidesOffsetAfter;"function"==typeof _&&(_=n.slidesOffsetAfter.call(t));let y=t.snapGrid.length,b=t.slidesGrid.length,w=n.spaceBetween,x=-g,E=0,S=0;if(void 0===o)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*o:"string"==typeof w&&(w=parseFloat(w)),t.virtualSize=-w,h.forEach(e
7=>{l?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&((0,a.a)(r,"--swiper-centered-offset-before",""),(0,a.a)(r,"--swiper-centered-offset-after",""));let T=n.grid&&n.grid.rows>1&&t.grid;T?t.grid.initSlides(h):t.grid&&t.grid.unsetSlides();let M="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let r=0;r<p;r+=1){let s;if(e=0,h[r]&&(s=h[r]),T&&t.grid.updateSlide(r,s,h),!h[r]||"none"!==(0,a.q)(s,"display")){if("auto"===n.slidesPerView){M&&(h[r].style[t.getDirectionLabel("width")]="");let o=getComputedStyle(s),l=s.style.transform,c=s.style.webkitTransform;if(l&&(s.style.transform="none"),c&&(s.style.webkitTransform="none"),n.roundLengths)e=t.isHorizontal()?(0,a.h)(s,"width",!0):(0,a.h)(s,"height",!0);else{let t=i(o,"width"),n=i(o,"padding-left"),r=i(o,"padding-right"),a=i(o,"margin-left"),l=i(o,"margin-right"),c=o.getPropertyValue("box-sizing");if(c&&"border-box"===c)e=t+a+l;else{let{clientWidth:i,offsetWidth:o}=s;e=t+n+r+a+l+(o-i)}}l&&(s.style.transform=l),c&&(s.style.webkitTransform=c),n.roundLengths&&(e=Math.floor(e))}else e=(o-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(e=Math.floor(e)),h[r]&&(h[r].style[t.getDirectionLabel("width")]=`${e}px`);h[r]&&(h[r].swiperSlideSize=e),v.push(e),n.centeredSlides?(x=x+e/2+E/2+w,0===E&&0!==r&&(x=x-o/2-w),0===r&&(x=x-o/2-w),.001>Math.abs(x)&&(x=0),n.roundLengths&&(x=Math.floor(x)),S%n.slidesPerGroup==0&&f.push(x),m.push(x)):(n.roundLengths&&(x=Math.floor(x)),(S-Math.min(t.params.slidesPerGroupSkip,S))%t.params.slidesPerGroup==0&&f.push(x),m.push(x),x=x+e+w),t.virtualSize+=e+w,E=e,S+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+_,l&&c&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width=`${t.virtualSize+w}px`),n.setWrapperSize&&(r.style[t.getDirectionLabel("width")]=`${t.virtualSize+w}px`),T&&t.grid.updateWrapperSize(e,f),!n.centeredSlides){let e=[];for(let i=0;i<f.length;i+=1){let r=f[i];n.roundLengths&&(r=Math.floor(r)),f[i]<=t.virtualSize-o&&e.push(r)}f=e,Math.floor(t.virtualSize-o)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-o)}if(u&&n.loop){let e=v[0]+w;if(n.slidesPerGroup>1){let i=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),r=e*n.slidesPerGroup;for(let e=0;e<i;e+=1)f.push(f[f.length-1]+r)}for(let i=0;i<t.virtual.slidesBefore+t.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&f.push(f[f.length-1]+e),m.push(m[m.length-1]+e),t.virtualSize+=e}if(0===f.length&&(f=[0]),0!==w){let e=t.isHorizontal()&&l?"marginLeft":t.getDirectionLabel("marginRight");h.filter((e,t)=>!n.cssMode||!!n.loop||t!==h.length-1).forEach(t=>{t.style[e]=`${w}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;v.forEach(t=>{e+=t+(w||0)});let t=(e-=w)>o?e-o:0;f=f.map(e=>e<=0?-g:e>t?t+_:e)}if(n.centerInsufficientSlides){let e=0;v.forEach(t=>{e+=t+(w||0)}),e-=w;let t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t<o){let i=(o-e-t)/2;f.forEach((e,t)=>{f[t]=e-i}),m.forEach((e,t)=>{m[t]=e+i})}}if(Object.assign(t,{slides:h,snapGrid:f,slidesGrid:m,slidesSizesGrid:v}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,a.a)(r,"--swiper-centered-offset-before",`${-f[0]}px`),(0,a.a)(r,"--swiper-centered-offset-after",`${t.size/2-v[v.length-1]/2}px`);let e=-t.snapGrid[0],i=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+i)}if(p!==d&&t.emit("slidesLengthChange"),f.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==b&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!u&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){let e=`${n.containerModifierClass}backface-hidden`,i=t.el.classList.contains(e);p<=n.maxBackfaceHiddenSlides?i||t.el.classList.add(e):i&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t,i=this,n=[],r=i.virtual&&i.params.virtual.enabled,s=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);let o=e=>r?i.slides[i.getSlideIndexByData(e)]:i.slides[e];if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>
71)if(i.params.centeredSlides)(i.visibleSlides||[]).forEach(e=>{n.push(e)});else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){let e=i.activeIndex+t;if(e>i.slides.length&&!r)break;n.push(o(e))}else n.push(o(i.activeIndex));for(t=0;t<n.length;t+=1)if(void 0!==n[t]){let e=n[t].offsetHeight;s=e>s?e:s}(s||0===s)&&(i.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let i=0;i<e.length;i+=1)e[i].swiperSlideOffset=(this.isHorizontal()?e[i].offsetLeft:e[i].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this.params,{slides:i,rtlTranslate:n,snapGrid:r}=this;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();let s=-e;n&&(s=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let o=t.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*this.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<i.length;e+=1){let a=i[e],l=a.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=i[0].swiperSlideOffset);let c=(s+(t.centeredSlides?this.minTranslate():0)-l)/(a.swiperSlideSize+o),u=(s-r[0]+(t.centeredSlides?this.minTranslate():0)-l)/(a.swiperSlideSize+o),h=-(s-l),p=h+this.slidesSizesGrid[e],f=h>=0&&h<=this.size-this.slidesSizesGrid[e],m=h>=0&&h<this.size-1||p>1&&p<=this.size||h<=0&&p>=this.size;m&&(this.visibleSlides.push(a),this.visibleSlidesIndexes.push(e)),d(a,m,t.slideVisibleClass),d(a,f,t.slideFullyVisibleClass),a.progress=n?-c:c,a.originalProgress=n?-u:u}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,i=this.maxTranslate()-this.minTranslate(),{progress:n,isBeginning:r,isEnd:s,progressLoop:o}=this,a=r,l=s;if(0===i)n=0,r=!0,s=!0;else{n=(e-this.minTranslate())/i;let t=1>Math.abs(e-this.minTranslate()),o=1>Math.abs(e-this.maxTranslate());r=t||n<=0,s=o||n>=1,t&&(n=0),o&&(n=1)}if(t.loop){let t=this.getSlideIndexByData(0),i=this.getSlideIndexByData(this.slides.length-1),n=this.slidesGrid[t],r=this.slidesGrid[i],s=this.slidesGrid[this.slidesGrid.length-1],a=Math.abs(e);(o=a>=n?(a-n)/s:(a+s-r)/s)>1&&(o-=1)}Object.assign(this,{progress:n,progressLoop:o,isBeginning:r,isEnd:s}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),r&&!a&&this.emit("reachBeginning toEdge"),s&&!l&&this.emit("reachEnd toEdge"),(a&&!r||l&&!s)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){let e,t,i,{slides:n,params:r,slidesEl:s,activeIndex:o}=this,l=this.virtual&&r.virtual.enabled,c=this.grid&&r.grid&&r.grid.rows>1,u=e=>(0,a.e)(s,`.${r.slideClass}${e}, swiper-slide${e}`)[0];if(l)if(r.loop){let t=o-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=u(`[data-swiper-slide-index="${t}"]`)}else e=u(`[data-swiper-slide-index="${o}"]`);else c?(e=n.find(e=>e.column===o),i=n.find(e=>e.column===o+1),t=n.find(e=>e.column===o-1)):e=n[o];e&&!c&&(i=(0,a.r)(e,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!i&&(i=n[0]),t=(0,a.t)(e,`.${r.slideClass}, swiper-slide`)[0],r.loop),n.forEach(n=>{h(n,n===e,r.slideActiveClass),h(n,n===i,r.slideNextClass),h(n,n===t,r.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,i,n=this,r=n.rtlTranslate?n.translate:-n.translate,{snapGrid:s,params:o,activeIndex:a,realIndex:l,snapIndex:c}=n,u=e,d=e=>{let t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if(void 0===u&&(u=function(e){let t,{slidesGrid:i,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<i.length;e+=1)void 0!==i[e+1]?r>=i[e]&&r<i[e+1]-(i[e+1]-i[e])/2?t=e:r>=i[e]&&r<i[e+1]&&(t=e+1):r>=i[e]&&(t=e);return n.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(n)),s.indexOf(r)>=0)t=s.indexOf(r);else{let e=Math.min(o.slidesPerGroupSkip,u);t=e+Math.floor((u-e)/o.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),u===a&&!n.params.loop){t!==c&&(n.snapIndex=t,n.emit("snapIndexChange"));return}if(u===a&&n.params.loop&&n.virtual&&n.params.virtual.enabled){n.realIndex=d(u);return}let h=n.grid&&o.grid&&o.grid.rows>1;if(n.virtual&&o.virtual.enabled&&o.loop)i=d(u);else if(h){let e=n.slides.find(e=>e.column===u),t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(n.slides.indexOf(e),0)),i=Math.floor(t/o.grid.rows)}else if(n.slides[u]){let e=n.slides[u].getAttribute("data-swiper-slide-index");i=e?parseInt(e,10):u}else i=u;Object.assign(n,{previousSnapIndex:c,snapIndex:t,previousRealIndex:l,realIndex:i,previousIndex:a,activeIndex:u}),n.initialized&&m(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(l!==i&&n.emit("realIndexChange"),n.emit("slideChange"))},updateClickedSlide:function(e,t){let i,n=this.params,r=e.closest(`.${n.slideClass}, swiper-slide`);!r&&this.isElement&&t&&t.length>
71&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(r=e)});let s=!1;if(r){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===r){s=!0,i=e;break}}if(r&&s)this.clickedSlide=r,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=i;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}n.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let{params:t,rtlTranslate:i,translate:n,wrapperEl:r}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let s=(0,a.k)(r,e);return s+=this.cssOverflowAdjustment(),i&&(s=-s),s||0},setTranslate:function(e,t){let{rtlTranslate:i,params:n,wrapperEl:r,progress:s}=this,o=0,a=0;this.isHorizontal()?o=i?-e:e:a=e,n.roundLengths&&(o=Math.floor(o),a=Math.floor(a)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:a,n.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-a:n.virtualTranslate||(this.isHorizontal()?o-=this.cssOverflowAdjustment():a-=this.cssOverflowAdjustment(),r.style.transform=`translate3d(${o}px, ${a}px, 0px)`);let l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==s&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,r){let s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);let o=this,{params:l,wrapperEl:c}=o;if(o.animating&&l.preventInteractionOnTransition)return!1;let u=o.minTranslate(),d=o.maxTranslate();if(s=n&&e>u?u:n&&e<d?d:e,o.updateProgress(s),l.cssMode){let e=o.isHorizontal();if(0===t)c[e?"scrollLeft":"scrollTop"]=-s;else{if(!o.support.smoothScroll)return(0,a.u)({swiper:o,targetPosition:-s,side:e?"left":"top"}),!0;c.scrollTo({[e?"left":"top"]:-s,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(s),i&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(s),i&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){!o||o.destroyed||e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,i&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);let{params:i}=this;i.cssMode||(i.autoHeight&&this.updateAutoHeight(),v({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let{params:i}=this;this.animating=!1,i.cssMode||(this.setTransition(0),v({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,i,n,r){let s;void 0===e&&(e=0),void 0===i&&(i=!0),"string"==typeof e&&(e=parseInt(e,10));let o=this,l=e;l<0&&(l=0);let{params:c,snapGrid:d,slidesGrid:h,previousIndex:p,activeIndex:f,rtlTranslate:m,wrapperEl:v,enabled:g}=o;if(!g&&!n&&!r||o.destroyed||o.animating&&c.preventInteractionOnTransition)return!1;void 0===t&&(t=o.params.speed);let _=Math.min(o.params.slidesPerGroupSkip,l),y=_+Math.floor((l-_)/o.params.slidesPerGroup);y>=d.length&&(y=d.length-1);let b=-d[y];if(c.normalizeSlideIndex)for(let e=0;e<h.length;e+=1){let t=-Math.floor(100*b),i=Math.floor(100*h[e]),n=Math.floor(100*h[e+1]);void 0!==h[e+1]?t>=i&&t<n-(n-i)/2?l=e:t>=i&&t<n&&(l=e+1):t>=i&&(l=e)}if(o.initialized&&l!==f&&(!o.allowSlideNext&&(m?b>o.translate&&b>o.minTranslate():b<o.translate&&b<o.minTranslate())||!o.allowSlidePrev&&b>o.translate&&b>o.maxTranslate()&&(f||0)!==l))return!1;l!==(p||0)&&i&&o.emit("beforeSlideChangeStart"),o.updateProgress(b),s=l>f?"next":l<f?"prev":"reset";let w=o.virtual&&o.params.virtual.enabled;if(!(w&&r)&&(m&&-b===o.translate||!m&&b===o.translate))return o.updateActiveIndex(l),c.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==c.effect&&o.setTranslate(b),"reset"!==s&&(o.transitionStart(i,s),o.transitionEnd(i,s)),!1;if(c.cssMode){let e=o.isHorizontal(),i=m?b:-b;if(0===t)w&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),w&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{v[e?"scrollLeft":"scrollTop"]=i})):v[e?"scrollLeft":"scrollTop"]=i,w&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1});else{if(!o.support.smoothScroll)return(0,a.u)({swiper:o,targetPosition:i,side:e?"left"
7:"top"}),!0;v.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}let x=u().isSafari;return w&&!r&&x&&o.isElement&&o.virtual.update(!1,!1,l),o.setTransition(t),o.setTranslate(b),o.updateActiveIndex(l),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(i,s),0===t?o.transitionEnd(i,s):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){!o||o.destroyed||e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(i,s))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===i&&(i=!0),"string"==typeof e&&(e=parseInt(e,10));let r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);let s=r.grid&&r.params.grid&&r.params.grid.rows>1,o=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o+=r.virtual.slidesBefore;else{let e;if(s){let t=o*r.params.grid.rows;e=r.slides.find(e=>+e.getAttribute("data-swiper-slide-index")===t).column}else e=r.getSlideIndexByData(o);let t=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:i}=r.params,a=r.params.slidesPerView;"auto"===a?a=r.slidesPerViewDynamic():(a=Math.ceil(parseFloat(r.params.slidesPerView,10)),i&&a%2==0&&(a+=1));let l=t-e<a;if(i&&(l=l||e<Math.ceil(a/2)),n&&i&&"auto"!==r.params.slidesPerView&&!s&&(l=!1),l){let n=i?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?r.realIndex:void 0})}if(s){let e=o*r.params.grid.rows;o=r.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e).column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame(()=>{r.slideTo(o,t,i,n)}),r},slideNext:function(e,t,i){void 0===t&&(t=!0);let n=this,{enabled:r,params:s,animating:o}=n;if(!r||n.destroyed)return n;void 0===e&&(e=n.params.speed);let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));let l=n.activeIndex<s.slidesPerGroupSkip?1:a,c=n.virtual&&s.virtual.enabled;if(s.loop){if(o&&!c&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,e,t,i)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e,t,i){void 0===t&&(t=!0);let n=this,{params:r,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:c}=n;if(!l||n.destroyed)return n;void 0===e&&(e=n.params.speed);let u=n.virtual&&r.virtual.enabled;if(r.loop){if(c&&!u&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let h=d(a?n.translate:-n.translate),p=s.map(e=>d(e)),f=r.freeMode&&r.freeMode.enabled,m=s[p.indexOf(h)-1];if(void 0===m&&(r.cssMode||f)){let e;
7s.forEach((t,i)=>{h>=t&&(e=i)}),void 0!==e&&(m=f?s[e]:s[e>0?e-1:e])}let v=0;if(void 0!==m&&((v=o.indexOf(m))<0&&(v=n.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(v=Math.max(v=v-n.slidesPerViewDynamic("previous",!0)+1,0))),r.rewind&&n.isBeginning){let r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,e,t,i)}return r.loop&&0===n.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{n.slideTo(v,e,t,i)}),!0):n.slideTo(v,e,t,i)},slideReset:function(e,t,i){if(void 0===t&&(t=!0),!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){if(void 0===t&&(t=!0),void 0===n&&(n=.5),this.destroyed)return;void 0===e&&(e=this.params.speed);let r=this.activeIndex,s=Math.min(this.params.slidesPerGroupSkip,r),o=s+Math.floor((r-s)/this.params.slidesPerGroup),a=this.rtlTranslate?this.translate:-this.translate;if(a>=this.snapGrid[o]){let e=this.snapGrid[o];a-e>(this.snapGrid[o+1]-e)*n&&(r+=this.params.slidesPerGroup)}else{let e=this.snapGrid[o-1];a-e<=(this.snapGrid[o]-e)*n&&(r-=this.params.slidesPerGroup)}return r=Math.min(r=Math.max(r,0),this.slidesGrid.length-1),this.slideTo(r,e,t,i)},slideToClickedSlide:function(){let e,t=this;if(t.destroyed)return;let{params:i,slidesEl:n}=t,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,s=t.getSlideIndexWhenGrid(t.clickedIndex),o=t.isElement?"swiper-slide":`.${i.slideClass}`,l=t.grid&&t.params.grid&&t.params.grid.rows>1;if(i.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),i.centeredSlides?t.slideToLoop(e):s>(l?(t.slides.length-r)/2-(t.params.grid.rows-1):t.slides.length-r)?(t.loopFix(),s=t.getSlideIndex((0,a.e)(n,`${o}[data-swiper-slide-index="${e}"]`)[0]),(0,a.n)(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}},loop:{loopCreate:function(e,t){let i,n=this,{params:r,slidesEl:s}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;let o=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||o)&&((i=(0,a.e)(s,`.${r.slideBlankClass}
7`)).forEach(e=>{e.remove()}),i.length>0&&(n.recalcSlides(),n.updateSlides()));let l=r.slidesPerGroup*(o?r.grid.rows:1),c=n.slides.length%l!=0,u=o&&n.slides.length%r.grid.rows!=0,d=e=>{for(let t=0;t<e;t+=1){let e=n.isElement?(0,a.c)("swiper-slide",[r.slideBlankClass]):(0,a.c)("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(e)}};c?r.loopAddBlankSlides?(d(l-n.slides.length%l),n.recalcSlides(),n.updateSlides()):(0,a.v)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):u&&(r.loopAddBlankSlides?(d(r.grid.rows-n.slides.length%r.grid.rows),n.recalcSlides(),n.updateSlides()):(0,a.v)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),(0,a.e)(s,`.${r.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),n.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:i=!0,direction:n,setTranslate:r,activeSlideIndex:s,initial:o,byController:l,byMousewheel:c}=void 0===e?{}:e,u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");let{slides:d,allowSlidePrev:h,allowSlideNext:p,slidesEl:f,params:m}=u,{centeredSlides:v,initialSlide:g}=m;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&m.virtual.enabled){i&&(m.centeredSlides||0!==u.snapIndex?m.centeredSlides&&u.snapIndex<m.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=h,u.allowSlideNext=p,u.emit("loopFix");return}let _=m.slidesPerView;"auto"===_?_=u.slidesPerViewDynamic():(_=Math.ceil(parseFloat(m.slidesPerView,10)),v&&_%2==0&&(_+=1));let y=m.slidesPerGroupAuto?_:m.slidesPerGroup,b=v?Math.max(y,Math.ceil(_/2)):y;b%y!=0&&(b+=y-b%y),u.loopedSlides=b+=m.loopAdditionalSlides;let w=u.grid&&m.grid&&m.grid.rows>1;d.length<_+b||"cards"===u.params.effect&&d.length<_+2*b?(0,a.v)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&"row"===m.grid.fill&&(0,a.v)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let x=[],E=[],S=w?Math.ceil(d.length/m.grid.rows):d.length,T=o&&S-g<_&&!v,M=T?g:u.activeIndex;void 0===s?s=u.getSlideIndex(d.find(e=>e.classList.contains(m.slideActiveClass))):M=s;let P="next"===n||!n,C="prev"===n||!n,O=0,k=0,A=(w?d[s].column:s)+(v&&void 0===r?-_/2+.5:0);if(A<b){O=Math.max(b-A,y);for(let e=0;e<b-A;e+=1){let t=e-Math.floor(e/S)*S;if(w){let e=S-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&x.push(t)}else x.push(S-t-1)}}else if(A+_>S-b){k=Math.max(A-(S-2*b),y),T&&(k=Math.max(k,_-S+g+1));for(let e=0;e<k;e+=1){let t=e-Math.floor(e/S)*S;w?d.forEach((e,i)=>{e.column===t&&E.push(i)}):E.push(t)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),"cards"===u.params.effect&&d.length<_+2*b&&(E.includes(s)&&E.splice(E.indexOf(s),1),x.includes(s)&&x.splice(x.indexOf(s),1)),C&&x.forEach(e=>{d[e].swiperLoopMoveDOM=!0,f.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),P&&E.forEach(e=>{d[e].swiperLoopMoveDOM=!0,f.append(d[e]),d[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===m.slidesPerView?u.updateSlides():w&&(x.length>0&&C||E.length>0&&P)&&u.slides.forEach((e,t)=>{u.grid.updateSlide(t,e,u.slides)}),m.watchSlidesProgress&&u.updateSlidesOffset(),i){if(x.length>0&&C){if(void 0===t){let e=u.slidesGrid[M],t=u.slidesGrid[M+O]-e;c?u.setTranslate(u.translate-t):(u.slideTo(M+Math.ceil(O),0,!1,!0),r&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else if(r){let e=w?x.length/m.grid.rows:x.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(E.length>0&&P)if(void 0===t){let e=u.slidesGrid[M],t=u.slidesGrid[M-k]-e;c?u.setTranslate(u.translate-t):(u.slideTo(M-k,0,!1,!0),r&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else{let e=w?E.length/m.grid.rows:E.length;u.slideTo(u.activeIndex-e,0,!1,!0)}}if(u.allowSlidePrev=h,u.allowSlideNext=p,u.controller&&u.controller.control&&!l){let e={slideRealIndex:t,direction:n,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===m.slidesPerView&&i})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...e,slideTo:u.controller.control.params.slidesPerView===m.slidesPerView&&i})}u.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||!t||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let i=[];
7this.slides.forEach(e=>{i[void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=_.bind(this),this.onTouchMove=y.bind(this),this.onTouchEnd=b.bind(this),this.onDocumentTouchStart=T.bind(this),e.cssMode&&(this.onScroll=E.bind(this)),this.onClick=x.bind(this),this.onLoad=S.bind(this),M(this,"on")},detachEvents:function(){M(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:i,params:n,el:r}=e,s=n.breakpoints;if(!s||s&&0===Object.keys(s).length)return;let l=(0,o.g)(),c="window"!==n.breakpointsBase&&n.breakpointsBase?"container":n.breakpointsBase,u=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?e.el:l.querySelector(n.breakpointsBase),d=e.getBreakpoint(s,c,u);if(!d||e.currentBreakpoint===d)return;let h=(d in s?s[d]:void 0)||e.originalParams,p=P(e,n),f=P(e,h),m=e.params.grabCursor,v=h.grabCursor,g=n.enabled;p&&!f?(r.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&f&&(r.classList.add(`${n.containerModifierClass}grid`),(h.grid.fill&&"column"===h.grid.fill||!h.grid.fill&&"column"===n.grid.fill)&&r.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!v?e.unsetGrabCursor():!m&&v&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===h[t])return;let i=n[t]&&n[t].enabled,r=h[t]&&h[t].enabled;i&&!r&&e[t].disable(),!i&&r&&e[t].enable()});let _=h.direction&&h.direction!==n.direction,y=n.loop&&(h.slidesPerView!==n.slidesPerView||_),b=n.loop;_&&i&&e.changeDirection(),(0,a.x)(e.params,h);let w=e.params.enabled,x=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),g&&!w?e.disable():!g&&w&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",h),i&&(y?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!b&&x?(e.loopCreate(t),e.updateSlides()):b&&!x&&e.loopDestroy()),e.emit("breakpoint",h)},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),!e||"container"===t&&!i)return;let n=!1,r=(0,o.a)(),s="window"===t?r.innerHeight:i.clientHeight,a=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:s*parseFloat(e.substr(1)),point:e}:{value:e,point:e});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<a.length;e+=1){let{point:s,value:o}=a[e];"window"===t?r.matchMedia(`(min-width: ${o}px)`).matches&&(n=s):o<=i.clientWidth&&(n=s)}return n||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:i}=t;if(i){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*i;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e,t;let i,{classNames:n,params:r,rtl:s,el:o,device:a}=this,l=(e=["initialized",r.direction,{"free-mode":this.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:s},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:a.android},{ios:a.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}
7],t=r.containerModifierClass,i=[],e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&i.push(t+n)}):"string"==typeof e&&i.push(t+e)}),i);n.push(...l),o.classList.add(...n),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},k={};class A{constructor(){let e,t;for(var i=arguments.length,n=Array(i),r=0;r<i;r++)n[r]=arguments[r];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=(0,a.x)({},t),e&&!t.el&&(t.el=e);const s=(0,o.g)();if(t.el&&"string"==typeof t.el&&s.querySelectorAll(t.el).length>1){const e=[];return s.querySelectorAll(t.el).forEach(i=>{let n=(0,a.x)({},t,{el:i});e.push(new A(n))}),e}const d=this;d.__swiper__=!0,d.support=l(),d.device=c({userAgent:t.userAgent}),d.browser=u(),d.eventsListeners={},d.eventsAnyListeners=[],d.modules=[...d.__modules__],t.modules&&Array.isArray(t.modules)&&d.modules.push(...t.modules);const h={};d.modules.forEach(e=>{var i;e({params:t,swiper:d,extendParams:(i=t,function(e){void 0===e&&(e={});let t=Object.keys(e)[0],n=e[t];"object"!=typeof n||null===n||(!0===i[t]&&(i[t]={enabled:!0}),"navigation"===t&&i[t]&&i[t].enabled&&!i[t].prevEl&&!i[t].nextEl&&(i[t].auto=!0),["pagination","scrollbar"].indexOf(t)>=0&&i[t]&&i[t].enabled&&!i[t].el&&(i[t].auto=!0),t in i&&"enabled"in n&&("object"!=typeof i[t]||"enabled"in i[t]||(i[t].enabled=!0),i[t]||(i[t]={enabled:!1}))),(0,a.x)(h,e)}),on:d.on.bind(d),once:d.once.bind(d),off:d.off.bind(d),emit:d.emit.bind(d)})});const p=(0,a.x)({},C,h);return d.params=(0,a.x)({},p,k,t),d.originalParams=(0,a.x)({},d.params),d.passedParams=(0,a.x)({}
7,t),d.params&&d.params.on&&Object.keys(d.params.on).forEach(e=>{d.on(e,d.params.on[e])}),d.params&&d.params.onAny&&d.onAny(d.params.onAny),Object.assign(d,{enabled:d.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===d.params.direction,isVertical:()=>"vertical"===d.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:d.params.allowSlideNext,allowSlidePrev:d.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:d.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:d.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),d.emit("_swiper"),d.params.init&&d.init(),d}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:i}=this,n=(0,a.e)(t,`.${i.slideClass}, swiper-slide`),r=(0,a.i)(n[0]);return(0,a.i)(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,a.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let i=this.minTranslate(),n=(this.maxTranslate()-i)*e+i;this.translateTo(n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(i=>{let n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this,l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=n[a]?Math.ceil(n[a].swiperSlideSize):0;for(let i=a+1;i<n.length;i+=1)n[i]&&!e&&(t+=Math.ceil(n[i].swiperSlideSize),l+=1,t>o&&(e=!0));for(let i=a-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=a+1;e<n.length;e+=1)(t?r[e]+s[e]-r[a]<o:r[e]-r[a]<o)&&(l+=1);else for(let e=a-1;e>=0;e-=1)r[a]-r[e]<o&&(l+=1);return l}update(){let e,t=this;if(!t||t.destroyed)return;let{snapGrid:i,params:n}=t;function r(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&p(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&t.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){let i=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;
7e=t.slideTo(i.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||r()}n.watchOverflow&&i!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${i}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,r=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(n()):(0,a.e)(i,n())[0];return!r&&t.params.createElements&&(r=(0,a.c)("div",t.params.wrapperClass),i.append(r),(0,a.e)(i,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:i,wrapperEl:r,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:r,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===(0,a.q)(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===(0,a.q)(i,"direction")),wrongRTL:"-webkit-box"===(0,a.q)(r,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(e=>{e.complete?p(t,e):e.addEventListener("load",e=>{p(t,e.target)})}),m(t),t.initialized=!0,m(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let i=this,{params:n,el:r,wrapperEl:s,slides:o}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),s&&s.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e&&(i.el&&"string"!=typeof i.el&&(i.el.swiper=null),(0,a.y)(i)),i.destroyed=!0),null}static extendDefaults(e){(0,a.x)(k,e)}static get extendedDefaults(){return k}static get defaults(){return C}static installModule(e){A.prototype.__modules__||(A.prototype.__modules__=[]);let t=A.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>A.installModule(e)):A.installModule(e),A}}Object.keys(O).forEach(e=>{Object.keys(O[e]).forEach(t=>{A.prototype[t]=O[e][t]})}),A.use([function(e){let{swiper:t,on:i,emit:n}=e,r=(0,o.a)(),s=null,a=null,l=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},c=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};i("init",()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(s=new ResizeObserver(e=>{a=r.requestAnimationFrame(()=>{let{width:i,height:n}=t,r=i,s=n;
7e.forEach(e=>{let{contentBoxSize:i,contentRect:n,target:o}=e;o&&o!==t.el||(r=n?n.width:(i[0]||i).inlineSize,s=n?n.height:(i[0]||i).blockSize)}),(r!==i||s!==n)&&l()})})).observe(t.el):(r.addEventListener("resize",l),r.addEventListener("orientationchange",c))}),i("destroy",()=>{a&&r.cancelAnimationFrame(a),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null),r.removeEventListener("resize",l),r.removeEventListener("orientationchange",c)})},function(e){let{swiper:t,extendParams:i,on:n,emit:r}=e,s=[],l=(0,o.a)(),c=function(e,i){void 0===i&&(i={});let n=new(l.MutationObserver||l.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);let i=function(){r("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(i):l.setTimeout(i,0)});n.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:t.isElement||(void 0===i.childList||i).childList,characterData:void 0===i.characterData||i.characterData}),s.push(n)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(t.params.observer){if(t.params.observeParents){let e=(0,a.b)(t.hostEl);for(let t=0;t<e.length;t+=1)c(e[t])}c(t.hostEl,{childList:t.params.observeSlideChildren}),c(t.wrapperEl,{attributes:!1})}}),n("destroy",()=>{s.forEach(e=>{e.disconnect()}),s.splice(0,s.length)})}])}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,loaded:!1,exports:{}};return s[e].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}if(a.m=s,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,i)=>(a.f[i](e,t),t),[])),a.u=e=>"chunks/"+e+".js",a.miniCssF=e=>"chunks/"+e+".css",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="elo-presse:",a.l=(i,n,r,s)=>{if(e[i])return void e[i].push(n);if(void 0!==r)for(var o,l,c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==i||d.getAttribute("data-webpack")==t+r){o=d;break}}o||(l=!0,(o=document.createElement("script")).charset="utf-8",a.nc&&o.setAttribute("nonce",a.nc),o.setAttribute("data-webpack",t+r),o.src=i),e[i]=[n];var h=(t,n)=>{o.onerror=o.onload=null,clearTimeout(p);var r=e[i];if(delete e[i],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(e=>e(n)),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=h.bind(null,o.onerror),o.onload=h.bind(null,o.onload),l&&document.head.appendChild(o)},a.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/themes/custom/front/dist/","u">typeof document){var l={792:0};a.f.miniCss=(e,t)=>{if(l[e])t.push(l[e]);else 0!==l[e]&&({70:1})[e]&&t.push(l[e]=new Promise((t,i)=>{var n,r=a.miniCssF(e),s=a.p+r;if(((e,t)=>{for(var i=document.getElementsByTagName("link"),n=0;n<i.length;n++){var r=i[n],s=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(s===e||s===t))return r}for(var o=document.getElementsByTagName("style"),n=0;n<o.length;n++){var r=o[n],s=r.getAttribute("data-href");if(s===e||s===t)return r}})(r,s))return t();(n=document.createElement("link")).rel="stylesheet",n.type="text/css",a.nc&&(n.nonce=a.nc),n.onerror=n.onload=r=>{if(n.onerror=n.onload=null,"load"===r.type)t();else{var o=r&&r.type,a=r&&r.target&&r.target.href||s,l=Error("Loading CSS chunk "+e+` failed. 8(`+o+": "+a+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=o,l.request=a,n.parentNode&&n.parentNode.removeChild(n),i(l)}},n.href=s,document.head.appendChild(n)}).then(()=>{l[e]=0},t=>{throw delete l[e],t}))}}i={792:0},a.f.j=(e,t)=>{var n=a.o(i,e)?i[e]:void 0;if(0!==n)if(n)t.push(n[2]);else{var r=new Promise((t,r)=>n=i[e]=[t,r]);t.push(n[2]=r);var s=a.p+a.u(e),o=Error();a.l(s,t=>{if(a.o(i,e)&&(0!==(n=i[e])&&(i[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),s=t&&t.target&&t.target.src;o.message="Loading chunk "+e+` failed. 9(`+r+": "+s+")",o.name="ChunkLoadError",o.type=r,o.request=s,n[1](o)}},"chunk-"+e,e)}},n=(e,t)=>{var n,r,[s,o,l]=t,c=0;if(s.some(e=>0!==i[e])){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);l&&l(a)}for(e&&e(t);c<s.length;c++)r=s[c],a.o(i,r)&&i[r]&&i[r][0](),i[r]=0},(r=self.webpackChunkelo_presse=self.webpackChunkelo_presse||[]).forEac
9h(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r)),(()=>{"use strict";let e,t,i,n,r;var s,o,l,c,u,d,h,p=!1,f=!1,m=[],v=-1,g=!1;function _(e){let t=m.indexOf(e);-1!==t&&t>v&&m.splice(t,1)}function y(){f||p||g||(p=!0,queueMicrotask(b))}function b(){p=!1,f=!0;for(let e=0;e<m.length;e++)m[e](),v=e;m.length=0,v=-1,f=!1}var w=!0;function x(e,t){let i,n=!0,r=l(()=>{let r=e();if(JSON.stringify(r),!n&&("object"==typeof r||r!==i)){let e=i;queueMicrotask(()=>{t(r,e)})}i=r,n=!1});return()=>c(r)}async function E(e){g=!0;try{await e(),await Promise.resolve()}finally{g=!1,y()}}var S=[],T=[],M=[];function P(e,t){"function"==typeof t?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,T.push(t))}function C(e){S.push(e)}function O(e,t,i){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(i)}function k(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([i,n])=>{(void 0===t||t.includes(i))&&(n.forEach(e=>e()),delete e._x_attributeCleanups[i])})}var A=new MutationObserver($),z=!1;function I(){A.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),z=!0}function D(){let e,t;e=A.takeRecords(),B.push(()=>e.length>0&&$(e)),t=B.length,queueMicrotask(()=>{if(B.length===t)for(;B.length>0;)B.shift()()}),A.disconnect(),z=!1}var B=[];function j(e){if(!z)return e();D();let t=e();return I(),t}var N=!1,R=[];function $(e){if(N){R=R.concat(e);return}let t=[],i=new Set,n=new Map,r=new Map;for(let s=0;s<e.length;s++)if(!e[s].target._x_ignoreMutationObserver&&("childList"===e[s].type&&(e[s].removedNodes.forEach(e=>{1!==e.nodeType||e._x_marker&&i.add(e)}),e[s].addedNodes.forEach(e=>{1!==e.nodeType||(i.has(e)?i.delete(e):e._x_marker||t.push(e))})),"attributes"===e[s].type)){let t=e[s].target,i=e[s].attributeName,o=e[s].oldValue,a=()=>{n.has(t)||n.set(t,[]),n.get(t).push({name:i,value:t.getAttribute(i)})},l=()=>{r.has(t)||r.set(t,[]),r.get(t).push(i)};t.hasAttribute(i)&&null===o?a():t.hasAttribute(i)?(l(),a()):l()}for(let e of(r.forEach((e,t)=>{k(t,e)}),n.forEach((e,t)=>{S.forEach(i=>i(t,e))}),i))t.some(t=>t.contains(e))||T.forEach(t=>t(e));for(let e of t)e.isConnected&&M.forEach(t=>t(e));t=null,i=null,n=null,r=null}function Z(e){return W(H(e))}function F(e,t,i){return e._x_dataStack=[t,...H(i||e)],()=>{e._x_dataStack=e._x_dataStack.filter(e=>e!==t)}}function H(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?H(e.host):e.parentNode?H(e.parentNode):[]}function W(e){return new Proxy({objects:e},q)}var q={ownKeys:({objects:e})=>Array.from(new Set(e.flatMap(e=>Object.keys(e)))),has:({objects:e},t)=>t!=Symbol.unscopables&&e.some(e=>Object.prototype.hasOwnProperty.call(e,t)||Reflect.has(e,t)),get:({objects:e},t,i)=>"toJSON"==t?G:Reflect.get(e.find(e=>Reflect.has(e,t))||{},t,i),set({objects:e},t,i,n){let r=e.find(e=>Object.prototype.hasOwnProperty.call(e,t))||e[e.length-1],s=Object.getOwnPropertyDescriptor(r,t);return s?.set&&s?.get?s.set.call(n,i)||!0:Reflect.set(r,t,i)}};function G(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function V(e){let t=(i,n="")=>{Object.entries(Object.getOwnPropertyDescriptors(i)).forEach(([r,{value:s,enumerable:o}])=>{if(!1===o||void 0===s||"object"==typeof s&&null!==s&&s.__v_skip)return;let a=""===n?r:`${n}.${r}`;if("object"==typeof s&&null!==s&&s._x_interceptor)i[r]=s.initialize(e,a,r);else"object"!=typeof s||Array.isArray(s)||null===s||s===i||s instanceof Element||t(s,a)})};return t(e)}function Y(e,t=()=>{}){let i={initialValue:void 0,_x_interceptor:!0,initialize(t,i,n){return e(this.initialValue,()=>{var e;return e=t,i.split(".").reduce((e,t)=>e[t],e)},e=>(function e(t,i,n){if("string"==typeof i&&(i=i.split(".")),1===i.length)t[i[0]]=n;else if(0!==i.length)return t[i[0]]||(t[i[0]]={}),e(t[i[0]],i.slice(1),n);else throw error})(t,i,e),i,n)}};return t(i),e=>{if("object"==typeof e&&null!==e&&e._x_interceptor){let t=i.initialize.bind(i);i.initialize=(n,r,s)=>(i.initialValue=e.initialize(n,r,s),t(n,r,s))}else i.initialValue=e;return i}}var X={};function U(e,t){let i=function(e){let[t,i]=eg(e),n={interceptor:Y,...t};return P(e,i),n}(t);
9return Object.entries(X).forEach(([n,r])=>{Object.defineProperty(e,`$${n}`,{get:()=>r(t,i),enumerable:!1})}),e}function K(e,t,i,...n){try{return i(...n)}catch(i){J(i,e,t)}}function J(...e){return Q(...e)}var Q=function(e,t,i){e=Object.assign(e??{message:"No error message given."},{el:t,expression:i}),console.warn(`Alpine Expression Error: ${e.message} 10 11${i?'Expression: "'+i+`" 12 13`:""}`,t),setTimeout(()=>{throw e},0)},ee=!0;function et(e){let t=ee;ee=!1;let i=e();return ee=t,i}function ei(e,t,i={}){let n;return en(e,t)(e=>n=e,i),n}function en(...e){return er(...e)}var er=es;function es(e,t){var i,n,r,s,o;let a,l={};U(l,e);let c=[l,...H(e)],u="function"==typeof t?(i=c,n=t,(e=()=>{},{scope:t={},params:r=[],context:s}={})=>{ee?ea(e,n.apply(W([t,...i]),r)):ea(e,n,W([t,...i]),r)}):(r=c,a=function(e,t){if(eo[e])return eo[e];let i=Object.getPrototypeOf(async function(){}).constructor,n=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,r=(()=>{try{let t=new i(["__self","scope"],`with (scope) { __self.result = ${n} }; __self.finished = true; return __self.result;`);return Object.defineProperty(t,"name",{value:`[Alpine] ${e}`}),t}catch(i){return J(i,t,e),Promise.resolve()}})();return eo[e]=r,r}(s=t,o=e),(e=()=>{},{scope:t={},params:i=[],context:n}={})=>{a.result=void 0,a.finished=!1;let l=W([t,...r]);if("function"==typeof a){let t=a.call(n,a,l).catch(e=>J(e,o,s));a.finished?(ea(e,a.result,l,i,o),a.result=void 0):t.then(t=>{ea(e,t,l,i,o)}).catch(e=>J(e,o,s)).finally(()=>a.result=void 0)}});return K.bind(null,e,t,u)}var eo={};function ea(e,t,i,n,r){if(ee&&"function"==typeof t){let s=t.apply(i,n);s instanceof Promise?s.then(t=>ea(e,t,i,n)).catch(e=>J(e,r,t)):e(s)}else"object"==typeof t&&t instanceof Promise?t.then(t=>e(t)):e(t)}var el="x-";function ec(e=""){return el+e}var eu={};function ed(e,t){return eu[e]=t,{before(t){if(!eu[t])return void console.warn(String.raw`Cannot find directive \`${t}\`. \`${e}\` will use the default order of execution`);let i=eT.indexOf(t);eT.splice(i>=0?i:eT.indexOf("DEFAULT"),0,e)}}}function eh(e,t,i){var n,r;if(t=Array.from(t),e._x_virtualDirectives){let i=Object.entries(e._x_virtualDirectives).map(([e,t])=>({name:e,value:t})),n=ep(i);i=i.map(e=>n.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),t=t.concat(i)}let s={};return t.map(ey((e,t)=>s[e]=t)).filter(ex).map((n=s,r=i,({name:e,value:t})=>{e===t&&(t="");let i=e.match(eE()),s=e.match(/:([a-zA-Z0-9\-_:]+)/),o=e.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=r||n[e]||e;return{type:i?i[1]:null,value:s?s[1]:null,modifiers:o.map(e=>e.replace(".","")),expression:t,original:a}})).sort(eL).map(t=>(function(e,t){let i=eu[t.type]||(()=>{}),[n,r]=eg(e);O(e,t.original,r);let s=()=>{e._x_ignore||e._x_ignoreSelf||(i.inline&&i.inline(e,t,n),i=i.bind(i,e,t,n),ef?em.get(ev).push(i):i())};return s.runCleanups=r,s})(e,t))}function ep(e){return Array.from(e).map(ey()).filter(e=>!ex(e))}var ef=!1,em=new Map,ev=Symbol();function eg(e){let t,i=[],[n,r]=(t=()=>{},[i=>{let n=l(i);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(e=>e())}),e._x_effects.add(n),t=()=>{void 0!==n&&(e._x_effects.delete(n),c(n))},n},()=>{t()}]);return i.push(r),[{Alpine:th,effect:n,cleanup:e=>i.push(e),evaluateLater:en.bind(en,e),evaluate:ei.bind(ei,e)},()=>i.forEach(e=>e())]}var e_=(e,t)=>({name:i,value:n})=>(i.startsWith(e)&&(i=i.replace(e,t)),{name:i,value:n});function ey(e=()=>{}){return({name:t,value:i})=>{let{name:n,value:r}=eb.reduce((e,t)=>t(e),{name:t,value:i});return n!==t&&e(n,t),{name:n,value:r}}}var eb=[];function ew(e){eb.push(e)}function ex({name:e}){return eE().test(e)}var eE=()=>RegExp(`^${el}([^:^.]+)\\b`),eS="DEFAULT",eT=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",eS,"teleport"];function eL(e,t){let i=-1===eT.indexOf(e.type)?eS:e.type,n=-1===eT.indexOf(t.type)?eS:t.type;return eT.indexOf(i)-eT.indexOf(n)}function eM(e,t,i={}){e.dispatchEvent(new CustomEvent(t,{detail:i,bubbles:!0,composed:!0,cancelable:!0}))}function eP(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEac
13h(e=>eP(e,t));let i=!1;if(t(e,()=>i=!0),i)return;let n=e.firstElementChild;for(;n;)eP(n,t,!1),n=n.nextElementSibling}function eC(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var eO=!1,ek=[],eA=[];function ez(){return ek.map(e=>e())}function eI(){return ek.concat(eA).map(e=>e())}function eD(e){ek.push(e)}function eB(e){eA.push(e)}function ej(e,t=!1){return eN(e,e=>{if((t?eI():ez()).some(t=>e.matches(t)))return!0})}function eN(e,t){return e?t(e)?e:(e._x_teleportBack&&(e=e._x_teleportBack),e.parentNode instanceof ShadowRoot)?eN(e.parentNode.host,t):e.parentElement?eN(e.parentElement,t):void 0:void 0}var eR=[],e$=1;function eZ(e,t=eP,i=()=>{}){if(!eN(e,e=>e._x_ignore)){let n,r;ef=!0,ev=n=Symbol(),em.set(n,[]),(()=>{t(e,(e,t)=>{!e._x_marker&&(i(e,t),eR.forEach(i=>i(e,t)),eh(e,e.attributes).forEach(e=>e()),e._x_ignore||(e._x_marker=e$++),e._x_ignore&&t())})})(r=()=>{for(;em.get(n).length;)em.get(n).shift()();em.delete(n)}),ef=!1,r()}}function eF(e,t=eP){t(e,e=>{for(e._x_effects?.forEach(_);e._x_cleanups?.length;)e._x_cleanups.pop()();k(e),delete e._x_marker})}var eH=[],eW=!1;function eq(e=()=>{}){return queueMicrotask(()=>{eW||setTimeout(()=>{eG()})}),new Promise(t=>{eH.push(()=>{e(),t()})})}function eG(){for(eW=!1;eH.length;)eH.shift()()}function eV(e,t){if(Array.isArray(t))return eY(e,t.join(" "));if("object"==typeof t&&null!==t){var i,n;let r,s,o,a,l;return i=e,n=t,r=e=>e.split(" ").filter(Boolean),s=Object.entries(n).flatMap(([e,t])=>!!t&&r(e)).filter(Boolean),o=Object.entries(n).flatMap(([e,t])=>!t&&r(e)).filter(Boolean),a=[],l=[],o.forEach(e=>{i.classList.contains(e)&&(i.classList.remove(e),l.push(e))}),s.forEach(e=>{i.classList.contains(e)||(i.classList.add(e),a.push(e))}),()=>{l.forEach(e=>i.classList.add(e)),a.forEach(e=>i.classList.remove(e))}}return"function"==typeof t?eV(e,t()):eY(e,t)}function eY(e,t){var i;return i=(t=!0===t?t="":t||"").split(" ").filter(t=>!e.classList.contains(t)).filter(Boolean),e.classList.add(...i),()=>{e.classList.remove(...i)}}function eX(e,t){var i,n,r;let s,o;return"object"==typeof t&&null!==t?(i=e,s={},Object.entries(t).forEach(([e,t])=>{s[e]=i.style[e],e.startsWith("--")||(e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),i.style.setProperty(e,t)}),setTimeout(()=>{0===i.style.length&&i.removeAttribute("style")}),()=>{eX(i,s)}):(n=e,r=t,o=n.getAttribute("style",r),n.setAttribute("style",r),()=>{n.setAttribute("style",o||"")})}function eU(e,t=()=>{}){let i=!1;return function(){i?t.apply(this,arguments):(i=!0,e.apply(this,arguments))}}function eK(e,t,i={}){e._x_transition||(e._x_transition={enter:{during:i,start:i,end:i},leave:{during:i,start:i,end:i},in(i=()=>{},n=()=>{}){eJ(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},i,n)},out(i=()=>{},n=()=>{}){eJ(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},i,n)}})}function eJ(e,t,{during:i,start:n,end:r}={},s=()=>{},o=()=>{}){var a,l;
13let c,u,d,h,p,f,m;if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(i).length&&0===Object.keys(n).length&&0===Object.keys(r).length){s(),o();return}a=e,l={start(){c=t(e,n)},during(){u=t(e,i)},before:s,end(){c(),d=t(e,r)},after:o,cleanup(){u(),d()}},m=eU(()=>{j(()=>{h=!0,p||l.before(),f||(l.end(),eG()),l.after(),a.isConnected&&l.cleanup(),delete a._x_transitioning})}),a._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:eU(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();m()}),finish:m},j(()=>{l.start(),l.during()}),eW=!0,requestAnimationFrame(()=>{if(h)return;let e=1e3*Number(getComputedStyle(a).transitionDuration.replace(/,.*/,"").replace("s","")),t=1e3*Number(getComputedStyle(a).transitionDelay.replace(/,.*/,"").replace("s",""));0===e&&(e=1e3*Number(getComputedStyle(a).animationDuration.replace("s",""))),j(()=>{l.before()}),p=!0,requestAnimationFrame(()=>{h||(j(()=>{l.end()}),eG(),setTimeout(a._x_transitioning.finish,e+t),f=!0)})})}function eQ(e,t,i){if(-1===e.indexOf(t))return i;let n=e[e.indexOf(t)+1];if(!n||"scale"===t&&isNaN(n))return i;if("duration"===t||"delay"===t){let e=n.match(/([0-9]+)ms/);if(e)return e[1]}return"origin"===t&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[n,e[e.indexOf(t)+2]].join(" "):n}ed("transition",(e,{value:t,modifiers:i,expression:n},{evaluate:r})=>{var s,o,a,l,c,u;let d,h,p,f,m,v,g,_,y,b,w,x,E,S;"function"==typeof n&&(n=r(n)),!1!==n&&(n&&"boolean"!=typeof n?(s=e,o=n,a=t,eK(s,eV,""),({enter:e=>{s._x_transition.enter.during=e},"enter-start":e=>{s._x_transition.enter.start=e},"enter-end":e=>{s._x_transition.enter.end=e},leave:e=>{s._x_transition.leave.during=e},"leave-start":e=>{s._x_transition.leave.start=e},"leave-end":e=>{s._x_transition.leave.end=e}})[a](o)):(l=e,c=i,u=t,eK(l,eX),h=(d=!c.includes("in")&&!c.includes("out")&&!u)||c.includes("in")||["enter"].includes(u),p=d||c.includes("out")||["leave"].includes(u),c.includes("in")&&!d&&(c=c.filter((e,t)=>t<c.indexOf("out"))),c.includes("out")&&!d&&(c=c.filter((e,t)=>t>c.indexOf("out"))),m=(f=!c.includes("opacity")&&!c.includes("scale"))||c.includes("opacity"),v=f||c.includes("scale"),g=+!m,_=v?eQ(c,"scale",95)/100:1,y=eQ(c,"delay",0)/1e3,b=eQ(c,"origin","center"),w="opacity, transform",x=eQ(c,"duration",150)/1e3,E=eQ(c,"duration",75)/1e3,S="cubic-bezier(0.4, 0.0, 0.2, 1)",h&&(l._x_transition.enter.during={transformOrigin:b,transitionDelay:`${y}s`,transitionProperty:w,transitionDuration:`${x}s`,transitionTimingFunction:S},l._x_transition.enter.start={opacity:g,transform:`scale(${_})`},l._x_transition.enter.end={opacity:1,transform:"scale(1)"}),p&&(l._x_transition.leave.during={transformOrigin:b,transitionDelay:`${y}s`,transitionProperty:w,transitionDuration:`${E}s`,transitionTimingFunction:S},l._x_transition.leave.start={opacity:1,transform:"scale(1)"},l._x_transition.leave.end={opacity:g,transform:`scale(${_})`})))}),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,i,n){let r="visible"===document.visibilityState?requestAnimationFrame:setTimeout;t?e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(i):r(i):e._x_transition?e._x_transition.in(i):r(i):(e._x_hidePromise=e._x_transition?new Promise((t,i)=>{e._x_transition.out(()=>{},()=>t(n)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>i({isFromCancelledTransition:!0}))}):Promise.resolve(n),queueMicrotask(()=>{let t=function e(t){let i=t.parentNode;if(i)return i._x_hidePromise?i:e(i)}(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):r(()=>{let t=e=>{let i=Promise.all([e._x_hidePromise,...(e._x_hideChildren||[]).map(t)]).then(([e])=>e?.());return delete e._x_hidePromise,delete e._x_hideChildren,i};t(e).catch(e=>{if(!e.isFromCancelledTransition)throw e})})}))};var e0=!1;function e1(e,t=()=>{}){return(...i)=>
13e0?t(...i):e(...i)}var e2=[];function e3(e){e2.push(e)}var e8=!1;function e5(e){let t=l;l=(e,i)=>{let n=t(e);return c(n),()=>{}},e(),l=t}function e4(e,t,i,n=[]){var r,s,a,l,c,u,d,h,p,f;switch(!e._x_bindings&&(e._x_bindings=o({})),e._x_bindings[t]=i,t=n.includes("camel")?t.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase()):t){case"value":!function(e,t){if(ti(e))void 0===e.attributes.value&&(e.value=t),window.fromModel&&("boolean"==typeof t?e.checked=e9(e.value)===t:e.checked=function(e,t){return e==t}(e.value,t));else if(tt(e))Number.isInteger(t)?e.value=t:Array.isArray(t)||"boolean"==typeof t||[null,void 0].includes(t)?Array.isArray(t)?e.checked=t.some(t=>(function(e,t){return e==t})(t,e.value)):e.checked=!!t:e.value=String(t);else if("SELECT"===e.tagName){var i;let n;i=e,n=[].concat(t).map(e=>e+""),Array.from(i.options).forEach(e=>{e.selected=n.includes(e.value)})}else{if(e.value===t)return;e.value=void 0===t?"":t}}(e,i);break;case"style":r=e,s=i,r._x_undoAddedStyles&&r._x_undoAddedStyles(),r._x_undoAddedStyles=eX(r,s);break;case"class":a=e,l=i,a._x_undoAddedClasses&&a._x_undoAddedClasses(),a._x_undoAddedClasses=eV(a,l);break;case"selected":case"checked":e6(c=e,u=t,d=i),h=c,p=u,f=d,h[p]!==f&&(h[p]=f);break;default:e6(e,t,i)}}function e6(e,t,i){var n,r,s,o;[null,void 0,!1].includes(i)&&!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(t)?e.removeAttribute(t):(n=t,e7.has(n)&&(i=t),r=e,s=t,o=i,r.getAttribute(s)!=o&&r.setAttribute(s,o))}function e9(e){return!![1,"1","true","on","yes",!0].includes(e)||![0,"0","false","off","no",!1].includes(e)&&(e?!!e:null)}var e7=new Set(["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","shadowrootclonable","shadowrootdelegatesfocus","shadowrootserializable"]);function te(e,t,i){let n=e.getAttribute(t);return null===n?"function"==typeof i?i():i:""===n||(e7.has(t)?!![t,"true"].includes(n):n)}function tt(e){return"checkbox"===e.type||"ui-checkbox"===e.localName||"ui-switch"===e.localName}function ti(e){return"radio"===e.type||"ui-radio"===e.localName}function tn(e,t){let i;return function(){let n=this,r=arguments;clearTimeout(i),i=setTimeout(function(){i=null,e.apply(n,r)},t)}}function tr(e,t){let i;return function(){let n=arguments;i||(e.apply(this,n),i=!0,setTimeout(()=>i=!1,t))}}function ts({get:e,set:t},{get:i,set:n}){let r,s=!0,o=l(()=>{let o=e(),a=i();if(s)n(to(o)),s=!1;else{let e=JSON.stringify(o),i=JSON.stringify(a);e!==r?n(to(o)):e!==i&&t(to(a))}r=JSON.stringify(e()),JSON.stringify(i())});return()=>{c(o)}}function to(e){return"object"==typeof e?JSON.parse(JSON.stringify(e)):e}var ta={},tl=!1,tc={};function tu(e,t,i){let n=[];for(;n.length;)n.pop()();let r=Object.entries(t).map(([e,t])=>({name:e,value:t})),s=ep(r);return eh(e,r=r.map(e=>s.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),i).map(e=>{n.push(e.runCleanups),e()}),()=>{for(;n.length;)n.pop()()}}var td={},th={get reactive(){return o},get release(){return c},get effect(){return l},get raw(){return u},get transaction(){return E},version:"3.15.8",flushAndStopDeferringMutations:function(){N=!1,$(R),R=[]},dontAutoEvaluateFunctions:et,disableEffectScheduling:function(e){w=!1,e(),w=!0},startObservingMutations:I,stopObservingMutations:D,setReactivityEngine:function(e){o=e.reactive,c=e.release,l=t=>e.effect(t,{scheduler:e=>{w?(m.includes(e)||m.push(e),y()):e()}}),u=e.raw},onAttributeRemoved:O,onAttributesAdded:C,closestDataStack:H,skipDuringClone:e1,onlyDuringClone:function(e){return(...t)=>e0&&e(...t)},addRootSelector:eD,addInitSelector:eB,setErrorHandler:function(e){Q=e},interceptClone:e3,addScopeToNode:F,deferMutations:function(){N=!0},mapAttributes:ew,evaluateLater:en,interceptInit:function(e){eR.push(e)},initInterceptors:V,injectMagics:U,setEvaluator:function(e){er=e},setRawEvaluator:function(e){d=e},mergeProxies:W,extractProp:function(e,t,i,n=!0){if(e._x_bindings&&void 0!==e._x_bindings[t])return e._x_bindings[t];if(e._x_inlineBindings&&void 0!==e._x_inlineBindings[t]){let i=e._x_inlineBindings[t];return i.extract=n,et(()=>ei(e,i.expression))}return te(e,t,i)},findClosest:eN,onElRemoved:P,closestRoot:ej,destroyTree:eF,interceptor:Y,transition:eJ,setStyles:eX,mutateDom:j,directive:ed,entangle:ts,throttle:tr,debounce:tn,evaluate:ei,evaluateRaw:function(...e){return d(...e)}
13,initTree:eZ,nextTick:eq,prefixed:ec,prefix:function(e){el=e},plugin:function(e){(Array.isArray(e)?e:[e]).forEach(e=>e(th))},magic:function(e,t){X[e]=t},store:function(e,t){if(tl||(ta=o(ta),tl=!0),void 0===t)return ta[e];ta[e]=t,V(ta[e]),"object"==typeof t&&null!==t&&t.hasOwnProperty("init")&&"function"==typeof t.init&&ta[e].init()},start:function(){eO&&eC("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),eO=!0,document.body||eC("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),eM(document,"alpine:init"),eM(document,"alpine:initializing"),I(),M.push(e=>eZ(e,eP)),P(e=>eF(e)),C((e,t)=>{eh(e,t).forEach(e=>e())}),Array.from(document.querySelectorAll(eI().join(","))).filter(e=>!ej(e.parentElement,!0)).forEach(e=>{eZ(e)}),eM(document,"alpine:initialized"),setTimeout(()=>{[["ui","dialog",["[x-dialog], [x-popover]"]],["anchor","anchor",["[x-anchor]"]],["sort","sort",["[x-sort]"]]].forEach(([e,t,i])=>{Object.keys(eu).includes(t)||i.some(t=>{if(document.querySelector(t))return eC(`found "${t}", but missing ${e} plugin`),!0})})})},clone:function(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),e0=!0,e8=!0,e5(()=>{let e;e=!1,eZ(t,(t,i)=>{eP(t,(t,n)=>{if(e&&ez().some(e=>t.matches(e)))return n();e=!0,i(t,n)})})}),e0=!1,e8=!1},cloneNode:function(e,t){e2.forEach(i=>i(e,t)),e0=!0,e5(()=>{eZ(t,(e,t)=>{t(e,()=>{})})}),e0=!1},bound:function(e,t,i){return e._x_bindings&&void 0!==e._x_bindings[t]?e._x_bindings[t]:te(e,t,i)},$data:Z,watch:x,walk:eP,data:function(e,t){td[e]=t},bind:function(e,t){let i="function"!=typeof t?()=>t:t;return e instanceof Element?tu(e,i()):(tc[e]=i,()=>{})}},tp=Object.freeze({});Object.freeze([]);var tf=Object.prototype.hasOwnProperty,tm=Array.isArray,tv=e=>"symbol"==typeof e,tg=e=>null!==e&&"object"==typeof e,t_=Object.prototype.toString,ty=e=>{let t;return(t=e,t_.call(t)).slice(8,-1)},tb=e=>"string"==typeof e&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,tw=e=>{let t=Object.create(null);return i=>t[i]||(t[i]=e(i))},tx=/-(\w)/g;tw(e=>e.replace(tx,(e,t)=>t?t.toUpperCase():""));var tE=/\B([A-Z])/g;tw(e=>e.replace(tE,"-$1").toLowerCase());var tS=tw(e=>e.charAt(0).toUpperCase()+e.slice(1));tw(e=>e?`on${tS(e)}`:"");var tT=(e,t)=>e!==t&&(e==e||t==t),tL=new WeakMap,tM=[],tP=Symbol("iterate"),tC=Symbol("Map key iterate"),tO=0;function tk(e){let{deps:t}=e;if(t.length){for(let i=0;i<t.length;i++)t[i].delete(e);t.length=0}}var tA=!0,tz=[];function tI(){let e=tz.pop();tA=void 0===e||e}function tD(e,t,i){if(!tA||void 0===h)return;let n=tL.get(e);n||tL.set(e,n=new Map);let r=n.get(i);
13r||n.set(i,r=new Set),!r.has(h)&&(r.add(h),h.deps.push(r),h.options.onTrack&&h.options.onTrack({effect:h,target:e,type:t,key:i}))}function tB(e,t,i,n,r,s){let o=tL.get(e);if(!o)return;let a=new Set,l=e=>{e&&e.forEach(e=>{(e!==h||e.allowRecurse)&&a.add(e)})};if("clear"===t)o.forEach(l);else if("length"===i&&tm(e))o.forEach((e,t)=>{("length"===t||t>=n)&&l(e)});else switch(void 0!==i&&l(o.get(i)),t){case"add":if(tm(e))tb(i)&&l(o.get("length"));else{let t;l(o.get(tP));"[object Map]"===(t=e,t_.call(t))&&l(o.get(tC))}break;case"delete":if(!tm(e)){let t;l(o.get(tP));"[object Map]"===(t=e,t_.call(t))&&l(o.get(tC))}break;case"set":let c;"[object Map]"===(c=e,t_.call(c))&&l(o.get(tP))}a.forEach(o=>{o.options.onTrigger&&o.options.onTrigger({effect:o,target:e,key:i,type:t,newValue:n,oldValue:r,oldTarget:s}),o.options.scheduler?o.options.scheduler(o):o()})}var tj=function(e){let t=Object.create(null),i=e.split(",");for(let e=0;e<i.length;e++)t[i[e]]=!0;return e=>!!t[e]}("__proto__,__v_isRef,__isVue"),tN=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(tv)),tR=tF(),t$=tF(!0),tZ=(r={},["includes","indexOf","lastIndexOf"].forEach(e=>{r[e]=function(...t){let i=iu(this);for(let e=0,t=this.length;e<t;e++)tD(i,"get",e+"");let n=i[e](...t);return -1===n||!1===n?i[e](...t.map(iu)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{r[e]=function(...t){tz.push(tA),tA=!1;let i=iu(this)[e].apply(this,t);return tI(),i}}),r);function tF(e=!1,t=!1){return function(i,n,r){if("__v_isReactive"===n)return!e;if("__v_isReadonly"===n)return e;if("__v_raw"===n&&r===(e?t?io:is:t?ir:ii).get(i))return i;let s=tm(i);if(!e&&s&&tf.call(tZ,n))return Reflect.get(tZ,n,r);let o=Reflect.get(i,n,r);return(tv(n)?tN.has(n):tj(n))||(e||tD(i,"get",n),t)?o:id(o)?s&&tb(n)?o:o.value:tg(o)?e?il(o):ia(o):o}}var tH={get:tR,set:function(e=!1){return function(t,i,n,r){let s=t[i];if(!e&&(n=iu(n),s=iu(s),!tm(t)&&id(s)&&!id(n)))return s.value=n,!0;let o=tm(t)&&tb(i)?Number(i)<t.length:tf.call(t,i),a=Reflect.set(t,i,n,r);return t===iu(r)&&(o?tT(n,s)&&tB(t,"set",i,n,s):tB(t,"add",i,n)),a}}(),deleteProperty:function(e,t){let i=tf.call(e,t),n=e[t],r=Reflect.deleteProperty(e,t);return r&&i&&tB(e,"delete",t,void 0,n),r},has:function(e,t){let i=Reflect.has(e,t);return tv(t)&&tN.has(t)||tD(e,"has",t),i},ownKeys:function(e){return tD(e,"iterate",tm(e)?"length":tP),Reflect.ownKeys(e)}},tW={get:t$,set:(e,t)=>(console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>(console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},tq=e=>tg(e)?ia(e):e,tG=e=>tg(e)?il(e):e,tV=e=>e;function tY(e,t,i=!1,n=!1){let r=iu(e=e.__v_raw),s=iu(t);t!==s&&(i||tD(r,"get",t)),i||tD(r,"get",s);let{has:o}=Reflect.getPrototypeOf(r),a=n?tV:i?tG:tq;return o.call(r,t)?a(e.get(t)):o.call(r,s)?a(e.get(s)):void(e!==r&&e.get(t))}function tX(e,t=!1){let i=this.__v_raw,n=iu(i),r=iu(e);return e!==r&&(t||tD(n,"has",e)),t||tD(n,"has",r),e===r?i.has(e):i.has(e)||i.has(r)}function tU(e,t=!1){return e=e.__v_raw,t||tD(iu(e),"iterate",tP),Reflect.get(e,"size",e)}function tK(e){e=iu(e);let t=iu(this);return Reflect.getPrototypeOf(t).has.call(t,e)||(t.add(e),tB(t,"add",e,e)),this}function tJ(e,t){t=iu(t);let i=iu(this),{has:n,get:r}=Reflect.getPrototypeOf(i),s=n.call(i,e);s?it(i,n,e):(e=iu(e),s=n.call(i,e));let o=r.call(i,e);return i.set(e,t),s?tT(t,o)&&tB(i,"set",e,t,o):tB(i,"add",e,t),this}function tQ(e){let t=iu(this),{has:i,get:n}=Reflect.getPrototypeOf(t),r=i.call(t,e);r?it(t,i,e):(e=iu(e),r=i.call(t,e));let s=n?n.call(t,e):void 0,o=t.delete(e);return r&&tB(t,"delete",e,void 0,s),o}function t0(){let e,t=iu(this),i=0!==t.size,n="[object Map]"===(e=t,t_.call(e))?new Map(t):new Set(t),r=t.clear();return i&&tB(t,"clear",void 0,void 0,n),r}function t1(e,t){return function(i,n){let r=this,s=r.__v_raw,o=iu(s),a=t?tV:e?tG:tq;return e||tD(o,"iterate",tP),s.forEach((e,t)=>i.call(n,a(e),a(t),r))}}function t2(e,t,i){return function(...n){let r,s=this.__v_raw,o=iu(s),a="[object Map]"===(r=o,t_.call(r)),l="entries"===e||e===Symbol.iterator&&a,c=s[e](...n),u=i?tV:t?tG:tq;return t||tD(o,"iterate","keys"===e&&a?tC:tP),{next(){let{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function t3(e){return function(...t){{let i=t[0]?`on key "${t[0]}" `:"";console.warn(`${tS(e)} operation ${i}failed: target is readonly.`,iu(this))}return"delete"!==e&&this}}var[t8,t5,t4,t6]=(e={get(e){return tY(this,e)},get size(){return tU(this)}
13,has:tX,add:tK,set:tJ,delete:tQ,clear:t0,forEach:t1(!1,!1)},t={get(e){return tY(this,e,!1,!0)},get size(){return tU(this)},has:tX,add:tK,set:tJ,delete:tQ,clear:t0,forEach:t1(!1,!0)},i={get(e){return tY(this,e,!0)},get size(){return tU(this,!0)},has(e){return tX.call(this,e,!0)},add:t3("add"),set:t3("set"),delete:t3("delete"),clear:t3("clear"),forEach:t1(!0,!1)},n={get(e){return tY(this,e,!0,!0)},get size(){return tU(this,!0)},has(e){return tX.call(this,e,!0)},add:t3("add"),set:t3("set"),delete:t3("delete"),clear:t3("clear"),forEach:t1(!0,!0)},["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=t2(r,!1,!1),i[r]=t2(r,!0,!1),t[r]=t2(r,!1,!0),n[r]=t2(r,!0,!0)}),[e,i,t,n]);function t9(e,t){let i=t?e?t6:t4:e?t5:t8;return(t,n,r)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(tf.call(i,n)&&n in t?i:t,n,r)}var t7={get:t9(!1,!1)},ie={get:t9(!0,!1)};function it(e,t,i){let n=iu(i);if(n!==i&&t.call(e,n)){let t=ty(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var ii=new WeakMap,ir=new WeakMap,is=new WeakMap,io=new WeakMap;function ia(e){return e&&e.__v_isReadonly?e:ic(e,!1,tH,t7,ii)}function il(e){return ic(e,!0,tW,ie,is)}function ic(e,t,i,n,r){if(!tg(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;let s=r.get(e);if(s)return s;let o=e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(ty(e));if(0===o)return e;let a=new Proxy(e,2===o?n:i);return r.set(e,a),a}function iu(e){return e&&iu(e.__v_raw)||e}function id(e){return!!(e&&!0===e.__v_isRef)}X.nextTick=()=>eq,X.dispatch=e=>eM.bind(eM,e),X.watch=(e,{evaluateLater:t,cleanup:i})=>(e,n)=>{let r=t(e);i(x(()=>{let e;return r(t=>e=t),e},n))},X.store=function(){return ta},X.data=e=>Z(e),X.root=e=>ej(e),X.refs=e=>{let t;return e._x_refs_proxy||(e._x_refs_proxy=W((t=[],eN(e,e=>{e._x_refs&&t.push(e._x_refs)}),t))),e._x_refs_proxy};var ih={};function ip(e){return ih[e]||(ih[e]=0),++ih[e]}function im(e,t,i){X[t]=n=>eC(`You can't use [$${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${i}`,n)}X.id=(e,{cleanup:t})=>(i,n=null)=>(function(e,t,i,n){if(e._x_id||(e._x_id={}),e._x_id[t])return e._x_id[t];let r=n();return e._x_id[t]=r,i(()=>{delete e._x_id[t]}),r})(e,`${i}${n?`-${n}`:""}`,t,()=>{let t=eN(e,e=>{if(e._x_ids&&e._x_ids[i])return!0}),r=t?t._x_ids[i]:ip(i);return n?`${i}-${r}-${n}`:`${i}-${r}`}),e3((e,t)=>{e._x_id&&(t._x_id=e._x_id)}),X.el=e=>e,im("Focus","focus","focus"),im("Persist","persist","persist"),ed("modelable",(e,{expression:t},{effect:i,evaluateLater:n,cleanup:r})=>{let s=n(t),o=()=>{let e;return s(t=>e=t),e},a=n(`${t} = __placeholder`),l=e=>a(()=>{},{scope:{__placeholder:e}});l(o()),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let t=e._x_model.get,i=e._x_model.set;r(ts({get:()=>t(),set(e){i(e)}},{get:()=>o(),set(e){l(e)}}))})}),ed("teleport",(e,{modifiers:t,expression:i},{cleanup:n})=>{"template"!==e.tagName.toLowerCase()&&eC("x-teleport can only be used on a <template> tag",e);let r=ig(i),s=e.content.cloneNode(!0).firstElementChild;e._x_teleport=s,s._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),s.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(t=>{s.addEventListener(t,t=>{t.stopPropagation(),e.dispatchEvent(new t.constructor(t.type,t))})}),F(s,{},e);let o=(e,t,i)=>{i.includes("prepend")?t.parentNode.insertBefore(e,t):i.includes("append")?t.parentNode.insertBefore(e,t.nextSibling):t.appendChild(e)};j(()=>{o(s,r,t),e1(()=>{eZ(s)})()}),e._x_teleportPutBack=()=>{let n=ig(i);j(()=>{o(e._x_teleport,n,t)})},n(()=>j(()=>{s.remove(),eF(s)}))});var iv=document.createElement("div");function ig(e){let t=e1(()=>document.querySelector(e),()=>iv)();return t||eC(`Cannot find x-teleport element for selector: "${e}"`),t}var i_=()=>{};function iy(e,t,i,n){let r=e,s=e=>n(e),o={},a=(e,t)=>i=>t(e,i);if(i.includes("dot")&&(t=t.replace(/-/g,".")),i.includes("camel")&&(t=t.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())),i.includes("passive")&&(o.passive=!0),i.includes("capture")&&(o.capture=!0),i.includes("window")&&(r=window),i.includes("document")&&(r=document),i.includes("debounce")){let e=i[i.indexOf("debounce")+1]||"invalid-wait",t=ib(e.split("ms")[0])?Number(e.split("ms")[0]):250;s=tn(s,t)}if(i.includes("throttle")){let e=i[i.indexOf("throttle")+1]||"invalid-wait",t=ib(e.split("ms")[0])?Number(e.split("ms")[0]):250;s=tr(s,t)}return i.includes("prevent")&&(s=a(s,(e,t)=>{t.preventDefault(),e(t)}
13)),i.includes("stop")&&(s=a(s,(e,t)=>{t.stopPropagation(),e(t)})),i.includes("once")&&(s=a(s,(e,i)=>{e(i),r.removeEventListener(t,s,o)})),(i.includes("away")||i.includes("outside"))&&(r=document,s=a(s,(t,i)=>{e.contains(i.target)||!1===i.target.isConnected||e.offsetWidth<1&&e.offsetHeight<1||!1!==e._x_isShown&&t(i)})),i.includes("self")&&(s=a(s,(t,i)=>{i.target===e&&t(i)})),"submit"===t&&(s=a(s,(e,t)=>{t.target._x_pendingModelUpdates&&t.target._x_pendingModelUpdates.forEach(e=>e()),e(t)})),(["keydown","keyup"].includes(t)||iw(t))&&(s=a(s,(e,t)=>{!function(e,t){let i=t.filter(e=>!["window","document","prevent","stop","once","capture","self","away","outside","passive","preserve-scroll","blur","change","lazy"].includes(e));if(i.includes("debounce")){let e=i.indexOf("debounce");i.splice(e,ib((i[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(i.includes("throttle")){let e=i.indexOf("throttle");i.splice(e,ib((i[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(0===i.length||1===i.length&&ix(e.key).includes(i[0]))return!1;let n=["ctrl","shift","alt","meta","cmd","super"].filter(e=>i.includes(e));return i=i.filter(e=>!n.includes(e)),!(n.length>0&&n.filter(t=>(("cmd"===t||"super"===t)&&(t="meta"),e[`${t}
13Key`])).length===n.length&&(iw(e.type)||ix(e.key).includes(i[0])))&&!0}(t,i)&&e(t)})),r.addEventListener(t,s,o),()=>{r.removeEventListener(t,s,o)}}function ib(e){return!Array.isArray(e)&&!isNaN(e)}function iw(e){return["contextmenu","click","mouse"].some(t=>e.includes(t))}function ix(e){var t;if(!e)return[];e=[" ","_"].includes(t=e)?t:t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase();let i={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",comma:",",equal:"=",minus:"-",underscore:"_"};return i[e]=e,Object.keys(i).map(t=>{if(i[t]===e)return t}).filter(e=>e)}function iE(e,t,i,n){return j(()=>{if(i instanceof CustomEvent&&void 0!==i.detail)return null!==i.detail&&void 0!==i.detail?i.detail:i.target.value;if(tt(e))if(!Array.isArray(n))return i.target.checked;else{let e=null;return e=t.includes("number")?iS(i.target.value):t.includes("boolean")?e9(i.target.value):i.target.value,i.target.checked?n.includes(e)?n:n.concat([e]):n.filter(t=>t!=e)}if("select"===e.tagName.toLowerCase()&&e.multiple)return t.includes("number")?Array.from(i.target.selectedOptions).map(e=>iS(e.value||e.text)):t.includes("boolean")?Array.from(i.target.selectedOptions).map(e=>e9(e.value||e.text)):Array.from(i.target.selectedOptions).map(e=>e.value||e.text);{let r;return(r=ti(e)?i.target.checked?i.target.value:n:i.target.value,t.includes("number"))?iS(r):t.includes("boolean")?e9(r):t.includes("trim")?r.trim():r}})}function iS(e){var t;let i=e?parseFloat(e):null;return Array.isArray(t=i)||isNaN(t)?e:i}function iT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.get&&"function"==typeof e.set}i_.inline=(e,{modifiers:t},{cleanup:i})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,i(()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})},ed("ignore",i_),ed("effect",e1((e,{expression:t},{effect:i})=>{i(en(e,t))})),ed("model",(e,{modifiers:t,expression:i},{effect:n,cleanup:r})=>{let s,o,a=e;t.includes("parent")&&(a=e.parentNode);let l=en(a,i);s="string"==typeof i?en(a,`${i} = __placeholder`):"function"==typeof i&&"string"==typeof i()?en(a,`${i()} = __placeholder`):()=>{};let c=()=>{let e;return l(t=>e=t),iT(e)?e.get():e},u=e=>{let t;l(e=>t=e),iT(t)?t.set(e):s(()=>{},{scope:{__placeholder:e}})};"string"==typeof i&&"radio"===e.type&&j(()=>{e.hasAttribute("name")||e.setAttribute("name",i)});let d=t.includes("change")||t.includes("lazy"),h=t.includes("blur"),p=t.includes("enter");if(e0)o=()=>{};else if(d||h||p){let i=[],n=i=>u(iE(e,t,i,c()));if(d&&i.push(iy(e,"change",t,n)),h&&(i.push(iy(e,"blur",t,n)),e.form)){let t=()=>n({target:e});e.form._x_pendingModelUpdates||(e.form._x_pendingModelUpdates=[]),e.form._x_pendingModelUpdates.push(t),r(()=>e.form._x_pendingModelUpdates.splice(e.form._x_pendingModelUpdates.indexOf(t),1))}p&&i.push(iy(e,"keydown",t,e=>{"Enter"===e.key&&n(e)})),o=()=>i.forEach(e=>e())}else{let i="select"===e.tagName.toLowerCase()||["checkbox","radio"].includes(e.type)?"change":"input";o=iy(e,i,t,i=>{u(iE(e,t,i,c()))})}if(t.includes("fill")&&([void 0,null,""].includes(c())||tt(e)&&Array.isArray(c())||"select"===e.tagName.toLowerCase()&&e.multiple)&&u(iE(e,t,{target:e},c())),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=o,r(()=>e._x_removeModelListeners.default()),e.form){let i=iy(e.form,"reset",[],i=>{eq(()=>e._x_model&&e._x_model.set(iE(e,t,{target:e},c())))});r(()=>i())}e._x_model={get:()=>c(),set(e){u(e)}},e._x_forceModelUpdate=t=>{void 0===t&&"string"==typeof i&&i.match(/\./)&&(t=""),window.fromModel=!0,j(()=>e4(e,"value",t)),delete window.fromModel},n(()=>{let i=c();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(i)})}),ed("cloak",e=>queueMicrotask(()=>j(()=>e.removeAttribute(ec("cloak"))))),eB(()=>`[${ec("init")}]`),ed("init",e1((e,{expression:t},{evaluate:i})=>"string"==typeof t?!!t.trim()&&i(t,{},!1):i(t,{},!1))),ed("text",(e,{expression:t},{effect:i,evaluateLater:n})=>{let r=n(t);i(()=>{r(t=>{j(()=>{e.textContent=t})})})}),ed("html",(e,{expression:t},{effect:i,evaluateLater:n})=>{let r=n(t);i(()=>{r(t=>{j(()=>{e.innerHTML=t,e._x_ignoreSelf=!0,eZ(e),delete e._x_ignoreSelf})})})}),ew(e_(":",ec("bind:")));var iL=(e,{value:t,modifiers:i,expression:n,original:r},{effect:s,cleanup:o})=>{if(!t){let t={};
13Object.entries(tc).forEach(([e,i])=>{Object.defineProperty(t,e,{get:()=>(...e)=>i(...e)})}),en(e,n)(t=>{tu(e,t,r)},{scope:t});return}if("key"===t)return void(e._x_keyExpression=n);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let a=en(e,n);s(()=>a(r=>{void 0===r&&"string"==typeof n&&n.match(/\./)&&(r=""),j(()=>e4(e,t,r,i))})),o(()=>{e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedStyles&&e._x_undoAddedStyles()})};function iM(e,t,i,n){let r={};return/^\[.*\]$/.test(e.item)&&Array.isArray(t)?e.item.replace("[","").replace("]","").split(",").map(e=>e.trim()).forEach((e,i)=>{r[e]=t[i]}):/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&"object"==typeof t?e.item.replace("{","").replace("}","").split(",").map(e=>e.trim()).forEach(e=>{r[e]=t[e]}):r[e.item]=t,e.index&&(r[e.index]=i),e.collection&&(r[e.collection]=n),r}function iP(){}function iC(e,t,i){ed(t,n=>eC(`You can't use [x-${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${i}`,n))}iL.inline=(e,{value:t,modifiers:i,expression:n})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:n,extract:!1})},ed("bind",iL),eD(()=>`[${ec("data")}]`),ed("data",(e,{expression:t},{cleanup:i})=>{var n;if(n=e,e0&&(e8||n.hasAttribute("data-has-alpine-state")))return;t=""===t?"{}":t;let r={};U(r,e);let s={};Object.entries(td).forEach(([e,t])=>{Object.defineProperty(s,e,{get:()=>(...e)=>t.bind(r)(...e),enumerable:!1})});let a=ei(e,t,{scope:s});(void 0===a||!0===a)&&(a={}),U(a,e);let l=o(a);V(l);let c=F(e,l);l.init&&ei(e,l.init),i(()=>{l.destroy&&ei(e,l.destroy),c()})}),e3((e,t)=>{e._x_dataStack&&(t._x_dataStack=e._x_dataStack,t.setAttribute("data-has-alpine-state",!0))}),ed("show",(e,{modifiers:t,expression:i},{effect:n})=>{let r,s=en(e,i);e._x_doHide||(e._x_doHide=()=>{j(()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{j(()=>{1===e.style.length&&"none"===e.style.display?e.removeAttribute("style"):e.style.removeProperty("display")})});let o=()=>{e._x_doHide(),e._x_isShown=!1},a=()=>{e._x_doShow(),e._x_isShown=!0},l=eU(e=>e?a():o(),t=>{"function"==typeof e._x_toggleAndCascadeWithTransitions?e._x_toggleAndCascadeWithTransitions(e,t,a,o):t?setTimeout(a):o()}),c=!0;n(()=>s(e=>{(c||e!==r)&&(t.includes("immediate")&&(e?setTimeout(a):o()),l(e),r=e,c=!1)}))}),ed("for",(e,{expression:t},{effect:i,cleanup:n})=>{let r=function(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,i=e.match(/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/);if(!i)return;let n={};n.items=i[2].trim();let r=i[1].replace(/^\s*\(|\)\s*$/g,"").trim(),s=r.match(t);return s?(n.item=r.replace(t,"").trim(),n.index=s[1].trim(),s[2]&&(n.collection=s[2].trim())):n.item=r,n}(t),s=en(e,r.items),a=en(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},i(()=>{var t,i,n,l;return t=e,i=r,n=s,l=a,void n(e=>{var n;let r;Array.isArray(n=e)||isNaN(n)||!(e>=0)||(e=Array.from(Array(e).keys(),e=>e+1)),void 0===e&&(e=[]);let s=t._x_lookup,a=t._x_prevKeys,c=[],u=[];if("object"!=typeof(r=e)||Array.isArray(r))for(let n=0;n<e.length;n++){let r=iM(i,e[n],n,e);l(e=>{u.includes(e)&&eC("Duplicate key on x-for",t),u.push(e)},{scope:{index:n,...r}}),c.push(r)}else e=Object.entries(e).map(([n,r])=>{let s=iM(i,r,n,e);l(e=>{u.includes(e)&&eC("Duplicate key on x-for",t),u.push(e)},{scope:{index:n,...s}}),c.push(s)});let d=[],h=[],p=[],f=[];for(let e=0;e<a.length;e++){let t=a[e];-1===u.indexOf(t)&&p.push(t)}a=a.filter(e=>!p.includes(e));let m="template";for(let e=0;e<u.length;e++){let t=u[e],i=a.indexOf(t);if(-1===i)a.splice(e,0,t),d.push([m,e]);else if(i!==e){let t=a.splice(e,1)[0],n=a.splice(i-1,1)[0];a.splice(e,0,n),a.splice(i,0,t),h.push([t,n])}else f.push(t);m=t}for(let e=0;e<p.length;e++){let t=p[e];t in s&&(j(()=>{eF(s[t]),s[t].remove()}),delete s[t])}for(let e=0;e<h.length;e++){let[i,n]=h[e],r=s[i],o=s[n],a=document.createElement("div");j(()=>{o||eC('x-for ":key" is undefined or invalid',t,n,s),o.after(a),r.after(o),o._x_currentIfEl&&o.after(o._x_currentIfEl),a.before(r),r._x_currentIfEl&&r.after(r._x_currentIfEl),a.remove()}),o._x_refreshXForScope(c[u.indexOf(n)])}for(let e=0;e<d.length;e++){let[i,n]=d[e],r="template"===i?t:s[i];r._x_currentIfEl&&(r=r._x_currentIfEl);let a=c[n],l=u[n],h=document.importNode(t.content,!0).firstElementChild,p=o(a);F(h,p,t),h._x_refreshXForScope=e=>{Object.entries(e).forEach(([e,t])=>{p[e]=t})},j(()=>{r.after(h),e1(()=>
13eZ(h))()}),"object"==typeof l&&eC("x-for key cannot be an object, it must be a string or an integer",t),s[l]=h}for(let e=0;e<f.length;e++)s[f[e]]._x_refreshXForScope(c[u.indexOf(f[e])]);t._x_prevKeys=u})}),n(()=>{Object.values(e._x_lookup).forEach(e=>j(()=>{eF(e),e.remove()})),delete e._x_prevKeys,delete e._x_lookup})}),iP.inline=(e,{expression:t},{cleanup:i})=>{let n=ej(e);n._x_refs||(n._x_refs={}),n._x_refs[t]=e,i(()=>delete n._x_refs[t])},ed("ref",iP),ed("if",(e,{expression:t},{effect:i,cleanup:n})=>{"template"!==e.tagName.toLowerCase()&&eC("x-if can only be used on a <template> tag",e);let r=en(e,t);i(()=>r(t=>{t?(()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let t=e.content.cloneNode(!0).firstElementChild;return F(t,{},e),j(()=>{e.after(t),e1(()=>eZ(t))()}),e._x_currentIfEl=t,e._x_undoIf=()=>{j(()=>{eF(t),t.remove()}),delete e._x_currentIfEl}})():e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)})),n(()=>e._x_undoIf&&e._x_undoIf())}),ed("id",(e,{expression:t},{evaluate:i})=>{i(t).forEach(t=>{!e._x_ids&&(e._x_ids={}),!e._x_ids[t]&&(e._x_ids[t]=ip(t))})}),e3((e,t)=>{e._x_ids&&(t._x_ids=e._x_ids)}),ew(e_("@",ec("on:"))),ed("on",e1((e,{value:t,modifiers:i,expression:n},{cleanup:r})=>{let s=n?en(e,n):()=>{};"template"===e.tagName.toLowerCase()&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let o=iy(e,t,i,e=>{s(()=>{},{scope:{$event:e},params:[e]})});r(()=>o())})),iC("Collapse","collapse","collapse"),iC("Intersect","intersect","intersect"),iC("Focus","trap","focus"),iC("Mask","mask","mask"),th.setEvaluator(es),th.setRawEvaluator(function(e,t,i={}){let n={};U(n,e);let r=[n,...H(e)],s=W([i.scope??{},...r]),o=i.params??[];if(t.includes("await")){let e=Object.getPrototypeOf(async function(){}).constructor,n=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(async()=>{ ${t} })()`:t;return new e(["scope"],`with (scope) { let __result = ${n}; return __result }`).call(i.context,s)}{let e=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(()=>{ ${t} })()`:t,n=Function(["scope"],`with (scope) { let __result = ${e}; return __result }`).call(i.context,s);return"function"==typeof n&&ee?n.apply(s,o):n}}),th.setReactivityEngine({reactive:ia,effect:function(e,t=tp){var i,n,r;let s;(i=e)&&!0===i._isEffect&&(e=e.raw);let o=(n=e,r=t,(s=function(){if(!s.active)return n();if(!tM.includes(s)){tk(s);try{return tz.push(tA),tA=!0,tM.push(s),h=s,n()}finally{tM.pop(),tI(),h=tM[tM.length-1]}}}).id=tO++,s.allowRecurse=!!r.allowRecurse,s._isEffect=!0,s.active=!0,s.raw=n,s.deps=[],s.options=r,s);return t.lazy||o(),o},release:function(e){e.active&&(tk(e),e.options.onStop&&e.options.onStop(),e.active=!1)},raw:iu});var iO=Math.min,ik=Math.max,iA=Math.round,iz=Math.floor,iI=e=>({x:e,y:e}),iD={left:"right",right:"left",bottom:"top",top:"bottom"},iB={start:"end",end:"start"};function ij(e,t){return"function"==typeof e?e(t):e}function iN(e){return e.split("-")[0]}function iR(e){return e.split("-")[1]}function i$(e){return"x"===e?"y":"x"}function iZ(e){return"y"===e?"height":"width"}function iF(e){return["top","bottom"].includes(iN(e))?"y":"x"}function iH(e){return e.replace(/start|end/g,e=>iB[e])}function iW(e){return e.replace(/left|right|bottom|top/g,e=>iD[e])}function iq(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function iG(e,t,i){let n,{reference:r,floating:s}=e,o=iF(t),a=i$(iF(t)),l=iZ(a),c=iN(t),u="y"===o,d=r.x+r.width/2-s.width/2,h=r.y+r.height/2-s.height/2,p=r[l]/2-s[l]/2;switch(c){case"top":n={x:d,y:r.y-s.height};break;case"bottom":n={x:d,y:r.y+r.height};break;case"right":n={x:r.x+r.width,y:h};break;case"left":n={x:r.x-s.width,y:h};break;default:n={x:r.x,y:r.y}}switch(iR(t)){case"start":n[a]-=p*(i&&u?-1:1);break;case"end":n[a]+=p*(i&&u?-1:1)}return n}var iV=async(e,t,i)=>{let{placement:n="bottom",strategy:r="absolute",middleware:s=[],platform:o}=i,a=s.filter(Boolean),l=await (null==o.isRTL?void 0:o.isRTL(t)),c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=iG(c,n,l),h=n,p={},f=0;for(let i=0;i<a.length;i++){let{name:s,fn:m}=a[i],{x:v,y:g,data:_,reset:y}=await m({x:u,y:d,initialPlacement:n,placement:h,strategy:r,middlewareData:p,rects:c,platform:o,elements:{reference:e,floating:t}});if(u=null!=v?v:u,d=null!=g?g:d,p={...p,[s]:{...p[s],..._}},y&&f<=50){f++,"object"==typeof y&&(y.placement&&(h=y.placement),y.rects&&(c=!0===y.rects?await o.getElementRects({reference:e,floating:t,strategy:r}):y.rects),{x:u,y:d}=iG(c,h,l)),i=-1;continue}}return{x:u,y:d,placement:h,strategy:r,middlewareData:p}};async function iY(e,t){var i,n;void 0===t&&(t={});let{x:r,y:s,platform:o,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:f=0}=ij(t,e),m="number"!=typeof(n=f)?{top:0,right:0,bottom:0,left:0,...n}:{top:n,right:n,bottom:n,left:n},v=l[p?"floating"===h?"reference":"floating":h],g=iq(await o.getClippingRect
13({element:null==(i=await (null==o.isElement?void 0:o.isElement(v)))||i?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),_="floating"===h?{...a.floating,x:r,y:s}:a.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),b=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},w=iq(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:y,strategy:c}):_);return{top:(g.top-w.top+m.top)/b.y,bottom:(w.bottom-g.bottom+m.bottom)/b.y,left:(g.left-w.left+m.left)/b.x,right:(w.right-g.right+m.right)/b.x}}async function iX(e,t){let{placement:i,platform:n,elements:r}=e,s=await (null==n.isRTL?void 0:n.isRTL(r.floating)),o=iN(i),a=iR(i),l="y"===iF(i),c=["left","top"].includes(o)?-1:1,u=s&&l?-1:1,d=ij(t,e),{mainAxis:h,crossAxis:p,alignmentAxis:f}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&"number"==typeof f&&(p="end"===a?-1*f:f),l?{x:p*u,y:h*c}:{x:h*c,y:p*u}}function iU(e){return iQ(e)?(e.nodeName||"").toLowerCase():"#document"}function iK(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function iJ(e){var t;return null==(t=(iQ(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function iQ(e){return e instanceof Node||e instanceof iK(e).Node}function i0(e){return e instanceof Element||e instanceof iK(e).Element}function i1(e){return e instanceof HTMLElement||e instanceof iK(e).HTMLElement}function i2(e){return!("u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof iK(e).ShadowRoot)}function i3(e){let{overflow:t,overflowX:i,overflowY:n,display:r}=i6(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+i)&&!["inline","contents"].includes(r)}function i8(e){let t=i5(),i=i6(e);return"none"!==i.transform||"none"!==i.perspective||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||["transform","perspective","filter"].some(e=>(i.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(i.contain||"").includes(e))}function i5(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function i4(e){return["html","body","#document"].includes(iU(e))}function i6(e){return iK(e).getComputedStyle(e)}function i9(e){return i0(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function i7(e){if("html"===iU(e))return e;let t=e.assignedSlot||e.parentNode||i2(e)&&e.host||iJ(e);return i2(t)?t.host:t}function ne(e,t,i){var n;void 0===t&&(t=[]),void 0===i&&(i=!0);let r=function e(t){let i=i7(t);return i4(i)?t.ownerDocument?t.ownerDocument.body:t.body:i1(i)&&i3(i)?i:e(i)}(e),s=r===(null==(n=e.ownerDocument)?void 0:n.body),o=iK(r);return s?t.concat(o,o.visualViewport||[],i3(r)?r:[],o.frameElement&&i?ne(o.frameElement):[]):t.concat(r,ne(r,[],i))}function nt(e){let t=i6(e),i=parseFloat(t.width)||0,n=parseFloat(t.height)||0,r=i1(e),s=r?e.offsetWidth:i,o=r?e.offsetHeight:n,a=iA(i)!==s||iA(n)!==o;return a&&(i=s,n=o),{width:i,height:n,$:a}}function ni(e){return i0(e)?e:e.contextElement}function nn(e){let t=ni(e);if(!i1(t))return iI(1);let i=t.getBoundingClientRect(),{width:n,height:r,$:s}=nt(t),o=(s?iA(i.width):i.width)/n,a=(s?iA(i.height):i.height)/r;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}var nr=iI(0);function ns(e){let t=iK(e);return i5()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:nr}function no(e,t,i,n){var r;void 0===t&&(t=!1),void 0===i&&(i=!1);let s=e.getBoundingClientRect(),o=ni(e),a=iI(1);t&&(n?i0(n)&&(a=nn(n)):a=nn(e));let l=(void 0===(r=i)&&(r=!1),n&&(!r||n===iK(o))&&r)?ns(o):iI(0),c=(s.left+l.x)/a.x,u=(s.top+l.y)/a.y,d=s.width/a.x,h=s.height/a.y;if(o){let e=iK(o),t=n&&i0(n)?iK(n):n,i=e.frameElement;for(;i&&n&&t!==e;){let e=nn(i),t=i.getBoundingClientRect(),n=i6(i),r=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,h*=e.y,c+=r,u+=s,i=iK(i).frameElement}}return iq({width:d,height:h,x:c,y:u})}function na(e){return no(iJ(e)).left+i9(e).scrollLeft}function nl(e,t,i){var n;let r;if("viewport"===t)r=function(e,t){let i=iK(e),n=iJ(e),r=i.visualVie
13wport,s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;let e=i5();(!e||e&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a,y:l}}(e,i);else if("document"===t){let t,i,s,o,a,l,c;n=iJ(e),t=iJ(n),i=i9(n),s=n.ownerDocument.body,o=ik(t.scrollWidth,t.clientWidth,s.scrollWidth,s.clientWidth),a=ik(t.scrollHeight,t.clientHeight,s.scrollHeight,s.clientHeight),l=-i.scrollLeft+na(n),c=-i.scrollTop,"rtl"===i6(s).direction&&(l+=ik(t.clientWidth,s.clientWidth)-o),r={width:o,height:a,x:l,y:c}}else if(i0(t)){let e,n,s,o,a,l;n=(e=no(t,!0,"fixed"===i)).top+t.clientTop,s=e.left+t.clientLeft,o=i1(t)?nn(t):iI(1),a=t.clientWidth*o.x,l=t.clientHeight*o.y,r={width:a,height:l,x:s*o.x,y:n*o.y}}else{let i=ns(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return iq(r)}function nc(e,t){return i1(e)&&"fixed"!==i6(e).position?t?t(e):e.offsetParent:null}function nu(e,t){let i=iK(e);if(!i1(e))return i;let n=nc(e,t);for(;n&&["table","td","th"].includes(iU(n))&&"static"===i6(n).position;)n=nc(n,t);return n&&("html"===iU(n)||"body"===iU(n)&&"static"===i6(n).position&&!i8(n))?i:n||function(e){let t=i7(e);for(;i1(t)&&!i4(t);)if(i8(t))return t;else t=i7(t);return null}(e)||i}var nd=async function(e){let{reference:t,floating:i,strategy:n}=e,r=this.getOffsetParent||nu,s=this.getDimensions;return{reference:function(e,t,i){let n=i1(t),r=iJ(t),s="fixed"===i,o=no(e,!0,s,t),a={scrollLeft:0,scrollTop:0},l=iI(0);if(n||!n&&!s)if(("body"!==iU(t)||i3(r))&&(a=i9(t)),n){let e=no(t,!0,s,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else r&&(l.x=na(r));return{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}(t,await r(i),n),floating:{x:0,y:0,...await s(i)}}},nh={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:i,strategy:n}=e,r=i1(i),s=iJ(i);if(i===s)return t;let o={scrollLeft:0,scrollTop:0},a=iI(1),l=iI(0);if((r||!r&&"fixed"!==n)&&(("body"!==iU(i)||i3(s))&&(o=i9(i)),i1(i))){let e=no(i);a=nn(i),l.x=e.x+i.clientLeft,l.y=e.y+i.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-o.scrollLeft*a.x+l.x,y:t.y*a.y-o.scrollTop*a.y+l.y}},getDocumentElement:iJ,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:n,strategy:r}=e,s=[..."clippingAncestors"===i?function(e,t){let i=t.get(e);if(i)return i;let n=ne(e,[],!1).filter(e=>i0(e)&&"body"!==iU(e)),r=null,s="fixed"===i6(e).position,o=s?i7(e):e;for(;i0(o)&&!i4(o);){let t=i6(o),i=i8(o);i||"fixed"!==t.position||(r=null),(s?!i&&!r:!i&&"static"===t.position&&!!r&&["absolute","fixed"].includes(r.position)||i3(o)&&!i&&function e(t,i){let n=i7(t);return!(n===i||!i0(n)||i4(n))&&("fixed"===i6(n).position||e(n,i))}(e,o))?n=n.filter(e=>e!==o):r=t,o=i7(o)}return t.set(e,n),n}(t,this._c):[].concat(i),n],o=s[0],a=s.reduce((e,i)=>{let n=nl(t,i,r);return e.top=ik(n.top,e.top),e.right=iO(n.right,e.right),e.bottom=iO(n.bottom,e.bottom),e.left=ik(n.left,e.left),e},nl(t,o,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:nu,getElementRects:nd,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return nt(e)},getScale:nn,isElement:i0,isRTL:function(e){return"rtl"===i6(e).direction}};function np(e,t,i){Object.assign(e.style,{left:t+"px",top:i+"px",position:"absolute"})}function nf(e){let t=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"].find(t=>e.includes(t)),i=0;if(e.includes("offset")){let t=e.findIndex(e=>"offset"===e);i=void 0!==e[t+1]?Number(e[t+1]):i}return{placement:t,offsetValue:i,unstyled:e.includes("no-style")}}var nm=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],nv=nm.join(","),ng="u"<typeof Element,n_=ng?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ny=!ng&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},nb=function(e,t,i){var n=Array.prototype.slice.apply(e.querySelectorAll(nv));return t&&n_.call(e,nv)&&n.unshift(e),n=n.filter(i)},nw=function e(t,i,n){for(var r=[],s=Array.from(t);s.length;){var o=s.shift();if("SLOT"===o.tagName){var a=o.assignedElements(),l=e(a.length?a:o.children,!0,n);
13n.flatten?r.push.apply(r,l):r.push({scope:o,candidates:l})}else{n_.call(o,nv)&&n.filter(o)&&(i||!t.includes(o))&&r.push(o);var c=o.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(o),u=!n.shadowRootFilter||n.shadowRootFilter(o);if(c&&u){var d=e(!0===c?o.children:c.children,!0,n);n.flatten?r.push.apply(r,d):r.push({scope:o,candidates:d})}else s.unshift.apply(s,o.children)}}return r},nx=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},nE=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},nS=function(e){return"INPUT"===e.tagName},nT=function(e,t){for(var i=0;i<e.length;i++)if(e[i].checked&&e[i].form===t)return e[i]},nL=function(e){if(!e.name)return!0;var t,i=e.form||ny(e),n=function(e){return i.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=nT(t,e.form);return!r||r===e},nM=function(e){return nS(e)&&"radio"===e.type&&!nL(e)},nP=function(e){var t=e.getBoundingClientRect(),i=t.width,n=t.height;return 0===i&&0===n},nC=function(e,t){var i=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=n_.call(e,"details>summary:first-of-type")?e.parentElement:e;if(n_.call(r,"details:not([open]) *"))return!0;var s=ny(e).host,o=(null==s?void 0:s.ownerDocument.contains(s))||e.ownerDocument.contains(e);if(i&&"full"!==i){if("non-zero-area"===i)return nP(e)}else{if("function"==typeof n){for(var a=e;e;){var l=e.parentElement,c=ny(e);if(l&&!l.shadowRoot&&!0===n(l))return nP(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=a}if(o)return!e.getClientRects().length}return!1},nO=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var i=0;i<t.children.length;i++){var n=t.children.item(i);if("LEGEND"===n.tagName)return!!n_.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1},nk=function(e,t){return!(t.disabled||nS(t)&&"hidden"===t.type||nC(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||nO(t))},nA=function(e,t){return!(nM(t)||0>nx(t))&&!!nk(e,t)},nz=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},nI=function e(t){var i=[],n=[];return t.forEach(function(t,r){var s=!!t.scope,o=s?t.scope:t,a=nx(o,s),l=s?e(t.candidates):o;0===a?s?i.push.apply(i,l):i.push(o):n.push({documentOrder:r,tabIndex:a,item:t,isScope:s,content:l})}),n.sort(nE).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(i)},nD=function(e,t){return nI((t=t||{}).getShadowRoot?nw([e],t.includeContainer,{filter:nA.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:nz}):nb(e,t.includeContainer,nA.bind(null,t)))},nB=function(e,t){return(t=t||{}).getShadowRoot?nw([e],t.includeContainer,{filter:nk.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):nb(e,t.includeContainer,nk.bind(null,t))},nj=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==n_.call(e,nv)&&nA(t,e)},nN=nm.concat("iframe").join(","),nR=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==n_.call(e,nN)&&nk(t,e)};function n$(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function nZ(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?n$(Object(i),!0).forEach(function(t){var n,r,s;n=e,r=t,s=i[t],r in n?Object.defineProperty(n,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[r]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n$(Object(i)).forEac
13h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}var nF=(s=[],{activateTrap:function(e){if(s.length>0){var t=s[s.length-1];t!==e&&t.pause()}var i=s.indexOf(e);-1===i||s.splice(i,1),s.push(e)},deactivateTrap:function(e){var t=s.indexOf(e);-1!==t&&s.splice(t,1),s.length>0&&s[s.length-1].unpause()}}),nH=function(e){return setTimeout(e,0)},nW=function(e,t){var i=-1;return e.every(function(e,n){return!t(e)||(i=n,!1)}),i},nq=function(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,i):e},nG=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},nV=function(e,t){var i,n=(null==t?void 0:t.document)||document,r=nZ({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},o=function(e,t,i){return e&&void 0!==e[t]?e[t]:r[i||t]},a=function(e){return s.containerGroups.findIndex(function(t){var i=t.container,n=t.tabbableNodes;return i.contains(e)||n.find(function(t){return t===e})})},l=function(e){var t=r[e];if("function"==typeof t){for(var i=arguments.length,s=Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];t=t.apply(void 0,s)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=n.querySelector(t)))throw Error("`".concat(e,"` as selector refers to no known node"));return a},c=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e)if(a(n.activeElement)>=0)e=n.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(s.containerGroups=s.containers.map(function(e){var t=nD(e,r.tabbableOptions),i=nB(e,r.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:i,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=i.findIndex(function(t){return t===e});if(!(n<0))return t?i.slice(n+1).find(function(e){return nj(e,r.tabbableOptions)}):i.slice(0,n).reverse().find(function(e){return nj(e,r.tabbableOptions)})}}}),s.tabbableGroups=s.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),s.tabbableGroups.length<=0&&!l("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},d=function e(t){if(!1!==t&&t!==n.activeElement){if(!t||!t.focus)return void e(c());t.focus({preventScroll:!!r.preventScroll}),s.mostRecentlyFocusedNode=t,t.tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select&&t.select()}},h=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},p=function(e){var t=nG(e);a(t)>=0||(nq(r.clickOutsideDeactivates,e)?i.deactivate({returnFocus:r.returnFocusOnDeactivate&&!nR(t,r.tabbableOptions)}):nq(r.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=nG(e),i=a(t)>=0;i||t instanceof Document?i&&(s.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),d(s.mostRecentlyFocusedNode||c()))},m=function(e){var t=nG(e);u();var i=null;if(s.tabbableGroups.length>0){var n=a(t),o=n>=0?s.containerGroups[n]:void 0;if(n<0)i=e.shiftKey?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=nW(s.tabbableGroups,function(e){return t===e.firstTabbableNode});if(c<0&&(o.container===t||nR(t,r.tabbableOptions)&&!nj(t,r.tabbableOptions)&&!o.nextTabbableNode(t,!1))&&(c=n),c>=0){var h=0===c?s.tabbableGroups.length-1:c-1;i=s.tabbableGroups[h].lastTabbableNode}}else{var p=nW(s.tabbableGroups,function(e){return t===e.lastTabbableNode});if(p<0&&(o.container===t||nR(t,r.tabbableOptions)&&!nj(t,r.tabbableOptions)&&!o.nextTabbableNode(t))&&(p=n),p>=0){var f=p===s.tabbableGroups.length-1?0:p+1;i=s.tabbableGroups[f].firstTabbableNode}}}else i=l("fallbackFocus");i&&(e.preventDefault(),d(i))}
13,v=function(e){if(("Escape"===e.key||"Esc"===e.key||27===e.keyCode)&&!1!==nq(r.escapeDeactivates,e)){e.preventDefault(),i.deactivate();return}if("Tab"===e.key||9===e.keyCode)return void m(e)},g=function(e){a(nG(e))>=0||nq(r.clickOutsideDeactivates,e)||nq(r.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},_=function(){if(s.active)return nF.activateTrap(i),s.delayInitialFocusTimer=r.delayInitialFocus?nH(function(){d(c())}):d(c()),n.addEventListener("focusin",f,!0),n.addEventListener("mousedown",p,{capture:!0,passive:!1}),n.addEventListener("touchstart",p,{capture:!0,passive:!1}),n.addEventListener("click",g,{capture:!0,passive:!1}),n.addEventListener("keydown",v,{capture:!0,passive:!1}),i},y=function(){if(s.active)return n.removeEventListener("focusin",f,!0),n.removeEventListener("mousedown",p,!0),n.removeEventListener("touchstart",p,!0),n.removeEventListener("click",g,!0),n.removeEventListener("keydown",v,!0),i};return(i={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t=o(e,"onActivate"),i=o(e,"onPostActivate"),r=o(e,"checkCanFocusTrap");r||u(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=n.activeElement,t&&t();var a=function(){r&&u(),_(),i&&i()};return r?r(s.containers.concat()).then(a,a):a(),this},deactivate:function(e){if(!s.active)return this;var t=nZ({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,y(),s.active=!1,s.paused=!1,nF.deactivateTrap(i);var n=o(t,"onDeactivate"),a=o(t,"onPostDeactivate"),l=o(t,"checkCanReturnFocus"),c=o(t,"returnFocus","returnFocusOnDeactivate");n&&n();var u=function(){nH(function(){c&&d(h(s.nodeFocusedBeforeActivation)),a&&a()})};return c&&l?l(h(s.nodeFocusedBeforeActivation)).then(u,u):u(),this},pause:function(){return s.paused||!s.active||(s.paused=!0,y()),this},unpause:function(){return s.paused&&s.active&&(s.paused=!1,u(),_()),this},updateContainerElements:function(e){return s.containers=[].concat(e).filter(
13Boolean).map(function(e){return"string"==typeof e?n.querySelector(e):e}),s.active&&u(),this}}).updateContainerElements(e),i};function nY(e){let t=[];return function e(t,i){!t.isSameNode(document.body)&&t.parentNode&&Array.from(t.parentNode.children).forEach(n=>{n.isSameNode(t)?e(t.parentNode,i):i(n)})}(e,e=>{let i=e.hasAttribute("aria-hidden");e.setAttribute("aria-hidden","true"),t.push(()=>i||e.removeAttribute("aria-hidden"))}),()=>{for(;t.length;)t.pop()()}}function nX(e,t,i,n,r,s,o){try{var a=e[s](o),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}var nU=function(){var e;function t(e,i){var n,r;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");n="defaultBehavior",r=matchMedia("(prefers-reduced-motion: reduce)").matches?"instant":"smooth",n in this?Object.defineProperty(this,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[n]=r,this.behavior=e||this.defaultBehavior,this.baseOffset=i||0}return e=[{key:"scrollTarget",value:function(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(t="string"==typeof e?document.querySelector(e):e)&&scroll({top:this.getPositionTop(t)-(this.baseOffset+i),behavior:this.behavior})}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;scroll({top:e,behavior:this.behavior})}},{key:"getPositionTop",value:function(e){var t=0;if(e.offsetParent)for(t=e.offsetTop;e=e.offsetParent;)t+=e.offsetTop;return t}}],function(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}(),nK=[{size:"sm",value:"48rem",rawValue:768},{size:"lg",value:"80rem",rawValue:1280}];document.addEventListener("alpine:init",function(){Alpine.store("breakpoints",{breakpoints:nK,currentBreakpointMatches:[],init:function(){this.getCurrentBreakpoints();var e=!0,t=!1,i=void 0;try{for(var n,r=this.breakpoints[Symbol.iterator]();!(e=(n=r.next()).done);e=!0){var s=n.value.value;matchMedia("(min-width: ".concat(s,")")).addEventListener("change",this.getCurrentBreakpoints.bind(this))}}catch(e){t=!0,i=e}finally{try{e||null==r.return||r.return()}finally{if(t)throw i}}},get isMobile(){return!this.currentBreakpointMatches.length>0},get isDesktop(){return this.currentBreakpointMatches.includes("lg")},getCurrentBreakpoints:function(){this.currentBreakpointMatches=this.breakpoints.filter(function(e){var t=e.value;return matchMedia("(min-width: ".concat(t,")")).matches}).map(function(e){return e.size})}})});var nJ=a(393);document.addEventListener("alpine:initialized",function(){Alpine.store("sizes",{contextNav:{size:0,observer:null,selector:'[data-component-id="front:context-nav"], [data-component-id="front:context-nav-event"]',cssVariable:"--context-nav-height"},header:{size:0,observer:null,selector:'[data-component-id="front:header"]',cssVariable:"--header-height"},eventNav:{size:0,observer:null,selector:"#event-nav",cssVariable:"--event-nav-height"},ad_deskZ1:{size:0,observer:null,selector:'[data-advertising-name="desk_z1"]',cssVariable:"--ad-desk-z1-height"},ad_deskZ2:{size:0,observer:null,selector:'[data-advertising-name="desk_z2"]',cssVariable:"--ad-desk-z2-height"},ad_mobileZ1:{size:0,observer:null,selector:'[data-advertising-name="mobile_z1"]',cssVariable:"--ad-mobile-z1-height"},ad_mobileZ2:{size:0,observer:null,selector:'[data-advertising-name="mobile_z2"]',cssVariable:"--ad-mobile-z2-height"},pageHeader:{size:0,observer:null,selector:"#page-header",cssVariable:"--page-header-height"},init:function(){this.initAllObservers(),this.observeAll()},initAllObservers:function(){this.initObserver("contextNav"),this.initObserver("header"),this.initObserver("eventNav"),this.initObserver("ad_deskZ1"),this.initObserver("ad_deskZ2"),this.initObserver("ad_mobileZ1"),this.initObserver("ad_mobileZ2"),this.initObserver("pageHeader")},observeAll:function(){this.observe("contextNav"),this.observe("header"),this.observe("eventNav"),this.observe("ad_deskZ1"),this.observe("ad_deskZ2"),this.observe("ad_mobileZ1"),this.observe("ad_mobileZ2"),this.observe("pageHeader")}
13,initObserver:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"height";this[e].observer=new ResizeObserver(function(){var n=(0,nJ.HI)(t[e].selector,i);t.setComponentSize(e,n)})},observe:function(e){var t=document.querySelector(this[e].selector);t?this[e].observer.observe(t):this.setComponentSize(e,0)},setComponentSize:function(e,t){this[e].size=t,this.setCssVariable(this[e].cssVariable,t)},setCssVariable:function(e,t){document.documentElement.style.setProperty(e,"".concat(t,"px"))}})}),a(395),th.plugin(function(e){e.magic("anchor",e=>{if(!e._x_anchor)throw"Alpine: No x-anchor directive found on element using $anchor...";return e._x_anchor}),e.interceptClone((e,t)=>{e&&e._x_anchor&&!t._x_anchor&&(t._x_anchor=e._x_anchor)}),e.directive("anchor",e.skipDuringClone((t,{expression:i,modifiers:n,value:r},{cleanup:s,evaluate:o})=>{let{placement:a,offsetValue:l,unstyled:c}=nf(n);t._x_anchor=e.reactive({x:0,y:0});let u=o(i);if(!u)throw"Alpine: no element provided to x-anchor...";let d=function(e,t,i,n){let r;void 0===n&&(n={});let{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,u=ni(e),d=s||o?[...u?ne(u):[],...ne(t)]:[];d.forEach(e=>{s&&e.addEventListener("scroll",i,{passive:!0}),o&&e.addEventListener("resize",i)});let h=u&&l?function(e,t){let i,n=null,r=iJ(e);function s(){clearTimeout(i),n&&n.disconnect(),n=null}return!function o(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),s();let{left:c,top:u,width:d,height:h}=e.getBoundingClientRect();if(a||t(),!d||!h)return;let p={rootMargin:-iz(u)+"px "+-iz(r.clientWidth-(c+d))+"px "+-iz(r.clientHeight-(u+h))+"px "+-iz(c)+"px",threshold:ik(0,iO(1,l))||1},f=!0;function m(e){let t=e[0].intersectionRatio;if(t!==l){if(!f)return o();t?o(!1,t):i=setTimeout(()=>{o(!1,1e-7)},100)}f=!1}try{n=new IntersectionObserver(m,{...p,root:r.ownerDocument})}catch(e){n=new IntersectionObserver(m,p)}n.observe(e)}(!0),s}(u,i):null,p=-1,f=null;a&&(f=new ResizeObserver(e=>{let[n]=e;n&&n.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{f&&f.observe(t)})),i()}),u&&!c&&f.observe(u),f.observe(t));let m=c?no(e):null;return c&&function t(){let n=no(e);m&&(n.x!==m.x||n.y!==m.y||n.width!==m.width||n.height!==m.height)&&i(),m=n,r=requestAnimationFrame(t)}(),i(),()=>{d.forEach(e=>{s&&e.removeEventListener("scroll",i),o&&e.removeEventListener("resize",i)}),h&&h(),f&&f.disconnect(),f=null,c&&cancelAnimationFrame(r)}}(u,t,()=>{var e,i,n,r;let s,o,d,h;(r={placement:a,middleware:[(void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var i,n,r,s,o,a,l,c;
13let u,d,h,{placement:p,middlewareData:f,rects:m,initialPlacement:v,platform:g,elements:_}=t,{mainAxis:y=!0,crossAxis:b=!0,fallbackPlacements:w,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:S=!0,...T}=ij(e,t);if(null!=(i=f.arrow)&&i.alignmentOffset)return{};let M=iN(p),P=iN(v)===v,C=await (null==g.isRTL?void 0:g.isRTL(_.floating)),O=w||(P||!S?[iW(v)]:(u=iW(v),[iH(v),u,iH(u)]));w||"none"===E||O.push(...(d=iR(v),h=function(e,t,i){let n=["left","right"],r=["right","left"];switch(e){case"top":case"bottom":if(i)return t?r:n;return t?n:r;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(iN(v),"start"===E,C),d&&(h=h.map(e=>e+"-"+d),S&&(h=h.concat(h.map(iH)))),h));let k=[v,...O],A=await iY(t,T),z=[],I=(null==(n=f.flip)?void 0:n.overflows)||[];if(y&&z.push(A[M]),b){let e,t,i,n,r=(a=p,l=m,void 0===(c=C)&&(c=!1),e=iR(a),i=iZ(t=i$(iF(a))),n="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[i]>l.floating[i]&&(n=iW(n)),[n,iW(n)]);z.push(A[r[0]],A[r[1]])}if(I=[...I,{placement:p,overflows:z}],!z.every(e=>e<=0)){let e=((null==(r=f.flip)?void 0:r.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:I},reset:{placement:t}};let i=null==(s=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:s.placement;if(!i)switch(x){case"bestFit":{let e=null==(o=I.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(i=e);break}case"initialPlacement":i=v}if(p!==i)return{reset:{placement:i}}}return{}}}),{name:"shift",options:i={padding:5},async fn(e){let{x:t,y:n,placement:r}=e,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...l}=ij(i,e),c={x:t,y:n},u=await iY(e,l),d=iF(iN(r)),h=i$(d),p=c[h],f=c[d];if(s){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",i=p+u[e],n=p-u[t];p=ik(i,iO(p,n))}if(o){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",i=f+u[e],n=f-u[t];f=ik(i,iO(f,n))}let m=a.fn({...e,[h]:p,[d]:f});return{...m,data:{x:m.x-t,y:m.y-n}}}},(void 0===(n=l)&&(n=0),{name:"offset",options:n,async fn(e){let{x:t,y:i}=e,r=await iX(e,n);return{x:t+r.x,y:i+r.y,data:r}}})]},o=new Map,h={...(d={platform:nh,...r}).platform,_c:o},iV(u,t,{...d,platform:h})).then(({x:e,y:i})=>{c||np(t,e,i),JSON.stringify({x:e,y:i})!==s&&(t._x_anchor.x=e,t._x_anchor.y=i),s=JSON.stringify({x:e,y:i})})});s(()=>d())},(e,{expression:t,modifiers:i,value:n},{cleanup:r,evaluate:s})=>{let{placement:o,offsetValue:a,unstyled:l}=nf(i);e._x_anchor&&(l||np(e,e._x_anchor.x,e._x_anchor.y))}))}),th.plugin(function(e){let t,i;window.addEventListener("focusin",()=>{t=i,i=document.activeElement}),e.magic("focus",e=>{let n=e;return{__noscroll:!1,__wrapAround:!1,within(e){return n=e,this},withoutScrolling(){return this.__noscroll=!0,this},noscroll(){return this.__noscroll=!0,this},withWrapAround(){return this.__wrapAround=!0,this},wrap(){return this.withWrapAround()},focusable:e=>nR(e),previouslyFocused:()=>t,lastFocused:()=>t,focused:()=>i,focusables:()=>Array.isArray(n)?n:nB(n,{displayCheck:"none"}),all(){return this.focusables()},isFirst(e){let t=this.all();return t[0]&&t[0].isSameNode(e)},isLast(e){let t=this.all();return t.length&&t.slice(-1)[0].isSameNode(e)},getFirst(){return this.all()[0]},getLast(){return this.all().slice(-1)[0]},getNext(){let e=this.all(),t=document.activeElement;if(-1!==e.indexOf(t))return this.__wrapAround&&e.indexOf(t)===e.length-1?e[0]:e[e.indexOf(t)+1]},getPrevious(){let e=this.all(),t=document.activeElement;if(-1!==e.indexOf(t))return this.__wrapAround&&0===e.indexOf(t)?e.slice(-1)[0]:e[e.indexOf(t)-1]},first(){this.focus(this.getFirst())},last(){this.focus(this.getLast())},next(){this.focus(this.getNext())},previous(){this.focus(this.getPrevious())},prev(){return this.previous()},focus(e){e&&setTimeout(()=>{e.hasAttribute("tabindex")||e.setAttribute("tabindex","0"),e.focus({preventScroll:this.__noscroll})})}}}),e.directive("trap",e.skipDuringClone((t,{expression:i,modifiers:n},{effect:r,evaluateLater:s,cleanup:o})=>{let a=s(i),l=!1,c={escapeDeactivates:!1,allowOutsideClick:!0,fallbackFocus:()=>t},u=()=>{};if(n.includes("noautofocus"))c.initialFocus=!1;else{let e=t.querySelector("[autofocus]");e&&(c.initialFocus=e)}n.includes("inert")&&(c.onPostActivate=()=>{e.nextTick(()=>{u=nY(t)})});let d=nV(t,c),h=()=>{},p=()=>{u(),u=()=>{},h(),h=()=>{},d.deactivate({returnFocus:!n.includes("noreturn")})};r(()=>a(e=>{let t,i,r;l!==e&&(e&&!l&&(n.includes("noscroll")&&(t=document.documentElement.style.overflow,i=document.documentElement.style.paddingRight,r=window.innerWidth-document.documentElement.clientWidth,document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight=`${r}px`,h=()=>{document.documentElement.style.overflow=t,document.documentElement.style.paddingRight=i}),setTimeout(()=>{d.activate()},15)),!e&&l&&p(),l=!!e)})),o(p)},(e,{expression:t,modifiers:i},{evaluate:n})=>{i.includes("inert")&&n(t)&&nY(e)}))}),th.plugin(function(e){e.directive("select",function(e){var t;return(t=function(){var t,i;return function(e,t){var i,n,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]}
13,trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:l(0)}),a(o,"throw",{value:l(1)}),a(o,"return",{value:l(2)}),"function"==typeof Symbol&&a(o,Symbol.iterator,{value:function(){return this}}),o;function l(a){return function(l){var c=[a,l];if(i)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(s=0)),s;)try{if(i=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,n=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===c[0]||2===c[0])){s=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){s.label=c[1];break}if(6===c[0]&&s.label<r[1]){s.label=r[1],r=c;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(c);break}r[2]&&s.ops.pop(),s.trys.pop();continue}c=t.call(e,s)}catch(e){c=[6,e],n=0}finally{i=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(n){switch(n.label){case 0:return t={showSearch:!1},[4,a.e(436).then(a.bind(a,436))];case 1:return i=n.sent(),[4,a.e(70).then(a.bind(a,70))];case 2:return n.sent(),new i.default({select:e,settings:t}),[2]}})},function(){var e=this,i=arguments;return new Promise(function(n,r){var s=t.apply(e,i);function o(e){nX(s,n,r,o,a,"next",e)}function a(e){nX(s,n,r,o,a,"throw",e)}o(void 0)})})()})}),th.plugin(function(e){e.directive("timestamp",function(e,t){var i=t.expression,n="fr-FR",r=new Date(i);new Date().toLocaleDateString(n)===r.toLocaleDateString(n)&&(e.textContent=r.toLocaleTimeString(n,{hour:"2-digit",minute:"2-digit"}))})}),window.Alpine=th,window.Scroller=new nU;var nQ=a(1);nQ.keys().forEach(nQ);var n0=a(56);n0.keys().forEach(n0);var n1=a(446);n1.keys().forEach(n1),th.start()})()})(); 14 15(function(Drupal,once){'use strict';Drupal.behaviors.mainCountSponso={attach(context,settings){const sponsoContents=once('count-sponso','article[data-contentId]');let contentIds=[];sponsoContents.forEach(function(element){contentIds.push(element.dataset.contentid);});if(contentIds.length>0)fetch('/ajax/count-sponso',{method:'POST',headers:{'Content-Type':'application/json'},keepalive:true,body:JSON.stringify({contentIds})}).then(function(response){return response.json();}).then(function(data){});function trackClick(nid){fetch('/ajax/count-click-sponso',{method:'POST',headers:{'Content-Type':'application/json'},keepalive:true,body:JSON.stringify({contentId:nid})}).then(function(response){return response.json();}).then(function(data){});}sponsoContents.forEach(function(element){function isClickOnSponsoLink(event){return !!event.target.closest('a[data-contentid]');}element.addEventListener('click',function(event){if(!isClickOnSponsoLink(event))return;trackClick(element.dataset.contentid);});element.addEventListener('auxclick',function(event){if(event.button!==1||!isClickOnSponsoLink(event))return;trackClick(element.dataset.contentid);});element.addEventListener('contextmenu',function(event){if(!isClickOnSponsoLink(event))return;trackClick(element.dataset.contentid);});});}};}(Drupal,once));;
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.