This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,31 @@
// Metro module 5830 (f5831).
import { FeaturedCategorySubblockRecord } from "./FeaturedCategorySubblockRecord";
import { ShopBlockType } from "../../../_bundle/Module5829";
import { FeaturedSubblockType } from "../../../_bundle/Module5832";
let $mk77206 = function() {
return (a0) => {
let r11;
if (a0.type === FeaturedSubblockType.CATEGORY) {
r11 = FeaturedCategorySubblockRecord.fromServer(a0);
} else {
a0.type;
r11 = a0;
}
return r11;
};
};
class FeaturedBlockRecord {
type = ShopBlockType.FEATURED;
constructor(a0) {
this.subblocks = a0.subblocks.map($mk77206());
}
static fromServer(a0) {
const r10 = {
__proto__: FeaturedBlockRecord.prototype
};
r10.type = ShopBlockType.FEATURED;
r10.subblocks = a0.subblocks.map($mk77206());
return r10;
}
}
export { FeaturedBlockRecord };