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,MAAOH,MAJ7BJ,OAXRA,QAwBjB","sources":["webpack://_N_E/./src/components/ModalsPortal/PromptInput/SuggestPromptModal.tsx"],"sourcesContent":["import Modal from \"@/components/Modal\"\nimport React from \"react\"\nimport Link from \"next/link\"\nimport TextCopy from \"@/components/TextCopy\"\nimport { usePromptInputStore } from \"@/stores\"\n\nconst SuggestPromptModal = () => {\n const { promptInput, setPromptInput } = usePromptInputStore()\n\n const handleClose = () => {\n setPromptInput(null)\n }\n\n return (\n \n

\n Describe what you want to generate. Learn more about the structure and examples{\" \"}\n \n here\n \n .{\" \"}\n

\n

Here are some quick examples for you

\n
\n {promptInput?.examples?.map((example, index) => (\n {\n promptInput?.onChange(example)\n handleClose()\n }}\n >\n
\n {example &&\n example.split(\",\").map((item, index) => (\n \n {item}\n \n \n ))}\n
\n
\n ))}\n \n \n )\n}\n\nexport default SuggestPromptModal\n"],"names":["__webpack_exports__","promptInput","setPromptInput","usePromptInputStore","handleClose","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Modal","title","isOpen","modalType","onClose","bodyClassName","className","containerClassName","p","jsx","Link","href","target","div","examples","map","example","index","onClick","onChange","split","item","span","TextCopy","value"],"sourceRoot":""}