decord/source/modules/billing/native/GenericIAPStore.tsx

59 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 5674
// Function ID: 5675
// Name: isGenericIapConnected
// Dependencies: [589, 12, 5675, 709, 2]
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
// Module 5674 (isGenericIapConnected)
import { Store } from "initialize";
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
let c3 = null;
let c4 = false;
let c5 = null;
class GenericIAPStore extends Store {
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const prototype = GenericIAPStore.prototype;
prototype["isGenericIapConnected"] = function isGenericIapConnected() {
return c4;
};
prototype["genericProductsLoaded"] = function genericProductsLoaded() {
let tmp = null != c3;
if (tmp) {
tmp = importDefault(12).filter(c3, (identifier) => {
const GenericProductIds = callback(table[2]).GenericProductIds;
return GenericProductIds.includes(identifier.identifier);
}).length === require(5675) /* SubscriptionPlans */.GenericProductIds.length;
const arr = importDefault(12);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return tmp;
};
prototype["getProducts"] = function getProducts() {
return c3;
};
prototype["getStoreFront"] = function getStoreFront() {
return c5;
};
GenericIAPStore.displayName = "GenericIAPStore";
const genericIAPStore = new GenericIAPStore(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
IAP_LOAD_GENERIC_PRODUCTS: function initGenericProducts(arg0) {
2026-07-29 08:29:29 +00:00
let c3;
let c5;
({ products: c3, storeFront: c5 } = arg0);
2026-07-20 16:05:17 +00:00
},
GENERIC_IAP_INIT_CONNECTION: function genericIapInitConnection(connected) {
connected = connected.connected;
},
GENERIC_IAP_INIT_CONNECTION_FAILED: function genericIapInitConnectionFailed() {
2026-07-29 08:29:29 +00:00
let c4 = false;
2026-07-20 16:05:17 +00:00
},
GENERIC_IAP_END_CONNECTION: function genericIapEndConnection() {
2026-07-29 08:29:29 +00:00
let c4 = false;
2026-07-20 16:05:17 +00:00
},
GENERIC_IAP_SET_STORE_FRONT: function setStoreFront(storeFront) {
storeFront = storeFront.storeFront;
}
});
2026-07-29 08:29:29 +00:00
const result = require("SubscriptionPlans").fileFinishedImporting("modules/billing/native/GenericIAPStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default genericIAPStore;