import { createSignal, For, Show, type Component } from "solid-js"; import { PRONOUNS, METANOUNS, NEOPRONOUNS } from "./constants.js"; const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); const isTouchDevice = "ontouchstart" in window || navigator.maxTouchPoints > 1; const basePostUrl = isSafari && isTouchDevice ? "bluesky:///profile/pronouns.adorable.mom/post/" : "https://bsky.app/profile/pronouns.adorable.mom/post/"; const [search, setSearch] = createSignal(""); const PronounsList: Component<{ search: string }> = (props) => { const searchFilter = (arr: string[]) => arr.filter( (x) => x.includes(props.search.replaceAll(" ", "/")) || x.includes(props.search), ); return (