2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 7342
|
|
|
|
|
// Function ID: 7343
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: GenericIAPStore
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [504, 12, 7343, 573, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 7342 (GenericIAPStore)
|
2026-09-10 05:38:07 +00:00
|
|
|
import _modDef12 from "module_12" /* 12 */;
|
2026-09-05 10:56:28 +00:00
|
|
|
import initializeDefault from "initialize" /* 504 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
2026-09-12 13:45:10 +00:00
|
|
|
import ProductIds from "ProductIds" /* 7343 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
2026-07-29 08:29:29 +00:00
|
|
|
let c3 = null;
|
2026-09-11 10:30:06 +00:00
|
|
|
let canMakePayments = false;
|
2026-09-10 05:38:07 +00:00
|
|
|
let storeFront = null;
|
2026-08-24 06:08:38 +00:00
|
|
|
const Store = initializeDefault.Store;
|
2026-07-29 08:29:29 +00:00
|
|
|
class GenericIAPStore extends Store {
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const prototype = GenericIAPStore.prototype;
|
2026-09-11 10:30:06 +00:00
|
|
|
prototype["canMakePurchase"] = function canMakePurchase() {
|
|
|
|
|
return canMakePayments;
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
prototype["genericProductsLoaded"] = function genericProductsLoaded() {
|
|
|
|
|
let tmp = null != c3;
|
|
|
|
|
if (tmp) {
|
2026-09-10 05:38:07 +00:00
|
|
|
tmp = _modDef12.filter(c3, (identifier) => {
|
|
|
|
|
const GenericProductIds = ProductIds.GenericProductIds;
|
2026-07-29 08:29:29 +00:00
|
|
|
return GenericProductIds.includes(identifier.identifier);
|
2026-09-10 05:38:07 +00:00
|
|
|
}).length === ProductIds.GenericProductIds.length;
|
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() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return storeFront;
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
GenericIAPStore.displayName = "GenericIAPStore";
|
2026-09-10 05:38:07 +00:00
|
|
|
const genericIAPStore = new GenericIAPStore(DispatcherDefault, {
|
2026-07-20 16:05:17 +00:00
|
|
|
IAP_LOAD_GENERIC_PRODUCTS: function initGenericProducts(arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
({ products: c3, storeFront } = arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
2026-09-11 10:30:06 +00:00
|
|
|
GENERIC_IAP_INIT_CONNECTION: function genericIapInitConnection(canMakePayments) {
|
|
|
|
|
canMakePayments = canMakePayments.canMakePayments;
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
GENERIC_IAP_SET_STORE_FRONT: function setStoreFront(storeFront) {
|
|
|
|
|
storeFront = storeFront.storeFront;
|
|
|
|
|
}
|
|
|
|
|
});
|
2026-09-10 05:38:07 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.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;
|