PageSourceSearch

https://11ph.ai/assets/theme-0/CreateWebAuthnDialog.impl.teEMcICi.js

js 11ph.ai collected 2026-10-05 11:54:38 UTC 2,359 bytes, 1 lines download raw bytes

1import{h as l,dP as r,dQ as i,b2 as a,ai as u,b4 as c}from"./commonChunk.ClFq2l8G.js";import{s as n}from"./style.module.B6v0yd5p.js";import{f as s}from"../vendors/vendor-stable.B-qaYwd4.js";import"./vendorChunk.B0S1SHvJ.js";const C={openBindSuccess:e=>{const{t}=l();r(i.WEBAUTHN_BIND_SUCCESS,{title:()=>s("span",{class:n.color__lead},[t("lobby.center.security.webAuthn.bindSuccess")]),type:"success",message:()=>s(c,{class:[n.content,u().rtlClass],html:t("lobby.center.security.webAuthn.bind.success")},null),confirmButtonText:()=>t("lobby.modal.force.understood"),overlayClass:n.webauthn,closeOnClickOverlay:!1,showCloseButton:!1,closeOnRouteChange:!1,beforeClose:()=>(e==null||e(),!0)})},openBindFail:(e,t)=>{const{t:o}=l();r(i.WEBAUTHN_BIND_FAIL,{title:()=>s("span",{class:n.color__lead},[o("lobby.center.security.webAuthn.bindFail")]),type:"error",icon:"close",message:()=>s(c,{class:[n.content,u().rtlClass],html:e!=null?e:o("lobby.center.security.webAuthn.bind.fail")},null),overlayClass:n.webauthn,closeOnClickOverlay:!1,showCloseButton:!1,closeOnRouteChange:!1,showCancelButton:!0,cancelButtonText:()=>o("lobby.center.setting.cancel"),confirmButtonText:()=>o("lobby.common.loading.retry"),beforeClose:y=>(t==null||t(y),!0)})},loginWithUnRegister:e=>{const{t}=l();r(i.WEBAUTHN_UNREGISTER_FAIL,{title:()=>s("span",{class:n.color__lead},[t("lobby.common.tips.title")]),type:"warning",message:()=>s(c,{class:[n.left,u().rtlClass],html:t("lobby.center.security.webAuthn.login.unRegister")},null),overlayClass:n.webauthn,closeOnClickOverlay:!1,showCloseButton:!1,closeOnRouteChange:!1,showCancelButton:!0,cancelButtonText:()=>t("lobby.center.security.webAuthn.goRegister"),confirmButtonText:()=>t("lobby.center.security.webAuthn.nowLogin"),beforeClose:o=>(o==="confirm"?e==null||e(a.Login):o==="cancel"&&(e==null||e(a.Register)),!0)})},loginWithUnBind:e=>{const{t}=l();r(i.WEBAUTHN_UNBIND_FAIL,{title:()=>s("span",{class:n.color__lead},[t("lobby.common.tips.title")]),type:"warning",message:()=>s(c,{class:[n.left,{[n.contentRtl]:u().rtlClass}],html:t("lobby.center.security.webAuthn.login.unBind")},null),overlayClass:n.webauthn,closeOnClickOverlay:!1,showCloseButton:!1,closeOnRouteChange:!1,confirmButtonText:()=>t("lobby.center.security.webAuthn.nowLogin"),beforeClose:o=>(o==="confirm"&&(e==null||e(a.Login)),!0)})}};export{C as createWebAuthnDialog};

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.