1define("pc/js/utils/utils.es6",function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=window,r=(t.getCurrentPathName=function(){return n.location?n.location.pathname:""},t.getRequestHost=function(){var e="console.ishumei.com",t=location.protocol,o=-1!==e.indexOf("www.ishumei.com"),n="";if(o){var r=/(.*)\.www\.(?:ishumei)\.com/i;if(r.test(e)){var i=e.match(r);n=i&&i[1]?t+"//"+i[1]+".console.ishumei.com":t+"//"+e}else n=t+"//"+e}else n=t+"//"+e;return n},t.getNewHost=function(){var e=location.href,t=location.protocol,o=-1!==e.indexOf("www.ishumei.com"),n="";if(o){var r=/(.*)\.www\.(?:ishumei)\.com/i;if(r.test(e)){var i=e.match(r);n=i&&i[1]?i[1]+".console.ishumei.com":t+"//console.ishumei.com"}else n=t+"//console.ishumei.com"}else n=t+"//console.ishumei.com";return n},t.Storage={set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)||""},remove:function(e){localStorage.removeItem(e)}}),i=t.getUrlParams=function(){var e=location.href||"",t=e.split("?"),o={};if(t[1]){var n=t[1].split("&");return $.each(n,function(e,t){var n=t.split("=");o[n[0]]=decodeURIComponent(n[1])}),o}return{}},u=function(e){var t=/^(?:https?)\:\/\/([^\/]*)\/?/,o=String(e).match(t);return o?o[1]||"":""};t.getUrlData=function(){var e=location.href||"",t=i(e),o=r.get("firstKeyUrl")||"",n=r.get("keyRefererHostOut")||"";return $.extend({applyReferer:e,keyUrl:o,keyReferer:n||"",keyRefererHost:u(n)},t)},t.Cookie={set:function(e,t,o){o=o||{path:"/",expires:62208e6};var n=o.expires;"number"==typeof n&&(n=new Date,n.setTime(n.getTime()+o.expires));try{return document.cookie=e+"="+escape(t)+(n?";expires="+n.toGMTString():"")+(o.path?";path="+o.path:"")+(o.domain?"; domain="+o.domain:""),!0}catch(e){return!1}},get:function(e,t){try{var o=void 0,n=new RegExp("(^| )"+e+"=([^;]*)(;|$)");if(o=document.cookie.match(n))return unescape(o[2])}catch(e){}return t},remove:function(e,t){this.set(e,null,{path:"/",domain:t||"",expires:-1})}},t.getUrlName=function(){var e=location.href||"",t=window.location.protocol,o=["www","intl","help","console"];try{var n="";if("www"===(n=e.indexOf("ishumei")>-1?e.match(/\/\/(\S*).ishumei/)[1]:e.match(/\/\/(\S*).fengkongcloud/)[1])){var r={};return o.map(function(e){r[e]=t+"//"+e+".ishumei.com"}),r}var i={},u="";return n&&(u=n.indexOf(".")>-1?n.split(".")[0]+".":n.split("-")[0]+"-"),o.map(function(e){i[e]=t+"//"+u+e+".ishumei.com"}),i}catch(e){return{www:"https://www.ishumei.com",intl:"https://intl.ishumei.com",help:"https://help.ishumei.com",console:"https://console.ishumei.com"}}},t.quickFill=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],o=$(t).outerWidth(),n=$(t).outerHeight(),r=t,i="";if($("#quick_fill_ul").remove(),e.length){i+='<div id="quick_fill_ul" style="max-height:150px;z-index: 1;overflow-y: auto;background: white;display: none;border: 1px solid darkgray;position: absolute">';for(var u=0;u<e.length;u++)i+='<div class="x-l-1" style="text-indent: 0.5em">'+e[u].name+"</div>";i+="</div>"}
1var l=$(i);l.css({left:$(r).offset().left,top:$(r).offset().top+n}),$(r).after(l),$(l).show(),$(".x-l-1").mouseover(function(){$(this).css("background-color","rgba(20,225,205,0.18)")}),$(".x-l-1").mouseout(function(){$(this).css("background-color","white")});var a=o-2;$(".x-l-1").css("width",a+"px"),$(".x-l-1").css("height",n+"px"),$(".x-l-1").css("padding-left","10px"),$(".x-l-1").css("line-height",n+"px"),l.children().click(function(){$(r).val($(this).text()),$(l).hide()}),$(document).on("click",function(e){e.stopPropagation(),"quick_fill_id"!==$(e.target).attr("id")&&$(l).hide()})},t.urlList=function(){return[{name:"è¥é飿§",url:"new/product/tw/marketing"},{name:"æ°æ®é²çç¬",url:"new/product/tw/fdp"},{name:"æ¸ éæµéåä½å¼",url:"product/tw-post-channel.html"},{name:"å·æ¦å·å鲿¤",url:"product/tw-post-brush.html"},{name:"èåç¨æ·è£åè¯å«",url:"product/tw-post-fission.html"},{name:"交æé£æ§",url:"new/product/tw/risk"},{name:"æºè½é³é¢æ£æµ",url:"new/product/tj/audio"},{name:"æºè½è§é¢æ£æµ",url:"new/product/tj/video"},{name:"æºè½å¾çæ£æµ",url:"new/product/tj/image"},{name:"æºè½ææ¬æ£æµ",url:"new/product/tj/text"},{name:"æºè½å£°çº¹è¯å«",url:"product/tj-post-voice.html"},{name:"æºè½ç½é¡µæ£æµ",url:"new/product/tj/web"},{name:"æºè½ææ¡£æ£æµ",url:"new/product/tj/document"},{name:"设å¤é£é©ä¿æ¤",url:"new/product/tw/sdk"},{name:"注åç»å½ä¿æ¤",url:"new/product/tw/register"},{name:"æºè½éªè¯ç ",url:"new/product/tw/code"},{name:"è§è§ä¸å¡æ ç¾",url:"product/tj-post-vision.html"},{name:"社交è¡ä¸è§£å³æ¹æ¡",url:"new/product/solution/social"},{name:"ç´æè¡ä¸è§£å³æ¹æ¡",url:"new/product/solution/live"},{name:"çµåè¡ä¸è§£å³æ¹æ¡",url:"new/product/solution/electricity"},{name:"游æè¡ä¸è§£å³æ¹æ¡",url:"new/product/solution/game"},{name:"社åºè¡ä¸è§£å³æ¹æ¡",url:"new/product/solution/community"},{name:"æè²è¡ä¸è§£å³æ¹æ¡",url:"new/product/solution/education"},{name:"éèè§£å³æ¹æ¡",url:"new/product/solution/bank"},{name:"ä¿é©è§£å³æ¹æ¡",url:"new/product/solution/insurance"},{name:"æ°é¶å®è¡ä¸è§£å³æ¹æ¡",url:"new/product/solution/retail"},{name:"èªæ
è¡ä¸è§£å³æ¹æ¡",url:"new/product/solution/travel"},{name:"æªæå¹´äººä¿æ¤",url:"new/product/solution/nonage"},{name:"æ±½è½¦è§£å³æ¹æ¡",url:"new/product/solution/car"},{name:"é³é¢æ£æµ",url:"trial/audio.html"},{name:"è§é¢æ£æµ",url:"trial/video.html"},{name:"è²æ
å¾çæ£æµ",url:"trial/sex.html"},{name:"ææå¾çæ£æµ",url:"trial/politics.html"},{name:"æ´æå¾çæ£æµ",url:"trial/violence.html"},{name:"广åå¾çæ£æµ",url:"trial/at.html"},{name:"orcå¾çæ£æµ",url:"trial/ocr.html"},{name:"ææ¬æ£æµ",url:"trial/text.html"},{name:"æºè½éªè¯ç ",url:"trial/captcha.html"},{name:"å
¬å¸ä»ç»",url:"about/company.html"},{name:"å¢éä»ç»",url:"about/team.html"},{name:"æ°é»èµè®¯",url:"about/news/list.html"},{name:"å å
¥æä»¬",url:"about/join.html"},{name:"æ°ç¾ç ç©¶é¢",url:"research/research.html"},{name:"æ°ç¾SRC",url:"about/src.html"}]},t.helpUrlList=function(){return[{name:"å¸®å©ææ¡£-è¥é飿§",url:"docs/tw/marketing"},{name:"å¸®å©ææ¡£-æ¸ éæµéåä½å¼",url:"docs/tw/channel"},{name:"å¸®å©ææ¡£-èåç¨æ·è£åè¯å«",url:"docs/tw/fission"},{name:"å¸®å©ææ¡£-å·æ¦å·å鲿¤",url:"docs/tw/brush"},{name:"å¸®å©ææ¡£-广å导æµ",url:"docs/tw/diversion"},{name:"å¸®å©ææ¡£-设å¤é£é©ä¿æ¤",url:"docs/tw/sdk"},{name:"å¸®å©ææ¡£-交æé£æ§",url:"docs/tw/risk"},{name:"å¸®å©ææ¡£-æ°æ®é²çç¬",url:"docs/tw/fdp"},{name:"å¸®å©ææ¡£-æºè½éªè¯ç ",url:"docs/tw/captcha"},{name:"å¸®å©ææ¡£-æºè½ææ¬æ£æµ",url:"docs/tj/text"},{name:"å¸®å©ææ¡£-æºè½å¾çæ£æµ",url:"docs/tj/image"},{name:"å¸®å©ææ¡£-æºè½é³é¢æä»¶è¯å«",url:"docs/tj/audio"},{name:"å¸®å©ææ¡£-æºè½é³é¢æµè¯å«",url:"docs/tj/audioStream"},{name:"å¸®å©ææ¡£-æºè½è§é¢æä»¶è¯å«",url:"docs/tj/video"},{name:"å¸®å©ææ¡£-æºè½è§é¢æµè¯å«",url:"docs/tj/videoStream"}]},t.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.