1import{h as u,e8 as g,e9 as I,dz as w,ks as b,z as _,dA as E,qM as T,qN as h,ew as y,ex as D,kx as L,kw as S,b as B,qO as N,qP as U}from"./commonChunk.Dhe5lqYh.js";import{I as k,E as p}from"./vendorChunk.BdsO83GQ.js";import"../vendors/vendor-stable.B8ub4Ug6.js";import"../vendors/vendor-swiper.T_wbf2QY.js";const q=(o,n)=>{const{withToken:r=!0}=n!=null?n:{},{t}=u();g(I.LOBBY_SWITCH_DOMAIN,{title:()=>t("lobby.common.tips.title"),type:"info",showCancelButton:!0,message:()=>t("lobby.error.domainIsBaned"),confirmButtonText:()=>t("lobby.error.switchdomain"),cancelButtonText:()=>t("lobby.error.keepdomain"),className:"performance-dialog-switch-domain",onConfirm:()=>{const{isH5Pwa:s}=w(),{tokenInfos:a}=b(),{uuid:c}=_(),d=k(location.href),m=l=>{const e={...d,_ti:void 0,_et:void 0,[U]:void 0,[N]:void 0};return r&&a&&(e._ti=window.btoa(JSON.stringify(a)),e._et=window.btoa(String(Date.now())),Object.assign(e,L(c)),Object.assign(e,S(B().getFingerId))),p(l,e)},f=E.isActivated?`${new URL(o).origin}${location.pathname}${location.hash||""}`:o,i=m(f);s?T?(y(D.EVENT_UPDATE_LOBBY_ALIVE_DOMAIN).send({domain:o},{merge:!1,fireAndForget:!0}),setTimeout(()=>{location.href=i},100)):(h(i),setTimeout(()=>{location.reload()},100)):location.href=i}})};export{q as createSwitchDomain};
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.