// Module ID: 7291 // Function ID: 7292 // Name: GenericIAPStore // Dependencies: [504, 12, 7292, 573, 2] // Module 7291 (GenericIAPStore) import _modDef12 from "module_12" /* 12 */; import initializeDefault from "initialize" /* 504 */; import DispatcherDefault from "Dispatcher" /* 573 */; import ProductIds from "ProductIds" /* 7292 */; require = fn; let c3 = null; let c4 = false; let storeFront = null; const Store = initializeDefault.Store; class GenericIAPStore extends Store { } const prototype = GenericIAPStore.prototype; prototype["isGenericIapConnected"] = function isGenericIapConnected() { return c4; }; prototype["genericProductsLoaded"] = function genericProductsLoaded() { let tmp = null != c3; if (tmp) { tmp = _modDef12.filter(c3, (identifier) => { const GenericProductIds = ProductIds.GenericProductIds; return GenericProductIds.includes(identifier.identifier); }).length === ProductIds.GenericProductIds.length; } return tmp; }; prototype["getProducts"] = function getProducts() { return c3; }; prototype["getStoreFront"] = function getStoreFront() { return storeFront; }; GenericIAPStore.displayName = "GenericIAPStore"; const genericIAPStore = new GenericIAPStore(DispatcherDefault, { IAP_LOAD_GENERIC_PRODUCTS: function initGenericProducts(arg0) { ({ products: c3, storeFront } = arg0); }, GENERIC_IAP_INIT_CONNECTION: function genericIapInitConnection(connected) { connected = connected.connected; }, GENERIC_IAP_INIT_CONNECTION_FAILED: function genericIapInitConnectionFailed() { c4 = false; }, GENERIC_IAP_END_CONNECTION: function genericIapEndConnection() { c4 = false; }, GENERIC_IAP_SET_STORE_FRONT: function setStoreFront(storeFront) { storeFront = storeFront.storeFront; } }); const size = fn(2); const result = size.fileFinishedImporting("modules/billing/native/GenericIAPStore.tsx"); export default genericIAPStore;