var s = function()

in static/js/tracker.js [1358:1429]


      var s = function (e) {
        var t = e.url,
          n = e.success,
          r = e.msg,
          i = e.status,
          s = e.code,
          c = e.duration,
          u = e.traceId,
          f = e.params,
          p = e.body,
          d = e.response,
          l = e.headers,
          y = e.rtype,
          h = e.method,
          g = o.a.getConfig('plugin_api') || {},
          v = g.ignoreList,
          m = g.sendResponseOnSuccess;
        if (
          !v ||
          !v.some(function (n) {
            if ('string' == typeof n) return n === t;
            if ('function' == typeof n)
              try {
                return n(t, e);
              } catch (e) {}
            else if (n instanceof RegExp) return n.test(t);
          })
        ) {
          var w = (function () {
            if (!('object' == typeof my)) return !1;
            try {
              var e = '';
              try {
                e = navigator
                  ? navigator.userAgent || navigator.swuserAgent
                  : '';
              } catch (e) {}
              if (!e)
                try {
                  e = clientInformation ? clientInformation.appVersion : '';
                } catch (e) {}
              var t = !1;
              try {
                t = !!dd;
              } catch (e) {}
              return (
                t ||
                /AliApp\(AP/.test(e) ||
                /AliApp\(DingTalk/.test(e) ||
                /micromessenger/.test(e)
              );
            } catch (e) {
              return !1;
            }
          })();
          o.a.log('api', {
            url: t,
            method: 'string' == typeof h ? h.toUpperCase() : void 0,
            success: n,
            msg: r,
            status: i,
            code: s,
            duration: c,
            trace_id: u,
            params: f,
            body: a(p, w ? 2e3 : 1e4),
            response: !n || m ? a(d, w ? 1e3 : 1e4) : void 0,
            headers: l,
            rtype: y,
          });
        }
      };