module.exports = "(function(e,t,n){var r=n(5894),s=n(343),i=n(4438),a=n(4934),o=n(7099).DT,g=n(4810),c=n(6474),u=n(4527).get(\"stores/pending_events\"),E=i.StorageKeys.PENDING_EVENTS;t.persistPendingEvents=function(){try{var e=u.getEventsString();o.setItem(E,e),__XDOMAIN__&&n(6418).setItem(E,e)}catch(e){g.warn(\"PendingEvents / Unable to set localStorage key, error was: \",e),s.emitInternalError(e)}},t.getPendingEvents=function(){try{return a.parse(o.getItem(E))}catch(e){return null}},t.retryPendingEvents=function(e){r.forOwn(e,(function(e,t){c.retryableRequest(e.data,t,e.retryCount)})),r.isEmpty(e)||g.log(\"Retried pending events: \",e)}})";