{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "email-input",
  "title": "Email Input",
  "description": "Spots misspelled domains like gmial.con or rediffmial.com with Damerau-Levenshtein matching and offers a one-tap, never automatic, fix; can suggest matching providers while the domain is being typed.",
  "dependencies": [
    "@floating-ui/react",
    "lucide-react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/default/email-input/email-domains.ts",
      "content": "// Bollard UI — email-input · MIT licence · https://bollard-ui.vercel.app/components/email-input\r\n\r\n/**\r\n * Pure, server-safe email helpers shared by EmailInput and other components (no React, no DOM).\r\n */\r\n\r\n/** Popular mailbox providers, most common first so ties go to the likelier one. */\r\nexport const COMMON_EMAIL_DOMAINS = [\r\n  \"gmail.com\", \"yahoo.com\", \"outlook.com\", \"hotmail.com\", \"icloud.com\", \"yahoo.co.in\",\r\n  \"rediffmail.com\", \"live.com\", \"aol.com\", \"protonmail.com\", \"proton.me\", \"zoho.com\",\r\n  \"zohomail.in\", \"yahoo.in\", \"ymail.com\", \"msn.com\", \"me.com\", \"gmx.com\", \"mail.com\",\r\n  \"hotmail.co.uk\", \"yahoo.co.uk\", \"outlook.in\", \"hey.com\", \"fastmail.com\",\r\n]\r\n\r\nconst TLD_TYPOS: Record<string, string> = {\r\n  con: \"com\", cmo: \"com\", ocm: \"com\", vom: \"com\", xom: \"com\", cpm: \"com\", comm: \"com\",\r\n  coom: \"com\", ccom: \"com\", cm: \"com\", om: \"com\", nte: \"net\", ner: \"net\", ogr: \"org\", rog: \"org\",\r\n}\r\n\r\n/** Damerau-Levenshtein (optimal string alignment): a swapped pair costs 1, not 2. */\r\nfunction distance(a: string, b: string) {\r\n  const d = Array.from({ length: a.length + 1 }, (_, i) => [i, ...Array<number>(b.length).fill(0)])\r\n  for (let j = 1; j <= b.length; j++) d[0][j] = j\r\n  for (let i = 1; i <= a.length; i++) {\r\n    for (let j = 1; j <= b.length; j++) {\r\n      d[i][j] = Math.min(d[i - 1][j] + 1, d[i][j - 1] + 1, d[i - 1][j - 1] + (a[i - 1] === b[j - 1] ? 0 : 1))\r\n      if (i > 1 && j > 1 && a[i - 1] === b[j - 2] && a[i - 2] === b[j - 1]) d[i][j] = Math.min(d[i][j], d[i - 2][j - 2] + 1)\r\n    }\r\n  }\r\n  return d[a.length][b.length]\r\n}\r\n\r\n/**\r\n * Returns the corrected domain when the address's domain looks like a typo of a\r\n * common provider (gmial.con → gmail.com, yaho.com → yahoo.com), or null.\r\n */\r\nexport function suggestEmailDomain(email: string, domains: string[] = COMMON_EMAIL_DOMAINS): string | null {\r\n  const at = email.lastIndexOf(\"@\")\r\n  if (at < 1) return null\r\n  const typed = email.slice(at + 1).toLowerCase()\r\n  if (!typed || domains.includes(typed)) return null\r\n\r\n  // Fix an obviously mistyped ending first, so \"hotmial.con\" only needs one more edit.\r\n  const parts = typed.split(\".\")\r\n  const last = parts[parts.length - 1]\r\n  if (parts.length > 1 && TLD_TYPOS[last]) parts[parts.length - 1] = TLD_TYPOS[last]\r\n  const domain = parts.join(\".\")\r\n  if (domains.includes(domain)) return domain\r\n\r\n  // \"user@gmail\" with no ending at all.\r\n  if (!domain.includes(\".\")) return domains.find((d) => distance(domain, d.split(\".\")[0]) <= 1) ?? null\r\n\r\n  let best: string | null = null\r\n  let bestScore = Infinity\r\n  for (const candidate of domains) {\r\n    const score = distance(domain, candidate)\r\n    if (score < bestScore) [best, bestScore] = [candidate, score]\r\n  }\r\n  if (best && bestScore <= (domain.length >= 12 ? 2 : 1)) return best\r\n  return domain !== typed ? domain : null\r\n}\r\n\r\n/** Structural slips in an address, each with the fixed address and a short fix label. */\r\nexport function findEmailProblem(email: string): { message: string; fix?: string; fixLabel?: string } | null {\r\n  const ats = email.match(/@+/g) ?? []\r\n  if (ats.join(\"\").length > 1) {\r\n    return ats.length === 1\r\n      ? { message: \"This address has more than one @.\", fix: email.replace(/@+/, \"@\"), fixLabel: \"Remove the extra @\" }\r\n      : { message: \"This address has more than one @.\" }\r\n  }\r\n  if (/\\.$/.test(email)) return { message: \"The address ends with a dot.\", fix: email.replace(/\\.+$/, \"\"), fixLabel: \"Remove the dot\" }\r\n  if (email.includes(\"..\")) return { message: \"The address has two dots in a row.\", fix: email.replace(/\\.{2,}/g, \".\"), fixLabel: \"Remove the extra dot\" }\r\n  if (/@\\./.test(email)) return { message: \"The domain starts with a dot.\", fix: email.replace(/@\\.+/, \"@\"), fixLabel: \"Remove the dot\" }\r\n  return null\r\n}\r\n",
      "type": "registry:ui",
      "target": "@components/email-input/email-domains.ts"
    },
    {
      "path": "registry/default/email-input/email-input.tsx",
      "content": "\"use client\"\r\n\r\n// Bollard UI — email-input · MIT licence · https://bollard-ui.vercel.app/components/email-input\r\n\r\nimport * as React from \"react\"\r\nimport { autoUpdate, flip, offset, shift, size, useFloating } from \"@floating-ui/react\"\r\nimport { Check, MailWarning, X } from \"lucide-react\"\r\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\"\r\n\r\nimport { cn } from \"@/lib/utils\"\r\nimport { COMMON_EMAIL_DOMAINS, findEmailProblem, suggestEmailDomain } from \"./email-domains\"\r\n\r\nexport { COMMON_EMAIL_DOMAINS, findEmailProblem, suggestEmailDomain } from \"./email-domains\"\r\n\r\n/** Highlights the part of the suggested domain that differs from what was typed. */\r\nfunction Highlighted({ typed, suggestion }: { typed: string; suggestion: string }) {\r\n  let start = 0\r\n  while (start < typed.length && typed[start] === suggestion[start]) start++\r\n  let end = 0\r\n  while (end < Math.min(typed.length, suggestion.length) - start && typed[typed.length - 1 - end] === suggestion[suggestion.length - 1 - end]) end++\r\n  return (\r\n    <>\r\n      {suggestion.slice(0, start)}\r\n      <mark className=\"rounded-sm bg-amber-300/50 px-px text-inherit dark:bg-amber-400/25\">{suggestion.slice(start, suggestion.length - end)}</mark>\r\n      {suggestion.slice(suggestion.length - end)}\r\n    </>\r\n  )\r\n}\r\n\r\n/**\r\n * Domains to offer while the part after @ is still being typed: providers starting with what's\r\n * there, so \"priya@gm\" offers gmail.com before a typo can happen. Empty once the domain is complete.\r\n */\r\nexport function completeEmailDomain(email: string, domains: string[] = COMMON_EMAIL_DOMAINS, limit = 5): string[] {\r\n  const at = email.lastIndexOf(\"@\")\r\n  if (at < 1 || email.indexOf(\"@\") !== at) return []\r\n  const typed = email.slice(at + 1).toLowerCase()\r\n  if (domains.includes(typed)) return []\r\n  return domains.filter((domain) => domain.startsWith(typed)).slice(0, limit)\r\n}\r\n\r\n/** Every visible string. `{email}`, `{from}` and `{to}` are filled in where noted. */\r\nexport const EMAIL_INPUT_MESSAGES = {\r\n  typoMessage: \"Looks like a typo.\",\r\n  keepLabel: \"Keep it as typed\",\r\n  /** Accessible label of the fix button. */\r\n  useLabel: \"Use {email}\",\r\n  /** Visible prefix inside the fix button, before the highlighted domain. */\r\n  useShort: \"Use\",\r\n  /** Accessible name of the domain list. */\r\n  suggestionsLabel: \"Email providers\",\r\n  /** Shown for a few seconds after a fix: `{from}` → `{to}`. */\r\n  fixedText: \"Changed {from} to {to}\",\r\n}\r\nexport type EmailInputMessages = typeof EMAIL_INPUT_MESSAGES\r\n\r\nexport interface EmailInputProps\r\n  extends Omit<React.ComponentProps<\"input\">, \"value\" | \"defaultValue\" | \"onChange\" | \"type\"> {\r\n  /** Visible label. */\r\n  label?: string\r\n  /** Helper text shown under the field while there is nothing to warn about. */\r\n  hint?: string\r\n  /** Controlled value. */\r\n  value?: string\r\n  /** Initial value when uncontrolled. */\r\n  defaultValue?: string\r\n  /** Called with the cleaned value (spaces removed) on every change. */\r\n  onValueChange?: (value: string) => void\r\n  /** Domains to compare against. Defaults to common global and Indian providers. */\r\n  domains?: string[]\r\n  /** Pause in ms before warnings appear while typing. Leaving the field shows them at once. */\r\n  delay?: number\r\n  /** Text shown before the suggested domain. */\r\n  typoMessage?: string\r\n  /** Accessible label of the button that keeps the address as typed. */\r\n  keepLabel?: string\r\n  /** Offer matching providers in a list while the domain is being typed. Default true. */\r\n  completeDomains?: boolean\r\n  /** Override any text (see `EMAIL_INPUT_MESSAGES`). `typoMessage` and `keepLabel` props still win. */\r\n  messages?: Partial<EmailInputMessages>\r\n}\r\n\r\nconst fieldClass =\r\n  \"h-9 w-full min-w-0 rounded-md border bg-transparent px-3 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30 data-warning:border-amber-500 dark:data-warning:border-amber-400\"\r\nconst fixClass =\r\n  \"inline-flex h-6 items-center gap-1 rounded-md border border-amber-500/40 px-2 font-medium text-amber-900 transition-colors hover:bg-amber-500/10 dark:text-amber-200 outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50\"\r\n\r\n/**\r\n * An email field that catches typo'd domains (gmial.con, hotmial, yaho, rediffmal)\r\n * before the confirmation email bounces. It strips stray spaces, flags a double @\r\n * or stray dot, and offers a one-tap fix, but never rewrites the address on its own. While the\r\n * domain is still being typed it offers matching providers (gmail.com for \"@gm\") in a Floating UI\r\n * list, so the typo never gets typed in the first place.\r\n */\r\nexport function EmailInput({\r\n  label = \"Email\",\r\n  hint,\r\n  value,\r\n  defaultValue = \"\",\r\n  onValueChange,\r\n  domains = COMMON_EMAIL_DOMAINS,\r\n  delay = 700,\r\n  typoMessage,\r\n  keepLabel,\r\n  completeDomains = true,\r\n  messages,\r\n  id,\r\n  className,\r\n  onBlur,\r\n  onFocus,\r\n  onKeyDown,\r\n  ref,\r\n  \"aria-describedby\": describedBy,\r\n  ...props\r\n}: EmailInputProps) {\r\n  const say = { ...EMAIL_INPUT_MESSAGES, ...messages, ...(typoMessage !== undefined && { typoMessage }), ...(keepLabel !== undefined && { keepLabel }) }\r\n  const fill = (text: string, values: Record<string, string>) => text.replace(/\\{(\\w+)\\}/g, (m, k: string) => values[k] ?? m)\r\n  const reduce = useReducedMotion()\r\n  const [focused, setFocused] = React.useState(false)\r\n  const [closedFor, setClosedFor] = React.useState<string>()\r\n  const [active, setActive] = React.useState(-1)\r\n  const [fixed, setFixed] = React.useState<{ from: string; to: string }>()\r\n  const [inner, setInner] = React.useState(defaultValue)\r\n  const [settled, setSettled] = React.useState(defaultValue)\r\n  const [dismissed, setDismissed] = React.useState<string>()\r\n  const inputRef = React.useRef<HTMLInputElement>(null)\r\n  const autoId = React.useId()\r\n  const inputId = id ?? autoId\r\n  const hintId = `${inputId}-hint`\r\n  const email = value ?? inner\r\n\r\n  React.useImperativeHandle(ref, () => inputRef.current as HTMLInputElement)\r\n\r\n  React.useEffect(() => {\r\n    const timer = setTimeout(() => setSettled(email), delay)\r\n    return () => clearTimeout(timer)\r\n  }, [email, delay])\r\n\r\n  const update = (next: string) => {\r\n    if (value === undefined) setInner(next)\r\n    onValueChange?.(next)\r\n  }\r\n\r\n  const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\r\n    const input = event.target\r\n    const raw = input.value\r\n    const clean = raw.replace(/\\s+/g, \"\")\r\n    if (clean !== raw) {\r\n      // Keep the caret where it was, minus the spaces removed before it.\r\n      const before = raw.slice(0, input.selectionStart ?? raw.length)\r\n      const caret = before.replace(/\\s+/g, \"\").length\r\n      requestAnimationFrame(() => inputRef.current?.setSelectionRange(caret, caret))\r\n    }\r\n    update(clean)\r\n  }\r\n\r\n  const apply = (next: string, from?: string, to?: string) => {\r\n    update(next)\r\n    setSettled(next)\r\n    setClosedFor(next)\r\n    if (from && to) setFixed({ from, to })\r\n    inputRef.current?.focus()\r\n  }\r\n\r\n  React.useEffect(() => {\r\n    if (!fixed) return\r\n    const timer = setTimeout(() => setFixed(undefined), 3000)\r\n    return () => clearTimeout(timer)\r\n  }, [fixed])\r\n\r\n  const completions = completeDomains && focused && closedFor !== email ? completeEmailDomain(email, domains) : []\r\n  const open = completions.length > 0\r\n  const listId = `${inputId}-domains`\r\n  const { refs, floatingStyles } = useFloating({\r\n    open,\r\n    placement: \"bottom-start\",\r\n    strategy: \"fixed\",\r\n    whileElementsMounted: autoUpdate,\r\n    middleware: [\r\n      offset(4),\r\n      flip({ padding: 8 }),\r\n      shift({ padding: 8 }),\r\n      size({\r\n        padding: 8,\r\n        apply({ rects, elements }) {\r\n          elements.floating.style.minWidth = `${Math.min(rects.reference.width, 240)}px`\r\n        },\r\n      }),\r\n    ],\r\n  })\r\n  const local = email.slice(0, email.lastIndexOf(\"@\") + 1)\r\n  const complete = (domain: string) => {\r\n    update(`${local}${domain}`)\r\n    setSettled(`${local}${domain}`)\r\n    setClosedFor(`${local}${domain}`)\r\n    setActive(-1)\r\n  }\r\n  const handleKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\r\n    onKeyDown?.(event)\r\n    if (!open || event.defaultPrevented) return\r\n    if (event.key === \"ArrowDown\" || event.key === \"ArrowUp\") {\r\n      event.preventDefault()\r\n      const step = event.key === \"ArrowDown\" ? 1 : -1\r\n      // Cycles through the options and back to \"none\", so Enter can still submit the form.\r\n      const slots = completions.length + 1\r\n      setActive((i) => ((((i + 1 + step) % slots) + slots) % slots) - 1)\r\n    } else if ((event.key === \"Enter\" || event.key === \"Tab\") && active >= 0 && completions[active]) {\r\n      event.preventDefault()\r\n      complete(completions[active])\r\n    } else if (event.key === \"Escape\") {\r\n      event.preventDefault()\r\n      setClosedFor(email)\r\n    }\r\n  }\r\n\r\n  const ready = settled === email\r\n  const problem = ready ? findEmailProblem(email) : null\r\n  const typedDomain = email.slice(email.lastIndexOf(\"@\") + 1)\r\n  const suggestion = ready && !problem ? suggestEmailDomain(email, domains) : null\r\n  const fixedEmail = suggestion ? `${email.slice(0, email.lastIndexOf(\"@\") + 1)}${suggestion}` : \"\"\r\n  const showSuggestion = suggestion && fixedEmail !== dismissed && !open\r\n\r\n  return (\r\n    <div data-slot=\"email-input\" className={cn(\"grid w-full max-w-sm gap-1.5\", className)}>\r\n      <label htmlFor={inputId} className=\"w-fit text-sm font-medium\">\r\n        {label}\r\n      </label>\r\n      <input\r\n        ref={(node) => {\r\n          inputRef.current = node\r\n          refs.setReference(node)\r\n        }}\r\n        id={inputId}\r\n        role={completeDomains ? \"combobox\" : undefined}\r\n        aria-autocomplete={completeDomains ? \"list\" : undefined}\r\n        aria-expanded={completeDomains ? open : undefined}\r\n        aria-controls={open ? listId : undefined}\r\n        aria-activedescendant={open && active >= 0 ? `${listId}-${active}` : undefined}\r\n        type=\"text\"\r\n        inputMode=\"email\"\r\n        autoComplete=\"email\"\r\n        autoCapitalize=\"none\"\r\n        autoCorrect=\"off\"\r\n        spellCheck={false}\r\n        value={email}\r\n        onChange={(event) => {\r\n          setActive(-1)\r\n          handleChange(event)\r\n        }}\r\n        onKeyDown={handleKeyDown}\r\n        onFocus={(event) => {\r\n          setFocused(true)\r\n          onFocus?.(event)\r\n        }}\r\n        onBlur={(event) => {\r\n          setFocused(false)\r\n          setSettled(email)\r\n          onBlur?.(event)\r\n        }}\r\n        aria-describedby={cn(hintId, describedBy)}\r\n        data-warning={problem || showSuggestion ? \"\" : undefined}\r\n        className={fieldClass}\r\n        {...props}\r\n      />\r\n      <AnimatePresence>\r\n        {open && (\r\n          <motion.ul\r\n            ref={refs.setFloating}\r\n            style={floatingStyles}\r\n            id={listId}\r\n            role=\"listbox\"\r\n            aria-label={say.suggestionsLabel}\r\n            initial={reduce ? false : { opacity: 0, y: -4 }}\r\n            animate={{ opacity: 1, y: 0 }}\r\n            exit={reduce ? { opacity: 0, transition: { duration: 0 } } : { opacity: 0, y: -4, transition: { duration: 0.1 } }}\r\n            transition={{ type: \"spring\", stiffness: 520, damping: 36 }}\r\n            className=\"z-50 overflow-hidden rounded-md border bg-popover p-1 text-sm text-popover-foreground shadow-md\"\r\n          >\r\n            {completions.map((domain, index) => (\r\n              <li\r\n                key={domain}\r\n                id={`${listId}-${index}`}\r\n                role=\"option\"\r\n                aria-selected={index === active}\r\n                onMouseDown={(event) => event.preventDefault()}\r\n                onClick={() => complete(domain)}\r\n                onMouseEnter={() => setActive(index)}\r\n                className=\"cursor-default truncate rounded-sm px-2 py-1.5 aria-selected:bg-accent\"\r\n              >\r\n                <span className=\"text-muted-foreground\">{local}</span>\r\n                <span className=\"font-medium\">{domain.slice(0, email.length - local.length)}</span>\r\n                {domain.slice(email.length - local.length)}\r\n              </li>\r\n            ))}\r\n          </motion.ul>\r\n        )}\r\n      </AnimatePresence>\r\n      <div id={hintId} aria-live=\"polite\" className=\"min-h-6 text-xs\">\r\n        {problem || showSuggestion ? (\r\n          <p className=\"flex gap-1.5 text-amber-700 dark:text-amber-400\">\r\n            <span className=\"flex h-6 shrink-0 items-center\">\r\n              <MailWarning aria-hidden className=\"size-3.5\" />\r\n            </span>\r\n            <span className=\"flex min-w-0 flex-wrap items-center gap-x-2\">\r\n              <span className=\"py-1\">{problem ? problem.message : say.typoMessage}</span>\r\n              {problem?.fix ? (\r\n                <button type=\"button\" onClick={() => problem.fix && apply(problem.fix, email, problem.fix)} className={fixClass}>\r\n                  {problem.fixLabel}\r\n                </button>\r\n              ) : suggestion ? (\r\n                <span className=\"flex items-center gap-1\">\r\n                  <button type=\"button\" onClick={() => apply(fixedEmail, `@${typedDomain}`, `@${suggestion}`)} aria-label={fill(say.useLabel, { email: fixedEmail })} className={fixClass}>\r\n                    <span>\r\n                      {say.useShort} @<Highlighted typed={typedDomain} suggestion={suggestion} />\r\n                    </span>\r\n                  </button>\r\n                  <button\r\n                    type=\"button\"\r\n                    onClick={() => {\r\n                      setDismissed(fixedEmail)\r\n                      inputRef.current?.focus()\r\n                    }}\r\n                    aria-label={say.keepLabel}\r\n                    title={say.keepLabel}\r\n                    className=\"grid size-6 place-items-center rounded-md transition-colors hover:bg-amber-500/10 outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50\"\r\n                  >\r\n                    <X aria-hidden className=\"size-3.5\" />\r\n                  </button>\r\n                </span>\r\n              ) : null}\r\n            </span>\r\n          </p>\r\n        ) : fixed ? null : hint ? (\r\n          <p className=\"py-1 text-muted-foreground\">{hint}</p>\r\n        ) : null}\r\n        <AnimatePresence>\r\n          {fixed && !problem && !showSuggestion && (\r\n            <motion.p\r\n              key=\"fixed\"\r\n              initial={reduce ? false : { opacity: 0, y: -4 }}\r\n              animate={{ opacity: 1, y: 0 }}\r\n              exit={{ opacity: 0 }}\r\n              className=\"flex items-center gap-1.5 py-1 text-emerald-700 dark:text-emerald-400\"\r\n            >\r\n              <Check aria-hidden className=\"size-3.5 shrink-0\" />\r\n              <span className=\"[overflow-wrap:anywhere]\">{fill(say.fixedText, { from: fixed.from, to: fixed.to })}</span>\r\n            </motion.p>\r\n          )}\r\n        </AnimatePresence>\r\n      </div>\r\n    </div>\r\n  )\r\n}\r\n",
      "type": "registry:ui",
      "target": "@ui/email-input.tsx"
    }
  ],
  "meta": {
    "stops": "Signup lost to gmial.con typo",
    "mistakes": [
      "email typo gmail",
      "bounced signup emails",
      "email domain suggestion",
      "mailcheck alternative",
      "rediffmail typo"
    ],
    "aliases": [
      "email",
      "email field",
      "signup",
      "newsletter",
      "mailcheck",
      "domain suggestion",
      "login",
      "register",
      "react hook form"
    ],
    "flows": [
      "signup-login",
      "forms"
    ],
    "fields": [
      "email"
    ],
    "summary": "Spots misspelled email domains like gmial.con and offers a one-tap fix, never an automatic one, so sign-ups don't bounce.",
    "server": "Verify ownership with a confirmation email before relying on the address.",
    "catches": [
      "Misspelled common domains (gmial.con, rediffmial.com)",
      "Swapped letters, via Damerau-Levenshtein distance",
      "Typos avoided altogether, with provider completions while typing (completeDomains)"
    ],
    "limits": [
      "Only knows the domains in its list; a typo of an unlisted domain isn't caught",
      "It doesn't check that the mailbox exists"
    ],
    "a11y": [
      "Visible <label>; hints via aria-describedby",
      "With completions on: role=\"combobox\", a role=\"listbox\", aria-activedescendant and arrow, Enter/Tab and Escape keys",
      "Fix returns focus to the input; motion respects prefers-reduced-motion"
    ],
    "usage": "import { EMAIL_INPUT_MESSAGES } from \"@/components/ui/email-input\"",
    "runtimeDependencies": [
      "@floating-ui/react",
      "lucide-react",
      "motion"
    ],
    "zeroRuntimeDependencies": false
  },
  "docs": "https://bollard-ui.vercel.app/components/email-input",
  "categories": [
    "Validators"
  ],
  "type": "registry:ui"
}
