PageSourceSearch

https://mobilingo.ai/assets/chunks/chunk-CBHzgM63.js

js mobilingo.ai collected 2026-10-01 14:12:05 UTC 2,862 bytes, 2 lines download raw bytes

1import{r as c,L as _,j as e,M as b,C as j,B as m,t as x,T as l}from"../entries/pages_index.DwH1fEUc.js";import"./chunk-BugajZ7n.js";/* empty css              *//* empty css              *//* empty css              *//* empty css              *//* empty css              */function D({controller:d}){const n=c.useRef(),{tjsx:p}=_(),{closeDialog:f,signin:o,DialogType:h,isDialogOpen:u}=d,[i,g]=c.useState(!1);return e.jsx(b,{isOpen:u(h.SIGNIN),onClose:f,variant:"mobilingo_big",className:"max-w-[534px]",children:e.jsx(j,{contentType:"SigninDialog",renderItem:s=>{const r=s.providers.find(t=>t.id==="email");return e.jsx("div",{className:"relative w-full flex flex-col items-center justify-center bg-theme-white md:px-[56px] pb-[12px] mx-auto",children:e.jsxs("div",{className:"w-full max-w-[374px]",children:[e.jsx("div",{className:"flex items-center justify-center mb-12",children:e.jsx("img",{src:s.logo,alt:"Mobilingo",className:"h-[53px]"})}),e.jsx("div",{className:"space-y-3",children:s.providers.filter(t=>t.id!=="email").map(t=>{let a;switch(t.id){case"apple":a="bg-gray_900";break;case"google":a="bg-[#4285F4]";break;default:a="bg-gray_100 text-text"}return e.jsxs(m,{onClick:()=>o(t),variant:"sign_in_option",className:x(a),children:[e.jsx("img",{src:t.logo,alt:t.name,className:"w-6 h-6"}),e.jsx("span",{children:t.cta})]},t.id)})}),e.jsx("div",{className:"text-center mt-[15px] mb-[38px]",children:e.jsx(l,{variant:"body1_dim",children:s.divider_text})}),e.jsx("div",{className:"mb-4",children:e.jsxs("div",{className:"flex items-center gap-[10px] px-[20px] py-[10px] bg-gray_100 border border-bordered rounded-full",children:[e.jsx("img",{src:r?.logo,alt:"Email Provider",className:"w-6 h-6 opacity-50"}),e.jsx(l,{variant:"body1",className:"my-0 flex-1 min-w-0",children:e.jsx("input",{type:"email",ref:n,placeholder:r?.placeholder,onChange:t=>g(!!t.target.value.trim()),className:"w-full text-text placeholder-gray_700 bg-transparent outline-none"})})]})}),e.jsx(m,{onClick:()=>{const t=n.current?.value.trim().toLowerCase();t&&o(r,t)},variant:i?"sign_in_option":"sign_in_option_disabled",className:x(i?"bg-gradient-to-t from-grad_blue_dk to-grad_blue_lt hover:bg-gradient-to-t hover:from-primary hover:to-secondary":"bg-gray_300 cursor-not-allowed"),disabled:!i,children:r?.cta}),e.jsx("div",{className:"mt-[40px] text-center",children:e.jsx(l,{variant:"txt1_dim",children:p(s.footer_text,{tos:s.footer_links?.[0]?.link?.[0]?.url?e.jsx("a",{href:s.footer_links[0].link[0].url,className:"text-primary hover:underline",children:s.footer_links[0].label},s.footer_links[0]._id):null,pp:s.footer_links?.[1]?.link?.[0]?.url?e.jsx("a",{href:s.footer_links[1].link[0].url,className:"text-primary hover:underline",children:s.footer_links[1].label},s.footer_links[1]._id):null})})})]})})}})})}export{D as default};
2//# sourceMappingURL=chunk-CBHzgM63.js.map

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.