"use strict";

exports.__esModule = true;
exports.logProfiler = void 0;

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var logProfiler = function logProfiler(profilerId, phase, actualTime, baseTime, startTime, commitTime, interactions) {
  console.log({
    _title: profilerId,
    // Renamed the property to be the first one to be displayed
    phase: phase,
    actualTime: actualTime,
    baseTime: baseTime,
    //time taken by react
    startTime: startTime,
    //time at which render starts
    commitTime: commitTime,
    interactions: interactions // this is gotten from the rapping API

  });
};

exports.logProfiler = logProfiler;
;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(logProfiler, "logProfiler", "/home/vsts/work/1/s/src/utils/profilerHelper.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();

;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(logProfiler, "logProfiler", "/home/vsts/work/1/s/src/utils/profilerHelper.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();