他本是伴郎,无奈整顿了菏泽执法……

他本是伴郎,无奈整顿了菏泽执法……

金融街1号狙击手

金融街1号狙击手
Weixin IDgh_4b999c6473e8

About Feature本公众号紧跟金融和法律八卦,紧跟时事问题,既做评论也追八卦。

2024-02-02 21:54**Posted on 北京

近日,一篇《要求查房人员出示警察证后,我被背铐至派出所》的文章引发关注。

据悉,被铐走的是一名毕业于西南政法大学的实习律师辩护人小柴 ,他因为让查房人员出示警察证件被用手铐强制带走。据其文章讲述,查房的原因是酒店存在登记不规范的问题,而他被戴手铐很莫名其妙。

2月2日,大河报·豫视频记者致电山东省菏泽市公安局宣传处,工作人员称不太了解,无法对外发声。

知情人士表示,实际发生地为山东省菏泽市,涉事派出所系牡丹区公安分局牡丹南路派出所。该分局分管副局长被记大过,派出所所长、带班所长被停职处理,当日值班民警停职检查,涉事的所有协警被开除处理。

当涉事警察、协警想到那一晚被他们嘲弄的卑微小子,究竟会是何种感想。

读书玩媒体确实有点用……

​以下为详细过程:

预览时标签不可点

People who liked this content also liked

⻓沙美⼥局⻓与小狼狗不雅聊天记录实录

⻓沙美⼥局⻓与小狼狗不雅聊天记录实录

 

金融街1号狙击手

不喜欢

不看的原因
OK

  • 内容质量低
  • 不看此公众号

“公募一哥”王亚伟被曝已失联多日!

“公募一哥”王亚伟被曝已失联多日!

 

金融街1号狙击手

不喜欢

不看的原因
OK

  • 内容质量低
  • 不看此公众号

无人问津处什么时候来临

无人问津处什么时候来临

 

金融街1号狙击手

不喜欢

不看的原因
OK

  • 内容质量低
  • 不看此公众号

Cancel

Comment

My Comments

Comment

Show My Comments

留言被精选后将公开

0条留言

Comment

Comment

全部留言

已无更多数据

Send Message

After being approved, comments along with IP regions are visible to everyone.

Close

Comment

Submit更多

表情

Comment


Scan to Follow

继续滑动看下一个

他本是伴郎,无奈整顿了菏泽执法……

金融街1号狙击手

轻触阅读原文

                    金融街1号狙击手                      

Like
Share
Wow

向上滑动看下一个

当前内容可能存在未经审核的第三方商业营销信息,请确认是否继续访问。

继续访问Cancel

微信公众平台广告规范指引

Got It


Scan with Weixin to
use this Mini Program

CancelAllow

CancelAllow

var totalCount = 0,
finishCount = 0;

function _addVConsole(uri, cb) {
totalCount++;
var node = document.createElement('SCRIPT');
node.type = 'text/javascript';
node.src = uri;
node.setAttribute('nonce', '1030422481');
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
) {
_addVConsole('https://mp.weixin.qq.com/mmbizappmsg/zh_CN/htmledition/js/scripts/vconsole-3.14.6.js', function () {
var vConsole = new window.VConsole();
});
}

})();var INLINE_SCRIPT = (function () {
'use strict';

var __setTitle = function __setTitle(showTitle, dom) {
var title = showTitle;
if (showTitle.indexOf('——') > -1) {
var replaceHtml = '——';
showTitle = showTitle.replace(/——/g, replaceHtml);
}
if (dom) {
dom.innerHTML = dom.innerHTML.replace(title, showTitle);
}
};
if (!window.second_open) {
var title = '他本是伴郎,无奈整顿了菏泽执法……';
__setTitle(title, document.getElementById('activity-name'));
window.__setTitle = __setTitle;
}

return __setTitle;

})();var INLINE_SCRIPT = (function () {
'use strict';

var __setPubTime = function __setPubTime(svrTime, oriCreateTime, createTime, dom) {
var oriTimestamp = oriCreateTime * 1;
var dateObj = new Date(oriTimestamp * 1000);
var padStart = function padStart(v) {
return "0".concat(v).slice(-2);
};
var year = dateObj.getFullYear();
var month = padStart(dateObj.getMonth() + 1);
var date = padStart(dateObj.getDate());
var hour = padStart(dateObj.getHours());
var minute = padStart(dateObj.getMinutes());
var showDate = year + '-' + month + '-' + date + ' ' + hour + ':' + minute;

if (dom) {
  dom.innerText = showDate;
}

};
if (!window.second_open) {
var svrDate = '1706966087';
var oriCreateTime = '1706882095';
var createTime = '2024-02-02 21:54';
__setPubTime(svrDate, oriCreateTime, createTime, document.getElementById('publish_time'));
window.__setPubTime = __setPubTime;
}

return __setPubTime;

})();if (!window.console) window.console = { log: function() {} };
if (typeof getComputedStyle == 'undefined') {
if (document.body.currentStyle) {
window.getComputedStyle = function(el) {
return el.currentStyle;
}
} else {
window.getComputedStyle = {};
}
}
(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 <= 9) {
isIE = true;
}
var isAccessibilityKey = 'isMpUserAccessibility';
var isAccessMode = window.localStorage.getItem(isAccessibilityKey);
var isCarton = isIE || '0' === '1' || '' === '1' || isAccessMode === '1';
var bodyWidth = '' * 1;
if (bodyWidth) {
var styles = getComputedStyle(document.getElementById('page-content'));
bodyWidth - parseFloat(styles.paddingLeft) - parseFloat(styles.paddingRight);
}
var getMaxWith = function () {
var container = document.getElementById('img-content');
var max_width = container.offsetWidth;
!max_width && bodyWidth && (max_width = bodyWidth);
var container_padding = 0;
var container_style = getComputedStyle(container);
container_padding = parseFloat(container_style.paddingLeft) + parseFloat(container_style.paddingRight);
max_width -= container_padding;
if (!max_width) {
max_width = window.innerWidth - 30;
}
return max_width;
};
var getParentWidth = function (dom) {
var parent_width = 0;
var parent = dom.parentNode;
var outerWidth = 0;
while (true) {
if (!parent || parent.nodeType != 1) break;
var parent_style = getComputedStyle(parent);
if (!parent_style) break;
parent_width = parent.clientWidth - parseFloat(parent_style.paddingLeft) - parseFloat(parent_style.paddingRight) - outerWidth;
if (parent_width > 16) 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) {

var u = arguments[1] || window.location.search,
  reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"),
  r = u.substr(u.indexOf("\?") + 1).match(reg);
return r != null ? r[2] : "";

};

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;

  if (widthNum > getParentWidth(item) && !breakParentWidth) {
    widthNum = getParentWidth(item);
  }

  var height = (widthNum - img_padding_border) * ratio + img_padding_border_top_bottom;

  if (isCarton) {
    var url = item.getAttribute('data-src');
    item.src = url;

   
    item.style.height = 'auto';
  } else {
   
   
   
   
    widthNum !== 'auto' && (item.style.cssText += ";width: " + widthNum + widthUnit + " !important;");
    widthNum !== 'auto' && (item.style.cssText += ";height: " + height + widthUnit + " !important;");
  }
}, 10);

}

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")) {
ratio
= 16 / 9;
} else {
ratio_ = 4 / 3;
}
} else {
for (var j = 1, jl = arr.length; j < jl; j++) {
var abs = Math.abs(arr[j] - ratio);
if (_abs < abs) {
abs = abs;
ret = arr[j];
}
}
ratio
= ret;
}

var parent_width = getParentWidth(dom) || max_width,
  width = width > 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 };

};

(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') || "";

  var vid = getQuery("vid", src_) || a.getAttribute('data-mpvid');
  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');

  videoPlaceHolderSpan.className = "js_img_placeholder wx_widget_placeholder";
  videoPlaceHolderSpan.setAttribute("data-vid", vid);
  videoPlaceHolderSpan.innerHTML = '<span class="weui-primary-loading"><span class="weui-primary-loading__dot"></span></span>';
  videoPlaceHolderSpan.style.cssText = "width: " + obj.w + "px !important;";

  insertAfter(videoPlaceHolderSpan, a);

  

 
  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 = "" || "" || "2247486313";
  var biz = "" || "Mzg3Mjc2MjM0OA==";
  var sessionid = "" || "svr_b476f87bf0a";
  var idx = "" || "1";

  (function sendReq(parentNode, copyIframe, index, vid) {
    ajax({
      url: '/mp/videoplayer?vid=' + vid + '&mid=' + mid + '&idx=' + idx + '&__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_4b999c6473e8";

        if (ori === 2 && selfUserName !== hit_username) {
          var videoBar = document.createElement('div');
          var videoBarHtml = '<div class="wx-edui-video_source_link js_wx_tap_highlight wx_tap_card" id="' + (hit_username + index) + '" data-hit-username="' + hit_username + '" data-hit-biz="' + sourceBiz + '">';
          videoBarHtml += '<div class="wx-edui-video_source_word">以下视频来源于</div>';
          videoBarHtml += '<div class="wx-edui-video_account_info">';
          videoBarHtml += '<div class="wx-edui-video_account_avatar" id="' + (hit_biz_headimg + index) + '" data-src="' + hit_biz_headimg + '"></div>';
          videoBarHtml += '<div class="wx-edui-video_account_name">' + hit_nickname + '</div>';
          videoBarHtml += '<i class="wx-edui-video_account_arrow"></i>';
          videoBarHtml += '</div>';
          videoBarHtml += '<div class="wx-edui-video_source_link__layer_mask"></div>';
          videoBarHtml += '</div>';
          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 - obj.sdh) + "px !important;margin-bottom: " + obj.sdh + "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 < jl; j++) {
var child = parent.children[j];
if (child.className.indexOf("js_img_placeholder") >= 0 && child.getAttribute("data-vid") == vid) {
child.style.cssText += "height: " + h + "px !important;";
child.style.display = "";
}
}
}
}
})();
})();(function () {
'use strict';

function _typeof(obj) {
"@babel/helpers - typeof";

return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
  return typeof obj;
} : function (obj) {
  return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
}, _typeof(obj);

}
window.__page_cls_ctrl__canRenderSilently = '__page_cls_ctrl__canRenderSilently' in window ? window.__page_cls_ctrl__canRenderSilently : true;
window.__page_cls_ctrl__forceRenderSilentlyList = '__page_cls_ctrl__forceRenderSilentlyList' in window ? window.__page_cls_ctrl__forceRenderSilentlyList : [];
window.__page_cls_ctrl__compRenderInfo = '__page_cls_ctrl__compRenderInfo' in window ? window.__page_cls_ctrl__compRenderInfo : {};

var g = {
defaultContentTpl: '',
config: [{
querySelector: 'redpacketcover',

  genId: function genId() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return decodeURIComponent(opt.node.getAttribute('data-coveruri') || '');
  },
  
  calW: function calW() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return opt.parentWidth * 0.7854;
  },
  
  calH: function calH() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return this.calW({
      parentWidth: opt.parentWidth
    }) / 0.73346 + 27 + 37;
  },

  replaceContentCssText: '',
  outerContainerLeft: '',
  outerContainerRight: ''
},
{
  querySelector: 'mppoi',
  genId: function genId() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return opt.node.getAttribute('data-id') || '';
  },
  calW: function calW() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return opt.parentWidth * 1;
  },
  calH: function calH() {
    return 219;
  },
  replaceContentCssText: '',
  appendContentCssText: 'diplay:block;',
  outerContainerLeft: '',
  outerContainerRight: ''
},
{
  querySelector: 'mpsearch',
  genId: function genId() {
    return decodeURIComponent('mp-common-search');
  },
  calW: function calW() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return opt.parentWidth * 1;
  },
  calH: function calH() {
    return 100;
  },
  replaceContentCssText: '',
  appendContentCssText: 'diplay:block;',
  outerContainerLeft: '',
  outerContainerRight: ''
},
{
  querySelector: 'mpvideosnap',
  genId: function genId() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    var type = opt.node.getAttribute('data-type') || 'video';
    if (type === 'live') {
      return decodeURIComponent(opt.node.getAttribute('data-noticeid') || '');
    }
    return decodeURIComponent(opt.node.getAttribute('data-id') || '');
  },
  calW: function calW() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    var type = opt.node.getAttribute('data-type') || 'video';
    var width = opt.node.getAttribute('data-width') || '';
    var height = opt.node.getAttribute('data-height') || '';
    if (type === 'live' || type === 'topic') {
      return opt.parentWidth;
    }
    var ratio = 1;
    ratio = width / height;
    var computedHeight = 0;
    var computedWidth = 0;
    var isHorizontal = false;
    if (ratio === 1 || ratio === 3 / 4) ; else if (ratio === 4 / 3 || ratio === 16 / 9) {
      isHorizontal = true;
    } else if (ratio < 3 / 4) {
      ratio = 3 / 4;
    } else if (ratio > 1 && ratio < 4 / 3) {
      ratio = 1;
    } else if (ratio > 4 / 3) {
      isHorizontal = true;
    } else if (typeof ratio === 'number' && !Object.is(ratio, NaN)) ; else {
      ratio = 1;
    }
    opt.node.setAttribute('data-ratio', ratio);
    opt.node.setAttribute('data-isHorizontal', isHorizontal);
    if (isHorizontal === true) {
      computedWidth = opt.parentWidth;
    } else {
      if (window.innerWidth < 1024) {
        computedWidth = window.innerWidth * 0.65;
      } else {
        computedWidth = opt.parentWidth * 0.65;
      }
    }
    computedHeight = computedWidth / ratio;
    computedHeight = Math.round(computedHeight);
    computedWidth = Math.round(computedWidth);
    opt.node.setAttribute('data-computedWidth', computedWidth);
    opt.node.setAttribute('data-computedHeight', computedHeight);
    return computedWidth;
  },
  calH: function calH() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    var desc = opt.node.getAttribute('data-desc') || '';
    var type = opt.node.getAttribute('data-type') || 'video';
    var computedHeight = opt.node.getAttribute('data-computedHeight') || '';
    switch (type) {
      case 'live':
        return desc ? 152 : 116;
      case 'topic':
        return 201;
      case 'image':
      case 'video':
        return parseFloat(computedHeight);
    }
  },
  getBorderRadius: function getBorderRadius() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    var type = opt.node.getAttribute('data-type') || 'video';
    if (type === 'video') {
      return 4;
    }
    return 8;
  },
  replaceContentCssText: '',
  appendContentCssText: 'display:flex;margin:0px auto;',
  outerContainerLeft: '',
  outerContainerRight: ''
}, {
  querySelector: 'mp-wxaproduct',
  genId: function genId() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return decodeURIComponent(opt.node.getAttribute('data-wxaproduct-productid') || '');
  },
  calW: function calW() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return opt.parentWidth * 1 || '100%';
  },
  calH: function calH() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    var cardtype = opt.node.getAttribute('data-wxaproduct-cardtype') || '';
    return cardtype === 'mini' ? 124 : 466;
  },
  replaceContentCssText: '',
  outerContainerLeft: '',
  outerContainerRight: ''
}, {
  querySelector: 'mpprofile',
  genId: function genId(opt) {
    return opt.node.getAttribute('data-id') || '';
  },
  calW: function calW() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return opt.parentWidth * 1;
  },
  calH: function calH() {
    return 143;
  },
  replaceContentCssText: '',
  appendContentCssText: 'diplay:block;',
  outerContainerLeft: '',
  outerContainerRight: ''
},
{
  querySelector: 'mp-common-sticker',
  genId: function genId(opt) {
    return opt.node.getAttribute('data-md5') || '';
  },
  calW: function calW() {
    return 120;
  },
  calH: function calH() {
    return 120;
  },
  replaceContentCssText: '',
  appendContentCssText: 'diplay:block;',
  outerContainerLeft: '<div style="display: flex; justify-content: center;">',
  outerContainerRight: '</div>'
}, {
  querySelector: 'mp-common-product',
  genId: function genId(opt) {
    return opt.node.getAttribute('data-windowproduct') || '';
  },
  calW: function calW() {
    var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return opt.parentWidth * 1 || '100%';
  },
  calH: function calH(opt) {
    var customstyle = opt.node.getAttribute('data-customstyle') || '{}';
    if (customstyle) {
      try {
        var _JSON$parse = JSON.parse(customstyle),
          display = _JSON$parse.display,
          height = _JSON$parse.height;
        if (display !== 'none') {
          var customHeight = height.split('px')[0];
          var ratio = opt.parentWidth / 350.0 || 1;
          customHeight = Math.round(customHeight * ratio);
          return customHeight;
        }
        return 0;
      } catch (err) {
        console.error(err);
      }
    }
    return 0;
  },
  replaceContentCssText: '',
  appendContentCssText: 'diplay:block;',
  outerContainerLeft: '<div style="display: flex; margin: 0 auto 24px;">',
  outerContainerRight: '</div>'
}
]

};

function preloadingInit() {
var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
if (typeof document.querySelectorAll !== 'function') {
return;
}
var g = {
maxWith: document.getElementById('img-content').getBoundingClientRect().width,
idAttr: 'data-preloadingid'
};
for (var i = 0, il = opt.config.length; i < il; i++) {
var a = opt.config[i];
var list = document.querySelectorAll(a.querySelector);
for (var j = 0, jl = list.length; j < jl; j++) {
var node = list[j];
var parentWidth = node.parentNode.getBoundingClientRect().width;
parentWidth = Math.min(parentWidth, g.maxWith);

    if (node.getAttribute('has-insert-preloading')) {
      continue;
    }
    var nodeW = a.calW({
      parentWidth: parentWidth,
      node: node
    });
    var nodeH = a.calH({
      parentWidth: parentWidth,
      node: node
    });
    var nodeId = a.genId({
      index: j,
      node: node
    });
    var nodeBorderRadius = typeof a.getBorderRadius === 'function' ? a.getBorderRadius({
      index: j,
      node: node
    }) : 8;

    if (typeof nodeW === 'number') {
      nodeW += 'px';
    }
    var imgHtml = opt.defaultContentTpl.replace(/#height#/g, nodeH).replace(/#width#/g, nodeW).replace(/#borderRadius#/g, nodeBorderRadius);
    var tmpNode = document.createElement('div');
    tmpNode.innerHTML = imgHtml;
    if (a.replaceContentCssText) {
      var replaceContentCssText = a.replaceContentCssText.replace(/#height#/g, nodeH).replace(/#width#/g, nodeW);
      tmpNode.firstChild.style.cssText = replaceContentCssText;
    } else if (a.appendContentCssText) {
      tmpNode.firstChild.style.cssText += a.appendContentCssText;
    }
    var html = (a.outerContainerLeft || '') + tmpNode.innerHTML + (a.outerContainerRight || '');
    tmpNode.innerHTML = html;
    tmpNode.firstChild.setAttribute(g.idAttr, nodeId);
    node.parentNode.insertBefore(tmpNode.firstChild, node.nextSibling);
    node.setAttribute('has-insert-preloading', '1');
  }
}

}
function init() {
preloadingInit(g);
}

function decode(str) {
var replace = ["`", "`", "'", "'", """, '"', " ", " ", ">", ">", "<", "<", "¥", "¥", "&", "&"];
for (var i = 0; i < replace.length; i += 2) {
str = str.replace(new RegExp(replace[i], 'g'), replace[i + 1]);
}
return str;
}
function getQuery(url) {
url = url || 'http://qq.com/s?a=b#rd';
var tmp = url.split('?'),
query = (tmp[1] || '').split('#')[0].split('&'),
params = {};
for (var i = 0; i &