Files
schoolNews/schoolNewsCrawler/crawler/xxqg/search/search/common.1a7d458905e4d4536867.js

1 line
20 KiB
JavaScript

webpackJsonp([3],{166:function(t,e,n){"use strict";function r(t,e,n){var r=(window.DEDAULT_LOG,function(){n&&n()});"object"===("undefined"===typeof t?"undefined":s(t))&&(t=[l,a.a.param(t)].join("")),u.a.ajax({url:t,type:"get",timeout:e||5e3,dataType:"text",complete:function(){r()}})}function i(t,e){var n=(window.DEDAULT_LOG,e||t.__BASE__||l),r=void 0;return delete t.__BASE__,r=a.a.param(t),(n+="?")+r}function o(t,e,n){if(t){t=a.a.extend({},p(),t||{});var o=i(t)+"&_t="+ +new Date,c=function(t,e){var n=document.createElement("a");if(n.href=t,t=n.href,n.innerHTML="click",/^https?:\/\//i.test(t)&&!f){var r=document.createEvent("MouseEvents");r.initEvent("click",!0,!0),n.dispatchEvent(r)}else/^javascript:.*/i.test(t)};n=isNaN(n)?200:n,e?a.a.isFunction(e)?r(o,n,e):"string"===typeof e?r(o,n,function(){c(e)}):"A"==e.tagName.toUpperCase()&&r(o,n,function(){c(e.href)}):r(o)}}var a=n(260),c=n(261),u=n.n(c),s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f=!1,l="https://"+("online"==window.env?"log.xuexi.cn":"search-log-pre.xxptcs.com")+"/0.gif",p=(a.a.getCookie("__UID__"),function(){return a.a.extend(window.DEDAULT_LOG,{q:a.a.queryString(window.location.search).get("query")})}),d=function(t){var e={},n={};if(t=[].slice.call(t,0).reverse(),t.forEach(function(t,r){var i=a.a.deserialize(JSON.parse(t.getAttribute("data-meta")||"{}"));if(i&&i["data-meta"]){i["data-meta"].split(";").forEach(function(t){var n=t.split(":");2==n.length&&(e[n[0]]=n[1])})}a.a.extend(n,i||{})}),!a.a.isEmptyObject(e)){var r=[];for(var i in e)r.push(i+":"+e[i]);n["data-meta"]=r.join(";")}return n},h=function(t){var e=t.getAttribute("data-meta")||"{}",n=t.getAttribute("href");if("object"!==("undefined"===typeof e?"undefined":s(e))&&"undefined"!==typeof e){var r=void 0;if(1*e)r={sps:e};else try{r=JSON.parse(e)}catch(t){r={}}e=r}return/^https*:\/\//i.test(n)&&(e=a.a.extend({url:n},e)),e};e.a={send:function(t,e,n){if(t){var r=a.a.parents(t,"[data-meta]"),i=t.getAttribute("data-meta")?(r.unshift(t),r):r,c=d(i),u=h(t),s=a.a.extend({},p(),c,u,e||{});t.getAttribute("data-url")||t.getAttribute("href");o(s,n,parseInt(t.getAttribute("data-timeout")))}},jLog:o}},260:function(t,e,n){"use strict";function r(t,e){if(!t||1!==t.nodeType)return!1;var n=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var r,i=t.parentNode,a=!i;if(i)return a&&(i=d).appendChild(t),r=~o(i,e).indexOf(t),r&&a&&d.removeChild(t),r}function i(t,e){var n,r,i;if("undefined"===typeof t||"undefined"===typeof e)throw new Error('"newVer" or "oldVer" is undefined');t=String(t).split("."),e=String(e).split("."),n=Math.min(t.length,e.length);for(var o=0;o<n;o++){if(r=parseInt(t[o]),(i=parseInt(e[o]))>r)return 1;if(i<r)return-1}return 0}function o(t,e){var n,r="#"==e[0],i=!r&&"."==e[0],o=r||i?e.slice(1):e,a=p.test(o),c=v(t)&&a&&r?(n=t.getElementById(o))?[n]:[]:1!==t.nodeType&&9!==t.nodeType?[]:l.call(a&&!r?i?t.getElementsByClassName(o):t.getElementsByTagName(e):t.querySelectorAll(e));return c||!1}var a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c=window.encodeURIComponent,u=window.decodeURIComponent,s={},f=s.toString,l=(navigator.userAgent,[].slice),p=/^[\w-]*$/;"Boolean Number String Function Array Date RegExp Object Error".split(" ").forEach(function(t,e){s["[object "+t+"]"]=t.toLowerCase()});var d=document.createElement("div"),h=function(t){return null==t?String(t):s[f.call(t)]||"object"},_=function(t){return"function"==h(t)},m=function(t){return null!=t&&t==t.window},g=function(t){return"object"==h(t)&&!m(t)&&Object.getPrototypeOf(t)==Object.prototype},v=function(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE},y=function(t){return"string"==h(t)},b=function(t){return"undefined"==h(t)};e.a={setCookie:function(t,e,n,r){var i=t+"="+c(e);r&&(i+=";domain="+r),n&&(i+=";path=/;expires="+n.toGMTString()+";"),document.cookie=i},getCookie:function(t){var e=new RegExp("(^| )"+t+"=([^;]*)(;|$)"),n=e.exec(document.cookie);return n?u(n[2])||null:null},extend:function(t){var e=[].slice.call(arguments,1),n=t;return e.forEach(function(t){for(var e in t)n[e]=t[e]}),n},compareVersion:i,isEmptyObject:function(t){for(var e in t)return!1;return!0},serialize:function(t,e,n,r){var i=void 0,o=Array.isArray(e),a=this.isPlainObject(e);for(var c in e){var u=e[c];i=this.type(u),r&&(c=n?r:r+"["+(a||"object"==i||"array"==i?c:"")+"]"),!r&&o?t.add(u.name,u.value):"array"==i||!n&&"object"==i?this.serialize(t,u,n,c):t.add(c,u)}},type:h,isFunction:_,isWindow:m,isPlainObject:g,isString:y,isDocument:v,isUndefined:b,param:function(t,e){var n=[];return n.add=function(t,e){this.push(c(t)+"="+c(e))},this.serialize(n,t,e),n.join("&").replace(/%20/g,"+")},parents:function(t,e){if(t){for(var n=[],i=[t],o=this;i.length>0;){for(var a=[],c=0,u=i.length;c<u;c++){var s=i[c];s&&(s=s.parentNode)&&!o.isDocument(s)&&n.indexOf(s)<0&&(n.push(s),a.push(s))}i=a}return function(t,e){return null==e?t:t.filter(function(t){return r(t,e)})}(n,e)}},unescape:function(t){var e=[];if("string"!==typeof t)return t;for(var n=0,r=t.length;n<r;n++)e.push(1^t[n].charCodeAt());return String.fromCharCode.apply(0,e)},deserialize:function(t){var e;try{return t?"true"==t||"false"!=t&&("null"==t?null:isNaN(e=Number(t))||e+""!==t?/^[\[\{]/.test(t)?JSON.parse(t):t:e):t}catch(e){return t}},on:function(){return document.addEventListener?function(t,e,n){t&&e&&n&&t.addEventListener(e,n,!1)}:function(t,e,n){t&&e&&n&&t.attachEvent("on"+e,n)}}(),off:function(){return document.addEventListener?function(t,e,n){t&&e&&n&&t.removeEventListener(e,n,!1)}:function(t,e,n){t&&e&&n&&t.detachEvent("on"+e,n)}}(),once:function(t,e,n){var r=this,i=function i(){n&&n.apply(this,arguments),r.off(t,e,i)};this.on(t,e,i)},hasClass:function(t,e){if(!t||!e)return!1;if(-1!==e.indexOf(" "))throw new Error("className should not contain space.");return t.classList?t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1},addClass:function(t,e){if(t){for(var n=t.className,r=(e||"").split(" "),i=0,o=r.length;i<o;i++){var a=r[i];a&&(t.classList?t.classList.add(a):this.hasClass(t,a)||(n+=" "+a))}t.classList||(t.className=n)}},removeClass:function(t,e){if(t&&e){for(var n=e.split(" "),r=" "+t.className+" ",i=0,o=n.length;i<o;i++){var a=n[i];a&&(t.classList?t.classList.remove(a):this.hasClass(t,a)&&(r=r.replace(" "+a+" "," ")))}t.classList||(t.className=this.trim(r))}},trim:function(t){return(t||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},queryString:function(){function t(t){this.search=t||""}return t.prototype={toString:function(){return this.search},get:function(t){var e=this;return(e.search.match(e.makeReg(c(t)))||["","",null])[2]||""},set:function(t,e,n){var r=c(t),i=e?c(e):"",o=this,a=o.search,u=o.makeReg(r);u.test(a)?o.search=n?a.replace(u,"$1").replace(/&($|#.*)/,"$1"):a.replace(u,"$1"+r+"="+i+"$3"):n||o.add(r,i)},add:function(t,e){var n=this;n.search?n.search=n.search.replace(/([^#]+)(#.*)?/,"$1&"+t+"="+e+"$2"):n.search="?"+t+"="+e},makeReg:function(t){return new RegExp("(\\?|&)"+t+"(?:&|$|=(.*?)(&|#|$))")}},function(e){var n=new t(e||window.location.search),r={get:function(t){return decodeURIComponent(n.get(t).toString())},set:function(t,e){return n.set(t,e),r},del:function(t){return n.set(t,"",1),r},toString:function(){return n.toString()}};return r}}(),throttle:function(t,e,n){var r=null,i=this;return function(){var o=this,a=arguments;if(i.isFunction(e)){if(!e.call(o))return}clearTimeout(r),r=setTimeout(function(){i.isFunction(t)&&t.apply(o,a)},n||0)}},des:function(t){var e=[];if("string"!==typeof t)return t;for(var n=0,r=t.length;n<r;n++)e.push(1^t[n].charCodeAt());return String.fromCharCode.apply(0,e)},supportOrientation:function(){return"number"===typeof window.orientation&&"object"===a(window.onorientationchange)}}},35:function(t,e,n){"use strict";function r(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){function r(i,o){try{var a=e[i](o),c=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(c).then(function(t){r("next",t)},function(t){r("throw",t)});t(c)}return r("next")})}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=n(570),u=n.n(c),s=n(573),f=(n.n(s),n(576)),l=n.n(f),p=n(259),d=n.n(p),h=n(0),_=n.n(h),m=n(120),g=n.n(m),v=n(99),y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=void 0,O=void 0,w=void 0,E={program_id:[{val:"0",text:"\u5168\u90e8",cp:"search"},{val:"2",text:"\u4e60\u8fd1\u5e73\u65e5\u5fd7",cp:"rizhi"},{val:"1",text:"\u4e60\u8fd1\u5e73\u6587\u6c47",cp:"wenhui"},{val:"3",text:"\u5168\u56fd\u5b66\u4e60\u5e73\u53f0",cp:"region_xxpt"}],type_filter:[{val:"all",text:"\u5168\u90e8\u7c7b\u578b",tabs:["0","3"]},{val:"news",text:"\u56fe\u6587",tabs:["0","3"]},{val:"picture",text:"\u56fe\u96c6",tabs:["0","3"]},{val:"video",text:"\u89c6\u9891",tabs:["0","3"]},{val:"book",text:"\u4e66\u7c4d",tabs:["0"]},{val:"audio",text:"\u97f3\u9891",tabs:["3"]},{val:"special",text:"\u4e13\u9898",tabs:["3"]}],time_filter:[{val:"all",text:"\u5168\u90e8\u65f6\u95f4"},{val:"week",text:"\u4e00\u5468\u5185"},{val:"month",text:"\u4e00\u6708\u5185"},{val:"6month",text:"\u534a\u5e74\u5185"},{val:"year",text:"\u4e00\u5e74\u5185"},{val:"custom",text:"\u81ea\u5b9a\u4e49"}],sort_method:[{val:"integrated",text:"\u7efc\u5408\u6392\u5e8f"},{val:"latest",text:"\u6700\u65b0\u53d1\u5e03"}],search_method:[{val:"all",text:"\u5168\u6587\u68c0\u7d22"},{val:"title",text:"\u6807\u9898\u68c0\u7d22"}]},R={request:function(t){return t.method=t.method||"get",t.type="json",t.data=t.data||{},t.data._t=(new Date).getTime(),t.timeout=5e3,t.withCredentials=!0,t.crossOrigin=!0,t.headers=v.a.backEndLogInfo,new Promise(function(e,n){d()(t).then(function(r){r?0==r.status?e(r.data):(r.ret&&-20002!==r.ret&&!t.noUseMessage&&l.a.error(r.error||"\u672a\u77e5\u9519\u8bef"),n(r)):n(r)}).fail(function(t,e){var r=e&&e.search("timeout")?"timeout":"error";n({type:r,err:t})})})},isEmpty:function(t){return!t||!Object.keys(t).length},asyncComponent:function(t){return function(e){function n(t){i(this,n);var e=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return e.state={component:null},e}return a(n,e),y(n,[{key:"componentDidMount",value:function(){function e(){return n.apply(this,arguments)}var n=r(u.a.mark(function e(){var n,r;return u.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:n=e.sent,r=n.default,this.setState({component:r});case 5:case"end":return e.stop()}},e,this)}));return e}()},{key:"render",value:function(){var t=this.state.component;return t?_.a.createElement(t,this.props):null}}]),n}(h.Component)},postMessageForSearch:function(t){var e=window.parent;if(window.top!==window.self){for(var n in t)t[n]=encodeURIComponent(t[n]);t._t=(new Date).getTime(),e.postMessage(JSON.stringify({type:"search",data:t}),"*")}else window.location.href=window.PAGE.prePathName+"/index.html?"+g.a.stringify(t)},postMessageForHeight:function(t){var e=window.parent;window.top!==window.self&&e.postMessage(JSON.stringify({type:"resize",data:{height:t}}),"*")},toHTML:function(t){if(!t)return"";var e={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'"},n=t;for(var r in e){var i=new RegExp(r,"g");n=n.replace(i,e[r])}return n},getHid:function(t){for(var e="",n=t,r=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],i=0;i<n;i++){e+=r[Math.round(Math.random()*(r.length-1))]}return e},iframeAutoResize:function(){var t=document.body,e=function(t){O!==t&&(O=t,R.postMessageForHeight(t))},n=function(){e(t.offsetHeight)},r=window.MutationObserver||window.WebKitMutationObserver;r?(w&&w.disconnect(),function(){var n={attributes:!0,attributeFilter:["style"],attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};try{w=new r(function(n){e(t.offsetHeight)}),w.observe(t,n)}catch(t){}}(),window.removeEventListener("resize",n),window.addEventListener("resize",n)):function n(){e(t.offsetHeight),clearTimeout(b),b=setTimeout(function(){n()},500)}()},FilterSetting:E,TabChannel:{getId:function(t){for(var e in E.program_id)if(E.program_id[e].cp===t)return E.program_id[e].val}},decode:function(t){return t.replace(/&#39;/g,"'").replace(/&#60;/g,"<").replace(/&#62;/g,">")}};e.a=R},590:function(t,e,n){var r,i;!function(o){var a;if(r=o,void 0!==(i="function"===typeof r?r.call(e,n,e,t):r)&&(t.exports=i),a=!0,t.exports=o(),a=!0,!a){var c=window.Cookies,u=window.Cookies=o();u.noConflict=function(){return window.Cookies=c,u}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function n(r){function i(){}function o(e,n,o){if("undefined"!==typeof document){o=t({path:"/"},i.defaults,o),"number"===typeof o.expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(t){}n=r.write?r.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var c="";for(var u in o)o[u]&&(c+="; "+u,!0!==o[u]&&(c+="="+o[u].split(";")[0]));return document.cookie=e+"="+n+c}}function a(t,n){if("undefined"!==typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var c=o[a].split("="),u=c.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var s=e(c[0]);if(u=(r.read||r)(u,s)||e(u),n)try{u=JSON.parse(u)}catch(t){}if(i[s]=u,t===s)break}catch(t){}}return t?i[t]:i}}return i.set=o,i.get=function(t){return a(t,!1)},i.getJSON=function(t){return a(t,!0)},i.remove=function(e,n){o(e,"",t(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}return n(function(){})})},592:function(t,e,n){"use strict";function r(){return!0}e.a=r},99:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){return(f.a.parse(window.location.search)||{})[t]||""}function o(t){switch(Number(t)){case 0:return"all";case 2:return"journal";case 1:return"article";case 3:return"platform";default:return"unknown"}}function a(t){var e={},n={time_filter:"all",sort_method:"integrated",search_method:"all",type_filter:"all"};try{e=JSON.parse(i("product_params")||"{}")}catch(t){}return e[t]||n[t]}function c(t){var e=f.a.parse(window.location.search)||{};return e.turning&&e.p_hid?1:e.turning||1!==Number(t.page_number)||e.p_hid?1===Number(t.page_number)&&e.p_hid?4:void 0:0}n.d(e,"a",function(){return E});var u=n(584),s=n(120),f=n.n(s),l=n(69),p=n.n(l),d=n(592),h=n(260),_=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&c.return&&c.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),g=function(t){for(var e="",n=t,r=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],i=0;i<n;i++){e+=r[Math.round(Math.random()*(r.length-1))]}return e},v="xiaokang"===(f.a.parse(window.location.search)||{}).target,y=Object(d.a)()?"https://dp.xuexi.cn/api/v1/processLogData":"https://dp.xxptcs.com/api/v1/processLogData",b={base:{log_url:y,is_seer:!0,is_http_inapp:!1,dataCallback:function(t){return t}},pv:{is_seer:!0,read_id:g(32)+"_"+(new Date).getTime(),resumed:!0,heart_time:0,dataCallback:function(t){return t}},click:{is_seer:!1,async:!1,next_page:{cross_origin:!0,native_fields:["native_field_1","native_field_2"]||{native_field_name:"field_rename"},next_biz:{},nextBizCallback:function(t){return t}}},expose:{is_seer:!0,throttle_time:500,nextBizCallback:function(t){return t}}},O=function(){function t(){r(this,t),this.REPORT_INFO_STORAGE={page_url:window.location.href,phid:i("p_hid")||g(32),hid:"",query_word:i("query"),word_type:1,program_id:i("program_id"),biz_page:v?"pcxiaokang_search_result_list":"pcsearch_result_list",page_number:i("page"),biz_type:"qg_main_pc"},this.YLOG=null,this.report=u.a.record}return m(t,[{key:"init",value:function(){u.a.setMetaInfo("ylog-waiting",""),u.a.setMetaInfo("ylog-auto-exp",'[{"tag":"div", "filter":"data-spm-exp"},{"tag":"a", "filter":"data-spm-exp"}]'),u.a.setMetaInfo("data-spm",this.REPORT_INFO_STORAGE.biz_type),document.body&&document.body.setAttribute("data-spm",this.REPORT_INFO_STORAGE.biz_page),this._setIntPvInfo(),this.YLOG=new u.a(b)}},{key:"_setIntPvInfo",value:function(){var t=Object.assign({},this._common_report_info);u.a.setMetaInfo("ylog-pvdata","biz_args="+encodeURIComponent(JSON.stringify(t)))}},{key:"updateReportInfo",value:function(t,e){this.REPORT_INFO_STORAGE[t]=e}},{key:"updateReportInfoByObj",value:function(t){var e=this;if(!p()(t))throw Error("[\u8bbe\u7f6e \u4e0a\u62a5\u516c\u5171\u53c2\u6570 \u51fa\u9519]"+t+" \u4e0d\u662fobject\u7c7b\u578b");Object.entries(t).forEach(function(t){var n=_(t,2),r=n[0],i=n[1];return e.updateReportInfo(r,i)})}},{key:"reportState",value:function(t){var e=Object.assign({},this._common_report_info,{hid:t.hid}),n={failed:"search_fail_state",timeout:"search_overtime_state","empty-result":"search_noresult_state"};u.a.record("state",{biz_type:this.REPORT_INFO_STORAGE.biz_type,biz_page:this.REPORT_INFO_STORAGE.biz_page,biz_args:e,event_args:{state_name:n[t.status],state_result:0}})}},{key:"reportRefresh",value:function(t){this.updateReportInfo("hid",t.hid);var e=Object.assign({},this._common_report_info,{page_no:t.page,query:t.query,hid:t.hid,hit:15});u.a.record("refresh",{biz_type:this.REPORT_INFO_STORAGE.biz_type,biz_page:this.REPORT_INFO_STORAGE.biz_page,biz_args:e,event_args:{pull_type:c(this.REPORT_INFO_STORAGE),is_auto:0}})}},{key:"reportSearchBtnClick",value:function(){var t={query:this._common_report_info.query,word_type:1,page_url:this._common_report_info.page_url};u.a.record("click",{biz_type:this.REPORT_INFO_STORAGE.biz_type,biz_page:this.REPORT_INFO_STORAGE.biz_page,biz_args:t,event_args:{element:"search_box",module:"toolbar_top"}})}},{key:"_common_report_info",get:function(){return{phid:this.REPORT_INFO_STORAGE.phid,hid:this.REPORT_INFO_STORAGE.hid,word_type:this.REPORT_INFO_STORAGE.word_type,query:this.REPORT_INFO_STORAGE.query_word,tab_name_one:o(this.REPORT_INFO_STORAGE.program_id),publish_time:a("time_filter"),filter_content_type:a("type_filter"),sort_method:a("sort_method"),search_method:a("search_method"),search_type:v?"pcxiaokang--pc":"pcsearch-pc",biz_page:this.REPORT_INFO_STORAGE.biz_page,page_url:this.REPORT_INFO_STORAGE.page_url,page_no:this.REPORT_INFO_STORAGE.page_number}}},{key:"backEndLogInfo",get:function(){return{phid:this.REPORT_INFO_STORAGE.phid,tab_name_one:encodeURIComponent(o(this.REPORT_INFO_STORAGE.program_id)),biz_page:this.REPORT_INFO_STORAGE.biz_page,word_type:this.REPORT_INFO_STORAGE.word_type,page_no:this.REPORT_INFO_STORAGE.page_number,request_uri:window.API.search,client_t:(new Date).getTime(),client:JSON.stringify({screenWidth:document.body.offsetWidth,screenHeight:document.body.offsetHeight}),pull_type:c(this.REPORT_INFO_STORAGE),device_id:h.a.getCookie("__UID__")}}}]),t}(),w=new O,E=w}});