You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
26 KiB

5 years ago
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="//<%=CSS_DOMAIN%>/qcloud/main/scripts/",t(0)}({0:function(e,t,n){"use strict";function r(){var e=window.location.href.split("#")[0],t=document.title,n=document.getElementById("shareThumbnail")||"";n&&(n=n.value);var r=n||"http://imgcache.qq.com/open_proj/proj_qcloud_v2/gateway/portal/css/img/home/responsive/m-qc-share.png",o=document.getElementsByName("description");return o=o&&o.length?o[0].getAttribute("content"):"",{title:t,link:e,imgUrl:r,desc:o,success:c.noop,cancel:c.noop}}function o(e,t,n){if(a.isInWechat()){var o=!1;e===!0&&(o=!0,e=null),"function"==typeof t&&"undefined"==typeof n&&(n=t,t={}),t||(t={});var i=void 0;"boolean"==typeof t.debug&&(i=t.debug),location.search.indexOf("!debug")>-1&&(i=!0);var c=r(),u={};if(e=e||window.WECHAT_SHARE_CONFIG,o&&s.info("init-share",{initConfig:JSON.stringify({WECHAT_SHARE_CONFIG:window.WECHAT_SHARE_CONFIG,defaultConfig:c})}),e&&e.default){u.default={};for(var f in c)u.default[f]=e.default[f]||c[f]}else u.default=c;for(var l in e)"default"!==l&&(u[l]=e[l]);var p=a.share(u,i);return"function"==typeof n&&p.then(function(e){return n(null,e)},function(e){return n(e)}),p}}var i=n("5zlo"),a=new i,c=n("K7ar"),s=n("vgsS"),u="miniprogram"===window.__wxjs_environment;o(!0),window.wechatJsSdk=e.exports={isInWeapp:u,share:o,setOption:function(e,t){a.options[e]=t},init:function(e,t){return c.wrapPromiseCallback(a.init.bind(a),e,t)},checkIsMiniprogram:function(e){return c.wrapPromiseCallback(a.checkIsMiniprogram.bind(a),e)}};try{Object.defineProperty(window.wechatJsSdk,"__api",{get:function(){return a}})}catch(e){}},knfd:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},"4E3U":function(e,t,n){e.exports=n("CVma")},CVma:function(e,t,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n("dgxz"),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},dgxz:function(e,t){!function(t){"use strict";function n(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),c=new h(r||[]);return a._invoke=u(e,n,c),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function i(){}function a(){}function c(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e){function t(n,o,i,a){var c=r(e[n],e,o);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&y.call(u,"__await")?Promise.resolve(u.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(u).then(function(e){s.value=e,i(s)},a)}a(c.arg)}function n(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function u(e,t,n){var o=P;return function(i,a){if(o===E)throw new Error("Generator is already running");if(o===I){if("throw"===i)throw a;return m()}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=f(c,n);if(s){if(s===R)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===P)throw o=I,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=E;var u=r(e,t,n);if("normal"===u.type){if(o=n.done?I:O,u.arg===R)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=I,n.method="throw",n.arg=u.arg)}}}function f(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,f(e,t),"throw"===t.method))return R;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return R}var o=r(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,R;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,