@gomusdev/web-components 4.14.5 → 4.15.0

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.
@@ -6381,12 +6381,14 @@ var defaultTranslations_default = {
6381
6381
  en: {
6382
6382
  "quantity.remove": "Remove item",
6383
6383
  "quantity.remove.label": "✕",
6384
- "cart.item.remove": "✕"
6384
+ "cart.item.remove": "✕",
6385
+ "common.table.donation": "Donation"
6385
6386
  },
6386
6387
  de: {
6387
6388
  "quantity.remove": "Artikel entfernen",
6388
6389
  "quantity.remove.label": "✕",
6389
- "cart.item.remove": "✕"
6390
+ "cart.item.remove": "✕",
6391
+ "common.table.donation": "Spende"
6390
6392
  }
6391
6393
  };
6392
6394
  //#endregion
@@ -14316,7 +14318,7 @@ var setPersonalizationDetails = createSetDetails(KEY$5);
14316
14318
  var getPersonalizationDetails = createGetDetails(KEY$5);
14317
14319
  //#endregion
14318
14320
  //#region src/components/annualTicketPersonalization/components/AnnualTicketPersonalization.svelte
14319
- var root$58 = /* @__PURE__ */ from_html(`<li><a> </a></li>`);
14321
+ var root$61 = /* @__PURE__ */ from_html(`<li><a> </a></li>`);
14320
14322
  var root_1$21 = /* @__PURE__ */ from_html(`<ul class="go-annual-ticket"><li class="go-annual-ticket-title"> </li> <li class="go-annual-ticket-personalization-count"> </li> <!></ul>`);
14321
14323
  function AnnualTicketPersonalization($$anchor, $$props) {
14322
14324
  push($$props, true);
@@ -14351,7 +14353,7 @@ function AnnualTicketPersonalization($$anchor, $$props) {
14351
14353
  reset(li_1);
14352
14354
  var node_2 = sibling(li_1, 2);
14353
14355
  var consequent = ($$anchor) => {
14354
- var li_2 = root$58();
14356
+ var li_2 = root$61();
14355
14357
  var a = child(li_2);
14356
14358
  var text_2 = child(a, true);
14357
14359
  reset(a);
@@ -15038,7 +15040,7 @@ function wrapInElement(host, tag, props) {
15038
15040
  }
15039
15041
  //#endregion
15040
15042
  //#region src/components/forms/ui/generic/Form.svelte
15041
- var root$57 = /* @__PURE__ */ from_html(`<go-all-fields></go-all-fields> <go-form-feedback><go-errors-feedback></go-errors-feedback> <go-success-feedback></go-success-feedback></go-form-feedback> <go-submit> </go-submit>`, 3);
15043
+ var root$60 = /* @__PURE__ */ from_html(`<go-all-fields></go-all-fields> <go-form-feedback><go-errors-feedback></go-errors-feedback> <go-success-feedback></go-success-feedback></go-form-feedback> <go-submit> </go-submit>`, 3);
15042
15044
  function Form($$anchor, $$props) {
15043
15045
  push($$props, true);
15044
15046
  let formId = prop($$props, "formId", 7), custom = prop($$props, "custom", 7);
@@ -15084,7 +15086,7 @@ function Form($$anchor, $$props) {
15084
15086
  var fragment = comment();
15085
15087
  var node = first_child(fragment);
15086
15088
  var consequent = ($$anchor) => {
15087
- var fragment_1 = root$57();
15089
+ var fragment_1 = root$60();
15088
15090
  var go_submit = sibling(sibling(first_child(fragment_1), 2), 2);
15089
15091
  var text = child(go_submit, true);
15090
15092
  reset(go_submit);
@@ -15111,7 +15113,7 @@ customElements.define("go-form", create_custom_element(Form, {
15111
15113
  }, [], ["details"]));
15112
15114
  //#endregion
15113
15115
  //#region src/components/auth/passwordReset/PasswordReset.svelte
15114
- var root$56 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15116
+ var root$59 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15115
15117
  function PasswordReset($$anchor, $$props) {
15116
15118
  push($$props, true);
15117
15119
  let custom = prop($$props, "custom", 7, false), redirectUrl = prop($$props, "redirectUrl", 7, "");
@@ -15155,7 +15157,7 @@ function PasswordReset($$anchor, $$props) {
15155
15157
  flushSync();
15156
15158
  }
15157
15159
  };
15158
- var go_form = root$56();
15160
+ var go_form = root$59();
15159
15161
  set_custom_element_data(go_form, "formId", "passwordReset");
15160
15162
  template_effect(() => set_custom_element_data(go_form, "custom", custom()));
15161
15163
  event("submit", go_form, passwordReset);
@@ -15171,7 +15173,7 @@ customElements.define("go-password-reset", create_custom_element(PasswordReset,
15171
15173
  }, [], []));
15172
15174
  //#endregion
15173
15175
  //#region src/components/auth/setPassword/SetPassword.svelte
15174
- var root$55 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15176
+ var root$58 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15175
15177
  function SetPassword($$anchor, $$props) {
15176
15178
  push($$props, true);
15177
15179
  let accessToken = prop($$props, "accessToken", 7, ""), client = prop($$props, "client", 7, ""), uid = prop($$props, "uid", 7, "");
@@ -15225,7 +15227,7 @@ function SetPassword($$anchor, $$props) {
15225
15227
  flushSync();
15226
15228
  }
15227
15229
  };
15228
- var go_form = root$55();
15230
+ var go_form = root$58();
15229
15231
  set_custom_element_data(go_form, "formId", "setPassword");
15230
15232
  event("submit", go_form, setNewPassword);
15231
15233
  append($$anchor, go_form);
@@ -15477,8 +15479,8 @@ var setCartDetails = createSetDetails(KEY$3);
15477
15479
  var getCartDetails = createGetDetails(KEY$3);
15478
15480
  //#endregion
15479
15481
  //#region src/components/cart/components/itemTitles/Coupon.svelte
15480
- var root$54 = /* @__PURE__ */ from_html(`<span class="go-cart-item-title" data-testid="cart-item-title"> </span>`);
15481
- function Coupon($$anchor, $$props) {
15482
+ var root$57 = /* @__PURE__ */ from_html(`<span class="go-cart-item-title" data-testid="cart-item-title"> </span>`);
15483
+ function Coupon$1($$anchor, $$props) {
15482
15484
  push($$props, true);
15483
15485
  let cartItem = prop($$props, "cartItem", 7);
15484
15486
  var $$exports = {
@@ -15490,17 +15492,17 @@ function Coupon($$anchor, $$props) {
15490
15492
  flushSync();
15491
15493
  }
15492
15494
  };
15493
- var span = root$54();
15495
+ var span = root$57();
15494
15496
  var text = child(span, true);
15495
15497
  reset(span);
15496
15498
  template_effect(() => set_text(text, cartItem().product.title));
15497
15499
  append($$anchor, span);
15498
15500
  return pop($$exports);
15499
15501
  }
15500
- create_custom_element(Coupon, { cartItem: {} }, [], [], { mode: "open" });
15502
+ create_custom_element(Coupon$1, { cartItem: {} }, [], [], { mode: "open" });
15501
15503
  //#endregion
15502
15504
  //#region src/components/cart/components/itemTitles/Event.svelte
15503
- var root$53 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span><span class="go-cart-item-time" data-testid="cart-item-time"> </span>`, 1);
15505
+ var root$56 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span><span class="go-cart-item-time" data-testid="cart-item-time"> </span>`, 1);
15504
15506
  var root_1$20 = /* @__PURE__ */ from_html(`<span class="go-cart-item-title" data-testid="cart-item-title"><span class="go-cart-item-title-event-title"> </span><span class="go-cart-item-title-ticket-title"> </span></span><!>`, 1);
15505
15507
  function Event$2($$anchor, $$props) {
15506
15508
  push($$props, true);
@@ -15527,7 +15529,7 @@ function Event$2($$anchor, $$props) {
15527
15529
  reset(span);
15528
15530
  var node = sibling(span);
15529
15531
  var consequent = ($$anchor) => {
15530
- var fragment_1 = root$53();
15532
+ var fragment_1 = root$56();
15531
15533
  var span_3 = first_child(fragment_1);
15532
15534
  var text_2 = child(span_3, true);
15533
15535
  reset(span_3);
@@ -15553,7 +15555,7 @@ function Event$2($$anchor, $$props) {
15553
15555
  create_custom_element(Event$2, { cartItem: {} }, [], [], { mode: "open" });
15554
15556
  //#endregion
15555
15557
  //#region src/components/cart/components/itemTitles/Ticket.svelte
15556
- var root$52 = /* @__PURE__ */ from_html(`<span class="go-cart-item-subtitle" data-testid="cart-item-subtitle"> </span>`);
15558
+ var root$55 = /* @__PURE__ */ from_html(`<span class="go-cart-item-subtitle" data-testid="cart-item-subtitle"> </span>`);
15557
15559
  var root_1$19 = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
15558
15560
  var root_2$14 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <!>`, 1);
15559
15561
  var root_3$10 = /* @__PURE__ */ from_html(`<span class="go-cart-item-title" data-testid="cart-item-title"> </span> <!> <!>`, 1);
@@ -15575,7 +15577,7 @@ function Ticket($$anchor, $$props) {
15575
15577
  reset(span);
15576
15578
  var node = sibling(span, 2);
15577
15579
  var consequent = ($$anchor) => {
15578
- var span_1 = root$52();
15580
+ var span_1 = root$55();
15579
15581
  var text_1 = child(span_1, true);
15580
15582
  reset(span_1);
15581
15583
  template_effect(() => set_text(text_1, cartItem().product.sub_title));
@@ -15615,7 +15617,7 @@ function Ticket($$anchor, $$props) {
15615
15617
  create_custom_element(Ticket, { cartItem: {} }, [], [], { mode: "open" });
15616
15618
  //#endregion
15617
15619
  //#region src/components/cart/components/itemTitles/Tour.svelte
15618
- var root$51 = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
15620
+ var root$54 = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
15619
15621
  var root_1$18 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <!>`, 1);
15620
15622
  var root_2$13 = /* @__PURE__ */ from_html(`<span class="go-cart-item-custom" data-testid="cart-item-custom"> </span>`);
15621
15623
  var root_3$9 = /* @__PURE__ */ from_html(`<span class="go-cart-item-title" data-testid="cart-item-title"> </span> <span class="go-cart-item-participants" data-testid="cart-item-participants"> </span> <!> <!>`, 1);
@@ -15663,7 +15665,7 @@ function Tour$1($$anchor, $$props) {
15663
15665
  reset(span_2);
15664
15666
  var node_1 = sibling(span_2, 2);
15665
15667
  var consequent = ($$anchor) => {
15666
- var span_3 = root$51();
15668
+ var span_3 = root$54();
15667
15669
  var text_3 = child(span_3, true);
15668
15670
  reset(span_3);
15669
15671
  template_effect(() => set_text(text_3, get$2(slot).time));
@@ -15730,7 +15732,7 @@ function canDecrement(value, { floor = 0 }) {
15730
15732
  }
15731
15733
  //#endregion
15732
15734
  //#region src/components/shared/quantityStepper/QuantityStepper.svelte
15733
- var root$50 = /* @__PURE__ */ from_html(`<div class="go-quantity-stepper" role="group"><button type="button" tabindex="-1"><span aria-hidden="true"> </span></button> <input class="go-quantity-stepper-value" type="text" role="spinbutton" inputmode="numeric" autocomplete="off"/> <button type="button" class="go-quantity-stepper-button go-quantity-stepper-increment" tabindex="-1"><span aria-hidden="true">+</span></button></div>`);
15735
+ var root$53 = /* @__PURE__ */ from_html(`<div class="go-quantity-stepper" role="group"><button type="button" tabindex="-1"><span aria-hidden="true"> </span></button> <input class="go-quantity-stepper-value" type="text" role="spinbutton" inputmode="numeric" autocomplete="off"/> <button type="button" class="go-quantity-stepper-button go-quantity-stepper-increment" tabindex="-1"><span aria-hidden="true">+</span></button></div>`);
15734
15736
  function QuantityStepper($$anchor, $$props) {
15735
15737
  const inputId = props_id();
15736
15738
  push($$props, true);
@@ -15884,7 +15886,7 @@ function QuantityStepper($$anchor, $$props) {
15884
15886
  flushSync();
15885
15887
  }
15886
15888
  };
15887
- var div = root$50();
15889
+ var div = root$53();
15888
15890
  var button = child(div);
15889
15891
  let classes;
15890
15892
  var span = child(button);
@@ -15964,7 +15966,7 @@ function option(value) {
15964
15966
  }
15965
15967
  //#endregion
15966
15968
  //#region src/components/shared/quantityStepper/QuantityControl.svelte
15967
- var root$49 = /* @__PURE__ */ from_html(`<option> </option>`);
15969
+ var root$52 = /* @__PURE__ */ from_html(`<option> </option>`);
15968
15970
  var root_1$17 = /* @__PURE__ */ from_html(`<select class="go-quantity-select"></select>`);
15969
15971
  function QuantityControl($$anchor, $$props) {
15970
15972
  push($$props, true);
@@ -16094,7 +16096,7 @@ function QuantityControl($$anchor, $$props) {
16094
16096
  var alternate = ($$anchor) => {
16095
16097
  var select = root_1$17();
16096
16098
  each(select, 21, () => generateQuantityOptions(min(), max(), { floor: deselectable() ? floor() : min() }), (q) => q.value, ($$anchor, q) => {
16097
- var option = root$49();
16099
+ var option = root$52();
16098
16100
  var text = child(option, true);
16099
16101
  reset(option);
16100
16102
  var option_value = {};
@@ -17979,7 +17981,7 @@ function createDOMPurify() {
17979
17981
  var purify = createDOMPurify();
17980
17982
  //#endregion
17981
17983
  //#region src/components/cart/components/SubRow.svelte
17982
- var root$48 = /* @__PURE__ */ from_html(`<span class="go-sub-ticket-description"></span>`);
17984
+ var root$51 = /* @__PURE__ */ from_html(`<span class="go-sub-ticket-description"></span>`);
17983
17985
  var root_1$16 = /* @__PURE__ */ from_html(`<span class="go-sub-ticket-quantity"> </span>`);
17984
17986
  var root_2$12 = /* @__PURE__ */ from_html(`<li><span class="go-sub-ticket-title"> </span> <!> <!></li>`);
17985
17987
  function SubRow($$anchor, $$props) {
@@ -18030,7 +18032,7 @@ function SubRow($$anchor, $$props) {
18030
18032
  reset(span);
18031
18033
  var node = sibling(span, 2);
18032
18034
  var consequent = ($$anchor) => {
18033
- var span_1 = root$48();
18035
+ var span_1 = root$51();
18034
18036
  html$2(span_1, () => purify.sanitize(sub().description), true);
18035
18037
  reset(span_1);
18036
18038
  append($$anchor, span_1);
@@ -18117,7 +18119,7 @@ function quantityLabel(item, locale) {
18117
18119
  }
18118
18120
  //#endregion
18119
18121
  //#region src/components/cart/components/Item.svelte
18120
- var root$47 = /* @__PURE__ */ from_html(`<s class="go-cart-item-price-original"> </s> <span class="go-cart-item-price-discounted"> </span>`, 1);
18122
+ var root$50 = /* @__PURE__ */ from_html(`<s class="go-cart-item-price-original"> </s> <span class="go-cart-item-price-discounted"> </span>`, 1);
18121
18123
  var root_1$15 = /* @__PURE__ */ from_html(`<span class="go-cart-item-price-discounted"> </span>`);
18122
18124
  var root_2$11 = /* @__PURE__ */ from_html(`<span data-testid="cart-item-participant-count"> </span>`);
18123
18125
  var root_3$8 = /* @__PURE__ */ from_html(`<span data-testid="cart-item-voucher-quantity"> </span>`);
@@ -18206,7 +18208,7 @@ function Item$1($$anchor, $$props) {
18206
18208
  } });
18207
18209
  };
18208
18210
  var consequent_2 = ($$anchor) => {
18209
- Coupon($$anchor, { get cartItem() {
18211
+ Coupon$1($$anchor, { get cartItem() {
18210
18212
  return displayItem();
18211
18213
  } });
18212
18214
  };
@@ -18225,7 +18227,7 @@ function Item$1($$anchor, $$props) {
18225
18227
  var li_1 = sibling(li, 2);
18226
18228
  var node_2 = child(li_1);
18227
18229
  var consequent_4 = ($$anchor) => {
18228
- var fragment_6 = root$47();
18230
+ var fragment_6 = root$50();
18229
18231
  var s = first_child(fragment_6);
18230
18232
  var text = child(s, true);
18231
18233
  reset(s);
@@ -18372,7 +18374,7 @@ create_custom_element(Item$1, {
18372
18374
  }, [], [], { mode: "open" });
18373
18375
  //#endregion
18374
18376
  //#region src/components/cart/components/CartItems.svelte
18375
- var root$46 = /* @__PURE__ */ from_html(`<li class="go-cart-header-remove"></li>`);
18377
+ var root$49 = /* @__PURE__ */ from_html(`<li class="go-cart-header-remove"></li>`);
18376
18378
  var root_1$14 = /* @__PURE__ */ from_html(`<li class="go-cart-item"><!></li>`);
18377
18379
  var root_2$10 = /* @__PURE__ */ from_html(`<ol data-testid="cart-items"><li class="go-cart-header"><ul><li class="go-cart-header-title"> </li> <li class="go-cart-header-price"> </li> <li class="go-cart-header-count"> </li> <!> <li class="go-cart-header-sum"> </li></ul></li> <!></ol>`);
18378
18380
  function CartItems($$anchor, $$props) {
@@ -18396,7 +18398,7 @@ function CartItems($$anchor, $$props) {
18396
18398
  reset(li_3);
18397
18399
  var node_1 = sibling(li_3, 2);
18398
18400
  var consequent = ($$anchor) => {
18399
- append($$anchor, root$46());
18401
+ append($$anchor, root$49());
18400
18402
  };
18401
18403
  if_block(node_1, ($$render) => {
18402
18404
  if (!get$2(details).preview) $$render(consequent);
@@ -18445,7 +18447,7 @@ function CartItems($$anchor, $$props) {
18445
18447
  customElements.define("go-cart-items", create_custom_element(CartItems, {}, [], []));
18446
18448
  //#endregion
18447
18449
  //#region src/components/cart/components/CartCoupons.svelte
18448
- var root$45 = /* @__PURE__ */ from_html(`<li class="go-cart-coupon-remove-cell"><button class="go-cart-remove go-cart-coupon-remove">⨉</button></li>`);
18450
+ var root$48 = /* @__PURE__ */ from_html(`<li class="go-cart-coupon-remove-cell"><button class="go-cart-remove go-cart-coupon-remove">⨉</button></li>`);
18449
18451
  var root_1$13 = /* @__PURE__ */ from_html(`<li><article class="go-cart-coupon-content"><ul><li class="go-cart-coupon-code"> </li> <!></ul></article></li>`);
18450
18452
  var root_2$9 = /* @__PURE__ */ from_html(`<ol data-testid="cart-coupons"></ol>`);
18451
18453
  function CartCoupons($$anchor, $$props) {
@@ -18466,7 +18468,7 @@ function CartCoupons($$anchor, $$props) {
18466
18468
  reset(li_1);
18467
18469
  var node_1 = sibling(li_1, 2);
18468
18470
  var consequent = ($$anchor) => {
18469
- var li_2 = root$45();
18471
+ var li_2 = root$48();
18470
18472
  var button = child(li_2);
18471
18473
  reset(li_2);
18472
18474
  template_effect(($0) => set_attribute(button, "aria-label", $0), [() => shop.t("cart.coupons.remove")]);
@@ -18498,7 +18500,7 @@ delegate(["click"]);
18498
18500
  customElements.define("go-cart-coupons", create_custom_element(CartCoupons, {}, [], []));
18499
18501
  //#endregion
18500
18502
  //#region src/components/cart/components/CartTotalAmount.svelte
18501
- var root$44 = /* @__PURE__ */ from_html(`<span class="go-cart-total-amount" data-testid="cart-total-amount"> </span>`);
18503
+ var root$47 = /* @__PURE__ */ from_html(`<span class="go-cart-total-amount" data-testid="cart-total-amount"> </span>`);
18502
18504
  function CartTotalAmount($$anchor, $$props) {
18503
18505
  push($$props, true);
18504
18506
  const _details = getCartDetails($$props.$$host);
@@ -18506,7 +18508,7 @@ function CartTotalAmount($$anchor, $$props) {
18506
18508
  var fragment = comment();
18507
18509
  var node = first_child(fragment);
18508
18510
  var consequent = ($$anchor) => {
18509
- var span = root$44();
18511
+ var span = root$47();
18510
18512
  var text = child(span, true);
18511
18513
  reset(span);
18512
18514
  template_effect(($0) => set_text(text, $0), [() => formatCurrency(get$2(details).totalPriceCents)]);
@@ -18575,7 +18577,7 @@ customElements.define("go-cart", create_custom_element(Cart, { preview: {
18575
18577
  } }, [], []));
18576
18578
  //#endregion
18577
18579
  //#region src/components/cart/components/CartSubtotalAmount.svelte
18578
- var root$43 = /* @__PURE__ */ from_html(`<span class="go-cart-subtotal-amount" data-testid="cart-subtotal-amount"> </span>`);
18580
+ var root$46 = /* @__PURE__ */ from_html(`<span class="go-cart-subtotal-amount" data-testid="cart-subtotal-amount"> </span>`);
18579
18581
  function CartSubtotalAmount($$anchor, $$props) {
18580
18582
  push($$props, true);
18581
18583
  const _details = getCartDetails($$props.$$host);
@@ -18583,7 +18585,7 @@ function CartSubtotalAmount($$anchor, $$props) {
18583
18585
  var fragment = comment();
18584
18586
  var node = first_child(fragment);
18585
18587
  var consequent = ($$anchor) => {
18586
- var span = root$43();
18588
+ var span = root$46();
18587
18589
  var text = child(span, true);
18588
18590
  reset(span);
18589
18591
  template_effect(($0) => set_text(text, $0), [() => formatCurrency(get$2(details).subtotalPriceCents)]);
@@ -18598,7 +18600,7 @@ function CartSubtotalAmount($$anchor, $$props) {
18598
18600
  customElements.define("go-cart-subtotal-amount", create_custom_element(CartSubtotalAmount, {}, [], []));
18599
18601
  //#endregion
18600
18602
  //#region src/components/cart/components/CartDiscountedAmount.svelte
18601
- var root$42 = /* @__PURE__ */ from_html(`<span class="go-cart-discounted-amount" data-testid="cart-discounted-amount"><span class="go-cart-discounted-amount-sign">−</span> </span>`);
18603
+ var root$45 = /* @__PURE__ */ from_html(`<span class="go-cart-discounted-amount" data-testid="cart-discounted-amount"><span class="go-cart-discounted-amount-sign">−</span> </span>`);
18602
18604
  function CartDiscountedAmount($$anchor, $$props) {
18603
18605
  push($$props, true);
18604
18606
  const _details = getCartDetails($$props.$$host);
@@ -18606,7 +18608,7 @@ function CartDiscountedAmount($$anchor, $$props) {
18606
18608
  var fragment = comment();
18607
18609
  var node = first_child(fragment);
18608
18610
  var consequent = ($$anchor) => {
18609
- var span = root$42();
18611
+ var span = root$45();
18610
18612
  var text = sibling(child(span), 1, true);
18611
18613
  reset(span);
18612
18614
  template_effect(($0) => set_text(text, $0), [() => formatCurrency(get$2(details).discountedAmountCents)]);
@@ -18850,7 +18852,7 @@ function fail(errors) {
18850
18852
  }
18851
18853
  //#endregion
18852
18854
  //#region src/components/couponRedemption/CouponRedemption.svelte
18853
- var root$41 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
18855
+ var root$44 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
18854
18856
  function CouponRedemption($$anchor, $$props) {
18855
18857
  push($$props, true);
18856
18858
  Forms.defineForm({
@@ -18887,7 +18889,7 @@ function CouponRedemption($$anchor, $$props) {
18887
18889
  return runRedeem(form);
18888
18890
  }
18889
18891
  var $$exports = { flush };
18890
- var go_form = root$41();
18892
+ var go_form = root$44();
18891
18893
  set_custom_element_data(go_form, "formId", "couponRedemption");
18892
18894
  event("submit", go_form, redeem$1);
18893
18895
  append($$anchor, go_form);
@@ -18943,7 +18945,7 @@ var GoDonation = class {
18943
18945
  var goDonation = new GoDonation();
18944
18946
  //#endregion
18945
18947
  //#region src/components/donations/components/DonationCampaign.svelte
18946
- var root$40 = /* @__PURE__ */ from_html(`<img alt="logo"/>`);
18948
+ var root$43 = /* @__PURE__ */ from_html(`<img alt="logo"/>`);
18947
18949
  var root_1$12 = /* @__PURE__ */ from_html(`<div role="button" tabindex="0"><div class="donation-image"><!></div> <div class="donation-info"><p class="donation-info-title"> </p> <p class="donation-info-description"> </p></div></div>`);
18948
18950
  function DonationCampaign($$anchor, $$props) {
18949
18951
  push($$props, true);
@@ -18963,7 +18965,7 @@ function DonationCampaign($$anchor, $$props) {
18963
18965
  var div_1 = child(div);
18964
18966
  var node = child(div_1);
18965
18967
  var consequent = ($$anchor) => {
18966
- var img = root$40();
18968
+ var img = root$43();
18967
18969
  template_effect(($0) => set_attribute(img, "src", $0), [() => campaign().picture.thumbnail.replace("thumbnail", "article_3x2")]);
18968
18970
  append($$anchor, img);
18969
18971
  };
@@ -18996,7 +18998,7 @@ delegate(["click", "keydown"]);
18996
18998
  create_custom_element(DonationCampaign, { campaign: {} }, [], [], { mode: "open" });
18997
18999
  //#endregion
18998
19000
  //#region src/components/donations/components/DonationSelector.svelte
18999
- var root$39 = /* @__PURE__ */ from_html(`<button> </button>`);
19001
+ var root$42 = /* @__PURE__ */ from_html(`<button> </button>`);
19000
19002
  var root_1$11 = /* @__PURE__ */ from_html(`<form id="donationForm" action="" novalidate=""><div class="donation-custom form-group"><label for="donation-custom-amount"> </label> <input class="form-control" id="donation-custom-amount" type="number" min="1"/></div></form>`);
19001
19003
  var root_2$8 = /* @__PURE__ */ from_html(`<div class="donation-selection"><h3> </h3> <div class="donation-options"></div> <!></div>`);
19002
19004
  function DonationSelector($$anchor, $$props) {
@@ -19021,7 +19023,7 @@ function DonationSelector($$anchor, $$props) {
19021
19023
  reset(h3);
19022
19024
  var div_1 = sibling(h3, 2);
19023
19025
  each(div_1, 20, () => goDonation.campaign?.options, (option) => option, ($$anchor, option) => {
19024
- var button = root$39();
19026
+ var button = root$42();
19025
19027
  let classes;
19026
19028
  var text_1 = child(button, true);
19027
19029
  reset(button);
@@ -19065,7 +19067,7 @@ delegate(["click", "input"]);
19065
19067
  create_custom_element(DonationSelector, {}, [], [], { mode: "open" });
19066
19068
  //#endregion
19067
19069
  //#region src/components/donations/components/Donations.svelte
19068
- var root$38 = /* @__PURE__ */ from_html(`<div class="go-donations-list"><!> <!> <div class="donation-actions"><button class="btn btn-default"> </button> <button class="btn btn-primary"> </button></div></div>`);
19070
+ var root$41 = /* @__PURE__ */ from_html(`<div class="go-donations-list"><!> <!> <div class="donation-actions"><button class="btn btn-default"> </button> <button class="btn btn-primary"> </button></div></div>`);
19069
19071
  function Donations($$anchor, $$props) {
19070
19072
  push($$props, false);
19071
19073
  onMount(() => {
@@ -19075,7 +19077,7 @@ function Donations($$anchor, $$props) {
19075
19077
  var fragment = comment();
19076
19078
  var node = first_child(fragment);
19077
19079
  var consequent_1 = ($$anchor) => {
19078
- var div = root$38();
19080
+ var div = root$41();
19079
19081
  var node_1 = child(div);
19080
19082
  each(node_1, 1, () => shop?.donations?.campaigns, (campaign) => campaign.id, ($$anchor, campaign) => {
19081
19083
  DonationCampaign($$anchor, { get campaign() {
@@ -24914,7 +24916,7 @@ var rest_excludes$25 = new Set([
24914
24916
  "monthFormat",
24915
24917
  "yearFormat"
24916
24918
  ]);
24917
- var root$37 = /* @__PURE__ */ from_html(`<div><!></div>`);
24919
+ var root$40 = /* @__PURE__ */ from_html(`<div><!></div>`);
24918
24920
  function Calendar$1($$anchor, $$props) {
24919
24921
  push($$props, true);
24920
24922
  let child$18 = prop($$props, "child", 7), children = prop($$props, "children", 7), id = prop($$props, "id", 23, useId), ref = prop($$props, "ref", 15, null), value = prop($$props, "value", 15), onValueChange = prop($$props, "onValueChange", 7, noop), placeholder = prop($$props, "placeholder", 15), onPlaceholderChange = prop($$props, "onPlaceholderChange", 7, noop), weekdayFormat = prop($$props, "weekdayFormat", 7, "narrow"), weekStartsOn = prop($$props, "weekStartsOn", 7), pagedNavigation = prop($$props, "pagedNavigation", 7, false), isDateDisabled = prop($$props, "isDateDisabled", 7, () => false), isDateUnavailable = prop($$props, "isDateUnavailable", 7, () => false), fixedWeeks = prop($$props, "fixedWeeks", 7, false), numberOfMonths = prop($$props, "numberOfMonths", 7, 1), locale = prop($$props, "locale", 7), calendarLabel = prop($$props, "calendarLabel", 7, "Event"), disabled = prop($$props, "disabled", 7, false), readonly = prop($$props, "readonly", 7, false), minValue = prop($$props, "minValue", 7, void 0), maxValue = prop($$props, "maxValue", 7, void 0), preventDeselect = prop($$props, "preventDeselect", 7, false), type = prop($$props, "type", 7), disableDaysOutsideMonth = prop($$props, "disableDaysOutsideMonth", 7, true), initialFocus = prop($$props, "initialFocus", 7, false), maxDays = prop($$props, "maxDays", 7), monthFormat = prop($$props, "monthFormat", 7, "long"), yearFormat = prop($$props, "yearFormat", 7, "numeric"), restProps = /* @__PURE__ */ rest_props($$props, rest_excludes$25);
@@ -25186,7 +25188,7 @@ function Calendar$1($$anchor, $$props) {
25186
25188
  append($$anchor, fragment_1);
25187
25189
  };
25188
25190
  var alternate = ($$anchor) => {
25189
- var div = root$37();
25191
+ var div = root$40();
25190
25192
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
25191
25193
  snippet(child(div), () => children() ?? noop$1, () => rootState.snippetProps);
25192
25194
  reset(div);
@@ -25241,7 +25243,7 @@ var rest_excludes$24 = new Set([
25241
25243
  "ref",
25242
25244
  "id"
25243
25245
  ]);
25244
- var root$36 = /* @__PURE__ */ from_html(`<div><!></div>`);
25246
+ var root$39 = /* @__PURE__ */ from_html(`<div><!></div>`);
25245
25247
  function Calendar_day($$anchor, $$props) {
25246
25248
  const uid = props_id();
25247
25249
  push($$props, true);
@@ -25296,7 +25298,7 @@ function Calendar_day($$anchor, $$props) {
25296
25298
  append($$anchor, fragment_1);
25297
25299
  };
25298
25300
  var alternate_1 = ($$anchor) => {
25299
- var div = root$36();
25301
+ var div = root$39();
25300
25302
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
25301
25303
  var node_2 = child(div);
25302
25304
  var consequent_1 = ($$anchor) => {
@@ -25341,7 +25343,7 @@ var rest_excludes$23 = new Set([
25341
25343
  "ref",
25342
25344
  "id"
25343
25345
  ]);
25344
- var root$35 = /* @__PURE__ */ from_html(`<table><!></table>`);
25346
+ var root$38 = /* @__PURE__ */ from_html(`<table><!></table>`);
25345
25347
  function Calendar_grid($$anchor, $$props) {
25346
25348
  const uid = props_id();
25347
25349
  push($$props, true);
@@ -25389,7 +25391,7 @@ function Calendar_grid($$anchor, $$props) {
25389
25391
  append($$anchor, fragment_1);
25390
25392
  };
25391
25393
  var alternate = ($$anchor) => {
25392
- var table = root$35();
25394
+ var table = root$38();
25393
25395
  attribute_effect(table, () => ({ ...get$2(mergedProps) }));
25394
25396
  snippet(child(table), () => children() ?? noop$1);
25395
25397
  reset(table);
@@ -25420,7 +25422,7 @@ var rest_excludes$22 = new Set([
25420
25422
  "ref",
25421
25423
  "id"
25422
25424
  ]);
25423
- var root$34 = /* @__PURE__ */ from_html(`<tbody><!></tbody>`);
25425
+ var root$37 = /* @__PURE__ */ from_html(`<tbody><!></tbody>`);
25424
25426
  function Calendar_grid_body($$anchor, $$props) {
25425
25427
  const uid = props_id();
25426
25428
  push($$props, true);
@@ -25468,7 +25470,7 @@ function Calendar_grid_body($$anchor, $$props) {
25468
25470
  append($$anchor, fragment_1);
25469
25471
  };
25470
25472
  var alternate = ($$anchor) => {
25471
- var tbody = root$34();
25473
+ var tbody = root$37();
25472
25474
  attribute_effect(tbody, () => ({ ...get$2(mergedProps) }));
25473
25475
  snippet(child(tbody), () => children() ?? noop$1);
25474
25476
  reset(tbody);
@@ -25501,7 +25503,7 @@ var rest_excludes$21 = new Set([
25501
25503
  "date",
25502
25504
  "month"
25503
25505
  ]);
25504
- var root$33 = /* @__PURE__ */ from_html(`<td><!></td>`);
25506
+ var root$36 = /* @__PURE__ */ from_html(`<td><!></td>`);
25505
25507
  function Calendar_cell($$anchor, $$props) {
25506
25508
  const uid = props_id();
25507
25509
  push($$props, true);
@@ -25572,7 +25574,7 @@ function Calendar_cell($$anchor, $$props) {
25572
25574
  append($$anchor, fragment_1);
25573
25575
  };
25574
25576
  var alternate = ($$anchor) => {
25575
- var td = root$33();
25577
+ var td = root$36();
25576
25578
  attribute_effect(td, () => ({ ...get$2(mergedProps) }));
25577
25579
  snippet(child(td), () => children() ?? noop$1, () => cellState.snippetProps);
25578
25580
  reset(td);
@@ -25605,7 +25607,7 @@ var rest_excludes$20 = new Set([
25605
25607
  "ref",
25606
25608
  "id"
25607
25609
  ]);
25608
- var root$32 = /* @__PURE__ */ from_html(`<thead><!></thead>`);
25610
+ var root$35 = /* @__PURE__ */ from_html(`<thead><!></thead>`);
25609
25611
  function Calendar_grid_head($$anchor, $$props) {
25610
25612
  const uid = props_id();
25611
25613
  push($$props, true);
@@ -25653,7 +25655,7 @@ function Calendar_grid_head($$anchor, $$props) {
25653
25655
  append($$anchor, fragment_1);
25654
25656
  };
25655
25657
  var alternate = ($$anchor) => {
25656
- var thead = root$32();
25658
+ var thead = root$35();
25657
25659
  attribute_effect(thead, () => ({ ...get$2(mergedProps) }));
25658
25660
  snippet(child(thead), () => children() ?? noop$1);
25659
25661
  reset(thead);
@@ -25684,7 +25686,7 @@ var rest_excludes$19 = new Set([
25684
25686
  "ref",
25685
25687
  "id"
25686
25688
  ]);
25687
- var root$31 = /* @__PURE__ */ from_html(`<th><!></th>`);
25689
+ var root$34 = /* @__PURE__ */ from_html(`<th><!></th>`);
25688
25690
  function Calendar_head_cell($$anchor, $$props) {
25689
25691
  const uid = props_id();
25690
25692
  push($$props, true);
@@ -25732,7 +25734,7 @@ function Calendar_head_cell($$anchor, $$props) {
25732
25734
  append($$anchor, fragment_1);
25733
25735
  };
25734
25736
  var alternate = ($$anchor) => {
25735
- var th = root$31();
25737
+ var th = root$34();
25736
25738
  attribute_effect(th, () => ({ ...get$2(mergedProps) }));
25737
25739
  snippet(child(th), () => children() ?? noop$1);
25738
25740
  reset(th);
@@ -25763,7 +25765,7 @@ var rest_excludes$18 = new Set([
25763
25765
  "ref",
25764
25766
  "id"
25765
25767
  ]);
25766
- var root$30 = /* @__PURE__ */ from_html(`<tr><!></tr>`);
25768
+ var root$33 = /* @__PURE__ */ from_html(`<tr><!></tr>`);
25767
25769
  function Calendar_grid_row($$anchor, $$props) {
25768
25770
  const uid = props_id();
25769
25771
  push($$props, true);
@@ -25811,7 +25813,7 @@ function Calendar_grid_row($$anchor, $$props) {
25811
25813
  append($$anchor, fragment_1);
25812
25814
  };
25813
25815
  var alternate = ($$anchor) => {
25814
- var tr = root$30();
25816
+ var tr = root$33();
25815
25817
  attribute_effect(tr, () => ({ ...get$2(mergedProps) }));
25816
25818
  snippet(child(tr), () => children() ?? noop$1);
25817
25819
  reset(tr);
@@ -25842,7 +25844,7 @@ var rest_excludes$17 = new Set([
25842
25844
  "ref",
25843
25845
  "id"
25844
25846
  ]);
25845
- var root$29 = /* @__PURE__ */ from_html(`<header><!></header>`);
25847
+ var root$32 = /* @__PURE__ */ from_html(`<header><!></header>`);
25846
25848
  function Calendar_header($$anchor, $$props) {
25847
25849
  const uid = props_id();
25848
25850
  push($$props, true);
@@ -25890,7 +25892,7 @@ function Calendar_header($$anchor, $$props) {
25890
25892
  append($$anchor, fragment_1);
25891
25893
  };
25892
25894
  var alternate = ($$anchor) => {
25893
- var header = root$29();
25895
+ var header = root$32();
25894
25896
  attribute_effect(header, () => ({ ...get$2(mergedProps) }));
25895
25897
  snippet(child(header), () => children() ?? noop$1);
25896
25898
  reset(header);
@@ -25921,7 +25923,7 @@ var rest_excludes$16 = new Set([
25921
25923
  "ref",
25922
25924
  "id"
25923
25925
  ]);
25924
- var root$28 = /* @__PURE__ */ from_html(`<div><!></div>`);
25926
+ var root$31 = /* @__PURE__ */ from_html(`<div><!></div>`);
25925
25927
  function Calendar_heading($$anchor, $$props) {
25926
25928
  const uid = props_id();
25927
25929
  push($$props, true);
@@ -25972,7 +25974,7 @@ function Calendar_heading($$anchor, $$props) {
25972
25974
  append($$anchor, fragment_1);
25973
25975
  };
25974
25976
  var alternate_1 = ($$anchor) => {
25975
- var div = root$28();
25977
+ var div = root$31();
25976
25978
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
25977
25979
  var node_2 = child(div);
25978
25980
  var consequent_1 = ($$anchor) => {
@@ -26018,7 +26020,7 @@ var rest_excludes$15 = new Set([
26018
26020
  "ref",
26019
26021
  "tabindex"
26020
26022
  ]);
26021
- var root$27 = /* @__PURE__ */ from_html(`<button><!></button>`);
26023
+ var root$30 = /* @__PURE__ */ from_html(`<button><!></button>`);
26022
26024
  function Calendar_next_button($$anchor, $$props) {
26023
26025
  const uid = props_id();
26024
26026
  push($$props, true);
@@ -26073,7 +26075,7 @@ function Calendar_next_button($$anchor, $$props) {
26073
26075
  append($$anchor, fragment_1);
26074
26076
  };
26075
26077
  var alternate = ($$anchor) => {
26076
- var button = root$27();
26078
+ var button = root$30();
26077
26079
  attribute_effect(button, () => ({ ...get$2(mergedProps) }));
26078
26080
  snippet(child(button), () => children() ?? noop$1);
26079
26081
  reset(button);
@@ -26106,7 +26108,7 @@ var rest_excludes$14 = new Set([
26106
26108
  "ref",
26107
26109
  "tabindex"
26108
26110
  ]);
26109
- var root$26 = /* @__PURE__ */ from_html(`<button><!></button>`);
26111
+ var root$29 = /* @__PURE__ */ from_html(`<button><!></button>`);
26110
26112
  function Calendar_prev_button($$anchor, $$props) {
26111
26113
  const uid = props_id();
26112
26114
  push($$props, true);
@@ -26161,7 +26163,7 @@ function Calendar_prev_button($$anchor, $$props) {
26161
26163
  append($$anchor, fragment_1);
26162
26164
  };
26163
26165
  var alternate = ($$anchor) => {
26164
- var button = root$26();
26166
+ var button = root$29();
26165
26167
  attribute_effect(button, () => ({ ...get$2(mergedProps) }));
26166
26168
  snippet(child(button), () => children() ?? noop$1);
26167
26169
  reset(button);
@@ -26190,7 +26192,7 @@ var rest_excludes$13 = new Set([
26190
26192
  "$$host",
26191
26193
  "value"
26192
26194
  ]);
26193
- var root$25 = /* @__PURE__ */ from_html(`<input/>`);
26195
+ var root$28 = /* @__PURE__ */ from_html(`<input/>`);
26194
26196
  function Hidden_input($$anchor, $$props) {
26195
26197
  push($$props, true);
26196
26198
  let value = prop($$props, "value", 15), restProps = /* @__PURE__ */ rest_props($$props, rest_excludes$13);
@@ -26216,7 +26218,7 @@ function Hidden_input($$anchor, $$props) {
26216
26218
  var fragment = comment();
26217
26219
  var node = first_child(fragment);
26218
26220
  var consequent = ($$anchor) => {
26219
- var input = root$25();
26221
+ var input = root$28();
26220
26222
  attribute_effect(input, () => ({
26221
26223
  ...get$2(mergedProps),
26222
26224
  value: value()
@@ -26224,7 +26226,7 @@ function Hidden_input($$anchor, $$props) {
26224
26226
  append($$anchor, input);
26225
26227
  };
26226
26228
  var alternate = ($$anchor) => {
26227
- var input_1 = root$25();
26229
+ var input_1 = root$28();
26228
26230
  attribute_effect(input_1, () => ({ ...get$2(mergedProps) }), void 0, void 0, void 0, void 0, true);
26229
26231
  bind_value(input_1, value);
26230
26232
  append($$anchor, input_1);
@@ -28537,7 +28539,7 @@ var rest_excludes$11 = new Set([
28537
28539
  "tooltip",
28538
28540
  "contentPointerEvents"
28539
28541
  ]);
28540
- var root$24 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
28542
+ var root$27 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
28541
28543
  function Popper_layer_inner($$anchor, $$props) {
28542
28544
  push($$props, true);
28543
28545
  let popper = prop($$props, "popper", 7), onEscapeKeydown = prop($$props, "onEscapeKeydown", 7), escapeKeydownBehavior = prop($$props, "escapeKeydownBehavior", 7), preventOverflowTextSelection = prop($$props, "preventOverflowTextSelection", 7), id = prop($$props, "id", 7), onPointerDown = prop($$props, "onPointerDown", 7), onPointerUp = prop($$props, "onPointerUp", 7), side = prop($$props, "side", 7), sideOffset = prop($$props, "sideOffset", 7), align = prop($$props, "align", 7), alignOffset = prop($$props, "alignOffset", 7), arrowPadding = prop($$props, "arrowPadding", 7), avoidCollisions = prop($$props, "avoidCollisions", 7), collisionBoundary = prop($$props, "collisionBoundary", 7), collisionPadding = prop($$props, "collisionPadding", 7), sticky = prop($$props, "sticky", 7), hideWhenDetached = prop($$props, "hideWhenDetached", 7), updatePositionStrategy = prop($$props, "updatePositionStrategy", 7), strategy = prop($$props, "strategy", 7), dir = prop($$props, "dir", 7), preventScroll = prop($$props, "preventScroll", 7), wrapperId = prop($$props, "wrapperId", 7), style = prop($$props, "style", 7), onPlaced = prop($$props, "onPlaced", 7), onInteractOutside = prop($$props, "onInteractOutside", 7), onCloseAutoFocus = prop($$props, "onCloseAutoFocus", 7), onOpenAutoFocus = prop($$props, "onOpenAutoFocus", 7), onFocusOutside = prop($$props, "onFocusOutside", 7), interactOutsideBehavior = prop($$props, "interactOutsideBehavior", 7, "close"), loop = prop($$props, "loop", 7), trapFocus = prop($$props, "trapFocus", 7, true), isValidEvent = prop($$props, "isValidEvent", 7, () => false), customAnchor = prop($$props, "customAnchor", 7, null), isStatic = prop($$props, "isStatic", 7, false), enabled = prop($$props, "enabled", 7), ref = prop($$props, "ref", 7), tooltip = prop($$props, "tooltip", 7, false), contentPointerEvents = prop($$props, "contentPointerEvents", 7, "auto"), restProps = /* @__PURE__ */ rest_props($$props, rest_excludes$11);
@@ -28815,7 +28817,7 @@ function Popper_layer_inner($$anchor, $$props) {
28815
28817
  const content = ($$anchor, $$arg0) => {
28816
28818
  let floatingProps = () => $$arg0?.().props;
28817
28819
  let wrapperProps = () => $$arg0?.().wrapperProps;
28818
- var fragment_1 = root$24();
28820
+ var fragment_1 = root$27();
28819
28821
  var node = first_child(fragment_1);
28820
28822
  var consequent = ($$anchor) => {
28821
28823
  Scroll_lock($$anchor, { get preventScroll() {
@@ -31179,7 +31181,7 @@ var rest_excludes$8 = new Set([
31179
31181
  "children",
31180
31182
  "child"
31181
31183
  ]);
31182
- var root$23 = /* @__PURE__ */ from_html(`<div><!></div>`);
31184
+ var root$26 = /* @__PURE__ */ from_html(`<div><!></div>`);
31183
31185
  var root_1$10 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
31184
31186
  function Date_field_input($$anchor, $$props) {
31185
31187
  const uid = props_id();
@@ -31239,7 +31241,7 @@ function Date_field_input($$anchor, $$props) {
31239
31241
  append($$anchor, fragment_1);
31240
31242
  };
31241
31243
  var alternate = ($$anchor) => {
31242
- var div = root$23();
31244
+ var div = root$26();
31243
31245
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
31244
31246
  snippet(child(div), () => children() ?? noop$1, () => ({ segments: inputState.root.segmentContents }));
31245
31247
  reset(div);
@@ -31272,7 +31274,7 @@ var rest_excludes$7 = new Set([
31272
31274
  "children",
31273
31275
  "child"
31274
31276
  ]);
31275
- var root$22 = /* @__PURE__ */ from_html(`<div><!></div>`);
31277
+ var root$25 = /* @__PURE__ */ from_html(`<div><!></div>`);
31276
31278
  function Date_field_label($$anchor, $$props) {
31277
31279
  const uid = props_id();
31278
31280
  push($$props, true);
@@ -31320,7 +31322,7 @@ function Date_field_label($$anchor, $$props) {
31320
31322
  append($$anchor, fragment_1);
31321
31323
  };
31322
31324
  var alternate = ($$anchor) => {
31323
- var div = root$22();
31325
+ var div = root$25();
31324
31326
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
31325
31327
  snippet(child(div), () => children() ?? noop$1);
31326
31328
  reset(div);
@@ -31352,7 +31354,7 @@ var rest_excludes$6 = new Set([
31352
31354
  "child",
31353
31355
  "part"
31354
31356
  ]);
31355
- var root$21 = /* @__PURE__ */ from_html(`<span><!></span>`);
31357
+ var root$24 = /* @__PURE__ */ from_html(`<span><!></span>`);
31356
31358
  function Date_field_segment($$anchor, $$props) {
31357
31359
  const uid = props_id();
31358
31360
  push($$props, true);
@@ -31407,7 +31409,7 @@ function Date_field_segment($$anchor, $$props) {
31407
31409
  append($$anchor, fragment_1);
31408
31410
  };
31409
31411
  var alternate = ($$anchor) => {
31410
- var span = root$21();
31412
+ var span = root$24();
31411
31413
  attribute_effect(span, () => ({ ...get$2(mergedProps) }));
31412
31414
  snippet(child(span), () => children() ?? noop$1);
31413
31415
  reset(span);
@@ -32429,7 +32431,7 @@ var rest_excludes$5 = new Set([
32429
32431
  "id",
32430
32432
  "ref"
32431
32433
  ]);
32432
- var root$20 = /* @__PURE__ */ from_html(`<div><!></div>`);
32434
+ var root$23 = /* @__PURE__ */ from_html(`<div><!></div>`);
32433
32435
  function Date_picker_calendar($$anchor, $$props) {
32434
32436
  const uid = props_id();
32435
32437
  push($$props, true);
@@ -32509,7 +32511,7 @@ function Date_picker_calendar($$anchor, $$props) {
32509
32511
  append($$anchor, fragment_1);
32510
32512
  };
32511
32513
  var alternate = ($$anchor) => {
32512
- var div = root$20();
32514
+ var div = root$23();
32513
32515
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
32514
32516
  snippet(child(div), () => children() ?? noop$1, () => calendarState.snippetProps);
32515
32517
  reset(div);
@@ -32549,7 +32551,7 @@ var rest_excludes$4 = new Set([
32549
32551
  "customAnchor",
32550
32552
  "style"
32551
32553
  ]);
32552
- var root$19 = /* @__PURE__ */ from_html(`<div><div><!></div></div>`);
32554
+ var root$22 = /* @__PURE__ */ from_html(`<div><div><!></div></div>`);
32553
32555
  function Popover_content($$anchor, $$props) {
32554
32556
  const uid = props_id();
32555
32557
  push($$props, true);
@@ -32684,7 +32686,7 @@ function Popover_content($$anchor, $$props) {
32684
32686
  append($$anchor, fragment_3);
32685
32687
  };
32686
32688
  var alternate = ($$anchor) => {
32687
- var div = root$19();
32689
+ var div = root$22();
32688
32690
  attribute_effect(div, () => ({ ...wrapperProps() }));
32689
32691
  var div_1 = child(div);
32690
32692
  attribute_effect(div_1, () => ({ ...get$2(finalProps) }));
@@ -32754,7 +32756,7 @@ function Popover_content($$anchor, $$props) {
32754
32756
  append($$anchor, fragment_6);
32755
32757
  };
32756
32758
  var alternate_1 = ($$anchor) => {
32757
- var div_2 = root$19();
32759
+ var div_2 = root$22();
32758
32760
  attribute_effect(div_2, () => ({ ...wrapperProps() }));
32759
32761
  var div_3 = child(div_2);
32760
32762
  attribute_effect(div_3, () => ({ ...get$2(finalProps) }));
@@ -32885,7 +32887,7 @@ var rest_excludes$2 = new Set([
32885
32887
  "openDelay",
32886
32888
  "closeDelay"
32887
32889
  ]);
32888
- var root$18 = /* @__PURE__ */ from_html(`<button><!></button>`);
32890
+ var root$21 = /* @__PURE__ */ from_html(`<button><!></button>`);
32889
32891
  function Popover_trigger($$anchor, $$props) {
32890
32892
  const uid = props_id();
32891
32893
  push($$props, true);
@@ -32980,7 +32982,7 @@ function Popover_trigger($$anchor, $$props) {
32980
32982
  append($$anchor, fragment_2);
32981
32983
  };
32982
32984
  var alternate = ($$anchor) => {
32983
- var button = root$18();
32985
+ var button = root$21();
32984
32986
  attribute_effect(button, () => ({ ...get$2(mergedProps) }));
32985
32987
  snippet(child(button), () => children() ?? noop$1);
32986
32988
  reset(button);
@@ -33060,7 +33062,7 @@ create_custom_element(Date_picker_trigger, {
33060
33062
  }, [], [], { mode: "open" });
33061
33063
  //#endregion
33062
33064
  //#region src/components/forms/ui/generic/DatePicker.svelte
33063
- var root$17 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
33065
+ var root$20 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
33064
33066
  var root_1$9 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
33065
33067
  function DatePicker_1($$anchor, $$props) {
33066
33068
  push($$props, true);
@@ -33148,7 +33150,7 @@ function DatePicker_1($$anchor, $$props) {
33148
33150
  {
33149
33151
  const children = ($$anchor, $$arg0) => {
33150
33152
  let segments = () => $$arg0?.().segments;
33151
- var fragment_4 = root$17();
33153
+ var fragment_4 = root$20();
33152
33154
  var node_5 = first_child(fragment_4);
33153
33155
  each(node_5, 17, segments, index$1, ($$anchor, $$item) => {
33154
33156
  let part = () => get$2($$item).part;
@@ -33199,7 +33201,7 @@ function DatePicker_1($$anchor, $$props) {
33199
33201
  const children = ($$anchor, $$arg0) => {
33200
33202
  let months = () => $$arg0?.().months;
33201
33203
  let weekdays = () => $$arg0?.().weekdays;
33202
- var fragment_8 = root$17();
33204
+ var fragment_8 = root$20();
33203
33205
  var node_10 = first_child(fragment_8);
33204
33206
  component(node_10, () => Calendar_header, ($$anchor, DatePicker_Header) => {
33205
33207
  DatePicker_Header($$anchor, {
@@ -33226,7 +33228,7 @@ function DatePicker_1($$anchor, $$props) {
33226
33228
  component(first_child(fragment_10), () => Calendar_grid, ($$anchor, DatePicker_Grid) => {
33227
33229
  DatePicker_Grid($$anchor, {
33228
33230
  children: ($$anchor, $$slotProps) => {
33229
- var fragment_11 = root$17();
33231
+ var fragment_11 = root$20();
33230
33232
  var node_16 = first_child(fragment_11);
33231
33233
  component(node_16, () => Calendar_grid_head, ($$anchor, DatePicker_GridHead) => {
33232
33234
  DatePicker_GridHead($$anchor, {
@@ -33354,7 +33356,7 @@ var rest_excludes = new Set([
33354
33356
  "inputClass",
33355
33357
  "host"
33356
33358
  ]);
33357
- var root$16 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
33359
+ var root$19 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
33358
33360
  var root_1$8 = /* @__PURE__ */ from_html(` <!>`, 1);
33359
33361
  var root_2$7 = /* @__PURE__ */ from_html(`<label><!></label> <input/>`, 1);
33360
33362
  var root_3$7 = /* @__PURE__ */ from_html(`<label><!></label> <textarea></textarea>`, 1);
@@ -33380,7 +33382,7 @@ function InputAndLabel($$anchor, $$props) {
33380
33382
  var text = first_child(fragment);
33381
33383
  var node = sibling(text);
33382
33384
  var consequent = ($$anchor) => {
33383
- append($$anchor, root$16());
33385
+ append($$anchor, root$19());
33384
33386
  };
33385
33387
  if_block(node, ($$render) => {
33386
33388
  if (field().required) $$render(consequent);
@@ -33780,7 +33782,7 @@ create_custom_element(InputAndLabel, {
33780
33782
  }, [], [], { mode: "open" });
33781
33783
  //#endregion
33782
33784
  //#region src/components/forms/ui/generic/Field.svelte
33783
- var root$15 = /* @__PURE__ */ from_html(`<span> </span>`);
33785
+ var root$18 = /* @__PURE__ */ from_html(`<span> </span>`);
33784
33786
  var root_1$7 = /* @__PURE__ */ from_html(`<li> </li>`);
33785
33787
  var root_2$6 = /* @__PURE__ */ from_html(`<ul class="go-field-errors"></ul>`);
33786
33788
  var root_3$6 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
@@ -33863,7 +33865,7 @@ function Field($$anchor, $$props) {
33863
33865
  });
33864
33866
  var node_1 = sibling(node, 2);
33865
33867
  var consequent = ($$anchor) => {
33866
- var span = root$15();
33868
+ var span = root$18();
33867
33869
  var text = child(span, true);
33868
33870
  reset(span);
33869
33871
  template_effect(() => {
@@ -33919,7 +33921,7 @@ customElements.define("go-field", create_custom_element(Field, {
33919
33921
  }, [], ["getField"]));
33920
33922
  //#endregion
33921
33923
  //#region src/components/forms/ui/generic/AllFields.svelte
33922
- var root$14 = /* @__PURE__ */ from_html(`<go-field></go-field>`, 2);
33924
+ var root$17 = /* @__PURE__ */ from_html(`<go-field></go-field>`, 2);
33923
33925
  function AllFields($$anchor, $$props) {
33924
33926
  push($$props, true);
33925
33927
  let _details = getDetails$1($$props.$$host);
@@ -33927,7 +33929,7 @@ function AllFields($$anchor, $$props) {
33927
33929
  let allFields = /* @__PURE__ */ user_derived(() => get$2(details) ? Forms.getFormFields(get$2(details)?.formId) : []);
33928
33930
  var fragment = comment();
33929
33931
  each(first_child(fragment), 17, () => get$2(allFields), (field) => field.key, ($$anchor, field) => {
33930
- var go_field = root$14();
33932
+ var go_field = root$17();
33931
33933
  template_effect(() => set_custom_element_data(go_field, "key", get$2(field).key));
33932
33934
  template_effect(() => set_custom_element_data(go_field, "required", get$2(field).required));
33933
33935
  append($$anchor, go_field);
@@ -33938,7 +33940,7 @@ function AllFields($$anchor, $$props) {
33938
33940
  customElements.define("go-all-fields", create_custom_element(AllFields, {}, [], []));
33939
33941
  //#endregion
33940
33942
  //#region src/components/forms/ui/generic/ErrorsFeedback.svelte
33941
- var root$13 = /* @__PURE__ */ from_html(`<p aria-hidden="true"> </p>`);
33943
+ var root$16 = /* @__PURE__ */ from_html(`<p aria-hidden="true"> </p>`);
33942
33944
  var root_1$6 = /* @__PURE__ */ from_html(`<li> </li>`);
33943
33945
  var root_2$5 = /* @__PURE__ */ from_html(`<ul class="go-error-feedback-api-errors"></ul>`);
33944
33946
  var root_3$5 = /* @__PURE__ */ from_html(`<div><p aria-live="assertive" class="sr-only"><!></p> <!> <!></div>`);
@@ -33976,7 +33978,7 @@ function ErrorsFeedback($$anchor, $$props) {
33976
33978
  reset(p);
33977
33979
  var node_1 = sibling(p, 2);
33978
33980
  var consequent_1 = ($$anchor) => {
33979
- var p_1 = root$13();
33981
+ var p_1 = root$16();
33980
33982
  var text_1 = child(p_1, true);
33981
33983
  reset(p_1);
33982
33984
  template_effect(($0) => set_text(text_1, $0), [() => shop.t("forms.errorSummary", { count: get$2(errorsRealtime) })]);
@@ -34009,9 +34011,9 @@ function ErrorsFeedback($$anchor, $$props) {
34009
34011
  customElements.define("go-errors-feedback", create_custom_element(ErrorsFeedback, {}, [], []));
34010
34012
  //#endregion
34011
34013
  //#region src/components/forms/ui/generic/FormFeedback.svelte
34012
- var root$12 = /* @__PURE__ */ from_html(`<div class="go-form-feedback"><!></div>`);
34014
+ var root$15 = /* @__PURE__ */ from_html(`<div class="go-form-feedback"><!></div>`);
34013
34015
  function FormFeedback($$anchor, $$props) {
34014
- var div = root$12();
34016
+ var div = root$15();
34015
34017
  slot(child(div), $$props, "default", {}, null);
34016
34018
  reset(div);
34017
34019
  append($$anchor, div);
@@ -34045,7 +34047,7 @@ customElements.define("go-submit", create_custom_element(Submit, { buttonClass:
34045
34047
  } }, [], []));
34046
34048
  //#endregion
34047
34049
  //#region src/components/forms/ui/generic/SuccessFeedback.svelte
34048
- var root$11 = /* @__PURE__ */ from_html(`<div aria-live="assertive"> </div>`);
34050
+ var root$14 = /* @__PURE__ */ from_html(`<div aria-live="assertive"> </div>`);
34049
34051
  function SuccessFeedback($$anchor, $$props) {
34050
34052
  push($$props, true);
34051
34053
  const _details = getDetails$1($$props.$$host);
@@ -34053,7 +34055,7 @@ function SuccessFeedback($$anchor, $$props) {
34053
34055
  var fragment = comment();
34054
34056
  var node = first_child(fragment);
34055
34057
  var consequent = ($$anchor) => {
34056
- var div = root$11();
34058
+ var div = root$14();
34057
34059
  let classes;
34058
34060
  var text = child(div, true);
34059
34061
  reset(div);
@@ -36540,8 +36542,9 @@ var OrderDetails = class {
36540
36542
  if (!this.order?.is_valid) return;
36541
36543
  switch (item.type) {
36542
36544
  case "Event": return `${shop.apiUrl}/api/v4/orders/${this.order.id}/events/${item.attributes.id}.pdf?locale=${shop.locale}&token=${this.token}`;
36545
+ case "Coupon": return `${shop.apiUrl}/api/v4/orders/${this.order.id}/coupons/${item.attributes.id}.pdf?locale=${shop.locale}&token=${this.token}`;
36543
36546
  case "Ticket":
36544
- if (item.attributes.ticket_type === "annual" && !item.attributes.is_voucher) if (configStore.config.urls.annualTicketPersonalizationList?.()) return configStore.config.urls.annualTicketPersonalizationList(this.token);
36547
+ if (item.attributes.ticket_type === "annual" && !item.attributes.is_voucher) if (configStore.config.urls.annualTicketPersonalizationList) return configStore.config.urls.annualTicketPersonalizationList(this.token);
36545
36548
  else return shop.urls?.annualTicketPersonalizationList(this.token);
36546
36549
  else return `${shop.apiUrl}/api/v4/orders/${this.order.id}/tickets/${item.attributes.id}.pdf?locale=${shop.locale}&token=${this.token}&barcode_id=${barcodeId}`;
36547
36550
  break;
@@ -36588,8 +36591,109 @@ customElements.define("go-order", create_custom_element(Order, { token: {
36588
36591
  type: "String"
36589
36592
  } }, [], ["orderDetails"]));
36590
36593
  //#endregion
36594
+ //#region src/components/order/components/subcomponents/breakdown/items/Coupon.svelte
36595
+ var root$13 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count"> </li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <br/> <a class="go-ticket-download" target="_blank" rel="noopener noreferrer"> </a></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
36596
+ function Coupon($$anchor, $$props) {
36597
+ push($$props, true);
36598
+ let item = prop($$props, "item", 7), orderDetails = prop($$props, "orderDetails", 7);
36599
+ const valueCents = /* @__PURE__ */ user_derived(() => item().attributes.value_cents > 0 ? item().attributes.value_cents : item().price_cents);
36600
+ var $$exports = {
36601
+ get item() {
36602
+ return item();
36603
+ },
36604
+ set item($$value) {
36605
+ item($$value);
36606
+ flushSync();
36607
+ },
36608
+ get orderDetails() {
36609
+ return orderDetails();
36610
+ },
36611
+ set orderDetails($$value) {
36612
+ orderDetails($$value);
36613
+ flushSync();
36614
+ }
36615
+ };
36616
+ var li = root$13();
36617
+ var article = child(li);
36618
+ var ul = child(article);
36619
+ var li_1 = child(ul);
36620
+ var text = child(li_1, true);
36621
+ reset(li_1);
36622
+ var li_2 = sibling(li_1, 2);
36623
+ var span = child(li_2);
36624
+ var text_1 = child(span, true);
36625
+ reset(span);
36626
+ var a = sibling(span, 4);
36627
+ var text_2 = child(a, true);
36628
+ reset(a);
36629
+ reset(li_2);
36630
+ var li_3 = sibling(li_2, 2);
36631
+ var text_3 = child(li_3, true);
36632
+ reset(li_3);
36633
+ next(2);
36634
+ reset(ul);
36635
+ reset(article);
36636
+ reset(li);
36637
+ template_effect(($0, $1, $2) => {
36638
+ set_text(text, item().attributes.quantity);
36639
+ set_text(text_1, item().attributes.title);
36640
+ set_attribute(a, "href", $0);
36641
+ set_text(text_2, $1);
36642
+ set_text(text_3, $2);
36643
+ }, [
36644
+ () => orderDetails().downloadLink(item()),
36645
+ () => shop.t("common.download"),
36646
+ () => formatCurrency(get$2(valueCents))
36647
+ ]);
36648
+ append($$anchor, li);
36649
+ return pop($$exports);
36650
+ }
36651
+ create_custom_element(Coupon, {
36652
+ item: {},
36653
+ orderDetails: {}
36654
+ }, [], [], { mode: "open" });
36655
+ //#endregion
36656
+ //#region src/components/order/components/subcomponents/breakdown/items/Donation.svelte
36657
+ var root$12 = /* @__PURE__ */ from_html(`<li class="go-order-breakdown-donation"><article><ul><li class="go-order-breakdown-count">1</li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
36658
+ function Donation($$anchor, $$props) {
36659
+ push($$props, true);
36660
+ let donation = prop($$props, "donation", 7);
36661
+ const campaign = /* @__PURE__ */ user_derived(() => shop.donations?.campaigns?.find((c) => c.id === donation().donation_campaign_id));
36662
+ var $$exports = {
36663
+ get donation() {
36664
+ return donation();
36665
+ },
36666
+ set donation($$value) {
36667
+ donation($$value);
36668
+ flushSync();
36669
+ }
36670
+ };
36671
+ var li = root$12();
36672
+ var article = child(li);
36673
+ var ul = child(article);
36674
+ var li_1 = sibling(child(ul), 2);
36675
+ var span = child(li_1);
36676
+ var text = child(span, true);
36677
+ reset(span);
36678
+ reset(li_1);
36679
+ var li_2 = sibling(li_1, 2);
36680
+ var text_1 = child(li_2, true);
36681
+ reset(li_2);
36682
+ next(2);
36683
+ reset(ul);
36684
+ reset(article);
36685
+ reset(li);
36686
+ template_effect(($0, $1) => {
36687
+ set_text(text, $0);
36688
+ set_text(text_1, $1);
36689
+ }, [() => get$2(campaign)?.name ?? shop.t("common.table.donation"), () => formatCurrency(donation().donation_cents)]);
36690
+ append($$anchor, li);
36691
+ return pop($$exports);
36692
+ }
36693
+ create_custom_element(Donation, { donation: {} }, [], [], { mode: "open" });
36694
+ //#endregion
36591
36695
  //#region src/components/order/components/subcomponents/breakdown/items/Event.svelte
36592
- var root$10 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <span class="go-cart-item-time" data-testid="cart-item-time"> </span>`, 1);
36696
+ var root$11 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <span class="go-cart-item-time" data-testid="cart-item-time"> </span>`, 1);
36593
36697
  var root_1$5 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities"> </span>`, 1);
36594
36698
  var root_2$4 = /* @__PURE__ */ from_html(`<a aria-label="iCal link"> </a>`);
36595
36699
  var root_3$4 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count">1</li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <!> <!> <a class="go-ticket-download" target="_blank" rel="noopener noreferrer"> </a></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li> <li class="go-order-breakdown-ical"><!></li></ul></article></li>`);
@@ -36621,7 +36725,7 @@ function Event$1($$anchor, $$props) {
36621
36725
  reset(span);
36622
36726
  var node = sibling(span, 2);
36623
36727
  var consequent = ($$anchor) => {
36624
- var fragment = root$10();
36728
+ var fragment = root$11();
36625
36729
  var span_1 = first_child(fragment);
36626
36730
  var text_1 = child(span_1, true);
36627
36731
  reset(span_1);
@@ -36690,6 +36794,48 @@ create_custom_element(Event$1, {
36690
36794
  orderDetails: {}
36691
36795
  }, [], [], { mode: "open" });
36692
36796
  //#endregion
36797
+ //#region src/components/order/components/subcomponents/breakdown/items/Merchandise.svelte
36798
+ var root$10 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count"> </li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
36799
+ function Merchandise($$anchor, $$props) {
36800
+ push($$props, true);
36801
+ let item = prop($$props, "item", 7);
36802
+ var $$exports = {
36803
+ get item() {
36804
+ return item();
36805
+ },
36806
+ set item($$value) {
36807
+ item($$value);
36808
+ flushSync();
36809
+ }
36810
+ };
36811
+ var li = root$10();
36812
+ var article = child(li);
36813
+ var ul = child(article);
36814
+ var li_1 = child(ul);
36815
+ var text = child(li_1, true);
36816
+ reset(li_1);
36817
+ var li_2 = sibling(li_1, 2);
36818
+ var span = child(li_2);
36819
+ var text_1 = child(span, true);
36820
+ reset(span);
36821
+ reset(li_2);
36822
+ var li_3 = sibling(li_2, 2);
36823
+ var text_2 = child(li_3, true);
36824
+ reset(li_3);
36825
+ next(2);
36826
+ reset(ul);
36827
+ reset(article);
36828
+ reset(li);
36829
+ template_effect(($0) => {
36830
+ set_text(text, item().attributes.quantity);
36831
+ set_text(text_1, item().attributes.title);
36832
+ set_text(text_2, $0);
36833
+ }, [() => formatCurrency(item().price_cents)]);
36834
+ append($$anchor, li);
36835
+ return pop($$exports);
36836
+ }
36837
+ create_custom_element(Merchandise, { item: {} }, [], [], { mode: "open" });
36838
+ //#endregion
36693
36839
  //#region src/components/order/components/subcomponents/breakdown/items/TicketSale.svelte
36694
36840
  var root$9 = /* @__PURE__ */ from_html(`<span class="go-order-item-subtitle" data-testid="order-item-subtitle"> </span>`);
36695
36841
  var root_1$4 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities" data-testid="order-sub-ticket"> </span>`, 1);
@@ -37021,7 +37167,7 @@ function Tour($$anchor, $$props) {
37021
37167
  create_custom_element(Tour, { item: {} }, [], [], { mode: "open" });
37022
37168
  //#endregion
37023
37169
  //#region src/components/order/components/subcomponents/breakdown/Breakdown.svelte
37024
- var root$7 = /* @__PURE__ */ from_html(`<ol><li class="data-go-order-breakdown-header"><ul><li class="go-order-breakdown-header-count"> </li> <li class="go-order-breakdown-header-product"> </li> <li class="go-order-breakdown-header-price"> </li> <li class="go-order-breakdown-header-passbook"></li></ul></li> <!> <li class="go-order-breakdown-footer"><ul><li class="go-cart-footer-title"></li> <li class="go-cart-footer-count"></li> <li class="go-cart-footer-price"> </li> <li class="go-cart-footer-passbook"></li></ul></li></ol>`);
37170
+ var root$7 = /* @__PURE__ */ from_html(`<ol><li class="data-go-order-breakdown-header"><ul><li class="go-order-breakdown-header-count"> </li> <li class="go-order-breakdown-header-product"> </li> <li class="go-order-breakdown-header-price"> </li> <li class="go-order-breakdown-header-passbook"></li></ul></li> <!> <!> <li class="go-order-breakdown-footer"><ul><li class="go-cart-footer-title"></li> <li class="go-cart-footer-count"></li> <li class="go-cart-footer-price"> </li> <li class="go-cart-footer-passbook"></li></ul></li></ol>`);
37025
37171
  function Breakdown($$anchor, $$props) {
37026
37172
  push($$props, true);
37027
37173
  const _orderDetails = getDetails($$props.$$host);
@@ -37029,7 +37175,7 @@ function Breakdown($$anchor, $$props) {
37029
37175
  let order = /* @__PURE__ */ user_derived(() => get$2(orderDetails)?.order);
37030
37176
  var fragment = comment();
37031
37177
  var node = first_child(fragment);
37032
- var consequent_3 = ($$anchor) => {
37178
+ var consequent_5 = ($$anchor) => {
37033
37179
  var ol = root$7();
37034
37180
  var li = child(ol);
37035
37181
  var ul = child(li);
@@ -37074,14 +37220,37 @@ function Breakdown($$anchor, $$props) {
37074
37220
  return get$2(item);
37075
37221
  } });
37076
37222
  };
37223
+ var consequent_3 = ($$anchor) => {
37224
+ Coupon($$anchor, {
37225
+ get item() {
37226
+ return get$2(item);
37227
+ },
37228
+ get orderDetails() {
37229
+ return get$2(orderDetails);
37230
+ }
37231
+ });
37232
+ };
37233
+ var consequent_4 = ($$anchor) => {
37234
+ Merchandise($$anchor, { get item() {
37235
+ return get$2(item);
37236
+ } });
37237
+ };
37077
37238
  if_block(node_2, ($$render) => {
37078
37239
  if (get$2(item).type === "Ticket") $$render(consequent);
37079
37240
  else if (get$2(item).type === "Event") $$render(consequent_1, 1);
37080
37241
  else if (get$2(item).type === "Tour") $$render(consequent_2, 2);
37242
+ else if (get$2(item).type === "Coupon") $$render(consequent_3, 3);
37243
+ else if (get$2(item).type === "Merchandise") $$render(consequent_4, 4);
37081
37244
  });
37082
37245
  append($$anchor, fragment_1);
37083
37246
  });
37084
- var li_4 = sibling(node_1, 2);
37247
+ var node_3 = sibling(node_1, 2);
37248
+ each(node_3, 17, () => get$2(order).donations ?? [], (donation) => donation.id, ($$anchor, donation) => {
37249
+ Donation($$anchor, { get donation() {
37250
+ return get$2(donation);
37251
+ } });
37252
+ });
37253
+ var li_4 = sibling(node_3, 2);
37085
37254
  var ul_1 = child(li_4);
37086
37255
  var li_5 = sibling(child(ul_1), 4);
37087
37256
  var text_3 = child(li_5, true);
@@ -37104,7 +37273,7 @@ function Breakdown($$anchor, $$props) {
37104
37273
  append($$anchor, ol);
37105
37274
  };
37106
37275
  if_block(node, ($$render) => {
37107
- if (get$2(order) && get$2(orderDetails)) $$render(consequent_3);
37276
+ if (get$2(order) && get$2(orderDetails)) $$render(consequent_5);
37108
37277
  });
37109
37278
  append($$anchor, fragment);
37110
37279
  pop();