@konnectio/core 4.0.7 → 4.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActionField-b87d2fd7.cjs +1 -0
- package/dist/{ActionField-5ecfc9dc.js → ActionField-f3d5b218.js} +4 -4
- package/dist/ActionField-f3d5b218.js.br +0 -0
- package/dist/AvailabilitySkeleton-019ec202.js +150 -0
- package/dist/AvailabilitySkeleton-019ec202.js.br +0 -0
- package/dist/AvailabilitySkeleton-e288f5be.cjs +1 -0
- package/dist/Field-21bb32d7.cjs +1 -0
- package/dist/Field-6bfeedce.js +59 -0
- package/dist/Field-6bfeedce.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_style_index_0_lang-ab747739.js → SelectField.vue_vue_type_style_index_0_lang-701aecad.js} +7743 -6953
- package/dist/SelectField.vue_vue_type_style_index_0_lang-701aecad.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-a370e66d.cjs +797 -0
- package/dist/TextField-99e69631.cjs +54 -0
- package/dist/TextField-b8f4462a.js +9343 -0
- package/dist/TextField-b8f4462a.js.br +0 -0
- package/dist/ThankYou-add684c1.cjs +66 -0
- package/dist/ThankYou-edbf753b.js +14279 -0
- package/dist/ThankYou-edbf753b.js.br +0 -0
- package/dist/{_commonjsHelpers-aeeeeb92.js → _commonjsHelpers-c5d32002.js} +2 -2
- package/dist/{applyGiftCard-d9ab3dcf.cjs → applyGiftCard-c21f13ac.cjs} +1 -1
- package/dist/{applyGiftCard-c5e4aaad.js → applyGiftCard-dea77ba6.js} +7 -7
- package/dist/applyGiftCard-dea77ba6.js.br +0 -0
- package/dist/availability.cjs +2 -0
- package/dist/availability.js +236 -0
- package/dist/availability.js.br +0 -0
- package/dist/components/ErrorMessage.vue.d.ts +5 -0
- package/dist/components/ErrorMessage.vue.d.ts.map +1 -0
- package/dist/components/Icon.vue.d.ts +1 -1
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +1 -1
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
- package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/forms/ReservationFormTest.vue.d.ts +5 -0
- package/dist/components/forms/ReservationFormTest.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/listings/Test.vue.d.ts +1 -1
- package/dist/components/side-panels/Base.vue.d.ts +1 -1
- package/dist/components/side-panels/Hotel.vue.d.ts +3 -2
- package/dist/components/side-panels/Hotel.vue.d.ts.map +1 -1
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +5 -0
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +1 -0
- package/dist/components/skeletons/Field.vue.d.ts +5 -0
- package/dist/components/skeletons/Field.vue.d.ts.map +1 -0
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +5 -0
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +1 -0
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +5 -0
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +1 -0
- package/dist/components/skeletons/Listing.vue.d.ts +5 -0
- package/dist/components/skeletons/Listing.vue.d.ts.map +1 -0
- package/dist/components/skeletons/_.vue.d.ts +5 -0
- package/dist/components/skeletons/_.vue.d.ts.map +1 -0
- package/dist/entries/availability.d.ts +3 -2
- package/dist/entries/gift-card.d.ts +1 -2
- package/dist/entries/hotel.d.ts +0 -2
- package/dist/event-2c6a2138.cjs +1 -0
- package/dist/{event-a70cffeb.js → event-a9067cf5.js} +91 -91
- package/dist/event-a9067cf5.js.br +0 -0
- package/dist/event.cjs +2 -0
- package/dist/event.js +867 -0
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -0
- package/dist/{gift-card-validation.es.js → gift-card-validation.js} +42 -42
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -0
- package/dist/gift-card.d.ts +0 -2
- package/dist/gift-card.js +590 -0
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +19 -0
- package/dist/hotel.d.ts +0 -2
- package/dist/hotel.js +2981 -0
- package/dist/hotel.js.br +0 -0
- package/dist/{index-00262c16.js → index-d080b5a0.js} +5 -7
- package/dist/index-d080b5a0.js.br +0 -0
- package/dist/index-ec04c269.cjs +1 -0
- package/dist/layouts/Availability.vue.d.ts +42 -217
- package/dist/layouts/GiftCard.vue.d.ts +130 -99
- package/dist/layouts/Hotel.vue.d.ts +162 -57
- package/dist/{payment-fbffaa6d.cjs → payment-95b2392a.cjs} +2 -2
- package/dist/{payment-9e219e9b.js → payment-cce506b8.js} +930 -929
- package/dist/payment-cce506b8.js.br +0 -0
- package/dist/polyfill.cjs +4 -0
- package/dist/polyfill.js +6815 -0
- package/dist/polyfill.js.br +0 -0
- package/dist/store/availability.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +11 -21
- package/dist/ActionField-5ecfc9dc.js.br +0 -0
- package/dist/ActionField-ae9b1adf.cjs +0 -1
- package/dist/HotelAvailabilityForm-0cd1abda.cjs +0 -1
- package/dist/HotelAvailabilityForm-a7b6f17e.js +0 -97
- package/dist/HotelAvailabilityForm-a7b6f17e.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs +0 -793
- package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-05b8ec39.js +0 -376
- package/dist/ReCaptchaVuePlugin-05b8ec39.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-08ee5d62.cjs +0 -1
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js +0 -10107
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5f1087dc.cjs +0 -56
- package/dist/ThankYou-1866d8db.js +0 -8547
- package/dist/ThankYou-1866d8db.js.br +0 -0
- package/dist/ThankYou-5741bcb6.cjs +0 -15
- package/dist/applyGiftCard-c5e4aaad.js.br +0 -0
- package/dist/availability.cjs.js +0 -1
- package/dist/availability.cjs.js.br +0 -0
- package/dist/availability.es.js +0 -183
- package/dist/availability.es.js.br +0 -0
- package/dist/components/LoadingBlock.vue.d.ts +0 -4
- package/dist/components/LoadingBlock.vue.d.ts.map +0 -1
- package/dist/event-39706438.cjs +0 -1
- package/dist/event-a70cffeb.js.br +0 -0
- package/dist/event.cjs.js +0 -1
- package/dist/event.cjs.js.br +0 -0
- package/dist/event.es.js +0 -645
- package/dist/event.es.js.br +0 -0
- package/dist/gift-card-validation.cjs.js +0 -1
- package/dist/gift-card-validation.cjs.js.br +0 -0
- package/dist/gift-card-validation.es.js.br +0 -0
- package/dist/gift-card.cjs.js +0 -1
- package/dist/gift-card.cjs.js.br +0 -0
- package/dist/gift-card.es.js +0 -584
- package/dist/gift-card.es.js.br +0 -0
- package/dist/hotel.cjs.js +0 -19
- package/dist/hotel.cjs.js.br +0 -0
- package/dist/hotel.es.js +0 -2394
- package/dist/hotel.es.js.br +0 -0
- package/dist/index-00262c16.js.br +0 -0
- package/dist/index-58f3b0cc.cjs +0 -1
- package/dist/payment-9e219e9b.js.br +0 -0
- package/dist/polyfill.cjs.js +0 -4
- package/dist/polyfill.cjs.js.br +0 -0
- package/dist/polyfill.es.js +0 -6764
- package/dist/polyfill.es.js.br +0 -0
- /package/dist/{navigation.cjs.js → navigation.cjs} +0 -0
- /package/dist/{navigation.es.js → navigation.js} +0 -0
|
Binary file
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";const de=require("./_commonjsHelpers-6763f629.cjs"),t=require("./NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs"),Cr=require("./index-58f3b0cc.cjs"),Jn=require("./applyGiftCard-d9ab3dcf.cjs"),Cs=require("./ActionField-ae9b1adf.cjs"),Bs=require("./SelectField.vue_vue_type_style_index_0_lang-5f1087dc.cjs"),qn=require("./payment-fbffaa6d.cjs");var Eo;const Br=typeof window<"u",Os=e=>typeof e=="string",Ps=()=>{};Br&&((Eo=window?.navigator)!=null&&Eo.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Or(e){return typeof e=="function"?e():t.unref(e)}function xs(e){return e}function ks(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Ns(e){t.getCurrentInstance()&&t.onUnmounted(e)}function Es(e){var n;const o=Or(e);return(n=o?.$el)!=null?n:o}const $s=Br?window:void 0;function Le(...e){let n,o,r,a;if(Os(e[0])||Array.isArray(e[0])?([o,r,a]=e,n=$s):[n,o,r,a]=e,!n)return Ps;Array.isArray(o)||(o=[o]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(d=>d()),i.length=0},l=(d,v,m,h)=>(d.addEventListener(v,m,h),()=>d.removeEventListener(v,m,h)),c=t.watch(()=>[Es(n),Or(a)],([d,v])=>{s(),d&&i.push(...o.flatMap(m=>r.map(h=>l(d,m,h,v))))},{immediate:!0,flush:"post"}),f=()=>{c(),s()};return ks(f),f}const $o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ao="__vueuse_ssr_handlers__";$o[Ao]=$o[Ao]||{};var Do;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Do||(Do={}));var As=Object.defineProperty,Io=Object.getOwnPropertySymbols,Ds=Object.prototype.hasOwnProperty,Is=Object.prototype.propertyIsEnumerable,Mo=(e,n,o)=>n in e?As(e,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[n]=o,Ms=(e,n)=>{for(var o in n||(n={}))Ds.call(n,o)&&Mo(e,o,n[o]);if(Io)for(var o of Io(n))Is.call(n,o)&&Mo(e,o,n[o]);return e};const Vs={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Ms({linear:xs},Vs);var Vo;const Fs=typeof window<"u";Fs&&((Vo=window?.navigator)!=null&&Vo.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function _s(e){return typeof e=="function"?e():t.unref(e)}function Ls(e){return e}function Rs(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function zs(e){var n;const o=_s(e);return(n=o?.$el)!=null?n:o}const Fo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_o="__vueuse_ssr_handlers__";Fo[_o]=Fo[_o]||{};var Lo;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Lo||(Lo={}));var js=Object.defineProperty,Ro=Object.getOwnPropertySymbols,Hs=Object.prototype.hasOwnProperty,Gs=Object.prototype.propertyIsEnumerable,zo=(e,n,o)=>n in e?js(e,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[n]=o,Ws=(e,n)=>{for(var o in n||(n={}))Hs.call(n,o)&&zo(e,o,n[o]);if(Ro)for(var o of Ro(n))Gs.call(n,o)&&zo(e,o,n[o]);return e};const Us={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Ws({linear:Ls},Us);/*!
|
|
2
|
-
* tabbable 6.2.0
|
|
3
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
-
*/var Pr=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],cn=Pr.join(","),xr=typeof Element>"u",nt=xr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,dn=!xr&&Element.prototype.getRootNode?function(e){var n;return e==null||(n=e.getRootNode)===null||n===void 0?void 0:n.call(e)}:function(e){return e?.ownerDocument},fn=function e(n,o){var r;o===void 0&&(o=!0);var a=n==null||(r=n.getAttribute)===null||r===void 0?void 0:r.call(n,"inert"),i=a===""||a==="true",s=i||o&&n&&e(n.parentNode);return s},Xs=function(n){var o,r=n==null||(o=n.getAttribute)===null||o===void 0?void 0:o.call(n,"contenteditable");return r===""||r==="true"},kr=function(n,o,r){if(fn(n))return[];var a=Array.prototype.slice.apply(n.querySelectorAll(cn));return o&&nt.call(n,cn)&&a.unshift(n),a=a.filter(r),a},Nr=function e(n,o,r){for(var a=[],i=Array.from(n);i.length;){var s=i.shift();if(!fn(s,!1))if(s.tagName==="SLOT"){var l=s.assignedElements(),c=l.length?l:s.children,f=e(c,!0,r);r.flatten?a.push.apply(a,f):a.push({scopeParent:s,candidates:f})}else{var d=nt.call(s,cn);d&&r.filter(s)&&(o||!n.includes(s))&&a.push(s);var v=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),m=!fn(v,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(v&&m){var h=e(v===!0?s.children:v.children,!0,r);r.flatten?a.push.apply(a,h):a.push({scopeParent:s,candidates:h})}else i.unshift.apply(i,s.children)}}return a},Er=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},Je=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||Xs(n))&&!Er(n)?0:n.tabIndex},Ks=function(n,o){var r=Je(n);return r<0&&o&&!Er(n)?0:r},Ys=function(n,o){return n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex},$r=function(n){return n.tagName==="INPUT"},Zs=function(n){return $r(n)&&n.type==="hidden"},Qs=function(n){var o=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(r){return r.tagName==="SUMMARY"});return o},Js=function(n,o){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===o)return n[r]},qs=function(n){if(!n.name)return!0;var o=n.form||dn(n),r=function(l){return o.querySelectorAll('input[type="radio"][name="'+l+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=r(window.CSS.escape(n.name));else try{a=r(n.name)}catch(s){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",s.message),!1}var i=Js(a,n.form);return!i||i===n},ea=function(n){return $r(n)&&n.type==="radio"},ta=function(n){return ea(n)&&!qs(n)},na=function(n){var o,r=n&&dn(n),a=(o=r)===null||o===void 0?void 0:o.host,i=!1;if(r&&r!==n){var s,l,c;for(i=!!((s=a)!==null&&s!==void 0&&(l=s.ownerDocument)!==null&&l!==void 0&&l.contains(a)||n!=null&&(c=n.ownerDocument)!==null&&c!==void 0&&c.contains(n));!i&&a;){var f,d,v;r=dn(a),a=(f=r)===null||f===void 0?void 0:f.host,i=!!((d=a)!==null&&d!==void 0&&(v=d.ownerDocument)!==null&&v!==void 0&&v.contains(a))}}return i},jo=function(n){var o=n.getBoundingClientRect(),r=o.width,a=o.height;return r===0&&a===0},oa=function(n,o){var r=o.displayCheck,a=o.getShadowRoot;if(getComputedStyle(n).visibility==="hidden")return!0;var i=nt.call(n,"details>summary:first-of-type"),s=i?n.parentElement:n;if(nt.call(s,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof a=="function"){for(var l=n;n;){var c=n.parentElement,f=dn(n);if(c&&!c.shadowRoot&&a(c)===!0)return jo(n);n.assignedSlot?n=n.assignedSlot:!c&&f!==n.ownerDocument?n=f.host:n=c}n=l}if(na(n))return!n.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return jo(n);return!1},ra=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var o=n.parentElement;o;){if(o.tagName==="FIELDSET"&&o.disabled){for(var r=0;r<o.children.length;r++){var a=o.children.item(r);if(a.tagName==="LEGEND")return nt.call(o,"fieldset[disabled] *")?!0:!a.contains(n)}return!0}o=o.parentElement}return!1},pn=function(n,o){return!(o.disabled||fn(o)||Zs(o)||oa(o,n)||Qs(o)||ra(o))},eo=function(n,o){return!(ta(o)||Je(o)<0||!pn(n,o))},ia=function(n){var o=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(o)||o>=0)},sa=function e(n){var o=[],r=[];return n.forEach(function(a,i){var s=!!a.scopeParent,l=s?a.scopeParent:a,c=Ks(l,s),f=s?e(a.candidates):l;c===0?s?o.push.apply(o,f):o.push(l):r.push({documentOrder:i,tabIndex:c,item:a,isScope:s,content:f})}),r.sort(Ys).reduce(function(a,i){return i.isScope?a.push.apply(a,i.content):a.push(i.content),a},[]).concat(o)},aa=function(n,o){o=o||{};var r;return o.getShadowRoot?r=Nr([n],o.includeContainer,{filter:eo.bind(null,o),flatten:!1,getShadowRoot:o.getShadowRoot,shadowRootFilter:ia}):r=kr(n,o.includeContainer,eo.bind(null,o)),sa(r)},la=function(n,o){o=o||{};var r;return o.getShadowRoot?r=Nr([n],o.includeContainer,{filter:pn.bind(null,o),flatten:!0,getShadowRoot:o.getShadowRoot}):r=kr(n,o.includeContainer,pn.bind(null,o)),r},ft=function(n,o){if(o=o||{},!n)throw new Error("No node provided");return nt.call(n,cn)===!1?!1:eo(o,n)},ua=Pr.concat("iframe").join(","),Un=function(n,o){if(o=o||{},!n)throw new Error("No node provided");return nt.call(n,ua)===!1?!1:pn(o,n)};/*!
|
|
5
|
-
* focus-trap 7.5.3
|
|
6
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
7
|
-
*/function Ho(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,r)}return o}function Go(e){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?Ho(Object(o),!0).forEach(function(r){ca(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ho(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function ca(e,n,o){return n=fa(n),n in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function da(e,n){if(typeof e!="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function fa(e){var n=da(e,"string");return typeof n=="symbol"?n:String(n)}var Wo={activateTrap:function(n,o){if(n.length>0){var r=n[n.length-1];r!==o&&r.pause()}var a=n.indexOf(o);a===-1||n.splice(a,1),n.push(o)},deactivateTrap:function(n,o){var r=n.indexOf(o);r!==-1&&n.splice(r,1),n.length>0&&n[n.length-1].unpause()}},pa=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},ha=function(n){return n?.key==="Escape"||n?.key==="Esc"||n?.keyCode===27},bt=function(n){return n?.key==="Tab"||n?.keyCode===9},va=function(n){return bt(n)&&!n.shiftKey},ma=function(n){return bt(n)&&n.shiftKey},Uo=function(n){return setTimeout(n,0)},Xo=function(n,o){var r=-1;return n.every(function(a,i){return o(a)?(r=i,!1):!0}),r},gt=function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];return typeof n=="function"?n.apply(void 0,r):n},nn=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},ga=[],ya=function(n,o){var r=o?.document||document,a=o?.trapStack||ga,i=Go({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:va,isKeyBackward:ma},o),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l,c=function(g,y,N){return g&&g[y]!==void 0?g[y]:i[N||y]},f=function(g,y){var N=typeof y?.composedPath=="function"?y.composedPath():void 0;return s.containerGroups.findIndex(function(M){var _=M.container,$=M.tabbableNodes;return _.contains(g)||N?.includes(_)||$.find(function(B){return B===g})})},d=function(g){var y=i[g];if(typeof y=="function"){for(var N=arguments.length,M=new Array(N>1?N-1:0),_=1;_<N;_++)M[_-1]=arguments[_];y=y.apply(void 0,M)}if(y===!0&&(y=void 0),!y){if(y===void 0||y===!1)return y;throw new Error("`".concat(g,"` was specified but was not a node, or did not return a node"))}var $=y;if(typeof y=="string"&&($=r.querySelector(y),!$))throw new Error("`".concat(g,"` as selector refers to no known node"));return $},v=function(){var g=d("initialFocus");if(g===!1)return!1;if(g===void 0||!Un(g,i.tabbableOptions))if(f(r.activeElement)>=0)g=r.activeElement;else{var y=s.tabbableGroups[0],N=y&&y.firstTabbableNode;g=N||d("fallbackFocus")}if(!g)throw new Error("Your focus-trap needs to have at least one focusable element");return g},m=function(){if(s.containerGroups=s.containers.map(function(g){var y=aa(g,i.tabbableOptions),N=la(g,i.tabbableOptions),M=y.length>0?y[0]:void 0,_=y.length>0?y[y.length-1]:void 0,$=N.find(function(G){return ft(G)}),B=N.slice().reverse().find(function(G){return ft(G)}),P=!!y.find(function(G){return Je(G)>0});return{container:g,tabbableNodes:y,focusableNodes:N,posTabIndexesFound:P,firstTabbableNode:M,lastTabbableNode:_,firstDomTabbableNode:$,lastDomTabbableNode:B,nextTabbableNode:function(z){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,K=y.indexOf(z);return K<0?j?N.slice(N.indexOf(z)+1).find(function(Q){return ft(Q)}):N.slice(0,N.indexOf(z)).reverse().find(function(Q){return ft(Q)}):y[K+(j?1:-1)]}}}),s.tabbableGroups=s.containerGroups.filter(function(g){return g.tabbableNodes.length>0}),s.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(s.containerGroups.find(function(g){return g.posTabIndexesFound})&&s.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function b(g){if(g!==!1&&g!==r.activeElement){if(!g||!g.focus){b(v());return}g.focus({preventScroll:!!i.preventScroll}),s.mostRecentlyFocusedNode=g,pa(g)&&g.select()}},T=function(g){var y=d("setReturnFocus",g);return y||(y===!1?!1:g)},w=function(g){var y=g.target,N=g.event,M=g.isBackward,_=M===void 0?!1:M;y=y||nn(N),m();var $=null;if(s.tabbableGroups.length>0){var B=f(y,N),P=B>=0?s.containerGroups[B]:void 0;if(B<0)_?$=s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:$=s.tabbableGroups[0].firstTabbableNode;else if(_){var G=Xo(s.tabbableGroups,function(ae){var le=ae.firstTabbableNode;return y===le});if(G<0&&(P.container===y||Un(y,i.tabbableOptions)&&!ft(y,i.tabbableOptions)&&!P.nextTabbableNode(y,!1))&&(G=B),G>=0){var z=G===0?s.tabbableGroups.length-1:G-1,j=s.tabbableGroups[z];$=Je(y)>=0?j.lastTabbableNode:j.lastDomTabbableNode}else bt(N)||($=P.nextTabbableNode(y,!1))}else{var K=Xo(s.tabbableGroups,function(ae){var le=ae.lastTabbableNode;return y===le});if(K<0&&(P.container===y||Un(y,i.tabbableOptions)&&!ft(y,i.tabbableOptions)&&!P.nextTabbableNode(y))&&(K=B),K>=0){var Q=K===s.tabbableGroups.length-1?0:K+1,se=s.tabbableGroups[Q];$=Je(y)>=0?se.firstTabbableNode:se.firstDomTabbableNode}else bt(N)||($=P.nextTabbableNode(y))}}else $=d("fallbackFocus");return $},S=function(g){var y=nn(g);if(!(f(y,g)>=0)){if(gt(i.clickOutsideDeactivates,g)){l.deactivate({returnFocus:i.returnFocusOnDeactivate});return}gt(i.allowOutsideClick,g)||g.preventDefault()}},x=function(g){var y=nn(g),N=f(y,g)>=0;if(N||y instanceof Document)N&&(s.mostRecentlyFocusedNode=y);else{g.stopImmediatePropagation();var M,_=!0;if(s.mostRecentlyFocusedNode)if(Je(s.mostRecentlyFocusedNode)>0){var $=f(s.mostRecentlyFocusedNode),B=s.containerGroups[$].tabbableNodes;if(B.length>0){var P=B.findIndex(function(G){return G===s.mostRecentlyFocusedNode});P>=0&&(i.isKeyForward(s.recentNavEvent)?P+1<B.length&&(M=B[P+1],_=!1):P-1>=0&&(M=B[P-1],_=!1))}}else s.containerGroups.some(function(G){return G.tabbableNodes.some(function(z){return Je(z)>0})})||(_=!1);else _=!1;_&&(M=w({target:s.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(s.recentNavEvent)})),h(M||s.mostRecentlyFocusedNode||v())}s.recentNavEvent=void 0},k=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;s.recentNavEvent=g;var N=w({event:g,isBackward:y});N&&(bt(g)&&g.preventDefault(),h(N))},V=function(g){if(ha(g)&>(i.escapeDeactivates,g)!==!1){g.preventDefault(),l.deactivate();return}(i.isKeyForward(g)||i.isKeyBackward(g))&&k(g,i.isKeyBackward(g))},F=function(g){var y=nn(g);f(y,g)>=0||gt(i.clickOutsideDeactivates,g)||gt(i.allowOutsideClick,g)||(g.preventDefault(),g.stopImmediatePropagation())},O=function(){if(s.active)return Wo.activateTrap(a,l),s.delayInitialFocusTimer=i.delayInitialFocus?Uo(function(){h(v())}):h(v()),r.addEventListener("focusin",x,!0),r.addEventListener("mousedown",S,{capture:!0,passive:!1}),r.addEventListener("touchstart",S,{capture:!0,passive:!1}),r.addEventListener("click",F,{capture:!0,passive:!1}),r.addEventListener("keydown",V,{capture:!0,passive:!1}),l},D=function(){if(s.active)return r.removeEventListener("focusin",x,!0),r.removeEventListener("mousedown",S,!0),r.removeEventListener("touchstart",S,!0),r.removeEventListener("click",F,!0),r.removeEventListener("keydown",V,!0),l},A=function(g){var y=g.some(function(N){var M=Array.from(N.removedNodes);return M.some(function(_){return _===s.mostRecentlyFocusedNode})});y&&h(v())},E=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(A):void 0,L=function(){E&&(E.disconnect(),s.active&&!s.paused&&s.containers.map(function(g){E.observe(g,{subtree:!0,childList:!0})}))};return l={get active(){return s.active},get paused(){return s.paused},activate:function(g){if(s.active)return this;var y=c(g,"onActivate"),N=c(g,"onPostActivate"),M=c(g,"checkCanFocusTrap");M||m(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=r.activeElement,y?.();var _=function(){M&&m(),O(),L(),N?.()};return M?(M(s.containers.concat()).then(_,_),this):(_(),this)},deactivate:function(g){if(!s.active)return this;var y=Go({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},g);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,D(),s.active=!1,s.paused=!1,L(),Wo.deactivateTrap(a,l);var N=c(y,"onDeactivate"),M=c(y,"onPostDeactivate"),_=c(y,"checkCanReturnFocus"),$=c(y,"returnFocus","returnFocusOnDeactivate");N?.();var B=function(){Uo(function(){$&&h(T(s.nodeFocusedBeforeActivation)),M?.()})};return $&&_?(_(T(s.nodeFocusedBeforeActivation)).then(B,B),this):(B(),this)},pause:function(g){if(s.paused||!s.active)return this;var y=c(g,"onPause"),N=c(g,"onPostPause");return s.paused=!0,y?.(),D(),L(),N?.(),this},unpause:function(g){if(!s.paused||!s.active)return this;var y=c(g,"onUnpause"),N=c(g,"onPostUnpause");return s.paused=!1,y?.(),m(),O(),L(),N?.(),this},updateContainerElements:function(g){var y=[].concat(g).filter(Boolean);return s.containers=y.map(function(N){return typeof N=="string"?r.querySelector(N):N}),s.active&&m(),L(),this}},l.updateContainerElements(n),l},ba=Object.defineProperty,wa=Object.defineProperties,Sa=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,Ko=(e,n,o)=>n in e?ba(e,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[n]=o,Ta=(e,n)=>{for(var o in n||(n={}))Ar.call(n,o)&&Ko(e,o,n[o]);if(hn)for(var o of hn(n))Dr.call(n,o)&&Ko(e,o,n[o]);return e},Ca=(e,n)=>wa(e,Sa(n)),Ba=(e,n)=>{var o={};for(var r in e)Ar.call(e,r)&&n.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&hn)for(var r of hn(e))n.indexOf(r)<0&&Dr.call(e,r)&&(o[r]=e[r]);return o};function Oa(e,n={}){let o;const r=n,{immediate:a}=r,i=Ba(r,["immediate"]),s=t.ref(!1),l=t.ref(!1),c=m=>o&&o.activate(m),f=m=>o&&o.deactivate(m),d=()=>{o&&(o.pause(),l.value=!0)},v=()=>{o&&(o.unpause(),l.value=!1)};return t.watch(()=>zs(e),m=>{m&&(o=ya(m,Ca(Ta({},i),{onActivate(){s.value=!0,n.onActivate&&n.onActivate()},onDeactivate(){s.value=!1,n.onDeactivate&&n.onDeactivate()}})),a&&c())},{flush:"post"}),Rs(()=>f()),{hasFocus:s,isPaused:l,activate:c,deactivate:f,pause:d,unpause:v}}const Pa=e=>(...n)=>{e&&(e?.(...n),e=null)},Te=()=>{};function on(e,n,o){return e>o?o:e<n?n:e}const io=e=>typeof e=="string",so={modalId:{type:[String,Number,Symbol],default:void 0},modelValue:{type:Boolean,default:void 0},displayDirective:{type:String,default:"if",validator:e=>["if","show","visible"].includes(e)},hideOverlay:{type:Boolean,default:void 0},overlayTransition:{type:[String,Object],default:void 0},contentTransition:{type:[String,Object],default:void 0},overlayClass:{type:void 0,default:void 0},contentClass:{type:void 0,default:void 0},overlayStyle:{type:[String,Object,Array],default:void 0},contentStyle:{type:[String,Object,Array],default:void 0},clickToClose:{type:Boolean,default:!0},escToClose:{type:Boolean,default:!0},background:{type:String,default:"non-interactive",validator:e=>["interactive","non-interactive"].includes(e)},focusTrap:{type:[Boolean,Object],default:()=>({allowOutsideClick:!0})},lockScroll:{type:Boolean,default:!0},reserveScrollBarGap:{type:Boolean,default:!0},zIndexFn:{type:Function,default:({index:e})=>1e3+2*e},swipeToClose:{type:String,default:"none",validator:e=>["none","up","right","down","left"].includes(e)},threshold:{type:Number,default:0},showSwipeBanner:{type:Boolean,default:void 0},preventNavigationGestures:{type:Boolean,default:void 0}};function Yo(e=!1){const n=t.ref(e),o=t.ref(n.value?0:void 0);return[n,o,{beforeEnter(){o.value=1},afterEnter(){o.value=0},beforeLeave(){o.value=3},afterLeave(){o.value=2}}]}function xa(e,n){const{modelValueLocal:o,onEntering:r,onEnter:a,onLeaving:i,onLeave:s}=n,l=t.ref(o.value),[c,f,d]=Yo(l.value),[v,m,h]=Yo(l.value),T=t.computed(()=>typeof e.contentTransition=="string"?{name:e.contentTransition}:{...e.contentTransition}),w=t.computed(()=>typeof e.overlayTransition=="string"?{name:e.overlayTransition}:{...e.overlayTransition}),S=t.computed(()=>(e.hideOverlay||m.value===2)&&f.value===2);t.watch(S,V=>{V&&(l.value=!1)}),t.watch(f,V=>{if(V===1){if(!l.value)return;r?.()}else if(V===0){if(!l.value)return;a?.()}else V===3?i?.():V===2&&s?.()});async function x(){l.value=!0,await t.nextTick(),c.value=!0,v.value=!0}function k(){c.value=!1,v.value=!1}return{visible:l,contentVisible:c,contentListeners:d,contentTransition:T,overlayVisible:v,overlayListeners:h,overlayTransition:w,enterTransition:x,leaveTransition:k}}function ka(e,n,o){const{vfmRootEl:r,vfmContentEl:a,visible:i,modelValueLocal:s}=o,l=t.ref();function c(){i.value&&e.escToClose&&(s.value=!1)}function f(v){l.value=v?.target}function d(){var v;l.value===r.value&&(e.clickToClose?s.value=!1:((v=a.value)==null||v.focus(),n("clickOutside")))}return{onEsc:c,onMouseupRoot:d,onMousedown:f}}function Na(e,n){const o=t.ref(!!e.modelValue);return t.watch(()=>e.modelValue,r=>{o.value=!!r}),t.watch(o,r=>{r!==e.modelValue&&n("update:modelValue",r)}),{modelValueLocal:o}}function Ea(e,n){if(e.focusTrap===!1)return{focus(){},blur(){}};const{focusEl:o}=n,{hasFocus:r,activate:a,deactivate:i}=Oa(o,e.focusTrap);function s(){requestAnimationFrame(()=>{a()})}function l(){r.value&&i()}return{focus:s,blur:l}}let ao=!1;if(typeof window<"u"){const e={get passive(){ao=!0}};window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}const Ir=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1);let je=[],vn=!1,an=0,Mr=-1,wt,St;const $a=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=window.getComputedStyle(e);return["auto","scroll"].includes(n.overflowY)&&e.scrollHeight>e.clientHeight},Aa=(e,n)=>!(e.scrollTop===0&&n<0||e.scrollTop+e.clientHeight+n>=e.scrollHeight&&n>0),Da=e=>{const n=[];for(;e;){if(n.push(e),e.classList.contains("vfm"))return n;e=e.parentElement}return n},Ia=(e,n)=>{let o=!1;return Da(e).forEach(r=>{$a(r)&&Aa(r,n)&&(o=!0)}),o},Vr=e=>je.some(()=>Ia(e,-an)),lo=e=>{const n=e||window.event;return Vr(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},Ma=e=>{if(St===void 0){const n=!!e&&e.reserveScrollBarGap===!0,o=window.innerWidth-document.documentElement.clientWidth;if(n&&o>0){const r=parseInt(getComputedStyle(document.body).getPropertyValue("padding-right"),10);St=document.body.style.paddingRight,document.body.style.paddingRight=`${r+o}px`}}wt===void 0&&(wt=document.body.style.overflow,document.body.style.overflow="hidden")},Va=()=>{St!==void 0&&(document.body.style.paddingRight=St,St=void 0),wt!==void 0&&(document.body.style.overflow=wt,wt=void 0)},Fa=e=>e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1,_a=(e,n)=>(an=e.targetTouches[0].clientY-Mr,Vr(e.target)?!1:n&&n.scrollTop===0&&an>0||Fa(n)&&an<0?lo(e):(e.stopPropagation(),!0)),La=(e,n)=>{if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(je.some(r=>r.targetElement===e))return;const o={targetElement:e,options:n||{}};je=[...je,o],Ir?(e.ontouchstart=r=>{r.targetTouches.length===1&&(Mr=r.targetTouches[0].clientY)},e.ontouchmove=r=>{r.targetTouches.length===1&&_a(r,e)},vn||(document.addEventListener("touchmove",lo,ao?{passive:!1}:void 0),vn=!0)):Ma(n)},Ra=e=>{if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}je=je.filter(n=>n.targetElement!==e),Ir?(e.ontouchstart=null,e.ontouchmove=null,vn&&je.length===0&&(document.removeEventListener("touchmove",lo,ao?{passive:!1}:void 0),vn=!1)):je.length||Va()};function za(e,n){const{lockScrollEl:o,modelValueLocal:r}=n;let a;t.watch(o,l=>{l&&(a=l)},{immediate:!0}),t.watch(()=>e.lockScroll,l=>{l?s():i()}),t.onBeforeUnmount(()=>{i()});function i(){a&&Ra(a)}function s(){r.value&&e.lockScroll&&a&&La(a,{reserveScrollBarGap:e.reserveScrollBarGap,allowTouchMove:l=>{for(;l&&l!==document.body;){if(l.getAttribute("vfm-scroll-lock-ignore")!==null)return!0;l=l.parentElement}return!1}})}return{enableBodyScroll:i,disableBodyScroll:s}}function ja(e){function n(o){switch(o){case"beforeOpen":e(o);break;case"beforeClose":e(o);break;case"opened":e(o);break;case"closed":e(o);break}}return{emitEvent:n}}function Ha(e){const n=t.ref();function o(a){var i;n.value=(i=e.zIndexFn)==null?void 0:i.call(e,{index:a<=-1?0:a})}function r(){n.value=void 0}return{zIndex:n,refreshZIndex:o,resetZIndex:r}}const Xn={beforeMount(e,{value:n},{transition:o}){e._vov=e.style.visibility==="hidden"?"":e.style.visibility,o&&n?o.beforeEnter(e):yt(e,n)},mounted(e,{value:n},{transition:o}){o&&n&&o.enter(e)},updated(e,{value:n,oldValue:o},{transition:r}){!n!=!o&&(r?n?(r.beforeEnter(e),yt(e,!0),r.enter(e)):r.leave(e,()=>{yt(e,!1)}):yt(e,n))},beforeUnmount(e,{value:n}){yt(e,n)}};function yt(e,n){e.style.visibility=n?e._vov:"hidden"}const Zo=e=>{if(e instanceof MouseEvent){const{clientX:n,clientY:o}=e;return{x:n,y:o}}else{const{clientX:n,clientY:o}=e.targetTouches[0];return{x:n,y:o}}};function Ga(e){if(!e)return!1;let n=!1;const o={get passive(){return n=!0,!1}};return e.addEventListener("x",Te,o),e.removeEventListener("x",Te),n}function Wa(e,{threshold:n=0,onSwipeStart:o,onSwipe:r,onSwipeEnd:a,passive:i=!0}){const s=t.reactive({x:0,y:0}),l=t.reactive({x:0,y:0}),c=t.computed(()=>s.x-l.x),f=t.computed(()=>s.y-l.y),{max:d,abs:v}=Math,m=t.computed(()=>d(v(c.value),v(f.value))>=n),h=t.ref(!1),T=t.computed(()=>m.value?v(c.value)>v(f.value)?c.value>0?"left":"right":f.value>0?"up":"down":"none"),w=(A,E)=>{s.x=A,s.y=E},S=(A,E)=>{l.x=A,l.y=E};let x,k;function V(A){x.capture&&!x.passive&&A.preventDefault();const{x:E,y:L}=Zo(A);w(E,L),S(E,L),o?.(A),k=[Le(e,"mousemove",F,x),Le(e,"touchmove",F,x),Le(e,"mouseup",O,x),Le(e,"touchend",O,x),Le(e,"touchcancel",O,x)]}function F(A){const{x:E,y:L}=Zo(A);S(E,L),!h.value&&m.value&&(h.value=!0),h.value&&r?.(A)}function O(A){h.value&&a?.(A,T.value),h.value=!1,k.forEach(E=>E())}let D=[];return t.onMounted(()=>{const A=Ga(window?.document);i?x=A?{passive:!0}:{capture:!1}:x=A?{passive:!1,capture:!0}:{capture:!0},D=[Le(e,"mousedown",V,x),Le(e,"touchstart",V,x)]}),{isSwiping:h,direction:T,coordsStart:s,coordsEnd:l,lengthX:c,lengthY:f,stop:()=>{D.forEach(A=>A()),k.forEach(A=>A())}}}function Ua(e,n){const{vfmContentEl:o,modelValueLocal:r}=n,a=.1,i=300,s=t.ref(),l=t.computed(()=>{if(!(e.swipeToClose===void 0||e.swipeToClose==="none"))return e.showSwipeBanner?s.value:o.value}),c=t.ref(0),f=t.ref(!0);let d=Te,v=!0,m,h=!1;const{lengthX:T,lengthY:w,direction:S,isSwiping:x}=Wa(l,{threshold:e.threshold,onSwipeStart(O){d=Le(document,"selectionchange",()=>{var D;f.value=(D=window.getSelection())==null?void 0:D.isCollapsed}),m=new Date().getTime(),h=F(O?.target)},onSwipe(){var O,D,A,E;if(h&&f.value&&S.value===e.swipeToClose){if(S.value==="up"){const L=on(Math.abs(w.value||0),0,((O=l.value)==null?void 0:O.offsetHeight)||0)-(e.threshold||0);c.value=L}else if(S.value==="down"){const L=on(Math.abs(w.value||0),0,((D=l.value)==null?void 0:D.offsetHeight)||0)-(e.threshold||0);c.value=-L}else if(S.value==="right"){const L=on(Math.abs(T.value||0),0,((A=l.value)==null?void 0:A.offsetWidth)||0)-(e.threshold||0);c.value=-L}else if(S.value==="left"){const L=on(Math.abs(T.value||0),0,((E=l.value)==null?void 0:E.offsetWidth)||0)-(e.threshold||0);c.value=L}}},onSwipeEnd(O,D){if(d(),!f.value){f.value=!0;return}const A=new Date().getTime(),E=D===e.swipeToClose,L=(()=>{var g,y;if(D==="up"||D==="down")return Math.abs(w?.value||0)>a*(((g=l.value)==null?void 0:g.offsetHeight)||0);if(D==="left"||D==="right")return Math.abs(T?.value||0)>a*(((y=l.value)==null?void 0:y.offsetWidth)||0)})(),b=A-m<=i;if(v&&h&&E&&(L||b)){r.value=!1;return}c.value=0}}),k=t.computed(()=>{if(e.swipeToClose==="none")return;const O=(()=>{switch(e.swipeToClose){case"up":case"down":return"translateY";case"left":case"right":return"translateX"}})();return{class:{"vfm-bounce-back":!x.value},style:{transform:`${O}(${-c.value}px)`}}});t.watch(()=>f.value,O=>{O||(c.value=0)}),t.watch(()=>r.value,O=>{O&&(c.value=0)}),t.watch(()=>c.value,(O,D)=>{switch(e.swipeToClose){case"down":case"right":v=O<D;break;case"up":case"left":v=O>D;break}});function V(O){e.preventNavigationGestures&&O.preventDefault()}function F(O){const D=O?.tagName;if(!D||["INPUT","TEXTAREA"].includes(D))return!1;const A=(()=>{switch(e.swipeToClose){case"up":return O?.scrollTop+O?.clientHeight===O?.scrollHeight;case"left":return O?.scrollLeft+O?.clientWidth===O?.scrollWidth;case"down":return O?.scrollTop===0;case"right":return O?.scrollLeft===0;default:return!1}})();return O===l.value?A:A&&F(O?.parentElement)}return{vfmContentEl:o,swipeBannerEl:s,bindSwipe:k,onTouchStartSwipeBanner:V}}const uo=Symbol("vfm"),co=Symbol("internalVfm"),Xa=t.defineComponent({__name:"CoreModal",props:so,emits:["update:modelValue","beforeOpen","opened","beforeClose","closed","clickOutside"],setup(e,{emit:n}){const o=e,{modals:r,openedModals:a}=t.inject(uo,{modals:[],openedModals:[]}),{openLastOverlay:i,moveToLastOpenedModals:s,deleteFromOpenedModals:l,moveToLastOpenedModalOverlays:c,deleteFromOpenedModalOverlays:f,deleteFromModals:d}=t.inject(co,{openLastOverlay:Te,moveToLastOpenedModals:Te,deleteFromOpenedModals:Te,moveToLastOpenedModalOverlays:Te,deleteFromOpenedModalOverlays:Te,deleteFromModals:Te}),v=t.ref(),m=t.ref(),{focus:h,blur:T}=Ea(o,{focusEl:v}),{zIndex:w,refreshZIndex:S,resetZIndex:x}=Ha(o),{modelValueLocal:k}=Na(o,n),{enableBodyScroll:V,disableBodyScroll:F}=za(o,{lockScrollEl:v,modelValueLocal:k}),{emitEvent:O}=ja(n);let D=Te;const{visible:A,contentVisible:E,contentListeners:L,contentTransition:b,overlayVisible:g,overlayListeners:y,overlayTransition:N,enterTransition:M,leaveTransition:_}=xa(o,{modelValueLocal:k,onEntering(){t.nextTick(()=>{F(),h()})},onEnter(){O("opened"),D("opened")},onLeave(){l(se()),x(),V(),O("closed"),D("closed")}}),{onEsc:$,onMouseupRoot:B,onMousedown:P}=ka(o,n,{vfmRootEl:v,vfmContentEl:m,visible:A,modelValueLocal:k}),{swipeBannerEl:G,bindSwipe:z,onTouchStartSwipeBanner:j}=Ua(o,{vfmContentEl:m,modelValueLocal:k}),K=t.toRef(o,"hideOverlay"),Q=t.computed(()=>({modalId:o.modalId,hideOverlay:K,overlayVisible:g,focus:h,toggle(H){return new Promise(ee=>{D=Pa(ie=>ee(ie));const ne=typeof H=="boolean"?H:!k.value;k.value=ne,n("update:modelValue",ne)})}}));function se(){return Q}const ae=t.computed(()=>a.indexOf(Q));t.watch(()=>[o.zIndexFn,ae.value],()=>{A.value&&S(ae.value)}),t.onMounted(()=>{r.push(Q)}),k.value&&le(),t.watch(k,H=>{H?le():Ae()});async function le(){O("beforeOpen"),s(Q),c(Q),S(ae.value),i(),M()}function Ae(){O("beforeClose"),f(Q),i(),T(),_()}return t.onBeforeUnmount(()=>{V(),d(Q),l(Q),f(Q),T(),i()}),(H,ee)=>H.displayDirective!=="if"||t.unref(A)?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"vfmRootEl",ref:v,class:t.normalizeClass(["vfm vfm--fixed vfm--inset",{"vfm--prevent-none":H.background==="interactive"}]),style:t.normalizeStyle({zIndex:t.unref(w)}),role:"dialog","aria-modal":"true",onKeydown:ee[7]||(ee[7]=t.withKeys(()=>t.unref($)(),["esc"])),onMouseup:ee[8]||(ee[8]=t.withModifiers(()=>t.unref(B)(),["self"])),onMousedown:ee[9]||(ee[9]=t.withModifiers(ne=>t.unref(P)(ne),["self"]))},[K.value?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.Transition,t.mergeProps({key:0},t.unref(N),{appear:!0},t.toHandlers(t.unref(y))),{default:t.withCtx(()=>[H.displayDirective!=="if"||t.unref(g)?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["vfm__overlay vfm--overlay vfm--absolute vfm--inset vfm--prevent-none",H.overlayClass]),style:t.normalizeStyle(H.overlayStyle),"aria-hidden":"true"},null,6)),[[t.vShow,H.displayDirective!=="show"||t.unref(g)],[t.unref(Xn),H.displayDirective!=="visible"||t.unref(g)]]):t.createCommentVNode("",!0)]),_:1},16)),t.createVNode(t.Transition,t.mergeProps(t.unref(b),{appear:!0},t.toHandlers(t.unref(L))),{default:t.withCtx(()=>[H.displayDirective!=="if"||t.unref(E)?t.withDirectives((t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref_key:"vfmContentEl",ref:m,class:["vfm__content vfm--outline-none",[H.contentClass,{"vfm--prevent-auto":H.background==="interactive"}]],style:H.contentStyle,tabindex:"0"},t.unref(z),{onMousedown:ee[6]||(ee[6]=()=>t.unref(P)())}),[t.renderSlot(H.$slots,"default"),H.showSwipeBanner?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"swipeBannerEl",ref:G,class:"vfm-swipe-banner-container",onTouchstart:ee[2]||(ee[2]=ne=>t.unref(j)(ne))},[t.renderSlot(H.$slots,"swipe-banner",{},()=>[t.createBaseVNode("div",{class:"vfm-swipe-banner-back",onTouchstart:ee[0]||(ee[0]=ne=>H.swipeToClose==="left"&&ne.preventDefault())},null,32),t.createBaseVNode("div",{class:"vfm-swipe-banner-forward",onTouchstart:ee[1]||(ee[1]=ne=>H.swipeToClose==="right"&&ne.preventDefault())},null,32)])],544)):!H.showSwipeBanner&&H.preventNavigationGestures?(t.openBlock(),t.createElementBlock("div",{key:1,class:"vfm-swipe-banner-container",onTouchstart:ee[5]||(ee[5]=ne=>t.unref(j)(ne))},[t.createBaseVNode("div",{class:"vfm-swipe-banner-back",onTouchstart:ee[3]||(ee[3]=ne=>H.swipeToClose==="left"&&ne.preventDefault())},null,32),t.createBaseVNode("div",{class:"vfm-swipe-banner-forward",onTouchstart:ee[4]||(ee[4]=ne=>H.swipeToClose==="right"&&ne.preventDefault())},null,32)],32)):t.createCommentVNode("",!0)],16)),[[t.vShow,H.displayDirective!=="show"||t.unref(E)],[t.unref(Xn),H.displayDirective!=="visible"||t.unref(E)]]):t.createCommentVNode("",!0)]),_:3},16)],38)),[[t.vShow,H.displayDirective!=="show"||t.unref(A)],[t.unref(Xn),H.displayDirective!=="visible"||t.unref(A)]]):t.createCommentVNode("",!0)}}),Ka={...so,teleportTo:{type:[String,null,Boolean,Object],default:"body"}},Ya=t.defineComponent({inheritAttrs:!1}),Fr=t.defineComponent({...Ya,__name:"VueFinalModal",props:Ka,emits:["update:modelValue","beforeOpen","opened","beforeClose","closed","clickOutside"],setup(e,{emit:n}){const o=ol({props:e,modalProps:so,emit:n});return(r,a)=>(t.openBlock(),t.createBlock(t.Teleport,{to:r.teleportTo?r.teleportTo:void 0,disabled:!r.teleportTo},[t.createVNode(Xa,t.normalizeProps(t.guardReactiveProps(t.unref(o))),{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default")]),_:3},16)],8,["to","disabled"]))}});let qe;const Za=e=>qe=e,Qa=()=>t.getCurrentInstance()&&t.inject(uo)||qe;function Ja(){const e=t.shallowReactive([]),n=t.shallowReactive([]),o=t.shallowReactive([]),r=t.shallowReactive([]),a=t.ref([]),i=t.markRaw({install(s){s.provide(uo,i),s.config.globalProperties.$vfm=i;const l=qa(i);s.provide(co,l)},modals:e,openedModals:n,openedModalOverlays:o,dynamicModals:r,modalsContainers:a,get(s){return e.find(l=>l.value.modalId&&s===l.value.modalId)},toggle(s,l){const c=i.get(s);return c?.value.toggle(l)},open(s){return i.toggle(s,!0)},close(s){return i.toggle(s,!1)},closeAll(){return Promise.allSettled([n.map(s=>s.value.toggle(!1))])}});return Za(i),i}function qa(e){const{modals:n,openedModals:o,openedModalOverlays:r,dynamicModals:a}=e,i={deleteFromModals(s){const l=n.findIndex(c=>c.value===s.value);l!==-1&&n.splice(l,1)},moveToLastOpenedModals(s){i.deleteFromOpenedModals(s),o.push(s)},deleteFromOpenedModals(s){const l=o.findIndex(c=>c.value===s.value);l!==-1&&o.splice(l,1)},moveToLastOpenedModalOverlays(s){i.deleteFromOpenedModalOverlays(s),r.push(s)},deleteFromOpenedModalOverlays(s){const l=r.findIndex(c=>c.value===s.value);l!==-1&&r.splice(l,1)},async openLastOverlay(){var s;if(await t.nextTick(),r.forEach(l=>l.value.overlayVisible.value=!1),r.length>0){const l=r[r.length-1];!((s=l.value.hideOverlay)!=null&&s.value)&&(l.value.overlayVisible.value=!0)}},resolvedClosed(s){var l,c,f;(c=(l=a[s])==null?void 0:l.resolveClosed)==null||c.call(l),(f=a[s])!=null&&f.keepAlive||a.splice(s,1)},resolvedOpened(s){var l,c;(c=(l=a[s])==null?void 0:l.resolveOpened)==null||c.call(l)}};return i}function ln(){const e=Qa();if(!e)throw new Error(`[Vue Final Modal]: getActiveVfm was called with no active Vfm. Did you forget to install vfm?
|
|
8
|
-
const vfm = createVfm()
|
|
9
|
-
app.use(vfm)
|
|
10
|
-
This will fail in production.`);return e}function el(){return t.inject(co)}function Qo(e,n=Fr){const{component:o,slots:r,...a}=e,i=typeof r>"u"?{}:Object.fromEntries(Object.entries(r).map(([s,l])=>io(l)?[s,l]:"component"in l?[s,{...l,component:t.markRaw(l.component)}]:[s,t.markRaw(l)]));return{...a,component:t.markRaw(o||n),slots:i}}function _r(e){const n=t.reactive({id:Symbol("useModal"),modelValue:!!(e!=null&&e.defaultModelValue),resolveOpened:()=>{},resolveClosed:()=>{},attrs:{},...Qo(e)});Ns(()=>{n!=null&&n.keepAlive||l()}),n.modelValue===!0&&(qe?qe?.dynamicModals.push(n):t.nextTick(()=>{const c=ln();c?.dynamicModals.push(n)}));async function o(){let c;return qe?c=qe:(await t.nextTick(),c=ln()),n.modelValue?Promise.resolve("[Vue Final Modal] modal is already opened."):(l(),n.modelValue=!0,c.dynamicModals.push(n),new Promise(f=>{n.resolveOpened=()=>f("opened")}))}function r(){return n.modelValue?(n.modelValue=!1,new Promise(c=>{n.resolveClosed=()=>c("closed")})):Promise.resolve("[Vue Final Modal] modal is already closed.")}function a(c){const{slots:f,...d}=Qo(c,n.component);c.defaultModelValue!==void 0&&(n.defaultModelValue=c.defaultModelValue),c?.keepAlive!==void 0&&(n.keepAlive=c?.keepAlive),i(n,d),f&&Object.entries(f).forEach(([v,m])=>{const h=n.slots[v];io(h)?n.slots[v]=m:Jo(h)&&Jo(m)?i(h,m):n.slots[v]=m})}function i(c,f){f.component&&(c.component=f.component),f.attrs&&s(c.attrs,f.attrs)}function s(c,f){return Object.entries(f).forEach(([d,v])=>{c[d]=v}),c}function l(){const c=ln(),f=c.dynamicModals.indexOf(n);f!==-1&&c.dynamicModals.splice(f,1)}return{options:n,open:o,close:r,patchOptions:a,destroy:l}}function Jo(e){return"component"in e||"attrs"in e}function tl(e,n){return Object.keys(n).reduce((o,r)=>(o[r]=e[r],o),{})}function nl(e){return e?{"onUpdate:modelValue":n=>e("update:modelValue",n),onBeforeClose:()=>e("beforeClose"),onClosed:()=>e("closed"),onBeforeOpen:()=>e("beforeOpen"),onOpened:()=>e("opened"),onClickOutside:()=>e("clickOutside")}:{}}function ol(e){const{props:n,modalProps:o,emit:r}=e,a=t.computed(()=>tl(n,o)),i=nl(r),s=t.useAttrs();return t.computed(()=>({...a.value,...i,...s}))}const rl=["innerHTML"],il=t.defineComponent({__name:"ModalsContainer",setup(e){const n=ln(),o=el(),r=Symbol("ModalsContainer"),a=t.computed(()=>{var i;return r===((i=n.modalsContainers.value)==null?void 0:i[0])});return n.modalsContainers.value.push(r),t.onBeforeUnmount(()=>{n.modalsContainers.value=n.modalsContainers.value.filter(i=>i!==r)}),(i,s)=>a.value?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(t.unref(n).dynamicModals,(l,c)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.component),t.mergeProps({key:l.id},{displayDirective:l!=null&&l.keepAlive?"show":void 0,...l.attrs},{modelValue:l.modelValue,"onUpdate:modelValue":f=>l.modelValue=f,onClosed:()=>{var f,d;return(d=(f=t.unref(o)).resolvedClosed)==null?void 0:d.call(f,c)},onOpened:()=>{var f,d;return(d=(f=t.unref(o)).resolvedOpened)==null?void 0:d.call(f,c)}}),t.createSlots({_:2},[t.renderList(l.slots,(f,d)=>({name:d,fn:t.withCtx(()=>[t.unref(io)(f)?(t.openBlock(),t.createElementBlock("div",{key:0,innerHTML:f},null,8,rl)):"component"in f?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(f.component),t.normalizeProps(t.mergeProps({key:1},f.attrs)),null,16)):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(f),{key:2}))])}))]),1040,["modelValue","onUpdate:modelValue","onClosed","onOpened"]))),128)):t.createCommentVNode("",!0)}});var Lr={exports:{}};(function(e,n){(function(o,r){e.exports=r()})(de.commonjsGlobal,function(){function o(b,g,y){return(g=function(N){var M=function(_,$){if(typeof _!="object"||_===null)return _;var B=_[Symbol.toPrimitive];if(B!==void 0){var P=B.call(_,$||"default");if(typeof P!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return($==="string"?String:Number)(_)}(N,"string");return typeof M=="symbol"?M:String(M)}(g))in b?Object.defineProperty(b,g,{value:y,enumerable:!0,configurable:!0,writable:!0}):b[g]=y,b}function r(b,g){var y=Object.keys(b);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(b);g&&(N=N.filter(function(M){return Object.getOwnPropertyDescriptor(b,M).enumerable})),y.push.apply(y,N)}return y}function a(b){for(var g=1;g<arguments.length;g++){var y=arguments[g]!=null?arguments[g]:{};g%2?r(Object(y),!0).forEach(function(N){s(b,N,y[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(y)):r(Object(y)).forEach(function(N){Object.defineProperty(b,N,Object.getOwnPropertyDescriptor(y,N))})}return b}function i(b){return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},i(b)}function s(b,g,y){return(g=function(N){var M=function(_,$){if(typeof _!="object"||_===null)return _;var B=_[Symbol.toPrimitive];if(B!==void 0){var P=B.call(_,$);if(typeof P!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}(N,"string");return typeof M=="symbol"?M:String(M)}(g))in b?Object.defineProperty(b,g,{value:y,enumerable:!0,configurable:!0,writable:!0}):b[g]=y,b}function l(b,g){(g==null||g>b.length)&&(g=b.length);for(var y=0,N=new Array(g);y<g;y++)N[y]=b[y];return N}function c(b,g){var y=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!y){if(Array.isArray(b)||(y=function(P,G){if(P){if(typeof P=="string")return l(P,G);var z=Object.prototype.toString.call(P).slice(8,-1);return z==="Object"&&P.constructor&&(z=P.constructor.name),z==="Map"||z==="Set"?Array.from(P):z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z)?l(P,G):void 0}}(b))||g&&b&&typeof b.length=="number"){y&&(b=y);var N=0,M=function(){};return{s:M,n:function(){return N>=b.length?{done:!0}:{done:!1,value:b[N++]}},e:function(P){throw P},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
11
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _,$=!0,B=!1;return{s:function(){y=y.call(b)},n:function(){var P=y.next();return $=P.done,P},e:function(P){B=!0,_=P},f:function(){try{$||y.return==null||y.return()}finally{if(B)throw _}}}}var f=function(b){var g=window.getComputedStyle(b),y=parseFloat(g.height),N=g.lineHeight==="normal"?1.2*parseFloat(g.fontSize):parseFloat(g.lineHeight);return y===0&&N===0?0:Math.ceil(y/N)},d=new WeakMap,v=function(b){return d.get(b)},m=function(b,g){d.set(b,g)},h=function(b){return{hasEllipsis:v(b).hasEllipsis}},T=function(b){var g=a({},v(b));g?.observer&&g?.observer.disconnect(),g?.observer&&(g==null||delete g.prevWidth),g?.observer&&(g==null||delete g.prevHeight),g?.observer&&(g==null||delete g.observer),m(b,g)},w={mode:"css",lines:3,ellipsis:". . .",midWord:!0,textContent:null},S=function(b){if(typeof b=="number")return parseInt(b.toString());if(typeof b=="string"){var g=parseInt(b);if(!isNaN(g))return g}return w.lines},x=function(b){return typeof CSS<"u"&&CSS.supports("display","-webkit-box")&&CSS.supports("-webkit-line-clamp","3")&&CSS.supports("-webkit-box-orient","vertical")?b==="css"||b==="js"?b:w.mode:"js"},k=function(b){return typeof b=="string"?b:typeof b=="number"?b.toString():w.ellipsis},V=function(b){return typeof b=="boolean"?b:w.midWord},F=function(b){return typeof b=="string"?b:typeof b=="number"?b.toString():w.textContent},O=function(b){var g,y=v(b);b.textContent=(g=y?.fullText)!==null&&g!==void 0?g:b.textContent,b.style.display="",b.style.webkitLineClamp="",b.style.webkitBoxOrient="",b.style.overflow=""},D=function(b,g,y){var N=!function(B){return d.has(B)}(b),M=v(b),_=function(B){if(i(B)!=="object"||B===null)return w;var P=B,G=P.mode,z=P.lines,j=P.ellipsis,K=P.midWord,Q=P.textContent;return{mode:x(G),lines:S(z),ellipsis:k(j),midWord:V(K),textContent:F(Q)}}(g);m(b,a(a(a({},M),_),{},{hasEllipsis:!N&&M?.hasEllipsis,fullText:_.textContent?_.textContent:N?b.textContent:M?.fullText}));var $=function(){var B=h(b),P=v(b);O(b);var G=f(b);if(P.mode==="css"&&function(j,K){var Q=K.lines,se=K.fullText;j.textContent=se,j.style.display="-webkit-box",j.style.webkitLineClamp=Q.toString(),j.style.webkitBoxOrient="vertical",j.style.overflow="hidden"}(b,P),P.mode==="js"&&function(j,K){var Q=K.lines,se=K.midWord,ae=K.fullText,le=K.ellipsis,Ae=se?[". ",", "," ",""]:[". ",", "," "];if(j.textContent=ae,j.style.display="",j.style.webkitLineClamp="",j.style.webkitBoxOrient="",j.style.overflow="",!(Q<=0||f(j)<=Q)){var H={unprocessed:ae,processed:""};Ae.forEach(function(ee){var ne,ie=c(H.unprocessed.split(ee));try{for(ie.s();!(ne=ie.n()).done;){var De=ne.value;if(j.textContent="".concat(H.processed).concat(De).concat(ee).concat(le),f(j)>Q){H.unprocessed=De;break}H.processed="".concat(H.processed).concat(De).concat(ee)}}catch(it){ie.e(it)}finally{ie.f()}}),j.textContent="".concat(H.processed.trim()).concat(le)}}(b,P),m(b,a(a({},P),{},{hasEllipsis:f(b)<G})),y){var z=h(b);y(z,B)}};if(typeof ResizeObserver<"u")return T(b),void function(B,P){var G=v(B),z=G.observer||new ResizeObserver(function(){var j=v(B);if(B.clientWidth!==j.prevWidth||B.clientHeight!==j.prevHeight){P();var K=a({},j);K.prevWidth=B.clientWidth,K.prevHeight=B.clientHeight,m(B,K)}});z.observe(B),m(B,a(a({},G),{},{observer:z}))}(b,$);$()},A=function(b,g){var y=g.value,N=y.lines,M=y.mode,_=y.midWord,$=y.ellipsis,B=y.onSnipped;D(b,{lines:N,mode:M,midWord:_,ellipsis:$},B)},E=function(b,g,y){var N,M=g.value,_=(y==null||(N=y.children)===null||N===void 0?void 0:N[0]).text,$=M.lines,B=M.mode,P=M.midWord,G=M.ellipsis,z=M.onSnipped;D(b,{lines:$,mode:B,midWord:P,ellipsis:G,textContent:_},z)},L=function(b){(function(g){O(g),T(g),function(y){d.delete(y)}(g)})(b)};return{install:function(b){var g,y=parseFloat(b.version[0])>2;b.directive("snip",(o(g={},y?"mounted":"inserted",A),o(g,y?"updated":"update",E),o(g,y?"unmounted":"unbind",L),g))}}})})(Lr);var sl=Lr.exports;const al=de.getDefaultExportFromCjs(sl),ll=["top","right","bottom","left"],qo=["start","end"],er=ll.reduce((e,n)=>e.concat(n,n+"-"+qo[0],n+"-"+qo[1]),[]),kt=Math.min,Qe=Math.max,ul={left:"right",right:"left",bottom:"top",top:"bottom"},cl={start:"end",end:"start"};function to(e,n,o){return Qe(e,kt(n,o))}function rt(e,n){return typeof e=="function"?e(n):e}function Oe(e){return e.split("-")[0]}function ye(e){return e.split("-")[1]}function Rr(e){return e==="x"?"y":"x"}function fo(e){return e==="y"?"height":"width"}function Dt(e){return["top","bottom"].includes(Oe(e))?"y":"x"}function po(e){return Rr(Dt(e))}function zr(e,n,o){o===void 0&&(o=!1);const r=ye(e),a=po(e),i=fo(a);let s=a==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[i]>n.floating[i]&&(s=gn(s)),[s,gn(s)]}function dl(e){const n=gn(e);return[mn(e),n,mn(n)]}function mn(e){return e.replace(/start|end/g,n=>cl[n])}function fl(e,n,o){const r=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return o?n?a:r:n?r:a;case"left":case"right":return n?i:s;default:return[]}}function pl(e,n,o,r){const a=ye(e);let i=fl(Oe(e),o==="start",r);return a&&(i=i.map(s=>s+"-"+a),n&&(i=i.concat(i.map(mn)))),i}function gn(e){return e.replace(/left|right|bottom|top/g,n=>ul[n])}function hl(e){return{top:0,right:0,bottom:0,left:0,...e}}function jr(e){return typeof e!="number"?hl(e):{top:e,right:e,bottom:e,left:e}}function Tt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function tr(e,n,o){let{reference:r,floating:a}=e;const i=Dt(n),s=po(n),l=fo(s),c=Oe(n),f=i==="y",d=r.x+r.width/2-a.width/2,v=r.y+r.height/2-a.height/2,m=r[l]/2-a[l]/2;let h;switch(c){case"top":h={x:d,y:r.y-a.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:v};break;case"left":h={x:r.x-a.width,y:v};break;default:h={x:r.x,y:r.y}}switch(ye(n)){case"start":h[s]-=m*(o&&f?-1:1);break;case"end":h[s]+=m*(o&&f?-1:1);break}return h}const vl=async(e,n,o)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(n));let f=await s.getElementRects({reference:e,floating:n,strategy:a}),{x:d,y:v}=tr(f,r,c),m=r,h={},T=0;for(let w=0;w<l.length;w++){const{name:S,fn:x}=l[w],{x:k,y:V,data:F,reset:O}=await x({x:d,y:v,initialPlacement:r,placement:m,strategy:a,middlewareData:h,rects:f,platform:s,elements:{reference:e,floating:n}});if(d=k??d,v=V??v,h={...h,[S]:{...h[S],...F}},O&&T<=50){T++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(f=O.rects===!0?await s.getElementRects({reference:e,floating:n,strategy:a}):O.rects),{x:d,y:v}=tr(f,m,c)),w=-1;continue}}return{x:d,y:v,placement:m,strategy:a,middlewareData:h}};async function On(e,n){var o;n===void 0&&(n={});const{x:r,y:a,platform:i,rects:s,elements:l,strategy:c}=e,{boundary:f="clippingAncestors",rootBoundary:d="viewport",elementContext:v="floating",altBoundary:m=!1,padding:h=0}=rt(n,e),T=jr(h),S=l[m?v==="floating"?"reference":"floating":v],x=Tt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(S)))==null||o?S:S.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:f,rootBoundary:d,strategy:c})),k=v==="floating"?{...s.floating,x:r,y:a}:s.reference,V=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),F=await(i.isElement==null?void 0:i.isElement(V))?await(i.getScale==null?void 0:i.getScale(V))||{x:1,y:1}:{x:1,y:1},O=Tt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:V,strategy:c}):k);return{top:(x.top-O.top+T.top)/F.y,bottom:(O.bottom-x.bottom+T.bottom)/F.y,left:(x.left-O.left+T.left)/F.x,right:(O.right-x.right+T.right)/F.x}}const ml=e=>({name:"arrow",options:e,async fn(n){const{x:o,y:r,placement:a,rects:i,platform:s,elements:l,middlewareData:c}=n,{element:f,padding:d=0}=rt(e,n)||{};if(f==null)return{};const v=jr(d),m={x:o,y:r},h=po(a),T=fo(h),w=await s.getDimensions(f),S=h==="y",x=S?"top":"left",k=S?"bottom":"right",V=S?"clientHeight":"clientWidth",F=i.reference[T]+i.reference[h]-m[h]-i.floating[T],O=m[h]-i.reference[h],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f));let A=D?D[V]:0;(!A||!await(s.isElement==null?void 0:s.isElement(D)))&&(A=l.floating[V]||i.floating[T]);const E=F/2-O/2,L=A/2-w[T]/2-1,b=kt(v[x],L),g=kt(v[k],L),y=b,N=A-w[T]-g,M=A/2-w[T]/2+E,_=to(y,M,N),$=!c.arrow&&ye(a)!=null&&M!=_&&i.reference[T]/2-(M<y?b:g)-w[T]/2<0,B=$?M<y?M-y:M-N:0;return{[h]:m[h]+B,data:{[h]:_,centerOffset:M-_-B,...$&&{alignmentOffset:B}},reset:$}}});function gl(e,n,o){return(e?[...o.filter(a=>ye(a)===e),...o.filter(a=>ye(a)!==e)]:o.filter(a=>Oe(a)===a)).filter(a=>e?ye(a)===e||(n?mn(a)!==a:!1):!0)}const yl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(n){var o,r,a;const{rects:i,middlewareData:s,placement:l,platform:c,elements:f}=n,{crossAxis:d=!1,alignment:v,allowedPlacements:m=er,autoAlignment:h=!0,...T}=rt(e,n),w=v!==void 0||m===er?gl(v||null,h,m):m,S=await On(n,T),x=((o=s.autoPlacement)==null?void 0:o.index)||0,k=w[x];if(k==null)return{};const V=zr(k,i,await(c.isRTL==null?void 0:c.isRTL(f.floating)));if(l!==k)return{reset:{placement:w[0]}};const F=[S[Oe(k)],S[V[0]],S[V[1]]],O=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:k,overflows:F}],D=w[x+1];if(D)return{data:{index:x+1,overflows:O},reset:{placement:D}};const A=O.map(b=>{const g=ye(b.placement);return[b.placement,g&&d?b.overflows.slice(0,2).reduce((y,N)=>y+N,0):b.overflows[0],b.overflows]}).sort((b,g)=>b[1]-g[1]),L=((a=A.filter(b=>b[2].slice(0,ye(b[0])?2:3).every(g=>g<=0))[0])==null?void 0:a[0])||A[0][0];return L!==l?{data:{index:x+1,overflows:O},reset:{placement:L}}:{}}}},bl=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var o,r;const{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:c,elements:f}=n,{mainAxis:d=!0,crossAxis:v=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:w=!0,...S}=rt(e,n);if((o=i.arrow)!=null&&o.alignmentOffset)return{};const x=Oe(a),k=Oe(l)===l,V=await(c.isRTL==null?void 0:c.isRTL(f.floating)),F=m||(k||!w?[gn(l)]:dl(l));!m&&T!=="none"&&F.push(...pl(l,w,T,V));const O=[l,...F],D=await On(n,S),A=[];let E=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&A.push(D[x]),v){const y=zr(a,s,V);A.push(D[y[0]],D[y[1]])}if(E=[...E,{placement:a,overflows:A}],!A.every(y=>y<=0)){var L,b;const y=(((L=i.flip)==null?void 0:L.index)||0)+1,N=O[y];if(N)return{data:{index:y,overflows:E},reset:{placement:N}};let M=(b=E.filter(_=>_.overflows[0]<=0).sort((_,$)=>_.overflows[1]-$.overflows[1])[0])==null?void 0:b.placement;if(!M)switch(h){case"bestFit":{var g;const _=(g=E.map($=>[$.placement,$.overflows.filter(B=>B>0).reduce((B,P)=>B+P,0)]).sort(($,B)=>$[1]-B[1])[0])==null?void 0:g[0];_&&(M=_);break}case"initialPlacement":M=l;break}if(a!==M)return{reset:{placement:M}}}return{}}}};async function wl(e,n){const{placement:o,platform:r,elements:a}=e,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),s=Oe(o),l=ye(o),c=Dt(o)==="y",f=["left","top"].includes(s)?-1:1,d=i&&c?-1:1,v=rt(n,e);let{mainAxis:m,crossAxis:h,alignmentAxis:T}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return l&&typeof T=="number"&&(h=l==="end"?T*-1:T),c?{x:h*d,y:m*f}:{x:m*f,y:h*d}}const Sl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){const{x:o,y:r}=n,a=await wl(n,e);return{x:o+a.x,y:r+a.y,data:a}}}},Tl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:o,y:r,placement:a}=n,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:S=>{let{x,y:k}=S;return{x,y:k}}},...c}=rt(e,n),f={x:o,y:r},d=await On(n,c),v=Dt(Oe(a)),m=Rr(v);let h=f[m],T=f[v];if(i){const S=m==="y"?"top":"left",x=m==="y"?"bottom":"right",k=h+d[S],V=h-d[x];h=to(k,h,V)}if(s){const S=v==="y"?"top":"left",x=v==="y"?"bottom":"right",k=T+d[S],V=T-d[x];T=to(k,T,V)}const w=l.fn({...n,[m]:h,[v]:T});return{...w,data:{x:w.x-o,y:w.y-r}}}}},Cl=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){const{placement:o,rects:r,platform:a,elements:i}=n,{apply:s=()=>{},...l}=rt(e,n),c=await On(n,l),f=Oe(o),d=ye(o),v=Dt(o)==="y",{width:m,height:h}=r.floating;let T,w;f==="top"||f==="bottom"?(T=f,w=d===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(w=f,T=d==="end"?"top":"bottom");const S=h-c[T],x=m-c[w],k=!n.middlewareData.shift;let V=S,F=x;if(v){const D=m-c.left-c.right;F=d||k?kt(x,D):D}else{const D=h-c.top-c.bottom;V=d||k?kt(S,D):D}if(k&&!d){const D=Qe(c.left,0),A=Qe(c.right,0),E=Qe(c.top,0),L=Qe(c.bottom,0);v?F=m-2*(D!==0||A!==0?D+A:Qe(c.left,c.right)):V=h-2*(E!==0||L!==0?E+L:Qe(c.top,c.bottom))}await s({...n,availableWidth:F,availableHeight:V});const O=await a.getDimensions(i.floating);return m!==O.width||h!==O.height?{reset:{rects:!0}}:{}}}};function ve(e){var n;return((n=e.ownerDocument)==null?void 0:n.defaultView)||window}function Ce(e){return ve(e).getComputedStyle(e)}const nr=Math.min,Ct=Math.max,yn=Math.round;function Hr(e){const n=Ce(e);let o=parseFloat(n.width),r=parseFloat(n.height);const a=e.offsetWidth,i=e.offsetHeight,s=yn(o)!==a||yn(r)!==i;return s&&(o=a,r=i),{width:o,height:r,fallback:s}}function We(e){return Wr(e)?(e.nodeName||"").toLowerCase():""}let rn;function Gr(){if(rn)return rn;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(rn=e.brands.map(n=>n.brand+"/"+n.version).join(" "),rn):navigator.userAgent}function Be(e){return e instanceof ve(e).HTMLElement}function He(e){return e instanceof ve(e).Element}function Wr(e){return e instanceof ve(e).Node}function or(e){return typeof ShadowRoot>"u"?!1:e instanceof ve(e).ShadowRoot||e instanceof ShadowRoot}function Pn(e){const{overflow:n,overflowX:o,overflowY:r,display:a}=Ce(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+o)&&!["inline","contents"].includes(a)}function Bl(e){return["table","td","th"].includes(We(e))}function no(e){const n=/firefox/i.test(Gr()),o=Ce(e),r=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||!!r&&r!=="none"||n&&o.willChange==="filter"||n&&!!o.filter&&o.filter!=="none"||["transform","perspective"].some(a=>o.willChange.includes(a))||["paint","layout","strict","content"].some(a=>{const i=o.contain;return i!=null&&i.includes(a)})}function Ur(){return!/^((?!chrome|android).)*safari/i.test(Gr())}function ho(e){return["html","body","#document"].includes(We(e))}function Xr(e){return He(e)?e:e.contextElement}const Kr={x:1,y:1};function pt(e){const n=Xr(e);if(!Be(n))return Kr;const o=n.getBoundingClientRect(),{width:r,height:a,fallback:i}=Hr(n);let s=(i?yn(o.width):o.width)/r,l=(i?yn(o.height):o.height)/a;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}function Nt(e,n,o,r){var a,i;n===void 0&&(n=!1),o===void 0&&(o=!1);const s=e.getBoundingClientRect(),l=Xr(e);let c=Kr;n&&(r?He(r)&&(c=pt(r)):c=pt(e));const f=l?ve(l):window,d=!Ur()&&o;let v=(s.left+(d&&((a=f.visualViewport)==null?void 0:a.offsetLeft)||0))/c.x,m=(s.top+(d&&((i=f.visualViewport)==null?void 0:i.offsetTop)||0))/c.y,h=s.width/c.x,T=s.height/c.y;if(l){const w=ve(l),S=r&&He(r)?ve(r):r;let x=w.frameElement;for(;x&&r&&S!==w;){const k=pt(x),V=x.getBoundingClientRect(),F=getComputedStyle(x);V.x+=(x.clientLeft+parseFloat(F.paddingLeft))*k.x,V.y+=(x.clientTop+parseFloat(F.paddingTop))*k.y,v*=k.x,m*=k.y,h*=k.x,T*=k.y,v+=V.x,m+=V.y,x=ve(x).frameElement}}return{width:h,height:T,top:m,right:v+h,bottom:m+T,left:v,x:v,y:m}}function Ge(e){return((Wr(e)?e.ownerDocument:e.document)||window.document).documentElement}function xn(e){return He(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Yr(e){return Nt(Ge(e)).left+xn(e).scrollLeft}function Et(e){if(We(e)==="html")return e;const n=e.assignedSlot||e.parentNode||or(e)&&e.host||Ge(e);return or(n)?n.host:n}function Zr(e){const n=Et(e);return ho(n)?n.ownerDocument.body:Be(n)&&Pn(n)?n:Zr(n)}function bn(e,n){var o;n===void 0&&(n=[]);const r=Zr(e),a=r===((o=e.ownerDocument)==null?void 0:o.body),i=ve(r);return a?n.concat(i,i.visualViewport||[],Pn(r)?r:[]):n.concat(r,bn(r))}function rr(e,n,o){return n==="viewport"?Tt(function(r,a){const i=ve(r),s=Ge(r),l=i.visualViewport;let c=s.clientWidth,f=s.clientHeight,d=0,v=0;if(l){c=l.width,f=l.height;const m=Ur();(m||!m&&a==="fixed")&&(d=l.offsetLeft,v=l.offsetTop)}return{width:c,height:f,x:d,y:v}}(e,o)):He(n)?Tt(function(r,a){const i=Nt(r,!0,a==="fixed"),s=i.top+r.clientTop,l=i.left+r.clientLeft,c=Be(r)?pt(r):{x:1,y:1};return{width:r.clientWidth*c.x,height:r.clientHeight*c.y,x:l*c.x,y:s*c.y}}(n,o)):Tt(function(r){const a=Ge(r),i=xn(r),s=r.ownerDocument.body,l=Ct(a.scrollWidth,a.clientWidth,s.scrollWidth,s.clientWidth),c=Ct(a.scrollHeight,a.clientHeight,s.scrollHeight,s.clientHeight);let f=-i.scrollLeft+Yr(r);const d=-i.scrollTop;return Ce(s).direction==="rtl"&&(f+=Ct(a.clientWidth,s.clientWidth)-l),{width:l,height:c,x:f,y:d}}(Ge(e)))}function ir(e){return Be(e)&&Ce(e).position!=="fixed"?e.offsetParent:null}function sr(e){const n=ve(e);let o=ir(e);for(;o&&Bl(o)&&Ce(o).position==="static";)o=ir(o);return o&&(We(o)==="html"||We(o)==="body"&&Ce(o).position==="static"&&!no(o))?n:o||function(r){let a=Et(r);for(;Be(a)&&!ho(a);){if(no(a))return a;a=Et(a)}return null}(e)||n}function Ol(e,n,o){const r=Be(n),a=Ge(n),i=Nt(e,!0,o==="fixed",n);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&o!=="fixed")if((We(n)!=="body"||Pn(a))&&(s=xn(n)),Be(n)){const c=Nt(n,!0);l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}else a&&(l.x=Yr(a));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const Pl={getClippingRect:function(e){let{element:n,boundary:o,rootBoundary:r,strategy:a}=e;const i=o==="clippingAncestors"?function(f,d){const v=d.get(f);if(v)return v;let m=bn(f).filter(S=>He(S)&&We(S)!=="body"),h=null;const T=Ce(f).position==="fixed";let w=T?Et(f):f;for(;He(w)&&!ho(w);){const S=Ce(w),x=no(w);(T?x||h:x||S.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=S:m=m.filter(k=>k!==w),w=Et(w)}return d.set(f,m),m}(n,this._c):[].concat(o),s=[...i,r],l=s[0],c=s.reduce((f,d)=>{const v=rr(n,d,a);return f.top=Ct(v.top,f.top),f.right=nr(v.right,f.right),f.bottom=nr(v.bottom,f.bottom),f.left=Ct(v.left,f.left),f},rr(n,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:n,offsetParent:o,strategy:r}=e;const a=Be(o),i=Ge(o);if(o===i)return n;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const c={x:0,y:0};if((a||!a&&r!=="fixed")&&((We(o)!=="body"||Pn(i))&&(s=xn(o)),Be(o))){const f=Nt(o);l=pt(o),c.x=f.x+o.clientLeft,c.y=f.y+o.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-s.scrollLeft*l.x+c.x,y:n.y*l.y-s.scrollTop*l.y+c.y}},isElement:He,getDimensions:function(e){return Be(e)?Hr(e):e.getBoundingClientRect()},getOffsetParent:sr,getDocumentElement:Ge,getScale:pt,async getElementRects(e){let{reference:n,floating:o,strategy:r}=e;const a=this.getOffsetParent||sr,i=this.getDimensions;return{reference:Ol(n,await a(o),r),floating:{x:0,y:0,...await i(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Ce(e).direction==="rtl"},xl=(e,n,o)=>{const r=new Map,a={platform:Pl,...o},i={...a.platform,_c:r};return vl(e,n,{...a,platform:i})};function Qr(e,n){for(const o in n)Object.prototype.hasOwnProperty.call(n,o)&&(typeof n[o]=="object"&&e[o]?Qr(e[o],n[o]):e[o]=n[o])}const $e={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function $t(e,n){let o=$e.themes[e]||{},r;do r=o[n],typeof r>"u"?o.$extend?o=$e.themes[o.$extend]||{}:(o=null,r=$e[n]):o=null;while(o);return r}function kl(e){const n=[e];let o=$e.themes[e]||{};do o.$extend&&!o.$resetCss?(n.push(o.$extend),o=$e.themes[o.$extend]||{}):o=null;while(o);return n.map(r=>`v-popper--theme-${r}`)}function ar(e){const n=[e];let o=$e.themes[e]||{};do o.$extend?(n.push(o.$extend),o=$e.themes[o.$extend]||{}):o=null;while(o);return n}let ot=!1;if(typeof window<"u"){ot=!1;try{const e=Object.defineProperty({},"passive",{get(){ot=!0}});window.addEventListener("test",null,e)}catch{}}let Jr=!1;typeof window<"u"&&typeof navigator<"u"&&(Jr=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const qr=["auto","top","bottom","left","right"].reduce((e,n)=>e.concat([n,`${n}-start`,`${n}-end`]),[]),lr={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},ur={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function cr(e,n){const o=e.indexOf(n);o!==-1&&e.splice(o,1)}function Kn(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const ge=[];let Ze=null;const dr={};function fr(e){let n=dr[e];return n||(n=dr[e]=[]),n}let oo=function(){};typeof window<"u"&&(oo=window.Element);function Z(e){return function(n){return $t(n.theme,e)}}const Yn="__floating-vue__popper",ei=()=>t.defineComponent({name:"VPopper",provide(){return{[Yn]:{parentPopper:this}}},inject:{[Yn]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Z("disabled")},positioningDisabled:{type:Boolean,default:Z("positioningDisabled")},placement:{type:String,default:Z("placement"),validator:e=>qr.includes(e)},delay:{type:[String,Number,Object],default:Z("delay")},distance:{type:[Number,String],default:Z("distance")},skidding:{type:[Number,String],default:Z("skidding")},triggers:{type:Array,default:Z("triggers")},showTriggers:{type:[Array,Function],default:Z("showTriggers")},hideTriggers:{type:[Array,Function],default:Z("hideTriggers")},popperTriggers:{type:Array,default:Z("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Z("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Z("popperHideTriggers")},container:{type:[String,Object,oo,Boolean],default:Z("container")},boundary:{type:[String,oo],default:Z("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Z("strategy")},autoHide:{type:[Boolean,Function],default:Z("autoHide")},handleResize:{type:Boolean,default:Z("handleResize")},instantMove:{type:Boolean,default:Z("instantMove")},eagerMount:{type:Boolean,default:Z("eagerMount")},popperClass:{type:[String,Array,Object],default:Z("popperClass")},computeTransformOrigin:{type:Boolean,default:Z("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Z("autoMinSize")},autoSize:{type:[Boolean,String],default:Z("autoSize")},autoMaxSize:{type:Boolean,default:Z("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Z("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Z("preventOverflow")},overflowPadding:{type:[Number,String],default:Z("overflowPadding")},arrowPadding:{type:[Number,String],default:Z("arrowPadding")},arrowOverflow:{type:Boolean,default:Z("arrowOverflow")},flip:{type:Boolean,default:Z("flip")},shift:{type:Boolean,default:Z("shift")},shiftCrossAxis:{type:Boolean,default:Z("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Z("noAutoFocus")},disposeTimeout:{type:Number,default:Z("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Yn])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,n;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((n=this.popperShowTriggers)==null?void 0:n.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,n)=>(e[n]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,n)=>(e[n]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:n=!1,force:o=!1}={}){var r,a;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(o||!this.disabled)&&(((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,n),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:n=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:n}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,n),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(n=>n.nodeType===n.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Sl({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?e.middleware.push(yl({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Tl({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&e.middleware.push(bl({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(ml({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:a,middlewareData:i})=>{let s;const{centerOffset:l}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(l)>a.reference.width/2:s=Math.abs(l)>a.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:a,placement:i,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let c,f;return i.startsWith("top")||i.startsWith("bottom")?c=a.reference.width:f=a.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=f!=null?`${f}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Cl({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:a})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=a!=null?`${a}px`:null}})));const o=await xl(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,n=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ze&&this.instantMove&&Ze.instantMove&&Ze!==this.parentPopper){Ze.$_applyHide(!0),this.$_applyShow(!0);return}n?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,n=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ze=this),n?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const n=this.delay;return parseInt(n&&n[e]||n||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Kn(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...bn(this.$_referenceNode),...bn(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const n=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),r=o.parentNode.getBoundingClientRect(),a=n.x+n.width/2-(r.left+o.offsetLeft),i=n.y+n.height/2-(r.top+o.offsetTop);this.result.transformOrigin=`${a}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let n;for(let o=0;o<ge.length;o++)n=ge[o],n.showGroup!==e&&(n.hide(),n.$emit("close-group"))}ge.push(this),document.body.classList.add("v-popper--some-open");for(const n of ar(this.theme))fr(n).push(this),document.body.classList.add(`v-popper--some-open--${n}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Kn(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,cr(ge,this),ge.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of ar(this.theme)){const r=fr(o);cr(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}Ze===this&&(Ze=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const n=this.disposeTimeout;n!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},n)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Kn(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,lr,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],lr,this.popperTriggers,this.popperShowTriggers,e);const n=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,ur,this.triggers,this.hideTriggers,n),this.$_registerTriggerListeners([this.$_popperNode],ur,this.popperTriggers,this.popperHideTriggers,n)},$_registerEventListeners(e,n,o){this.$_events.push({targetNodes:e,eventType:n,handler:o}),e.forEach(r=>r.addEventListener(n,o,ot?{passive:!0}:void 0))},$_registerTriggerListeners(e,n,o,r,a){let i=o;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const l=n[s];l&&this.$_registerEventListeners(e,l,a)})},$_removeEventListeners(e){const n=[];this.$_events.forEach(o=>{const{targetNodes:r,eventType:a,handler:i}=o;!e||e===a?r.forEach(s=>s.removeEventListener(a,i)):n.push(o)}),this.$_events=n},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,n=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,n){for(const o of this.$_targetNodes){const r=o.getAttribute(e);r&&(o.removeAttribute(e),o.setAttribute(n,r))}},$_applyAttrsToTarget(e){for(const n of this.$_targetNodes)for(const o in e){const r=e[o];r==null?n.removeAttribute(o):n.setAttribute(o,r)}},$_updateParentShownChildren(e){let n=this.parentPopper;for(;n;)e?n.shownChildren.add(this.randomId):(n.shownChildren.delete(this.randomId),n.$_pendingHide&&n.hide()),n=n.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Bt>=e.left&&Bt<=e.right&&Ot>=e.top&&Ot<=e.bottom){const n=this.$_popperNode.getBoundingClientRect(),o=Bt-Re,r=Ot-ze,a=n.left+n.width/2-Re+(n.top+n.height/2)-ze+n.width+n.height,i=Re+o*a,s=ze+r*a;return sn(Re,ze,i,s,n.left,n.top,n.left,n.bottom)||sn(Re,ze,i,s,n.left,n.top,n.right,n.top)||sn(Re,ze,i,s,n.right,n.top,n.right,n.bottom)||sn(Re,ze,i,s,n.left,n.bottom,n.right,n.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(Jr?(document.addEventListener("touchstart",pr,ot?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",El,ot?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",pr,!0),window.addEventListener("click",Nl,!0)),window.addEventListener("resize",Dl));function pr(e){for(let n=0;n<ge.length;n++){const o=ge[n];try{const r=o.popperNode();o.$_mouseDownContains=r.contains(e.target)}catch{}}}function Nl(e){ti(e)}function El(e){ti(e,!0)}function ti(e,n=!1){const o={};for(let r=ge.length-1;r>=0;r--){const a=ge[r];try{const i=a.$_containsGlobalTarget=$l(a,e);a.$_pendingHide=!1,requestAnimationFrame(()=>{if(a.$_pendingHide=!1,!o[a.randomId]&&hr(a,i,e)){if(a.$_handleGlobalClose(e,n),!e.closeAllPopover&&e.closePopover&&i){let l=a.parentPopper;for(;l;)o[l.randomId]=!0,l=l.parentPopper;return}let s=a.parentPopper;for(;s&&hr(s,s.$_containsGlobalTarget,e);)s.$_handleGlobalClose(e,n),s=s.parentPopper}})}catch{}}}function $l(e,n){const o=e.popperNode();return e.$_mouseDownContains||o.contains(n.target)}function hr(e,n,o){return o.closeAllPopover||o.closePopover&&n||Al(e,o)&&!n}function Al(e,n){if(typeof e.autoHide=="function"){const o=e.autoHide(n);return e.lastAutoHide=o,o}return e.autoHide}function Dl(e){for(let n=0;n<ge.length;n++)ge[n].$_computePosition(e)}let Re=0,ze=0,Bt=0,Ot=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Re=Bt,ze=Ot,Bt=e.clientX,Ot=e.clientY},ot?{passive:!0}:void 0);function sn(e,n,o,r,a,i,s,l){const c=((s-a)*(n-i)-(l-i)*(e-a))/((l-i)*(o-e)-(s-a)*(r-n)),f=((o-e)*(n-i)-(r-n)*(e-a))/((l-i)*(o-e)-(s-a)*(r-n));return c>=0&&c<=1&&f>=0&&f<=1}const Il={extends:ei()},kn=(e,n)=>{const o=e.__vccOpts||e;for(const[r,a]of n)o[r]=a;return o};function Ml(e,n,o,r,a,i){return t.openBlock(),t.createElementBlock("div",{ref:"reference",class:t.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[t.renderSlot(e.$slots,"default",t.normalizeProps(t.guardReactiveProps(e.slotData)))],2)}const Vl=kn(Il,[["render",Ml]]);function Fl(){var e=window.navigator.userAgent,n=e.indexOf("MSIE ");if(n>0)return parseInt(e.substring(n+5,e.indexOf(".",n)),10);var o=e.indexOf("Trident/");if(o>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var a=e.indexOf("Edge/");return a>0?parseInt(e.substring(a+5,e.indexOf(".",a)),10):-1}let un;function ro(){ro.init||(ro.init=!0,un=Fl()!==-1)}var Nn={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ro(),t.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",un&&this.$el.appendChild(e),e.data="about:blank",un||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!un&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const _l=t.withScopeId();t.pushScopeId("data-v-b329ee4c");const Ll={class:"resize-observer",tabindex:"-1"};t.popScopeId();const Rl=_l((e,n,o,r,a,i)=>(t.openBlock(),t.createBlock("div",Ll)));Nn.render=Rl;Nn.__scopeId="data-v-b329ee4c";Nn.__file="src/components/ResizeObserver.vue";const ni=(e="theme")=>({computed:{themeClass(){return kl(this[e])}}}),zl=t.defineComponent({name:"VPopperContent",components:{ResizeObserver:Nn},mixins:[ni()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),jl=["id","aria-hidden","tabindex","data-popper-placement"],Hl={ref:"inner",class:"v-popper__inner"},Gl=t.createBaseVNode("div",{class:"v-popper__arrow-outer"},null,-1),Wl=t.createBaseVNode("div",{class:"v-popper__arrow-inner"},null,-1),Ul=[Gl,Wl];function Xl(e,n,o,r,a,i){const s=t.resolveComponent("ResizeObserver");return t.openBlock(),t.createElementBlock("div",{id:e.popperId,ref:"popover",class:t.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:t.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:n[2]||(n[2]=t.withKeys(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[t.createBaseVNode("div",{class:"v-popper__backdrop",onClick:n[0]||(n[0]=l=>e.autoHide&&e.$emit("hide"))}),t.createBaseVNode("div",{class:"v-popper__wrapper",style:t.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[t.createBaseVNode("div",Hl,[e.mounted?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createBaseVNode("div",null,[t.renderSlot(e.$slots,"default")]),e.handleResize?(t.openBlock(),t.createBlock(s,{key:0,onNotify:n[1]||(n[1]=l=>e.$emit("resize",l))})):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],512),t.createBaseVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:t.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Ul,4)],4)],46,jl)}const oi=kn(zl,[["render",Xl]]),ri={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},Kl=t.defineComponent({name:"VPopperWrapper",components:{Popper:Vl,PopperContent:oi},mixins:[ri,ni("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Yl(e,n,o,r,a,i){const s=t.resolveComponent("PopperContent"),l=t.resolveComponent("Popper");return t.openBlock(),t.createBlock(l,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:t.normalizeClass([e.themeClass])},{default:t.withCtx(({popperId:c,isShown:f,shouldMountContent:d,skipTransition:v,autoHide:m,show:h,hide:T,handleResize:w,onResize:S,classes:x,result:k})=>[t.renderSlot(e.$slots,"default",{shown:f,show:h,hide:T}),t.createVNode(s,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:f,mounted:d,"skip-transition":v,"auto-hide":m,"handle-resize":w,classes:x,result:k,onHide:T,onResize:S},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"popper",{shown:f,hide:T})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const vo=kn(Kl,[["render",Yl]]),Zl={...vo,name:"VDropdown",vPopperTheme:"dropdown"},Ql={...vo,name:"VMenu",vPopperTheme:"menu"},Jl={...vo,name:"VTooltip",vPopperTheme:"tooltip"},ql=t.defineComponent({name:"VTooltipDirective",components:{Popper:ei(),PopperContent:oi},mixins:[ri],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>$t(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>$t(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const n=++this.$_fetchId,o=this.content(this);o.then?o.then(r=>this.onResult(n,r)):this.onResult(n,o)}},onResult(e,n){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=n)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),eu=["innerHTML"],tu=["textContent"];function nu(e,n,o,r,a,i){const s=t.resolveComponent("PopperContent"),l=t.resolveComponent("Popper");return t.openBlock(),t.createBlock(l,t.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:t.withCtx(({popperId:c,isShown:f,shouldMountContent:d,skipTransition:v,autoHide:m,hide:h,handleResize:T,onResize:w,classes:S,result:x})=>[t.createVNode(s,{ref:"popperContent",class:t.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:f,mounted:d,"skip-transition":v,"auto-hide":m,"handle-resize":T,classes:S,result:x,onHide:h,onResize:w},{default:t.withCtx(()=>[e.html?(t.openBlock(),t.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,eu)):(t.openBlock(),t.createElementBlock("div",{key:1,textContent:t.toDisplayString(e.finalContent)},null,8,tu))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const ou=kn(ql,[["render",nu]]),ii="v-popper--has-tooltip";function ru(e,n){let o=e.placement;if(!o&&n)for(const r of qr)n[r]&&(o=r);return o||(o=$t(e.theme||"tooltip","placement")),o}function si(e,n,o){let r;const a=typeof n;return a==="string"?r={content:n}:n&&a==="object"?r=n:r={content:!1},r.placement=ru(r,o),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let Zn,At,iu=0;function su(){if(Zn)return;At=t.ref([]),Zn=t.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:At}},render(){return this.directives.map(n=>t.h(ou,{...n.options,shown:n.shown||n.options.shown,key:n.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Zn.mount(e)}function au(e,n,o){su();const r=t.ref(si(e,n,o)),a=t.ref(!1),i={id:iu++,options:r,shown:a};return At.value.push(i),e.classList&&e.classList.add(ii),e.$_popper={options:r,item:i,show(){a.value=!0},hide(){a.value=!1}}}function ai(e){if(e.$_popper){const n=At.value.indexOf(e.$_popper.item);n!==-1&&At.value.splice(n,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(ii)}function vr(e,{value:n,modifiers:o}){const r=si(e,n,o);if(!r.content||$t(r.theme||"tooltip","disabled"))ai(e);else{let a;e.$_popper?(a=e.$_popper,a.options.value=r):a=au(e,n,o),typeof n.shown<"u"&&n.shown!==e.$_popperOldShown&&(e.$_popperOldShown=n.shown,n.shown?a.show():a.hide())}}const lu={beforeMount:vr,updated:vr,beforeUnmount(e){ai(e)}};function mr(e){e.addEventListener("click",li),e.addEventListener("touchstart",ui,ot?{passive:!0}:!1)}function gr(e){e.removeEventListener("click",li),e.removeEventListener("touchstart",ui),e.removeEventListener("touchend",ci),e.removeEventListener("touchcancel",di)}function li(e){const n=e.currentTarget;e.closePopover=!n.$_vclosepopover_touch,e.closeAllPopover=n.$_closePopoverModifiers&&!!n.$_closePopoverModifiers.all}function ui(e){if(e.changedTouches.length===1){const n=e.currentTarget;n.$_vclosepopover_touch=!0;const o=e.changedTouches[0];n.$_vclosepopover_touchPoint=o,n.addEventListener("touchend",ci),n.addEventListener("touchcancel",di)}}function ci(e){const n=e.currentTarget;if(n.$_vclosepopover_touch=!1,e.changedTouches.length===1){const o=e.changedTouches[0],r=n.$_vclosepopover_touchPoint;e.closePopover=Math.abs(o.screenY-r.screenY)<20&&Math.abs(o.screenX-r.screenX)<20,e.closeAllPopover=n.$_closePopoverModifiers&&!!n.$_closePopoverModifiers.all}}function di(e){const n=e.currentTarget;n.$_vclosepopover_touch=!1}const uu={beforeMount(e,{value:n,modifiers:o}){e.$_closePopoverModifiers=o,(typeof n>"u"||n)&&mr(e)},updated(e,{value:n,oldValue:o,modifiers:r}){e.$_closePopoverModifiers=r,n!==o&&(typeof n>"u"||n?mr(e):gr(e))},beforeUnmount(e){gr(e)}};function cu(e,n={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Qr($e,n),e.directive("tooltip",lu),e.directive("close-popper",uu),e.component("VTooltip",Jl),e.component("VDropdown",Zl),e.component("VMenu",Ql))}const du={version:"2.0.0-beta.24",install:cu,options:$e};var fi={exports:{}};(function(e,n){(function(r,a){e.exports=a(Cr.require$$1)})(typeof self<"u"?self:de.commonjsGlobal,function(o){return function(r){var a={};function i(s){if(a[s])return a[s].exports;var l=a[s]={i:s,l:!1,exports:{}};return r[s].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=r,i.c=a,i.d=function(s,l,c){i.o(s,l)||Object.defineProperty(s,l,{enumerable:!0,get:c})},i.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},i.t=function(s,l){if(l&1&&(s=i(s)),l&8||l&4&&typeof s=="object"&&s&&s.__esModule)return s;var c=Object.create(null);if(i.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:s}),l&2&&typeof s!="string")for(var f in s)i.d(c,f,function(d){return s[d]}.bind(null,f));return c},i.n=function(s){var l=s&&s.__esModule?function(){return s.default}:function(){return s};return i.d(l,"a",l),l},i.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)},i.p="",i(i.s="fb15")}({"00ee":function(r,a,i){var s=i("b622"),l=s("toStringTag"),c={};c[l]="z",r.exports=String(c)==="[object z]"},"0366":function(r,a,i){var s=i("1c0b");r.exports=function(l,c,f){if(s(l),c===void 0)return l;switch(f){case 0:return function(){return l.call(c)};case 1:return function(d){return l.call(c,d)};case 2:return function(d,v){return l.call(c,d,v)};case 3:return function(d,v,m){return l.call(c,d,v,m)}}return function(){return l.apply(c,arguments)}}},"06cf":function(r,a,i){var s=i("83ab"),l=i("d1e7"),c=i("5c6c"),f=i("fc6a"),d=i("c04e"),v=i("5135"),m=i("0cfb"),h=Object.getOwnPropertyDescriptor;a.f=s?h:function(w,S){if(w=f(w),S=d(S,!0),m)try{return h(w,S)}catch{}if(v(w,S))return c(!l.f.call(w,S),w[S])}},"0cfb":function(r,a,i){var s=i("83ab"),l=i("d039"),c=i("cc12");r.exports=!s&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"1be4":function(r,a,i){var s=i("d066");r.exports=s("document","documentElement")},"1c0b":function(r,a){r.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1d80":function(r,a){r.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(r,a,i){var s=i("d039"),l=i("b622"),c=i("2d00"),f=l("species");r.exports=function(d){return c>=51||!s(function(){var v=[],m=v.constructor={};return m[f]=function(){return{foo:1}},v[d](Boolean).foo!==1})}},"23cb":function(r,a,i){var s=i("a691"),l=Math.max,c=Math.min;r.exports=function(f,d){var v=s(f);return v<0?l(v+d,0):c(v,d)}},"23e7":function(r,a,i){var s=i("da84"),l=i("06cf").f,c=i("9112"),f=i("6eeb"),d=i("ce4e"),v=i("e893"),m=i("94ca");r.exports=function(h,T){var w=h.target,S=h.global,x=h.stat,k,V,F,O,D,A;if(S?V=s:x?V=s[w]||d(w,{}):V=(s[w]||{}).prototype,V)for(F in T){if(D=T[F],h.noTargetGet?(A=l(V,F),O=A&&A.value):O=V[F],k=m(S?F:w+(x?".":"#")+F,h.forced),!k&&O!==void 0){if(typeof D==typeof O)continue;v(D,O)}(h.sham||O&&O.sham)&&c(D,"sham",!0),f(V,F,D,h)}}},"241c":function(r,a,i){var s=i("ca84"),l=i("7839"),c=l.concat("length","prototype");a.f=Object.getOwnPropertyNames||function(d){return s(d,c)}},"2d00":function(r,a,i){var s=i("da84"),l=i("342f"),c=s.process,f=c&&c.versions,d=f&&f.v8,v,m;d?(v=d.split("."),m=v[0]+v[1]):l&&(v=l.match(/Edge\/(\d+)/),(!v||v[1]>=74)&&(v=l.match(/Chrome\/(\d+)/),v&&(m=v[1]))),r.exports=m&&+m},"342f":function(r,a,i){var s=i("d066");r.exports=s("navigator","userAgent")||""},"37e8":function(r,a,i){var s=i("83ab"),l=i("9bf2"),c=i("825a"),f=i("df75");r.exports=s?Object.defineProperties:function(v,m){c(v);for(var h=f(m),T=h.length,w=0,S;T>w;)l.f(v,S=h[w++],m[S]);return v}},"3bbe":function(r,a,i){var s=i("861d");r.exports=function(l){if(!s(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"428f":function(r,a,i){var s=i("da84");r.exports=s},"44ad":function(r,a,i){var s=i("d039"),l=i("c6b6"),c="".split;r.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(f){return l(f)=="String"?c.call(f,""):Object(f)}:Object},4930:function(r,a,i){var s=i("d039");r.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})},"4d64":function(r,a,i){var s=i("fc6a"),l=i("50c4"),c=i("23cb"),f=function(d){return function(v,m,h){var T=s(v),w=l(T.length),S=c(h,w),x;if(d&&m!=m){for(;w>S;)if(x=T[S++],x!=x)return!0}else for(;w>S;S++)if((d||S in T)&&T[S]===m)return d||S||0;return!d&&-1}};r.exports={includes:f(!0),indexOf:f(!1)}},"4de4":function(r,a,i){var s=i("23e7"),l=i("b727").filter,c=i("1dde"),f=i("ae40"),d=c("filter"),v=f("filter");s({target:"Array",proto:!0,forced:!d||!v},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"50c4":function(r,a,i){var s=i("a691"),l=Math.min;r.exports=function(c){return c>0?l(s(c),9007199254740991):0}},5135:function(r,a){var i={}.hasOwnProperty;r.exports=function(s,l){return i.call(s,l)}},5692:function(r,a,i){var s=i("c430"),l=i("c6cd");(r.exports=function(c,f){return l[c]||(l[c]=f!==void 0?f:{})})("versions",[]).push({version:"3.6.5",mode:s?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(r,a,i){var s=i("d066"),l=i("241c"),c=i("7418"),f=i("825a");r.exports=s("Reflect","ownKeys")||function(v){var m=l.f(f(v)),h=c.f;return h?m.concat(h(v)):m}},5899:function(r,a){r.exports=`
|
|
12
|
-
\v\f\r \u2028\u2029\uFEFF`},"58a8":function(r,a,i){var s=i("1d80"),l=i("5899"),c="["+l+"]",f=RegExp("^"+c+c+"*"),d=RegExp(c+c+"*$"),v=function(m){return function(h){var T=String(s(h));return m&1&&(T=T.replace(f,"")),m&2&&(T=T.replace(d,"")),T}};r.exports={start:v(1),end:v(2),trim:v(3)}},"5c6c":function(r,a){r.exports=function(i,s){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:s}}},"652c":function(r,a,i){},"65f0":function(r,a,i){var s=i("861d"),l=i("e8b5"),c=i("b622"),f=c("species");r.exports=function(d,v){var m;return l(d)&&(m=d.constructor,typeof m=="function"&&(m===Array||l(m.prototype))?m=void 0:s(m)&&(m=m[f],m===null&&(m=void 0))),new(m===void 0?Array:m)(v===0?0:v)}},"69f3":function(r,a,i){var s=i("7f9a"),l=i("da84"),c=i("861d"),f=i("9112"),d=i("5135"),v=i("f772"),m=i("d012"),h=l.WeakMap,T,w,S,x=function(E){return S(E)?w(E):T(E,{})},k=function(E){return function(L){var b;if(!c(L)||(b=w(L)).type!==E)throw TypeError("Incompatible receiver, "+E+" required");return b}};if(s){var V=new h,F=V.get,O=V.has,D=V.set;T=function(E,L){return D.call(V,E,L),L},w=function(E){return F.call(V,E)||{}},S=function(E){return O.call(V,E)}}else{var A=v("state");m[A]=!0,T=function(E,L){return f(E,A,L),L},w=function(E){return d(E,A)?E[A]:{}},S=function(E){return d(E,A)}}r.exports={set:T,get:w,has:S,enforce:x,getterFor:k}},"6b0d":function(r,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a.default=(s,l)=>{const c=s.__vccOpts||s;for(const[f,d]of l)c[f]=d;return c}},"6eeb":function(r,a,i){var s=i("da84"),l=i("9112"),c=i("5135"),f=i("ce4e"),d=i("8925"),v=i("69f3"),m=v.get,h=v.enforce,T=String(String).split("String");(r.exports=function(w,S,x,k){var V=k?!!k.unsafe:!1,F=k?!!k.enumerable:!1,O=k?!!k.noTargetGet:!1;if(typeof x=="function"&&(typeof S=="string"&&!c(x,"name")&&l(x,"name",S),h(x).source=T.join(typeof S=="string"?S:"")),w===s){F?w[S]=x:f(S,x);return}else V?!O&&w[S]&&(F=!0):delete w[S];F?w[S]=x:l(w,S,x)})(Function.prototype,"toString",function(){return typeof this=="function"&&m(this).source||d(this)})},7156:function(r,a,i){var s=i("861d"),l=i("d2bb");r.exports=function(c,f,d){var v,m;return l&&typeof(v=f.constructor)=="function"&&v!==d&&s(m=v.prototype)&&m!==d.prototype&&l(c,m),c}},7418:function(r,a){a.f=Object.getOwnPropertySymbols},7839:function(r,a){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7ae1":function(r,a,i){i("652c")},"7b0b":function(r,a,i){var s=i("1d80");r.exports=function(l){return Object(s(l))}},"7c73":function(r,a,i){var s=i("825a"),l=i("37e8"),c=i("7839"),f=i("d012"),d=i("1be4"),v=i("cc12"),m=i("f772"),h=">",T="<",w="prototype",S="script",x=m("IE_PROTO"),k=function(){},V=function(E){return T+S+h+E+T+"/"+S+h},F=function(E){E.write(V("")),E.close();var L=E.parentWindow.Object;return E=null,L},O=function(){var E=v("iframe"),L="java"+S+":",b;return E.style.display="none",d.appendChild(E),E.src=String(L),b=E.contentWindow.document,b.open(),b.write(V("document.F=Object")),b.close(),b.F},D,A=function(){try{D=document.domain&&new ActiveXObject("htmlfile")}catch{}A=D?F(D):O();for(var E=c.length;E--;)delete A[w][c[E]];return A()};f[x]=!0,r.exports=Object.create||function(L,b){var g;return L!==null?(k[w]=s(L),g=new k,k[w]=null,g[x]=L):g=A(),b===void 0?g:l(g,b)}},"7f9a":function(r,a,i){var s=i("da84"),l=i("8925"),c=s.WeakMap;r.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(r,a,i){var s=i("861d");r.exports=function(l){if(!s(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(r,a,i){var s=i("d039");r.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(r,a,i){var s=i("c04e"),l=i("9bf2"),c=i("5c6c");r.exports=function(f,d,v){var m=s(d);m in f?l.f(f,m,c(0,v)):f[m]=v}},"861d":function(r,a){r.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},8875:function(r,a,i){var s,l,c;(function(f,d){l=[],s=d,c=typeof s=="function"?s.apply(a,l):s,c!==void 0&&(r.exports=c)})(typeof self<"u"?self:this,function(){function f(){var d=Object.getOwnPropertyDescriptor(document,"currentScript");if(!d&&"currentScript"in document&&document.currentScript||d&&d.get!==f&&document.currentScript)return document.currentScript;try{throw new Error}catch(D){var v=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,m=/@([^@]*):(\d+):(\d+)\s*$/ig,h=v.exec(D.stack)||m.exec(D.stack),T=h&&h[1]||!1,w=h&&h[2]||!1,S=document.location.href.replace(document.location.hash,""),x,k,V,F=document.getElementsByTagName("script");T===S&&(x=document.documentElement.outerHTML,k=new RegExp("(?:[^\\n]+?\\n){0,"+(w-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),V=x.replace(k,"$1").trim());for(var O=0;O<F.length;O++)if(F[O].readyState==="interactive"||F[O].src===T||T===S&&F[O].innerHTML&&F[O].innerHTML.trim()===V)return F[O];return null}}return f})},8925:function(r,a,i){var s=i("c6cd"),l=Function.toString;typeof s.inspectSource!="function"&&(s.inspectSource=function(c){return l.call(c)}),r.exports=s.inspectSource},"8bbf":function(r,a){r.exports=o},"90e3":function(r,a){var i=0,s=Math.random();r.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++i+s).toString(36)}},9112:function(r,a,i){var s=i("83ab"),l=i("9bf2"),c=i("5c6c");r.exports=s?function(f,d,v){return l.f(f,d,c(1,v))}:function(f,d,v){return f[d]=v,f}},"94ca":function(r,a,i){var s=i("d039"),l=/#|\.prototype\./,c=function(h,T){var w=d[f(h)];return w==m?!0:w==v?!1:typeof T=="function"?s(T):!!T},f=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},d=c.data={},v=c.NATIVE="N",m=c.POLYFILL="P";r.exports=c},"99af":function(r,a,i){var s=i("23e7"),l=i("d039"),c=i("e8b5"),f=i("861d"),d=i("7b0b"),v=i("50c4"),m=i("8418"),h=i("65f0"),T=i("1dde"),w=i("b622"),S=i("2d00"),x=w("isConcatSpreadable"),k=9007199254740991,V="Maximum allowed index exceeded",F=S>=51||!l(function(){var E=[];return E[x]=!1,E.concat()[0]!==E}),O=T("concat"),D=function(E){if(!f(E))return!1;var L=E[x];return L!==void 0?!!L:c(E)},A=!F||!O;s({target:"Array",proto:!0,forced:A},{concat:function(L){var b=d(this),g=h(b,0),y=0,N,M,_,$,B;for(N=-1,_=arguments.length;N<_;N++)if(B=N===-1?b:arguments[N],D(B)){if($=v(B.length),y+$>k)throw TypeError(V);for(M=0;M<$;M++,y++)M in B&&m(g,y,B[M])}else{if(y>=k)throw TypeError(V);m(g,y++,B)}return g.length=y,g}})},"9bf2":function(r,a,i){var s=i("83ab"),l=i("0cfb"),c=i("825a"),f=i("c04e"),d=Object.defineProperty;a.f=s?d:function(m,h,T){if(c(m),h=f(h,!0),c(T),l)try{return d(m,h,T)}catch{}if("get"in T||"set"in T)throw TypeError("Accessors not supported");return"value"in T&&(m[h]=T.value),m}},a691:function(r,a){var i=Math.ceil,s=Math.floor;r.exports=function(l){return isNaN(l=+l)?0:(l>0?s:i)(l)}},a9e3:function(r,a,i){var s=i("83ab"),l=i("da84"),c=i("94ca"),f=i("6eeb"),d=i("5135"),v=i("c6b6"),m=i("7156"),h=i("c04e"),T=i("d039"),w=i("7c73"),S=i("241c").f,x=i("06cf").f,k=i("9bf2").f,V=i("58a8").trim,F="Number",O=l[F],D=O.prototype,A=v(w(D))==F,E=function(N){var M=h(N,!1),_,$,B,P,G,z,j,K;if(typeof M=="string"&&M.length>2){if(M=V(M),_=M.charCodeAt(0),_===43||_===45){if($=M.charCodeAt(2),$===88||$===120)return NaN}else if(_===48){switch(M.charCodeAt(1)){case 66:case 98:B=2,P=49;break;case 79:case 111:B=8,P=55;break;default:return+M}for(G=M.slice(2),z=G.length,j=0;j<z;j++)if(K=G.charCodeAt(j),K<48||K>P)return NaN;return parseInt(G,B)}}return+M};if(c(F,!O(" 0o1")||!O("0b1")||O("+0x1"))){for(var L=function(M){var _=arguments.length<1?0:M,$=this;return $ instanceof L&&(A?T(function(){D.valueOf.call($)}):v($)!=F)?m(new O(E(_)),$,L):E(_)},b=s?S(O):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),g=0,y;b.length>g;g++)d(O,y=b[g])&&!d(L,y)&&k(L,y,x(O,y));L.prototype=D,D.constructor=L,f(l,F,L)}},ae40:function(r,a,i){var s=i("83ab"),l=i("d039"),c=i("5135"),f=Object.defineProperty,d={},v=function(m){throw m};r.exports=function(m,h){if(c(d,m))return d[m];h||(h={});var T=[][m],w=c(h,"ACCESSORS")?h.ACCESSORS:!1,S=c(h,0)?h[0]:v,x=c(h,1)?h[1]:void 0;return d[m]=!!T&&!l(function(){if(w&&!s)return!0;var k={length:-1};w?f(k,1,{enumerable:!0,get:v}):k[1]=1,T.call(k,S,x)})}},b041:function(r,a,i){var s=i("00ee"),l=i("f5df");r.exports=s?{}.toString:function(){return"[object "+l(this)+"]"}},b622:function(r,a,i){var s=i("da84"),l=i("5692"),c=i("5135"),f=i("90e3"),d=i("4930"),v=i("fdbf"),m=l("wks"),h=s.Symbol,T=v?h:h&&h.withoutSetter||f;r.exports=function(w){return c(m,w)||(d&&c(h,w)?m[w]=h[w]:m[w]=T("Symbol."+w)),m[w]}},b727:function(r,a,i){var s=i("0366"),l=i("44ad"),c=i("7b0b"),f=i("50c4"),d=i("65f0"),v=[].push,m=function(h){var T=h==1,w=h==2,S=h==3,x=h==4,k=h==6,V=h==5||k;return function(F,O,D,A){for(var E=c(F),L=l(E),b=s(O,D,3),g=f(L.length),y=0,N=A||d,M=T?N(F,g):w?N(F,0):void 0,_,$;g>y;y++)if((V||y in L)&&(_=L[y],$=b(_,y,E),h)){if(T)M[y]=$;else if($)switch(h){case 3:return!0;case 5:return _;case 6:return y;case 2:v.call(M,_)}else if(x)return!1}return k?-1:S||x?x:M}};r.exports={forEach:m(0),map:m(1),filter:m(2),some:m(3),every:m(4),find:m(5),findIndex:m(6)}},c04e:function(r,a,i){var s=i("861d");r.exports=function(l,c){if(!s(l))return l;var f,d;if(c&&typeof(f=l.toString)=="function"&&!s(d=f.call(l))||typeof(f=l.valueOf)=="function"&&!s(d=f.call(l))||!c&&typeof(f=l.toString)=="function"&&!s(d=f.call(l)))return d;throw TypeError("Can't convert object to primitive value")}},c430:function(r,a){r.exports=!1},c6b6:function(r,a){var i={}.toString;r.exports=function(s){return i.call(s).slice(8,-1)}},c6cd:function(r,a,i){var s=i("da84"),l=i("ce4e"),c="__core-js_shared__",f=s[c]||l(c,{});r.exports=f},c8ba:function(r,a){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}r.exports=i},ca84:function(r,a,i){var s=i("5135"),l=i("fc6a"),c=i("4d64").indexOf,f=i("d012");r.exports=function(d,v){var m=l(d),h=0,T=[],w;for(w in m)!s(f,w)&&s(m,w)&&T.push(w);for(;v.length>h;)s(m,w=v[h++])&&(~c(T,w)||T.push(w));return T}},cc12:function(r,a,i){var s=i("da84"),l=i("861d"),c=s.document,f=l(c)&&l(c.createElement);r.exports=function(d){return f?c.createElement(d):{}}},ce4e:function(r,a,i){var s=i("da84"),l=i("9112");r.exports=function(c,f){try{l(s,c,f)}catch{s[c]=f}return f}},d012:function(r,a){r.exports={}},d039:function(r,a){r.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(r,a,i){var s=i("428f"),l=i("da84"),c=function(f){return typeof f=="function"?f:void 0};r.exports=function(f,d){return arguments.length<2?c(s[f])||c(l[f]):s[f]&&s[f][d]||l[f]&&l[f][d]}},d1e7:function(r,a,i){var s={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!s.call({1:2},1);a.f=c?function(d){var v=l(this,d);return!!v&&v.enumerable}:s},d2bb:function(r,a,i){var s=i("825a"),l=i("3bbe");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,f={},d;try{d=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,d.call(f,[]),c=f instanceof Array}catch{}return function(m,h){return s(m),l(h),c?d.call(m,h):m.__proto__=h,m}}():void 0)},d3b7:function(r,a,i){var s=i("00ee"),l=i("6eeb"),c=i("b041");s||l(Object.prototype,"toString",c,{unsafe:!0})},da84:function(r,a,i){(function(s){var l=function(c){return c&&c.Math==Math&&c};r.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof s=="object"&&s)||Function("return this")()}).call(this,i("c8ba"))},df75:function(r,a,i){var s=i("ca84"),l=i("7839");r.exports=Object.keys||function(f){return s(f,l)}},e893:function(r,a,i){var s=i("5135"),l=i("56ef"),c=i("06cf"),f=i("9bf2");r.exports=function(d,v){for(var m=l(v),h=f.f,T=c.f,w=0;w<m.length;w++){var S=m[w];s(d,S)||h(d,S,T(v,S))}}},e8b5:function(r,a,i){var s=i("c6b6");r.exports=Array.isArray||function(c){return s(c)=="Array"}},f5df:function(r,a,i){var s=i("00ee"),l=i("c6b6"),c=i("b622"),f=c("toStringTag"),d=l(function(){return arguments}())=="Arguments",v=function(m,h){try{return m[h]}catch{}};r.exports=s?l:function(m){var h,T,w;return m===void 0?"Undefined":m===null?"Null":typeof(T=v(h=Object(m),f))=="string"?T:d?l(h):(w=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":w}},f772:function(r,a,i){var s=i("5692"),l=i("90e3"),c=s("keys");r.exports=function(f){return c[f]||(c[f]=l(f))}},fb15:function(r,a,i){if(i.r(a),i.d(a,"InnerImageZoom",function(){return M}),typeof window<"u"){var s=window.document.currentScript;{var l=i("8875");s=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(i.p=c[1])}function f($,B,P){return B in $?Object.defineProperty($,B,{value:P,enumerable:!0,configurable:!0,writable:!0}):$[B]=P,$}i("99af");var d=i("8bbf"),v={key:0},m=["srcSet","sizes","media","type"],h=["src","srcSet","sizes","alt"],T=["src","srcSet","sizes","alt"],w={class:"iiz__zoom-portal"},S=["src"],x=["src"],k={key:1,class:"iiz__btn iiz__hint"};function V($,B,P,G,z,j){var K;return Object(d.openBlock)(),Object(d.createElementBlock)("figure",Object(d.mergeProps)({class:["iiz",(K={},f(K,P.className,P.className),f(K,"iiz--drag",z.currentMoveType==="drag"),K)],ref:"img",style:{width:"".concat(P.width,"px")}},Object(d.toHandlers)({touchstart:z.isZoomed?function(){}:j.handleTouchStart,click:j.handleClick,mouseenter:z.isTouch?function(){}:j.handleMouseEnter,mousemove:z.currentMoveType==="drag"||!z.isZoomed?function(){}:j.handleMouseMove,mouseleave:z.isTouch?function(){}:j.handleMouseLeave})),[Object(d.createElementVNode)("div",{style:Object(d.normalizeStyle)({paddingTop:j.createSpacer?"".concat(P.height/P.width*100,"%"):null})},[j.validSources?(Object(d.openBlock)(),Object(d.createElementBlock)("picture",v,[(Object(d.openBlock)(!0),Object(d.createElementBlock)(d.Fragment,null,Object(d.renderList)(j.validSources,function(Q,se){return Object(d.openBlock)(),Object(d.createElementBlock)("source",{key:se,srcSet:Q.srcSet,sizes:Q.sizes,media:Q.media,type:Q.type},null,8,m)}),128)),Object(d.createElementVNode)("img",{class:Object(d.normalizeClass)(["iiz__img",{"iiz__img--hidden":z.isZoomed,"iiz__img--abs":j.createSpacer}]),style:Object(d.normalizeStyle)({transition:"linear 0ms opacity ".concat(z.isZoomed?P.fadeDuration:0,"ms, linear 0ms visibility ").concat(z.isZoomed?P.fadeDuration:0,"ms")}),src:P.src,srcSet:P.srcSet,sizes:P.sizes,alt:P.alt},null,14,h)])):(Object(d.openBlock)(),Object(d.createElementBlock)("img",{key:1,class:Object(d.normalizeClass)(["iiz__img",{"iiz__img--hidden":z.isZoomed,"iiz__img--abs":j.createSpacer}]),style:Object(d.normalizeStyle)({transition:"linear 0ms opacity ".concat(z.isZoomed?P.fadeDuration:0,"ms, linear 0ms visibility ").concat(z.isZoomed?P.fadeDuration:0,"ms")}),src:P.src,srcSet:P.srcSet,sizes:P.sizes,alt:P.alt},null,14,T))],4),z.isActive?(Object(d.openBlock)(),Object(d.createElementBlock)(d.Fragment,{key:0},[z.isFullscreen?(Object(d.openBlock)(),Object(d.createBlock)(d.Teleport,{key:0,to:"body"},[Object(d.createElementVNode)("div",w,[Object(d.createElementVNode)("img",Object(d.mergeProps)({class:["iiz__zoom-img",{"iiz__zoom-img--visible":z.isZoomed}],alt:"",draggable:!1,style:{top:"".concat(z.top,"px"),left:"".concat(z.left,"px"),transition:"linear ".concat(z.isFullscreen?0:P.fadeDuration,"ms opacity, linear ").concat(z.isFullscreen?0:P.fadeDuration,"ms visibility")},src:P.zoomSrc||P.src},Object(d.toHandlers)({load:j.handleLoad,touchstart:j.handleDragStart,touchend:j.handleDragEnd,mousedown:j.handleDragStart,mouseup:j.handleDragEnd,click:j.handleClick})),null,16,S),z.isTouch&&!P.hideCloseButton?(Object(d.openBlock)(),Object(d.createElementBlock)("button",{key:0,type:"button",class:Object(d.normalizeClass)(["iiz__btn iiz__close",{"iiz__close--visible":z.isZoomed}]),"aria-label":"Zoom Out",style:Object(d.normalizeStyle)({transition:"linear ".concat(z.isFullscreen?0:P.fadeDuration,"ms opacity, linear ").concat(z.isFullscreen?0:P.fadeDuration,"ms visibility")}),onClick:B[0]||(B[0]=Object(d.withModifiers)(function(){return j.handleClose&&j.handleClose.apply(j,arguments)},["stop"]))},null,6)):Object(d.createCommentVNode)("",!0)])])):(Object(d.openBlock)(),Object(d.createElementBlock)(d.Fragment,{key:1},[Object(d.createElementVNode)("img",Object(d.mergeProps)({class:["iiz__zoom-img",{"iiz__zoom-img--visible":z.isZoomed}],alt:"",draggable:!1,style:{top:"".concat(z.top,"px"),left:"".concat(z.left,"px"),transition:"linear ".concat(z.isFullscreen?0:P.fadeDuration,"ms opacity, linear ").concat(z.isFullscreen?0:P.fadeDuration,"ms visibility")},src:P.zoomSrc||P.src},Object(d.toHandlers)({load:j.handleLoad,touchstart:j.handleDragStart,touchend:j.handleDragEnd,mousedown:j.handleDragStart,mouseup:j.handleDragEnd})),null,16,x),z.isTouch&&!P.hideCloseButton?(Object(d.openBlock)(),Object(d.createElementBlock)("button",{key:0,class:Object(d.normalizeClass)(["iiz__btn iiz__close",{"iiz__close--visible":z.isZoomed}]),type:"button","aria-label":"Zoom Out",style:Object(d.normalizeStyle)({transition:"linear ".concat(z.isFullscreen?0:P.fadeDuration,"ms opacity, linear ").concat(z.isFullscreen?0:P.fadeDuration,"ms visibility")}),onClick:B[1]||(B[1]=Object(d.withModifiers)(function(){return j.handleClose&&j.handleClose.apply(j,arguments)},["stop"]))},null,6)):Object(d.createCommentVNode)("",!0)],64))],64)):Object(d.createCommentVNode)("",!0),!z.isZoomed&&!P.hideHint?(Object(d.openBlock)(),Object(d.createElementBlock)("span",k)):Object(d.createCommentVNode)("",!0)],16)}i("a9e3"),i("4de4"),i("d3b7");var F={name:"InnerImageZoom",props:{moveType:{type:String,default:"pan"},zoomType:{type:String,default:"click"},src:{type:String,required:!0},srcSet:String,sizes:String,sources:Array,width:Number,height:Number,hasSpacer:Boolean,zoomSrc:String,zoomScale:{type:Number,default:1},zoomPreload:Boolean,alt:String,fadeDuration:{type:Number,default:150},fullscreenOnMobile:Boolean,mobileBreakpoint:{type:Number,default:640},hideHint:Boolean,hideCloseButton:Boolean,className:String,afterZoomIn:Function,afterZoomOut:Function},data:function(){return{isActive:this.zoomPreload||!1,isTouch:!1,isZoomed:!1,isFullscreen:!1,isDragging:!1,currentMoveType:this.moveType,left:0,top:0,imgProps:{}}},created:function(){this.setDefaults(),E(this.fullscreenOnMobile,this.mobileBreakpoint)&&(this.isActive=!1)},computed:{validSources:function(){return this.sources?this.sources.filter(function(B){return B.srcSet}):[]},createSpacer:function(){return this.width&&this.height&&this.hasSpacer}},methods:{handleMouseEnter:function(B){this.isActive=!0,this.zoomType==="hover"&&!this.isZoomed&&this.handleClick(B)},handleTouchStart:function(){this.isTouch=!0,this.isFullscreen=E(this.fullscreenOnMobile,this.mobileBreakpoint),this.currentMoveType="drag"},handleClick:function(B){if(this.isZoomed){this.isTouch?this.hideCloseButton&&this.handleClose():!this.isDragging&&this.zoomOut();return}this.isTouch&&(this.isActive=!0),this.imgProps.zoomImg?(this.handleLoad({target:this.imgProps.zoomImg}),this.zoomIn(B.pageX,B.pageY)):this.imgProps.onLoadCallback=this.zoomIn.bind(this,B.pageX,B.pageY)},handleLoad:function(B){var P=L(B.target,this.zoomScale);this.imgProps.zoomImg=B.target,this.imgProps.zoomImg.setAttribute("width",P.width),this.imgProps.zoomImg.setAttribute("height",P.height),this.imgProps.scaledDimensions=P,this.imgProps.bounds=O(this.$refs.img,!1),this.imgProps.ratios=A(this.imgProps.bounds,P),this.imgProps.onLoadCallback&&(this.imgProps.onLoadCallback(),this.imgProps.onLoadCallback=null)},handleMouseMove:function(B){var P=B.pageX-this.imgProps.offsets.x,G=B.pageY-this.imgProps.offsets.y;P=Math.max(Math.min(P,this.imgProps.bounds.width),0),G=Math.max(Math.min(G,this.imgProps.bounds.height),0),this.left=P*-this.imgProps.ratios.x,this.top=G*-this.imgProps.ratios.y},handleDragStart:function(B){this.imgProps.offsets=D(B.pageX||B.changedTouches[0].pageX,B.pageY||B.changedTouches[0].pageY,this.imgProps.zoomImg.offsetLeft,this.imgProps.zoomImg.offsetTop),this.imgProps.zoomImg.addEventListener(this.isTouch?"touchmove":"mousemove",this.handleDragMove,{passive:!0}),this.isTouch||(this.imgProps.eventPosition={x:B.pageX,y:B.pageY})},handleDragMove:function(B){var P=(B.pageX||B.changedTouches[0].pageX)-this.imgProps.offsets.x,G=(B.pageY||B.changedTouches[0].pageY)-this.imgProps.offsets.y;P=Math.max(Math.min(P,0),(this.imgProps.scaledDimensions.width-this.imgProps.bounds.width)*-1),G=Math.max(Math.min(G,0),(this.imgProps.scaledDimensions.height-this.imgProps.bounds.height)*-1),this.left=P,this.top=G},handleDragEnd:function(B){if(this.imgProps.zoomImg.removeEventListener(this.isTouch?"touchmove":"mousemove",this.handleDragMove),!this.isTouch){var P=Math.abs(B.pageX-this.imgProps.eventPosition.x),G=Math.abs(B.pageY-this.imgProps.eventPosition.y);this.isDragging=P>5||G>5}},handleMouseLeave:function(B){this.currentMoveType==="drag"&&this.isZoomed?this.handleDragEnd(B):this.handleClose()},handleClose:function(){var B=this;this.zoomOut(function(){setTimeout(function(){(B.zoomPreload&&B.isTouch||!B.zoomPreload)&&(B.isActive=!1,B.setDefaults()),B.isTouch=!1,B.isFullscreen=!1,B.currentMoveType=B.moveType},B.isFullscreen?0:B.fadeDuration)})},initialMove:function(B,P){this.imgProps.offsets=D(window.pageXOffset,window.pageYOffset,-this.imgProps.bounds.left,-this.imgProps.bounds.top),this.handleMouseMove({pageX:B,pageY:P})},initialDragMove:function(B,P){var G=(B-(window.pageXOffset+this.imgProps.bounds.left))*-this.imgProps.ratios.x,z=(P-(window.pageYOffset+this.imgProps.bounds.top))*-this.imgProps.ratios.y;G=G+(this.isFullscreen?(window.innerWidth-this.imgProps.bounds.width)/2:0),z=z+(this.isFullscreen?(window.innerHeight-this.imgProps.bounds.height)/2:0),this.imgProps.bounds=O(this.$refs.img,this.isFullscreen),this.imgProps.offsets=D(0,0,0,0),this.handleDragMove({changedTouches:[{pageX:G,pageY:z}],preventDefault:function(){},stopPropagation:function(){}})},zoomIn:function(B,P){var G=this.currentMoveType==="drag"?this.initialDragMove:this.initialMove;this.isZoomed=!0,G(B,P),this.afterZoomIn&&this.afterZoomIn()},zoomOut:function(B){this.isZoomed=!1,this.afterZoomOut&&this.afterZoomOut(),B&&B()},setDefaults:function(){this.imgProps.onLoadCallback=null,this.imgProps.zoomImg=null,this.imgProps.bounds={},this.imgProps.offsets={},this.imgProps.ratios={},this.imgProps.eventPosition={},this.imgProps.scaledDimensions={}}}};function O($,B){return B?{width:window.innerWidth,height:window.innerHeight,left:0,top:0}:$.getBoundingClientRect()}function D($,B,P,G){return{x:$-P,y:B-G}}function A($,B){return{x:(B.width-$.width)/$.width,y:(B.height-$.height)/$.height}}function E($,B){return $&&window.matchMedia&&window.matchMedia("(max-width: ".concat(B,"px)")).matches}function L($,B){return{width:$.naturalWidth*B,height:$.naturalHeight*B}}i("7ae1");var b=i("6b0d"),g=i.n(b),N=g()(F,[["render",V],["__scopeId","data-v-d1255c78"]]),M=N,_=M;a.default=_},fc6a:function(r,a,i){var s=i("44ad"),l=i("1d80");r.exports=function(c){return s(l(c))}},fdbf:function(r,a,i){var s=i("4930");r.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}})})})(fi);var fu=fi.exports;const yr=de.getDefaultExportFromCjs(fu);const pu={methods:{handleMouseDown(e){this.isMouseDown=!0,e.type.indexOf("touch")!==-1&&(this.dragStartX=e.touches[0].clientX,this.dragStartY=e.touches[0].clientY),e.type.indexOf("mouse")!==-1&&(this.dragStartX=e.clientX,this.dragStartY=e.clientY)},handleMouseMove(e){let n,o;e.type.indexOf("touch")!==-1&&(n=e.touches[0].clientX,o=e.touches[0].clientY),e.type.indexOf("mouse")!==-1&&(n=e.clientX,o=e.clientY);const r=Math.abs(n-this.dragStartX),a=Math.abs(o-this.dragStartY);r>3*a&&(this.disableScroll(),this.dragDistance=n-this.dragStartX)},handleMouseUp(){this.isMouseDown=!1,this.enableScroll()},handleMouseOver(e){this.settings.autoplay&&(e==="dot"&&this.settings.pauseOnDotsHover||e==="track"&&this.settings.pauseOnHover)&&(this.isAutoplayPaused=!0)},handleMouseOut(e){this.settings.autoplay&&(e==="dot"&&this.settings.pauseOnDotsHover||e==="track"&&this.settings.pauseOnHover)&&(this.isAutoplayPaused=!1)}}},hu={methods:{getWidth(){if(this.isSSR)return!1;this.widthWindow=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.widthContainer=this.$refs.list.clientWidth},htmlCollectionToArray(e){return Array.prototype.slice.call(e,0)}}},vu={methods:{clearAutoPlayPause(){clearTimeout(this.autoplayTimeout),this.autoplayRemaining=null},disableAutoPlay(){clearInterval(this.autoplayInterval),this.autoplayInterval=null},disableScroll(){document.ontouchmove=e=>e.preventDefault()},enableScroll(){document.ontouchmove=()=>!0},restartAutoPlay(){this.disableAutoPlay(),this.toggleAutoPlay()},toggleAutoPlay(){const e=!this.settings.unagile&&this.settings.autoplay;!this.autoplayInterval&&e?this.autoplayInterval=setInterval(()=>{document.hidden||(this.canGoToNext?this.goToNext():this.disableAutoPlay())},this.settings.autoplaySpeed):this.disableAutoPlay()},toggleFade(){const e=!this.settings.unagile&&this.settings.fade;for(let n=0;n<this.countSlides;n++)this.slides[n].style.transition=e?"opacity "+this.settings.timing+" "+this.settings.speed+"ms":"none",this.slides[n].style.transform=e?`translate(-${n*this.widthSlide}px)`:"none"}}},mu={methods:{prepareSlides(){this.slides=this.htmlCollectionToArray(this.$refs.slides.children),this.slidesCloned&&(this.slidesClonedBefore=this.htmlCollectionToArray(this.$refs.slidesClonedBefore.children),this.slidesClonedAfter=this.htmlCollectionToArray(this.$refs.slidesClonedAfter.children));for(const e of this.slidesAll)e.classList.add("agile__slide")},prepareSlidesClasses(){if(this.currentSlide===null)return!1;for(let n=0;n<this.countSlides;n++)this.slides[n].classList.remove("agile__slide--active"),this.slides[n].classList.remove("agile__slide--current");setTimeout(()=>this.slides[this.currentSlide].classList.add("agile__slide--active"),this.changeDelay);let e=this.slidesCloned?this.countSlides+this.currentSlide:this.currentSlide;this.centerMode&&(e-=Math.floor(this.settings.slidesToShow/2)-+(this.settings.slidesToShow%2===0));for(let n=Math.max(e,0);n<Math.min(e+this.settings.slidesToShow,this.countSlides);n++)this.slidesAll[n].classList.add("agile__slide--current")},prepareCarousel(){this.settings.unagile?this.translateX=0:(this.currentSlide===null&&this.countSlides&&(this.currentSlide=this.settings.initialSlide),this.currentSlide>this.countSlides&&(this.currentSlide=this.countSlides-1),this.goTo(this.currentSlide,!1,!1))}}};var wn={exports:{}};wn.exports;(function(e,n){var o=200,r="Expected a function",a="__lodash_hash_undefined__",i=1,s=2,l=1/0,c=9007199254740991,f="[object Arguments]",d="[object Array]",v="[object Boolean]",m="[object Date]",h="[object Error]",T="[object Function]",w="[object GeneratorFunction]",S="[object Map]",x="[object Number]",k="[object Object]",V="[object Promise]",F="[object RegExp]",O="[object Set]",D="[object String]",A="[object Symbol]",E="[object WeakMap]",L="[object ArrayBuffer]",b="[object DataView]",g="[object Float32Array]",y="[object Float64Array]",N="[object Int8Array]",M="[object Int16Array]",_="[object Int32Array]",$="[object Uint8Array]",B="[object Uint8ClampedArray]",P="[object Uint16Array]",G="[object Uint32Array]",z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/,K=/^\./,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,se=/[\\^$.*+?()[\]{}|]/g,ae=/\\(\\)?/g,le=/^\[object .+?Constructor\]$/,Ae=/^(?:0|[1-9]\d*)$/,H={};H[g]=H[y]=H[N]=H[M]=H[_]=H[$]=H[B]=H[P]=H[G]=!0,H[f]=H[d]=H[L]=H[v]=H[b]=H[m]=H[h]=H[T]=H[S]=H[x]=H[k]=H[F]=H[O]=H[D]=H[E]=!1;var ee=typeof de.commonjsGlobal=="object"&&de.commonjsGlobal&&de.commonjsGlobal.Object===Object&&de.commonjsGlobal,ne=typeof self=="object"&&self&&self.Object===Object&&self,ie=ee||ne||Function("return this")(),De=n&&!n.nodeType&&n,it=De&&!0&&e&&!e.nodeType&&e,En=it&&it.exports===De,It=En&&ee.process,Mt=function(){try{return It&&It.binding("util")}catch{}}(),Ie=Mt&&Mt.isTypedArray;function Vt(u,p){for(var C=-1,I=u?u.length:0,W=Array(I);++C<I;)W[C]=p(u[C],C,u);return W}function $n(u,p){for(var C=-1,I=u?u.length:0;++C<I;)if(p(u[C],C,u))return!0;return!1}function An(u){return function(p){return p?.[u]}}function Ft(u,p){var C=u.length;for(u.sort(p);C--;)u[C]=u[C].value;return u}function _t(u,p){for(var C=-1,I=Array(u);++C<u;)I[C]=p(C);return I}function Lt(u){return function(p){return u(p)}}function Dn(u,p){return u?.[p]}function ht(u){var p=!1;if(u!=null&&typeof u.toString!="function")try{p=!!(u+"")}catch{}return p}function Rt(u){var p=-1,C=Array(u.size);return u.forEach(function(I,W){C[++p]=[W,I]}),C}function In(u,p){return function(C){return u(p(C))}}function Mn(u){var p=-1,C=Array(u.size);return u.forEach(function(I){C[++p]=I}),C}var Vn=Array.prototype,Fn=Function.prototype,st=Object.prototype,at=ie["__core-js_shared__"],zt=function(){var u=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}(),jt=Fn.toString,me=st.hasOwnProperty,Me=st.toString,_n=RegExp("^"+jt.call(me).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=ie.Symbol,J=ie.Uint8Array,oe=st.propertyIsEnumerable,be=Vn.splice,Ht=In(Object.keys,Object),we=dt(ie,"DataView"),fe=dt(ie,"Map"),lt=dt(ie,"Promise"),Ve=dt(ie,"Set"),vt=dt(ie,"WeakMap"),Ue=dt(Object,"create"),Ln=Ke(we),Rn=Ke(fe),Gt=Ke(lt),zn=Ke(Ve),jn=Ke(vt),ut=U?U.prototype:void 0,ct=ut?ut.valueOf:void 0,Se=ut?ut.toString:void 0;function Xe(u){var p=-1,C=u?u.length:0;for(this.clear();++p<C;){var I=u[p];this.set(I[0],I[1])}}function yi(){this.__data__=Ue?Ue(null):{}}function bi(u){return this.has(u)&&delete this.__data__[u]}function wi(u){var p=this.__data__;if(Ue){var C=p[u];return C===a?void 0:C}return me.call(p,u)?p[u]:void 0}function Si(u){var p=this.__data__;return Ue?p[u]!==void 0:me.call(p,u)}function Ti(u,p){var C=this.__data__;return C[u]=Ue&&p===void 0?a:p,this}Xe.prototype.clear=yi,Xe.prototype.delete=bi,Xe.prototype.get=wi,Xe.prototype.has=Si,Xe.prototype.set=Ti;function Pe(u){var p=-1,C=u?u.length:0;for(this.clear();++p<C;){var I=u[p];this.set(I[0],I[1])}}function Ci(){this.__data__=[]}function Bi(u){var p=this.__data__,C=Ut(p,u);if(C<0)return!1;var I=p.length-1;return C==I?p.pop():be.call(p,C,1),!0}function Oi(u){var p=this.__data__,C=Ut(p,u);return C<0?void 0:p[C][1]}function Pi(u){return Ut(this.__data__,u)>-1}function xi(u,p){var C=this.__data__,I=Ut(C,u);return I<0?C.push([u,p]):C[I][1]=p,this}Pe.prototype.clear=Ci,Pe.prototype.delete=Bi,Pe.prototype.get=Oi,Pe.prototype.has=Pi,Pe.prototype.set=xi;function xe(u){var p=-1,C=u?u.length:0;for(this.clear();++p<C;){var I=u[p];this.set(I[0],I[1])}}function ki(){this.__data__={hash:new Xe,map:new(fe||Pe),string:new Xe}}function Ni(u){return Xt(this,u).delete(u)}function Ei(u){return Xt(this,u).get(u)}function $i(u){return Xt(this,u).has(u)}function Ai(u,p){return Xt(this,u).set(u,p),this}xe.prototype.clear=ki,xe.prototype.delete=Ni,xe.prototype.get=Ei,xe.prototype.has=$i,xe.prototype.set=Ai;function Wt(u){var p=-1,C=u?u.length:0;for(this.__data__=new xe;++p<C;)this.add(u[p])}function Di(u){return this.__data__.set(u,a),this}function Ii(u){return this.__data__.has(u)}Wt.prototype.add=Wt.prototype.push=Di,Wt.prototype.has=Ii;function ke(u){this.__data__=new Pe(u)}function Mi(){this.__data__=new Pe}function Vi(u){return this.__data__.delete(u)}function Fi(u){return this.__data__.get(u)}function _i(u){return this.__data__.has(u)}function Li(u,p){var C=this.__data__;if(C instanceof Pe){var I=C.__data__;if(!fe||I.length<o-1)return I.push([u,p]),this;C=this.__data__=new xe(I)}return C.set(u,p),this}ke.prototype.clear=Mi,ke.prototype.delete=Vi,ke.prototype.get=Fi,ke.prototype.has=_i,ke.prototype.set=Li;function Ri(u,p){var C=Ne(u)||Po(u)?_t(u.length,String):[],I=C.length,W=!!I;for(var R in u)(p||me.call(u,R))&&!(W&&(R=="length"||To(R,I)))&&C.push(R);return C}function Ut(u,p){for(var C=u.length;C--;)if(Oo(u[C][0],p))return C;return-1}var zi=ss(Hi),ji=as();function Hi(u,p){return u&&ji(u,p,qt)}function bo(u,p){p=Kt(p,u)?[p]:wo(p);for(var C=0,I=p.length;u!=null&&C<I;)u=u[Yt(p[C++])];return C&&C==I?u:void 0}function Gi(u){return Me.call(u)}function Wi(u,p){return u!=null&&p in Object(u)}function Hn(u,p,C,I,W){return u===p?!0:u==null||p==null||!Qt(u)&&!Jt(p)?u!==u&&p!==p:Ui(u,p,Hn,C,I,W)}function Ui(u,p,C,I,W,R){var X=Ne(u),q=Ne(p),Y=d,te=d;X||(Y=Fe(u),Y=Y==f?k:Y),q||(te=Fe(p),te=te==f?k:te);var ue=Y==k&&!ht(u),ce=te==k&&!ht(p),re=Y==te;if(re&&!ue)return R||(R=new ke),X||ys(u)?So(u,p,C,I,W,R):ls(u,p,Y,C,I,W,R);if(!(W&s)){var pe=ue&&me.call(u,"__wrapped__"),he=ce&&me.call(p,"__wrapped__");if(pe||he){var _e=pe?u.value():u,Ee=he?p.value():p;return R||(R=new ke),C(_e,Ee,I,W,R)}}return re?(R||(R=new ke),us(u,p,C,I,W,R)):!1}function Xi(u,p,C,I){var W=C.length,R=W,X=!I;if(u==null)return!R;for(u=Object(u);W--;){var q=C[W];if(X&&q[2]?q[1]!==u[q[0]]:!(q[0]in u))return!1}for(;++W<R;){q=C[W];var Y=q[0],te=u[Y],ue=q[1];if(X&&q[2]){if(te===void 0&&!(Y in u))return!1}else{var ce=new ke;if(I)var re=I(te,ue,Y,u,p,ce);if(!(re===void 0?Hn(ue,te,I,i|s,ce):re))return!1}}return!0}function Ki(u){if(!Qt(u)||ps(u))return!1;var p=xo(u)||ht(u)?_n:le;return p.test(Ke(u))}function Yi(u){return Jt(u)&&Wn(u.length)&&!!H[Me.call(u)]}function Zi(u){return typeof u=="function"?u:u==null?ko:typeof u=="object"?Ne(u)?es(u[0],u[1]):qi(u):Ts(u)}function Qi(u){if(!hs(u))return Ht(u);var p=[];for(var C in Object(u))me.call(u,C)&&C!="constructor"&&p.push(C);return p}function Ji(u,p){var C=-1,I=Zt(u)?Array(u.length):[];return zi(u,function(W,R,X){I[++C]=p(W,R,X)}),I}function qi(u){var p=cs(u);return p.length==1&&p[0][2]?Bo(p[0][0],p[0][1]):function(C){return C===u||Xi(C,u,p)}}function es(u,p){return Kt(u)&&Co(p)?Bo(Yt(u),p):function(C){var I=ws(C,u);return I===void 0&&I===p?Ss(C,u):Hn(p,I,void 0,i|s)}}function ts(u,p,C){var I=-1;p=Vt(p.length?p:[ko],Lt(Zi));var W=Ji(u,function(R,X,q){var Y=Vt(p,function(te){return te(R)});return{criteria:Y,index:++I,value:R}});return Ft(W,function(R,X){return is(R,X,C)})}function ns(u){return function(p){return bo(p,u)}}function os(u){if(typeof u=="string")return u;if(mt(u))return Se?Se.call(u):"";var p=u+"";return p=="0"&&1/u==-l?"-0":p}function wo(u){return Ne(u)?u:vs(u)}function rs(u,p){if(u!==p){var C=u!==void 0,I=u===null,W=u===u,R=mt(u),X=p!==void 0,q=p===null,Y=p===p,te=mt(p);if(!q&&!te&&!R&&u>p||R&&X&&Y&&!q&&!te||I&&X&&Y||!C&&Y||!W)return 1;if(!I&&!R&&!te&&u<p||te&&C&&W&&!I&&!R||q&&C&&W||!X&&W||!Y)return-1}return 0}function is(u,p,C){for(var I=-1,W=u.criteria,R=p.criteria,X=W.length,q=C.length;++I<X;){var Y=rs(W[I],R[I]);if(Y){if(I>=q)return Y;var te=C[I];return Y*(te=="desc"?-1:1)}}return u.index-p.index}function ss(u,p){return function(C,I){if(C==null)return C;if(!Zt(C))return u(C,I);for(var W=C.length,R=p?W:-1,X=Object(C);(p?R--:++R<W)&&I(X[R],R,X)!==!1;);return C}}function as(u){return function(p,C,I){for(var W=-1,R=Object(p),X=I(p),q=X.length;q--;){var Y=X[u?q:++W];if(C(R[Y],Y,R)===!1)break}return p}}function So(u,p,C,I,W,R){var X=W&s,q=u.length,Y=p.length;if(q!=Y&&!(X&&Y>q))return!1;var te=R.get(u);if(te&&R.get(p))return te==p;var ue=-1,ce=!0,re=W&i?new Wt:void 0;for(R.set(u,p),R.set(p,u);++ue<q;){var pe=u[ue],he=p[ue];if(I)var _e=X?I(he,pe,ue,p,u,R):I(pe,he,ue,u,p,R);if(_e!==void 0){if(_e)continue;ce=!1;break}if(re){if(!$n(p,function(Ee,Ye){if(!re.has(Ye)&&(pe===Ee||C(pe,Ee,I,W,R)))return re.add(Ye)})){ce=!1;break}}else if(!(pe===he||C(pe,he,I,W,R))){ce=!1;break}}return R.delete(u),R.delete(p),ce}function ls(u,p,C,I,W,R,X){switch(C){case b:if(u.byteLength!=p.byteLength||u.byteOffset!=p.byteOffset)return!1;u=u.buffer,p=p.buffer;case L:return!(u.byteLength!=p.byteLength||!I(new J(u),new J(p)));case v:case m:case x:return Oo(+u,+p);case h:return u.name==p.name&&u.message==p.message;case F:case D:return u==p+"";case S:var q=Rt;case O:var Y=R&s;if(q||(q=Mn),u.size!=p.size&&!Y)return!1;var te=X.get(u);if(te)return te==p;R|=i,X.set(u,p);var ue=So(q(u),q(p),I,W,R,X);return X.delete(u),ue;case A:if(ct)return ct.call(u)==ct.call(p)}return!1}function us(u,p,C,I,W,R){var X=W&s,q=qt(u),Y=q.length,te=qt(p),ue=te.length;if(Y!=ue&&!X)return!1;for(var ce=Y;ce--;){var re=q[ce];if(!(X?re in p:me.call(p,re)))return!1}var pe=R.get(u);if(pe&&R.get(p))return pe==p;var he=!0;R.set(u,p),R.set(p,u);for(var _e=X;++ce<Y;){re=q[ce];var Ee=u[re],Ye=p[re];if(I)var No=X?I(Ye,Ee,re,p,u,R):I(Ee,Ye,re,u,p,R);if(!(No===void 0?Ee===Ye||C(Ee,Ye,I,W,R):No)){he=!1;break}_e||(_e=re=="constructor")}if(he&&!_e){var en=u.constructor,tn=p.constructor;en!=tn&&"constructor"in u&&"constructor"in p&&!(typeof en=="function"&&en instanceof en&&typeof tn=="function"&&tn instanceof tn)&&(he=!1)}return R.delete(u),R.delete(p),he}function Xt(u,p){var C=u.__data__;return fs(p)?C[typeof p=="string"?"string":"hash"]:C.map}function cs(u){for(var p=qt(u),C=p.length;C--;){var I=p[C],W=u[I];p[C]=[I,W,Co(W)]}return p}function dt(u,p){var C=Dn(u,p);return Ki(C)?C:void 0}var Fe=Gi;(we&&Fe(new we(new ArrayBuffer(1)))!=b||fe&&Fe(new fe)!=S||lt&&Fe(lt.resolve())!=V||Ve&&Fe(new Ve)!=O||vt&&Fe(new vt)!=E)&&(Fe=function(u){var p=Me.call(u),C=p==k?u.constructor:void 0,I=C?Ke(C):void 0;if(I)switch(I){case Ln:return b;case Rn:return S;case Gt:return V;case zn:return O;case jn:return E}return p});function ds(u,p,C){p=Kt(p,u)?[p]:wo(p);for(var I,W=-1,X=p.length;++W<X;){var R=Yt(p[W]);if(!(I=u!=null&&C(u,R)))break;u=u[R]}if(I)return I;var X=u?u.length:0;return!!X&&Wn(X)&&To(R,X)&&(Ne(u)||Po(u))}function To(u,p){return p=p??c,!!p&&(typeof u=="number"||Ae.test(u))&&u>-1&&u%1==0&&u<p}function Kt(u,p){if(Ne(u))return!1;var C=typeof u;return C=="number"||C=="symbol"||C=="boolean"||u==null||mt(u)?!0:j.test(u)||!z.test(u)||p!=null&&u in Object(p)}function fs(u){var p=typeof u;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?u!=="__proto__":u===null}function ps(u){return!!zt&&zt in u}function hs(u){var p=u&&u.constructor,C=typeof p=="function"&&p.prototype||st;return u===C}function Co(u){return u===u&&!Qt(u)}function Bo(u,p){return function(C){return C==null?!1:C[u]===p&&(p!==void 0||u in Object(C))}}var vs=Gn(function(u){u=bs(u);var p=[];return K.test(u)&&p.push(""),u.replace(Q,function(C,I,W,R){p.push(W?R.replace(ae,"$1"):I||C)}),p});function Yt(u){if(typeof u=="string"||mt(u))return u;var p=u+"";return p=="0"&&1/u==-l?"-0":p}function Ke(u){if(u!=null){try{return jt.call(u)}catch{}try{return u+""}catch{}}return""}function ms(u,p,C,I){return u==null?[]:(Ne(p)||(p=p==null?[]:[p]),C=I?void 0:C,Ne(C)||(C=C==null?[]:[C]),ts(u,p,C))}function Gn(u,p){if(typeof u!="function"||p&&typeof p!="function")throw new TypeError(r);var C=function(){var I=arguments,W=p?p.apply(this,I):I[0],R=C.cache;if(R.has(W))return R.get(W);var X=u.apply(this,I);return C.cache=R.set(W,X),X};return C.cache=new(Gn.Cache||xe),C}Gn.Cache=xe;function Oo(u,p){return u===p||u!==u&&p!==p}function Po(u){return gs(u)&&me.call(u,"callee")&&(!oe.call(u,"callee")||Me.call(u)==f)}var Ne=Array.isArray;function Zt(u){return u!=null&&Wn(u.length)&&!xo(u)}function gs(u){return Jt(u)&&Zt(u)}function xo(u){var p=Qt(u)?Me.call(u):"";return p==T||p==w}function Wn(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=c}function Qt(u){var p=typeof u;return!!u&&(p=="object"||p=="function")}function Jt(u){return!!u&&typeof u=="object"}function mt(u){return typeof u=="symbol"||Jt(u)&&Me.call(u)==A}var ys=Ie?Lt(Ie):Yi;function bs(u){return u==null?"":os(u)}function ws(u,p,C){var I=u==null?void 0:bo(u,p);return I===void 0?C:I}function Ss(u,p){return u!=null&&ds(u,p,Wi)}function qt(u){return Zt(u)?Ri(u):Qi(u)}function ko(u){return u}function Ts(u){return Kt(u)?An(Yt(u)):ns(u)}e.exports=ms})(wn,wn.exports);var gu=wn.exports;const yu=de.getDefaultExportFromCjs(gu),bu={props:{asNavFor:{type:Array,default:function(){return[]}},autoplay:{type:Boolean,default:!1},autoplaySpeed:{type:Number,default:3e3},centerMode:{type:Boolean,default:!1},centerPadding:{type:String,default:"15%"},changeDelay:{type:Number,default:0},dots:{type:Boolean,default:!0},fade:{type:Boolean,default:!1},infinite:{type:Boolean,default:!0},initialSlide:{type:Number,default:0},mobileFirst:{type:Boolean,default:!0},navButtons:{type:Boolean,default:!0},options:{type:Object,default:()=>null},pauseOnDotsHover:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!0},responsive:{type:Array,default:()=>null},rtl:{type:Boolean,default:!1},slidesToScroll:{type:Number,default:1},slidesToShow:{type:Number,default:1},speed:{type:Number,default:300},swipeDistance:{type:Number,default:50},throttleDelay:{type:Number,default:500},timing:{type:String,default:"ease",validator:e=>["ease","linear","ease-in","ease-out","ease-in-out"].indexOf(e)!==-1},unagile:{type:Boolean,default:!1}},computed:{initialSettings:function(){let{options:e,...n}=this.$props;return e&&(n={...n,...e}),n.responsive&&(n.responsive=yu(n.responsive,"breakpoint")),n},settings:function(){const{responsive:e,...n}=this.initialSettings;return e&&e.forEach(o=>{if(n.mobileFirst?o.breakpoint<this.widthWindow:o.breakpoint>this.widthWindow)for(const r in o.settings)n[r]=o.settings[r]}),n}}};var pi="Expected a function",br=0/0,wu="[object Symbol]",Su=/^\s+|\s+$/g,Tu=/^[-+]0x[0-9a-f]+$/i,Cu=/^0b[01]+$/i,Bu=/^0o[0-7]+$/i,Ou=parseInt,Pu=typeof de.commonjsGlobal=="object"&&de.commonjsGlobal&&de.commonjsGlobal.Object===Object&&de.commonjsGlobal,xu=typeof self=="object"&&self&&self.Object===Object&&self,ku=Pu||xu||Function("return this")(),Nu=Object.prototype,Eu=Nu.toString,$u=Math.max,Au=Math.min,Qn=function(){return ku.Date.now()};function Du(e,n,o){var r,a,i,s,l,c,f=0,d=!1,v=!1,m=!0;if(typeof e!="function")throw new TypeError(pi);n=wr(n)||0,Sn(o)&&(d=!!o.leading,v="maxWait"in o,i=v?$u(wr(o.maxWait)||0,n):i,m="trailing"in o?!!o.trailing:m);function h(D){var A=r,E=a;return r=a=void 0,f=D,s=e.apply(E,A),s}function T(D){return f=D,l=setTimeout(x,n),d?h(D):s}function w(D){var A=D-c,E=D-f,L=n-A;return v?Au(L,i-E):L}function S(D){var A=D-c,E=D-f;return c===void 0||A>=n||A<0||v&&E>=i}function x(){var D=Qn();if(S(D))return k(D);l=setTimeout(x,w(D))}function k(D){return l=void 0,m&&r?h(D):(r=a=void 0,s)}function V(){l!==void 0&&clearTimeout(l),f=0,r=c=a=l=void 0}function F(){return l===void 0?s:k(Qn())}function O(){var D=Qn(),A=S(D);if(r=arguments,a=this,c=D,A){if(l===void 0)return T(c);if(v)return l=setTimeout(x,n),h(c)}return l===void 0&&(l=setTimeout(x,n)),s}return O.cancel=V,O.flush=F,O}function Iu(e,n,o){var r=!0,a=!0;if(typeof e!="function")throw new TypeError(pi);return Sn(o)&&(r="leading"in o?!!o.leading:r,a="trailing"in o?!!o.trailing:a),Du(e,n,{leading:r,maxWait:n,trailing:a})}function Sn(e){var n=typeof e;return!!e&&(n=="object"||n=="function")}function Mu(e){return!!e&&typeof e=="object"}function Vu(e){return typeof e=="symbol"||Mu(e)&&Eu.call(e)==wu}function wr(e){if(typeof e=="number")return e;if(Vu(e))return br;if(Sn(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=Sn(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=e.replace(Su,"");var o=Cu.test(e);return o||Bu.test(e)?Ou(e.slice(2),o?2:8):Tu.test(e)?br:+e}var Fu=Iu;const Sr=de.getDefaultExportFromCjs(Fu),_u={created(){this.goTo=Sr(this.goTo,this.throttleDelay),this.getWidth=Sr(this.getWidth,500)}},Lu={watch:{currentBreakpoint(){this.$emit("breakpoint",{breakpoint:this.currentBreakpoint})},currentSlide(){this.prepareSlidesClasses(),this.autoplayStartTimestamp=this.settings.autoplay?+new Date:null,this.$emit("after-change",{currentSlide:this.currentSlide})},dragDistance(){if(this.isMouseDown){const{rtl:e}=this.settings,n=this.dragDistance*(e?-1:1);n>this.swipeDistance&&this.canGoToPrev&&(this.goToPrev(),this.handleMouseUp()),n<-1*this.swipeDistance&&this.canGoToNext&&(this.goToNext(),this.handleMouseUp())}},isAutoplayPaused(e){e?(this.remaining=this.settings.autoplaySpeed-(+new Date-this.autoplayStartTimestamp),this.disableAutoPlay(),this.clearAutoPlayPause()):this.autoplayTimeout=setTimeout(()=>{this.clearAutoPlayPause(),this.goToNext(),this.toggleAutoPlay()},this.remaining)},"settings.autoplay"(){this.toggleAutoPlay()},"settings.fade"(){this.toggleFade()},"settings.unagile"(){},widthSlide(){for(let e=0;e<this.countSlidesAll;e++)this.slidesAll[e].style.width=`${this.widthSlide}${this.widthSlide!=="auto"?"px":""}`},widthWindow(e,n){n&&(this.prepareCarousel(),this.toggleFade())}}};const Ru={name:"agile",mixins:[pu,hu,vu,mu,bu,_u,Lu],emits:["before-change","after-change","breakpoint"],data(){return{autoplayInterval:null,autoplayRemaining:null,autoplayStartTimestamp:null,autoplayTimeout:null,currentSlide:null,dragDistance:0,dragStartX:0,dragStartY:0,isAutoplayPaused:!1,isMouseDown:!1,slides:[],slidesClonedAfter:[],slidesClonedBefore:[],isSSR:typeof window>"u",transitionDelay:0,translateX:0,widthWindow:0,widthContainer:0}},computed:{breakpoints:function(){return this.initialSettings.responsive?this.initialSettings.responsive.map(e=>e.breakpoint):[]},canGoToPrev:function(){return this.settings.infinite||this.currentSlide>0},canGoToNext:function(){return this.settings.infinite||this.currentSlide<this.countSlides-1},countSlides:function(){return this.isSSR?this.htmlCollectionToArray(this.$slots.default).length:this.slides.length},countSlidesAll:function(){return this.slidesAll.length},currentBreakpoint:function(){const e=this.breakpoints.map(n=>n).reverse();return this.initialSettings.mobileFirst?e.find(n=>n<this.widthWindow)||0:e.find(n=>n>this.widthWindow)||null},marginX:function(){if(this.settings.unagile)return 0;let e=this.slidesCloned?this.countSlides*this.widthSlide:0;return this.settings.centerMode&&(e-=(Math.floor(this.settings.slidesToShow/2)-+(this.settings.slidesToShow%2===0))*this.widthSlide),this.settings.rtl?e:-1*e},slidesCloned:function(){return!this.settings.unagile&&!this.settings.fade&&this.settings.infinite},slidesAll:function(){return this.slidesCloned?[...this.slidesClonedBefore,...this.slides,...this.slidesClonedAfter]:this.slides},widthSlide:function(){return this.settings.unagile?"auto":this.widthContainer/this.settings.slidesToShow}},mounted(){window.addEventListener("resize",this.getWidth),this.$refs.track.addEventListener("touchstart",this.handleMouseDown),this.$refs.track.addEventListener("touchend",this.handleMouseUp),this.$refs.track.addEventListener("touchmove",this.handleMouseMove),this.$refs.track.addEventListener("mousedown",this.handleMouseDown),this.$refs.track.addEventListener("mouseup",this.handleMouseUp),this.$refs.track.addEventListener("mousemove",this.handleMouseMove),this.isSSR=!1,this.reload()},beforeUnmount(){this.destroy()},methods:{destroy(){window.removeEventListener("resize",this.getWidth),this.$refs.track.removeEventListener("touchstart",this.handleMouseDown),this.$refs.track.removeEventListener("touchend",this.handleMouseUp),this.$refs.track.removeEventListener("touchmove",this.handleMouseMove),this.$refs.track.removeEventListener("mousedown",this.handleMouseDown),this.$refs.track.removeEventListener("mouseup",this.handleMouseUp),this.$refs.track.removeEventListener("mousemove",this.handleMouseMove),this.disableAutoPlay()},getCurrentBreakpoint(){return this.currentBreakpoint},getCurrentSettings(){return this.settings},getCurrentSlide(){return this.currentSlide},getInitialSettings(){return this.initialSettings},goTo(e,n=!0,o=!1){if(this.settings.unagile)return!1;o||this.settings.asNavFor.forEach(i=>{i&&i.goTo(e,n,!0)});let r=e;n&&(this.settings.infinite&&e<0?r=this.countSlides-1:e>=this.countSlides&&(r=0),this.$emit("before-change",{currentSlide:this.currentSlide,nextSlide:r}),this.currentSlide=r,e!==r&&setTimeout(()=>{this.goTo(r,!1)},this.settings.speed));const a=this.settings.fade?0:e*this.widthSlide*this.settings.slidesToScroll;this.transitionDelay=n?this.speed:0,(this.infinite||this.currentSlide+this.slidesToShow<=this.countSlides)&&(this.translateX=this.settings.rtl?a:-1*a)},goToNext(){this.canGoToNext&&this.goTo(this.currentSlide+1)},goToPrev(){this.canGoToPrev&&this.goTo(this.currentSlide-1)},reload(){this.getWidth(),this.prepareSlides(),this.prepareCarousel(),this.toggleFade(),this.toggleAutoPlay()}}},zu={ref:"list",class:"agile__list"},ju={ref:"slidesClonedBefore",class:"agile__slides agile__slides--cloned"},Hu={ref:"slides",class:"agile__slides agile__slides--regular"},Gu={ref:"slidesClonedAfter",class:"agile__slides agile__slides--cloned"},Wu={key:0,class:"agile__caption"},Uu={key:1,class:"agile__actions"},Xu=["disabled"],Ku={key:1,ref:"dots",class:"agile__dots"},Yu=["onClick"],Zu=["disabled"];function Qu(e,n,o,r,a,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([{"agile--ssr":a.isSSR,"agile--auto-play":e.settings.autoplay,"agile--disabled":e.settings.unagile,"agile--fade":e.settings.fade&&!e.settings.unagile,"agile--rtl":e.settings.rtl,"agile--no-nav-buttons":!e.settings.navButtons},"agile"]),onTouchstart:()=>{}},[t.createBaseVNode("div",zu,[t.createBaseVNode("div",{ref:"track",style:t.normalizeStyle({transform:`translate(${a.translateX+i.marginX}px)`,transition:`transform ${e.settings.timing} ${a.transitionDelay}ms`}),class:"agile__track",onMouseout:n[0]||(n[0]=s=>e.handleMouseOut("track")),onMouseover:n[1]||(n[1]=s=>e.handleMouseOver("track"))},[t.withDirectives(t.createBaseVNode("div",ju,[t.renderSlot(e.$slots,"default")],512),[[t.vShow,i.slidesCloned]]),t.createBaseVNode("div",Hu,[t.renderSlot(e.$slots,"default")],512),t.withDirectives(t.createBaseVNode("div",Gu,[t.renderSlot(e.$slots,"default")],512),[[t.vShow,i.slidesCloned]])],36)],512),e.$slots.caption?(t.openBlock(),t.createElementBlock("div",Wu,[t.renderSlot(e.$slots,"caption")])):t.createCommentVNode("",!0),!e.settings.unagile&&(e.settings.navButtons||e.settings.dots)?(t.openBlock(),t.createElementBlock("div",Uu,[e.settings.navButtons&&!e.settings.unagile?(t.openBlock(),t.createElementBlock("button",{key:0,ref:"prevButton",disabled:!i.canGoToPrev,"aria-label":"Previous",class:"agile__nav-button agile__nav-button--prev",type:"button",onClick:n[2]||(n[2]=s=>(i.goToPrev(),e.restartAutoPlay()))},[t.renderSlot(e.$slots,"prevButton",{},()=>[t.createTextVNode(" ← ")])],8,Xu)):t.createCommentVNode("",!0),e.settings.dots&&!e.settings.unagile?(t.openBlock(),t.createElementBlock("ul",Ku,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.countSlides,s=>(t.openBlock(),t.createElementBlock("li",{key:s,class:t.normalizeClass([{"agile__dot--current":s-1===a.currentSlide},"agile__dot"]),onMouseout:n[3]||(n[3]=l=>e.handleMouseOut("dot")),onMouseover:n[4]||(n[4]=l=>e.handleMouseOver("dot"))},[t.createBaseVNode("button",{type:"button",onClick:l=>(i.goTo(s-1),e.restartAutoPlay())},t.toDisplayString(s),9,Yu)],34))),128))],512)):t.createCommentVNode("",!0),e.settings.navButtons&&!e.settings.unagile?(t.openBlock(),t.createElementBlock("button",{key:2,ref:"nextButton",disabled:!i.canGoToNext,"aria-label":"Next",class:"agile__nav-button agile__nav-button--next",type:"button",onClick:n[5]||(n[5]=s=>(i.goToNext(),e.restartAutoPlay()))},[t.renderSlot(e.$slots,"nextButton",{},()=>[t.createTextVNode(" → ")])],8,Zu)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],34)}const Ju=t._export_sfc(Ru,[["render",Qu]]);function qu(e){if(Array.isArray(e)){for(var n=0,o=Array(e.length);n<e.length;n++)o[n]=e[n];return o}else return Array.from(e)}var mo=!1;if(typeof window<"u"){var Tr={get passive(){mo=!0}};window.addEventListener("testPassive",null,Tr),window.removeEventListener("testPassive",null,Tr)}var Tn=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),tt=[],Cn=!1,hi=-1,Pt=void 0,et=void 0,xt=void 0,vi=function(n){return tt.some(function(o){return!!(o.options.allowTouchMove&&o.options.allowTouchMove(n))})},Bn=function(n){var o=n||window.event;return vi(o.target)||o.touches.length>1?!0:(o.preventDefault&&o.preventDefault(),!1)},ec=function(n){if(xt===void 0){var o=!!n&&n.reserveScrollBarGap===!0,r=window.innerWidth-document.documentElement.clientWidth;if(o&&r>0){var a=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);xt=document.body.style.paddingRight,document.body.style.paddingRight=a+r+"px"}}Pt===void 0&&(Pt=document.body.style.overflow,document.body.style.overflow="hidden")},tc=function(){xt!==void 0&&(document.body.style.paddingRight=xt,xt=void 0),Pt!==void 0&&(document.body.style.overflow=Pt,Pt=void 0)},nc=function(){return window.requestAnimationFrame(function(){if(et===void 0){et={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var n=window,o=n.scrollY,r=n.scrollX,a=n.innerHeight;document.body.style.position="fixed",document.body.style.top=-o,document.body.style.left=-r,setTimeout(function(){return window.requestAnimationFrame(function(){var i=a-window.innerHeight;i&&o>=a&&(document.body.style.top=-(o+i))})},300)}})},oc=function(){if(et!==void 0){var n=-parseInt(document.body.style.top,10),o=-parseInt(document.body.style.left,10);document.body.style.position=et.position,document.body.style.top=et.top,document.body.style.left=et.left,window.scrollTo(o,n),et=void 0}},rc=function(n){return n?n.scrollHeight-n.scrollTop<=n.clientHeight:!1},ic=function(n,o){var r=n.targetTouches[0].clientY-hi;return vi(n.target)?!1:o&&o.scrollTop===0&&r>0||rc(o)&&r<0?Bn(n):(n.stopPropagation(),!0)},sc=function(n,o){if(!n){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!tt.some(function(a){return a.targetElement===n})){var r={targetElement:n,options:o||{}};tt=[].concat(qu(tt),[r]),Tn?nc():ec(o),Tn&&(n.ontouchstart=function(a){a.targetTouches.length===1&&(hi=a.targetTouches[0].clientY)},n.ontouchmove=function(a){a.targetTouches.length===1&&ic(a,n)},Cn||(document.addEventListener("touchmove",Bn,mo?{passive:!1}:void 0),Cn=!0))}},ac=function(n){if(!n){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}tt=tt.filter(function(o){return o.targetElement!==n}),Tn&&(n.ontouchstart=null,n.ontouchmove=null,Cn&&tt.length===0&&(document.removeEventListener("touchmove",Bn,mo?{passive:!1}:void 0),Cn=!1)),Tn?oc():tc()},go=t.defineComponent({name:"SidePanelCloseButton",emits:["close"]});const lc=t.createBaseVNode("span",{class:"vsp-close__x"},null,-1),uc=[lc];function cc(e,n,o,r,a,i){return t.openBlock(),t.createElementBlock("div",{class:"vsp-close",onClick:n[0]||(n[0]=s=>e.$emit("close"))},uc)}go.render=cc;go.__file="src/components/SidePanelCloseButton.vue";var yo=t.defineComponent({name:"VueSidePanel",components:{SidePanelCloseButton:go},props:{idName:{type:String,default:"vsp-container"},hideCloseBtn:{type:Boolean,default:!1},noClose:{type:Boolean,default:!1},side:{type:String,validator:e=>["top","right","bottom","left"].includes(e),default:"right"},rerender:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:"auto"},width:{type:String,default:"auto"},height:{type:String,default:"auto"},lockScroll:{type:Boolean,default:!1},lockScrollHtml:{type:Boolean,default:!0},modelValue:{type:Boolean,default:!1,required:!0},overlayColor:{type:String,default:"black"},overlayOpacity:{type:Number,default:.5},overlayDuration:{type:Number,default:500},panelColor:{type:String,default:"white"},panelDuration:{type:Number,default:300},transitionName:{type:String,default:void 0},headerClass:{type:String,default:""},bodyClass:{type:String,default:""},footerClass:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:n,attrs:o}){let r;const a=t.ref(null),i=t.ref(null),s=t.ref(null),l=t.ref(null),c=t.ref(null),f=t.ref(0),d=t.ref(0),v=t.ref(0),m=t.ref(0),h=t.ref(0),T=t.ref(),w=t.ref(!1),S=async()=>{window?.innerHeight>0&&(h.value=window.innerHeight),f.value=s.value?s.value.clientHeight:0,v.value=l.value?l.value.clientHeight:0,d.value=c.value?c.value.scrollHeight:0,m.value=a.value?a.value.clientHeight:0},x=()=>n("update:modelValue",!1),k=(A,E)=>{if(E){setTimeout(()=>{sc(A,{reserveScrollBarGap:!0}),e.lockScrollHtml&&(document.documentElement.style.overflow="hidden")},0);return}ac(A),e.lockScrollHtml&&document.documentElement.style.removeProperty("overflow")},V=()=>Math.max(...Array.from(document.querySelectorAll("body *"),A=>parseFloat(window.getComputedStyle(A).zIndex)).filter(A=>!Number.isNaN(A)),0);t.onMounted(()=>{T.value=e.zIndex==="auto"?V():e.zIndex}),t.onBeforeMount(()=>{document.getElementById(e.idName)||(r=document.createElement("div"),r.setAttribute("id",e.idName),document.body.appendChild(r))}),t.onBeforeUnmount(()=>{const{modelValue:A,lockScroll:E}=e;E&&a.value&&A&&k(a.value,!1),r&&document.body.removeChild(r),window.removeEventListener("resize",S)}),t.watch(()=>[l.value,s.value,e.height,e.width,e.side,e.modelValue],()=>{t.nextTick(()=>S())}),t.watch(()=>[e.modelValue,a.value],(A,E)=>{const L=E?E[0]:!1,[b,g]=A,y=b,N=L&&!b;if(g){if(y&&(w.value=!!document.body.style.overflow),b){e.lockScroll&&k(g,!0),S(),window.addEventListener("resize",S);return}!e.lockScroll||!N||w.value||(setTimeout(()=>{g&&k(g,!1)},e.panelDuration),window.removeEventListener("resize",S))}},{immediate:!0});const F=t.computed(()=>{if(!m.value)return;const A=d.value+v.value+f.value;let E=m.value-v.value-f.value;return["top","bottom"].includes(e.side)&&e.height==="auto"&&(E=h.value>=A?d.value:h.value-v.value-f.value),E}),O=t.computed(()=>({zIndex:T.value,animationDuration:`${e.overlayDuration}ms`,"--overlay-opacity":e.overlayOpacity,opacity:e.modelValue?e.overlayOpacity:0,backgroundColor:e.overlayColor,pointerEvents:e.modelValue?"all":"none"})),D=t.computed(()=>({width:["left","right"].includes(e.side)?e.width:void 0,maxWidth:"100%",...["top","bottom"].includes(e.side)?{height:e.height,maxHeight:"100%"}:{},zIndex:T.value,backgroundColor:e.panelColor,animationDuration:`${e.panelDuration}ms`,...Object.assign({},o.style)}));return{body:c,panel:a,overlay:i,overlayStyles:O,header:l,footer:s,closePanel:x,panelStyles:D,bodyHeight:F}}});function dc(e,n,o,r,a,i){const s=t.resolveComponent("SidePanelCloseButton");return t.openBlock(),t.createBlock(t.Teleport,{to:`#${e.idName}`},[t.createBaseVNode("div",{class:t.normalizeClass(["vsp-wrapper",[e.modelValue&&"vsp-wrapper--active"]])},[t.createVNode(t.Transition,{name:"overlay",persisted:""},{default:t.withCtx(()=>[t.withDirectives(t.createBaseVNode("div",{ref:"overlay",class:"vsp-overlay",style:t.normalizeStyle(e.overlayStyles),onClick:n[0]||(n[0]=()=>e.noClose?void 0:e.closePanel())},null,4),[[t.vShow,e.modelValue]])]),_:1}),t.createVNode(t.Transition,{name:e.transitionName||`slide-${e.side}`},{default:t.withCtx(()=>[!e.rerender||e.modelValue?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:0,ref:"panel",class:t.normalizeClass(["vsp",[`vsp--${e.side}-side`,e.$attrs.class]]),style:t.normalizeStyle(e.panelStyles)},[e.$slots.header?(t.openBlock(),t.createElementBlock("div",{key:0,ref:"header",class:t.normalizeClass([e.headerClass,"vsp__header"])},[t.renderSlot(e.$slots,"header",{close:e.closePanel})],2)):t.createCommentVNode("v-if",!0),t.createBaseVNode("div",{ref:"body",class:t.normalizeClass([e.bodyClass,"vsp__body"]),style:t.normalizeStyle({height:`${e.bodyHeight}px`})},[t.renderSlot(e.$slots,"default",{close:e.closePanel}),e.hideCloseBtn?t.createCommentVNode("v-if",!0):(t.openBlock(),t.createBlock(s,{key:0,onClose:e.closePanel},null,8,["onClose"]))],6),e.$slots.footer?(t.openBlock(),t.createElementBlock("div",{key:1,ref:"footer",class:t.normalizeClass([e.footerClass,"vsp__footer"])},[t.renderSlot(e.$slots,"footer")],2)):t.createCommentVNode("v-if",!0)],6)),[[t.vShow,e.rerender?!0:e.modelValue]]):t.createCommentVNode("v-if",!0)]),_:3},8,["name"])],2)],8,["to"])}yo.render=dc;yo.__file="src/components/SidePanel.vue";const fc=["innerHTML"],pc=t.defineComponent({__name:"Base",props:{title:{},description:{},side:{default:"right"},lockScroll:{type:Boolean,default:!0},hideCloseButton:{type:Boolean,default:!1}},setup(e){const n=t.ref(!1);return(o,r)=>(t.openBlock(),t.createBlock(t.unref(yo),{modelValue:n.value,"onUpdate:modelValue":r[1]||(r[1]=a=>n.value=a),"lock-scroll":o.lockScroll,"hide-close-btn":o.hideCloseButton},{header:t.withCtx(()=>[t.createBaseVNode("h2",null,[t.createBaseVNode("span",null,t.toDisplayString(o.title),1)]),t.createBaseVNode("span",{onClick:r[0]||(r[0]=a=>n.value=!1)}," X ")]),default:t.withCtx(()=>[t.createBaseVNode("div",null,[t.createBaseVNode("div",{class:"konnectio-side-panel-description",innerHTML:o.description},null,8,fc),t.renderSlot(o.$slots,"default",{},void 0,!0)])]),_:3},8,["modelValue","lock-scroll","hide-close-btn"]))}});const hc=t._export_sfc(pc,[["__scopeId","data-v-0fabaf27"]]),vc=t.defineComponent({__name:"Hotel",props:{title:{},description:{}},setup(e){return(n,o)=>(t.openBlock(),t.createBlock(hc,{title:n.title,description:n.description},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},8,["title","description"]))}}),mc=e=>(t.pushScopeId("data-v-be01df9a"),e=e(),t.popScopeId(),e),gc={key:0,class:"booking-availability-listing-featured"},yc=["onClick"],bc=["src"],wc={class:"booking-availability-listing-content"},Sc={class:"booking-availability-listing-details"},Tc={class:"fresh-booking-listing-sub-title"},Cc={key:0},Bc={key:1},Oc={class:"booking-availability-listing-description"},Pc={key:0},xc=["innerHTML"],kc={key:0},Nc=["innerHTML"],Ec={key:0,class:"booking-availability-listing-details-facilities"},$c={class:"booking-availability-listing-action"},Ac=mc(()=>t.createBaseVNode("span",null,"TEST",-1)),Dc=t.defineComponent({__name:"Base",props:{name:{},currency:{},description:{},listingId:{},includesBreakfast:{type:Boolean,default:!1},gallery:{},styling:{},layout:{default:t.BookingLayout.Selective},pricesFrom:{},trackingEnabled:{type:Boolean,default:!1},facilities:{},callback:{}},setup(e){const n=e,{t:o}=t.useI18n(),{disablePricesFrom:r}=t.useUtilityStore(),a=t.ref(!1),i=t.ref(!r&&!!n.pricesFrom),s=t.ref(!1),l=t.ref(null),c=t.ref(0);function f(h){c.value=h.currentSlide}function d(h){let T="";return h.forEach(({name:w})=>{T+=`<li>${w}</li>`}),`<ul>${T}</ul>`}function v(h){l.value.goTo(h)}function m(){l.value&&l.value.reload()}return t.onMounted(()=>setTimeout(()=>m(),500)),(h,T)=>{const w=t.resolveDirective("tooltip");return t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass(["booking-availability-listing",{"no-gallery":h.gallery===void 0||h.gallery.length===0}])},[h.gallery?(t.openBlock(),t.createElementBlock("div",gc,[h.gallery.length===1?(t.openBlock(),t.createBlock(t.unref(yr),{key:0,src:h.gallery[0].medium,zoomSrc:h.gallery[0].large,zoomScale:1,zoomType:"hover",width:420,height:230,zoomPreload:!0,fullscreenOnMobile:!1},null,8,["src","zoomSrc"])):h.gallery.length>1?(t.openBlock(),t.createBlock(t.unref(Ju),{ref_key:"bookingSlider",ref:l,fade:!0,"nav-buttons":!1,dots:!1,key:h.gallery.length,onAfterChange:T[0]||(T[0]=S=>f(S))},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.gallery,({medium:S,large:x},k)=>(t.openBlock(),t.createElementBlock("div",{key:k,class:"booking-availability-listing-featured-img",style:{maxHeight:"230px",maxWidth:"420px"}},[t.createVNode(t.unref(yr),{src:S,zoomSrc:x,zoomScale:1,zoomType:"hover",width:420,height:230,zoomPreload:!0,fullscreenOnMobile:!1},null,8,["src","zoomSrc"])]))),128))]),_:1})):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),h.gallery&&typeof h.gallery!="string"&&h.gallery.length>1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["booking-availability-listing-gallery",{"small-gallery":h.gallery.length>6}])},[t.createBaseVNode("ul",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.gallery,(S,x)=>(t.openBlock(),t.createElementBlock("li",{key:x,class:t.normalizeClass({active:x===c.value}),onClick:t.withModifiers(k=>v(x),["prevent"])},[t.createBaseVNode("img",{src:S.thumb,width:"132",height:"72"},null,8,bc)],10,yc))),128))])],2)):t.createCommentVNode("",!0),t.createBaseVNode("div",wc,[t.createBaseVNode("div",Sc,[t.createBaseVNode("div",{class:t.normalizeClass(["fresh-booking-listing-title",{"has-from-price":i.value}])},[t.createBaseVNode("h3",null,[t.createBaseVNode("span",null,t.toDisplayString(h.name),1),h.layout!==t.unref(t.BookingLayout).Event&&h.description!==void 0?(t.openBlock(),t.createElementBlock("button",{key:0,class:"booking-availability-listing-read-more",type:"button",onClick:T[1]||(T[1]=t.withModifiers(S=>a.value=!a.value,["prevent"]))},[t.createVNode(t.Icon,{icon:"info-circle","icon-color":h.styling.headerColor},null,8,["icon-color"])])):t.createCommentVNode("",!0)]),t.createBaseVNode("ul",Tc,[i.value?(t.openBlock(),t.createElementBlock("li",Cc,[t.createBaseVNode("span",null,t.toDisplayString(`${t.unref(o)("general.pricesFrom")}: ${t.unref(t.showPrice)(h.pricesFrom,h.currency)}`),1)])):t.createCommentVNode("",!0),h.includesBreakfast?(t.openBlock(),t.createElementBlock("li",Bc,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(o)("general.breakfastIncluded")),1),t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])],2),t.createBaseVNode("div",Oc,[h.layout!==t.unref(t.BookingLayout).Event&&h.description?(t.openBlock(),t.createElementBlock("div",Pc,[t.createBaseVNode("p",{innerHTML:t.unref(t.convertDescription)(h.description)},null,8,xc),s.value?(t.openBlock(),t.createElementBlock("span",kc,[t.createBaseVNode("a",{href:"#",onClick:T[2]||(T[2]=t.withModifiers(S=>h.callback(),["prevent"]))},t.toDisplayString(t.unref(o)("general.readMore")),1)])):t.createCommentVNode("",!0)])):h.description?(t.openBlock(),t.createElementBlock("p",{key:1,innerHTML:t.unref(t.convertDescription)(h.description)},null,8,Nc)):t.createCommentVNode("",!0)]),h.layout!==t.unref(t.BookingLayout).Event?(t.openBlock(),t.createElementBlock("ul",Ec,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.facilities,({icon:S,name:x,subFacilities:k})=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[S?t.withDirectives((t.openBlock(),t.createElementBlock("li",{key:x},[t.createVNode(t.Icon,{icon:S,"icon-color":h.styling.headerColor},null,8,["icon","icon-color"])])),[[w,{content:d(k),classes:["tooltip","freshcase-octopus-tooltip"],container:"#fresh-booking-hotel-module",html:!0}]]):t.createCommentVNode("",!0)],64))),256))])):t.createCommentVNode("",!0),t.renderSlot(h.$slots,"description")]),t.createBaseVNode("div",$c,[t.renderSlot(h.$slots,"action")])]),t.createVNode(vc,{modelValue:a.value,"onUpdate:modelValue":T[3]||(T[3]=S=>a.value=S),title:h.name,description:h.description},{default:t.withCtx(()=>[Ac]),_:1},8,["modelValue","title","description"])],2)}}});const Ic=t._export_sfc(Dc,[["__scopeId","data-v-be01df9a"]]),Mc={id:"fresh-booking-multi-step-form-navigation"},Vc={key:0,id:"fresh-booking-multi-step-form-overlay"},Fc=["src"],_c={id:"fresh-booking-multi-step-form-steps-wrapper"},Lc={key:0},Rc={key:1},zc={class:"fresh-booking-multi-steps"},jc={style:{fontSize:"18px"}},Hc={id:"fresh-booking-multi-step-form-content"},Gc=t.defineComponent({__name:"MultiStepForm",props:{slideshow:{},layout:{default:t.BookingHeaderLayout.Default},title:{},subtitle:{}},setup(e){const n=t.ref(0),o=t.ref(),{t:r}=t.useI18n(),a=[{id:"availability",label:r("booking.availability.title"),icon:"search"},{id:"reservation",label:r("booking.reservation.title"),icon:"concierge-bell"},{id:"payment",hidden:!0},{id:"confirmation",label:r("booking.confirmation.title"),icon:"calendar-check"}],i=t.computed(()=>a.filter(d=>!d.hidden)),s=t.computed(()=>a[n.value].id),l=()=>{o.value!==void 0&&o.value.scrollIntoView({behavior:"smooth"})},c=(d=1)=>{l(),n.value=n.value+d},f=()=>{l(),n.value--};return(d,v)=>(t.openBlock(),t.createElementBlock("div",{id:"fresh-booking-multi-step-form",ref_key:"multiStepForm",ref:o,class:t.normalizeClass({minimal:d.layout===t.unref(t.BookingHeaderLayout).Minimal})},[t.createBaseVNode("div",null,[t.createBaseVNode("header",Mc,[d.layout!==t.unref(t.BookingHeaderLayout).Minimal?(t.openBlock(),t.createElementBlock("div",Vc)):t.createCommentVNode("",!0),d.layout!==t.unref(t.BookingHeaderLayout).Minimal&&d.slideshow?(t.openBlock(),t.createElementBlock("img",{key:1,src:d.slideshow[0].url},null,8,Fc)):t.createCommentVNode("",!0),t.createBaseVNode("div",_c,[t.createBaseVNode("div",null,[d.title&&d.layout!==t.unref(t.BookingHeaderLayout).Minimal?(t.openBlock(),t.createElementBlock("h2",Lc,[t.createBaseVNode("span",null,t.toDisplayString(d.title),1)])):t.createCommentVNode("",!0),d.subtitle&&d.layout!==t.unref(t.BookingHeaderLayout).Minimal?(t.openBlock(),t.createElementBlock("h5",Rc,[t.createBaseVNode("span",null,t.toDisplayString(d.subtitle),1)])):t.createCommentVNode("",!0),t.createBaseVNode("ul",zc,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,m=>(t.openBlock(),t.createElementBlock("li",{key:m.id,class:t.normalizeClass({"is-active":s.value===m.id})},[m.icon?(t.openBlock(),t.createBlock(t.Icon,{key:0,icon:m.icon,type:"fas","icon-color":d.layout!==t.unref(t.BookingHeaderLayout).Minimal?"#fff":void 0,style:{fontSize:"18px"}},null,8,["icon","icon-color"])):t.createCommentVNode("",!0),t.createBaseVNode("b",jc,t.toDisplayString(m.label),1)],2))),128))])])])]),t.createBaseVNode("ul",Hc,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(a,m=>t.createBaseVNode("li",{key:m.id,class:"fresh-booking-multi-step-form-content-tab"},[t.withDirectives(t.createBaseVNode("div",null,[t.renderSlot(d.$slots,m.id,{next:c,prev:f},void 0,!0)],512),[[t.vShow,s.value===m.id]])])),64))])])],2))}});const Wc=t._export_sfc(Gc,[["__scopeId","data-v-8d9c32ea"]]);const Uc={class:"fresh-booking-modal-title modal__title"},Xc={class:"modal__content"},Kc=["innerHTML"],mi=t.defineComponent({__name:"Base",props:{title:{},description:{},styling:{}},emits:["confirm"],setup(e,{emit:n}){return(o,r)=>(t.openBlock(),t.createBlock(t.unref(Fr),{class:"modal-container","content-class":"fresh-booking-modal",style:t.normalizeStyle({"z-index":1e5,"--headerColor":o.styling.headerColor,"--fontColor":o.styling.fontColor,"--fontSize":o.styling.fontSize,"--fontFamily":o.styling.fontFamily,"--panelPadding":o.styling.panelPadding})},{default:t.withCtx(()=>[t.createBaseVNode("h3",Uc,[t.createBaseVNode("span",null,t.toDisplayString(o.title),1)]),t.createBaseVNode("div",Xc,[o.description?(t.openBlock(),t.createElementBlock("p",{key:0,class:"fresh-booking-modal-description",innerHTML:o.description},null,8,Kc)):t.createCommentVNode("",!0),t.renderSlot(o.$slots,"default")]),t.createBaseVNode("button",{class:"fresh-booking-modal-close",onClick:r[0]||(r[0]=a=>n("confirm"))},[t.createVNode(t.Icon,{icon:"times",type:"fas"})])]),_:3},8,["style"]))}});const Yc=t.defineComponent({__name:"Terms",props:{description:{},styling:{}},setup(e){const{t:n}=t.useI18n();return(o,r)=>(t.openBlock(),t.createBlock(mi,{title:t.unref(n)("general.termsAndConditions"),description:o.description,styling:o.styling},null,8,["title","description","styling"]))}}),gi=t.defineStore("hotel",()=>{const e=qn.usePaymentStore(),{voucher:n}=t.storeToRefs(Jn.useApplyGiftCardStore()),{display:o}=t.useAlertStore(),{adults:r,children:a,arrivalDate:i,departureDate:s,fromDate:l,toDate:c,nights:f}=t.storeToRefs(qn.useAvailabilityStore()),{metaData:d,bearerToken:v,arrivalDefault:m,departureDefault:h,disableArrivalUserSelection:T,disableDepartureUserSelection:w}=t.storeToRefs(t.useUtilityStore()),S=t.reactive({});function x(U,J){console.log(S[U][J]),S[U][J].units=0}const k=t.computed(()=>{const U=[];for(const J in S){const oe=parseInt(J),be=F.value.roomGroups.find(we=>we.id===oe),Ht=be?.addons;for(const we in S[J]){const fe=parseInt(we),lt=be?.rates.find(Ve=>Ve.id===fe);if(lt&&S[J][fe]){const Ve=S[J][fe].units,vt=S[J][fe].config,Ue=S[J][fe].addons,{name:Ln,occupantRates:Rn}=lt,Gt=Rn.find(Se=>Se.index===vt);if(!Gt)continue;const{adultsCount:zn,childrenCount:jn,totalPrice:ut}=Gt,ct=[];for(const Se in Ue)ct.push({addonID:parseInt(Se),quantity:1});if(Ve>0)for(let Se=1;Se<Ve+1;Se++)U.push({index:Se,name:Ln,roomGroupID:oe,ratePlanID:fe,addons:Ht,totalPrice:ut,adultsCount:zn,childrenCount:jn,roomAddons:ct})}}}return U}),V=t.computed(()=>k.value.reduce((oe,{totalPrice:be})=>oe+be,0)),F=t.ref({}),O=t.ref(!0),D=t.ref(0),A=t.ref({}),E=t.ref({}),L=t.ref(NaN),b=t.ref(NaN),g=t.ref(""),y=t.ref(""),N=t.ref(""),M=t.useStorage("freshBookingName","",void 0,{serializer:t.StorageSerializers.string}),_=t.useStorage("freshBookingNameTitle",2,void 0,{serializer:t.StorageSerializers.number}),$=t.useStorage("freshBookingEmail","",void 0,{serializer:t.StorageSerializers.string}),B=t.useStorage("freshBookingPhone","",void 0,{serializer:t.StorageSerializers.string}),P=t.useStorage("freshBookingFirmName","",void 0,{serializer:t.StorageSerializers.string}),G=t.useStorage("freshBookingPostal","",void 0,{serializer:t.StorageSerializers.string}),z=t.useStorage("freshBookingCity","",void 0,{serializer:t.StorageSerializers.string}),j=t.useStorage("freshBookingCountry",57,void 0,{serializer:t.StorageSerializers.number}),K=t.useStorage("freshBookingAddress","",void 0,{serializer:t.StorageSerializers.string}),Q=t.ref(""),se=t.ref(""),ae=t.ref(!1),le=t.ref({}),Ae=t.ref(!1),H=t.computed(()=>d.value.termsOfService),ee=t.computed(()=>d.value.country?d.value.country.name:""),ne=t.computed(()=>d.value.countries?d.value.countries:[]),ie=t.computed(()=>d.value.name?d.value.name:""),De=t.computed(()=>d.value.hotelImages?d.value.hotelImages:[]),it=t.computed(()=>d.value&&Object.keys(d.value).length!==0),En=t.computed(()=>Object.keys(F.value).length!==0),It=t.computed(()=>!(!M.value[1]||!$.value||!(B.value.length>=5)||!G.value||!z.value||!K.value)),Mt=t.computed(()=>D.value===3&&O.value),Ie=t.computed(()=>{if(F.value.templates)return F.value.templates.find(U=>U.id===L.value)});function Vt(U){if(Ie.value)return Ie.value.avilableRoomGroups.find(J=>J.roomGroupID===U)}const $n=t.computed(()=>{if(Ie.value)return Ie.value.avilableRoomGroups.find(U=>U.roomGroupID===b.value)});function An(U){return F.value.availableRoomGroups.find(J=>J.roomGroupId===U)}const Ft=t.computed(()=>{for(const U in A.value)if(A.value[U]!==0){const J=U.split("."),oe=parseInt(J[1]);if(isNaN(oe))return!1}return!0}),_t=t.computed(()=>{for(const U in A.value)if(A.value[U]!==0)return!0;return!1}),Lt=t.computed(()=>_t.value&&Ft.value);function Dn(U){let J="";const oe=F.value.availableRoomGroups.find(be=>be.roomGroupId===U);return oe&&oe.name&&(J=oe.name),J}function ht(U,J){return`[REMARKS]: ${Q.value} \r
|
|
13
|
-
[ALLERGIES]: ${se.value} \r
|
|
14
|
-
[REQUESTED ARRIVAL]: ${U} \r
|
|
15
|
-
[REQUESTED DEPARTURE]: ${J}`}function Rt(U,J,oe,be){const we=(J?oe:be?y.value:N.value).split(":");return t.convertTimestampToISOString(new Date(U).setUTCHours(parseInt(we[0]),parseInt(we[1]),0,0))}function In(U){return t.daysBetweenDates(i.value,s.value)*U}function Mn(U,J){return 0}function Vn(U,J=!1){return{}}const Fn=t.computed(()=>{});async function st(){try{const U=(await t.axios.get("http://localhost:91/api/hotel/metadata",{params:{language:t.getUserLanguage()},headers:{Authorization:v.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.6"}})).data;d.value=U,O.value=!1}catch{o({message:t.i18n.t("alert.error.couldntFetchMetadata"),type:"warning"})}}async function at(){D.value=1,O.value=!0;try{const U=await t.axios.get("http://localhost:91/api/hotel/availability",{params:{fromDate:i.value,toDate:s.value,adultsCount:r.value,childrenCount:a.value,language:t.getUserLanguage()},headers:{Authorization:v.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.6"}});U.status!==200?o({message:`${t.i18n.t("booking.other.errorMessage")} (HTTP: ${U.status})`,type:"warning"}):(F.value=U.data,O.value=!1)}catch{o({message:t.i18n.t("alert.error.couldntFetchListings"),type:"warning"})}}async function zt(U){D.value=3,O.value=!0,await t.axios.post("http://localhost:91/api/hotel/create-reservation",{fromDate:l.value,toDate:c.value,guest:{travellingFor:g.value,title:t.convertIdToNameTitle(_.value),guestID:0,name:M.value,email:$.value,firmName:P.value,phone:B.value,country:j.value,address1:K.value,postal:G.value,city:z.value,newsmails:ae.value},giftCardCode:n.value,selectedRooms:k.value,remark:ht(Rt(i.value,T.value,m.value,!0),Rt(s.value,w.value,h.value,!1)),checkoutUrl:"https://freshbooking.dk",privacyUrl:"https://freshbooking.dk"},{headers:{Authorization:v.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.6"}}).then(J=>{Ae.value=!1,O.value=!1,e.pay({callback:U,response:J.data})}).catch(J=>{if(O.value=!1,D.value=2,J.response){const{status:oe}=J.response;o(oe===433?{message:t.i18n.t("alert.error.noRoomAvailable"),type:"error"}:{message:t.i18n.t("booking.other.errorMessage"),type:"warning"})}else o({message:t.i18n.t("booking.other.errorMessage"),type:"warning"})})}function jt(){L.value=NaN,b.value=NaN}function me(){for(const U in A.value)A.value[U]=0}function Me(){for(const U in le.value)le.value[U]=!1}function _n(){at()}return{removeRoom:x,fetchAddons:k,finalSelection:S,termsOfService:H,metaData:d,availabilityData:F,isLoading:O,moduleState:D,selection:A,roomSelection:E,templateID:L,roomGroupID:b,travelingFor:g,arrivalTime:y,departureTime:N,name:M,nameTitle:_,email:$,phone:B,firmName:P,postal:G,city:z,country:j,address:K,remark:Q,allergies:se,newsMails:ae,addons:le,isPaymentInitialized:Ae,nights:f,calculateRoomPrice:Mn,hotelCountry:ee,countries:ne,title:ie,slideshow:De,isMetaDataAvailable:it,isAvailabilityDataAvailable:En,totalPrice:V,selectedPackage:Ie,getFacilities:Vn,oneTimePaymentAddons:Fn,isPaymentLoading:Mt,getSingleListing:An,getSpecifiedPackageRoom:Vt,getRoomName:Dn,getBasePrice:In,getSelectedPackageRoom:$n,hasSelectedRooms:_t,isReservationFormFilled:It,canStartReservation:Lt,correctRoomConfiguration:Ft,fetchMetaData:st,fetchAvailabilityData:at,createReservation:zt,resetTemplate:jt,resetBookingSelection:me,resetAddonSelection:Me,initialize:_n}}),Zc={class:"fresh-booking-accept-terms"},Qc=t.defineComponent({__name:"TermsOfService",props:{styling:{}},setup(e){const n=e,{termsOfService:o}=t.storeToRefs(gi()),{t:r}=t.useI18n(),{open:a,close:i}=_r({component:Yc,attrs:{description:o.value,styling:n.styling,onConfirm(){i()}}});return(s,l)=>{const c=t.resolveComponent("i18n-t");return t.openBlock(),t.createElementBlock("div",Zc,[t.createVNode(c,{keypath:"general.termsAndConditionsNotice",tag:"span",scope:"global"},{button:t.withCtx(()=>[t.createBaseVNode("i",null,'"'+t.toDisplayString(t.unref(r)("general.confirmReservation"))+'"',1)]),terms:t.withCtx(()=>[t.createBaseVNode("a",{class:"fresh-booking-accept-terms-link",target:"_blank",onClick:l[0]||(l[0]=t.withModifiers((...f)=>t.unref(a)&&t.unref(a)(...f),["prevent"]))},[t.createBaseVNode("span",null,t.toDisplayString(t.unref(r)("general.termsAndConditions")),1)])]),_:1})])}}});const Jc=t._export_sfc(Qc,[["__scopeId","data-v-36b4f686"]]),qc={id:"fresh-booking-reservation-layout","sticky-container":""},ed={id:"fresh-booking-reservation-layout-content"},td={id:"fresh-booking-reservation-layout-form"},nd={id:"fresh-booking-reservation-layout-remarks"},od={id:"fresh-booking-reservation-layout-aside"},rd={class:"fresh-booking-panel"},id={id:"fresh-booking-reservation-layout-aside-resume"},sd={key:0},ad={key:1},ld={key:2},ud={key:3},cd={key:0,class:"fresh-booking-panel"},dd={id:"fresh-booking-reservation-layout-aside-gift-card"},fd={key:1,class:"fresh-booking-panel"},pd={id:"fresh-booking-reservation-layout-aside-addons"},hd=["innerHTML"],vd={key:0,id:"fresh-booking-reservation-layout-recaptcha"},md={id:"fresh-booking-reservation-layout-footer","sticky-side":"bottom"},gd={id:"fresh-booking-reservation-layout-footer-navigation"},yd={key:0,id:"fresh-booking-reservation-layout-footer-terms"},bd=t.defineComponent({__name:"ReservationForm",props:{isFilled:{type:Boolean},isLoading:{type:Boolean,default:!1},remark:{},currency:{},totalPrice:{},basePrice:{default:0},weekendFee:{default:0},roomUpgrade:{default:0},buttonIconColor:{},notice:{},styling:{}},emits:["update:remark","next","prev"],setup(e,{emit:n}){const o=e,{t:r}=t.useI18n(),{disableGiftCardVoucher:a,isRecaptchaEnabled:i}=t.storeToRefs(t.useUtilityStore()),{amount:s,voucher:l}=t.storeToRefs(Jn.useApplyGiftCardStore()),{apply:c,reset:f}=Jn.useApplyGiftCardStore(),d=t.useSlots(),v=()=>n("next"),m=()=>n("prev"),h=t.computed({get:()=>o.remark,set:w=>n("update:remark",w)}),T=t.computed(()=>o.basePrice-o.weekendFee-o.roomUpgrade);return(w,S)=>{const x=t.resolveDirective("sticky");return t.openBlock(),t.createElementBlock("div",qc,[t.createBaseVNode("div",ed,[t.createBaseVNode("div",td,[t.createBaseVNode("h4",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(r)("booking.reservation.detailsTitle")),1)]),t.createBaseVNode("form",null,[t.renderSlot(w.$slots,"form")])]),t.createBaseVNode("div",nd,[t.createVNode(Bs.TextField,{modelValue:h.value,"onUpdate:modelValue":S[0]||(S[0]=k=>h.value=k),type:"textarea",label:`${t.unref(r)("booking.reservation.remark")} (${t.unref(r)("booking.reservation.optional")})`,icon:"info-circle",placeholder:t.unref(r)("booking.reservation.remarkPlaceholder")},null,8,["modelValue","label","placeholder"])]),t.createBaseVNode("aside",od,[t.createBaseVNode("div",rd,[t.createBaseVNode("h5",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(r)("booking.reservation.resumeTitle")),1)]),t.createBaseVNode("ul",id,[t.renderSlot(w.$slots,"resume"),T.value>0?(t.openBlock(),t.createElementBlock("li",sd,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(r)("booking.availability.basePrice")),1),t.createBaseVNode("b",null,t.toDisplayString(t.unref(t.showPrice)(T.value,w.currency)),1)])):t.createCommentVNode("",!0),w.weekendFee>0?(t.openBlock(),t.createElementBlock("li",ad,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(r)("general.weekendFee")),1),t.createBaseVNode("b",null,t.toDisplayString(t.unref(t.showPrice)(w.weekendFee,w.currency)),1)])):t.createCommentVNode("",!0),w.roomUpgrade>0?(t.openBlock(),t.createElementBlock("li",ld,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(r)("general.roomUpgrade")),1),t.createBaseVNode("b",null,t.toDisplayString(t.unref(t.showPrice)(w.roomUpgrade,w.currency)),1)])):t.createCommentVNode("",!0),t.renderSlot(w.$slots,"expenses"),t.unref(s)!==0?(t.openBlock(),t.createElementBlock("li",ud,[t.createBaseVNode("span",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(r)("booking.reservation.giftCardDiscount")),1),t.createBaseVNode("a",{class:"resume-item-remove",onClick:S[1]||(S[1]=t.withModifiers(k=>t.unref(f)(),["prevent"]))},[t.createVNode(t.Icon,{icon:"times",type:"fas","icon-color":"#ff0000"})])]),t.createBaseVNode("b",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(t.showPrice)(-t.unref(s),w.currency)),1)])])):t.createCommentVNode("",!0),t.createBaseVNode("li",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(r)("booking.reservation.totalPrice")),1),t.createBaseVNode("b",null,[t.createBaseVNode("u",null,t.toDisplayString(t.unref(t.showPrice)(w.totalPrice,w.currency)),1)])])])]),t.unref(s)===0&&!t.unref(a)?(t.openBlock(),t.createElementBlock("div",cd,[t.createBaseVNode("h5",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(r)("booking.reservation.giftCardCode")),1)]),t.createBaseVNode("div",dd,[t.createVNode(Cs.ActionField,{modelValue:t.unref(l),"onUpdate:modelValue":S[2]||(S[2]=k=>t.isRef(l)?l.value=k:null),icon:"gift-card","button-icon":"paper-plane-top","button-icon-color":w.buttonIconColor,placeholder:"XXXXXXXX",action:"success",secondary:!0,onAction:S[3]||(S[3]=k=>t.unref(c)())},null,8,["modelValue","button-icon-color"])])])):t.createCommentVNode("",!0),t.unref(d).addons?(t.openBlock(),t.createElementBlock("div",fd,[t.createBaseVNode("h5",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(r)("booking.reservation.addons")),1)]),t.createBaseVNode("ul",pd,[t.renderSlot(w.$slots,"addons")])])):t.createCommentVNode("",!0),w.notice?(t.openBlock(),t.createElementBlock("p",{key:2,innerHTML:w.notice,class:"fresh-booking-wysiwyg"},null,8,hd)):t.createCommentVNode("",!0)]),t.unref(i)?(t.openBlock(),t.createElementBlock("div",vd,[t.createVNode(Cr._sfc_main)])):t.createCommentVNode("",!0)]),t.withDirectives((t.openBlock(),t.createElementBlock("div",md,[t.createBaseVNode("div",gd,[t.createBaseVNode("ul",null,[t.createVNode(t.Clickable,{label:t.unref(r)("general.abortReservation"),secondary:"",onClickEvent:m},null,8,["label"]),t.createVNode(t.Clickable,{label:t.unref(r)("general.confirmReservation"),disabled:!w.isFilled,"is-loading":w.isLoading,onClickEvent:v},null,8,["label","disabled","is-loading"])])]),w.styling?(t.openBlock(),t.createElementBlock("div",yd,[t.createVNode(Jc,{styling:w.styling},null,8,["styling"])])):t.createCommentVNode("",!0)])),[[x]])])}}});const wd=t._export_sfc(bd,[["__scopeId","data-v-33cd6726"]]),Sd=e=>(t.pushScopeId("data-v-09238e60"),e=e(),t.popScopeId(),e),Td=Sd(()=>t.createBaseVNode("div",{id:"fresh-booking-payment-checkout"},null,-1)),Cd=[Td],Bd=t.defineComponent({__name:"CheckoutWindow",setup(e){const{paymentGatewayId:n}=t.storeToRefs(t.useUtilityStore());return(o,r)=>(t.openBlock(),t.createElementBlock("div",null,[t.createBaseVNode("div",{id:"fresh-booking-payment-checkout-wrapper",class:t.normalizeClass({reePay:t.unref(n)===t.unref(t.PaymentGateway).ReePay})},Cd,2)]))}});const Od=t._export_sfc(Bd,[["__scopeId","data-v-09238e60"]]),Pd={id:"fresh-booking-confirmation"},xd={id:"fresh-booking-confirmation-introduction"},kd={id:"fresh-booking-confirmation-title"},Nd=["innerHTML"],Ed={class:"fresh-booking-order-panel"},$d={key:0},Ad={class:"fresh-booking-order-panel"},Dd={class:"fresh-booking-order-lines"},Id={key:0},Md={key:1},Vd={key:0,class:"fresh-booking-order-panel"},Fd={class:"fresh-booking-table with-lines"},_d={class:"fresh-booking-order-lines"},Ld={key:0},Rd={key:1},zd={key:2,class:"highlighted-line"},jd=t.defineComponent({__name:"ThankYou",props:{message:{},currency:{}},setup(e){const{t:n}=t.useI18n(),{hasOrderLines:o,orderSummary:r,name:a,email:i,phone:s,adults:l,children:c,offerDate:f,totalPrice:d,totalVAT:v,subTotalPrice:m}=t.storeToRefs(qn.usePaymentStore());return(h,T)=>(t.openBlock(),t.createElementBlock("div",Pd,[t.createBaseVNode("div",xd,[t.createBaseVNode("h2",kd,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(n)("general.thankYou")),1)]),t.createBaseVNode("div",{id:"fresh-booking-confirmation-message",innerHTML:h.message},null,8,Nd)]),t.createBaseVNode("div",Ed,[t.createBaseVNode("h5",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(n)("general.primaryContact")),1)]),t.createBaseVNode("div",null,t.toDisplayString(t.unref(a)),1),t.createBaseVNode("div",null,t.toDisplayString(t.unref(i)),1),t.unref(s)?(t.openBlock(),t.createElementBlock("div",$d,t.toDisplayString(t.unref(s)),1)):t.createCommentVNode("",!0)]),t.createBaseVNode("div",Ad,[t.createBaseVNode("h5",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(n)("booking.reservation.detailsTitle")),1)]),t.createBaseVNode("ul",Dd,[t.unref(f)?(t.openBlock(),t.createElementBlock("li",Id,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(n)("general.date")),1),t.createBaseVNode("b",null,t.toDisplayString(t.unref(t.showDate)(t.unref(f))),1)])):t.createCommentVNode("",!0),t.createBaseVNode("li",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(n)("availability.adults")),1),t.createBaseVNode("b",null,t.toDisplayString(t.unref(l)),1)]),t.unref(c)&&t.unref(c)>0?(t.openBlock(),t.createElementBlock("li",Md,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(n)("availability.children")),1),t.createBaseVNode("b",null,t.toDisplayString(t.unref(c)),1)])):t.createCommentVNode("",!0)])]),t.unref(o)?(t.openBlock(),t.createElementBlock("div",Vd,[t.createBaseVNode("h5",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(n)("general.orderDetails")),1)]),t.createBaseVNode("table",Fd,[t.createBaseVNode("thead",null,[t.createBaseVNode("tr",null,[t.createBaseVNode("th",null,t.toDisplayString(t.unref(n)("general.orderItem")),1),t.createBaseVNode("th",null,t.toDisplayString(t.unref(n)("general.quantity")),1),t.createBaseVNode("th",null,t.toDisplayString(t.unref(n)("booking.availability.price")),1),t.createBaseVNode("th",null,t.toDisplayString(t.unref(n)("booking.reservation.totalPrice")),1)])]),t.createBaseVNode("tbody",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(r),({productName:w,quantity:S,unitPrice:x,totalPrice:k})=>(t.openBlock(),t.createElementBlock("tr",{key:w},[t.createBaseVNode("td",null,[t.createBaseVNode("span",null,t.toDisplayString(w),1)]),t.createBaseVNode("td",null,[t.createBaseVNode("span",null,t.toDisplayString(S),1)]),t.createBaseVNode("td",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(t.showPrice)(x,h.currency)),1)]),t.createBaseVNode("td",null,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(t.showPrice)(k,h.currency)),1)])]))),128))])])])):t.createCommentVNode("",!0),t.createBaseVNode("ul",_d,[t.unref(m)?(t.openBlock(),t.createElementBlock("li",Ld,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(n)("general.subTotal")),1),t.createBaseVNode("b",null,t.toDisplayString(t.unref(t.showPrice)(t.unref(m),h.currency)),1)])):t.createCommentVNode("",!0),t.unref(v)?(t.openBlock(),t.createElementBlock("li",Rd,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(n)("general.vat")),1),t.createBaseVNode("b",null,t.toDisplayString(t.unref(t.showPrice)(t.unref(v),h.currency)),1)])):t.createCommentVNode("",!0),t.unref(d)?(t.openBlock(),t.createElementBlock("li",zd,[t.createBaseVNode("span",null,t.toDisplayString(t.unref(n)("booking.reservation.totalPrice")),1),t.createBaseVNode("b",null,t.toDisplayString(t.unref(t.showPrice)(t.unref(d),h.currency)),1)])):t.createCommentVNode("",!0)])]))}});const Hd=t._export_sfc(jd,[["__scopeId","data-v-99fdfb9e"]]);exports.Base=Ic;exports.CheckoutWindow=Od;exports.Go=_r;exports.MultiStepForm=Wc;exports.ReservationForm=wd;exports.ThankYou=Hd;exports.VueSnip=al;exports.Wo=il;exports._sfc_main=mi;exports.useHotelStore=gi;exports.xt=du;exports.zo=Ja;
|
|
Binary file
|
package/dist/availability.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs"),f=require("./HotelAvailabilityForm-0cd1abda.cjs"),k=require("./payment-fbffaa6d.cjs"),b=require("./event-39706438.cjs");require("./applyGiftCard-d9ab3dcf.cjs");const h={id:"konnectio-event-search-form"},B={class:"konnectio-search-button"},m=e.defineComponent({__name:"EventAvailabilityForm",props:{link:{}},setup(a){const t=a,{searchDate:o}=e.storeToRefs(b.useEventStore()),{t:l}=e.useI18n();function v(){window.location.replace(t.link)}return(u,n)=>(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(k._sfc_main,{modelValue:e.unref(o),"onUpdate:modelValue":n[0]||(n[0]=s=>e.isRef(o)?o.value=s:null),label:e.unref(l)("event.selectDate"),"icon-placement":"label","min-date":new Date},null,8,["modelValue","label","min-date"]),e.createBaseVNode("div",B,[e.createVNode(e.Clickable,{label:e.unref(l)("availability.buttonLabel"),disabled:!1,onClickEvent:v},null,8,["label"])])]))}});const y=e._export_sfc(m,[["__scopeId","data-v-48b06697"]]);const F={},g={class:"loading-container"},C=e.createStaticVNode('<div class="loading" data-v-30283f5a><section id="test" data-v-30283f5a><section id="header" data-v-30283f5a><div data-v-30283f5a></div><div class="shape1 white" data-v-30283f5a></div><div data-v-30283f5a></div><div class="shape2 white" data-v-30283f5a></div><div class="shape2 white" data-v-30283f5a></div></section><section class="blank" data-v-30283f5a></section><section class="content" data-v-30283f5a><div class="label" data-v-30283f5a><div data-v-30283f5a></div><div class="white" data-v-30283f5a></div></div><div class="white" data-v-30283f5a></div><div class="label" data-v-30283f5a><div data-v-30283f5a></div><div class="white" data-v-30283f5a></div></div><div class="white" data-v-30283f5a></div><div class="white" data-v-30283f5a></div></section><section class="blank" data-v-30283f5a></section><section class="content" data-v-30283f5a><div data-v-30283f5a></div><div class="white" data-v-30283f5a></div><div data-v-30283f5a></div><div class="white" data-v-30283f5a></div><div data-v-30283f5a></div></section></section></div>',1),V=[C];function N(a,t){return e.openBlock(),e.createElementBlock("div",g,V)}const w=e._export_sfc(F,[["render",N],["__scopeId","data-v-30283f5a"]]),c=a=>(e.pushScopeId("data-v-55265546"),a=a(),e.popScopeId(),a),S={class:"konnectio-availability-module"},L={key:0,class:"konnectio-availability-navigation"},x=c(()=>e.createBaseVNode("span",null,"Hotel",-1)),z=[x],A=c(()=>e.createBaseVNode("span",null,"Events",-1)),E=[A],T=c(()=>e.createBaseVNode("div",{class:"konnectio-availability-divider"},null,-1)),R={class:"konnectio-availability-search-form"},W={key:1},$=c(()=>e.createBaseVNode("span",null,"One of 'hotelLink' or 'eventLink' properties are missing. Please contact your administrator!",-1)),I=[$],P=e.defineComponent({__name:"Availability",props:{eventLink:{},hotelLink:{},accessToken:{},accentColor:{},buttonBackground:{},buttonBorder:{},buttonBorderRadius:{},buttonColor:{},buttonFontFamily:{},buttonFontSize:{},buttonFontWeight:{},buttonTextTransform:{},fontColor:{},fontFamily:{},fontSize:{},headerColor:{},headerFontSize:{},inputBorder:{},inputBackground:{},inputBorderRadius:{},inputBorderWidth:{},inputFontColor:{},labelFontWeight:{},labelFontSize:{},labelPadding:{},panelBackground:{},panelBorder:{},panelBorderRadius:{},panelPadding:{},panelOuterPadding:{}},setup(a){const t=a,o=e.ref(),l=e.computed(()=>t.hotelLink||t.eventLink),v=e.computed(()=>t.hotelLink&&t.eventLink),u=e.computed(()=>o.value==="hotel"),n=e.computed(()=>o.value==="event"),s=i=>o.value=i;e.onMounted(()=>{!t.hotelLink&&t.eventLink?o.value="event":o.value="hotel"});const p={"--accentColor":t.accentColor,"--buttonBackground":t.buttonBackground,"--buttonBorder":t.buttonBorder,"--buttonBorderRadius":t.buttonBorderRadius,"--buttonColor":t.buttonColor,"--buttonFontFamily":t.buttonFontFamily,"--buttonFontSize":t.buttonFontSize,"--buttonFontWeight":t.buttonFontWeight,"--buttonTextTransform":t.buttonTextTransform,"--fontColor":t.fontColor,"--fontFamily":t.fontFamily,"--fontSize":t.fontSize,"--headerColor":t.headerColor,"--headerFontSize":t.headerFontSize,"--inputBackground":t.inputBackground,"--inputBorder":t.inputBorder,"--inputBorderRadius":t.inputBorderRadius,"--inputBorderWidth":t.inputBorderWidth,"--inputFontColor":t.inputFontColor,"--labelFontWeight":t.labelFontWeight,"--labelFontSize":t.labelFontSize,"--panelBackground":t.panelBackground,"--panelBorder":t.panelBorder};return(i,d)=>(e.openBlock(),e.createElementBlock("div",null,[l.value?(e.openBlock(),e.createBlock(e.Suspense,{key:0},{default:e.withCtx(()=>[e.createVNode(e._sfc_main,{class:"fresh-booking-app","access-token":i.accessToken,style:p},{default:e.withCtx(()=>[e.createBaseVNode("div",S,[v.value?(e.openBlock(),e.createElementBlock("nav",L,[e.createBaseVNode("ul",null,[e.createBaseVNode("li",null,[e.createBaseVNode("button",{class:e.normalizeClass({active:u.value}),onClick:d[0]||(d[0]=e.withModifiers(_=>s("hotel"),["prevent"]))},z,2)]),e.createBaseVNode("li",null,[e.createBaseVNode("button",{class:e.normalizeClass({active:n.value}),onClick:d[1]||(d[1]=e.withModifiers(_=>s("event"),["prevent"]))},E,2)])])])):e.createCommentVNode("",!0),T,e.createBaseVNode("div",R,[e.createVNode(e.Transition,{name:"fade",mode:"out-in",appear:""},{default:e.withCtx(()=>[u.value?(e.openBlock(),e.createBlock(f.HotelAvailabilityForm,{key:0,link:i.hotelLink},null,8,["link"])):n.value?(e.openBlock(),e.createBlock(y,{key:1,link:i.eventLink},null,8,["link"])):e.createCommentVNode("",!0)]),_:1})])])]),_:1},8,["access-token"])]),fallback:e.withCtx(()=>[e.createBaseVNode("div",null,[e.createVNode(w)])]),_:1})):(e.openBlock(),e.createElementBlock("div",W,I))]))}});const q=e._export_sfc(P,[["__scopeId","data-v-55265546"]]),H=e.createPinia(),r=e.createApp({components:{Availability:q}});r.use(H);r.use(e.instance);r.mount("#fresh-booking-availability-app");module.exports=r;
|
|
Binary file
|