decord/stable/source/modules/collectibles/CollectiblesAnalyticsContext.tsx
github-actions 57c2214117 chore: update source for stable 347.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-29 21:26:22 +00:00

29 lines
1.1 KiB
TypeScript

// Module ID: 9079
// Function ID: 9080
// Name: CollectiblesAnalyticsContext
// Dependencies: [19, 21, 2]
// Exports: CollectiblesAnalyticsProvider, useCollectiblesAnalyticsContext
// Module 9079 (CollectiblesAnalyticsContext)
import noop from "module_19" /* 19 */;
const jsx = fn(21).jsx;
let context = noop.createContext(null);
const size = fn(2);
const result = size.fileFinishedImporting("modules/collectibles/CollectiblesAnalyticsContext.tsx");
export const CollectiblesAnalyticsContext = context;
export const useCollectiblesAnalyticsContext = function useCollectiblesAnalyticsContext() {
return noop.useContext(context);
};
export const CollectiblesAnalyticsProvider = function CollectiblesAnalyticsProvider(children) {
const newValue = children.newValue;
context = undefined;
context = noop.useContext(context);
const items = [context, newValue];
return <context.Provider value={noop.useMemo(() => {
const merged = Object.assign(context);
const merged1 = Object.assign(newValue);
return {};
}, items)}>{arg0.children}</context.Provider>;
};