decord/beta/source/modules/payments/hooks/useSubscriptionSelection.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

36 lines
1.2 KiB
TypeScript

// Module ID: 11122
// Function ID: 11123
// Name: useSubscriptionSelection
// Dependencies: [32, 19, 558, 568, 2]
// Module 11122 (useSubscriptionSelection)
import c from "c" /* 568 */;
import _slicedToArray from "module_32" /* 32 */;
import noop from "module_19" /* 19 */;
require = fn;
const ReactCompilerGating = fn(558);
const size = fn(2);
const result = size.fileFinishedImporting("modules/payments/hooks/useSubscriptionSelection.tsx");
export default ReactCompilerGating.isReactCompilerEnabled() ? (() => {
const cResult = c.c(3);
[tmp3, tmp4] = noop.useState(undefined);
const tmp2 = _slicedToArray(noop.useState(undefined), 2);
[tmp6, tmp7] = noop.useState(undefined);
if (cResult[0] === tmp6) {
if (cResult[1] === tmp3) {
let tmp8 = cResult[2];
}
return tmp8;
}
const obj2 = { selectedSkuId: tmp3, setSelectedSkuId: tmp4, selectedPlanId: tmp6, setSelectedPlanId: tmp7 };
cResult[0] = tmp6;
cResult[1] = tmp3;
cResult[2] = obj2;
tmp8 = obj2;
}) : (() => {
[tmp2, tmp3] = noop.useState(undefined);
const tmp4 = _slicedToArray(noop.useState(undefined), 2);
return { selectedSkuId: tmp2, setSelectedSkuId: tmp3, selectedPlanId: tmp4[0], setSelectedPlanId: tmp4[1] };
});