PluginProbe ʕ •ᴥ•ʔ
Independent Analytics – WordPress Analytics Plugin / 1.10
Independent Analytics – WordPress Analytics Plugin v1.10
2.15.0 2.14.10 trunk 1.1 1.10 1.10.1 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.18 1.18.1 1.19.0 1.19.1 1.2 1.20.0 1.21.0 1.22.0 1.22.1 1.23.0 1.23.1 1.24.0 1.24.1 1.25.0 1.25.1 1.26.0 1.27.0 1.28.0 1.28.1 1.28.2 1.28.3 1.29.0 1.3 1.30.0 1.30.1 1.4 1.5 1.6 1.7 1.8 1.9 2.0.0 2.0.1 2.1.4 2.1.5 2.1.6 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.10 2.11.2 2.11.3 2.11.4 2.11.5 2.11.6 2.11.7 2.11.8 2.11.9 2.12.0 2.12.1 2.12.2 2.13.1 2.13.2 2.13.5 2.13.6 2.14.0 2.14.1 2.14.2 2.14.4 2.14.6 2.14.7 2.14.8 2.14.9 2.2.0 2.2.1 2.3.1 2.3.2 2.4.2 2.4.3 2.5.0 2.5.1 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.7.0 2.7.1 2.7.2 2.7.3 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7
independent-analytics / dist / js / settings.js
independent-analytics / dist / js Last commit date
dashboard_widget.js 3 years ago dashboard_widget.js.map 3 years ago data-table.js 3 years ago data-table.js.map 3 years ago index.js 3 years ago index.js.map 3 years ago learn.js 3 years ago learn.js.map 3 years ago settings.js 3 years ago settings.js.map 3 years ago
settings.js
207 lines
1 // modules are defined as an array
2 // [ module function, map of requires ]
3 //
4 // map of requires is short require name -> numeric require
5 //
6 // anything defined in a previous bundle is accessed via the
7 // orig method which is the require for previous bundles
8
9 (function (modules, entry, mainEntry, parcelRequireName, globalName) {
10 /* eslint-disable no-undef */
11 var globalObject =
12 typeof globalThis !== 'undefined'
13 ? globalThis
14 : typeof self !== 'undefined'
15 ? self
16 : typeof window !== 'undefined'
17 ? window
18 : typeof global !== 'undefined'
19 ? global
20 : {};
21 /* eslint-enable no-undef */
22
23 // Save the require from previous bundle to this closure if any
24 var previousRequire =
25 typeof globalObject[parcelRequireName] === 'function' &&
26 globalObject[parcelRequireName];
27
28 var cache = previousRequire.cache || {};
29 // Do not use `require` to prevent Webpack from trying to bundle this call
30 var nodeRequire =
31 typeof module !== 'undefined' &&
32 typeof module.require === 'function' &&
33 module.require.bind(module);
34
35 function newRequire(name, jumped) {
36 if (!cache[name]) {
37 if (!modules[name]) {
38 // if we cannot find the module within our internal map or
39 // cache jump to the current global require ie. the last bundle
40 // that was added to the page.
41 var currentRequire =
42 typeof globalObject[parcelRequireName] === 'function' &&
43 globalObject[parcelRequireName];
44 if (!jumped && currentRequire) {
45 return currentRequire(name, true);
46 }
47
48 // If there are other bundles on this page the require from the
49 // previous one is saved to 'previousRequire'. Repeat this as
50 // many times as there are bundles until the module is found or
51 // we exhaust the require chain.
52 if (previousRequire) {
53 return previousRequire(name, true);
54 }
55
56 // Try the node require function if it exists.
57 if (nodeRequire && typeof name === 'string') {
58 return nodeRequire(name);
59 }
60
61 var err = new Error("Cannot find module '" + name + "'");
62 err.code = 'MODULE_NOT_FOUND';
63 throw err;
64 }
65
66 localRequire.resolve = resolve;
67 localRequire.cache = {};
68
69 var module = (cache[name] = new newRequire.Module(name));
70
71 modules[name][0].call(
72 module.exports,
73 localRequire,
74 module,
75 module.exports,
76 this
77 );
78 }
79
80 return cache[name].exports;
81
82 function localRequire(x) {
83 var res = localRequire.resolve(x);
84 return res === false ? {} : newRequire(res);
85 }
86
87 function resolve(x) {
88 var id = modules[name][1][x];
89 return id != null ? id : x;
90 }
91 }
92
93 function Module(moduleName) {
94 this.id = moduleName;
95 this.bundle = newRequire;
96 this.exports = {};
97 }
98
99 newRequire.isParcelRequire = true;
100 newRequire.Module = Module;
101 newRequire.modules = modules;
102 newRequire.cache = cache;
103 newRequire.parent = previousRequire;
104 newRequire.register = function (id, exports) {
105 modules[id] = [
106 function (require, module) {
107 module.exports = exports;
108 },
109 {},
110 ];
111 };
112
113 Object.defineProperty(newRequire, 'root', {
114 get: function () {
115 return globalObject[parcelRequireName];
116 },
117 });
118
119 globalObject[parcelRequireName] = newRequire;
120
121 for (var i = 0; i < entry.length; i++) {
122 newRequire(entry[i]);
123 }
124
125 if (mainEntry) {
126 // Expose entry point to Node, AMD or browser globals
127 // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js
128 var mainExports = newRequire(mainEntry);
129
130 // CommonJS
131 if (typeof exports === 'object' && typeof module !== 'undefined') {
132 module.exports = mainExports;
133
134 // RequireJS
135 } else if (typeof define === 'function' && define.amd) {
136 define(function () {
137 return mainExports;
138 });
139
140 // <script>
141 } else if (globalName) {
142 this[globalName] = mainExports;
143 }
144 }
145 })({"hc0kI":[function(require,module,exports) {
146 document.addEventListener("DOMContentLoaded", function() {
147 var download_csv = function download_csv(fileName, data) {
148 var blob = new Blob([
149 data
150 ], {
151 type: "text/csv"
152 });
153 var element = window.document.createElement("a");
154 element.href = window.URL.createObjectURL(blob);
155 element.download = fileName;
156 document.body.appendChild(element);
157 element.click();
158 document.body.removeChild(element);
159 };
160 document.getElementById("iawp-export-views").addEventListener("click", function(e) {
161 var button = e.target;
162 button.textContent = "Exporting views...";
163 button.setAttribute("disabled", "disabled");
164 var data = {
165 "action": "iawp_export_views",
166 "iawp_export_views_nonce": IAWP_AJAX.export_views_nonce
167 };
168 jQuery.post(ajaxurl, data, function(response) {
169 download_csv("exported-views.csv", response);
170 button.textContent = "Export views";
171 button.removeAttribute("disabled");
172 });
173 });
174 document.getElementById("iawp-export-referrers").addEventListener("click", function(e) {
175 var button = e.target;
176 button.textContent = "Exporting referrers...";
177 button.setAttribute("disabled", "disabled");
178 var data = {
179 "action": "iawp_export_referrers",
180 "iawp_export_referrers_nonce": IAWP_AJAX.export_referrers_nonce
181 };
182 jQuery.post(ajaxurl, data, function(response) {
183 download_csv("exported-referrers.csv", response);
184 button.textContent = "Export referrers";
185 button.removeAttribute("disabled");
186 });
187 });
188 document.getElementById("iawp-export-geo").addEventListener("click", function(e) {
189 var button = e.target;
190 button.textContent = "Exporting geo...";
191 button.setAttribute("disabled", "disabled");
192 var data = {
193 "action": "iawp_export_geo",
194 "iawp_export_geo_nonce": IAWP_AJAX.export_geo_nonce
195 };
196 jQuery.post(ajaxurl, data, function(response) {
197 download_csv("exported-geo.csv", response);
198 button.textContent = "Export geo";
199 button.removeAttribute("disabled");
200 });
201 });
202 });
203
204 },{}]},["hc0kI"], "hc0kI", "parcelRequirec571")
205
206 //# sourceMappingURL=settings.js.map
207