@getmicdrop/venue-calendar 4.3.121 → 4.3.123
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/README.md +22 -0
- package/dist/{AddOnCard-jj59e855.js → AddOnCard-nTlOLRHQ.js} +21 -21
- package/dist/{ArrowLeftIcon-t-CY0sbi.js → ArrowLeftIcon-D5-uNI0U.js} +2 -2
- package/dist/{BlockPlaceholder-BmEZ68_q.js → BlockPlaceholder-CuoGXCMh.js} +4 -4
- package/dist/{Button-VUB2WJ88.js → Button-BLmw_oMF.js} +11 -11
- package/dist/{Button-B58iYo_t.js → Button-DoHESV6k.js} +5 -5
- package/dist/{Calendar-hxcQBkTF.js → Calendar-C9hahXIM.js} +142 -161
- package/dist/{CalendarFoundryView-CSAKDe-F.js → CalendarFoundryView-Cv-ICYi9.js} +1475 -1473
- package/dist/{CalendarIcon-B5JWs0gm.js → CalendarIcon-5pe0K5ma.js} +2 -2
- package/dist/{CartView-CF2y1JDa.js → CartView-CXp67TQT.js} +287 -284
- package/dist/{ChartBlock-SYOAO1s_.js → ChartBlock-VVDwIPue.js} +36 -36
- package/dist/{CheckIcon-BSwoGox7.js → CheckIcon-FxQwEejD.js} +2 -2
- package/dist/{Checkbox-BtJwg_CF.js → Checkbox-Cn1nEBOm.js} +1 -1
- package/dist/{Checkout-2h2K3-bE.js → Checkout-BOftqs3v.js} +383 -381
- package/dist/Checkout-DQrcjCeh.js +1934 -0
- package/dist/{CheckoutTimer-Bpt5gPyA.js → CheckoutTimer-DPuy8TpI.js} +7 -7
- package/dist/{ChevronDownIcon-CVZ0usBx.js → ChevronDownIcon-ADsji-Ia.js} +2 -2
- package/dist/{ChevronDownOutline-D7YDiKBF.js → ChevronDownOutline-CAboOQwi.js} +1 -1
- package/dist/ChevronRightOutline-BWIIgG7O.js +23 -0
- package/dist/{CloseIcon-DUnvWXUY.js → CloseIcon-BgvYIos-.js} +3 -3
- package/dist/{CloseOutline-qpVa62mu.js → CloseOutline-BJtQbSqD.js} +1 -1
- package/dist/{CollectionView-XdNMvMtn.js → CollectionView-Ds3iGZYx.js} +8 -8
- package/dist/{CropImage-C8W_Xb_V.js → CropImage-Cvl-yxAB.js} +15 -15
- package/dist/{EmptyState-CMFePII9.js → EmptyState-BXE5HfzR.js} +2 -2
- package/dist/{Event-B_9T21du.js → Event-C8Y3zpPM.js} +620 -534
- package/dist/EventCard-DGnCiMw9.js +175 -0
- package/dist/{EventPage-BMnKpciU.js → EventPage-DjP9llB-.js} +294 -270
- package/dist/{ExclamationCircleOutline-D3XbhOwM.js → ExclamationCircleOutline-CmH69h0L.js} +1 -1
- package/dist/{action-test-id-7RXdHucW.js → FallbackBlock-C_-N8OKB.js} +72 -72
- package/dist/{Grid-kuP6V0GW.js → Grid-BKWXQEkM.js} +2 -2
- package/dist/{Heading-vOVPxhJF.js → Heading-CrJEsrFE.js} +4 -4
- package/dist/{Input-BXZmvQ0p.js → Input-komF5aTV.js} +10 -10
- package/dist/{LiveRegion-D9Me4kBs.js → LiveRegion-B_OI5McX.js} +2 -2
- package/dist/{LocationIcon-E-7CQh4E.js → LocationIcon-D7SbJ6q_.js} +3 -3
- package/dist/{Modal-kG0LKgMZ.js → Modal-_a_bJbko.js} +3 -3
- package/dist/{ModalFooter-CM5RDuvB.js → ModalFooter-CJPDF8Zl.js} +15 -15
- package/dist/{ModalHeader-DBVXezSL.js → ModalHeader-B3K9xN0J.js} +3 -3
- package/dist/{PasswordInput-DzXNIwRc.js → PasswordInput-C-SJ5Oix.js} +7 -7
- package/dist/{PhoneInput-DnmN_L03.js → PhoneInput-CYg7S7S7.js} +13 -13
- package/dist/{RecommendationsRail-DrzM8h2r.js → RecommendationsRail-QP0CJ7-3.js} +71 -68
- package/dist/{ScarcityBadge-DjzrzvId.js → ScarcityBadge-Cawy-u79.js} +7 -7
- package/dist/{SeriesPage-Ds_FEEZW.js → SeriesPage-BXLOd-gT.js} +3 -3
- package/dist/{Spinner-B2rdbspc.js → Spinner-DMSIvUd3.js} +3 -3
- package/dist/{Success-Dkak0iM9.js → Success-DCJLQx8J.js} +178 -175
- package/dist/{TagIcon-BY8tK_qA.js → TagIcon-CwCUhnam.js} +2 -2
- package/dist/{Text-CqjLjIF8.js → Text-uKiMcqy6.js} +1 -1
- package/dist/{Textarea-Cymhixzd.js → Textarea-DHm4GHH9.js} +3 -3
- package/dist/{ViewTicketsEmbed-B_fqalQh.js → ViewTicketsEmbed-Cblb2S6M.js} +24 -23
- package/dist/{WarningCircleIcon-C5Lc7qkF.js → WarningCircleIcon-ClRHaffl.js} +4 -4
- package/dist/{WarningTriIcon-BM8qc9xx.js → WarningTriIcon-zhqOKjq8.js} +2 -2
- package/dist/adapter-DwqQNwIc.js +164 -0
- package/dist/api--R8K0DjS.js +489 -0
- package/dist/{browser-DxdP6IWt.js → browser-o9TsPy0d.js} +1 -1
- package/dist/checkoutState-BtNPT28I.js +198 -0
- package/dist/client-CS0e2JHE.js +262 -0
- package/dist/{constants-C6MZgb2S.js → constants-lKAMwRvZ.js} +5 -1
- package/dist/{controlAria-CGb-KeRn.js → controlAria-DSrMfxwY.js} +2 -2
- package/dist/{copyToClipboard-F-akSgaF.js → copyToClipboard-198pSFq9.js} +3 -3
- package/dist/{createErrorGate.svelte-CEGaIQeI.js → createErrorGate.svelte-D96YnnB4.js} +5 -5
- package/dist/cta-bYAHgtET.js +116 -0
- package/dist/{datetime-BnKG6Hjm.js → datetime-B0mHwpmb.js} +53 -53
- package/dist/{de-BHcAXwnM.js → de-C3szl-Vf.js} +10 -4
- package/dist/{de-BPmqZ6ao.js → de-CX7o2WAr.js} +5 -1
- package/dist/{defaultLabels-BbNEEsF7.js → defaultLabels-C8IfDtR9.js} +210 -240
- package/dist/{defaults-CgsFJvJ2.js → defaults-vPJmFph1.js} +7 -7
- package/dist/{dist-bwbfGPKR.js → dist-xFB1K0Ua.js} +2 -2
- package/dist/{es-BV3Sgeg-.js → es-DS1-fjU8.js} +5 -1
- package/dist/{es-DZ3yceh-.js → es-QnJXFKEx.js} +10 -4
- package/dist/{event-DfqUhl5j.js → event-Cn1I6eqc.js} +2 -2
- package/dist/{event-transform-Bk1IoYh5.js → event-transform-DqzYVPvy.js} +18 -18
- package/dist/{eventStatusStream-CE0PwO0c.js → eventStatusStream-D27L0zB8.js} +2 -2
- package/dist/{filepond-plugin-file-validate-size-DNnItZ84.js → filepond-plugin-file-validate-size-DSfmFeGz.js} +1 -1
- package/dist/{filepond-plugin-file-validate-type-CUMTkI8X.js → filepond-plugin-file-validate-type-C44EKcE7.js} +1 -1
- package/dist/{filepond-plugin-image-exif-orientation-GEwHZTBU.js → filepond-plugin-image-exif-orientation-DNdFnriO.js} +1 -1
- package/dist/{filepond-plugin-image-preview-DKfgAnVa.js → filepond-plugin-image-preview-BVewVSQZ.js} +1 -1
- package/dist/{floatingPosition-XIv5DYuP.js → floatingPosition-TQ0h6TbT.js} +6 -6
- package/dist/{fr-Dyi163Vk.js → fr-BVgQDC6c.js} +10 -4
- package/dist/{fr-BJ0VQGEj.js → fr-CN3PiNzU.js} +5 -1
- package/dist/{href-CfWGAmkP.js → href-Cl_PNVlB.js} +24 -24
- package/dist/i18n-BsgEaeHp.js +497 -0
- package/dist/i18n-SDe3ZEhB.js +28 -0
- package/dist/{id-CVXaHHqU.js → id-CPG4tPVY.js} +5 -1
- package/dist/{id-DvFRZVAm.js → id-DCcXxLEY.js} +10 -4
- package/dist/{imageOptimizer-B3fj8_30.js → imageOptimizer-C8racBby.js} +11 -11
- package/dist/{imageUrl-xyMedKrE.js → imageUrl-ClaMf08i.js} +1 -1
- package/dist/{it-C0lzsHje.js → it-CjwnCYFF.js} +5 -1
- package/dist/{it-Bh05tcLv.js → it-CufAwhe3.js} +10 -4
- package/dist/{ja-Dl2r6tQ6.js → ja-C2uiNCJX.js} +5 -1
- package/dist/{ja-CU4PQS4j.js → ja-CMa_nsLY.js} +10 -4
- package/dist/{keyboard-DhCcdIyh.js → keyboard-enDXh6xy.js} +4 -4
- package/dist/{ko-DINqFSE1.js → ko-Bh97byDf.js} +5 -1
- package/dist/{ko-DDk6EdWm.js → ko-BwJHUjqS.js} +10 -4
- package/dist/{lazyOnce-CCfEO1xG.js → lazyOnce-BL5svIPP.js} +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/de.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/es.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/fr.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/id.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/it.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/ja.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/ko.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/nl.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/pl.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/pt-br.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/tr.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/zh.js +1 -1
- package/dist/locales/4.3.123/main/de.js +1 -0
- package/dist/locales/4.3.123/main/es.js +1 -0
- package/dist/locales/4.3.123/main/fr.js +1 -0
- package/dist/locales/4.3.123/main/id.js +1 -0
- package/dist/locales/4.3.123/main/it.js +1 -0
- package/dist/locales/4.3.123/main/ja.js +1 -0
- package/dist/locales/4.3.123/main/ko.js +1 -0
- package/dist/locales/4.3.123/main/nl.js +1 -0
- package/dist/locales/4.3.123/main/pl.js +1 -0
- package/dist/locales/4.3.123/main/pt-br.js +1 -0
- package/dist/locales/4.3.123/main/tr.js +1 -0
- package/dist/locales/4.3.123/main/zh.js +1 -0
- package/dist/look-island.svelte-Dr-Vl_J1.js +1279 -0
- package/dist/looks/4.3.123/looks.js +226 -0
- package/dist/looks/4.3.123/micdrop-wordmark-BYMG6vLR.svg +1 -0
- package/dist/looks/4.3.123/microphone-Ccv4r-kd.webp +0 -0
- package/dist/looks/4.3.123/superuser-CZF6a5gO.webp +0 -0
- package/dist/looks/4.3.123/treasury-DUE7lZzT.webp +0 -0
- package/dist/looks/4.3.123/user-image-yuS4errP.svg +9 -0
- package/dist/{modalManager.svelte-Cz_6x1Qd.js → modalManager.svelte-BUU99uSO.js} +1 -1
- package/dist/navigation-DlpJzq1c.js +176 -0
- package/dist/{nl-DOSKYHSx.js → nl-BQALrtyB.js} +10 -4
- package/dist/{nl-D92n5tHa.js → nl-ve_OaXOQ.js} +5 -1
- package/dist/normalizers-B8Ruvrlh.js +44 -0
- package/dist/{phoneUtils-CS66SHie.js → phoneUtils-CQvpvMDO.js} +50 -50
- package/dist/{pixels-Bu5-BISs.js → pixels-BZQYpQU0.js} +3 -3
- package/dist/{pl-BlZHcnlS.js → pl-BHBBOz2I.js} +5 -1
- package/dist/{pl-CkLEymA2.js → pl-DaPcPjBE.js} +10 -4
- package/dist/{portal-D-oaEWsY.js → portal-CLBp645_.js} +2 -2
- package/dist/{portalContainment-CeAVqIb-.js → portalContainment-Dz0y6lW6.js} +2 -2
- package/dist/{pt-br-BHuCQSM-.js → pt-br-BxdP86Vr.js} +10 -4
- package/dist/{pt-br-BrxthY0b.js → pt-br-D30dkLzU.js} +5 -1
- package/dist/seo/seo.mjs +9 -9
- package/dist/{serverTotals-B8SJCzxE.js → serverTotals-F3SRKn1I.js} +6 -6
- package/dist/{showcase-state-options-KO_TYk3I.js → showcase-state-options-DRCOUibv.js} +3 -3
- package/dist/{sizing-B7ixYndz.js → sizing-DFjg7-wy.js} +3 -3
- package/dist/{sortable.esm--ZtTTTPp.js → sortable.esm-RsK3eRs6.js} +1 -1
- package/dist/{src-DZgagYE3.js → src-DJtQCBFq.js} +1 -1
- package/dist/to-event-card-props-CBtlDgMr.js +205 -0
- package/dist/{tr-BnAdi4HO.js → tr-CFVBCuqV.js} +5 -1
- package/dist/{tr-Bvc34ODh.js → tr-CSfagpI3.js} +10 -4
- package/dist/types/index.d.ts +21 -4
- package/dist/utils-BXiwc_cU.js +219 -0
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +1591 -1895
- package/dist/venue-calendar.iife.js +35 -35
- package/dist/venue-calendar.umd.js +175 -54
- package/dist/widget-key-context-litAkRgC.js +744 -0
- package/dist/{zh-K0hOzZ3G.js → zh-DWMcKVLH.js} +10 -4
- package/dist/{zh-Tg1OTvWs.js → zh-DeEOoOFR.js} +5 -1
- package/package.json +3 -3
- package/src/lib/theme.js +222 -222
- package/dist/Checkout-BFu5dTw_.js +0 -1933
- package/dist/api-BEYkGabB.js +0 -654
- package/dist/i18n-B705OXZp.js +0 -28
- package/dist/i18n-BoMUWcCq.js +0 -608
- package/dist/locales/4.3.121/main/de.js +0 -1
- package/dist/locales/4.3.121/main/es.js +0 -1
- package/dist/locales/4.3.121/main/fr.js +0 -1
- package/dist/locales/4.3.121/main/id.js +0 -1
- package/dist/locales/4.3.121/main/it.js +0 -1
- package/dist/locales/4.3.121/main/ja.js +0 -1
- package/dist/locales/4.3.121/main/ko.js +0 -1
- package/dist/locales/4.3.121/main/nl.js +0 -1
- package/dist/locales/4.3.121/main/pl.js +0 -1
- package/dist/locales/4.3.121/main/pt-br.js +0 -1
- package/dist/locales/4.3.121/main/tr.js +0 -1
- package/dist/locales/4.3.121/main/zh.js +0 -1
- package/dist/to-event-card-props-DYIfPN8e.js +0 -379
- package/dist/utils-NMx3aPDk.js +0 -412
- package/dist/widget-key-context-D2zj4sp5.js +0 -988
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { X as e, d as t, n } from "./datetime-
|
|
2
|
-
import { t as r } from "./copyToClipboard-
|
|
3
|
-
import {
|
|
4
|
-
import { r as c } from "./Button-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import { n as
|
|
11
|
-
import {
|
|
1
|
+
import { X as e, d as t, n } from "./datetime-B0mHwpmb.js";
|
|
2
|
+
import { t as r } from "./copyToClipboard-198pSFq9.js";
|
|
3
|
+
import { _ as i, f as a, w as o, y as s } from "./defaultLabels-C8IfDtR9.js";
|
|
4
|
+
import { r as c } from "./Button-BLmw_oMF.js";
|
|
5
|
+
import { n as l } from "./widget-key-context-litAkRgC.js";
|
|
6
|
+
import { t as u } from "./Heading-CrJEsrFE.js";
|
|
7
|
+
import { h as d, l as f, s as p } from "./client-CS0e2JHE.js";
|
|
8
|
+
import { t as m } from "./Grid-BKWXQEkM.js";
|
|
9
|
+
import { t as h } from "./EventCard-DGnCiMw9.js";
|
|
10
|
+
import { n as g } from "./imageUrl-ClaMf08i.js";
|
|
11
|
+
import { m as _ } from "./navigation-DlpJzq1c.js";
|
|
12
|
+
import { o as v, t as y } from "./to-event-card-props-CBtlDgMr.js";
|
|
13
|
+
import { t as b } from "./event-Cn1I6eqc.js";
|
|
12
14
|
import { t as x } from "./venue-BBoZBuhu.js";
|
|
13
15
|
import "svelte/internal/disclose-version";
|
|
14
16
|
import * as S from "svelte/internal/client";
|
|
15
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
|
|
17
|
+
//#region ../../../jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
|
|
16
18
|
var C = S.from_svg("<path d=\"M216,112v96a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V112A16,16,0,0,1,56,96h64v48a8,8,0,0,0,16,0V96h64A16,16,0,0,1,216,112ZM136,43.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,69.66L120,43.31V96h16Z\"></path>"), w = S.from_svg("<path d=\"M176,104h24a8,8,0,0,1,8,8v96a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V112a8,8,0,0,1,8-8H80\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></path><polyline points=\"88 64 128 24 168 64\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></polyline><line x1=\"128\" y1=\"24\" x2=\"128\" y2=\"136\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line>", 1), T = S.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
|
|
17
19
|
function E(t, n) {
|
|
18
20
|
S.push(n, !0);
|
|
@@ -89,7 +91,7 @@ function N(e) {
|
|
|
89
91
|
//#endregion
|
|
90
92
|
//#region src/lib/api/transformers/series.ts
|
|
91
93
|
function P(e) {
|
|
92
|
-
let t = e.seriesId ?? e.id ?? 0, r = e,
|
|
94
|
+
let t = e.seriesId ?? e.id ?? 0, r = e, i = s(e.timeZone || r.timezone || r.time_zone), a = g(e.image || "", { cdn: !0 }), o = (e.occurrences || []).map((e) => {
|
|
93
95
|
let t = e.venue, n = t ? [t.name, t.stageName].filter(Boolean).join(" — ") : "", r = t ? t.googleLocationNameCache || [
|
|
94
96
|
t.address,
|
|
95
97
|
t.city,
|
|
@@ -107,7 +109,7 @@ function P(e) {
|
|
|
107
109
|
...n ? { venueName: n } : {},
|
|
108
110
|
...r ? { venueAddress: r } : {}
|
|
109
111
|
};
|
|
110
|
-
}), c = e.occurrences?.[0], l = c?.startDateTime ? n(c.startDateTime,
|
|
112
|
+
}), c = e.occurrences?.[0], l = c?.startDateTime ? n(c.startDateTime, i) : "", u = N(e.venue?.faq), d = (e.performers || []).map((e, t) => ({
|
|
111
113
|
id: t + 1,
|
|
112
114
|
displayName: e.displayName || [e.firstName, e.lastName].filter(Boolean).join(" "),
|
|
113
115
|
profileImage: e.profileImage || void 0
|
|
@@ -121,13 +123,13 @@ function P(e) {
|
|
|
121
123
|
startDateTime: c?.startDateTime || "",
|
|
122
124
|
endDateTime: c?.endDateTime || "",
|
|
123
125
|
doorsOpenTime: "",
|
|
124
|
-
timezone:
|
|
125
|
-
imageUrl:
|
|
126
|
+
timezone: i,
|
|
127
|
+
imageUrl: a,
|
|
126
128
|
venue: {
|
|
127
129
|
id: e.venue?.id || 0,
|
|
128
130
|
name: e.venue?.name || "",
|
|
129
131
|
address: f,
|
|
130
|
-
timezone:
|
|
132
|
+
timezone: i,
|
|
131
133
|
serviceFeePercentage: 0,
|
|
132
134
|
serviceFeeCents: 0,
|
|
133
135
|
taxPercentage: 0
|
|
@@ -139,7 +141,7 @@ function P(e) {
|
|
|
139
141
|
...x(e.venue),
|
|
140
142
|
status: "on_sale",
|
|
141
143
|
eventSeriesId: t,
|
|
142
|
-
seriesOccurrences:
|
|
144
|
+
seriesOccurrences: o,
|
|
143
145
|
isPasswordProtected: !1,
|
|
144
146
|
isRegistrationEvent: !1,
|
|
145
147
|
totalTicketsRemaining: 0,
|
|
@@ -155,12 +157,12 @@ function F(e) {
|
|
|
155
157
|
id: e.id,
|
|
156
158
|
name: e.title || "",
|
|
157
159
|
slug: e.slug || "",
|
|
158
|
-
image:
|
|
160
|
+
image: g(e.image || "", { cdn: !0 }),
|
|
159
161
|
startDateTime: e.startDateTime || "",
|
|
160
162
|
status: e.status || "on_sale",
|
|
161
163
|
timezone: e.timeZone || e.timezone || e.venue?.timeZone || e.venue?.timezone || "",
|
|
162
164
|
venueName: e.venue?.name || ""
|
|
163
|
-
})), n =
|
|
165
|
+
})), n = g(e.coverImage || "", { cdn: !0 });
|
|
164
166
|
return {
|
|
165
167
|
id: e.id,
|
|
166
168
|
title: e.collectionTitle || "",
|
|
@@ -170,13 +172,13 @@ function F(e) {
|
|
|
170
172
|
startDateTime: "",
|
|
171
173
|
endDateTime: "",
|
|
172
174
|
doorsOpenTime: "",
|
|
173
|
-
timezone:
|
|
175
|
+
timezone: o,
|
|
174
176
|
imageUrl: n,
|
|
175
177
|
venue: {
|
|
176
178
|
id: 0,
|
|
177
179
|
name: "",
|
|
178
180
|
address: "",
|
|
179
|
-
timezone:
|
|
181
|
+
timezone: o,
|
|
180
182
|
serviceFeePercentage: 0,
|
|
181
183
|
serviceFeeCents: 0,
|
|
182
184
|
taxPercentage: 0
|
|
@@ -196,12 +198,12 @@ function F(e) {
|
|
|
196
198
|
//#endregion
|
|
197
199
|
//#region src/lib/public-calendar-flow/transform.ts
|
|
198
200
|
function I(e) {
|
|
199
|
-
let t = c(), n = e.remainingCapacity ?? e.quantityRemaining ?? e.quantity ?? 0, r = e.salesBegin || e.salesStart || e.saleBegin || e.onSaleStart,
|
|
201
|
+
let t = c(), n = e.remainingCapacity ?? e.quantityRemaining ?? e.quantity ?? 0, r = e.salesBegin || e.salesStart || e.saleBegin || e.onSaleStart, o = e.salesEnd || e.saleEnd || e.onSaleEnd;
|
|
200
202
|
if (n <= 0) return "sold_out";
|
|
201
|
-
let
|
|
202
|
-
if (
|
|
203
|
-
let l =
|
|
204
|
-
return l &&
|
|
203
|
+
let s = i(o);
|
|
204
|
+
if (s && a(s, t) < 0) return "sales_ended";
|
|
205
|
+
let l = i(r);
|
|
206
|
+
return l && a(l, t) > 0 ? "coming_soon" : "on_sale";
|
|
205
207
|
}
|
|
206
208
|
function L(e, t, n = !1) {
|
|
207
209
|
let r = (e || "").toLowerCase().replace(/\s+/g, "_");
|
|
@@ -218,7 +220,7 @@ function L(e, t, n = !1) {
|
|
|
218
220
|
return r === "sold_out" || r === "soldout" ? "sold_out" : r === "coming_soon" || r === "comingsoon" ? "coming_soon" : r === "sales_ended" || r === "salesended" ? "sales_ended" : "on_sale";
|
|
219
221
|
}
|
|
220
222
|
function R(e) {
|
|
221
|
-
let r = b(e),
|
|
223
|
+
let r = b(e), i = r.venue || {}, a = s(r.timeZone || r.timezone || i.timeZone || i.timezone), o = (e.availableTickets || []).map((e) => ({
|
|
222
224
|
id: e.id || e.ID,
|
|
223
225
|
name: e.name || e.title || "",
|
|
224
226
|
description: e.description || void 0,
|
|
@@ -232,24 +234,25 @@ function R(e) {
|
|
|
232
234
|
salesStartDate: e.salesBegin || e.salesStart || e.saleBegin || e.onSaleStart || void 0,
|
|
233
235
|
salesEndDate: e.salesEnd || e.saleEnd || e.onSaleEnd || void 0,
|
|
234
236
|
isDonation: e.type === 2 || e.ticketType === 2 || e.isDonation === !0,
|
|
235
|
-
isHidden: e.isHidden === !0 || typeof e.visibility == "number" && e.visibility >=
|
|
237
|
+
isHidden: e.isHidden === !0 || typeof e.visibility == "number" && e.visibility >= _.HIDDEN,
|
|
236
238
|
ticketType: e.type || e.ticketType || void 0,
|
|
237
239
|
sectionName: e.sectionName || e.section || void 0
|
|
238
|
-
})), c =
|
|
239
|
-
id:
|
|
240
|
-
name:
|
|
241
|
-
address:
|
|
242
|
-
timezone:
|
|
243
|
-
serviceFeePercentage:
|
|
244
|
-
serviceFeeCents:
|
|
245
|
-
taxPercentage:
|
|
246
|
-
contactEmail:
|
|
247
|
-
|
|
240
|
+
})), c = o.filter((e) => !e.isHidden && !e.isDonation && e.status === "on_sale"), l = c.reduce((e, t) => e + t.quantityAvailable, 0), u = c.reduce((e, t) => e + t.quantityTotal, 0), d = e.hasPurchasableHiddenTickets === !0, f = L(r.status, o, d), p = e.image || e.imageUrl || e.image_url || "", m = p.startsWith("http") ? p : g(p, { cdn: !0 }), h = {
|
|
241
|
+
id: i.id || i.ID || 0,
|
|
242
|
+
name: i.name || i.googleLocationNameCache || "",
|
|
243
|
+
address: i.address || i.googleLocationNameCache || "",
|
|
244
|
+
timezone: a,
|
|
245
|
+
serviceFeePercentage: i.serviceFeePercentage ?? i.fee ?? 0,
|
|
246
|
+
serviceFeeCents: i.serviceFeeCents == null ? 0 : i.serviceFeeCents,
|
|
247
|
+
taxPercentage: i.taxPercentage ?? i.tax ?? 0,
|
|
248
|
+
contactEmail: i.contactEmail || i.email || void 0,
|
|
249
|
+
...typeof i.hasMultipleStages == "boolean" ? { hasMultipleStages: i.hasMultipleStages } : {}
|
|
250
|
+
}, v = (r.performers || []).map((e) => ({
|
|
248
251
|
id: e.id || e.ID,
|
|
249
252
|
displayName: e.displayName || e.name || "",
|
|
250
253
|
profileImage: e.avatar || e.profileImage || void 0,
|
|
251
254
|
role: e.role || void 0
|
|
252
|
-
})),
|
|
255
|
+
})), y = r.faqs ? N(r.faqs) : N(i.faq), S = (r.showtimes || []).filter((e) => e.published !== !1).map((e, t) => ({
|
|
253
256
|
id: e.id ?? e.eventId ?? t + 1,
|
|
254
257
|
slug: e.slug || "",
|
|
255
258
|
startDateTime: e.startDateTime || e.startTime || "",
|
|
@@ -258,7 +261,7 @@ function R(e) {
|
|
|
258
261
|
ctaText: e.ctaState?.text || "",
|
|
259
262
|
ctaDisabled: e.ctaState?.disabled || !1,
|
|
260
263
|
...e.ctaState?.reason ? { ctaReason: e.ctaState.reason } : {}
|
|
261
|
-
})), C = r.startDateTime ? n(r.startDateTime,
|
|
264
|
+
})), C = r.startDateTime ? n(r.startDateTime, a) : "";
|
|
262
265
|
return {
|
|
263
266
|
id: r.id,
|
|
264
267
|
title: r.title || "",
|
|
@@ -268,15 +271,15 @@ function R(e) {
|
|
|
268
271
|
startDateTime: r.startDateTime || "",
|
|
269
272
|
endDateTime: r.endDateTime || "",
|
|
270
273
|
doorsOpenTime: r.doorsOpenTime || "",
|
|
271
|
-
timezone:
|
|
272
|
-
imageUrl:
|
|
273
|
-
venue:
|
|
274
|
-
performers:
|
|
275
|
-
tickets:
|
|
274
|
+
timezone: a,
|
|
275
|
+
imageUrl: m,
|
|
276
|
+
venue: h,
|
|
277
|
+
performers: v,
|
|
278
|
+
tickets: o,
|
|
276
279
|
...Array.isArray(e.addOns) && e.addOns.length > 0 ? { addOns: e.addOns } : {},
|
|
277
|
-
faqs:
|
|
278
|
-
disclaimer: r.disclaimer ||
|
|
279
|
-
...x(
|
|
280
|
+
faqs: y,
|
|
281
|
+
disclaimer: r.disclaimer || i.disclaimer || void 0,
|
|
282
|
+
...x(i),
|
|
280
283
|
status: f,
|
|
281
284
|
salesStatus: r.salesStatus || void 0,
|
|
282
285
|
...d ? { hasPurchasableHiddenTickets: !0 } : {},
|
|
@@ -297,8 +300,8 @@ function R(e) {
|
|
|
297
300
|
postSalesMessage: r.postSalesMessage || void 0,
|
|
298
301
|
...V(f, r),
|
|
299
302
|
collectionId: r.collectionId || void 0,
|
|
300
|
-
venueAddressLines: D(
|
|
301
|
-
googleMapsUrl: O(
|
|
303
|
+
venueAddressLines: D(i.address || i.googleLocationNameCache || ""),
|
|
304
|
+
googleMapsUrl: O(i.address || i.googleLocationNameCache || "")
|
|
302
305
|
};
|
|
303
306
|
}
|
|
304
307
|
function z(e) {
|
|
@@ -370,9 +373,9 @@ function G({ copiedMs: e = 2500 } = {}) {
|
|
|
370
373
|
var K = /* @__PURE__ */ new Map();
|
|
371
374
|
function q(e, t = "event_page", n) {
|
|
372
375
|
if (!e) return Promise.resolve([]);
|
|
373
|
-
let r = `${
|
|
376
|
+
let r = `${p()}/events/${e}/recommendations?surface=${t}`, i = n || d() || "", a = `${r}|${i}`, o = K.get(a);
|
|
374
377
|
if (o) return o;
|
|
375
|
-
let s =
|
|
378
|
+
let s = f(r, { widgetKey: i || void 0 }).then((e) => e?.recommendations ?? [], () => []);
|
|
376
379
|
K.set(a, s);
|
|
377
380
|
let c = () => K.delete(a);
|
|
378
381
|
return s.then(c, c), s;
|
|
@@ -398,7 +401,7 @@ function J(e) {
|
|
|
398
401
|
var Y = S.from_html("<span class=\"self-start rounded-full bg-status-info-bg px-2 py-0.5 text-status-info-text\" data-testid=\"recommendation-why\"> </span>"), X = S.from_html("<div class=\"flex flex-col gap-2\"><!> <!></div>"), Z = S.from_html("<section data-testid=\"recommendations-rail\"><div class=\"mb-4\"><!></div> <!></section>");
|
|
399
402
|
function Q(e, t) {
|
|
400
403
|
S.push(t, !0);
|
|
401
|
-
let n = S.prop(t, "surface", 3, "event_page"), r = S.prop(t, "locale", 3, "en"), i = S.prop(t, "widgetKey", 19,
|
|
404
|
+
let n = S.prop(t, "surface", 3, "event_page"), r = S.prop(t, "locale", 3, "en"), i = S.prop(t, "widgetKey", 19, l), a = S.state(S.proxy([]));
|
|
402
405
|
S.user_effect(() => {
|
|
403
406
|
let e = t.eventId, r = !0;
|
|
404
407
|
return q(e, n(), i()).then((n) => {
|
|
@@ -407,7 +410,7 @@ function Q(e, t) {
|
|
|
407
410
|
r = !1;
|
|
408
411
|
};
|
|
409
412
|
});
|
|
410
|
-
let o = S.derived(() =>
|
|
413
|
+
let o = S.derived(() => v(J(S.get(a))));
|
|
411
414
|
function s(e) {
|
|
412
415
|
let n = c(e);
|
|
413
416
|
if (!n) return "";
|
|
@@ -423,7 +426,7 @@ function Q(e, t) {
|
|
|
423
426
|
function c(e) {
|
|
424
427
|
return S.get(a).find((t) => t.eventId === e.eventID);
|
|
425
428
|
}
|
|
426
|
-
function
|
|
429
|
+
function d(e) {
|
|
427
430
|
let n = c(e)?.url;
|
|
428
431
|
if (n) {
|
|
429
432
|
window.location.assign(n);
|
|
@@ -431,9 +434,9 @@ function Q(e, t) {
|
|
|
431
434
|
}
|
|
432
435
|
t.onselect?.(e);
|
|
433
436
|
}
|
|
434
|
-
var
|
|
437
|
+
var f = S.comment(), p = S.first_child(f), g = (e) => {
|
|
435
438
|
var n = Z(), i = S.child(n), a = S.child(i);
|
|
436
|
-
|
|
439
|
+
u(a, {
|
|
437
440
|
size: "xl",
|
|
438
441
|
weight: "semibold",
|
|
439
442
|
children: (e, n) => {
|
|
@@ -444,7 +447,7 @@ function Q(e, t) {
|
|
|
444
447
|
$$slots: { default: !0 }
|
|
445
448
|
}), S.reset(i);
|
|
446
449
|
var c = S.sibling(i, 2);
|
|
447
|
-
|
|
450
|
+
m(c, {
|
|
448
451
|
cols: "auto",
|
|
449
452
|
minWidth: "240px",
|
|
450
453
|
gap: "6",
|
|
@@ -452,36 +455,36 @@ function Q(e, t) {
|
|
|
452
455
|
var i = S.comment(), a = S.first_child(i);
|
|
453
456
|
S.each(a, 17, () => S.get(o), (e) => e.event.eventID, (e, n) => {
|
|
454
457
|
let i = S.derived(() => {
|
|
455
|
-
let { pillEvents: e, ...i } =
|
|
458
|
+
let { pillEvents: e, ...i } = y(S.get(n), t.labels, r());
|
|
456
459
|
return {
|
|
457
460
|
_pillEvents: e,
|
|
458
461
|
card: i
|
|
459
462
|
};
|
|
460
463
|
});
|
|
461
464
|
var a = X(), o = S.child(a);
|
|
462
|
-
|
|
465
|
+
h(o, S.spread_props(() => S.get(i).card, {
|
|
463
466
|
layout: "vertical",
|
|
464
467
|
density: "standard",
|
|
465
468
|
get placeholderImage() {
|
|
466
469
|
return t.placeholderImage;
|
|
467
470
|
},
|
|
468
|
-
onclick: () =>
|
|
471
|
+
onclick: () => d(S.get(n).event)
|
|
469
472
|
}));
|
|
470
|
-
var c = S.sibling(o, 2),
|
|
473
|
+
var c = S.sibling(o, 2), l = (e) => {
|
|
471
474
|
var t = Y(), r = S.child(t, !0);
|
|
472
475
|
S.reset(t), S.template_effect((e) => S.set_text(r, e), [() => s(S.get(n).event)]), S.append(e, t);
|
|
473
|
-
},
|
|
476
|
+
}, u = S.derived(() => s(S.get(n).event));
|
|
474
477
|
S.if(c, (e) => {
|
|
475
|
-
S.get(
|
|
478
|
+
S.get(u) && e(l);
|
|
476
479
|
}), S.reset(a), S.append(e, a);
|
|
477
480
|
}), S.append(e, i);
|
|
478
481
|
},
|
|
479
482
|
$$slots: { default: !0 }
|
|
480
483
|
}), S.reset(n), S.append(e, n);
|
|
481
484
|
};
|
|
482
|
-
S.if(
|
|
483
|
-
S.get(o).length > 0 && e(
|
|
484
|
-
}), S.append(e,
|
|
485
|
+
S.if(p, (e) => {
|
|
486
|
+
S.get(o).length > 0 && e(g);
|
|
487
|
+
}), S.append(e, f), S.pop();
|
|
485
488
|
}
|
|
486
489
|
//#endregion
|
|
487
490
|
export { R as a, E as c, U as i, G as n, B as o, W as r, z as s, Q as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { X as e, _ as t } from "./datetime-
|
|
2
|
-
import { t as n } from "./WarningCircleIcon-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { X as e, _ as t } from "./datetime-B0mHwpmb.js";
|
|
2
|
+
import { t as n } from "./WarningCircleIcon-ClRHaffl.js";
|
|
3
|
+
import { D as r, E as i, M as a, i as o, k as s, t as c } from "./defaultLabels-C8IfDtR9.js";
|
|
4
|
+
import { E as l } from "./api--R8K0DjS.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
6
6
|
import * as u from "svelte/internal/client";
|
|
7
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/SubtractIcon.svelte
|
|
7
|
+
//#region ../../../jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/SubtractIcon.svelte
|
|
8
8
|
var d = u.from_svg("<path d=\"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z\"></path>"), f = u.from_svg("<line x1=\"40\" y1=\"128\" x2=\"216\" y2=\"128\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line>"), p = u.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
|
|
9
9
|
function m(t, n) {
|
|
10
10
|
u.push(n, !0);
|
|
@@ -56,8 +56,8 @@ function b(e, t, n) {
|
|
|
56
56
|
function x(e, t, n, o) {
|
|
57
57
|
if (!g(o) || !(n > 0)) return 0;
|
|
58
58
|
if (!_(o)) return b(t, n, o);
|
|
59
|
-
let c = e.filter(({ quantity: e }) => e > 0).map(({ unitPrice: e, quantity: t }) =>
|
|
60
|
-
return
|
|
59
|
+
let c = e.filter(({ quantity: e }) => e > 0).map(({ unitPrice: e, quantity: t }) => s(r(b(e, n, o)), t));
|
|
60
|
+
return i(a(c));
|
|
61
61
|
}
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/components/ScarcityBadge.svelte
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./Event-
|
|
2
|
-
import { g as t } from "./sizing-
|
|
3
|
-
import { s as n } from "./RecommendationsRail-
|
|
1
|
+
import { t as e } from "./Event-C8Y3zpPM.js";
|
|
2
|
+
import { g as t } from "./sizing-DFjg7-wy.js";
|
|
3
|
+
import { s as n } from "./RecommendationsRail-QP0CJ7-3.js";
|
|
4
4
|
import { t as r } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
|
|
5
5
|
import { t as i } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
6
6
|
import "svelte/internal/disclose-version";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as e, v as t } from "./sizing-
|
|
2
|
-
import {
|
|
1
|
+
import { l as e, v as t } from "./sizing-DFjg7-wy.js";
|
|
2
|
+
import { V as n } from "./defaultLabels-C8IfDtR9.js";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as r from "svelte/internal/client";
|
|
5
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Spinner/Spinner.svelte
|
|
5
|
+
//#region ../../../jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/primitives/Spinner/Spinner.svelte
|
|
6
6
|
var i = r.from_html("<span class=\"sr-only\" role=\"status\" aria-live=\"polite\"> </span>"), a = r.from_html("<svg aria-hidden=\"true\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"></path><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"></path></svg> <!>", 1);
|
|
7
7
|
function o(o, s) {
|
|
8
8
|
r.push(s, !0);
|