@everymatrix/player-bonus-history 1.49.2 → 1.50.1
Sign up to get free protection for your applications and to get access to all the features.
- package/components/{PlayerBonusCard-c7uGr4D2.js → PlayerBonusCard-BM2mjIL2.js} +562 -556
- package/components/{PlayerBonusCard-BHtjhHA4.cjs → PlayerBonusCard-gHXbbkkW.cjs} +7 -7
- package/components/{PlayerBonusHistory-Bwn0vTfu.js → PlayerBonusHistory-BBbarJ0C.js} +482 -3
- package/components/{PlayerBonusHistory-Bf9QTgAU.cjs → PlayerBonusHistory-CfHM7IPY.cjs} +481 -3
- package/es2015/player-bonus-history.cjs +1 -1
- package/es2015/player-bonus-history.js +1 -1
- package/package.json +1 -1
@@ -26,7 +26,7 @@ var rt = (s, t, e) => new Promise((o, i) => {
|
|
26
26
|
}, a = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(r, n);
|
27
27
|
a((e = e.apply(s, t)).next());
|
28
28
|
});
|
29
|
-
import { a as Mr, $ as Ir, S as Nr, i as zr, f as ee, c as Fr, s as Br, b as Lr, e as D, d as J, n as Xo, g as Q, h as Rr, j as Hr, k as nt, o as $r, l as zt, m as Vr, p as $, t as U, q as x, r as m, u as g, v as he, w as Pe, x as Ce, y as ft, z as js, A as Yr, B as qs } from "./PlayerBonusCard-
|
29
|
+
import { a as Mr, $ as Ir, S as Nr, i as zr, f as ee, c as Fr, s as Br, b as Lr, e as D, d as J, n as Xo, g as Q, h as Rr, j as Hr, k as nt, o as $r, l as zt, m as Vr, p as $, t as U, q as x, r as m, u as g, v as he, w as Pe, x as Ce, y as ft, z as js, A as Yr, B as qs } from "./PlayerBonusCard-BM2mjIL2.js";
|
30
30
|
if (typeof window != "undefined") {
|
31
31
|
let s = function(t) {
|
32
32
|
return function(...e) {
|
@@ -39,7 +39,7 @@ if (typeof window != "undefined") {
|
|
39
39
|
}
|
40
40
|
};
|
41
41
|
};
|
42
|
-
customElements.define = s(customElements.define), import("./PlayerBonusCard-
|
42
|
+
customElements.define = s(customElements.define), import("./PlayerBonusCard-BM2mjIL2.js").then((t) => t.P).then(({ default: t }) => {
|
43
43
|
!customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
|
44
44
|
});
|
45
45
|
}
|
@@ -4786,7 +4786,7 @@ const Fa = O((s) => {
|
|
4786
4786
|
* Google as part of the polymer project is also subject to an additional IP
|
4787
4787
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
4788
4788
|
*/
|
4789
|
-
const Ba = "3.5.
|
4789
|
+
const Ba = "3.5.2", Es = window.ShadyCSS && window.ShadyCSS.cssBuild, La = O((s) => {
|
4790
4790
|
const t = Fa(Io(s));
|
4791
4791
|
function e(l) {
|
4792
4792
|
if (!l.hasOwnProperty(
|
@@ -6938,6 +6938,485 @@ const ks = function(s, t) {
|
|
6938
6938
|
};
|
6939
6939
|
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = ul());
|
6940
6940
|
function ml() {
|
6941
|
+
/*! vaadin-dev-mode:start
|
6942
|
+
(function () {
|
6943
|
+
'use strict';
|
6944
|
+
|
6945
|
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
|
6946
|
+
return typeof obj;
|
6947
|
+
} : function (obj) {
|
6948
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
6949
|
+
};
|
6950
|
+
|
6951
|
+
var classCallCheck = function (instance, Constructor) {
|
6952
|
+
if (!(instance instanceof Constructor)) {
|
6953
|
+
throw new TypeError("Cannot call a class as a function");
|
6954
|
+
}
|
6955
|
+
};
|
6956
|
+
|
6957
|
+
var createClass = function () {
|
6958
|
+
function defineProperties(target, props) {
|
6959
|
+
for (var i = 0; i < props.length; i++) {
|
6960
|
+
var descriptor = props[i];
|
6961
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
6962
|
+
descriptor.configurable = true;
|
6963
|
+
if ("value" in descriptor) descriptor.writable = true;
|
6964
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
6965
|
+
}
|
6966
|
+
}
|
6967
|
+
|
6968
|
+
return function (Constructor, protoProps, staticProps) {
|
6969
|
+
if (protoProps) defineProperties(Constructor.prototype, protoProps);
|
6970
|
+
if (staticProps) defineProperties(Constructor, staticProps);
|
6971
|
+
return Constructor;
|
6972
|
+
};
|
6973
|
+
}();
|
6974
|
+
|
6975
|
+
var getPolymerVersion = function getPolymerVersion() {
|
6976
|
+
return window.Polymer && window.Polymer.version;
|
6977
|
+
};
|
6978
|
+
|
6979
|
+
var StatisticsGatherer = function () {
|
6980
|
+
function StatisticsGatherer(logger) {
|
6981
|
+
classCallCheck(this, StatisticsGatherer);
|
6982
|
+
|
6983
|
+
this.now = new Date().getTime();
|
6984
|
+
this.logger = logger;
|
6985
|
+
}
|
6986
|
+
|
6987
|
+
createClass(StatisticsGatherer, [{
|
6988
|
+
key: 'frameworkVersionDetectors',
|
6989
|
+
value: function frameworkVersionDetectors() {
|
6990
|
+
return {
|
6991
|
+
'Flow': function Flow() {
|
6992
|
+
if (window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients) {
|
6993
|
+
var flowVersions = Object.keys(window.Vaadin.Flow.clients).map(function (key) {
|
6994
|
+
return window.Vaadin.Flow.clients[key];
|
6995
|
+
}).filter(function (client) {
|
6996
|
+
return client.getVersionInfo;
|
6997
|
+
}).map(function (client) {
|
6998
|
+
return client.getVersionInfo().flow;
|
6999
|
+
});
|
7000
|
+
if (flowVersions.length > 0) {
|
7001
|
+
return flowVersions[0];
|
7002
|
+
}
|
7003
|
+
}
|
7004
|
+
},
|
7005
|
+
'Vaadin Framework': function VaadinFramework() {
|
7006
|
+
if (window.vaadin && window.vaadin.clients) {
|
7007
|
+
var frameworkVersions = Object.values(window.vaadin.clients).filter(function (client) {
|
7008
|
+
return client.getVersionInfo;
|
7009
|
+
}).map(function (client) {
|
7010
|
+
return client.getVersionInfo().vaadinVersion;
|
7011
|
+
});
|
7012
|
+
if (frameworkVersions.length > 0) {
|
7013
|
+
return frameworkVersions[0];
|
7014
|
+
}
|
7015
|
+
}
|
7016
|
+
},
|
7017
|
+
'AngularJs': function AngularJs() {
|
7018
|
+
if (window.angular && window.angular.version && window.angular.version) {
|
7019
|
+
return window.angular.version.full;
|
7020
|
+
}
|
7021
|
+
},
|
7022
|
+
'Angular': function Angular() {
|
7023
|
+
if (window.ng) {
|
7024
|
+
var tags = document.querySelectorAll("[ng-version]");
|
7025
|
+
if (tags.length > 0) {
|
7026
|
+
return tags[0].getAttribute("ng-version");
|
7027
|
+
}
|
7028
|
+
return "Unknown";
|
7029
|
+
}
|
7030
|
+
},
|
7031
|
+
'Backbone.js': function BackboneJs() {
|
7032
|
+
if (window.Backbone) {
|
7033
|
+
return window.Backbone.VERSION;
|
7034
|
+
}
|
7035
|
+
},
|
7036
|
+
'React': function React() {
|
7037
|
+
var reactSelector = '[data-reactroot], [data-reactid]';
|
7038
|
+
if (!!document.querySelector(reactSelector)) {
|
7039
|
+
// React does not publish the version by default
|
7040
|
+
return "unknown";
|
7041
|
+
}
|
7042
|
+
},
|
7043
|
+
'Ember': function Ember() {
|
7044
|
+
if (window.Em && window.Em.VERSION) {
|
7045
|
+
return window.Em.VERSION;
|
7046
|
+
} else if (window.Ember && window.Ember.VERSION) {
|
7047
|
+
return window.Ember.VERSION;
|
7048
|
+
}
|
7049
|
+
},
|
7050
|
+
'jQuery': function (_jQuery) {
|
7051
|
+
function jQuery() {
|
7052
|
+
return _jQuery.apply(this, arguments);
|
7053
|
+
}
|
7054
|
+
|
7055
|
+
jQuery.toString = function () {
|
7056
|
+
return _jQuery.toString();
|
7057
|
+
};
|
7058
|
+
|
7059
|
+
return jQuery;
|
7060
|
+
}(function () {
|
7061
|
+
if (typeof jQuery === 'function' && jQuery.prototype.jquery !== undefined) {
|
7062
|
+
return jQuery.prototype.jquery;
|
7063
|
+
}
|
7064
|
+
}),
|
7065
|
+
'Polymer': function Polymer() {
|
7066
|
+
var version = getPolymerVersion();
|
7067
|
+
if (version) {
|
7068
|
+
return version;
|
7069
|
+
}
|
7070
|
+
},
|
7071
|
+
'LitElement': function LitElement() {
|
7072
|
+
var version = window.litElementVersions && window.litElementVersions[0];
|
7073
|
+
if (version) {
|
7074
|
+
return version;
|
7075
|
+
}
|
7076
|
+
},
|
7077
|
+
'LitHtml': function LitHtml() {
|
7078
|
+
var version = window.litHtmlVersions && window.litHtmlVersions[0];
|
7079
|
+
if (version) {
|
7080
|
+
return version;
|
7081
|
+
}
|
7082
|
+
},
|
7083
|
+
'Vue.js': function VueJs() {
|
7084
|
+
if (window.Vue) {
|
7085
|
+
return window.Vue.version;
|
7086
|
+
}
|
7087
|
+
}
|
7088
|
+
};
|
7089
|
+
}
|
7090
|
+
}, {
|
7091
|
+
key: 'getUsedVaadinElements',
|
7092
|
+
value: function getUsedVaadinElements(elements) {
|
7093
|
+
var version = getPolymerVersion();
|
7094
|
+
var elementClasses = void 0;
|
7095
|
+
// NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow.
|
7096
|
+
// Check all locations calling the method getEntries() in
|
7097
|
+
// https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106
|
7098
|
+
// Currently it is only used by BootstrapHandler.
|
7099
|
+
if (version && version.indexOf('2') === 0) {
|
7100
|
+
// Polymer 2: components classes are stored in window.Vaadin
|
7101
|
+
elementClasses = Object.keys(window.Vaadin).map(function (c) {
|
7102
|
+
return window.Vaadin[c];
|
7103
|
+
}).filter(function (c) {
|
7104
|
+
return c.is;
|
7105
|
+
});
|
7106
|
+
} else {
|
7107
|
+
// Polymer 3: components classes are stored in window.Vaadin.registrations
|
7108
|
+
elementClasses = window.Vaadin.registrations || [];
|
7109
|
+
}
|
7110
|
+
elementClasses.forEach(function (klass) {
|
7111
|
+
var version = klass.version ? klass.version : "0.0.0";
|
7112
|
+
elements[klass.is] = { version: version };
|
7113
|
+
});
|
7114
|
+
}
|
7115
|
+
}, {
|
7116
|
+
key: 'getUsedVaadinThemes',
|
7117
|
+
value: function getUsedVaadinThemes(themes) {
|
7118
|
+
['Lumo', 'Material'].forEach(function (themeName) {
|
7119
|
+
var theme;
|
7120
|
+
var version = getPolymerVersion();
|
7121
|
+
if (version && version.indexOf('2') === 0) {
|
7122
|
+
// Polymer 2: themes are stored in window.Vaadin
|
7123
|
+
theme = window.Vaadin[themeName];
|
7124
|
+
} else {
|
7125
|
+
// Polymer 3: themes are stored in custom element registry
|
7126
|
+
theme = customElements.get('vaadin-' + themeName.toLowerCase() + '-styles');
|
7127
|
+
}
|
7128
|
+
if (theme && theme.version) {
|
7129
|
+
themes[themeName] = { version: theme.version };
|
7130
|
+
}
|
7131
|
+
});
|
7132
|
+
}
|
7133
|
+
}, {
|
7134
|
+
key: 'getFrameworks',
|
7135
|
+
value: function getFrameworks(frameworks) {
|
7136
|
+
var detectors = this.frameworkVersionDetectors();
|
7137
|
+
Object.keys(detectors).forEach(function (framework) {
|
7138
|
+
var detector = detectors[framework];
|
7139
|
+
try {
|
7140
|
+
var version = detector();
|
7141
|
+
if (version) {
|
7142
|
+
frameworks[framework] = { version: version };
|
7143
|
+
}
|
7144
|
+
} catch (e) {}
|
7145
|
+
});
|
7146
|
+
}
|
7147
|
+
}, {
|
7148
|
+
key: 'gather',
|
7149
|
+
value: function gather(storage) {
|
7150
|
+
var storedStats = storage.read();
|
7151
|
+
var gatheredStats = {};
|
7152
|
+
var types = ["elements", "frameworks", "themes"];
|
7153
|
+
|
7154
|
+
types.forEach(function (type) {
|
7155
|
+
gatheredStats[type] = {};
|
7156
|
+
if (!storedStats[type]) {
|
7157
|
+
storedStats[type] = {};
|
7158
|
+
}
|
7159
|
+
});
|
7160
|
+
|
7161
|
+
var previousStats = JSON.stringify(storedStats);
|
7162
|
+
|
7163
|
+
this.getUsedVaadinElements(gatheredStats.elements);
|
7164
|
+
this.getFrameworks(gatheredStats.frameworks);
|
7165
|
+
this.getUsedVaadinThemes(gatheredStats.themes);
|
7166
|
+
|
7167
|
+
var now = this.now;
|
7168
|
+
types.forEach(function (type) {
|
7169
|
+
var keys = Object.keys(gatheredStats[type]);
|
7170
|
+
keys.forEach(function (key) {
|
7171
|
+
if (!storedStats[type][key] || _typeof(storedStats[type][key]) != _typeof({})) {
|
7172
|
+
storedStats[type][key] = { firstUsed: now };
|
7173
|
+
}
|
7174
|
+
// Discards any previously logged version number
|
7175
|
+
storedStats[type][key].version = gatheredStats[type][key].version;
|
7176
|
+
storedStats[type][key].lastUsed = now;
|
7177
|
+
});
|
7178
|
+
});
|
7179
|
+
|
7180
|
+
var newStats = JSON.stringify(storedStats);
|
7181
|
+
storage.write(newStats);
|
7182
|
+
if (newStats != previousStats && Object.keys(storedStats).length > 0) {
|
7183
|
+
this.logger.debug("New stats: " + newStats);
|
7184
|
+
}
|
7185
|
+
}
|
7186
|
+
}]);
|
7187
|
+
return StatisticsGatherer;
|
7188
|
+
}();
|
7189
|
+
|
7190
|
+
var StatisticsStorage = function () {
|
7191
|
+
function StatisticsStorage(key) {
|
7192
|
+
classCallCheck(this, StatisticsStorage);
|
7193
|
+
|
7194
|
+
this.key = key;
|
7195
|
+
}
|
7196
|
+
|
7197
|
+
createClass(StatisticsStorage, [{
|
7198
|
+
key: 'read',
|
7199
|
+
value: function read() {
|
7200
|
+
var localStorageStatsString = localStorage.getItem(this.key);
|
7201
|
+
try {
|
7202
|
+
return JSON.parse(localStorageStatsString ? localStorageStatsString : '{}');
|
7203
|
+
} catch (e) {
|
7204
|
+
return {};
|
7205
|
+
}
|
7206
|
+
}
|
7207
|
+
}, {
|
7208
|
+
key: 'write',
|
7209
|
+
value: function write(data) {
|
7210
|
+
localStorage.setItem(this.key, data);
|
7211
|
+
}
|
7212
|
+
}, {
|
7213
|
+
key: 'clear',
|
7214
|
+
value: function clear() {
|
7215
|
+
localStorage.removeItem(this.key);
|
7216
|
+
}
|
7217
|
+
}, {
|
7218
|
+
key: 'isEmpty',
|
7219
|
+
value: function isEmpty() {
|
7220
|
+
var storedStats = this.read();
|
7221
|
+
var empty = true;
|
7222
|
+
Object.keys(storedStats).forEach(function (key) {
|
7223
|
+
if (Object.keys(storedStats[key]).length > 0) {
|
7224
|
+
empty = false;
|
7225
|
+
}
|
7226
|
+
});
|
7227
|
+
|
7228
|
+
return empty;
|
7229
|
+
}
|
7230
|
+
}]);
|
7231
|
+
return StatisticsStorage;
|
7232
|
+
}();
|
7233
|
+
|
7234
|
+
var StatisticsSender = function () {
|
7235
|
+
function StatisticsSender(url, logger) {
|
7236
|
+
classCallCheck(this, StatisticsSender);
|
7237
|
+
|
7238
|
+
this.url = url;
|
7239
|
+
this.logger = logger;
|
7240
|
+
}
|
7241
|
+
|
7242
|
+
createClass(StatisticsSender, [{
|
7243
|
+
key: 'send',
|
7244
|
+
value: function send(data, errorHandler) {
|
7245
|
+
var logger = this.logger;
|
7246
|
+
|
7247
|
+
if (navigator.onLine === false) {
|
7248
|
+
logger.debug("Offline, can't send");
|
7249
|
+
errorHandler();
|
7250
|
+
return;
|
7251
|
+
}
|
7252
|
+
logger.debug("Sending data to " + this.url);
|
7253
|
+
|
7254
|
+
var req = new XMLHttpRequest();
|
7255
|
+
req.withCredentials = true;
|
7256
|
+
req.addEventListener("load", function () {
|
7257
|
+
// Stats sent, nothing more to do
|
7258
|
+
logger.debug("Response: " + req.responseText);
|
7259
|
+
});
|
7260
|
+
req.addEventListener("error", function () {
|
7261
|
+
logger.debug("Send failed");
|
7262
|
+
errorHandler();
|
7263
|
+
});
|
7264
|
+
req.addEventListener("abort", function () {
|
7265
|
+
logger.debug("Send aborted");
|
7266
|
+
errorHandler();
|
7267
|
+
});
|
7268
|
+
req.open("POST", this.url);
|
7269
|
+
req.setRequestHeader("Content-Type", "application/json");
|
7270
|
+
req.send(data);
|
7271
|
+
}
|
7272
|
+
}]);
|
7273
|
+
return StatisticsSender;
|
7274
|
+
}();
|
7275
|
+
|
7276
|
+
var StatisticsLogger = function () {
|
7277
|
+
function StatisticsLogger(id) {
|
7278
|
+
classCallCheck(this, StatisticsLogger);
|
7279
|
+
|
7280
|
+
this.id = id;
|
7281
|
+
}
|
7282
|
+
|
7283
|
+
createClass(StatisticsLogger, [{
|
7284
|
+
key: '_isDebug',
|
7285
|
+
value: function _isDebug() {
|
7286
|
+
return localStorage.getItem("vaadin." + this.id + ".debug");
|
7287
|
+
}
|
7288
|
+
}, {
|
7289
|
+
key: 'debug',
|
7290
|
+
value: function debug(msg) {
|
7291
|
+
if (this._isDebug()) {
|
7292
|
+
console.info(this.id + ": " + msg);
|
7293
|
+
}
|
7294
|
+
}
|
7295
|
+
}]);
|
7296
|
+
return StatisticsLogger;
|
7297
|
+
}();
|
7298
|
+
|
7299
|
+
var UsageStatistics = function () {
|
7300
|
+
function UsageStatistics() {
|
7301
|
+
classCallCheck(this, UsageStatistics);
|
7302
|
+
|
7303
|
+
this.now = new Date();
|
7304
|
+
this.timeNow = this.now.getTime();
|
7305
|
+
this.gatherDelay = 10; // Delay between loading this file and gathering stats
|
7306
|
+
this.initialDelay = 24 * 60 * 60;
|
7307
|
+
|
7308
|
+
this.logger = new StatisticsLogger("statistics");
|
7309
|
+
this.storage = new StatisticsStorage("vaadin.statistics.basket");
|
7310
|
+
this.gatherer = new StatisticsGatherer(this.logger);
|
7311
|
+
this.sender = new StatisticsSender("https://tools.vaadin.com/usage-stats/submit", this.logger);
|
7312
|
+
}
|
7313
|
+
|
7314
|
+
createClass(UsageStatistics, [{
|
7315
|
+
key: 'maybeGatherAndSend',
|
7316
|
+
value: function maybeGatherAndSend() {
|
7317
|
+
var _this = this;
|
7318
|
+
|
7319
|
+
if (localStorage.getItem(UsageStatistics.optOutKey)) {
|
7320
|
+
return;
|
7321
|
+
}
|
7322
|
+
this.gatherer.gather(this.storage);
|
7323
|
+
setTimeout(function () {
|
7324
|
+
_this.maybeSend();
|
7325
|
+
}, this.gatherDelay * 1000);
|
7326
|
+
}
|
7327
|
+
}, {
|
7328
|
+
key: 'lottery',
|
7329
|
+
value: function lottery() {
|
7330
|
+
return true;
|
7331
|
+
}
|
7332
|
+
}, {
|
7333
|
+
key: 'currentMonth',
|
7334
|
+
value: function currentMonth() {
|
7335
|
+
return this.now.getYear() * 12 + this.now.getMonth();
|
7336
|
+
}
|
7337
|
+
}, {
|
7338
|
+
key: 'maybeSend',
|
7339
|
+
value: function maybeSend() {
|
7340
|
+
var firstUse = Number(localStorage.getItem(UsageStatistics.firstUseKey));
|
7341
|
+
var monthProcessed = Number(localStorage.getItem(UsageStatistics.monthProcessedKey));
|
7342
|
+
|
7343
|
+
if (!firstUse) {
|
7344
|
+
// Use a grace period to avoid interfering with tests, incognito mode etc
|
7345
|
+
firstUse = this.timeNow;
|
7346
|
+
localStorage.setItem(UsageStatistics.firstUseKey, firstUse);
|
7347
|
+
}
|
7348
|
+
|
7349
|
+
if (this.timeNow < firstUse + this.initialDelay * 1000) {
|
7350
|
+
this.logger.debug("No statistics will be sent until the initial delay of " + this.initialDelay + "s has passed");
|
7351
|
+
return;
|
7352
|
+
}
|
7353
|
+
if (this.currentMonth() <= monthProcessed) {
|
7354
|
+
this.logger.debug("This month has already been processed");
|
7355
|
+
return;
|
7356
|
+
}
|
7357
|
+
localStorage.setItem(UsageStatistics.monthProcessedKey, this.currentMonth());
|
7358
|
+
// Use random sampling
|
7359
|
+
if (this.lottery()) {
|
7360
|
+
this.logger.debug("Congratulations, we have a winner!");
|
7361
|
+
} else {
|
7362
|
+
this.logger.debug("Sorry, no stats from you this time");
|
7363
|
+
return;
|
7364
|
+
}
|
7365
|
+
|
7366
|
+
this.send();
|
7367
|
+
}
|
7368
|
+
}, {
|
7369
|
+
key: 'send',
|
7370
|
+
value: function send() {
|
7371
|
+
// Ensure we have the latest data
|
7372
|
+
this.gatherer.gather(this.storage);
|
7373
|
+
|
7374
|
+
// Read, send and clean up
|
7375
|
+
var data = this.storage.read();
|
7376
|
+
data["firstUse"] = Number(localStorage.getItem(UsageStatistics.firstUseKey));
|
7377
|
+
data["usageStatisticsVersion"] = UsageStatistics.version;
|
7378
|
+
var info = 'This request contains usage statistics gathered from the application running in development mode. \n\nStatistics gathering is automatically disabled and excluded from production builds.\n\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\n\n\n\n';
|
7379
|
+
var self = this;
|
7380
|
+
this.sender.send(info + JSON.stringify(data), function () {
|
7381
|
+
// Revert the 'month processed' flag
|
7382
|
+
localStorage.setItem(UsageStatistics.monthProcessedKey, self.currentMonth() - 1);
|
7383
|
+
});
|
7384
|
+
}
|
7385
|
+
}], [{
|
7386
|
+
key: 'version',
|
7387
|
+
get: function get$1() {
|
7388
|
+
return '2.1.2';
|
7389
|
+
}
|
7390
|
+
}, {
|
7391
|
+
key: 'firstUseKey',
|
7392
|
+
get: function get$1() {
|
7393
|
+
return 'vaadin.statistics.firstuse';
|
7394
|
+
}
|
7395
|
+
}, {
|
7396
|
+
key: 'monthProcessedKey',
|
7397
|
+
get: function get$1() {
|
7398
|
+
return 'vaadin.statistics.monthProcessed';
|
7399
|
+
}
|
7400
|
+
}, {
|
7401
|
+
key: 'optOutKey',
|
7402
|
+
get: function get$1() {
|
7403
|
+
return 'vaadin.statistics.optout';
|
7404
|
+
}
|
7405
|
+
}]);
|
7406
|
+
return UsageStatistics;
|
7407
|
+
}();
|
7408
|
+
|
7409
|
+
try {
|
7410
|
+
window.Vaadin = window.Vaadin || {};
|
7411
|
+
window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics();
|
7412
|
+
window.Vaadin.usageStatsChecker.maybeGatherAndSend();
|
7413
|
+
} catch (e) {
|
7414
|
+
// Intentionally ignored as this is not a problem in the app being developed
|
7415
|
+
}
|
7416
|
+
|
7417
|
+
}());
|
7418
|
+
|
7419
|
+
vaadin-dev-mode:end **/
|
6941
7420
|
}
|
6942
7421
|
const fl = function() {
|
6943
7422
|
if (typeof ks == "function")
|