@everymatrix/lottery-program-wof 1.28.7 → 1.29.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.
@@ -5330,7 +5330,7 @@
5330
5330
 
5331
5331
  /* src/private.message.svelte generated by Svelte v3.59.2 */
5332
5332
 
5333
- const { Object: Object_1$3 } = globals;
5333
+ const { Object: Object_1$4 } = globals;
5334
5334
  const file$6 = "src/private.message.svelte";
5335
5335
 
5336
5336
  // (89:0) {#if isShown && isOptionsReady}
@@ -6071,7 +6071,7 @@
6071
6071
 
6072
6072
  const writable_props = ['r', 'size', 'id', 'clientstyling', 'giftimagesrc'];
6073
6073
 
6074
- Object_1$3.keys($$props).forEach(key => {
6074
+ Object_1$4.keys($$props).forEach(key => {
6075
6075
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<lottery-program-wof-private-message-panel> was created with unknown prop '${key}'`);
6076
6076
  });
6077
6077
 
@@ -6350,7 +6350,7 @@
6350
6350
 
6351
6351
  /* src/private.tabs.svelte generated by Svelte v3.59.2 */
6352
6352
 
6353
- const { Object: Object_1$2 } = globals;
6353
+ const { Object: Object_1$3 } = globals;
6354
6354
  const file$5 = "src/private.tabs.svelte";
6355
6355
 
6356
6356
  function get_each_context$4(ctx, list, i) {
@@ -6709,7 +6709,7 @@
6709
6709
 
6710
6710
  const writable_props = ['lang', 'endpoint', 'session', 'clientstyling', 'isshowhistory'];
6711
6711
 
6712
- Object_1$2.keys($$props).forEach(key => {
6712
+ Object_1$3.keys($$props).forEach(key => {
6713
6713
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<lottery-program-wof-private-tabs> was created with unknown prop '${key}'`);
6714
6714
  });
6715
6715
 
@@ -7059,7 +7059,7 @@
7059
7059
  const getSpinContainerSelector = (pointerMode) => {
7060
7060
  switch (pointerMode) {
7061
7061
  case PointerMode.Arrow: return 'g.PartitionsContainer';
7062
- case PointerMode.Partition: return 'g.PointerContainer';
7062
+ case PointerMode.Partition: return '.PointerArea > div';
7063
7063
  }
7064
7064
  };
7065
7065
  const findDegWithPointerMode = (index, length, pointerMode) => {
@@ -7172,7 +7172,7 @@
7172
7172
 
7173
7173
  /* src/private.outcomes.svelte generated by Svelte v3.59.2 */
7174
7174
 
7175
- const { Object: Object_1$1 } = globals;
7175
+ const { Object: Object_1$2 } = globals;
7176
7176
  const file$3 = "src/private.outcomes.svelte";
7177
7177
 
7178
7178
  function get_each_context$3(ctx, list, i) {
@@ -7693,7 +7693,7 @@
7693
7693
 
7694
7694
  const writable_props = ['lang', 'endpoint', 'session', 'clientstyling', 'id'];
7695
7695
 
7696
- Object_1$1.keys($$props).forEach(key => {
7696
+ Object_1$2.keys($$props).forEach(key => {
7697
7697
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<lottery-program-wof-private-outcomes> was created with unknown prop '${key}'`);
7698
7698
  });
7699
7699
 
@@ -8541,54 +8541,57 @@
8541
8541
  ].join(' ');
8542
8542
 
8543
8543
  /* src/private.item.svg.svelte generated by Svelte v3.59.2 */
8544
+
8545
+ const { Object: Object_1$1 } = globals;
8544
8546
  const file$2 = "src/private.item.svg.svelte";
8545
8547
 
8546
8548
  function get_each_context$2(ctx, list, i) {
8547
8549
  const child_ctx = ctx.slice();
8548
- child_ctx[43] = list[i];
8549
- child_ctx[45] = i;
8550
+ child_ctx[44] = list[i];
8551
+ child_ctx[46] = i;
8550
8552
  return child_ctx;
8551
8553
  }
8552
8554
 
8553
8555
  function get_each_context_1(ctx, list, i) {
8554
8556
  const child_ctx = ctx.slice();
8555
- child_ctx[43] = list[i];
8556
- child_ctx[45] = i;
8557
+ child_ctx[44] = list[i];
8558
+ child_ctx[46] = i;
8557
8559
  return child_ctx;
8558
8560
  }
8559
8561
 
8560
8562
  function get_each_context_2(ctx, list, i) {
8561
8563
  const child_ctx = ctx.slice();
8562
- child_ctx[43] = list[i];
8563
- child_ctx[45] = i;
8564
+ child_ctx[44] = list[i];
8565
+ child_ctx[46] = i;
8564
8566
  return child_ctx;
8565
8567
  }
8566
8568
 
8567
8569
  function get_each_context_3(ctx, list, i) {
8568
8570
  const child_ctx = ctx.slice();
8569
- child_ctx[43] = list[i];
8570
- child_ctx[45] = i;
8571
+ child_ctx[44] = list[i];
8572
+ child_ctx[46] = i;
8571
8573
  return child_ctx;
8572
8574
  }
8573
8575
 
8574
8576
  function get_each_context_4(ctx, list, i) {
8575
8577
  const child_ctx = ctx.slice();
8576
- child_ctx[43] = list[i];
8577
- child_ctx[45] = i;
8578
+ child_ctx[44] = list[i];
8579
+ child_ctx[46] = i;
8578
8580
  return child_ctx;
8579
8581
  }
8580
8582
 
8581
8583
  function get_each_context_5(ctx, list, i) {
8582
8584
  const child_ctx = ctx.slice();
8583
- child_ctx[43] = list[i];
8584
- child_ctx[45] = i;
8585
+ child_ctx[44] = list[i];
8586
+ child_ctx[46] = i;
8585
8587
  return child_ctx;
8586
8588
  }
8587
8589
 
8588
- // (184:2) {#if Number(size) && options.length}
8590
+ // (191:2) {#if Number(size) && options.length}
8589
8591
  function create_if_block$2(ctx) {
8590
8592
  let svg_1;
8591
8593
  let foreignObject0;
8594
+ let div0;
8592
8595
  let g3;
8593
8596
  let g0;
8594
8597
  let g1;
@@ -8596,7 +8599,9 @@
8596
8599
  let g4;
8597
8600
  let g5;
8598
8601
  let foreignObject1;
8602
+ let div1;
8599
8603
  let foreignObject2;
8604
+ let div2;
8600
8605
  let g6;
8601
8606
  let foreignObject3;
8602
8607
  let foreignObject3_x_value;
@@ -8604,7 +8609,14 @@
8604
8609
  let g7;
8605
8610
  let mounted;
8606
8611
  let dispose;
8607
- let foreignObject0_levels = [/*sizeProps*/ ctx[12], { class: "Bottom Customable" }];
8612
+ let div0_levels = [/*foreignObjectAgentProps*/ ctx[13]];
8613
+ let div_data_2 = {};
8614
+
8615
+ for (let i = 0; i < div0_levels.length; i += 1) {
8616
+ div_data_2 = assign(div_data_2, div0_levels[i]);
8617
+ }
8618
+
8619
+ let foreignObject0_levels = [/*sizeProps*/ ctx[4], { class: "Bottom Customable" }];
8608
8620
  let foreignObject_data_3 = {};
8609
8621
 
8610
8622
  for (let i = 0; i < foreignObject0_levels.length; i += 1) {
@@ -8635,7 +8647,7 @@
8635
8647
  each_blocks_3[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i));
8636
8648
  }
8637
8649
 
8638
- let g3_levels = [{ class: "PartitionsContainer" }, /*calc*/ ctx[5].getSpinnerProps()];
8650
+ let g3_levels = [{ class: "PartitionsContainer" }, /*calc*/ ctx[6].getSpinnerProps()];
8639
8651
  let g_data_7 = {};
8640
8652
 
8641
8653
  for (let i = 0; i < g3_levels.length; i += 1) {
@@ -8658,15 +8670,29 @@
8658
8670
  each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
8659
8671
  }
8660
8672
 
8661
- let if_block = /*theme*/ ctx[4].pointerMode === PointerMode.Partition && create_if_block_1$1(ctx);
8662
- let foreignObject1_levels = [{ class: "Middle Customable" }, /*sizeProps*/ ctx[12]];
8673
+ let if_block = /*theme*/ ctx[5].pointerMode === PointerMode.Partition && create_if_block_1$1(ctx);
8674
+ let div1_levels = [/*foreignObjectAgentProps*/ ctx[13]];
8675
+ let div_data_1 = {};
8676
+
8677
+ for (let i = 0; i < div1_levels.length; i += 1) {
8678
+ div_data_1 = assign(div_data_1, div1_levels[i]);
8679
+ }
8680
+
8681
+ let foreignObject1_levels = [{ class: "Middle Customable" }, /*sizeProps*/ ctx[4]];
8663
8682
  let foreignObject_data_2 = {};
8664
8683
 
8665
8684
  for (let i = 0; i < foreignObject1_levels.length; i += 1) {
8666
8685
  foreignObject_data_2 = assign(foreignObject_data_2, foreignObject1_levels[i]);
8667
8686
  }
8668
8687
 
8669
- let foreignObject2_levels = [{ class: "Top Customable" }, /*sizeProps*/ ctx[12]];
8688
+ let div2_levels = [/*foreignObjectAgentProps*/ ctx[13]];
8689
+ let div_data = {};
8690
+
8691
+ for (let i = 0; i < div2_levels.length; i += 1) {
8692
+ div_data = assign(div_data, div2_levels[i]);
8693
+ }
8694
+
8695
+ let foreignObject2_levels = [{ class: "Top Customable" }, /*sizeProps*/ ctx[4]];
8670
8696
  let foreignObject_data_1 = {};
8671
8697
 
8672
8698
  for (let i = 0; i < foreignObject2_levels.length; i += 1) {
@@ -8685,6 +8711,7 @@
8685
8711
  c: function create() {
8686
8712
  svg_1 = svg_element("svg");
8687
8713
  foreignObject0 = svg_element("foreignObject");
8714
+ div0 = element("div");
8688
8715
  g3 = svg_element("g");
8689
8716
  g0 = svg_element("g");
8690
8717
 
@@ -8718,7 +8745,9 @@
8718
8745
 
8719
8746
  if (if_block) if_block.c();
8720
8747
  foreignObject1 = svg_element("foreignObject");
8748
+ div1 = element("div");
8721
8749
  foreignObject2 = svg_element("foreignObject");
8750
+ div2 = element("div");
8722
8751
  g6 = svg_element("g");
8723
8752
  foreignObject3 = svg_element("foreignObject");
8724
8753
  g7 = svg_element("g");
@@ -8727,44 +8756,51 @@
8727
8756
  each_blocks[i].c();
8728
8757
  }
8729
8758
 
8759
+ set_attributes(div0, div_data_2);
8760
+ add_location(div0, file$2, 199, 6, 6086);
8730
8761
  set_svg_attributes(foreignObject0, foreignObject_data_3);
8731
- add_location(foreignObject0, file$2, 191, 4, 5777);
8762
+ add_location(foreignObject0, file$2, 198, 4, 6023);
8732
8763
  attr_dev(g0, "class", "PartitionsBackgrounds");
8733
- add_location(g0, file$2, 194, 6, 5907);
8764
+ add_location(g0, file$2, 203, 6, 6215);
8734
8765
  attr_dev(g1, "class", "PartitionsBackgroundStrokes");
8735
- add_location(g1, file$2, 205, 6, 6240);
8766
+ add_location(g1, file$2, 216, 6, 6625);
8736
8767
  attr_dev(g2, "class", "Partitions");
8737
- set_style(g2, "filter", /*optionFilter*/ ctx[13]);
8738
- add_location(g2, file$2, 216, 6, 6515);
8768
+ set_style(g2, "filter", /*optionFilter*/ ctx[14]);
8769
+ add_location(g2, file$2, 227, 6, 6900);
8739
8770
  set_svg_attributes(g3, g_data_7);
8740
- add_location(g3, file$2, 193, 4, 5841);
8771
+ add_location(g3, file$2, 202, 4, 6149);
8741
8772
  attr_dev(g4, "class", "PartitionsCustomable1");
8742
- toggle_class(g4, "active", /*isPartitionsCustomableReady*/ ctx[7]);
8743
- add_location(g4, file$2, 242, 4, 7253);
8773
+ toggle_class(g4, "active", /*isPartitionsCustomableReady*/ ctx[8]);
8774
+ add_location(g4, file$2, 253, 4, 7638);
8744
8775
  attr_dev(g5, "class", "PartitionsCustomable2");
8745
- toggle_class(g5, "active", /*isPartitionsCustomableReady*/ ctx[7]);
8746
- add_location(g5, file$2, 251, 4, 7522);
8776
+ toggle_class(g5, "active", /*isPartitionsCustomableReady*/ ctx[8]);
8777
+ add_location(g5, file$2, 264, 4, 7976);
8778
+ set_attributes(div1, div_data_1);
8779
+ add_location(div1, file$2, 292, 6, 8787);
8747
8780
  set_svg_attributes(foreignObject1, foreignObject_data_2);
8748
- add_location(foreignObject1, file$2, 274, 4, 8135);
8781
+ add_location(foreignObject1, file$2, 291, 4, 8724);
8782
+ set_attributes(div2, div_data);
8783
+ add_location(div2, file$2, 295, 6, 8909);
8749
8784
  set_svg_attributes(foreignObject2, foreignObject_data_1);
8750
- add_location(foreignObject2, file$2, 275, 4, 8198);
8785
+ add_location(foreignObject2, file$2, 294, 4, 8849);
8751
8786
  attr_dev(foreignObject3, "x", foreignObject3_x_value = Number(/*size*/ ctx[0]) / 2 - 100 / 2);
8752
8787
  attr_dev(foreignObject3, "y", foreignObject3_y_value = Number(/*size*/ ctx[0]) / 2 - 100 / 2);
8753
8788
  attr_dev(foreignObject3, "width", 100);
8754
8789
  attr_dev(foreignObject3, "height", 100);
8755
- add_location(foreignObject3, file$2, 282, 6, 8378);
8790
+ add_location(foreignObject3, file$2, 303, 6, 9091);
8756
8791
  attr_dev(g6, "class", "Center");
8757
- toggle_class(g6, "spinning", /*isSpinning*/ ctx[9]);
8758
- add_location(g6, file$2, 277, 4, 8259);
8759
- add_location(g7, file$2, 291, 4, 8545);
8792
+ toggle_class(g6, "spinning", /*isSpinning*/ ctx[10]);
8793
+ add_location(g6, file$2, 298, 4, 8972);
8794
+ add_location(g7, file$2, 312, 4, 9258);
8760
8795
  attr_dev(svg_1, "width", /*size*/ ctx[0]);
8761
8796
  attr_dev(svg_1, "height", /*size*/ ctx[0]);
8762
- set_style(svg_1, "opacity", /*messageShown*/ ctx[11] ? '.3' : '');
8763
- add_location(svg_1, file$2, 184, 2, 5618);
8797
+ set_style(svg_1, "opacity", /*messageShown*/ ctx[12] ? '.3' : '');
8798
+ add_location(svg_1, file$2, 191, 2, 5864);
8764
8799
  },
8765
8800
  m: function mount(target, anchor) {
8766
8801
  insert_dev(target, svg_1, anchor);
8767
8802
  append_dev(svg_1, foreignObject0);
8803
+ append_dev(foreignObject0, div0);
8768
8804
  append_dev(svg_1, g3);
8769
8805
  append_dev(g3, g0);
8770
8806
 
@@ -8808,7 +8844,9 @@
8808
8844
 
8809
8845
  if (if_block) if_block.m(svg_1, null);
8810
8846
  append_dev(svg_1, foreignObject1);
8847
+ append_dev(foreignObject1, div1);
8811
8848
  append_dev(svg_1, foreignObject2);
8849
+ append_dev(foreignObject2, div2);
8812
8850
  append_dev(svg_1, g6);
8813
8851
  append_dev(g6, foreignObject3);
8814
8852
  append_dev(svg_1, g7);
@@ -8819,24 +8857,28 @@
8819
8857
  }
8820
8858
  }
8821
8859
 
8822
- /*svg_1_binding*/ ctx[28](svg_1);
8860
+ /*svg_1_binding*/ ctx[29](svg_1);
8823
8861
 
8824
8862
  if (!mounted) {
8825
8863
  dispose = [
8826
- listen_dev(g6, "click", /*click_handler*/ ctx[27], false, false, false, false),
8827
- listen_dev(svg_1, "click", /*click_handler_1*/ ctx[29], false, false, false, false)
8864
+ listen_dev(g6, "click", /*click_handler*/ ctx[28], false, false, false, false),
8865
+ listen_dev(svg_1, "click", /*click_handler_1*/ ctx[30], false, false, false, false)
8828
8866
  ];
8829
8867
 
8830
8868
  mounted = true;
8831
8869
  }
8832
8870
  },
8833
8871
  p: function update(ctx, dirty) {
8872
+ set_attributes(div0, div_data_2 = get_spread_update(div0_levels, [
8873
+ dirty[0] & /*foreignObjectAgentProps*/ 8192 && /*foreignObjectAgentProps*/ ctx[13]
8874
+ ]));
8875
+
8834
8876
  set_svg_attributes(foreignObject0, foreignObject_data_3 = get_spread_update(foreignObject0_levels, [
8835
- dirty[0] & /*sizeProps*/ 4096 && /*sizeProps*/ ctx[12],
8877
+ dirty[0] & /*sizeProps*/ 16 && /*sizeProps*/ ctx[4],
8836
8878
  { class: "Bottom Customable" }
8837
8879
  ]));
8838
8880
 
8839
- if (dirty[0] & /*size, options*/ 9) {
8881
+ if (dirty[0] & /*size, foreignObjectAgentProps, options*/ 8201) {
8840
8882
  each_value_5 = /*options*/ ctx[3];
8841
8883
  validate_each_argument(each_value_5);
8842
8884
  let i;
@@ -8860,7 +8902,7 @@
8860
8902
  each_blocks_5.length = each_value_5.length;
8861
8903
  }
8862
8904
 
8863
- if (dirty[0] & /*calc, size, options*/ 41) {
8905
+ if (dirty[0] & /*calc, size, options*/ 73) {
8864
8906
  each_value_4 = /*options*/ ctx[3];
8865
8907
  validate_each_argument(each_value_4);
8866
8908
  let i;
@@ -8884,7 +8926,7 @@
8884
8926
  each_blocks_4.length = each_value_4.length;
8885
8927
  }
8886
8928
 
8887
- if (dirty[0] & /*calc, options*/ 40) {
8929
+ if (dirty[0] & /*calc, options*/ 72) {
8888
8930
  each_value_3 = /*options*/ ctx[3];
8889
8931
  validate_each_argument(each_value_3);
8890
8932
  let i;
@@ -8908,16 +8950,16 @@
8908
8950
  each_blocks_3.length = each_value_3.length;
8909
8951
  }
8910
8952
 
8911
- if (dirty[0] & /*optionFilter*/ 8192) {
8912
- set_style(g2, "filter", /*optionFilter*/ ctx[13]);
8953
+ if (dirty[0] & /*optionFilter*/ 16384) {
8954
+ set_style(g2, "filter", /*optionFilter*/ ctx[14]);
8913
8955
  }
8914
8956
 
8915
8957
  set_svg_attributes(g3, g_data_7 = get_spread_update(g3_levels, [
8916
8958
  { class: "PartitionsContainer" },
8917
- dirty[0] & /*calc*/ 32 && /*calc*/ ctx[5].getSpinnerProps()
8959
+ dirty[0] & /*calc*/ 64 && /*calc*/ ctx[6].getSpinnerProps()
8918
8960
  ]));
8919
8961
 
8920
- if (dirty[0] & /*sizeProps, options*/ 4104) {
8962
+ if (dirty[0] & /*sizeProps, foreignObjectAgentProps, options*/ 8216) {
8921
8963
  each_value_2 = /*options*/ ctx[3];
8922
8964
  validate_each_argument(each_value_2);
8923
8965
  let i;
@@ -8941,11 +8983,11 @@
8941
8983
  each_blocks_2.length = each_value_2.length;
8942
8984
  }
8943
8985
 
8944
- if (dirty[0] & /*isPartitionsCustomableReady*/ 128) {
8945
- toggle_class(g4, "active", /*isPartitionsCustomableReady*/ ctx[7]);
8986
+ if (dirty[0] & /*isPartitionsCustomableReady*/ 256) {
8987
+ toggle_class(g4, "active", /*isPartitionsCustomableReady*/ ctx[8]);
8946
8988
  }
8947
8989
 
8948
- if (dirty[0] & /*sizeProps, options*/ 4104) {
8990
+ if (dirty[0] & /*sizeProps, foreignObjectAgentProps, options*/ 8216) {
8949
8991
  each_value_1 = /*options*/ ctx[3];
8950
8992
  validate_each_argument(each_value_1);
8951
8993
  let i;
@@ -8969,11 +9011,11 @@
8969
9011
  each_blocks_1.length = each_value_1.length;
8970
9012
  }
8971
9013
 
8972
- if (dirty[0] & /*isPartitionsCustomableReady*/ 128) {
8973
- toggle_class(g5, "active", /*isPartitionsCustomableReady*/ ctx[7]);
9014
+ if (dirty[0] & /*isPartitionsCustomableReady*/ 256) {
9015
+ toggle_class(g5, "active", /*isPartitionsCustomableReady*/ ctx[8]);
8974
9016
  }
8975
9017
 
8976
- if (/*theme*/ ctx[4].pointerMode === PointerMode.Partition) {
9018
+ if (/*theme*/ ctx[5].pointerMode === PointerMode.Partition) {
8977
9019
  if (if_block) {
8978
9020
  if_block.p(ctx, dirty);
8979
9021
  } else {
@@ -8986,14 +9028,22 @@
8986
9028
  if_block = null;
8987
9029
  }
8988
9030
 
9031
+ set_attributes(div1, div_data_1 = get_spread_update(div1_levels, [
9032
+ dirty[0] & /*foreignObjectAgentProps*/ 8192 && /*foreignObjectAgentProps*/ ctx[13]
9033
+ ]));
9034
+
8989
9035
  set_svg_attributes(foreignObject1, foreignObject_data_2 = get_spread_update(foreignObject1_levels, [
8990
9036
  { class: "Middle Customable" },
8991
- dirty[0] & /*sizeProps*/ 4096 && /*sizeProps*/ ctx[12]
9037
+ dirty[0] & /*sizeProps*/ 16 && /*sizeProps*/ ctx[4]
9038
+ ]));
9039
+
9040
+ set_attributes(div2, div_data = get_spread_update(div2_levels, [
9041
+ dirty[0] & /*foreignObjectAgentProps*/ 8192 && /*foreignObjectAgentProps*/ ctx[13]
8992
9042
  ]));
8993
9043
 
8994
9044
  set_svg_attributes(foreignObject2, foreignObject_data_1 = get_spread_update(foreignObject2_levels, [
8995
9045
  { class: "Top Customable" },
8996
- dirty[0] & /*sizeProps*/ 4096 && /*sizeProps*/ ctx[12]
9046
+ dirty[0] & /*sizeProps*/ 16 && /*sizeProps*/ ctx[4]
8997
9047
  ]));
8998
9048
 
8999
9049
  if (dirty[0] & /*size*/ 1 && foreignObject3_x_value !== (foreignObject3_x_value = Number(/*size*/ ctx[0]) / 2 - 100 / 2)) {
@@ -9004,11 +9054,11 @@
9004
9054
  attr_dev(foreignObject3, "y", foreignObject3_y_value);
9005
9055
  }
9006
9056
 
9007
- if (dirty[0] & /*isSpinning*/ 512) {
9008
- toggle_class(g6, "spinning", /*isSpinning*/ ctx[9]);
9057
+ if (dirty[0] & /*isSpinning*/ 1024) {
9058
+ toggle_class(g6, "spinning", /*isSpinning*/ ctx[10]);
9009
9059
  }
9010
9060
 
9011
- if (dirty[0] & /*calc, options*/ 40) {
9061
+ if (dirty[0] & /*calc, options*/ 72) {
9012
9062
  each_value = /*options*/ ctx[3];
9013
9063
  validate_each_argument(each_value);
9014
9064
  let i;
@@ -9040,8 +9090,8 @@
9040
9090
  attr_dev(svg_1, "height", /*size*/ ctx[0]);
9041
9091
  }
9042
9092
 
9043
- if (dirty[0] & /*messageShown*/ 2048) {
9044
- set_style(svg_1, "opacity", /*messageShown*/ ctx[11] ? '.3' : '');
9093
+ if (dirty[0] & /*messageShown*/ 4096) {
9094
+ set_style(svg_1, "opacity", /*messageShown*/ ctx[12] ? '.3' : '');
9045
9095
  }
9046
9096
  },
9047
9097
  d: function destroy(detaching) {
@@ -9053,7 +9103,7 @@
9053
9103
  destroy_each(each_blocks_1, detaching);
9054
9104
  if (if_block) if_block.d();
9055
9105
  destroy_each(each_blocks, detaching);
9056
- /*svg_1_binding*/ ctx[28](null);
9106
+ /*svg_1_binding*/ ctx[29](null);
9057
9107
  mounted = false;
9058
9108
  run_all(dispose);
9059
9109
  }
@@ -9063,31 +9113,46 @@
9063
9113
  block,
9064
9114
  id: create_if_block$2.name,
9065
9115
  type: "if",
9066
- source: "(184:2) {#if Number(size) && options.length}",
9116
+ source: "(191:2) {#if Number(size) && options.length}",
9067
9117
  ctx
9068
9118
  });
9069
9119
 
9070
9120
  return block;
9071
9121
  }
9072
9122
 
9073
- // (196:8) {#each options as option, index}
9123
+ // (205:8) {#each options as option, index}
9074
9124
  function create_each_block_5(ctx) {
9075
9125
  let foreignObject;
9126
+ let div;
9127
+ let div_levels = [/*foreignObjectAgentProps*/ ctx[13]];
9128
+ let div_data = {};
9129
+
9130
+ for (let i = 0; i < div_levels.length; i += 1) {
9131
+ div_data = assign(div_data, div_levels[i]);
9132
+ }
9076
9133
 
9077
9134
  const block = {
9078
9135
  c: function create() {
9079
9136
  foreignObject = svg_element("foreignObject");
9080
- attr_dev(foreignObject, "clip-path", `url(#clip${/*index*/ ctx[45]})`);
9137
+ div = element("div");
9138
+ set_attributes(div, div_data);
9139
+ add_location(div, file$2, 212, 12, 6528);
9140
+ attr_dev(foreignObject, "clip-path", `url(#clip${/*index*/ ctx[46]})`);
9081
9141
  attr_dev(foreignObject, "class", "PartitionBackground Customable");
9082
- attr_dev(foreignObject, "style", `--index: ${/*index*/ ctx[45]}`);
9142
+ attr_dev(foreignObject, "style", `--index: ${/*index*/ ctx[46]}`);
9083
9143
  attr_dev(foreignObject, "width", /*size*/ ctx[0]);
9084
9144
  attr_dev(foreignObject, "height", /*size*/ ctx[0]);
9085
- add_location(foreignObject, file$2, 196, 10, 5992);
9145
+ add_location(foreignObject, file$2, 205, 10, 6300);
9086
9146
  },
9087
9147
  m: function mount(target, anchor) {
9088
9148
  insert_dev(target, foreignObject, anchor);
9149
+ append_dev(foreignObject, div);
9089
9150
  },
9090
9151
  p: function update(ctx, dirty) {
9152
+ set_attributes(div, div_data = get_spread_update(div_levels, [
9153
+ dirty[0] & /*foreignObjectAgentProps*/ 8192 && /*foreignObjectAgentProps*/ ctx[13]
9154
+ ]));
9155
+
9091
9156
  if (dirty[0] & /*size*/ 1) {
9092
9157
  attr_dev(foreignObject, "width", /*size*/ ctx[0]);
9093
9158
  }
@@ -9105,20 +9170,20 @@
9105
9170
  block,
9106
9171
  id: create_each_block_5.name,
9107
9172
  type: "each",
9108
- source: "(196:8) {#each options as option, index}",
9173
+ source: "(205:8) {#each options as option, index}",
9109
9174
  ctx
9110
9175
  });
9111
9176
 
9112
9177
  return block;
9113
9178
  }
9114
9179
 
9115
- // (207:8) {#each options as option, index}
9180
+ // (218:8) {#each options as option, index}
9116
9181
  function create_each_block_4(ctx) {
9117
9182
  let path;
9118
9183
 
9119
9184
  let path_levels = [
9120
9185
  { class: "PartitionBackgroundStroke" },
9121
- /*calc*/ ctx[5].getPartitionDraw(/*index*/ ctx[45]),
9186
+ /*calc*/ ctx[6].getPartitionDraw(/*index*/ ctx[46]),
9122
9187
  { width: /*size*/ ctx[0] },
9123
9188
  { height: /*size*/ ctx[0] }
9124
9189
  ];
@@ -9133,7 +9198,7 @@
9133
9198
  c: function create() {
9134
9199
  path = svg_element("path");
9135
9200
  set_svg_attributes(path, path_data);
9136
- add_location(path, file$2, 207, 8, 6329);
9201
+ add_location(path, file$2, 218, 8, 6714);
9137
9202
  },
9138
9203
  m: function mount(target, anchor) {
9139
9204
  insert_dev(target, path, anchor);
@@ -9141,7 +9206,7 @@
9141
9206
  p: function update(ctx, dirty) {
9142
9207
  set_svg_attributes(path, path_data = get_spread_update(path_levels, [
9143
9208
  { class: "PartitionBackgroundStroke" },
9144
- dirty[0] & /*calc*/ 32 && /*calc*/ ctx[5].getPartitionDraw(/*index*/ ctx[45]),
9209
+ dirty[0] & /*calc*/ 64 && /*calc*/ ctx[6].getPartitionDraw(/*index*/ ctx[46]),
9145
9210
  dirty[0] & /*size*/ 1 && { width: /*size*/ ctx[0] },
9146
9211
  dirty[0] & /*size*/ 1 && { height: /*size*/ ctx[0] }
9147
9212
  ]));
@@ -9155,14 +9220,14 @@
9155
9220
  block,
9156
9221
  id: create_each_block_4.name,
9157
9222
  type: "each",
9158
- source: "(207:8) {#each options as option, index}",
9223
+ source: "(218:8) {#each options as option, index}",
9159
9224
  ctx
9160
9225
  });
9161
9226
 
9162
9227
  return block;
9163
9228
  }
9164
9229
 
9165
- // (220:10) {#if option.image}
9230
+ // (231:10) {#if option.image}
9166
9231
  function create_if_block_3(ctx) {
9167
9232
  let g;
9168
9233
  let mounted;
@@ -9171,14 +9236,14 @@
9171
9236
  const block = {
9172
9237
  c: function create() {
9173
9238
  g = svg_element("g");
9174
- attr_dev(g, "class", `PartitionImage PartitionImage${/*index*/ ctx[45]}`);
9175
- add_location(g, file$2, 220, 12, 6648);
9239
+ attr_dev(g, "class", `PartitionImage PartitionImage${/*index*/ ctx[46]}`);
9240
+ add_location(g, file$2, 231, 12, 7033);
9176
9241
  },
9177
9242
  m: function mount(target, anchor) {
9178
9243
  insert_dev(target, g, anchor);
9179
9244
 
9180
9245
  if (!mounted) {
9181
- dispose = action_destroyer(/*renderImage*/ ctx[15].call(null, g, /*index*/ ctx[45]));
9246
+ dispose = action_destroyer(/*renderImage*/ ctx[16].call(null, g, /*index*/ ctx[46]));
9182
9247
  mounted = true;
9183
9248
  }
9184
9249
  },
@@ -9196,25 +9261,25 @@
9196
9261
  block,
9197
9262
  id: create_if_block_3.name,
9198
9263
  type: "if",
9199
- source: "(220:10) {#if option.image}",
9264
+ source: "(231:10) {#if option.image}",
9200
9265
  ctx
9201
9266
  });
9202
9267
 
9203
9268
  return block;
9204
9269
  }
9205
9270
 
9206
- // (227:10) {#if option.name}
9271
+ // (238:10) {#if option.name}
9207
9272
  function create_if_block_2(ctx) {
9208
9273
  let foreignObject;
9209
9274
  let div;
9210
9275
  let p;
9211
- let raw_value = /*option*/ ctx[43].name + "";
9276
+ let raw_value = /*option*/ ctx[44].name + "";
9212
9277
  let p_class_value;
9213
9278
  let t;
9214
9279
 
9215
9280
  let foreignObject_levels = [
9216
9281
  { class: "PartitionText" },
9217
- /*calc*/ ctx[5].getSvgTextPropsAdjustedByImage(/*index*/ ctx[45])
9282
+ /*calc*/ ctx[6].getSvgTextPropsAdjustedByImage(/*index*/ ctx[46])
9218
9283
  ];
9219
9284
 
9220
9285
  let foreignObject_data = {};
@@ -9230,15 +9295,15 @@
9230
9295
  p = element("p");
9231
9296
  t = space();
9232
9297
 
9233
- attr_dev(p, "class", p_class_value = `PartitionTextEntity${/*calc*/ ctx[5].contentdirection === 'clockwise'
9298
+ attr_dev(p, "class", p_class_value = `PartitionTextEntity${/*calc*/ ctx[6].contentdirection === 'clockwise'
9234
9299
  ? ''
9235
9300
  : ' Anticlockwise'}`);
9236
9301
 
9237
- add_location(p, file$2, 232, 16, 7023);
9302
+ add_location(p, file$2, 243, 16, 7408);
9238
9303
  attr_dev(div, "class", "PartitionTextEntityContainer");
9239
- add_location(div, file$2, 231, 14, 6964);
9304
+ add_location(div, file$2, 242, 14, 7349);
9240
9305
  set_svg_attributes(foreignObject, foreignObject_data);
9241
- add_location(foreignObject, file$2, 227, 12, 6823);
9306
+ add_location(foreignObject, file$2, 238, 12, 7208);
9242
9307
  },
9243
9308
  m: function mount(target, anchor) {
9244
9309
  insert_dev(target, foreignObject, anchor);
@@ -9248,8 +9313,8 @@
9248
9313
  append_dev(div, t);
9249
9314
  },
9250
9315
  p: function update(ctx, dirty) {
9251
- if (dirty[0] & /*options*/ 8 && raw_value !== (raw_value = /*option*/ ctx[43].name + "")) p.innerHTML = raw_value;
9252
- if (dirty[0] & /*calc*/ 32 && p_class_value !== (p_class_value = `PartitionTextEntity${/*calc*/ ctx[5].contentdirection === 'clockwise'
9316
+ if (dirty[0] & /*options*/ 8 && raw_value !== (raw_value = /*option*/ ctx[44].name + "")) p.innerHTML = raw_value;
9317
+ if (dirty[0] & /*calc*/ 64 && p_class_value !== (p_class_value = `PartitionTextEntity${/*calc*/ ctx[6].contentdirection === 'clockwise'
9253
9318
  ? ''
9254
9319
  : ' Anticlockwise'}`)) {
9255
9320
  attr_dev(p, "class", p_class_value);
@@ -9257,7 +9322,7 @@
9257
9322
 
9258
9323
  set_svg_attributes(foreignObject, foreignObject_data = get_spread_update(foreignObject_levels, [
9259
9324
  { class: "PartitionText" },
9260
- dirty[0] & /*calc*/ 32 && /*calc*/ ctx[5].getSvgTextPropsAdjustedByImage(/*index*/ ctx[45])
9325
+ dirty[0] & /*calc*/ 64 && /*calc*/ ctx[6].getSvgTextPropsAdjustedByImage(/*index*/ ctx[46])
9261
9326
  ]));
9262
9327
  },
9263
9328
  d: function destroy(detaching) {
@@ -9269,19 +9334,19 @@
9269
9334
  block,
9270
9335
  id: create_if_block_2.name,
9271
9336
  type: "if",
9272
- source: "(227:10) {#if option.name}",
9337
+ source: "(238:10) {#if option.name}",
9273
9338
  ctx
9274
9339
  });
9275
9340
 
9276
9341
  return block;
9277
9342
  }
9278
9343
 
9279
- // (218:8) {#each options as option,index}
9344
+ // (229:8) {#each options as option,index}
9280
9345
  function create_each_block_3(ctx) {
9281
9346
  let if_block0_anchor;
9282
9347
  let if_block1_anchor;
9283
- let if_block0 = /*option*/ ctx[43].image && create_if_block_3(ctx);
9284
- let if_block1 = /*option*/ ctx[43].name && create_if_block_2(ctx);
9348
+ let if_block0 = /*option*/ ctx[44].image && create_if_block_3(ctx);
9349
+ let if_block1 = /*option*/ ctx[44].name && create_if_block_2(ctx);
9285
9350
 
9286
9351
  const block = {
9287
9352
  c: function create() {
@@ -9297,7 +9362,7 @@
9297
9362
  insert_dev(target, if_block1_anchor, anchor);
9298
9363
  },
9299
9364
  p: function update(ctx, dirty) {
9300
- if (/*option*/ ctx[43].image) {
9365
+ if (/*option*/ ctx[44].image) {
9301
9366
  if (if_block0) ; else {
9302
9367
  if_block0 = create_if_block_3(ctx);
9303
9368
  if_block0.c();
@@ -9308,7 +9373,7 @@
9308
9373
  if_block0 = null;
9309
9374
  }
9310
9375
 
9311
- if (/*option*/ ctx[43].name) {
9376
+ if (/*option*/ ctx[44].name) {
9312
9377
  if (if_block1) {
9313
9378
  if_block1.p(ctx, dirty);
9314
9379
  } else {
@@ -9333,24 +9398,31 @@
9333
9398
  block,
9334
9399
  id: create_each_block_3.name,
9335
9400
  type: "each",
9336
- source: "(218:8) {#each options as option,index}",
9401
+ source: "(229:8) {#each options as option,index}",
9337
9402
  ctx
9338
9403
  });
9339
9404
 
9340
9405
  return block;
9341
9406
  }
9342
9407
 
9343
- // (244:6) {#each options as option,index}
9408
+ // (255:6) {#each options as option,index}
9344
9409
  function create_each_block_2(ctx) {
9345
9410
  let foreignObject;
9411
+ let div;
9346
9412
  let foreignObject_style_value;
9413
+ let div_levels = [/*foreignObjectAgentProps*/ ctx[13]];
9414
+ let div_data = {};
9415
+
9416
+ for (let i = 0; i < div_levels.length; i += 1) {
9417
+ div_data = assign(div_data, div_levels[i]);
9418
+ }
9347
9419
 
9348
9420
  let foreignObject_levels = [
9349
9421
  { class: "Partition1 Customable" },
9350
9422
  {
9351
- style: foreignObject_style_value = `--index: ${/*index*/ ctx[45]}`
9423
+ style: foreignObject_style_value = `--index: ${/*index*/ ctx[46]}`
9352
9424
  },
9353
- /*sizeProps*/ ctx[12]
9425
+ /*sizeProps*/ ctx[4]
9354
9426
  ];
9355
9427
 
9356
9428
  let foreignObject_data = {};
@@ -9362,17 +9434,25 @@
9362
9434
  const block = {
9363
9435
  c: function create() {
9364
9436
  foreignObject = svg_element("foreignObject");
9437
+ div = element("div");
9438
+ set_attributes(div, div_data);
9439
+ add_location(div, file$2, 260, 8, 7889);
9365
9440
  set_svg_attributes(foreignObject, foreignObject_data);
9366
- add_location(foreignObject, file$2, 244, 6, 7374);
9441
+ add_location(foreignObject, file$2, 255, 6, 7759);
9367
9442
  },
9368
9443
  m: function mount(target, anchor) {
9369
9444
  insert_dev(target, foreignObject, anchor);
9445
+ append_dev(foreignObject, div);
9370
9446
  },
9371
9447
  p: function update(ctx, dirty) {
9448
+ set_attributes(div, div_data = get_spread_update(div_levels, [
9449
+ dirty[0] & /*foreignObjectAgentProps*/ 8192 && /*foreignObjectAgentProps*/ ctx[13]
9450
+ ]));
9451
+
9372
9452
  set_svg_attributes(foreignObject, foreignObject_data = get_spread_update(foreignObject_levels, [
9373
9453
  { class: "Partition1 Customable" },
9374
9454
  { style: foreignObject_style_value },
9375
- dirty[0] & /*sizeProps*/ 4096 && /*sizeProps*/ ctx[12]
9455
+ dirty[0] & /*sizeProps*/ 16 && /*sizeProps*/ ctx[4]
9376
9456
  ]));
9377
9457
  },
9378
9458
  d: function destroy(detaching) {
@@ -9384,24 +9464,31 @@
9384
9464
  block,
9385
9465
  id: create_each_block_2.name,
9386
9466
  type: "each",
9387
- source: "(244:6) {#each options as option,index}",
9467
+ source: "(255:6) {#each options as option,index}",
9388
9468
  ctx
9389
9469
  });
9390
9470
 
9391
9471
  return block;
9392
9472
  }
9393
9473
 
9394
- // (253:6) {#each options as option,index}
9474
+ // (266:6) {#each options as option,index}
9395
9475
  function create_each_block_1(ctx) {
9396
9476
  let foreignObject;
9477
+ let div;
9397
9478
  let foreignObject_style_value;
9479
+ let div_levels = [/*foreignObjectAgentProps*/ ctx[13]];
9480
+ let div_data = {};
9481
+
9482
+ for (let i = 0; i < div_levels.length; i += 1) {
9483
+ div_data = assign(div_data, div_levels[i]);
9484
+ }
9398
9485
 
9399
9486
  let foreignObject_levels = [
9400
9487
  { class: "Partition2 Customable" },
9401
9488
  {
9402
- style: foreignObject_style_value = `--index: ${/*index*/ ctx[45]}`
9489
+ style: foreignObject_style_value = `--index: ${/*index*/ ctx[46]}`
9403
9490
  },
9404
- /*sizeProps*/ ctx[12]
9491
+ /*sizeProps*/ ctx[4]
9405
9492
  ];
9406
9493
 
9407
9494
  let foreignObject_data = {};
@@ -9413,17 +9500,25 @@
9413
9500
  const block = {
9414
9501
  c: function create() {
9415
9502
  foreignObject = svg_element("foreignObject");
9503
+ div = element("div");
9504
+ set_attributes(div, div_data);
9505
+ add_location(div, file$2, 271, 8, 8227);
9416
9506
  set_svg_attributes(foreignObject, foreignObject_data);
9417
- add_location(foreignObject, file$2, 253, 6, 7643);
9507
+ add_location(foreignObject, file$2, 266, 6, 8097);
9418
9508
  },
9419
9509
  m: function mount(target, anchor) {
9420
9510
  insert_dev(target, foreignObject, anchor);
9511
+ append_dev(foreignObject, div);
9421
9512
  },
9422
9513
  p: function update(ctx, dirty) {
9514
+ set_attributes(div, div_data = get_spread_update(div_levels, [
9515
+ dirty[0] & /*foreignObjectAgentProps*/ 8192 && /*foreignObjectAgentProps*/ ctx[13]
9516
+ ]));
9517
+
9423
9518
  set_svg_attributes(foreignObject, foreignObject_data = get_spread_update(foreignObject_levels, [
9424
9519
  { class: "Partition2 Customable" },
9425
9520
  { style: foreignObject_style_value },
9426
- dirty[0] & /*sizeProps*/ 4096 && /*sizeProps*/ ctx[12]
9521
+ dirty[0] & /*sizeProps*/ 16 && /*sizeProps*/ ctx[4]
9427
9522
  ]));
9428
9523
  },
9429
9524
  d: function destroy(detaching) {
@@ -9435,33 +9530,41 @@
9435
9530
  block,
9436
9531
  id: create_each_block_1.name,
9437
9532
  type: "each",
9438
- source: "(253:6) {#each options as option,index}",
9533
+ source: "(266:6) {#each options as option,index}",
9439
9534
  ctx
9440
9535
  });
9441
9536
 
9442
9537
  return block;
9443
9538
  }
9444
9539
 
9445
- // (262:4) {#if theme.pointerMode === PointerMode.Partition}
9540
+ // (277:4) {#if theme.pointerMode === PointerMode.Partition}
9446
9541
  function create_if_block_1$1(ctx) {
9447
9542
  let g;
9448
9543
  let foreignObject;
9544
+ let div;
9449
9545
  let path;
9450
- let foreignObject_levels = [{ class: "PointerArea Customable" }, /*sizeProps*/ ctx[12]];
9546
+ let div_levels = [/*foreignObjectAgentProps*/ ctx[13]];
9547
+ let div_data = {};
9548
+
9549
+ for (let i = 0; i < div_levels.length; i += 1) {
9550
+ div_data = assign(div_data, div_levels[i]);
9551
+ }
9552
+
9553
+ let foreignObject_levels = [{ class: "PointerArea Customable" }, /*sizeProps*/ ctx[4]];
9451
9554
  let foreignObject_data = {};
9452
9555
 
9453
9556
  for (let i = 0; i < foreignObject_levels.length; i += 1) {
9454
9557
  foreignObject_data = assign(foreignObject_data, foreignObject_levels[i]);
9455
9558
  }
9456
9559
 
9457
- let path_levels = [{ class: "PointerPartitionFrame" }, /*calc*/ ctx[5].getPartitionDraw(0)];
9560
+ let path_levels = [{ class: "PointerPartitionFrame" }, /*calc*/ ctx[6].getPartitionDraw(0)];
9458
9561
  let path_data = {};
9459
9562
 
9460
9563
  for (let i = 0; i < path_levels.length; i += 1) {
9461
9564
  path_data = assign(path_data, path_levels[i]);
9462
9565
  }
9463
9566
 
9464
- let g_levels = [{ class: "PointerContainer" }, /*calc*/ ctx[5].getSpinnerProps()];
9567
+ let g_levels = [{ class: "PointerContainer" }, /*calc*/ ctx[6].getSpinnerProps()];
9465
9568
  let g_data = {};
9466
9569
 
9467
9570
  for (let i = 0; i < g_levels.length; i += 1) {
@@ -9472,36 +9575,44 @@
9472
9575
  c: function create() {
9473
9576
  g = svg_element("g");
9474
9577
  foreignObject = svg_element("foreignObject");
9578
+ div = element("div");
9475
9579
  path = svg_element("path");
9580
+ set_attributes(div, div_data);
9581
+ add_location(div, file$2, 280, 8, 8503);
9476
9582
  set_svg_attributes(foreignObject, foreignObject_data);
9477
- add_location(foreignObject, file$2, 264, 6, 7910);
9583
+ add_location(foreignObject, file$2, 279, 6, 8433);
9478
9584
  set_svg_attributes(path, path_data);
9479
- toggle_class(path, "active", /*isShowPrizeArea*/ ctx[10]);
9480
- add_location(path, file$2, 266, 6, 7981);
9585
+ toggle_class(path, "active", /*isShowPrizeArea*/ ctx[11]);
9586
+ add_location(path, file$2, 283, 6, 8570);
9481
9587
  set_svg_attributes(g, g_data);
9482
- add_location(g, file$2, 262, 4, 7846);
9588
+ add_location(g, file$2, 277, 4, 8369);
9483
9589
  },
9484
9590
  m: function mount(target, anchor) {
9485
9591
  insert_dev(target, g, anchor);
9486
9592
  append_dev(g, foreignObject);
9593
+ append_dev(foreignObject, div);
9487
9594
  append_dev(g, path);
9488
9595
  },
9489
9596
  p: function update(ctx, dirty) {
9597
+ set_attributes(div, div_data = get_spread_update(div_levels, [
9598
+ dirty[0] & /*foreignObjectAgentProps*/ 8192 && /*foreignObjectAgentProps*/ ctx[13]
9599
+ ]));
9600
+
9490
9601
  set_svg_attributes(foreignObject, foreignObject_data = get_spread_update(foreignObject_levels, [
9491
9602
  { class: "PointerArea Customable" },
9492
- dirty[0] & /*sizeProps*/ 4096 && /*sizeProps*/ ctx[12]
9603
+ dirty[0] & /*sizeProps*/ 16 && /*sizeProps*/ ctx[4]
9493
9604
  ]));
9494
9605
 
9495
9606
  set_svg_attributes(path, path_data = get_spread_update(path_levels, [
9496
9607
  { class: "PointerPartitionFrame" },
9497
- dirty[0] & /*calc*/ 32 && /*calc*/ ctx[5].getPartitionDraw(0)
9608
+ dirty[0] & /*calc*/ 64 && /*calc*/ ctx[6].getPartitionDraw(0)
9498
9609
  ]));
9499
9610
 
9500
- toggle_class(path, "active", /*isShowPrizeArea*/ ctx[10]);
9611
+ toggle_class(path, "active", /*isShowPrizeArea*/ ctx[11]);
9501
9612
 
9502
9613
  set_svg_attributes(g, g_data = get_spread_update(g_levels, [
9503
9614
  { class: "PointerContainer" },
9504
- dirty[0] & /*calc*/ 32 && /*calc*/ ctx[5].getSpinnerProps()
9615
+ dirty[0] & /*calc*/ 64 && /*calc*/ ctx[6].getSpinnerProps()
9505
9616
  ]));
9506
9617
  },
9507
9618
  d: function destroy(detaching) {
@@ -9513,25 +9624,25 @@
9513
9624
  block,
9514
9625
  id: create_if_block_1$1.name,
9515
9626
  type: "if",
9516
- source: "(262:4) {#if theme.pointerMode === PointerMode.Partition}",
9627
+ source: "(277:4) {#if theme.pointerMode === PointerMode.Partition}",
9517
9628
  ctx
9518
9629
  });
9519
9630
 
9520
9631
  return block;
9521
9632
  }
9522
9633
 
9523
- // (293:6) {#each options as option, index}
9634
+ // (314:6) {#each options as option, index}
9524
9635
  function create_each_block$2(ctx) {
9525
9636
  let clipPath;
9526
9637
  let path;
9527
- let path_levels = [/*calc*/ ctx[5].getPartitionDraw(/*index*/ ctx[45])];
9638
+ let path_levels = [/*calc*/ ctx[6].getPartitionDraw(/*index*/ ctx[46])];
9528
9639
  let path_data = {};
9529
9640
 
9530
9641
  for (let i = 0; i < path_levels.length; i += 1) {
9531
9642
  path_data = assign(path_data, path_levels[i]);
9532
9643
  }
9533
9644
 
9534
- let clipPath_levels = [{ id: `clip${/*index*/ ctx[45]}` }];
9645
+ let clipPath_levels = [{ id: `clip${/*index*/ ctx[46]}` }];
9535
9646
  let clipPath_data = {};
9536
9647
 
9537
9648
  for (let i = 0; i < clipPath_levels.length; i += 1) {
@@ -9543,9 +9654,9 @@
9543
9654
  clipPath = svg_element("clipPath");
9544
9655
  path = svg_element("path");
9545
9656
  set_svg_attributes(path, path_data);
9546
- add_location(path, file$2, 294, 8, 8639);
9657
+ add_location(path, file$2, 315, 8, 9352);
9547
9658
  set_svg_attributes(clipPath, clipPath_data);
9548
- add_location(clipPath, file$2, 293, 6, 8594);
9659
+ add_location(clipPath, file$2, 314, 6, 9307);
9549
9660
  },
9550
9661
  m: function mount(target, anchor) {
9551
9662
  insert_dev(target, clipPath, anchor);
@@ -9553,7 +9664,7 @@
9553
9664
  },
9554
9665
  p: function update(ctx, dirty) {
9555
9666
  set_svg_attributes(path, path_data = get_spread_update(path_levels, [
9556
- dirty[0] & /*calc*/ 32 && /*calc*/ ctx[5].getPartitionDraw(/*index*/ ctx[45])
9667
+ dirty[0] & /*calc*/ 64 && /*calc*/ ctx[6].getPartitionDraw(/*index*/ ctx[46])
9557
9668
  ]));
9558
9669
  },
9559
9670
  d: function destroy(detaching) {
@@ -9565,7 +9676,7 @@
9565
9676
  block,
9566
9677
  id: create_each_block$2.name,
9567
9678
  type: "each",
9568
- source: "(293:6) {#each options as option, index}",
9679
+ source: "(314:6) {#each options as option, index}",
9569
9680
  ctx
9570
9681
  });
9571
9682
 
@@ -9584,9 +9695,9 @@
9584
9695
  div = element("div");
9585
9696
  if (if_block) if_block.c();
9586
9697
  this.c = noop;
9587
- attr_dev(div, "class", div_class_value = `WheelContainer theme${Number(/*themeIndex*/ ctx[6]) + 1}`);
9698
+ attr_dev(div, "class", div_class_value = `WheelContainer theme${Number(/*themeIndex*/ ctx[7]) + 1}`);
9588
9699
  attr_dev(div, "style", div_style_value = `${defines()} --length: ${/*options*/ ctx[3].length}; --radius: ${/*radius*/ ctx[1]}; --ratio: ${Number(/*size*/ ctx[0]) / 480}; --size: ${/*size*/ ctx[0]}`);
9589
- add_location(div, file$2, 178, 0, 5361);
9700
+ add_location(div, file$2, 185, 0, 5607);
9590
9701
  },
9591
9702
  l: function claim(nodes) {
9592
9703
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -9594,7 +9705,7 @@
9594
9705
  m: function mount(target, anchor) {
9595
9706
  insert_dev(target, div, anchor);
9596
9707
  if (if_block) if_block.m(div, null);
9597
- /*div_binding*/ ctx[30](div);
9708
+ /*div_binding*/ ctx[31](div);
9598
9709
  },
9599
9710
  p: function update(ctx, dirty) {
9600
9711
  if (dirty[0] & /*size, options*/ 9) show_if = Number(/*size*/ ctx[0]) && /*options*/ ctx[3].length;
@@ -9612,7 +9723,7 @@
9612
9723
  if_block = null;
9613
9724
  }
9614
9725
 
9615
- if (dirty[0] & /*themeIndex*/ 64 && div_class_value !== (div_class_value = `WheelContainer theme${Number(/*themeIndex*/ ctx[6]) + 1}`)) {
9726
+ if (dirty[0] & /*themeIndex*/ 128 && div_class_value !== (div_class_value = `WheelContainer theme${Number(/*themeIndex*/ ctx[7]) + 1}`)) {
9616
9727
  attr_dev(div, "class", div_class_value);
9617
9728
  }
9618
9729
 
@@ -9625,7 +9736,7 @@
9625
9736
  d: function destroy(detaching) {
9626
9737
  if (detaching) detach_dev(div);
9627
9738
  if (if_block) if_block.d();
9628
- /*div_binding*/ ctx[30](null);
9739
+ /*div_binding*/ ctx[31](null);
9629
9740
  }
9630
9741
  };
9631
9742
 
@@ -9647,6 +9758,7 @@
9647
9758
  let process;
9648
9759
  let optionFilter;
9649
9760
  let sizeProps;
9761
+ let foreignObjectAgentProps;
9650
9762
  let { $$slots: slots = {}, $$scope } = $$props;
9651
9763
  validate_slots('lottery-program-wof-private-item-svg', slots, []);
9652
9764
  var _a, _b;
@@ -9669,7 +9781,7 @@
9669
9781
  setTimeout(
9670
9782
  () => {
9671
9783
  trigger(1);
9672
- $$invalidate(7, isPartitionsCustomableReady = true);
9784
+ $$invalidate(8, isPartitionsCustomableReady = true);
9673
9785
  },
9674
9786
  100
9675
9787
  );
@@ -9695,8 +9807,15 @@
9695
9807
 
9696
9808
  let spinner = new Spinner({
9697
9809
  tick: (deg, _speed) => {
9698
- setProps(spinContainer, { transform: `rotate(${deg})` });
9699
- $$invalidate(26, speed = _speed * 0.5);
9810
+ setProps(spinContainer, {
9811
+ style: [
9812
+ `transform: rotate(${deg}deg)`,
9813
+ `height: ${size}px`,
9814
+ `width: ${size}px`
9815
+ ].join(';')
9816
+ });
9817
+
9818
+ $$invalidate(27, speed = _speed * 0.5);
9700
9819
  }
9701
9820
  });
9702
9821
 
@@ -9710,11 +9829,11 @@
9710
9829
  let speed = 0;
9711
9830
 
9712
9831
  const updateCalcOptions = () => {
9713
- $$invalidate(5, calc.options = options, calc);
9832
+ $$invalidate(6, calc.options = options, calc);
9714
9833
  };
9715
9834
 
9716
9835
  const updateCalcContentDirection = () => {
9717
- $$invalidate(5, calc.contentdirection = contentdirection || 'anticlockwise', calc);
9836
+ $$invalidate(6, calc.contentdirection = contentdirection || 'anticlockwise', calc);
9718
9837
  setImageProps();
9719
9838
  };
9720
9839
 
@@ -9757,8 +9876,8 @@
9757
9876
  updateSpinable();
9758
9877
  if (!spinable) return;
9759
9878
  if (isSpinning) return;
9760
- $$invalidate(9, isSpinning = true);
9761
- $$invalidate(10, isShowPrizeArea = false);
9879
+ $$invalidate(10, isSpinning = true);
9880
+ $$invalidate(11, isShowPrizeArea = false);
9762
9881
  spinContainer = svg.querySelector(getSpinContainerSelector(theme.pointerMode));
9763
9882
  spinner.launch();
9764
9883
  process.drawer(`userid-${id}-${new Date().getTime()}`);
@@ -9766,21 +9885,21 @@
9766
9885
 
9767
9886
  onMountMessageLifeCycle({
9768
9887
  'wof-private-bonuses': data => {
9769
- $$invalidate(25, bonus = data.bonuses.find(_bonus => _bonus.program.id === id));
9888
+ $$invalidate(26, bonus = data.bonuses.find(_bonus => _bonus.program.id === id));
9770
9889
  },
9771
9890
  'wof-private-bonus': data => {
9772
9891
  if (data.id !== id) return;
9773
- $$invalidate(25, bonus = data.bonus);
9892
+ $$invalidate(26, bonus = data.bonus);
9774
9893
  },
9775
9894
  'wof-private-message-close': data => {
9776
9895
  if (data.id !== id) return;
9777
- $$invalidate(9, isSpinning = false);
9896
+ $$invalidate(10, isSpinning = false);
9778
9897
  setTimeout(() => updateSpinable(), 1);
9779
- $$invalidate(11, messageShown = false);
9898
+ $$invalidate(12, messageShown = false);
9780
9899
  },
9781
9900
  'wof-private-message-retry': data => {
9782
9901
  if (data.id !== id) return;
9783
- $$invalidate(11, messageShown = false);
9902
+ $$invalidate(12, messageShown = false);
9784
9903
  process.drawer();
9785
9904
  }
9786
9905
  });
@@ -9804,7 +9923,7 @@
9804
9923
  'radius'
9805
9924
  ];
9806
9925
 
9807
- Object.keys($$props).forEach(key => {
9926
+ Object_1$1.keys($$props).forEach(key => {
9808
9927
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<lottery-program-wof-private-item-svg> was created with unknown prop '${key}'`);
9809
9928
  });
9810
9929
 
@@ -9813,7 +9932,7 @@
9813
9932
  function svg_1_binding($$value) {
9814
9933
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
9815
9934
  svg = $$value;
9816
- $$invalidate(8, svg);
9935
+ $$invalidate(9, svg);
9817
9936
  });
9818
9937
  }
9819
9938
 
@@ -9827,13 +9946,13 @@
9827
9946
  }
9828
9947
 
9829
9948
  $$self.$$set = $$props => {
9830
- if ('lang' in $$props) $$invalidate(16, lang = $$props.lang);
9831
- if ('endpoint' in $$props) $$invalidate(17, endpoint = $$props.endpoint);
9832
- if ('session' in $$props) $$invalidate(18, session = $$props.session);
9833
- if ('clientstyling' in $$props) $$invalidate(19, clientstyling = $$props.clientstyling);
9834
- if ('contentdirection' in $$props) $$invalidate(20, contentdirection = $$props.contentdirection);
9835
- if ('partitiondivisor' in $$props) $$invalidate(21, partitiondivisor = $$props.partitiondivisor);
9836
- if ('id' in $$props) $$invalidate(22, id = $$props.id);
9949
+ if ('lang' in $$props) $$invalidate(17, lang = $$props.lang);
9950
+ if ('endpoint' in $$props) $$invalidate(18, endpoint = $$props.endpoint);
9951
+ if ('session' in $$props) $$invalidate(19, session = $$props.session);
9952
+ if ('clientstyling' in $$props) $$invalidate(20, clientstyling = $$props.clientstyling);
9953
+ if ('contentdirection' in $$props) $$invalidate(21, contentdirection = $$props.contentdirection);
9954
+ if ('partitiondivisor' in $$props) $$invalidate(22, partitiondivisor = $$props.partitiondivisor);
9955
+ if ('id' in $$props) $$invalidate(23, id = $$props.id);
9837
9956
  if ('size' in $$props) $$invalidate(0, size = $$props.size);
9838
9957
  if ('radius' in $$props) $$invalidate(1, radius = $$props.radius);
9839
9958
  };
@@ -9888,6 +10007,7 @@
9888
10007
  eventSpin,
9889
10008
  renderImage,
9890
10009
  sizeProps,
10010
+ foreignObjectAgentProps,
9891
10011
  theme,
9892
10012
  optionFilter,
9893
10013
  calc,
@@ -9896,36 +10016,37 @@
9896
10016
  });
9897
10017
 
9898
10018
  $$self.$inject_state = $$props => {
9899
- if ('_a' in $$props) $$invalidate(23, _a = $$props._a);
9900
- if ('_b' in $$props) $$invalidate(24, _b = $$props._b);
9901
- if ('lang' in $$props) $$invalidate(16, lang = $$props.lang);
9902
- if ('endpoint' in $$props) $$invalidate(17, endpoint = $$props.endpoint);
9903
- if ('session' in $$props) $$invalidate(18, session = $$props.session);
9904
- if ('clientstyling' in $$props) $$invalidate(19, clientstyling = $$props.clientstyling);
9905
- if ('contentdirection' in $$props) $$invalidate(20, contentdirection = $$props.contentdirection);
9906
- if ('partitiondivisor' in $$props) $$invalidate(21, partitiondivisor = $$props.partitiondivisor);
10019
+ if ('_a' in $$props) $$invalidate(24, _a = $$props._a);
10020
+ if ('_b' in $$props) $$invalidate(25, _b = $$props._b);
10021
+ if ('lang' in $$props) $$invalidate(17, lang = $$props.lang);
10022
+ if ('endpoint' in $$props) $$invalidate(18, endpoint = $$props.endpoint);
10023
+ if ('session' in $$props) $$invalidate(19, session = $$props.session);
10024
+ if ('clientstyling' in $$props) $$invalidate(20, clientstyling = $$props.clientstyling);
10025
+ if ('contentdirection' in $$props) $$invalidate(21, contentdirection = $$props.contentdirection);
10026
+ if ('partitiondivisor' in $$props) $$invalidate(22, partitiondivisor = $$props.partitiondivisor);
9907
10027
  if ('rootContainer' in $$props) $$invalidate(2, rootContainer = $$props.rootContainer);
9908
- if ('id' in $$props) $$invalidate(22, id = $$props.id);
10028
+ if ('id' in $$props) $$invalidate(23, id = $$props.id);
9909
10029
  if ('size' in $$props) $$invalidate(0, size = $$props.size);
9910
10030
  if ('radius' in $$props) $$invalidate(1, radius = $$props.radius);
9911
- if ('isPartitionsCustomableReady' in $$props) $$invalidate(7, isPartitionsCustomableReady = $$props.isPartitionsCustomableReady);
9912
- if ('bonus' in $$props) $$invalidate(25, bonus = $$props.bonus);
10031
+ if ('isPartitionsCustomableReady' in $$props) $$invalidate(8, isPartitionsCustomableReady = $$props.isPartitionsCustomableReady);
10032
+ if ('bonus' in $$props) $$invalidate(26, bonus = $$props.bonus);
9913
10033
  if ('options' in $$props) $$invalidate(3, options = $$props.options);
9914
- if ('svg' in $$props) $$invalidate(8, svg = $$props.svg);
10034
+ if ('svg' in $$props) $$invalidate(9, svg = $$props.svg);
9915
10035
  if ('spinContainer' in $$props) spinContainer = $$props.spinContainer;
9916
- if ('spinner' in $$props) $$invalidate(37, spinner = $$props.spinner);
10036
+ if ('spinner' in $$props) $$invalidate(38, spinner = $$props.spinner);
9917
10037
  if ('spinable' in $$props) spinable = $$props.spinable;
9918
- if ('isSpinning' in $$props) $$invalidate(9, isSpinning = $$props.isSpinning);
9919
- if ('isShowPrizeArea' in $$props) $$invalidate(10, isShowPrizeArea = $$props.isShowPrizeArea);
9920
- if ('messageShown' in $$props) $$invalidate(11, messageShown = $$props.messageShown);
10038
+ if ('isSpinning' in $$props) $$invalidate(10, isSpinning = $$props.isSpinning);
10039
+ if ('isShowPrizeArea' in $$props) $$invalidate(11, isShowPrizeArea = $$props.isShowPrizeArea);
10040
+ if ('messageShown' in $$props) $$invalidate(12, messageShown = $$props.messageShown);
9921
10041
  if ('shownFirstCheck' in $$props) shownFirstCheck = $$props.shownFirstCheck;
9922
- if ('speed' in $$props) $$invalidate(26, speed = $$props.speed);
9923
- if ('sizeProps' in $$props) $$invalidate(12, sizeProps = $$props.sizeProps);
9924
- if ('theme' in $$props) $$invalidate(4, theme = $$props.theme);
9925
- if ('optionFilter' in $$props) $$invalidate(13, optionFilter = $$props.optionFilter);
9926
- if ('calc' in $$props) $$invalidate(5, calc = $$props.calc);
10042
+ if ('speed' in $$props) $$invalidate(27, speed = $$props.speed);
10043
+ if ('sizeProps' in $$props) $$invalidate(4, sizeProps = $$props.sizeProps);
10044
+ if ('foreignObjectAgentProps' in $$props) $$invalidate(13, foreignObjectAgentProps = $$props.foreignObjectAgentProps);
10045
+ if ('theme' in $$props) $$invalidate(5, theme = $$props.theme);
10046
+ if ('optionFilter' in $$props) $$invalidate(14, optionFilter = $$props.optionFilter);
10047
+ if ('calc' in $$props) $$invalidate(6, calc = $$props.calc);
9927
10048
  if ('process' in $$props) process = $$props.process;
9928
- if ('themeIndex' in $$props) $$invalidate(6, themeIndex = $$props.themeIndex);
10049
+ if ('themeIndex' in $$props) $$invalidate(7, themeIndex = $$props.themeIndex);
9929
10050
  };
9930
10051
 
9931
10052
  if ($$props && "$$inject" in $$props) {
@@ -9933,16 +10054,16 @@
9933
10054
  }
9934
10055
 
9935
10056
  $$self.$$.update = () => {
9936
- if ($$self.$$.dirty[0] & /*clientstyling, rootContainer*/ 524292) {
10057
+ if ($$self.$$.dirty[0] & /*clientstyling, rootContainer*/ 1048580) {
9937
10058
  clientstyling && rootContainer && setClientStyling(rootContainer, clientstyling);
9938
10059
  }
9939
10060
 
9940
- if ($$self.$$.dirty[0] & /*bonus, lang*/ 33619968) {
10061
+ if ($$self.$$.dirty[0] & /*bonus, lang*/ 67239936) {
9941
10062
  bonus && lang && updateOptions();
9942
10063
  }
9943
10064
 
9944
- if ($$self.$$.dirty[0] & /*bonus, _a, _b*/ 58720256) {
9945
- $$invalidate(6, themeIndex = ($$invalidate(24, _b = $$invalidate(23, _a = bonus === null || bonus === void 0
10065
+ if ($$self.$$.dirty[0] & /*bonus, _a, _b*/ 117440512) {
10066
+ $$invalidate(7, themeIndex = ($$invalidate(25, _b = $$invalidate(24, _a = bonus === null || bonus === void 0
9946
10067
  ? void 0
9947
10068
  : bonus.program) === null || _a === void 0
9948
10069
  ? void 0
@@ -9951,12 +10072,12 @@
9951
10072
  : _b.template) || 0);
9952
10073
  }
9953
10074
 
9954
- if ($$self.$$.dirty[0] & /*themeIndex*/ 64) {
9955
- $$invalidate(4, theme = themes[themeIndex] || themes[0]);
10075
+ if ($$self.$$.dirty[0] & /*themeIndex*/ 128) {
10076
+ $$invalidate(5, theme = themes[themeIndex] || themes[0]);
9956
10077
  }
9957
10078
 
9958
- if ($$self.$$.dirty[0] & /*size, radius, options, themeIndex, contentdirection*/ 1048651) {
9959
- $$invalidate(5, calc = new SvgCalc({
10079
+ if ($$self.$$.dirty[0] & /*size, radius, options, themeIndex, contentdirection*/ 2097291) {
10080
+ $$invalidate(6, calc = new SvgCalc({
9960
10081
  size,
9961
10082
  radius,
9962
10083
  options,
@@ -9969,35 +10090,41 @@
9969
10090
  options && updateCalcOptions();
9970
10091
  }
9971
10092
 
9972
- if ($$self.$$.dirty[0] & /*contentdirection*/ 1048576) {
10093
+ if ($$self.$$.dirty[0] & /*contentdirection*/ 2097152) {
9973
10094
  (contentdirection || !contentdirection) && updateCalcContentDirection();
9974
10095
  }
9975
10096
 
9976
- if ($$self.$$.dirty[0] & /*bonus*/ 33554432) {
10097
+ if ($$self.$$.dirty[0] & /*bonus*/ 67108864) {
9977
10098
  bonus && runFirstCheck();
9978
10099
  }
9979
10100
 
9980
- if ($$self.$$.dirty[0] & /*id, options, calc, endpoint, session*/ 4587560) {
10101
+ if ($$self.$$.dirty[0] & /*id, options, calc, endpoint, session*/ 9175112) {
9981
10102
  process = new Process({
9982
10103
  id,
9983
- afterSetMessage: () => $$invalidate(11, messageShown = true),
10104
+ afterSetMessage: () => $$invalidate(12, messageShown = true),
9984
10105
  halter: (index, cb) => {
9985
10106
  const targetIndex = index >= 0 ? index : options.length - 1;
9986
10107
  spinner.halt(calc.getDeg(targetIndex), cb);
9987
10108
  },
9988
- afterSuccess: () => $$invalidate(10, isShowPrizeArea = true),
10109
+ afterSuccess: () => $$invalidate(11, isShowPrizeArea = true),
9989
10110
  fetcher: async guid => await api.draw(endpoint, session, id, guid, options)
9990
10111
  });
9991
10112
  }
9992
10113
 
9993
- if ($$self.$$.dirty[0] & /*theme, speed*/ 67108880) {
9994
- $$invalidate(13, optionFilter = theme.pointerMode === PointerMode.Arrow && speed > 0.3
10114
+ if ($$self.$$.dirty[0] & /*theme, speed*/ 134217760) {
10115
+ $$invalidate(14, optionFilter = theme.pointerMode === PointerMode.Arrow && speed > 0.3
9995
10116
  ? `blur(${speed}px)`
9996
10117
  : null);
9997
10118
  }
9998
10119
 
9999
10120
  if ($$self.$$.dirty[0] & /*size*/ 1) {
10000
- $$invalidate(12, sizeProps = { height: size, width: size });
10121
+ $$invalidate(4, sizeProps = { height: size, width: size });
10122
+ }
10123
+
10124
+ if ($$self.$$.dirty[0] & /*sizeProps*/ 16) {
10125
+ $$invalidate(13, foreignObjectAgentProps = {
10126
+ style: Object.keys(sizeProps).map(key => `${key}: ${sizeProps[key]}px`).join(';')
10127
+ });
10001
10128
  }
10002
10129
  };
10003
10130
 
@@ -10006,6 +10133,7 @@
10006
10133
  radius,
10007
10134
  rootContainer,
10008
10135
  options,
10136
+ sizeProps,
10009
10137
  theme,
10010
10138
  calc,
10011
10139
  themeIndex,
@@ -10014,7 +10142,7 @@
10014
10142
  isSpinning,
10015
10143
  isShowPrizeArea,
10016
10144
  messageShown,
10017
- sizeProps,
10145
+ foreignObjectAgentProps,
10018
10146
  optionFilter,
10019
10147
  eventSpin,
10020
10148
  renderImage,
@@ -10040,7 +10168,7 @@
10040
10168
  constructor(options) {
10041
10169
  super();
10042
10170
  const style = document.createElement('style');
10043
- style.textContent = `:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryProgramWof{background:var(--emfe-w-color-contrast, #07072A);display:flex;align-items:center;flex-direction:column;padding:20px 0}svg{transition:opacity 0.3s}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.Center{cursor:pointer;transition:filter;transition-duration:1s}.Center.disabled{filter:grayscale(80%)}.Center .CenterCircle{fill:#3CE4BB;stroke:rgb(150, 54, 88);stroke-width:2px;cursor:pointer;transition:fill;transition-duration:1s}.Center .CenterText{fill:#FFFFFF}.PointerPartition{opacity:0.3;fill:lightgoldenrodyellow;stroke:red;stroke-width:6px;stroke-dasharray:12}.Current{color:#FFFFFF}.PartitionText{color:#FFFFFF;font-style:normal;font-weight:700;text-anchor:end;text-shadow:0px 3px #000;dominant-baseline:central}.PartitionsShadow{background-blend-mode:multiply;mix-blend-mode:multiply}.PartitionTextEntityContainer{height:100%;display:flex;align-items:center}.PartitionTextEntity{width:100%}.PartitionTextEntity.Anticlockwise{text-align:end}.theme1 foreignObject.Bottom,.theme4 foreignObject.Bottom,.theme5 foreignObject.Bottom{background-image:var(--img-theme1-bg3), var(--img-theme-BgBlackRing), var(--img-theme-BgHalo);background-position:center, center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 7px), calc(var(--radius) * 2px + var(--ratio) * 37px), calc(var(--radius) * 2px + var(--ratio) * 130px)}.theme2 foreignObject.Bottom,.theme6 foreignObject.Bottom{background-image:var(--img-theme2-bg3), var(--img-theme-BgHalo), var(--img-theme-BgBlackRing);background-position:center, center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 8px), calc(var(--radius) * 2px + var(--ratio) * 123px), calc(var(--radius) * 2px + var(--ratio) * 37px)}.theme3 foreignObject.Bottom{background-image:var(--img-theme3-bg2), var(--img-theme3-bg1);background-position:center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 57px), calc(var(--radius) * 2px + var(--ratio) * 125px)}.theme7 foreignObject.Bottom{background-image:var(--img-theme7-bg3), var(--img-theme7-bg2), var(--img-theme7-bg1);background-position:center, center calc(var(--size) * 1px - var(--ratio) * 95px), calc(var(--ratio) * 42px) calc(var(--ratio) * -5px);background-size:calc(var(--radius) * 2px + 35px), calc(var(--radius) * 2px * 0.6), calc(var(--radius) * 2.7px)}.theme1 foreignObject.Middle,.theme4 foreignObject.Middle{background-image:var(--img-theme-center1);background-position:center}.theme2 foreignObject.Middle{background-image:var(--img-theme2-center), var(--img-theme2-arrow);background-position:center, center 60px}.theme3 foreignObject.Middle{background-image:var(--img-theme3-center), var(--img-theme3-arrow);background-position:center, center 39px}.theme5 foreignObject.Middle,.theme6 foreignObject.Middle{background-image:var(--img-theme-center2);background-position:center}.theme7 foreignObject.Middle{background-image:var(--img-theme7-center), var(--img-theme7-arrow);background-position:center, center 36px}.theme7 foreignObject.Top{background-image:var(--img-theme7-light);background-position:294px 135px}.theme1 foreignObject.Top,.theme2 foreignObject.Top,.theme3 foreignObject.Top,.theme4 foreignObject.Top,.theme5 foreignObject.Top,.theme6 foreignObject.Top{background-image:var(--img-theme-shadow);background-position:center;mix-blend-mode:multiply;background-size:calc(var(--radius) * 2px)}.theme2 foreignObject.Partition1{background-image:var(--img-theme-partition-light);background-position:center calc((var(--size) / 2 - var(--radius)) * 1px - var(--ratio) * 22px);transform:rotate(calc(var(--index) * 360deg / var(--length)))}.theme2 foreignObject.Partition2{background-image:var(--img-theme-partition-light);background-position:center calc((var(--size) / 2 - var(--radius)) * 1px - var(--ratio) * 22px);transform:rotate(calc((var(--index) + 0.5) * 360deg / var(--length)))}foreignObject.PointerArea{background-image:var(--img-theme-pointer-area);background-position:center -3px;mix-blend-mode:screen;background-size:51%}foreignObject.Partition1,foreignObject.Partition2{transform-origin:center}.PartitionsCustomable1,.PartitionsCustomable2{visibility:hidden}.PartitionsCustomable1.active,.PartitionsCustomable2.active{visibility:visible}foreignObject.Customable{overflow:visible;background-repeat:no-repeat}.PartitionBackground{background-size:calc(var(--radius) * 2 / var(--size) * 100%) calc(var(--radius) * 2 / var(--size) * 100%);background-position:center}.theme1 .PartitionBackground:nth-child(4n+1),.theme2 .PartitionBackground:nth-child(4n+1){background-image:radial-gradient(#009C9C 0%, #002634 100%)}.theme1 .PartitionBackground:nth-child(4n+2),.theme2 .PartitionBackground:nth-child(4n+2){background-image:radial-gradient(#AA00BF 0%, #3B0031 100%)}.theme1 .PartitionBackground:nth-child(4n+3),.theme2 .PartitionBackground:nth-child(4n+3){background-image:radial-gradient(#0068CD 0%, #150D42 100%)}.theme1 .PartitionBackground:nth-child(4n+4),.theme2 .PartitionBackground:nth-child(4n+4){background-image:radial-gradient(#DA005B 0%, #400021 100%)}.theme3 .PartitionBackground:nth-child(4n+1){background-image:radial-gradient(#066 0%, #007F76 13%, #00B59B 42%, #00DDB5 67.01%, #00F6C6 88.01%, #0FC 100.01%)}.theme3 .PartitionBackground:nth-child(4n+2){background-image:radial-gradient(#580065 22.67%, #D453FF 91.3%)}.theme3 .PartitionBackground:nth-child(4n+3){background-image:radial-gradient(#FFE767 -0.01%, #F28F00 100%)}.theme3 .PartitionBackground:nth-child(4n+4){background-image:radial-gradient(#900A42 22.59%, #960A44 23.94%, #B60B53 31.36%, #D00C5E 39.45%, #E40D67 48.22%, #F30D6E 57.66%, #FB0D71 69.8%, #FE0E73 90.03%)}.theme4 .PartitionBackground:nth-child(4n+1),.theme5 .PartitionBackground:nth-child(4n+1),.theme6 .PartitionBackground:nth-child(4n+1){background:radial-gradient(#3B0031 0%, #7E008E 100.01%)}.theme4 .PartitionBackground:nth-child(4n+2),.theme5 .PartitionBackground:nth-child(4n+2),.theme6 .PartitionBackground:nth-child(4n+2){background:radial-gradient(#5A005F 22.67%, #EA53FF 91.3%)}.theme4 .PartitionBackground:nth-child(4n+3),.theme5 .PartitionBackground:nth-child(4n+3),.theme6 .PartitionBackground:nth-child(4n+3){background:radial-gradient(#B300C3 -0.01%, #4D003B 100%)}.theme4 .PartitionBackground:nth-child(4n+4),.theme5 .PartitionBackground:nth-child(4n+4),.theme6 .PartitionBackground:nth-child(4n+4){background:radial-gradient(#59007B 22.59%, #B753FF 90.03%)}.theme7 .PartitionBackground:nth-child(2n+1){background:linear-gradient(90.23deg, #F6AD3F 16.59%, #AF8531 99.8%)}.theme7 .PartitionBackground:nth-child(2n+2){background:linear-gradient(90deg, #323234 -0.01%, #272425 54.99%, #231F1F 99.99%)}.PartitionBackground{transform-origin:center}.PartitionBackgroundStroke{fill:transparent;stroke-width:0.5px;stroke-dasharray:var(--radius) calc(6.2831853072 / var(--length) * var(--radius))}.theme1 .PartitionBackgroundStroke,.theme2 .PartitionBackgroundStroke{stroke:#FCD755}.PointerPartitionFrame{stroke:#FFDD64;fill:transparent;stroke-dasharray:var(--radius) calc(6.2831853072 / var(--length) * var(--radius));stroke-width:0px}.PointerPartitionFrame.active{stroke-width:3px}g.Center.spinning{cursor:not-allowed}`;
10171
+ style.textContent = `:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryProgramWof{background:var(--emfe-w-color-contrast, #07072A);display:flex;align-items:center;flex-direction:column;padding:20px 0}svg{transition:opacity 0.3s}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.Center{cursor:pointer;transition:filter;transition-duration:1s}.Center.disabled{filter:grayscale(80%)}.Center .CenterCircle{fill:#3CE4BB;stroke:rgb(150, 54, 88);stroke-width:2px;cursor:pointer;transition:fill;transition-duration:1s}.Center .CenterText{fill:#FFFFFF}.PointerPartition{opacity:0.3;fill:lightgoldenrodyellow;stroke:red;stroke-width:6px;stroke-dasharray:12}.Current{color:#FFFFFF}.PartitionText{color:#FFFFFF;font-style:normal;font-weight:700;text-anchor:end;text-shadow:0px 3px #000;dominant-baseline:central}.PartitionsShadow{background-blend-mode:multiply;mix-blend-mode:multiply}.PartitionTextEntityContainer{height:100%;display:flex;align-items:center}.PartitionTextEntity{width:100%}.PartitionTextEntity.Anticlockwise{text-align:end}.theme1 foreignObject.Bottom div,.theme4 foreignObject.Bottom div,.theme5 foreignObject.Bottom div{background-image:var(--img-theme1-bg3), var(--img-theme-BgBlackRing), var(--img-theme-BgHalo);background-position:center, center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 7px), calc(var(--radius) * 2px + var(--ratio) * 37px), calc(var(--radius) * 2px + var(--ratio) * 130px)}.theme2 foreignObject.Bottom div,.theme6 foreignObject.Bottom div{background-image:var(--img-theme2-bg3), var(--img-theme-BgHalo), var(--img-theme-BgBlackRing);background-position:center, center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 8px), calc(var(--radius) * 2px + var(--ratio) * 123px), calc(var(--radius) * 2px + var(--ratio) * 37px)}.theme3 foreignObject.Bottom div{background-image:var(--img-theme3-bg2), var(--img-theme3-bg1);background-position:center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 57px), calc(var(--radius) * 2px + var(--ratio) * 125px)}.theme7 foreignObject.Bottom div{background-image:var(--img-theme7-bg3), var(--img-theme7-bg2), var(--img-theme7-bg1);background-position:center, center calc(var(--size) * 1px - var(--ratio) * 95px), calc(var(--ratio) * 42px) calc(var(--ratio) * -5px);background-size:calc(var(--radius) * 2px + 35px), calc(var(--radius) * 2px * 0.6), calc(var(--radius) * 2.7px)}.theme1 foreignObject.Middle div,.theme4 foreignObject.Middle div{background-image:var(--img-theme-center1);background-position:center}.theme2 foreignObject.Middle div{background-image:var(--img-theme2-center), var(--img-theme2-arrow);background-position:center, center 60px}.theme3 foreignObject.Middle div{background-image:var(--img-theme3-center), var(--img-theme3-arrow);background-position:center, center 39px}.theme5 foreignObject.Middle div,.theme6 foreignObject.Middle div{background-image:var(--img-theme-center2);background-position:center}.theme7 foreignObject.Middle div{background-image:var(--img-theme7-center), var(--img-theme7-arrow);background-position:center, center 36px}.theme7 foreignObject.Top div{background-image:var(--img-theme7-light);background-position:294px 135px}.theme1 foreignObject.Top,.theme2 foreignObject.Top,.theme3 foreignObject.Top,.theme4 foreignObject.Top,.theme5 foreignObject.Top,.theme6 foreignObject.Top{mix-blend-mode:multiply}.theme1 foreignObject.Top div,.theme2 foreignObject.Top div,.theme3 foreignObject.Top div,.theme4 foreignObject.Top div,.theme5 foreignObject.Top div,.theme6 foreignObject.Top div{background-image:var(--img-theme-shadow);background-position:center;background-size:calc(var(--radius) * 2px)}.theme2 foreignObject.Partition1 div{background-image:var(--img-theme-partition-light);background-position:center calc((var(--size) / 2 - var(--radius)) * 1px - var(--ratio) * 22px);transform:rotate(calc(var(--index) * 360deg / var(--length)))}.theme2 foreignObject.Partition2 div{background-image:var(--img-theme-partition-light);background-position:center calc((var(--size) / 2 - var(--radius)) * 1px - var(--ratio) * 22px);transform:rotate(calc((var(--index) + 0.5) * 360deg / var(--length)))}foreignObject.PointerArea{mix-blend-mode:screen}foreignObject.PointerArea div{background-image:var(--img-theme-pointer-area);background-position:center -3px;background-size:51%}foreignObject.Partition1 div,foreignObject.Partition2 div{transform-origin:center}.PartitionsCustomable1 div,.PartitionsCustomable2 div{visibility:hidden}.PartitionsCustomable1 div.active,.PartitionsCustomable2 div.active{visibility:visible}foreignObject.Customable{overflow:visible}foreignObject.Customable div{background-repeat:no-repeat}.PartitionBackground div{background-size:calc(var(--radius) * 2 / var(--size) * 100%) calc(var(--radius) * 2 / var(--size) * 100%);background-position:center}.theme1 .PartitionBackground:nth-child(4n+1) div,.theme2 .PartitionBackground:nth-child(4n+1) div{background-image:radial-gradient(#009C9C 0%, #002634 100%)}.theme1 .PartitionBackground:nth-child(4n+2) div,.theme2 .PartitionBackground:nth-child(4n+2) div{background-image:radial-gradient(#AA00BF 0%, #3B0031 100%)}.theme1 .PartitionBackground:nth-child(4n+3) div,.theme2 .PartitionBackground:nth-child(4n+3) div{background-image:radial-gradient(#0068CD 0%, #150D42 100%)}.theme1 .PartitionBackground:nth-child(4n+4) div,.theme2 .PartitionBackground:nth-child(4n+4) div{background-image:radial-gradient(#DA005B 0%, #400021 100%)}.theme3 .PartitionBackground:nth-child(4n+1) div{background-image:radial-gradient(#066 0%, #007F76 13%, #00B59B 42%, #00DDB5 67.01%, #00F6C6 88.01%, #0FC 100.01%)}.theme3 .PartitionBackground:nth-child(4n+2) div{background-image:radial-gradient(#580065 22.67%, #D453FF 91.3%)}.theme3 .PartitionBackground:nth-child(4n+3) div{background-image:radial-gradient(#FFE767 -0.01%, #F28F00 100%)}.theme3 .PartitionBackground:nth-child(4n+4) div{background-image:radial-gradient(#900A42 22.59%, #960A44 23.94%, #B60B53 31.36%, #D00C5E 39.45%, #E40D67 48.22%, #F30D6E 57.66%, #FB0D71 69.8%, #FE0E73 90.03%)}.theme4 .PartitionBackground:nth-child(4n+1) div,.theme5 .PartitionBackground:nth-child(4n+1) div,.theme6 .PartitionBackground:nth-child(4n+1) div{background:radial-gradient(#3B0031 0%, #7E008E 100.01%)}.theme4 .PartitionBackground:nth-child(4n+2) div,.theme5 .PartitionBackground:nth-child(4n+2) div,.theme6 .PartitionBackground:nth-child(4n+2) div{background:radial-gradient(#5A005F 22.67%, #EA53FF 91.3%)}.theme4 .PartitionBackground:nth-child(4n+3) div,.theme5 .PartitionBackground:nth-child(4n+3) div,.theme6 .PartitionBackground:nth-child(4n+3) div{background:radial-gradient(#B300C3 -0.01%, #4D003B 100%)}.theme4 .PartitionBackground:nth-child(4n+4) div,.theme5 .PartitionBackground:nth-child(4n+4) div,.theme6 .PartitionBackground:nth-child(4n+4) div{background:radial-gradient(#59007B 22.59%, #B753FF 90.03%)}.theme7 .PartitionBackground:nth-child(2n+1) div{background:linear-gradient(90.23deg, #F6AD3F 16.59%, #AF8531 99.8%)}.theme7 .PartitionBackground:nth-child(2n+2) div{background:linear-gradient(90deg, #323234 -0.01%, #272425 54.99%, #231F1F 99.99%)}.PartitionBackground div{transform-origin:center}.PartitionBackgroundStroke{fill:transparent;stroke-width:0.5px;stroke-dasharray:var(--radius) calc(6.2831853072 / var(--length) * var(--radius))}.theme1 .PartitionBackgroundStroke,.theme2 .PartitionBackgroundStroke{stroke:#FCD755}.PointerPartitionFrame{stroke:#FFDD64;fill:transparent;stroke-dasharray:var(--radius) calc(6.2831853072 / var(--length) * var(--radius));stroke-width:0px}.PointerPartitionFrame.active{stroke-width:3px}g.Center.spinning{cursor:not-allowed}`;
10044
10172
  this.shadowRoot.appendChild(style);
10045
10173
 
10046
10174
  init(
@@ -10054,13 +10182,13 @@
10054
10182
  create_fragment$2,
10055
10183
  safe_not_equal,
10056
10184
  {
10057
- lang: 16,
10058
- endpoint: 17,
10059
- session: 18,
10060
- clientstyling: 19,
10061
- contentdirection: 20,
10062
- partitiondivisor: 21,
10063
- id: 22,
10185
+ lang: 17,
10186
+ endpoint: 18,
10187
+ session: 19,
10188
+ clientstyling: 20,
10189
+ contentdirection: 21,
10190
+ partitiondivisor: 22,
10191
+ id: 23,
10064
10192
  size: 0,
10065
10193
  radius: 1
10066
10194
  },
@@ -10095,7 +10223,7 @@
10095
10223
  }
10096
10224
 
10097
10225
  get lang() {
10098
- return this.$$.ctx[16];
10226
+ return this.$$.ctx[17];
10099
10227
  }
10100
10228
 
10101
10229
  set lang(lang) {
@@ -10104,7 +10232,7 @@
10104
10232
  }
10105
10233
 
10106
10234
  get endpoint() {
10107
- return this.$$.ctx[17];
10235
+ return this.$$.ctx[18];
10108
10236
  }
10109
10237
 
10110
10238
  set endpoint(endpoint) {
@@ -10113,7 +10241,7 @@
10113
10241
  }
10114
10242
 
10115
10243
  get session() {
10116
- return this.$$.ctx[18];
10244
+ return this.$$.ctx[19];
10117
10245
  }
10118
10246
 
10119
10247
  set session(session) {
@@ -10122,7 +10250,7 @@
10122
10250
  }
10123
10251
 
10124
10252
  get clientstyling() {
10125
- return this.$$.ctx[19];
10253
+ return this.$$.ctx[20];
10126
10254
  }
10127
10255
 
10128
10256
  set clientstyling(clientstyling) {
@@ -10131,7 +10259,7 @@
10131
10259
  }
10132
10260
 
10133
10261
  get contentdirection() {
10134
- return this.$$.ctx[20];
10262
+ return this.$$.ctx[21];
10135
10263
  }
10136
10264
 
10137
10265
  set contentdirection(contentdirection) {
@@ -10140,7 +10268,7 @@
10140
10268
  }
10141
10269
 
10142
10270
  get partitiondivisor() {
10143
- return this.$$.ctx[21];
10271
+ return this.$$.ctx[22];
10144
10272
  }
10145
10273
 
10146
10274
  set partitiondivisor(partitiondivisor) {
@@ -10149,7 +10277,7 @@
10149
10277
  }
10150
10278
 
10151
10279
  get id() {
10152
- return this.$$.ctx[22];
10280
+ return this.$$.ctx[23];
10153
10281
  }
10154
10282
 
10155
10283
  set id(id) {