@getmicdrop/venue-calendar 4.2.32 → 4.2.34
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 +809 -809
- package/dist/{ArrowLeftIcon-B92-MN6-.js → ArrowLeftIcon-D2dcPIYB.js} +1 -1
- package/dist/{Badge-Bv_MT-Vt.js → Badge-Bk1dnG89.js} +1 -1
- package/dist/{BlockPlaceholder-DuE4xLS_.js → BlockPlaceholder-DJLtnBDw.js} +1 -1
- package/dist/{Calendar-CXq_H56Z.js → Calendar-CzvJjOKf.js} +19 -19
- package/dist/{CalendarFoundryView-DxQKDDgF.js → CalendarFoundryView-DWjYFSEw.js} +980 -960
- package/dist/{CalendarIcon-pJ01x71c.js → CalendarIcon-CkJFNFxp.js} +1 -1
- package/dist/{CartView-DRVzz2Jv.js → CartView-DidUQzO-.js} +532 -532
- package/dist/{Checkout-Cdw5BIfy.js → Checkout-1NyqTUI8.js} +129 -129
- package/dist/{Checkout-DmermPNB.js → Checkout-eIj6xGgL.js} +173 -173
- package/dist/{CheckoutTimer-Bz-HJhV2.js → CheckoutTimer-DFIHUIZl.js} +5 -5
- package/dist/{ChevronDownIcon-k93EaHQh.js → ChevronDownIcon-rsVUoX0r.js} +1 -1
- package/dist/{ClockIcon-hnrV9bwg.js → ClockIcon-CIwbKXZX.js} +1 -1
- package/dist/{CloseIcon-CdZ5mNTK.js → CloseIcon-B7HoEcON.js} +1 -1
- package/dist/{CollectionView-C15_ZzBb.js → CollectionView-Dt3NmdBh.js} +9 -10
- package/dist/{Event-B0IdtMpP.js → Event-B0hDsxnc.js} +377 -359
- package/dist/{EventPage-B4y4n5md.js → EventPage-De-7chl3.js} +124 -125
- package/dist/{Heading-Dfo3bjyn.js → Heading-CQlZrwry.js} +1 -1
- package/dist/{Image-B3cEndLZ.js → Image-T6dKIfNx.js} +1 -1
- package/dist/{Input-BntIoPeV.js → Input-8KhoOdg-.js} +1 -1
- package/dist/{MailIcon-CMyjGJ4_.js → MailIcon-CSR5vhKU.js} +1 -1
- package/dist/{Modal-B6BsMEaP.js → Modal-D3Otve45.js} +2 -2
- package/dist/{ModalFooter-D1XdQEhH.js → ModalFooter-fv8mC75I.js} +162 -147
- package/dist/{PasswordInput-C91gXtFY.js → PasswordInput-B_6cNrlw.js} +1 -1
- package/dist/{ScarcityBadge-C0YeWGkd.js → ScarcityBadge-CtHuWSRt.js} +23 -22
- package/dist/{SeriesPage-1ZZgy2K-.js → SeriesPage-BFYmtgoi.js} +4 -4
- package/dist/{Spinner-BwiDys7C.js → Spinner-fFAXvj_B.js} +1 -1
- package/dist/{Success-BxvH6W_x.js → Success-BIVQOUqu.js} +52 -52
- package/dist/{TagIcon-BkPcpKdu.js → TagIcon-Do5sN8xR.js} +1 -1
- package/dist/ViewTicketsEmbed-CbbE-8EX.js +727 -0
- package/dist/{WarningCircleIcon-D78IFaPY.js → WarningCircleIcon-DuqytsVW.js} +1 -1
- package/dist/{WarningTriIcon-6WbGCso4.js → WarningTriIcon-CW-j3Vwq.js} +1 -1
- package/dist/{__SKIP_PATHS__-tAxwP7_6.js → __SKIP_PATHS__-Chv7DW7h.js} +1 -1
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +299 -209
- package/dist/api/gift-cards.d.ts +1 -1
- package/dist/api/orders.d.ts +2 -2
- package/dist/api/types.d.ts +554 -554
- package/dist/{colors-DbQNhbC_.js → colors-BND7shPA.js} +119 -117
- package/dist/constants-BYtFptYp.js +356 -0
- package/dist/{copyToClipboard-DAGJHhtn.js → copyToClipboard-CcwaUGGt.js} +1 -1
- package/dist/{de-BG-86m10.js → de-8N03rEoe.js} +4 -1
- package/dist/{de-BZpzzwT9.js → de-CgHrjezX.js} +57 -1
- package/dist/{timezones-C5l0SSHK.js → defaultLabels-CGMGBy-u.js} +501 -1
- package/dist/{es-9jwSoUSD.js → es-D6ThNLUc.js} +45 -1
- package/dist/{es-B1RPM3H_.js → es-tRMGbtbB.js} +4 -1
- package/dist/{event-v8d4wRpB.js → event-CbAGNxgd.js} +1 -1
- package/dist/{event-transform-lC22EDSL.js → event-transform-DnvOiDVn.js} +4 -4
- package/dist/{eventStatusStream-CopqZ2oa.js → eventStatusStream-BIn6Dzkw.js} +5 -5
- package/dist/{fr-B6FgrH9s.js → fr-DDnljtQz.js} +4 -1
- package/dist/{fr-fYY2O8Ab.js → fr-W0OOohju.js} +57 -1
- package/dist/{href-BH6l_kZx.js → href-D2-tmkMF.js} +2 -2
- package/dist/{i18n-CIVh_urJ.js → i18n-4k6uF1EX.js} +126 -126
- package/dist/i18n-FnFHQ5QU.js +28 -0
- package/dist/{id-CK7hal8E.js → id-BZshacSm.js} +4 -1
- package/dist/{id-But8qcA2.js → id-xgAFN1EH.js} +57 -1
- package/dist/{it-BdV8d4GZ.js → it-B6Rbpjec.js} +4 -1
- package/dist/{it-Cr9Quauw.js → it-BhuT9BcE.js} +57 -1
- package/dist/{ja-DKVQltc4.js → ja-Bmj-bPuM.js} +4 -1
- package/dist/{ja-CNXwg0_H.js → ja-yca07ASz.js} +57 -1
- package/dist/{ko-DtoIJliT.js → ko-Pfftd2u0.js} +57 -1
- package/dist/{ko-DpIk-4pN.js → ko-r-ecuHZ5.js} +4 -1
- package/dist/{labels-BUH8ouCu.js → labels-Cs7xp4ug.js} +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/de.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/es.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/fr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/id.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/it.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/ja.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/ko.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/nl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/pl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/pt-br.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/tr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/zh.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/de.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/es.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/fr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/id.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/it.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/ja.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/ko.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/nl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/pl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/pt-br.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/tr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/zh.js +1 -1
- package/dist/{modalManager.svelte-BLfn6RXD.js → modalManager.svelte-vILq6Thx.js} +2 -2
- package/dist/{nl-Dbs4YQMw.js → nl-CQEhSA2l.js} +57 -1
- package/dist/{nl-C-dVfidI.js → nl-CS1da1Bc.js} +4 -1
- package/dist/{order-totals-CeeD6GjZ.js → order-totals-CSDXY65z.js} +31 -31
- package/dist/{orders-BuGy4vpJ.js → orders-CH2nnS3m.js} +365 -209
- package/dist/{phoneUtils-BDV9Eggn.js → phoneUtils-BtJ3FhMK.js} +1 -1
- package/dist/{pixels-D6vqcuy2.js → pixels-BK7PGnme.js} +11 -11
- package/dist/{pl-CnFcI33y.js → pl-C2bkE2WA.js} +4 -1
- package/dist/{pl-Da6lsZXQ.js → pl-CyWqKYE8.js} +57 -1
- package/dist/{promo-DtLZRskK.js → promo-Cy4LPBAC.js} +3 -3
- package/dist/{pt-br-6QYijxa0.js → pt-br--DIxBDjz.js} +4 -1
- package/dist/{pt-br-D1wHabRR.js → pt-br-BC2I7f8-.js} +57 -1
- package/dist/seo/types.d.ts +156 -156
- package/dist/{serverTotals-t2UmKkhC.js → serverTotals-C3VhWitQ.js} +1 -1
- package/dist/{shareCopyFeedback.svelte-B-M53Wj2.js → shareCopyFeedback.svelte-DTl5jJ2n.js} +55 -55
- package/dist/{showcase-state-options-VZcqIjpF.js → showcase-state-options-CeCdn8_C.js} +1 -1
- package/dist/{to-event-card-props-CpXtfoKx.js → to-event-card-props-BmsDr8T3.js} +31 -31
- package/dist/{tr-Pv_m8usO.js → tr-Bk7x5MW7.js} +4 -1
- package/dist/{tr-CpN50zWw.js → tr-CNjaJc_1.js} +57 -1
- package/dist/types/index.d.ts +509 -509
- package/dist/{utils-CtqaTDLB.js → utils-pF15CnBe.js} +49 -49
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +711 -735
- package/dist/venue-calendar.iife.js +60 -61
- package/dist/venue-calendar.umd.js +54 -55
- package/dist/{zh-CAAnH4T4.js → zh-C8kyVh24.js} +4 -1
- package/dist/{zh-CwlRq_aG.js → zh-DOeb3_A1.js} +57 -1
- package/package.json +3 -3
- package/src/lib/theme.js +222 -222
- package/dist/ViewTicketsEmbed-DVurn8FG.js +0 -690
- package/dist/constants-ENlpIS8i.js +0 -822
- package/dist/createI18n-DBUVdZra.js +0 -75
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as s } from "./copyToClipboard-
|
|
4
|
-
import { r as c, t as l } from "./event-
|
|
1
|
+
import { D as e, b as t, h as n, x as r } from "./defaultLabels-CGMGBy-u.js";
|
|
2
|
+
import { a as i, m as a, q as o } from "./constants-BYtFptYp.js";
|
|
3
|
+
import { t as s } from "./copyToClipboard-CcwaUGGt.js";
|
|
4
|
+
import { r as c, t as l } from "./event-CbAGNxgd.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
6
6
|
import * as u from "svelte/internal/client";
|
|
7
7
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
|
|
8
8
|
var d = u.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>"), f = u.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), 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(e, t) {
|
|
10
10
|
u.push(t, !0);
|
|
11
|
-
let n = u.prop(t, "size", 3, "24"), r = u.prop(t, "color", 3, "currentColor"),
|
|
11
|
+
let n = u.prop(t, "size", 3, "24"), r = u.prop(t, "color", 3, "currentColor"), i = u.prop(t, "class", 3, ""), a = o(), s = u.derived(() => t.weight ?? a?.weight ?? "regular");
|
|
12
12
|
var c = p();
|
|
13
13
|
let l;
|
|
14
14
|
var m = u.child(c), h = (e) => {
|
|
@@ -21,7 +21,7 @@ function m(e, t) {
|
|
|
21
21
|
u.if(m, (e) => {
|
|
22
22
|
u.get(s) === "fill" ? e(h) : e(g, -1);
|
|
23
23
|
}), u.reset(c), u.template_effect(() => {
|
|
24
|
-
u.set_class(c, 0, u.clsx(
|
|
24
|
+
u.set_class(c, 0, u.clsx(i())), u.set_attribute(c, "width", n()), u.set_attribute(c, "height", n()), l = u.set_style(c, "", l, { color: r() === "currentColor" ? void 0 : r() });
|
|
25
25
|
}), u.append(e, c), u.pop();
|
|
26
26
|
}
|
|
27
27
|
//#endregion
|
|
@@ -92,7 +92,7 @@ function S(e) {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/lib/api/transformers/series.ts
|
|
94
94
|
function C(e) {
|
|
95
|
-
let
|
|
95
|
+
let t = e, n = r(e.timeZone || t.timezone || t.time_zone || "UTC"), a = c(e.image || "", { cdn: !0 }), o = (e.occurrences || []).map((e) => {
|
|
96
96
|
let t = e.venue, n = t ? [t.name, t.stageName].filter(Boolean).join(" — ") : "", r = t ? t.googleLocationNameCache || [
|
|
97
97
|
t.address,
|
|
98
98
|
t.city,
|
|
@@ -109,7 +109,7 @@ function C(e) {
|
|
|
109
109
|
...n ? { venueName: n } : {},
|
|
110
110
|
...r ? { venueAddress: r } : {}
|
|
111
111
|
};
|
|
112
|
-
}), s = e.occurrences?.[0], l = s?.startDateTime ?
|
|
112
|
+
}), s = e.occurrences?.[0], l = s?.startDateTime ? i(s.startDateTime, n) : "", u = S(e.venue?.faq), d = (e.performers || []).map((e, t) => ({
|
|
113
113
|
id: t + 1,
|
|
114
114
|
displayName: e.displayName || [e.firstName, e.lastName].filter(Boolean).join(" "),
|
|
115
115
|
profileImage: e.profileImage || void 0
|
|
@@ -123,13 +123,13 @@ function C(e) {
|
|
|
123
123
|
startDateTime: s?.startDateTime || "",
|
|
124
124
|
endDateTime: s?.endDateTime || "",
|
|
125
125
|
doorsOpenTime: "",
|
|
126
|
-
timezone:
|
|
127
|
-
imageUrl:
|
|
126
|
+
timezone: n,
|
|
127
|
+
imageUrl: a,
|
|
128
128
|
venue: {
|
|
129
129
|
id: e.venue?.id || 0,
|
|
130
130
|
name: e.venue?.name || "",
|
|
131
131
|
address: f,
|
|
132
|
-
timezone:
|
|
132
|
+
timezone: n,
|
|
133
133
|
serviceFeePercentage: 0,
|
|
134
134
|
serviceFeeCents: 0,
|
|
135
135
|
taxPercentage: 0
|
|
@@ -195,12 +195,12 @@ function w(e) {
|
|
|
195
195
|
}
|
|
196
196
|
//#endregion
|
|
197
197
|
//#region src/lib/public-calendar-flow/transform.ts
|
|
198
|
-
function T(
|
|
199
|
-
let i = e(), a =
|
|
198
|
+
function T(r) {
|
|
199
|
+
let i = e(), a = r.remainingCapacity ?? r.quantityRemaining ?? r.quantity ?? 0, o = r.salesBegin || r.salesStart || r.saleBegin || r.onSaleStart, s = r.salesEnd || r.saleEnd || r.onSaleEnd;
|
|
200
200
|
if (a <= 0) return "sold_out";
|
|
201
|
-
let c =
|
|
201
|
+
let c = t(s);
|
|
202
202
|
if (c && n(c, i) < 0) return "sales_ended";
|
|
203
|
-
let l =
|
|
203
|
+
let l = t(o);
|
|
204
204
|
return l && n(l, i) > 0 ? "coming_soon" : "on_sale";
|
|
205
205
|
}
|
|
206
206
|
function E(e, t, n = !1) {
|
|
@@ -218,11 +218,11 @@ function E(e, t, n = !1) {
|
|
|
218
218
|
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
219
|
}
|
|
220
220
|
function D(e) {
|
|
221
|
-
let
|
|
221
|
+
let t = l(e), n = t.venue || {}, o = r(t.timeZone || t.timezone || n.timeZone || n.timezone || "UTC"), s = (e.availableTickets || []).map((e) => ({
|
|
222
222
|
id: e.id || e.ID,
|
|
223
223
|
name: e.name || e.title || "",
|
|
224
224
|
description: e.description || void 0,
|
|
225
|
-
price:
|
|
225
|
+
price: a(e.price),
|
|
226
226
|
fee: e.fee == null ? 0 : e.fee,
|
|
227
227
|
quantityAvailable: e.remainingCapacity ?? e.quantityRemaining ?? e.quantity ?? 0,
|
|
228
228
|
quantityTotal: e.totalCapacity ?? e.quantity ?? 0,
|
|
@@ -235,21 +235,21 @@ function D(e) {
|
|
|
235
235
|
isHidden: e.visibility === 2 || e.isHidden === !0,
|
|
236
236
|
ticketType: e.type || e.ticketType || void 0,
|
|
237
237
|
sectionName: e.sectionName || e.section || void 0
|
|
238
|
-
})), u = s.filter((e) => !e.isHidden && !e.isDonation), d = u.reduce((e, t) => e + t.quantityAvailable, 0), f = u.reduce((e, t) => e + t.quantityTotal, 0), p = e.hasPurchasableHiddenTickets === !0, m = E(
|
|
239
|
-
id:
|
|
240
|
-
name:
|
|
241
|
-
address:
|
|
242
|
-
timezone:
|
|
243
|
-
serviceFeePercentage:
|
|
244
|
-
serviceFeeCents:
|
|
245
|
-
taxPercentage:
|
|
246
|
-
contactEmail:
|
|
247
|
-
}, x = (
|
|
238
|
+
})), u = s.filter((e) => !e.isHidden && !e.isDonation), d = u.reduce((e, t) => e + t.quantityAvailable, 0), f = u.reduce((e, t) => e + t.quantityTotal, 0), p = e.hasPurchasableHiddenTickets === !0, m = E(t.status, s, p), v = e.image || e.imageUrl || e.image_url || "", y = v.startsWith("http") ? v : c(v, { cdn: !0 }), b = {
|
|
239
|
+
id: n.id || n.ID || 0,
|
|
240
|
+
name: n.name || n.googleLocationNameCache || "",
|
|
241
|
+
address: n.address || n.googleLocationNameCache || "",
|
|
242
|
+
timezone: o,
|
|
243
|
+
serviceFeePercentage: n.serviceFeePercentage ?? n.fee ?? 0,
|
|
244
|
+
serviceFeeCents: n.serviceFeeCents == null ? 0 : n.serviceFeeCents,
|
|
245
|
+
taxPercentage: n.taxPercentage ?? n.tax ?? 0,
|
|
246
|
+
contactEmail: n.contactEmail || n.email || void 0
|
|
247
|
+
}, x = (t.performers || []).map((e) => ({
|
|
248
248
|
id: e.id || e.ID,
|
|
249
249
|
displayName: e.displayName || e.name || "",
|
|
250
250
|
profileImage: e.avatar || e.profileImage || void 0,
|
|
251
251
|
role: e.role || void 0
|
|
252
|
-
})), C =
|
|
252
|
+
})), C = t.faqs ? S(t.faqs) : S(n.faq), w = (t.showtimes || []).filter((e) => e.published !== !1).map((e, t) => ({
|
|
253
253
|
id: e.id ?? e.eventId ?? t + 1,
|
|
254
254
|
slug: e.slug || "",
|
|
255
255
|
startDateTime: e.startDateTime || e.startTime || "",
|
|
@@ -257,45 +257,45 @@ function D(e) {
|
|
|
257
257
|
status: e.ctaState?.reason === "sold_out" ? "sold_out" : "on_sale",
|
|
258
258
|
ctaText: e.ctaState?.text || "Get tickets",
|
|
259
259
|
ctaDisabled: e.ctaState?.disabled || !1
|
|
260
|
-
})), D =
|
|
260
|
+
})), D = t.startDateTime ? i(t.startDateTime, o) : "";
|
|
261
261
|
return {
|
|
262
|
-
id:
|
|
263
|
-
title:
|
|
264
|
-
slug:
|
|
265
|
-
description:
|
|
262
|
+
id: t.id,
|
|
263
|
+
title: t.title || "",
|
|
264
|
+
slug: t.slug || "",
|
|
265
|
+
description: t.description || t.eventSummary || "",
|
|
266
266
|
date: D,
|
|
267
|
-
startDateTime:
|
|
268
|
-
endDateTime:
|
|
269
|
-
doorsOpenTime:
|
|
270
|
-
timezone:
|
|
267
|
+
startDateTime: t.startDateTime || "",
|
|
268
|
+
endDateTime: t.endDateTime || "",
|
|
269
|
+
doorsOpenTime: t.doorsOpenTime || "",
|
|
270
|
+
timezone: o,
|
|
271
271
|
imageUrl: y,
|
|
272
272
|
venue: b,
|
|
273
273
|
performers: x,
|
|
274
274
|
tickets: s,
|
|
275
275
|
faqs: C,
|
|
276
|
-
disclaimer:
|
|
277
|
-
...h(
|
|
276
|
+
disclaimer: t.disclaimer || n.disclaimer || void 0,
|
|
277
|
+
...h(n),
|
|
278
278
|
status: m,
|
|
279
|
-
salesStatus:
|
|
279
|
+
salesStatus: t.salesStatus || void 0,
|
|
280
280
|
...p ? { hasPurchasableHiddenTickets: !0 } : {},
|
|
281
|
-
eventSeriesId:
|
|
281
|
+
eventSeriesId: t.eventSeriesId || void 0,
|
|
282
282
|
seriesOccurrences: w.length ? w : void 0,
|
|
283
|
-
isPasswordProtected:
|
|
284
|
-
isRegistrationEvent:
|
|
283
|
+
isPasswordProtected: t.hasPassword === !0 || !!t.password,
|
|
284
|
+
isRegistrationEvent: t.ticketType === 1 || t.eventTicketingType === 1,
|
|
285
285
|
totalTicketsRemaining: d,
|
|
286
286
|
totalTicketsCapacity: f,
|
|
287
|
-
stageName:
|
|
288
|
-
ageRestriction:
|
|
289
|
-
displayAgeRestriction:
|
|
290
|
-
displayStartTime:
|
|
291
|
-
displayEndTime:
|
|
292
|
-
displayDoorsTime:
|
|
293
|
-
displayTicketsLeft:
|
|
294
|
-
summary:
|
|
295
|
-
postSalesMessage:
|
|
296
|
-
collectionId:
|
|
297
|
-
venueAddressLines: g(
|
|
298
|
-
googleMapsUrl: _(
|
|
287
|
+
stageName: t.stage?.name || t.stageName || void 0,
|
|
288
|
+
ageRestriction: t.ageRestriction || void 0,
|
|
289
|
+
displayAgeRestriction: t.displayAgeRestriction ?? !1,
|
|
290
|
+
displayStartTime: t.displayStartTime ?? !0,
|
|
291
|
+
displayEndTime: t.displayEndTime ?? !0,
|
|
292
|
+
displayDoorsTime: t.displayDoorsTime ?? !0,
|
|
293
|
+
displayTicketsLeft: t.displayTicketsLeft ?? !0,
|
|
294
|
+
summary: t.eventSummary || void 0,
|
|
295
|
+
postSalesMessage: t.postSalesMessage || void 0,
|
|
296
|
+
collectionId: t.collectionId || void 0,
|
|
297
|
+
venueAddressLines: g(n.address || n.googleLocationNameCache || ""),
|
|
298
|
+
googleMapsUrl: _(n.address || n.googleLocationNameCache || "")
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
301
|
function O(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as e } from "./Button-C4uFgl7L.js";
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as d } from "./Badge-
|
|
2
|
+
import { D as t, b as n, h as r, i, t as a, v as o } from "./defaultLabels-CGMGBy-u.js";
|
|
3
|
+
import { a as s, i as c, r as l, u } from "./constants-BYtFptYp.js";
|
|
4
|
+
import { t as d } from "./Badge-Bk1dnG89.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
6
6
|
import * as f from "svelte/internal/client";
|
|
7
7
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/BlurBackdropImage/BlurBackdropImage.svelte
|
|
@@ -296,54 +296,54 @@ function F(e) {
|
|
|
296
296
|
}
|
|
297
297
|
function I(e) {
|
|
298
298
|
if (F(e.status) !== "onsale" || e.ticketsRemaining == null || e.ticketsTotal == null || e.ticketsTotal === 0 || e.ticketsRemaining <= 0) return !1;
|
|
299
|
-
let t =
|
|
299
|
+
let t = l(e.ticketsRemaining, e.ticketsTotal);
|
|
300
300
|
return t === "low" || t === "urgent";
|
|
301
301
|
}
|
|
302
|
-
function L(e,
|
|
302
|
+
function L(e, i) {
|
|
303
303
|
if (!e) return null;
|
|
304
|
-
let
|
|
304
|
+
let a = F(e.status ?? "");
|
|
305
305
|
for (let o of P) switch (o) {
|
|
306
306
|
case "cancelled":
|
|
307
|
-
if (
|
|
308
|
-
text:
|
|
307
|
+
if (a === "cancelled" || a === "canceled") return {
|
|
308
|
+
text: i?.statusCancelled || "Cancelled",
|
|
309
309
|
type: "cancelled"
|
|
310
310
|
};
|
|
311
311
|
break;
|
|
312
312
|
case "postponed":
|
|
313
|
-
if (
|
|
314
|
-
text:
|
|
313
|
+
if (a === "postponed") return {
|
|
314
|
+
text: i?.statusPostponed || "Postponed",
|
|
315
315
|
type: "postponed"
|
|
316
316
|
};
|
|
317
317
|
break;
|
|
318
318
|
case "past":
|
|
319
319
|
if (e.startDateTime) {
|
|
320
|
-
let
|
|
321
|
-
if (
|
|
322
|
-
text:
|
|
320
|
+
let a = n(e.endDateTime || e.startDateTime);
|
|
321
|
+
if (a && r(a, t()) < 0) return {
|
|
322
|
+
text: i?.statusPastEvent || "Past event",
|
|
323
323
|
type: "past"
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
break;
|
|
327
327
|
case "sold_out":
|
|
328
|
-
if (
|
|
329
|
-
text:
|
|
328
|
+
if (a === "soldout" || e.ticketsRemaining != null && e.ticketsRemaining <= 0 && e.ticketsTotal != null && e.ticketsTotal > 0) return {
|
|
329
|
+
text: i?.statusSoldOut || "Sold out",
|
|
330
330
|
type: "sold_out"
|
|
331
331
|
};
|
|
332
332
|
break;
|
|
333
333
|
case "sales_ended":
|
|
334
|
-
if (
|
|
335
|
-
text:
|
|
334
|
+
if (a === "salesended") return {
|
|
335
|
+
text: i?.statusSalesEnded || "Sales ended",
|
|
336
336
|
type: "sales_ended"
|
|
337
337
|
};
|
|
338
338
|
break;
|
|
339
339
|
case "coming_soon":
|
|
340
|
-
if (
|
|
341
|
-
text:
|
|
340
|
+
if (a === "comingsoon") return {
|
|
341
|
+
text: i?.statusComingSoon || "Coming soon",
|
|
342
342
|
type: "coming_soon"
|
|
343
343
|
};
|
|
344
344
|
break;
|
|
345
345
|
case "scarcity": if (I(e)) return {
|
|
346
|
-
text:
|
|
346
|
+
text: i?.statusSellingFast || "Selling fast",
|
|
347
347
|
type: "scarcity"
|
|
348
348
|
};
|
|
349
349
|
}
|
|
@@ -395,10 +395,10 @@ function B(e) {
|
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
function V(e) {
|
|
398
|
-
let t =
|
|
398
|
+
let t = o();
|
|
399
399
|
return e.filter((e) => {
|
|
400
400
|
if (F(e.status ?? "") === "postponed") return !0;
|
|
401
|
-
let n =
|
|
401
|
+
let n = s(t, e.timeZone);
|
|
402
402
|
return e.date >= n;
|
|
403
403
|
}).sort((e, t) => e.date.localeCompare(t.date));
|
|
404
404
|
}
|
|
@@ -415,28 +415,28 @@ function U(e, t) {
|
|
|
415
415
|
variant: "warning"
|
|
416
416
|
} : null;
|
|
417
417
|
}
|
|
418
|
-
function W(e, t =
|
|
419
|
-
let r = e.event, i = e.isSeries ? R(e.instances, t) : L(r, t),
|
|
418
|
+
function W(e, t = a, n) {
|
|
419
|
+
let r = e.event, i = e.isSeries ? R(e.instances, t) : L(r, t), o = i && i.type !== "past" ? {
|
|
420
420
|
text: i.text,
|
|
421
421
|
variant: B(i.type)
|
|
422
422
|
} : null;
|
|
423
|
-
!
|
|
424
|
-
let
|
|
425
|
-
let i =
|
|
423
|
+
!o && !e.isSeries && (o = U(r, t));
|
|
424
|
+
let s = M(r), l = r.startDateTime ? c(r.startDateTime, r.timeZone, n) : "", d = e.isSeries ? e.instances : r.startDateTime ? [r] : [], f = d.map((e) => {
|
|
425
|
+
let i = u(e.startDateTime, e.timeZone, n), a = L(e, t)?.type === "sold_out";
|
|
426
426
|
return {
|
|
427
427
|
timeLabel: i,
|
|
428
428
|
href: M(e),
|
|
429
429
|
ariaLabel: `${r.name} at ${i}${a ? ", sold out" : ""}`
|
|
430
430
|
};
|
|
431
431
|
}), p = [r.name];
|
|
432
|
-
return r.startDateTime && p.push(`on ${
|
|
432
|
+
return r.startDateTime && p.push(`on ${c(r.startDateTime, r.timeZone, n)}`), e.isSeries ? p.push(`${e.instances.length} showtimes available`) : r.startDateTime && p.push(`at ${u(r.startDateTime, r.timeZone, n)}`), i && p.push(i.text), {
|
|
433
433
|
title: r.name,
|
|
434
|
-
href:
|
|
434
|
+
href: s,
|
|
435
435
|
imageUrl: r.imageUrl ?? "",
|
|
436
|
-
dateLabel:
|
|
436
|
+
dateLabel: l,
|
|
437
437
|
description: r.description ?? "",
|
|
438
438
|
ariaLabel: p.join(", "),
|
|
439
|
-
badge:
|
|
439
|
+
badge: o,
|
|
440
440
|
pills: f,
|
|
441
441
|
pillEvents: d
|
|
442
442
|
};
|
|
@@ -172,7 +172,10 @@ var e = {
|
|
|
172
172
|
waitlistLinkUsed: "Bu bağlantı zaten kullanılmış. Hâlâ bekleme listesindesiniz",
|
|
173
173
|
waitlistLinkEmailMismatch: "Bu bağlantı farklı bir e-posta adresine gönderilmiş. Hâlâ bekleme listesindesiniz",
|
|
174
174
|
waitlistLinkInventoryExhausted: "Bu biletler az önce alındı. Hâlâ bekleme listesindesiniz — yeni bilet boşa çıkarsa size e-posta göndereceğiz",
|
|
175
|
-
dismiss: "Kapat"
|
|
175
|
+
dismiss: "Kapat",
|
|
176
|
+
keepMeUpdatedByVenue: "{venue} etkinliklerinden ve haberlerinden beni haberdar et",
|
|
177
|
+
privacyPolicyLink: "Gizlilik politikası",
|
|
178
|
+
paymentUnavailable: "Bu siparişin ödemesi şu anda alınamıyor — sayfayı yenileyin veya mekânla iletişime geçin"
|
|
176
179
|
};
|
|
177
180
|
//#endregion
|
|
178
181
|
export { e as tr };
|
|
@@ -439,7 +439,63 @@ var e = {
|
|
|
439
439
|
hasEvents: "Etkinlik var",
|
|
440
440
|
viewMode: "Görünüm modu",
|
|
441
441
|
goToCurrentMonth: "Bu aya git",
|
|
442
|
-
nShowtimes: "{n} seans"
|
|
442
|
+
nShowtimes: "{n} seans",
|
|
443
|
+
checkoutUnavailableTitle: "Çevrimiçi bilet satışı burada kullanılamıyor",
|
|
444
|
+
checkoutUnavailableBody: "Aşağıda yaklaşan gösterilere göz atabilirsiniz, ancak şu anda bu web sitesinden bilet satın alınamıyor. Lütfen mekânın kendi bilet sayfasını ziyaret edin veya rezervasyon için mekânla iletişime geçin.",
|
|
445
|
+
checkoutUnavailableOwnerNote: "Site sahibi: {origin} ödeme için kayıtlı değil. Micdrop'tan bu alan adını kuruluşunuzun izin verilen yerleştirme alan adlarına eklemesini isteyin — değişikliklerin uygulanması 5 dakikayı bulabilir.",
|
|
446
|
+
keepMeUpdatedByVenue: "{venue} etkinliklerinden ve haberlerinden beni haberdar et",
|
|
447
|
+
waitlistWindowNotice: "Bu biletler sizin için şu süre boyunca ayrılıyor:",
|
|
448
|
+
waitlistWindowSuffix: "— sonrasında yeriniz sıradaki kişiye geçer",
|
|
449
|
+
waitlistWindowExpired: "Satın alma süreniz doldu — koltuk sıradaki kişiye sunuluyor",
|
|
450
|
+
waitlistRequeueCta: "Sıradaki yeri al",
|
|
451
|
+
waitlistRequeueBusy: "Sıranız öne alınıyor…",
|
|
452
|
+
waitlistRequeueDone: "Sırada ilk sizsiniz — bir sonraki koltuk boşalır boşalmaz size e-posta göndereceğiz",
|
|
453
|
+
waitlistRequeueNotOnList: "Artık bu bekleme listesinde değilsiniz — aşağıdaki düğmeden yeniden katılın",
|
|
454
|
+
waitlistRequeueFailed: "Şu anda sıranızı öne alamadık — hâlâ bekleme listesindesiniz",
|
|
455
|
+
waitlistPositionEstimate: "Sırada yaklaşık {position}. sıradasınız — koltuklar boşaldıkça bu ilerler",
|
|
456
|
+
waitlistLinkEventMismatch: "Bu bağlantı başka bir etkinliğe ait — o gösterinin e-postasından açın",
|
|
457
|
+
sessionExpiringSoonMessage: "Ödeme oturumunuz {time} içinde sona erecek. Seçtiğiniz biletler stoğa geri verilecek",
|
|
458
|
+
extensionsRemaining: "Kalan uzatma hakkı: {count}",
|
|
459
|
+
continueCheckout: "Ödemeye devam et",
|
|
460
|
+
okIllHurry: "Tamam, acele edeceğim",
|
|
461
|
+
maxExtensionsReached: "En fazla uzatma sayısına ulaşıldı",
|
|
462
|
+
sessionExpired: "Oturum süresi doldu",
|
|
463
|
+
sessionExpiredMessage: "Ödeme oturumunuzun süresi doldu ve seçtiğiniz biletler serbest bırakıldı",
|
|
464
|
+
selectTicketsAgain: "Biletleri yeniden seç",
|
|
465
|
+
selectTicketsLabel: "Bilet seç",
|
|
466
|
+
orderNotFound: "Sipariş bulunamadı",
|
|
467
|
+
orderNotFoundMessage: "Siparişinizi bulamadık. Oturumunuzun süresi dolduysa veya buraya doğrudan geldiyseniz bu olabilir. Lütfen biletlerinizi yeniden seçin",
|
|
468
|
+
pageSections: "Sayfa bölümleri",
|
|
469
|
+
viewTicketsOrderNotFound: "Sipariş bulunamadı. Lütfen e-postanızdaki bağlantıyı kontrol edin",
|
|
470
|
+
viewTicketsLoadFailed: "Biletleriniz yüklenemedi. Lütfen tekrar deneyin",
|
|
471
|
+
doorsAtTime: "Kapılar {time}",
|
|
472
|
+
ticketCarousel: "Bilet karuseli",
|
|
473
|
+
qrCodeForTicket: "{number} numaralı biletin QR kodu",
|
|
474
|
+
qrRefundedSuffix: "iade edildi, girişte geçerli değil",
|
|
475
|
+
qrCheckedInSuffix: "girişi zaten yapıldı",
|
|
476
|
+
refunded: "İade edildi",
|
|
477
|
+
checkedIn: "Giriş yapıldı",
|
|
478
|
+
ticketRefundedNote: "Bu bilet iade edildi ve kapıda kabul edilmeyecek",
|
|
479
|
+
ticketCheckedInNote: "Bu bilet zaten okutuldu — tekrar kullanılamaz",
|
|
480
|
+
previousTicket: "Önceki bilet",
|
|
481
|
+
nextTicket: "Sonraki bilet",
|
|
482
|
+
ticketCountOfTotal: "{current} / {total}",
|
|
483
|
+
addToAppleWallet: "Apple Wallet'a ekle",
|
|
484
|
+
addToGoogleWallet: "Google Wallet'a ekle",
|
|
485
|
+
walletPassesComingSoon: "Cüzdan kartları çok yakında. Biletiniz tam burada — ekran görüntüsü alın veya PDF indirin",
|
|
486
|
+
downloadPdf: "PDF indir",
|
|
487
|
+
addToCalendarPrefix: "Takvime ekle:",
|
|
488
|
+
getDirections: "Yol tarifi al",
|
|
489
|
+
requestARefund: "İade talep et",
|
|
490
|
+
refundRequestSent: "İade talebiniz {venue} mekânına gönderildi. Siparişinizle ilgili sizinle iletişime geçecekler",
|
|
491
|
+
refundReasonPrompt: "{venue} mekânına neden iade talep ettiğinizi anlatın (isteğe bağlı)",
|
|
492
|
+
refundNotePlaceholder: "Mekân için bir not ekleyin…",
|
|
493
|
+
sending: "Gönderiliyor…",
|
|
494
|
+
submitRefundRequest: "İade talebini gönder",
|
|
495
|
+
somethingWentWrong: "Bir şeyler ters gitti. Lütfen az sonra tekrar deneyin",
|
|
496
|
+
orderNumberLine: "Sipariş {orderNumber}",
|
|
497
|
+
questionsPrompt: "Sorunuz mu var?",
|
|
498
|
+
opensInGoogleMaps: "(Google Haritalar'da açılır)"
|
|
443
499
|
};
|
|
444
500
|
//#endregion
|
|
445
501
|
export { e as tr };
|