{"compiledCode":"\"use strict\";Object.defineProperty(exports, \"__esModule\", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }/** Heartwood · Cedros prompt library. */\nvar _react = require('react');\nconst TASKS = [\n  {\n    \"name\": \"Turn interest into a campaign\",\n    \"icon\": 6,\n    \"prompt\": \"Use my CRM and visitor tags to find prospects interested in my pricing, then draft an email campaign for them.\"\n  },\n  {\n    \"name\": \"Improve pages with real behavior\",\n    \"icon\": 10,\n    \"prompt\": \"Use my page analytics and click heatmaps to find friction on my signup page, then draft improvements.\"\n  },\n  {\n    \"name\": \"Turn conversations into better docs\",\n    \"icon\": 3,\n    \"prompt\": \"Read my support chats and inbox, find recurring customer questions, and draft updates to my docs that answer them.\"\n  },\n  {\n    \"name\": \"Build on your login and commerce\",\n    \"icon\": 12,\n    \"prompt\": \"Build a members-only library from my content, with Cedros Login for access and Cedros Pay for subscriptions.\"\n  },\n  {\n    \"name\": \"Find your first customers\",\n    \"icon\": 5,\n    \"prompt\": \"Build a waitlist page for my product and keep signups organized in my CRM.\"\n  },\n  {\n    \"name\": \"Follow up with a personal touch\",\n    \"icon\": 6,\n    \"prompt\": \"Review my recent inquiries and draft a personal follow-up for each one.\"\n  },\n  {\n    \"name\": \"Help customers get started\",\n    \"icon\": 3,\n    \"prompt\": \"Use my product docs to create an onboarding guide for new customers.\"\n  },\n  {\n    \"name\": \"Make every demo count\",\n    \"icon\": 7,\n    \"prompt\": \"Create a booking page for product demos with questions that help me prepare.\"\n  },\n  {\n    \"name\": \"Launch your next idea\",\n    \"icon\": 0,\n    \"prompt\": \"Turn these product notes into a launch page and an announcement.\"\n  },\n  {\n    \"name\": \"Keep your offer current\",\n    \"icon\": 0,\n    \"prompt\": \"Update my pricing page and FAQs from these new plans. Leave the changes ready for review.\"\n  }\n];\nconst ICONS = [\"M4 3h16a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1zM3 9h18M9 21V9\",\"M12 3v4M5 8l3 2v4l-3 2M19 8l-3 2v4l3 2M9 12h6M9 16h6\",\"M6 4h12v16H6zM9 8h6M9 12h6M9 16h4\",\"M6 4h9l3 3v13H6zM15 4v4h4\",\"M4 5a1 1 0 011-1h14a1 1 0 011 1v14a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM8.5 10a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM20 15l-5-5L6 20\",\"M17 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2M10 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8M20 8a3 3 0 0 1-3 3\",\"M4 6h16v12H4zM4 7l8 6 8-6\",\"M8 2v4M16 2v4M3 10h18M5 6h14a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1\",\"M7 7h10l-2.5-2.5M17 17H7l2.5 2.5M6 7v0M18 17v0\",\"M6 4h9l3 3v13H6zM15 4v4h4\",\"M4 19h16M7 15l3-3 3 2 4-5\",\"M12 3l7 3v6c0 5-3.5 8-7 9-3.5-1-7-4-7-9V6l7-3zM9.5 12.5l1.8 1.8 3.7-4\",\"M5 7 12 3l7 4v10l-7 4-7-4zM5 7l7 4 7-4M12 11v10\"];\nfunction ToolIcon({index}) { return React.createElement('svg', { width: \"24\", height: \"24\", viewBox: \"0 0 24 24\"   , fill: \"none\", 'aria-hidden': \"true\",}, React.createElement('path', { d: ICONS[index], stroke: \"currentColor\", strokeWidth: \"1.5\", strokeLinecap: \"round\", strokeLinejoin: \"round\",})); }\nfunction PromptCard({task,index}) {\nconst [state,setState]=_react.useState.call(void 0, \"idle\");\nconst copy=async()=>{setState(\"copying\");try{if(!_optionalChain([navigator, 'access', _ => _.clipboard, 'optionalAccess', _2 => _2.writeText]))throw Error(\"Clipboard unavailable\");await navigator.clipboard.writeText(task.prompt);setState(\"copied\");}catch (e2){setState(\"unavailable\");}};\nreturn React.createElement('article', { className: \"hw-prompt\", id: `prompt-${index+1}`, 'aria-label': task.name,}, React.createElement('div', { className: \"hw-shelf__top\",}, React.createElement(ToolIcon, { index: task.icon,}), React.createElement('span', null, String(index+1).padStart(2,\"0\"))), React.createElement('blockquote', { className: \"hw-shelf__prompt\",}, \"“\", task.prompt, \"”\"), React.createElement('div', { className: \"hw-prompt__foot\",}, React.createElement('span', { className: \"hw-shelf__name\",}, task.name), React.createElement('button', { className: \"hw-prompt__copy\", type: \"button\", disabled: state===\"copying\", onClick: ()=>{void copy();}, 'aria-label': `Copy prompt: ${task.name}`, title: state===\"copied\"?\"Copied\":\"Copy prompt\",}, state===\"copied\"?React.createElement('span', { 'aria-hidden': \"true\",}, \"✓\"):React.createElement('svg', { width: \"18\", height: \"18\", viewBox: \"0 0 24 24\"   , fill: \"none\", stroke: \"currentColor\", strokeWidth: \"1.5\", strokeLinejoin: \"round\", 'aria-hidden': \"true\",}, React.createElement('path', { d: \"M9 9h11v11H9zM5 15H4V4h11v1\"  ,})))), state===\"unavailable\"?React.createElement('div', { className: \"hw-copy-fallback\",}, React.createElement('label', { htmlFor: `hw-prompt-${index}`,}, \"Copy unavailable. Select the text below.\"     ), React.createElement('textarea', { id: `hw-prompt-${index}`, readOnly: true, value: task.prompt, rows: 3, onFocus: e=>e.currentTarget.select(),})):null, React.createElement('span', { className: \"hw-sr\", role: \"status\",}, state===\"copied\"?`${task.name}: prompt copied.`:state===\"unavailable\"?\"Copy unavailable. Select the prompt to copy it manually.\":\"\"));\n}\n\nconst CSS = `main[class*=\"-site__main\"]:has(.hw-prompts){padding:0!important;max-width:none!important;width:100%!important}main:has(.hw-prompts) :is([class*=\"-site__container\"],[class*=\"-site__page-stack\"],[class*=\"-site__authored-runtime\"],[class*=\"-runtime__block\"]){max-width:none!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}\nbody:has(.hw-prompts) [id$=\"site-support-chat-root\"]{display:none}\n.hw-prompts{--ink:#07111F;--bone:#F6F5F2;--dim:#5F6065;--rule:#D9D7D2;--bronze:#80562C;--cedar3:#2F6C7D;--fs:var(--cedros-font-heading,Newsreader,Georgia,serif);--fb:var(--cedros-font-body,\"IBM Plex Sans\",sans-serif);--fm:var(--cedros-font-mono,\"IBM Plex Mono\",monospace);background:#FFFDF7;color:var(--ink);font:400 16px/1.6 var(--fb);padding:clamp(5rem,6vw,6rem) 20px;overflow-x:clip}\n:where(html[class*=\"-dark\"],.dark) .hw-prompts{--ink:#F6F5F2;--bone:#07111F;--dim:#BDBDBB;--rule:#414747;--bronze:#C29B6A;--cedar3:#7FB0BD;background:#101212;color-scheme:dark}\n.hw-prompts *{box-sizing:border-box}.hw-prompts__in{max-width:76rem;margin:auto}.hw-prompts p,.hw-prompts h1{margin:0}.hw-prompts a{color:inherit;text-underline-offset:.25em}.hw-prompts button,.hw-prompts textarea{font-family:inherit}.hw-prompts :is(button,a,textarea):focus-visible{outline:2px solid var(--cedar3);outline-offset:3px}.hw-prompts__back{display:inline-flex;min-height:44px;align-items:center;font-size:.85rem}.hw-prompts__head{max-width:48rem;padding:2rem 0 3rem}.hw-prompts__head small{font: .75rem var(--fm);color:var(--bronze)}.hw-prompts__head h1{font:400 clamp(2.7rem,5vw,5rem)/1.02 var(--fs);letter-spacing:-.035em;text-wrap:balance;margin:1rem 0 1.5rem}.hw-prompts__head p{max-width:38rem;color:var(--dim);font-size:1.1rem}.hw-prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.hw-prompts .hw-prompt{scroll-margin-top:6rem}.hw-prompts .hw-prompt:target{border-color:var(--cedar3)}.hw-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}\n.hw-prompt{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem;border:1px solid var(--rule);border-radius:8px;min-width:0;scroll-snap-align:start;scroll-margin:4px;min-height:300px}.hw-prompt:focus-within{border-color:var(--cedar3)}.hw-shelf__top{display:flex;justify-content:space-between;gap:1rem;color:var(--bronze);font:.72rem var(--fm)}.hw-prompt .hw-shelf__prompt{margin:0;font:400 clamp(1.3rem,1.8vw,1.8rem)/1.2 var(--fs)}.hw-prompt__foot{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:auto}.hw-shelf__name{font-size:.7rem;color:var(--dim)}.hw-prompt__copy{display:grid;place-items:center;flex-shrink:0;min-width:44px;min-height:44px;border:1px solid var(--rule);border-radius:4px;background:transparent;color:inherit;cursor:pointer;font-size:.7rem}.hw-prompt__copy:hover{background:var(--ink);color:var(--bone)}.hw-prompt__copy:disabled{opacity:.5;cursor:wait}.hw-prompt__copy span{padding:0 .4rem}.hw-copy-fallback{display:grid;gap:.75rem;font-size:.8rem}.hw-copy-fallback textarea{width:100%;padding:.6rem;background:transparent;color:inherit;border:1px solid var(--rule);font:inherit}\n\n@media(max-width:960px){.hw-prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.hw-prompt-grid{grid-template-columns:1fr}.hw-prompt .hw-shelf__prompt{font-size:1.65rem}.hw-prompt{padding:1.25rem;min-height:280px}}@media(prefers-reduced-motion:reduce){.hw-prompts *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}`;\n function CedrosPrompts(){return React.createElement('div', { className: \"hw-prompts\",}, React.createElement('style', null, CSS), React.createElement('div', { className: \"hw-prompts__in\",}, React.createElement('a', { className: \"hw-prompts__back\", href: \"/#possibilities\",}, \"← Back to Cedros\"   ), React.createElement('header', { className: \"hw-prompts__head\",}, React.createElement('small', null, \"The Cedros prompt library\"   ), React.createElement('h1', null, \"What would you build next?\"    ), React.createElement('p', null, \"Find a starting point. Copy a prompt into your assistant and make it your own.\"              )), React.createElement('div', { className: \"hw-prompt-grid\",}, TASKS.map((task,index)=>React.createElement(PromptCard, { key: task.name, task: task, index: index,})))));} exports.default = CedrosPrompts;"}