@gomusdev/web-components 1.25.3 → 1.25.4

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.
@@ -4006,28 +4006,6 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
4006
4006
  branches.ensure(component2, component2 && ((target) => render_fn(target, component2)));
4007
4007
  }, EFFECT_TRANSPARENT);
4008
4008
  }
4009
- function append_styles$1(anchor, css) {
4010
- effect(() => {
4011
- var root2 = anchor.getRootNode();
4012
- var target = (
4013
- /** @type {ShadowRoot} */
4014
- root2.host ? (
4015
- /** @type {ShadowRoot} */
4016
- root2
4017
- ) : (
4018
- /** @type {Document} */
4019
- root2.head ?? /** @type {Document} */
4020
- root2.ownerDocument.head
4021
- )
4022
- );
4023
- if (!target.querySelector("#" + css.hash)) {
4024
- const style = document.createElement("style");
4025
- style.id = css.hash;
4026
- style.textContent = css.code;
4027
- target.appendChild(style);
4028
- }
4029
- });
4030
- }
4031
4009
  function attach(node, get_fn) {
4032
4010
  var fn = void 0;
4033
4011
  var e;
@@ -11001,7 +10979,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
11001
10979
  }
11002
10980
  let uuid$1 = 1;
11003
10981
  function createUIEventTicket(apiTicket, dateId, options) {
11004
- const finalOptions = { minAvailableCapacity: 0, selectedTime: "", ...{} };
10982
+ const finalOptions = { minAvailableCapacity: 0, selectedTime: "", ...options ?? {} };
11005
10983
  const product = {
11006
10984
  product_type: "Event",
11007
10985
  id: dateId,
@@ -12689,7 +12667,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
12689
12667
  const KEY$4 = "go-annual-ticket-personalization";
12690
12668
  const setPersonalizationDetails = createSetDetails(KEY$4);
12691
12669
  var root_3$7 = /* @__PURE__ */ from_html(`<li><a>Personalize</a></li>`);
12692
- var root_2$q = /* @__PURE__ */ from_html(`<ul class="go-annual-ticket"><li class="go-annual-ticket-title"> </li> <li class="go-annual-ticket-personalization-count"> </li> <!></ul>`);
12670
+ var root_2$s = /* @__PURE__ */ from_html(`<ul class="go-annual-ticket"><li class="go-annual-ticket-title"> </li> <li class="go-annual-ticket-personalization-count"> </li> <!></ul>`);
12693
12671
  function AnnualTicketPersonalization($$anchor, $$props) {
12694
12672
  push($$props, true);
12695
12673
  let token = prop($$props, "token", 7);
@@ -12716,7 +12694,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
12716
12694
  var fragment_1 = comment();
12717
12695
  var node_1 = first_child(fragment_1);
12718
12696
  each(node_1, 17, () => get$2(order).ticket_sales, (ticketSale) => ticketSale.id, ($$anchor3, ticketSale) => {
12719
- var ul = root_2$q();
12697
+ var ul = root_2$s();
12720
12698
  var li = child(ul);
12721
12699
  var text2 = child(li, true);
12722
12700
  reset(li);
@@ -15647,7 +15625,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15647
15625
  host.replaceChildren(element);
15648
15626
  return element;
15649
15627
  }
15650
- var root_1$g = /* @__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>Submit</go-submit>`, 3);
15628
+ var root_1$h = /* @__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>Submit</go-submit>`, 3);
15651
15629
  function Form($$anchor, $$props) {
15652
15630
  push($$props, true);
15653
15631
  let formId = prop($$props, "formId", 7), custom2 = prop($$props, "custom", 7);
@@ -15688,7 +15666,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15688
15666
  var node = first_child(fragment);
15689
15667
  {
15690
15668
  var consequent = ($$anchor2) => {
15691
- var fragment_1 = root_1$g();
15669
+ var fragment_1 = root_1$h();
15692
15670
  var go_all_fields = first_child(fragment_1);
15693
15671
  var go_form_feedback = sibling(go_all_fields, 2);
15694
15672
  sibling(go_form_feedback, 2);
@@ -15711,7 +15689,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15711
15689
  ["details"],
15712
15690
  false
15713
15691
  ));
15714
- var root$8 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15692
+ var root$9 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15715
15693
  function PasswordReset($$anchor, $$props) {
15716
15694
  push($$props, true);
15717
15695
  let form;
@@ -15745,7 +15723,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15745
15723
  flushSync();
15746
15724
  }
15747
15725
  };
15748
- var go_form = root$8();
15726
+ var go_form = root$9();
15749
15727
  set_custom_element_data(go_form, "formId", "passwordReset");
15750
15728
  template_effect(() => set_custom_element_data(go_form, "custom", custom2()));
15751
15729
  bind_this(go_form, ($$value) => form = $$value, () => form);
@@ -15753,7 +15731,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15753
15731
  return pop($$exports);
15754
15732
  }
15755
15733
  customElements.define("go-password-reset", create_custom_element(PasswordReset, { custom: {} }, [], [], false));
15756
- var root$7 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15734
+ var root$8 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15757
15735
  function SignIn($$anchor, $$props) {
15758
15736
  push($$props, true);
15759
15737
  let form;
@@ -15778,7 +15756,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15778
15756
  onMount(() => {
15779
15757
  $$props.$$host.addEventListener("go-submit", signIn);
15780
15758
  });
15781
- var go_form = root$7();
15759
+ var go_form = root$8();
15782
15760
  set_custom_element_data(go_form, "formId", "signIn");
15783
15761
  bind_this(go_form, ($$value) => form = $$value, () => form);
15784
15762
  append($$anchor, go_form);
@@ -15793,7 +15771,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15793
15771
  [],
15794
15772
  false
15795
15773
  ));
15796
- var root$6 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15774
+ var root$7 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15797
15775
  function SignUp($$anchor, $$props) {
15798
15776
  push($$props, true);
15799
15777
  Forms.defineForm({
@@ -15830,7 +15808,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15830
15808
  onMount(() => {
15831
15809
  $$props.$$host.addEventListener("go-submit", signUp);
15832
15810
  });
15833
- var go_form = root$6();
15811
+ var go_form = root$7();
15834
15812
  set_custom_element_data(go_form, "formId", "signUp");
15835
15813
  bind_this(go_form, ($$value) => form = $$value, () => form);
15836
15814
  append($$anchor, go_form);
@@ -15845,14 +15823,116 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15845
15823
  [],
15846
15824
  false
15847
15825
  ));
15848
- var root_2$p = /* @__PURE__ */ from_html(`<li data-go-cart-header-remove="">remove</li>`);
15849
- var root_5$2 = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
15850
- var root_4$4 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <!>`, 1);
15851
- var root_6$2 = /* @__PURE__ */ from_html(`<li data-go-cart-item-remove=""><button>⨉</button></li>`);
15852
- var root_3$6 = /* @__PURE__ */ from_html(`<li data-go-cart-item=""><article><ul><li data-go-cart-item-title=""><span class="go-cart-item-title" data-testid="cart-item-title"> </span> <!></li> <li data-go-cart-item-price=""> </li> <li data-go-cart-item-count=""> </li> <!> <li data-go-cart-item-sum=""> </li></ul></article></li>`);
15853
- var root_7$4 = /* @__PURE__ */ from_html(`<li data-go-cart-footer-remove=""></li>`);
15854
- var root_8$1 = /* @__PURE__ */ from_html(`<a href="javascript:void(0);" class="go-cart-checkout-button" data-testid="checkout-button">Checkout</a>`);
15855
- var root_1$f = /* @__PURE__ */ from_html(`<ol data-testid="cart"><li data-go-cart-header="" data-testid="cart-header"><ul><li data-go-cart-header-title="">Product</li> <li data-go-cart-header-price="">Price</li> <li data-go-cart-header-count="">Count</li> <!> <li data-go-cart-header-sum="">Sum</li></ul></li> <!> <li data-go-cart-footer="" data-testid="cart-footer"><ul><li data-go-cart-footer-title=""></li> <li data-go-cart-footer-price=""></li> <li data-go-cart-footer-count=""></li> <!> <li data-go-cart-footer-sum="" data-go-cart-sum=""> </li></ul></li></ol> <!>`, 1);
15826
+ var root_1$g = /* @__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);
15827
+ var root$6 = /* @__PURE__ */ from_html(`<li data-go-cart-item-title=""><span class="go-cart-item-title" data-testid="cart-item-title"> </span> <!></li>`);
15828
+ function Event$2($$anchor, $$props) {
15829
+ push($$props, true);
15830
+ let cartItem = prop($$props, "cartItem", 7);
15831
+ var $$exports = {
15832
+ get cartItem() {
15833
+ return cartItem();
15834
+ },
15835
+ set cartItem($$value) {
15836
+ cartItem($$value);
15837
+ flushSync();
15838
+ }
15839
+ };
15840
+ var li = root$6();
15841
+ var span = child(li);
15842
+ var text2 = child(span, true);
15843
+ reset(span);
15844
+ var node = sibling(span, 2);
15845
+ {
15846
+ var consequent = ($$anchor2) => {
15847
+ var fragment = root_1$g();
15848
+ var span_1 = first_child(fragment);
15849
+ var text_1 = child(span_1, true);
15850
+ reset(span_1);
15851
+ var span_2 = sibling(span_1, 2);
15852
+ var text_2 = child(span_2, true);
15853
+ reset(span_2);
15854
+ template_effect(
15855
+ ($0, $1) => {
15856
+ set_text(text_1, $0);
15857
+ set_text(text_2, $1);
15858
+ },
15859
+ [
15860
+ () => formatDate(cartItem().time, { month: "numeric", day: "numeric" }, shop.locale),
15861
+ () => formatTime(cartItem().time)
15862
+ ]
15863
+ );
15864
+ append($$anchor2, fragment);
15865
+ };
15866
+ if_block(node, ($$render) => {
15867
+ if (cartItem().time) $$render(consequent);
15868
+ });
15869
+ }
15870
+ reset(li);
15871
+ template_effect(() => set_text(text2, cartItem().product.title));
15872
+ append($$anchor, li);
15873
+ return pop($$exports);
15874
+ }
15875
+ create_custom_element(Event$2, { cartItem: {} }, [], [], true);
15876
+ var root_2$r = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
15877
+ var root_1$f = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <!>`, 1);
15878
+ var root$5 = /* @__PURE__ */ from_html(`<li data-go-cart-item-title=""><span class="go-cart-item-title" data-testid="cart-item-title"> </span> <!></li>`);
15879
+ function Ticket($$anchor, $$props) {
15880
+ push($$props, true);
15881
+ let cartItem = prop($$props, "cartItem", 7);
15882
+ var $$exports = {
15883
+ get cartItem() {
15884
+ return cartItem();
15885
+ },
15886
+ set cartItem($$value) {
15887
+ cartItem($$value);
15888
+ flushSync();
15889
+ }
15890
+ };
15891
+ var li = root$5();
15892
+ var span = child(li);
15893
+ var text2 = child(span, true);
15894
+ reset(span);
15895
+ var node = sibling(span, 2);
15896
+ {
15897
+ var consequent_1 = ($$anchor2) => {
15898
+ var fragment = root_1$f();
15899
+ var span_1 = first_child(fragment);
15900
+ var text_1 = child(span_1, true);
15901
+ reset(span_1);
15902
+ var node_1 = sibling(span_1, 2);
15903
+ {
15904
+ var consequent = ($$anchor3) => {
15905
+ var span_2 = root_2$r();
15906
+ var text_2 = child(span_2, true);
15907
+ reset(span_2);
15908
+ template_effect(($0) => set_text(text_2, $0), [() => formatTime(cartItem().time)]);
15909
+ append($$anchor3, span_2);
15910
+ };
15911
+ if_block(node_1, ($$render) => {
15912
+ if (cartItem().product.type === "timeslot") $$render(consequent);
15913
+ });
15914
+ }
15915
+ template_effect(($0) => set_text(text_1, $0), [
15916
+ () => formatDate(cartItem().time, { month: "numeric", day: "numeric" }, shop.locale)
15917
+ ]);
15918
+ append($$anchor2, fragment);
15919
+ };
15920
+ if_block(node, ($$render) => {
15921
+ if (cartItem().time) $$render(consequent_1);
15922
+ });
15923
+ }
15924
+ reset(li);
15925
+ template_effect(() => set_text(text2, cartItem().product.title));
15926
+ append($$anchor, li);
15927
+ return pop($$exports);
15928
+ }
15929
+ create_custom_element(Ticket, { cartItem: {} }, [], [], true);
15930
+ var root_2$q = /* @__PURE__ */ from_html(`<li data-go-cart-header-remove="">remove</li>`);
15931
+ var root_7$4 = /* @__PURE__ */ from_html(`<li data-go-cart-item-remove=""><button>⨉</button></li>`);
15932
+ var root_3$6 = /* @__PURE__ */ from_html(`<li data-go-cart-item=""><article><ul><!> <li data-go-cart-item-price=""> </li> <li data-go-cart-item-count=""> </li> <!> <li data-go-cart-item-sum=""> </li></ul></article></li>`);
15933
+ var root_8$1 = /* @__PURE__ */ from_html(`<li data-go-cart-footer-remove=""></li>`);
15934
+ var root_9$4 = /* @__PURE__ */ from_html(`<a href="javascript:void(0);" class="go-cart-checkout-button" data-testid="checkout-button">Checkout</a>`);
15935
+ var root_1$e = /* @__PURE__ */ from_html(`<ol data-testid="cart"><li data-go-cart-header="" data-testid="cart-header"><ul><li data-go-cart-header-title="">Product</li> <li data-go-cart-header-price="">Price</li> <li data-go-cart-header-count="">Count</li> <!> <li data-go-cart-header-sum="">Sum</li></ul></li> <!> <li data-go-cart-footer="" data-testid="cart-footer"><ul><li data-go-cart-footer-title=""></li> <li data-go-cart-footer-price=""></li> <li data-go-cart-footer-count=""></li> <!> <li data-go-cart-footer-sum="" data-go-cart-sum=""> </li></ul></li></ol> <!>`, 1);
15856
15936
  function Cart($$anchor, $$props) {
15857
15937
  push($$props, true);
15858
15938
  const preview = prop($$props, "preview", 7, false);
@@ -15875,14 +15955,14 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15875
15955
  var node = first_child(fragment);
15876
15956
  {
15877
15957
  var consequent_6 = ($$anchor2) => {
15878
- var fragment_1 = root_1$f();
15958
+ var fragment_1 = root_1$e();
15879
15959
  var ol = first_child(fragment_1);
15880
15960
  var li = child(ol);
15881
15961
  var ul = child(li);
15882
15962
  var node_1 = sibling(child(ul), 6);
15883
15963
  {
15884
15964
  var consequent = ($$anchor3) => {
15885
- var li_1 = root_2$p();
15965
+ var li_1 = root_2$q();
15886
15966
  append($$anchor3, li_1);
15887
15967
  };
15888
15968
  if_block(node_1, ($$render) => {
@@ -15897,96 +15977,96 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15897
15977
  var li_2 = root_3$6();
15898
15978
  var article = child(li_2);
15899
15979
  var ul_1 = child(article);
15900
- var li_3 = child(ul_1);
15901
- var span = child(li_3);
15902
- var text2 = child(span, true);
15903
- reset(span);
15904
- var node_3 = sibling(span, 2);
15980
+ var node_3 = child(ul_1);
15905
15981
  {
15906
- var consequent_2 = ($$anchor4) => {
15907
- var fragment_2 = root_4$4();
15908
- var span_1 = first_child(fragment_2);
15909
- var text_1 = child(span_1, true);
15910
- reset(span_1);
15911
- var node_4 = sibling(span_1, 2);
15982
+ var consequent_1 = ($$anchor4) => {
15983
+ Ticket($$anchor4, {
15984
+ get cartItem() {
15985
+ return get$2(cartItem);
15986
+ }
15987
+ });
15988
+ };
15989
+ var alternate = ($$anchor4) => {
15990
+ var fragment_3 = comment();
15991
+ var node_4 = first_child(fragment_3);
15912
15992
  {
15913
- var consequent_1 = ($$anchor5) => {
15914
- var span_2 = root_5$2();
15915
- var text_2 = child(span_2, true);
15916
- reset(span_2);
15917
- template_effect(($0) => set_text(text_2, $0), [() => formatTime(get$2(cartItem).time)]);
15918
- append($$anchor5, span_2);
15993
+ var consequent_2 = ($$anchor5) => {
15994
+ Event$2($$anchor5, {
15995
+ get cartItem() {
15996
+ return get$2(cartItem);
15997
+ }
15998
+ });
15919
15999
  };
15920
- if_block(node_4, ($$render) => {
15921
- if (get$2(cartItem).product.type === "timeslot") $$render(consequent_1);
15922
- });
16000
+ if_block(
16001
+ node_4,
16002
+ ($$render) => {
16003
+ if (get$2(cartItem).product.product_type == "Event") $$render(consequent_2);
16004
+ },
16005
+ true
16006
+ );
15923
16007
  }
15924
- template_effect(($0) => set_text(text_1, $0), [
15925
- () => formatDate(get$2(cartItem).time, { month: "numeric", day: "numeric" }, shop.locale)
15926
- ]);
15927
- append($$anchor4, fragment_2);
16008
+ append($$anchor4, fragment_3);
15928
16009
  };
15929
16010
  if_block(node_3, ($$render) => {
15930
- if (get$2(cartItem).product.type === "timeslot" && get$2(cartItem).time) $$render(consequent_2);
16011
+ if (get$2(cartItem).product.product_type == "Ticket") $$render(consequent_1);
16012
+ else $$render(alternate, false);
15931
16013
  });
15932
16014
  }
16015
+ var li_3 = sibling(node_3, 2);
16016
+ var text2 = child(li_3, true);
15933
16017
  reset(li_3);
15934
16018
  var li_4 = sibling(li_3, 2);
15935
- var text_3 = child(li_4, true);
16019
+ var text_1 = child(li_4, true);
15936
16020
  reset(li_4);
15937
- var li_5 = sibling(li_4, 2);
15938
- var text_4 = child(li_5, true);
15939
- reset(li_5);
15940
- var node_5 = sibling(li_5, 2);
16021
+ var node_5 = sibling(li_4, 2);
15941
16022
  {
15942
16023
  var consequent_3 = ($$anchor4) => {
15943
- var li_6 = root_6$2();
15944
- var button = child(li_6);
16024
+ var li_5 = root_7$4();
16025
+ var button = child(li_5);
15945
16026
  button.__click = () => get$2(cart).deleteItem(get$2(cartItem));
15946
- reset(li_6);
15947
- append($$anchor4, li_6);
16027
+ reset(li_5);
16028
+ append($$anchor4, li_5);
15948
16029
  };
15949
16030
  if_block(node_5, ($$render) => {
15950
16031
  if (!preview()) $$render(consequent_3);
15951
16032
  });
15952
16033
  }
15953
- var li_7 = sibling(node_5, 2);
15954
- var text_5 = child(li_7, true);
15955
- reset(li_7);
16034
+ var li_6 = sibling(node_5, 2);
16035
+ var text_2 = child(li_6, true);
16036
+ reset(li_6);
15956
16037
  reset(ul_1);
15957
16038
  reset(article);
15958
16039
  reset(li_2);
15959
16040
  template_effect(() => {
15960
16041
  set_attribute(article, "data-testid", get$2(cartItem).uuid);
15961
- set_text(text2, get$2(cartItem).product.title);
15962
- set_text(text_3, get$2(cartItem).final_price_formatted);
15963
- set_text(text_4, get$2(cartItem).quantity);
15964
- set_text(text_5, get$2(cartItem).total_price_formatted);
16042
+ set_text(text2, get$2(cartItem).final_price_formatted);
16043
+ set_text(text_1, get$2(cartItem).quantity);
16044
+ set_text(text_2, get$2(cartItem).total_price_formatted);
15965
16045
  });
15966
16046
  append($$anchor3, li_2);
15967
16047
  });
15968
- var li_8 = sibling(node_2, 2);
15969
- var ul_2 = child(li_8);
16048
+ var li_7 = sibling(node_2, 2);
16049
+ var ul_2 = child(li_7);
15970
16050
  var node_6 = sibling(child(ul_2), 6);
15971
16051
  {
15972
16052
  var consequent_4 = ($$anchor3) => {
15973
- var li_9 = root_7$4();
15974
- append($$anchor3, li_9);
16053
+ var li_8 = root_8$1();
16054
+ append($$anchor3, li_8);
15975
16055
  };
15976
16056
  if_block(node_6, ($$render) => {
15977
16057
  if (!preview()) $$render(consequent_4);
15978
16058
  });
15979
16059
  }
15980
- var li_10 = sibling(node_6, 2);
15981
- var text_6 = child(li_10, true);
15982
- reset(li_10);
16060
+ var li_9 = sibling(node_6, 2);
16061
+ var text_3 = child(li_9, true);
16062
+ reset(li_9);
15983
16063
  reset(ul_2);
15984
- reset(li_8);
16064
+ reset(li_7);
15985
16065
  reset(ol);
15986
16066
  var node_7 = sibling(ol, 2);
15987
16067
  {
15988
16068
  var consequent_5 = ($$anchor3) => {
15989
- var a2 = root_8$1();
16069
+ var a2 = root_9$4();
15990
16070
  a2.__click = navToCheckout;
15991
16071
  append($$anchor3, a2);
15992
16072
  };
@@ -15994,7 +16074,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15994
16074
  if (!preview()) $$render(consequent_5);
15995
16075
  });
15996
16076
  }
15997
- template_effect(() => set_text(text_6, get$2(cart).totalFormatted));
16077
+ template_effect(() => set_text(text_3, get$2(cart).totalFormatted));
15998
16078
  append($$anchor2, fragment_1);
15999
16079
  };
16000
16080
  if_block(node, ($$render) => {
@@ -21936,7 +22016,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
21936
22016
  set(this.#props, value);
21937
22017
  }
21938
22018
  }
21939
- var root_2$o = /* @__PURE__ */ from_html(`<div><!></div>`);
22019
+ var root_2$p = /* @__PURE__ */ from_html(`<div><!></div>`);
21940
22020
  function Calendar$1($$anchor, $$props) {
21941
22021
  push($$props, true);
21942
22022
  let child$1 = 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), readonly2 = 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, [
@@ -22235,7 +22315,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22235
22315
  append($$anchor2, fragment_1);
22236
22316
  };
22237
22317
  var alternate = ($$anchor2) => {
22238
- var div = root_2$o();
22318
+ var div = root_2$p();
22239
22319
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
22240
22320
  var node_2 = child(div);
22241
22321
  snippet(node_2, () => children() ?? noop$1, () => rootState.snippetProps);
@@ -22286,7 +22366,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22286
22366
  [],
22287
22367
  true
22288
22368
  );
22289
- var root_2$n = /* @__PURE__ */ from_html(`<div><!></div>`);
22369
+ var root_2$o = /* @__PURE__ */ from_html(`<div><!></div>`);
22290
22370
  function Calendar_day($$anchor, $$props) {
22291
22371
  const uid = props_id();
22292
22372
  push($$props, true);
@@ -22348,7 +22428,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22348
22428
  append($$anchor2, fragment_1);
22349
22429
  };
22350
22430
  var alternate_1 = ($$anchor2) => {
22351
- var div = root_2$n();
22431
+ var div = root_2$o();
22352
22432
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
22353
22433
  var node_2 = child(div);
22354
22434
  {
@@ -22380,7 +22460,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22380
22460
  return pop($$exports);
22381
22461
  }
22382
22462
  create_custom_element(Calendar_day, { children: {}, child: {}, ref: {}, id: {} }, [], [], true);
22383
- var root_2$m = /* @__PURE__ */ from_html(`<table><!></table>`);
22463
+ var root_2$n = /* @__PURE__ */ from_html(`<table><!></table>`);
22384
22464
  function Calendar_grid($$anchor, $$props) {
22385
22465
  const uid = props_id();
22386
22466
  push($$props, true);
@@ -22439,7 +22519,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22439
22519
  append($$anchor2, fragment_1);
22440
22520
  };
22441
22521
  var alternate = ($$anchor2) => {
22442
- var table = root_2$m();
22522
+ var table = root_2$n();
22443
22523
  attribute_effect(table, () => ({ ...get$2(mergedProps) }));
22444
22524
  var node_2 = child(table);
22445
22525
  snippet(node_2, () => children() ?? noop$1);
@@ -22455,7 +22535,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22455
22535
  return pop($$exports);
22456
22536
  }
22457
22537
  create_custom_element(Calendar_grid, { children: {}, child: {}, ref: {}, id: {} }, [], [], true);
22458
- var root_2$l = /* @__PURE__ */ from_html(`<tbody><!></tbody>`);
22538
+ var root_2$m = /* @__PURE__ */ from_html(`<tbody><!></tbody>`);
22459
22539
  function Calendar_grid_body($$anchor, $$props) {
22460
22540
  const uid = props_id();
22461
22541
  push($$props, true);
@@ -22514,7 +22594,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22514
22594
  append($$anchor2, fragment_1);
22515
22595
  };
22516
22596
  var alternate = ($$anchor2) => {
22517
- var tbody = root_2$l();
22597
+ var tbody = root_2$m();
22518
22598
  attribute_effect(tbody, () => ({ ...get$2(mergedProps) }));
22519
22599
  var node_2 = child(tbody);
22520
22600
  snippet(node_2, () => children() ?? noop$1);
@@ -22530,7 +22610,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22530
22610
  return pop($$exports);
22531
22611
  }
22532
22612
  create_custom_element(Calendar_grid_body, { children: {}, child: {}, ref: {}, id: {} }, [], [], true);
22533
- var root_2$k = /* @__PURE__ */ from_html(`<td><!></td>`);
22613
+ var root_2$l = /* @__PURE__ */ from_html(`<td><!></td>`);
22534
22614
  function Calendar_cell($$anchor, $$props) {
22535
22615
  const uid = props_id();
22536
22616
  push($$props, true);
@@ -22610,7 +22690,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22610
22690
  append($$anchor2, fragment_1);
22611
22691
  };
22612
22692
  var alternate = ($$anchor2) => {
22613
- var td = root_2$k();
22693
+ var td = root_2$l();
22614
22694
  attribute_effect(td, () => ({ ...get$2(mergedProps) }));
22615
22695
  var node_2 = child(td);
22616
22696
  snippet(node_2, () => children() ?? noop$1, () => cellState.snippetProps);
@@ -22639,7 +22719,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22639
22719
  [],
22640
22720
  true
22641
22721
  );
22642
- var root_2$j = /* @__PURE__ */ from_html(`<thead><!></thead>`);
22722
+ var root_2$k = /* @__PURE__ */ from_html(`<thead><!></thead>`);
22643
22723
  function Calendar_grid_head($$anchor, $$props) {
22644
22724
  const uid = props_id();
22645
22725
  push($$props, true);
@@ -22698,7 +22778,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22698
22778
  append($$anchor2, fragment_1);
22699
22779
  };
22700
22780
  var alternate = ($$anchor2) => {
22701
- var thead = root_2$j();
22781
+ var thead = root_2$k();
22702
22782
  attribute_effect(thead, () => ({ ...get$2(mergedProps) }));
22703
22783
  var node_2 = child(thead);
22704
22784
  snippet(node_2, () => children() ?? noop$1);
@@ -22714,7 +22794,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22714
22794
  return pop($$exports);
22715
22795
  }
22716
22796
  create_custom_element(Calendar_grid_head, { children: {}, child: {}, ref: {}, id: {} }, [], [], true);
22717
- var root_2$i = /* @__PURE__ */ from_html(`<th><!></th>`);
22797
+ var root_2$j = /* @__PURE__ */ from_html(`<th><!></th>`);
22718
22798
  function Calendar_head_cell($$anchor, $$props) {
22719
22799
  const uid = props_id();
22720
22800
  push($$props, true);
@@ -22773,7 +22853,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22773
22853
  append($$anchor2, fragment_1);
22774
22854
  };
22775
22855
  var alternate = ($$anchor2) => {
22776
- var th = root_2$i();
22856
+ var th = root_2$j();
22777
22857
  attribute_effect(th, () => ({ ...get$2(mergedProps) }));
22778
22858
  var node_2 = child(th);
22779
22859
  snippet(node_2, () => children() ?? noop$1);
@@ -22789,7 +22869,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22789
22869
  return pop($$exports);
22790
22870
  }
22791
22871
  create_custom_element(Calendar_head_cell, { children: {}, child: {}, ref: {}, id: {} }, [], [], true);
22792
- var root_2$h = /* @__PURE__ */ from_html(`<tr><!></tr>`);
22872
+ var root_2$i = /* @__PURE__ */ from_html(`<tr><!></tr>`);
22793
22873
  function Calendar_grid_row($$anchor, $$props) {
22794
22874
  const uid = props_id();
22795
22875
  push($$props, true);
@@ -22848,7 +22928,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22848
22928
  append($$anchor2, fragment_1);
22849
22929
  };
22850
22930
  var alternate = ($$anchor2) => {
22851
- var tr = root_2$h();
22931
+ var tr = root_2$i();
22852
22932
  attribute_effect(tr, () => ({ ...get$2(mergedProps) }));
22853
22933
  var node_2 = child(tr);
22854
22934
  snippet(node_2, () => children() ?? noop$1);
@@ -22864,7 +22944,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22864
22944
  return pop($$exports);
22865
22945
  }
22866
22946
  create_custom_element(Calendar_grid_row, { children: {}, child: {}, ref: {}, id: {} }, [], [], true);
22867
- var root_2$g = /* @__PURE__ */ from_html(`<header><!></header>`);
22947
+ var root_2$h = /* @__PURE__ */ from_html(`<header><!></header>`);
22868
22948
  function Calendar_header($$anchor, $$props) {
22869
22949
  const uid = props_id();
22870
22950
  push($$props, true);
@@ -22923,7 +23003,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22923
23003
  append($$anchor2, fragment_1);
22924
23004
  };
22925
23005
  var alternate = ($$anchor2) => {
22926
- var header = root_2$g();
23006
+ var header = root_2$h();
22927
23007
  attribute_effect(header, () => ({ ...get$2(mergedProps) }));
22928
23008
  var node_2 = child(header);
22929
23009
  snippet(node_2, () => children() ?? noop$1);
@@ -22939,7 +23019,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22939
23019
  return pop($$exports);
22940
23020
  }
22941
23021
  create_custom_element(Calendar_header, { children: {}, child: {}, ref: {}, id: {} }, [], [], true);
22942
- var root_2$f = /* @__PURE__ */ from_html(`<div><!></div>`);
23022
+ var root_2$g = /* @__PURE__ */ from_html(`<div><!></div>`);
22943
23023
  function Calendar_heading($$anchor, $$props) {
22944
23024
  const uid = props_id();
22945
23025
  push($$props, true);
@@ -23001,7 +23081,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
23001
23081
  append($$anchor2, fragment_1);
23002
23082
  };
23003
23083
  var alternate_1 = ($$anchor2) => {
23004
- var div = root_2$f();
23084
+ var div = root_2$g();
23005
23085
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
23006
23086
  var node_2 = child(div);
23007
23087
  {
@@ -23033,7 +23113,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
23033
23113
  return pop($$exports);
23034
23114
  }
23035
23115
  create_custom_element(Calendar_heading, { children: {}, child: {}, ref: {}, id: {} }, [], [], true);
23036
- var root_2$e = /* @__PURE__ */ from_html(`<button><!></button>`);
23116
+ var root_2$f = /* @__PURE__ */ from_html(`<button><!></button>`);
23037
23117
  function Calendar_next_button($$anchor, $$props) {
23038
23118
  const uid = props_id();
23039
23119
  push($$props, true);
@@ -23100,7 +23180,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
23100
23180
  append($$anchor2, fragment_1);
23101
23181
  };
23102
23182
  var alternate = ($$anchor2) => {
23103
- var button = root_2$e();
23183
+ var button = root_2$f();
23104
23184
  attribute_effect(button, () => ({ ...get$2(mergedProps) }));
23105
23185
  var node_2 = child(button);
23106
23186
  snippet(node_2, () => children() ?? noop$1);
@@ -23116,7 +23196,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
23116
23196
  return pop($$exports);
23117
23197
  }
23118
23198
  create_custom_element(Calendar_next_button, { children: {}, child: {}, id: {}, ref: {}, tabindex: {} }, [], [], true);
23119
- var root_2$d = /* @__PURE__ */ from_html(`<button><!></button>`);
23199
+ var root_2$e = /* @__PURE__ */ from_html(`<button><!></button>`);
23120
23200
  function Calendar_prev_button($$anchor, $$props) {
23121
23201
  const uid = props_id();
23122
23202
  push($$props, true);
@@ -23183,7 +23263,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
23183
23263
  append($$anchor2, fragment_1);
23184
23264
  };
23185
23265
  var alternate = ($$anchor2) => {
23186
- var button = root_2$d();
23266
+ var button = root_2$e();
23187
23267
  attribute_effect(button, () => ({ ...get$2(mergedProps) }));
23188
23268
  var node_2 = child(button);
23189
23269
  snippet(node_2, () => children() ?? noop$1);
@@ -23200,8 +23280,8 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
23200
23280
  }
23201
23281
  create_custom_element(Calendar_prev_button, { children: {}, child: {}, id: {}, ref: {}, tabindex: {} }, [], [], true);
23202
23282
  enable_legacy_mode_flag();
23203
- var root_1$e = /* @__PURE__ */ from_html(`<input/>`);
23204
- var root_2$c = /* @__PURE__ */ from_html(`<input/>`);
23283
+ var root_1$d = /* @__PURE__ */ from_html(`<input/>`);
23284
+ var root_2$d = /* @__PURE__ */ from_html(`<input/>`);
23205
23285
  function Hidden_input($$anchor, $$props) {
23206
23286
  push($$props, true);
23207
23287
  let value = prop($$props, "value", 15), restProps = /* @__PURE__ */ rest_props($$props, ["$$slots", "$$events", "$$legacy", "$$host", "value"]);
@@ -23223,12 +23303,12 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
23223
23303
  var node = first_child(fragment);
23224
23304
  {
23225
23305
  var consequent = ($$anchor2) => {
23226
- var input = root_1$e();
23306
+ var input = root_1$d();
23227
23307
  attribute_effect(input, () => ({ ...get$2(mergedProps), value: value() }), void 0, void 0, void 0, void 0, true);
23228
23308
  append($$anchor2, input);
23229
23309
  };
23230
23310
  var alternate = ($$anchor2) => {
23231
- var input_1 = root_2$c();
23311
+ var input_1 = root_2$d();
23232
23312
  attribute_effect(input_1, () => ({ ...get$2(mergedProps) }), void 0, void 0, void 0, void 0, true);
23233
23313
  bind_value(input_1, value);
23234
23314
  append($$anchor2, input_1);
@@ -25671,7 +25751,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
25671
25751
  return pop($$exports);
25672
25752
  }
25673
25753
  create_custom_element(Popper_content, { content: {}, isStatic: {}, onPlaced: {} }, [], [], true);
25674
- var root_1$d = /* @__PURE__ */ from_html(`<!> <!>`, 1);
25754
+ var root_1$c = /* @__PURE__ */ from_html(`<!> <!>`, 1);
25675
25755
  function Popper_layer_inner($$anchor, $$props) {
25676
25756
  push($$props, true);
25677
25757
  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), isValidEvent2 = 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), restProps = /* @__PURE__ */ rest_props($$props, [
@@ -25982,7 +26062,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
25982
26062
  const content = ($$anchor2, $$arg0) => {
25983
26063
  let floatingProps = () => $$arg0?.().props;
25984
26064
  let wrapperProps = () => $$arg0?.().wrapperProps;
25985
- var fragment_1 = root_1$d();
26065
+ var fragment_1 = root_1$c();
25986
26066
  var node = first_child(fragment_1);
25987
26067
  {
25988
26068
  var consequent = ($$anchor3) => {
@@ -28436,8 +28516,8 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
28436
28516
  pop();
28437
28517
  }
28438
28518
  create_custom_element(Date_field_hidden_input, {}, [], [], true);
28439
- var root_2$b = /* @__PURE__ */ from_html(`<div><!></div>`);
28440
- var root$5 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
28519
+ var root_2$c = /* @__PURE__ */ from_html(`<div><!></div>`);
28520
+ var root$4 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
28441
28521
  function Date_field_input($$anchor, $$props) {
28442
28522
  const uid = props_id();
28443
28523
  push($$props, true);
@@ -28495,7 +28575,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
28495
28575
  flushSync();
28496
28576
  }
28497
28577
  };
28498
- var fragment = root$5();
28578
+ var fragment = root$4();
28499
28579
  var node = first_child(fragment);
28500
28580
  {
28501
28581
  var consequent = ($$anchor2) => {
@@ -28508,7 +28588,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
28508
28588
  append($$anchor2, fragment_1);
28509
28589
  };
28510
28590
  var alternate = ($$anchor2) => {
28511
- var div = root_2$b();
28591
+ var div = root_2$c();
28512
28592
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
28513
28593
  var node_2 = child(div);
28514
28594
  snippet(node_2, () => children() ?? noop$1, () => ({ segments: inputState.root.segmentContents }));
@@ -28526,7 +28606,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
28526
28606
  return pop($$exports);
28527
28607
  }
28528
28608
  create_custom_element(Date_field_input, { id: {}, ref: {}, name: {}, children: {}, child: {} }, [], [], true);
28529
- var root_2$a = /* @__PURE__ */ from_html(`<div><!></div>`);
28609
+ var root_2$b = /* @__PURE__ */ from_html(`<div><!></div>`);
28530
28610
  function Date_field_label($$anchor, $$props) {
28531
28611
  const uid = props_id();
28532
28612
  push($$props, true);
@@ -28585,7 +28665,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
28585
28665
  append($$anchor2, fragment_1);
28586
28666
  };
28587
28667
  var alternate = ($$anchor2) => {
28588
- var div = root_2$a();
28668
+ var div = root_2$b();
28589
28669
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
28590
28670
  var node_2 = child(div);
28591
28671
  snippet(node_2, () => children() ?? noop$1);
@@ -28601,7 +28681,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
28601
28681
  return pop($$exports);
28602
28682
  }
28603
28683
  create_custom_element(Date_field_label, { id: {}, ref: {}, children: {}, child: {} }, [], [], true);
28604
- var root_2$9 = /* @__PURE__ */ from_html(`<span><!></span>`);
28684
+ var root_2$a = /* @__PURE__ */ from_html(`<span><!></span>`);
28605
28685
  function Date_field_segment($$anchor, $$props) {
28606
28686
  const uid = props_id();
28607
28687
  push($$props, true);
@@ -28668,7 +28748,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
28668
28748
  append($$anchor2, fragment_1);
28669
28749
  };
28670
28750
  var alternate = ($$anchor2) => {
28671
- var span = root_2$9();
28751
+ var span = root_2$a();
28672
28752
  attribute_effect(span, () => ({ ...get$2(mergedProps) }));
28673
28753
  var node_2 = child(span);
28674
28754
  snippet(node_2, () => children() ?? noop$1);
@@ -29243,7 +29323,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
29243
29323
  [],
29244
29324
  true
29245
29325
  );
29246
- var root_2$8 = /* @__PURE__ */ from_html(`<div><!></div>`);
29326
+ var root_2$9 = /* @__PURE__ */ from_html(`<div><!></div>`);
29247
29327
  function Date_picker_calendar($$anchor, $$props) {
29248
29328
  const uid = props_id();
29249
29329
  push($$props, true);
@@ -29330,7 +29410,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
29330
29410
  append($$anchor2, fragment_1);
29331
29411
  };
29332
29412
  var alternate = ($$anchor2) => {
29333
- var div = root_2$8();
29413
+ var div = root_2$9();
29334
29414
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
29335
29415
  var node_2 = child(div);
29336
29416
  snippet(node_2, () => children() ?? noop$1, () => calendarState.snippetProps);
@@ -29843,11 +29923,11 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
29843
29923
  return pop($$exports);
29844
29924
  }
29845
29925
  create_custom_element(Date_picker_trigger, { ref: {}, onkeydown: {} }, [], [], true);
29846
- var root_2$7 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29926
+ var root_2$8 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29847
29927
  var root_7$3 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
29848
29928
  var root_9$2 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29849
29929
  var root_6$1 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29850
- var root_1$c = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
29930
+ var root_1$b = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
29851
29931
  function DatePicker_1($$anchor, $$props) {
29852
29932
  push($$props, true);
29853
29933
  let dateString = prop($$props, "dateString", 15), labelClass = prop($$props, "labelClass", 7), inputClass = prop($$props, "inputClass", 7);
@@ -29889,7 +29969,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
29889
29969
  set(date2, $$value, true);
29890
29970
  },
29891
29971
  children: ($$anchor3, $$slotProps) => {
29892
- var fragment_1 = root_1$c();
29972
+ var fragment_1 = root_1$b();
29893
29973
  var node_1 = first_child(fragment_1);
29894
29974
  component(node_1, () => Date_field_label, ($$anchor4, DatePicker_Label) => {
29895
29975
  DatePicker_Label($$anchor4, {
@@ -29902,7 +29982,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
29902
29982
  {
29903
29983
  const children = ($$anchor4, $$arg0) => {
29904
29984
  let segments = () => $$arg0?.().segments;
29905
- var fragment_2 = root_2$7();
29985
+ var fragment_2 = root_2$8();
29906
29986
  var node_3 = first_child(fragment_2);
29907
29987
  each(node_3, 17, segments, index$1, ($$anchor5, $$item) => {
29908
29988
  let part = () => get$2($$item).part;
@@ -30096,8 +30176,8 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30096
30176
  return pop($$exports);
30097
30177
  }
30098
30178
  create_custom_element(DatePicker_1, { dateString: {}, labelClass: {}, inputClass: {} }, [], [], true);
30099
- var root_2$6 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
30100
- var root_1$b = /* @__PURE__ */ from_html(`<!> <!>`, 1);
30179
+ var root_2$7 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
30180
+ var root_1$a = /* @__PURE__ */ from_html(`<!> <!>`, 1);
30101
30181
  var root_3$4 = /* @__PURE__ */ from_html(`<label><!></label> <input/>`, 1);
30102
30182
  var root_4$2 = /* @__PURE__ */ from_html(`<label><input/> <span class="go-checkbox-label"><!></span></label>`);
30103
30183
  var root_7$2 = /* @__PURE__ */ from_html(`<option> </option>`);
@@ -30107,13 +30187,13 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30107
30187
  function InputAndLabel($$anchor, $$props) {
30108
30188
  push($$props, true);
30109
30189
  const labelText = ($$anchor2) => {
30110
- var fragment = root_1$b();
30190
+ var fragment = root_1$a();
30111
30191
  var node = first_child(fragment);
30112
30192
  html$2(node, () => purify.sanitize(field().label));
30113
30193
  var node_1 = sibling(node, 2);
30114
30194
  {
30115
30195
  var consequent = ($$anchor3) => {
30116
- var span = root_2$6();
30196
+ var span = root_2$7();
30117
30197
  append($$anchor3, span);
30118
30198
  };
30119
30199
  if_block(node_1, ($$render) => {
@@ -30400,10 +30480,10 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30400
30480
  [],
30401
30481
  true
30402
30482
  );
30403
- var root_1$a = /* @__PURE__ */ from_html(`<span> </span>`);
30483
+ var root_1$9 = /* @__PURE__ */ from_html(`<span> </span>`);
30404
30484
  var root_3$3 = /* @__PURE__ */ from_html(`<li> </li>`);
30405
- var root_2$5 = /* @__PURE__ */ from_html(`<ul class="go-field-errors" role="alert"></ul>`);
30406
- var root$4 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
30485
+ var root_2$6 = /* @__PURE__ */ from_html(`<ul class="go-field-errors" role="alert"></ul>`);
30486
+ var root$3 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
30407
30487
  function Field($$anchor, $$props) {
30408
30488
  push($$props, true);
30409
30489
  let key = prop($$props, "key", 7), required = prop($$props, "required", 7, false), labelClass = prop($$props, "labelClass", 7), inputClass = prop($$props, "inputClass", 7);
@@ -30467,7 +30547,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30467
30547
  flushSync();
30468
30548
  }
30469
30549
  };
30470
- var fragment = root$4();
30550
+ var fragment = root$3();
30471
30551
  var node = first_child(fragment);
30472
30552
  InputAndLabel(node, {
30473
30553
  get describedById() {
@@ -30490,7 +30570,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30490
30570
  var node_1 = sibling(node, 2);
30491
30571
  {
30492
30572
  var consequent = ($$anchor2) => {
30493
- var span = root_1$a();
30573
+ var span = root_1$9();
30494
30574
  var text2 = child(span, true);
30495
30575
  reset(span);
30496
30576
  template_effect(() => {
@@ -30506,7 +30586,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30506
30586
  var node_2 = sibling(node_1, 2);
30507
30587
  {
30508
30588
  var consequent_1 = ($$anchor2) => {
30509
- var ul = root_2$5();
30589
+ var ul = root_2$6();
30510
30590
  each(ul, 21, () => get$2(allErrors), index$1, ($$anchor3, error) => {
30511
30591
  var li = root_3$3();
30512
30592
  var text_1 = child(li, true);
@@ -30537,7 +30617,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30537
30617
  ["getField"],
30538
30618
  false
30539
30619
  ));
30540
- var root_1$9 = /* @__PURE__ */ from_html(`<go-field></go-field>`, 2);
30620
+ var root_1$8 = /* @__PURE__ */ from_html(`<go-field></go-field>`, 2);
30541
30621
  function AllFields($$anchor, $$props) {
30542
30622
  push($$props, true);
30543
30623
  let _details = getDetails$1($$props.$$host);
@@ -30546,7 +30626,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30546
30626
  var fragment = comment();
30547
30627
  var node = first_child(fragment);
30548
30628
  each(node, 17, () => get$2(allFields2), index$1, ($$anchor2, field) => {
30549
- var go_field = root_1$9();
30629
+ var go_field = root_1$8();
30550
30630
  template_effect(() => set_custom_element_data(go_field, "key", get$2(field).key));
30551
30631
  template_effect(() => set_custom_element_data(go_field, "required", get$2(field).required));
30552
30632
  append($$anchor2, go_field);
@@ -30555,11 +30635,11 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30555
30635
  pop();
30556
30636
  }
30557
30637
  customElements.define("go-all-fields", create_custom_element(AllFields, {}, [], [], false));
30558
- var root_2$4 = /* @__PURE__ */ from_html(`<p aria-live="assertive" class="sr-only"> </p>`);
30638
+ var root_2$5 = /* @__PURE__ */ from_html(`<p aria-live="assertive" class="sr-only"> </p>`);
30559
30639
  var root_4$1 = /* @__PURE__ */ from_html(`<li> </li>`);
30560
30640
  var root_3$2 = /* @__PURE__ */ from_html(`<ul class="go-error-feedback-api-errors"></ul>`);
30561
30641
  var root_5 = /* @__PURE__ */ from_html(`<p aria-hidden="true"> </p>`);
30562
- var root_1$8 = /* @__PURE__ */ from_html(`<div><!> <!> <!></div>`);
30642
+ var root_1$7 = /* @__PURE__ */ from_html(`<div><!> <!> <!></div>`);
30563
30643
  function ErrorsFeedback($$anchor, $$props) {
30564
30644
  push($$props, true);
30565
30645
  const _details = getDetails$1($$props.$$host);
@@ -30576,12 +30656,12 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30576
30656
  var node = first_child(fragment);
30577
30657
  {
30578
30658
  var consequent_3 = ($$anchor2) => {
30579
- var div = root_1$8();
30659
+ var div = root_1$7();
30580
30660
  let classes;
30581
30661
  var node_1 = child(div);
30582
30662
  {
30583
30663
  var consequent = ($$anchor3) => {
30584
- var p2 = root_2$4();
30664
+ var p2 = root_2$5();
30585
30665
  var text2 = child(p2);
30586
30666
  reset(p2);
30587
30667
  template_effect(() => set_text(text2, `Failed to save because ${get$2(errorsOnSubmit) ?? ""} fields are invalid.`));
@@ -30636,9 +30716,9 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30636
30716
  pop();
30637
30717
  }
30638
30718
  customElements.define("go-errors-feedback", create_custom_element(ErrorsFeedback, {}, [], [], false));
30639
- var root$3 = /* @__PURE__ */ from_html(`<div class="go-form-feedback"><!></div>`);
30719
+ var root$2 = /* @__PURE__ */ from_html(`<div class="go-form-feedback"><!></div>`);
30640
30720
  function FormFeedback($$anchor, $$props) {
30641
- var div = root$3();
30721
+ var div = root$2();
30642
30722
  var node = child(div);
30643
30723
  slot(node, $$props, "default", {});
30644
30724
  reset(div);
@@ -30671,7 +30751,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30671
30751
  [],
30672
30752
  false
30673
30753
  ));
30674
- var root_1$7 = /* @__PURE__ */ from_html(`<div aria-live="assertive"> </div>`);
30754
+ var root_1$6 = /* @__PURE__ */ from_html(`<div aria-live="assertive"> </div>`);
30675
30755
  function SuccessFeedback($$anchor, $$props) {
30676
30756
  push($$props, true);
30677
30757
  const _details = getDetails$1($$props.$$host);
@@ -30680,7 +30760,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30680
30760
  var node = first_child(fragment);
30681
30761
  {
30682
30762
  var consequent = ($$anchor2) => {
30683
- var div = root_1$7();
30763
+ var div = root_1$6();
30684
30764
  let classes;
30685
30765
  var text2 = child(div, true);
30686
30766
  reset(div);
@@ -31069,8 +31149,9 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31069
31149
  return pop($$exports);
31070
31150
  }
31071
31151
  customElements.define("go-order", create_custom_element(Order, { token: { attribute: "token", reflect: true, type: "String" } }, [], ["orderDetails"], false));
31072
- var root_1$6 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities"> </span>`, 1);
31073
- var root$2 = /* @__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">Download</a></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
31152
+ var root_1$5 = /* @__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);
31153
+ var root_2$4 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities"> </span>`, 1);
31154
+ var root$1 = /* @__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">Download</a></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
31074
31155
  function Event$1($$anchor, $$props) {
31075
31156
  push($$props, true);
31076
31157
  let item = prop($$props, "item", 7), orderDetails = prop($$props, "orderDetails", 7);
@@ -31090,7 +31171,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31090
31171
  flushSync();
31091
31172
  }
31092
31173
  };
31093
- var li = root$2();
31174
+ var li = root$1();
31094
31175
  var article = child(li);
31095
31176
  var ul = child(article);
31096
31177
  var li_1 = sibling(child(ul), 2);
@@ -31098,18 +31179,44 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31098
31179
  var text2 = child(span, true);
31099
31180
  reset(span);
31100
31181
  var node = sibling(span, 2);
31101
- each(node, 17, () => item().attributes.quantities, index$1, ($$anchor2, scalePrice) => {
31102
- var fragment = root_1$6();
31103
- var span_1 = sibling(first_child(fragment), 2);
31104
- var text_1 = child(span_1);
31105
- reset(span_1);
31106
- template_effect(() => set_text(text_1, `${get$2(scalePrice).quantity ?? ""} x ${get$2(scalePrice).title ?? ""}`));
31107
- append($$anchor2, fragment);
31182
+ {
31183
+ var consequent = ($$anchor2) => {
31184
+ var fragment = root_1$5();
31185
+ var span_1 = first_child(fragment);
31186
+ var text_1 = child(span_1, true);
31187
+ reset(span_1);
31188
+ var span_2 = sibling(span_1, 2);
31189
+ var text_2 = child(span_2, true);
31190
+ reset(span_2);
31191
+ template_effect(
31192
+ ($0, $1) => {
31193
+ set_text(text_1, $0);
31194
+ set_text(text_2, $1);
31195
+ },
31196
+ [
31197
+ () => formatDate(item().attributes.start_time, { month: "numeric", day: "numeric" }, shop.locale),
31198
+ () => formatTime(item().attributes.start_time)
31199
+ ]
31200
+ );
31201
+ append($$anchor2, fragment);
31202
+ };
31203
+ if_block(node, ($$render) => {
31204
+ if (item().attributes.start_time) $$render(consequent);
31205
+ });
31206
+ }
31207
+ var node_1 = sibling(node, 2);
31208
+ each(node_1, 17, () => item().attributes.quantities, index$1, ($$anchor2, scalePrice) => {
31209
+ var fragment_1 = root_2$4();
31210
+ var span_3 = sibling(first_child(fragment_1), 2);
31211
+ var text_3 = child(span_3);
31212
+ reset(span_3);
31213
+ template_effect(() => set_text(text_3, `${get$2(scalePrice).quantity ?? ""} x ${get$2(scalePrice).title ?? ""}`));
31214
+ append($$anchor2, fragment_1);
31108
31215
  });
31109
- var a2 = sibling(node, 2);
31216
+ var a2 = sibling(node_1, 2);
31110
31217
  reset(li_1);
31111
31218
  var li_2 = sibling(li_1, 2);
31112
- var text_2 = child(li_2, true);
31219
+ var text_4 = child(li_2, true);
31113
31220
  reset(li_2);
31114
31221
  next(2);
31115
31222
  reset(ul);
@@ -31119,7 +31226,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31119
31226
  ($0, $1) => {
31120
31227
  set_text(text2, item().attributes.title);
31121
31228
  set_attribute(a2, "href", $0);
31122
- set_text(text_2, $1);
31229
+ set_text(text_4, $1);
31123
31230
  },
31124
31231
  [
31125
31232
  () => orderDetails().downloadLink(item()),
@@ -31336,7 +31443,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31336
31443
  return pop($$exports);
31337
31444
  }
31338
31445
  create_custom_element(TicketSale, { item: {}, orderDetails: {} }, [], [], true);
31339
- var root_1$5 = /* @__PURE__ */ from_html(`<ol><li class="data-go-order-breakdown-header"><ul><li class="go-order-breakdown-header-count">Count</li> <li class="go-order-breakdown-header-product">Product</li> <li class="go-order-breakdown-header-price">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>`);
31446
+ var root_1$4 = /* @__PURE__ */ from_html(`<ol><li class="data-go-order-breakdown-header"><ul><li class="go-order-breakdown-header-count">Count</li> <li class="go-order-breakdown-header-product">Product</li> <li class="go-order-breakdown-header-price">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>`);
31340
31447
  function Breakdown($$anchor, $$props) {
31341
31448
  push($$props, true);
31342
31449
  const _orderDetails = getDetails($$props.$$host);
@@ -31346,7 +31453,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31346
31453
  var node = first_child(fragment);
31347
31454
  {
31348
31455
  var consequent_2 = ($$anchor2) => {
31349
- var ol = root_1$5();
31456
+ var ol = root_1$4();
31350
31457
  var node_1 = sibling(child(ol), 2);
31351
31458
  each(node_1, 17, () => get$2(order).items, (item) => item.id, ($$anchor3, item) => {
31352
31459
  var fragment_1 = comment();
@@ -31650,12 +31757,12 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31650
31757
  }
31651
31758
  if (tsd.eventIds.length > 1) throw new Error("(loadEventScaledPricesTickets) currently we support only one eventId in go-ticket-selection");
31652
31759
  const eid = tsd.eventIds[0];
31653
- const event = await shop.asyncFetch(() => shop.getEventDetailsOnDate(eid, segment.dateId));
31654
- if (event.prices) {
31655
- const UITickets = event.prices.map((t) => createUIEventTicket(t, segment.dateId)) || [];
31760
+ const eventDate = await shop.asyncFetch(() => shop.getEventDetailsOnDate(eid, segment.dateId));
31761
+ if (eventDate.prices) {
31762
+ const UITickets = eventDate.prices.map((t) => createUIEventTicket(t, segment.dateId, { selectedTime: eventDate.start_time })) || [];
31656
31763
  segment.preCart = createCart(UITickets);
31657
31764
  } else console.warn("(loadEventScaledPricesTickets) event.prices is undefined");
31658
- if (event.seats) shop.capacityManager.addSeats(segment.dateId, event.seats);
31765
+ if (eventDate.seats) shop.capacityManager.addSeats(segment.dateId, eventDate.seats);
31659
31766
  else console.warn("(loadEventScaledPricesTickets) event.seats is undefined");
31660
31767
  }
31661
31768
  async function loadEventTickets(segment) {
@@ -31853,7 +31960,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31853
31960
  throw new Error(`(selectedTime) Unhandled Ticket Type: ${exhaustedChecking2}`);
31854
31961
  }
31855
31962
  case "Event":
31856
- return "";
31963
+ return product.selectedTime || "";
31857
31964
  default:
31858
31965
  const exhaustedChecking = product.product_type;
31859
31966
  throw new Error(`(selectedTime) Unhandled product type: ${exhaustedChecking}`);
@@ -31863,66 +31970,6 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31863
31970
  const d = /* @__PURE__ */ new Date();
31864
31971
  return d.toISOString();
31865
31972
  }
31866
- var root_1$4 = /* @__PURE__ */ from_html(`<label class="svelte-1qd449h"> </label>`);
31867
- var root$1 = /* @__PURE__ */ from_html(`<div class="svelte-1qd449h"><!> <pre><!>
31868
- </pre></div>`);
31869
- const $$css = {
31870
- hash: "svelte-1qd449h",
31871
- code: "div.svelte-1qd449h {display:grid;}label.svelte-1qd449h {font-weight:bold;display:inline-block;}pre.svelte-1qd449h {margin-top:0.5rlh;padding:0;white-space:pre-wrap; /* CSS3: Wrap long lines */word-wrap:break-word; /* For legacy support */}"
31872
- };
31873
- function Log($$anchor, $$props) {
31874
- push($$props, true);
31875
- append_styles$1($$anchor, $$css);
31876
- let data = prop($$props, "data", 7), format = prop($$props, "format", 7, true), label = prop($$props, "label", 7, "");
31877
- var $$exports = {
31878
- get data() {
31879
- return data();
31880
- },
31881
- set data($$value) {
31882
- data($$value);
31883
- flushSync();
31884
- },
31885
- get format() {
31886
- return format();
31887
- },
31888
- set format($$value = true) {
31889
- format($$value);
31890
- flushSync();
31891
- },
31892
- get label() {
31893
- return label();
31894
- },
31895
- set label($$value = "") {
31896
- label($$value);
31897
- flushSync();
31898
- }
31899
- };
31900
- var div = root$1();
31901
- var node = child(div);
31902
- {
31903
- var consequent = ($$anchor2) => {
31904
- var label_1 = root_1$4();
31905
- var text2 = child(label_1);
31906
- reset(label_1);
31907
- template_effect(() => set_text(text2, `${label() ?? ""}:`));
31908
- append($$anchor2, label_1);
31909
- };
31910
- if_block(node, ($$render) => {
31911
- if (label()) $$render(consequent);
31912
- });
31913
- }
31914
- var pre = sibling(node, 2);
31915
- let classes;
31916
- var node_1 = child(pre);
31917
- html$2(node_1, () => format() ? JSON.stringify(data(), null, 2) : JSON.stringify(data()));
31918
- next();
31919
- reset(pre);
31920
- reset(div);
31921
- template_effect(() => classes = set_class(pre, 1, "svelte-1qd449h", null, classes, { format: format() }));
31922
- append($$anchor, div);
31923
- return pop($$exports);
31924
- }
31925
- create_custom_element(Log, { data: {}, format: {}, label: {} }, [], [], true);
31926
31973
  function generateQuantityOptions(min2, max2) {
31927
31974
  let options = [{ value: 0, label: "0" }];
31928
31975
  if (max2 === 0) {