PageSourceSearch

https://portalstatic-ex.vivo.com/_nuxt/swY2moNO.js

js vivo.com collected 2026-09-24 08:31:28 UTC 25,507 bytes, 1 lines download raw bytes

1import{j as F,l as re,_ as Z,h as xe,i as z,a4 as Ae,r as A,a5 as Ie,m as ge,A as Le,c as H,a as _,d as s,b as P,t as W,e as t,n as j,ak as Ue,y as K,f as ke,w as de,v as Ne,g as ie,J as _e,L as Me,s as N,D as je,F as qe,x as Oe,E as be,B as We,z as ze,p as we,o as Be,N as Pe,I as me,q as ye,Q as De,al as Ke,M as Re,a3 as Fe,am as Ze,Y as Je,P as He,a2 as Ye,C as $e,an as Ce,ao as he,ap as Qe}from"./DliVVojO.js";import{_ as Ve}from"./BWjUOQWb.js";const R=()=>{try{let y=function(){var l,S,g,L;var d=0;const n=document.querySelector(".common-notification-bar"),b=n&&n.offsetHeight||0,k=document.querySelector(".vep-head-download")||document.querySelector(".vp-head-download"),p=k&&k.offsetHeight||0,f=document.querySelector(".vp-head-topbar-pc"),r=f&&f.offsetHeight||0,u=((l=document.querySelector(".vp-head-mainbar-pc"))==null?void 0:l.offsetHeight)||((S=document.querySelector(".vp-head-common"))==null?void 0:S.offsetHeight)||((g=document.querySelector(".vep-wap-bar-box"))==null?void 0:g.offsetHeight)||((L=document.querySelector(".vep-pc-nav-box"))==null?void 0:L.offsetHeight)||0;d=b+p+r;const v=document.body,m=document.querySelector(".new-head-wrap");if(m){v.classList.contains("ver-header-fixed")?m.style.height=d+"px":m.style.height=d+u+"px";const E=document.querySelector(".vp-head-wap-common-box"),I=document.querySelector(".vp-head-menu-wrap");E&&w.value&&I&&(I.style.top=m.offsetHeight-a.value+"px");const M=document.querySelector(".vp-head-wrap-wap");return M&&w.value&&(M.style.height="".concat(m.offsetHeight,"px")),m.offsetHeight}return 0};const w=F(),a=re();let i=0;return window.addEventListener("resize",function(){i=y()},{once:!0}),i=y(),i}catch(w){w&&console.error("refreshBodyStyleByHeader error:",w)}},Xe={class:"notification-bar"},Ge={class:"notification-bar-text"},et=["href"],tt={__name:"Notice",emits:["close"],setup(w,{emit:a}){const i=F(),y=xe(),d=z(),n=Ae(),{layoutShow:b,noticeBoard:k={},brandMark:p="vivo"}=d.value.baseInfo,f=A(b),r=A(k),u=a,v=l=>{const S=p+"_notification_bar_reminder",g=window.location.host.includes("vivo.com.cn")?".".concat(p,".com.cn"):".".concat(p,".com"),L=Ue(S,{expire:3*365*24,domain:g});L.value="1",u("close"),document.body.classList.remove("vivo-notice-show")},m=()=>{const l=document.querySelector(".common-notification-bar");new ResizeObserver(g=>{g.forEach(L=>{n.value=R()})}).observe(l),document.body.classList.add("vivo-notice-show")};return Ie(async()=>{await ge(),m()}),Le(()=>{n.value=R(),document.body.classList.remove("vivo-notice-show")}),(l,S)=>(_(),H("div",{class:j(["public common-notification-bar",{"common-header-suspended":!(t(y)&&!t(i))},t(f)==="1"?"text-dir-rtl":""])},[s("div",Xe,[s("p",Ge,[s("span",null,W(t(r).noticeTitle),1),t(r).isJump=="1"?(_(),H("a",{key:0,href:t(r).linkUrl},W(t(r).linkContent),9,et)):P("",!0)]),s("i",{class:"notification-bar-close",role:"button","aria-label":"close",tabindex:"0",onClick:v,onKeydown:v},null,32)])],2))}},ot=Z(tt,[["__scopeId","data-v-21c6428b"]]),nt=["href","aria-label"],st={__name:"Questionnaire",props:{sidebarCount:{type:[Number,String],default:0}},setup(w){var p,f,r,u,v;const a=A(""),i=A(""),y=z(),d=F(),n=re();if((r=(f=(p=y.value)==null?void 0:p.baseInfo)==null?void 0:f.userResearchList)!=null&&r.length){const m=((v=(u=y.value)==null?void 0:u.baseInfo)==null?void 0:v.userResearchList.find(l=>l.channelType===(d.value?1:0)))||{};a.value=m.fileUrl,i.value=m.fileName}const b=w,k=K(()=>{const m=+b.sidebarCount;if(d.value)switch(m){case 2:return"96px";case 1:return"48px";default:return"0"}else switch(m){case 2:return"120px";case 1:return"60px";default:return"0"}});return(m,l)=>{const S=ke("track");return t(a)?de((_(),H("a",{key:0,class:"questionUrl-btn",href:t(d)&&t(n)>230||!t(d)?t(a):"javascript:void(0)","aria-label":t(i),style:ie({bottom:t(k)})},[s("div",{class:j(["questionUrl-btn-icon",{"transition-show":t(d)&&t(n)>230}])},null,2),de(s("span",{class:"questionUrl-text"},W(t(i)),513),[[Ne,!t(d)]])],12,nt)),[[S,{act:"click",params:{cfrom:"01|03|002|094"}}]]):P("",!0)}}},at=Z(st,[["__scopeId","data-v-8b74b527"]]),Ee=""+new URL("wechat.DfvKeLMW.png",import.meta.url).href,Te=""+new URL("vivo-miniProgram.BQ7dTvNJ.png",import.meta.url).href,it={class:"vivoPlugin-contact-us-wrapper"},rt=["aria-label"],ct={class:"title"},lt=["onMouseenter","onMouseleave","onClick"],ut=["href","onClick"],dt={key:0},mt={key:1,src:Ee,alt:"vivo客户服务官方公众号"},pt={key:2,src:Te,alt:"vivo官方商城小程序"}
1,vt={__name:"ContactUs",props:{backtopShow:{type:Boolean,default:!1}},emits:["emitHide"],setup(w,{emit:a}){var ce,le,ue;const i=z();(le=(ce=i.value)==null?void 0:ce.baseInfo)==null||le.layoutShow;const y=(ue=i.value)==null?void 0:ue.language,d=F(),n=_e(),b=Me(),k=w,p=a,f=K(()=>k.backtopShow?d.value?"48px":"60px":"0");re();const r=A([]),u=A(!1),v=A(null),m=A(y.supportContactUs||"Contact Us"),l=q=>{v.value&&(!q.relatedTarget||!v.value.contains(q.relatedTarget))&&(u.value=!1)};(async()=>{var D;const q="".concat(n.value,"/vpg/api/queryContactUsInfo"),c=await $fetch(q);c&&c.code==200&&(r.value=((D=c.data)==null?void 0:D.contactInfoList)||[],r.value.length===0&&p("emitHide"))})();const g=A(!1),L=()=>{d.value&&(g.value=!0,ze())},E=()=>{d.value&&(g.value=!1,We())},I=A(!1),M=A(!1),pe=q=>{if(q.name.includes("公众号")){if(M.value){M.value=!1;return}M.value=!0,I.value=!1;return}if(q.name.includes("小程序")){if(I.value){I.value=!1;return}I.value=!0,M.value=!1}},ve=(q,c)=>{if(q.name.includes("微信")&&c.preventDefault(),q.jumpUrl==="email"){if(c.preventDefault(),!b&&document.querySelector("#gw_header").length===0&&document.querySelector("#gw_footer").length===0)return!1;window.VEP_EMAIL_BOX_FUNCTION&&window.VEP_EMAIL_BOX_FUNCTION()}},J=()=>{d.value||(M.value=!1,I.value=!1)};return(q,c)=>{const D=ke("track");return _(),H("div",{class:"vivoPlugin-contact-us J-contactUs",style:ie({bottom:t(f)}),onKeydown:[c[3]||(c[3]=be(N(h=>u.value=!t(u),["prevent"]),["enter"])),c[4]||(c[4]=be(N(h=>u.value=!1,["prevent"]),["esc"]))],onFocusout:l,onClickCapture:L,ref_key:"contactWrapper",ref:v,tabindex:"0"},[s("div",it,[s("div",{class:"vivoPlugin-contact-us-title",role:"button","aria-label":t(m)},null,8,rt),s("div",{class:j(["vivoPlugin-contact-us-list",{show:t(u),"show-bg":t(g),"show-miniProgram":t(I),"show-wechat":t(M),"show-backup":w.backtopShow}]),onClick:E},[s("div",{class:"vivoPlugin-contact-us-list-content",onClick:c[0]||(c[0]=N(()=>{},["stop"]))},[s("p",ct,[je(W(t(y).supportContactUs),1),s("i",{class:"wap-close",onClick:N(E,["stop"])})]),s("ul",null,[(_(!0),H(qe,null,Oe(t(r),h=>{var Y,$,Q,e;return _(),H("li",{key:h.id,class:j(["OS-4-list",{"vivoPlugin-wechat":(Y=h.name)==null?void 0:Y.includes("公众号"),"vivoPlugin-mini-program":($=h.name)==null?void 0:$.includes("小程序")}]),onMouseenter:o=>!t(d)&&(h.hover=!0),onMouseleave:o=>h.hover=!1,onClick:o=>pe(h)},[de(s("a",{target:"_blank",href:h.jumpUrl,style:ie({zIndex:h.name.includes("公众号")||h.name.includes("小程序")?-1:1}),"data-track":'{"type":"click","params":{"version":"3.8.1","cfrom":"01|03|005|004","name":"在线客服"}}',onClick:o=>ve(h,o)},null,12,ut),[[D,[{act:"click",params:{version:"3.8.1",cfrom:"01|03|005|004",name:h.name}}]]]),s("i",{class:"contact-us-nor no-flip-over",style:ie({"background-image":"url(".concat(h.storeFolder,")"),opacity:h.hover?0:1})},null,4),s("i",{class:"contact-us-nor no-flip-over",style:ie({"background-image":"url(".concat(h.storeFolderHover,")"),opacity:h.hover?1:0})},null,4),s("p",null,W(h.name),1),h.service_desc?(_(),H("span",dt,W(h.service_desc),1)):P("",!0),(Q=h.name)!=null&&Q.includes("公众号")?(_(),H("img",mt)):P("",!0),(e=h.name)!=null&&e.includes("小程序")?(_(),H("img",pt)):P("",!0),c[5]||(c[5]=s("i",{class:"border-bottom"},null,-1))],42,lt)}),128))])])],2)]),s("div",{class:j(["vivoPlugin-background",{"show-bg":t(I)||t(M),"show-miniProgram":t(I),"show-wechat":t(M)}]),onClick:J},[s("div",{class:"vivoPlugin-wechat",onClick:c[1]||(c[1]=N(()=>{},["stop"]))},[c[6]||(c[6]=s("p",null,"扫一扫 关注vivo客户服务官方公众号",-1)),c[7]||(c[7]=s("img",{src:Ee,alt:"vivo客户服务官方公众号"},null,-1)),c[8]||(c[8]=s("span",null,"即时获取售后服务、玩机技巧,解锁更多服务权益",-1)),s("i",{class:"close",onClick:N(J,["stop"])})]),s("div",{class:"vivoPlugin-miniProgram",onClick:c[2]||(c[2]=N(()=>{},["stop"]))},[c[9]||(c[9]=s("p",null,"扫一扫 打开vivo官方商城小程序",-1)),c[10]||(c[10]=s("img",{src:Te,alt:"vivo官方商城小程序"},null,-1)),c[11]||(c[11]=s("span",null,"享受购机、资讯、售后维修一站式官方服务体验",-1)),s("i",{class:"close",onClick:N(J,["stop"])})])],2)],36)}}},ft=Z(vt,[["__scopeId","data-v-690f1ead"]]),ht=["onKeydown","aria-label"],gt={__name:"BackTop",emits:["toggleBacktopShow"],setup(w,{emit:a}){var r;const i=A(!1),y=re(),n=(r=z().value)==null?void 0:r.language,b=A(n.backTop||"Back to top"),k=()=>{i.value=y.value>document.documentElement.clientHeight},p=()=>{window.scrollTo({top:0})};we(y,u=>{i.value=u>document.documentElement.clientHeight});const f=a;return we(i,(u,v)=>{f("toggleBacktopShow",u)}),Be(()=>{k()}),(u,v)=>{const m=ke("track");return de((_(),H("div",{class:j(["back-top",{show:t(i)}]),onClick:p,onKeydown:be(N(p,["prevent"]),["enter"]),tabindex:"0",role:"button","aria-label":t(b)},null,42,ht)),[[m,{act:"click",params:{cfrom:"01|03|002|095"}}]])}}},bt=Z(gt,[["__scopeId","data-v-c6f19d65"]]),wt={__name:"PageSidebar",setup(w){var r,u,v,m;F();const a=K(()=>{let l=0;return f.value&&l++,i.value&&l++,l}),i=A(!1),y=l=>{i.value=l},d=z(),n=(u=(r=d.value)==null?void 0:r.baseInfo)==null?void 0:u.layoutShow,b=(m=(v=d.value)==null?void 0:v.baseInfo)==null?void 0:m.suspendSwitch,k=Pe(),{path:p}=k,f=A(!0);if(b=="1"){const l=/^\/[a-zA-Z]{2}\/(support|view\/support)\/.+$/;f.value=l.test(p)}return(l,S)=>{const g=at,L=ft,E=bt;return _(),H("div",{class:j(["public page-sidebar",{"flex-reverse":t(n)=="1"}])},[me(g,{sidebarCount:t(a)},null,8,["sidebarCount"]),t(f)?(_(),ye(L,{key:0,onEmitHide:S[0]||(S[0]=I=>
1f.value=!1),backtopShow:t(i)},null,8,["backtopShow"])):P("",!0),me(E,{onToggleBacktopShow:y})],2)}}},yt=Z(wt,[["__scopeId","data-v-a5a7fc53"]]),kt=["aria-label"],_t={class:"bottom-crumbs-left"},St=["href","aria-label"],Ht={class:"bottom-crumbs-list"},Ct={class:"bottom-crumbs-item"},xt=["href"],At={key:0,class:"bottom-crumbs-item"},It={class:"bottom-crumbs-link no-flip-over","aria-current":"page"},Lt={__name:"FooterNav",props:{firstPath:{type:Object,default:()=>({})},secondPath:{type:Object,default:()=>({})}},setup(w){var f,r,u,v,m,l;const a=De().origin,i=z(),y=(r=(f=i.value)==null?void 0:f.baseInfo)==null?void 0:r.layoutShow,d=(u=i.value.baseInfo)==null?void 0:u.brandMark,n=(v=i.value.baseInfo)==null?void 0:v.regionCode,b=K(()=>a.indexOf("vivo.com.cn")!==-1?"/":"/".concat(n,"/")),k=(m=i.value)==null?void 0:m.language,p=A((l=i.value.officialHF)==null?void 0:l.footColorStyle);return(S,g)=>(_(),H("div",{id:"vivo-foot-path",class:j(["public bottom-crumbs",{"text-dir-rtl":t(y)=="1","footer-white-theme":t(p)=="0"}])},[s("div",{class:"bottom-crumbs-content",role:"navigation","aria-label":t(k).commonBreadcrumb},[s("div",_t,[s("a",{class:j(["bottom-crumbs-logo","no-flip-over","vicon-logo-".concat(t(d))]),href:t(b),"aria-label":t(d)},null,10,St)]),s("ul",Ht,[s("li",Ct,[g[0]||(g[0]=s("i",{class:"bottom-crumbs-icon vicon-right-arrow","aria-hidden":"true"},null,-1)),s("a",{class:"bottom-crumbs-link no-flip-over",href:w.firstPath.url},W(w.firstPath.name),9,xt)]),w.secondPath.name?(_(),H("li",At,[g[1]||(g[1]=s("i",{class:"bottom-crumbs-icon vicon-right-arrow","aria-hidden":"true"},null,-1)),s("span",It,W(w.secondPath.name),1)])):P("",!0)])],8,kt)],2))}},Ut=Z(Lt,[["__scopeId","data-v-10075141"]]),Mt=async()=>{const w=z(),a=_e(),i=Ke(),y=location.href,d="".concat(a.value,"/portal/open/api/share/config?url=").concat(encodeURIComponent(y),"&uri=").concat(encodeURIComponent(i.value)),n=await $fetch(d);if(n&&n.retCode==200){const b=n.data.weiChatKey;wx&&b?(wx.config({debug:!1,appId:b.appId,timestamp:b.timestamp,nonceStr:b.nonceStr,signature:b.signature,jsApiList:["updateAppMessageShareData","updateTimelineShareData"],openTagList:["wx-open-launch-weapp","wx-open-launch-app"]}),wx.ready(()=>{var S;console.info("wx.ready: 微信分享配置成功");const k=!!navigator.userAgent.match(/MicroMessenger\/([\d\.]+)/);let p=n.data.detailConfigs||[],f=n.data.defaultConfigs||[];const r=p.find(g=>g.channel==k?"1":"2"),u=f.find(g=>g.channel==k?"1":"2");let v="";r&&r.images&&r.images.thumbnailPic?v=r.images.thumbnailPic:u&&u.images&&u.images.thumbnailPic&&(v=u.images.thumbnailPic);let m=((S=w.value.baseInfo)==null?void 0:S.cnStaticHost)||"https://wwwstatic.vivo.com.cn/vivoportal/files/image/",l={title:r&&r.title||document.title,desc:r&&r.desc||document.title,imgUrl:v.includes("http")?v:m+v,link:p.link||location.href};wx.updateAppMessageShareData({title:l.title,desc:l.desc,link:l.link,imgUrl:l.imgUrl,success:()=>{console.info("分享朋友设置成功")}}),wx.updateTimelineShareData({title:l.title,link:l.link,imgUrl:l.imgUrl,success:()=>{console.info("分享到 朋友圈设置成功")}})}),wx.error(k=>{console.log("wx.error:",k)})):console.error("wxParams is null")}},qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKMAAAAsCAYAAAAJigiNAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAjVSURBVHgB7V3NbhxFEP56HQxBEWyE4IYy5gWScOHI2AckEALDmdibHBBCgvw8QLzhAYiTIwdi+4pEDOIcDy9AnBfAkwsHJBRHRHZi7G2qembDxHinq2e7ZzyGT7I20dbOzkx/U131VXetwn8IcU9H9HIGA5xSwJRWeFn8YY376CClf/HferKkNvE/vEKhBjAJlMZt+md3hMkmEeM8DfA6/H93rAaYpSv9kP4bwR8SIug93cEinXeKCqBzAz0YC0qhV2ZH927pzoq6hpoRf07n9wjzdH79Mjsi0e07y+rKqPff/UJj+yEu0nEujTB5QON/oR4yzulFOpGLpUYaN9ZW1CX4+L6e7nYGuKizi+8iPBJNhElW1LLLh975TKvdbXxPQz5rMdV0/POuxx8HcV/zHDBFD8KvAvONtWX1xoHH4QcOmKbj3LEcY62DemAlhNOUWYL4Ez1LF35XZ09zHUQ0X0sP29LMvL6dhwIi7HSgBwo/CkwVHX8eNeLEb/Sd5LUltkS3VYyPqC4yBgd7QyLDdTVhwoEIDYA9HD8I8Tkt8vDxa+aFB1ISf8YccqAm7A3A8+/bAlNNdjfhAUeCjHlMukZk8DLNj4mu6uD6zJy2epV+30RJD2gKvgE7VEfjS9QAjhW3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ImyaZ5H6DlHpz2S6CX6RmY3vHrItLUDNMSWyAnso2HYWoU7M3Zk+82Nj2WKD4my0sn0TCj23kREwQEH06tyQ1DVN/Qcm5cW+kZ5SNoWgN7nowwFSur3Xzg3Rx8ICmw1edlZKGP2uWHJInziCv1Z5msbpwTZHw40w07ru9nl+fWbBwmK6P8f6nZuHsLLJfBDut/hk3xvAaEnqPy5KrdT5Aud4Yj3ib97qv/w2f1MZsq39z9AAAAABJRU5ErkJggg==",Bt={key:0,id:"gw_header",class:"new-head-wrap"}
1,Pt=["innerHTML"],Et=["innerHTML"],Tt={key:1,id:"gw_footer",ref:"footer"},Nt=["innerHTML"],Wt={__name:"default",setup(w){var c,D,h,Y,$,Q;const a=z(),i=F(),y=Me(),d=Pe(),{baseInfo:n,officialHF:b}=Re(a.value),k=_e(),p=xe(),f=Fe(),r=Ze(),u=()=>{var o,C,B;const e=[{rel:"dns-prefetch",href:"//asia-exstatic.vivoglobal.com"},{rel:"dns-prefetch",href:"//www.googletagmanager.com"},{rel:"dns-prefetch",href:"//www.google-analytics.com"}];return((o=n.value)==null?void 0:o.regionCode)==="in"?(((C=n.value)==null?void 0:C.brandMark)==="iqoo"?(e.push({rel:"dns-prefetch",href:"//passport.iqoo.com"}),e.push({rel:"dns-prefetch",href:"//mshop.iqoo.com"}),e.push({rel:"dns-prefetch",href:"//shop.iqoo.com"})):(e.push({rel:"dns-prefetch",href:"//passport.vivo.com"}),e.push({rel:"dns-prefetch",href:"//mshop.vivo.com"}),e.push({rel:"dns-prefetch",href:"//shop.vivo.com"})),e.push({rel:"dns-prefetch",href:"//in-exstatic-vivofs.vivo.com"})):((B=n.value)==null?void 0:B.regionCode)==="ru"?e.push({rel:"dns-prefetch",href:"//ru-exstatic-vivofs.vivo.com"}):e.push({rel:"dns-prefetch",href:"//asia-exstatic-vivofs.vivo.com"}),e},v=Je(),m=()=>{var o,C,B,x,U,O,T,V,X,G,ee,te,oe,ne,se,ae;const e=[];if((C=(o=a.value)==null?void 0:o.baseInfo)!=null&&C.vivoSpace&&e.push({src:"".concat(v.value,"js/jWeiwo.2.0.js"),defer:!0,async:!0,type:"text/javascript",id:"vivo-jWeiwo-js"}),p.value){const Se=((x=(B=a.value)==null?void 0:B.baseInfo)==null?void 0:x.currentEnv)||"prod";e.push({innerHTML:"\n        var sZeus = document.createElement('script');\n        sZeus.onload = sZeus.onreadystatechange = function () {\n          if (!this.readyState || this.readyState === 'loaded' || this.readyState === 'complete') {\n            sZeus.onload = sZeus.onreadystatechange = null;\n            window.VMonitor && window.VMonitor.init({\n              id: 'lsYkPuCe',  // 页面应用id\n              reportRender: false,  // 手动性能上报\n              zeusEnv: '".concat(Se,"',  // zeusEnv:环境区分。prod:生产;test:测试;pre:预发\n              branchName: 'master'  // branchName: 业务代码git分支名\n            });\n          }\n        };\n        sZeus.src = '//sentinelapi.vivo.com.cn/jssdk/vmonitor.min.js';\n        document.head.appendChild(sZeus);\n      "),type:"text/javascript"})}else e.push({textContent:'\n          var VIVO_WEB_HOST = "'.concat((O=(U=a.value)==null?void 0:U.baseInfo)==null?void 0:O.vivoWebHost,'";\n          var VIVO_STATIC_HOST = "').concat((V=(T=a.value)==null?void 0:T.baseInfo)==null?void 0:V.vivoStaticHost,'"\n          var globalVar = {\n            regionId: "').concat((G=(X=a.value)==null?void 0:X.baseInfo)==null?void 0:G.regionCode,'"\n          }\n        '),tagPosition:"head",id:"vivo-ex-common-host"});return((ee=n.value)==null?void 0:ee.brandMark)==="vivo"&&((te=n.value)==null?void 0:te.regionCode)==="th"&&e.push({src:"https://cdn-akamai.mookie1.com/LB/LightningBolt.js",defer:!0,async:!0,type:"text/javascript",id:"lightning_bolt"}),((oe=n.value)==null?void 0:oe.brandMark)==="vivo"&&((ne=n.value)==null?void 0:ne.regionCode)==="ru"&&e.push({src:"https://my.hellobar.com/5da02469e8dd6e3ff2356f815f8e387f38de3654.js",defer:!0,async:!0,type:"text/javascript"}),(se=n.value)!=null&&se.thirdOnlineCustomer&&e.push({src:"https://static.zdassets.com/ekr/snippet.js?key=".concat((ae=n.value)==null?void 0:ae.thirdOnlineCustomer),defer:!0,async:!0,type:"text/javascript",id:"ze-snippet"}),i.value&&p.value&&e.push({src:"https://res.wx.qq.com/open/js/jweixin-1.6.0.js",weight:10}),e},l=K(()=>{const e=[];return i.value||e.push("extra-desktop-style"),e.join(" ")}),S=K(()=>{var e,o,C;return Ue(((e=n.value)==null?void 0:e.brandMark)+"_notification_bar_reminder").value?!1:!y.value&&((C=(o=n.value)==null?void 0:o.noticeBoard)==null?void 0:C.isShow)}),g=A(!0),L=Ae(),E=e=>{e.target.matches(".vep-head-download-close")&&(L.value=R())},I=re(),M=()=>{I.value=window.scrollY||document.documentElement.scrollTop;let e=!1;window.addEventListener("scroll",()=>{e||(requestAnimationFrame(()=>{I.value=window.scrollY||document.documentElement.scrollTop,e=!1}),e=!0)})};He({htmlAttrs:{lang:(((c=n.value)==null?void 0:c.languageCode)||"").replace("_","-")||"zh-CN",class:l},meta:[((D=n.value)==null?void 0:D.brandMark)==="vivo"&&((h=n.value)==null?void 0:h.regionCode)==="ru"?{name:"yandex-verification",content:"14942e3489750f5a"}:{},{name:"facebook-domain-verification",content:((Y=n.value)==null?void 0:Y.brandMark)==="iqoo"?"wmu0d4b6o9quy45uxpgxbnhpy46b36":"0q2ryjis6o0fzvez07tvvutzgde34a"},($=n.value)!=null&&$.googleSearch?{name:"google-site-verification",content:(Q=n.value)==null?void 0:Q.googleSearch}:{}
1],link:[...u()],script:[...m()]}),He(K(()=>{var e,o;return{link:(o=(e=a.value)==null?void 0:e.officialHF)==null?void 0:o.cssUrlArr}}));const pe=()=>{var o;const e=(o=a.value.officialHF)==null?void 0:o.commonJs;Ce(e)},ve=()=>{var e;if(a.value.officialHF.headerHtml){const o=document.querySelector("#vp-head-header-script").innerHTML;o&&he(o)}if(a.value.officialHF.footerHtml){const o=document.querySelector("#vp-head-footer-script").innerHTML;o&&he(o)}try{const o=document.querySelector("#gw_header script");o&&he(o.innerHTML)}catch(o){console.log(o)}Qe(((e=a.value.officialHF)==null?void 0:e.scriptUrl)||"","script",function(){d.name==="home"&&(window.vpHeaderChangeDeeplinkUrl&&window.vpHeaderChangeDeeplinkUrl("space://vivo.com/deeplinkbridge?pageName=main"),window.vpHeaderDeeplinkConfig&&window.vpHeaderDeeplinkConfig("space://vivo.com/deeplinkbridge?pageName=main"))})},J=async()=>{const e="".concat(k.value,"/vpg/api/fontPack/info"),o=await $fetch(e);o&&o.code==200&&o.data&&Ce(o.data)},ce=()=>{J(),p.value?ve():pe()},le=()=>{const e=document.querySelector(".common-notification-bar");if(e){e.style.opacity=0;let o=null;p.value?o=document.querySelector(".vp-head"):o=document.querySelector(".vep-new-header"),o.insertBefore(e,o.firstChild),requestAnimationFrame(()=>{e.style.opacity=1})}},ue=()=>{le();const e=document.querySelector(".vp-head-wap-common-box"),o=document.querySelector(".common-notification-bar");e&&o&&i.value&&(e.insertBefore(o,e.firstChild),L.value=R());const C=new MutationObserver(x=>{x.forEach(U=>{(U.attributeName==="style"||U.attributeName==="class")&&(L.value=R())})}),B=document.querySelector(".vp-head-download")||document.querySelector(".vep-head-download");if(B&&C.observe(B,{attributes:!0,attributeFilter:["style","class"]}),C.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]}),L.value=R(),document.body.addEventListener("click",E),p.value){const x=document.querySelector(".vep-wap-nav"),U=document.querySelectorAll(".vep-wap-product-button-box"),O=document.querySelectorAll(".banner-container");x&&x.classList.add("cn"),U.length&&U.forEach(T=>{T.classList.add("cn")}),O.length&&O.forEach(T=>{T.classList.add("cn")}),document.body.classList.add("cn")}},q=()=>{var B;const e=document.querySelector<HTMLImageElement>".vcm-v-header-logo>img",o=document.getElementById("vcm-v-banner-sdk"),C=document.querySelectorAll<HTMLElement>".vcm-v-group-btn";if(((B=n.value)==null?void 0:B.brandMark)==="jovi"){const x=document.querySelector<HTMLElement>"#vcm-v-dialog-sdk .vcm-v-header-logo";x&&Object.assign(x.style,{width:"82px",height:"auto",marginTop:"28.3px",marginRight:"23px"}),e&&(e.src=qt)}if(o&&(o.setAttribute("tabindex","0"),o.focus()),C.length){const x=document.body;(x.classList.contains("portal-font-scale-4")||x.classList.contains("portal-font-scale-5"))&&C.forEach(U=>{Object.assign(U.style,{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"block"})}),(x.classList.contains("portal-font-scale-6")||x.classList.contains("portal-font-scale-7"))&&C.forEach(U=>{U.style.padding="30px 20px"})}};return Be(()=>{i.value=i.value&&window.innerWidth<1200,q(),M(),i.value&&p.value&&Mt()}),Ie(()=>{we(r,async e=>{e&&(await ge(),ce(),await ge(),ue())},{immediate:!0})}),Le(()=>{document.body.removeEventListener("click",E)}),(e,o)=>{var O,T,V,X,G,ee,te,oe,ne,se,ae,fe;const C=ot,B=yt,x=Ve,U=Ut;return _(),H(qe,null,[((O=t(a).baseInfo)==null?void 0:O.appHeaderFooterRemoved)!=1&&!((T=t(a).baseInfo)!=null&&T.vivoSpace)&&((V=t(b))!=null&&V.headerHtmlMini||(X=t(b))!=null&&X.headerHtml)?(_(),H("header",Bt,[t(S)&&t(g)?(_(),ye(C,{key:0,onClose:o[
10]||(o[0]=Se=>g.value=!1)})):P("",!0),t(r)?(_(),H("div",{key:2,class:"full-head",innerHTML:(ee=t(a).officialHF)==null?void 0:ee.headerHtml},null,8,Et)):(_(),H("div",{key:1,class:"mini-head",innerHTML:(G=t(a).officialHF)==null?void 0:G.headerHtmlMini},null,8,Pt))])):P("",!0),s("main",null,[Ye(e.$slots,"default"),me(x,null,{default:$e(()=>[me(B)]),_:1})]),((te=t(a).baseInfo)==null?void 0:te.appHeaderFooterRemoved)!=1&&!((oe=t(a).baseInfo)!=null&&oe.vivoSpace)&&((ne=t(b))!=null&&ne.footerHtml)?(_(),H("footer",Tt,[(ae=(se=t(f))==null?void 0:se.firstPath)!=null&&ae.name?(_(),ye(U,{key:0,firstPath:t(f).firstPath,secondPath:t(f).secondPath},null,8,["firstPath","secondPath"])):P("",!0),s("div",{innerHTML:(fe=t(a).officialHF)==null?void 0:fe.footerHtml},null,8,Nt)],512)):P("",!0)],64)}}};export{Wt as default};

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.