@getmicdrop/venue-calendar 4.0.109 → 4.0.111

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.
Files changed (110) hide show
  1. package/dist/CartView-DiSdmuA_.js +2475 -0
  2. package/dist/CartView-DiSdmuA_.js.map +1 -0
  3. package/dist/{Checkout-CMEf_qnp.js → Checkout-DBaNrRya.js} +323 -333
  4. package/dist/Checkout-DBaNrRya.js.map +1 -0
  5. package/dist/{Checkout-Chki2df_.js → Checkout-DwJr030c.js} +206 -205
  6. package/dist/Checkout-DwJr030c.js.map +1 -0
  7. package/dist/{CheckoutTimer-BAaY_60w.js → CheckoutTimer-DPFVh7QG.js} +5 -5
  8. package/dist/{CheckoutTimer-BAaY_60w.js.map → CheckoutTimer-DPFVh7QG.js.map} +1 -1
  9. package/dist/{ClockIcon-Dbbj_qur.js → ClockIcon-BoEIfS3d.js} +2 -2
  10. package/dist/{ClockIcon-Dbbj_qur.js.map → ClockIcon-BoEIfS3d.js.map} +1 -1
  11. package/dist/{CollectionView-RM30YPOJ.js → CollectionView-DM3WLpLu.js} +78 -77
  12. package/dist/CollectionView-DM3WLpLu.js.map +1 -0
  13. package/dist/{Event-kdxMa6OT.js → Event-DymZpajQ.js} +659 -657
  14. package/dist/Event-DymZpajQ.js.map +1 -0
  15. package/dist/{EventPage-BRBByBHe.js → EventPage-D7GG_BWH.js} +300 -306
  16. package/dist/EventPage-D7GG_BWH.js.map +1 -0
  17. package/dist/{Heading-CSDFD80h.js → Heading-C8oOcA05.js} +2 -2
  18. package/dist/{Heading-CSDFD80h.js.map → Heading-C8oOcA05.js.map} +1 -1
  19. package/dist/{ScarcityBadge-B0ca48su.js → ScarcityBadge-BqJHRkab.js} +11 -11
  20. package/dist/{ScarcityBadge-B0ca48su.js.map → ScarcityBadge-BqJHRkab.js.map} +1 -1
  21. package/dist/SeriesPage-DsJ9zGPQ.js +34 -0
  22. package/dist/SeriesPage-DsJ9zGPQ.js.map +1 -0
  23. package/dist/{Spinner--TOwvv9A.js → Spinner-DPzuHWU6.js} +2 -2
  24. package/dist/{Spinner--TOwvv9A.js.map → Spinner-DPzuHWU6.js.map} +1 -1
  25. package/dist/Success-C0D_INAc.js +896 -0
  26. package/dist/Success-C0D_INAc.js.map +1 -0
  27. package/dist/{Text-WLl_ELy9.js → Text-DOd8068v.js} +19 -19
  28. package/dist/Text-DOd8068v.js.map +1 -0
  29. package/dist/VenueCalendar-B809Hecp.js +16467 -0
  30. package/dist/VenueCalendar-B809Hecp.js.map +1 -0
  31. package/dist/{ViewTicketsEmbed-BOukxQIF.js → ViewTicketsEmbed-BPMp4JM0.js} +86 -85
  32. package/dist/{ViewTicketsEmbed-BOukxQIF.js.map → ViewTicketsEmbed-BPMp4JM0.js.map} +1 -1
  33. package/dist/__SKIP_PATHS__-BtJ0tS93.js +10 -0
  34. package/dist/__SKIP_PATHS__-BtJ0tS93.js.map +1 -0
  35. package/dist/{labels-DXGieQXs.js → labels-wFEhrJkb.js} +154 -149
  36. package/dist/labels-wFEhrJkb.js.map +1 -0
  37. package/dist/{modalManager.svelte-Dbd1xgTQ.js → modalManager.svelte-DjiZPIja.js} +2 -2
  38. package/dist/{modalManager.svelte-Dbd1xgTQ.js.map → modalManager.svelte-DjiZPIja.js.map} +1 -1
  39. package/dist/navigation--gZASiSa.js +19 -0
  40. package/dist/navigation--gZASiSa.js.map +1 -0
  41. package/dist/{promo-oWi_MKmY.js → promo-DK6Hxogl.js} +2 -2
  42. package/dist/{promo-oWi_MKmY.js.map → promo-DK6Hxogl.js.map} +1 -1
  43. package/dist/{showcase-state-options-DJJdjxvZ.js → showcase-state-options-BuPnUf0V.js} +21 -21
  44. package/dist/showcase-state-options-BuPnUf0V.js.map +1 -0
  45. package/dist/{transform-Bgqwj9i-.js → transform-C6LCkao6.js} +81 -77
  46. package/dist/transform-C6LCkao6.js.map +1 -0
  47. package/dist/types/index.d.ts +18 -14
  48. package/dist/utm-DYGTGbVA.js +288 -0
  49. package/dist/utm-DYGTGbVA.js.map +1 -0
  50. package/dist/venue-calendar.css +1 -1
  51. package/dist/venue-calendar.es.js +2 -2
  52. package/dist/venue-calendar.iife.js +50 -50
  53. package/dist/venue-calendar.iife.js.map +1 -1
  54. package/dist/venue-calendar.umd.js +45 -45
  55. package/dist/venue-calendar.umd.js.map +1 -1
  56. package/package.json +199 -199
  57. package/dist/CartView-C3N5pw89.js +0 -2381
  58. package/dist/CartView-C3N5pw89.js.map +0 -1
  59. package/dist/Checkout-CMEf_qnp.js.map +0 -1
  60. package/dist/Checkout-Chki2df_.js.map +0 -1
  61. package/dist/CollectionView-RM30YPOJ.js.map +0 -1
  62. package/dist/Event-kdxMa6OT.js.map +0 -1
  63. package/dist/EventPage-BRBByBHe.js.map +0 -1
  64. package/dist/SeriesPage-CczfbUKO.js +0 -33
  65. package/dist/SeriesPage-CczfbUKO.js.map +0 -1
  66. package/dist/Success-DIWUGUPs.js +0 -886
  67. package/dist/Success-DIWUGUPs.js.map +0 -1
  68. package/dist/Text-WLl_ELy9.js.map +0 -1
  69. package/dist/VenueCalendar-CU5N9klc.js +0 -16579
  70. package/dist/VenueCalendar-CU5N9klc.js.map +0 -1
  71. package/dist/api/api/client.d.ts +0 -17
  72. package/dist/api/api/cta.d.ts +0 -34
  73. package/dist/api/api/events.d.ts +0 -183
  74. package/dist/api/api/gift-cards.d.ts +0 -108
  75. package/dist/api/api/index.d.ts +0 -46
  76. package/dist/api/api/orders.d.ts +0 -149
  77. package/dist/api/api/promo.d.ts +0 -45
  78. package/dist/api/api/result.d.ts +0 -78
  79. package/dist/api/api/route-manifest.d.ts +0 -179
  80. package/dist/api/api/transformers/address.d.ts +0 -18
  81. package/dist/api/api/transformers/cart.d.ts +0 -19
  82. package/dist/api/api/transformers/collection.d.ts +0 -12
  83. package/dist/api/api/transformers/event.d.ts +0 -173
  84. package/dist/api/api/transformers/giftCard.d.ts +0 -11
  85. package/dist/api/api/transformers/index.d.ts +0 -27
  86. package/dist/api/api/transformers/order.d.ts +0 -44
  87. package/dist/api/api/transformers/performer.d.ts +0 -8
  88. package/dist/api/api/transformers/series.d.ts +0 -12
  89. package/dist/api/api/transformers/venue.d.ts +0 -39
  90. package/dist/api/api/venues.d.ts +0 -33
  91. package/dist/api/api/waitlist.d.ts +0 -49
  92. package/dist/api/api.cjs +0 -2
  93. package/dist/api/api.cjs.map +0 -1
  94. package/dist/api/api.mjs +0 -1299
  95. package/dist/api/api.mjs.map +0 -1
  96. package/dist/api/types.d.ts +0 -483
  97. package/dist/labels-DXGieQXs.js.map +0 -1
  98. package/dist/seo/HostSeoController.d.ts +0 -68
  99. package/dist/seo/buildCollectionJsonLd.d.ts +0 -8
  100. package/dist/seo/buildEventJsonLd.d.ts +0 -9
  101. package/dist/seo/buildSeriesJsonLd.d.ts +0 -6
  102. package/dist/seo/helpers.d.ts +0 -88
  103. package/dist/seo/index.d.ts +0 -10
  104. package/dist/seo/seo.cjs +0 -2
  105. package/dist/seo/seo.cjs.map +0 -1
  106. package/dist/seo/seo.mjs +0 -541
  107. package/dist/seo/seo.mjs.map +0 -1
  108. package/dist/seo/types.d.ts +0 -150
  109. package/dist/showcase-state-options-DJJdjxvZ.js.map +0 -1
  110. package/dist/transform-Bgqwj9i-.js.map +0 -1
@@ -1,13 +1,14 @@
1
1
  import "svelte/internal/disclose-version";
2
2
  import * as e from "svelte/internal/client";
3
- import { untrack as N, onMount as M, onDestroy as O } from "svelte";
4
- import { g as j } from "./ScarcityBadge-B0ca48su.js";
5
- import { E as B } from "./Event-kdxMa6OT.js";
6
- import { b as Q } from "./transform-Bgqwj9i-.js";
7
- import { E as A, aQ as G, I as U, h as H, aR as J } from "./VenueCalendar-CU5N9klc.js";
8
- import { cubicOut as K } from "svelte/easing";
9
- var X = e.from_html("<div></div>"), Y = e.from_html('<div class="pt-2 space-y-2"><div class="flex gap-1.5"></div> <!></div>');
10
- function Z(I, t) {
3
+ import { untrack as V, onMount as j, onDestroy as F } from "svelte";
4
+ import { g as M } from "./ScarcityBadge-BqJHRkab.js";
5
+ import { r as B } from "./__SKIP_PATHS__-BtJ0tS93.js";
6
+ import { E as A } from "./Event-DymZpajQ.js";
7
+ import { b as Q } from "./transform-C6LCkao6.js";
8
+ import { C as U, D as G, aQ as H, I as J, j as K, aR as X } from "./VenueCalendar-B809Hecp.js";
9
+ import { cubicOut as Y } from "svelte/easing";
10
+ var Z = e.from_html("<div></div>"), $ = e.from_html('<div class="pt-2 space-y-2"><div class="flex gap-1.5"></div> <!></div>');
11
+ function ee(I, t) {
11
12
  e.push(t, !0);
12
13
  const _ = {
13
14
  tooWeak: "Too weak",
@@ -16,7 +17,7 @@ function Z(I, t) {
16
17
  strong: "Strong"
17
18
  };
18
19
  let u = e.prop(t, "password", 3, ""), i = e.prop(t, "strengthText", 15, ""), w = e.prop(t, "score", 31, () => -1), g = e.prop(t, "textColor", 15, ""), f = e.prop(t, "labels", 19, () => ({})), a = e.derived(() => ({ ..._, ...f() })), d = e.state(""), v, p = e.state(null);
19
- const b = G(() => import("./index-BsWecoW1.js"));
20
+ const b = H(() => import("./index-BsWecoW1.js"));
20
21
  function x() {
21
22
  b().then((r) => {
22
23
  e.set(p, r.passwordStrength, !0);
@@ -58,32 +59,32 @@ function Z(I, t) {
58
59
  },
59
60
  400
60
61
  ), () => clearTimeout(v)));
61
- let L = e.derived(() => e.get(d) && e.get(p) ? e.get(p)(e.get(d), e.get(y)) : null), n = e.derived(() => e.get(d).length > 12 ? 3 : e.get(L)?.id ?? -1);
62
+ let D = e.derived(() => e.get(d) && e.get(p) ? e.get(p)(e.get(d), e.get(y)) : null), n = e.derived(() => e.get(d).length > 12 ? 3 : e.get(D)?.id ?? -1);
62
63
  e.user_effect(() => {
63
64
  const r = e.get(n);
64
- N(() => w()) !== r && w(r);
65
+ V(() => w()) !== r && w(r);
65
66
  });
66
- let T = e.derived(() => e.get(n) === 0 ? e.get(a).tooWeak : e.get(n) === 1 ? e.get(a).weak : e.get(n) === 2 ? e.get(a).good : e.get(n) === 3 ? e.get(a).strong : ""), q = e.derived(() => e.get(n) < 0 ? "" : e.get(n) <= 1 ? "text-accent-danger" : "text-accent-success");
67
+ let T = e.derived(() => e.get(n) === 0 ? e.get(a).tooWeak : e.get(n) === 1 ? e.get(a).weak : e.get(n) === 2 ? e.get(a).good : e.get(n) === 3 ? e.get(a).strong : ""), L = e.derived(() => e.get(n) < 0 ? "" : e.get(n) <= 1 ? "text-accent-danger" : "text-accent-success");
67
68
  e.user_effect(() => {
68
69
  const r = e.get(T);
69
- N(() => i()) !== r && i(r);
70
+ V(() => i()) !== r && i(r);
70
71
  });
71
- let D = e.derived(() => e.get(n) <= 1 ? "bg-accent-danger" : "bg-accent-success");
72
+ let q = e.derived(() => e.get(n) <= 1 ? "bg-accent-danger" : "bg-accent-success");
72
73
  e.user_effect(() => {
73
- const r = e.get(q);
74
- N(() => g()) !== r && g(r);
74
+ const r = e.get(L);
75
+ V(() => g()) !== r && g(r);
75
76
  });
76
77
  let k = e.derived(() => e.get(n) === 0 ? 1 : e.get(n) === 1 ? 2 : e.get(n) >= 2 ? 3 : 0);
77
78
  var C = e.comment(), z = e.first_child(C);
78
79
  {
79
80
  var l = (r) => {
80
- var o = Y(), s = e.child(o);
81
- e.each(s, 20, () => [0, 1, 2], (m) => m, (m, E) => {
82
- var c = X();
83
- e.template_effect(() => e.set_class(c, 1, `h-1 flex-1 rounded-full transition-colors duration-300 ${(E < e.get(k) ? e.get(D) : "bg-bg-tertiary") ?? ""}`)), e.append(m, c);
81
+ var o = $(), s = e.child(o);
82
+ e.each(s, 20, () => [0, 1, 2], (h) => h, (h, R) => {
83
+ var c = Z();
84
+ e.template_effect(() => e.set_class(c, 1, `h-1 flex-1 rounded-full transition-colors duration-normal ${(R < e.get(k) ? e.get(q) : "bg-bg-tertiary") ?? ""}`)), e.append(h, c);
84
85
  }), e.reset(s);
85
- var P = e.sibling(s, 2);
86
- e.snippet(P, () => t.children ?? e.noop), e.reset(o), e.transition(3, o, () => A, () => ({ duration: 600, easing: K })), e.append(r, o);
86
+ var S = e.sibling(s, 2);
87
+ e.snippet(S, () => t.children ?? e.noop), e.reset(o), e.transition(3, o, () => U, () => ({ duration: G.elaborate, easing: Y })), e.append(r, o);
87
88
  };
88
89
  e.if(z, (r) => {
89
90
  e.get(d).length > 0 && r(l);
@@ -91,13 +92,13 @@ function Z(I, t) {
91
92
  }
92
93
  e.append(I, C), e.pop();
93
94
  }
94
- var $ = e.from_html("<p> </p>"), ee = e.from_html("<div><!> <!></div>");
95
- function te(I, t) {
95
+ var te = e.from_html("<p> </p>"), re = e.from_html("<div><!> <!></div>");
96
+ function le(I, t) {
96
97
  e.push(t, !0);
97
98
  const _ = { passwordStrength: "Password strength:" };
98
- let u = e.prop(t, "value", 15, ""), i = e.prop(t, "label", 3, ""), w = e.prop(t, "placeholder", 3, ""), g = e.prop(t, "name", 3, ""), f = e.prop(t, "id", 3, ""), a = e.prop(t, "required", 3, !1), d = e.prop(t, "disableBuiltInValidation", 3, !1), v = e.prop(t, "disabled", 3, !1), p = e.prop(t, "error", 3, ""), b = e.prop(t, "hint", 3, ""), x = e.prop(t, "showStrength", 3, !1), y = e.prop(t, "size", 3, "md"), L = e.prop(t, "minlength", 3, null), n = e.prop(t, "maxlength", 3, null), T = e.prop(t, "autocomplete", 3, "new-password"), q = e.prop(t, "showPasswordToggle", 3, !0), D = e.prop(t, "class", 3, ""), k = e.prop(t, "labels", 19, () => ({})), C = e.derived(() => ({ ..._, ...k() })), z = e.derived(() => d() ? !1 : a()), l = e.state(-1), r = e.state(""), o = e.state("");
99
- var s = ee(), P = e.child(s);
100
- U(P, {
99
+ let u = e.prop(t, "value", 15, ""), i = e.prop(t, "label", 3, ""), w = e.prop(t, "placeholder", 3, ""), g = e.prop(t, "name", 3, ""), f = e.prop(t, "id", 3, ""), a = e.prop(t, "required", 3, !1), d = e.prop(t, "disableBuiltInValidation", 3, !1), v = e.prop(t, "disabled", 3, !1), p = e.prop(t, "error", 3, ""), b = e.prop(t, "hint", 3, ""), x = e.prop(t, "showStrength", 3, !1), y = e.prop(t, "size", 3, "md"), D = e.prop(t, "minlength", 3, null), n = e.prop(t, "maxlength", 3, null), T = e.prop(t, "autocomplete", 3, "new-password"), L = e.prop(t, "showPasswordToggle", 3, !0), q = e.prop(t, "class", 3, ""), k = e.prop(t, "labels", 19, () => ({})), C = e.derived(() => ({ ..._, ...k() })), z = e.derived(() => d() ? !1 : a()), l = e.state(-1), r = e.state(""), o = e.state("");
100
+ var s = re(), S = e.child(s);
101
+ J(S, {
101
102
  type: "password",
102
103
  get id() {
103
104
  return f();
@@ -121,7 +122,7 @@ function te(I, t) {
121
122
  return y();
122
123
  },
123
124
  get minlength() {
124
- return L();
125
+ return D();
125
126
  },
126
127
  get maxlength() {
127
128
  return n();
@@ -130,7 +131,7 @@ function te(I, t) {
130
131
  return T();
131
132
  },
132
133
  get showPasswordToggle() {
133
- return q();
134
+ return L();
134
135
  },
135
136
  get errorText() {
136
137
  return p();
@@ -154,49 +155,49 @@ function te(I, t) {
154
155
  u(c);
155
156
  }
156
157
  });
157
- var m = e.sibling(P, 2);
158
+ var h = e.sibling(S, 2);
158
159
  {
159
- var E = (c) => {
160
- Z(c, {
160
+ var R = (c) => {
161
+ ee(c, {
161
162
  get password() {
162
163
  return u();
163
164
  },
164
165
  get score() {
165
166
  return e.get(l);
166
167
  },
167
- set score(h) {
168
- e.set(l, h, !0);
168
+ set score(m) {
169
+ e.set(l, m, !0);
169
170
  },
170
171
  get strengthText() {
171
172
  return e.get(r);
172
173
  },
173
- set strengthText(h) {
174
- e.set(r, h, !0);
174
+ set strengthText(m) {
175
+ e.set(r, m, !0);
175
176
  },
176
177
  get textColor() {
177
178
  return e.get(o);
178
179
  },
179
- set textColor(h) {
180
- e.set(o, h, !0);
180
+ set textColor(m) {
181
+ e.set(o, m, !0);
181
182
  },
182
- children: (h, R) => {
183
- var S = $(), V = e.child(S);
184
- e.reset(S), e.template_effect(() => {
185
- e.set_class(S, 1, `type-caption ${e.get(o) ?? ""}`), e.set_text(V, `${e.get(C).passwordStrength ?? ""} ${e.get(r) ?? ""}`);
186
- }), e.append(h, S);
183
+ children: (m, E) => {
184
+ var P = te(), N = e.child(P);
185
+ e.reset(P), e.template_effect(() => {
186
+ e.set_class(P, 1, `type-caption ${e.get(o) ?? ""}`), e.set_text(N, `${e.get(C).passwordStrength ?? ""} ${e.get(r) ?? ""}`);
187
+ }), e.append(m, P);
187
188
  },
188
189
  $$slots: { default: !0 }
189
190
  });
190
191
  };
191
- e.if(m, (c) => {
192
- x() && u() && c(E);
192
+ e.if(h, (c) => {
193
+ x() && u() && c(R);
193
194
  });
194
195
  }
195
- e.reset(s), e.template_effect(() => e.set_class(s, 1, e.clsx(D()))), e.append(I, s), e.pop();
196
+ e.reset(s), e.template_effect(() => e.set_class(s, 1, e.clsx(q()))), e.append(I, s), e.pop();
196
197
  }
197
- var re = e.from_html('<div class="flex items-center justify-center py-12 text-center loading-container svelte-q4dz4y"><p> </p></div>'), le = e.from_html('<div class="flex flex-col items-center justify-center min-h-[50vh] text-center"><div class="password-card rounded-lg p-8 max-w-sm w-full svelte-q4dz4y"><h2 class="password-title type-heading mb-2 svelte-q4dz4y"> </h2> <p class="password-description type-body mb-6 svelte-q4dz4y"> </p> <form class="flex flex-col gap-3"><!> <button type="submit" class="password-submit px-4 py-2 rounded-lg type-label svelte-q4dz4y"> </button></form></div></div>'), oe = e.from_html('<div class="flex flex-col items-center justify-center min-h-[50vh] text-center"><p class="error-text svelte-q4dz4y"> </p></div>');
198
- function ue(I, t) {
199
- e.push(t, !0), H("CollectionView"), e.prop(t, "organizationId", 3, "");
198
+ var oe = e.from_html('<div class="flex items-center justify-center py-12 text-center loading-container svelte-q4dz4y"><p> </p></div>'), se = e.from_html('<div class="flex flex-col items-center justify-center min-h-[50vh] text-center"><div class="password-card rounded-lg p-8 max-w-sm w-full svelte-q4dz4y"><h2 class="password-title type-heading mb-2 svelte-q4dz4y"> </h2> <p class="password-description type-body mb-6 svelte-q4dz4y"> </p> <form class="flex flex-col gap-3"><!> <button type="submit" class="password-submit px-4 py-2 rounded-lg type-label svelte-q4dz4y"> </button></form></div></div>'), ae = e.from_html('<div class="flex flex-col items-center justify-center min-h-[50vh] text-center"><p class="error-text svelte-q4dz4y"> </p></div>');
199
+ function pe(I, t) {
200
+ e.push(t, !0), K("CollectionView"), e.prop(t, "organizationId", 3, "");
200
201
  let _ = e.prop(t, "onNavigateToEvent", 3, void 0), u = e.prop(t, "password", 3, void 0);
201
202
  e.prop(t, "displayMode", 3, "gallery"), e.prop(t, "showViewSwitcher", 3, !0);
202
203
  let i = e.prop(t, "labels", 19, () => ({})), w = e.state(null), g = e.state(!0), f = e.state(null), a = e.state(!1), d = e.state(!1), v = e.state(""), p = e.state(!1), b = e.derived(() => e.get(w) ? Q(e.get(w)) : null), x = 0;
@@ -209,7 +210,7 @@ function ue(I, t) {
209
210
  }
210
211
  e.set(g, !0), e.set(f, null), e.set(p, !1);
211
212
  try {
212
- const o = await J(t.collectionId, l);
213
+ const o = await X(t.collectionId, l);
213
214
  if (!e.get(a) || r !== x) return;
214
215
  if (o) {
215
216
  if (o.passwordRequired || o.error?.code === "PASSWORD_REQUIRED") {
@@ -233,67 +234,67 @@ function ue(I, t) {
233
234
  e.get(a) && r === x && e.set(g, !1);
234
235
  }
235
236
  }
236
- function L(l) {
237
+ function D(l) {
237
238
  l.preventDefault(), e.get(v).trim() && y(e.get(v));
238
239
  }
239
240
  function n(l) {
240
- _() && l.id ? _()(Number(l.id), l.slug) : j(`/${l.id}/${l.slug}`);
241
+ _() && l.id ? _()(Number(l.id), l.slug) : M(B("/[id]/[slug]", { id: String(l.id), slug: String(l.slug) }));
241
242
  }
242
- M(() => {
243
+ j(() => {
243
244
  e.set(a, !0), y(u());
244
- }), O(() => {
245
+ }), F(() => {
245
246
  e.set(a, !1);
246
247
  });
247
- var T = e.comment(), q = e.first_child(T);
248
+ var T = e.comment(), L = e.first_child(T);
248
249
  {
249
- var D = (l) => {
250
- var r = re(), o = e.child(r), s = e.child(o, !0);
250
+ var q = (l) => {
251
+ var r = oe(), o = e.child(r), s = e.child(o, !0);
251
252
  e.reset(o), e.reset(r), e.template_effect(() => e.set_text(s, i().loadingCollection || "Loading collection...")), e.append(l, r);
252
253
  }, k = (l) => {
253
- var r = le(), o = e.child(r), s = e.child(o), P = e.child(s, !0);
254
+ var r = se(), o = e.child(r), s = e.child(o), S = e.child(s, !0);
254
255
  e.reset(s);
255
- var m = e.sibling(s, 2), E = e.child(m, !0);
256
- e.reset(m);
257
- var c = e.sibling(m, 2), h = e.child(c);
256
+ var h = e.sibling(s, 2), R = e.child(h, !0);
257
+ e.reset(h);
258
+ var c = e.sibling(h, 2), m = e.child(c);
258
259
  {
259
- let V = e.derived(() => i().enterPassword || "Enter password"), W = e.derived(() => e.get(p) ? i().incorrectPassword || "Incorrect password. Please try again." : "");
260
- te(h, {
260
+ let N = e.derived(() => i().enterPassword || "Enter password"), O = e.derived(() => e.get(p) ? i().incorrectPassword || "Incorrect password. Please try again" : "");
261
+ le(m, {
261
262
  get placeholder() {
262
- return e.get(V);
263
+ return e.get(N);
263
264
  },
264
265
  get error() {
265
- return e.get(W);
266
+ return e.get(O);
266
267
  },
267
268
  get value() {
268
269
  return e.get(v);
269
270
  },
270
- set value(F) {
271
- e.set(v, F, !0);
271
+ set value(W) {
272
+ e.set(v, W, !0);
272
273
  }
273
274
  });
274
275
  }
275
- var R = e.sibling(h, 2), S = e.child(R, !0);
276
- e.reset(R), e.reset(c), e.reset(o), e.reset(r), e.template_effect(() => {
277
- e.set_text(P, i().collectionPrivateTitle || "This collection is private"), e.set_text(E, i().collectionPrivateDescription || "Please enter the password to view this collection."), e.set_text(S, i().viewCollection || "View collection");
278
- }), e.event("submit", c, L), e.append(l, r);
276
+ var E = e.sibling(m, 2), P = e.child(E, !0);
277
+ e.reset(E), e.reset(c), e.reset(o), e.reset(r), e.template_effect(() => {
278
+ e.set_text(S, i().collectionPrivateTitle || "This collection is private"), e.set_text(R, i().collectionPrivateDescription || "Please enter the password to view this collection"), e.set_text(P, i().viewCollection || "View collection");
279
+ }), e.event("submit", c, D), e.append(l, r);
279
280
  }, C = (l) => {
280
- var r = oe(), o = e.child(r), s = e.child(o);
281
+ var r = ae(), o = e.child(r), s = e.child(o);
281
282
  e.reset(o), e.reset(r), e.template_effect(() => e.set_text(s, `${(i().errorPrefix || "Error:") ?? ""} ${e.get(f) ?? ""}`)), e.append(l, r);
282
283
  }, z = (l) => {
283
- B(l, {
284
+ A(l, {
284
285
  get event() {
285
286
  return e.get(b);
286
287
  },
287
288
  onCollectionEventClick: n
288
289
  });
289
290
  };
290
- e.if(q, (l) => {
291
- e.get(g) ? l(D) : e.get(d) ? l(k, 1) : e.get(f) ? l(C, 2) : e.get(b) && l(z, 3);
291
+ e.if(L, (l) => {
292
+ e.get(g) ? l(q) : e.get(d) ? l(k, 1) : e.get(f) ? l(C, 2) : e.get(b) && l(z, 3);
292
293
  });
293
294
  }
294
295
  e.append(I, T), e.pop();
295
296
  }
296
297
  export {
297
- ue as default
298
+ pe as default
298
299
  };
299
- //# sourceMappingURL=CollectionView-RM30YPOJ.js.map
300
+ //# sourceMappingURL=CollectionView-DM3WLpLu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CollectionView-DM3WLpLu.js","sources":["../node_modules/@getmicdrop/svelte-components/dist/recipes/inputs/PasswordStrengthIndicator/PasswordStrengthIndicator.svelte","../node_modules/@getmicdrop/svelte-components/dist/recipes/inputs/PasswordInput.svelte","../src/components/Views/CollectionView.svelte"],"sourcesContent":["<script lang=\"ts\">\r\n import type { Snippet } from 'svelte';\r\n import type { Options } from 'check-password-strength';\r\n import { DURATION, safeSlide } from \"../../../utils/transitions.js\";\r\n import { lazyOnce } from \"../../../utils/lazyOnce.js\";\r\n import { cubicOut } from \"svelte/easing\";\r\n import { untrack } from \"svelte\";\r\n\r\n const defaultLabels = {\r\n tooWeak: 'Too weak',\r\n weak: 'Weak',\r\n good: 'Good',\r\n strong: 'Strong',\r\n };\r\n\r\n interface Props {\r\n password?: string;\r\n strengthText?: string;\r\n score?: number;\r\n textColor?: string;\r\n children?: Snippet;\r\n labels?: Partial<typeof defaultLabels>;\r\n }\r\n\r\n let {\r\n password = \"\",\r\n strengthText = $bindable(\"\"),\r\n score = $bindable(-1),\r\n textColor = $bindable(\"\"),\r\n children,\r\n labels: userLabels = {},\r\n }: Props = $props();\r\n\r\n let labels = $derived({ ...defaultLabels, ...userLabels });\r\n\r\n let debouncedPassword = $state(\"\");\r\n // Use a plain variable for timer to avoid reactive dependency\r\n let timer: ReturnType<typeof setTimeout> | undefined;\r\n\r\n // Lazily load the (~10 KB) strength library only once a password exists.\r\n // Until it resolves, `strengthFn` is null and the indicator shows its\r\n // neutral (no-result) state — the debounce window absorbs the load latency.\r\n //\r\n // lazyOnce memoizes the import on success but RESETS on rejection: a\r\n // transient chunk-load failure must not be cached, or the indicator would\r\n // stay bricked until a page reload. On failure the next keystroke retries.\r\n // Explicit type ARGUMENT (not annotation) on purpose: with `$state(null)` TS\r\n // infers T = null, so control-flow analysis proves the variable is `null` at\r\n // the $derived read below and collapses the truthy branch to `never`\r\n // (\"This expression is not callable\"). The type argument keeps the union.\r\n let strengthFn = $state<typeof import('check-password-strength').passwordStrength | null>(null);\r\n const loadStrengthModule = lazyOnce(() => import('check-password-strength'));\r\n function ensureStrengthFn() {\r\n void loadStrengthModule()\r\n .then((m) => {\r\n strengthFn = m.passwordStrength;\r\n })\r\n .catch(() => {\r\n // Swallow — strengthFn stays null (neutral state) and lazyOnce\r\n // has already dropped its memo, so a later keystroke retries.\r\n });\r\n }\r\n\r\n // Kick off the load on the first keystroke, before the debounce fires.\r\n // Retries naturally on subsequent keystrokes after a transient failure\r\n // because lazyOnce does not cache the rejection.\r\n $effect(() => {\r\n if (password && !strengthFn) ensureStrengthFn();\r\n });\r\n\r\n // Typed as the library's own `Options<string>` so the strength call needs no\r\n // cast: the tuple's first entry satisfies `FirstOption` (minDiversity/minLength 0)\r\n // and the rest satisfy `Option`, checked contextually against this annotation.\r\n let customOptions: Options<string> = $derived([\r\n {\r\n id: 0,\r\n value: labels.tooWeak,\r\n minDiversity: 0,\r\n minLength: 0,\r\n },\r\n {\r\n id: 1,\r\n value: labels.weak,\r\n minDiversity: 1,\r\n minLength: 6,\r\n },\r\n {\r\n id: 2,\r\n value: labels.good,\r\n minDiversity: 2,\r\n minLength: 8,\r\n },\r\n {\r\n id: 3,\r\n value: labels.strong,\r\n minDiversity: 3,\r\n minLength: 10,\r\n },\r\n ]);\r\n\r\n // Debounce password updates - timer is not reactive to avoid dependency cycle\r\n $effect(() => {\r\n clearTimeout(timer);\r\n if (password.length === 0) {\r\n debouncedPassword = \"\";\r\n } else {\r\n timer = setTimeout(() => {\r\n debouncedPassword = password;\r\n }, 400); // 400ms delay as requested\r\n }\r\n return () => clearTimeout(timer);\r\n });\r\n\r\n let strength = $derived(debouncedPassword && strengthFn\r\n ? strengthFn(debouncedPassword, customOptions)\r\n : null);\r\n\r\n // Derive score based on password length and strength\r\n let computedScore = $derived(debouncedPassword.length > 12 ? 3 : (strength?.id ?? -1));\r\n\r\n // Sync computed values to bindable props using effects with untrack\r\n $effect(() => {\r\n const newScore = computedScore;\r\n if (untrack(() => score) !== newScore) {\r\n score = newScore;\r\n }\r\n });\r\n\r\n // Derive text and color from computedScore (not from bindable score)\r\n let computedStrengthText = $derived(\r\n computedScore === 0 ? labels.tooWeak :\r\n computedScore === 1 ? labels.weak :\r\n computedScore === 2 ? labels.good :\r\n computedScore === 3 ? labels.strong : \"\"\r\n );\r\n\r\n // No color until a real strength result exists. computedScore is -1 while\r\n // the lazily-loaded strength library is still in flight (and during the\r\n // debounce window), so emitting danger here would flash a red \"Password\r\n // strength\" line with empty text in consumers (e.g. PasswordInput).\r\n let computedTextColor = $derived(\r\n computedScore < 0 ? \"\" :\r\n computedScore <= 1 ? \"text-accent-danger\" : \"text-accent-success\"\r\n );\r\n\r\n $effect(() => {\r\n const newText = computedStrengthText;\r\n if (untrack(() => strengthText) !== newText) {\r\n strengthText = newText;\r\n }\r\n });\r\n\r\n let strengthColor = $derived(computedScore <= 1 ? \"bg-accent-danger\" : \"bg-accent-success\");\r\n\r\n $effect(() => {\r\n const newColor = computedTextColor;\r\n if (untrack(() => textColor) !== newColor) {\r\n textColor = newColor;\r\n }\r\n });\r\n\r\n // Calculate how many bars to fill (1-3)\r\n let filledBars = $derived(computedScore === 0 ? 1 : computedScore === 1 ? 2 : computedScore >= 2 ? 3 : 0);\r\n</script>\r\n\r\n{#if debouncedPassword.length > 0}\r\n <div\r\n transition:safeSlide={{ duration: DURATION.elaborate, easing: cubicOut }}\r\n class=\"pt-2 space-y-2\"\r\n >\r\n <!-- 3 segment bars -->\r\n <div class=\"flex gap-1.5\">\r\n {#each [0, 1, 2] as barIndex (barIndex)}\r\n <div\r\n class=\"h-1 flex-1 rounded-full transition-colors duration-normal {barIndex <\r\n filledBars\r\n ? strengthColor\r\n : 'bg-bg-tertiary'}\"\r\n ></div>\r\n {/each}\r\n </div>\r\n {@render children?.()}\r\n </div>\r\n{/if}\r\n","<script lang=\"ts\">\r\n /**\r\n * PasswordInput - Password field with show/hide toggle and strength indicator\r\n *\r\n * Combines Input (password type) with PasswordStrengthIndicator for\r\n * a complete password entry experience.\r\n *\r\n * @example\r\n * <PasswordInput\r\n * label=\"New Password\"\r\n * bind:value={password}\r\n * showStrength\r\n * error={$errors.password}\r\n * required\r\n * />\r\n *\r\n * @example Consumer-owned validation (e.g. Zod): opt out of the built-in\r\n * `required` constraint so the consuming form is the single source of truth.\r\n * <PasswordInput\r\n * label=\"Password\"\r\n * bind:value={password}\r\n * required\r\n * disableBuiltInValidation\r\n * error={$errors.password}\r\n * />\r\n */\r\n import Input from '../../primitives/Input/Input.svelte';\r\n import PasswordStrengthIndicator from './PasswordStrengthIndicator/PasswordStrengthIndicator.svelte';\r\n\r\n const defaultLabels = {\r\n passwordStrength: 'Password strength:',\r\n };\r\n\r\n interface Props {\r\n /** Password value */\r\n value?: string;\r\n /** Label text */\r\n label?: string;\r\n /** Placeholder text */\r\n placeholder?: string;\r\n /** Input name attribute */\r\n name?: string;\r\n /** Input id attribute */\r\n id?: string;\r\n /** Whether the field is required */\r\n required?: boolean;\r\n /**\r\n * Opt out of the component's built-in `required` validation so the\r\n * consumer owns validation entirely (e.g. a Zod schema on the form).\r\n * When `true`, the `required` constraint is NOT forwarded to the\r\n * underlying field (no `aria-required`, no required asterisk). The\r\n * visual error/hint still render via `error`/`hint`. Defaults to\r\n * `false`, preserving the existing built-in behavior exactly.\r\n */\r\n disableBuiltInValidation?: boolean;\r\n /** Whether the field is disabled */\r\n disabled?: boolean;\r\n /** Error message to display */\r\n error?: string;\r\n /** Hint text shown below input */\r\n hint?: string;\r\n /** Show password strength indicator */\r\n showStrength?: boolean;\r\n /** Size variant */\r\n size?: 'sm' | 'md' | 'lg';\r\n /** Minimum password length */\r\n minlength?: number | null;\r\n /** Maximum password length */\r\n maxlength?: number | null;\r\n /** Autocomplete attribute */\r\n autocomplete?: string;\r\n /** Whether to show the password toggle button */\r\n showPasswordToggle?: boolean;\r\n /** Additional class for the wrapper div */\r\n class?: string;\r\n // Optional callbacks (matching Input component signatures)\r\n // eslint-disable-next-line no-unused-vars -- intentionally retained (prop/slot/forward-compat or Svelte-5 reactive binding eslint cannot see)\r\n oninput?: (value: string) => void;\r\n onblur?: () => void;\r\n onfocus?: () => void;\r\n /** Override user-visible strings */\r\n labels?: Partial<typeof defaultLabels>;\r\n }\r\n\r\n let {\r\n value = $bindable(''),\r\n label = '',\r\n placeholder = '',\r\n name = '',\r\n id = '',\r\n required = false,\r\n disableBuiltInValidation = false,\r\n disabled = false,\r\n error = '',\r\n hint = '',\r\n showStrength = false,\r\n size = 'md',\r\n minlength = null,\r\n maxlength = null,\r\n autocomplete = 'new-password',\r\n showPasswordToggle = true,\r\n class: className = '',\r\n oninput,\r\n onblur,\r\n onfocus,\r\n labels: userLabels = {},\r\n }: Props = $props();\r\n\r\n let labels = $derived({ ...defaultLabels, ...userLabels });\r\n\r\n // When the consumer opts out of built-in validation, do NOT forward the\r\n // `required` constraint to the underlying field — the consuming form owns\r\n // validation entirely. Default (false) forwards `required` as-is, exactly\r\n // preserving existing behavior.\r\n let effectiveRequired = $derived(disableBuiltInValidation ? false : required);\r\n\r\n // Password strength tracking\r\n let strengthScore = $state(-1);\r\n let strengthText = $state('');\r\n let strengthColor = $state('');\r\n</script>\r\n\r\n<div class={className}>\r\n <Input\r\n type=\"password\"\r\n {id}\r\n {name}\r\n {placeholder}\r\n {label}\r\n required={effectiveRequired}\r\n {disabled}\r\n {size}\r\n {minlength}\r\n {maxlength}\r\n {autocomplete}\r\n {showPasswordToggle}\r\n errorText={error}\r\n hintText={hint}\r\n bind:value\r\n oninputchange={oninput}\r\n {onblur}\r\n {onfocus}\r\n />\r\n\r\n {#if showStrength && value}\r\n <PasswordStrengthIndicator\r\n password={value}\r\n bind:score={strengthScore}\r\n bind:strengthText\r\n bind:textColor={strengthColor}\r\n >\r\n <p class=\"type-caption {strengthColor}\">\r\n {labels.passwordStrength} {strengthText}\r\n </p>\r\n </PasswordStrengthIndicator>\r\n {/if}\r\n</div>\r\n","<!-- button-exception: the password-gate submit is a type=submit form control styled by scoped CSS (.password-submit) per venue brand. -->\r\n<!-- @route-escape: widget-intentional. -->\r\n<script lang=\"ts\">\r\n import { onMount, onDestroy } from 'svelte';\r\n import { goto } from '$app/navigation';\r\n import { resolve } from '$app/paths';\r\n import EventExperience from '$lib/public-calendar-flow/Event.svelte';\r\n import { transformCollectionData } from '$lib/public-calendar-flow/transform';\r\n import { fetchPublicCollection } from '$lib/api/events';\r\n import type { PublicCollectionData } from '$lib/api/types';\r\n import { createLogger, PasswordInput } from '@getmicdrop/svelte-components';\r\n\r\n const _logger = createLogger('CollectionView');\r\n\r\n // --- Props (matches old CollectionView external interface) ---\r\n interface Props {\r\n collectionId: string | number;\r\n organizationId?: string;\r\n onNavigateToEvent?: (_id: number, _slug: string) => void;\r\n password?: string;\r\n displayMode?: string;\r\n showViewSwitcher?: boolean;\r\n labels?: Record<string, string>;\r\n }\r\n\r\n let {\r\n collectionId,\r\n organizationId: _organizationId = '',\r\n onNavigateToEvent = undefined,\r\n password = undefined,\r\n displayMode: _displayMode = 'gallery',\r\n showViewSwitcher: _showViewSwitcher = true,\r\n labels = {},\r\n }: Props = $props();\r\n\r\n // --- State ---\r\n let collection = $state<PublicCollectionData | null>(null);\r\n let isLoading = $state(true);\r\n let error = $state<string | null>(null);\r\n let isMounted = $state(false);\r\n let passwordRequired = $state(false);\r\n let passwordInput = $state('');\r\n let passwordError = $state(false);\r\n\r\n // --- Derived ---\r\n let eventData = $derived(\r\n collection ? transformCollectionData(collection) : null\r\n );\r\n\r\n // Monotonic id for collection loads. loadCollection runs on mount AND on each\r\n // password submit; a slower EARLIER request resolving last would otherwise\r\n // clobber the latest attempt (isMounted only covers unmount, not overlap).\r\n let latestLoad = 0;\r\n\r\n // --- Load collection data ---\r\n async function loadCollection(pwd?: string): Promise<void> {\r\n if (!isMounted) return;\r\n const loadId = ++latestLoad;\r\n if (!collectionId) {\r\n error = labels.noCollectionIdProvided || 'No collection ID provided';\r\n isLoading = false;\r\n return;\r\n }\r\n\r\n isLoading = true;\r\n error = null;\r\n passwordError = false;\r\n\r\n try {\r\n const data = await fetchPublicCollection(collectionId, pwd);\r\n // A newer load superseded us — discard this stale response.\r\n if (!isMounted || loadId !== latestLoad) return;\r\n\r\n if (data) {\r\n if (data.passwordRequired || data.error?.code === 'PASSWORD_REQUIRED') {\r\n passwordRequired = true;\r\n isLoading = false;\r\n return;\r\n }\r\n collection = data;\r\n passwordRequired = false;\r\n } else {\r\n if (pwd) {\r\n passwordRequired = true;\r\n passwordError = true;\r\n isLoading = false;\r\n return;\r\n }\r\n error = labels.failedToLoadCollection || 'Failed to load collection';\r\n }\r\n } catch (err: any) {\r\n // A superseded load failing must not overwrite the latest load's state\r\n // (e.g. a slow wrong-password 401 re-locking an already-loaded collection).\r\n if (isMounted && loadId === latestLoad) {\r\n const msg = err.message || '';\r\n if (\r\n msg.includes('401') ||\r\n msg.includes('403') ||\r\n msg.includes('password')\r\n ) {\r\n passwordRequired = true;\r\n } else {\r\n error =\r\n msg || labels.failedToLoadCollection || 'Failed to load collection';\r\n }\r\n }\r\n } finally {\r\n // Only the latest load may clear the spinner — a stale load settling\r\n // first must not reveal content while the newest load is still pending.\r\n if (isMounted && loadId === latestLoad) {\r\n isLoading = false;\r\n }\r\n }\r\n }\r\n\r\n function handlePasswordSubmit(e: Event): void {\r\n e.preventDefault();\r\n if (!passwordInput.trim()) return;\r\n loadCollection(passwordInput);\r\n }\r\n\r\n function handleCollectionEventClick(galleryEvent: {\r\n id?: number | string;\r\n slug: string;\r\n }): void {\r\n if (onNavigateToEvent && galleryEvent.id) {\r\n onNavigateToEvent(Number(galleryEvent.id), galleryEvent.slug);\r\n } else {\r\n // @url-builder-escape: widget-internal route; SC's url-builders cover /a admin paths, not embedded calendar navigation.\r\n goto(\r\n resolve('/[id]/[slug]', {\r\n id: String(galleryEvent.id),\r\n slug: String(galleryEvent.slug),\r\n })\r\n );\r\n }\r\n }\r\n\r\n // --- Lifecycle ---\r\n onMount(() => {\r\n isMounted = true;\r\n loadCollection(password);\r\n });\r\n\r\n onDestroy(() => {\r\n isMounted = false;\r\n });\r\n</script>\r\n\r\n<!-- @pageloader-escape: 4-state gate (loading / private-password-card / error /\r\n content) — PageLoader models only loading/error/children, so it can't own the\r\n password-required branch that sits as a sibling here. -->\r\n{#if isLoading}\r\n <div\r\n class=\"flex items-center justify-center py-12 text-center loading-container\"\r\n >\r\n <p>{labels.loadingCollection || 'Loading collection...'}</p>\r\n </div>\r\n{:else if passwordRequired}\r\n <div\r\n class=\"flex flex-col items-center justify-center min-h-[50vh] text-center\"\r\n >\r\n <div class=\"password-card rounded-lg p-8 max-w-sm w-full\">\r\n <h2 class=\"password-title type-heading mb-2\">\r\n {labels.collectionPrivateTitle || 'This collection is private'}\r\n </h2>\r\n <p class=\"password-description type-body mb-6\">\r\n {labels.collectionPrivateDescription ||\r\n 'Please enter the password to view this collection'}\r\n </p>\r\n <form onsubmit={handlePasswordSubmit} class=\"flex flex-col gap-3\">\r\n <PasswordInput\r\n bind:value={passwordInput}\r\n placeholder={labels.enterPassword || 'Enter password'}\r\n error={passwordError\r\n ? labels.incorrectPassword ||\r\n 'Incorrect password. Please try again'\r\n : ''}\r\n />\r\n <button\r\n type=\"submit\"\r\n class=\"password-submit px-4 py-2 rounded-lg type-label\"\r\n >{labels.viewCollection || 'View collection'}</button\r\n >\r\n </form>\r\n </div>\r\n </div>\r\n{:else if error}\r\n <div\r\n class=\"flex flex-col items-center justify-center min-h-[50vh] text-center\"\r\n >\r\n <p class=\"error-text\">{labels.errorPrefix || 'Error:'} {error}</p>\r\n </div>\r\n{:else if eventData}\r\n <EventExperience\r\n event={eventData}\r\n onCollectionEventClick={handleCollectionEventClick}\r\n />\r\n{/if}\r\n\r\n<style>\r\n .loading-container {\r\n color: hsl(var(--text-secondary, 215 16% 47%));\r\n }\r\n\r\n .error-text {\r\n color: hsl(var(--status-sold-out, 0 72% 51%));\r\n }\r\n\r\n .password-card {\r\n background: hsl(var(--surface-primary, 0 0% 100%));\r\n box-shadow: 0 2px 10px color-mix(in srgb, black 10%, transparent);\r\n }\r\n\r\n .password-title {\r\n color: hsl(var(--text-primary, 0 0% 10%));\r\n }\r\n\r\n .password-description {\r\n color: hsl(var(--text-secondary, 0 0% 45%));\r\n }\r\n\r\n .password-submit {\r\n background: hsl(var(--brand-primary, 220 90% 56%));\r\n color: hsl(var(--text-on-primary, 0 0% 100%));\r\n }\r\n\r\n .password-submit:hover {\r\n filter: brightness(0.95);\r\n }\r\n</style>\r\n"],"names":["defaultLabels","password","$","$$props","strengthText","score","textColor","userLabels","labels","debouncedPassword","timer","strengthFn","loadStrengthModule","lazyOnce","ensureStrengthFn","m","customOptions","strength","computedScore","newScore","untrack","computedStrengthText","computedTextColor","newText","strengthColor","newColor","filledBars","div","root_1","div_1","barIndex","$$anchor","div_2","root","safeSlide","DURATION","cubicOut","$$render","consequent","value","label","placeholder","name","id","required","disableBuiltInValidation","disabled","error","hint","showStrength","size","minlength","maxlength","autocomplete","showPasswordToggle","className","effectiveRequired","strengthScore","Input","node","$$value","PasswordStrengthIndicator","p","createLogger","onNavigateToEvent","collection","isLoading","isMounted","passwordRequired","passwordInput","passwordError","eventData","transformCollectionData","latestLoad","loadCollection","pwd","loadId","data","fetchPublicCollection","err","msg","handlePasswordSubmit","e","handleCollectionEventClick","galleryEvent","goto","resolve","onMount","onDestroy","h2","p_1","form","PasswordInput","node_1","button","div_3","root_2","p_2","text_4","EventExperience","consequent_1","consequent_3"],"mappings":";;;;;;;;;;kBAAA;;AAQI,QAAMA,IAAa;AAAA,IACjB,SAAS;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,QAAQ;AAAA;AAYV,MACEC,IAAQC,EAAA,KAAAC,GAAA,YAAA,GAAG,EAAE,GACbC,kCAAyB,EAAE,GAC3BC,mCAAoB,GACpBC,+BAAsB,EAAE,GAEhBC,IAAUL,EAAA,KAAAC,GAAA,UAAA,IAAA,OAAA,CAAA,EAAA,GAGhBK,IAAMN,EAAA,QAAA,OAAA,EAAA,GAAiBF,GAAa,GAAKO,EAAU,EAAA,EAAA,GAEnDE,IAAoBP,EAAA,MAAO,EAAE,GAE7BQ,GAaAC,IAAaT,EAAA,MAAyE,IAAI;AAC9F,QAAMU,IAAqBC,EAAQ,MAAO,OAAO,qBAAyB,CAAA;AAC1E,WAASC,IAAmB;AACnB,IAAAF,EAAkB,EAClB,KAAI,CAAEG,MAAM;YACTJ,GAAaI,EAAE,kBAAgB,EAAA;AAAA,IACnC,CAAC,EACA,MAAK,MAAO;AAAA,IAGb,CAAC;AAAA,EACT;AAKA,EAAAb,EAAA,kBAAc;AACV,IAAID,EAAQ,KAAA,CAAAC,EAAA,IAAKS,CAAU,KAAEG,EAAgB;AAAA,EACjD,CAAC;AAKD,MAAIE,IAA8Bd,EAAA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