@everymatrix/lottery-program-wof 1.12.7 → 1.13.1

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.
@@ -61,6 +61,12 @@
61
61
  return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;
62
62
  }
63
63
  const contenteditable_truthy_values = ['', true, 1, 'true', 'contenteditable'];
64
+
65
+ const globals = (typeof window !== 'undefined'
66
+ ? window
67
+ : typeof globalThis !== 'undefined'
68
+ ? globalThis
69
+ : global);
64
70
  function append(target, node) {
65
71
  target.appendChild(node);
66
72
  }
@@ -103,6 +109,14 @@
103
109
  else if (node.getAttribute(attribute) !== value)
104
110
  node.setAttribute(attribute, value);
105
111
  }
112
+ /**
113
+ * List of attributes that should always be set through the attr method,
114
+ * because updating them through the property setter doesn't work reliably.
115
+ * In the example of `width`/`height`, the problem is that the setter only
116
+ * accepts numeric values, but the attribute can also be set to a string like `50%`.
117
+ * If this list becomes too big, rethink this approach.
118
+ */
119
+ const always_set_through_set_attribute = ['width', 'height'];
106
120
  function set_attributes(node, attributes) {
107
121
  // @ts-ignore
108
122
  const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);
@@ -116,7 +130,7 @@
116
130
  else if (key === '__value') {
117
131
  node.value = node[key] = attributes[key];
118
132
  }
119
- else if (descriptors[key] && descriptors[key].set) {
133
+ else if (descriptors[key] && descriptors[key].set && always_set_through_set_attribute.indexOf(key) === -1) {
120
134
  node[key] = attributes[key];
121
135
  }
122
136
  else {
@@ -141,7 +155,7 @@
141
155
  return Array.from(element.childNodes);
142
156
  }
143
157
  function set_style(node, key, value, important) {
144
- if (value === null) {
158
+ if (value == null) {
145
159
  node.style.removeProperty(key);
146
160
  }
147
161
  else {
@@ -299,12 +313,6 @@
299
313
  }
300
314
  }
301
315
 
302
- const globals = (typeof window !== 'undefined'
303
- ? window
304
- : typeof globalThis !== 'undefined'
305
- ? globalThis
306
- : global);
307
-
308
316
  function get_spread_update(levels, updates) {
309
317
  const update = {};
310
318
  const to_null_out = {};
@@ -492,7 +500,7 @@
492
500
  }
493
501
 
494
502
  function dispatch_dev(type, detail) {
495
- document.dispatchEvent(custom_event(type, Object.assign({ version: '3.58.0' }, detail), { bubbles: true }));
503
+ document.dispatchEvent(custom_event(type, Object.assign({ version: '3.59.2' }, detail), { bubbles: true }));
496
504
  }
497
505
  function append_dev(target, node) {
498
506
  dispatch_dev('SvelteDOMInsert', { target, node });
@@ -583,7 +591,7 @@
583
591
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
584
592
  PERFORMANCE OF THIS SOFTWARE.
585
593
  ***************************************************************************** */
586
- /* global Reflect, Promise */
594
+ /* global Reflect, Promise, SuppressedError, Symbol */
587
595
 
588
596
  var extendStatics = function(d, b) {
589
597
  extendStatics = Object.setPrototypeOf ||
@@ -631,7 +639,12 @@
631
639
  }
632
640
  }
633
641
  return to.concat(ar || Array.prototype.slice.call(from));
634
- }
642
+ }
643
+
644
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
645
+ var e = new Error(message);
646
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
647
+ };
635
648
 
636
649
  const _postMessage = (message) => window.postMessage(message, window.location.href);
637
650
  const composeMessageHandler = (listeners) => {
@@ -659,7 +672,7 @@
659
672
  /**
660
673
  * Creates a `Readable` store that allows reading by subscription.
661
674
  * @param value initial value
662
- * @param {StartStopNotifier}start start and stop notifications for subscriptions
675
+ * @param {StartStopNotifier} [start]
663
676
  */
664
677
  function readable(value, start) {
665
678
  return {
@@ -669,7 +682,7 @@
669
682
  /**
670
683
  * Create a `Writable` store that allows both updating and reading by subscription.
671
684
  * @param {*=}value initial value
672
- * @param {StartStopNotifier=}start start and stop notifications for subscriptions
685
+ * @param {StartStopNotifier=} start
673
686
  */
674
687
  function writable(value, start = noop) {
675
688
  let stop;
@@ -4807,7 +4820,7 @@
4807
4820
  });
4808
4821
  };
4809
4822
 
4810
- /* src/private.message.svelte generated by Svelte v3.58.0 */
4823
+ /* src/private.message.svelte generated by Svelte v3.59.2 */
4811
4824
 
4812
4825
  const { Object: Object_1$2 } = globals;
4813
4826
  const file$6 = "src/private.message.svelte";
@@ -5474,7 +5487,7 @@
5474
5487
  Tab["History"] = "History";
5475
5488
  })(Tab || (Tab = {}));
5476
5489
 
5477
- /* src/private.tabs.svelte generated by Svelte v3.58.0 */
5490
+ /* src/private.tabs.svelte generated by Svelte v3.59.2 */
5478
5491
 
5479
5492
  const { Object: Object_1$1 } = globals;
5480
5493
  const file$5 = "src/private.tabs.svelte";
@@ -6033,7 +6046,7 @@
6033
6046
  return condition;
6034
6047
  };
6035
6048
 
6036
- /* src/private.loader.svelte generated by Svelte v3.58.0 */
6049
+ /* src/private.loader.svelte generated by Svelte v3.59.2 */
6037
6050
 
6038
6051
  const file$4 = "src/private.loader.svelte";
6039
6052
 
@@ -6131,7 +6144,7 @@
6131
6144
 
6132
6145
  customElements.define("wof-loader", Private_loader);
6133
6146
 
6134
- /* src/private.outcomes.svelte generated by Svelte v3.58.0 */
6147
+ /* src/private.outcomes.svelte generated by Svelte v3.59.2 */
6135
6148
 
6136
6149
  const { Object: Object_1 } = globals;
6137
6150
  const file$3 = "src/private.outcomes.svelte";
@@ -7940,7 +7953,7 @@
7940
7953
  }
7941
7954
  }
7942
7955
 
7943
- /* src/private.item.svg.svelte generated by Svelte v3.58.0 */
7956
+ /* src/private.item.svg.svelte generated by Svelte v3.59.2 */
7944
7957
  const file$2 = "src/private.item.svg.svelte";
7945
7958
 
7946
7959
  function get_each_context$1(ctx, list, i) {
@@ -9688,7 +9701,7 @@
9688
9701
  constructor(options) {
9689
9702
  super();
9690
9703
  const style = document.createElement('style');
9691
- 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}.HighLightArea{mix-blend-mode:color-dodge}.HighLightAreaBackground{mix-blend-mode:screen;opacity:0.41}.HighLightAreaV1{background:radial-gradient(72.02% 62.64% at 50% 84.62%, rgba(255, 184, 47, 0.7) 0%, rgba(255, 184, 47, 0.384271) 30.52%, rgba(255, 184, 47, 0.165346) 52.4%, rgba(255, 184, 47, 0) 100%);filter:blur(9px)}.HighLightAreaV2{background:radial-gradient(87.18% 75.82% at 50% 84.62%, rgba(255, 248, 186, 0.7) 0%, rgba(255, 248, 186, 0.384271) 29.48%, rgba(255, 248, 186, 0) 100%);filter:blur(9px)}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.BackgroundCircle{fill:#FFFFFF;animation:color-animation 1s infinite linear alternate}.RingCirclesGroup .RingCircle{fill:#FFFFFF;stroke:#FFFFFF}.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{fill:#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}`;
9704
+ style.textContent = `*,*::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}.HighLightArea{mix-blend-mode:color-dodge}.HighLightAreaBackground{mix-blend-mode:screen;opacity:0.41}.HighLightAreaV1{background:radial-gradient(72.02% 62.64% at 50% 84.62%, rgba(255, 184, 47, 0.7) 0%, rgba(255, 184, 47, 0.384271) 30.52%, rgba(255, 184, 47, 0.165346) 52.4%, rgba(255, 184, 47, 0) 100%);filter:blur(9px)}.HighLightAreaV2{background:radial-gradient(87.18% 75.82% at 50% 84.62%, rgba(255, 248, 186, 0.7) 0%, rgba(255, 248, 186, 0.384271) 29.48%, rgba(255, 248, 186, 0) 100%);filter:blur(9px)}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.BackgroundCircle{fill:#FFFFFF;animation:color-animation 1s infinite linear alternate}.RingCirclesGroup .RingCircle{fill:#FFFFFF;stroke:#FFFFFF}.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{fill:#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}`;
9692
9705
  this.shadowRoot.appendChild(style);
9693
9706
 
9694
9707
  init(
@@ -9804,7 +9817,7 @@
9804
9817
 
9805
9818
  customElements.define("lottery-program-wof-private-item-svg", Private_item_svg);
9806
9819
 
9807
- /* src/private.item.svelte generated by Svelte v3.58.0 */
9820
+ /* src/private.item.svelte generated by Svelte v3.59.2 */
9808
9821
  const file$1 = "src/private.item.svelte";
9809
9822
 
9810
9823
  // (81:0) {#if lotteryProgramForPlayer}
@@ -10340,7 +10353,7 @@
10340
10353
  constructor(options) {
10341
10354
  super();
10342
10355
  const style = document.createElement('style');
10343
- style.textContent = `lottery-program-wof-private-message-panel{position:absolute}: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{display:flex;align-items:center;flex-direction:column;padding:20px 0}main{max-width:600px;width:100%;display:flex;justify-content:space-around;min-height:200px}.Main{position:relative}.HighLightArea{mix-blend-mode:color-dodge}.HighLightAreaBackground{mix-blend-mode:screen;opacity:0.41}.HighLightAreaV1{background:radial-gradient(72.02% 62.64% at 50% 84.62%, rgba(255, 184, 47, 0.7) 0%, rgba(255, 184, 47, 0.384271) 30.52%, rgba(255, 184, 47, 0.165346) 52.4%, rgba(255, 184, 47, 0) 100%);filter:blur(9px)}.HighLightAreaV2{background:radial-gradient(87.18% 75.82% at 50% 84.62%, rgba(255, 248, 186, 0.7) 0%, rgba(255, 248, 186, 0.384271) 29.48%, rgba(255, 248, 186, 0) 100%);filter:blur(9px)}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.BackgroundCircle{fill:#FFFFFF;animation:color-animation 1s infinite linear alternate}.RingCirclesGroup .RingCircle{fill:#FFFFFF;stroke:#FFFFFF}.Center{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{cursor:pointer;fill:#FFFFFF}.PointerPartition{opacity:0.3;fill:lightgoldenrodyellow;stroke:red;stroke-width:6px;stroke-dasharray:12}.PointerArrow{fill:#064CA0}.Current{color:#FFFFFF}.PartitionText{fill:#FFFFFF;font-style:normal;font-weight:700;text-anchor:end;text-shadow:0px 2px #000}.PartitionShadow{background-blend-mode:multiply;mix-blend-mode:multiply}`;
10356
+ style.textContent = `lottery-program-wof-private-message-panel{position:absolute}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryProgramWof{display:flex;align-items:center;flex-direction:column;padding:20px 0}main{max-width:600px;width:100%;display:flex;justify-content:space-around;min-height:200px}.Main{position:relative}.HighLightArea{mix-blend-mode:color-dodge}.HighLightAreaBackground{mix-blend-mode:screen;opacity:0.41}.HighLightAreaV1{background:radial-gradient(72.02% 62.64% at 50% 84.62%, rgba(255, 184, 47, 0.7) 0%, rgba(255, 184, 47, 0.384271) 30.52%, rgba(255, 184, 47, 0.165346) 52.4%, rgba(255, 184, 47, 0) 100%);filter:blur(9px)}.HighLightAreaV2{background:radial-gradient(87.18% 75.82% at 50% 84.62%, rgba(255, 248, 186, 0.7) 0%, rgba(255, 248, 186, 0.384271) 29.48%, rgba(255, 248, 186, 0) 100%);filter:blur(9px)}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.BackgroundCircle{fill:#FFFFFF;animation:color-animation 1s infinite linear alternate}.RingCirclesGroup .RingCircle{fill:#FFFFFF;stroke:#FFFFFF}.Center{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{cursor:pointer;fill:#FFFFFF}.PointerPartition{opacity:0.3;fill:lightgoldenrodyellow;stroke:red;stroke-width:6px;stroke-dasharray:12}.PointerArrow{fill:#064CA0}.Current{color:#FFFFFF}.PartitionText{fill:#FFFFFF;font-style:normal;font-weight:700;text-anchor:end;text-shadow:0px 2px #000}.PartitionShadow{background-blend-mode:multiply;mix-blend-mode:multiply}`;
10344
10357
  this.shadowRoot.appendChild(style);
10345
10358
 
10346
10359
  init(
@@ -10444,7 +10457,7 @@
10444
10457
 
10445
10458
  customElements.define("lottery-program-wof-private-item", Private_item);
10446
10459
 
10447
- /* src/LotteryProgramWof.svelte generated by Svelte v3.58.0 */
10460
+ /* src/LotteryProgramWof.svelte generated by Svelte v3.59.2 */
10448
10461
  const file = "src/LotteryProgramWof.svelte";
10449
10462
 
10450
10463
  function get_each_context(ctx, list, i) {
@@ -10916,7 +10929,7 @@
10916
10929
  constructor(options) {
10917
10930
  super();
10918
10931
  const style = document.createElement('style');
10919
- style.textContent = `lottery-program-wof-private-item{width:480px;display:inline-block}: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}.Root{display:flex;align-items:center;flex-direction:column;padding:20px 0;background:var(--emfe-w-color-contrast, #07072A)}.NoContent{color:rgb(255, 255, 255);min-height:300px;display:flex;justify-content:center;align-items:center;font-size:16px}.CommonContainer{display:flex;flex-wrap:wrap;justify-content:center}`;
10932
+ style.textContent = `lottery-program-wof-private-item{width:480px;display:inline-block}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Root{display:flex;align-items:center;flex-direction:column;padding:20px 0;background:var(--emfe-w-color-contrast, #07072A)}.NoContent{color:rgb(255, 255, 255);min-height:300px;display:flex;justify-content:center;align-items:center;font-size:16px}.CommonContainer{display:flex;flex-wrap:wrap;justify-content:center}`;
10920
10933
  this.shadowRoot.appendChild(style);
10921
10934
 
10922
10935
  init(