Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
144 lines
3.8 KiB
TypeScript
144 lines
3.8 KiB
TypeScript
// Module ID: 17032
|
|
// Function ID: 17033
|
|
// Name: useVibegrationsPlanDesign
|
|
// Dependencies: [32, 19, 13364, 558, 568, 2]
|
|
|
|
// Module 17032 (useVibegrationsPlanDesign)
|
|
import _slicedToArray from "module_32" /* 32 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
const require = fn;
|
|
const VibegrationsConnectionStore = fn(13364);
|
|
({ getAttachmentUrl: closure_4, isAttachmentAvailable: hasOwnProperty } = VibegrationsConnectionStore);
|
|
const ReactCompilerGating = fn(558);
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/vibegrations/lib/useVibegrationsPlanDesign.tsx");
|
|
|
|
export const useVibegrationsPlanDesign = ReactCompilerGating.isReactCompilerEnabled() ? ((arg0, arg1) => {
|
|
_require = arg0;
|
|
dependencyMap = arg1;
|
|
const cResult = require("c").c(13);
|
|
const obj = require("c");
|
|
const obj2 = noop;
|
|
[tmp3, _slicedToArray] = noop.useState(null);
|
|
const tmp2 = _slicedToArray(noop.useState(null), 2);
|
|
[tmp5, noop] = noop.useState(false);
|
|
[first, closure_5] = noop.useState(0);
|
|
if (cResult[0] === arg1) {
|
|
if (cResult[1] === first) {
|
|
if (cResult[2] === arg0) {
|
|
let tmp8 = cResult[3];
|
|
let tmp9 = cResult[4];
|
|
}
|
|
const effect = obj2.useEffect(tmp8, tmp9);
|
|
if (cResult[5] === arg1) {
|
|
if (cResult[6] === first) {
|
|
if (cResult[7] === arg0) {
|
|
let tmp11 = cResult[8];
|
|
}
|
|
if (cResult[9] === tmp5) {
|
|
if (cResult[10] === tmp11) {
|
|
if (cResult[11] === tmp3) {
|
|
let tmp12 = cResult[12];
|
|
}
|
|
return tmp12;
|
|
}
|
|
}
|
|
const obj3 = { src: tmp3, gone: tmp5, handleError: tmp11 };
|
|
cResult[9] = tmp5;
|
|
cResult[10] = tmp11;
|
|
cResult[11] = tmp3;
|
|
cResult[12] = obj3;
|
|
tmp12 = obj3;
|
|
}
|
|
}
|
|
const fn2 = function h() {
|
|
_slicedToArray(null);
|
|
hasOwnProperty(closure_0, closure_1).then((result) => {
|
|
if (result) {
|
|
if (0 === first) {
|
|
closure_1_5(1);
|
|
}
|
|
}
|
|
closure_1_3(true);
|
|
}, () => closure_1_3(true));
|
|
};
|
|
cResult[5] = arg1;
|
|
cResult[6] = first;
|
|
cResult[7] = arg0;
|
|
cResult[8] = fn2;
|
|
tmp11 = fn2;
|
|
}
|
|
}
|
|
const fn = function c() {
|
|
c0 = false;
|
|
first(c0, closure_1).then((result) => {
|
|
if (!c0) {
|
|
_slicedToArray(result);
|
|
}
|
|
}, () => {
|
|
if (!c0) {
|
|
if (0 === first) {
|
|
closure_5(1);
|
|
} else {
|
|
noop(true);
|
|
}
|
|
}
|
|
});
|
|
return () => {
|
|
c0 = true;
|
|
};
|
|
};
|
|
const items = [arg0, arg1, first];
|
|
cResult[0] = arg1;
|
|
cResult[1] = first;
|
|
cResult[2] = arg0;
|
|
cResult[3] = fn;
|
|
cResult[4] = items;
|
|
tmp9 = items;
|
|
tmp8 = fn;
|
|
}) : ((arg0, arg1) => {
|
|
closure_0 = arg0;
|
|
closure_1 = arg1;
|
|
const tmp = _slicedToArray(noop.useState(null), 2);
|
|
_slicedToArray = tmp[1];
|
|
const tmp2 = _slicedToArray(noop.useState(false), 2);
|
|
noop = tmp2[1];
|
|
[first, closure_5] = noop.useState(0);
|
|
const items = [arg0, arg1, first];
|
|
const effect = noop.useEffect(() => {
|
|
c0 = false;
|
|
first(c0, closure_1).then((result) => {
|
|
if (!c0) {
|
|
closure_2(result);
|
|
}
|
|
}, () => {
|
|
if (!c0) {
|
|
if (0 === first) {
|
|
closure_5(1);
|
|
} else {
|
|
closure_3(true);
|
|
}
|
|
}
|
|
});
|
|
return () => {
|
|
c0 = true;
|
|
};
|
|
}, items);
|
|
const obj = { src: tmp[0], gone: tmp2[0], handleError: null };
|
|
const items1 = [arg0, arg1, first];
|
|
obj.handleError = noop.useCallback(() => {
|
|
closure_2(null);
|
|
hasOwnProperty(closure_0, closure_1).then((result) => {
|
|
if (result) {
|
|
if (0 === first) {
|
|
closure_1_5(1);
|
|
}
|
|
}
|
|
closure_1_3(true);
|
|
}, () => closure_1_3(true));
|
|
}, items1);
|
|
return obj;
|
|
});
|