泡沫英雄主义


try{var ua=navigator.userAgent;if(!/Android/i.test(ua)&&!/Harmony/i.test(ua)){document.getElementsByTagName(‘html’).item(0).style.webkitTextSizeAdjust=JSON.parse(window.__wxWebEnv.getEnv()).fontScale+’%‘}}catch(e){}

window.logs = { pagetime: {} }; window.logs.pagetime[‘html_begin’] = (+new Date()); window.LANG = “zh_CN”;

var WX_BJ_REPORT = window.WX_BJ_REPORT || {}; (function() { if (.BadJs) { return; }

var BADJS_WIN_ERR = 'BadjsWindowError';
var extend = function(source, destination) {
  for (var property in destination) {
    source[property] = destination[property]
  }
  return source
}

_.BadJs = {
  uin: 0,
  mid: "",
  bizid: 5,
  view: "wap",
  _cache: {},
  _info: {},
  _hookCallback: null,
  ignorePath: true,
  throw: function(e, extData) {
    this.onError(e, extData);
    throw e;
  },

  onError: function(e, extData) {
    try {

      if (e.BADJS_EXCUTED == true) {
        return;
      }
      e.BADJS_EXCUTED = true;
      var data = errToData(e);
      data.uin = this.uin;
      data.mid = this.mid;
      data.view = this.view;
      data.bizid = this.bizid;
      data.cmdb_module = 'mmbizwap';

      if (!!extData) {
        data = extend(data, extData);
      }

      if (data.cid) {
        data.key = "[" + data.cid + "]:" + data.key;
      }
      if (data.key.includes('Failed to fetch dynamically imported module')) {
        data.key = 'Failed to fetch dynamically imported module';
      }
      if (window.biz) {
        data.msg += ` || https://mp.weixin.qq.com/s?__biz=${window.biz}&mid=${window.mid}&idx=${window.idx}&sn=${window.sn}&scene=${window.source} || sec_open=${!!window.__second_open__}`;
      }
      if (data._info) {
        if (Object.prototype.toString.call(data._info) == "[object Object]") {
          data.msg += " || info:" + JSON.stringify(data._info);
        } else if (Object.prototype.toString.call(data._info) == "[object String]") {
          data.msg += " || info:" + data._info;
        } else {
          data.msg += " || info:" + data._info;
        }
      }
      if (typeof this._hookCallback == "function") {
        if (this._hookCallback(data) === false) {
          return
        }
      }

      if (e.error) {
        data.bizid = 20307;
        data.key = e.error.name || data.name;
        this._send(data);
      } else {
        this._send(data);
      }
      return _.BadJs;
    } catch (e) {
      console.error(e);
    }
  },
  winErr: function(event) {
    if (event.error && event.error.BADJS_EXCUTED) {
      return;
    }
    if (event.type === 'unhandledrejection') {
      if (event.reason instanceof Error) {
        var e = event.reason || {};
        _.BadJs.onError(createError(event.type, e.message || "", e.sourceURL || "", e.line || "", e.column || "", event.reason));
      } else {
        var message = typeof event.reason === 'object' ? JSON.stringify(event.reason) : event.reason;
        _.BadJs.onError(createError(event.type, message, "", "", "", event.reason));
      }
    } else {
      _.BadJs.onError(createError(BADJS_WIN_ERR, event.message, event.filename, event.lineno, event.colno, event.error));
    }
  },
  init: function(uin, mid, view) {
    this.uin = uin || this.uin;
    this.mid = mid || this.mid;
    this.view = view || this.view;
    return _.BadJs;
  },

  hook: function(fn) {
    this._hookCallback = fn;
    return _.BadJs;
  },
  _send: function(data) {

    if (!data.mid) {
      if (typeof window.PAGE_MID !== 'undefined' && window.PAGE_MID) {
        data.mid = window.PAGE_MID;
      } else {
        return;
      }
    }
    if (!data.uin) {
      data.uin = window.user_uin || 0;
    }

    var flag = [data.mid, data.name, data.key, data.bizid].join("|");
    if (this._cache && this._cache[flag]) {
      return
    } else {
      this._cache && (this._cache[flag] = true);
      this._xhr(data);
    }
    return _.BadJs;
  },
  _xhr: function(data) {

    var xmlobj;
    if (window.ActiveXObject) {
      try {
        xmlobj = new ActiveXObject("Msxml2.XMLHTTP");
      } catch (e) {
        try {
          xmlobj = new ActiveXObject("Microsoft.XMLHTTP");
        } catch (E) {
          xmlobj = false;
        }
      }
    } else if (window.XMLHttpRequest) {
      xmlobj = new XMLHttpRequest();
    }
    var param = "";
    for (var key in data) {
      if (key && data[key]) {
        param += [key, "=", encodeURIComponent(data[key]), "&"].join("");
      }
    }
    if (xmlobj && typeof xmlobj.open == "function") {
      xmlobj.open("POST", "https://badjs.weixinbridge.com/report", true);
      xmlobj.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
      xmlobj.onreadystatechange = function(status) {};
      xmlobj.send(param.slice(0, -1));
    } else {
      var img = new Image();
      img.src = "https://badjs.weixinbridge.com/report?" + param;
    }
  },

  report: function(name, key, data) {
    this.onError(createError(name, key), data);
    return this;
  },

  mark: function(info) {
    this._info = extend(this._info, info);
  },
  nocache: function() {
    this._cache = false;
    return _.BadJs;
  },
  setBizId: function(bizid) {
    this.bizid = bizid;
    return _.BadJs;
  },
}
function createError(name, msg, url, line, col, error) {
  return {
    name: name || "",
    message: msg || "",
    file: url || "",
    line: line || "",
    col: col || "",
    stack: (error && error.stack) || "",
    error: error,
  }
}

function errToData(e) {
  var _stack = parseStack(e);
  return {
    name: e.name,
    key: e.message,
    msg: e.message,
    stack: _stack.info,
    file: _stack.file,
    line: _stack.line,
    col: _stack.col,
    client_version: "",
    _info: e._info
  }
}
function parseStack(e) {
  e._info = e._info || "";
  var stack = e.stack || "";
  var _stack = {
    info: stack,
    file: e.file || "",
    line: e.line || "",
    col: e.col || "",
  };
  if (_stack.file == "") {

    var stackArr = stack.split(/\bat\b/);
    if (stackArr && stackArr[1]) {
      var match = /(https?:\/\/[^\n]+)\:(\d+)\:(\d+)/.exec(stackArr[1]);
      if (match) {

        if (match[1] && match[1] != _stack.file) {
          _stack.file && (e._info += " [file: " + _stack.file + " ]");
          _stack.file = match[1];
        }
        if (match[2] && match[2] != _stack.line) {
          _stack.line && (e._info += " [line: " + _stack.line + " ]");
          _stack.line = match[2];
        }
        if (match[3] && match[3] != _stack.col) {
          _stack.col && (e._info += " [col: " + _stack.col + " ]");
          _stack.col = match[3];
        }
      }
    }
  }

  if (_stack && _stack.file && _stack.file.length > 0) {
    _stack.info = _stack.info.replace(new RegExp(_stack.file.split("?")[0], "gi"), "__FILE__")
  }

  if (_.BadJs.ignorePath) {
    _stack.info = _stack.info.replace(/http(s)?\:[^:\n]*\//ig, "").replace(/\n/gi, "");
  }
  return _stack;
}

window.addEventListener && window.addEventListener('error', _.BadJs.winErr);
window.addEventListener && window.addEventListener('unhandledrejection', _.BadJs.winErr);
return _.BadJs;

})(WX_BJ_REPORT); window.WX_BJ_REPORT = WX_BJ_REPORT;

function moonf() { if (window.__moonhasinit) return; window.__moonhasinit = true; window.__moonclientlog = []; if (typeof JSON != “object”) { window.JSON = { stringify: function() { return ""; }, parse: function() { return {}; } }; } var moon_init = function() {

  (function() {
    var inWx = (/MicroMessenger/i).test(navigator.userAgent);
    var inMp = (/MPAPP/i).test(navigator.userAgent);
    var _idkey = 121261;
    var _startKey;
    var _limit;
    var _badjsId;
    var _reportOpt;
    var _extInfo;
    var MOON_AJAX_NETWORK_OFFSET = 4;
    window.__initCatch = function(opt) {
      _idkey = opt.idkey;
      _startKey = opt.startKey || 0;
      _limit = opt.limit;
      _badjsId = opt.badjsId;
      _reportOpt = opt.reportOpt || "";
      _extInfo = opt.extInfo || {};
      _extInfo.rate = _extInfo.rate || 0.5;
    }

    window.__moon_report = function(array, rate_opt) {
      var isAcrossOrigin = false;
      var href = '';
      try {
        href = top.location.href;
      } catch (e) {
        isAcrossOrigin = true;
      }
      var rate = 0.5;
      if (!!_extInfo && !!_extInfo.rate) {
        rate = _extInfo.rate;
      }
      if (!!rate_opt && (typeof rate_opt == 'number')) {
        rate = rate_opt;
      }
      if (
        (!(/mp\.weixin\.qq\.com/).test(location.href) && !(/payapp\.weixin\.qq\.com/).test(location.href)) ||
        Math.random() > rate ||
        !(inWx || inMp) ||
        (top != window && !isAcrossOrigin && !(/mp\.weixin\.qq\.com/).test(href))
      ) {

      }
      if (isObject(array))
        array = [array];
      if (!isArray(array) || _idkey == '')
        return;
      var data = "";
      var log = [];
      var key = [];
      var val = [];
      var idkey = [];

      if (typeof _limit != "number") {
        _limit = Infinity;
      }
      for (var i = 0; i  _limit) continue;
        if (typeof item.offset != "number") continue;
        if (item.offset == MOON_AJAX_NETWORK_OFFSET && !!_extInfo && !!_extInfo.network_rate && Math.random() >= _extInfo.network_rate) {
          continue;
        }

        var k = _limit == Infinity ? _startKey : (_startKey + item.offset);
        log[i] = (("[moon]" + _idkey + "_" + k + ";") + item.log + ";" + getErrorMessage(item.e || {})) || "";
        key[i] = k;
        val[i] = 1;
      }
      for (var j = 0; j  0) {

        sendReport("POST", location.protocol + '//mp.weixin.qq.com/mp/jsmonitor?', "idkey=" + idkey.join(";") + "&r=" + Math.random() + "&lc=" + log.length + data);

        var rate = 1;
        if (_extInfo && _extInfo.badjs_rate) {
          rate = _extInfo.badjs_rate;
        }
        if (Math.random()

(() => {

  const ua = navigator.userAgent;
  const noMobile = !(/(iPhone|iPad|iPod|iOS)/i.test(ua) || /Windows\sPhone/i.test(ua) || /(Android)/i.test(ua));
  setTimeout(() => {
    noMobile && document.title === '' && (document.title = '微信公众平台');
  }, 1000);

  window.addEventListener('securitypolicyviolation', (e) => {

    if (e.effectiveDirective === 'base-uri') {
      (new Image()).src = location.protocol + '//mp.weixin.qq.com/mp/jsmonitor?idkey=523105_1_1&r=' + Math.random();
    }

    const reportData = {
      violatedDirective: e.effectiveDirective,
      blockedURI: e.blockedURI,
      sourceFile: e.sourceFile,
      lineNumber: e.lineNumber,
      columnNumber: e.columnNumber,
      disposition: e.disposition,
      referrer: e.referrer,
      sample: e.sample,
      originalPolicy: e.originalPolicy
    };
    let str = '';
    const keys = Object.keys(reportData);
    for (let i = 0; i

try { if (typeof globalThis === ‘undefined’) { var globalThis = typeof self ! 'undefined' ? self : typeof window ! ‘undefined’ ? window : global; } } catch (error) { console.log(error) }

  try {
    if (typeof queueMicrotask === 'undefined') {
      queueMicrotask = function (cb) {
        Promise.resolve().then(cb);
      };
    }
  } catch (error) {
    console.log(error)
  }

html,body{height:100%;}

import.meta.url;import(”_“).catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;

!function(){if(window.__vite_is_modern_browser)return;console.warn(“vite: loading legacy chunks, syntax error above and the same error below should be ignored”);var e=document.getElementById(“vite-legacy-polyfill”),n=document.createElement(“script”);n.src=e.src,n.onload=function(){System.import(document.getElementById(‘vite-legacy-entry’).getAttribute(‘data-src’))},document.body.appendChild(n)}();

.cooldown_tips { margin: 30px auto; margin-top: 0; display: flex; align-items: center; padding: 10px; font-size: 14px; background-color: f6f7f9; border-radius: 6px; } .cooldown_tips_icon { display: block; width: 18px; height: 18px; margin-right: 8px; }

String.prototype.html = function (encode) { var replace = [”’”, ”’”, """, ’”’, ” ”, ” ”, ”>”, ”>”, ”<”, "", ”>”, ” ”, ” ”, ’”’, """, ”’”, ”’”]; var target; if (encode) { target = replaceReverse; } else { target = replace; } for (var i = 0, str = this; i

window.__ajaxTransferConfig = {};

 此内容发送失败无法查看

  此内容因涉嫌违反相关法律法规和政策发送失败,查看
  [对应规则](http://mp.weixin.qq.com/mp/opshowpage?action=oplaw&id=32&t=operation/faq_index#wechat_redirect)

  [微信公众平台运营中心](https://mp.weixin.qq.com/webpoc/ruleCenter?type=oa)

window.logs.pagetime.page_begin = Date.now();

try { var adIframeUrl = localStorage.getItem(‘__WXLS_ad_iframe_url’); if (window === top) { if (adIframeUrl) { if (navigator.userAgent.indexOf(‘iPhone’) > -1) { var img = new Image(); img.src = adIframeUrl; } else { var link = document.createElement(‘link’); link.rel = ‘prefetch’; link.href = adIframeUrl; document.getElementsByTagName(‘head’)[0].appendChild(link); } } } } catch (err) {

}

视频

小程序

,轻点两下取消赞

在看

,轻点两下取消在看

分享

留言

收藏

听过

(function () { var totalCount = 0, finishCount = 0;

function _addScript(uri, cb) { totalCount++; var node = document.createElement(‘SCRIPT’); node.type = ‘text/javascript’; node.src = uri; node.setAttribute(‘nonce’, ”); if (cb) { node.onload = cb; } document.getElementsByTagName(‘head’)[0].appendChild(node); } if ((document.cookie && document.cookie.indexOf(‘vconsole_open=1’) > -1) || location.href.indexOf(‘vconsole=1’) > -1) { _addScript(‘https://mp.weixin.qq.com/mmbizappmsg/zh_CN/htmledition/js/scripts/vconsole-3.14.6.js’, function () { window.vConsole = new window.VConsole(); }); } if (document.cookie && document.cookie.indexOf(‘xweb_remote_debug_device_token’) > -1) {

_addScript('https://mp.weixin.qq.com/mmbizappmsg/zh_CN/htmledition/js/scripts/mprdev-0.3.0.js', function () {
  _addScript('https://mp.weixin.qq.com/mmbizappmsg/zh_CN/htmledition/js/scripts/xwebrd-0.0.2.js');
});

} })();

!function(){var e=document,t=e.createElement(“script”);if(!(“noModule”in t)&&“onbeforeload”in t){var n=!1;e.addEventListener(“beforeload”,(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute(“nomodule”)||!n)return;e.preventDefault()}),!0),t.type=“module”,t.src=”.“,e.head.appendChild(t),t.remove()}}();

System.import(document.getElementById(‘vite-legacy-entry’).getAttribute(‘data-src’))