1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5076],{3466:(e,t,r)=>{r.d(t,{C:()=>a,E:()=>o});let n=null,i=!1,o=e=>{n=e,i=!0},a=()=>i?n:new Proxy({},{get:(e,t)=>function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}})},23098:(e,t,r)=>{r.d(t,{zN:()=>s,lT:()=>n,w6:()=>H,Jb:()=>F,JF:()=>V,hR:()=>B,q6:()=>Y,Cr:()=>M,wx:()=>x,Y$:()=>J});let n=2,i="ipfly_attr_v2",o=".ipfly.net",a="ipfly_attr_v2_state",c=["direct","organic","paid","referral","internal","unknown"],l=["direct","organic_search","organic_social","organic_video","paid_search","paid_social","paid_video","display","affiliate","email","partner_referral","other_referral","internal","unknown"],s=["token","auth","email","phone","code","state","ctk","password","orderNo","order_no","paymentId","payment_id","payUrl","pay_url","address","access_token","refresh_token","id_token"],u=new Set(["cpc","ppc","paid","paid_social","paid-social","paid_search","paid-search","paid_video","display","cpm","cpa"]),d={"google.com":"google","www.google.com":"google","google.com.hk":"google","bing.com":"bing","www.bing.com":"bing","baidu.com":"baidu","www.baidu.com":"baidu","yahoo.com":"yahoo","search.yahoo.com":"yahoo","duckduckgo.com":"duckduckgo","yandex.ru":"yandex","yandex.com":"yandex"},_=["ipfly.net","localhost"],h={channel:32,subchannel:32,source:64,medium:64,campaign:128,content:128,term:128,partner_id:64,article_id:64,cta_id:64,link_id:64,article_slug:255,canonical_path:512,referrer_domain:255,ad_source:16,source_page:32},m=/^[a-z0-9][a-z0-9_-]*$/,p=/^[A-Za-z0-9_]+$/,g=function(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(null==e)return;let n=String(e).trim();if(!(!n||n.length>t||/[\u0000-\u001F\u007F]/.test(n))&&!(n.includes("://")||/[^\s@]+@[^\s@]+\.[^\s@]+/.test(n)))return r?n.toLowerCase():n},f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.link_id,r=g(e,t,!0);if(r&&m.test(r))return r},v=e=>{if(null==e)return;let t=String(e).trim();if(t&&!(t.length>h.ad_source)&&p.test(t))return t},y=e=>g(e,h.source_page,!0),w=e=>{if(null==e)return;let t=String(e).trim();if(!t)return;try{(t.startsWith("http://")||t.startsWith("https://"))&&(t=new URL(t).pathname)}catch{return}let r=t.indexOf("?"),n=t.indexOf("#"),i=Math.min(r>=0?r:t.length,n>=0?n:t.length);if((t=t.slice(0,i)).startsWith("/")||(t=`/${t}`),!(t.length>h.canonical_path))return t},b=e=>{if(null!=e)try{let t=String(e).trim().toLowerCase();if(!t||!(t=t.includes("://")?new URL(t).hostname:t.split("/")[0].split(":")[0])||t.length>h.referrer_domain)return;return t}catch{return}},k=function(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return g(e,h[t],r)},$=e=>!!e&&_.some(t=>e===t||e.endsWith(`.${t}`)),P=e=>{if(!e)return;if(d[e])return d[e];let t=Object.keys(d).find(t=>e===t||e.endsWith(`.${t.replace(/^www\./,"")}`));return t?d[t]:e.includes("google.")?"google":void 0},S=e=>{let t=k(e.utm_source,"source"),r=k(e.utm_medium,"medium"),n=k(e.utm_campaign,"campaign"),i=k(e.utm_content,"content"),o=k(e.utm_term,"term"),a=k(e.gclid,"content",!1),c=k(e.fbclid,"content",!1),l=f(e.partner_id),s=f(e.article_id),d=k(e.article_slug,"article_slug",!0),_=f(e.cta_id),h=f(e.link_id),m=y(e.source_page),p=v(e.ad_source),g=b(e.referrer),S=w(e.landing_path),I={...l?{partner_id:l}:{},...s?{source_article_id:s}:{},...d?{source_article_slug:d}:{},..._?{cta_id:_}:{},...h?{link_id:h}:{}},A=!!(r&&u.has(r));if(a||c||A){let e="paid_search";return"paid_social"===r||"paid-social"===r?e="paid_social":"paid_video"===r?e="paid_video":"display"===r||"cpm"===r?e="display":c&&(e="paid_social"),{channel:"paid",subchannel:e,source:t||(a?"google":c?"facebook":"unknown"),medium:r||(a?"cpc":"paid"),campaign:n,content:i,term:o,referrer_domain:g,landing_path:S,content_source_type:"paid_ad",...I}}if(l||"referral"===r&&"blog_exchange"===n)return{channel:"referral",subchannel:"partner_referral",source:t||l||"unknown",medium:r||"referral",campaign:n||"blog_exchange",content:i,term:o,referrer_domain:g,landing_path:S,content_source_type:"partner_article",...I};let C=P(g);return C?{channel:"organic",subchannel:"organic_search",source:C,medium:"organic",campaign:n,content:i,term:o,referrer_domain:g,landing_path:S,...I}:$(g)||"blog"===m?{channel:"internal",subchannel:"internal",source:"blog"===m?"ipfly_blog":g||"ipfly",medium:"internal",campaign:n,content:i,referrer_domain:g,landing_path:S,content_source_type:"blog"===m||s?"ipfly_blog":"internal",...I}:g?{channel:"referral",subchannel:"other_referral",source:t||g,medium:r||"referral",campaign:n,content:i,term:o,referrer_domain:g,landing_path:S,...I}:t||p?{channel:"unknown",subchannel:"unknown",source:t||p,medium:r,campaign:n,content:i,term:o,landing_path:S,...I}:{channel:"direct",subchannel:"direct",source:"direct",medium:"none",landing_path:S,...I}},I=e=>"organic"===e||"paid"===e||"referral"===e,A=new Set(s.map(e=>e.toLowerCase())),C=new Set(["token"]),N=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return!e||"object"!=typeof e||t>4?e:Array.isArray(e)?e.map(e=>N(e,t+1)):(Object.keys(e).forEach(r=>
1{let n=0===t&&C.has(r);if(A.has(r.toLowerCase())&&!n)return void delete e[r];e[r]=N(e[r],t+1)}),e)},x=e=>{if(!e)return"";try{if(e.startsWith("http://")||e.startsWith("https://"))return new URL(e).pathname||"/";return w(e)||"/"}catch{return"/"}},j=(e,t)=>{if(!e)return"";try{let r=new URL(e,window.location.origin),n=r.hostname.toLowerCase(),i="ipfly.net"===n||n.endsWith(".ipfly.net")||"localhost"===n;if((null==t?void 0:t.keepInternalPath)&&i)return`${r.origin}${r.pathname}`;if(!i&&(null==t?void 0:t.keepInternalPath)===!1)return r.origin;return Array.from(r.searchParams.keys()).forEach(e=>{A.has(e.toLowerCase())&&r.searchParams.delete(e)}),r.hash="",r.search="",r.toString()}catch{return x(e)}},L=e=>{if(!e)return"";try{let t=new URL(e),r=t.hostname.toLowerCase();if("ipfly.net"===r||r.endsWith(".ipfly.net"))return`${t.origin}${t.pathname}`;return r}catch{return b(e)||""}},F=e=>{if(!e)return e;try{let t=e.properties||{};"string"==typeof t.$current_url&&(t.$current_url=j(t.$current_url)),"string"==typeof t.$pathname&&(t.$pathname=x(t.$pathname)),"string"==typeof t.$referrer&&(t.$referrer=L(t.$referrer)),"string"==typeof t.$referring_domain&&(t.$referring_domain=b(t.$referring_domain)||t.$referring_domain),"string"==typeof t.url&&(t.url=j(t.url)),"string"==typeof t.path&&(t.path=x(t.path)),"string"==typeof t.referrer&&(t.referrer=L(t.referrer)),e.properties=N(t)}catch{return null}return e};var E=r(91830),q=r.n(E);let O=()=>!0,T=()=>{if(!O())return o;let e=window.location.hostname;if(!(e.includes("localhost")||/^\d+\.\d+\.\d+\.\d+$/.test(e)))return o},R=()=>new Date().toISOString(),z=e=>{if(!e)return Number.POSITIVE_INFINITY;let t=Date.parse(e);return Number.isNaN(t)?Number.POSITIVE_INFINITY:(Date.now()-t)/864e5},W=()=>({version:n,updated_at:R()}),U=()=>{if(!O())return W();let e=q().get(i);if(e)try{let t=JSON.parse(e);if(t&&t.version===n)return t}catch{}try{let e=window.localStorage.getItem(a);if(e){let t=JSON.parse(e);if(t&&t.version===n)return t}}catch{}return W()},D=e=>{if(!O())return;let t=JSON.stringify({...e,version:n,updated_at:R()});try{q().set(i,t,{expires:90,path:"/",domain:T(),sameSite:"Lax",secure:"https:"===window.location.protocol})}catch{}try{window.localStorage.setItem(a,t)}catch{}},G=e=>({...e,at:e.at||R()}),J=e=>{var t,r,n,i,o;if(!O())return W();let a=new URL(window.location.href),c={utm_source:((null==e?void 0:e.utm_source)??a.searchParams.get("utm_source"))||void 0,utm_medium:((null==e?void 0:e.utm_medium)??a.searchParams.get("utm_medium"))||void 0,utm_campaign:((null==e?void 0:e.utm_campaign)??a.searchParams.get("utm_campaign"))||void 0,utm_content:((null==e?void 0:e.utm_content)??a.searchParams.get("utm_content"))||void 0,utm_term:((null==e?void 0:e.utm_term)??a.searchParams.get("utm_term"))||void 0,gclid:((null==e?void 0:e.gclid)??a.searchParams.get("gclid"))||void 0,fbclid:((null==e?void 0:e.fbclid)??a.searchParams.get("fbclid"))||void 0,partner_id:((null==e?void 0:e.partner_id)??a.searchParams.get("partner_id"))||void 0,article_id:((null==e?void 0:e.article_id)??a.searchParams.get("article_id"))||void 0,article_slug:((null==e?void 0:e.article_slug)??a.searchParams.get("article_slug"))||void 0,cta_id:((null==e?void 0:e.cta_id)??a.searchParams.get("cta_id"))||void 0,link_id:((null==e?void 0:e.link_id)??a.searchParams.get("link_id"))||void 0,source_page:((null==e?void 0:e.source_page)??a.searchParams.get("source_page"))||void 0,ad_source:((null==e?void 0:e.ad_source)??a.searchParams.get("ad_source"))||void 0,referrer:((null==e?void 0:e.referrer)??document.referrer)||void 0,landing_path:((null==e?void 0:e.landing_path)??w(a.pathname))||a.pathname},l=S(c),s=G({channel:l.channel,subchannel:l.subchannel,source:l.source,medium:l.medium,campaign:l.campaign,content:l.content,term:l.term,referrer_domain:l.referrer_domain,landing_path:l.landing_path}),u=U(),d="";try{(d=(null==e||null==(o=e.session_id)?void 0:o.trim())||window.sessionStorage.getItem("ipfly_attr_session_id")||"")||(d=`s_${Date.now()}_${Math.random().toString(36).slice(2,10)}`),window.sessionStorage.setItem("ipfly_attr_session_id",d)}catch{d=(null==e?void 0:e.session_id)||`s_${Date.now()}`}u.session&&u.session.id===d||(u.session={id:d,touch:s,landing_sent:!1});let _=!!u.first_touch&&z(u.first_touch.at)>90;return u.first_touch?_&&I(s.channel)&&(u.first_touch=s):u.first_touch=s,I(s.channel)&&(u.last_non_direct=s),(l.content_source_type||l.source_article_id||l.cta_id||l.link_id||l.partner_id)&&(u.content_touch={content_source_type:l.content_source_type,source_article_id:l.source_article_id,source_article_slug:l.source_article_slug,source_article_path:"ipfly_blog"===l.content_source_type?l.landing_path:void 0,partner_id:l.partner_id,cta_id:l.cta_id,link_id:l.link_id,at:R()}),u.legacy={ad_source:v(c.ad_source)||(null==(t=u.legacy)?void 0:t.ad_source),source_page:y(c.source_page)||(null==(r=u.legacy)?void 0:r.source_page),gclid:k(c.gclid,"content",!1)||(null==(n=u.legacy)?void 0:n.gclid),fbclid:k(c.fbclid,"content",!1)||(null==(i=u.legacy)?void 0:i.fbclid)},D(u),u},Y=()=>{let e=U();return e.session&&(e.session.landing_sent=!0,D(e)),e},M=()=>{let e=U();return!!(e.session&&!e.session.landing_sent)},V=e=>{var t,r,i;let o=e||U(),a={tracking_version:n},s=(e,t)=>
1{null!=t&&""!==t&&(a[e]=t)},u=e=>{let t=g(e,32);return t&&c.includes(t)?t:void 0},d=e=>{let t=g(e,32);return t&&l.includes(t)?t:void 0},_=e=>{let t=g(e,64,!1);return t&&!Number.isNaN(Date.parse(t))?t:void 0},h=null==(t=o.session)?void 0:t.touch;s("session_channel",u(null==h?void 0:h.channel)),s("session_subchannel",d(null==h?void 0:h.subchannel)),s("session_source",k(null==h?void 0:h.source,"source"));let m=o.first_touch;s("first_touch_channel",u(null==m?void 0:m.channel)),s("first_touch_subchannel",d(null==m?void 0:m.subchannel)),s("first_touch_source",k(null==m?void 0:m.source,"source")),s("first_touch_medium",k(null==m?void 0:m.medium,"medium")),s("first_touch_campaign",k(null==m?void 0:m.campaign,"campaign",!1)),s("first_touch_content",k(null==m?void 0:m.content,"content",!1)),s("first_touch_referrer_domain",b(null==m?void 0:m.referrer_domain)),s("first_touch_landing_path",w(null==m?void 0:m.landing_path)),s("first_touch_at",_(null==m?void 0:m.at));let p=o.last_non_direct;s("last_non_direct_channel",u(null==p?void 0:p.channel)),s("last_non_direct_source",k(null==p?void 0:p.source,"source")),s("last_non_direct_at",_(null==p?void 0:p.at));let $=o.content_touch;return s("content_source_type",k(null==$?void 0:$.content_source_type,"source")),s("source_article_id",f(null==$?void 0:$.source_article_id)),s("source_article_slug",k(null==$?void 0:$.source_article_slug,"article_slug")),s("source_article_path",w(null==$?void 0:$.source_article_path)),s("partner_id",f(null==$?void 0:$.partner_id)),s("cta_id",f(null==$?void 0:$.cta_id)),s("link_id",f(null==$?void 0:$.link_id)),s("ad_source",v(null==(r=o.legacy)?void 0:r.ad_source)),s("source_page",y(null==(i=o.legacy)?void 0:i.source_page)),a},H=(e,t)=>{if(!O())return e;try{var r,n,i,o,a,c,l;let s=new URL(e),u=t||U(),d=V(u),_={utm_source:null==(r=u.first_touch)?void 0:r.source,utm_medium:null==(n=u.first_touch)?void 0:n.medium,utm_campaign:null==(i=u.first_touch)?void 0:i.campaign,utm_content:null==(o=u.first_touch)?void 0:o.content,utm_term:null==(a=u.first_touch)?void 0:a.term,gclid:null==(c=u.legacy)?void 0:c.gclid,fbclid:null==(l=u.legacy)?void 0:l.fbclid,ad_source:d.ad_source,source_page:d.source_page,partner_id:d.partner_id,article_id:d.source_article_id,article_slug:d.source_article_slug,cta_id:d.cta_id,link_id:d.link_id};return["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gclid","fbclid","ad_source","source_page","partner_id","article_id","article_slug","cta_id","link_id"].forEach(e=>{if(s.searchParams.has(e))return;let t=_[e];"string"==typeof t&&t&&s.searchParams.set(e,t)}),s.toString()}catch{return e}},B=()=>["1","true","yes","on"].includes(String("true").toLowerCase())},45777:(e,t,r)=>{r.d(t,{B$:()=>$,Ee:()=>P,Hr:()=>s,Mw:()=>I,R2:()=>l,WM:()=>y,b:()=>S,iD:()=>b,wK:()=>k});var n=r(91830),i=r.n(n),o=r(55836),a=r(23098);let c="zh_CN",l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".ipfly.net";{let t=window.location.hostname;if(t.includes("localhost")||/\d+\.\d+\.\d+\.\d+/.test(t))return;return e}};l();let s={appName:"front.Home.bottom.text.company",link:"",publishNumber:"front.Home.bottom.btn.filenumber",beianNumber:"",businessLicense:""},u=()=>o.YO.prod,d=["utm_id","utm_source","utm_medium","utm_campaign","utm_source_platform","utm_content","utm_term","gclid","ad_source"],_="ipfly_tracking_params_v1",h=e=>{let t={};return d.forEach(r=>{let n=e.get(r);n&&(t[r]=n)}),t},m=e=>d.some(t=>!!e[t]),p=()=>{try{let e=window.localStorage.getItem(_);if(!e)return{};let t=JSON.parse(e);if(!t||"object"!=typeof t)return{};let r={};return d.forEach(e=>{"string"==typeof t[e]&&t[e]&&(r[e]=t[e])}),r}catch(e){return{}}},g=e=>{if(m(e))try{window.localStorage.setItem(_,JSON.stringify(e))}catch(e){}},f=()=>{if((0,a.hR)()){try{(0,a.Y$)()}catch(e){}return}try{let e=new URL(window.location.href),t=h(e.searchParams);if(!m(t))return;let r={...p(),...t};g(r)}catch(e){}},v=e=>{if((0,a.hR)())try{return(0,a.Y$)(),(0,a.w6)(e)}catch(t){return e}try{let t=new URL(window.location.href),r=new URL(e),n=h(t.searchParams),i={...p(),...n};return d.forEach(e=>{if(r.searchParams.has(e))return;let t=i[e];t&&r.searchParams.set(e,t)}),r.toString()}catch(t){return e}};f();let y=(e,t)=>{f();let r=u(e),n=v(e?`${r}${e}`:r);window.open(n,t||"_self")},w="https://www.xingloo.com",b=(e,t)=>{let r=e?`${w}${e}`:w;window.open(r,t||"_blank")},k=e=>{c=i().get("lang");let t="https://doc.ipfly.net",r=`${t}/en`;("zh_CN"===c||"zh_TW"===c)&&(r=`${t}/zh`),window.open(r,"_blank")},$=()=>{void 0!==window._AIHECONG&&window._AIHECONG("showChat")},P=e=>{window.open(`mailto:${e}`,"_blank")},S=e=>{window.open(e,"_blank")},I=e=>{window.open(e,"_blank")}},47206:(e,t,r)=>{r.d(t,{N_:()=>a,a8:()=>l,rd:()=>s});var n=r(49984),i=r(30981);let o=(0,n.A)({locales:["en","zh-cn","zh-tw"],localeDetection:!1,defaultLocale:"en",localePrefix:"as-needed"}),{Link:a,redirect:c,usePathname:l,useRouter:s,getPathname:u}=(0,i.A)(o)},50620:(e,t,r)=>{r.d(t,{UF:()=>o,Yx:()=>n,Zn:()=>i,a4:()=>a});let n="/imd2c/home/promotion/activity/data",i="https://statics-cn.ipfly.net/",o=i,a=3e5},55836:(e,t,r)=>{r.d(t,{AO:()=>c,Ds:()=>o,JL:()=>a,YO:()=>i,lz:()=>l,sd:()=>n});let n={local:"/api",dev:"",test:"",pre:"",prod:""},i={local:"http://localhost:5080",dev:"https://console-intranet-test.ipfly.net",test:"https://qa-console.ipfly.net",pre:"https://pre-console.ipfly.net",prod:"https://console.ipfly.net"},o={local:"https://console.ipfly.net",dev:"https://console.ipfly.net",test:"https://console.ipfly.net",pre:"https://console.ipfly.net",prod:"https://console.ipfly.net"},a={local:"/login-dev",dev:"/login-dev",test:"/login-qa",pre:"/login-pre",prod:"/login"},c={local:"/index-dev",dev:"/index-dev",test:"/index-qa",pre:"/index-pre",prod:"/index"},l={local:"578604765410-9306s93fbveljj5sbc5q6nqngjtu3c4h.apps.googleusercontent.com",dev:"578604765410-9306s93fbveljj5sbc5q6nqngjtu3c4h.apps.googleusercontent.com",test:"578604765410-9306s93fbveljj5sbc5q6nqngjtu3c4h.apps.googleusercontent.com",pre:"578604765410-9306s93fbveljj5sbc5q6nqngjtu3c4h.apps.googleusercontent.com",prod:"578604765410-9306s93fbveljj5sbc5q6nqngjtu3c4h.apps.googleusercontent.com"}},56131:(e,t,r)=>{r.d(t,{C6:()=>m,GE:()=>a,H8:()=>k,Vh:()=>_,YG:()=>y,_d:()=>o,bV:()=>s,d4:()=>d,h0:()=>w,ht:()=>h,kK:()=>g,kd:()=>l,md:()=>c,mm:()=>f,n2:()=>u,pi:()=>b,qP:()=>p,xz:()=>$,zs:()=>v});var n=r(89095),i=r(50620);function o(e){return(0,n.A)({url:"/imd2c/user/register/phone",method:"post",data:e})}function a(e){return(0,n.A)({url:"/imd2c/user/evc/sendVerifyCode",method:"post",data:e})}function c(e){return(0,n.A)({url:"/imd2c/user/register/email",method:"post",data:e})}function l(e){return(0,n.A)({url:"/imd2c/user/captcha/ali/check",method:"post",data:e})}function s(e){return(0,n.A)({url:"/imd2c/user/login/google",method:"post",data:e})}function u(){return(0,n.A)({url:"/imd2c/home/conf",method:"get"})}function d(e){return(0,n.A)({url:"/imd2c/home/support/faq",method:"get",params:e})}function _(e){return(0,n.A)({url:"/imd2c/home/support/faq/search",method:"get",params:e})}function h(){return(0,n.A)({url:"/imd2c/home/partners",method:"get"})}function m(e){return(0,n.A)({url:"/imd2c/home/res/list",method:"get",params:e})}function p(e){return(0,n.A)({url:"/imd2c/home/res/isp_static",method:"get",params:e})}function g(e){return(0,n.A)({url:"/imd2c/home/res/static",method:"get",params:e})}function f(e){return(0,n.A)({url:`/imd2c/home/res/${e}/items`,method:"get"})}function v(e){return(0,n.A)({url:`/imd2c/home/res/${e}/static_region`,method:"get"})}function y(e){return(0,n.A)({url:"/imd2c/home/region-demand",method:"post",data:e})}function w(e){return(0,n.A)({url:`/imd2c/home/res/${e}/static_duration`,method:"get"})}function b(e,t){return(0,n.A)({url:`/imd2c/home/res/${e}/static_price_preview`,method:"post",data:t})}function k(e){return(0,n.A)({url:i.Yx,method:"get",...e||{}})}function $(){return(0,n.A)({url:"/imd2c/home/promotion/activity",method:"get"})}},89095:(e,t,r)=>{r.d(t,{A:()=>h});var n=r(23464),i=r(3466),o=r(45777),a=r(55836),c=r(57881);let l="device_fingerprint",s="fingerprint_timestamp";class u{static getInstance(){return u.instance||(u.instance=new u),u.instance}loadFromCache(){try{let e=localStorage.getItem(l),t=localStorage.getItem(s);if(e&&t){let r=parseInt(t,10);Date.now()-r>864e5||(this.cachedFingerprint=e,this.lastGenerated=r)}}catch(e){}}async getFingerprint(){return this.cachedFingerprint&&this.isCacheValid()?this.cachedFingerprint:(this.fingerprintPromise||(this.fingerprintPromise=this.generateFingerprint()),this.fingerprintPromise)}isCacheValid(){return Date.now()-this.lastGenerated<864e5}async generateFingerprint(){try{let e=await c.Ay.load(),t=(await e.get()).visitorId;return this.cacheFingerprint(t),t}catch(e){return""}}cacheFingerprint(e){this.cachedFingerprint=e,this.lastGenerated=Date.now(),this.fingerprintPromise=null;try{localStorage.setItem(l,e),localStorage.setItem(s,this.lastGenerated.toString())}catch(e){}}clearCache(){this.cachedFingerprint=null,this.lastGenerated=0,this.fingerprintPromise=null;try{localStorage.removeItem(l),localStorage.removeItem(s)}catch(e){}}async regenerate(){return this.clearCache(),this.getFingerprint()}constructor(){this.fingerprintPromise=null,this.cachedFingerprint=null,this.lastGenerated=0,this.loadFromCache()}}let d=u.getInstance(),_=n.A.create({baseURL:a.sd.prod,timeout:18e4,withCredentials:!0});_.interceptors.request.use(async e=>{if(e.checkOnline&&!navigator.onLine)return Promise.reject(Error("ç½ç»è¿æ¥å·²æå¼"));"undefined"!=typeof document&&document.cookie.split(";
1").forEach(e=>{let[t]=e.trim().split("=");t.startsWith("mh_")&&(document.cookie=`${t}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`,document.cookie=`${t}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=.ipfly.net`)}),e.headers={...e.headers,"Content-Type":"application/json; charset=utf-8"};try{let t=await d.getFingerprint();t&&(e.headers["Visit-Track"]=t)}catch(e){}return localStorage.getItem("token")&&(e.headers.Authorization=`Bearer ${localStorage.getItem("token")}`),e},e=>Promise.reject(e)),_.interceptors.response.use(e=>{let t=e.data,r=e.config;if(200!==t.code){var n;return(null==(n=e.config.url)?void 0:n.includes("/imd2c/user/evc"))&&[3001,2004,2005,2006,2007].includes(t.code)?t:(r.silentError||setTimeout(()=>{(0,i.C)().error(t.msg||"请æ±å¤±è´¥")},0),(401===t.code||10301===t.code)&&(0,o.WM)(),Promise.reject(Error(t.msg||"请æ±å¤±è´¥")))}return t},e=>{let t=e.response,r=e.config;return(null==r?void 0:r.silentError)||setTimeout(()=>{(null==t?void 0:t.status)?401===t.status?((0,i.C)().error(t.statusText||"æªææ"),(0,o.WM)()):t.status>=500?(0,i.C)().error(t.statusText||"æå¡å¨é误"):(0,i.C)().error(t.statusText||"请æ±å¤±è´¥"):(0,i.C)().error("ç½ç»é误")},0),Promise.reject(e)});let h=_}}]);
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.