@vitessce/statistical-plots 3.8.10 → 3.8.13
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/dist/{deflate-DQgdM1c8.js → deflate-BuiHI4Et.js} +1 -1
- package/dist/{index-q44JSarg.js → index-BmYvVUY8.js} +1761 -1671
- package/dist/index.js +1 -1
- package/dist/{jpeg-DToQbO44.js → jpeg-CnRvmB8H.js} +1 -1
- package/dist/{lerc-_NCoDm-Z.js → lerc-DdM66WTL.js} +1 -1
- package/dist/{lzw-C-RMlDwt.js → lzw-ahoob13H.js} +1 -1
- package/dist/{packbits-Da1GYtZc.js → packbits-Ckd3nQz8.js} +1 -1
- package/dist/{raw-DOcy41Rl.js → raw-B56udEa5.js} +1 -1
- package/dist/{webimage-BnfvBie4.js → webimage-CKIhq6Gi.js} +1 -1
- package/dist-tsc/ExpressionHistogram.d.ts.map +1 -1
- package/dist-tsc/ExpressionHistogram.js +13 -4
- package/dist-tsc/ExpressionHistogramSubscriber.d.ts.map +1 -1
- package/dist-tsc/ExpressionHistogramSubscriber.js +32 -12
- package/package.json +8 -8
- package/src/ExpressionHistogram.js +13 -4
- package/src/ExpressionHistogramSubscriber.js +33 -11
|
@@ -334,6 +334,8 @@ const CoordinationType$1 = {
|
|
|
334
334
|
// Per-spatial-layer
|
|
335
335
|
SPATIAL_MAX_RESOLUTION: "spatialMaxResolution",
|
|
336
336
|
// Per-image-channel (for spatial-accelerated)
|
|
337
|
+
SPATIAL_LOD_FACTOR: "spatialLodFactor",
|
|
338
|
+
// LOD factor for 3D volume rendering
|
|
337
339
|
// For clipping plane sliders
|
|
338
340
|
SPATIAL_SLICE_X: "spatialSliceX",
|
|
339
341
|
SPATIAL_SLICE_Y: "spatialSliceY",
|
|
@@ -2042,6 +2044,392 @@ function getValueTransformFunction(featureValueTransform, coefficient) {
|
|
|
2042
2044
|
}
|
|
2043
2045
|
return transformFunction;
|
|
2044
2046
|
}
|
|
2047
|
+
function ascending$7(a2, b2) {
|
|
2048
|
+
return a2 < b2 ? -1 : a2 > b2 ? 1 : a2 >= b2 ? 0 : NaN;
|
|
2049
|
+
}
|
|
2050
|
+
function bisector$3(f2) {
|
|
2051
|
+
let delta = f2;
|
|
2052
|
+
let compare2 = f2;
|
|
2053
|
+
if (f2.length === 1) {
|
|
2054
|
+
delta = (d, x2) => f2(d) - x2;
|
|
2055
|
+
compare2 = ascendingComparator$1(f2);
|
|
2056
|
+
}
|
|
2057
|
+
function left2(a2, x2, lo, hi) {
|
|
2058
|
+
if (lo == null) lo = 0;
|
|
2059
|
+
if (hi == null) hi = a2.length;
|
|
2060
|
+
while (lo < hi) {
|
|
2061
|
+
const mid = lo + hi >>> 1;
|
|
2062
|
+
if (compare2(a2[mid], x2) < 0) lo = mid + 1;
|
|
2063
|
+
else hi = mid;
|
|
2064
|
+
}
|
|
2065
|
+
return lo;
|
|
2066
|
+
}
|
|
2067
|
+
function right2(a2, x2, lo, hi) {
|
|
2068
|
+
if (lo == null) lo = 0;
|
|
2069
|
+
if (hi == null) hi = a2.length;
|
|
2070
|
+
while (lo < hi) {
|
|
2071
|
+
const mid = lo + hi >>> 1;
|
|
2072
|
+
if (compare2(a2[mid], x2) > 0) hi = mid;
|
|
2073
|
+
else lo = mid + 1;
|
|
2074
|
+
}
|
|
2075
|
+
return lo;
|
|
2076
|
+
}
|
|
2077
|
+
function center2(a2, x2, lo, hi) {
|
|
2078
|
+
if (lo == null) lo = 0;
|
|
2079
|
+
if (hi == null) hi = a2.length;
|
|
2080
|
+
const i2 = left2(a2, x2, lo, hi - 1);
|
|
2081
|
+
return i2 > lo && delta(a2[i2 - 1], x2) > -delta(a2[i2], x2) ? i2 - 1 : i2;
|
|
2082
|
+
}
|
|
2083
|
+
return { left: left2, center: center2, right: right2 };
|
|
2084
|
+
}
|
|
2085
|
+
function ascendingComparator$1(f2) {
|
|
2086
|
+
return (d, x2) => ascending$7(f2(d), x2);
|
|
2087
|
+
}
|
|
2088
|
+
function number$8(x2) {
|
|
2089
|
+
return x2 === null ? NaN : +x2;
|
|
2090
|
+
}
|
|
2091
|
+
const ascendingBisect$1 = bisector$3(ascending$7);
|
|
2092
|
+
const bisectRight$2 = ascendingBisect$1.right;
|
|
2093
|
+
bisector$3(number$8).center;
|
|
2094
|
+
function count$2(values2, valueof) {
|
|
2095
|
+
let count2 = 0;
|
|
2096
|
+
{
|
|
2097
|
+
for (let value2 of values2) {
|
|
2098
|
+
if (value2 != null && (value2 = +value2) >= value2) {
|
|
2099
|
+
++count2;
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
return count2;
|
|
2104
|
+
}
|
|
2105
|
+
function variance$1(values2, valueof) {
|
|
2106
|
+
let count2 = 0;
|
|
2107
|
+
let delta;
|
|
2108
|
+
let mean2 = 0;
|
|
2109
|
+
let sum2 = 0;
|
|
2110
|
+
{
|
|
2111
|
+
for (let value2 of values2) {
|
|
2112
|
+
if (value2 != null && (value2 = +value2) >= value2) {
|
|
2113
|
+
delta = value2 - mean2;
|
|
2114
|
+
mean2 += delta / ++count2;
|
|
2115
|
+
sum2 += delta * (value2 - mean2);
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
if (count2 > 1) return sum2 / (count2 - 1);
|
|
2120
|
+
}
|
|
2121
|
+
function deviation$1(values2, valueof) {
|
|
2122
|
+
const v = variance$1(values2);
|
|
2123
|
+
return v ? Math.sqrt(v) : v;
|
|
2124
|
+
}
|
|
2125
|
+
function extent$2(values2, valueof) {
|
|
2126
|
+
let min2;
|
|
2127
|
+
let max2;
|
|
2128
|
+
if (valueof === void 0) {
|
|
2129
|
+
for (const value2 of values2) {
|
|
2130
|
+
if (value2 != null) {
|
|
2131
|
+
if (min2 === void 0) {
|
|
2132
|
+
if (value2 >= value2) min2 = max2 = value2;
|
|
2133
|
+
} else {
|
|
2134
|
+
if (min2 > value2) min2 = value2;
|
|
2135
|
+
if (max2 < value2) max2 = value2;
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2139
|
+
} else {
|
|
2140
|
+
let index2 = -1;
|
|
2141
|
+
for (let value2 of values2) {
|
|
2142
|
+
if ((value2 = valueof(value2, ++index2, values2)) != null) {
|
|
2143
|
+
if (min2 === void 0) {
|
|
2144
|
+
if (value2 >= value2) min2 = max2 = value2;
|
|
2145
|
+
} else {
|
|
2146
|
+
if (min2 > value2) min2 = value2;
|
|
2147
|
+
if (max2 < value2) max2 = value2;
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
return [min2, max2];
|
|
2153
|
+
}
|
|
2154
|
+
let InternMap$1 = class InternMap extends Map {
|
|
2155
|
+
constructor(entries2, key2 = keyof$1) {
|
|
2156
|
+
super();
|
|
2157
|
+
Object.defineProperties(this, { _intern: { value: /* @__PURE__ */ new Map() }, _key: { value: key2 } });
|
|
2158
|
+
if (entries2 != null) for (const [key22, value2] of entries2) this.set(key22, value2);
|
|
2159
|
+
}
|
|
2160
|
+
get(key2) {
|
|
2161
|
+
return super.get(intern_get$1(this, key2));
|
|
2162
|
+
}
|
|
2163
|
+
has(key2) {
|
|
2164
|
+
return super.has(intern_get$1(this, key2));
|
|
2165
|
+
}
|
|
2166
|
+
set(key2, value2) {
|
|
2167
|
+
return super.set(intern_set$1(this, key2), value2);
|
|
2168
|
+
}
|
|
2169
|
+
delete(key2) {
|
|
2170
|
+
return super.delete(intern_delete$1(this, key2));
|
|
2171
|
+
}
|
|
2172
|
+
};
|
|
2173
|
+
function intern_get$1({ _intern, _key }, value2) {
|
|
2174
|
+
const key2 = _key(value2);
|
|
2175
|
+
return _intern.has(key2) ? _intern.get(key2) : value2;
|
|
2176
|
+
}
|
|
2177
|
+
function intern_set$1({ _intern, _key }, value2) {
|
|
2178
|
+
const key2 = _key(value2);
|
|
2179
|
+
if (_intern.has(key2)) return _intern.get(key2);
|
|
2180
|
+
_intern.set(key2, value2);
|
|
2181
|
+
return value2;
|
|
2182
|
+
}
|
|
2183
|
+
function intern_delete$1({ _intern, _key }, value2) {
|
|
2184
|
+
const key2 = _key(value2);
|
|
2185
|
+
if (_intern.has(key2)) {
|
|
2186
|
+
value2 = _intern.get(value2);
|
|
2187
|
+
_intern.delete(key2);
|
|
2188
|
+
}
|
|
2189
|
+
return value2;
|
|
2190
|
+
}
|
|
2191
|
+
function keyof$1(value2) {
|
|
2192
|
+
return value2 !== null && typeof value2 === "object" ? value2.valueOf() : value2;
|
|
2193
|
+
}
|
|
2194
|
+
function identity$d(x2) {
|
|
2195
|
+
return x2;
|
|
2196
|
+
}
|
|
2197
|
+
function rollup(values2, reduce2, ...keys2) {
|
|
2198
|
+
return nest$1(values2, identity$d, reduce2, keys2);
|
|
2199
|
+
}
|
|
2200
|
+
function nest$1(values2, map2, reduce2, keys2) {
|
|
2201
|
+
return function regroup(values22, i2) {
|
|
2202
|
+
if (i2 >= keys2.length) return reduce2(values22);
|
|
2203
|
+
const groups2 = new InternMap$1();
|
|
2204
|
+
const keyof2 = keys2[i2++];
|
|
2205
|
+
let index2 = -1;
|
|
2206
|
+
for (const value2 of values22) {
|
|
2207
|
+
const key2 = keyof2(value2, ++index2, values22);
|
|
2208
|
+
const group2 = groups2.get(key2);
|
|
2209
|
+
if (group2) group2.push(value2);
|
|
2210
|
+
else groups2.set(key2, [value2]);
|
|
2211
|
+
}
|
|
2212
|
+
for (const [key2, values3] of groups2) {
|
|
2213
|
+
groups2.set(key2, regroup(values3, i2));
|
|
2214
|
+
}
|
|
2215
|
+
return map2(groups2);
|
|
2216
|
+
}(values2, 0);
|
|
2217
|
+
}
|
|
2218
|
+
var array$8 = Array.prototype;
|
|
2219
|
+
var slice$5 = array$8.slice;
|
|
2220
|
+
function constant$7(x2) {
|
|
2221
|
+
return function() {
|
|
2222
|
+
return x2;
|
|
2223
|
+
};
|
|
2224
|
+
}
|
|
2225
|
+
var e10$1 = Math.sqrt(50), e5$1 = Math.sqrt(10), e2$1 = Math.sqrt(2);
|
|
2226
|
+
function ticks$1(start2, stop3, count2) {
|
|
2227
|
+
var reverse2, i2 = -1, n2, ticks2, step;
|
|
2228
|
+
stop3 = +stop3, start2 = +start2, count2 = +count2;
|
|
2229
|
+
if (start2 === stop3 && count2 > 0) return [start2];
|
|
2230
|
+
if (reverse2 = stop3 < start2) n2 = start2, start2 = stop3, stop3 = n2;
|
|
2231
|
+
if ((step = tickIncrement$1(start2, stop3, count2)) === 0 || !isFinite(step)) return [];
|
|
2232
|
+
if (step > 0) {
|
|
2233
|
+
let r0 = Math.round(start2 / step), r1 = Math.round(stop3 / step);
|
|
2234
|
+
if (r0 * step < start2) ++r0;
|
|
2235
|
+
if (r1 * step > stop3) --r1;
|
|
2236
|
+
ticks2 = new Array(n2 = r1 - r0 + 1);
|
|
2237
|
+
while (++i2 < n2) ticks2[i2] = (r0 + i2) * step;
|
|
2238
|
+
} else {
|
|
2239
|
+
step = -step;
|
|
2240
|
+
let r0 = Math.round(start2 * step), r1 = Math.round(stop3 * step);
|
|
2241
|
+
if (r0 / step < start2) ++r0;
|
|
2242
|
+
if (r1 / step > stop3) --r1;
|
|
2243
|
+
ticks2 = new Array(n2 = r1 - r0 + 1);
|
|
2244
|
+
while (++i2 < n2) ticks2[i2] = (r0 + i2) / step;
|
|
2245
|
+
}
|
|
2246
|
+
if (reverse2) ticks2.reverse();
|
|
2247
|
+
return ticks2;
|
|
2248
|
+
}
|
|
2249
|
+
function tickIncrement$1(start2, stop3, count2) {
|
|
2250
|
+
var step = (stop3 - start2) / Math.max(0, count2), power = Math.floor(Math.log(step) / Math.LN10), error2 = step / Math.pow(10, power);
|
|
2251
|
+
return power >= 0 ? (error2 >= e10$1 ? 10 : error2 >= e5$1 ? 5 : error2 >= e2$1 ? 2 : 1) * Math.pow(10, power) : -Math.pow(10, -power) / (error2 >= e10$1 ? 10 : error2 >= e5$1 ? 5 : error2 >= e2$1 ? 2 : 1);
|
|
2252
|
+
}
|
|
2253
|
+
function nice$2(start2, stop3, count2) {
|
|
2254
|
+
let prestep;
|
|
2255
|
+
while (true) {
|
|
2256
|
+
const step = tickIncrement$1(start2, stop3, count2);
|
|
2257
|
+
if (step === prestep || step === 0 || !isFinite(step)) {
|
|
2258
|
+
return [start2, stop3];
|
|
2259
|
+
} else if (step > 0) {
|
|
2260
|
+
start2 = Math.floor(start2 / step) * step;
|
|
2261
|
+
stop3 = Math.ceil(stop3 / step) * step;
|
|
2262
|
+
} else if (step < 0) {
|
|
2263
|
+
start2 = Math.ceil(start2 * step) / step;
|
|
2264
|
+
stop3 = Math.floor(stop3 * step) / step;
|
|
2265
|
+
}
|
|
2266
|
+
prestep = step;
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
function sturges(values2) {
|
|
2270
|
+
return Math.ceil(Math.log(count$2(values2)) / Math.LN2) + 1;
|
|
2271
|
+
}
|
|
2272
|
+
function bin$2() {
|
|
2273
|
+
var value2 = identity$d, domain2 = extent$2, threshold2 = sturges;
|
|
2274
|
+
function histogram(data2) {
|
|
2275
|
+
if (!Array.isArray(data2)) data2 = Array.from(data2);
|
|
2276
|
+
var i2, n2 = data2.length, x2, values2 = new Array(n2);
|
|
2277
|
+
for (i2 = 0; i2 < n2; ++i2) {
|
|
2278
|
+
values2[i2] = value2(data2[i2], i2, data2);
|
|
2279
|
+
}
|
|
2280
|
+
var xz = domain2(values2), x02 = xz[0], x12 = xz[1], tz = threshold2(values2, x02, x12);
|
|
2281
|
+
if (!Array.isArray(tz)) {
|
|
2282
|
+
const max2 = x12, tn = +tz;
|
|
2283
|
+
if (domain2 === extent$2) [x02, x12] = nice$2(x02, x12, tn);
|
|
2284
|
+
tz = ticks$1(x02, x12, tn);
|
|
2285
|
+
if (tz[tz.length - 1] >= x12) {
|
|
2286
|
+
if (max2 >= x12 && domain2 === extent$2) {
|
|
2287
|
+
const step = tickIncrement$1(x02, x12, tn);
|
|
2288
|
+
if (isFinite(step)) {
|
|
2289
|
+
if (step > 0) {
|
|
2290
|
+
x12 = (Math.floor(x12 / step) + 1) * step;
|
|
2291
|
+
} else if (step < 0) {
|
|
2292
|
+
x12 = (Math.ceil(x12 * -step) + 1) / -step;
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
} else {
|
|
2296
|
+
tz.pop();
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
var m2 = tz.length;
|
|
2301
|
+
while (tz[0] <= x02) tz.shift(), --m2;
|
|
2302
|
+
while (tz[m2 - 1] > x12) tz.pop(), --m2;
|
|
2303
|
+
var bins2 = new Array(m2 + 1), bin2;
|
|
2304
|
+
for (i2 = 0; i2 <= m2; ++i2) {
|
|
2305
|
+
bin2 = bins2[i2] = [];
|
|
2306
|
+
bin2.x0 = i2 > 0 ? tz[i2 - 1] : x02;
|
|
2307
|
+
bin2.x1 = i2 < m2 ? tz[i2] : x12;
|
|
2308
|
+
}
|
|
2309
|
+
for (i2 = 0; i2 < n2; ++i2) {
|
|
2310
|
+
x2 = values2[i2];
|
|
2311
|
+
if (x02 <= x2 && x2 <= x12) {
|
|
2312
|
+
bins2[bisectRight$2(tz, x2, 0, m2)].push(data2[i2]);
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
return bins2;
|
|
2316
|
+
}
|
|
2317
|
+
histogram.value = function(_) {
|
|
2318
|
+
return arguments.length ? (value2 = typeof _ === "function" ? _ : constant$7(_), histogram) : value2;
|
|
2319
|
+
};
|
|
2320
|
+
histogram.domain = function(_) {
|
|
2321
|
+
return arguments.length ? (domain2 = typeof _ === "function" ? _ : constant$7([_[0], _[1]]), histogram) : domain2;
|
|
2322
|
+
};
|
|
2323
|
+
histogram.thresholds = function(_) {
|
|
2324
|
+
return arguments.length ? (threshold2 = typeof _ === "function" ? _ : Array.isArray(_) ? constant$7(slice$5.call(_)) : constant$7(_), histogram) : threshold2;
|
|
2325
|
+
};
|
|
2326
|
+
return histogram;
|
|
2327
|
+
}
|
|
2328
|
+
function max$4(values2, valueof) {
|
|
2329
|
+
let max2;
|
|
2330
|
+
{
|
|
2331
|
+
for (const value2 of values2) {
|
|
2332
|
+
if (value2 != null && (max2 < value2 || max2 === void 0 && value2 >= value2)) {
|
|
2333
|
+
max2 = value2;
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
return max2;
|
|
2338
|
+
}
|
|
2339
|
+
function min$4(values2, valueof) {
|
|
2340
|
+
let min2;
|
|
2341
|
+
{
|
|
2342
|
+
for (const value2 of values2) {
|
|
2343
|
+
if (value2 != null && (min2 > value2 || min2 === void 0 && value2 >= value2)) {
|
|
2344
|
+
min2 = value2;
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
return min2;
|
|
2349
|
+
}
|
|
2350
|
+
function quantileSorted$1(values2, p, valueof = number$8) {
|
|
2351
|
+
if (!(n2 = values2.length)) return;
|
|
2352
|
+
if ((p = +p) <= 0 || n2 < 2) return +valueof(values2[0], 0, values2);
|
|
2353
|
+
if (p >= 1) return +valueof(values2[n2 - 1], n2 - 1, values2);
|
|
2354
|
+
var n2, i2 = (n2 - 1) * p, i0 = Math.floor(i2), value0 = +valueof(values2[i0], i0, values2), value1 = +valueof(values2[i0 + 1], i0 + 1, values2);
|
|
2355
|
+
return value0 + (value1 - value0) * (i2 - i0);
|
|
2356
|
+
}
|
|
2357
|
+
function mean$1(values2, valueof) {
|
|
2358
|
+
let count2 = 0;
|
|
2359
|
+
let sum2 = 0;
|
|
2360
|
+
{
|
|
2361
|
+
for (let value2 of values2) {
|
|
2362
|
+
if (value2 != null && (value2 = +value2) >= value2) {
|
|
2363
|
+
++count2, sum2 += value2;
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
if (count2) return sum2 / count2;
|
|
2368
|
+
}
|
|
2369
|
+
function sum$4(values2, valueof) {
|
|
2370
|
+
let sum2 = 0;
|
|
2371
|
+
{
|
|
2372
|
+
for (let value2 of values2) {
|
|
2373
|
+
if (value2 = +value2) {
|
|
2374
|
+
sum2 += value2;
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
return sum2;
|
|
2379
|
+
}
|
|
2380
|
+
function aggregateFeatureArrays(arrays, strategy) {
|
|
2381
|
+
if (!arrays || arrays.length === 0)
|
|
2382
|
+
return null;
|
|
2383
|
+
let targetArray;
|
|
2384
|
+
if (strategy === "first" || typeof strategy === "number" && strategy === 0) {
|
|
2385
|
+
targetArray = arrays[0];
|
|
2386
|
+
} else if (strategy === "last") {
|
|
2387
|
+
targetArray = arrays[arrays.length - 1];
|
|
2388
|
+
} else if (typeof strategy === "number") {
|
|
2389
|
+
if (strategy >= 0 && strategy < arrays.length) {
|
|
2390
|
+
targetArray = arrays[strategy];
|
|
2391
|
+
} else {
|
|
2392
|
+
throw new Error(`Array index out of bounds: ${strategy}`);
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
if (targetArray) {
|
|
2396
|
+
return targetArray;
|
|
2397
|
+
}
|
|
2398
|
+
const numArrays = arrays.length;
|
|
2399
|
+
const firstArrayLength = arrays[0].length;
|
|
2400
|
+
if (arrays.some((arr) => arr.length !== firstArrayLength)) {
|
|
2401
|
+
throw new Error("All arrays must have the same length for aggregation.");
|
|
2402
|
+
}
|
|
2403
|
+
if (strategy === "sum" || strategy === "mean") {
|
|
2404
|
+
const resultArray = new Float64Array(firstArrayLength);
|
|
2405
|
+
for (let i2 = 0; i2 < numArrays; i2++) {
|
|
2406
|
+
const arr = arrays[i2];
|
|
2407
|
+
for (let j = 0; j < firstArrayLength; j++) {
|
|
2408
|
+
resultArray[j] += arr[j];
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
if (strategy === "mean") {
|
|
2412
|
+
for (let i2 = 0; i2 < firstArrayLength; i2++) {
|
|
2413
|
+
resultArray[i2] /= numArrays;
|
|
2414
|
+
}
|
|
2415
|
+
}
|
|
2416
|
+
return Array.from(resultArray);
|
|
2417
|
+
}
|
|
2418
|
+
if (strategy === "difference") {
|
|
2419
|
+
if (numArrays !== 2) {
|
|
2420
|
+
console.warn("Difference strategy requires exactly 2 arrays.");
|
|
2421
|
+
return arrays[0];
|
|
2422
|
+
}
|
|
2423
|
+
const arr0 = arrays[0];
|
|
2424
|
+
const arr1 = arrays[1];
|
|
2425
|
+
const resultArray = new Float64Array(firstArrayLength);
|
|
2426
|
+
for (let i2 = 0; i2 < firstArrayLength; i2++) {
|
|
2427
|
+
resultArray[i2] = arr0[i2] - arr1[i2];
|
|
2428
|
+
}
|
|
2429
|
+
return Array.from(resultArray);
|
|
2430
|
+
}
|
|
2431
|
+
throw new Error(`Unknown aggregation strategy: ${strategy}`);
|
|
2432
|
+
}
|
|
2045
2433
|
let getRandomValues$1;
|
|
2046
2434
|
const rnds8$1 = new Uint8Array(16);
|
|
2047
2435
|
function rng$1() {
|
|
@@ -17663,52 +18051,52 @@ function requireJson2csv_umd() {
|
|
|
17663
18051
|
return json2csv_umd$1.exports;
|
|
17664
18052
|
}
|
|
17665
18053
|
requireJson2csv_umd();
|
|
17666
|
-
|
|
17667
|
-
constructor(entries2, key2 = keyof
|
|
18054
|
+
class InternMap2 extends Map {
|
|
18055
|
+
constructor(entries2, key2 = keyof) {
|
|
17668
18056
|
super();
|
|
17669
18057
|
Object.defineProperties(this, { _intern: { value: /* @__PURE__ */ new Map() }, _key: { value: key2 } });
|
|
17670
18058
|
if (entries2 != null) for (const [key22, value2] of entries2) this.set(key22, value2);
|
|
17671
18059
|
}
|
|
17672
18060
|
get(key2) {
|
|
17673
|
-
return super.get(intern_get
|
|
18061
|
+
return super.get(intern_get(this, key2));
|
|
17674
18062
|
}
|
|
17675
18063
|
has(key2) {
|
|
17676
|
-
return super.has(intern_get
|
|
18064
|
+
return super.has(intern_get(this, key2));
|
|
17677
18065
|
}
|
|
17678
18066
|
set(key2, value2) {
|
|
17679
|
-
return super.set(intern_set
|
|
18067
|
+
return super.set(intern_set(this, key2), value2);
|
|
17680
18068
|
}
|
|
17681
18069
|
delete(key2) {
|
|
17682
|
-
return super.delete(intern_delete
|
|
18070
|
+
return super.delete(intern_delete(this, key2));
|
|
17683
18071
|
}
|
|
17684
|
-
}
|
|
18072
|
+
}
|
|
17685
18073
|
class InternSet extends Set {
|
|
17686
|
-
constructor(values2, key2 = keyof
|
|
18074
|
+
constructor(values2, key2 = keyof) {
|
|
17687
18075
|
super();
|
|
17688
18076
|
Object.defineProperties(this, { _intern: { value: /* @__PURE__ */ new Map() }, _key: { value: key2 } });
|
|
17689
18077
|
if (values2 != null) for (const value2 of values2) this.add(value2);
|
|
17690
18078
|
}
|
|
17691
18079
|
has(value2) {
|
|
17692
|
-
return super.has(intern_get
|
|
18080
|
+
return super.has(intern_get(this, value2));
|
|
17693
18081
|
}
|
|
17694
18082
|
add(value2) {
|
|
17695
|
-
return super.add(intern_set
|
|
18083
|
+
return super.add(intern_set(this, value2));
|
|
17696
18084
|
}
|
|
17697
18085
|
delete(value2) {
|
|
17698
|
-
return super.delete(intern_delete
|
|
18086
|
+
return super.delete(intern_delete(this, value2));
|
|
17699
18087
|
}
|
|
17700
18088
|
}
|
|
17701
|
-
function intern_get
|
|
18089
|
+
function intern_get({ _intern, _key }, value2) {
|
|
17702
18090
|
const key2 = _key(value2);
|
|
17703
18091
|
return _intern.has(key2) ? _intern.get(key2) : value2;
|
|
17704
18092
|
}
|
|
17705
|
-
function intern_set
|
|
18093
|
+
function intern_set({ _intern, _key }, value2) {
|
|
17706
18094
|
const key2 = _key(value2);
|
|
17707
18095
|
if (_intern.has(key2)) return _intern.get(key2);
|
|
17708
18096
|
_intern.set(key2, value2);
|
|
17709
18097
|
return value2;
|
|
17710
18098
|
}
|
|
17711
|
-
function intern_delete
|
|
18099
|
+
function intern_delete({ _intern, _key }, value2) {
|
|
17712
18100
|
const key2 = _key(value2);
|
|
17713
18101
|
if (_intern.has(key2)) {
|
|
17714
18102
|
value2 = _intern.get(key2);
|
|
@@ -17716,7 +18104,7 @@ function intern_delete$1({ _intern, _key }, value2) {
|
|
|
17716
18104
|
}
|
|
17717
18105
|
return value2;
|
|
17718
18106
|
}
|
|
17719
|
-
function keyof
|
|
18107
|
+
function keyof(value2) {
|
|
17720
18108
|
return value2 !== null && typeof value2 === "object" ? value2.valueOf() : value2;
|
|
17721
18109
|
}
|
|
17722
18110
|
const schemeRdBu = [[103, 0, 31], [178, 24, 43], [214, 96, 77], [244, 165, 130], [253, 219, 199], [247, 247, 247], [209, 229, 240], [146, 197, 222], [67, 147, 195], [33, 102, 172], [5, 48, 97]];
|
|
@@ -17759,7 +18147,7 @@ function basis$2(values2) {
|
|
|
17759
18147
|
const interpolateRgbBasis = rgbSpline$1(basis$2);
|
|
17760
18148
|
interpolateRgbBasis(schemeRdBu);
|
|
17761
18149
|
function stratifyExpressionData(sampleEdges, sampleSets, sampleSetSelection, expressionData, obsIndex, mergedCellSets, geneSelection, cellSetSelection, cellSetColor, featureValueTransform, featureValueTransformCoefficient) {
|
|
17762
|
-
const result = new
|
|
18150
|
+
const result = new InternMap2([], JSON.stringify);
|
|
17763
18151
|
const hasSampleSetSelection = Array.isArray(sampleSetSelection) && sampleSetSelection.length > 0;
|
|
17764
18152
|
const hasCellSetSelection = Array.isArray(cellSetSelection) && cellSetSelection.length > 0;
|
|
17765
18153
|
const hasGeneSelection = Array.isArray(geneSelection) && geneSelection.length > 0;
|
|
@@ -17767,9 +18155,9 @@ function stratifyExpressionData(sampleEdges, sampleSets, sampleSetSelection, exp
|
|
|
17767
18155
|
const cellSetKeys = hasCellSetSelection ? cellSetSelection : [null];
|
|
17768
18156
|
const geneKeys = hasGeneSelection ? geneSelection : [null];
|
|
17769
18157
|
cellSetKeys.forEach((cellSetKey) => {
|
|
17770
|
-
result.set(cellSetKey, new
|
|
18158
|
+
result.set(cellSetKey, new InternMap2([], JSON.stringify));
|
|
17771
18159
|
sampleSetKeys.forEach((sampleSetKey) => {
|
|
17772
|
-
result.get(cellSetKey).set(sampleSetKey, new
|
|
18160
|
+
result.get(cellSetKey).set(sampleSetKey, new InternMap2([], JSON.stringify));
|
|
17773
18161
|
geneKeys.forEach((geneKey) => {
|
|
17774
18162
|
result.get(cellSetKey).get(sampleSetKey).set(geneKey, []);
|
|
17775
18163
|
});
|
|
@@ -17801,9 +18189,9 @@ function stratifyExpressionData(sampleEdges, sampleSets, sampleSetSelection, exp
|
|
|
17801
18189
|
return [null, null];
|
|
17802
18190
|
}
|
|
17803
18191
|
function aggregateStratifiedExpressionData(stratifiedResult, geneSelection, featureAggregationStrategy) {
|
|
17804
|
-
const result = new
|
|
18192
|
+
const result = new InternMap2([], JSON.stringify);
|
|
17805
18193
|
Array.from(stratifiedResult.entries()).forEach(([cellSetKey, firstLevelInternMap]) => {
|
|
17806
|
-
result.set(cellSetKey, new
|
|
18194
|
+
result.set(cellSetKey, new InternMap2([], JSON.stringify));
|
|
17807
18195
|
Array.from(firstLevelInternMap.entries()).forEach(([sampleSetKey, secondLevelInternMap]) => {
|
|
17808
18196
|
let values2;
|
|
17809
18197
|
if (featureAggregationStrategy === "first") {
|
|
@@ -18114,7 +18502,7 @@ function peek$3() {
|
|
|
18114
18502
|
function caret() {
|
|
18115
18503
|
return position$1;
|
|
18116
18504
|
}
|
|
18117
|
-
function slice$
|
|
18505
|
+
function slice$4(begin, end2) {
|
|
18118
18506
|
return substr(characters, begin, end2);
|
|
18119
18507
|
}
|
|
18120
18508
|
function token(type2) {
|
|
@@ -18162,7 +18550,7 @@ function dealloc(value2) {
|
|
|
18162
18550
|
return characters = "", value2;
|
|
18163
18551
|
}
|
|
18164
18552
|
function delimit(type2) {
|
|
18165
|
-
return trim$1(slice$
|
|
18553
|
+
return trim$1(slice$4(position$1 - 1, delimiter(type2 === 91 ? type2 + 2 : type2 === 40 ? type2 + 1 : type2)));
|
|
18166
18554
|
}
|
|
18167
18555
|
function whitespace(type2) {
|
|
18168
18556
|
while (character = peek$3())
|
|
@@ -18176,7 +18564,7 @@ function escaping(index2, count2) {
|
|
|
18176
18564
|
while (--count2 && next())
|
|
18177
18565
|
if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
|
|
18178
18566
|
break;
|
|
18179
|
-
return slice$
|
|
18567
|
+
return slice$4(index2, caret() + (count2 < 6 && peek$3() == 32 && next() == 32));
|
|
18180
18568
|
}
|
|
18181
18569
|
function delimiter(type2) {
|
|
18182
18570
|
while (next())
|
|
@@ -18208,12 +18596,12 @@ function commenter(type2, index2) {
|
|
|
18208
18596
|
break;
|
|
18209
18597
|
else if (type2 + character === 42 + 42 && peek$3() === 47)
|
|
18210
18598
|
break;
|
|
18211
|
-
return "/*" + slice$
|
|
18599
|
+
return "/*" + slice$4(index2, position$1 - 1) + "*" + from(type2 === 47 ? type2 : next());
|
|
18212
18600
|
}
|
|
18213
18601
|
function identifier(index2) {
|
|
18214
18602
|
while (!token(peek$3()))
|
|
18215
18603
|
next();
|
|
18216
|
-
return slice$
|
|
18604
|
+
return slice$4(index2, position$1);
|
|
18217
18605
|
}
|
|
18218
18606
|
function compile$1(value2) {
|
|
18219
18607
|
return dealloc(parse$b("", null, null, null, [""], value2 = alloc(value2), 0, [0], value2));
|
|
@@ -18423,7 +18811,7 @@ var identifierWithPointTracking = function identifierWithPointTracking2(begin, p
|
|
|
18423
18811
|
}
|
|
18424
18812
|
next();
|
|
18425
18813
|
}
|
|
18426
|
-
return slice$
|
|
18814
|
+
return slice$4(begin, position$1);
|
|
18427
18815
|
};
|
|
18428
18816
|
var toRules = function toRules2(parsed, points2) {
|
|
18429
18817
|
var index2 = -1;
|
|
@@ -25624,10 +26012,17 @@ const { tss } = createTss({
|
|
|
25624
26012
|
"usePlugin": useMuiThemeStyleOverridesPlugin
|
|
25625
26013
|
});
|
|
25626
26014
|
const useStyles$2 = tss.create({});
|
|
25627
|
-
function
|
|
25628
|
-
return
|
|
25629
|
-
|
|
25630
|
-
|
|
26015
|
+
function createChainedFunction$1(...funcs) {
|
|
26016
|
+
return funcs.reduce((acc, func) => {
|
|
26017
|
+
if (func == null) {
|
|
26018
|
+
return acc;
|
|
26019
|
+
}
|
|
26020
|
+
return function chainedFunction(...args) {
|
|
26021
|
+
acc.apply(this, args);
|
|
26022
|
+
func.apply(this, args);
|
|
26023
|
+
};
|
|
26024
|
+
}, () => {
|
|
26025
|
+
});
|
|
25631
26026
|
}
|
|
25632
26027
|
function GlobalStyles(props) {
|
|
25633
26028
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalStyles$1, {
|
|
@@ -25680,6 +26075,475 @@ const memoTheme = unstable_memoTheme;
|
|
|
25680
26075
|
function useDefaultProps(params2) {
|
|
25681
26076
|
return useDefaultProps$1(params2);
|
|
25682
26077
|
}
|
|
26078
|
+
function getSvgIconUtilityClass(slot) {
|
|
26079
|
+
return generateUtilityClass("MuiSvgIcon", slot);
|
|
26080
|
+
}
|
|
26081
|
+
generateUtilityClasses("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
26082
|
+
const useUtilityClasses$1m = (ownerState) => {
|
|
26083
|
+
const {
|
|
26084
|
+
color: color2,
|
|
26085
|
+
fontSize: fontSize2,
|
|
26086
|
+
classes: classes2
|
|
26087
|
+
} = ownerState;
|
|
26088
|
+
const slots = {
|
|
26089
|
+
root: ["root", color2 !== "inherit" && `color${capitalize$1(color2)}`, `fontSize${capitalize$1(fontSize2)}`]
|
|
26090
|
+
};
|
|
26091
|
+
return composeClasses(slots, getSvgIconUtilityClass, classes2);
|
|
26092
|
+
};
|
|
26093
|
+
const SvgIconRoot = styled("svg", {
|
|
26094
|
+
name: "MuiSvgIcon",
|
|
26095
|
+
slot: "Root",
|
|
26096
|
+
overridesResolver: (props, styles2) => {
|
|
26097
|
+
const {
|
|
26098
|
+
ownerState
|
|
26099
|
+
} = props;
|
|
26100
|
+
return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize$1(ownerState.color)}`], styles2[`fontSize${capitalize$1(ownerState.fontSize)}`]];
|
|
26101
|
+
}
|
|
26102
|
+
})(memoTheme(({
|
|
26103
|
+
theme
|
|
26104
|
+
}) => {
|
|
26105
|
+
var _a3, _b2, _c2, _d2, _e, _f2, _g2, _h, _i, _j, _k2, _l, _m, _n;
|
|
26106
|
+
return {
|
|
26107
|
+
userSelect: "none",
|
|
26108
|
+
width: "1em",
|
|
26109
|
+
height: "1em",
|
|
26110
|
+
display: "inline-block",
|
|
26111
|
+
flexShrink: 0,
|
|
26112
|
+
transition: (_d2 = (_a3 = theme.transitions) == null ? void 0 : _a3.create) == null ? void 0 : _d2.call(_a3, "fill", {
|
|
26113
|
+
duration: (_c2 = (_b2 = (theme.vars ?? theme).transitions) == null ? void 0 : _b2.duration) == null ? void 0 : _c2.shorter
|
|
26114
|
+
}),
|
|
26115
|
+
variants: [
|
|
26116
|
+
{
|
|
26117
|
+
props: (props) => !props.hasSvgAsChild,
|
|
26118
|
+
style: {
|
|
26119
|
+
// the <svg> will define the property that has `currentColor`
|
|
26120
|
+
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
26121
|
+
fill: "currentColor"
|
|
26122
|
+
}
|
|
26123
|
+
},
|
|
26124
|
+
{
|
|
26125
|
+
props: {
|
|
26126
|
+
fontSize: "inherit"
|
|
26127
|
+
},
|
|
26128
|
+
style: {
|
|
26129
|
+
fontSize: "inherit"
|
|
26130
|
+
}
|
|
26131
|
+
},
|
|
26132
|
+
{
|
|
26133
|
+
props: {
|
|
26134
|
+
fontSize: "small"
|
|
26135
|
+
},
|
|
26136
|
+
style: {
|
|
26137
|
+
fontSize: ((_f2 = (_e = theme.typography) == null ? void 0 : _e.pxToRem) == null ? void 0 : _f2.call(_e, 20)) || "1.25rem"
|
|
26138
|
+
}
|
|
26139
|
+
},
|
|
26140
|
+
{
|
|
26141
|
+
props: {
|
|
26142
|
+
fontSize: "medium"
|
|
26143
|
+
},
|
|
26144
|
+
style: {
|
|
26145
|
+
fontSize: ((_h = (_g2 = theme.typography) == null ? void 0 : _g2.pxToRem) == null ? void 0 : _h.call(_g2, 24)) || "1.5rem"
|
|
26146
|
+
}
|
|
26147
|
+
},
|
|
26148
|
+
{
|
|
26149
|
+
props: {
|
|
26150
|
+
fontSize: "large"
|
|
26151
|
+
},
|
|
26152
|
+
style: {
|
|
26153
|
+
fontSize: ((_j = (_i = theme.typography) == null ? void 0 : _i.pxToRem) == null ? void 0 : _j.call(_i, 35)) || "2.1875rem"
|
|
26154
|
+
}
|
|
26155
|
+
},
|
|
26156
|
+
// TODO v5 deprecate color prop, v6 remove for sx
|
|
26157
|
+
...Object.entries((theme.vars ?? theme).palette).filter(([, value2]) => value2 && value2.main).map(([color2]) => {
|
|
26158
|
+
var _a4, _b3;
|
|
26159
|
+
return {
|
|
26160
|
+
props: {
|
|
26161
|
+
color: color2
|
|
26162
|
+
},
|
|
26163
|
+
style: {
|
|
26164
|
+
color: (_b3 = (_a4 = (theme.vars ?? theme).palette) == null ? void 0 : _a4[color2]) == null ? void 0 : _b3.main
|
|
26165
|
+
}
|
|
26166
|
+
};
|
|
26167
|
+
}),
|
|
26168
|
+
{
|
|
26169
|
+
props: {
|
|
26170
|
+
color: "action"
|
|
26171
|
+
},
|
|
26172
|
+
style: {
|
|
26173
|
+
color: (_l = (_k2 = (theme.vars ?? theme).palette) == null ? void 0 : _k2.action) == null ? void 0 : _l.active
|
|
26174
|
+
}
|
|
26175
|
+
},
|
|
26176
|
+
{
|
|
26177
|
+
props: {
|
|
26178
|
+
color: "disabled"
|
|
26179
|
+
},
|
|
26180
|
+
style: {
|
|
26181
|
+
color: (_n = (_m = (theme.vars ?? theme).palette) == null ? void 0 : _m.action) == null ? void 0 : _n.disabled
|
|
26182
|
+
}
|
|
26183
|
+
},
|
|
26184
|
+
{
|
|
26185
|
+
props: {
|
|
26186
|
+
color: "inherit"
|
|
26187
|
+
},
|
|
26188
|
+
style: {
|
|
26189
|
+
color: void 0
|
|
26190
|
+
}
|
|
26191
|
+
}
|
|
26192
|
+
]
|
|
26193
|
+
};
|
|
26194
|
+
}));
|
|
26195
|
+
const SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(inProps, ref2) {
|
|
26196
|
+
const props = useDefaultProps({
|
|
26197
|
+
props: inProps,
|
|
26198
|
+
name: "MuiSvgIcon"
|
|
26199
|
+
});
|
|
26200
|
+
const {
|
|
26201
|
+
children: children2,
|
|
26202
|
+
className,
|
|
26203
|
+
color: color2 = "inherit",
|
|
26204
|
+
component = "svg",
|
|
26205
|
+
fontSize: fontSize2 = "medium",
|
|
26206
|
+
htmlColor,
|
|
26207
|
+
inheritViewBox = false,
|
|
26208
|
+
titleAccess,
|
|
26209
|
+
viewBox = "0 0 24 24",
|
|
26210
|
+
...other
|
|
26211
|
+
} = props;
|
|
26212
|
+
const hasSvgAsChild = /* @__PURE__ */ React.isValidElement(children2) && children2.type === "svg";
|
|
26213
|
+
const ownerState = {
|
|
26214
|
+
...props,
|
|
26215
|
+
color: color2,
|
|
26216
|
+
component,
|
|
26217
|
+
fontSize: fontSize2,
|
|
26218
|
+
instanceFontSize: inProps.fontSize,
|
|
26219
|
+
inheritViewBox,
|
|
26220
|
+
viewBox,
|
|
26221
|
+
hasSvgAsChild
|
|
26222
|
+
};
|
|
26223
|
+
const more = {};
|
|
26224
|
+
if (!inheritViewBox) {
|
|
26225
|
+
more.viewBox = viewBox;
|
|
26226
|
+
}
|
|
26227
|
+
const classes2 = useUtilityClasses$1m(ownerState);
|
|
26228
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(SvgIconRoot, {
|
|
26229
|
+
as: component,
|
|
26230
|
+
className: clsx(classes2.root, className),
|
|
26231
|
+
focusable: "false",
|
|
26232
|
+
color: htmlColor,
|
|
26233
|
+
"aria-hidden": titleAccess ? void 0 : true,
|
|
26234
|
+
role: titleAccess ? "img" : void 0,
|
|
26235
|
+
ref: ref2,
|
|
26236
|
+
...more,
|
|
26237
|
+
...other,
|
|
26238
|
+
...hasSvgAsChild && children2.props,
|
|
26239
|
+
ownerState,
|
|
26240
|
+
children: [hasSvgAsChild ? children2.props.children : children2, titleAccess ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", {
|
|
26241
|
+
children: titleAccess
|
|
26242
|
+
}) : null]
|
|
26243
|
+
});
|
|
26244
|
+
});
|
|
26245
|
+
SvgIcon.propTypes = {
|
|
26246
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
26247
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
26248
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
26249
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
26250
|
+
/**
|
|
26251
|
+
* Node passed into the SVG element.
|
|
26252
|
+
*/
|
|
26253
|
+
children: _pt.node,
|
|
26254
|
+
/**
|
|
26255
|
+
* Override or extend the styles applied to the component.
|
|
26256
|
+
*/
|
|
26257
|
+
classes: _pt.object,
|
|
26258
|
+
/**
|
|
26259
|
+
* @ignore
|
|
26260
|
+
*/
|
|
26261
|
+
className: _pt.string,
|
|
26262
|
+
/**
|
|
26263
|
+
* The color of the component.
|
|
26264
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
26265
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
26266
|
+
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
26267
|
+
* @default 'inherit'
|
|
26268
|
+
*/
|
|
26269
|
+
color: _pt.oneOfType([_pt.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), _pt.string]),
|
|
26270
|
+
/**
|
|
26271
|
+
* The component used for the root node.
|
|
26272
|
+
* Either a string to use a HTML element or a component.
|
|
26273
|
+
*/
|
|
26274
|
+
component: _pt.elementType,
|
|
26275
|
+
/**
|
|
26276
|
+
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
26277
|
+
* @default 'medium'
|
|
26278
|
+
*/
|
|
26279
|
+
fontSize: _pt.oneOfType([_pt.oneOf(["inherit", "large", "medium", "small"]), _pt.string]),
|
|
26280
|
+
/**
|
|
26281
|
+
* Applies a color attribute to the SVG element.
|
|
26282
|
+
*/
|
|
26283
|
+
htmlColor: _pt.string,
|
|
26284
|
+
/**
|
|
26285
|
+
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
26286
|
+
* prop will be ignored.
|
|
26287
|
+
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
26288
|
+
* `component`'s viewBox to the root node.
|
|
26289
|
+
* @default false
|
|
26290
|
+
*/
|
|
26291
|
+
inheritViewBox: _pt.bool,
|
|
26292
|
+
/**
|
|
26293
|
+
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
26294
|
+
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
|
|
26295
|
+
* If you are having issues with blurry icons you should investigate this prop.
|
|
26296
|
+
*/
|
|
26297
|
+
shapeRendering: _pt.string,
|
|
26298
|
+
/**
|
|
26299
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26300
|
+
*/
|
|
26301
|
+
sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object]),
|
|
26302
|
+
/**
|
|
26303
|
+
* Provides a human-readable title for the element that contains it.
|
|
26304
|
+
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
26305
|
+
*/
|
|
26306
|
+
titleAccess: _pt.string,
|
|
26307
|
+
/**
|
|
26308
|
+
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
26309
|
+
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
26310
|
+
* and you pass viewBox="0 0 50 20",
|
|
26311
|
+
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
|
26312
|
+
* to bottom right (50,20) and each unit will be worth 10px.
|
|
26313
|
+
* @default '0 0 24 24'
|
|
26314
|
+
*/
|
|
26315
|
+
viewBox: _pt.string
|
|
26316
|
+
};
|
|
26317
|
+
SvgIcon.muiName = "SvgIcon";
|
|
26318
|
+
function createSvgIcon(path2, displayName) {
|
|
26319
|
+
function Component2(props, ref2) {
|
|
26320
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(SvgIcon, {
|
|
26321
|
+
"data-testid": `${displayName}Icon`,
|
|
26322
|
+
ref: ref2,
|
|
26323
|
+
...props,
|
|
26324
|
+
children: path2
|
|
26325
|
+
});
|
|
26326
|
+
}
|
|
26327
|
+
{
|
|
26328
|
+
Component2.displayName = `${displayName}Icon`;
|
|
26329
|
+
}
|
|
26330
|
+
Component2.muiName = SvgIcon.muiName;
|
|
26331
|
+
return /* @__PURE__ */ React.memo(/* @__PURE__ */ React.forwardRef(Component2));
|
|
26332
|
+
}
|
|
26333
|
+
function debounce$3(func, wait = 166) {
|
|
26334
|
+
let timeout3;
|
|
26335
|
+
function debounced(...args) {
|
|
26336
|
+
const later = () => {
|
|
26337
|
+
func.apply(this, args);
|
|
26338
|
+
};
|
|
26339
|
+
clearTimeout(timeout3);
|
|
26340
|
+
timeout3 = setTimeout(later, wait);
|
|
26341
|
+
}
|
|
26342
|
+
debounced.clear = () => {
|
|
26343
|
+
clearTimeout(timeout3);
|
|
26344
|
+
};
|
|
26345
|
+
return debounced;
|
|
26346
|
+
}
|
|
26347
|
+
function ownerDocument(node2) {
|
|
26348
|
+
return node2 && node2.ownerDocument || document;
|
|
26349
|
+
}
|
|
26350
|
+
function ownerWindow(node2) {
|
|
26351
|
+
const doc = ownerDocument(node2);
|
|
26352
|
+
return doc.defaultView || window;
|
|
26353
|
+
}
|
|
26354
|
+
function setRef$1(ref2, value2) {
|
|
26355
|
+
if (typeof ref2 === "function") {
|
|
26356
|
+
ref2(value2);
|
|
26357
|
+
} else if (ref2) {
|
|
26358
|
+
ref2.current = value2;
|
|
26359
|
+
}
|
|
26360
|
+
}
|
|
26361
|
+
let globalId$1 = 0;
|
|
26362
|
+
function useGlobalId(idOverride) {
|
|
26363
|
+
const [defaultId2, setDefaultId] = React.useState(idOverride);
|
|
26364
|
+
const id2 = idOverride || defaultId2;
|
|
26365
|
+
React.useEffect(() => {
|
|
26366
|
+
if (defaultId2 == null) {
|
|
26367
|
+
globalId$1 += 1;
|
|
26368
|
+
setDefaultId(`mui-${globalId$1}`);
|
|
26369
|
+
}
|
|
26370
|
+
}, [defaultId2]);
|
|
26371
|
+
return id2;
|
|
26372
|
+
}
|
|
26373
|
+
const safeReact = {
|
|
26374
|
+
...React
|
|
26375
|
+
};
|
|
26376
|
+
const maybeReactUseId = safeReact.useId;
|
|
26377
|
+
function useId(idOverride) {
|
|
26378
|
+
if (maybeReactUseId !== void 0) {
|
|
26379
|
+
const reactId = maybeReactUseId();
|
|
26380
|
+
return idOverride ?? reactId;
|
|
26381
|
+
}
|
|
26382
|
+
return useGlobalId(idOverride);
|
|
26383
|
+
}
|
|
26384
|
+
function unsupportedProp(props, propName, componentName, location, propFullName) {
|
|
26385
|
+
const propFullNameSafe = propFullName || propName;
|
|
26386
|
+
if (typeof props[propName] !== "undefined") {
|
|
26387
|
+
return new Error(`The prop \`${propFullNameSafe}\` is not supported. Please remove it.`);
|
|
26388
|
+
}
|
|
26389
|
+
return null;
|
|
26390
|
+
}
|
|
26391
|
+
function useControlled(props) {
|
|
26392
|
+
const {
|
|
26393
|
+
controlled,
|
|
26394
|
+
default: defaultProp,
|
|
26395
|
+
name: name2,
|
|
26396
|
+
state = "value"
|
|
26397
|
+
} = props;
|
|
26398
|
+
const {
|
|
26399
|
+
current: isControlled
|
|
26400
|
+
} = React.useRef(controlled !== void 0);
|
|
26401
|
+
const [valueState, setValue] = React.useState(defaultProp);
|
|
26402
|
+
const value2 = isControlled ? controlled : valueState;
|
|
26403
|
+
{
|
|
26404
|
+
React.useEffect(() => {
|
|
26405
|
+
if (isControlled !== (controlled !== void 0)) {
|
|
26406
|
+
console.error([`MUI: A component is changing the ${isControlled ? "" : "un"}controlled ${state} state of ${name2} to be ${isControlled ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${name2} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join("\n"));
|
|
26407
|
+
}
|
|
26408
|
+
}, [state, name2, controlled]);
|
|
26409
|
+
const {
|
|
26410
|
+
current: defaultValue2
|
|
26411
|
+
} = React.useRef(defaultProp);
|
|
26412
|
+
React.useEffect(() => {
|
|
26413
|
+
if (!isControlled && !Object.is(defaultValue2, defaultProp)) {
|
|
26414
|
+
console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name2} after being initialized. To suppress this warning opt to use a controlled ${name2}.`].join("\n"));
|
|
26415
|
+
}
|
|
26416
|
+
}, [JSON.stringify(defaultProp)]);
|
|
26417
|
+
}
|
|
26418
|
+
const setValueIfUncontrolled = React.useCallback((newValue) => {
|
|
26419
|
+
if (!isControlled) {
|
|
26420
|
+
setValue(newValue);
|
|
26421
|
+
}
|
|
26422
|
+
}, []);
|
|
26423
|
+
return [value2, setValueIfUncontrolled];
|
|
26424
|
+
}
|
|
26425
|
+
function useEventCallback(fn2) {
|
|
26426
|
+
const ref2 = React.useRef(fn2);
|
|
26427
|
+
useEnhancedEffect$1(() => {
|
|
26428
|
+
ref2.current = fn2;
|
|
26429
|
+
});
|
|
26430
|
+
return React.useRef((...args) => (
|
|
26431
|
+
// @ts-expect-error hide `this`
|
|
26432
|
+
(0, ref2.current)(...args)
|
|
26433
|
+
)).current;
|
|
26434
|
+
}
|
|
26435
|
+
function useForkRef$1(...refs) {
|
|
26436
|
+
const cleanupRef = React.useRef(void 0);
|
|
26437
|
+
const refEffect = React.useCallback((instance) => {
|
|
26438
|
+
const cleanups = refs.map((ref2) => {
|
|
26439
|
+
if (ref2 == null) {
|
|
26440
|
+
return null;
|
|
26441
|
+
}
|
|
26442
|
+
if (typeof ref2 === "function") {
|
|
26443
|
+
const refCallback = ref2;
|
|
26444
|
+
const refCleanup = refCallback(instance);
|
|
26445
|
+
return typeof refCleanup === "function" ? refCleanup : () => {
|
|
26446
|
+
refCallback(null);
|
|
26447
|
+
};
|
|
26448
|
+
}
|
|
26449
|
+
ref2.current = instance;
|
|
26450
|
+
return () => {
|
|
26451
|
+
ref2.current = null;
|
|
26452
|
+
};
|
|
26453
|
+
});
|
|
26454
|
+
return () => {
|
|
26455
|
+
cleanups.forEach((refCleanup) => refCleanup == null ? void 0 : refCleanup());
|
|
26456
|
+
};
|
|
26457
|
+
}, refs);
|
|
26458
|
+
return React.useMemo(() => {
|
|
26459
|
+
if (refs.every((ref2) => ref2 == null)) {
|
|
26460
|
+
return null;
|
|
26461
|
+
}
|
|
26462
|
+
return (value2) => {
|
|
26463
|
+
if (cleanupRef.current) {
|
|
26464
|
+
cleanupRef.current();
|
|
26465
|
+
cleanupRef.current = void 0;
|
|
26466
|
+
}
|
|
26467
|
+
if (value2 != null) {
|
|
26468
|
+
cleanupRef.current = refEffect(value2);
|
|
26469
|
+
}
|
|
26470
|
+
};
|
|
26471
|
+
}, refs);
|
|
26472
|
+
}
|
|
26473
|
+
function isEventHandler(key2, value2) {
|
|
26474
|
+
const thirdCharCode = key2.charCodeAt(2);
|
|
26475
|
+
return key2[0] === "o" && key2[1] === "n" && thirdCharCode >= 65 && thirdCharCode <= 90 && typeof value2 === "function";
|
|
26476
|
+
}
|
|
26477
|
+
function mergeSlotProps$1(externalSlotProps, defaultSlotProps) {
|
|
26478
|
+
if (!externalSlotProps) {
|
|
26479
|
+
return defaultSlotProps;
|
|
26480
|
+
}
|
|
26481
|
+
function extractHandlers(externalSlotPropsValue, defaultSlotPropsValue) {
|
|
26482
|
+
const handlers2 = {};
|
|
26483
|
+
Object.keys(defaultSlotPropsValue).forEach((key2) => {
|
|
26484
|
+
if (isEventHandler(key2, defaultSlotPropsValue[key2]) && typeof externalSlotPropsValue[key2] === "function") {
|
|
26485
|
+
handlers2[key2] = (...args) => {
|
|
26486
|
+
externalSlotPropsValue[key2](...args);
|
|
26487
|
+
defaultSlotPropsValue[key2](...args);
|
|
26488
|
+
};
|
|
26489
|
+
}
|
|
26490
|
+
});
|
|
26491
|
+
return handlers2;
|
|
26492
|
+
}
|
|
26493
|
+
if (typeof externalSlotProps === "function" || typeof defaultSlotProps === "function") {
|
|
26494
|
+
return (ownerState) => {
|
|
26495
|
+
const defaultSlotPropsValue = typeof defaultSlotProps === "function" ? defaultSlotProps(ownerState) : defaultSlotProps;
|
|
26496
|
+
const externalSlotPropsValue = typeof externalSlotProps === "function" ? externalSlotProps({
|
|
26497
|
+
...ownerState,
|
|
26498
|
+
...defaultSlotPropsValue
|
|
26499
|
+
}) : externalSlotProps;
|
|
26500
|
+
const className2 = clsx(ownerState == null ? void 0 : ownerState.className, defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.className, externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.className);
|
|
26501
|
+
const handlers2 = extractHandlers(externalSlotPropsValue, defaultSlotPropsValue);
|
|
26502
|
+
return {
|
|
26503
|
+
...defaultSlotPropsValue,
|
|
26504
|
+
...externalSlotPropsValue,
|
|
26505
|
+
...handlers2,
|
|
26506
|
+
...!!className2 && {
|
|
26507
|
+
className: className2
|
|
26508
|
+
},
|
|
26509
|
+
...(defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.style) && (externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.style) && {
|
|
26510
|
+
style: {
|
|
26511
|
+
...defaultSlotPropsValue.style,
|
|
26512
|
+
...externalSlotPropsValue.style
|
|
26513
|
+
}
|
|
26514
|
+
},
|
|
26515
|
+
...(defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.sx) && (externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.sx) && {
|
|
26516
|
+
sx: [...Array.isArray(defaultSlotPropsValue.sx) ? defaultSlotPropsValue.sx : [defaultSlotPropsValue.sx], ...Array.isArray(externalSlotPropsValue.sx) ? externalSlotPropsValue.sx : [externalSlotPropsValue.sx]]
|
|
26517
|
+
}
|
|
26518
|
+
};
|
|
26519
|
+
};
|
|
26520
|
+
}
|
|
26521
|
+
const typedDefaultSlotProps = defaultSlotProps;
|
|
26522
|
+
const handlers = extractHandlers(externalSlotProps, typedDefaultSlotProps);
|
|
26523
|
+
const className = clsx(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);
|
|
26524
|
+
return {
|
|
26525
|
+
...defaultSlotProps,
|
|
26526
|
+
...externalSlotProps,
|
|
26527
|
+
...handlers,
|
|
26528
|
+
...!!className && {
|
|
26529
|
+
className
|
|
26530
|
+
},
|
|
26531
|
+
...(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.style) && (externalSlotProps == null ? void 0 : externalSlotProps.style) && {
|
|
26532
|
+
style: {
|
|
26533
|
+
...typedDefaultSlotProps.style,
|
|
26534
|
+
...externalSlotProps.style
|
|
26535
|
+
}
|
|
26536
|
+
},
|
|
26537
|
+
...(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.sx) && (externalSlotProps == null ? void 0 : externalSlotProps.sx) && {
|
|
26538
|
+
sx: [...Array.isArray(typedDefaultSlotProps.sx) ? typedDefaultSlotProps.sx : [typedDefaultSlotProps.sx], ...Array.isArray(externalSlotProps.sx) ? externalSlotProps.sx : [externalSlotProps.sx]]
|
|
26539
|
+
}
|
|
26540
|
+
};
|
|
26541
|
+
}
|
|
26542
|
+
function chainPropTypes(propType1, propType2) {
|
|
26543
|
+
return function validate2(...args) {
|
|
26544
|
+
return propType1(...args) || propType2(...args);
|
|
26545
|
+
};
|
|
26546
|
+
}
|
|
25683
26547
|
function _extends$2() {
|
|
25684
26548
|
return _extends$2 = Object.assign ? Object.assign.bind() : function(n2) {
|
|
25685
26549
|
for (var e3 = 1; e3 < arguments.length; e3++) {
|
|
@@ -26464,482 +27328,6 @@ function getTransitionProps(props, options) {
|
|
|
26464
27328
|
delay: style2.transitionDelay
|
|
26465
27329
|
};
|
|
26466
27330
|
}
|
|
26467
|
-
function createChainedFunction$1(...funcs) {
|
|
26468
|
-
return funcs.reduce((acc, func) => {
|
|
26469
|
-
if (func == null) {
|
|
26470
|
-
return acc;
|
|
26471
|
-
}
|
|
26472
|
-
return function chainedFunction(...args) {
|
|
26473
|
-
acc.apply(this, args);
|
|
26474
|
-
func.apply(this, args);
|
|
26475
|
-
};
|
|
26476
|
-
}, () => {
|
|
26477
|
-
});
|
|
26478
|
-
}
|
|
26479
|
-
function getSvgIconUtilityClass(slot) {
|
|
26480
|
-
return generateUtilityClass("MuiSvgIcon", slot);
|
|
26481
|
-
}
|
|
26482
|
-
generateUtilityClasses("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
26483
|
-
const useUtilityClasses$1m = (ownerState) => {
|
|
26484
|
-
const {
|
|
26485
|
-
color: color2,
|
|
26486
|
-
fontSize: fontSize2,
|
|
26487
|
-
classes: classes2
|
|
26488
|
-
} = ownerState;
|
|
26489
|
-
const slots = {
|
|
26490
|
-
root: ["root", color2 !== "inherit" && `color${capitalize$1(color2)}`, `fontSize${capitalize$1(fontSize2)}`]
|
|
26491
|
-
};
|
|
26492
|
-
return composeClasses(slots, getSvgIconUtilityClass, classes2);
|
|
26493
|
-
};
|
|
26494
|
-
const SvgIconRoot = styled("svg", {
|
|
26495
|
-
name: "MuiSvgIcon",
|
|
26496
|
-
slot: "Root",
|
|
26497
|
-
overridesResolver: (props, styles2) => {
|
|
26498
|
-
const {
|
|
26499
|
-
ownerState
|
|
26500
|
-
} = props;
|
|
26501
|
-
return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize$1(ownerState.color)}`], styles2[`fontSize${capitalize$1(ownerState.fontSize)}`]];
|
|
26502
|
-
}
|
|
26503
|
-
})(memoTheme(({
|
|
26504
|
-
theme
|
|
26505
|
-
}) => {
|
|
26506
|
-
var _a3, _b2, _c2, _d2, _e, _f2, _g2, _h, _i, _j, _k2, _l, _m, _n;
|
|
26507
|
-
return {
|
|
26508
|
-
userSelect: "none",
|
|
26509
|
-
width: "1em",
|
|
26510
|
-
height: "1em",
|
|
26511
|
-
display: "inline-block",
|
|
26512
|
-
flexShrink: 0,
|
|
26513
|
-
transition: (_d2 = (_a3 = theme.transitions) == null ? void 0 : _a3.create) == null ? void 0 : _d2.call(_a3, "fill", {
|
|
26514
|
-
duration: (_c2 = (_b2 = (theme.vars ?? theme).transitions) == null ? void 0 : _b2.duration) == null ? void 0 : _c2.shorter
|
|
26515
|
-
}),
|
|
26516
|
-
variants: [
|
|
26517
|
-
{
|
|
26518
|
-
props: (props) => !props.hasSvgAsChild,
|
|
26519
|
-
style: {
|
|
26520
|
-
// the <svg> will define the property that has `currentColor`
|
|
26521
|
-
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
26522
|
-
fill: "currentColor"
|
|
26523
|
-
}
|
|
26524
|
-
},
|
|
26525
|
-
{
|
|
26526
|
-
props: {
|
|
26527
|
-
fontSize: "inherit"
|
|
26528
|
-
},
|
|
26529
|
-
style: {
|
|
26530
|
-
fontSize: "inherit"
|
|
26531
|
-
}
|
|
26532
|
-
},
|
|
26533
|
-
{
|
|
26534
|
-
props: {
|
|
26535
|
-
fontSize: "small"
|
|
26536
|
-
},
|
|
26537
|
-
style: {
|
|
26538
|
-
fontSize: ((_f2 = (_e = theme.typography) == null ? void 0 : _e.pxToRem) == null ? void 0 : _f2.call(_e, 20)) || "1.25rem"
|
|
26539
|
-
}
|
|
26540
|
-
},
|
|
26541
|
-
{
|
|
26542
|
-
props: {
|
|
26543
|
-
fontSize: "medium"
|
|
26544
|
-
},
|
|
26545
|
-
style: {
|
|
26546
|
-
fontSize: ((_h = (_g2 = theme.typography) == null ? void 0 : _g2.pxToRem) == null ? void 0 : _h.call(_g2, 24)) || "1.5rem"
|
|
26547
|
-
}
|
|
26548
|
-
},
|
|
26549
|
-
{
|
|
26550
|
-
props: {
|
|
26551
|
-
fontSize: "large"
|
|
26552
|
-
},
|
|
26553
|
-
style: {
|
|
26554
|
-
fontSize: ((_j = (_i = theme.typography) == null ? void 0 : _i.pxToRem) == null ? void 0 : _j.call(_i, 35)) || "2.1875rem"
|
|
26555
|
-
}
|
|
26556
|
-
},
|
|
26557
|
-
// TODO v5 deprecate color prop, v6 remove for sx
|
|
26558
|
-
...Object.entries((theme.vars ?? theme).palette).filter(([, value2]) => value2 && value2.main).map(([color2]) => {
|
|
26559
|
-
var _a4, _b3;
|
|
26560
|
-
return {
|
|
26561
|
-
props: {
|
|
26562
|
-
color: color2
|
|
26563
|
-
},
|
|
26564
|
-
style: {
|
|
26565
|
-
color: (_b3 = (_a4 = (theme.vars ?? theme).palette) == null ? void 0 : _a4[color2]) == null ? void 0 : _b3.main
|
|
26566
|
-
}
|
|
26567
|
-
};
|
|
26568
|
-
}),
|
|
26569
|
-
{
|
|
26570
|
-
props: {
|
|
26571
|
-
color: "action"
|
|
26572
|
-
},
|
|
26573
|
-
style: {
|
|
26574
|
-
color: (_l = (_k2 = (theme.vars ?? theme).palette) == null ? void 0 : _k2.action) == null ? void 0 : _l.active
|
|
26575
|
-
}
|
|
26576
|
-
},
|
|
26577
|
-
{
|
|
26578
|
-
props: {
|
|
26579
|
-
color: "disabled"
|
|
26580
|
-
},
|
|
26581
|
-
style: {
|
|
26582
|
-
color: (_n = (_m = (theme.vars ?? theme).palette) == null ? void 0 : _m.action) == null ? void 0 : _n.disabled
|
|
26583
|
-
}
|
|
26584
|
-
},
|
|
26585
|
-
{
|
|
26586
|
-
props: {
|
|
26587
|
-
color: "inherit"
|
|
26588
|
-
},
|
|
26589
|
-
style: {
|
|
26590
|
-
color: void 0
|
|
26591
|
-
}
|
|
26592
|
-
}
|
|
26593
|
-
]
|
|
26594
|
-
};
|
|
26595
|
-
}));
|
|
26596
|
-
const SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(inProps, ref2) {
|
|
26597
|
-
const props = useDefaultProps({
|
|
26598
|
-
props: inProps,
|
|
26599
|
-
name: "MuiSvgIcon"
|
|
26600
|
-
});
|
|
26601
|
-
const {
|
|
26602
|
-
children: children2,
|
|
26603
|
-
className,
|
|
26604
|
-
color: color2 = "inherit",
|
|
26605
|
-
component = "svg",
|
|
26606
|
-
fontSize: fontSize2 = "medium",
|
|
26607
|
-
htmlColor,
|
|
26608
|
-
inheritViewBox = false,
|
|
26609
|
-
titleAccess,
|
|
26610
|
-
viewBox = "0 0 24 24",
|
|
26611
|
-
...other
|
|
26612
|
-
} = props;
|
|
26613
|
-
const hasSvgAsChild = /* @__PURE__ */ React.isValidElement(children2) && children2.type === "svg";
|
|
26614
|
-
const ownerState = {
|
|
26615
|
-
...props,
|
|
26616
|
-
color: color2,
|
|
26617
|
-
component,
|
|
26618
|
-
fontSize: fontSize2,
|
|
26619
|
-
instanceFontSize: inProps.fontSize,
|
|
26620
|
-
inheritViewBox,
|
|
26621
|
-
viewBox,
|
|
26622
|
-
hasSvgAsChild
|
|
26623
|
-
};
|
|
26624
|
-
const more = {};
|
|
26625
|
-
if (!inheritViewBox) {
|
|
26626
|
-
more.viewBox = viewBox;
|
|
26627
|
-
}
|
|
26628
|
-
const classes2 = useUtilityClasses$1m(ownerState);
|
|
26629
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(SvgIconRoot, {
|
|
26630
|
-
as: component,
|
|
26631
|
-
className: clsx(classes2.root, className),
|
|
26632
|
-
focusable: "false",
|
|
26633
|
-
color: htmlColor,
|
|
26634
|
-
"aria-hidden": titleAccess ? void 0 : true,
|
|
26635
|
-
role: titleAccess ? "img" : void 0,
|
|
26636
|
-
ref: ref2,
|
|
26637
|
-
...more,
|
|
26638
|
-
...other,
|
|
26639
|
-
...hasSvgAsChild && children2.props,
|
|
26640
|
-
ownerState,
|
|
26641
|
-
children: [hasSvgAsChild ? children2.props.children : children2, titleAccess ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", {
|
|
26642
|
-
children: titleAccess
|
|
26643
|
-
}) : null]
|
|
26644
|
-
});
|
|
26645
|
-
});
|
|
26646
|
-
SvgIcon.propTypes = {
|
|
26647
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
26648
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
26649
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
26650
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
26651
|
-
/**
|
|
26652
|
-
* Node passed into the SVG element.
|
|
26653
|
-
*/
|
|
26654
|
-
children: _pt.node,
|
|
26655
|
-
/**
|
|
26656
|
-
* Override or extend the styles applied to the component.
|
|
26657
|
-
*/
|
|
26658
|
-
classes: _pt.object,
|
|
26659
|
-
/**
|
|
26660
|
-
* @ignore
|
|
26661
|
-
*/
|
|
26662
|
-
className: _pt.string,
|
|
26663
|
-
/**
|
|
26664
|
-
* The color of the component.
|
|
26665
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
26666
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
26667
|
-
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
26668
|
-
* @default 'inherit'
|
|
26669
|
-
*/
|
|
26670
|
-
color: _pt.oneOfType([_pt.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), _pt.string]),
|
|
26671
|
-
/**
|
|
26672
|
-
* The component used for the root node.
|
|
26673
|
-
* Either a string to use a HTML element or a component.
|
|
26674
|
-
*/
|
|
26675
|
-
component: _pt.elementType,
|
|
26676
|
-
/**
|
|
26677
|
-
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
26678
|
-
* @default 'medium'
|
|
26679
|
-
*/
|
|
26680
|
-
fontSize: _pt.oneOfType([_pt.oneOf(["inherit", "large", "medium", "small"]), _pt.string]),
|
|
26681
|
-
/**
|
|
26682
|
-
* Applies a color attribute to the SVG element.
|
|
26683
|
-
*/
|
|
26684
|
-
htmlColor: _pt.string,
|
|
26685
|
-
/**
|
|
26686
|
-
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
26687
|
-
* prop will be ignored.
|
|
26688
|
-
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
26689
|
-
* `component`'s viewBox to the root node.
|
|
26690
|
-
* @default false
|
|
26691
|
-
*/
|
|
26692
|
-
inheritViewBox: _pt.bool,
|
|
26693
|
-
/**
|
|
26694
|
-
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
26695
|
-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
|
|
26696
|
-
* If you are having issues with blurry icons you should investigate this prop.
|
|
26697
|
-
*/
|
|
26698
|
-
shapeRendering: _pt.string,
|
|
26699
|
-
/**
|
|
26700
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26701
|
-
*/
|
|
26702
|
-
sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object]),
|
|
26703
|
-
/**
|
|
26704
|
-
* Provides a human-readable title for the element that contains it.
|
|
26705
|
-
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
26706
|
-
*/
|
|
26707
|
-
titleAccess: _pt.string,
|
|
26708
|
-
/**
|
|
26709
|
-
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
26710
|
-
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
26711
|
-
* and you pass viewBox="0 0 50 20",
|
|
26712
|
-
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
|
26713
|
-
* to bottom right (50,20) and each unit will be worth 10px.
|
|
26714
|
-
* @default '0 0 24 24'
|
|
26715
|
-
*/
|
|
26716
|
-
viewBox: _pt.string
|
|
26717
|
-
};
|
|
26718
|
-
SvgIcon.muiName = "SvgIcon";
|
|
26719
|
-
function createSvgIcon(path2, displayName) {
|
|
26720
|
-
function Component2(props, ref2) {
|
|
26721
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(SvgIcon, {
|
|
26722
|
-
"data-testid": `${displayName}Icon`,
|
|
26723
|
-
ref: ref2,
|
|
26724
|
-
...props,
|
|
26725
|
-
children: path2
|
|
26726
|
-
});
|
|
26727
|
-
}
|
|
26728
|
-
{
|
|
26729
|
-
Component2.displayName = `${displayName}Icon`;
|
|
26730
|
-
}
|
|
26731
|
-
Component2.muiName = SvgIcon.muiName;
|
|
26732
|
-
return /* @__PURE__ */ React.memo(/* @__PURE__ */ React.forwardRef(Component2));
|
|
26733
|
-
}
|
|
26734
|
-
function debounce$3(func, wait = 166) {
|
|
26735
|
-
let timeout3;
|
|
26736
|
-
function debounced(...args) {
|
|
26737
|
-
const later = () => {
|
|
26738
|
-
func.apply(this, args);
|
|
26739
|
-
};
|
|
26740
|
-
clearTimeout(timeout3);
|
|
26741
|
-
timeout3 = setTimeout(later, wait);
|
|
26742
|
-
}
|
|
26743
|
-
debounced.clear = () => {
|
|
26744
|
-
clearTimeout(timeout3);
|
|
26745
|
-
};
|
|
26746
|
-
return debounced;
|
|
26747
|
-
}
|
|
26748
|
-
function ownerDocument(node2) {
|
|
26749
|
-
return node2 && node2.ownerDocument || document;
|
|
26750
|
-
}
|
|
26751
|
-
function ownerWindow(node2) {
|
|
26752
|
-
const doc = ownerDocument(node2);
|
|
26753
|
-
return doc.defaultView || window;
|
|
26754
|
-
}
|
|
26755
|
-
function setRef$1(ref2, value2) {
|
|
26756
|
-
if (typeof ref2 === "function") {
|
|
26757
|
-
ref2(value2);
|
|
26758
|
-
} else if (ref2) {
|
|
26759
|
-
ref2.current = value2;
|
|
26760
|
-
}
|
|
26761
|
-
}
|
|
26762
|
-
let globalId$1 = 0;
|
|
26763
|
-
function useGlobalId(idOverride) {
|
|
26764
|
-
const [defaultId2, setDefaultId] = React.useState(idOverride);
|
|
26765
|
-
const id2 = idOverride || defaultId2;
|
|
26766
|
-
React.useEffect(() => {
|
|
26767
|
-
if (defaultId2 == null) {
|
|
26768
|
-
globalId$1 += 1;
|
|
26769
|
-
setDefaultId(`mui-${globalId$1}`);
|
|
26770
|
-
}
|
|
26771
|
-
}, [defaultId2]);
|
|
26772
|
-
return id2;
|
|
26773
|
-
}
|
|
26774
|
-
const safeReact = {
|
|
26775
|
-
...React
|
|
26776
|
-
};
|
|
26777
|
-
const maybeReactUseId = safeReact.useId;
|
|
26778
|
-
function useId(idOverride) {
|
|
26779
|
-
if (maybeReactUseId !== void 0) {
|
|
26780
|
-
const reactId = maybeReactUseId();
|
|
26781
|
-
return idOverride ?? reactId;
|
|
26782
|
-
}
|
|
26783
|
-
return useGlobalId(idOverride);
|
|
26784
|
-
}
|
|
26785
|
-
function unsupportedProp(props, propName, componentName, location, propFullName) {
|
|
26786
|
-
const propFullNameSafe = propFullName || propName;
|
|
26787
|
-
if (typeof props[propName] !== "undefined") {
|
|
26788
|
-
return new Error(`The prop \`${propFullNameSafe}\` is not supported. Please remove it.`);
|
|
26789
|
-
}
|
|
26790
|
-
return null;
|
|
26791
|
-
}
|
|
26792
|
-
function useControlled(props) {
|
|
26793
|
-
const {
|
|
26794
|
-
controlled,
|
|
26795
|
-
default: defaultProp,
|
|
26796
|
-
name: name2,
|
|
26797
|
-
state = "value"
|
|
26798
|
-
} = props;
|
|
26799
|
-
const {
|
|
26800
|
-
current: isControlled
|
|
26801
|
-
} = React.useRef(controlled !== void 0);
|
|
26802
|
-
const [valueState, setValue] = React.useState(defaultProp);
|
|
26803
|
-
const value2 = isControlled ? controlled : valueState;
|
|
26804
|
-
{
|
|
26805
|
-
React.useEffect(() => {
|
|
26806
|
-
if (isControlled !== (controlled !== void 0)) {
|
|
26807
|
-
console.error([`MUI: A component is changing the ${isControlled ? "" : "un"}controlled ${state} state of ${name2} to be ${isControlled ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${name2} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join("\n"));
|
|
26808
|
-
}
|
|
26809
|
-
}, [state, name2, controlled]);
|
|
26810
|
-
const {
|
|
26811
|
-
current: defaultValue2
|
|
26812
|
-
} = React.useRef(defaultProp);
|
|
26813
|
-
React.useEffect(() => {
|
|
26814
|
-
if (!isControlled && !Object.is(defaultValue2, defaultProp)) {
|
|
26815
|
-
console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name2} after being initialized. To suppress this warning opt to use a controlled ${name2}.`].join("\n"));
|
|
26816
|
-
}
|
|
26817
|
-
}, [JSON.stringify(defaultProp)]);
|
|
26818
|
-
}
|
|
26819
|
-
const setValueIfUncontrolled = React.useCallback((newValue) => {
|
|
26820
|
-
if (!isControlled) {
|
|
26821
|
-
setValue(newValue);
|
|
26822
|
-
}
|
|
26823
|
-
}, []);
|
|
26824
|
-
return [value2, setValueIfUncontrolled];
|
|
26825
|
-
}
|
|
26826
|
-
function useEventCallback(fn2) {
|
|
26827
|
-
const ref2 = React.useRef(fn2);
|
|
26828
|
-
useEnhancedEffect$1(() => {
|
|
26829
|
-
ref2.current = fn2;
|
|
26830
|
-
});
|
|
26831
|
-
return React.useRef((...args) => (
|
|
26832
|
-
// @ts-expect-error hide `this`
|
|
26833
|
-
(0, ref2.current)(...args)
|
|
26834
|
-
)).current;
|
|
26835
|
-
}
|
|
26836
|
-
function useForkRef$1(...refs) {
|
|
26837
|
-
const cleanupRef = React.useRef(void 0);
|
|
26838
|
-
const refEffect = React.useCallback((instance) => {
|
|
26839
|
-
const cleanups = refs.map((ref2) => {
|
|
26840
|
-
if (ref2 == null) {
|
|
26841
|
-
return null;
|
|
26842
|
-
}
|
|
26843
|
-
if (typeof ref2 === "function") {
|
|
26844
|
-
const refCallback = ref2;
|
|
26845
|
-
const refCleanup = refCallback(instance);
|
|
26846
|
-
return typeof refCleanup === "function" ? refCleanup : () => {
|
|
26847
|
-
refCallback(null);
|
|
26848
|
-
};
|
|
26849
|
-
}
|
|
26850
|
-
ref2.current = instance;
|
|
26851
|
-
return () => {
|
|
26852
|
-
ref2.current = null;
|
|
26853
|
-
};
|
|
26854
|
-
});
|
|
26855
|
-
return () => {
|
|
26856
|
-
cleanups.forEach((refCleanup) => refCleanup == null ? void 0 : refCleanup());
|
|
26857
|
-
};
|
|
26858
|
-
}, refs);
|
|
26859
|
-
return React.useMemo(() => {
|
|
26860
|
-
if (refs.every((ref2) => ref2 == null)) {
|
|
26861
|
-
return null;
|
|
26862
|
-
}
|
|
26863
|
-
return (value2) => {
|
|
26864
|
-
if (cleanupRef.current) {
|
|
26865
|
-
cleanupRef.current();
|
|
26866
|
-
cleanupRef.current = void 0;
|
|
26867
|
-
}
|
|
26868
|
-
if (value2 != null) {
|
|
26869
|
-
cleanupRef.current = refEffect(value2);
|
|
26870
|
-
}
|
|
26871
|
-
};
|
|
26872
|
-
}, refs);
|
|
26873
|
-
}
|
|
26874
|
-
function isEventHandler(key2, value2) {
|
|
26875
|
-
const thirdCharCode = key2.charCodeAt(2);
|
|
26876
|
-
return key2[0] === "o" && key2[1] === "n" && thirdCharCode >= 65 && thirdCharCode <= 90 && typeof value2 === "function";
|
|
26877
|
-
}
|
|
26878
|
-
function mergeSlotProps$1(externalSlotProps, defaultSlotProps) {
|
|
26879
|
-
if (!externalSlotProps) {
|
|
26880
|
-
return defaultSlotProps;
|
|
26881
|
-
}
|
|
26882
|
-
function extractHandlers(externalSlotPropsValue, defaultSlotPropsValue) {
|
|
26883
|
-
const handlers2 = {};
|
|
26884
|
-
Object.keys(defaultSlotPropsValue).forEach((key2) => {
|
|
26885
|
-
if (isEventHandler(key2, defaultSlotPropsValue[key2]) && typeof externalSlotPropsValue[key2] === "function") {
|
|
26886
|
-
handlers2[key2] = (...args) => {
|
|
26887
|
-
externalSlotPropsValue[key2](...args);
|
|
26888
|
-
defaultSlotPropsValue[key2](...args);
|
|
26889
|
-
};
|
|
26890
|
-
}
|
|
26891
|
-
});
|
|
26892
|
-
return handlers2;
|
|
26893
|
-
}
|
|
26894
|
-
if (typeof externalSlotProps === "function" || typeof defaultSlotProps === "function") {
|
|
26895
|
-
return (ownerState) => {
|
|
26896
|
-
const defaultSlotPropsValue = typeof defaultSlotProps === "function" ? defaultSlotProps(ownerState) : defaultSlotProps;
|
|
26897
|
-
const externalSlotPropsValue = typeof externalSlotProps === "function" ? externalSlotProps({
|
|
26898
|
-
...ownerState,
|
|
26899
|
-
...defaultSlotPropsValue
|
|
26900
|
-
}) : externalSlotProps;
|
|
26901
|
-
const className2 = clsx(ownerState == null ? void 0 : ownerState.className, defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.className, externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.className);
|
|
26902
|
-
const handlers2 = extractHandlers(externalSlotPropsValue, defaultSlotPropsValue);
|
|
26903
|
-
return {
|
|
26904
|
-
...defaultSlotPropsValue,
|
|
26905
|
-
...externalSlotPropsValue,
|
|
26906
|
-
...handlers2,
|
|
26907
|
-
...!!className2 && {
|
|
26908
|
-
className: className2
|
|
26909
|
-
},
|
|
26910
|
-
...(defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.style) && (externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.style) && {
|
|
26911
|
-
style: {
|
|
26912
|
-
...defaultSlotPropsValue.style,
|
|
26913
|
-
...externalSlotPropsValue.style
|
|
26914
|
-
}
|
|
26915
|
-
},
|
|
26916
|
-
...(defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.sx) && (externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.sx) && {
|
|
26917
|
-
sx: [...Array.isArray(defaultSlotPropsValue.sx) ? defaultSlotPropsValue.sx : [defaultSlotPropsValue.sx], ...Array.isArray(externalSlotPropsValue.sx) ? externalSlotPropsValue.sx : [externalSlotPropsValue.sx]]
|
|
26918
|
-
}
|
|
26919
|
-
};
|
|
26920
|
-
};
|
|
26921
|
-
}
|
|
26922
|
-
const typedDefaultSlotProps = defaultSlotProps;
|
|
26923
|
-
const handlers = extractHandlers(externalSlotProps, typedDefaultSlotProps);
|
|
26924
|
-
const className = clsx(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);
|
|
26925
|
-
return {
|
|
26926
|
-
...defaultSlotProps,
|
|
26927
|
-
...externalSlotProps,
|
|
26928
|
-
...handlers,
|
|
26929
|
-
...!!className && {
|
|
26930
|
-
className
|
|
26931
|
-
},
|
|
26932
|
-
...(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.style) && (externalSlotProps == null ? void 0 : externalSlotProps.style) && {
|
|
26933
|
-
style: {
|
|
26934
|
-
...typedDefaultSlotProps.style,
|
|
26935
|
-
...externalSlotProps.style
|
|
26936
|
-
}
|
|
26937
|
-
},
|
|
26938
|
-
...(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.sx) && (externalSlotProps == null ? void 0 : externalSlotProps.sx) && {
|
|
26939
|
-
sx: [...Array.isArray(typedDefaultSlotProps.sx) ? typedDefaultSlotProps.sx : [typedDefaultSlotProps.sx], ...Array.isArray(externalSlotProps.sx) ? externalSlotProps.sx : [externalSlotProps.sx]]
|
|
26940
|
-
}
|
|
26941
|
-
};
|
|
26942
|
-
}
|
|
26943
27331
|
function getTypeByValue(value2) {
|
|
26944
27332
|
const valueType = typeof value2;
|
|
26945
27333
|
switch (valueType) {
|
|
@@ -29822,8 +30210,8 @@ const applyStyles$1 = {
|
|
|
29822
30210
|
function getBasePlacement(placement) {
|
|
29823
30211
|
return placement.split("-")[0];
|
|
29824
30212
|
}
|
|
29825
|
-
var max$
|
|
29826
|
-
var min$
|
|
30213
|
+
var max$3 = Math.max;
|
|
30214
|
+
var min$3 = Math.min;
|
|
29827
30215
|
var round$2 = Math.round;
|
|
29828
30216
|
function getUAString() {
|
|
29829
30217
|
var uaData = navigator.userAgentData;
|
|
@@ -29972,7 +30360,7 @@ function getMainAxisFromPlacement(placement) {
|
|
|
29972
30360
|
return ["top", "bottom"].indexOf(placement) >= 0 ? "x" : "y";
|
|
29973
30361
|
}
|
|
29974
30362
|
function within$1(min2, value2, max2) {
|
|
29975
|
-
return max$
|
|
30363
|
+
return max$3(min2, min$3(value2, max2));
|
|
29976
30364
|
}
|
|
29977
30365
|
function withinMaxClamp(min2, value2, max2) {
|
|
29978
30366
|
var v = within$1(min2, value2, max2);
|
|
@@ -30274,12 +30662,12 @@ function getDocumentRect(element2) {
|
|
|
30274
30662
|
var html = getDocumentElement(element2);
|
|
30275
30663
|
var winScroll = getWindowScroll(element2);
|
|
30276
30664
|
var body = (_element$ownerDocumen = element2.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
30277
|
-
var width2 = max$
|
|
30278
|
-
var height2 = max$
|
|
30665
|
+
var width2 = max$3(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
30666
|
+
var height2 = max$3(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
30279
30667
|
var x2 = -winScroll.scrollLeft + getWindowScrollBarX(element2);
|
|
30280
30668
|
var y2 = -winScroll.scrollTop;
|
|
30281
30669
|
if (getComputedStyle$1(body || html).direction === "rtl") {
|
|
30282
|
-
x2 += max$
|
|
30670
|
+
x2 += max$3(html.clientWidth, body ? body.clientWidth : 0) - width2;
|
|
30283
30671
|
}
|
|
30284
30672
|
return {
|
|
30285
30673
|
width: width2,
|
|
@@ -30356,10 +30744,10 @@ function getClippingRect(element2, boundary, rootBoundary, strategy) {
|
|
|
30356
30744
|
var firstClippingParent = clippingParents2[0];
|
|
30357
30745
|
var clippingRect = clippingParents2.reduce(function(accRect, clippingParent) {
|
|
30358
30746
|
var rect2 = getClientRectFromMixedType(element2, clippingParent, strategy);
|
|
30359
|
-
accRect.top = max$
|
|
30360
|
-
accRect.right = min$
|
|
30361
|
-
accRect.bottom = min$
|
|
30362
|
-
accRect.left = max$
|
|
30747
|
+
accRect.top = max$3(rect2.top, accRect.top);
|
|
30748
|
+
accRect.right = min$3(rect2.right, accRect.right);
|
|
30749
|
+
accRect.bottom = min$3(rect2.bottom, accRect.bottom);
|
|
30750
|
+
accRect.left = max$3(rect2.left, accRect.left);
|
|
30363
30751
|
return accRect;
|
|
30364
30752
|
}, getClientRectFromMixedType(element2, firstClippingParent, strategy));
|
|
30365
30753
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
@@ -30755,7 +31143,7 @@ function preventOverflow$1(_ref) {
|
|
|
30755
31143
|
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
30756
31144
|
var tetherMin = offset2 + minOffset - offsetModifierValue - clientOffset;
|
|
30757
31145
|
var tetherMax = offset2 + maxOffset - offsetModifierValue;
|
|
30758
|
-
var preventedOffset = within$1(tether ? min$
|
|
31146
|
+
var preventedOffset = within$1(tether ? min$3(min2, tetherMin) : min2, offset2, tether ? max$3(max2, tetherMax) : max2);
|
|
30759
31147
|
popperOffsets2[mainAxis] = preventedOffset;
|
|
30760
31148
|
data2[mainAxis] = preventedOffset - offset2;
|
|
30761
31149
|
}
|
|
@@ -37559,6 +37947,437 @@ InputLabel.propTypes = {
|
|
|
37559
37947
|
*/
|
|
37560
37948
|
variant: _pt.oneOf(["filled", "outlined", "standard"])
|
|
37561
37949
|
};
|
|
37950
|
+
function getLinearProgressUtilityClass(slot) {
|
|
37951
|
+
return generateUtilityClass("MuiLinearProgress", slot);
|
|
37952
|
+
}
|
|
37953
|
+
generateUtilityClasses("MuiLinearProgress", ["root", "colorPrimary", "colorSecondary", "determinate", "indeterminate", "buffer", "query", "dashed", "dashedColorPrimary", "dashedColorSecondary", "bar", "bar1", "bar2", "barColorPrimary", "barColorSecondary", "bar1Indeterminate", "bar1Determinate", "bar1Buffer", "bar2Indeterminate", "bar2Buffer"]);
|
|
37954
|
+
const TRANSITION_DURATION = 4;
|
|
37955
|
+
const indeterminate1Keyframe = keyframes`
|
|
37956
|
+
0% {
|
|
37957
|
+
left: -35%;
|
|
37958
|
+
right: 100%;
|
|
37959
|
+
}
|
|
37960
|
+
|
|
37961
|
+
60% {
|
|
37962
|
+
left: 100%;
|
|
37963
|
+
right: -90%;
|
|
37964
|
+
}
|
|
37965
|
+
|
|
37966
|
+
100% {
|
|
37967
|
+
left: 100%;
|
|
37968
|
+
right: -90%;
|
|
37969
|
+
}
|
|
37970
|
+
`;
|
|
37971
|
+
const indeterminate1Animation = typeof indeterminate1Keyframe !== "string" ? css`
|
|
37972
|
+
animation: ${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
37973
|
+
` : null;
|
|
37974
|
+
const indeterminate2Keyframe = keyframes`
|
|
37975
|
+
0% {
|
|
37976
|
+
left: -200%;
|
|
37977
|
+
right: 100%;
|
|
37978
|
+
}
|
|
37979
|
+
|
|
37980
|
+
60% {
|
|
37981
|
+
left: 107%;
|
|
37982
|
+
right: -8%;
|
|
37983
|
+
}
|
|
37984
|
+
|
|
37985
|
+
100% {
|
|
37986
|
+
left: 107%;
|
|
37987
|
+
right: -8%;
|
|
37988
|
+
}
|
|
37989
|
+
`;
|
|
37990
|
+
const indeterminate2Animation = typeof indeterminate2Keyframe !== "string" ? css`
|
|
37991
|
+
animation: ${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
37992
|
+
` : null;
|
|
37993
|
+
const bufferKeyframe = keyframes`
|
|
37994
|
+
0% {
|
|
37995
|
+
opacity: 1;
|
|
37996
|
+
background-position: 0 -23px;
|
|
37997
|
+
}
|
|
37998
|
+
|
|
37999
|
+
60% {
|
|
38000
|
+
opacity: 0;
|
|
38001
|
+
background-position: 0 -23px;
|
|
38002
|
+
}
|
|
38003
|
+
|
|
38004
|
+
100% {
|
|
38005
|
+
opacity: 1;
|
|
38006
|
+
background-position: -200px -23px;
|
|
38007
|
+
}
|
|
38008
|
+
`;
|
|
38009
|
+
const bufferAnimation = typeof bufferKeyframe !== "string" ? css`
|
|
38010
|
+
animation: ${bufferKeyframe} 3s infinite linear;
|
|
38011
|
+
` : null;
|
|
38012
|
+
const useUtilityClasses$13 = (ownerState) => {
|
|
38013
|
+
const {
|
|
38014
|
+
classes: classes2,
|
|
38015
|
+
variant,
|
|
38016
|
+
color: color2
|
|
38017
|
+
} = ownerState;
|
|
38018
|
+
const slots = {
|
|
38019
|
+
root: ["root", `color${capitalize$1(color2)}`, variant],
|
|
38020
|
+
dashed: ["dashed", `dashedColor${capitalize$1(color2)}`],
|
|
38021
|
+
bar1: ["bar", "bar1", `barColor${capitalize$1(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
|
|
38022
|
+
bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize$1(color2)}`, variant === "buffer" && `color${capitalize$1(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
|
|
38023
|
+
};
|
|
38024
|
+
return composeClasses(slots, getLinearProgressUtilityClass, classes2);
|
|
38025
|
+
};
|
|
38026
|
+
const getColorShade = (theme, color2) => {
|
|
38027
|
+
if (theme.vars) {
|
|
38028
|
+
return theme.vars.palette.LinearProgress[`${color2}Bg`];
|
|
38029
|
+
}
|
|
38030
|
+
return theme.palette.mode === "light" ? lighten(theme.palette[color2].main, 0.62) : darken(theme.palette[color2].main, 0.5);
|
|
38031
|
+
};
|
|
38032
|
+
const LinearProgressRoot = styled("span", {
|
|
38033
|
+
name: "MuiLinearProgress",
|
|
38034
|
+
slot: "Root",
|
|
38035
|
+
overridesResolver: (props, styles2) => {
|
|
38036
|
+
const {
|
|
38037
|
+
ownerState
|
|
38038
|
+
} = props;
|
|
38039
|
+
return [styles2.root, styles2[`color${capitalize$1(ownerState.color)}`], styles2[ownerState.variant]];
|
|
38040
|
+
}
|
|
38041
|
+
})(memoTheme(({
|
|
38042
|
+
theme
|
|
38043
|
+
}) => ({
|
|
38044
|
+
position: "relative",
|
|
38045
|
+
overflow: "hidden",
|
|
38046
|
+
display: "block",
|
|
38047
|
+
height: 4,
|
|
38048
|
+
// Fix Safari's bug during composition of different paint.
|
|
38049
|
+
zIndex: 0,
|
|
38050
|
+
"@media print": {
|
|
38051
|
+
colorAdjust: "exact"
|
|
38052
|
+
},
|
|
38053
|
+
variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
38054
|
+
props: {
|
|
38055
|
+
color: color2
|
|
38056
|
+
},
|
|
38057
|
+
style: {
|
|
38058
|
+
backgroundColor: getColorShade(theme, color2)
|
|
38059
|
+
}
|
|
38060
|
+
})), {
|
|
38061
|
+
props: ({
|
|
38062
|
+
ownerState
|
|
38063
|
+
}) => ownerState.color === "inherit" && ownerState.variant !== "buffer",
|
|
38064
|
+
style: {
|
|
38065
|
+
"&::before": {
|
|
38066
|
+
content: '""',
|
|
38067
|
+
position: "absolute",
|
|
38068
|
+
left: 0,
|
|
38069
|
+
top: 0,
|
|
38070
|
+
right: 0,
|
|
38071
|
+
bottom: 0,
|
|
38072
|
+
backgroundColor: "currentColor",
|
|
38073
|
+
opacity: 0.3
|
|
38074
|
+
}
|
|
38075
|
+
}
|
|
38076
|
+
}, {
|
|
38077
|
+
props: {
|
|
38078
|
+
variant: "buffer"
|
|
38079
|
+
},
|
|
38080
|
+
style: {
|
|
38081
|
+
backgroundColor: "transparent"
|
|
38082
|
+
}
|
|
38083
|
+
}, {
|
|
38084
|
+
props: {
|
|
38085
|
+
variant: "query"
|
|
38086
|
+
},
|
|
38087
|
+
style: {
|
|
38088
|
+
transform: "rotate(180deg)"
|
|
38089
|
+
}
|
|
38090
|
+
}]
|
|
38091
|
+
})));
|
|
38092
|
+
const LinearProgressDashed = styled("span", {
|
|
38093
|
+
name: "MuiLinearProgress",
|
|
38094
|
+
slot: "Dashed",
|
|
38095
|
+
overridesResolver: (props, styles2) => {
|
|
38096
|
+
const {
|
|
38097
|
+
ownerState
|
|
38098
|
+
} = props;
|
|
38099
|
+
return [styles2.dashed, styles2[`dashedColor${capitalize$1(ownerState.color)}`]];
|
|
38100
|
+
}
|
|
38101
|
+
})(memoTheme(({
|
|
38102
|
+
theme
|
|
38103
|
+
}) => ({
|
|
38104
|
+
position: "absolute",
|
|
38105
|
+
marginTop: 0,
|
|
38106
|
+
height: "100%",
|
|
38107
|
+
width: "100%",
|
|
38108
|
+
backgroundSize: "10px 10px",
|
|
38109
|
+
backgroundPosition: "0 -23px",
|
|
38110
|
+
variants: [{
|
|
38111
|
+
props: {
|
|
38112
|
+
color: "inherit"
|
|
38113
|
+
},
|
|
38114
|
+
style: {
|
|
38115
|
+
opacity: 0.3,
|
|
38116
|
+
backgroundImage: `radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)`
|
|
38117
|
+
}
|
|
38118
|
+
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => {
|
|
38119
|
+
const backgroundColor2 = getColorShade(theme, color2);
|
|
38120
|
+
return {
|
|
38121
|
+
props: {
|
|
38122
|
+
color: color2
|
|
38123
|
+
},
|
|
38124
|
+
style: {
|
|
38125
|
+
backgroundImage: `radial-gradient(${backgroundColor2} 0%, ${backgroundColor2} 16%, transparent 42%)`
|
|
38126
|
+
}
|
|
38127
|
+
};
|
|
38128
|
+
})]
|
|
38129
|
+
})), bufferAnimation || {
|
|
38130
|
+
// At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
|
|
38131
|
+
animation: `${bufferKeyframe} 3s infinite linear`
|
|
38132
|
+
});
|
|
38133
|
+
const LinearProgressBar1 = styled("span", {
|
|
38134
|
+
name: "MuiLinearProgress",
|
|
38135
|
+
slot: "Bar1",
|
|
38136
|
+
overridesResolver: (props, styles2) => {
|
|
38137
|
+
const {
|
|
38138
|
+
ownerState
|
|
38139
|
+
} = props;
|
|
38140
|
+
return [styles2.bar, styles2.bar1, styles2[`barColor${capitalize$1(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar1Indeterminate, ownerState.variant === "determinate" && styles2.bar1Determinate, ownerState.variant === "buffer" && styles2.bar1Buffer];
|
|
38141
|
+
}
|
|
38142
|
+
})(memoTheme(({
|
|
38143
|
+
theme
|
|
38144
|
+
}) => ({
|
|
38145
|
+
width: "100%",
|
|
38146
|
+
position: "absolute",
|
|
38147
|
+
left: 0,
|
|
38148
|
+
bottom: 0,
|
|
38149
|
+
top: 0,
|
|
38150
|
+
transition: "transform 0.2s linear",
|
|
38151
|
+
transformOrigin: "left",
|
|
38152
|
+
variants: [{
|
|
38153
|
+
props: {
|
|
38154
|
+
color: "inherit"
|
|
38155
|
+
},
|
|
38156
|
+
style: {
|
|
38157
|
+
backgroundColor: "currentColor"
|
|
38158
|
+
}
|
|
38159
|
+
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
38160
|
+
props: {
|
|
38161
|
+
color: color2
|
|
38162
|
+
},
|
|
38163
|
+
style: {
|
|
38164
|
+
backgroundColor: (theme.vars || theme).palette[color2].main
|
|
38165
|
+
}
|
|
38166
|
+
})), {
|
|
38167
|
+
props: {
|
|
38168
|
+
variant: "determinate"
|
|
38169
|
+
},
|
|
38170
|
+
style: {
|
|
38171
|
+
transition: `transform .${TRANSITION_DURATION}s linear`
|
|
38172
|
+
}
|
|
38173
|
+
}, {
|
|
38174
|
+
props: {
|
|
38175
|
+
variant: "buffer"
|
|
38176
|
+
},
|
|
38177
|
+
style: {
|
|
38178
|
+
zIndex: 1,
|
|
38179
|
+
transition: `transform .${TRANSITION_DURATION}s linear`
|
|
38180
|
+
}
|
|
38181
|
+
}, {
|
|
38182
|
+
props: ({
|
|
38183
|
+
ownerState
|
|
38184
|
+
}) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
|
|
38185
|
+
style: {
|
|
38186
|
+
width: "auto"
|
|
38187
|
+
}
|
|
38188
|
+
}, {
|
|
38189
|
+
props: ({
|
|
38190
|
+
ownerState
|
|
38191
|
+
}) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
|
|
38192
|
+
style: indeterminate1Animation || {
|
|
38193
|
+
animation: `${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`
|
|
38194
|
+
}
|
|
38195
|
+
}]
|
|
38196
|
+
})));
|
|
38197
|
+
const LinearProgressBar2 = styled("span", {
|
|
38198
|
+
name: "MuiLinearProgress",
|
|
38199
|
+
slot: "Bar2",
|
|
38200
|
+
overridesResolver: (props, styles2) => {
|
|
38201
|
+
const {
|
|
38202
|
+
ownerState
|
|
38203
|
+
} = props;
|
|
38204
|
+
return [styles2.bar, styles2.bar2, styles2[`barColor${capitalize$1(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar2Indeterminate, ownerState.variant === "buffer" && styles2.bar2Buffer];
|
|
38205
|
+
}
|
|
38206
|
+
})(memoTheme(({
|
|
38207
|
+
theme
|
|
38208
|
+
}) => ({
|
|
38209
|
+
width: "100%",
|
|
38210
|
+
position: "absolute",
|
|
38211
|
+
left: 0,
|
|
38212
|
+
bottom: 0,
|
|
38213
|
+
top: 0,
|
|
38214
|
+
transition: "transform 0.2s linear",
|
|
38215
|
+
transformOrigin: "left",
|
|
38216
|
+
variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
38217
|
+
props: {
|
|
38218
|
+
color: color2
|
|
38219
|
+
},
|
|
38220
|
+
style: {
|
|
38221
|
+
"--LinearProgressBar2-barColor": (theme.vars || theme).palette[color2].main
|
|
38222
|
+
}
|
|
38223
|
+
})), {
|
|
38224
|
+
props: ({
|
|
38225
|
+
ownerState
|
|
38226
|
+
}) => ownerState.variant !== "buffer" && ownerState.color !== "inherit",
|
|
38227
|
+
style: {
|
|
38228
|
+
backgroundColor: "var(--LinearProgressBar2-barColor, currentColor)"
|
|
38229
|
+
}
|
|
38230
|
+
}, {
|
|
38231
|
+
props: ({
|
|
38232
|
+
ownerState
|
|
38233
|
+
}) => ownerState.variant !== "buffer" && ownerState.color === "inherit",
|
|
38234
|
+
style: {
|
|
38235
|
+
backgroundColor: "currentColor"
|
|
38236
|
+
}
|
|
38237
|
+
}, {
|
|
38238
|
+
props: {
|
|
38239
|
+
color: "inherit"
|
|
38240
|
+
},
|
|
38241
|
+
style: {
|
|
38242
|
+
opacity: 0.3
|
|
38243
|
+
}
|
|
38244
|
+
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
38245
|
+
props: {
|
|
38246
|
+
color: color2,
|
|
38247
|
+
variant: "buffer"
|
|
38248
|
+
},
|
|
38249
|
+
style: {
|
|
38250
|
+
backgroundColor: getColorShade(theme, color2),
|
|
38251
|
+
transition: `transform .${TRANSITION_DURATION}s linear`
|
|
38252
|
+
}
|
|
38253
|
+
})), {
|
|
38254
|
+
props: ({
|
|
38255
|
+
ownerState
|
|
38256
|
+
}) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
|
|
38257
|
+
style: {
|
|
38258
|
+
width: "auto"
|
|
38259
|
+
}
|
|
38260
|
+
}, {
|
|
38261
|
+
props: ({
|
|
38262
|
+
ownerState
|
|
38263
|
+
}) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
|
|
38264
|
+
style: indeterminate2Animation || {
|
|
38265
|
+
animation: `${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`
|
|
38266
|
+
}
|
|
38267
|
+
}]
|
|
38268
|
+
})));
|
|
38269
|
+
const LinearProgress = /* @__PURE__ */ React.forwardRef(function LinearProgress2(inProps, ref2) {
|
|
38270
|
+
const props = useDefaultProps({
|
|
38271
|
+
props: inProps,
|
|
38272
|
+
name: "MuiLinearProgress"
|
|
38273
|
+
});
|
|
38274
|
+
const {
|
|
38275
|
+
className,
|
|
38276
|
+
color: color2 = "primary",
|
|
38277
|
+
value: value2,
|
|
38278
|
+
valueBuffer,
|
|
38279
|
+
variant = "indeterminate",
|
|
38280
|
+
...other
|
|
38281
|
+
} = props;
|
|
38282
|
+
const ownerState = {
|
|
38283
|
+
...props,
|
|
38284
|
+
color: color2,
|
|
38285
|
+
variant
|
|
38286
|
+
};
|
|
38287
|
+
const classes2 = useUtilityClasses$13(ownerState);
|
|
38288
|
+
const isRtl = useRtl();
|
|
38289
|
+
const rootProps = {};
|
|
38290
|
+
const inlineStyles = {
|
|
38291
|
+
bar1: {},
|
|
38292
|
+
bar2: {}
|
|
38293
|
+
};
|
|
38294
|
+
if (variant === "determinate" || variant === "buffer") {
|
|
38295
|
+
if (value2 !== void 0) {
|
|
38296
|
+
rootProps["aria-valuenow"] = Math.round(value2);
|
|
38297
|
+
rootProps["aria-valuemin"] = 0;
|
|
38298
|
+
rootProps["aria-valuemax"] = 100;
|
|
38299
|
+
let transform2 = value2 - 100;
|
|
38300
|
+
if (isRtl) {
|
|
38301
|
+
transform2 = -transform2;
|
|
38302
|
+
}
|
|
38303
|
+
inlineStyles.bar1.transform = `translateX(${transform2}%)`;
|
|
38304
|
+
} else {
|
|
38305
|
+
console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");
|
|
38306
|
+
}
|
|
38307
|
+
}
|
|
38308
|
+
if (variant === "buffer") {
|
|
38309
|
+
if (valueBuffer !== void 0) {
|
|
38310
|
+
let transform2 = (valueBuffer || 0) - 100;
|
|
38311
|
+
if (isRtl) {
|
|
38312
|
+
transform2 = -transform2;
|
|
38313
|
+
}
|
|
38314
|
+
inlineStyles.bar2.transform = `translateX(${transform2}%)`;
|
|
38315
|
+
} else {
|
|
38316
|
+
console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");
|
|
38317
|
+
}
|
|
38318
|
+
}
|
|
38319
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(LinearProgressRoot, {
|
|
38320
|
+
className: clsx(classes2.root, className),
|
|
38321
|
+
ownerState,
|
|
38322
|
+
role: "progressbar",
|
|
38323
|
+
...rootProps,
|
|
38324
|
+
ref: ref2,
|
|
38325
|
+
...other,
|
|
38326
|
+
children: [variant === "buffer" ? /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressDashed, {
|
|
38327
|
+
className: classes2.dashed,
|
|
38328
|
+
ownerState
|
|
38329
|
+
}) : null, /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressBar1, {
|
|
38330
|
+
className: classes2.bar1,
|
|
38331
|
+
ownerState,
|
|
38332
|
+
style: inlineStyles.bar1
|
|
38333
|
+
}), variant === "determinate" ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressBar2, {
|
|
38334
|
+
className: classes2.bar2,
|
|
38335
|
+
ownerState,
|
|
38336
|
+
style: inlineStyles.bar2
|
|
38337
|
+
})]
|
|
38338
|
+
});
|
|
38339
|
+
});
|
|
38340
|
+
LinearProgress.propTypes = {
|
|
38341
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
38342
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
38343
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
38344
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
38345
|
+
/**
|
|
38346
|
+
* Override or extend the styles applied to the component.
|
|
38347
|
+
*/
|
|
38348
|
+
classes: _pt.object,
|
|
38349
|
+
/**
|
|
38350
|
+
* @ignore
|
|
38351
|
+
*/
|
|
38352
|
+
className: _pt.string,
|
|
38353
|
+
/**
|
|
38354
|
+
* The color of the component.
|
|
38355
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
38356
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
38357
|
+
* @default 'primary'
|
|
38358
|
+
*/
|
|
38359
|
+
color: _pt.oneOfType([_pt.oneOf(["inherit", "primary", "secondary"]), _pt.string]),
|
|
38360
|
+
/**
|
|
38361
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
38362
|
+
*/
|
|
38363
|
+
sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object]),
|
|
38364
|
+
/**
|
|
38365
|
+
* The value of the progress indicator for the determinate and buffer variants.
|
|
38366
|
+
* Value between 0 and 100.
|
|
38367
|
+
*/
|
|
38368
|
+
value: _pt.number,
|
|
38369
|
+
/**
|
|
38370
|
+
* The value for the buffer variant.
|
|
38371
|
+
* Value between 0 and 100.
|
|
38372
|
+
*/
|
|
38373
|
+
valueBuffer: _pt.number,
|
|
38374
|
+
/**
|
|
38375
|
+
* The variant to use.
|
|
38376
|
+
* Use indeterminate or query when there is no progress value.
|
|
38377
|
+
* @default 'indeterminate'
|
|
38378
|
+
*/
|
|
38379
|
+
variant: _pt.oneOf(["buffer", "determinate", "indeterminate", "query"])
|
|
38380
|
+
};
|
|
37562
38381
|
const ListContext = /* @__PURE__ */ React.createContext({});
|
|
37563
38382
|
{
|
|
37564
38383
|
ListContext.displayName = "ListContext";
|
|
@@ -37567,7 +38386,7 @@ function getListUtilityClass(slot) {
|
|
|
37567
38386
|
return generateUtilityClass("MuiList", slot);
|
|
37568
38387
|
}
|
|
37569
38388
|
generateUtilityClasses("MuiList", ["root", "padding", "dense", "subheader"]);
|
|
37570
|
-
const useUtilityClasses$
|
|
38389
|
+
const useUtilityClasses$12 = (ownerState) => {
|
|
37571
38390
|
const {
|
|
37572
38391
|
classes: classes2,
|
|
37573
38392
|
disablePadding,
|
|
@@ -37633,7 +38452,7 @@ const List = /* @__PURE__ */ React.forwardRef(function List2(inProps, ref2) {
|
|
|
37633
38452
|
dense,
|
|
37634
38453
|
disablePadding
|
|
37635
38454
|
};
|
|
37636
|
-
const classes2 = useUtilityClasses$
|
|
38455
|
+
const classes2 = useUtilityClasses$12(ownerState);
|
|
37637
38456
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ListContext.Provider, {
|
|
37638
38457
|
value: context2,
|
|
37639
38458
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ListRoot, {
|
|
@@ -37693,7 +38512,7 @@ function getListItemTextUtilityClass(slot) {
|
|
|
37693
38512
|
return generateUtilityClass("MuiListItemText", slot);
|
|
37694
38513
|
}
|
|
37695
38514
|
const listItemTextClasses = generateUtilityClasses("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
|
|
37696
|
-
const useUtilityClasses$
|
|
38515
|
+
const useUtilityClasses$11 = (ownerState) => {
|
|
37697
38516
|
const {
|
|
37698
38517
|
classes: classes2,
|
|
37699
38518
|
inset,
|
|
@@ -37780,7 +38599,7 @@ const ListItemText = /* @__PURE__ */ React.forwardRef(function ListItemText2(inP
|
|
|
37780
38599
|
secondary: !!secondary,
|
|
37781
38600
|
dense
|
|
37782
38601
|
};
|
|
37783
|
-
const classes2 = useUtilityClasses$
|
|
38602
|
+
const classes2 = useUtilityClasses$11(ownerState);
|
|
37784
38603
|
const externalForwardedProps = {
|
|
37785
38604
|
slots,
|
|
37786
38605
|
slotProps: {
|
|
@@ -38157,7 +38976,7 @@ function getDividerUtilityClass(slot) {
|
|
|
38157
38976
|
return generateUtilityClass("MuiDivider", slot);
|
|
38158
38977
|
}
|
|
38159
38978
|
const dividerClasses = generateUtilityClasses("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
38160
|
-
const useUtilityClasses$
|
|
38979
|
+
const useUtilityClasses$10 = (ownerState) => {
|
|
38161
38980
|
const {
|
|
38162
38981
|
absolute,
|
|
38163
38982
|
children: children2,
|
|
@@ -38371,7 +39190,7 @@ const Divider$1 = /* @__PURE__ */ React.forwardRef(function Divider2(inProps, re
|
|
|
38371
39190
|
textAlign: textAlign2,
|
|
38372
39191
|
variant
|
|
38373
39192
|
};
|
|
38374
|
-
const classes2 = useUtilityClasses$
|
|
39193
|
+
const classes2 = useUtilityClasses$10(ownerState);
|
|
38375
39194
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(DividerRoot, {
|
|
38376
39195
|
as: component,
|
|
38377
39196
|
className: clsx(classes2.root, className),
|
|
@@ -38457,7 +39276,7 @@ function getListItemIconUtilityClass(slot) {
|
|
|
38457
39276
|
return generateUtilityClass("MuiListItemIcon", slot);
|
|
38458
39277
|
}
|
|
38459
39278
|
const listItemIconClasses = generateUtilityClasses("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
|
|
38460
|
-
const useUtilityClasses
|
|
39279
|
+
const useUtilityClasses$$ = (ownerState) => {
|
|
38461
39280
|
const {
|
|
38462
39281
|
alignItems,
|
|
38463
39282
|
classes: classes2
|
|
@@ -38506,7 +39325,7 @@ const ListItemIcon = /* @__PURE__ */ React.forwardRef(function ListItemIcon2(inP
|
|
|
38506
39325
|
...props,
|
|
38507
39326
|
alignItems: context2.alignItems
|
|
38508
39327
|
};
|
|
38509
|
-
const classes2 = useUtilityClasses
|
|
39328
|
+
const classes2 = useUtilityClasses$$(ownerState);
|
|
38510
39329
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIconRoot, {
|
|
38511
39330
|
className: clsx(classes2.root, className),
|
|
38512
39331
|
ownerState,
|
|
@@ -38547,7 +39366,7 @@ const overridesResolver$1 = (props, styles2) => {
|
|
|
38547
39366
|
} = props;
|
|
38548
39367
|
return [styles2.root, ownerState.dense && styles2.dense, ownerState.divider && styles2.divider, !ownerState.disableGutters && styles2.gutters];
|
|
38549
39368
|
};
|
|
38550
|
-
const useUtilityClasses
|
|
39369
|
+
const useUtilityClasses$_ = (ownerState) => {
|
|
38551
39370
|
const {
|
|
38552
39371
|
disabled,
|
|
38553
39372
|
dense,
|
|
@@ -38707,7 +39526,7 @@ const MenuItem = /* @__PURE__ */ React.forwardRef(function MenuItem2(inProps, re
|
|
|
38707
39526
|
divider,
|
|
38708
39527
|
disableGutters
|
|
38709
39528
|
};
|
|
38710
|
-
const classes2 = useUtilityClasses
|
|
39529
|
+
const classes2 = useUtilityClasses$_(props);
|
|
38711
39530
|
const handleRef = useForkRef$1(menuItemRef, ref2);
|
|
38712
39531
|
let tabIndex;
|
|
38713
39532
|
if (!props.disabled) {
|
|
@@ -38807,7 +39626,7 @@ function getNativeSelectUtilityClasses(slot) {
|
|
|
38807
39626
|
return generateUtilityClass("MuiNativeSelect", slot);
|
|
38808
39627
|
}
|
|
38809
39628
|
const nativeSelectClasses = generateUtilityClasses("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
|
|
38810
|
-
const useUtilityClasses$
|
|
39629
|
+
const useUtilityClasses$Z = (ownerState) => {
|
|
38811
39630
|
const {
|
|
38812
39631
|
classes: classes2,
|
|
38813
39632
|
variant,
|
|
@@ -38962,7 +39781,7 @@ const NativeSelectInput = /* @__PURE__ */ React.forwardRef(function NativeSelect
|
|
|
38962
39781
|
variant,
|
|
38963
39782
|
error: error2
|
|
38964
39783
|
};
|
|
38965
|
-
const classes2 = useUtilityClasses$
|
|
39784
|
+
const classes2 = useUtilityClasses$Z(ownerState);
|
|
38966
39785
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(React.Fragment, {
|
|
38967
39786
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsx(NativeSelectSelect, {
|
|
38968
39787
|
ownerState,
|
|
@@ -39032,7 +39851,7 @@ NativeSelectInput.propTypes = {
|
|
|
39032
39851
|
*/
|
|
39033
39852
|
variant: _pt.oneOf(["standard", "outlined", "filled"])
|
|
39034
39853
|
};
|
|
39035
|
-
const useUtilityClasses$
|
|
39854
|
+
const useUtilityClasses$Y = (ownerState) => {
|
|
39036
39855
|
const {
|
|
39037
39856
|
classes: classes2,
|
|
39038
39857
|
disableUnderline
|
|
@@ -39165,7 +39984,7 @@ const Input$1 = /* @__PURE__ */ React.forwardRef(function Input2(inProps, ref2)
|
|
|
39165
39984
|
type: type2 = "text",
|
|
39166
39985
|
...other
|
|
39167
39986
|
} = props;
|
|
39168
|
-
const classes2 = useUtilityClasses$
|
|
39987
|
+
const classes2 = useUtilityClasses$Y(props);
|
|
39169
39988
|
const ownerState = {
|
|
39170
39989
|
disableUnderline
|
|
39171
39990
|
};
|
|
@@ -40065,7 +40884,7 @@ function getBackdropUtilityClass(slot) {
|
|
|
40065
40884
|
return generateUtilityClass("MuiBackdrop", slot);
|
|
40066
40885
|
}
|
|
40067
40886
|
generateUtilityClasses("MuiBackdrop", ["root", "invisible"]);
|
|
40068
|
-
const useUtilityClasses$
|
|
40887
|
+
const useUtilityClasses$X = (ownerState) => {
|
|
40069
40888
|
const {
|
|
40070
40889
|
classes: classes2,
|
|
40071
40890
|
invisible
|
|
@@ -40128,7 +40947,7 @@ const Backdrop = /* @__PURE__ */ React.forwardRef(function Backdrop2(inProps, re
|
|
|
40128
40947
|
component,
|
|
40129
40948
|
invisible
|
|
40130
40949
|
};
|
|
40131
|
-
const classes2 = useUtilityClasses$
|
|
40950
|
+
const classes2 = useUtilityClasses$X(ownerState);
|
|
40132
40951
|
const backwardCompatibleSlots = {
|
|
40133
40952
|
transition: TransitionComponentProp,
|
|
40134
40953
|
root: components.Root,
|
|
@@ -40427,7 +41246,7 @@ function getModalUtilityClass(slot) {
|
|
|
40427
41246
|
return generateUtilityClass("MuiModal", slot);
|
|
40428
41247
|
}
|
|
40429
41248
|
generateUtilityClasses("MuiModal", ["root", "hidden", "backdrop"]);
|
|
40430
|
-
const useUtilityClasses$
|
|
41249
|
+
const useUtilityClasses$W = (ownerState) => {
|
|
40431
41250
|
const {
|
|
40432
41251
|
open,
|
|
40433
41252
|
exited,
|
|
@@ -40534,7 +41353,7 @@ const Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref2) {
|
|
|
40534
41353
|
...propsWithDefaults,
|
|
40535
41354
|
exited
|
|
40536
41355
|
};
|
|
40537
|
-
const classes2 = useUtilityClasses$
|
|
41356
|
+
const classes2 = useUtilityClasses$W(ownerState);
|
|
40538
41357
|
const childProps = {};
|
|
40539
41358
|
if (children2.props.tabIndex === void 0) {
|
|
40540
41359
|
childProps.tabIndex = "-1";
|
|
@@ -40814,7 +41633,7 @@ function getTransformOriginValue(transformOrigin2) {
|
|
|
40814
41633
|
function resolveAnchorEl(anchorEl) {
|
|
40815
41634
|
return typeof anchorEl === "function" ? anchorEl() : anchorEl;
|
|
40816
41635
|
}
|
|
40817
|
-
const useUtilityClasses$
|
|
41636
|
+
const useUtilityClasses$V = (ownerState) => {
|
|
40818
41637
|
const {
|
|
40819
41638
|
classes: classes2
|
|
40820
41639
|
} = ownerState;
|
|
@@ -40892,7 +41711,7 @@ const Popover = /* @__PURE__ */ React.forwardRef(function Popover2(inProps, ref2
|
|
|
40892
41711
|
transitionDuration: transitionDurationProp,
|
|
40893
41712
|
TransitionProps
|
|
40894
41713
|
};
|
|
40895
|
-
const classes2 = useUtilityClasses$
|
|
41714
|
+
const classes2 = useUtilityClasses$V(ownerState);
|
|
40896
41715
|
const getAnchorOffset = React.useCallback(() => {
|
|
40897
41716
|
if (anchorReference === "anchorPosition") {
|
|
40898
41717
|
{
|
|
@@ -41331,7 +42150,7 @@ const LTR_ORIGIN = {
|
|
|
41331
42150
|
vertical: "top",
|
|
41332
42151
|
horizontal: "left"
|
|
41333
42152
|
};
|
|
41334
|
-
const useUtilityClasses$
|
|
42153
|
+
const useUtilityClasses$U = (ownerState) => {
|
|
41335
42154
|
const {
|
|
41336
42155
|
classes: classes2
|
|
41337
42156
|
} = ownerState;
|
|
@@ -41402,7 +42221,7 @@ const Menu = /* @__PURE__ */ React.forwardRef(function Menu2(inProps, ref2) {
|
|
|
41402
42221
|
TransitionProps,
|
|
41403
42222
|
variant
|
|
41404
42223
|
};
|
|
41405
|
-
const classes2 = useUtilityClasses$
|
|
42224
|
+
const classes2 = useUtilityClasses$U(ownerState);
|
|
41406
42225
|
const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
|
|
41407
42226
|
const menuListActionsRef = React.useRef(null);
|
|
41408
42227
|
const handleEntering = (element2, isAppearing) => {
|
|
@@ -41707,7 +42526,7 @@ function areEqualValues(a2, b2) {
|
|
|
41707
42526
|
function isEmpty$1(display) {
|
|
41708
42527
|
return display == null || typeof display === "string" && !display.trim();
|
|
41709
42528
|
}
|
|
41710
|
-
const useUtilityClasses$
|
|
42529
|
+
const useUtilityClasses$T = (ownerState) => {
|
|
41711
42530
|
const {
|
|
41712
42531
|
classes: classes2,
|
|
41713
42532
|
variant,
|
|
@@ -42027,7 +42846,7 @@ const SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props
|
|
|
42027
42846
|
open,
|
|
42028
42847
|
error: error2
|
|
42029
42848
|
};
|
|
42030
|
-
const classes2 = useUtilityClasses$
|
|
42849
|
+
const classes2 = useUtilityClasses$T(ownerState);
|
|
42031
42850
|
const paperProps = {
|
|
42032
42851
|
...MenuProps.PaperProps,
|
|
42033
42852
|
...(_a3 = MenuProps.slotProps) == null ? void 0 : _a3.paper
|
|
@@ -42266,7 +43085,7 @@ SelectInput.propTypes = {
|
|
|
42266
43085
|
*/
|
|
42267
43086
|
variant: _pt.oneOf(["standard", "outlined", "filled"])
|
|
42268
43087
|
};
|
|
42269
|
-
const useUtilityClasses$
|
|
43088
|
+
const useUtilityClasses$S = (ownerState) => {
|
|
42270
43089
|
const {
|
|
42271
43090
|
classes: classes2,
|
|
42272
43091
|
disableUnderline,
|
|
@@ -42548,7 +43367,7 @@ const FilledInput = /* @__PURE__ */ React.forwardRef(function FilledInput2(inPro
|
|
|
42548
43367
|
multiline,
|
|
42549
43368
|
type: type2
|
|
42550
43369
|
};
|
|
42551
|
-
const classes2 = useUtilityClasses$
|
|
43370
|
+
const classes2 = useUtilityClasses$S(props);
|
|
42552
43371
|
const filledInputComponentsProps = {
|
|
42553
43372
|
root: {
|
|
42554
43373
|
ownerState
|
|
@@ -42912,7 +43731,7 @@ NotchedOutline.propTypes = {
|
|
|
42912
43731
|
*/
|
|
42913
43732
|
style: _pt.object
|
|
42914
43733
|
};
|
|
42915
|
-
const useUtilityClasses$
|
|
43734
|
+
const useUtilityClasses$R = (ownerState) => {
|
|
42916
43735
|
const {
|
|
42917
43736
|
classes: classes2
|
|
42918
43737
|
} = ownerState;
|
|
@@ -43090,7 +43909,7 @@ const OutlinedInput = /* @__PURE__ */ React.forwardRef(function OutlinedInput2(i
|
|
|
43090
43909
|
type: type2 = "text",
|
|
43091
43910
|
...other
|
|
43092
43911
|
} = props;
|
|
43093
|
-
const classes2 = useUtilityClasses$
|
|
43912
|
+
const classes2 = useUtilityClasses$R(props);
|
|
43094
43913
|
const muiFormControl = useFormControl();
|
|
43095
43914
|
const fcs = formControlState({
|
|
43096
43915
|
props,
|
|
@@ -43322,7 +44141,7 @@ OutlinedInput.propTypes = {
|
|
|
43322
44141
|
value: _pt.any
|
|
43323
44142
|
};
|
|
43324
44143
|
OutlinedInput.muiName = "Input";
|
|
43325
|
-
const useUtilityClasses$
|
|
44144
|
+
const useUtilityClasses$Q = (ownerState) => {
|
|
43326
44145
|
const {
|
|
43327
44146
|
classes: classes2
|
|
43328
44147
|
} = ownerState;
|
|
@@ -43385,7 +44204,7 @@ const Select = /* @__PURE__ */ React.forwardRef(function Select2(inProps, ref2)
|
|
|
43385
44204
|
variant,
|
|
43386
44205
|
classes: classesProp
|
|
43387
44206
|
};
|
|
43388
|
-
const classes2 = useUtilityClasses$
|
|
44207
|
+
const classes2 = useUtilityClasses$Q(ownerState);
|
|
43389
44208
|
const {
|
|
43390
44209
|
root: root2,
|
|
43391
44210
|
...restOfClasses
|
|
@@ -44808,7 +45627,7 @@ const SliderMarkLabel = styled("span", {
|
|
|
44808
45627
|
}
|
|
44809
45628
|
}]
|
|
44810
45629
|
})));
|
|
44811
|
-
const useUtilityClasses$
|
|
45630
|
+
const useUtilityClasses$P = (ownerState) => {
|
|
44812
45631
|
const {
|
|
44813
45632
|
disabled,
|
|
44814
45633
|
dragging,
|
|
@@ -44921,7 +45740,7 @@ const Slider = /* @__PURE__ */ React.forwardRef(function Slider2(inputProps, ref
|
|
|
44921
45740
|
ownerState.marked = marks.length > 0 && marks.some((mark2) => mark2.label);
|
|
44922
45741
|
ownerState.dragging = dragging;
|
|
44923
45742
|
ownerState.focusedThumbIndex = focusedThumbIndex;
|
|
44924
|
-
const classes2 = useUtilityClasses$
|
|
45743
|
+
const classes2 = useUtilityClasses$P(ownerState);
|
|
44925
45744
|
const RootSlot = (slots == null ? void 0 : slots.root) ?? components.Root ?? SliderRoot;
|
|
44926
45745
|
const RailSlot = (slots == null ? void 0 : slots.rail) ?? components.Rail ?? SliderRail;
|
|
44927
45746
|
const TrackSlot = (slots == null ? void 0 : slots.track) ?? components.Track ?? SliderTrack;
|
|
@@ -45375,7 +46194,7 @@ function getSwitchUtilityClass(slot) {
|
|
|
45375
46194
|
return generateUtilityClass("MuiSwitch", slot);
|
|
45376
46195
|
}
|
|
45377
46196
|
const switchClasses = generateUtilityClasses("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium", "checked", "disabled", "input", "thumb", "track"]);
|
|
45378
|
-
const useUtilityClasses$
|
|
46197
|
+
const useUtilityClasses$O = (ownerState) => {
|
|
45379
46198
|
const {
|
|
45380
46199
|
classes: classes2,
|
|
45381
46200
|
edge,
|
|
@@ -45579,7 +46398,7 @@ const Switch = /* @__PURE__ */ React.forwardRef(function Switch2(inProps, ref2)
|
|
|
45579
46398
|
edge,
|
|
45580
46399
|
size
|
|
45581
46400
|
};
|
|
45582
|
-
const classes2 = useUtilityClasses$
|
|
46401
|
+
const classes2 = useUtilityClasses$O(ownerState);
|
|
45583
46402
|
const externalForwardedProps = {
|
|
45584
46403
|
slots,
|
|
45585
46404
|
slotProps
|
|
@@ -45772,7 +46591,7 @@ function getTableCellUtilityClass(slot) {
|
|
|
45772
46591
|
return generateUtilityClass("MuiTableCell", slot);
|
|
45773
46592
|
}
|
|
45774
46593
|
const tableCellClasses = generateUtilityClasses("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "sizeMedium", "paddingCheckbox", "paddingNone", "alignLeft", "alignCenter", "alignRight", "alignJustify", "stickyHeader"]);
|
|
45775
|
-
const useUtilityClasses$
|
|
46594
|
+
const useUtilityClasses$N = (ownerState) => {
|
|
45776
46595
|
const {
|
|
45777
46596
|
classes: classes2,
|
|
45778
46597
|
variant,
|
|
@@ -45946,7 +46765,7 @@ const TableCell = /* @__PURE__ */ React.forwardRef(function TableCell2(inProps,
|
|
|
45946
46765
|
stickyHeader: variant === "head" && table && table.stickyHeader,
|
|
45947
46766
|
variant
|
|
45948
46767
|
};
|
|
45949
|
-
const classes2 = useUtilityClasses$
|
|
46768
|
+
const classes2 = useUtilityClasses$N(ownerState);
|
|
45950
46769
|
let ariaSort = null;
|
|
45951
46770
|
if (sortDirection) {
|
|
45952
46771
|
ariaSort = sortDirection === "asc" ? "ascending" : "descending";
|
|
@@ -46023,7 +46842,7 @@ function getTableRowUtilityClass(slot) {
|
|
|
46023
46842
|
return generateUtilityClass("MuiTableRow", slot);
|
|
46024
46843
|
}
|
|
46025
46844
|
const tableRowClasses = generateUtilityClasses("MuiTableRow", ["root", "selected", "hover", "head", "footer"]);
|
|
46026
|
-
const useUtilityClasses$
|
|
46845
|
+
const useUtilityClasses$M = (ownerState) => {
|
|
46027
46846
|
const {
|
|
46028
46847
|
classes: classes2,
|
|
46029
46848
|
selected,
|
|
@@ -46085,7 +46904,7 @@ const TableRow = /* @__PURE__ */ React.forwardRef(function TableRow2(inProps, re
|
|
|
46085
46904
|
head: tablelvl2 && tablelvl2.variant === "head",
|
|
46086
46905
|
footer: tablelvl2 && tablelvl2.variant === "footer"
|
|
46087
46906
|
};
|
|
46088
|
-
const classes2 = useUtilityClasses$
|
|
46907
|
+
const classes2 = useUtilityClasses$M(ownerState);
|
|
46089
46908
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(TableRowRoot, {
|
|
46090
46909
|
as: component,
|
|
46091
46910
|
ref: ref2,
|
|
@@ -46147,7 +46966,7 @@ const variantComponent = {
|
|
|
46147
46966
|
filled: FilledInput,
|
|
46148
46967
|
outlined: OutlinedInput
|
|
46149
46968
|
};
|
|
46150
|
-
const useUtilityClasses$
|
|
46969
|
+
const useUtilityClasses$L = (ownerState) => {
|
|
46151
46970
|
const {
|
|
46152
46971
|
classes: classes2
|
|
46153
46972
|
} = ownerState;
|
|
@@ -46214,7 +47033,7 @@ const TextField = /* @__PURE__ */ React.forwardRef(function TextField2(inProps,
|
|
|
46214
47033
|
select: select2,
|
|
46215
47034
|
variant
|
|
46216
47035
|
};
|
|
46217
|
-
const classes2 = useUtilityClasses$
|
|
47036
|
+
const classes2 = useUtilityClasses$L(ownerState);
|
|
46218
47037
|
{
|
|
46219
47038
|
if (select2 && !children2) {
|
|
46220
47039
|
console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
|
|
@@ -46550,7 +47369,7 @@ const tooltipClasses = generateUtilityClasses("MuiTooltip", ["popper", "popperIn
|
|
|
46550
47369
|
function round$1(value2) {
|
|
46551
47370
|
return Math.round(value2 * 1e5) / 1e5;
|
|
46552
47371
|
}
|
|
46553
|
-
const useUtilityClasses$
|
|
47372
|
+
const useUtilityClasses$K = (ownerState) => {
|
|
46554
47373
|
const {
|
|
46555
47374
|
classes: classes2,
|
|
46556
47375
|
disableInteractive,
|
|
@@ -47113,7 +47932,7 @@ const Tooltip$1 = /* @__PURE__ */ React.forwardRef(function Tooltip2(inProps, re
|
|
|
47113
47932
|
modifiers: tooltipModifiers
|
|
47114
47933
|
};
|
|
47115
47934
|
}, [arrowRef, PopperProps.popperOptions, resolvedPopperProps == null ? void 0 : resolvedPopperProps.popperOptions]);
|
|
47116
|
-
const classes2 = useUtilityClasses$
|
|
47935
|
+
const classes2 = useUtilityClasses$K(ownerState);
|
|
47117
47936
|
const resolvedTransitionProps = typeof slotProps.transition === "function" ? slotProps.transition(ownerState) : slotProps.transition;
|
|
47118
47937
|
const externalForwardedProps = {
|
|
47119
47938
|
slots: {
|
|
@@ -47385,6 +48204,183 @@ Tooltip$1.propTypes = {
|
|
|
47385
48204
|
*/
|
|
47386
48205
|
TransitionProps: _pt.object
|
|
47387
48206
|
};
|
|
48207
|
+
function getInputAdornmentUtilityClass(slot) {
|
|
48208
|
+
return generateUtilityClass("MuiInputAdornment", slot);
|
|
48209
|
+
}
|
|
48210
|
+
const inputAdornmentClasses = generateUtilityClasses("MuiInputAdornment", ["root", "filled", "standard", "outlined", "positionStart", "positionEnd", "disablePointerEvents", "hiddenLabel", "sizeSmall"]);
|
|
48211
|
+
var _span;
|
|
48212
|
+
const overridesResolver = (props, styles2) => {
|
|
48213
|
+
const {
|
|
48214
|
+
ownerState
|
|
48215
|
+
} = props;
|
|
48216
|
+
return [styles2.root, styles2[`position${capitalize$1(ownerState.position)}`], ownerState.disablePointerEvents === true && styles2.disablePointerEvents, styles2[ownerState.variant]];
|
|
48217
|
+
};
|
|
48218
|
+
const useUtilityClasses$J = (ownerState) => {
|
|
48219
|
+
const {
|
|
48220
|
+
classes: classes2,
|
|
48221
|
+
disablePointerEvents,
|
|
48222
|
+
hiddenLabel,
|
|
48223
|
+
position: position2,
|
|
48224
|
+
size,
|
|
48225
|
+
variant
|
|
48226
|
+
} = ownerState;
|
|
48227
|
+
const slots = {
|
|
48228
|
+
root: ["root", disablePointerEvents && "disablePointerEvents", position2 && `position${capitalize$1(position2)}`, variant, hiddenLabel && "hiddenLabel", size && `size${capitalize$1(size)}`]
|
|
48229
|
+
};
|
|
48230
|
+
return composeClasses(slots, getInputAdornmentUtilityClass, classes2);
|
|
48231
|
+
};
|
|
48232
|
+
const InputAdornmentRoot = styled("div", {
|
|
48233
|
+
name: "MuiInputAdornment",
|
|
48234
|
+
slot: "Root",
|
|
48235
|
+
overridesResolver
|
|
48236
|
+
})(memoTheme(({
|
|
48237
|
+
theme
|
|
48238
|
+
}) => ({
|
|
48239
|
+
display: "flex",
|
|
48240
|
+
maxHeight: "2em",
|
|
48241
|
+
alignItems: "center",
|
|
48242
|
+
whiteSpace: "nowrap",
|
|
48243
|
+
color: (theme.vars || theme).palette.action.active,
|
|
48244
|
+
variants: [{
|
|
48245
|
+
props: {
|
|
48246
|
+
variant: "filled"
|
|
48247
|
+
},
|
|
48248
|
+
style: {
|
|
48249
|
+
[`&.${inputAdornmentClasses.positionStart}&:not(.${inputAdornmentClasses.hiddenLabel})`]: {
|
|
48250
|
+
marginTop: 16
|
|
48251
|
+
}
|
|
48252
|
+
}
|
|
48253
|
+
}, {
|
|
48254
|
+
props: {
|
|
48255
|
+
position: "start"
|
|
48256
|
+
},
|
|
48257
|
+
style: {
|
|
48258
|
+
marginRight: 8
|
|
48259
|
+
}
|
|
48260
|
+
}, {
|
|
48261
|
+
props: {
|
|
48262
|
+
position: "end"
|
|
48263
|
+
},
|
|
48264
|
+
style: {
|
|
48265
|
+
marginLeft: 8
|
|
48266
|
+
}
|
|
48267
|
+
}, {
|
|
48268
|
+
props: {
|
|
48269
|
+
disablePointerEvents: true
|
|
48270
|
+
},
|
|
48271
|
+
style: {
|
|
48272
|
+
pointerEvents: "none"
|
|
48273
|
+
}
|
|
48274
|
+
}]
|
|
48275
|
+
})));
|
|
48276
|
+
const InputAdornment$1 = /* @__PURE__ */ React.forwardRef(function InputAdornment2(inProps, ref2) {
|
|
48277
|
+
const props = useDefaultProps({
|
|
48278
|
+
props: inProps,
|
|
48279
|
+
name: "MuiInputAdornment"
|
|
48280
|
+
});
|
|
48281
|
+
const {
|
|
48282
|
+
children: children2,
|
|
48283
|
+
className,
|
|
48284
|
+
component = "div",
|
|
48285
|
+
disablePointerEvents = false,
|
|
48286
|
+
disableTypography = false,
|
|
48287
|
+
position: position2,
|
|
48288
|
+
variant: variantProp,
|
|
48289
|
+
...other
|
|
48290
|
+
} = props;
|
|
48291
|
+
const muiFormControl = useFormControl() || {};
|
|
48292
|
+
let variant = variantProp;
|
|
48293
|
+
if (variantProp && muiFormControl.variant) {
|
|
48294
|
+
{
|
|
48295
|
+
if (variantProp === muiFormControl.variant) {
|
|
48296
|
+
console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one.");
|
|
48297
|
+
}
|
|
48298
|
+
}
|
|
48299
|
+
}
|
|
48300
|
+
if (muiFormControl && !variant) {
|
|
48301
|
+
variant = muiFormControl.variant;
|
|
48302
|
+
}
|
|
48303
|
+
const ownerState = {
|
|
48304
|
+
...props,
|
|
48305
|
+
hiddenLabel: muiFormControl.hiddenLabel,
|
|
48306
|
+
size: muiFormControl.size,
|
|
48307
|
+
disablePointerEvents,
|
|
48308
|
+
position: position2,
|
|
48309
|
+
variant
|
|
48310
|
+
};
|
|
48311
|
+
const classes2 = useUtilityClasses$J(ownerState);
|
|
48312
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(FormControlContext.Provider, {
|
|
48313
|
+
value: null,
|
|
48314
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(InputAdornmentRoot, {
|
|
48315
|
+
as: component,
|
|
48316
|
+
ownerState,
|
|
48317
|
+
className: clsx(classes2.root, className),
|
|
48318
|
+
ref: ref2,
|
|
48319
|
+
...other,
|
|
48320
|
+
children: typeof children2 === "string" && !disableTypography ? /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, {
|
|
48321
|
+
color: "textSecondary",
|
|
48322
|
+
children: children2
|
|
48323
|
+
}) : /* @__PURE__ */ jsxRuntimeExports.jsxs(React.Fragment, {
|
|
48324
|
+
children: [position2 === "start" ? (
|
|
48325
|
+
/* notranslate needed while Google Translate will not fix zero-width space issue */
|
|
48326
|
+
_span || (_span = /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
|
|
48327
|
+
className: "notranslate",
|
|
48328
|
+
"aria-hidden": true,
|
|
48329
|
+
children: ""
|
|
48330
|
+
}))
|
|
48331
|
+
) : null, children2]
|
|
48332
|
+
})
|
|
48333
|
+
})
|
|
48334
|
+
});
|
|
48335
|
+
});
|
|
48336
|
+
InputAdornment$1.propTypes = {
|
|
48337
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
48338
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
48339
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
48340
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
48341
|
+
/**
|
|
48342
|
+
* The content of the component, normally an `IconButton` or string.
|
|
48343
|
+
*/
|
|
48344
|
+
children: _pt.node,
|
|
48345
|
+
/**
|
|
48346
|
+
* Override or extend the styles applied to the component.
|
|
48347
|
+
*/
|
|
48348
|
+
classes: _pt.object,
|
|
48349
|
+
/**
|
|
48350
|
+
* @ignore
|
|
48351
|
+
*/
|
|
48352
|
+
className: _pt.string,
|
|
48353
|
+
/**
|
|
48354
|
+
* The component used for the root node.
|
|
48355
|
+
* Either a string to use a HTML element or a component.
|
|
48356
|
+
*/
|
|
48357
|
+
component: _pt.elementType,
|
|
48358
|
+
/**
|
|
48359
|
+
* Disable pointer events on the root.
|
|
48360
|
+
* This allows for the content of the adornment to focus the `input` on click.
|
|
48361
|
+
* @default false
|
|
48362
|
+
*/
|
|
48363
|
+
disablePointerEvents: _pt.bool,
|
|
48364
|
+
/**
|
|
48365
|
+
* If children is a string then disable wrapping in a Typography component.
|
|
48366
|
+
* @default false
|
|
48367
|
+
*/
|
|
48368
|
+
disableTypography: _pt.bool,
|
|
48369
|
+
/**
|
|
48370
|
+
* The position this adornment should appear relative to the `Input`.
|
|
48371
|
+
*/
|
|
48372
|
+
position: _pt.oneOf(["end", "start"]).isRequired,
|
|
48373
|
+
/**
|
|
48374
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
48375
|
+
*/
|
|
48376
|
+
sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object]),
|
|
48377
|
+
/**
|
|
48378
|
+
* The variant to use.
|
|
48379
|
+
* Note: If you are using the `TextField` component or the `FormControl` component
|
|
48380
|
+
* you do not have to set this manually.
|
|
48381
|
+
*/
|
|
48382
|
+
variant: _pt.oneOf(["filled", "outlined", "standard"])
|
|
48383
|
+
};
|
|
47388
48384
|
const reactMajor = parseInt(React.version, 10);
|
|
47389
48385
|
const forwardRef = (render) => {
|
|
47390
48386
|
if (reactMajor >= 19) {
|
|
@@ -48725,7 +49721,7 @@ function wrap$2(input) {
|
|
|
48725
49721
|
return result;
|
|
48726
49722
|
}
|
|
48727
49723
|
const _excluded$X = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "hasFocus", "isValidating", "debounceMs", "isProcessingProps", "onValueChange", "slotProps"];
|
|
48728
|
-
const useUtilityClasses$
|
|
49724
|
+
const useUtilityClasses$I = (ownerState) => {
|
|
48729
49725
|
const {
|
|
48730
49726
|
classes: classes2
|
|
48731
49727
|
} = ownerState;
|
|
@@ -48761,7 +49757,7 @@ const GridEditInputCell = forwardRef((props, ref2) => {
|
|
|
48761
49757
|
const apiRef = useGridApiContext();
|
|
48762
49758
|
const inputRef = React.useRef(null);
|
|
48763
49759
|
const [valueState, setValueState] = React.useState(value2);
|
|
48764
|
-
const classes2 = useUtilityClasses$
|
|
49760
|
+
const classes2 = useUtilityClasses$I(rootProps);
|
|
48765
49761
|
const handleChange = React.useCallback(async (event2) => {
|
|
48766
49762
|
const newValue = event2.target.value;
|
|
48767
49763
|
if (onValueChange) {
|
|
@@ -49928,7 +50924,7 @@ function variablesToString(variables) {
|
|
|
49928
50924
|
return output2;
|
|
49929
50925
|
}
|
|
49930
50926
|
const _excluded$V = ["open", "target", "onClose", "children", "position", "className", "onExited"];
|
|
49931
|
-
const useUtilityClasses$
|
|
50927
|
+
const useUtilityClasses$H = (ownerState) => {
|
|
49932
50928
|
const {
|
|
49933
50929
|
classes: classes2
|
|
49934
50930
|
} = ownerState;
|
|
@@ -49959,7 +50955,7 @@ function GridMenu(props) {
|
|
|
49959
50955
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$V);
|
|
49960
50956
|
const apiRef = useGridApiContext();
|
|
49961
50957
|
const rootProps = useGridRootProps();
|
|
49962
|
-
const classes2 = useUtilityClasses$
|
|
50958
|
+
const classes2 = useUtilityClasses$H(rootProps);
|
|
49963
50959
|
const variablesClass = useCSSVariablesClass();
|
|
49964
50960
|
const savedFocusRef = React.useRef(null);
|
|
49965
50961
|
useEnhancedEffect$1(() => {
|
|
@@ -50529,7 +51525,7 @@ let PinnedColumnPosition = /* @__PURE__ */ function(PinnedColumnPosition2) {
|
|
|
50529
51525
|
return PinnedColumnPosition2;
|
|
50530
51526
|
}({});
|
|
50531
51527
|
const _excluded$T = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "hasFocus", "tabIndex", "hideDescendantCount"];
|
|
50532
|
-
const useUtilityClasses$
|
|
51528
|
+
const useUtilityClasses$G = (ownerState) => {
|
|
50533
51529
|
const {
|
|
50534
51530
|
classes: classes2
|
|
50535
51531
|
} = ownerState;
|
|
@@ -50548,7 +51544,7 @@ function GridBooleanCellRaw(props) {
|
|
|
50548
51544
|
const ownerState = {
|
|
50549
51545
|
classes: rootProps.classes
|
|
50550
51546
|
};
|
|
50551
|
-
const classes2 = useUtilityClasses$
|
|
51547
|
+
const classes2 = useUtilityClasses$G(ownerState);
|
|
50552
51548
|
const maxDepth2 = useGridSelector(apiRef, gridRowMaximumTreeDepthSelector);
|
|
50553
51549
|
const isServerSideRowGroupingRow = (
|
|
50554
51550
|
// @ts-expect-error - Access tree data prop
|
|
@@ -50639,7 +51635,7 @@ const renderBooleanCell = (params2) => {
|
|
|
50639
51635
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridBooleanCell, _extends$2({}, params2));
|
|
50640
51636
|
};
|
|
50641
51637
|
const _excluded$S = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "className", "hasFocus", "isValidating", "isProcessingProps", "error", "onValueChange"];
|
|
50642
|
-
const useUtilityClasses$
|
|
51638
|
+
const useUtilityClasses$F = (ownerState) => {
|
|
50643
51639
|
const {
|
|
50644
51640
|
classes: classes2
|
|
50645
51641
|
} = ownerState;
|
|
@@ -50666,7 +51662,7 @@ function GridEditBooleanCell(props) {
|
|
|
50666
51662
|
const ownerState = {
|
|
50667
51663
|
classes: rootProps.classes
|
|
50668
51664
|
};
|
|
50669
|
-
const classes2 = useUtilityClasses$
|
|
51665
|
+
const classes2 = useUtilityClasses$F(ownerState);
|
|
50670
51666
|
const handleChange = React.useCallback(async (event2) => {
|
|
50671
51667
|
const newValue = event2.target.checked;
|
|
50672
51668
|
if (onValueChange) {
|
|
@@ -51224,7 +52220,7 @@ const findRowsToDeselect = (apiRef, tree2, deselectedRow, autoSelectDescendants,
|
|
|
51224
52220
|
}
|
|
51225
52221
|
};
|
|
51226
52222
|
const _excluded$Q = ["field", "id", "formattedValue", "row", "rowNode", "colDef", "isEditable", "cellMode", "hasFocus", "tabIndex", "api"];
|
|
51227
|
-
const useUtilityClasses$
|
|
52223
|
+
const useUtilityClasses$E = (ownerState) => {
|
|
51228
52224
|
const {
|
|
51229
52225
|
classes: classes2
|
|
51230
52226
|
} = ownerState;
|
|
@@ -51246,7 +52242,7 @@ const GridCellCheckboxForwardRef = forwardRef(function GridCellCheckboxRenderer2
|
|
|
51246
52242
|
const ownerState = {
|
|
51247
52243
|
classes: rootProps.classes
|
|
51248
52244
|
};
|
|
51249
|
-
const classes2 = useUtilityClasses$
|
|
52245
|
+
const classes2 = useUtilityClasses$E(ownerState);
|
|
51250
52246
|
const handleChange = (event2) => {
|
|
51251
52247
|
const params2 = {
|
|
51252
52248
|
value: event2.target.checked,
|
|
@@ -51483,7 +52479,7 @@ const gridVisibleRowsSelector = createSelectorMemoized(gridPaginationEnabledClie
|
|
|
51483
52479
|
};
|
|
51484
52480
|
});
|
|
51485
52481
|
const _excluded$P = ["field", "colDef"];
|
|
51486
|
-
const useUtilityClasses$
|
|
52482
|
+
const useUtilityClasses$D = (ownerState) => {
|
|
51487
52483
|
const {
|
|
51488
52484
|
classes: classes2
|
|
51489
52485
|
} = ownerState;
|
|
@@ -51501,7 +52497,7 @@ const GridHeaderCheckbox = forwardRef(function GridHeaderCheckbox2(props, ref2)
|
|
|
51501
52497
|
const ownerState = {
|
|
51502
52498
|
classes: rootProps.classes
|
|
51503
52499
|
};
|
|
51504
|
-
const classes2 = useUtilityClasses$
|
|
52500
|
+
const classes2 = useUtilityClasses$D(ownerState);
|
|
51505
52501
|
const tabIndexState = useGridSelector(apiRef, gridTabIndexColumnHeaderSelector);
|
|
51506
52502
|
const selection = useGridSelector(apiRef, gridRowSelectionStateSelector);
|
|
51507
52503
|
const visibleRowIds = useGridSelector(apiRef, gridExpandedSortedRowIdsSelector);
|
|
@@ -51878,7 +52874,7 @@ const _excluded$N = ["id", "value", "formattedValue", "api", "field", "row", "ro
|
|
|
51878
52874
|
const StyledInputBase = styled(NotRendered)({
|
|
51879
52875
|
fontSize: "inherit"
|
|
51880
52876
|
});
|
|
51881
|
-
const useUtilityClasses$
|
|
52877
|
+
const useUtilityClasses$C = (ownerState) => {
|
|
51882
52878
|
const {
|
|
51883
52879
|
classes: classes2
|
|
51884
52880
|
} = ownerState;
|
|
@@ -51927,7 +52923,7 @@ function GridEditDateCell(props) {
|
|
|
51927
52923
|
const ownerState = {
|
|
51928
52924
|
classes: rootProps.classes
|
|
51929
52925
|
};
|
|
51930
|
-
const classes2 = useUtilityClasses$
|
|
52926
|
+
const classes2 = useUtilityClasses$C(ownerState);
|
|
51931
52927
|
const parseValueToDate = React.useCallback((value2) => {
|
|
51932
52928
|
if (value2 === "") {
|
|
51933
52929
|
return null;
|
|
@@ -53090,7 +54086,7 @@ function getTotalHeaderHeight(apiRef, props) {
|
|
|
53090
54086
|
}
|
|
53091
54087
|
const CLIFF = 1;
|
|
53092
54088
|
const SLOP = 1.5;
|
|
53093
|
-
const useUtilityClasses$
|
|
54089
|
+
const useUtilityClasses$B = (ownerState) => {
|
|
53094
54090
|
const {
|
|
53095
54091
|
scrollDirection,
|
|
53096
54092
|
classes: classes2
|
|
@@ -53167,7 +54163,7 @@ function GridScrollAreaContent(props) {
|
|
|
53167
54163
|
const ownerState = _extends$2({}, rootProps, {
|
|
53168
54164
|
scrollDirection
|
|
53169
54165
|
});
|
|
53170
|
-
const classes2 = useUtilityClasses$
|
|
54166
|
+
const classes2 = useUtilityClasses$B(ownerState);
|
|
53171
54167
|
const totalHeaderHeight = getTotalHeaderHeight(apiRef, rootProps);
|
|
53172
54168
|
const headerHeight = Math.floor(rootProps.columnHeaderHeight * densityFactor);
|
|
53173
54169
|
const style2 = {
|
|
@@ -54145,7 +55141,7 @@ const GridOverlayWrapperInner = styled$1("div", {
|
|
|
54145
55141
|
shouldForwardProp: (prop) => prop !== "overlayType" && prop !== "loadingOverlayVariant",
|
|
54146
55142
|
overridesResolver: (props, styles2) => styles2.overlayWrapperInner
|
|
54147
55143
|
})({});
|
|
54148
|
-
const useUtilityClasses$
|
|
55144
|
+
const useUtilityClasses$A = (ownerState) => {
|
|
54149
55145
|
const {
|
|
54150
55146
|
classes: classes2
|
|
54151
55147
|
} = ownerState;
|
|
@@ -54163,7 +55159,7 @@ function GridOverlayWrapper(props) {
|
|
|
54163
55159
|
if (height2 === 0) {
|
|
54164
55160
|
height2 = minimalContentHeight;
|
|
54165
55161
|
}
|
|
54166
|
-
const classes2 = useUtilityClasses$
|
|
55162
|
+
const classes2 = useUtilityClasses$A(_extends$2({}, props, {
|
|
54167
55163
|
classes: rootProps.classes
|
|
54168
55164
|
}));
|
|
54169
55165
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridOverlayWrapperRoot, _extends$2({
|
|
@@ -54316,7 +55312,7 @@ const GridMainContainer = forwardRef((props, ref2) => {
|
|
|
54316
55312
|
}), props.children]
|
|
54317
55313
|
}));
|
|
54318
55314
|
});
|
|
54319
|
-
const useUtilityClasses$
|
|
55315
|
+
const useUtilityClasses$z = () => {
|
|
54320
55316
|
const slots = {
|
|
54321
55317
|
root: ["topContainer"]
|
|
54322
55318
|
};
|
|
@@ -54328,13 +55324,13 @@ const Element$2 = styled$1("div")({
|
|
|
54328
55324
|
top: 0
|
|
54329
55325
|
});
|
|
54330
55326
|
function GridTopContainer(props) {
|
|
54331
|
-
const classes2 = useUtilityClasses$
|
|
55327
|
+
const classes2 = useUtilityClasses$z();
|
|
54332
55328
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Element$2, _extends$2({}, props, {
|
|
54333
55329
|
className: clsx(classes2.root, gridClasses["container--top"]),
|
|
54334
55330
|
role: "presentation"
|
|
54335
55331
|
}));
|
|
54336
55332
|
}
|
|
54337
|
-
const useUtilityClasses$
|
|
55333
|
+
const useUtilityClasses$y = (props, overflowedContent) => {
|
|
54338
55334
|
const {
|
|
54339
55335
|
classes: classes2
|
|
54340
55336
|
} = props;
|
|
@@ -54357,7 +55353,7 @@ const GridVirtualScrollerContent = forwardRef(function GridVirtualScrollerConten
|
|
|
54357
55353
|
var _a3;
|
|
54358
55354
|
const rootProps = useGridRootProps();
|
|
54359
55355
|
const overflowedContent = !rootProps.autoHeight && ((_a3 = props.style) == null ? void 0 : _a3.minHeight) === "auto";
|
|
54360
|
-
const classes2 = useUtilityClasses$
|
|
55356
|
+
const classes2 = useUtilityClasses$y(rootProps, overflowedContent);
|
|
54361
55357
|
const ownerState = {
|
|
54362
55358
|
classes: rootProps.classes,
|
|
54363
55359
|
overflowedContent
|
|
@@ -54433,7 +55429,7 @@ function GridVirtualScrollerFiller({
|
|
|
54433
55429
|
}
|
|
54434
55430
|
const Memoized$2 = fastMemo(GridVirtualScrollerFiller);
|
|
54435
55431
|
const _excluded$J = ["className"];
|
|
54436
|
-
const useUtilityClasses$
|
|
55432
|
+
const useUtilityClasses$x = (ownerState) => {
|
|
54437
55433
|
const {
|
|
54438
55434
|
classes: classes2
|
|
54439
55435
|
} = ownerState;
|
|
@@ -54458,7 +55454,7 @@ const GridVirtualScrollerRenderZone = forwardRef(function GridVirtualScrollerRen
|
|
|
54458
55454
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$J);
|
|
54459
55455
|
const apiRef = useGridApiContext();
|
|
54460
55456
|
const rootProps = useGridRootProps();
|
|
54461
|
-
const classes2 = useUtilityClasses$
|
|
55457
|
+
const classes2 = useUtilityClasses$x(rootProps);
|
|
54462
55458
|
const offsetTop = useGridSelector(apiRef, () => {
|
|
54463
55459
|
const renderContext = gridRenderContextSelector(apiRef);
|
|
54464
55460
|
const rowsMeta = gridRowsMetaSelector(apiRef);
|
|
@@ -54554,7 +55550,7 @@ class GridGetRowsError extends Error {
|
|
|
54554
55550
|
this.cause = options.cause;
|
|
54555
55551
|
}
|
|
54556
55552
|
}
|
|
54557
|
-
const useUtilityClasses$
|
|
55553
|
+
const useUtilityClasses$w = (ownerState, position2) => {
|
|
54558
55554
|
const {
|
|
54559
55555
|
classes: classes2
|
|
54560
55556
|
} = ownerState;
|
|
@@ -54609,7 +55605,7 @@ const GridVirtualScrollbar = forwardRef(function GridVirtualScrollbar2(props, re
|
|
|
54609
55605
|
const lastPosition = React.useRef(0);
|
|
54610
55606
|
const scrollbarRef = React.useRef(null);
|
|
54611
55607
|
const contentRef = React.useRef(null);
|
|
54612
|
-
const classes2 = useUtilityClasses$
|
|
55608
|
+
const classes2 = useUtilityClasses$w(rootProps, props.position);
|
|
54613
55609
|
const dimensions = useGridSelector(apiRef, gridDimensionsSelector);
|
|
54614
55610
|
const propertyDimension = props.position === "vertical" ? "height" : "width";
|
|
54615
55611
|
const propertyScroll = props.position === "vertical" ? "scrollTop" : "scrollLeft";
|
|
@@ -54686,7 +55682,7 @@ const GridVirtualScrollbar = forwardRef(function GridVirtualScrollbar2(props, re
|
|
|
54686
55682
|
})
|
|
54687
55683
|
});
|
|
54688
55684
|
});
|
|
54689
|
-
const useUtilityClasses$
|
|
55685
|
+
const useUtilityClasses$v = (ownerState) => {
|
|
54690
55686
|
const {
|
|
54691
55687
|
classes: classes2,
|
|
54692
55688
|
hasScrollX,
|
|
@@ -54745,7 +55741,7 @@ function GridVirtualScroller(props) {
|
|
|
54745
55741
|
hasScrollX,
|
|
54746
55742
|
hasPinnedRight
|
|
54747
55743
|
}, overlaysProps);
|
|
54748
|
-
const classes2 = useUtilityClasses$
|
|
55744
|
+
const classes2 = useUtilityClasses$v(ownerState);
|
|
54749
55745
|
const virtualScroller = useGridVirtualScroller();
|
|
54750
55746
|
const {
|
|
54751
55747
|
getContainerProps,
|
|
@@ -54890,7 +55886,7 @@ const _excluded$I = ["column", "row", "rowId", "rowNode", "align", "children", "
|
|
|
54890
55886
|
[PinnedColumnPosition.NONE]: void 0,
|
|
54891
55887
|
[PinnedColumnPosition.VIRTUAL]: void 0
|
|
54892
55888
|
});
|
|
54893
|
-
const useUtilityClasses$
|
|
55889
|
+
const useUtilityClasses$u = (ownerState) => {
|
|
54894
55890
|
const {
|
|
54895
55891
|
align: align2,
|
|
54896
55892
|
showLeftBorder,
|
|
@@ -55004,7 +56000,7 @@ const GridCell = forwardRef(function GridCell2(props, ref2) {
|
|
|
55004
56000
|
isSelected,
|
|
55005
56001
|
isSelectionMode
|
|
55006
56002
|
};
|
|
55007
|
-
const classes2 = useUtilityClasses$
|
|
56003
|
+
const classes2 = useUtilityClasses$u(ownerState);
|
|
55008
56004
|
const publishMouseUp = React.useCallback((eventName) => (event2) => {
|
|
55009
56005
|
const params2 = apiRef.current.getCellParams(rowId, field2 || "");
|
|
55010
56006
|
apiRef.current.publishEvent(eventName, params2, event2);
|
|
@@ -55171,7 +56167,7 @@ const CONTENT_WIDTH_RANGE_BY_TYPE = {
|
|
|
55171
56167
|
dateTime: [60, 80],
|
|
55172
56168
|
singleSelect: [40, 80]
|
|
55173
56169
|
};
|
|
55174
|
-
const useUtilityClasses$
|
|
56170
|
+
const useUtilityClasses$t = (ownerState) => {
|
|
55175
56171
|
const {
|
|
55176
56172
|
align: align2,
|
|
55177
56173
|
classes: classes2,
|
|
@@ -55200,7 +56196,7 @@ function GridSkeletonCell(props) {
|
|
|
55200
56196
|
align: align2,
|
|
55201
56197
|
empty: empty2
|
|
55202
56198
|
};
|
|
55203
|
-
const classes2 = useUtilityClasses$
|
|
56199
|
+
const classes2 = useUtilityClasses$t(ownerState);
|
|
55204
56200
|
const skeletonProps = React.useMemo(() => {
|
|
55205
56201
|
const isCircularContent = type2 === "boolean" || type2 === "actions";
|
|
55206
56202
|
if (isCircularContent) {
|
|
@@ -56248,7 +57244,7 @@ function GridHeader() {
|
|
|
56248
57244
|
});
|
|
56249
57245
|
}
|
|
56250
57246
|
const _excluded$G = ["className", "children"];
|
|
56251
|
-
const useUtilityClasses$
|
|
57247
|
+
const useUtilityClasses$s = (ownerState, density2) => {
|
|
56252
57248
|
const {
|
|
56253
57249
|
autoHeight,
|
|
56254
57250
|
classes: classes2,
|
|
@@ -56276,7 +57272,7 @@ const GridRoot = forwardRef(function GridRoot2(props, ref2) {
|
|
|
56276
57272
|
}, [apiRef]);
|
|
56277
57273
|
const handleRef = useForkRef$1(rootElementRef, ref2, rootMountCallback);
|
|
56278
57274
|
const ownerState = rootProps;
|
|
56279
|
-
const classes2 = useUtilityClasses$
|
|
57275
|
+
const classes2 = useUtilityClasses$s(ownerState, density2);
|
|
56280
57276
|
const cssVariables = useCSSVariablesContext();
|
|
56281
57277
|
const isSSR2 = useIsSSR();
|
|
56282
57278
|
if (isSSR2) {
|
|
@@ -56304,7 +57300,7 @@ GridRoot.propTypes = {
|
|
|
56304
57300
|
};
|
|
56305
57301
|
const MemoizedGridRoot = fastMemo(GridRoot);
|
|
56306
57302
|
const _excluded$F = ["className"];
|
|
56307
|
-
const useUtilityClasses$
|
|
57303
|
+
const useUtilityClasses$r = (ownerState) => {
|
|
56308
57304
|
const {
|
|
56309
57305
|
classes: classes2
|
|
56310
57306
|
} = ownerState;
|
|
@@ -56329,7 +57325,7 @@ const GridFooterContainer = forwardRef(function GridFooterContainer2(props, ref2
|
|
|
56329
57325
|
className
|
|
56330
57326
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$F);
|
|
56331
57327
|
const rootProps = useGridRootProps();
|
|
56332
|
-
const classes2 = useUtilityClasses$
|
|
57328
|
+
const classes2 = useUtilityClasses$r(rootProps);
|
|
56333
57329
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridFooterContainerRoot, _extends$2({
|
|
56334
57330
|
className: clsx(classes2.root, className),
|
|
56335
57331
|
ownerState: rootProps
|
|
@@ -56345,7 +57341,7 @@ GridFooterContainer.propTypes = {
|
|
|
56345
57341
|
sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object])
|
|
56346
57342
|
};
|
|
56347
57343
|
const _excluded$E = ["className"];
|
|
56348
|
-
const useUtilityClasses$
|
|
57344
|
+
const useUtilityClasses$q = (ownerState) => {
|
|
56349
57345
|
const {
|
|
56350
57346
|
classes: classes2
|
|
56351
57347
|
} = ownerState;
|
|
@@ -56373,7 +57369,7 @@ const GridOverlay = forwardRef(function GridOverlay2(props, ref2) {
|
|
|
56373
57369
|
className
|
|
56374
57370
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$E);
|
|
56375
57371
|
const rootProps = useGridRootProps();
|
|
56376
|
-
const classes2 = useUtilityClasses$
|
|
57372
|
+
const classes2 = useUtilityClasses$q(rootProps);
|
|
56377
57373
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridOverlayRoot, _extends$2({
|
|
56378
57374
|
className: clsx(classes2.root, className),
|
|
56379
57375
|
ownerState: rootProps
|
|
@@ -56421,7 +57417,7 @@ function useToolbarContext() {
|
|
|
56421
57417
|
return context2;
|
|
56422
57418
|
}
|
|
56423
57419
|
const _excluded$D = ["render", "className"];
|
|
56424
|
-
const useUtilityClasses$
|
|
57420
|
+
const useUtilityClasses$p = (ownerState) => {
|
|
56425
57421
|
const {
|
|
56426
57422
|
classes: classes2
|
|
56427
57423
|
} = ownerState;
|
|
@@ -56450,7 +57446,7 @@ const Toolbar$1 = forwardRef(function Toolbar2(props, ref2) {
|
|
|
56450
57446
|
className
|
|
56451
57447
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$D);
|
|
56452
57448
|
const rootProps = useGridRootProps();
|
|
56453
|
-
const classes2 = useUtilityClasses$
|
|
57449
|
+
const classes2 = useUtilityClasses$p(rootProps);
|
|
56454
57450
|
const [focusableItemId, setFocusableItemId] = React.useState(null);
|
|
56455
57451
|
const [items, setItems] = React.useState([]);
|
|
56456
57452
|
const registerItem = React.useCallback((id2, itemRef) => {
|
|
@@ -56649,7 +57645,7 @@ ToolbarButton.propTypes = {
|
|
|
56649
57645
|
title: _pt.string,
|
|
56650
57646
|
touchRippleRef: _pt.any
|
|
56651
57647
|
};
|
|
56652
|
-
const useUtilityClasses$
|
|
57648
|
+
const useUtilityClasses$o = (ownerState) => {
|
|
56653
57649
|
const {
|
|
56654
57650
|
classes: classes2,
|
|
56655
57651
|
open
|
|
@@ -56674,7 +57670,7 @@ const ColumnHeaderMenuIcon = /* @__PURE__ */ React.memo((props) => {
|
|
|
56674
57670
|
const ownerState = _extends$2({}, props, {
|
|
56675
57671
|
classes: rootProps.classes
|
|
56676
57672
|
});
|
|
56677
|
-
const classes2 = useUtilityClasses$
|
|
57673
|
+
const classes2 = useUtilityClasses$o(ownerState);
|
|
56678
57674
|
const handleMenuIconClick = React.useCallback((event2) => {
|
|
56679
57675
|
event2.preventDefault();
|
|
56680
57676
|
event2.stopPropagation();
|
|
@@ -56952,7 +57948,7 @@ function parseCellColIndex(col) {
|
|
|
56952
57948
|
return Number(ariaColIndex) - 1;
|
|
56953
57949
|
}
|
|
56954
57950
|
const _excluded$B = ["className", "aria-label"];
|
|
56955
|
-
const useUtilityClasses$
|
|
57951
|
+
const useUtilityClasses$n = (ownerState) => {
|
|
56956
57952
|
const {
|
|
56957
57953
|
classes: classes2
|
|
56958
57954
|
} = ownerState;
|
|
@@ -56977,7 +57973,7 @@ const ColumnHeaderInnerTitle = forwardRef(function ColumnHeaderInnerTitle2(props
|
|
|
56977
57973
|
className
|
|
56978
57974
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$B);
|
|
56979
57975
|
const rootProps = useGridRootProps();
|
|
56980
|
-
const classes2 = useUtilityClasses$
|
|
57976
|
+
const classes2 = useUtilityClasses$n(rootProps);
|
|
56981
57977
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridColumnHeaderTitleRoot, _extends$2({
|
|
56982
57978
|
className: clsx(classes2.root, className),
|
|
56983
57979
|
ownerState: rootProps
|
|
@@ -57029,7 +58025,7 @@ var GridColumnHeaderSeparatorSides = /* @__PURE__ */ function(GridColumnHeaderSe
|
|
|
57029
58025
|
GridColumnHeaderSeparatorSides2["Right"] = "right";
|
|
57030
58026
|
return GridColumnHeaderSeparatorSides2;
|
|
57031
58027
|
}(GridColumnHeaderSeparatorSides || {});
|
|
57032
|
-
const useUtilityClasses$
|
|
58028
|
+
const useUtilityClasses$m = (ownerState) => {
|
|
57033
58029
|
const {
|
|
57034
58030
|
resizable,
|
|
57035
58031
|
resizing,
|
|
@@ -57052,7 +58048,7 @@ function GridColumnHeaderSeparatorRaw(props) {
|
|
|
57052
58048
|
side,
|
|
57053
58049
|
classes: rootProps.classes
|
|
57054
58050
|
});
|
|
57055
|
-
const classes2 = useUtilityClasses$
|
|
58051
|
+
const classes2 = useUtilityClasses$m(ownerState);
|
|
57056
58052
|
const stopClick = React.useCallback((event2) => {
|
|
57057
58053
|
event2.preventDefault();
|
|
57058
58054
|
event2.stopPropagation();
|
|
@@ -57164,7 +58160,7 @@ const GridGenericColumnHeaderItem = forwardRef(function GridGenericColumnHeaderI
|
|
|
57164
58160
|
}, columnHeaderSeparatorProps)), columnMenu]
|
|
57165
58161
|
}));
|
|
57166
58162
|
});
|
|
57167
|
-
const useUtilityClasses$
|
|
58163
|
+
const useUtilityClasses$l = (ownerState) => {
|
|
57168
58164
|
const {
|
|
57169
58165
|
colDef,
|
|
57170
58166
|
classes: classes2,
|
|
@@ -57246,7 +58242,7 @@ function GridColumnHeaderItem(props) {
|
|
|
57246
58242
|
showRightBorder,
|
|
57247
58243
|
showLeftBorder
|
|
57248
58244
|
});
|
|
57249
|
-
const classes2 = useUtilityClasses$
|
|
58245
|
+
const classes2 = useUtilityClasses$l(ownerState);
|
|
57250
58246
|
const publish = React.useCallback((eventName) => (event2) => {
|
|
57251
58247
|
if (isEventTargetInPortal(event2)) {
|
|
57252
58248
|
return;
|
|
@@ -57393,7 +58389,7 @@ GridColumnHeaderItem.propTypes = {
|
|
|
57393
58389
|
};
|
|
57394
58390
|
const Memoized = fastMemo(GridColumnHeaderItem);
|
|
57395
58391
|
const _excluded$y = ["className"];
|
|
57396
|
-
const useUtilityClasses$
|
|
58392
|
+
const useUtilityClasses$k = (ownerState) => {
|
|
57397
58393
|
const {
|
|
57398
58394
|
classes: classes2
|
|
57399
58395
|
} = ownerState;
|
|
@@ -57416,7 +58412,7 @@ const GridIconButtonContainer = forwardRef(function GridIconButtonContainer2(pro
|
|
|
57416
58412
|
className
|
|
57417
58413
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$y);
|
|
57418
58414
|
const rootProps = useGridRootProps();
|
|
57419
|
-
const classes2 = useUtilityClasses$
|
|
58415
|
+
const classes2 = useUtilityClasses$k(rootProps);
|
|
57420
58416
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridIconButtonContainerRoot, _extends$2({
|
|
57421
58417
|
className: clsx(classes2.root, className),
|
|
57422
58418
|
ownerState: rootProps
|
|
@@ -57425,7 +58421,7 @@ const GridIconButtonContainer = forwardRef(function GridIconButtonContainer2(pro
|
|
|
57425
58421
|
}));
|
|
57426
58422
|
});
|
|
57427
58423
|
const _excluded$x = ["direction", "index", "sortingOrder", "disabled"];
|
|
57428
|
-
const useUtilityClasses$
|
|
58424
|
+
const useUtilityClasses$j = (ownerState) => {
|
|
57429
58425
|
const {
|
|
57430
58426
|
classes: classes2
|
|
57431
58427
|
} = ownerState;
|
|
@@ -57463,7 +58459,7 @@ function GridColumnHeaderSortIconRaw(props) {
|
|
|
57463
58459
|
const ownerState = _extends$2({}, props, {
|
|
57464
58460
|
classes: rootProps.classes
|
|
57465
58461
|
});
|
|
57466
|
-
const classes2 = useUtilityClasses$
|
|
58462
|
+
const classes2 = useUtilityClasses$j(ownerState);
|
|
57467
58463
|
const iconElement = getIcon(rootProps.slots, direction, classes2.icon, sortingOrder);
|
|
57468
58464
|
if (!iconElement) {
|
|
57469
58465
|
return null;
|
|
@@ -57498,7 +58494,7 @@ GridColumnHeaderSortIconRaw.propTypes = {
|
|
|
57498
58494
|
index: _pt.number,
|
|
57499
58495
|
sortingOrder: _pt.arrayOf(_pt.oneOf(["asc", "desc"])).isRequired
|
|
57500
58496
|
};
|
|
57501
|
-
const useUtilityClasses$
|
|
58497
|
+
const useUtilityClasses$i = (ownerState) => {
|
|
57502
58498
|
const {
|
|
57503
58499
|
classes: classes2
|
|
57504
58500
|
} = ownerState;
|
|
@@ -57534,7 +58530,7 @@ function GridColumnHeaderFilterIconButton(props) {
|
|
|
57534
58530
|
const ownerState = _extends$2({}, props, {
|
|
57535
58531
|
classes: rootProps.classes
|
|
57536
58532
|
});
|
|
57537
|
-
const classes2 = useUtilityClasses$
|
|
58533
|
+
const classes2 = useUtilityClasses$i(ownerState);
|
|
57538
58534
|
const labelId = useId();
|
|
57539
58535
|
const isOpen = useGridSelector(apiRef, gridPreferencePanelSelectorWithLabel, labelId);
|
|
57540
58536
|
const panelId = useId();
|
|
@@ -58067,7 +59063,7 @@ GridColumnMenu.propTypes = {
|
|
|
58067
59063
|
slots: _pt.object
|
|
58068
59064
|
};
|
|
58069
59065
|
const _excluded$t = ["className"];
|
|
58070
|
-
const useUtilityClasses$
|
|
59066
|
+
const useUtilityClasses$h = (ownerState) => {
|
|
58071
59067
|
const {
|
|
58072
59068
|
classes: classes2
|
|
58073
59069
|
} = ownerState;
|
|
@@ -58092,7 +59088,7 @@ const GridPanelWrapper = forwardRef(function GridPanelWrapper2(props, ref2) {
|
|
|
58092
59088
|
className
|
|
58093
59089
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$t);
|
|
58094
59090
|
const rootProps = useGridRootProps();
|
|
58095
|
-
const classes2 = useUtilityClasses$
|
|
59091
|
+
const classes2 = useUtilityClasses$h(rootProps);
|
|
58096
59092
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridPanelWrapperRoot, _extends$2({
|
|
58097
59093
|
tabIndex: -1,
|
|
58098
59094
|
className: clsx(classes2.root, className),
|
|
@@ -58201,7 +59197,7 @@ GridPanel.propTypes = {
|
|
|
58201
59197
|
target: _pt.any
|
|
58202
59198
|
};
|
|
58203
59199
|
const _excluded$r = ["className"];
|
|
58204
|
-
const useUtilityClasses$
|
|
59200
|
+
const useUtilityClasses$g = (ownerState) => {
|
|
58205
59201
|
const {
|
|
58206
59202
|
classes: classes2
|
|
58207
59203
|
} = ownerState;
|
|
@@ -58227,7 +59223,7 @@ function GridPanelContent(props) {
|
|
|
58227
59223
|
className
|
|
58228
59224
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$r);
|
|
58229
59225
|
const rootProps = useGridRootProps();
|
|
58230
|
-
const classes2 = useUtilityClasses$
|
|
59226
|
+
const classes2 = useUtilityClasses$g(rootProps);
|
|
58231
59227
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridPanelContentRoot, _extends$2({
|
|
58232
59228
|
className: clsx(classes2.root, className),
|
|
58233
59229
|
ownerState: rootProps
|
|
@@ -58241,7 +59237,7 @@ GridPanelContent.propTypes = {
|
|
|
58241
59237
|
sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object])
|
|
58242
59238
|
};
|
|
58243
59239
|
const _excluded$q = ["className"];
|
|
58244
|
-
const useUtilityClasses$
|
|
59240
|
+
const useUtilityClasses$f = (ownerState) => {
|
|
58245
59241
|
const {
|
|
58246
59242
|
classes: classes2
|
|
58247
59243
|
} = ownerState;
|
|
@@ -58265,7 +59261,7 @@ function GridPanelFooter(props) {
|
|
|
58265
59261
|
className
|
|
58266
59262
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$q);
|
|
58267
59263
|
const rootProps = useGridRootProps();
|
|
58268
|
-
const classes2 = useUtilityClasses$
|
|
59264
|
+
const classes2 = useUtilityClasses$f(rootProps);
|
|
58269
59265
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridPanelFooterRoot, _extends$2({
|
|
58270
59266
|
className: clsx(classes2.root, className),
|
|
58271
59267
|
ownerState: rootProps
|
|
@@ -58279,7 +59275,7 @@ GridPanelFooter.propTypes = {
|
|
|
58279
59275
|
sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object])
|
|
58280
59276
|
};
|
|
58281
59277
|
const _excluded$p = ["item", "hasMultipleFilters", "deleteFilter", "applyFilterChanges", "showMultiFilterOperators", "disableMultiFilterOperator", "applyMultiFilterOperatorChanges", "focusElementRef", "logicOperators", "columnsSort", "filterColumns", "deleteIconProps", "logicOperatorInputProps", "operatorInputProps", "columnInputProps", "valueInputProps", "readOnly", "children"], _excluded2$6 = ["InputComponentProps"];
|
|
58282
|
-
const useUtilityClasses$
|
|
59278
|
+
const useUtilityClasses$e = (ownerState) => {
|
|
58283
59279
|
const {
|
|
58284
59280
|
classes: classes2
|
|
58285
59281
|
} = ownerState;
|
|
@@ -58382,7 +59378,7 @@ const GridFilterForm = forwardRef(function GridFilterForm2(props, ref2) {
|
|
|
58382
59378
|
const operatorSelectId = useId();
|
|
58383
59379
|
const operatorSelectLabelId = useId();
|
|
58384
59380
|
const rootProps = useGridRootProps();
|
|
58385
|
-
const classes2 = useUtilityClasses$
|
|
59381
|
+
const classes2 = useUtilityClasses$e(rootProps);
|
|
58386
59382
|
const valueRef = React.useRef(null);
|
|
58387
59383
|
const filterSelectorRef = React.useRef(null);
|
|
58388
59384
|
const multiFilterOperator = filterModel.logicOperator ?? GridLogicOperator.And;
|
|
@@ -59012,7 +60008,7 @@ function GridShadowScrollArea(props) {
|
|
|
59012
60008
|
children: children2
|
|
59013
60009
|
}));
|
|
59014
60010
|
}
|
|
59015
|
-
const useUtilityClasses$
|
|
60011
|
+
const useUtilityClasses$d = (ownerState) => {
|
|
59016
60012
|
const {
|
|
59017
60013
|
classes: classes2
|
|
59018
60014
|
} = ownerState;
|
|
@@ -59035,7 +60031,7 @@ function GridColumnsManagement(props) {
|
|
|
59035
60031
|
const columnVisibilityModel = useGridSelector(apiRef, gridColumnVisibilityModelSelector);
|
|
59036
60032
|
const rootProps = useGridRootProps();
|
|
59037
60033
|
const [searchValue, setSearchValue] = React.useState("");
|
|
59038
|
-
const classes2 = useUtilityClasses$
|
|
60034
|
+
const classes2 = useUtilityClasses$d(rootProps);
|
|
59039
60035
|
const {
|
|
59040
60036
|
sort: sort2,
|
|
59041
60037
|
searchPredicate = defaultSearchPredicate,
|
|
@@ -59949,7 +60945,7 @@ QuickFilterTrigger.propTypes = {
|
|
|
59949
60945
|
touchRippleRef: _pt.any
|
|
59950
60946
|
};
|
|
59951
60947
|
const _excluded$h = ["quickFilterParser", "quickFilterFormatter", "debounceMs", "className", "slotProps"], _excluded2$4 = ["ref", "slotProps"];
|
|
59952
|
-
const useUtilityClasses$
|
|
60948
|
+
const useUtilityClasses$c = (ownerState) => {
|
|
59953
60949
|
const {
|
|
59954
60950
|
classes: classes2
|
|
59955
60951
|
} = ownerState;
|
|
@@ -60002,7 +60998,7 @@ function GridToolbarQuickFilter(props) {
|
|
|
60002
60998
|
classes: rootProps.classes,
|
|
60003
60999
|
expanded: false
|
|
60004
61000
|
};
|
|
60005
|
-
const classes2 = useUtilityClasses$
|
|
61001
|
+
const classes2 = useUtilityClasses$c(ownerState);
|
|
60006
61002
|
const {
|
|
60007
61003
|
quickFilterParser,
|
|
60008
61004
|
quickFilterFormatter,
|
|
@@ -60377,7 +61373,7 @@ ExportPrint.propTypes = {
|
|
|
60377
61373
|
touchRippleRef: _pt.any
|
|
60378
61374
|
};
|
|
60379
61375
|
const _excluded$c = ["className"], _excluded2$3 = ["className"];
|
|
60380
|
-
const useUtilityClasses$
|
|
61376
|
+
const useUtilityClasses$b = (ownerState) => {
|
|
60381
61377
|
const {
|
|
60382
61378
|
classes: classes2
|
|
60383
61379
|
} = ownerState;
|
|
@@ -60409,7 +61405,7 @@ const Label$2 = styled$1("span", {
|
|
|
60409
61405
|
function GridToolbarDivider(props) {
|
|
60410
61406
|
const other = _objectWithoutPropertiesLoose(props, _excluded$c);
|
|
60411
61407
|
const rootProps = useGridRootProps();
|
|
60412
|
-
const classes2 = useUtilityClasses$
|
|
61408
|
+
const classes2 = useUtilityClasses$b(rootProps);
|
|
60413
61409
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Divider, _extends$2({
|
|
60414
61410
|
as: rootProps.slots.baseDivider,
|
|
60415
61411
|
orientation: "vertical",
|
|
@@ -60427,7 +61423,7 @@ GridToolbarDivider.propTypes = {
|
|
|
60427
61423
|
function GridToolbarLabel(props) {
|
|
60428
61424
|
const other = _objectWithoutPropertiesLoose(props, _excluded2$3);
|
|
60429
61425
|
const rootProps = useGridRootProps();
|
|
60430
|
-
const classes2 = useUtilityClasses$
|
|
61426
|
+
const classes2 = useUtilityClasses$b(rootProps);
|
|
60431
61427
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Label$2, _extends$2({
|
|
60432
61428
|
className: classes2.label
|
|
60433
61429
|
}, other));
|
|
@@ -60547,7 +61543,7 @@ GridToolbar.propTypes = {
|
|
|
60547
61543
|
sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object])
|
|
60548
61544
|
};
|
|
60549
61545
|
const _excluded$b = ["className", "selectedRowCount"];
|
|
60550
|
-
const useUtilityClasses$
|
|
61546
|
+
const useUtilityClasses$a = (ownerState) => {
|
|
60551
61547
|
const {
|
|
60552
61548
|
classes: classes2
|
|
60553
61549
|
} = ownerState;
|
|
@@ -60580,7 +61576,7 @@ const GridSelectedRowCount = forwardRef(function GridSelectedRowCount2(props, re
|
|
|
60580
61576
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$b);
|
|
60581
61577
|
const apiRef = useGridApiContext();
|
|
60582
61578
|
const ownerState = useGridRootProps();
|
|
60583
|
-
const classes2 = useUtilityClasses$
|
|
61579
|
+
const classes2 = useUtilityClasses$a(ownerState);
|
|
60584
61580
|
const rowSelectedText = apiRef.current.getLocaleText("footerRowSelected")(selectedRowCount);
|
|
60585
61581
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridSelectedRowCountRoot, _extends$2({
|
|
60586
61582
|
className: clsx(classes2.root, className),
|
|
@@ -60690,7 +61686,7 @@ const SkeletonOverlay = styled$1("div", {
|
|
|
60690
61686
|
overflow: "clip"
|
|
60691
61687
|
// y axis is hidden while the x axis is allowed to overflow
|
|
60692
61688
|
});
|
|
60693
|
-
const useUtilityClasses$
|
|
61689
|
+
const useUtilityClasses$9 = (ownerState) => {
|
|
60694
61690
|
const {
|
|
60695
61691
|
classes: classes2
|
|
60696
61692
|
} = ownerState;
|
|
@@ -60706,7 +61702,7 @@ const GridSkeletonLoadingOverlayInner = forwardRef(function GridSkeletonLoadingO
|
|
|
60706
61702
|
slots
|
|
60707
61703
|
} = rootProps;
|
|
60708
61704
|
const isRtl = useRtl();
|
|
60709
|
-
const classes2 = useUtilityClasses$
|
|
61705
|
+
const classes2 = useUtilityClasses$9({
|
|
60710
61706
|
classes: rootProps.classes
|
|
60711
61707
|
});
|
|
60712
61708
|
const ref2 = React.useRef(null);
|
|
@@ -61017,7 +62013,7 @@ GridPagination.propTypes = {
|
|
|
61017
62013
|
component: _pt.elementType
|
|
61018
62014
|
};
|
|
61019
62015
|
const _excluded$8 = ["className", "rowCount", "visibleRowCount"];
|
|
61020
|
-
const useUtilityClasses$
|
|
62016
|
+
const useUtilityClasses$8 = (ownerState) => {
|
|
61021
62017
|
const {
|
|
61022
62018
|
classes: classes2
|
|
61023
62019
|
} = ownerState;
|
|
@@ -61043,7 +62039,7 @@ const GridRowCount = forwardRef(function GridRowCount2(props, ref2) {
|
|
|
61043
62039
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$8);
|
|
61044
62040
|
const apiRef = useGridApiContext();
|
|
61045
62041
|
const ownerState = useGridRootProps();
|
|
61046
|
-
const classes2 = useUtilityClasses$
|
|
62042
|
+
const classes2 = useUtilityClasses$8(ownerState);
|
|
61047
62043
|
if (rowCount === 0) {
|
|
61048
62044
|
return null;
|
|
61049
62045
|
}
|
|
@@ -66886,7 +67882,7 @@ const useGridRowSelection = (apiRef, props) => {
|
|
|
66886
67882
|
}
|
|
66887
67883
|
}, []);
|
|
66888
67884
|
};
|
|
66889
|
-
const useUtilityClasses$
|
|
67885
|
+
const useUtilityClasses$7 = (ownerState) => {
|
|
66890
67886
|
const {
|
|
66891
67887
|
classes: classes2
|
|
66892
67888
|
} = ownerState;
|
|
@@ -66902,7 +67898,7 @@ const useGridRowSelectionPreProcessors = (apiRef, props) => {
|
|
|
66902
67898
|
const ownerState = {
|
|
66903
67899
|
classes: props.classes
|
|
66904
67900
|
};
|
|
66905
|
-
const classes2 = useUtilityClasses$
|
|
67901
|
+
const classes2 = useUtilityClasses$7(ownerState);
|
|
66906
67902
|
const updateSelectionColumn = React.useCallback((columnsState) => {
|
|
66907
67903
|
const selectionColumn = _extends$2({}, GRID_CHECKBOX_SELECTION_COL_DEF, {
|
|
66908
67904
|
cellClassName: classes2.cellCheckbox,
|
|
@@ -69216,7 +70212,7 @@ const useDataGridComponent = (inputApiRef, props) => {
|
|
|
69216
70212
|
useGridDataSource(apiRef, props);
|
|
69217
70213
|
return apiRef;
|
|
69218
70214
|
};
|
|
69219
|
-
const useUtilityClasses$
|
|
70215
|
+
const useUtilityClasses$6 = (ownerState) => {
|
|
69220
70216
|
const {
|
|
69221
70217
|
classes: classes2,
|
|
69222
70218
|
headerAlign,
|
|
@@ -69286,7 +70282,7 @@ function GridColumnGroupHeader(props) {
|
|
|
69286
70282
|
const label2 = headerName ?? groupId;
|
|
69287
70283
|
const id2 = useId();
|
|
69288
70284
|
const elementId = groupId === null ? `empty-group-cell-${id2}` : groupId;
|
|
69289
|
-
const classes2 = useUtilityClasses$
|
|
70285
|
+
const classes2 = useUtilityClasses$6(ownerState);
|
|
69290
70286
|
React.useLayoutEffect(() => {
|
|
69291
70287
|
if (hasFocus) {
|
|
69292
70288
|
const focusableElement = headerCellRef.current.querySelector('[tabindex="0"]');
|
|
@@ -69628,7 +70624,7 @@ const useGridColumnHeaders = (props) => {
|
|
|
69628
70624
|
};
|
|
69629
70625
|
};
|
|
69630
70626
|
const _excluded$3 = ["className"];
|
|
69631
|
-
const useUtilityClasses$
|
|
70627
|
+
const useUtilityClasses$5 = (ownerState) => {
|
|
69632
70628
|
const {
|
|
69633
70629
|
classes: classes2
|
|
69634
70630
|
} = ownerState;
|
|
@@ -69652,7 +70648,7 @@ const GridBaseColumnHeaders = forwardRef(function GridColumnHeaders(props, ref2)
|
|
|
69652
70648
|
className
|
|
69653
70649
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$3);
|
|
69654
70650
|
const rootProps = useGridRootProps();
|
|
69655
|
-
const classes2 = useUtilityClasses$
|
|
70651
|
+
const classes2 = useUtilityClasses$5(rootProps);
|
|
69656
70652
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GridColumnHeadersRoot, _extends$2({
|
|
69657
70653
|
className: clsx(classes2.root, className),
|
|
69658
70654
|
ownerState: rootProps
|
|
@@ -69809,7 +70805,7 @@ const badgeClasses = generateUtilityClasses("MuiBadge", [
|
|
|
69809
70805
|
]);
|
|
69810
70806
|
const RADIUS_STANDARD = 10;
|
|
69811
70807
|
const RADIUS_DOT = 4;
|
|
69812
|
-
const useUtilityClasses$
|
|
70808
|
+
const useUtilityClasses$4 = (ownerState) => {
|
|
69813
70809
|
const {
|
|
69814
70810
|
color: color2,
|
|
69815
70811
|
anchorOrigin,
|
|
@@ -70071,7 +71067,7 @@ const Badge = /* @__PURE__ */ React.forwardRef(function Badge2(inProps, ref2) {
|
|
|
70071
71067
|
overlap,
|
|
70072
71068
|
variant
|
|
70073
71069
|
};
|
|
70074
|
-
const classes2 = useUtilityClasses$
|
|
71070
|
+
const classes2 = useUtilityClasses$4(ownerState);
|
|
70075
71071
|
const externalForwardedProps = {
|
|
70076
71072
|
slots: {
|
|
70077
71073
|
root: (slots == null ? void 0 : slots.root) ?? components.Root,
|
|
@@ -70222,614 +71218,6 @@ Badge.propTypes = {
|
|
|
70222
71218
|
*/
|
|
70223
71219
|
variant: _pt.oneOfType([_pt.oneOf(["dot", "standard"]), _pt.string])
|
|
70224
71220
|
};
|
|
70225
|
-
function getLinearProgressUtilityClass(slot) {
|
|
70226
|
-
return generateUtilityClass("MuiLinearProgress", slot);
|
|
70227
|
-
}
|
|
70228
|
-
generateUtilityClasses("MuiLinearProgress", ["root", "colorPrimary", "colorSecondary", "determinate", "indeterminate", "buffer", "query", "dashed", "dashedColorPrimary", "dashedColorSecondary", "bar", "bar1", "bar2", "barColorPrimary", "barColorSecondary", "bar1Indeterminate", "bar1Determinate", "bar1Buffer", "bar2Indeterminate", "bar2Buffer"]);
|
|
70229
|
-
const TRANSITION_DURATION = 4;
|
|
70230
|
-
const indeterminate1Keyframe = keyframes`
|
|
70231
|
-
0% {
|
|
70232
|
-
left: -35%;
|
|
70233
|
-
right: 100%;
|
|
70234
|
-
}
|
|
70235
|
-
|
|
70236
|
-
60% {
|
|
70237
|
-
left: 100%;
|
|
70238
|
-
right: -90%;
|
|
70239
|
-
}
|
|
70240
|
-
|
|
70241
|
-
100% {
|
|
70242
|
-
left: 100%;
|
|
70243
|
-
right: -90%;
|
|
70244
|
-
}
|
|
70245
|
-
`;
|
|
70246
|
-
const indeterminate1Animation = typeof indeterminate1Keyframe !== "string" ? css`
|
|
70247
|
-
animation: ${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
70248
|
-
` : null;
|
|
70249
|
-
const indeterminate2Keyframe = keyframes`
|
|
70250
|
-
0% {
|
|
70251
|
-
left: -200%;
|
|
70252
|
-
right: 100%;
|
|
70253
|
-
}
|
|
70254
|
-
|
|
70255
|
-
60% {
|
|
70256
|
-
left: 107%;
|
|
70257
|
-
right: -8%;
|
|
70258
|
-
}
|
|
70259
|
-
|
|
70260
|
-
100% {
|
|
70261
|
-
left: 107%;
|
|
70262
|
-
right: -8%;
|
|
70263
|
-
}
|
|
70264
|
-
`;
|
|
70265
|
-
const indeterminate2Animation = typeof indeterminate2Keyframe !== "string" ? css`
|
|
70266
|
-
animation: ${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
70267
|
-
` : null;
|
|
70268
|
-
const bufferKeyframe = keyframes`
|
|
70269
|
-
0% {
|
|
70270
|
-
opacity: 1;
|
|
70271
|
-
background-position: 0 -23px;
|
|
70272
|
-
}
|
|
70273
|
-
|
|
70274
|
-
60% {
|
|
70275
|
-
opacity: 0;
|
|
70276
|
-
background-position: 0 -23px;
|
|
70277
|
-
}
|
|
70278
|
-
|
|
70279
|
-
100% {
|
|
70280
|
-
opacity: 1;
|
|
70281
|
-
background-position: -200px -23px;
|
|
70282
|
-
}
|
|
70283
|
-
`;
|
|
70284
|
-
const bufferAnimation = typeof bufferKeyframe !== "string" ? css`
|
|
70285
|
-
animation: ${bufferKeyframe} 3s infinite linear;
|
|
70286
|
-
` : null;
|
|
70287
|
-
const useUtilityClasses$5 = (ownerState) => {
|
|
70288
|
-
const {
|
|
70289
|
-
classes: classes2,
|
|
70290
|
-
variant,
|
|
70291
|
-
color: color2
|
|
70292
|
-
} = ownerState;
|
|
70293
|
-
const slots = {
|
|
70294
|
-
root: ["root", `color${capitalize$1(color2)}`, variant],
|
|
70295
|
-
dashed: ["dashed", `dashedColor${capitalize$1(color2)}`],
|
|
70296
|
-
bar1: ["bar", "bar1", `barColor${capitalize$1(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
|
|
70297
|
-
bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize$1(color2)}`, variant === "buffer" && `color${capitalize$1(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
|
|
70298
|
-
};
|
|
70299
|
-
return composeClasses(slots, getLinearProgressUtilityClass, classes2);
|
|
70300
|
-
};
|
|
70301
|
-
const getColorShade = (theme, color2) => {
|
|
70302
|
-
if (theme.vars) {
|
|
70303
|
-
return theme.vars.palette.LinearProgress[`${color2}Bg`];
|
|
70304
|
-
}
|
|
70305
|
-
return theme.palette.mode === "light" ? lighten(theme.palette[color2].main, 0.62) : darken(theme.palette[color2].main, 0.5);
|
|
70306
|
-
};
|
|
70307
|
-
const LinearProgressRoot = styled("span", {
|
|
70308
|
-
name: "MuiLinearProgress",
|
|
70309
|
-
slot: "Root",
|
|
70310
|
-
overridesResolver: (props, styles2) => {
|
|
70311
|
-
const {
|
|
70312
|
-
ownerState
|
|
70313
|
-
} = props;
|
|
70314
|
-
return [styles2.root, styles2[`color${capitalize$1(ownerState.color)}`], styles2[ownerState.variant]];
|
|
70315
|
-
}
|
|
70316
|
-
})(memoTheme(({
|
|
70317
|
-
theme
|
|
70318
|
-
}) => ({
|
|
70319
|
-
position: "relative",
|
|
70320
|
-
overflow: "hidden",
|
|
70321
|
-
display: "block",
|
|
70322
|
-
height: 4,
|
|
70323
|
-
// Fix Safari's bug during composition of different paint.
|
|
70324
|
-
zIndex: 0,
|
|
70325
|
-
"@media print": {
|
|
70326
|
-
colorAdjust: "exact"
|
|
70327
|
-
},
|
|
70328
|
-
variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
70329
|
-
props: {
|
|
70330
|
-
color: color2
|
|
70331
|
-
},
|
|
70332
|
-
style: {
|
|
70333
|
-
backgroundColor: getColorShade(theme, color2)
|
|
70334
|
-
}
|
|
70335
|
-
})), {
|
|
70336
|
-
props: ({
|
|
70337
|
-
ownerState
|
|
70338
|
-
}) => ownerState.color === "inherit" && ownerState.variant !== "buffer",
|
|
70339
|
-
style: {
|
|
70340
|
-
"&::before": {
|
|
70341
|
-
content: '""',
|
|
70342
|
-
position: "absolute",
|
|
70343
|
-
left: 0,
|
|
70344
|
-
top: 0,
|
|
70345
|
-
right: 0,
|
|
70346
|
-
bottom: 0,
|
|
70347
|
-
backgroundColor: "currentColor",
|
|
70348
|
-
opacity: 0.3
|
|
70349
|
-
}
|
|
70350
|
-
}
|
|
70351
|
-
}, {
|
|
70352
|
-
props: {
|
|
70353
|
-
variant: "buffer"
|
|
70354
|
-
},
|
|
70355
|
-
style: {
|
|
70356
|
-
backgroundColor: "transparent"
|
|
70357
|
-
}
|
|
70358
|
-
}, {
|
|
70359
|
-
props: {
|
|
70360
|
-
variant: "query"
|
|
70361
|
-
},
|
|
70362
|
-
style: {
|
|
70363
|
-
transform: "rotate(180deg)"
|
|
70364
|
-
}
|
|
70365
|
-
}]
|
|
70366
|
-
})));
|
|
70367
|
-
const LinearProgressDashed = styled("span", {
|
|
70368
|
-
name: "MuiLinearProgress",
|
|
70369
|
-
slot: "Dashed",
|
|
70370
|
-
overridesResolver: (props, styles2) => {
|
|
70371
|
-
const {
|
|
70372
|
-
ownerState
|
|
70373
|
-
} = props;
|
|
70374
|
-
return [styles2.dashed, styles2[`dashedColor${capitalize$1(ownerState.color)}`]];
|
|
70375
|
-
}
|
|
70376
|
-
})(memoTheme(({
|
|
70377
|
-
theme
|
|
70378
|
-
}) => ({
|
|
70379
|
-
position: "absolute",
|
|
70380
|
-
marginTop: 0,
|
|
70381
|
-
height: "100%",
|
|
70382
|
-
width: "100%",
|
|
70383
|
-
backgroundSize: "10px 10px",
|
|
70384
|
-
backgroundPosition: "0 -23px",
|
|
70385
|
-
variants: [{
|
|
70386
|
-
props: {
|
|
70387
|
-
color: "inherit"
|
|
70388
|
-
},
|
|
70389
|
-
style: {
|
|
70390
|
-
opacity: 0.3,
|
|
70391
|
-
backgroundImage: `radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)`
|
|
70392
|
-
}
|
|
70393
|
-
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => {
|
|
70394
|
-
const backgroundColor2 = getColorShade(theme, color2);
|
|
70395
|
-
return {
|
|
70396
|
-
props: {
|
|
70397
|
-
color: color2
|
|
70398
|
-
},
|
|
70399
|
-
style: {
|
|
70400
|
-
backgroundImage: `radial-gradient(${backgroundColor2} 0%, ${backgroundColor2} 16%, transparent 42%)`
|
|
70401
|
-
}
|
|
70402
|
-
};
|
|
70403
|
-
})]
|
|
70404
|
-
})), bufferAnimation || {
|
|
70405
|
-
// At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
|
|
70406
|
-
animation: `${bufferKeyframe} 3s infinite linear`
|
|
70407
|
-
});
|
|
70408
|
-
const LinearProgressBar1 = styled("span", {
|
|
70409
|
-
name: "MuiLinearProgress",
|
|
70410
|
-
slot: "Bar1",
|
|
70411
|
-
overridesResolver: (props, styles2) => {
|
|
70412
|
-
const {
|
|
70413
|
-
ownerState
|
|
70414
|
-
} = props;
|
|
70415
|
-
return [styles2.bar, styles2.bar1, styles2[`barColor${capitalize$1(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar1Indeterminate, ownerState.variant === "determinate" && styles2.bar1Determinate, ownerState.variant === "buffer" && styles2.bar1Buffer];
|
|
70416
|
-
}
|
|
70417
|
-
})(memoTheme(({
|
|
70418
|
-
theme
|
|
70419
|
-
}) => ({
|
|
70420
|
-
width: "100%",
|
|
70421
|
-
position: "absolute",
|
|
70422
|
-
left: 0,
|
|
70423
|
-
bottom: 0,
|
|
70424
|
-
top: 0,
|
|
70425
|
-
transition: "transform 0.2s linear",
|
|
70426
|
-
transformOrigin: "left",
|
|
70427
|
-
variants: [{
|
|
70428
|
-
props: {
|
|
70429
|
-
color: "inherit"
|
|
70430
|
-
},
|
|
70431
|
-
style: {
|
|
70432
|
-
backgroundColor: "currentColor"
|
|
70433
|
-
}
|
|
70434
|
-
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
70435
|
-
props: {
|
|
70436
|
-
color: color2
|
|
70437
|
-
},
|
|
70438
|
-
style: {
|
|
70439
|
-
backgroundColor: (theme.vars || theme).palette[color2].main
|
|
70440
|
-
}
|
|
70441
|
-
})), {
|
|
70442
|
-
props: {
|
|
70443
|
-
variant: "determinate"
|
|
70444
|
-
},
|
|
70445
|
-
style: {
|
|
70446
|
-
transition: `transform .${TRANSITION_DURATION}s linear`
|
|
70447
|
-
}
|
|
70448
|
-
}, {
|
|
70449
|
-
props: {
|
|
70450
|
-
variant: "buffer"
|
|
70451
|
-
},
|
|
70452
|
-
style: {
|
|
70453
|
-
zIndex: 1,
|
|
70454
|
-
transition: `transform .${TRANSITION_DURATION}s linear`
|
|
70455
|
-
}
|
|
70456
|
-
}, {
|
|
70457
|
-
props: ({
|
|
70458
|
-
ownerState
|
|
70459
|
-
}) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
|
|
70460
|
-
style: {
|
|
70461
|
-
width: "auto"
|
|
70462
|
-
}
|
|
70463
|
-
}, {
|
|
70464
|
-
props: ({
|
|
70465
|
-
ownerState
|
|
70466
|
-
}) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
|
|
70467
|
-
style: indeterminate1Animation || {
|
|
70468
|
-
animation: `${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`
|
|
70469
|
-
}
|
|
70470
|
-
}]
|
|
70471
|
-
})));
|
|
70472
|
-
const LinearProgressBar2 = styled("span", {
|
|
70473
|
-
name: "MuiLinearProgress",
|
|
70474
|
-
slot: "Bar2",
|
|
70475
|
-
overridesResolver: (props, styles2) => {
|
|
70476
|
-
const {
|
|
70477
|
-
ownerState
|
|
70478
|
-
} = props;
|
|
70479
|
-
return [styles2.bar, styles2.bar2, styles2[`barColor${capitalize$1(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar2Indeterminate, ownerState.variant === "buffer" && styles2.bar2Buffer];
|
|
70480
|
-
}
|
|
70481
|
-
})(memoTheme(({
|
|
70482
|
-
theme
|
|
70483
|
-
}) => ({
|
|
70484
|
-
width: "100%",
|
|
70485
|
-
position: "absolute",
|
|
70486
|
-
left: 0,
|
|
70487
|
-
bottom: 0,
|
|
70488
|
-
top: 0,
|
|
70489
|
-
transition: "transform 0.2s linear",
|
|
70490
|
-
transformOrigin: "left",
|
|
70491
|
-
variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
70492
|
-
props: {
|
|
70493
|
-
color: color2
|
|
70494
|
-
},
|
|
70495
|
-
style: {
|
|
70496
|
-
"--LinearProgressBar2-barColor": (theme.vars || theme).palette[color2].main
|
|
70497
|
-
}
|
|
70498
|
-
})), {
|
|
70499
|
-
props: ({
|
|
70500
|
-
ownerState
|
|
70501
|
-
}) => ownerState.variant !== "buffer" && ownerState.color !== "inherit",
|
|
70502
|
-
style: {
|
|
70503
|
-
backgroundColor: "var(--LinearProgressBar2-barColor, currentColor)"
|
|
70504
|
-
}
|
|
70505
|
-
}, {
|
|
70506
|
-
props: ({
|
|
70507
|
-
ownerState
|
|
70508
|
-
}) => ownerState.variant !== "buffer" && ownerState.color === "inherit",
|
|
70509
|
-
style: {
|
|
70510
|
-
backgroundColor: "currentColor"
|
|
70511
|
-
}
|
|
70512
|
-
}, {
|
|
70513
|
-
props: {
|
|
70514
|
-
color: "inherit"
|
|
70515
|
-
},
|
|
70516
|
-
style: {
|
|
70517
|
-
opacity: 0.3
|
|
70518
|
-
}
|
|
70519
|
-
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
70520
|
-
props: {
|
|
70521
|
-
color: color2,
|
|
70522
|
-
variant: "buffer"
|
|
70523
|
-
},
|
|
70524
|
-
style: {
|
|
70525
|
-
backgroundColor: getColorShade(theme, color2),
|
|
70526
|
-
transition: `transform .${TRANSITION_DURATION}s linear`
|
|
70527
|
-
}
|
|
70528
|
-
})), {
|
|
70529
|
-
props: ({
|
|
70530
|
-
ownerState
|
|
70531
|
-
}) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
|
|
70532
|
-
style: {
|
|
70533
|
-
width: "auto"
|
|
70534
|
-
}
|
|
70535
|
-
}, {
|
|
70536
|
-
props: ({
|
|
70537
|
-
ownerState
|
|
70538
|
-
}) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
|
|
70539
|
-
style: indeterminate2Animation || {
|
|
70540
|
-
animation: `${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`
|
|
70541
|
-
}
|
|
70542
|
-
}]
|
|
70543
|
-
})));
|
|
70544
|
-
const LinearProgress = /* @__PURE__ */ React.forwardRef(function LinearProgress2(inProps, ref2) {
|
|
70545
|
-
const props = useDefaultProps({
|
|
70546
|
-
props: inProps,
|
|
70547
|
-
name: "MuiLinearProgress"
|
|
70548
|
-
});
|
|
70549
|
-
const {
|
|
70550
|
-
className,
|
|
70551
|
-
color: color2 = "primary",
|
|
70552
|
-
value: value2,
|
|
70553
|
-
valueBuffer,
|
|
70554
|
-
variant = "indeterminate",
|
|
70555
|
-
...other
|
|
70556
|
-
} = props;
|
|
70557
|
-
const ownerState = {
|
|
70558
|
-
...props,
|
|
70559
|
-
color: color2,
|
|
70560
|
-
variant
|
|
70561
|
-
};
|
|
70562
|
-
const classes2 = useUtilityClasses$5(ownerState);
|
|
70563
|
-
const isRtl = useRtl();
|
|
70564
|
-
const rootProps = {};
|
|
70565
|
-
const inlineStyles = {
|
|
70566
|
-
bar1: {},
|
|
70567
|
-
bar2: {}
|
|
70568
|
-
};
|
|
70569
|
-
if (variant === "determinate" || variant === "buffer") {
|
|
70570
|
-
if (value2 !== void 0) {
|
|
70571
|
-
rootProps["aria-valuenow"] = Math.round(value2);
|
|
70572
|
-
rootProps["aria-valuemin"] = 0;
|
|
70573
|
-
rootProps["aria-valuemax"] = 100;
|
|
70574
|
-
let transform2 = value2 - 100;
|
|
70575
|
-
if (isRtl) {
|
|
70576
|
-
transform2 = -transform2;
|
|
70577
|
-
}
|
|
70578
|
-
inlineStyles.bar1.transform = `translateX(${transform2}%)`;
|
|
70579
|
-
} else {
|
|
70580
|
-
console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");
|
|
70581
|
-
}
|
|
70582
|
-
}
|
|
70583
|
-
if (variant === "buffer") {
|
|
70584
|
-
if (valueBuffer !== void 0) {
|
|
70585
|
-
let transform2 = (valueBuffer || 0) - 100;
|
|
70586
|
-
if (isRtl) {
|
|
70587
|
-
transform2 = -transform2;
|
|
70588
|
-
}
|
|
70589
|
-
inlineStyles.bar2.transform = `translateX(${transform2}%)`;
|
|
70590
|
-
} else {
|
|
70591
|
-
console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");
|
|
70592
|
-
}
|
|
70593
|
-
}
|
|
70594
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(LinearProgressRoot, {
|
|
70595
|
-
className: clsx(classes2.root, className),
|
|
70596
|
-
ownerState,
|
|
70597
|
-
role: "progressbar",
|
|
70598
|
-
...rootProps,
|
|
70599
|
-
ref: ref2,
|
|
70600
|
-
...other,
|
|
70601
|
-
children: [variant === "buffer" ? /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressDashed, {
|
|
70602
|
-
className: classes2.dashed,
|
|
70603
|
-
ownerState
|
|
70604
|
-
}) : null, /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressBar1, {
|
|
70605
|
-
className: classes2.bar1,
|
|
70606
|
-
ownerState,
|
|
70607
|
-
style: inlineStyles.bar1
|
|
70608
|
-
}), variant === "determinate" ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressBar2, {
|
|
70609
|
-
className: classes2.bar2,
|
|
70610
|
-
ownerState,
|
|
70611
|
-
style: inlineStyles.bar2
|
|
70612
|
-
})]
|
|
70613
|
-
});
|
|
70614
|
-
});
|
|
70615
|
-
LinearProgress.propTypes = {
|
|
70616
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
70617
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
70618
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
70619
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
70620
|
-
/**
|
|
70621
|
-
* Override or extend the styles applied to the component.
|
|
70622
|
-
*/
|
|
70623
|
-
classes: _pt.object,
|
|
70624
|
-
/**
|
|
70625
|
-
* @ignore
|
|
70626
|
-
*/
|
|
70627
|
-
className: _pt.string,
|
|
70628
|
-
/**
|
|
70629
|
-
* The color of the component.
|
|
70630
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
70631
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
70632
|
-
* @default 'primary'
|
|
70633
|
-
*/
|
|
70634
|
-
color: _pt.oneOfType([_pt.oneOf(["inherit", "primary", "secondary"]), _pt.string]),
|
|
70635
|
-
/**
|
|
70636
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
70637
|
-
*/
|
|
70638
|
-
sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object]),
|
|
70639
|
-
/**
|
|
70640
|
-
* The value of the progress indicator for the determinate and buffer variants.
|
|
70641
|
-
* Value between 0 and 100.
|
|
70642
|
-
*/
|
|
70643
|
-
value: _pt.number,
|
|
70644
|
-
/**
|
|
70645
|
-
* The value for the buffer variant.
|
|
70646
|
-
* Value between 0 and 100.
|
|
70647
|
-
*/
|
|
70648
|
-
valueBuffer: _pt.number,
|
|
70649
|
-
/**
|
|
70650
|
-
* The variant to use.
|
|
70651
|
-
* Use indeterminate or query when there is no progress value.
|
|
70652
|
-
* @default 'indeterminate'
|
|
70653
|
-
*/
|
|
70654
|
-
variant: _pt.oneOf(["buffer", "determinate", "indeterminate", "query"])
|
|
70655
|
-
};
|
|
70656
|
-
function getInputAdornmentUtilityClass(slot) {
|
|
70657
|
-
return generateUtilityClass("MuiInputAdornment", slot);
|
|
70658
|
-
}
|
|
70659
|
-
const inputAdornmentClasses = generateUtilityClasses("MuiInputAdornment", ["root", "filled", "standard", "outlined", "positionStart", "positionEnd", "disablePointerEvents", "hiddenLabel", "sizeSmall"]);
|
|
70660
|
-
var _span;
|
|
70661
|
-
const overridesResolver = (props, styles2) => {
|
|
70662
|
-
const {
|
|
70663
|
-
ownerState
|
|
70664
|
-
} = props;
|
|
70665
|
-
return [styles2.root, styles2[`position${capitalize$1(ownerState.position)}`], ownerState.disablePointerEvents === true && styles2.disablePointerEvents, styles2[ownerState.variant]];
|
|
70666
|
-
};
|
|
70667
|
-
const useUtilityClasses$4 = (ownerState) => {
|
|
70668
|
-
const {
|
|
70669
|
-
classes: classes2,
|
|
70670
|
-
disablePointerEvents,
|
|
70671
|
-
hiddenLabel,
|
|
70672
|
-
position: position2,
|
|
70673
|
-
size,
|
|
70674
|
-
variant
|
|
70675
|
-
} = ownerState;
|
|
70676
|
-
const slots = {
|
|
70677
|
-
root: ["root", disablePointerEvents && "disablePointerEvents", position2 && `position${capitalize$1(position2)}`, variant, hiddenLabel && "hiddenLabel", size && `size${capitalize$1(size)}`]
|
|
70678
|
-
};
|
|
70679
|
-
return composeClasses(slots, getInputAdornmentUtilityClass, classes2);
|
|
70680
|
-
};
|
|
70681
|
-
const InputAdornmentRoot = styled("div", {
|
|
70682
|
-
name: "MuiInputAdornment",
|
|
70683
|
-
slot: "Root",
|
|
70684
|
-
overridesResolver
|
|
70685
|
-
})(memoTheme(({
|
|
70686
|
-
theme
|
|
70687
|
-
}) => ({
|
|
70688
|
-
display: "flex",
|
|
70689
|
-
maxHeight: "2em",
|
|
70690
|
-
alignItems: "center",
|
|
70691
|
-
whiteSpace: "nowrap",
|
|
70692
|
-
color: (theme.vars || theme).palette.action.active,
|
|
70693
|
-
variants: [{
|
|
70694
|
-
props: {
|
|
70695
|
-
variant: "filled"
|
|
70696
|
-
},
|
|
70697
|
-
style: {
|
|
70698
|
-
[`&.${inputAdornmentClasses.positionStart}&:not(.${inputAdornmentClasses.hiddenLabel})`]: {
|
|
70699
|
-
marginTop: 16
|
|
70700
|
-
}
|
|
70701
|
-
}
|
|
70702
|
-
}, {
|
|
70703
|
-
props: {
|
|
70704
|
-
position: "start"
|
|
70705
|
-
},
|
|
70706
|
-
style: {
|
|
70707
|
-
marginRight: 8
|
|
70708
|
-
}
|
|
70709
|
-
}, {
|
|
70710
|
-
props: {
|
|
70711
|
-
position: "end"
|
|
70712
|
-
},
|
|
70713
|
-
style: {
|
|
70714
|
-
marginLeft: 8
|
|
70715
|
-
}
|
|
70716
|
-
}, {
|
|
70717
|
-
props: {
|
|
70718
|
-
disablePointerEvents: true
|
|
70719
|
-
},
|
|
70720
|
-
style: {
|
|
70721
|
-
pointerEvents: "none"
|
|
70722
|
-
}
|
|
70723
|
-
}]
|
|
70724
|
-
})));
|
|
70725
|
-
const InputAdornment$1 = /* @__PURE__ */ React.forwardRef(function InputAdornment2(inProps, ref2) {
|
|
70726
|
-
const props = useDefaultProps({
|
|
70727
|
-
props: inProps,
|
|
70728
|
-
name: "MuiInputAdornment"
|
|
70729
|
-
});
|
|
70730
|
-
const {
|
|
70731
|
-
children: children2,
|
|
70732
|
-
className,
|
|
70733
|
-
component = "div",
|
|
70734
|
-
disablePointerEvents = false,
|
|
70735
|
-
disableTypography = false,
|
|
70736
|
-
position: position2,
|
|
70737
|
-
variant: variantProp,
|
|
70738
|
-
...other
|
|
70739
|
-
} = props;
|
|
70740
|
-
const muiFormControl = useFormControl() || {};
|
|
70741
|
-
let variant = variantProp;
|
|
70742
|
-
if (variantProp && muiFormControl.variant) {
|
|
70743
|
-
{
|
|
70744
|
-
if (variantProp === muiFormControl.variant) {
|
|
70745
|
-
console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one.");
|
|
70746
|
-
}
|
|
70747
|
-
}
|
|
70748
|
-
}
|
|
70749
|
-
if (muiFormControl && !variant) {
|
|
70750
|
-
variant = muiFormControl.variant;
|
|
70751
|
-
}
|
|
70752
|
-
const ownerState = {
|
|
70753
|
-
...props,
|
|
70754
|
-
hiddenLabel: muiFormControl.hiddenLabel,
|
|
70755
|
-
size: muiFormControl.size,
|
|
70756
|
-
disablePointerEvents,
|
|
70757
|
-
position: position2,
|
|
70758
|
-
variant
|
|
70759
|
-
};
|
|
70760
|
-
const classes2 = useUtilityClasses$4(ownerState);
|
|
70761
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(FormControlContext.Provider, {
|
|
70762
|
-
value: null,
|
|
70763
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(InputAdornmentRoot, {
|
|
70764
|
-
as: component,
|
|
70765
|
-
ownerState,
|
|
70766
|
-
className: clsx(classes2.root, className),
|
|
70767
|
-
ref: ref2,
|
|
70768
|
-
...other,
|
|
70769
|
-
children: typeof children2 === "string" && !disableTypography ? /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, {
|
|
70770
|
-
color: "textSecondary",
|
|
70771
|
-
children: children2
|
|
70772
|
-
}) : /* @__PURE__ */ jsxRuntimeExports.jsxs(React.Fragment, {
|
|
70773
|
-
children: [position2 === "start" ? (
|
|
70774
|
-
/* notranslate needed while Google Translate will not fix zero-width space issue */
|
|
70775
|
-
_span || (_span = /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
|
|
70776
|
-
className: "notranslate",
|
|
70777
|
-
"aria-hidden": true,
|
|
70778
|
-
children: ""
|
|
70779
|
-
}))
|
|
70780
|
-
) : null, children2]
|
|
70781
|
-
})
|
|
70782
|
-
})
|
|
70783
|
-
});
|
|
70784
|
-
});
|
|
70785
|
-
InputAdornment$1.propTypes = {
|
|
70786
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
70787
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
70788
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
70789
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
70790
|
-
/**
|
|
70791
|
-
* The content of the component, normally an `IconButton` or string.
|
|
70792
|
-
*/
|
|
70793
|
-
children: _pt.node,
|
|
70794
|
-
/**
|
|
70795
|
-
* Override or extend the styles applied to the component.
|
|
70796
|
-
*/
|
|
70797
|
-
classes: _pt.object,
|
|
70798
|
-
/**
|
|
70799
|
-
* @ignore
|
|
70800
|
-
*/
|
|
70801
|
-
className: _pt.string,
|
|
70802
|
-
/**
|
|
70803
|
-
* The component used for the root node.
|
|
70804
|
-
* Either a string to use a HTML element or a component.
|
|
70805
|
-
*/
|
|
70806
|
-
component: _pt.elementType,
|
|
70807
|
-
/**
|
|
70808
|
-
* Disable pointer events on the root.
|
|
70809
|
-
* This allows for the content of the adornment to focus the `input` on click.
|
|
70810
|
-
* @default false
|
|
70811
|
-
*/
|
|
70812
|
-
disablePointerEvents: _pt.bool,
|
|
70813
|
-
/**
|
|
70814
|
-
* If children is a string then disable wrapping in a Typography component.
|
|
70815
|
-
* @default false
|
|
70816
|
-
*/
|
|
70817
|
-
disableTypography: _pt.bool,
|
|
70818
|
-
/**
|
|
70819
|
-
* The position this adornment should appear relative to the `Input`.
|
|
70820
|
-
*/
|
|
70821
|
-
position: _pt.oneOf(["end", "start"]).isRequired,
|
|
70822
|
-
/**
|
|
70823
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
70824
|
-
*/
|
|
70825
|
-
sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object]),
|
|
70826
|
-
/**
|
|
70827
|
-
* The variant to use.
|
|
70828
|
-
* Note: If you are using the `TextField` component or the `FormControl` component
|
|
70829
|
-
* you do not have to set this manually.
|
|
70830
|
-
*/
|
|
70831
|
-
variant: _pt.oneOf(["filled", "outlined", "standard"])
|
|
70832
|
-
};
|
|
70833
71221
|
function getToolbarUtilityClass(slot) {
|
|
70834
71222
|
return generateUtilityClass("MuiToolbar", slot);
|
|
70835
71223
|
}
|
|
@@ -87240,7 +87628,7 @@ function getIdentityMatrix$1() {
|
|
|
87240
87628
|
}
|
|
87241
87629
|
return IDENTITY_MATRIX3;
|
|
87242
87630
|
}
|
|
87243
|
-
function identity$
|
|
87631
|
+
function identity$c(out) {
|
|
87244
87632
|
out[0] = 1;
|
|
87245
87633
|
out[1] = 0;
|
|
87246
87634
|
out[2] = 0;
|
|
@@ -87738,7 +88126,7 @@ function lookAt(out, eye, center2, up) {
|
|
|
87738
88126
|
var centery = center2[1];
|
|
87739
88127
|
var centerz = center2[2];
|
|
87740
88128
|
if (Math.abs(eyex - centerx) < EPSILON$6 && Math.abs(eyey - centery) < EPSILON$6 && Math.abs(eyez - centerz) < EPSILON$6) {
|
|
87741
|
-
return identity$
|
|
88129
|
+
return identity$c(out);
|
|
87742
88130
|
}
|
|
87743
88131
|
z02 = eyex - centerx;
|
|
87744
88132
|
z1 = eyey - centery;
|
|
@@ -88339,7 +88727,7 @@ function create$4() {
|
|
|
88339
88727
|
out[3] = 1;
|
|
88340
88728
|
return out;
|
|
88341
88729
|
}
|
|
88342
|
-
function identity$
|
|
88730
|
+
function identity$b(out) {
|
|
88343
88731
|
out[0] = 0;
|
|
88344
88732
|
out[1] = 0;
|
|
88345
88733
|
out[2] = 0;
|
|
@@ -88571,7 +88959,7 @@ class Quaternion extends MathArray {
|
|
|
88571
88959
|
return this.check();
|
|
88572
88960
|
}
|
|
88573
88961
|
identity() {
|
|
88574
|
-
identity$
|
|
88962
|
+
identity$b(this);
|
|
88575
88963
|
return this.check();
|
|
88576
88964
|
}
|
|
88577
88965
|
setAxisAngle(axis2, rad) {
|
|
@@ -103785,7 +104173,7 @@ function getPropTypes(props) {
|
|
|
103785
104173
|
}
|
|
103786
104174
|
const ERR_NOT_OBJECT = "count(): argument not an object";
|
|
103787
104175
|
const ERR_NOT_CONTAINER = "count(): argument not a container";
|
|
103788
|
-
function count$
|
|
104176
|
+
function count$1(container) {
|
|
103789
104177
|
if (!isObject$2(container)) {
|
|
103790
104178
|
throw new Error(ERR_NOT_OBJECT);
|
|
103791
104179
|
}
|
|
@@ -104804,7 +105192,7 @@ class Layer extends Component {
|
|
|
104804
105192
|
if (this.state && this.state.numInstances !== void 0) {
|
|
104805
105193
|
return this.state.numInstances;
|
|
104806
105194
|
}
|
|
104807
|
-
return count$
|
|
105195
|
+
return count$1(this.props.data);
|
|
104808
105196
|
}
|
|
104809
105197
|
getStartIndices() {
|
|
104810
105198
|
if (this.props.startIndices) {
|
|
@@ -106397,7 +106785,7 @@ const esm$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
106397
106785
|
_LayersPass: LayersPass,
|
|
106398
106786
|
_SunLight: SunLight,
|
|
106399
106787
|
_compareProps: compareProps,
|
|
106400
|
-
_count: count$
|
|
106788
|
+
_count: count$1,
|
|
106401
106789
|
_fillArray: fillArray,
|
|
106402
106790
|
_flatten: flatten$1,
|
|
106403
106791
|
_memoize: memoize$2,
|
|
@@ -113420,7 +113808,7 @@ const defaultGetValue = (points2) => points2.length;
|
|
|
113420
113808
|
const MAX_32_BIT_FLOAT = 3402823466e29;
|
|
113421
113809
|
const defaultGetPoints = (bin2) => bin2.points;
|
|
113422
113810
|
const defaultGetIndex = (bin2) => bin2.index;
|
|
113423
|
-
const ascending$
|
|
113811
|
+
const ascending$6 = (a2, b2) => a2 < b2 ? -1 : a2 > b2 ? 1 : a2 >= b2 ? 0 : NaN;
|
|
113424
113812
|
const defaultProps$w = {
|
|
113425
113813
|
getValue: defaultGetValue,
|
|
113426
113814
|
getPoints: defaultGetPoints,
|
|
@@ -113504,7 +113892,7 @@ class BinSorter {
|
|
|
113504
113892
|
}
|
|
113505
113893
|
getValueRange(percentileRange) {
|
|
113506
113894
|
if (!this.sortedBins) {
|
|
113507
|
-
this.sortedBins = this.aggregatedBins.sort((a2, b2) => ascending$
|
|
113895
|
+
this.sortedBins = this.aggregatedBins.sort((a2, b2) => ascending$6(a2.value, b2.value));
|
|
113508
113896
|
}
|
|
113509
113897
|
if (!this.sortedBins.length) {
|
|
113510
113898
|
return [];
|
|
@@ -113520,7 +113908,7 @@ class BinSorter {
|
|
|
113520
113908
|
}
|
|
113521
113909
|
getValueDomainByScale(scale2, [lower2 = 0, upper = 100] = []) {
|
|
113522
113910
|
if (!this.sortedBins) {
|
|
113523
|
-
this.sortedBins = this.aggregatedBins.sort((a2, b2) => ascending$
|
|
113911
|
+
this.sortedBins = this.aggregatedBins.sort((a2, b2) => ascending$6(a2.value, b2.value));
|
|
113524
113912
|
}
|
|
113525
113913
|
if (!this.sortedBins.length) {
|
|
113526
113914
|
return [];
|
|
@@ -133779,11 +134167,11 @@ _defineProperty$3(MeshLayer, "defaultProps", defaultProps$k);
|
|
|
133779
134167
|
const WGS84_RADIUS_X$1 = 6378137;
|
|
133780
134168
|
const WGS84_RADIUS_Y$1 = 6378137;
|
|
133781
134169
|
const WGS84_RADIUS_Z$1 = 6356752314245179e-9;
|
|
133782
|
-
function identity$
|
|
134170
|
+
function identity$a(x2) {
|
|
133783
134171
|
return x2;
|
|
133784
134172
|
}
|
|
133785
134173
|
new Vector3();
|
|
133786
|
-
function fromCartographic(cartographic, result = [], map2 = identity$
|
|
134174
|
+
function fromCartographic(cartographic, result = [], map2 = identity$a) {
|
|
133787
134175
|
if ("longitude" in cartographic) {
|
|
133788
134176
|
result[0] = map2(cartographic.longitude);
|
|
133789
134177
|
result[1] = map2(cartographic.latitude);
|
|
@@ -133800,9 +134188,9 @@ function fromCartographic(cartographic, result = [], map2 = identity$b) {
|
|
|
133800
134188
|
return result;
|
|
133801
134189
|
}
|
|
133802
134190
|
function fromCartographicToRadians(cartographic, vector = []) {
|
|
133803
|
-
return fromCartographic(cartographic, vector, config._cartographicRadians ? identity$
|
|
134191
|
+
return fromCartographic(cartographic, vector, config._cartographicRadians ? identity$a : toRadians);
|
|
133804
134192
|
}
|
|
133805
|
-
function toCartographic(vector, cartographic, map2 = identity$
|
|
134193
|
+
function toCartographic(vector, cartographic, map2 = identity$a) {
|
|
133806
134194
|
if ("longitude" in cartographic) {
|
|
133807
134195
|
cartographic.longitude = map2(vector[0]);
|
|
133808
134196
|
cartographic.latitude = map2(vector[1]);
|
|
@@ -133819,7 +134207,7 @@ function toCartographic(vector, cartographic, map2 = identity$b) {
|
|
|
133819
134207
|
return cartographic;
|
|
133820
134208
|
}
|
|
133821
134209
|
function toCartographicFromRadians(vector, cartographic) {
|
|
133822
|
-
return toCartographic(vector, cartographic, config._cartographicRadians ? identity$
|
|
134210
|
+
return toCartographic(vector, cartographic, config._cartographicRadians ? identity$a : toDegrees);
|
|
133823
134211
|
}
|
|
133824
134212
|
const scratchVector$4 = new Vector3();
|
|
133825
134213
|
const scaleToGeodeticSurfaceIntersection = new Vector3();
|
|
@@ -139527,7 +139915,7 @@ function isPointOnLineSegment(lineSegmentStart, lineSegmentEnd, pt, excludeBound
|
|
|
139527
139915
|
const epsilon$9 = 11102230246251565e-32;
|
|
139528
139916
|
const splitter$1 = 134217729;
|
|
139529
139917
|
const resulterrbound$1 = (3 + 8 * epsilon$9) * epsilon$9;
|
|
139530
|
-
function sum$
|
|
139918
|
+
function sum$3(elen, e3, flen, f2, h2) {
|
|
139531
139919
|
let Q2, Qnew, hh, bvirt;
|
|
139532
139920
|
let enow = e3[0];
|
|
139533
139921
|
let fnow = f2[0];
|
|
@@ -139698,7 +140086,7 @@ function orient2dadapt$1(ax, ay, bx, by, cx, cy, detsum) {
|
|
|
139698
140086
|
bvirt = u3 - _j;
|
|
139699
140087
|
u$1[2] = _j - (u3 - bvirt) + (_i - bvirt);
|
|
139700
140088
|
u$1[3] = u3;
|
|
139701
|
-
const C1len = sum$
|
|
140089
|
+
const C1len = sum$3(4, B$3, 4, u$1, C1$1);
|
|
139702
140090
|
s1 = acx * bcytail;
|
|
139703
140091
|
c2 = splitter$1 * acx;
|
|
139704
140092
|
ahi = c2 - (c2 - acx);
|
|
@@ -139728,7 +140116,7 @@ function orient2dadapt$1(ax, ay, bx, by, cx, cy, detsum) {
|
|
|
139728
140116
|
bvirt = u3 - _j;
|
|
139729
140117
|
u$1[2] = _j - (u3 - bvirt) + (_i - bvirt);
|
|
139730
140118
|
u$1[3] = u3;
|
|
139731
|
-
const C2len = sum$
|
|
140119
|
+
const C2len = sum$3(C1len, C1$1, 4, u$1, C2$1);
|
|
139732
140120
|
s1 = acxtail * bcytail;
|
|
139733
140121
|
c2 = splitter$1 * acxtail;
|
|
139734
140122
|
ahi = c2 - (c2 - acxtail);
|
|
@@ -139758,7 +140146,7 @@ function orient2dadapt$1(ax, ay, bx, by, cx, cy, detsum) {
|
|
|
139758
140146
|
bvirt = u3 - _j;
|
|
139759
140147
|
u$1[2] = _j - (u3 - bvirt) + (_i - bvirt);
|
|
139760
140148
|
u$1[3] = u3;
|
|
139761
|
-
const Dlen = sum$
|
|
140149
|
+
const Dlen = sum$3(C2len, C2$1, 4, u$1, D$3);
|
|
139762
140150
|
return D$3[Dlen - 1];
|
|
139763
140151
|
}
|
|
139764
140152
|
function orient2d$1(ax, ay, bx, by, cx, cy) {
|
|
@@ -153175,7 +153563,7 @@ function centroid(object2) {
|
|
|
153175
153563
|
}
|
|
153176
153564
|
return [atan2$2(y2, x2) * degrees$3, asin$3(z2 / sqrt$4(m2)) * degrees$3];
|
|
153177
153565
|
}
|
|
153178
|
-
function constant$
|
|
153566
|
+
function constant$6(x2) {
|
|
153179
153567
|
return function() {
|
|
153180
153568
|
return x2;
|
|
153181
153569
|
};
|
|
@@ -153259,7 +153647,7 @@ function circleRadius$1(cosRadius, point2) {
|
|
|
153259
153647
|
return ((-point2[2] < 0 ? -radius2 : radius2) + tau$4 - epsilon$8) % tau$4;
|
|
153260
153648
|
}
|
|
153261
153649
|
function circle$4() {
|
|
153262
|
-
var center2 = constant$
|
|
153650
|
+
var center2 = constant$6([0, 0]), radius2 = constant$6(90), precision2 = constant$6(6), ring, rotate2, stream2 = { point: point2 };
|
|
153263
153651
|
function point2(x2, y2) {
|
|
153264
153652
|
ring.push(x2 = rotate2(x2, y2));
|
|
153265
153653
|
x2[0] *= degrees$3, x2[1] *= degrees$3;
|
|
@@ -153274,13 +153662,13 @@ function circle$4() {
|
|
|
153274
153662
|
return c2;
|
|
153275
153663
|
}
|
|
153276
153664
|
circle2.center = function(_) {
|
|
153277
|
-
return arguments.length ? (center2 = typeof _ === "function" ? _ : constant$
|
|
153665
|
+
return arguments.length ? (center2 = typeof _ === "function" ? _ : constant$6([+_[0], +_[1]]), circle2) : center2;
|
|
153278
153666
|
};
|
|
153279
153667
|
circle2.radius = function(_) {
|
|
153280
|
-
return arguments.length ? (radius2 = typeof _ === "function" ? _ : constant$
|
|
153668
|
+
return arguments.length ? (radius2 = typeof _ === "function" ? _ : constant$6(+_), circle2) : radius2;
|
|
153281
153669
|
};
|
|
153282
153670
|
circle2.precision = function(_) {
|
|
153283
|
-
return arguments.length ? (precision2 = typeof _ === "function" ? _ : constant$
|
|
153671
|
+
return arguments.length ? (precision2 = typeof _ === "function" ? _ : constant$6(+_), circle2) : precision2;
|
|
153284
153672
|
};
|
|
153285
153673
|
return circle2;
|
|
153286
153674
|
}
|
|
@@ -153427,11 +153815,11 @@ function link$1(array2) {
|
|
|
153427
153815
|
a2.n = b2 = array2[0];
|
|
153428
153816
|
b2.p = a2;
|
|
153429
153817
|
}
|
|
153430
|
-
function ascending$
|
|
153818
|
+
function ascending$5(a2, b2) {
|
|
153431
153819
|
return a2 < b2 ? -1 : a2 > b2 ? 1 : a2 >= b2 ? 0 : NaN;
|
|
153432
153820
|
}
|
|
153433
|
-
function bisector$
|
|
153434
|
-
if (compare2.length === 1) compare2 = ascendingComparator
|
|
153821
|
+
function bisector$2(compare2) {
|
|
153822
|
+
if (compare2.length === 1) compare2 = ascendingComparator(compare2);
|
|
153435
153823
|
return {
|
|
153436
153824
|
left: function(a2, x2, lo, hi) {
|
|
153437
153825
|
if (lo == null) lo = 0;
|
|
@@ -153455,12 +153843,12 @@ function bisector$3(compare2) {
|
|
|
153455
153843
|
}
|
|
153456
153844
|
};
|
|
153457
153845
|
}
|
|
153458
|
-
function ascendingComparator
|
|
153846
|
+
function ascendingComparator(f2) {
|
|
153459
153847
|
return function(d, x2) {
|
|
153460
|
-
return ascending$
|
|
153848
|
+
return ascending$5(f2(d), x2);
|
|
153461
153849
|
};
|
|
153462
153850
|
}
|
|
153463
|
-
bisector$
|
|
153851
|
+
bisector$2(ascending$5);
|
|
153464
153852
|
function range$7(start2, stop3, step) {
|
|
153465
153853
|
start2 = +start2, stop3 = +stop3, step = (n2 = arguments.length) < 2 ? (stop3 = start2, start2 = 0, 1) : n2 < 3 ? 1 : +step;
|
|
153466
153854
|
var i2 = -1, n2 = Math.max(0, Math.ceil((stop3 - start2) / step)) | 0, range2 = new Array(n2);
|
|
@@ -153602,7 +153990,7 @@ function clipExtent(x02, y02, x12, y12) {
|
|
|
153602
153990
|
return clipStream;
|
|
153603
153991
|
};
|
|
153604
153992
|
}
|
|
153605
|
-
function extent$
|
|
153993
|
+
function extent$1() {
|
|
153606
153994
|
var x02 = 0, y02 = 0, x12 = 960, y12 = 500, cache2, cacheStream, clip2;
|
|
153607
153995
|
return clip2 = {
|
|
153608
153996
|
stream: function(stream2) {
|
|
@@ -153613,16 +154001,16 @@ function extent$2() {
|
|
|
153613
154001
|
}
|
|
153614
154002
|
};
|
|
153615
154003
|
}
|
|
153616
|
-
var sum$
|
|
154004
|
+
var sum$2 = adder();
|
|
153617
154005
|
function polygonContains$1(polygon2, point2) {
|
|
153618
154006
|
var lambda = point2[0], phi2 = point2[1], normal = [sin$3(lambda), -cos$3(lambda), 0], angle2 = 0, winding = 0;
|
|
153619
|
-
sum$
|
|
154007
|
+
sum$2.reset();
|
|
153620
154008
|
for (var i2 = 0, n2 = polygon2.length; i2 < n2; ++i2) {
|
|
153621
154009
|
if (!(m2 = (ring = polygon2[i2]).length)) continue;
|
|
153622
154010
|
var ring, m2, point0 = ring[m2 - 1], lambda02 = point0[0], phi02 = point0[1] / 2 + quarterPi$1, sinPhi02 = sin$3(phi02), cosPhi02 = cos$3(phi02);
|
|
153623
154011
|
for (var j = 0; j < m2; ++j, lambda02 = lambda12, sinPhi02 = sinPhi1, cosPhi02 = cosPhi1, point0 = point1) {
|
|
153624
154012
|
var point1 = ring[j], lambda12 = point1[0], phi12 = point1[1] / 2 + quarterPi$1, sinPhi1 = sin$3(phi12), cosPhi1 = cos$3(phi12), delta = lambda12 - lambda02, sign2 = delta >= 0 ? 1 : -1, absDelta = sign2 * delta, antimeridian = absDelta > pi$4, k = sinPhi02 * sinPhi1;
|
|
153625
|
-
sum$
|
|
154013
|
+
sum$2.add(atan2$2(k * sign2 * sin$3(absDelta), cosPhi02 * cosPhi1 + k * cos$3(absDelta)));
|
|
153626
154014
|
angle2 += antimeridian ? delta + sign2 * tau$4 : delta;
|
|
153627
154015
|
if (antimeridian ^ lambda02 >= lambda ^ lambda12 >= lambda) {
|
|
153628
154016
|
var arc2 = cartesianCross$1(cartesian$1(point0), cartesian$1(point1));
|
|
@@ -153636,7 +154024,7 @@ function polygonContains$1(polygon2, point2) {
|
|
|
153636
154024
|
}
|
|
153637
154025
|
}
|
|
153638
154026
|
}
|
|
153639
|
-
return (angle2 < -1e-6 || angle2 < epsilon$8 && sum$
|
|
154027
|
+
return (angle2 < -1e-6 || angle2 < epsilon$8 && sum$2 < -1e-6) ^ winding & 1;
|
|
153640
154028
|
}
|
|
153641
154029
|
var lengthSum$2 = adder(), lambda0$2, sinPhi0$1, cosPhi0$1;
|
|
153642
154030
|
var lengthStream$2 = {
|
|
@@ -153849,7 +154237,7 @@ function interpolate$4(a2, b2) {
|
|
|
153849
154237
|
interpolate2.distance = d;
|
|
153850
154238
|
return interpolate2;
|
|
153851
154239
|
}
|
|
153852
|
-
function identity$
|
|
154240
|
+
function identity$9(x2) {
|
|
153853
154241
|
return x2;
|
|
153854
154242
|
}
|
|
153855
154243
|
var areaSum$2 = adder(), areaRingSum$2 = adder(), x00$5, y00$5, x0$8, y0$8;
|
|
@@ -154120,7 +154508,7 @@ function index$2(projection2, context2) {
|
|
|
154120
154508
|
return centroidStream$2.result();
|
|
154121
154509
|
};
|
|
154122
154510
|
path2.projection = function(_) {
|
|
154123
|
-
return arguments.length ? (projectionStream = _ == null ? (projection2 = null, identity$
|
|
154511
|
+
return arguments.length ? (projectionStream = _ == null ? (projection2 = null, identity$9) : (projection2 = _).stream, path2) : projection2;
|
|
154124
154512
|
};
|
|
154125
154513
|
path2.context = function(_) {
|
|
154126
154514
|
if (!arguments.length) return context2;
|
|
@@ -154540,7 +154928,7 @@ function projection$2(project2) {
|
|
|
154540
154928
|
})();
|
|
154541
154929
|
}
|
|
154542
154930
|
function projectionMutator$1(projectAt) {
|
|
154543
|
-
var project2, k = 150, x2 = 480, y2 = 250, dx, dy, lambda = 0, phi2 = 0, deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate2, projectRotate, theta = null, preclip = clipAntimeridian$1, x02 = null, y02, x12, y12, postclip = identity$
|
|
154931
|
+
var project2, k = 150, x2 = 480, y2 = 250, dx, dy, lambda = 0, phi2 = 0, deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate2, projectRotate, theta = null, preclip = clipAntimeridian$1, x02 = null, y02, x12, y12, postclip = identity$9, delta2 = 0.5, projectResample = resample$2(projectTransform, delta2), cache2, cacheStream;
|
|
154544
154932
|
function projection2(point2) {
|
|
154545
154933
|
point2 = projectRotate(point2[0] * radians$2, point2[1] * radians$2);
|
|
154546
154934
|
return [point2[0] * k + dx, dy - point2[1] * k];
|
|
@@ -154559,7 +154947,7 @@ function projectionMutator$1(projectAt) {
|
|
|
154559
154947
|
return arguments.length ? (preclip = +_ ? clipCircle$1(theta = _ * radians$2, 6 * radians$2) : (theta = null, clipAntimeridian$1), reset3()) : theta * degrees$3;
|
|
154560
154948
|
};
|
|
154561
154949
|
projection2.clipExtent = function(_) {
|
|
154562
|
-
return arguments.length ? (postclip = _ == null ? (x02 = y02 = x12 = y12 = null, identity$
|
|
154950
|
+
return arguments.length ? (postclip = _ == null ? (x02 = y02 = x12 = y12 = null, identity$9) : clipExtent(x02 = +_[0][0], y02 = +_[0][1], x12 = +_[1][0], y12 = +_[1][1]), reset3()) : x02 == null ? null : [[x02, y02], [x12, y12]];
|
|
154563
154951
|
};
|
|
154564
154952
|
projection2.scale = function(_) {
|
|
154565
154953
|
return arguments.length ? (k = +_, recenter()) : k;
|
|
@@ -154831,14 +155219,14 @@ function gnomonic() {
|
|
|
154831
155219
|
return projection$2(gnomonicRaw$1).scale(144.049).clipAngle(60);
|
|
154832
155220
|
}
|
|
154833
155221
|
function scaleTranslate$1(kx, ky, tx2, ty) {
|
|
154834
|
-
return kx === 1 && ky === 1 && tx2 === 0 && ty === 0 ? identity$
|
|
155222
|
+
return kx === 1 && ky === 1 && tx2 === 0 && ty === 0 ? identity$9 : transformer$4({
|
|
154835
155223
|
point: function(x2, y2) {
|
|
154836
155224
|
this.stream.point(x2 * kx + tx2, y2 * ky + ty);
|
|
154837
155225
|
}
|
|
154838
155226
|
});
|
|
154839
155227
|
}
|
|
154840
|
-
function identity$
|
|
154841
|
-
var k = 1, tx2 = 0, ty = 0, sx = 1, sy = 1, transform2 = identity$
|
|
155228
|
+
function identity$8() {
|
|
155229
|
+
var k = 1, tx2 = 0, ty = 0, sx = 1, sy = 1, transform2 = identity$9, x02 = null, y02, x12, y12, clip2 = identity$9, cache2, cacheStream, projection2;
|
|
154842
155230
|
function reset3() {
|
|
154843
155231
|
cache2 = cacheStream = null;
|
|
154844
155232
|
return projection2;
|
|
@@ -154848,7 +155236,7 @@ function identity$9() {
|
|
|
154848
155236
|
return cache2 && cacheStream === stream2 ? cache2 : cache2 = transform2(clip2(cacheStream = stream2));
|
|
154849
155237
|
},
|
|
154850
155238
|
clipExtent: function(_) {
|
|
154851
|
-
return arguments.length ? (clip2 = _ == null ? (x02 = y02 = x12 = y12 = null, identity$
|
|
155239
|
+
return arguments.length ? (clip2 = _ == null ? (x02 = y02 = x12 = y12 = null, identity$9) : clipExtent(x02 = +_[0][0], y02 = +_[0][1], x12 = +_[1][0], y12 = +_[1][1]), reset3()) : x02 == null ? null : [[x02, y02], [x12, y12]];
|
|
154852
155240
|
},
|
|
154853
155241
|
scale: function(_) {
|
|
154854
155242
|
return arguments.length ? (transform2 = scaleTranslate$1((k = +_) * sx, k * sy, tx2, ty), reset3()) : k;
|
|
@@ -154936,7 +155324,7 @@ const d3Geo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
154936
155324
|
geoBounds: bounds$1,
|
|
154937
155325
|
geoCentroid: centroid,
|
|
154938
155326
|
geoCircle: circle$4,
|
|
154939
|
-
geoClipExtent: extent$
|
|
155327
|
+
geoClipExtent: extent$1,
|
|
154940
155328
|
geoConicConformal: conicConformal,
|
|
154941
155329
|
geoConicConformalRaw: conicConformalRaw$1,
|
|
154942
155330
|
geoConicEqualArea: conicEqualArea,
|
|
@@ -154951,7 +155339,7 @@ const d3Geo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
154951
155339
|
geoGnomonicRaw: gnomonicRaw$1,
|
|
154952
155340
|
geoGraticule: graticule$1,
|
|
154953
155341
|
geoGraticule10: graticule10,
|
|
154954
|
-
geoIdentity: identity$
|
|
155342
|
+
geoIdentity: identity$8,
|
|
154955
155343
|
geoInterpolate: interpolate$4,
|
|
154956
155344
|
geoLength: length$2,
|
|
154957
155345
|
geoMercator: mercator,
|
|
@@ -178762,22 +179150,22 @@ function addDecoder(cases2, importFn) {
|
|
|
178762
179150
|
}
|
|
178763
179151
|
cases2.forEach((c2) => registry$1.set(c2, importFn));
|
|
178764
179152
|
}
|
|
178765
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
178766
|
-
addDecoder(5, () => import("./lzw-
|
|
179153
|
+
addDecoder([void 0, 1], () => import("./raw-B56udEa5.js").then((m2) => m2.default));
|
|
179154
|
+
addDecoder(5, () => import("./lzw-ahoob13H.js").then((m2) => m2.default));
|
|
178767
179155
|
addDecoder(6, () => {
|
|
178768
179156
|
throw new Error("old style JPEG compression is not supported.");
|
|
178769
179157
|
});
|
|
178770
|
-
addDecoder(7, () => import("./jpeg-
|
|
178771
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
178772
|
-
addDecoder(32773, () => import("./packbits-
|
|
179158
|
+
addDecoder(7, () => import("./jpeg-CnRvmB8H.js").then((m2) => m2.default));
|
|
179159
|
+
addDecoder([8, 32946], () => import("./deflate-BuiHI4Et.js").then((m2) => m2.default));
|
|
179160
|
+
addDecoder(32773, () => import("./packbits-Ckd3nQz8.js").then((m2) => m2.default));
|
|
178773
179161
|
addDecoder(
|
|
178774
179162
|
34887,
|
|
178775
|
-
() => import("./lerc-
|
|
179163
|
+
() => import("./lerc-DdM66WTL.js").then(async (m2) => {
|
|
178776
179164
|
await m2.zstd.init();
|
|
178777
179165
|
return m2;
|
|
178778
179166
|
}).then((m2) => m2.default)
|
|
178779
179167
|
);
|
|
178780
|
-
addDecoder(50001, () => import("./webimage-
|
|
179168
|
+
addDecoder(50001, () => import("./webimage-CKIhq6Gi.js").then((m2) => m2.default));
|
|
178781
179169
|
function decodeRowAcc(row, stride) {
|
|
178782
179170
|
let length2 = row.length - stride;
|
|
178783
179171
|
let offset2 = 0;
|
|
@@ -188746,341 +189134,8 @@ void main() {
|
|
|
188746
189134
|
DECKGL_FILTER_COLOR(gl_FragColor, geometry);
|
|
188747
189135
|
}
|
|
188748
189136
|
`;
|
|
188749
|
-
function ascending$5(a2, b2) {
|
|
188750
|
-
return a2 < b2 ? -1 : a2 > b2 ? 1 : a2 >= b2 ? 0 : NaN;
|
|
188751
|
-
}
|
|
188752
|
-
function bisector$2(f2) {
|
|
188753
|
-
let delta = f2;
|
|
188754
|
-
let compare2 = f2;
|
|
188755
|
-
if (f2.length === 1) {
|
|
188756
|
-
delta = (d, x2) => f2(d) - x2;
|
|
188757
|
-
compare2 = ascendingComparator(f2);
|
|
188758
|
-
}
|
|
188759
|
-
function left2(a2, x2, lo, hi) {
|
|
188760
|
-
if (lo == null) lo = 0;
|
|
188761
|
-
if (hi == null) hi = a2.length;
|
|
188762
|
-
while (lo < hi) {
|
|
188763
|
-
const mid = lo + hi >>> 1;
|
|
188764
|
-
if (compare2(a2[mid], x2) < 0) lo = mid + 1;
|
|
188765
|
-
else hi = mid;
|
|
188766
|
-
}
|
|
188767
|
-
return lo;
|
|
188768
|
-
}
|
|
188769
|
-
function right2(a2, x2, lo, hi) {
|
|
188770
|
-
if (lo == null) lo = 0;
|
|
188771
|
-
if (hi == null) hi = a2.length;
|
|
188772
|
-
while (lo < hi) {
|
|
188773
|
-
const mid = lo + hi >>> 1;
|
|
188774
|
-
if (compare2(a2[mid], x2) > 0) hi = mid;
|
|
188775
|
-
else lo = mid + 1;
|
|
188776
|
-
}
|
|
188777
|
-
return lo;
|
|
188778
|
-
}
|
|
188779
|
-
function center2(a2, x2, lo, hi) {
|
|
188780
|
-
if (lo == null) lo = 0;
|
|
188781
|
-
if (hi == null) hi = a2.length;
|
|
188782
|
-
const i2 = left2(a2, x2, lo, hi - 1);
|
|
188783
|
-
return i2 > lo && delta(a2[i2 - 1], x2) > -delta(a2[i2], x2) ? i2 - 1 : i2;
|
|
188784
|
-
}
|
|
188785
|
-
return { left: left2, center: center2, right: right2 };
|
|
188786
|
-
}
|
|
188787
|
-
function ascendingComparator(f2) {
|
|
188788
|
-
return (d, x2) => ascending$5(f2(d), x2);
|
|
188789
|
-
}
|
|
188790
|
-
function number$8(x2) {
|
|
188791
|
-
return x2 === null ? NaN : +x2;
|
|
188792
|
-
}
|
|
188793
|
-
const ascendingBisect$1 = bisector$2(ascending$5);
|
|
188794
|
-
const bisectRight$2 = ascendingBisect$1.right;
|
|
188795
|
-
bisector$2(number$8).center;
|
|
188796
|
-
function count$1(values2, valueof) {
|
|
188797
|
-
let count2 = 0;
|
|
188798
|
-
{
|
|
188799
|
-
for (let value2 of values2) {
|
|
188800
|
-
if (value2 != null && (value2 = +value2) >= value2) {
|
|
188801
|
-
++count2;
|
|
188802
|
-
}
|
|
188803
|
-
}
|
|
188804
|
-
}
|
|
188805
|
-
return count2;
|
|
188806
|
-
}
|
|
188807
|
-
function variance$1(values2, valueof) {
|
|
188808
|
-
let count2 = 0;
|
|
188809
|
-
let delta;
|
|
188810
|
-
let mean2 = 0;
|
|
188811
|
-
let sum2 = 0;
|
|
188812
|
-
{
|
|
188813
|
-
for (let value2 of values2) {
|
|
188814
|
-
if (value2 != null && (value2 = +value2) >= value2) {
|
|
188815
|
-
delta = value2 - mean2;
|
|
188816
|
-
mean2 += delta / ++count2;
|
|
188817
|
-
sum2 += delta * (value2 - mean2);
|
|
188818
|
-
}
|
|
188819
|
-
}
|
|
188820
|
-
}
|
|
188821
|
-
if (count2 > 1) return sum2 / (count2 - 1);
|
|
188822
|
-
}
|
|
188823
|
-
function deviation$1(values2, valueof) {
|
|
188824
|
-
const v = variance$1(values2);
|
|
188825
|
-
return v ? Math.sqrt(v) : v;
|
|
188826
|
-
}
|
|
188827
|
-
function extent$1(values2, valueof) {
|
|
188828
|
-
let min2;
|
|
188829
|
-
let max2;
|
|
188830
|
-
if (valueof === void 0) {
|
|
188831
|
-
for (const value2 of values2) {
|
|
188832
|
-
if (value2 != null) {
|
|
188833
|
-
if (min2 === void 0) {
|
|
188834
|
-
if (value2 >= value2) min2 = max2 = value2;
|
|
188835
|
-
} else {
|
|
188836
|
-
if (min2 > value2) min2 = value2;
|
|
188837
|
-
if (max2 < value2) max2 = value2;
|
|
188838
|
-
}
|
|
188839
|
-
}
|
|
188840
|
-
}
|
|
188841
|
-
} else {
|
|
188842
|
-
let index2 = -1;
|
|
188843
|
-
for (let value2 of values2) {
|
|
188844
|
-
if ((value2 = valueof(value2, ++index2, values2)) != null) {
|
|
188845
|
-
if (min2 === void 0) {
|
|
188846
|
-
if (value2 >= value2) min2 = max2 = value2;
|
|
188847
|
-
} else {
|
|
188848
|
-
if (min2 > value2) min2 = value2;
|
|
188849
|
-
if (max2 < value2) max2 = value2;
|
|
188850
|
-
}
|
|
188851
|
-
}
|
|
188852
|
-
}
|
|
188853
|
-
}
|
|
188854
|
-
return [min2, max2];
|
|
188855
|
-
}
|
|
188856
|
-
class InternMap2 extends Map {
|
|
188857
|
-
constructor(entries2, key2 = keyof) {
|
|
188858
|
-
super();
|
|
188859
|
-
Object.defineProperties(this, { _intern: { value: /* @__PURE__ */ new Map() }, _key: { value: key2 } });
|
|
188860
|
-
if (entries2 != null) for (const [key22, value2] of entries2) this.set(key22, value2);
|
|
188861
|
-
}
|
|
188862
|
-
get(key2) {
|
|
188863
|
-
return super.get(intern_get(this, key2));
|
|
188864
|
-
}
|
|
188865
|
-
has(key2) {
|
|
188866
|
-
return super.has(intern_get(this, key2));
|
|
188867
|
-
}
|
|
188868
|
-
set(key2, value2) {
|
|
188869
|
-
return super.set(intern_set(this, key2), value2);
|
|
188870
|
-
}
|
|
188871
|
-
delete(key2) {
|
|
188872
|
-
return super.delete(intern_delete(this, key2));
|
|
188873
|
-
}
|
|
188874
|
-
}
|
|
188875
|
-
function intern_get({ _intern, _key }, value2) {
|
|
188876
|
-
const key2 = _key(value2);
|
|
188877
|
-
return _intern.has(key2) ? _intern.get(key2) : value2;
|
|
188878
|
-
}
|
|
188879
|
-
function intern_set({ _intern, _key }, value2) {
|
|
188880
|
-
const key2 = _key(value2);
|
|
188881
|
-
if (_intern.has(key2)) return _intern.get(key2);
|
|
188882
|
-
_intern.set(key2, value2);
|
|
188883
|
-
return value2;
|
|
188884
|
-
}
|
|
188885
|
-
function intern_delete({ _intern, _key }, value2) {
|
|
188886
|
-
const key2 = _key(value2);
|
|
188887
|
-
if (_intern.has(key2)) {
|
|
188888
|
-
value2 = _intern.get(value2);
|
|
188889
|
-
_intern.delete(key2);
|
|
188890
|
-
}
|
|
188891
|
-
return value2;
|
|
188892
|
-
}
|
|
188893
|
-
function keyof(value2) {
|
|
188894
|
-
return value2 !== null && typeof value2 === "object" ? value2.valueOf() : value2;
|
|
188895
|
-
}
|
|
188896
|
-
function identity$8(x2) {
|
|
188897
|
-
return x2;
|
|
188898
|
-
}
|
|
188899
|
-
function rollup(values2, reduce2, ...keys2) {
|
|
188900
|
-
return nest$1(values2, identity$8, reduce2, keys2);
|
|
188901
|
-
}
|
|
188902
|
-
function nest$1(values2, map2, reduce2, keys2) {
|
|
188903
|
-
return function regroup(values22, i2) {
|
|
188904
|
-
if (i2 >= keys2.length) return reduce2(values22);
|
|
188905
|
-
const groups2 = new InternMap2();
|
|
188906
|
-
const keyof2 = keys2[i2++];
|
|
188907
|
-
let index2 = -1;
|
|
188908
|
-
for (const value2 of values22) {
|
|
188909
|
-
const key2 = keyof2(value2, ++index2, values22);
|
|
188910
|
-
const group2 = groups2.get(key2);
|
|
188911
|
-
if (group2) group2.push(value2);
|
|
188912
|
-
else groups2.set(key2, [value2]);
|
|
188913
|
-
}
|
|
188914
|
-
for (const [key2, values3] of groups2) {
|
|
188915
|
-
groups2.set(key2, regroup(values3, i2));
|
|
188916
|
-
}
|
|
188917
|
-
return map2(groups2);
|
|
188918
|
-
}(values2, 0);
|
|
188919
|
-
}
|
|
188920
|
-
var array$8 = Array.prototype;
|
|
188921
|
-
var slice$4 = array$8.slice;
|
|
188922
|
-
function constant$6(x2) {
|
|
188923
|
-
return function() {
|
|
188924
|
-
return x2;
|
|
188925
|
-
};
|
|
188926
|
-
}
|
|
188927
|
-
var e10$1 = Math.sqrt(50), e5$1 = Math.sqrt(10), e2$1 = Math.sqrt(2);
|
|
188928
|
-
function ticks$1(start2, stop3, count2) {
|
|
188929
|
-
var reverse2, i2 = -1, n2, ticks2, step;
|
|
188930
|
-
stop3 = +stop3, start2 = +start2, count2 = +count2;
|
|
188931
|
-
if (start2 === stop3 && count2 > 0) return [start2];
|
|
188932
|
-
if (reverse2 = stop3 < start2) n2 = start2, start2 = stop3, stop3 = n2;
|
|
188933
|
-
if ((step = tickIncrement$1(start2, stop3, count2)) === 0 || !isFinite(step)) return [];
|
|
188934
|
-
if (step > 0) {
|
|
188935
|
-
let r0 = Math.round(start2 / step), r1 = Math.round(stop3 / step);
|
|
188936
|
-
if (r0 * step < start2) ++r0;
|
|
188937
|
-
if (r1 * step > stop3) --r1;
|
|
188938
|
-
ticks2 = new Array(n2 = r1 - r0 + 1);
|
|
188939
|
-
while (++i2 < n2) ticks2[i2] = (r0 + i2) * step;
|
|
188940
|
-
} else {
|
|
188941
|
-
step = -step;
|
|
188942
|
-
let r0 = Math.round(start2 * step), r1 = Math.round(stop3 * step);
|
|
188943
|
-
if (r0 / step < start2) ++r0;
|
|
188944
|
-
if (r1 / step > stop3) --r1;
|
|
188945
|
-
ticks2 = new Array(n2 = r1 - r0 + 1);
|
|
188946
|
-
while (++i2 < n2) ticks2[i2] = (r0 + i2) / step;
|
|
188947
|
-
}
|
|
188948
|
-
if (reverse2) ticks2.reverse();
|
|
188949
|
-
return ticks2;
|
|
188950
|
-
}
|
|
188951
|
-
function tickIncrement$1(start2, stop3, count2) {
|
|
188952
|
-
var step = (stop3 - start2) / Math.max(0, count2), power = Math.floor(Math.log(step) / Math.LN10), error2 = step / Math.pow(10, power);
|
|
188953
|
-
return power >= 0 ? (error2 >= e10$1 ? 10 : error2 >= e5$1 ? 5 : error2 >= e2$1 ? 2 : 1) * Math.pow(10, power) : -Math.pow(10, -power) / (error2 >= e10$1 ? 10 : error2 >= e5$1 ? 5 : error2 >= e2$1 ? 2 : 1);
|
|
188954
|
-
}
|
|
188955
|
-
function nice$2(start2, stop3, count2) {
|
|
188956
|
-
let prestep;
|
|
188957
|
-
while (true) {
|
|
188958
|
-
const step = tickIncrement$1(start2, stop3, count2);
|
|
188959
|
-
if (step === prestep || step === 0 || !isFinite(step)) {
|
|
188960
|
-
return [start2, stop3];
|
|
188961
|
-
} else if (step > 0) {
|
|
188962
|
-
start2 = Math.floor(start2 / step) * step;
|
|
188963
|
-
stop3 = Math.ceil(stop3 / step) * step;
|
|
188964
|
-
} else if (step < 0) {
|
|
188965
|
-
start2 = Math.ceil(start2 * step) / step;
|
|
188966
|
-
stop3 = Math.floor(stop3 * step) / step;
|
|
188967
|
-
}
|
|
188968
|
-
prestep = step;
|
|
188969
|
-
}
|
|
188970
|
-
}
|
|
188971
|
-
function sturges(values2) {
|
|
188972
|
-
return Math.ceil(Math.log(count$1(values2)) / Math.LN2) + 1;
|
|
188973
|
-
}
|
|
188974
|
-
function bin$2() {
|
|
188975
|
-
var value2 = identity$8, domain2 = extent$1, threshold2 = sturges;
|
|
188976
|
-
function histogram(data2) {
|
|
188977
|
-
if (!Array.isArray(data2)) data2 = Array.from(data2);
|
|
188978
|
-
var i2, n2 = data2.length, x2, values2 = new Array(n2);
|
|
188979
|
-
for (i2 = 0; i2 < n2; ++i2) {
|
|
188980
|
-
values2[i2] = value2(data2[i2], i2, data2);
|
|
188981
|
-
}
|
|
188982
|
-
var xz = domain2(values2), x02 = xz[0], x12 = xz[1], tz = threshold2(values2, x02, x12);
|
|
188983
|
-
if (!Array.isArray(tz)) {
|
|
188984
|
-
const max2 = x12, tn = +tz;
|
|
188985
|
-
if (domain2 === extent$1) [x02, x12] = nice$2(x02, x12, tn);
|
|
188986
|
-
tz = ticks$1(x02, x12, tn);
|
|
188987
|
-
if (tz[tz.length - 1] >= x12) {
|
|
188988
|
-
if (max2 >= x12 && domain2 === extent$1) {
|
|
188989
|
-
const step = tickIncrement$1(x02, x12, tn);
|
|
188990
|
-
if (isFinite(step)) {
|
|
188991
|
-
if (step > 0) {
|
|
188992
|
-
x12 = (Math.floor(x12 / step) + 1) * step;
|
|
188993
|
-
} else if (step < 0) {
|
|
188994
|
-
x12 = (Math.ceil(x12 * -step) + 1) / -step;
|
|
188995
|
-
}
|
|
188996
|
-
}
|
|
188997
|
-
} else {
|
|
188998
|
-
tz.pop();
|
|
188999
|
-
}
|
|
189000
|
-
}
|
|
189001
|
-
}
|
|
189002
|
-
var m2 = tz.length;
|
|
189003
|
-
while (tz[0] <= x02) tz.shift(), --m2;
|
|
189004
|
-
while (tz[m2 - 1] > x12) tz.pop(), --m2;
|
|
189005
|
-
var bins2 = new Array(m2 + 1), bin2;
|
|
189006
|
-
for (i2 = 0; i2 <= m2; ++i2) {
|
|
189007
|
-
bin2 = bins2[i2] = [];
|
|
189008
|
-
bin2.x0 = i2 > 0 ? tz[i2 - 1] : x02;
|
|
189009
|
-
bin2.x1 = i2 < m2 ? tz[i2] : x12;
|
|
189010
|
-
}
|
|
189011
|
-
for (i2 = 0; i2 < n2; ++i2) {
|
|
189012
|
-
x2 = values2[i2];
|
|
189013
|
-
if (x02 <= x2 && x2 <= x12) {
|
|
189014
|
-
bins2[bisectRight$2(tz, x2, 0, m2)].push(data2[i2]);
|
|
189015
|
-
}
|
|
189016
|
-
}
|
|
189017
|
-
return bins2;
|
|
189018
|
-
}
|
|
189019
|
-
histogram.value = function(_) {
|
|
189020
|
-
return arguments.length ? (value2 = typeof _ === "function" ? _ : constant$6(_), histogram) : value2;
|
|
189021
|
-
};
|
|
189022
|
-
histogram.domain = function(_) {
|
|
189023
|
-
return arguments.length ? (domain2 = typeof _ === "function" ? _ : constant$6([_[0], _[1]]), histogram) : domain2;
|
|
189024
|
-
};
|
|
189025
|
-
histogram.thresholds = function(_) {
|
|
189026
|
-
return arguments.length ? (threshold2 = typeof _ === "function" ? _ : Array.isArray(_) ? constant$6(slice$4.call(_)) : constant$6(_), histogram) : threshold2;
|
|
189027
|
-
};
|
|
189028
|
-
return histogram;
|
|
189029
|
-
}
|
|
189030
|
-
function max$3(values2, valueof) {
|
|
189031
|
-
let max2;
|
|
189032
|
-
{
|
|
189033
|
-
for (const value2 of values2) {
|
|
189034
|
-
if (value2 != null && (max2 < value2 || max2 === void 0 && value2 >= value2)) {
|
|
189035
|
-
max2 = value2;
|
|
189036
|
-
}
|
|
189037
|
-
}
|
|
189038
|
-
}
|
|
189039
|
-
return max2;
|
|
189040
|
-
}
|
|
189041
|
-
function min$3(values2, valueof) {
|
|
189042
|
-
let min2;
|
|
189043
|
-
{
|
|
189044
|
-
for (const value2 of values2) {
|
|
189045
|
-
if (value2 != null && (min2 > value2 || min2 === void 0 && value2 >= value2)) {
|
|
189046
|
-
min2 = value2;
|
|
189047
|
-
}
|
|
189048
|
-
}
|
|
189049
|
-
}
|
|
189050
|
-
return min2;
|
|
189051
|
-
}
|
|
189052
|
-
function quantileSorted$1(values2, p, valueof = number$8) {
|
|
189053
|
-
if (!(n2 = values2.length)) return;
|
|
189054
|
-
if ((p = +p) <= 0 || n2 < 2) return +valueof(values2[0], 0, values2);
|
|
189055
|
-
if (p >= 1) return +valueof(values2[n2 - 1], n2 - 1, values2);
|
|
189056
|
-
var n2, i2 = (n2 - 1) * p, i0 = Math.floor(i2), value0 = +valueof(values2[i0], i0, values2), value1 = +valueof(values2[i0 + 1], i0 + 1, values2);
|
|
189057
|
-
return value0 + (value1 - value0) * (i2 - i0);
|
|
189058
|
-
}
|
|
189059
|
-
function mean$1(values2, valueof) {
|
|
189060
|
-
let count2 = 0;
|
|
189061
|
-
let sum2 = 0;
|
|
189062
|
-
{
|
|
189063
|
-
for (let value2 of values2) {
|
|
189064
|
-
if (value2 != null && (value2 = +value2) >= value2) {
|
|
189065
|
-
++count2, sum2 += value2;
|
|
189066
|
-
}
|
|
189067
|
-
}
|
|
189068
|
-
}
|
|
189069
|
-
if (count2) return sum2 / count2;
|
|
189070
|
-
}
|
|
189071
|
-
function sum$2(values2, valueof) {
|
|
189072
|
-
let sum2 = 0;
|
|
189073
|
-
{
|
|
189074
|
-
for (let value2 of values2) {
|
|
189075
|
-
if (value2 = +value2) {
|
|
189076
|
-
sum2 += value2;
|
|
189077
|
-
}
|
|
189078
|
-
}
|
|
189079
|
-
}
|
|
189080
|
-
return sum2;
|
|
189081
|
-
}
|
|
189082
189137
|
function normalize$3(arr) {
|
|
189083
|
-
const [min2, max2] = extent$
|
|
189138
|
+
const [min2, max2] = extent$2(arr);
|
|
189084
189139
|
const ratio = 255 / (max2 - min2);
|
|
189085
189140
|
const data2 = new Uint8Array(arr.map((i2) => Math.floor((i2 - min2) * ratio)));
|
|
189086
189141
|
return data2;
|
|
@@ -189092,9 +189147,9 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
189092
189147
|
var _a3, _b2, _c2, _d2;
|
|
189093
189148
|
if (isSetColorMode) {
|
|
189094
189149
|
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length) ?? 0) * 3;
|
|
189095
|
-
totalValuesLength += ((_c2 = setColorValues[channelIndex]) == null ? void 0 : _c2.obsIndex) ? max$
|
|
189150
|
+
totalValuesLength += ((_c2 = setColorValues[channelIndex]) == null ? void 0 : _c2.obsIndex) ? max$4(setColorValues[channelIndex].obsIndex.map((d) => parseInt(d))) : 0;
|
|
189096
189151
|
} else {
|
|
189097
|
-
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max$
|
|
189152
|
+
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max$4(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d2 = multiFeatureValues[channelIndex]) == null ? void 0 : _d2.length) ?? 0;
|
|
189098
189153
|
}
|
|
189099
189154
|
});
|
|
189100
189155
|
const valueTexHeight = Math.max(2, Math.ceil(totalValuesLength / texSize));
|
|
@@ -193065,7 +193120,7 @@ function initInterpolator(domain2, interpolator) {
|
|
|
193065
193120
|
}
|
|
193066
193121
|
const implicit = Symbol("implicit");
|
|
193067
193122
|
function ordinal() {
|
|
193068
|
-
var index2 = new
|
|
193123
|
+
var index2 = new InternMap2(), domain2 = [], range2 = [], unknown = implicit;
|
|
193069
193124
|
function scale2(d) {
|
|
193070
193125
|
let i2 = index2.get(d);
|
|
193071
193126
|
if (i2 === void 0) {
|
|
@@ -193076,7 +193131,7 @@ function ordinal() {
|
|
|
193076
193131
|
}
|
|
193077
193132
|
scale2.domain = function(_) {
|
|
193078
193133
|
if (!arguments.length) return domain2.slice();
|
|
193079
|
-
domain2 = [], index2 = new
|
|
193134
|
+
domain2 = [], index2 = new InternMap2();
|
|
193080
193135
|
for (const value2 of _) {
|
|
193081
193136
|
if (index2.has(value2)) continue;
|
|
193082
193137
|
index2.set(value2, domain2.push(value2) - 1);
|
|
@@ -198559,7 +198614,7 @@ const useStyles$1 = makeStyles()(() => ({
|
|
|
198559
198614
|
}
|
|
198560
198615
|
}));
|
|
198561
198616
|
function summarize(iterable, keepZeros) {
|
|
198562
|
-
const values2 = iterable.filter((d) => keepZeros).sort(ascending$
|
|
198617
|
+
const values2 = iterable.filter((d) => keepZeros).sort(ascending$7);
|
|
198563
198618
|
const minVal = values2[0];
|
|
198564
198619
|
const maxVal = values2[values2.length - 1];
|
|
198565
198620
|
const q1 = quantileSorted$1(values2, 0.25);
|
|
@@ -198586,11 +198641,11 @@ function summarize(iterable, keepZeros) {
|
|
|
198586
198641
|
};
|
|
198587
198642
|
}
|
|
198588
198643
|
function dotStratifiedExpressionData(stratifiedResult, posThreshold) {
|
|
198589
|
-
const result = new
|
|
198644
|
+
const result = new InternMap2([], JSON.stringify);
|
|
198590
198645
|
Array.from(stratifiedResult.entries()).forEach(([cellSetKey, firstLevelInternMap]) => {
|
|
198591
|
-
result.set(cellSetKey, new
|
|
198646
|
+
result.set(cellSetKey, new InternMap2([], JSON.stringify));
|
|
198592
198647
|
Array.from(firstLevelInternMap.entries()).forEach(([sampleSetKey, secondLevelInternMap]) => {
|
|
198593
|
-
result.get(cellSetKey).set(sampleSetKey, new
|
|
198648
|
+
result.get(cellSetKey).set(sampleSetKey, new InternMap2([], JSON.stringify));
|
|
198594
198649
|
Array.from(secondLevelInternMap.entries()).forEach(([geneKey, values2]) => {
|
|
198595
198650
|
if (values2) {
|
|
198596
198651
|
const exprMean = mean$1(values2);
|
|
@@ -198608,9 +198663,9 @@ function dotStratifiedExpressionData(stratifiedResult, posThreshold) {
|
|
|
198608
198663
|
return result;
|
|
198609
198664
|
}
|
|
198610
198665
|
function summarizeStratifiedExpressionData(stratifiedResult, keepZeros) {
|
|
198611
|
-
const summarizedResult = new
|
|
198666
|
+
const summarizedResult = new InternMap2([], JSON.stringify);
|
|
198612
198667
|
Array.from(stratifiedResult.entries()).forEach(([cellSetKey, firstLevelInternMap]) => {
|
|
198613
|
-
summarizedResult.set(cellSetKey, new
|
|
198668
|
+
summarizedResult.set(cellSetKey, new InternMap2([], JSON.stringify));
|
|
198614
198669
|
Array.from(firstLevelInternMap.entries()).forEach(([sampleSetKey, secondLevelInternMap]) => {
|
|
198615
198670
|
const values2 = secondLevelInternMap;
|
|
198616
198671
|
const summary = summarize(values2, keepZeros);
|
|
@@ -198632,14 +198687,14 @@ function histogramStratifiedExpressionData(summarizedResult, binCount, yMinProp)
|
|
|
198632
198687
|
value: value2.map(({ key: subKey, value: subValue }) => ({ key: subKey, value: subValue.nonOutliers }))
|
|
198633
198688
|
}));
|
|
198634
198689
|
const trimmedData = groupData.map((kv) => kv.value.map((subKv) => subKv.value).flat()).flat();
|
|
198635
|
-
const yMin = yMinProp === null ? Math.min(0, min$
|
|
198636
|
-
const y2 = linear$1().domain([yMin, max$
|
|
198690
|
+
const yMin = yMinProp === null ? Math.min(0, min$4(trimmedData)) : yMinProp;
|
|
198691
|
+
const y2 = linear$1().domain([yMin, max$4(trimmedData)]);
|
|
198637
198692
|
const histogram = bin$2().thresholds(y2.ticks(binCount)).domain(y2.domain());
|
|
198638
198693
|
const groupBins = groupData.map((kv) => ({
|
|
198639
198694
|
key: kv.key,
|
|
198640
198695
|
value: kv.value.map((subKv) => ({ key: subKv.key, value: histogram(subKv.value) }))
|
|
198641
198696
|
}));
|
|
198642
|
-
const groupBinsMax = max$
|
|
198697
|
+
const groupBinsMax = max$4(
|
|
198643
198698
|
groupBins.flatMap((d) => d.value.flatMap((subKv) => subKv.value.map((v) => v.length)))
|
|
198644
198699
|
);
|
|
198645
198700
|
return {
|
|
@@ -250058,7 +250113,15 @@ function ExpressionHistogram(props) {
|
|
|
250058
250113
|
} = props;
|
|
250059
250114
|
const [selectedRanges, setSelectedRanges] = useState([]);
|
|
250060
250115
|
const isExpression = featureType === "gene" && featureValueType === "expression";
|
|
250061
|
-
const xTitle =
|
|
250116
|
+
const xTitle = useMemo(() => {
|
|
250117
|
+
if (!geneSelection || geneSelection.length === 0) {
|
|
250118
|
+
return isExpression ? "Total Transcript Count" : "Sum of Feature Values";
|
|
250119
|
+
}
|
|
250120
|
+
if (geneSelection.length > 1) {
|
|
250121
|
+
return isExpression ? "Expression Value (aggregated)" : "Aggregated Feature Value";
|
|
250122
|
+
}
|
|
250123
|
+
return isExpression ? `Expression Value (${geneSelection[0]})` : `${geneSelection[0]}`;
|
|
250124
|
+
}, [geneSelection, isExpression]);
|
|
250062
250125
|
const spec = {
|
|
250063
250126
|
data: { values: data2 },
|
|
250064
250127
|
mark: "bar",
|
|
@@ -250134,6 +250197,7 @@ function ExpressionHistogramSubscriber(props) {
|
|
|
250134
250197
|
featureType,
|
|
250135
250198
|
featureValueType,
|
|
250136
250199
|
featureSelection: geneSelection,
|
|
250200
|
+
featureAggregationStrategy,
|
|
250137
250201
|
additionalObsSets: additionalCellSets,
|
|
250138
250202
|
obsSetColor: cellSetColor
|
|
250139
250203
|
}, {
|
|
@@ -250183,12 +250247,26 @@ function ExpressionHistogramSubscriber(props) {
|
|
|
250183
250247
|
const urls = useUrls([
|
|
250184
250248
|
matrixUrls
|
|
250185
250249
|
]);
|
|
250186
|
-
const
|
|
250250
|
+
const numGenesSelected = geneSelection ? geneSelection.length : 0;
|
|
250251
|
+
const aggregationStrategy = featureAggregationStrategy ?? "first";
|
|
250252
|
+
const titleSuffix = (
|
|
250253
|
+
// eslint-disable-next-line no-nested-ternary
|
|
250254
|
+
numGenesSelected > 1 ? ` (${numGenesSelected} genes, ${aggregationStrategy})` : numGenesSelected === 1 ? ` (${geneSelection[0]})` : ""
|
|
250255
|
+
);
|
|
250187
250256
|
const data2 = useMemo(() => {
|
|
250188
|
-
if (
|
|
250257
|
+
if (numGenesSelected > 0 && obsFeatureMatrix && expressionData) {
|
|
250258
|
+
let expressionDataToUse = expressionData;
|
|
250259
|
+
if (numGenesSelected > 1) {
|
|
250260
|
+
const aggregatedData = aggregateFeatureArrays(expressionData, aggregationStrategy);
|
|
250261
|
+
if (aggregatedData) {
|
|
250262
|
+
expressionDataToUse = [aggregatedData];
|
|
250263
|
+
} else {
|
|
250264
|
+
console.error("Error aggregating feature arrays");
|
|
250265
|
+
}
|
|
250266
|
+
}
|
|
250189
250267
|
return obsIndex.map((cellId, cellIndex) => {
|
|
250190
|
-
const value2 =
|
|
250191
|
-
const newItem = { value: value2,
|
|
250268
|
+
const value2 = expressionDataToUse[0][cellIndex];
|
|
250269
|
+
const newItem = { value: value2, cellId };
|
|
250192
250270
|
return newItem;
|
|
250193
250271
|
});
|
|
250194
250272
|
}
|
|
@@ -250196,15 +250274,25 @@ function ExpressionHistogramSubscriber(props) {
|
|
|
250196
250274
|
const numGenes = featureIndex.length;
|
|
250197
250275
|
return obsIndex.map((cellId, cellIndex) => {
|
|
250198
250276
|
const values2 = obsFeatureMatrix.data.subarray(cellIndex * numGenes, (cellIndex + 1) * numGenes);
|
|
250199
|
-
const sumValue = sum$
|
|
250200
|
-
const newItem = { value: sumValue,
|
|
250277
|
+
const sumValue = sum$4(values2);
|
|
250278
|
+
const newItem = { value: sumValue, cellId };
|
|
250201
250279
|
return newItem;
|
|
250202
250280
|
});
|
|
250203
250281
|
}
|
|
250204
250282
|
return null;
|
|
250205
|
-
}, [
|
|
250283
|
+
}, [
|
|
250284
|
+
obsIndex,
|
|
250285
|
+
featureIndex,
|
|
250286
|
+
obsFeatureMatrix,
|
|
250287
|
+
expressionData,
|
|
250288
|
+
numGenesSelected,
|
|
250289
|
+
aggregationStrategy
|
|
250290
|
+
]);
|
|
250206
250291
|
const onSelect = useCallback((value2) => {
|
|
250207
|
-
const geneName =
|
|
250292
|
+
const geneName = (
|
|
250293
|
+
// eslint-disable-next-line no-nested-ternary
|
|
250294
|
+
numGenesSelected > 1 ? `${numGenesSelected} genes (${aggregationStrategy})` : numGenesSelected === 1 ? ` ${geneSelection[0]}` : "transcript count"
|
|
250295
|
+
);
|
|
250208
250296
|
const selectedCellIds = getObsInfoFromDataWithinRange(value2, data2);
|
|
250209
250297
|
setObsSelection(
|
|
250210
250298
|
selectedCellIds,
|
|
@@ -250225,12 +250313,14 @@ function ExpressionHistogramSubscriber(props) {
|
|
|
250225
250313
|
setCellColorEncoding,
|
|
250226
250314
|
setCellSetColor,
|
|
250227
250315
|
setCellSetSelection,
|
|
250228
|
-
|
|
250316
|
+
numGenesSelected,
|
|
250317
|
+
aggregationStrategy,
|
|
250318
|
+
geneSelection
|
|
250229
250319
|
]);
|
|
250230
250320
|
return /* @__PURE__ */ React__default.createElement(
|
|
250231
250321
|
TitleInfo,
|
|
250232
250322
|
{
|
|
250233
|
-
title: `Histogram
|
|
250323
|
+
title: `Histogram ${titleSuffix}`,
|
|
250234
250324
|
closeButtonVisible,
|
|
250235
250325
|
downloadButtonVisible,
|
|
250236
250326
|
removeGridComponent,
|
|
@@ -250470,11 +250560,11 @@ function useExpressionSummaries(sampleEdges, sampleSets, sampleSetSelection, exp
|
|
|
250470
250560
|
posThreshold
|
|
250471
250561
|
);
|
|
250472
250562
|
const geneToUuid = new Map(geneSelection == null ? void 0 : geneSelection.map((gene) => [gene, v4$1()]));
|
|
250473
|
-
const cellSetToUuid = new
|
|
250563
|
+
const cellSetToUuid = new InternMap2(
|
|
250474
250564
|
cellSetSelection == null ? void 0 : cellSetSelection.map((sampleSet) => [sampleSet, v4$1()]),
|
|
250475
250565
|
JSON.stringify
|
|
250476
250566
|
);
|
|
250477
|
-
const sampleSetToUuid = new
|
|
250567
|
+
const sampleSetToUuid = new InternMap2(
|
|
250478
250568
|
sampleSetSelection == null ? void 0 : sampleSetSelection.map((sampleSet) => [sampleSet, v4$1()]),
|
|
250479
250569
|
JSON.stringify
|
|
250480
250570
|
);
|
|
@@ -250804,7 +250894,7 @@ function FeatureBarPlot(props) {
|
|
|
250804
250894
|
const xTitle = `${capitalize$3(obsType)}`;
|
|
250805
250895
|
const autoMarginBottom = marginBottom || 30 + Math.sqrt(maxCharactersForLabel / 2) * 30;
|
|
250806
250896
|
const foregroundColor = theme === "dark" ? "lightgray" : "black";
|
|
250807
|
-
data2.sort((a2, b2) => ascending$
|
|
250897
|
+
data2.sort((a2, b2) => ascending$7(a2[FEATURE_KEY], b2[FEATURE_KEY]));
|
|
250808
250898
|
const svg = select$1(domElement);
|
|
250809
250899
|
svg.selectAll("g").remove();
|
|
250810
250900
|
svg.attr("width", width2).attr("height", height2);
|
|
@@ -251392,14 +251482,14 @@ function TreemapSubscriber(props) {
|
|
|
251392
251482
|
);
|
|
251393
251483
|
const [obsCounts, sampleCounts] = useMemo(() => {
|
|
251394
251484
|
var _a3, _b2;
|
|
251395
|
-
const obsResult = new
|
|
251396
|
-
const sampleResult = new
|
|
251485
|
+
const obsResult = new InternMap2([], JSON.stringify);
|
|
251486
|
+
const sampleResult = new InternMap2([], JSON.stringify);
|
|
251397
251487
|
const hasSampleSetSelection = Array.isArray(sampleSetSelection) && sampleSetSelection.length > 0;
|
|
251398
251488
|
const hasCellSetSelection = Array.isArray(obsSetSelection) && obsSetSelection.length > 0;
|
|
251399
251489
|
const sampleSetKeys = hasSampleSetSelection ? sampleSetSelection : [null];
|
|
251400
251490
|
const cellSetKeys = hasCellSetSelection ? obsSetSelection : [null];
|
|
251401
251491
|
cellSetKeys.forEach((cellSetKey) => {
|
|
251402
|
-
obsResult.set(cellSetKey, new
|
|
251492
|
+
obsResult.set(cellSetKey, new InternMap2([], JSON.stringify));
|
|
251403
251493
|
sampleSetKeys.forEach((sampleSetKey) => {
|
|
251404
251494
|
obsResult.get(cellSetKey).set(sampleSetKey, 0);
|
|
251405
251495
|
});
|
|
@@ -251540,13 +251630,13 @@ function VolcanoPlot(props) {
|
|
|
251540
251630
|
if (!computedData) {
|
|
251541
251631
|
return [null, null];
|
|
251542
251632
|
}
|
|
251543
|
-
let xExtentResult = extent$
|
|
251544
|
-
computedData.flatMap((d) => extent$
|
|
251633
|
+
let xExtentResult = extent$2(
|
|
251634
|
+
computedData.flatMap((d) => extent$2(d.df.logFoldChange))
|
|
251545
251635
|
);
|
|
251546
251636
|
const xAbsMax = Math.max(Math.abs(xExtentResult[0]), Math.abs(xExtentResult[1]));
|
|
251547
251637
|
xExtentResult = [-xAbsMax, xAbsMax];
|
|
251548
|
-
const yExtentResult = extent$
|
|
251549
|
-
computedData.flatMap((d) => extent$
|
|
251638
|
+
const yExtentResult = extent$2(
|
|
251639
|
+
computedData.flatMap((d) => extent$2(d.df.minusLog10p.filter((v) => Number.isFinite(v))))
|
|
251550
251640
|
);
|
|
251551
251641
|
return [xExtentResult, yExtentResult];
|
|
251552
251642
|
}, [computedData]);
|
|
@@ -252004,7 +252094,7 @@ function CellSetCompositionBarPlot(props) {
|
|
|
252004
252094
|
};
|
|
252005
252095
|
const xExtent = useMemo(() => {
|
|
252006
252096
|
if (computedData) {
|
|
252007
|
-
const [min2, max2] = extent$
|
|
252097
|
+
const [min2, max2] = extent$2(computedData.map((d) => d.logFoldChange));
|
|
252008
252098
|
const buffer2 = 1.05;
|
|
252009
252099
|
const minAbs = Math.abs(min2) * buffer2;
|
|
252010
252100
|
const maxAbs = Math.abs(max2) * buffer2;
|