@ozdao/prometheus-framework 0.2.196 → 0.2.198

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -1
  2. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +21 -20
  3. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  4. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +629 -622
  5. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -1
  6. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +19 -17
  7. package/dist/node_modules/qrcode/lib/core/byte-data.cjs +1 -1
  8. package/dist/node_modules/qrcode/lib/core/byte-data.js +6 -7
  9. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +1 -1
  10. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +3 -3
  11. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  12. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3356 -3363
  13. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  14. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  15. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +17 -17
  19. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +11 -11
  22. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  23. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  24. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +46 -44
  26. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +31 -31
  27. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  37. package/dist/prometheus-framework.cjs.js +27 -27
  38. package/dist/prometheus-framework.es.js +2528 -2518
  39. package/dist/style.css +1 -1
  40. package/package.json +25 -25
  41. package/src/modules/globals/views/components/layouts/Client.vue +4 -3
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function k(s,e,t,r){function o(i){return i instanceof t?i:new t(function(n){n(i)})}return new(t||(t=Promise))(function(i,n){function l(a){try{c(r.next(a))}catch(h){n(h)}}function u(a){try{c(r.throw(a))}catch(h){n(h)}}function c(a){a.done?i(a.value):o(a.value).then(l,u)}c((r=r.apply(s,[])).next())})}function L(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var _=function s(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,o,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!s(e[o],t[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=r;o--!==0;){var n=i[o];if(!s(e[n],t[n]))return!1}return!0}return e!==e&&t!==t},P=L(_);const I="__googleMapsScriptId";exports.LoaderStatus=void 0;(function(s){s[s.INITIALIZED=0]="INITIALIZED",s[s.LOADING=1]="LOADING",s[s.SUCCESS=2]="SUCCESS",s[s.FAILURE=3]="FAILURE"})(exports.LoaderStatus||(exports.LoaderStatus={}));class d{constructor({apiKey:e,authReferrerPolicy:t,channel:r,client:o,id:i=I,language:n,libraries:l=[],mapIds:u,nonce:c,region:a,retries:h=3,url:g="https://maps.googleapis.com/maps/api/js",version:p}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=r,this.client=o,this.id=i||I,this.language=n,this.libraries=l,this.mapIds=u,this.nonce=c,this.region=a,this.retries=h,this.url=g,this.version=p,d.instance){if(!P(this.options,d.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(d.instance.options)}`);return d.instance}d.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?exports.LoaderStatus.FAILURE:this.done?exports.LoaderStatus.SUCCESS:this.loading?exports.LoaderStatus.LOADING:exports.LoaderStatus.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,t)=>{this.loadCallback(r=>{r?t(r.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(i=>!r[i]&&delete r[i]),!((t=(e=window==null?void 0:window.google)===null||e===void 0?void 0:e.maps)===null||t===void 0)&&t.importLibrary||(i=>{let n,l,u,c="The Google Maps JavaScript API",a="google",h="importLibrary",g="__ib__",p=document,f=window;f=f[a]||(f[a]={});const m=f.maps||(f.maps={}),E=new Set,y=new URLSearchParams,S=()=>n||(n=new Promise((v,b)=>k(this,void 0,void 0,function*(){var w;yield l=p.createElement("script"),l.id=this.id,y.set("libraries",[...E]+"");for(u in i)y.set(u.replace(/[A-Z]/g,O=>"_"+O[0].toLowerCase()),i[u]);y.set("callback",a+".maps."+g),l.src=this.url+"?"+y,m[g]=v,l.onerror=()=>n=b(Error(c+" could not load.")),l.nonce=this.nonce||((w=p.querySelector("script[nonce]"))===null||w===void 0?void 0:w.nonce)||"",p.head.append(l)})));m[h]?console.warn(c+" only loads once. Ignoring:",i):m[h]=(v,...b)=>E.add(v)&&S().then(()=>m[h](v,...b))})(r);const o=this.libraries.map(i=>this.importLibrary(i));o.length||o.push(this.importLibrary("core")),Promise.all(o).then(()=>this.callback(),i=>{const n=new ErrorEvent("error",{error:i});this.loadErrorCallback(n)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const t=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},t)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading||(this.loading=!0,this.setScript())}}}exports.DEFAULT_ID=I;exports.Loader=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function k(s,e,t,r){function o(i){return i instanceof t?i:new t(function(n){n(i)})}return new(t||(t=Promise))(function(i,n){function l(a){try{c(r.next(a))}catch(h){n(h)}}function u(a){try{c(r.throw(a))}catch(h){n(h)}}function c(a){a.done?i(a.value):o(a.value).then(l,u)}c((r=r.apply(s,[])).next())})}function L(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var _=function s(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,o,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!s(e[o],t[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=r;o--!==0;){var n=i[o];if(!s(e[n],t[n]))return!1}return!0}return e!==e&&t!==t},P=L(_);const I="__googleMapsScriptId";exports.LoaderStatus=void 0;(function(s){s[s.INITIALIZED=0]="INITIALIZED",s[s.LOADING=1]="LOADING",s[s.SUCCESS=2]="SUCCESS",s[s.FAILURE=3]="FAILURE"})(exports.LoaderStatus||(exports.LoaderStatus={}));class d{constructor({apiKey:e,authReferrerPolicy:t,channel:r,client:o,id:i=I,language:n,libraries:l=[],mapIds:u,nonce:c,region:a,retries:h=3,url:g="https://maps.googleapis.com/maps/api/js",version:p}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=r,this.client=o,this.id=i||I,this.language=n,this.libraries=l,this.mapIds=u,this.nonce=c,this.region=a,this.retries=h,this.url=g,this.version=p,d.instance){if(!P(this.options,d.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(d.instance.options)}`);return d.instance}d.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?exports.LoaderStatus.FAILURE:this.done?exports.LoaderStatus.SUCCESS:this.loading?exports.LoaderStatus.LOADING:exports.LoaderStatus.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,t)=>{this.loadCallback(r=>{r?t(r.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(i=>!r[i]&&delete r[i]),!((t=(e=window==null?void 0:window.google)===null||e===void 0?void 0:e.maps)===null||t===void 0)&&t.importLibrary||(i=>{let n,l,u,c="The Google Maps JavaScript API",a="google",h="importLibrary",g="__ib__",p=document,f=window;f=f[a]||(f[a]={});const m=f.maps||(f.maps={}),E=new Set,y=new URLSearchParams,S=()=>n||(n=new Promise((v,b)=>k(this,void 0,void 0,function*(){var w;yield l=p.createElement("script"),l.id=this.id,y.set("libraries",[...E]+"");for(u in i)y.set(u.replace(/[A-Z]/g,O=>"_"+O[0].toLowerCase()),i[u]);y.set("callback",a+".maps."+g),l.src=this.url+"?"+y,m[g]=v,l.onerror=()=>n=b(Error(c+" could not load.")),l.nonce=this.nonce||((w=p.querySelector("script[nonce]"))===null||w===void 0?void 0:w.nonce)||"",p.head.append(l)})));m[h]?console.warn(c+" only loads once. Ignoring:",i):m[h]=(v,...b)=>E.add(v)&&S().then(()=>m[h](v,...b))})(r);const o=this.libraries.map(i=>this.importLibrary(i));o.length||o.push(this.importLibrary("core")),Promise.all(o).then(()=>this.callback(),i=>{const n=new ErrorEvent("error",{error:i});this.loadErrorCallback(n)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const t=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},t)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading=!0,this.setScript()}}}exports.DEFAULT_ID=I;exports.Loader=d;
@@ -5,22 +5,22 @@ function _(s, e, i, r) {
5
5
  });
6
6
  }
7
7
  return new (i || (i = Promise))(function(t, o) {
8
- function a(l) {
8
+ function l(a) {
9
9
  try {
10
- c(r.next(l));
10
+ c(r.next(a));
11
11
  } catch (h) {
12
12
  o(h);
13
13
  }
14
14
  }
15
- function u(l) {
15
+ function u(a) {
16
16
  try {
17
- c(r.throw(l));
17
+ c(r.throw(a));
18
18
  } catch (h) {
19
19
  o(h);
20
20
  }
21
21
  }
22
- function c(l) {
23
- l.done ? t(l.value) : n(l.value).then(a, u);
22
+ function c(a) {
23
+ a.done ? t(a.value) : n(a.value).then(l, u);
24
24
  }
25
25
  c((r = r.apply(s, [])).next());
26
26
  });
@@ -68,8 +68,8 @@ class p {
68
68
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
69
69
  * ```
70
70
  */
71
- constructor({ apiKey: e, authReferrerPolicy: i, channel: r, client: n, id: t = S, language: o, libraries: a = [], mapIds: u, nonce: c, region: l, retries: h = 3, url: m = "https://maps.googleapis.com/maps/api/js", version: d }) {
72
- if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = i, this.channel = r, this.client = n, this.id = t || S, this.language = o, this.libraries = a, this.mapIds = u, this.nonce = c, this.region = l, this.retries = h, this.url = m, this.version = d, p.instance) {
71
+ constructor({ apiKey: e, authReferrerPolicy: i, channel: r, client: n, id: t = S, language: o, libraries: l = [], mapIds: u, nonce: c, region: a, retries: h = 3, url: m = "https://maps.googleapis.com/maps/api/js", version: d }) {
72
+ if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = i, this.channel = r, this.client = n, this.id = t || S, this.language = o, this.libraries = l, this.mapIds = u, this.nonce = c, this.region = a, this.retries = h, this.url = m, this.version = d, p.instance) {
73
73
  if (!A(this.options, p.instance.options))
74
74
  throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(p.instance.options)}`);
75
75
  return p.instance;
@@ -166,16 +166,16 @@ class p {
166
166
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
167
167
  (t) => !r[t] && delete r[t]
168
168
  ), !((i = (e = window == null ? void 0 : window.google) === null || e === void 0 ? void 0 : e.maps) === null || i === void 0) && i.importLibrary || ((t) => {
169
- let o, a, u, c = "The Google Maps JavaScript API", l = "google", h = "importLibrary", m = "__ib__", d = document, g = window;
170
- g = g[l] || (g[l] = {});
169
+ let o, l, u, c = "The Google Maps JavaScript API", a = "google", h = "importLibrary", m = "__ib__", d = document, g = window;
170
+ g = g[a] || (g[a] = {});
171
171
  const y = g.maps || (g.maps = {}), E = /* @__PURE__ */ new Set(), v = new URLSearchParams(), k = () => (
172
172
  // @ts-ignore
173
173
  o || (o = new Promise((b, w) => _(this, void 0, void 0, function* () {
174
174
  var I;
175
- yield a = d.createElement("script"), a.id = this.id, v.set("libraries", [...E] + "");
175
+ yield l = d.createElement("script"), l.id = this.id, v.set("libraries", [...E] + "");
176
176
  for (u in t)
177
177
  v.set(u.replace(/[A-Z]/g, (O) => "_" + O[0].toLowerCase()), t[u]);
178
- v.set("callback", l + ".maps." + m), a.src = this.url + "?" + v, y[m] = b, a.onerror = () => o = w(Error(c + " could not load.")), a.nonce = this.nonce || ((I = d.querySelector("script[nonce]")) === null || I === void 0 ? void 0 : I.nonce) || "", d.head.append(a);
178
+ v.set("callback", a + ".maps." + m), l.src = this.url + "?" + v, y[m] = b, l.onerror = () => o = w(Error(c + " could not load.")), l.nonce = this.nonce || ((I = d.querySelector("script[nonce]")) === null || I === void 0 ? void 0 : I.nonce) || "", d.head.append(l);
179
179
  })))
180
180
  );
181
181
  y[h] ? console.warn(c + " only loads once. Ignoring:", t) : y[h] = (b, ...w) => E.add(b) && k().then(() => y[h](b, ...w));
@@ -210,15 +210,16 @@ class p {
210
210
  }), this.callbacks = [];
211
211
  }
212
212
  execute() {
213
- if (this.resetIfRetryingFailed(), this.done)
214
- this.callback();
215
- else {
216
- if (window.google && window.google.maps && window.google.maps.version) {
217
- console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."), this.callback();
218
- return;
213
+ if (this.resetIfRetryingFailed(), !this.loading)
214
+ if (this.done)
215
+ this.callback();
216
+ else {
217
+ if (window.google && window.google.maps && window.google.maps.version) {
218
+ console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."), this.callback();
219
+ return;
220
+ }
221
+ this.loading = !0, this.setScript();
219
222
  }
220
- this.loading || (this.loading = !0, this.setScript());
221
- }
222
223
  }
223
224
  }
224
225
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function xt(t){return typeof t=="number"}function yt(t){return typeof t=="string"}function Et(t){return typeof t=="boolean"}function Ot(t){return Object.prototype.toString.call(t)==="[object Object]"}function A(t){return Math.abs(t)}function Lt(t){return Math.sign(t)}function it(t,n){return A(t-n)}function Ut(t,n){if(t===0||n===0||A(t)<=A(n))return 0;const r=it(A(t),A(n));return A(r/t)}function ct(t){return ut(t).map(Number)}function j(t){return t[at(t)]}function at(t){return Math.max(0,t.length-1)}function It(t,n){return n===at(t)}function Ct(t,n=0){return Array.from(Array(t),(r,s)=>n+s)}function ut(t){return Object.keys(t)}function wt(t,n){return[t,n].reduce((r,s)=>(ut(s).forEach(i=>{const e=r[i],o=s[i],f=Ot(e)&&Ot(o);r[i]=f?wt(e,o):o}),r),{})}function bt(t,n){return typeof n.MouseEvent<"u"&&t instanceof n.MouseEvent}function $t(t,n){const r={start:s,center:i,end:e};function s(){return 0}function i(c){return e(c)/2}function e(c){return n-c}function o(c,u){return yt(t)?r[t](c):t(n,c,u)}return{measure:o}}function ft(){let t=[];function n(i,e,o,f={passive:!0}){let c;if("addEventListener"in i)i.addEventListener(e,o,f),c=()=>i.removeEventListener(e,o,f);else{const u=i;u.addListener(o),c=()=>u.removeListener(o)}return t.push(c),s}function r(){t=t.filter(i=>i())}const s={add:n,clear:r};return s}function Qt(t,n,r,s){const i=ft(),e=1e3/60;let o=null,f=0,c=0;function u(){i.add(t,"visibilitychange",()=>{t.hidden&&d()})}function h(){x(),i.clear()}function l(S){if(!c)return;o||(o=S);const a=S-o;for(o=S,f+=a;f>=e;)r(),f-=e;const g=A(f/e);s(g),c&&n.requestAnimationFrame(l)}function m(){c||(c=n.requestAnimationFrame(l))}function x(){n.cancelAnimationFrame(c),o=null,f=0,c=0}function d(){o=null,f=0}return{init:u,destroy:h,start:m,stop:x,update:r,render:s}}function _t(t,n){const r=n==="rtl",s=t==="y",i=s?"y":"x",e=s?"x":"y",o=!s&&r?-1:1,f=h(),c=l();function u(d){const{height:p,width:S}=d;return s?p:S}function h(){return s?"top":r?"right":"left"}function l(){return s?"bottom":r?"left":"right"}function m(d){return d*o}return{scroll:i,cross:e,startEdge:f,endEdge:c,measureSize:u,direction:m}}function nt(t=0,n=0){const r=A(t-n);function s(u){return u<t}function i(u){return u>n}function e(u){return s(u)||i(u)}function o(u){return e(u)?s(u)?t:n:u}function f(u){return r?u-r*Math.ceil((u-n)/r):u}return{length:r,max:n,min:t,constrain:o,reachedAny:e,reachedMax:i,reachedMin:s,removeOffset:f}}function Nt(t,n,r){const{constrain:s}=nt(0,t),i=t+1;let e=o(n);function o(m){return r?A((i+m)%i):s(m)}function f(){return e}function c(m){return e=o(m),l}function u(m){return h().set(f()+m)}function h(){return Nt(t,f(),r)}const l={get:f,set:c,add:u,clone:h};return l}function Kt(t,n,r,s,i,e,o,f,c,u,h,l,m,x,d,p,S,a,g){const{cross:b,direction:L}=t,v=["INPUT","SELECT","TEXTAREA"],F={passive:!1},E=ft(),I=ft(),D=nt(50,225).constrain(x.measure(20)),M={mouse:300,touch:400},O={mouse:500,touch:600},V=d?43:25;let X=!1,B=0,U=0,J=!1,$=!1,Y=!1,Q=!1;function Z(y){if(!g)return;function T(w){(Et(g)||g(y,w))&&z(w)}const C=n;E.add(C,"dragstart",w=>w.preventDefault(),F).add(C,"touchmove",()=>{},F).add(C,"touchend",()=>{}).add(C,"touchstart",T).add(C,"mousedown",T).add(C,"touchcancel",N).add(C,"contextmenu",N).add(C,"click",ot,!0)}function _(){E.clear(),I.clear()}function et(){const y=Q?r:n;I.add(y,"touchmove",R,F).add(y,"touchend",N).add(y,"mousemove",R,F).add(y,"mouseup",N)}function K(y){const T=y.nodeName||"";return v.includes(T)}function rt(){return(d?O:M)[Q?"mouse":"touch"]}function st(y,T){const C=l.add(Lt(y)*-1),w=h.byDistance(y,!d).distance;return d||A(y)<D?w:S&&T?w*.5:h.byIndex(C.get(),0).distance}function z(y){const T=bt(y,s);Q=T,Y=d&&T&&!y.buttons&&X,X=it(i.get(),o.get())>=2,!(T&&y.button!==0)&&(K(y.target)||(J=!0,e.pointerDown(y),u.useFriction(0).useDuration(0),i.set(o),et(),B=e.readPoint(y),U=e.readPoint(y,b),m.emit("pointerDown")))}function R(y){if(!bt(y,s)&&y.touches.length>=2)return N(y);const C=e.readPoint(y),w=e.readPoint(y,b),q=it(C,B),H=it(w,U);if(!$&&!Q&&(!y.cancelable||($=q>H,!$)))return N(y);const G=e.pointerMove(y);q>p&&(Y=!0),u.useFriction(.3).useDuration(.75),f.start(),i.add(L(G)),y.preventDefault()}function N(y){const C=h.byDistance(0,!1).index!==l.get(),w=e.pointerUp(y)*rt(),q=st(L(w),C),H=Ut(w,q),G=V-10*H,W=a+H/50;$=!1,J=!1,I.clear(),u.useDuration(G).useFriction(W),c.distance(q,!d),Q=!1,m.emit("pointerUp")}function ot(y){Y&&(y.stopPropagation(),y.preventDefault(),Y=!1)}function k(){return J}return{init:Z,destroy:_,pointerDown:k}}function Xt(t,n){let s,i;function e(l){return l.timeStamp}function o(l,m){const d=`client${(m||t.scroll)==="x"?"X":"Y"}`;return(bt(l,n)?l:l.touches[0])[d]}function f(l){return s=l,i=l,o(l)}function c(l){const m=o(l)-o(i),x=e(l)-e(s)>170;return i=l,x&&(s=l),m}function u(l){if(!s||!i)return 0;const m=o(i)-o(s),x=e(l)-e(s),d=e(l)-e(i)>170,p=m/x;return x&&!d&&A(p)>.1?p:0}return{pointerDown:f,pointerMove:c,pointerUp:u,readPoint:o}}function Yt(){function t(r){const{offsetTop:s,offsetLeft:i,offsetWidth:e,offsetHeight:o}=r;return{top:s,right:i+e,bottom:s+o,left:i,width:e,height:o}}return{measure:t}}function Jt(t){function n(s){return t*(s/100)}return{measure:n}}function Zt(t,n,r,s,i,e,o){let f,c,u=[],h=!1;function l(p){return i.measureSize(o.measure(p))}function m(p){if(!e)return;c=l(t),u=s.map(l);function S(g){for(const b of g){const L=b.target===t,v=s.indexOf(b.target),F=L?c:u[v],E=l(L?t:s[v]);if(A(E-F)>=.5){r.requestAnimationFrame(()=>{p.reInit(),n.emit("resize")});break}}}f=new ResizeObserver(g=>{h||(Et(e)||e(p,g))&&S(g)}),[t].concat(s).forEach(g=>f.observe(g))}function x(){f&&f.disconnect(),h=!0}return{init:m,destroy:x}}function Wt(t,n,r,s,i){let e=0,o=0,f=s,c=i,u=t.get(),h=0;function l(){const v=r.get()-t.get(),F=!f;let E=0;return F?(e=0,t.set(r),E=v):(e+=v/f,e*=c,u+=e,t.add(e),E=u-h),o=Lt(E),h=u,L}function m(){const v=r.get()-n.get();return A(v)<.001}function x(){return f}function d(){return o}function p(){return e}function S(){return g(s)}function a(){return b(i)}function g(v){return f=v,L}function b(v){return c=v,L}const L={direction:d,duration:x,velocity:p,seek:l,settled:m,useBaseFriction:a,useBaseDuration:S,useFriction:b,useDuration:g};return L}function tn(t,n,r,s,i){const e=i.measure(10),o=i.measure(50),f=nt(.1,.99);let c=!1;function u(){return!(c||!t.reachedAny(r.get())||!t.reachedAny(n.get()))}function h(x){if(!u())return;const d=t.reachedMin(n.get())?"min":"max",p=A(t[d]-n.get()),S=r.get()-n.get(),a=f.constrain(p/o);r.subtract(S*a),!x&&A(S)<e&&(r.set(t.constrain(r.get())),s.useDuration(25).useBaseFriction())}function l(x){c=!x}return{constrain:h,toggleActive:l}}function nn(t,n,r,s,i){const e=nt(-n+t,0),o=l(),f=h(),c=m();function u(d,p){return it(d,p)<1}function h(){const d=o[0],p=j(o),S=o.lastIndexOf(d),a=o.indexOf(p)+1;return nt(S,a)}function l(){return r.map((d,p)=>{const{min:S,max:a}=e,g=e.constrain(d),b=!p,L=It(r,p);return b?a:L||u(S,g)?S:u(a,g)?a:g}).map(d=>parseFloat(d.toFixed(3)))}function m(){if(n<=t+i)return[e.max];if(s==="keepSnaps")return o;const{min:d,max:p}=f;return o.slice(d,p)}return{snapsContained:c,scrollContainLimit:f}}function en(t,n,r){const s=n[0],i=r?s-t:j(n);return{limit:nt(i,s)}}function on(t,n,r,s){const e=n.min+.1,o=n.max+.1,{reachedMin:f,reachedMax:c}=nt(e,o);function u(m){return m===1?c(r.get()):m===-1?f(r.get()):!1}function h(m){if(!u(m))return;const x=t*(m*-1);s.forEach(d=>d.add(x))}return{loop:h}}function rn(t){const{max:n,length:r}=t;function s(e){const o=e-n;return r?o/-r:0}return{get:s}}function sn(t,n,r,s,i){const{startEdge:e,endEdge:o}=t,{groupSlides:f}=i,c=l().map(n.measure),u=m(),h=x();function l(){return f(s).map(p=>j(p)[o]-p[0][e]).map(A)}function m(){return s.map(p=>r[e]-p[e]).map(p=>-A(p))}function x(){return f(u).map(p=>p[0]).map((p,S)=>p+c[S])}return{snaps:u,snapsAligned:h}}function cn(t,n,r,s,i,e){const{groupSlides:o}=i,{min:f,max:c}=s,u=h();function h(){const m=o(e),x=!t||n==="keepSnaps";return r.length===1?[e]:x?m:m.slice(f,c).map((d,p,S)=>{const a=!p,g=It(S,p);if(a){const b=j(S[0])+1;return Ct(b)}if(g){const b=at(e)-j(S)[0]+1;return Ct(b,j(S)[0])}return d})}return{slideRegistry:u}}function un(t,n,r,s,i){const{reachedAny:e,removeOffset:o,constrain:f}=s;function c(d){return d.concat().sort((p,S)=>A(p)-A(S))[0]}function u(d){const p=t?o(d):f(d),S=n.map((g,b)=>({diff:h(g-p,0),index:b})).sort((g,b)=>A(g.diff)-A(b.diff)),{index:a}=S[0];return{index:a,distance:p}}function h(d,p){const S=[d,d+r,d-r];if(!t)return d;if(!p)return c(S);const a=S.filter(g=>Lt(g)===p);return a.length?c(a):j(S)-r}function l(d,p){const S=n[d]-i.get(),a=h(S,p);return{index:d,distance:a}}function m(d,p){const S=i.get()+d,{index:a,distance:g}=u(S),b=!t&&e(S);if(!p||b)return{index:a,distance:d};const L=n[a]-g,v=d+h(L,0);return{index:a,distance:v}}return{byDistance:m,byIndex:l,shortcut:h}}function fn(t,n,r,s,i,e,o){function f(l){const m=l.distance,x=l.index!==n.get();e.add(m),m&&(s.duration()?t.start():(t.update(),t.render(1),t.update())),x&&(r.set(n.get()),n.set(l.index),o.emit("select"))}function c(l,m){const x=i.byDistance(l,m);f(x)}function u(l,m){const x=n.clone().set(l),d=i.byIndex(x.get(),m);f(d)}return{distance:c,index:u}}function an(t,n,r,s,i,e,o){let f=0;function c(){e.add(document,"keydown",u,!1),n.forEach(h)}function u(m){m.code==="Tab"&&(f=new Date().getTime())}function h(m){const x=()=>{if(new Date().getTime()-f>10)return;t.scrollLeft=0;const S=n.indexOf(m),a=r.findIndex(g=>g.includes(S));xt(a)&&(i.useDuration(0),s.index(a,0),o.emit("slideFocus"))};e.add(m,"focus",x,{passive:!0,capture:!0})}return{init:c}}function dt(t){let n=t;function r(){return n}function s(c){n=o(c)}function i(c){n+=o(c)}function e(c){n-=o(c)}function o(c){return xt(c)?c:c.get()}return{get:r,set:s,add:i,subtract:e}}function Vt(t,n){const r=t.scroll==="x"?e:o,s=n.style;let i=!1;function e(l){return`translate3d(${l}px,0px,0px)`}function o(l){return`translate3d(0px,${l}px,0px)`}function f(l){i||(s.transform=r(t.direction(l)))}function c(l){i=!l}function u(){i||(s.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:u,to:f,toggleActive:c}}function ln(t,n,r,s,i,e,o,f,c){const h=ct(i),l=ct(i).reverse(),m=a().concat(g());function x(E,I){return E.reduce((D,M)=>D-i[M],I)}function d(E,I){return E.reduce((D,M)=>x(D,I)>0?D.concat([M]):D,[])}function p(E){return e.map((I,D)=>({start:I-s[D]+.5+E,end:I+n-.5+E}))}function S(E,I,D){const M=p(I);return E.map(O=>{const V=D?0:-r,X=D?r:0,B=D?"end":"start",U=M[O][B];return{index:O,loopPoint:U,slideLocation:dt(-1),translate:Vt(t,c[O]),target:()=>f.get()>U?V:X}})}function a(){const E=o[0],I=d(l,E);return S(I,r,!1)}function g(){const E=n-o[0]-1,I=d(h,E);return S(I,-r,!0)}function b(){return m.every(({index:E})=>{const I=h.filter(D=>D!==E);return x(I,n)<=.1})}function L(){m.forEach(E=>{const{target:I,translate:D,slideLocation:M}=E,O=I();O!==M.get()&&(D.to(O),M.set(O))})}function v(){m.forEach(E=>E.translate.clear())}return{canLoop:b,clear:v,loop:L,loopPoints:m}}function dn(t,n,r){let s,i=!1;function e(c){if(!r)return;function u(h){for(const l of h)if(l.type==="childList"){c.reInit(),n.emit("slidesChanged");break}}s=new MutationObserver(h=>{i||(Et(r)||r(c,h))&&u(h)}),s.observe(t,{childList:!0})}function o(){s&&s.disconnect(),i=!0}return{init:e,destroy:o}}function pn(t,n,r,s){const i={};let e=null,o=null,f,c=!1;function u(){f=new IntersectionObserver(d=>{c||(d.forEach(p=>{const S=n.indexOf(p.target);i[S]=p}),e=null,o=null,r.emit("slidesInView"))},{root:t.parentElement,threshold:s}),n.forEach(d=>f.observe(d))}function h(){f&&f.disconnect(),c=!0}function l(d){return ut(i).reduce((p,S)=>{const a=parseInt(S),{isIntersecting:g}=i[a];return(d&&g||!d&&!g)&&p.push(a),p},[])}function m(d=!0){if(d&&e)return e;if(!d&&o)return o;const p=l(d);return d&&(e=p),d||(o=p),p}return{init:u,destroy:h,get:m}}function mn(t,n,r,s,i,e){const{measureSize:o,startEdge:f,endEdge:c}=t,u=r[0]&&i,h=d(),l=p(),m=r.map(o),x=S();function d(){if(!u)return 0;const g=r[0];return A(n[f]-g[f])}function p(){if(!u)return 0;const g=e.getComputedStyle(j(s));return parseFloat(g.getPropertyValue(`margin-${c}`))}function S(){return r.map((g,b,L)=>{const v=!b,F=It(L,b);return v?m[b]+h:F?m[b]+l:L[b+1][f]-g[f]}).map(A)}return{slideSizes:m,slideSizesWithGaps:x,startGap:h,endGap:l}}function gn(t,n,r,s,i,e,o,f,c){const{startEdge:u,endEdge:h,direction:l}=t,m=xt(r);function x(a,g){return ct(a).filter(b=>b%g===0).map(b=>a.slice(b,b+g))}function d(a){return a.length?ct(a).reduce((g,b,L)=>{const v=j(g)||0,F=v===0,E=b===at(a),I=i[u]-e[v][u],D=i[u]-e[b][h],M=!s&&F?l(o):0,O=!s&&E?l(f):0,V=A(D-O-(I+M));return L&&V>n+c&&g.push(b),E&&g.push(a.length),g},[]).map((g,b,L)=>{const v=Math.max(L[b-1]||0);return a.slice(v,g)}):[]}function p(a){return m?x(a,r):d(a)}return{groupSlides:p}}function hn(t,n,r,s,i,e,o){const{align:f,axis:c,direction:u,startIndex:h,loop:l,duration:m,dragFree:x,dragThreshold:d,inViewThreshold:p,slidesToScroll:S,skipSnaps:a,containScroll:g,watchResize:b,watchSlides:L,watchDrag:v}=e,F=2,E=Yt(),I=E.measure(n),D=r.map(E.measure),M=_t(c,u),O=M.measureSize(I),V=Jt(O),X=$t(f,O),B=!l&&!!g,U=l||!!g,{slideSizes:J,slideSizesWithGaps:$,startGap:Y,endGap:Q}=mn(M,I,D,r,U,i),Z=gn(M,O,S,l,I,D,Y,Q,F),{snaps:_,snapsAligned:et}=sn(M,X,I,D,Z),K=-j(_)+j($),{snapsContained:rt,scrollContainLimit:st}=nn(O,K,et,g,F),z=B?rt:et,{limit:R}=en(K,z,l),N=Nt(at(z),h,l),ot=N.clone(),k=ct(r),P=({dragHandler:tt,scrollBody:ht,scrollBounds:St,options:{loop:lt}})=>{lt||St.constrain(tt.pointerDown()),ht.seek()},y=({scrollBody:tt,translate:ht,location:St,offsetLocation:lt,scrollLooper:kt,slideLooper:Ht,dragHandler:Gt,animation:jt,eventHandler:At,options:{loop:Rt}},qt)=>{const Ft=tt.velocity(),Pt=tt.settled();Pt&&!Gt.pointerDown()&&(jt.stop(),At.emit("settle")),Pt||At.emit("scroll"),lt.set(St.get()-Ft+Ft*qt),Rt&&(kt.loop(tt.direction()),Ht.loop()),ht.to(lt.get())},T=Qt(s,i,()=>P(gt),tt=>y(gt,tt)),C=.68,w=z[N.get()],q=dt(w),H=dt(w),G=dt(w),W=Wt(q,H,G,m,C),pt=un(l,z,K,R,G),mt=fn(T,N,ot,W,pt,G,o),Tt=rn(R),Dt=ft(),zt=pn(n,r,o,p),{slideRegistry:Mt}=cn(B,g,z,st,Z,k),Bt=an(t,r,Mt,mt,W,Dt,o),gt={ownerDocument:s,ownerWindow:i,eventHandler:o,containerRect:I,slideRects:D,animation:T,axis:M,dragHandler:Kt(M,t,s,i,G,Xt(M,i),q,T,mt,W,pt,N,o,V,x,d,a,C,v),eventStore:Dt,percentOfView:V,index:N,indexPrevious:ot,limit:R,location:q,offsetLocation:H,options:e,resizeHandler:Zt(n,o,i,r,M,b,E),scrollBody:W,scrollBounds:tn(R,H,G,W,V),scrollLooper:on(K,R,H,[q,H,G]),scrollProgress:Tt,scrollSnapList:z.map(Tt.get),scrollSnaps:z,scrollTarget:pt,scrollTo:mt,slideLooper:ln(M,O,K,J,$,_,z,H,r),slideFocus:Bt,slidesHandler:dn(n,o,L),slidesInView:zt,slideIndexes:k,slideRegistry:Mt,slidesToScroll:Z,target:G,translate:Vt(M,n)};return gt}function Sn(){let t={},n;function r(u){n=u}function s(u){return t[u]||[]}function i(u){return s(u).forEach(h=>h(n,u)),c}function e(u,h){return t[u]=s(u).concat([h]),c}function o(u,h){return t[u]=s(u).filter(l=>l!==h),c}function f(){t={}}const c={init:r,emit:i,off:o,on:e,clear:f};return c}const yn={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function bn(t){function n(e,o){return wt(e,o||{})}function r(e){const o=e.breakpoints||{},f=ut(o).filter(c=>t.matchMedia(c).matches).map(c=>o[c]).reduce((c,u)=>n(c,u),{});return n(e,f)}function s(e){return e.map(o=>ut(o.breakpoints||{})).reduce((o,f)=>o.concat(f),[]).map(t.matchMedia)}return{mergeOptions:n,optionsAtMedia:r,optionsMediaQueries:s}}function xn(t){let n=[];function r(e,o){return n=o.filter(({options:f})=>t.optionsAtMedia(f).active!==!1),n.forEach(f=>f.init(e,t)),o.reduce((f,c)=>Object.assign(f,{[c.name]:c}),{})}function s(){n=n.filter(e=>e.destroy())}return{init:r,destroy:s}}function vt(t,n,r){const s=t.ownerDocument,i=s.defaultView,e=bn(i),o=xn(e),f=ft(),c=Sn(),{mergeOptions:u,optionsAtMedia:h,optionsMediaQueries:l}=e,{on:m,off:x,emit:d}=c,p=O;let S=!1,a,g=u(yn,vt.globalOptions),b=u(g),L=[],v,F,E;function I(){const{container:P,slides:y}=b;F=(yt(P)?t.querySelector(P):P)||t.children[0];const C=yt(y)?F.querySelectorAll(y):y;E=[].slice.call(C||F.children)}function D(P){const y=hn(t,F,E,s,i,P,c);if(P.loop&&!y.slideLooper.canLoop()){const T=Object.assign({},P,{loop:!1});return D(T)}return y}function M(P,y){S||(g=u(g,P),b=h(g),L=y||L,I(),a=D(b),l([g,...L.map(({options:T})=>T)]).forEach(T=>f.add(T,"change",O)),b.active&&(a.translate.to(a.location.get()),a.animation.init(),a.slidesInView.init(),a.slideFocus.init(),a.eventHandler.init(k),a.resizeHandler.init(k),a.slidesHandler.init(k),a.options.loop&&a.slideLooper.loop(),F.offsetParent&&E.length&&a.dragHandler.init(k),v=o.init(k,L)))}function O(P,y){const T=_();V(),M(u({startIndex:T},P),y),c.emit("reInit")}function V(){a.dragHandler.destroy(),a.eventStore.clear(),a.translate.clear(),a.slideLooper.clear(),a.resizeHandler.destroy(),a.slidesHandler.destroy(),a.slidesInView.destroy(),a.animation.destroy(),o.destroy(),f.clear()}function X(){S||(S=!0,f.clear(),V(),c.emit("destroy"),c.clear())}function B(P,y,T){!b.active||S||(a.scrollBody.useBaseFriction().useDuration(y===!0?0:b.duration),a.scrollTo.index(P,T||0))}function U(P){const y=a.index.add(1).get();B(y,P,-1)}function J(P){const y=a.index.add(-1).get();B(y,P,1)}function $(){return a.index.add(1).get()!==_()}function Y(){return a.index.add(-1).get()!==_()}function Q(){return a.scrollSnapList}function Z(){return a.scrollProgress.get(a.location.get())}function _(){return a.index.get()}function et(){return a.indexPrevious.get()}function K(){return a.slidesInView.get()}function rt(){return a.slidesInView.get(!1)}function st(){return v}function z(){return a}function R(){return t}function N(){return F}function ot(){return E}const k={canScrollNext:$,canScrollPrev:Y,containerNode:N,internalEngine:z,destroy:X,off:x,on:m,emit:d,plugins:st,previousScrollSnap:et,reInit:p,rootNode:R,scrollNext:U,scrollPrev:J,scrollProgress:Z,scrollSnapList:Q,scrollTo:B,selectedScrollSnap:_,slideNodes:ot,slidesInView:K,slidesNotInView:rt};return M(n,r),setTimeout(()=>c.emit("init"),0),k}vt.globalOptions=void 0;exports.default=vt;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function Et(t){return typeof t=="number"}function xt(t){return typeof t=="string"}function It(t){return typeof t=="boolean"}function Vt(t){return Object.prototype.toString.call(t)==="[object Object]"}function P(t){return Math.abs(t)}function Tt(t){return Math.sign(t)}function ut(t,n){return P(t-n)}function Kt(t,n){if(t===0||n===0||P(t)<=P(n))return 0;const r=ut(P(t),P(n));return P(r/t)}function ft(t){return at(t).map(Number)}function H(t){return t[dt(t)]}function dt(t){return Math.max(0,t.length-1)}function vt(t,n){return n===dt(t)}function zt(t,n=0){return Array.from(Array(t),(r,s)=>n+s)}function at(t){return Object.keys(t)}function Bt(t,n){return[t,n].reduce((r,s)=>(at(s).forEach(c=>{const o=r[c],e=s[c],f=Vt(o)&&Vt(e);r[c]=f?Bt(o,e):e}),r),{})}function Lt(t,n){return typeof n.MouseEvent<"u"&&t instanceof n.MouseEvent}function Xt(t,n){const r={start:s,center:c,end:o};function s(){return 0}function c(i){return o(i)/2}function o(i){return n-i}function e(i,u){return xt(t)?r[t](i):t(n,i,u)}return{measure:e}}function lt(){let t=[];function n(c,o,e,f={passive:!0}){let i;if("addEventListener"in c)c.addEventListener(o,e,f),i=()=>c.removeEventListener(o,e,f);else{const u=c;u.addListener(e),i=()=>u.removeListener(e)}return t.push(i),s}function r(){t=t.filter(c=>c())}const s={add:n,clear:r};return s}function Yt(t,n,r,s){const c=lt(),o=1e3/60;let e=null,f=0,i=0;function u(){c.add(t,"visibilitychange",()=>{t.hidden&&d()})}function h(){x(),c.clear()}function l(g){if(!i)return;e||(e=g);const a=g-e;for(e=g,f+=a;f>=o;)r(o),f-=o;const S=f/o;s(S),i&&n.requestAnimationFrame(l)}function p(){i||(i=n.requestAnimationFrame(l))}function x(){n.cancelAnimationFrame(i),e=null,f=0,i=0}function d(){e=null,f=0}return{init:u,destroy:h,start:p,stop:x,update:()=>r(o),render:s}}function Jt(t,n){const r=n==="rtl",s=t==="y",c=s?"y":"x",o=s?"x":"y",e=!s&&r?-1:1,f=h(),i=l();function u(d){const{height:m,width:g}=d;return s?m:g}function h(){return s?"top":r?"right":"left"}function l(){return s?"bottom":r?"left":"right"}function p(d){return d*e}return{scroll:c,cross:o,startEdge:f,endEdge:i,measureSize:u,direction:p}}function nt(t=0,n=0){const r=P(t-n);function s(u){return u<t}function c(u){return u>n}function o(u){return s(u)||c(u)}function e(u){return o(u)?s(u)?t:n:u}function f(u){return r?u-r*Math.ceil((u-n)/r):u}return{length:r,max:n,min:t,constrain:e,reachedAny:o,reachedMax:c,reachedMin:s,removeOffset:f}}function kt(t,n,r){const{constrain:s}=nt(0,t),c=t+1;let o=e(n);function e(p){return r?P((c+p)%c):s(p)}function f(){return o}function i(p){return o=e(p),l}function u(p){return h().set(f()+p)}function h(){return kt(t,f(),r)}const l={get:f,set:i,add:u,clone:h};return l}function Zt(t,n,r,s,c,o,e,f,i,u,h,l,p,x,d,m,g,a,S){const{cross:b,direction:T}=t,A=["INPUT","SELECT","TEXTAREA"],v={passive:!1},L=lt(),E=lt(),I=nt(50,225).constrain(x.measure(20)),D={mouse:300,touch:400},F={mouse:500,touch:600},V=d?43:25;let Y=!1,B=0,q=0,W=!1,U=!1,J=!1,$=!1;function tt(y){if(!S)return;function M(w){(It(S)||S(y,w))&&z(w)}const C=n;L.add(C,"dragstart",w=>w.preventDefault(),v).add(C,"touchmove",()=>{},v).add(C,"touchend",()=>{}).add(C,"touchstart",M).add(C,"mousedown",M).add(C,"touchcancel",N).add(C,"contextmenu",N).add(C,"click",ot,!0)}function Q(){L.clear(),E.clear()}function et(){const y=$?r:n;E.add(y,"touchmove",G,v).add(y,"touchend",N).add(y,"mousemove",G,v).add(y,"mouseup",N)}function _(y){const M=y.nodeName||"";return A.includes(M)}function st(){return(d?F:D)[$?"mouse":"touch"]}function rt(y,M){const C=l.add(Tt(y)*-1),w=h.byDistance(y,!d).distance;return d||P(y)<I?w:g&&M?w*.5:h.byIndex(C.get(),0).distance}function z(y){const M=Lt(y,s);$=M,J=d&&M&&!y.buttons&&Y,Y=ut(c.get(),e.get())>=2,!(M&&y.button!==0)&&(_(y.target)||(W=!0,o.pointerDown(y),u.useFriction(0).useDuration(0),c.set(e),et(),B=o.readPoint(y),q=o.readPoint(y,b),p.emit("pointerDown")))}function G(y){if(!Lt(y,s)&&y.touches.length>=2)return N(y);const C=o.readPoint(y),w=o.readPoint(y,b),j=ut(C,B),K=ut(w,q);if(!U&&!$&&(!y.cancelable||(U=j>K,!U)))return N(y);const R=o.pointerMove(y);j>m&&(J=!0),u.useFriction(.3).useDuration(.75),f.start(),c.add(T(R)),y.preventDefault()}function N(y){const C=h.byDistance(0,!1).index!==l.get(),w=o.pointerUp(y)*st(),j=rt(T(w),C),K=Kt(w,j),R=V-10*K,X=a+K/50;U=!1,W=!1,E.clear(),u.useDuration(R).useFriction(X),i.distance(j,!d),$=!1,p.emit("pointerUp")}function ot(y){J&&(y.stopPropagation(),y.preventDefault(),J=!1)}function k(){return W}return{init:tt,destroy:Q,pointerDown:k}}function Wt(t,n){let s,c;function o(l){return l.timeStamp}function e(l,p){const d=`client${(p||t.scroll)==="x"?"X":"Y"}`;return(Lt(l,n)?l:l.touches[0])[d]}function f(l){return s=l,c=l,e(l)}function i(l){const p=e(l)-e(c),x=o(l)-o(s)>170;return c=l,x&&(s=l),p}function u(l){if(!s||!c)return 0;const p=e(c)-e(s),x=o(l)-o(s),d=o(l)-o(c)>170,m=p/x;return x&&!d&&P(m)>.1?m:0}return{pointerDown:f,pointerMove:i,pointerUp:u,readPoint:e}}function tn(){function t(r){const{offsetTop:s,offsetLeft:c,offsetWidth:o,offsetHeight:e}=r;return{top:s,right:c+o,bottom:s+e,left:c,width:o,height:e}}return{measure:t}}function nn(t){function n(s){return t*(s/100)}return{measure:n}}function en(t,n,r,s,c,o,e){const f=[t].concat(s);let i,u,h=[],l=!1;function p(g){return c.measureSize(e.measure(g))}function x(g){if(!o)return;u=p(t),h=s.map(p);function a(S){for(const b of S){if(l)return;const T=b.target===t,A=s.indexOf(b.target),v=T?u:h[A],L=p(T?t:s[A]);if(P(L-v)>=.5){g.reInit(),n.emit("resize");break}}}i=new ResizeObserver(S=>{(It(o)||o(g,S))&&a(S)}),r.requestAnimationFrame(()=>{f.forEach(S=>i.observe(S))})}function d(){l=!0,i&&i.disconnect()}return{init:x,destroy:d}}function on(t,n,r,s,c,o){let e=0,f=0,i=c,u=o,h=t.get(),l=0;function p(v){const L=v/1e3,E=i*L,I=s.get()-t.get(),D=!i;let F=0;return D?(e=0,r.set(s),t.set(s),F=I):(r.set(t),e+=I/E,e*=u,h+=e,t.add(e*L),F=h-l),f=Tt(F),l=h,A}function x(){const v=s.get()-n.get();return P(v)<.001}function d(){return i}function m(){return f}function g(){return e}function a(){return b(c)}function S(){return T(o)}function b(v){return i=v,A}function T(v){return u=v,A}const A={direction:m,duration:d,velocity:g,seek:p,settled:x,useBaseFriction:S,useBaseDuration:a,useFriction:T,useDuration:b};return A}function sn(t,n,r,s,c){const o=c.measure(10),e=c.measure(50),f=nt(.1,.99);let i=!1;function u(){return!(i||!t.reachedAny(r.get())||!t.reachedAny(n.get()))}function h(x){if(!u())return;const d=t.reachedMin(n.get())?"min":"max",m=P(t[d]-n.get()),g=r.get()-n.get(),a=f.constrain(m/e);r.subtract(g*a),!x&&P(g)<o&&(r.set(t.constrain(r.get())),s.useDuration(25).useBaseFriction())}function l(x){i=!x}return{shouldConstrain:u,constrain:h,toggleActive:l}}function rn(t,n,r,s,c){const o=nt(-n+t,0),e=l(),f=h(),i=p();function u(d,m){return ut(d,m)<1}function h(){const d=e[0],m=H(e),g=e.lastIndexOf(d),a=e.indexOf(m)+1;return nt(g,a)}function l(){return r.map((d,m)=>{const{min:g,max:a}=o,S=o.constrain(d),b=!m,T=vt(r,m);return b?a:T||u(g,S)?g:u(a,S)?a:S}).map(d=>parseFloat(d.toFixed(3)))}function p(){if(n<=t+c)return[o.max];if(s==="keepSnaps")return e;const{min:d,max:m}=f;return e.slice(d,m)}return{snapsContained:i,scrollContainLimit:f}}function cn(t,n,r){const s=n[0],c=r?s-t:H(n);return{limit:nt(c,s)}}function un(t,n,r,s){const o=n.min+.1,e=n.max+.1,{reachedMin:f,reachedMax:i}=nt(o,e);function u(p){return p===1?i(r.get()):p===-1?f(r.get()):!1}function h(p){if(!u(p))return;const x=t*(p*-1);s.forEach(d=>d.add(x))}return{loop:h}}function fn(t){const{max:n,length:r}=t;function s(o){const e=o-n;return r?e/-r:0}return{get:s}}function an(t,n,r,s,c){const{startEdge:o,endEdge:e}=t,{groupSlides:f}=c,i=l().map(n.measure),u=p(),h=x();function l(){return f(s).map(m=>H(m)[e]-m[0][o]).map(P)}function p(){return s.map(m=>r[o]-m[o]).map(m=>-P(m))}function x(){return f(u).map(m=>m[0]).map((m,g)=>m+i[g])}return{snaps:u,snapsAligned:h}}function ln(t,n,r,s,c,o){const{groupSlides:e}=c,{min:f,max:i}=s,u=h();function h(){const p=e(o),x=!t||n==="keepSnaps";return r.length===1?[o]:x?p:p.slice(f,i).map((d,m,g)=>{const a=!m,S=vt(g,m);if(a){const b=H(g[0])+1;return zt(b)}if(S){const b=dt(o)-H(g)[0]+1;return zt(b,H(g)[0])}return d})}return{slideRegistry:u}}function dn(t,n,r,s,c){const{reachedAny:o,removeOffset:e,constrain:f}=s;function i(d){return d.concat().sort((m,g)=>P(m)-P(g))[0]}function u(d){const m=t?e(d):f(d),g=n.map((S,b)=>({diff:h(S-m,0),index:b})).sort((S,b)=>P(S.diff)-P(b.diff)),{index:a}=g[0];return{index:a,distance:m}}function h(d,m){const g=[d,d+r,d-r];if(!t)return d;if(!m)return i(g);const a=g.filter(S=>Tt(S)===m);return a.length?i(a):H(g)-r}function l(d,m){const g=n[d]-c.get(),a=h(g,m);return{index:d,distance:a}}function p(d,m){const g=c.get()+d,{index:a,distance:S}=u(g),b=!t&&o(g);if(!m||b)return{index:a,distance:d};const T=n[a]-S,A=d+h(T,0);return{index:a,distance:A}}return{byDistance:p,byIndex:l,shortcut:h}}function pn(t,n,r,s,c,o,e){function f(l){const p=l.distance,x=l.index!==n.get();o.add(p),p&&(s.duration()?t.start():(t.update(),t.render(1),t.update())),x&&(r.set(n.get()),n.set(l.index),e.emit("select"))}function i(l,p){const x=c.byDistance(l,p);f(x)}function u(l,p){const x=n.clone().set(l),d=c.byIndex(x.get(),p);f(d)}return{distance:i,index:u}}function mn(t,n,r,s,c,o,e){let f=0;function i(){o.add(document,"keydown",u,!1),n.forEach(h)}function u(p){p.code==="Tab"&&(f=new Date().getTime())}function h(p){const x=()=>{if(new Date().getTime()-f>10)return;t.scrollLeft=0;const g=n.indexOf(p),a=r.findIndex(S=>S.includes(g));Et(a)&&(c.useDuration(0),s.index(a,0),e.emit("slideFocus"))};o.add(p,"focus",x,{passive:!0,capture:!0})}return{init:i}}function ct(t){let n=t;function r(){return n}function s(i){n=e(i)}function c(i){n+=e(i)}function o(i){n-=e(i)}function e(i){return Et(i)?i:i.get()}return{get:r,set:s,add:c,subtract:o}}function Ht(t,n){const r=t.scroll==="x"?o:e,s=n.style;let c=!1;function o(l){return`translate3d(${l}px,0px,0px)`}function e(l){return`translate3d(0px,${l}px,0px)`}function f(l){c||(s.transform=r(t.direction(l)))}function i(l){c=!l}function u(){c||(s.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:u,to:f,toggleActive:i}}function gn(t,n,r,s,c,o,e,f,i){const h=ft(c),l=ft(c).reverse(),p=a().concat(S());function x(L,E){return L.reduce((I,D)=>I-c[D],E)}function d(L,E){return L.reduce((I,D)=>x(I,E)>0?I.concat([D]):I,[])}function m(L){return o.map((E,I)=>({start:E-s[I]+.5+L,end:E+n-.5+L}))}function g(L,E,I){const D=m(E);return L.map(F=>{const V=I?0:-r,Y=I?r:0,B=I?"end":"start",q=D[F][B];return{index:F,loopPoint:q,slideLocation:ct(-1),translate:Ht(t,i[F]),target:()=>f.get()>q?V:Y}})}function a(){const L=e[0],E=d(l,L);return g(E,r,!1)}function S(){const L=n-e[0]-1,E=d(h,L);return g(E,-r,!0)}function b(){return p.every(({index:L})=>{const E=h.filter(I=>I!==L);return x(E,n)<=.1})}function T(){p.forEach(L=>{const{target:E,translate:I,slideLocation:D}=L,F=E();F!==D.get()&&(I.to(F),D.set(F))})}function A(){p.forEach(L=>L.translate.clear())}return{canLoop:b,clear:A,loop:T,loopPoints:p}}function hn(t,n,r){let s,c=!1;function o(i){if(!r)return;function u(h){for(const l of h)if(l.type==="childList"){i.reInit(),n.emit("slidesChanged");break}}s=new MutationObserver(h=>{c||(It(r)||r(i,h))&&u(h)}),s.observe(t,{childList:!0})}function e(){s&&s.disconnect(),c=!0}return{init:o,destroy:e}}function Sn(t,n,r,s){const c={};let o=null,e=null,f,i=!1;function u(){f=new IntersectionObserver(d=>{i||(d.forEach(m=>{const g=n.indexOf(m.target);c[g]=m}),o=null,e=null,r.emit("slidesInView"))},{root:t.parentElement,threshold:s}),n.forEach(d=>f.observe(d))}function h(){f&&f.disconnect(),i=!0}function l(d){return at(c).reduce((m,g)=>{const a=parseInt(g),{isIntersecting:S}=c[a];return(d&&S||!d&&!S)&&m.push(a),m},[])}function p(d=!0){if(d&&o)return o;if(!d&&e)return e;const m=l(d);return d&&(o=m),d||(e=m),m}return{init:u,destroy:h,get:p}}function yn(t,n,r,s,c,o){const{measureSize:e,startEdge:f,endEdge:i}=t,u=r[0]&&c,h=d(),l=m(),p=r.map(e),x=g();function d(){if(!u)return 0;const S=r[0];return P(n[f]-S[f])}function m(){if(!u)return 0;const S=o.getComputedStyle(H(s));return parseFloat(S.getPropertyValue(`margin-${i}`))}function g(){return r.map((S,b,T)=>{const A=!b,v=vt(T,b);return A?p[b]+h:v?p[b]+l:T[b+1][f]-S[f]}).map(P)}return{slideSizes:p,slideSizesWithGaps:x,startGap:h,endGap:l}}function bn(t,n,r,s,c,o,e,f,i){const{startEdge:u,endEdge:h,direction:l}=t,p=Et(r);function x(a,S){return ft(a).filter(b=>b%S===0).map(b=>a.slice(b,b+S))}function d(a){return a.length?ft(a).reduce((S,b,T)=>{const A=H(S)||0,v=A===0,L=b===dt(a),E=c[u]-o[A][u],I=c[u]-o[b][h],D=!s&&v?l(e):0,F=!s&&L?l(f):0,V=P(I-F-(E+D));return T&&V>n+i&&S.push(b),L&&S.push(a.length),S},[]).map((S,b,T)=>{const A=Math.max(T[b-1]||0);return a.slice(A,S)}):[]}function m(a){return p?x(a,r):d(a)}return{groupSlides:m}}function xn(t,n,r,s,c,o,e){const{align:f,axis:i,direction:u,startIndex:h,loop:l,duration:p,dragFree:x,dragThreshold:d,inViewThreshold:m,slidesToScroll:g,skipSnaps:a,containScroll:S,watchResize:b,watchSlides:T,watchDrag:A}=o,v=2,L=tn(),E=L.measure(n),I=r.map(L.measure),D=Jt(i,u),F=D.measureSize(E),V=nn(F),Y=Xt(f,F),B=!l&&!!S,q=l||!!S,{slideSizes:W,slideSizesWithGaps:U,startGap:J,endGap:$}=yn(D,E,I,r,q,c),tt=bn(D,F,g,l,E,I,J,$,v),{snaps:Q,snapsAligned:et}=an(D,Y,E,I,tt),_=-H(Q)+H(U),{snapsContained:st,scrollContainLimit:rt}=rn(F,_,et,S,v),z=B?st:et,{limit:G}=cn(_,z,l),N=kt(dt(z),h,l),ot=N.clone(),k=ft(r),O=({dragHandler:Z,scrollBody:St,scrollBounds:yt,options:{loop:pt}},bt)=>{pt||yt.constrain(Z.pointerDown()),St.seek(bt)},y=({scrollBody:Z,translate:St,location:yt,offsetLocation:pt,scrollLooper:bt,slideLooper:Rt,dragHandler:qt,animation:Ut,eventHandler:Pt,scrollBounds:$t,options:{loop:Ot}},Ct)=>{const wt=Z.settled(),Qt=!$t.shouldConstrain(),Nt=Ot?wt:wt&&Qt;Nt&&!qt.pointerDown()&&(Ut.stop(),Pt.emit("settle")),Nt||Pt.emit("scroll");const _t=yt.get()*Ct+K.get()*(1-Ct);pt.set(_t),Ot&&(bt.loop(Z.direction()),Rt.loop()),St.to(pt.get())},M=Yt(s,c,Z=>O(ht,Z),Z=>y(ht,Z)),C=.68,w=z[N.get()],j=ct(w),K=ct(w),R=ct(w),X=ct(w),it=on(j,R,K,X,p,C),mt=dn(l,z,_,G,X),gt=pn(M,N,ot,it,mt,X,e),Mt=fn(G),At=lt(),Gt=Sn(n,r,e,m),{slideRegistry:Ft}=ln(B,S,z,rt,tt,k),jt=mn(t,r,Ft,gt,it,At,e),ht={ownerDocument:s,ownerWindow:c,eventHandler:e,containerRect:E,slideRects:I,animation:M,axis:D,dragHandler:Zt(D,t,s,c,X,Wt(D,c),j,M,gt,it,mt,N,e,V,x,d,a,C,A),eventStore:At,percentOfView:V,index:N,indexPrevious:ot,limit:G,location:j,offsetLocation:R,previousLocation:K,options:o,resizeHandler:en(n,e,c,r,D,b,L),scrollBody:it,scrollBounds:sn(G,R,X,it,V),scrollLooper:un(_,G,R,[j,R,K,X]),scrollProgress:Mt,scrollSnapList:z.map(Mt.get),scrollSnaps:z,scrollTarget:mt,scrollTo:gt,slideLooper:gn(D,F,_,W,U,Q,z,R,r),slideFocus:jt,slidesHandler:hn(n,e,T),slidesInView:Gt,slideIndexes:k,slideRegistry:Ft,slidesToScroll:tt,target:X,translate:Ht(D,n)};return ht}function Ln(){let t={},n;function r(u){n=u}function s(u){return t[u]||[]}function c(u){return s(u).forEach(h=>h(n,u)),i}function o(u,h){return t[u]=s(u).concat([h]),i}function e(u,h){return t[u]=s(u).filter(l=>l!==h),i}function f(){t={}}const i={init:r,emit:c,off:e,on:o,clear:f};return i}const En={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function In(t){function n(o,e){return Bt(o,e||{})}function r(o){const e=o.breakpoints||{},f=at(e).filter(i=>t.matchMedia(i).matches).map(i=>e[i]).reduce((i,u)=>n(i,u),{});return n(o,f)}function s(o){return o.map(e=>at(e.breakpoints||{})).reduce((e,f)=>e.concat(f),[]).map(t.matchMedia)}return{mergeOptions:n,optionsAtMedia:r,optionsMediaQueries:s}}function Tn(t){let n=[];function r(o,e){return n=e.filter(({options:f})=>t.optionsAtMedia(f).active!==!1),n.forEach(f=>f.init(o,t)),e.reduce((f,i)=>Object.assign(f,{[i.name]:i}),{})}function s(){n=n.filter(o=>o.destroy())}return{init:r,destroy:s}}function Dt(t,n,r){const s=t.ownerDocument,c=s.defaultView,o=In(c),e=Tn(o),f=lt(),i=Ln(),{mergeOptions:u,optionsAtMedia:h,optionsMediaQueries:l}=o,{on:p,off:x,emit:d}=i,m=F;let g=!1,a,S=u(En,Dt.globalOptions),b=u(S),T=[],A,v,L;function E(){const{container:O,slides:y}=b;v=(xt(O)?t.querySelector(O):O)||t.children[0];const C=xt(y)?v.querySelectorAll(y):y;L=[].slice.call(C||v.children)}function I(O){const y=xn(t,v,L,s,c,O,i);if(O.loop&&!y.slideLooper.canLoop()){const M=Object.assign({},O,{loop:!1});return I(M)}return y}function D(O,y){g||(S=u(S,O),b=h(S),T=y||T,E(),a=I(b),l([S,...T.map(({options:M})=>M)]).forEach(M=>f.add(M,"change",F)),b.active&&(a.translate.to(a.location.get()),a.animation.init(),a.slidesInView.init(),a.slideFocus.init(),a.eventHandler.init(k),a.resizeHandler.init(k),a.slidesHandler.init(k),a.options.loop&&a.slideLooper.loop(),v.offsetParent&&L.length&&a.dragHandler.init(k),A=e.init(k,T)))}function F(O,y){const M=Q();V(),D(u({startIndex:M},O),y),i.emit("reInit")}function V(){a.dragHandler.destroy(),a.eventStore.clear(),a.translate.clear(),a.slideLooper.clear(),a.resizeHandler.destroy(),a.slidesHandler.destroy(),a.slidesInView.destroy(),a.animation.destroy(),e.destroy(),f.clear()}function Y(){g||(g=!0,f.clear(),V(),i.emit("destroy"),i.clear())}function B(O,y,M){!b.active||g||(a.scrollBody.useBaseFriction().useDuration(y===!0?0:b.duration),a.scrollTo.index(O,M||0))}function q(O){const y=a.index.add(1).get();B(y,O,-1)}function W(O){const y=a.index.add(-1).get();B(y,O,1)}function U(){return a.index.add(1).get()!==Q()}function J(){return a.index.add(-1).get()!==Q()}function $(){return a.scrollSnapList}function tt(){return a.scrollProgress.get(a.location.get())}function Q(){return a.index.get()}function et(){return a.indexPrevious.get()}function _(){return a.slidesInView.get()}function st(){return a.slidesInView.get(!1)}function rt(){return A}function z(){return a}function G(){return t}function N(){return v}function ot(){return L}const k={canScrollNext:U,canScrollPrev:J,containerNode:N,internalEngine:z,destroy:Y,off:x,on:p,emit:d,plugins:rt,previousScrollSnap:et,reInit:m,rootNode:G,scrollNext:q,scrollPrev:W,scrollProgress:tt,scrollSnapList:$,scrollTo:B,selectedScrollSnap:Q,slideNodes:ot,slidesInView:_,slidesNotInView:st};return D(n,r),setTimeout(()=>i.emit("init"),0),k}Dt.globalOptions=void 0;exports.default=Dt;