From 492e55390f0ba6585115863a41c28c086542bea7 Mon Sep 17 00:00:00 2001 From: Stephanie Smith Date: Wed, 19 Jun 2024 07:32:28 -0700 Subject: [PATCH 1/7] adjustments after more search testing --- packages/common/tailwind.colors.ts | 10 ++- packages/vue/dist/explorer-1-vue.js | 80 +++++++++---------- packages/vue/dist/explorer-1-vue.umd.cjs | 6 +- .../vue/src/components/BaseLink/BaseLink.vue | 6 +- .../HeroListingIndex/HeroListingIndex.vue | 29 ++++--- .../PastEventsCarousel/PastEventsCarousel.vue | 40 ++++------ .../SearchFilterGroup/SearchFilterGroup.vue | 2 +- 7 files changed, 84 insertions(+), 89 deletions(-) diff --git a/packages/common/tailwind.colors.ts b/packages/common/tailwind.colors.ts index 9cf4d344..f6eeace2 100644 --- a/packages/common/tailwind.colors.ts +++ b/packages/common/tailwind.colors.ts @@ -123,7 +123,15 @@ export const ThemeWww = { '--color-primary': foundationColors['jpl-red-light'], '--color-primary-light': foundationColors['jpl-red-light'], '--color-primary-dark': foundationColors['jpl-red'], - '--color-primary-darker': foundationColors['jpl-red-dark'] + '--color-primary-darker': foundationColors['jpl-red-dark'], + '--color-secondary': 'var(--color-primary)', + '--color-secondary-light': 'var(--color-primary-light)', + '--color-secondary-dark': 'var(--color-primary-dark)', + '--color-secondary-darker': 'var(--color-primary-darker)', + '--color-action': 'var(--color-primary)', + '--color-action-light': 'var(--color-primary-light)', + '--color-action-dark': 'var(--color-primary-dark)', + '--color-action-darker': 'var(--color-primary-darker)' } } diff --git a/packages/vue/dist/explorer-1-vue.js b/packages/vue/dist/explorer-1-vue.js index 5edfcde5..8f69c980 100644 --- a/packages/vue/dist/explorer-1-vue.js +++ b/packages/vue/dist/explorer-1-vue.js @@ -1,6 +1,6 @@ import Y from "dayjs"; import { default as wn } from "dayjs"; -import { hasInjectionContext as et, inject as Oe, getCurrentInstance as tt, ref as Be, watch as at, reactive as nt, markRaw as G, effectScope as st, isRef as Q, isReactive as me, toRef as le, toRaw as rt, nextTick as ye, computed as Ne, getCurrentScope as ot, onScopeDispose as it, toRefs as ve, defineComponent as k, openBlock as p, createBlock as E, resolveDynamicComponent as xe, normalizeClass as I, withCtx as B, createElementVNode as w, renderSlot as O, createElementBlock as $, createCommentVNode as L, createVNode as H, resolveComponent as lt, createTextVNode as ze, toDisplayString as Ie, createStaticVNode as ct } from "vue"; +import { hasInjectionContext as et, inject as Oe, getCurrentInstance as tt, ref as Be, watch as at, reactive as nt, markRaw as G, effectScope as st, isRef as Q, isReactive as me, toRef as le, toRaw as rt, nextTick as ye, computed as Ne, getCurrentScope as ot, onScopeDispose as it, toRefs as ve, defineComponent as C, openBlock as p, createBlock as E, resolveDynamicComponent as xe, normalizeClass as I, withCtx as B, createElementVNode as w, renderSlot as O, createElementBlock as $, createCommentVNode as L, createVNode as H, resolveComponent as lt, createTextVNode as ze, toDisplayString as Ie, createStaticVNode as ct } from "vue"; import { Fancybox as dt } from "@fancyapps/ui"; var K = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function ae(e) { @@ -288,12 +288,12 @@ function fe(e, n) { } return e; } -const kt = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : ( +const Ct = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : ( /* istanbul ignore next */ Symbol() ); -function Ct(e) { - return !T(e) || !e.hasOwnProperty(kt); +function kt(e) { + return !T(e) || !e.hasOwnProperty(Ct); } const { assign: V } = Object; function be(e) { @@ -428,7 +428,7 @@ function he(e, n, a = {}, t, s, i) { for (const c in x) { const o = x[c]; if (Q(o) && !be(o) || me(o)) - process.env.NODE_ENV !== "production" && s ? ee(y.value, c, le(x, c)) : i || (v && Ct(o) && (Q(o) ? o.value = v[c] : fe(o, v[c])), t.state.value[e][c] = o), process.env.NODE_ENV !== "production" && D.state.push(c); + process.env.NODE_ENV !== "production" && s ? ee(y.value, c, le(x, c)) : i || (v && kt(o) && (Q(o) ? o.value = v[c] : fe(o, v[c])), t.state.value[e][c] = o), process.env.NODE_ENV !== "production" && D.state.push(c); else if (typeof o == "function") { const _ = process.env.NODE_ENV !== "production" && s ? o : q(c, o); x[c] = _, process.env.NODE_ENV !== "production" && (D.actions[c] = o), l.actions[c] = o; @@ -580,15 +580,15 @@ var we; (function(e) { e.pop = "pop", e.push = "push"; })(we || (we = {})); -var ke; +var Ce; (function(e) { e.back = "back", e.forward = "forward", e.unknown = ""; -})(ke || (ke = {})); +})(Ce || (Ce = {})); Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : ""); -var Ce; +var ke; (function(e) { e[e.aborted = 4] = "aborted", e[e.cancelled = 8] = "cancelled", e[e.duplicated = 16] = "duplicated"; -})(Ce || (Ce = {})); +})(ke || (ke = {})); Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : ""); Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : ""); Symbol(process.env.NODE_ENV !== "production" ? "router" : ""); @@ -699,7 +699,7 @@ const Ka = () => { secondary: "-secondary", dark: "-dark", social: "-social" -}, Et = k({ +}, Et = C({ name: "BaseButton", props: { variant: { @@ -754,7 +754,7 @@ const Ka = () => { return !this.$slots.default && this.$slots.icon ? e = e + " -icon-only" : this.compact && (e = e + " -compact"), this.blockClasses && (e = e + " " + this.blockClasses), e; } } -}), C = (e, n) => { +}), k = (e, n) => { const a = e.__vccOpts || e; for (const [t, s] of n) a[t] = s; @@ -778,13 +778,13 @@ function Ot(e, n, a, t, s, i) { _: 3 }, 8, ["class", "aria-label", "disabled", "href", "to"]); } -const hn = /* @__PURE__ */ C(Et, [["render", Ot]]), Me = { +const hn = /* @__PURE__ */ k(Et, [["render", Ot]]), Me = { none: "object-none", contain: "object-contain", cover: "object-cover", fill: "object-fill", scaleDown: "object-scale-down" -}, Bt = k({ +}, Bt = C({ name: "BaseImage", props: { imageClass: { @@ -864,7 +864,7 @@ function xt(e, n, a, t, s, i) { }, null, 42, Nt)) : L("", !0) ]); } -const se = /* @__PURE__ */ C(Bt, [["render", xt]]), zt = k({ +const se = /* @__PURE__ */ k(Bt, [["render", xt]]), zt = C({ name: "IconCaret" }), It = { class: "IconCaret", @@ -883,7 +883,7 @@ const se = /* @__PURE__ */ C(Bt, [["render", xt]]), zt = k({ function Ft(e, n, a, t, s, i) { return p(), $("svg", It, jt); } -const Te = /* @__PURE__ */ C(zt, [["render", Ft]]), Vt = k({ +const Te = /* @__PURE__ */ k(zt, [["render", Ft]]), Vt = C({ name: "MixinAnimationCaret", components: { IconCaret: Te @@ -949,12 +949,12 @@ function Pt(e, n, a, t, s, i) { ], 2) ], 2); } -const Ae = /* @__PURE__ */ C(Vt, [["render", Pt]]), De = { - primary: "text-subtitle text-action hover:text-action-dark dark:text-action-light dark:hover:text-action", - secondary: "text-subtitle text-action hover:text-action-dark dark:text-action-light dark:hover:text-action", - default: "-default underline text-action hover:text-action-dark dark:text-action-light dark:hover:text-action", +const Ae = /* @__PURE__ */ k(Vt, [["render", Pt]]), De = { + primary: "text-subtitle text-action can-hover:hover:text-action-dark", + secondary: "text-subtitle text-action can-hover:hover:text-action-dark", + default: "-default underline text-action can-hover:hover:text-action-dark", none: "" -}, Tt = k({ +}, Tt = C({ // this component is useful when you need a link that can either be an 'a' or router link // falls back to a
if no url is provided name: "BaseLink", @@ -1140,14 +1140,14 @@ function Wt(e, n, a, t, s, i) { ], 10, At)) : L("", !0) ]); } -const We = /* @__PURE__ */ C(Tt, [["render", Wt]]), ue = { +const We = /* @__PURE__ */ k(Tt, [["render", Wt]]), ue = { h1: "text-h1", h2: "text-h2", h3: "text-h3", h4: "text-h4", h5: "text-h5", h6: "text-h6" -}, Rt = k({ +}, Rt = C({ name: "BaseHeading", props: { level: { @@ -1182,7 +1182,7 @@ function Ut(e, n, a, t, s, i) { _: 3 }, 8, ["class"]); } -const Re = /* @__PURE__ */ C(Rt, [["render", Ut]]), Gt = k({ +const Re = /* @__PURE__ */ k(Rt, [["render", Ut]]), Gt = C({ name: "BlockHeading", components: { BaseHeading: Re @@ -1207,12 +1207,12 @@ function Jt(e, n, a, t, s, i) { _: 1 }, 8, ["level", "size"])) : L("", !0); } -const mn = /* @__PURE__ */ C(Gt, [["render", Jt]]), Ee = { +const mn = /* @__PURE__ */ k(Gt, [["render", Jt]]), Ee = { "col-1": "lg:col-start-1 lg:col-end-13", "col-2": "lg:col-start-2 lg:col-end-12", "col-3": "lg:col-start-3 lg:col-end-11", "col-4": "md:col-start-3 md:col-end-11 lg:col-start-4 lg:col-end-10" -}, Zt = k({ +}, Zt = C({ name: "LayoutHelper", props: { indent: { @@ -1237,7 +1237,7 @@ function Qt(e, n, a, t, s, i) { ], 2) ]); } -const Ue = /* @__PURE__ */ C(Zt, [["render", Qt]]), Kt = k({ +const Ue = /* @__PURE__ */ k(Zt, [["render", Qt]]), Kt = C({ name: "BaseImageCaption", components: { BaseLink: We @@ -1279,7 +1279,7 @@ function sa(e, n, a, t, s, i) { }, 8, ["to"])) : L("", !0) ])) : L("", !0); } -const re = /* @__PURE__ */ C(Kt, [["render", sa]]), ra = k({ +const re = /* @__PURE__ */ k(Kt, [["render", sa]]), ra = C({ name: "IconExpand" }), oa = { class: "IconExpand", @@ -1299,7 +1299,7 @@ const re = /* @__PURE__ */ C(Kt, [["render", sa]]), ra = k({ function ca(e, n, a, t, s, i) { return p(), $("svg", oa, la); } -const Ge = /* @__PURE__ */ C(ra, [["render", ca]]), da = k({ +const Ge = /* @__PURE__ */ k(ra, [["render", ca]]), da = C({ name: "MixinFancyboxOpenButton", components: { IconExpand: Ge @@ -1319,7 +1319,7 @@ function ha(e, n, a, t, s, i) { ]) ], 512); } -const Je = /* @__PURE__ */ C(da, [["render", ha]]), X = { +const Je = /* @__PURE__ */ k(da, [["render", ha]]), X = { pageXOffset: 0, pageYOffset: 0, element() { @@ -1338,7 +1338,7 @@ const Je = /* @__PURE__ */ C(da, [["render", ha]]), X = { light: "fancybox-theme-light ThemeVariantLight", // Dark (WWW default black lightbox) dark: "fancybox-theme-dark ThemeVariantDark" -}, ma = k({ +}, ma = C({ name: "MixinFancybox", components: { MixinFancyboxOpenButton: Je @@ -1586,7 +1586,7 @@ function ya(e, n, a, t, s, i) { O(e.$slots, "default") ], 8, ga); } -const oe = /* @__PURE__ */ C(ma, [["render", ya]]), Le = { +const oe = /* @__PURE__ */ k(ma, [["render", ya]]), Le = { none: "aspect-ratio-none", portrait: "aspect-ratio-four-five", square: "aspect-ratio-square", @@ -1603,7 +1603,7 @@ const oe = /* @__PURE__ */ C(ma, [["render", ya]]), Le = { "16:7": "aspect-ratio-sixteen-seven", "16:9": "aspect-ratio-sixteen-nine", "21:9": "aspect-ratio-twentyone-nine" -}, va = k({ +}, va = C({ name: "BaseImagePlaceholder", props: { darkMode: { @@ -1647,7 +1647,7 @@ function _a(e, n, a, t, s, i) { ], 2) ]); } -const ie = /* @__PURE__ */ C(va, [["render", _a], ["__scopeId", "data-v-29efd36e"]]), ba = k({ +const ie = /* @__PURE__ */ k(va, [["render", _a], ["__scopeId", "data-v-29efd36e"]]), ba = C({ name: "BlockImageStandard", components: { MixinFancybox: oe, @@ -1699,7 +1699,7 @@ const ie = /* @__PURE__ */ C(va, [["render", _a], ["__scopeId", "data-v-29efd36e key: 1, class: "lg:px-0 p-4 pb-0" }; -function ka(e, n, a, t, s, i) { +function Ca(e, n, a, t, s, i) { const r = se, l = ie, f = oe, h = re; return e.theData ? (p(), $("div", $a, [ e.theData.src ? (p(), E(f, { @@ -1737,7 +1737,7 @@ function ka(e, n, a, t, s, i) { ])) : L("", !0) ])) : L("", !0); } -const Ze = /* @__PURE__ */ C(ba, [["render", ka]]), Ca = k({ +const Ze = /* @__PURE__ */ k(ba, [["render", Ca]]), ka = C({ name: "BlockImageFullBleed", components: { MixinFancybox: oe, @@ -1840,7 +1840,7 @@ function La(e, n, a, t, s, i) { ])) : L("", !0) ])) : L("", !0); } -const Xe = /* @__PURE__ */ C(Ca, [["render", La]]), Oa = k({ +const Xe = /* @__PURE__ */ k(ka, [["render", La]]), Oa = C({ name: "BlockImage", components: { BlockImageStandard: Ze, @@ -1884,7 +1884,7 @@ function Na(e, n, a, t, s, i) { })) ])) : L("", !0); } -const gn = /* @__PURE__ */ C(Oa, [["render", Na]]), xa = k({ +const gn = /* @__PURE__ */ k(Oa, [["render", Na]]), xa = C({ name: "IconArrows" }), za = { class: "IconArrows", @@ -1900,7 +1900,7 @@ const gn = /* @__PURE__ */ C(Oa, [["render", Na]]), xa = k({ function ja(e, n, a, t, s, i) { return p(), $("svg", za, Ya); } -const yn = /* @__PURE__ */ C(xa, [["render", ja]]), Fa = k({ +const yn = /* @__PURE__ */ k(xa, [["render", ja]]), Fa = C({ name: "IconLocation" }), Va = { class: "IconLocation", @@ -1928,7 +1928,7 @@ const yn = /* @__PURE__ */ C(xa, [["render", ja]]), Fa = k({ function Pa(e, n, a, t, s, i) { return p(), $("svg", Va, Ha); } -const vn = /* @__PURE__ */ C(Fa, [["render", Pa]]), Ta = k({ +const vn = /* @__PURE__ */ k(Fa, [["render", Pa]]), Ta = C({ name: "IconArrows" }), Aa = { class: "IconUser", @@ -1947,7 +1947,7 @@ const vn = /* @__PURE__ */ C(Fa, [["render", Pa]]), Ta = k({ function Ua(e, n, a, t, s, i) { return p(), $("svg", Aa, Ra); } -const _n = /* @__PURE__ */ C(Ta, [["render", Ua]]); +const _n = /* @__PURE__ */ k(Ta, [["render", Ua]]); export { hn as BaseButton, hn as BaseHeading, diff --git a/packages/vue/dist/explorer-1-vue.umd.cjs b/packages/vue/dist/explorer-1-vue.umd.cjs index ed4ebcb3..89e06b5c 100644 --- a/packages/vue/dist/explorer-1-vue.umd.cjs +++ b/packages/vue/dist/explorer-1-vue.umd.cjs @@ -1,8 +1,8 @@ -(function(f,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("dayjs"),require("vue"),require("@fancyapps/ui")):typeof define=="function"&&define.amd?define(["exports","dayjs","vue","@fancyapps/ui"],C):(f=typeof globalThis<"u"?globalThis:f||self,C(f.Explorer1Vue={},f.dayjs,f.Vue,f.ui))})(this,function(f,C,t,ze){"use strict";var F=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function U(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var de={exports:{}};(function(e,o){(function(n,a){e.exports=a()})(F,function(){return function(n,a,r){r.updateLocale=function(l,s){var c=r.Ls[l];if(c)return(s?Object.keys(s):[]).forEach(function(h){c[h]=s[h]}),c}}})})(de);var xe=de.exports;const Ie=U(xe);var pe={exports:{}};(function(e,o){(function(n,a){e.exports=a()})(F,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(a,r,l){var s=r.prototype,c=s.format;l.en.formats=n,s.format=function(h){h===void 0&&(h="YYYY-MM-DDTHH:mm:ssZ");var m=this.$locale().formats,k=function(y,u){return y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(g,b,_){var B=_&&_.toUpperCase();return b||u[_]||n[_]||u[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,S,L){return S||L.slice(1)})})}(h,m===void 0?{}:m);return c.call(this,k)}}})})(pe);var Ye=pe.exports;const Fe=U(Ye);var fe={exports:{}};(function(e,o){(function(n,a){e.exports=a()})(F,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(r,l,s){var c,h=function(u,g,b){b===void 0&&(b={});var _=new Date(u),B=function(M,S){S===void 0&&(S={});var L=S.timeZoneName||"short",O=M+"|"+L,E=a[O];return E||(E=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:M,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:L}),a[O]=E),E}(g,b);return B.formatToParts(_)},m=function(u,g){for(var b=h(u,g),_=[],B=0;B=0&&(_[O]=parseInt(L,10))}var E=_[3],x=E===24?0:E,p=_[0]+"-"+_[1]+"-"+_[2]+" "+x+":"+_[4]+":"+_[5]+":000",Y=+u;return(s.utc(p).valueOf()-(Y-=Y%1e3))/6e4},k=l.prototype;k.tz=function(u,g){u===void 0&&(u=c);var b=this.utcOffset(),_=this.toDate(),B=_.toLocaleString("en-US",{timeZone:u}),M=Math.round((_-new Date(B))/1e3/60),S=s(B,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(_.getTimezoneOffset()/15)-M,!0);if(g){var L=S.utcOffset();S=S.add(b-L,"minute")}return S.$x.$timezone=u,S},k.offsetName=function(u){var g=this.$x.$timezone||s.tz.guess(),b=h(this.valueOf(),g,{timeZoneName:u}).find(function(_){return _.type.toLowerCase()==="timezonename"});return b&&b.value};var y=k.startOf;k.startOf=function(u,g){if(!this.$x||!this.$x.$timezone)return y.call(this,u,g);var b=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return y.call(b,u,g).tz(this.$x.$timezone,!0)},s.tz=function(u,g,b){var _=b&&g,B=b||g||c,M=m(+s(),B);if(typeof u!="string")return s(u).tz(B);var S=function(x,p,Y){var D=x-60*p*1e3,d=m(D,Y);if(p===d)return[D,p];var i=m(D-=60*(d-p)*1e3,Y);return d===i?[D,d]:[x-60*Math.min(d,i)*1e3,Math.max(d,i)]}(s.utc(u,_).valueOf(),M,B),L=S[0],O=S[1],E=s(L).utcOffset(O);return E.$x.$timezone=B,E},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(u){c=u}}})})(fe);var Te=fe.exports;const qe=U(Te);var ue={exports:{}};(function(e,o){(function(n,a){e.exports=a()})(F,function(){return function(n,a){var r=a.prototype,l=r.format;r.format=function(s){var c=this,h=this.$locale();if(!this.isValid())return l.bind(this)(s);var m=this.$utils(),k=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(y){switch(y){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return h.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return h.ordinal(c.week(),"W");case"w":case"ww":return m.s(c.week(),y==="w"?1:2,"0");case"W":case"WW":return m.s(c.isoWeek(),y==="W"?1:2,"0");case"k":case"kk":return m.s(String(c.$H===0?24:c.$H),y==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return y}});return l.bind(this)(k)}}})})(ue);var He=ue.exports;const je=U(He);var Pe={exports:{}};(function(e,o){(function(n,a){e.exports=a(C)})(F,function(n){function a(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var r=a(n),l={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(s){var c=["th","st","nd","rd"],h=s%100;return"["+s+(c[(h-20)%10]||c[h]||c[0])+"]"}};return r.default.locale(l,null,!0),l})})(Pe),C.extend(Fe),C.extend(Ie),C.updateLocale("en",{monthsShort:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."]}),C.extend(qe),C.extend(je);const Ae={displayDate(e,o,n="en"){if(e){const a=C(e).locale(n);let r;switch(o){case"DateTime":r=a.format("MMM D YYYY, HH:mm");break;case"MonthAndYear":r=a.format("MMM YYYY");break;case"Day":r=a.format("D");break;default:r=a.format("ll")}return r}}};var Re=!1;function G(e,o,n){return Array.isArray(e)?(e.length=Math.max(e.length,o),e.splice(o,1,n),n):(e[o]=n,n)}function Q(e,o){if(Array.isArray(e)){e.splice(o,1);return}delete e[o]}/*! +(function(f,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("dayjs"),require("vue"),require("@fancyapps/ui")):typeof define=="function"&&define.amd?define(["exports","dayjs","vue","@fancyapps/ui"],C):(f=typeof globalThis<"u"?globalThis:f||self,C(f.Explorer1Vue={},f.dayjs,f.Vue,f.ui))})(this,function(f,C,t,ze){"use strict";var F=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function U(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var de={exports:{}};(function(e,o){(function(n,a){e.exports=a()})(F,function(){return function(n,a,r){r.updateLocale=function(l,s){var c=r.Ls[l];if(c)return(s?Object.keys(s):[]).forEach(function(h){c[h]=s[h]}),c}}})})(de);var Ie=de.exports;const xe=U(Ie);var pe={exports:{}};(function(e,o){(function(n,a){e.exports=a()})(F,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(a,r,l){var s=r.prototype,c=s.format;l.en.formats=n,s.format=function(h){h===void 0&&(h="YYYY-MM-DDTHH:mm:ssZ");var m=this.$locale().formats,k=function(y,u){return y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(g,b,_){var B=_&&_.toUpperCase();return b||u[_]||n[_]||u[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,S,L){return S||L.slice(1)})})}(h,m===void 0?{}:m);return c.call(this,k)}}})})(pe);var Ye=pe.exports;const Fe=U(Ye);var fe={exports:{}};(function(e,o){(function(n,a){e.exports=a()})(F,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(r,l,s){var c,h=function(u,g,b){b===void 0&&(b={});var _=new Date(u),B=function(M,S){S===void 0&&(S={});var L=S.timeZoneName||"short",O=M+"|"+L,E=a[O];return E||(E=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:M,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:L}),a[O]=E),E}(g,b);return B.formatToParts(_)},m=function(u,g){for(var b=h(u,g),_=[],B=0;B=0&&(_[O]=parseInt(L,10))}var E=_[3],I=E===24?0:E,p=_[0]+"-"+_[1]+"-"+_[2]+" "+I+":"+_[4]+":"+_[5]+":000",Y=+u;return(s.utc(p).valueOf()-(Y-=Y%1e3))/6e4},k=l.prototype;k.tz=function(u,g){u===void 0&&(u=c);var b=this.utcOffset(),_=this.toDate(),B=_.toLocaleString("en-US",{timeZone:u}),M=Math.round((_-new Date(B))/1e3/60),S=s(B,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(_.getTimezoneOffset()/15)-M,!0);if(g){var L=S.utcOffset();S=S.add(b-L,"minute")}return S.$x.$timezone=u,S},k.offsetName=function(u){var g=this.$x.$timezone||s.tz.guess(),b=h(this.valueOf(),g,{timeZoneName:u}).find(function(_){return _.type.toLowerCase()==="timezonename"});return b&&b.value};var y=k.startOf;k.startOf=function(u,g){if(!this.$x||!this.$x.$timezone)return y.call(this,u,g);var b=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return y.call(b,u,g).tz(this.$x.$timezone,!0)},s.tz=function(u,g,b){var _=b&&g,B=b||g||c,M=m(+s(),B);if(typeof u!="string")return s(u).tz(B);var S=function(I,p,Y){var D=I-60*p*1e3,d=m(D,Y);if(p===d)return[D,p];var i=m(D-=60*(d-p)*1e3,Y);return d===i?[D,d]:[I-60*Math.min(d,i)*1e3,Math.max(d,i)]}(s.utc(u,_).valueOf(),M,B),L=S[0],O=S[1],E=s(L).utcOffset(O);return E.$x.$timezone=B,E},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(u){c=u}}})})(fe);var Te=fe.exports;const qe=U(Te);var ue={exports:{}};(function(e,o){(function(n,a){e.exports=a()})(F,function(){return function(n,a){var r=a.prototype,l=r.format;r.format=function(s){var c=this,h=this.$locale();if(!this.isValid())return l.bind(this)(s);var m=this.$utils(),k=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(y){switch(y){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return h.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return h.ordinal(c.week(),"W");case"w":case"ww":return m.s(c.week(),y==="w"?1:2,"0");case"W":case"WW":return m.s(c.isoWeek(),y==="W"?1:2,"0");case"k":case"kk":return m.s(String(c.$H===0?24:c.$H),y==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return y}});return l.bind(this)(k)}}})})(ue);var He=ue.exports;const je=U(He);var Pe={exports:{}};(function(e,o){(function(n,a){e.exports=a(C)})(F,function(n){function a(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var r=a(n),l={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(s){var c=["th","st","nd","rd"],h=s%100;return"["+s+(c[(h-20)%10]||c[h]||c[0])+"]"}};return r.default.locale(l,null,!0),l})})(Pe),C.extend(Fe),C.extend(xe),C.updateLocale("en",{monthsShort:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."]}),C.extend(qe),C.extend(je);const Ae={displayDate(e,o,n="en"){if(e){const a=C(e).locale(n);let r;switch(o){case"DateTime":r=a.format("MMM D YYYY, HH:mm");break;case"MonthAndYear":r=a.format("MMM YYYY");break;case"Day":r=a.format("D");break;default:r=a.format("ll")}return r}}};var Re=!1;function G(e,o,n){return Array.isArray(e)?(e.length=Math.max(e.length,o),e.splice(o,1,n),n):(e[o]=n,n)}function Q(e,o){if(Array.isArray(e)){e.splice(o,1);return}delete e[o]}/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let T;const J=e=>T=e,We=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function z(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var q;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(q||(q={}));const K=typeof window<"u",ee=(process.env.NODE_ENV!=="production"||!1)&&process.env.NODE_ENV!=="test"&&K;function he(e,o){for(const n in o){const a=o[n];if(!(n in e))continue;const r=e[n];z(r)&&z(a)&&!t.isRef(a)&&!t.isReactive(a)?e[n]=he(r,a):e[n]=a}return e}const me=()=>{};function ge(e,o,n,a=me){e.push(o);const r=()=>{const l=e.indexOf(o);l>-1&&(e.splice(l,1),a())};return!n&&t.getCurrentScope()&&t.onScopeDispose(r),r}function I(e,...o){e.slice().forEach(n=>{n(...o)})}const Ue=e=>e();function te(e,o){e instanceof Map&&o instanceof Map&&o.forEach((n,a)=>e.set(a,n)),e instanceof Set&&o instanceof Set&&o.forEach(e.add,e);for(const n in o){if(!o.hasOwnProperty(n))continue;const a=o[n],r=e[n];z(r)&&z(a)&&e.hasOwnProperty(n)&&!t.isRef(a)&&!t.isReactive(a)?e[n]=te(r,a):e[n]=a}return e}const Ge=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function Je(e){return!z(e)||!e.hasOwnProperty(Ge)}const{assign:v}=Object;function ye(e){return!!(t.isRef(e)&&e.effect)}function _e(e,o,n,a){const{state:r,actions:l,getters:s}=o,c=n.state.value[e];let h;function m(){!c&&(process.env.NODE_ENV==="production"||!a)&&(n.state.value[e]=r?r():{});const k=process.env.NODE_ENV!=="production"&&a?t.toRefs(t.ref(r?r():{}).value):t.toRefs(n.state.value[e]);return v(k,l,Object.keys(s||{}).reduce((y,u)=>(process.env.NODE_ENV!=="production"&&u in k&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${u}" in store "${e}".`),y[u]=t.markRaw(t.computed(()=>{J(n);const g=n._s.get(e);return s[u].call(g,g)})),y),{}))}return h=ae(e,m,o,n,a,!0),h}function ae(e,o,n={},a,r,l){let s;const c=v({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!a._e.active)throw new Error("Pinia destroyed");const h={deep:!0};process.env.NODE_ENV!=="production"&&!Re&&(h.onTrigger=d=>{m?g=d:m==!1&&!p._hotUpdating&&(Array.isArray(g)?g.push(d):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let m,k,y=[],u=[],g;const b=a.state.value[e];!l&&!b&&(process.env.NODE_ENV==="production"||!r)&&(a.state.value[e]={});const _=t.ref({});let B;function M(d){let i;m=k=!1,process.env.NODE_ENV!=="production"&&(g=[]),typeof d=="function"?(d(a.state.value[e]),i={type:q.patchFunction,storeId:e,events:g}):(te(a.state.value[e],d),i={type:q.patchObject,payload:d,storeId:e,events:g});const $=B=Symbol();t.nextTick().then(()=>{B===$&&(m=!0)}),k=!0,I(y,i,a.state.value[e])}const S=l?function(){const{state:i}=n,$=i?i():{};this.$patch(N=>{v(N,$)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:me;function L(){s.stop(),y=[],u=[],a._s.delete(e)}function O(d,i){return function(){J(a);const $=Array.from(arguments),N=[],R=[];function Oa(V){N.push(V)}function za(V){R.push(V)}I(u,{args:$,name:d,store:p,after:Oa,onError:za});let W;try{W=i.apply(this&&this.$id===e?this:p,$)}catch(V){throw I(R,V),V}return W instanceof Promise?W.then(V=>(I(N,V),V)).catch(V=>(I(R,V),Promise.reject(V))):(I(N,W),W)}}const E=t.markRaw({actions:{},getters:{},state:[],hotState:_}),x={_p:a,$id:e,$onAction:ge.bind(null,u),$patch:M,$reset:S,$subscribe(d,i={}){const $=ge(y,d,i.detached,()=>N()),N=s.run(()=>t.watch(()=>a.state.value[e],R=>{(i.flush==="sync"?k:m)&&d({storeId:e,type:q.direct,events:g},R)},v({},h,i)));return $},$dispose:L},p=t.reactive(process.env.NODE_ENV!=="production"||ee?v({_hmrPayload:E,_customProperties:t.markRaw(new Set)},x):x);a._s.set(e,p);const D=(a._a&&a._a.runWithContext||Ue)(()=>a._e.run(()=>(s=t.effectScope()).run(o)));for(const d in D){const i=D[d];if(t.isRef(i)&&!ye(i)||t.isReactive(i))process.env.NODE_ENV!=="production"&&r?G(_.value,d,t.toRef(D,d)):l||(b&&Je(i)&&(t.isRef(i)?i.value=b[d]:te(i,b[d])),a.state.value[e][d]=i),process.env.NODE_ENV!=="production"&&E.state.push(d);else if(typeof i=="function"){const $=process.env.NODE_ENV!=="production"&&r?i:O(d,i);D[d]=$,process.env.NODE_ENV!=="production"&&(E.actions[d]=i),c.actions[d]=i}else process.env.NODE_ENV!=="production"&&ye(i)&&(E.getters[d]=l?n.getters[d]:i,K&&(D._getters||(D._getters=t.markRaw([]))).push(d))}if(v(p,D),v(t.toRaw(p),D),Object.defineProperty(p,"$state",{get:()=>process.env.NODE_ENV!=="production"&&r?_.value:a.state.value[e],set:d=>{if(process.env.NODE_ENV!=="production"&&r)throw new Error("cannot set hotState");M(i=>{v(i,d)})}}),process.env.NODE_ENV!=="production"&&(p._hotUpdate=t.markRaw(d=>{p._hotUpdating=!0,d._hmrPayload.state.forEach(i=>{if(i in p.$state){const $=d.$state[i],N=p.$state[i];typeof $=="object"&&z($)&&z(N)?he($,N):d.$state[i]=N}G(p,i,t.toRef(d.$state,i))}),Object.keys(p.$state).forEach(i=>{i in d.$state||Q(p,i)}),m=!1,k=!1,a.state.value[e]=t.toRef(d._hmrPayload,"hotState"),k=!0,t.nextTick().then(()=>{m=!0});for(const i in d._hmrPayload.actions){const $=d[i];G(p,i,O(i,$))}for(const i in d._hmrPayload.getters){const $=d._hmrPayload.getters[i],N=l?t.computed(()=>(J(a),$.call(p,p))):$;G(p,i,N)}Object.keys(p._hmrPayload.getters).forEach(i=>{i in d._hmrPayload.getters||Q(p,i)}),Object.keys(p._hmrPayload.actions).forEach(i=>{i in d._hmrPayload.actions||Q(p,i)}),p._hmrPayload=d._hmrPayload,p._getters=d._getters,p._hotUpdating=!1})),ee){const d={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(i=>{Object.defineProperty(p,i,v({value:p[i]},d))})}return a._p.forEach(d=>{if(ee){const i=s.run(()=>d({store:p,app:a._a,pinia:a,options:c}));Object.keys(i||{}).forEach($=>p._customProperties.add($)),v(p,i)}else v(p,s.run(()=>d({store:p,app:a._a,pinia:a,options:c})))}),process.env.NODE_ENV!=="production"&&p.$state&&typeof p.$state=="object"&&typeof p.$state.constructor=="function"&&!p.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be + */let T;const J=e=>T=e,We=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function z(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var q;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(q||(q={}));const K=typeof window<"u",ee=(process.env.NODE_ENV!=="production"||!1)&&process.env.NODE_ENV!=="test"&&K;function he(e,o){for(const n in o){const a=o[n];if(!(n in e))continue;const r=e[n];z(r)&&z(a)&&!t.isRef(a)&&!t.isReactive(a)?e[n]=he(r,a):e[n]=a}return e}const me=()=>{};function ge(e,o,n,a=me){e.push(o);const r=()=>{const l=e.indexOf(o);l>-1&&(e.splice(l,1),a())};return!n&&t.getCurrentScope()&&t.onScopeDispose(r),r}function x(e,...o){e.slice().forEach(n=>{n(...o)})}const Ue=e=>e();function te(e,o){e instanceof Map&&o instanceof Map&&o.forEach((n,a)=>e.set(a,n)),e instanceof Set&&o instanceof Set&&o.forEach(e.add,e);for(const n in o){if(!o.hasOwnProperty(n))continue;const a=o[n],r=e[n];z(r)&&z(a)&&e.hasOwnProperty(n)&&!t.isRef(a)&&!t.isReactive(a)?e[n]=te(r,a):e[n]=a}return e}const Ge=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function Je(e){return!z(e)||!e.hasOwnProperty(Ge)}const{assign:v}=Object;function ye(e){return!!(t.isRef(e)&&e.effect)}function _e(e,o,n,a){const{state:r,actions:l,getters:s}=o,c=n.state.value[e];let h;function m(){!c&&(process.env.NODE_ENV==="production"||!a)&&(n.state.value[e]=r?r():{});const k=process.env.NODE_ENV!=="production"&&a?t.toRefs(t.ref(r?r():{}).value):t.toRefs(n.state.value[e]);return v(k,l,Object.keys(s||{}).reduce((y,u)=>(process.env.NODE_ENV!=="production"&&u in k&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${u}" in store "${e}".`),y[u]=t.markRaw(t.computed(()=>{J(n);const g=n._s.get(e);return s[u].call(g,g)})),y),{}))}return h=ae(e,m,o,n,a,!0),h}function ae(e,o,n={},a,r,l){let s;const c=v({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!a._e.active)throw new Error("Pinia destroyed");const h={deep:!0};process.env.NODE_ENV!=="production"&&!Re&&(h.onTrigger=d=>{m?g=d:m==!1&&!p._hotUpdating&&(Array.isArray(g)?g.push(d):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let m,k,y=[],u=[],g;const b=a.state.value[e];!l&&!b&&(process.env.NODE_ENV==="production"||!r)&&(a.state.value[e]={});const _=t.ref({});let B;function M(d){let i;m=k=!1,process.env.NODE_ENV!=="production"&&(g=[]),typeof d=="function"?(d(a.state.value[e]),i={type:q.patchFunction,storeId:e,events:g}):(te(a.state.value[e],d),i={type:q.patchObject,payload:d,storeId:e,events:g});const $=B=Symbol();t.nextTick().then(()=>{B===$&&(m=!0)}),k=!0,x(y,i,a.state.value[e])}const S=l?function(){const{state:i}=n,$=i?i():{};this.$patch(N=>{v(N,$)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:me;function L(){s.stop(),y=[],u=[],a._s.delete(e)}function O(d,i){return function(){J(a);const $=Array.from(arguments),N=[],R=[];function Oa(V){N.push(V)}function za(V){R.push(V)}x(u,{args:$,name:d,store:p,after:Oa,onError:za});let W;try{W=i.apply(this&&this.$id===e?this:p,$)}catch(V){throw x(R,V),V}return W instanceof Promise?W.then(V=>(x(N,V),V)).catch(V=>(x(R,V),Promise.reject(V))):(x(N,W),W)}}const E=t.markRaw({actions:{},getters:{},state:[],hotState:_}),I={_p:a,$id:e,$onAction:ge.bind(null,u),$patch:M,$reset:S,$subscribe(d,i={}){const $=ge(y,d,i.detached,()=>N()),N=s.run(()=>t.watch(()=>a.state.value[e],R=>{(i.flush==="sync"?k:m)&&d({storeId:e,type:q.direct,events:g},R)},v({},h,i)));return $},$dispose:L},p=t.reactive(process.env.NODE_ENV!=="production"||ee?v({_hmrPayload:E,_customProperties:t.markRaw(new Set)},I):I);a._s.set(e,p);const D=(a._a&&a._a.runWithContext||Ue)(()=>a._e.run(()=>(s=t.effectScope()).run(o)));for(const d in D){const i=D[d];if(t.isRef(i)&&!ye(i)||t.isReactive(i))process.env.NODE_ENV!=="production"&&r?G(_.value,d,t.toRef(D,d)):l||(b&&Je(i)&&(t.isRef(i)?i.value=b[d]:te(i,b[d])),a.state.value[e][d]=i),process.env.NODE_ENV!=="production"&&E.state.push(d);else if(typeof i=="function"){const $=process.env.NODE_ENV!=="production"&&r?i:O(d,i);D[d]=$,process.env.NODE_ENV!=="production"&&(E.actions[d]=i),c.actions[d]=i}else process.env.NODE_ENV!=="production"&&ye(i)&&(E.getters[d]=l?n.getters[d]:i,K&&(D._getters||(D._getters=t.markRaw([]))).push(d))}if(v(p,D),v(t.toRaw(p),D),Object.defineProperty(p,"$state",{get:()=>process.env.NODE_ENV!=="production"&&r?_.value:a.state.value[e],set:d=>{if(process.env.NODE_ENV!=="production"&&r)throw new Error("cannot set hotState");M(i=>{v(i,d)})}}),process.env.NODE_ENV!=="production"&&(p._hotUpdate=t.markRaw(d=>{p._hotUpdating=!0,d._hmrPayload.state.forEach(i=>{if(i in p.$state){const $=d.$state[i],N=p.$state[i];typeof $=="object"&&z($)&&z(N)?he($,N):d.$state[i]=N}G(p,i,t.toRef(d.$state,i))}),Object.keys(p.$state).forEach(i=>{i in d.$state||Q(p,i)}),m=!1,k=!1,a.state.value[e]=t.toRef(d._hmrPayload,"hotState"),k=!0,t.nextTick().then(()=>{m=!0});for(const i in d._hmrPayload.actions){const $=d[i];G(p,i,O(i,$))}for(const i in d._hmrPayload.getters){const $=d._hmrPayload.getters[i],N=l?t.computed(()=>(J(a),$.call(p,p))):$;G(p,i,N)}Object.keys(p._hmrPayload.getters).forEach(i=>{i in d._hmrPayload.getters||Q(p,i)}),Object.keys(p._hmrPayload.actions).forEach(i=>{i in d._hmrPayload.actions||Q(p,i)}),p._hmrPayload=d._hmrPayload,p._getters=d._getters,p._hotUpdating=!1})),ee){const d={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(i=>{Object.defineProperty(p,i,v({value:p[i]},d))})}return a._p.forEach(d=>{if(ee){const i=s.run(()=>d({store:p,app:a._a,pinia:a,options:c}));Object.keys(i||{}).forEach($=>p._customProperties.add($)),v(p,i)}else v(p,s.run(()=>d({store:p,app:a._a,pinia:a,options:c})))}),process.env.NODE_ENV!=="production"&&p.$state&&typeof p.$state=="object"&&typeof p.$state.constructor=="function"&&!p.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be state: () => new MyClass() Found in store "${p.$id}".`),b&&l&&n.hydrate&&n.hydrate(p.$state,b),m=!0,k=!0,p}function be(e,o,n){let a,r;const l=typeof o=="function";if(typeof e=="string")a=e,r=l?n:o;else if(r=e,a=e.id,process.env.NODE_ENV!=="production"&&typeof a!="string")throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');function s(c,h){const m=t.hasInjectionContext();if(c=(process.env.NODE_ENV==="test"&&T&&T._testing?null:c)||(m?t.inject(We,null):null),c&&J(c),process.env.NODE_ENV!=="production"&&!T)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"? See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. @@ -10,7 +10,7 @@ This will fail in production.`);c=T,c._s.has(a)||(l?ae(a,o,r,c):_e(a,r,c),proces * vue-router v4.3.3 * (c) 2024 Eduardo San Martin Morote * @license MIT - */var $e;(function(e){e.pop="pop",e.push="push"})($e||($e={}));var ke;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ke||(ke={})),Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var we;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(we||(we={})),Symbol(process.env.NODE_ENV!=="production"?"router view location matched":""),Symbol(process.env.NODE_ENV!=="production"?"router view depth":""),Symbol(process.env.NODE_ENV!=="production"?"router":"");const Xe=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function Qe(){return t.inject(Xe)}const Ke=()=>{const e=H();e&&e.makeTransparent(!0)},et=e=>e.title?e.title:e.linkPage?e.linkPage.title:"",tt=e=>{if(e.linkPage&&e.linkPage.url)return e.linkPage.url;if(e.path){const o="http://localhost:3000";if(e.path.startsWith(o+"/missions?")||e.path.startsWith(o+"/news?"))return e.path.replace(o,"");if(e.path.startsWith("/"))return e.path}},at=e=>{H().updateGlobalChildren(e)},nt=e=>{H().updateSecondary(e)},ot=e=>{H().updateHighlightPrimary(e)},rt=e=>{const o=Qe(),n=o?o.path:null,a=e,r=a?a.endsWith("/")?a:a+"/":null;return n&&a&&r?n===a?!0:n.startsWith(r):!1},Ce=e=>{let o="";if(Object.keys(e).some(function(a){return!!a.startsWith("screen")})){const a=[];for(const[r,l]of Object.entries(e))r.startsWith("screen")&&typeof l=="object"&&l.url&&l.width&&a.push(`${l.url} ${l.width}w`);o=a.join(", ")}return o},st=e=>{if(e.externalLink)return e.externalLink;if(e.document)return e.document.url},it=e=>"https://www.jpl.nasa.gov"+e,lt=(e,o)=>{if(e&&e.original){let n=e.title;o&&(n=o);let a=e.credit;return e.detailUrl&&(a=""),[{title:n,url:e.original,detailUrl:e.detailUrl,credit:a}]}return!1},ct=e=>{const o=[],n=Object.keys(e).map(a=>e[a]);if(e){for(const a of n)for(const r of Object.values(a))r&&r.original!==void 0&&o.push({title:r.title,url:r.original,detailUrl:r.detailUrl,credit:r.credit});return o}else return!1},dt=(e,o)=>{const n=C(e);let a=n.format("D");const r=n.format("MMM YYYY");if(o){const l=C(o);n.format("MM")===l.format("MM")&&n.format("ll")!==l.format("ll")&&(a=`${a}-${l.format("D")}`)}return{day:a,monthAndYear:r}},pt=(e,o)=>{const n=C(e);let a=n.format("ll");if(o){const r=C(o);n.format("YYYY")!==r.format("YYYY")?a=`${n.format("ll")} - ${r.format("ll")}`:n.format("MM")!==r.format("MM")?a=`${n.format("MMM D")} - ${r.format("ll")}`:r.diff(n,"hour")>=24&&n.format("ll")!==r.format("ll")&&(a=`${n.format("MMM D")}-${r.format("D")}, ${n.format("YYYY")}`)}return a},ft=(e,o,n)=>{const a=C(e);let r="";if(o){const l=C(o);l.diff(a,"hour")<=24&&l.diff(a,"day")===0&&(n?a.format("a")===l.format("a")?r=`${a.format("h:mm")}-${l.format("h:mm a z")}`:r=`${a.format("h:mm a")} - ${l.format("h:mm a z")}`:r=`${a.format("h:mm a z")}`)}return r},Be={primary:"-primary","reverse-primary":"-reverse-primary",secondary:"-secondary",dark:"-dark",social:"-social"},ut=t.defineComponent({name:"BaseButton",props:{variant:{type:String,required:!1,default:"primary",validator:e=>Object.keys(Be).includes(e)},compact:{type:Boolean,default:!1,required:!1},blockClasses:{type:String,required:!1,default:"inline-block"},disabled:{type:Boolean,default:!1,required:!1},ariaLabel:{type:String,default:"",required:!1},to:{type:[String,Object],required:!1,default:null},href:{type:String,required:!1,default:null}},emits:["click"],computed:{tag(){return this.disabled?"button":this.to?"nuxt-link":this.href?"a":"button"},theHref(){return this.tag==="nuxt-link"?this.to:this.tag==="a"?this.href:!1},variantClass(){let e=Be[this.variant];return!this.$slots.default&&this.$slots.icon?e=e+" -icon-only":this.compact&&(e=e+" -compact"),this.blockClasses&&(e=e+" "+this.blockClasses),e}}}),w=(e,o)=>{const n=e.__vccOpts||e;for(const[a,r]of o)n[a]=r;return n},ht={class:"label block"};function mt(e,o,n,a,r,l){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.tag),{class:t.normalizeClass(["BaseButton text-contrast-none",e.variantClass]),"aria-label":e.ariaLabel,disabled:e.disabled,href:e.theHref,to:e.to?e.to:!1,onClick:o[0]||(o[0]=s=>e.$emit("click"))},{default:t.withCtx(()=>[t.createElementVNode("span",ht,[t.renderSlot(e.$slots,"default"),t.renderSlot(e.$slots,"icon")])]),_:3},8,["class","aria-label","disabled","href","to"])}const Se=w(ut,[["render",mt]]),Ee={none:"object-none",contain:"object-contain",cover:"object-cover",fill:"object-fill",scaleDown:"object-scale-down"},gt=t.defineComponent({name:"BaseImage",props:{imageClass:{type:String,required:!1},objectFitClass:{type:String,required:!1,default:"contain",validator:e=>Object.keys(Ee).includes(e)},src:{type:String,required:!0},srcset:{type:String,required:!1,default:""},alt:{type:String},width:{type:[Number,String]},height:{type:[Number,String]},loading:{type:String,required:!1,default:"lazy"}},data(){return{lazyNative:!0}},computed:{computedClass(){let e="";return this.imageClass&&(e=e+" "+this.imageClass),this.objectFitClass&&(e=e+" "+Ee[this.objectFitClass]),this.lazyNative||(e=e+" lazyload"),e}},mounted(){this.featureDetectImageLazyLoad()},methods:{featureDetectImageLazyLoad(){if("loading"in HTMLImageElement.prototype){const e=this.$refs.BaseImage?this.$refs.BaseImage:null;this.lazyNative=!0,e&&e.dataset.src&&(e.src=e.dataset.src),e&&e.dataset.srcset&&(e.srcset=e.dataset.srcset)}else this.lazyNative=!1},imageFailed(){console.log("Image failed to load.")}}}),yt=["data-src","data-srcset","alt","width","height","loading"];function _t(e,o,n,a,r,l){return t.openBlock(),t.createElementBlock("div",null,[e.src?(t.openBlock(),t.createElementBlock("img",{key:0,ref:"BaseImage",class:t.normalizeClass(["BaseImage",e.computedClass]),"data-src":e.src,"data-srcset":e.srcset,alt:e.alt,width:e.width,height:e.height,loading:e.loading,onError:o[0]||(o[0]=(...s)=>e.imageFailed&&e.imageFailed(...s))},null,42,yt)):t.createCommentVNode("",!0)])}const j=w(gt,[["render",_t]]),bt=t.defineComponent({name:"IconCaret"}),$t={class:"IconCaret",width:"8",height:"14",viewBox:"0 0 8 14",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},kt=[t.createElementVNode("path",{d:"M7.864 7.004L1.5 13.368.086 11.954l4.948-4.95-4.948-4.95L1.5.64l6.364 6.364z",fill:"currentColor"},null,-1)];function wt(e,o,n,a,r,l){return t.openBlock(),t.createElementBlock("svg",$t,kt)}const ne=w(bt,[["render",wt]]),Ct=t.defineComponent({name:"MixinAnimationCaret",components:{IconCaret:ne},props:{passedWrapperClass:{type:String||null,required:!1,default:""},arrowClass:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"text-primary"},marginLeft:{type:String,default:"ml-1",required:!1},inline:{type:Boolean,default:!1,required:!1}},computed:{computedClass(){let e="";return this.passedWrapperClass&&(e=e+" "+this.passedWrapperClass),this.inline&&(e=e+" caret-inline"),e}}}),Bt={class:"arrow"},St={class:"arrow-fixed"};function Et(e,o,n,a,r,l){const s=ne;return t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["MixinAnimationCaret",e.computedClass])},[t.createElementVNode("span",null,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("span",{class:t.normalizeClass(["arrow-wrapper",[e.arrowClass,e.color,e.marginLeft]]),"aria-hidden":"true"},[t.createElementVNode("span",Bt,[t.createVNode(s)]),t.createElementVNode("span",St,[t.createVNode(s)])],2)],2)}const oe=w(Ct,[["render",Et]]),Me={primary:"text-subtitle text-action hover:text-action-dark dark:text-action-light dark:hover:text-action",secondary:"text-subtitle text-action hover:text-action-dark dark:text-action-light dark:hover:text-action",default:"-default underline text-action hover:text-action-dark dark:text-action-light dark:hover:text-action",none:""},Mt=t.defineComponent({name:"BaseLink",components:{MixinAnimationCaret:oe},props:{variant:{type:String,required:!1,default:"default",validator:e=>Object.keys(Me).includes(e)},to:{type:[String,Object],default:void 0},exact:{type:Boolean,default:!1},href:{type:String,default:void 0},title:{type:String,default:void 0},ariaLabel:{type:String,default:""},linkClass:{type:String,default:""},target:{type:String,required:!1,default:void 0},externalTargetBlank:{type:Boolean,required:!1,default:!1},caret:{type:Boolean,required:!1,default:!1},caretWrapperClass:{type:String,default:""},caretClass:{type:String,default:""},caretInline:{type:Boolean,required:!1,default:!1},caretColor:{type:String,required:!1,default:""},caretMarginLeft:{type:String,required:!1,default:""}},emits:["linkClicked","specificLinkClicked"],computed:{computedClass(){let e=Me[this.variant];return(this.to||this.href)&&(e=e+" cursor-pointer"),this.linkClass&&(e=e+" "+this.linkClass),e},theTarget(){if(this.target)return this.target;if(this.href&&this.externalTargetBlank)return"_blank"},theRel(){if(this.theTarget==="_blank")return"noopener"}},methods:{clickEvent(){var e;(e=this.$root)==null||e.$emit("linkClicked"),this.$emit("specificLinkClicked")}}}),Dt=["href","target","rel","aria-label","title"];function Nt(e,o,n,a,r,l){const s=oe,c=t.resolveComponent("nuxt-link");return t.openBlock(),t.createElementBlock("div",null,[e.to?(t.openBlock(),t.createBlock(c,{key:0,class:t.normalizeClass(["group",e.computedClass]),to:e.to,target:e.theTarget,rel:e.theRel,"aria-label":e.ariaLabel,title:e.title,exact:e.exact,onClick:o[0]||(o[0]=h=>e.clickEvent())},{default:t.withCtx(()=>[e.caretInline&&e.caret?(t.openBlock(),t.createBlock(s,{key:0,inline:"",class:t.normalizeClass(e.caretWrapperClass),"arrow-class":e.caretClass,color:e.caretColor,"margin-left":e.caretMarginLeft},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["class","arrow-class","color","margin-left"])):e.variant==="primary"||e.caret?(t.openBlock(),t.createBlock(s,{key:1,class:t.normalizeClass(e.caretWrapperClass),"arrow-class":e.caretClass,color:e.caretColor,"margin-left":e.caretMarginLeft},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["class","arrow-class","color","margin-left"])):t.renderSlot(e.$slots,"default",{key:2})]),_:3},8,["class","to","target","rel","aria-label","title","exact"])):e.href?(t.openBlock(),t.createElementBlock("a",{key:1,href:e.href,class:t.normalizeClass(["group",e.computedClass]),target:e.theTarget,rel:e.theRel,"aria-label":e.ariaLabel,title:e.title,onClick:o[1]||(o[1]=h=>e.clickEvent())},[e.caretInline&&e.caret?(t.openBlock(),t.createBlock(s,{key:0,inline:"",class:t.normalizeClass(e.caretWrapperClass),"arrow-class":e.caretClass,color:e.caretColor,"margin-left":e.caretMarginLeft},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["class","arrow-class","color","margin-left"])):e.variant==="primary"||e.caret?(t.openBlock(),t.createBlock(s,{key:1,class:t.normalizeClass(e.caretWrapperClass),"arrow-class":e.caretClass,color:e.caretColor,"margin-left":e.caretMarginLeft},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["class","arrow-class","color","margin-left"])):t.renderSlot(e.$slots,"default",{key:2})],10,Dt)):t.createCommentVNode("",!0)])}const re=w(Mt,[["render",Nt]]),se={h1:"text-h1",h2:"text-h2",h3:"text-h3",h4:"text-h4",h5:"text-h5",h6:"text-h6"},vt=t.defineComponent({name:"BaseHeading",props:{level:{type:String||null,required:!1,default:"h2",validator:e=>Object.keys(se).includes(e)},size:{type:String,required:!1,default:"h2",validator:e=>Object.keys(se).includes(e)}},computed:{computedTag(){return this.level?this.level:this.size},computedClass(){return this.size?se[this.size]:""}}});function Lt(e,o,n,a,r,l){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.computedTag),{class:t.normalizeClass(e.computedClass)},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["class"])}const De=w(vt,[["render",Lt]]),Vt=t.defineComponent({name:"BlockHeading",components:{BaseHeading:De},props:{data:{type:Object,required:!1}}});function Ot(e,o,n,a,r,l){const s=De;return e.data?(t.openBlock(),t.createBlock(s,{key:0,level:e.data.level,size:e.data.size},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.heading),1)]),_:1},8,["level","size"])):t.createCommentVNode("",!0)}const zt=w(Vt,[["render",Ot]]),Ne={"col-1":"lg:col-start-1 lg:col-end-13","col-2":"lg:col-start-2 lg:col-end-12","col-3":"lg:col-start-3 lg:col-end-11","col-4":"md:col-start-3 md:col-end-11 lg:col-start-4 lg:col-end-10"},xt=t.defineComponent({name:"LayoutHelper",props:{indent:{type:String,required:!1,default:"col-1",validator:e=>Object.keys(Ne).includes(e)}},computed:{theWidth(){return Ne[this.indent]}}}),It={class:"LayoutHelper BaseGrid container mx-auto"};function Yt(e,o,n,a,r,l){return t.openBlock(),t.createElementBlock("div",It,[t.createElementVNode("div",{class:t.normalizeClass(e.theWidth+" col-start-1 col-end-13 lg:px-0 px-4 relative")},[t.renderSlot(e.$slots,"default")],2)])}const ve=w(xt,[["render",Yt]]),Ft=t.defineComponent({name:"BaseImageCaption",components:{BaseLink:re},props:{data:{type:Object,required:!0,default:void 0}}}),Tt={key:0,class:"BaseImageCaption text-body-sm"},qt={class:"inline mr-2"},Ht=["innerHTML"],jt={key:0,class:"inline"};function Pt(e,o,n,a,r,l){const s=re;return e.data?(t.openBlock(),t.createElementBlock("div",Tt,[t.createElementVNode("div",qt,[t.createElementVNode("div",{class:"the-caption-text inline",innerHTML:e.data.caption},null,8,Ht),e.data.credit?(t.openBlock(),t.createElementBlock("span",jt," Credit: "+t.toDisplayString(e.data.credit),1)):t.createCommentVNode("",!0)]),e.data.detailUrl?(t.openBlock(),t.createBlock(s,{key:0,class:"inline-block",variant:"default",to:e.data.detailUrl},{default:t.withCtx(()=>[t.createTextVNode(" Full Image Details ")]),_:1},8,["to"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)}const Z=w(Ft,[["render",Pt]]),At=t.defineComponent({name:"IconExpand"}),Rt={class:"IconExpand",width:"60",height:"60",viewBox:"0 0 60 60",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},Wt=[t.createElementVNode("path",{d:"M48 37v11H37v-2h9v-9h2zm-34 0v9h9v2H12V37h2zm9-25v2h-9v9h-2V12h11zm25 0v11h-2v-9h-9v-2h11z",fill:"currentColor","fill-rule":"evenodd"},null,-1)];function Ut(e,o,n,a,r,l){return t.openBlock(),t.createElementBlock("svg",Rt,Wt)}const Le=w(At,[["render",Ut]]),Gt=t.defineComponent({name:"MixinFancyboxOpenButton",components:{IconExpand:Le}}),Jt={ref:"FancyboxOpenButton",class:"MixinFancyboxOpenButton",role:"presentation"},Zt={class:"BaseButton -primary -icon-only pointer-events-none"},Xt={class:"icon"};function Qt(e,o,n,a,r,l){const s=Le;return t.openBlock(),t.createElementBlock("div",Jt,[t.createElementVNode("div",Zt,[t.createElementVNode("span",Xt,[t.createVNode(s)])])],512)}const Ve=w(Gt,[["render",Qt]]),P={pageXOffset:0,pageYOffset:0,element(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement},activate(e){P.pageXOffset=window.pageXOffset,P.pageYOffset=window.pageYOffset,e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},deactivate(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()}},ie={normal:"fancybox-theme-normal ThemeVariantLight",light:"fancybox-theme-light ThemeVariantLight",dark:"fancybox-theme-dark ThemeVariantDark"},Kt=t.defineComponent({name:"MixinFancybox",components:{MixinFancyboxOpenButton:Ve},filters:{truncate(e){return e&&e.length>280&&(e=e.substring(0,277)+"..."),e}},props:{infinite:{type:Boolean,required:!1,default:!0},showThumbnails:{type:Boolean,required:!1,default:!1},animated:{type:Boolean,required:!1,default:!1},galleryName:{type:String,required:!1,default:null},src:{type:String,required:!1},srcSet:{type:String,required:!1},sizes:{type:String,required:!1},downloadSrc:{type:String,required:!1},caption:{type:String,required:!1},credit:{type:String,required:!1},title:{type:String,required:!1},detailUrl:{type:String,required:!1},width:{type:String,required:!1},height:{type:String,required:!1},theme:{type:String,required:!1,default:"dark",validator:e=>Object.keys(ie).includes(e)}},computed:{computedClass(){return ie[this.theme]},computedCaption(){let e=this.caption&&this.caption.length?this.$options.filters.truncate(this.caption,180):"";return this.credit&&(e=`${e} Credit: ${this.credit}`),e}},mounted(){return ze.Fancybox.bind("[data-fancybox]",{infinite:this.infinite,mainClass:this.computedClass?this.computedClass:ie.dark,showClass:"fancybox-fadeIn",hideClass:"fancybox-fadeOut",autoFocus:!0,maxScale:6,slideshow:{delay:1e4},animated:this.animated,Image:{zoom:this.animated},Thumbs:{autoStart:this.showThumbnails},Toolbar:{items:{counter:{type:"div",class:"fancybox__counter",html:' / ',tabindex:-1,position:"left"},prev:{type:"button",class:"fancybox__button--prev",label:"PREV",html:'',click(e){e.preventDefault(),this.fancybox.prev()}},next:{type:"button",class:"fancybox__button--next",label:"NEXT",html:'',click(e){e.preventDefault(),this.fancybox.next()}},fullscreen:{type:"button",class:"fancybox__button--fullscreen",label:"TOGGLE_FULLSCREEN",html:'',click(e){e.preventDefault(),P.element()?P.deactivate():P.activate(this.fancybox.$container)}},slideshow:{type:"button",class:"fancybox__button--slideshow",label:"TOGGLE_SLIDESHOW",html:'',click(e){e.preventDefault(),this.Slideshow.toggle()}},zoom:{type:"button",class:"fancybox__button--zoom",label:"TOGGLE_ZOOM",html:'',click(e){e.preventDefault();const o=this.fancybox.getSlide().Panzoom;o&&o.toggleZoom()}},download:{type:"link",label:"DOWNLOAD",class:"fancybox__button--download",html:'',click(e){e.stopPropagation()}},thumbs:{type:"button",label:"TOGGLE_THUMBS",class:"fancybox__button--thumbs",html:'',click(e){e.stopPropagation();const o=this.fancybox.plugins.Thumbs;o&&o.toggle()}},close:{type:"button",label:"CLOSE",class:"fancybox__button--close",html:'',tabindex:1,click(e){e.stopPropagation(),e.preventDefault(),this.fancybox.close()}}},display:[{id:"counter",position:"left"},"zoom","slideshow","fullscreen","thumbs","captions","close"]},caption(e,o,n){let a=n.caption;return n.type==="image"&&(a=`
+ */var $e;(function(e){e.pop="pop",e.push="push"})($e||($e={}));var ke;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ke||(ke={})),Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var we;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(we||(we={})),Symbol(process.env.NODE_ENV!=="production"?"router view location matched":""),Symbol(process.env.NODE_ENV!=="production"?"router view depth":""),Symbol(process.env.NODE_ENV!=="production"?"router":"");const Xe=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function Qe(){return t.inject(Xe)}const Ke=()=>{const e=H();e&&e.makeTransparent(!0)},et=e=>e.title?e.title:e.linkPage?e.linkPage.title:"",tt=e=>{if(e.linkPage&&e.linkPage.url)return e.linkPage.url;if(e.path){const o="http://localhost:3000";if(e.path.startsWith(o+"/missions?")||e.path.startsWith(o+"/news?"))return e.path.replace(o,"");if(e.path.startsWith("/"))return e.path}},at=e=>{H().updateGlobalChildren(e)},nt=e=>{H().updateSecondary(e)},ot=e=>{H().updateHighlightPrimary(e)},rt=e=>{const o=Qe(),n=o?o.path:null,a=e,r=a?a.endsWith("/")?a:a+"/":null;return n&&a&&r?n===a?!0:n.startsWith(r):!1},Ce=e=>{let o="";if(Object.keys(e).some(function(a){return!!a.startsWith("screen")})){const a=[];for(const[r,l]of Object.entries(e))r.startsWith("screen")&&typeof l=="object"&&l.url&&l.width&&a.push(`${l.url} ${l.width}w`);o=a.join(", ")}return o},st=e=>{if(e.externalLink)return e.externalLink;if(e.document)return e.document.url},it=e=>"https://www.jpl.nasa.gov"+e,lt=(e,o)=>{if(e&&e.original){let n=e.title;o&&(n=o);let a=e.credit;return e.detailUrl&&(a=""),[{title:n,url:e.original,detailUrl:e.detailUrl,credit:a}]}return!1},ct=e=>{const o=[],n=Object.keys(e).map(a=>e[a]);if(e){for(const a of n)for(const r of Object.values(a))r&&r.original!==void 0&&o.push({title:r.title,url:r.original,detailUrl:r.detailUrl,credit:r.credit});return o}else return!1},dt=(e,o)=>{const n=C(e);let a=n.format("D");const r=n.format("MMM YYYY");if(o){const l=C(o);n.format("MM")===l.format("MM")&&n.format("ll")!==l.format("ll")&&(a=`${a}-${l.format("D")}`)}return{day:a,monthAndYear:r}},pt=(e,o)=>{const n=C(e);let a=n.format("ll");if(o){const r=C(o);n.format("YYYY")!==r.format("YYYY")?a=`${n.format("ll")} - ${r.format("ll")}`:n.format("MM")!==r.format("MM")?a=`${n.format("MMM D")} - ${r.format("ll")}`:r.diff(n,"hour")>=24&&n.format("ll")!==r.format("ll")&&(a=`${n.format("MMM D")}-${r.format("D")}, ${n.format("YYYY")}`)}return a},ft=(e,o,n)=>{const a=C(e);let r="";if(o){const l=C(o);l.diff(a,"hour")<=24&&l.diff(a,"day")===0&&(n?a.format("a")===l.format("a")?r=`${a.format("h:mm")}-${l.format("h:mm a z")}`:r=`${a.format("h:mm a")} - ${l.format("h:mm a z")}`:r=`${a.format("h:mm a z")}`)}return r},Be={primary:"-primary","reverse-primary":"-reverse-primary",secondary:"-secondary",dark:"-dark",social:"-social"},ut=t.defineComponent({name:"BaseButton",props:{variant:{type:String,required:!1,default:"primary",validator:e=>Object.keys(Be).includes(e)},compact:{type:Boolean,default:!1,required:!1},blockClasses:{type:String,required:!1,default:"inline-block"},disabled:{type:Boolean,default:!1,required:!1},ariaLabel:{type:String,default:"",required:!1},to:{type:[String,Object],required:!1,default:null},href:{type:String,required:!1,default:null}},emits:["click"],computed:{tag(){return this.disabled?"button":this.to?"nuxt-link":this.href?"a":"button"},theHref(){return this.tag==="nuxt-link"?this.to:this.tag==="a"?this.href:!1},variantClass(){let e=Be[this.variant];return!this.$slots.default&&this.$slots.icon?e=e+" -icon-only":this.compact&&(e=e+" -compact"),this.blockClasses&&(e=e+" "+this.blockClasses),e}}}),w=(e,o)=>{const n=e.__vccOpts||e;for(const[a,r]of o)n[a]=r;return n},ht={class:"label block"};function mt(e,o,n,a,r,l){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.tag),{class:t.normalizeClass(["BaseButton text-contrast-none",e.variantClass]),"aria-label":e.ariaLabel,disabled:e.disabled,href:e.theHref,to:e.to?e.to:!1,onClick:o[0]||(o[0]=s=>e.$emit("click"))},{default:t.withCtx(()=>[t.createElementVNode("span",ht,[t.renderSlot(e.$slots,"default"),t.renderSlot(e.$slots,"icon")])]),_:3},8,["class","aria-label","disabled","href","to"])}const Se=w(ut,[["render",mt]]),Ee={none:"object-none",contain:"object-contain",cover:"object-cover",fill:"object-fill",scaleDown:"object-scale-down"},gt=t.defineComponent({name:"BaseImage",props:{imageClass:{type:String,required:!1},objectFitClass:{type:String,required:!1,default:"contain",validator:e=>Object.keys(Ee).includes(e)},src:{type:String,required:!0},srcset:{type:String,required:!1,default:""},alt:{type:String},width:{type:[Number,String]},height:{type:[Number,String]},loading:{type:String,required:!1,default:"lazy"}},data(){return{lazyNative:!0}},computed:{computedClass(){let e="";return this.imageClass&&(e=e+" "+this.imageClass),this.objectFitClass&&(e=e+" "+Ee[this.objectFitClass]),this.lazyNative||(e=e+" lazyload"),e}},mounted(){this.featureDetectImageLazyLoad()},methods:{featureDetectImageLazyLoad(){if("loading"in HTMLImageElement.prototype){const e=this.$refs.BaseImage?this.$refs.BaseImage:null;this.lazyNative=!0,e&&e.dataset.src&&(e.src=e.dataset.src),e&&e.dataset.srcset&&(e.srcset=e.dataset.srcset)}else this.lazyNative=!1},imageFailed(){console.log("Image failed to load.")}}}),yt=["data-src","data-srcset","alt","width","height","loading"];function _t(e,o,n,a,r,l){return t.openBlock(),t.createElementBlock("div",null,[e.src?(t.openBlock(),t.createElementBlock("img",{key:0,ref:"BaseImage",class:t.normalizeClass(["BaseImage",e.computedClass]),"data-src":e.src,"data-srcset":e.srcset,alt:e.alt,width:e.width,height:e.height,loading:e.loading,onError:o[0]||(o[0]=(...s)=>e.imageFailed&&e.imageFailed(...s))},null,42,yt)):t.createCommentVNode("",!0)])}const j=w(gt,[["render",_t]]),bt=t.defineComponent({name:"IconCaret"}),$t={class:"IconCaret",width:"8",height:"14",viewBox:"0 0 8 14",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},kt=[t.createElementVNode("path",{d:"M7.864 7.004L1.5 13.368.086 11.954l4.948-4.95-4.948-4.95L1.5.64l6.364 6.364z",fill:"currentColor"},null,-1)];function wt(e,o,n,a,r,l){return t.openBlock(),t.createElementBlock("svg",$t,kt)}const ne=w(bt,[["render",wt]]),Ct=t.defineComponent({name:"MixinAnimationCaret",components:{IconCaret:ne},props:{passedWrapperClass:{type:String||null,required:!1,default:""},arrowClass:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"text-primary"},marginLeft:{type:String,default:"ml-1",required:!1},inline:{type:Boolean,default:!1,required:!1}},computed:{computedClass(){let e="";return this.passedWrapperClass&&(e=e+" "+this.passedWrapperClass),this.inline&&(e=e+" caret-inline"),e}}}),Bt={class:"arrow"},St={class:"arrow-fixed"};function Et(e,o,n,a,r,l){const s=ne;return t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["MixinAnimationCaret",e.computedClass])},[t.createElementVNode("span",null,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("span",{class:t.normalizeClass(["arrow-wrapper",[e.arrowClass,e.color,e.marginLeft]]),"aria-hidden":"true"},[t.createElementVNode("span",Bt,[t.createVNode(s)]),t.createElementVNode("span",St,[t.createVNode(s)])],2)],2)}const oe=w(Ct,[["render",Et]]),Me={primary:"text-subtitle text-action can-hover:hover:text-action-dark",secondary:"text-subtitle text-action can-hover:hover:text-action-dark",default:"-default underline text-action can-hover:hover:text-action-dark",none:""},Mt=t.defineComponent({name:"BaseLink",components:{MixinAnimationCaret:oe},props:{variant:{type:String,required:!1,default:"default",validator:e=>Object.keys(Me).includes(e)},to:{type:[String,Object],default:void 0},exact:{type:Boolean,default:!1},href:{type:String,default:void 0},title:{type:String,default:void 0},ariaLabel:{type:String,default:""},linkClass:{type:String,default:""},target:{type:String,required:!1,default:void 0},externalTargetBlank:{type:Boolean,required:!1,default:!1},caret:{type:Boolean,required:!1,default:!1},caretWrapperClass:{type:String,default:""},caretClass:{type:String,default:""},caretInline:{type:Boolean,required:!1,default:!1},caretColor:{type:String,required:!1,default:""},caretMarginLeft:{type:String,required:!1,default:""}},emits:["linkClicked","specificLinkClicked"],computed:{computedClass(){let e=Me[this.variant];return(this.to||this.href)&&(e=e+" cursor-pointer"),this.linkClass&&(e=e+" "+this.linkClass),e},theTarget(){if(this.target)return this.target;if(this.href&&this.externalTargetBlank)return"_blank"},theRel(){if(this.theTarget==="_blank")return"noopener"}},methods:{clickEvent(){var e;(e=this.$root)==null||e.$emit("linkClicked"),this.$emit("specificLinkClicked")}}}),Dt=["href","target","rel","aria-label","title"];function Nt(e,o,n,a,r,l){const s=oe,c=t.resolveComponent("nuxt-link");return t.openBlock(),t.createElementBlock("div",null,[e.to?(t.openBlock(),t.createBlock(c,{key:0,class:t.normalizeClass(["group",e.computedClass]),to:e.to,target:e.theTarget,rel:e.theRel,"aria-label":e.ariaLabel,title:e.title,exact:e.exact,onClick:o[0]||(o[0]=h=>e.clickEvent())},{default:t.withCtx(()=>[e.caretInline&&e.caret?(t.openBlock(),t.createBlock(s,{key:0,inline:"",class:t.normalizeClass(e.caretWrapperClass),"arrow-class":e.caretClass,color:e.caretColor,"margin-left":e.caretMarginLeft},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["class","arrow-class","color","margin-left"])):e.variant==="primary"||e.caret?(t.openBlock(),t.createBlock(s,{key:1,class:t.normalizeClass(e.caretWrapperClass),"arrow-class":e.caretClass,color:e.caretColor,"margin-left":e.caretMarginLeft},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["class","arrow-class","color","margin-left"])):t.renderSlot(e.$slots,"default",{key:2})]),_:3},8,["class","to","target","rel","aria-label","title","exact"])):e.href?(t.openBlock(),t.createElementBlock("a",{key:1,href:e.href,class:t.normalizeClass(["group",e.computedClass]),target:e.theTarget,rel:e.theRel,"aria-label":e.ariaLabel,title:e.title,onClick:o[1]||(o[1]=h=>e.clickEvent())},[e.caretInline&&e.caret?(t.openBlock(),t.createBlock(s,{key:0,inline:"",class:t.normalizeClass(e.caretWrapperClass),"arrow-class":e.caretClass,color:e.caretColor,"margin-left":e.caretMarginLeft},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["class","arrow-class","color","margin-left"])):e.variant==="primary"||e.caret?(t.openBlock(),t.createBlock(s,{key:1,class:t.normalizeClass(e.caretWrapperClass),"arrow-class":e.caretClass,color:e.caretColor,"margin-left":e.caretMarginLeft},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["class","arrow-class","color","margin-left"])):t.renderSlot(e.$slots,"default",{key:2})],10,Dt)):t.createCommentVNode("",!0)])}const re=w(Mt,[["render",Nt]]),se={h1:"text-h1",h2:"text-h2",h3:"text-h3",h4:"text-h4",h5:"text-h5",h6:"text-h6"},vt=t.defineComponent({name:"BaseHeading",props:{level:{type:String||null,required:!1,default:"h2",validator:e=>Object.keys(se).includes(e)},size:{type:String,required:!1,default:"h2",validator:e=>Object.keys(se).includes(e)}},computed:{computedTag(){return this.level?this.level:this.size},computedClass(){return this.size?se[this.size]:""}}});function Lt(e,o,n,a,r,l){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.computedTag),{class:t.normalizeClass(e.computedClass)},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["class"])}const De=w(vt,[["render",Lt]]),Vt=t.defineComponent({name:"BlockHeading",components:{BaseHeading:De},props:{data:{type:Object,required:!1}}});function Ot(e,o,n,a,r,l){const s=De;return e.data?(t.openBlock(),t.createBlock(s,{key:0,level:e.data.level,size:e.data.size},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.heading),1)]),_:1},8,["level","size"])):t.createCommentVNode("",!0)}const zt=w(Vt,[["render",Ot]]),Ne={"col-1":"lg:col-start-1 lg:col-end-13","col-2":"lg:col-start-2 lg:col-end-12","col-3":"lg:col-start-3 lg:col-end-11","col-4":"md:col-start-3 md:col-end-11 lg:col-start-4 lg:col-end-10"},It=t.defineComponent({name:"LayoutHelper",props:{indent:{type:String,required:!1,default:"col-1",validator:e=>Object.keys(Ne).includes(e)}},computed:{theWidth(){return Ne[this.indent]}}}),xt={class:"LayoutHelper BaseGrid container mx-auto"};function Yt(e,o,n,a,r,l){return t.openBlock(),t.createElementBlock("div",xt,[t.createElementVNode("div",{class:t.normalizeClass(e.theWidth+" col-start-1 col-end-13 lg:px-0 px-4 relative")},[t.renderSlot(e.$slots,"default")],2)])}const ve=w(It,[["render",Yt]]),Ft=t.defineComponent({name:"BaseImageCaption",components:{BaseLink:re},props:{data:{type:Object,required:!0,default:void 0}}}),Tt={key:0,class:"BaseImageCaption text-body-sm"},qt={class:"inline mr-2"},Ht=["innerHTML"],jt={key:0,class:"inline"};function Pt(e,o,n,a,r,l){const s=re;return e.data?(t.openBlock(),t.createElementBlock("div",Tt,[t.createElementVNode("div",qt,[t.createElementVNode("div",{class:"the-caption-text inline",innerHTML:e.data.caption},null,8,Ht),e.data.credit?(t.openBlock(),t.createElementBlock("span",jt," Credit: "+t.toDisplayString(e.data.credit),1)):t.createCommentVNode("",!0)]),e.data.detailUrl?(t.openBlock(),t.createBlock(s,{key:0,class:"inline-block",variant:"default",to:e.data.detailUrl},{default:t.withCtx(()=>[t.createTextVNode(" Full Image Details ")]),_:1},8,["to"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)}const Z=w(Ft,[["render",Pt]]),At=t.defineComponent({name:"IconExpand"}),Rt={class:"IconExpand",width:"60",height:"60",viewBox:"0 0 60 60",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},Wt=[t.createElementVNode("path",{d:"M48 37v11H37v-2h9v-9h2zm-34 0v9h9v2H12V37h2zm9-25v2h-9v9h-2V12h11zm25 0v11h-2v-9h-9v-2h11z",fill:"currentColor","fill-rule":"evenodd"},null,-1)];function Ut(e,o,n,a,r,l){return t.openBlock(),t.createElementBlock("svg",Rt,Wt)}const Le=w(At,[["render",Ut]]),Gt=t.defineComponent({name:"MixinFancyboxOpenButton",components:{IconExpand:Le}}),Jt={ref:"FancyboxOpenButton",class:"MixinFancyboxOpenButton",role:"presentation"},Zt={class:"BaseButton -primary -icon-only pointer-events-none"},Xt={class:"icon"};function Qt(e,o,n,a,r,l){const s=Le;return t.openBlock(),t.createElementBlock("div",Jt,[t.createElementVNode("div",Zt,[t.createElementVNode("span",Xt,[t.createVNode(s)])])],512)}const Ve=w(Gt,[["render",Qt]]),P={pageXOffset:0,pageYOffset:0,element(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement},activate(e){P.pageXOffset=window.pageXOffset,P.pageYOffset=window.pageYOffset,e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},deactivate(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()}},ie={normal:"fancybox-theme-normal ThemeVariantLight",light:"fancybox-theme-light ThemeVariantLight",dark:"fancybox-theme-dark ThemeVariantDark"},Kt=t.defineComponent({name:"MixinFancybox",components:{MixinFancyboxOpenButton:Ve},filters:{truncate(e){return e&&e.length>280&&(e=e.substring(0,277)+"..."),e}},props:{infinite:{type:Boolean,required:!1,default:!0},showThumbnails:{type:Boolean,required:!1,default:!1},animated:{type:Boolean,required:!1,default:!1},galleryName:{type:String,required:!1,default:null},src:{type:String,required:!1},srcSet:{type:String,required:!1},sizes:{type:String,required:!1},downloadSrc:{type:String,required:!1},caption:{type:String,required:!1},credit:{type:String,required:!1},title:{type:String,required:!1},detailUrl:{type:String,required:!1},width:{type:String,required:!1},height:{type:String,required:!1},theme:{type:String,required:!1,default:"dark",validator:e=>Object.keys(ie).includes(e)}},computed:{computedClass(){return ie[this.theme]},computedCaption(){let e=this.caption&&this.caption.length?this.$options.filters.truncate(this.caption,180):"";return this.credit&&(e=`${e} Credit: ${this.credit}`),e}},mounted(){return ze.Fancybox.bind("[data-fancybox]",{infinite:this.infinite,mainClass:this.computedClass?this.computedClass:ie.dark,showClass:"fancybox-fadeIn",hideClass:"fancybox-fadeOut",autoFocus:!0,maxScale:6,slideshow:{delay:1e4},animated:this.animated,Image:{zoom:this.animated},Thumbs:{autoStart:this.showThumbnails},Toolbar:{items:{counter:{type:"div",class:"fancybox__counter",html:' / ',tabindex:-1,position:"left"},prev:{type:"button",class:"fancybox__button--prev",label:"PREV",html:'',click(e){e.preventDefault(),this.fancybox.prev()}},next:{type:"button",class:"fancybox__button--next",label:"NEXT",html:'',click(e){e.preventDefault(),this.fancybox.next()}},fullscreen:{type:"button",class:"fancybox__button--fullscreen",label:"TOGGLE_FULLSCREEN",html:'',click(e){e.preventDefault(),P.element()?P.deactivate():P.activate(this.fancybox.$container)}},slideshow:{type:"button",class:"fancybox__button--slideshow",label:"TOGGLE_SLIDESHOW",html:'',click(e){e.preventDefault(),this.Slideshow.toggle()}},zoom:{type:"button",class:"fancybox__button--zoom",label:"TOGGLE_ZOOM",html:'',click(e){e.preventDefault();const o=this.fancybox.getSlide().Panzoom;o&&o.toggleZoom()}},download:{type:"link",label:"DOWNLOAD",class:"fancybox__button--download",html:'',click(e){e.stopPropagation()}},thumbs:{type:"button",label:"TOGGLE_THUMBS",class:"fancybox__button--thumbs",html:'',click(e){e.stopPropagation();const o=this.fancybox.plugins.Thumbs;o&&o.toggle()}},close:{type:"button",label:"CLOSE",class:"fancybox__button--close",html:'',tabindex:1,click(e){e.stopPropagation(),e.preventDefault(),this.fancybox.close()}}},display:[{id:"counter",position:"left"},"zoom","slideshow","fullscreen","thumbs","captions","close"]},caption(e,o,n){let a=n.caption;return n.type==="image"&&(a=`
${n.title?`
${n.title}
`:""} ${a.length?`
${a}
`:""} ${n.url?`Full Image Details`:""} diff --git a/packages/vue/src/components/BaseLink/BaseLink.vue b/packages/vue/src/components/BaseLink/BaseLink.vue index 68c0d5e4..a888eee2 100644 --- a/packages/vue/src/components/BaseLink/BaseLink.vue +++ b/packages/vue/src/components/BaseLink/BaseLink.vue @@ -8,11 +8,11 @@ interface Variants { export const variants: Variants = { primary: - 'text-subtitle text-action hover:text-action-dark dark:text-action-light dark:hover:text-action', + 'text-subtitle text-action can-hover:hover:text-action-dark', secondary: - 'text-subtitle text-action hover:text-action-dark dark:text-action-light dark:hover:text-action', + 'text-subtitle text-action can-hover:hover:text-action-dark', default: - '-default underline text-action hover:text-action-dark dark:text-action-light dark:hover:text-action', + '-default underline text-action can-hover:hover:text-action-dark', none: '' } diff --git a/packages/vue/src/components/HeroListingIndex/HeroListingIndex.vue b/packages/vue/src/components/HeroListingIndex/HeroListingIndex.vue index e2b47604..25eb2489 100644 --- a/packages/vue/src/components/HeroListingIndex/HeroListingIndex.vue +++ b/packages/vue/src/components/HeroListingIndex/HeroListingIndex.vue @@ -1,19 +1,18 @@ + diff --git a/packages/vue/src/components/HeroListingIndex/HeroListingIndex.vue b/packages/vue/src/components/HeroListingIndex/HeroListingIndex.vue index 25eb2489..46d5ec8d 100644 --- a/packages/vue/src/components/HeroListingIndex/HeroListingIndex.vue +++ b/packages/vue/src/components/HeroListingIndex/HeroListingIndex.vue @@ -7,7 +7,8 @@