{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\xq-web-bpm\\src\\tripartite\\buildBigScreen\\src\\utils\\utils.js","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\tripartite\\buildBigScreen\\src\\utils\\utils.js","mtime":1675071992678},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/es6.regexp.match\";\nimport \"core-js/modules/es6.regexp.constructor\";\nimport \"core-js/modules/es6.regexp.replace\";\nexport var uuid = function uuid() {\n  var s = [];\n  var hexDigits = \"0123456789abcdef\";\n\n  for (var i = 0; i < 36; i++) {\n    s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);\n  }\n\n  s[14] = \"4\"; // bits 12-15 of the time_hi_and_version field to 0010\n\n  s[19] = hexDigits.substr(s[19] & 0x3 | 0x8, 1); // bits 6-7 of the clock_seq_hi_and_reserved to 01\n\n  s[8] = s[13] = s[18] = s[23] = \"-\";\n  var uuid = s.join(\"\");\n  return uuid;\n};\nexport var compare = function compare(propertyName) {\n  return function (object1, object2) {\n    var value1 = object1[propertyName];\n    var value2 = object2[propertyName];\n\n    if (value2 < value1) {\n      return -1;\n    } else if (value2 > value1) {\n      return 1;\n    } else {\n      return 0;\n    }\n  };\n};\nexport var stringify = function stringify(json) {\n  var count = 0;\n  var list = [];\n  var str = JSON.stringify(json, function (key, val) {\n    if (typeof val === 'function') {\n      list.push(val + '');\n      var result = '$code{' + count + '}$code';\n      count = count + 1;\n      return result;\n    }\n\n    return val;\n  }, 2);\n  var startCode = '$code{';\n  var endCode = '}$code';\n  list.forEach(function (ele, index) {\n    str = str.replace(startCode + index + endCode, startCode + ele + endCode);\n  });\n\n  for (var i = 0; i < count; i++) {\n    str = str.replace('\"' + startCode, '').replace(endCode + '\"', '');\n  }\n\n  return str;\n};\nexport var parse = function parse(str) {\n  return JSON.parse(str, function (k, v) {\n    if (v.indexOf && v.indexOf('function') > -1) {\n      return eval(\"(function(){return \" + v + \" })()\");\n    }\n\n    return v;\n  });\n};\nexport var addUrlParam = function addUrlParam(url, param, value) {\n  if (!url) return;\n\n  function GetQueryString(name) {\n    var num = url.indexOf(\"?\");\n    var reg = new RegExp(\"(^|&)\" + name + \"=([^&]*)(&|$)\");\n    var r = url.substr(num + 1).match(reg);\n\n    if (r != null) {\n      return unescape(r[2]);\n    }\n\n    return null;\n  }\n\n  function replaceParamVal(paramName, value) {\n    var re = eval('/(' + paramName + '=)([^&]*)/gi');\n    return url.replace(re, paramName + '=' + value);\n  }\n\n  if (GetQueryString(param)) {\n    return replaceParamVal(param, value);\n  } else {\n    if (url.includes('?')) {\n      url = url + '&' + param + '=' + value;\n    } else {\n      url = url + '?' + param + '=' + value;\n    }\n\n    return url;\n  }\n};",null]}