@iyulab/u-insight 0.10.0 → 0.10.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.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "iyulab"
6
6
  ],
7
7
  "description": "Statistical analysis and data profiling engine with C FFI bindings.",
8
- "version": "0.10.0",
8
+ "version": "0.10.1",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
@@ -29,4 +29,4 @@
29
29
  "analytics",
30
30
  "ffi"
31
31
  ]
32
- }
32
+ }
package/u_insight.d.ts CHANGED
@@ -15,7 +15,7 @@
15
15
  * Standard threshold: `cond > 30` indicates multicollinearity (Belsley 1991).
16
16
  * Returns `Infinity` for numerically singular input.
17
17
  */
18
- export function condition_number_diagnostic(data_json: any): any;
18
+ export function condition_number_diagnostic(data: any): any;
19
19
 
20
20
  /**
21
21
  * Computes a correlation matrix for a column-major dataset.
@@ -32,22 +32,22 @@ export function condition_number_diagnostic(data_json: any): any;
32
32
  * # Output
33
33
  * `{ names, matrix (flattened n×n), n, high_pairs }`
34
34
  */
35
- export function correlation_matrix(data_json: any): any;
35
+ export function correlation_matrix(data: any): any;
36
36
 
37
37
  /**
38
38
  * Runs DBSCAN density-based clustering on row-major data.
39
39
  *
40
40
  * # Input
41
41
  *
42
- * `data_json`: row-major points `[[x,y,...], ...]`
42
+ * `data`: row-major points `[[x,y,...], ...]`
43
43
  *
44
- * `config_json`: `{ "epsilon": 1.5, "min_samples": 3 }`
44
+ * `config`: `{ "epsilon": 1.5, "min_samples": 3 }`
45
45
  *
46
46
  * # Output
47
47
  *
48
48
  * `{ labels, n_clusters, noise_count, cluster_sizes, core_points }`
49
49
  */
50
- export function dbscan(data_json: any, config_json: any): any;
50
+ export function dbscan(data: any, config: any): any;
51
51
 
52
52
  /**
53
53
  * Returns descriptive statistics for each column in a column-major dataset.
@@ -67,7 +67,7 @@ export function dbscan(data_json: any, config_json: any): any;
67
67
  * # Output
68
68
  * Array of column profile objects, one per column.
69
69
  */
70
- export function describe(data_json: any): any;
70
+ export function describe(data: any): any;
71
71
 
72
72
  /**
73
73
  * Univariate outlier detection on a flat numeric vector.
@@ -85,16 +85,16 @@ export function describe(data_json: any): any;
85
85
  * `method` aliases: `tukey` → IQR Tukey fences (k=1.5), `three_sigma` →
86
86
  * mean ± 3·σ, `hampel` → robust median ± 3.5·(MAD/0.6745).
87
87
  */
88
- export function detect_univariate_outliers(data_json: any): any;
88
+ export function detect_univariate_outliers(data: any): any;
89
89
 
90
90
  /**
91
91
  * Runs distribution analysis on a 1-D numeric array.
92
92
  *
93
93
  * # Input
94
94
  *
95
- * `data_json`: flat array `[1.0, 2.0, 3.0, ...]`
95
+ * `data`: flat array `[1.0, 2.0, 3.0, ...]`
96
96
  *
97
- * `config_json`: `{ "bin_method": "freedman_diaconis", "significance_level": 0.05,
97
+ * `config`: `{ "bin_method": "freedman_diaconis", "significance_level": 0.05,
98
98
  * "compute_ecdf": true, "compute_histogram": true, "compute_qq_plot": true,
99
99
  * "fit_distributions": false }`
100
100
  *
@@ -102,14 +102,14 @@ export function detect_univariate_outliers(data_json: any): any;
102
102
  *
103
103
  * `{ n, ecdf, histogram, qq_plot, normality, fits }`
104
104
  */
105
- export function distribution_analysis(data_json: any, config_json: any): any;
105
+ export function distribution_analysis(data: any, config: any): any;
106
106
 
107
107
  /**
108
108
  * Computes feature importance using one of three methods.
109
109
  *
110
110
  * # Input
111
111
  *
112
- * `data_json`:
112
+ * `data`:
113
113
  * ```json
114
114
  * {
115
115
  * "features": { "f1": [1,2,3,4,5], "f2": [5,4,3,2,1] },
@@ -127,38 +127,38 @@ export function distribution_analysis(data_json: any, config_json: any): any;
127
127
  *
128
128
  * `{ method, features: [{ name, index, score, std_dev?, p_value? }], baseline_score?, selected_indices? }`
129
129
  */
130
- export function feature_importance(data_json: any): any;
130
+ export function feature_importance(data: any): any;
131
131
 
132
132
  /**
133
133
  * Runs hierarchical agglomerative clustering on row-major data.
134
134
  *
135
135
  * # Input
136
136
  *
137
- * `data_json`: row-major points `[[x,y,...], ...]`
137
+ * `data`: row-major points `[[x,y,...], ...]`
138
138
  *
139
- * `config_json`: `{ "linkage": "ward", "n_clusters": 3 }` or
139
+ * `config`: `{ "linkage": "ward", "n_clusters": 3 }` or
140
140
  * `{ "linkage": "single", "distance_threshold": 5.0 }`
141
141
  *
142
142
  * # Output
143
143
  *
144
144
  * `{ merges, labels, n_clusters }`
145
145
  */
146
- export function hierarchical(data_json: any, config_json: any): any;
146
+ export function hierarchical(data: any, config: any): any;
147
147
 
148
148
  /**
149
149
  * Runs Isolation Forest anomaly detection on row-major data.
150
150
  *
151
151
  * # Input
152
152
  *
153
- * `data_json`: row-major points `[[x,y,...], ...]`
153
+ * `data`: row-major points `[[x,y,...], ...]`
154
154
  *
155
- * `config_json`: `{ "n_estimators": 100, "contamination": 0.1, "seed": 42 }`
155
+ * `config`: `{ "n_estimators": 100, "contamination": 0.1, "seed": 42 }`
156
156
  *
157
157
  * # Output
158
158
  *
159
159
  * `{ scores, anomalies, threshold, anomaly_count, anomaly_fraction }`
160
160
  */
161
- export function isolation_forest(data_json: any, config_json: any): any;
161
+ export function isolation_forest(data: any, config: any): any;
162
162
 
163
163
  /**
164
164
  * Runs K-Means++ clustering on row-major data.
@@ -171,22 +171,22 @@ export function isolation_forest(data_json: any, config_json: any): any;
171
171
  * # Output
172
172
  * `{ k, labels, centroids, wcss, iterations, cluster_sizes }`
173
173
  */
174
- export function kmeans(data_json: any, k: number): any;
174
+ export function kmeans(data: any, k: number): any;
175
175
 
176
176
  /**
177
177
  * Runs Local Outlier Factor anomaly detection on row-major data.
178
178
  *
179
179
  * # Input
180
180
  *
181
- * `data_json`: row-major points `[[x,y,...], ...]`
181
+ * `data`: row-major points `[[x,y,...], ...]`
182
182
  *
183
- * `config_json`: `{ "k": 20, "threshold": 1.5 }`
183
+ * `config`: `{ "k": 20, "threshold": 1.5 }`
184
184
  *
185
185
  * # Output
186
186
  *
187
187
  * `{ scores, anomalies, threshold, anomaly_count, anomaly_fraction }`
188
188
  */
189
- export function lof(data_json: any, config_json: any): any;
189
+ export function lof(data: any, config: any): any;
190
190
 
191
191
  /**
192
192
  * Runs Principal Component Analysis on row-major data.
@@ -199,14 +199,14 @@ export function lof(data_json: any, config_json: any): any;
199
199
  * # Output
200
200
  * `{ n_components, n_features, eigenvalues, explained_variance_ratio, ... }`
201
201
  */
202
- export function pca(data_json: any, n_components: number): any;
202
+ export function pca(data: any, n_components: number): any;
203
203
 
204
204
  /**
205
205
  * Runs OLS regression analysis.
206
206
  *
207
207
  * # Input
208
208
  *
209
- * `data_json`:
209
+ * `data`:
210
210
  * ```json
211
211
  * {
212
212
  * "predictors": { "x1": [1,2,3,4,5], "x2": [2,4,6,8,10] },
@@ -219,14 +219,14 @@ export function pca(data_json: any, n_components: number): any;
219
219
  *
220
220
  * `{ target_name, predictor_names, r_squared, adj_r_squared, coefficients, p_values, vif, f_p_value }`
221
221
  */
222
- export function regression(data_json: any): any;
222
+ export function regression(data: any): any;
223
223
 
224
224
  /**
225
225
  * Computes silhouette scores for an existing clustering assignment.
226
226
  *
227
227
  * # Input
228
- * `data_json`: row-major points `[[x,y,...], ...]`
229
- * `labels_json`: cluster id per sample `[0, 0, 1, 1, ...]` (each value `< k`)
228
+ * `data`: row-major points `[[x,y,...], ...]`
229
+ * `labels`: cluster id per sample `[0, 0, 1, 1, ...]` (each value `< k`)
230
230
  * `k`: number of distinct clusters
231
231
  *
232
232
  * # Output
@@ -236,7 +236,7 @@ export function regression(data_json: any): any;
236
236
  *
237
237
  * O(n²) — use sparingly on very large inputs.
238
238
  */
239
- export function silhouette(data_json: any, labels_json: any, k: number): any;
239
+ export function silhouette(data: any, labels: any, k: number): any;
240
240
 
241
241
  /**
242
242
  * Variance Inflation Factor diagnostics for column-major numeric data.
@@ -250,4 +250,4 @@ export function silhouette(data_json: any, labels_json: any, k: number): any;
250
250
  * # Output
251
251
  * `{ vif_per_column, high_vif_columns, threshold, names }`
252
252
  */
253
- export function vif_diagnostic(data_json: any): any;
253
+ export function vif_diagnostic(data: any): any;
package/u_insight.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /* @ts-self-types="./u_insight.d.ts" */
2
-
3
2
  import * as wasm from "./u_insight_bg.wasm";
4
3
  import { __wbg_set_wasm } from "./u_insight_bg.js";
4
+
5
5
  __wbg_set_wasm(wasm);
6
6
  wasm.__wbindgen_start();
7
7
  export {
package/u_insight_bg.js CHANGED
@@ -11,11 +11,11 @@
11
11
  *
12
12
  * Standard threshold: `cond > 30` indicates multicollinearity (Belsley 1991).
13
13
  * Returns `Infinity` for numerically singular input.
14
- * @param {any} data_json
14
+ * @param {any} data
15
15
  * @returns {any}
16
16
  */
17
- export function condition_number_diagnostic(data_json) {
18
- const ret = wasm.condition_number_diagnostic(data_json);
17
+ export function condition_number_diagnostic(data) {
18
+ const ret = wasm.condition_number_diagnostic(data);
19
19
  if (ret[2]) {
20
20
  throw takeFromExternrefTable0(ret[1]);
21
21
  }
@@ -36,11 +36,11 @@ export function condition_number_diagnostic(data_json) {
36
36
  *
37
37
  * # Output
38
38
  * `{ names, matrix (flattened n×n), n, high_pairs }`
39
- * @param {any} data_json
39
+ * @param {any} data
40
40
  * @returns {any}
41
41
  */
42
- export function correlation_matrix(data_json) {
43
- const ret = wasm.correlation_matrix(data_json);
42
+ export function correlation_matrix(data) {
43
+ const ret = wasm.correlation_matrix(data);
44
44
  if (ret[2]) {
45
45
  throw takeFromExternrefTable0(ret[1]);
46
46
  }
@@ -52,19 +52,19 @@ export function correlation_matrix(data_json) {
52
52
  *
53
53
  * # Input
54
54
  *
55
- * `data_json`: row-major points `[[x,y,...], ...]`
55
+ * `data`: row-major points `[[x,y,...], ...]`
56
56
  *
57
- * `config_json`: `{ "epsilon": 1.5, "min_samples": 3 }`
57
+ * `config`: `{ "epsilon": 1.5, "min_samples": 3 }`
58
58
  *
59
59
  * # Output
60
60
  *
61
61
  * `{ labels, n_clusters, noise_count, cluster_sizes, core_points }`
62
- * @param {any} data_json
63
- * @param {any} config_json
62
+ * @param {any} data
63
+ * @param {any} config
64
64
  * @returns {any}
65
65
  */
66
- export function dbscan(data_json, config_json) {
67
- const ret = wasm.dbscan(data_json, config_json);
66
+ export function dbscan(data, config) {
67
+ const ret = wasm.dbscan(data, config);
68
68
  if (ret[2]) {
69
69
  throw takeFromExternrefTable0(ret[1]);
70
70
  }
@@ -88,11 +88,11 @@ export function dbscan(data_json, config_json) {
88
88
  *
89
89
  * # Output
90
90
  * Array of column profile objects, one per column.
91
- * @param {any} data_json
91
+ * @param {any} data
92
92
  * @returns {any}
93
93
  */
94
- export function describe(data_json) {
95
- const ret = wasm.describe(data_json);
94
+ export function describe(data) {
95
+ const ret = wasm.describe(data);
96
96
  if (ret[2]) {
97
97
  throw takeFromExternrefTable0(ret[1]);
98
98
  }
@@ -114,11 +114,11 @@ export function describe(data_json) {
114
114
  *
115
115
  * `method` aliases: `tukey` → IQR Tukey fences (k=1.5), `three_sigma` →
116
116
  * mean ± 3·σ, `hampel` → robust median ± 3.5·(MAD/0.6745).
117
- * @param {any} data_json
117
+ * @param {any} data
118
118
  * @returns {any}
119
119
  */
120
- export function detect_univariate_outliers(data_json) {
121
- const ret = wasm.detect_univariate_outliers(data_json);
120
+ export function detect_univariate_outliers(data) {
121
+ const ret = wasm.detect_univariate_outliers(data);
122
122
  if (ret[2]) {
123
123
  throw takeFromExternrefTable0(ret[1]);
124
124
  }
@@ -130,21 +130,21 @@ export function detect_univariate_outliers(data_json) {
130
130
  *
131
131
  * # Input
132
132
  *
133
- * `data_json`: flat array `[1.0, 2.0, 3.0, ...]`
133
+ * `data`: flat array `[1.0, 2.0, 3.0, ...]`
134
134
  *
135
- * `config_json`: `{ "bin_method": "freedman_diaconis", "significance_level": 0.05,
135
+ * `config`: `{ "bin_method": "freedman_diaconis", "significance_level": 0.05,
136
136
  * "compute_ecdf": true, "compute_histogram": true, "compute_qq_plot": true,
137
137
  * "fit_distributions": false }`
138
138
  *
139
139
  * # Output
140
140
  *
141
141
  * `{ n, ecdf, histogram, qq_plot, normality, fits }`
142
- * @param {any} data_json
143
- * @param {any} config_json
142
+ * @param {any} data
143
+ * @param {any} config
144
144
  * @returns {any}
145
145
  */
146
- export function distribution_analysis(data_json, config_json) {
147
- const ret = wasm.distribution_analysis(data_json, config_json);
146
+ export function distribution_analysis(data, config) {
147
+ const ret = wasm.distribution_analysis(data, config);
148
148
  if (ret[2]) {
149
149
  throw takeFromExternrefTable0(ret[1]);
150
150
  }
@@ -156,7 +156,7 @@ export function distribution_analysis(data_json, config_json) {
156
156
  *
157
157
  * # Input
158
158
  *
159
- * `data_json`:
159
+ * `data`:
160
160
  * ```json
161
161
  * {
162
162
  * "features": { "f1": [1,2,3,4,5], "f2": [5,4,3,2,1] },
@@ -173,11 +173,11 @@ export function distribution_analysis(data_json, config_json) {
173
173
  * # Output
174
174
  *
175
175
  * `{ method, features: [{ name, index, score, std_dev?, p_value? }], baseline_score?, selected_indices? }`
176
- * @param {any} data_json
176
+ * @param {any} data
177
177
  * @returns {any}
178
178
  */
179
- export function feature_importance(data_json) {
180
- const ret = wasm.feature_importance(data_json);
179
+ export function feature_importance(data) {
180
+ const ret = wasm.feature_importance(data);
181
181
  if (ret[2]) {
182
182
  throw takeFromExternrefTable0(ret[1]);
183
183
  }
@@ -189,20 +189,20 @@ export function feature_importance(data_json) {
189
189
  *
190
190
  * # Input
191
191
  *
192
- * `data_json`: row-major points `[[x,y,...], ...]`
192
+ * `data`: row-major points `[[x,y,...], ...]`
193
193
  *
194
- * `config_json`: `{ "linkage": "ward", "n_clusters": 3 }` or
194
+ * `config`: `{ "linkage": "ward", "n_clusters": 3 }` or
195
195
  * `{ "linkage": "single", "distance_threshold": 5.0 }`
196
196
  *
197
197
  * # Output
198
198
  *
199
199
  * `{ merges, labels, n_clusters }`
200
- * @param {any} data_json
201
- * @param {any} config_json
200
+ * @param {any} data
201
+ * @param {any} config
202
202
  * @returns {any}
203
203
  */
204
- export function hierarchical(data_json, config_json) {
205
- const ret = wasm.hierarchical(data_json, config_json);
204
+ export function hierarchical(data, config) {
205
+ const ret = wasm.hierarchical(data, config);
206
206
  if (ret[2]) {
207
207
  throw takeFromExternrefTable0(ret[1]);
208
208
  }
@@ -214,19 +214,19 @@ export function hierarchical(data_json, config_json) {
214
214
  *
215
215
  * # Input
216
216
  *
217
- * `data_json`: row-major points `[[x,y,...], ...]`
217
+ * `data`: row-major points `[[x,y,...], ...]`
218
218
  *
219
- * `config_json`: `{ "n_estimators": 100, "contamination": 0.1, "seed": 42 }`
219
+ * `config`: `{ "n_estimators": 100, "contamination": 0.1, "seed": 42 }`
220
220
  *
221
221
  * # Output
222
222
  *
223
223
  * `{ scores, anomalies, threshold, anomaly_count, anomaly_fraction }`
224
- * @param {any} data_json
225
- * @param {any} config_json
224
+ * @param {any} data
225
+ * @param {any} config
226
226
  * @returns {any}
227
227
  */
228
- export function isolation_forest(data_json, config_json) {
229
- const ret = wasm.isolation_forest(data_json, config_json);
228
+ export function isolation_forest(data, config) {
229
+ const ret = wasm.isolation_forest(data, config);
230
230
  if (ret[2]) {
231
231
  throw takeFromExternrefTable0(ret[1]);
232
232
  }
@@ -243,12 +243,12 @@ export function isolation_forest(data_json, config_json) {
243
243
  *
244
244
  * # Output
245
245
  * `{ k, labels, centroids, wcss, iterations, cluster_sizes }`
246
- * @param {any} data_json
246
+ * @param {any} data
247
247
  * @param {number} k
248
248
  * @returns {any}
249
249
  */
250
- export function kmeans(data_json, k) {
251
- const ret = wasm.kmeans(data_json, k);
250
+ export function kmeans(data, k) {
251
+ const ret = wasm.kmeans(data, k);
252
252
  if (ret[2]) {
253
253
  throw takeFromExternrefTable0(ret[1]);
254
254
  }
@@ -260,19 +260,19 @@ export function kmeans(data_json, k) {
260
260
  *
261
261
  * # Input
262
262
  *
263
- * `data_json`: row-major points `[[x,y,...], ...]`
263
+ * `data`: row-major points `[[x,y,...], ...]`
264
264
  *
265
- * `config_json`: `{ "k": 20, "threshold": 1.5 }`
265
+ * `config`: `{ "k": 20, "threshold": 1.5 }`
266
266
  *
267
267
  * # Output
268
268
  *
269
269
  * `{ scores, anomalies, threshold, anomaly_count, anomaly_fraction }`
270
- * @param {any} data_json
271
- * @param {any} config_json
270
+ * @param {any} data
271
+ * @param {any} config
272
272
  * @returns {any}
273
273
  */
274
- export function lof(data_json, config_json) {
275
- const ret = wasm.lof(data_json, config_json);
274
+ export function lof(data, config) {
275
+ const ret = wasm.lof(data, config);
276
276
  if (ret[2]) {
277
277
  throw takeFromExternrefTable0(ret[1]);
278
278
  }
@@ -289,12 +289,12 @@ export function lof(data_json, config_json) {
289
289
  *
290
290
  * # Output
291
291
  * `{ n_components, n_features, eigenvalues, explained_variance_ratio, ... }`
292
- * @param {any} data_json
292
+ * @param {any} data
293
293
  * @param {number} n_components
294
294
  * @returns {any}
295
295
  */
296
- export function pca(data_json, n_components) {
297
- const ret = wasm.pca(data_json, n_components);
296
+ export function pca(data, n_components) {
297
+ const ret = wasm.pca(data, n_components);
298
298
  if (ret[2]) {
299
299
  throw takeFromExternrefTable0(ret[1]);
300
300
  }
@@ -306,7 +306,7 @@ export function pca(data_json, n_components) {
306
306
  *
307
307
  * # Input
308
308
  *
309
- * `data_json`:
309
+ * `data`:
310
310
  * ```json
311
311
  * {
312
312
  * "predictors": { "x1": [1,2,3,4,5], "x2": [2,4,6,8,10] },
@@ -318,11 +318,11 @@ export function pca(data_json, n_components) {
318
318
  * # Output
319
319
  *
320
320
  * `{ target_name, predictor_names, r_squared, adj_r_squared, coefficients, p_values, vif, f_p_value }`
321
- * @param {any} data_json
321
+ * @param {any} data
322
322
  * @returns {any}
323
323
  */
324
- export function regression(data_json) {
325
- const ret = wasm.regression(data_json);
324
+ export function regression(data) {
325
+ const ret = wasm.regression(data);
326
326
  if (ret[2]) {
327
327
  throw takeFromExternrefTable0(ret[1]);
328
328
  }
@@ -333,8 +333,8 @@ export function regression(data_json) {
333
333
  * Computes silhouette scores for an existing clustering assignment.
334
334
  *
335
335
  * # Input
336
- * `data_json`: row-major points `[[x,y,...], ...]`
337
- * `labels_json`: cluster id per sample `[0, 0, 1, 1, ...]` (each value `< k`)
336
+ * `data`: row-major points `[[x,y,...], ...]`
337
+ * `labels`: cluster id per sample `[0, 0, 1, 1, ...]` (each value `< k`)
338
338
  * `k`: number of distinct clusters
339
339
  *
340
340
  * # Output
@@ -343,13 +343,13 @@ export function regression(data_json) {
343
343
  * (0.0 for singleton-cluster points).
344
344
  *
345
345
  * O(n²) — use sparingly on very large inputs.
346
- * @param {any} data_json
347
- * @param {any} labels_json
346
+ * @param {any} data
347
+ * @param {any} labels
348
348
  * @param {number} k
349
349
  * @returns {any}
350
350
  */
351
- export function silhouette(data_json, labels_json, k) {
352
- const ret = wasm.silhouette(data_json, labels_json, k);
351
+ export function silhouette(data, labels, k) {
352
+ const ret = wasm.silhouette(data, labels, k);
353
353
  if (ret[2]) {
354
354
  throw takeFromExternrefTable0(ret[1]);
355
355
  }
@@ -367,21 +367,21 @@ export function silhouette(data_json, labels_json, k) {
367
367
  *
368
368
  * # Output
369
369
  * `{ vif_per_column, high_vif_columns, threshold, names }`
370
- * @param {any} data_json
370
+ * @param {any} data
371
371
  * @returns {any}
372
372
  */
373
- export function vif_diagnostic(data_json) {
374
- const ret = wasm.vif_diagnostic(data_json);
373
+ export function vif_diagnostic(data) {
374
+ const ret = wasm.vif_diagnostic(data);
375
375
  if (ret[2]) {
376
376
  throw takeFromExternrefTable0(ret[1]);
377
377
  }
378
378
  return takeFromExternrefTable0(ret[0]);
379
379
  }
380
- export function __wbg_Error_83742b46f01ce22d(arg0, arg1) {
380
+ export function __wbg_Error_ef53bc310eb298a0(arg0, arg1) {
381
381
  const ret = Error(getStringFromWasm0(arg0, arg1));
382
382
  return ret;
383
383
  }
384
- export function __wbg_Number_a5a435bd7bbec835(arg0) {
384
+ export function __wbg_Number_6b506e6536831eaa(arg0) {
385
385
  const ret = Number(arg0);
386
386
  return ret;
387
387
  }
@@ -392,60 +392,60 @@ export function __wbg_String_8564e559799eccda(arg0, arg1) {
392
392
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
393
393
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
394
394
  }
395
- export function __wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda(arg0, arg1) {
395
+ export function __wbg___wbindgen_bigint_get_as_i64_38130e98eecd467d(arg0, arg1) {
396
396
  const v = arg1;
397
397
  const ret = typeof(v) === 'bigint' ? v : undefined;
398
398
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
399
399
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
400
400
  }
401
- export function __wbg___wbindgen_boolean_get_c0f3f60bac5a78d1(arg0) {
401
+ export function __wbg___wbindgen_boolean_get_1a45e2c38d4d41b9(arg0) {
402
402
  const v = arg0;
403
403
  const ret = typeof(v) === 'boolean' ? v : undefined;
404
404
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
405
405
  }
406
- export function __wbg___wbindgen_debug_string_5398f5bb970e0daa(arg0, arg1) {
406
+ export function __wbg___wbindgen_debug_string_0accd80f45e5faa2(arg0, arg1) {
407
407
  const ret = debugString(arg1);
408
408
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
409
409
  const len1 = WASM_VECTOR_LEN;
410
410
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
411
411
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
412
412
  }
413
- export function __wbg___wbindgen_in_41dbb8413020e076(arg0, arg1) {
413
+ export function __wbg___wbindgen_in_70a403a56e771704(arg0, arg1) {
414
414
  const ret = arg0 in arg1;
415
415
  return ret;
416
416
  }
417
- export function __wbg___wbindgen_is_bigint_e2141d4f045b7eda(arg0) {
417
+ export function __wbg___wbindgen_is_bigint_6ffd6468a9bc44b9(arg0) {
418
418
  const ret = typeof(arg0) === 'bigint';
419
419
  return ret;
420
420
  }
421
- export function __wbg___wbindgen_is_function_3c846841762788c1(arg0) {
421
+ export function __wbg___wbindgen_is_function_754e9f305ff6029e(arg0) {
422
422
  const ret = typeof(arg0) === 'function';
423
423
  return ret;
424
424
  }
425
- export function __wbg___wbindgen_is_object_781bc9f159099513(arg0) {
425
+ export function __wbg___wbindgen_is_object_56732c2bc353f41d(arg0) {
426
426
  const val = arg0;
427
427
  const ret = typeof(val) === 'object' && val !== null;
428
428
  return ret;
429
429
  }
430
- export function __wbg___wbindgen_is_undefined_52709e72fb9f179c(arg0) {
430
+ export function __wbg___wbindgen_is_undefined_67b456be8673d3d7(arg0) {
431
431
  const ret = arg0 === undefined;
432
432
  return ret;
433
433
  }
434
- export function __wbg___wbindgen_jsval_eq_ee31bfad3e536463(arg0, arg1) {
434
+ export function __wbg___wbindgen_jsval_eq_1068e624fa87f6ab(arg0, arg1) {
435
435
  const ret = arg0 === arg1;
436
436
  return ret;
437
437
  }
438
- export function __wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b(arg0, arg1) {
438
+ export function __wbg___wbindgen_jsval_loose_eq_2c56564c75129511(arg0, arg1) {
439
439
  const ret = arg0 == arg1;
440
440
  return ret;
441
441
  }
442
- export function __wbg___wbindgen_number_get_34bb9d9dcfa21373(arg0, arg1) {
442
+ export function __wbg___wbindgen_number_get_9bb1761122181af2(arg0, arg1) {
443
443
  const obj = arg1;
444
444
  const ret = typeof(obj) === 'number' ? obj : undefined;
445
445
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
446
446
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
447
447
  }
448
- export function __wbg___wbindgen_string_get_395e606bd0ee4427(arg0, arg1) {
448
+ export function __wbg___wbindgen_string_get_72bdf95d3ae505b1(arg0, arg1) {
449
449
  const obj = arg1;
450
450
  const ret = typeof(obj) === 'string' ? obj : undefined;
451
451
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -453,30 +453,30 @@ export function __wbg___wbindgen_string_get_395e606bd0ee4427(arg0, arg1) {
453
453
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
454
454
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
455
455
  }
456
- export function __wbg___wbindgen_throw_6ddd609b62940d55(arg0, arg1) {
456
+ export function __wbg___wbindgen_throw_1506f2235d1bdba0(arg0, arg1) {
457
457
  throw new Error(getStringFromWasm0(arg0, arg1));
458
458
  }
459
- export function __wbg_call_e133b57c9155d22c() { return handleError(function (arg0, arg1) {
459
+ export function __wbg_call_8a89609d89f6608a() { return handleError(function (arg0, arg1) {
460
460
  const ret = arg0.call(arg1);
461
461
  return ret;
462
462
  }, arguments); }
463
- export function __wbg_done_08ce71ee07e3bd17(arg0) {
463
+ export function __wbg_done_60cf307fcc680536(arg0) {
464
464
  const ret = arg0.done;
465
465
  return ret;
466
466
  }
467
- export function __wbg_entries_e8a20ff8c9757101(arg0) {
467
+ export function __wbg_entries_04b37a02507f1713(arg0) {
468
468
  const ret = Object.entries(arg0);
469
469
  return ret;
470
470
  }
471
- export function __wbg_get_326e41e095fb2575() { return handleError(function (arg0, arg1) {
471
+ export function __wbg_get_1f8f054ddbaa7db2() { return handleError(function (arg0, arg1) {
472
472
  const ret = Reflect.get(arg0, arg1);
473
473
  return ret;
474
474
  }, arguments); }
475
- export function __wbg_get_a8ee5c45dabc1b3b(arg0, arg1) {
475
+ export function __wbg_get_2b48c7d0d006a781(arg0, arg1) {
476
476
  const ret = arg0[arg1 >>> 0];
477
477
  return ret;
478
478
  }
479
- export function __wbg_get_unchecked_329cfe50afab7352(arg0, arg1) {
479
+ export function __wbg_get_unchecked_33f6e5c9e2f2d6b2(arg0, arg1) {
480
480
  const ret = arg0[arg1 >>> 0];
481
481
  return ret;
482
482
  }
@@ -484,7 +484,7 @@ export function __wbg_get_with_ref_key_6412cf3094599694(arg0, arg1) {
484
484
  const ret = arg0[arg1];
485
485
  return ret;
486
486
  }
487
- export function __wbg_instanceof_ArrayBuffer_101e2bf31071a9f6(arg0) {
487
+ export function __wbg_instanceof_ArrayBuffer_8f49811467741499(arg0) {
488
488
  let result;
489
489
  try {
490
490
  result = arg0 instanceof ArrayBuffer;
@@ -494,7 +494,7 @@ export function __wbg_instanceof_ArrayBuffer_101e2bf31071a9f6(arg0) {
494
494
  const ret = result;
495
495
  return ret;
496
496
  }
497
- export function __wbg_instanceof_Map_f194b366846aca0c(arg0) {
497
+ export function __wbg_instanceof_Map_9fc06d9a951bcee6(arg0) {
498
498
  let result;
499
499
  try {
500
500
  result = arg0 instanceof Map;
@@ -504,7 +504,7 @@ export function __wbg_instanceof_Map_f194b366846aca0c(arg0) {
504
504
  const ret = result;
505
505
  return ret;
506
506
  }
507
- export function __wbg_instanceof_Uint8Array_740438561a5b956d(arg0) {
507
+ export function __wbg_instanceof_Uint8Array_86f30649f63ef9c2(arg0) {
508
508
  let result;
509
509
  try {
510
510
  result = arg0 instanceof Uint8Array;
@@ -514,56 +514,56 @@ export function __wbg_instanceof_Uint8Array_740438561a5b956d(arg0) {
514
514
  const ret = result;
515
515
  return ret;
516
516
  }
517
- export function __wbg_isArray_33b91feb269ff46e(arg0) {
517
+ export function __wbg_isArray_67c2c9c4313f4448(arg0) {
518
518
  const ret = Array.isArray(arg0);
519
519
  return ret;
520
520
  }
521
- export function __wbg_isSafeInteger_ecd6a7f9c3e053cd(arg0) {
521
+ export function __wbg_isSafeInteger_66acec27e09e99a7(arg0) {
522
522
  const ret = Number.isSafeInteger(arg0);
523
523
  return ret;
524
524
  }
525
- export function __wbg_iterator_d8f549ec8fb061b1() {
525
+ export function __wbg_iterator_8732428d309e270e() {
526
526
  const ret = Symbol.iterator;
527
527
  return ret;
528
528
  }
529
- export function __wbg_length_b3416cf66a5452c8(arg0) {
529
+ export function __wbg_length_4a591ecaa01354d9(arg0) {
530
530
  const ret = arg0.length;
531
531
  return ret;
532
532
  }
533
- export function __wbg_length_ea16607d7b61445b(arg0) {
533
+ export function __wbg_length_66f1a4b2e9026940(arg0) {
534
534
  const ret = arg0.length;
535
535
  return ret;
536
536
  }
537
- export function __wbg_new_5f486cdf45a04d78(arg0) {
537
+ export function __wbg_new_578aeef4b6b94378(arg0) {
538
538
  const ret = new Uint8Array(arg0);
539
539
  return ret;
540
540
  }
541
- export function __wbg_new_a70fbab9066b301f() {
541
+ export function __wbg_new_ce1ab61c1c2b300d() {
542
+ const ret = new Object();
543
+ return ret;
544
+ }
545
+ export function __wbg_new_d90091b82fdf5b91() {
542
546
  const ret = new Array();
543
547
  return ret;
544
548
  }
545
- export function __wbg_new_ab79df5bd7c26067() {
546
- const ret = new Object();
549
+ export function __wbg_next_9e03acdf51c4960d(arg0) {
550
+ const ret = arg0.next;
547
551
  return ret;
548
552
  }
549
- export function __wbg_next_11b99ee6237339e3() { return handleError(function (arg0) {
553
+ export function __wbg_next_eb8ca7351fa27906() { return handleError(function (arg0) {
550
554
  const ret = arg0.next();
551
555
  return ret;
552
556
  }, arguments); }
553
- export function __wbg_next_e01a967809d1aa68(arg0) {
554
- const ret = arg0.next;
555
- return ret;
556
- }
557
- export function __wbg_prototypesetcall_d62e5099504357e6(arg0, arg1, arg2) {
557
+ export function __wbg_prototypesetcall_3249fc62a0fafa30(arg0, arg1, arg2) {
558
558
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
559
559
  }
560
- export function __wbg_set_282384002438957f(arg0, arg1, arg2) {
561
- arg0[arg1 >>> 0] = arg2;
562
- }
563
560
  export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
564
561
  arg0[arg1] = arg2;
565
562
  }
566
- export function __wbg_value_21fc78aab0322612(arg0) {
563
+ export function __wbg_set_dca99999bba88a9a(arg0, arg1, arg2) {
564
+ arg0[arg1 >>> 0] = arg2;
565
+ }
566
+ export function __wbg_value_f3625092ee4b37f4(arg0) {
567
567
  const ret = arg0.value;
568
568
  return ret;
569
569
  }
@@ -681,8 +681,7 @@ function getDataViewMemory0() {
681
681
  }
682
682
 
683
683
  function getStringFromWasm0(ptr, len) {
684
- ptr = ptr >>> 0;
685
- return decodeText(ptr, len);
684
+ return decodeText(ptr >>> 0, len);
686
685
  }
687
686
 
688
687
  let cachedUint8ArrayMemory0 = null;
package/u_insight_bg.wasm CHANGED
Binary file