You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
1.9 KiB

2 years ago
{"ast":null,"code":"import { KEY_PREFIX } from './constants';\nexport default function purgeStoredState(config) {\n var storage = config.storage;\n var storageKey = \"\".concat(config.keyPrefix !== undefined ? config.keyPrefix : KEY_PREFIX).concat(config.key);\n return storage.removeItem(storageKey, warnIfRemoveError);\n}\n\nfunction warnIfRemoveError(err) {\n if (err && process.env.NODE_ENV !== 'production') {\n console.error('redux-persist/purgeStoredState: Error purging data stored state', err);\n }\n}","map":{"version":3,"names":["KEY_PREFIX","purgeStoredState","config","storage","storageKey","concat","keyPrefix","undefined","key","removeItem","warnIfRemoveError","err","process","env","NODE_ENV","console","error"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/redux-persist/es/purgeStoredState.js"],"sourcesContent":["import { KEY_PREFIX } from './constants';\nexport default function purgeStoredState(config) {\n var storage = config.storage;\n var storageKey = \"\".concat(config.keyPrefix !== undefined ? config.keyPrefix : KEY_PREFIX).concat(config.key);\n return storage.removeItem(storageKey, warnIfRemoveError);\n}\n\nfunction warnIfRemoveError(err) {\n if (err && process.env.NODE_ENV !== 'production') {\n console.error('redux-persist/purgeStoredState: Error purging data stored state', err);\n }\n}"],"mappings":"AAAA,SAASA,UAAT,QAA2B,aAA3B;AACA,eAAe,SAASC,gBAAT,CAA0BC,MAA1B,EAAkC;EAC/C,IAAIC,OAAO,GAAGD,MAAM,CAACC,OAArB;EACA,IAAIC,UAAU,GAAG,GAAGC,MAAH,CAAUH,MAAM,CAACI,SAAP,KAAqBC,SAArB,GAAiCL,MAAM,CAACI,SAAxC,GAAoDN,UAA9D,EAA0EK,MAA1E,CAAiFH,MAAM,CAACM,GAAxF,CAAjB;EACA,OAAOL,OAAO,CAACM,UAAR,CAAmBL,UAAnB,EAA+BM,iBAA/B,CAAP;AACD;;AAED,SAASA,iBAAT,CAA2BC,GAA3B,EAAgC;EAC9B,IAAIA,GAAG,IAAIC,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,YAApC,EAAkD;IAChDC,OAAO,CAACC,KAAR,CAAc,iEAAd,EAAiFL,GAAjF;EACD;AACF"},"metadata":{},"sourceType":"module"}